/* The Sovereign Songwriter — Warm-Light Brand System
   Domain rule: cream canvas, ink text, navy surfaces, gold at 5% scarcity.
   Larger base type for 40–75, print-oriented readers. */

:root {
  --cream: #f2efe6;
  --cream-deep: #e8e4d9;
  --ink: #0c0b10;
  --ink-soft: #2a2830;
  --near-black: #07060b;
  --dark-navy: #131c30;
  --slate-navy: #15304d;
  --light-gold: #e4c880;
  --antique-gold: #a38245;
  --cool-gray: #6b7078;
  --off-white: #f2efe6;

  --font-title: "Bricolage Grotesque", system-ui, sans-serif;
  --font-body: "Aileron", "Inter", system-ui, sans-serif;
  --font-section: "Oswald", "Barlow Condensed", system-ui, sans-serif;
  --font-quote: "Instrument Serif", Georgia, serif;

  --section-pad: clamp(3.5rem, 7vw, 6rem);
  --content-max: 720px;
  --wide-max: 1100px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a {
  color: var(--antique-gold);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover { color: var(--dark-navy); }

.eyebrow {
  font-family: var(--font-section);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 1.25rem;
}

.headline {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: clamp(2.25rem, 5.5vw, 3.75rem);
  line-height: 1.12;
  color: var(--ink);
  letter-spacing: -0.02em;
}

.subhead {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.375rem;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 1.5rem;
}

.heading {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 2rem;
  color: var(--dark-navy);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.subheading {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--ink);
}

.section-header {
  font-family: var(--font-section);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--antique-gold);
  margin-bottom: 1.5rem;
}

.body-text {
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.caption { font-size: 0.875rem; color: var(--cool-gray); }

.quote {
  font-family: var(--font-quote);
  font-style: italic;
  font-size: 1.75rem;
  color: var(--dark-navy);
  line-height: 1.35;
  position: relative;
  padding-left: 1.5rem;
}

.quote::before {
  content: "\201C";
  font-size: 3.5rem;
  position: absolute;
  left: -0.4rem;
  top: -0.65rem;
  color: var(--light-gold);
  opacity: 0.85;
  font-family: var(--font-quote);
}

.container {
  width: 100%;
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section { padding: var(--section-pad) 0; }

/* —— Header / Nav —— */
.site-header {
  padding: 1.35rem 0;
  border-bottom: 1px solid rgba(163, 130, 69, 0.28);
  position: sticky;
  top: 0;
  background: rgba(242, 239, 230, 0.94);
  backdrop-filter: blur(12px);
  z-index: 100;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.logo {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--ink);
  letter-spacing: -0.01em;
  z-index: 2;
}

.logo span { color: var(--antique-gold); }

.site-nav {
  display: flex;
  align-items: center;
}

.nav-link {
  font-size: 0.9375rem;
  color: var(--cool-gray);
  margin-left: 1.75rem;
}

.nav-link:hover { color: var(--dark-navy); }

/* Hamburger button */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin: -0.5rem -0.5rem -0.5rem 0;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  align-items: center;
  justify-content: center;
}

.nav-toggle-bars {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: var(--ink);
  position: relative;
  transition: background 0.2s ease;
}

.nav-toggle-bars::before,
.nav-toggle-bars::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-bars::before { top: -7px; }
.nav-toggle-bars::after { top: 7px; }

.site-header.nav-open .nav-toggle-bars {
  background: transparent;
}

.site-header.nav-open .nav-toggle-bars::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.nav-open .nav-toggle-bars::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-header.stripped nav,
.site-header.stripped .nav-toggle {
  display: none !important;
}

.hero {
  padding-top: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: clamp(3rem, 6vw, 5rem);
  text-align: left;
}

.hero .headline { max-width: 16ch; }
.hero .subhead { max-width: 44ch; }

.credential-bar {
  margin-top: 2.25rem;
  padding: 1rem 1.25rem;
  background: var(--dark-navy);
  border-left: 3px solid var(--light-gold);
  font-size: 0.9375rem;
  color: rgba(242, 239, 230, 0.85);
  line-height: 1.55;
}

.credential-bar strong { color: var(--cream); font-weight: 600; }
.credential-bar a { color: var(--light-gold); }

.story p + p { margin-top: 1.25rem; }
.story a { text-decoration: underline; text-underline-offset: 3px; }

.guide-list {
  list-style: none;
  margin: 1.75rem 0 0;
  display: grid;
  gap: 1.35rem;
}

.guide-list li {
  position: relative;
  padding-left: 1.75rem;
  font-size: 1.125rem;
  line-height: 1.55;
  color: var(--ink-soft);
}

.guide-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55rem;
  width: 0.55rem;
  height: 0.55rem;
  border: 1.5px solid var(--antique-gold);
  border-radius: 50%;
}

.guide-list li strong { color: var(--ink); font-weight: 600; }

.process-steps { display: grid; gap: 1.5rem; margin-top: 2rem; }
.process-step { display: flex; gap: 1.25rem; align-items: flex-start; }

.step-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--antique-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 600;
  color: var(--antique-gold);
  font-size: 1rem;
}

.paths-grid { display: grid; gap: 1.5rem; margin-top: 2.5rem; }
@media (min-width: 800px) {
  .paths-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.path-card {
  background: #fff;
  border: 1px solid rgba(163, 130, 69, 0.35);
  border-radius: 4px;
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.path-card.featured {
  background: var(--dark-navy);
  border-color: var(--light-gold);
  position: relative;
}

.path-card.featured::before {
  content: "FEATURED";
  position: absolute;
  top: -0.65rem;
  left: 1.25rem;
  background: var(--light-gold);
  color: var(--near-black);
  font-family: var(--font-section);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.6rem;
  font-weight: 500;
}

.path-card h3 {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--dark-navy);
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.path-card.featured h3 { color: var(--light-gold); }

.path-card p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: var(--ink-soft);
  flex-grow: 1;
}

.path-card.featured p { color: rgba(242, 239, 230, 0.9); }
.path-card .path-note { margin-top: 1.25rem; font-size: 0.9375rem; color: var(--cool-gray); }
.path-card.featured .path-note { color: rgba(242, 239, 230, 0.65); }

.realness {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(163, 130, 69, 0.28);
}
.realness p + p { margin-top: 1.25rem; }

.live-block { border-left: 3px solid var(--antique-gold); padding-left: 1.75rem; }
.live-block .price {
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.75rem;
  color: var(--dark-navy);
  margin-top: 0.75rem;
}

.multi-song {
  background: #fff;
  border-radius: 4px;
  padding: 2.5rem 2rem;
  border: 1px solid rgba(163, 130, 69, 0.3);
}

.cta-section { text-align: center; }

.cta-box {
  background: #fff;
  border: 1px solid rgba(163, 130, 69, 0.4);
  border-radius: 4px;
  padding: 2.75rem 2rem;
  max-width: 560px;
  margin: 0 auto;
}

.cta-box .heading { color: var(--ink); }

.optin-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.25rem;
  justify-content: center;
}

.optin-inline input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.95rem 1rem;
  font-size: 1.0625rem;
  font-family: var(--font-body);
  background: var(--cream);
  border: 1px solid rgba(163, 130, 69, 0.45);
  color: var(--ink);
  border-radius: 2px;
}

.optin-inline input[type="email"]::placeholder { color: var(--cool-gray); }
.optin-inline .btn { flex: 0 0 auto; }
.optin-note { margin-top: 0.85rem; font-size: 0.875rem; color: var(--cool-gray); }

.form-stack {
  display: grid;
  gap: 1.75rem;
  text-align: left;
  max-width: 560px;
  margin: 0 auto;
}

.form-field label {
  display: block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  color: var(--ink);
  margin-bottom: 0.45rem;
}

.form-field .micro {
  display: block;
  font-weight: 400;
  font-size: 0.9375rem;
  color: var(--cool-gray);
  margin-top: 0.2rem;
  margin-bottom: 0.55rem;
  line-height: 1.4;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="url"],
.form-field input[type="file"],
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 0.9rem 1rem;
  font-size: 1.0625rem;
  font-family: var(--font-body);
  background: #fff;
  border: 1px solid rgba(163, 130, 69, 0.4);
  color: var(--ink);
  border-radius: 2px;
}

.form-field textarea { min-height: 110px; resize: vertical; }

.form-field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23a38245' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.radio-group, .checkbox-group {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.35rem;
}

.radio-group label, .checkbox-group label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--ink-soft);
  cursor: pointer;
  line-height: 1.4;
}

.radio-group input, .checkbox-group input {
  margin-top: 0.3rem;
  accent-color: var(--antique-gold);
  flex-shrink: 0;
}

.form-row { display: grid; gap: 1rem; }
@media (min-width: 560px) {
  .form-row.two { grid-template-columns: 1fr 1fr; }
}

.btn {
  display: inline-block;
  background: var(--light-gold);
  color: var(--near-black);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.0625rem;
  padding: 1rem 2rem;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn:hover {
  background: #f0d9a0;
  color: var(--near-black);
  transform: translateY(-1px);
}

.btn:disabled { opacity: 0.65; cursor: not-allowed; transform: none; }

.btn-secondary {
  background: transparent;
  border: 1px solid var(--antique-gold);
  color: var(--antique-gold);
}

.btn-secondary:hover {
  background: rgba(163, 130, 69, 0.08);
  color: var(--dark-navy);
}

.btn-full { width: 100%; text-align: center; }

.limited-note { margin-top: 1.5rem; font-size: 0.9375rem; color: var(--cool-gray); }

.reassurance {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(163, 130, 69, 0.25);
  font-size: 0.9375rem;
  color: var(--cool-gray);
  line-height: 1.5;
  text-align: center;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

.form-error {
  color: #b54a4a;
  font-size: 0.9375rem;
  margin-top: 0.75rem;
  display: none;
}

.form-success {
  display: none;
  text-align: center;
  padding: 2rem 1rem;
}

.form-success .heading { color: var(--dark-navy); }

.site-footer {
  border-top: 1px solid rgba(163, 130, 69, 0.22);
  padding: 2.75rem 0;
  text-align: center;
}

.site-footer p {
  color: var(--cool-gray);
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.site-footer a { color: var(--antique-gold); }
.site-footer a:hover { color: var(--dark-navy); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.text-center { text-align: center; }
.gold { color: var(--antique-gold); }
.muted { color: var(--cool-gray); }

/* Mobile nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--cream);
    border-bottom: 1px solid rgba(163, 130, 69, 0.28);
    flex-direction: column;
    align-items: stretch;
    padding: 0.75rem 0 1.25rem;
    box-shadow: 0 12px 24px rgba(7, 6, 11, 0.06);
  }

  .site-header.nav-open .site-nav {
    display: flex;
  }

  .site-nav .nav-link {
    margin: 0;
    padding: 0.9rem 1.5rem;
    font-size: 1.0625rem;
    color: var(--ink-soft);
    border-top: 1px solid rgba(163, 130, 69, 0.12);
  }

  .site-nav .nav-link:hover {
    color: var(--dark-navy);
    background: rgba(163, 130, 69, 0.06);
  }
}

@media (max-width: 640px) {
  .headline { font-size: clamp(2rem, 8vw, 2.75rem); }
  .subhead { font-size: 1.2rem; }
  .heading { font-size: 1.65rem; }
  .path-card { padding: 1.5rem 1.25rem; }
  .cta-box { padding: 2rem 1.25rem; }
  .optin-inline { flex-direction: column; }
  .optin-inline .btn { width: 100%; }
}
