/* ==========================================================================
   IG TUITION — Design System Stylesheet
   Palette: warm near-black + refined gold accent
   Type: Cormorant (serif/display) + Inter (sans/body) + IBM Plex Mono (data)
   ========================================================================== */

/* ---------- Tokens ---------- */
:root{
  /* Color */
  --bg:            #0B0A08;
  --bg-elevated:   #141210;
  --bg-elevated-2: #1C1914;
  --bg-elevated-3: #242019;
  --border:        rgba(201,162,39,0.16);
  --border-strong: rgba(201,162,39,0.34);
  --border-hair:   rgba(255,255,255,0.08);

  --text:          #F4EFE4;
  --text-muted:    #B3AB9C;
  --text-faint:    #766F62;

  --gold:          #C9A227;
  --gold-light:    #E7C766;
  --gold-dark:     #8A6D1B;
  --on-gold:       #16130C;

  --danger:        #E0605A;
  --danger-bg:     rgba(224,96,90,0.1);
  --success:       #7FB88A;
  --success-bg:    rgba(127,184,138,0.1);

  --focus-ring:    #E7C766;

  /* Typography */
  --font-serif: 'Cormorant', 'Iowan Old Style', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono:  'IBM Plex Mono', 'SFMono-Regular', Consolas, monospace;

  --fs-xs:   0.8125rem;
  --fs-sm:   0.9375rem;
  --fs-base: 1rem;
  --fs-md:   1.125rem;
  --fs-lg:   1.375rem;
  --fs-xl:   clamp(1.5rem, 1.2rem + 1.2vw, 1.875rem);
  --fs-2xl:  clamp(1.875rem, 1.4rem + 2vw, 2.5rem);
  --fs-3xl:  clamp(2.375rem, 1.7rem + 2.8vw, 3.25rem);
  --fs-4xl:  clamp(2.75rem, 1.8rem + 4vw, 4.25rem);

  /* Spacing (4/8 rhythm) */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.5rem;
  --space-6:  2rem;
  --space-7:  2.5rem;
  --space-8:  3rem;
  --space-10: 4rem;
  --space-12: 5rem;
  --space-16: 7rem;

  --section-pad: clamp(3.5rem, 2.6rem + 3.5vw, 6.5rem);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 999px;

  --container: 1180px;

  --shadow-card: 0 1px 0 rgba(255,255,255,0.03) inset, 0 24px 48px -28px rgba(0,0,0,0.7);
  --shadow-card-hover: 0 1px 0 rgba(255,255,255,0.04) inset, 0 0 0 1px rgba(201,162,39,0.28), 0 28px 56px -24px rgba(0,0,0,0.75), 0 0 40px -12px rgba(201,162,39,0.18);
  --shadow-header: 0 1px 0 rgba(201,162,39,0.12), 0 20px 40px -28px rgba(0,0,0,0.8);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 150ms;
  --dur-base: 240ms;
  --dur-slow: 420ms;

  --z-header: 100;
  --z-overlay: 200;
  --z-skip: 999;
}

/* ---------- Reset ---------- */
*, *::before, *::after{ box-sizing: border-box; }
html{
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
body{
  margin: 0;
  min-height: 100dvh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg{ display: block; max-width: 100%; }
a{ color: inherit; text-decoration: none; }
ul, ol{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3,h4,p,figure{ margin: 0; }
button{ font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
input, textarea, select{ font: inherit; color: inherit; }
button, a, input, textarea, select{ -webkit-tap-highlight-color: transparent; }

h1,h2,h3,h4{
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: 0.002em;
  color: var(--text);
}
h1{ font-size: var(--fs-4xl); }
h2{ font-size: var(--fs-3xl); }
h3{ font-size: var(--fs-xl); }
h4{ font-size: var(--fs-md); font-family: var(--font-sans); font-weight: 700; }

.text-muted{ color: var(--text-muted); }

:focus-visible{
  outline: 2px solid var(--focus-ring);
  outline-offset: 3px;
  border-radius: 4px;
}
::selection{ background: var(--gold); color: var(--on-gold); }

/* ---------- Layout utilities ---------- */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 1rem + 2vw, 2.5rem);
}
.section{ padding-block: var(--section-pad); position: relative; }
.section-tight{ padding-block: clamp(2.5rem, 2rem + 2vw, 4rem); }
.section-alt{ background: var(--bg-elevated); border-block: 1px solid var(--border-hair); }

.section-header{
  max-width: 640px;
  margin-bottom: var(--space-8);
}
.section-header.center{ margin-inline: auto; text-align: center; }
.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--space-3);
}
.section-header p{ margin-top: var(--space-4); font-size: var(--fs-md); color: var(--text-muted); max-width: 56ch; }
.section-header.center p{ margin-inline: auto; }

.grid{ display: grid; gap: var(--space-6); }
.grid > *{ min-width: 0; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px){
  .grid-3, .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
}

.stack{ display: flex; flex-direction: column; }
.cluster{ display: flex; flex-wrap: wrap; align-items: center; }

/* ---------- Math motif backgrounds ---------- */
.graph-bg{
  position: relative;
  isolation: isolate;
}
.graph-bg::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(244,239,228,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,228,0.045) 1px, transparent 1px);
  background-size: 44px 44px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
          mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  pointer-events: none;
  z-index: 0;
}
.graph-bg > *{ position: relative; z-index: 1; }

.motif-symbol{
  position: absolute;
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--gold);
  opacity: 0.055;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0.85em 1.6em;
  border-radius: var(--radius-full);
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-sm);
  letter-spacing: 0.01em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), background var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out);
  border: 1px solid transparent;
}
.btn svg{ width: 1.15em; height: 1.15em; flex-shrink: 0; }
.btn-primary{
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--on-gold);
  box-shadow: 0 14px 30px -12px rgba(201,162,39,0.55);
}
.btn-primary:hover{ transform: translateY(-2px); box-shadow: 0 18px 36px -12px rgba(201,162,39,0.7); }
.btn-primary:active{ transform: translateY(0); }
.btn-secondary{
  background: transparent;
  color: var(--text);
  border-color: var(--border-strong);
}
.btn-secondary:hover{ border-color: var(--gold); background: rgba(201,162,39,0.08); transform: translateY(-2px); }
.btn-ghost{
  min-height: auto;
  padding: 0.2em 0;
  color: var(--gold-light);
  border-radius: 2px;
  gap: 0.4em;
}
.btn-ghost svg{ width: 1em; height: 1em; transition: transform var(--dur-base) var(--ease-out); }
.btn-ghost:hover svg{ transform: translateX(4px); }
.btn-block{ width: 100%; }
.btn-sm{ min-height: 40px; padding: 0.6em 1.2em; font-size: var(--fs-xs); }

.cursor-pointer, a, button, [role="button"]{ cursor: pointer; }

/* ---------- Header ---------- */
.skip-link{
  position: fixed;
  top: -60px; left: var(--space-4);
  z-index: var(--z-skip);
  background: var(--gold);
  color: var(--on-gold);
  padding: 0.75em 1.25em;
  border-radius: var(--radius-sm);
  font-weight: 700;
  transition: top var(--dur-base) var(--ease-out);
}
.skip-link:focus{ top: var(--space-4); }

.site-header{
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(11,10,8,0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border-hair);
  transition: box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.site-header.is-scrolled{
  box-shadow: var(--shadow-header);
  border-color: var(--border);
}
.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-6);
  padding-block: var(--space-4);
}

.brand{
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  flex-shrink: 0;
}
.brand-mark{ width: 34px; height: 34px; color: var(--gold-light); }
.brand-word{
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--text);
}
.brand-word em{ font-style: normal; color: var(--gold-light); }
.brand-logo{ height: 48px; width: auto; display: block; }
.footer-brand .brand-logo{ height: 56px; }
.mobile-menu-top .brand-logo{ height: 38px; }

.nav{
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.nav-links{
  display: flex;
  align-items: center;
  gap: var(--space-5);
}
.nav-links a{
  position: relative;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  padding-block: 0.4em;
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a::after{
  content: "";
  position: absolute; left: 0; right: 100%; bottom: -2px;
  height: 1px; background: var(--gold);
  transition: right var(--dur-base) var(--ease-out);
}
.nav-links a:hover{ color: var(--text); }
.nav-links a:hover::after{ right: 0; }
.nav-links a[aria-current="page"]{ color: var(--gold-light); }
.nav-links a[aria-current="page"]::after{ right: 0; }

.nav-toggle{
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  flex-shrink: 0;
  position: relative;
  z-index: calc(var(--z-overlay) + 1);
}
.nav-toggle svg{ width: 22px; height: 22px; }
.nav-toggle .icon-close{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-menu{ display: none; }
.nav-toggle[aria-expanded="true"] .icon-close{ display: block; }

.mobile-menu{
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  background: rgba(8,7,6,0.7);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-base) var(--ease-out);
}
.mobile-menu.is-open{ opacity: 1; pointer-events: auto; }
.mobile-menu-panel{
  position: absolute;
  top: 0; right: 0;
  height: 100%;
  width: min(340px, 86vw);
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: var(--space-6) var(--space-6) var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateX(100%);
  transition: transform var(--dur-slow) var(--ease-out);
  overflow-y: auto;
}
.mobile-menu.is-open .mobile-menu-panel{ transform: translateX(0); }
.mobile-menu-top{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: var(--space-6);
}
.mobile-menu nav{
  display: flex;
  flex-direction: column;
}
.mobile-menu nav a{
  display: block;
  font-family: var(--font-serif);
  font-size: 1.4rem;
  padding: 0.6em 0.1em;
  border-bottom: 1px solid var(--border-hair);
  color: var(--text);
}
.mobile-menu a[aria-current="page"]{ color: var(--gold-light); }
.mobile-menu .btn{ margin-top: var(--space-5); }

@media (max-width: 900px){
  .nav-links{ display: none; }
  .nav-toggle{ display: inline-flex; }
  .mobile-menu{ display: block; }
  .header-cta{ display: none; }
}

/* ---------- Hero ---------- */
.hero{
  padding-block: clamp(3rem, 2rem + 5vw, 6rem) clamp(3rem, 2rem + 4vw, 5rem);
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--space-10);
  align-items: center;
}
.hero-grid > *{ min-width: 0; }
@media (max-width: 960px){
  .hero-grid{ grid-template-columns: 1fr; gap: var(--space-8); }
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--font-mono);
  font-size: var(--fs-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  background: rgba(201,162,39,0.08);
  border: 1px solid var(--border);
  padding: 0.55em 1em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-5);
}
.hero h1{ margin-bottom: var(--space-5); }
.hero h1 em{
  font-style: normal;
  color: var(--gold-light);
}
.hero-lede{
  font-size: var(--fs-lg);
  color: var(--text-muted);
  max-width: 52ch;
  margin-bottom: var(--space-7);
}
.hero-actions{ display: flex; flex-wrap: wrap; gap: var(--space-4); margin-bottom: var(--space-8); }
.hero-badges{ display: flex; flex-wrap: wrap; gap: var(--space-3); }

.badge{
  display: inline-flex; align-items: center; gap: 0.5em;
  font-size: var(--fs-xs);
  font-weight: 500;
  color: var(--text-muted);
  border: 1px solid var(--border-hair);
  background: var(--bg-elevated);
  padding: 0.5em 0.9em;
  border-radius: var(--radius-full);
}
.badge svg{ width: 15px; height: 15px; color: var(--gold-light); flex-shrink: 0; }

.hero-visual{
  position: relative;
  aspect-ratio: 1/1;
  max-width: 460px;
  margin-inline: auto;
}

/* ---------- Hero visual (graph card + floating chips) ---------- */
.graph-card{
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
}
.graph-card svg{ width: 100%; height: 100%; }
.float-chip{
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.6em;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  padding: 0.7em 1.1em;
  font-size: var(--fs-xs);
  font-weight: 600;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(6px);
  white-space: nowrap;
}
.float-chip svg{ width: 16px; height: 16px; color: var(--gold-light); flex-shrink: 0; }
.float-chip-a{ top: -5%; left: -9%; }
.float-chip-b{ bottom: -5%; right: -7%; }
@media (max-width: 480px){
  .float-chip{ font-size: 10.5px; padding: 0.5em 0.8em; }
  .float-chip-a{ top: -3%; left: -3%; }
  .float-chip-b{ bottom: -3%; right: -3%; }
}

/* ---------- Stats band ---------- */
.stats-band{
  border-block: 1px solid var(--border-hair);
  background: var(--bg-elevated);
}
.stats-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
  padding-block: var(--space-8);
}
@media (max-width: 760px){
  .stats-grid{ grid-template-columns: repeat(2, 1fr); }
}
.stat{ text-align: center; }
.stat-num{
  font-family: var(--font-mono);
  font-size: clamp(1.9rem, 1.5rem + 1.6vw, 2.6rem);
  font-weight: 600;
  color: var(--gold-light);
  letter-spacing: -0.01em;
}
.stat-label{
  margin-top: var(--space-2);
  font-size: var(--fs-xs);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ---------- Cards ---------- */
.card{
  background: var(--bg-elevated);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  box-shadow: var(--shadow-card);
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out), border-color var(--dur-base) var(--ease-out);
}
.card-hover:hover{
  transform: translateY(-4px);
  box-shadow: var(--shadow-card-hover);
  border-color: var(--border);
}
.card-icon{
  width: 46px; height: 46px;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,162,39,0.1);
  color: var(--gold-light);
  margin-bottom: var(--space-4);
}
.card-icon svg{ width: 24px; height: 24px; }
.card h3{ font-size: var(--fs-md); font-family: var(--font-sans); font-weight: 700; margin-bottom: var(--space-2); }
.card p{ color: var(--text-muted); font-size: var(--fs-sm); }

.check-list{ display: flex; flex-direction: column; gap: var(--space-3); }
.check-list li{
  display: flex; align-items: flex-start; gap: 0.75em;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}
.check-list li svg{ width: 18px; height: 18px; color: var(--gold-light); flex-shrink: 0; margin-top: 0.2em; }
.check-list li strong{ color: var(--text); font-weight: 600; }

/* ---------- Pricing ---------- */
.price-card{
  display: flex;
  flex-direction: column;
  gap: var(--space-5);
  position: relative;
}
.price-card.is-featured{
  border-color: var(--border-strong);
  background: linear-gradient(180deg, rgba(201,162,39,0.08), var(--bg-elevated) 55%);
}
.price-tag{
  position: absolute; top: -1px; right: var(--space-6);
  transform: translateY(-50%);
  background: var(--gold);
  color: var(--on-gold);
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.4em 0.9em;
  border-radius: var(--radius-full);
}
.price-head p{ color: var(--text-muted); font-size: var(--fs-sm); margin-top: var(--space-1); }
.price-value{
  display: flex; align-items: baseline; gap: 0.4em;
  font-family: var(--font-mono);
  color: var(--gold-light);
}
.price-value .amount{ font-size: 2.6rem; font-weight: 600; letter-spacing: -0.02em; }
.price-value .per{ font-size: var(--fs-sm); color: var(--text-muted); }

/* ---------- CTA banner ---------- */
.cta-banner{
  border: 1px solid var(--border-strong);
  background: linear-gradient(135deg, rgba(201,162,39,0.14), rgba(201,162,39,0.03));
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  position: relative;
  overflow: hidden;
}
.cta-banner-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-banner-inner > *{ min-width: 0; }
.cta-mentions{
  margin-top: var(--space-4);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.cta-mentions li{
  display: flex; align-items: center; gap: 0.6em;
  font-size: var(--fs-sm); color: var(--text-muted);
}
.cta-mentions li svg{ width: 16px; height: 16px; color: var(--gold-light); }

/* ---------- Process / steps ---------- */
.process{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-6);
  counter-reset: step;
}
@media (max-width: 760px){ .process{ grid-template-columns: 1fr; } }
.process-step{
  position: relative;
  padding-top: var(--space-8);
}
@media (max-width: 760px){
  .process-step{ padding-top: var(--space-4); }
}
.process-step::before{
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: var(--fs-sm);
  color: var(--gold);
  display: block;
  margin-bottom: var(--space-3);
}
.process-step h3{ margin-bottom: var(--space-2); }
.process-step p{ color: var(--text-muted); }

/* ---------- Accordion (FAQ) ---------- */
.accordion{ display: flex; flex-direction: column; gap: var(--space-3); }
.accordion-item{
  border: 1px solid var(--border-hair);
  background: var(--bg-elevated);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color var(--dur-base) var(--ease-out);
}
.accordion-item:has([aria-expanded="true"]){ border-color: var(--border); }
.accordion-trigger{
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: var(--space-4);
  padding: var(--space-5) var(--space-6);
  text-align: left;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: var(--fs-md);
}
.accordion-trigger svg{
  width: 20px; height: 20px; flex-shrink: 0;
  color: var(--gold-light);
  transition: transform var(--dur-base) var(--ease-out);
}
.accordion-trigger[aria-expanded="true"] svg{ transform: rotate(180deg); }
.accordion-panel{
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--dur-slow) var(--ease-out);
}
.accordion-panel-inner{ overflow: hidden; }
.accordion-item:has([aria-expanded="true"]) .accordion-panel{ grid-template-rows: 1fr; }
.accordion-panel-content{
  padding: 0 var(--space-6) var(--space-5);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  line-height: 1.7;
}

/* ---------- Forms ---------- */
.form{ display: flex; flex-direction: column; gap: var(--space-5); }
.field{ display: flex; flex-direction: column; gap: var(--space-2); }
.field-row{ display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
@media (max-width: 640px){ .field-row{ grid-template-columns: 1fr; } }
.field label{ font-size: var(--fs-sm); font-weight: 600; color: var(--text); }
.field .hint{ font-size: var(--fs-xs); color: var(--text-faint); }
.field .required{ color: var(--gold-light); }
.input, .textarea, .select{
  width: 100%;
  min-height: 48px;
  padding: 0.75em 1em;
  background: var(--bg-elevated-2);
  border: 1px solid var(--border-hair);
  border-radius: var(--radius-sm);
  color: var(--text);
  transition: border-color var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.input::placeholder, .textarea::placeholder{ color: var(--text-faint); }
.input:focus, .textarea:focus, .select:focus{
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,162,39,0.18);
}
.textarea{ min-height: 140px; resize: vertical; }
.select{ appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='none' stroke='%23B3AB9C' stroke-width='1.6' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.6em; }

.radio-group{ display: flex; flex-wrap: wrap; gap: var(--space-3); }
.radio-pill{ position: relative; }
.radio-pill input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.radio-pill label{
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.65em 1.2em;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hair);
  background: var(--bg-elevated-2);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.radio-pill input:checked + label{
  border-color: var(--gold);
  background: rgba(201,162,39,0.14);
  color: var(--text);
}
.radio-pill input:focus-visible + label{ outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.star-rating{ display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 0.3em; }
.star-rating input{ position: absolute; opacity: 0; width: 1px; height: 1px; }
.star-rating label{
  width: 40px; height: 40px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm);
  color: var(--text-faint);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out);
}
.star-rating label svg{ width: 22px; height: 22px; }
.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label{ color: var(--gold-light); }
.star-rating input:focus-visible + label{ outline: 2px solid var(--focus-ring); outline-offset: 2px; }

.form-status{
  display: none;
  align-items: flex-start;
  gap: 0.6em;
  padding: 0.9em 1.1em;
  border-radius: var(--radius-sm);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.5;
}
.form-status svg{ width: 18px; height: 18px; flex-shrink: 0; margin-top: 0.15em; }
.form-status code{
  font-family: var(--font-mono);
  font-size: 0.9em;
  background: rgba(255,255,255,0.08);
  padding: 0.1em 0.4em;
  border-radius: 4px;
}
.form-status.is-visible{ display: flex; }
.form-status.success{ background: var(--success-bg); color: var(--success); }
.form-status.error{ background: var(--danger-bg); color: var(--danger); }

/* ---------- Reviews ---------- */
.review-scroll{
  display: flex;
  gap: var(--space-5);
  overflow-x: auto;
  padding-block: var(--space-2) var(--space-4);
  scroll-snap-type: x proximity;
  scrollbar-width: thin;
  scrollbar-color: var(--border-strong) transparent;
}
.review-scroll::-webkit-scrollbar{ height: 8px; }
.review-scroll::-webkit-scrollbar-thumb{ background: var(--border-strong); border-radius: var(--radius-full); }
.review-card{
  flex: 0 0 min(340px, 84vw);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.review-quote-icon{ width: 26px; height: 26px; color: var(--gold); opacity: 0.6; }
.review-text{ font-size: var(--fs-sm); color: var(--text-muted); line-height: 1.7; flex-grow: 1; }
.review-stars{ display: flex; gap: 0.15em; }
.review-stars svg{ width: 15px; height: 15px; color: var(--gold-light); }
.review-author{ display: flex; align-items: center; gap: 0.75em; margin-top: auto; }
.review-avatar{
  width: 38px; height: 38px; border-radius: 50%;
  background: linear-gradient(160deg, var(--gold-light), var(--gold-dark));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-serif); font-weight: 700; color: var(--on-gold);
  flex-shrink: 0;
}
.review-name{ font-weight: 600; font-size: var(--fs-sm); color: var(--text); }
.review-role{ font-size: var(--fs-xs); color: var(--text-faint); }

.empty-state{
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  text-align: center;
  color: var(--text-faint);
}
.empty-state svg{ width: 32px; height: 32px; margin-inline: auto; margin-bottom: var(--space-3); color: var(--text-faint); }
.empty-state p{ font-size: var(--fs-sm); max-width: 40ch; margin-inline: auto; }

.video-placeholder{
  aspect-ratio: 16 / 9;
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-elevated);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  color: var(--text-faint);
}
.video-placeholder svg{ width: 44px; height: 44px; color: var(--gold); opacity: 0.8; }
.video-placeholder p{ font-size: var(--fs-sm); }

.review-tabs{ display: flex; gap: var(--space-3); margin-bottom: var(--space-6); }
.review-tab{
  padding: 0.7em 1.4em;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-hair);
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--text-muted);
}
.review-tab[aria-selected="true"]{
  background: var(--gold);
  color: var(--on-gold);
  border-color: var(--gold);
}

/* ---------- Footer ---------- */
.site-footer{
  border-top: 1px solid var(--border-hair);
  background: var(--bg-elevated);
  padding-block: var(--space-10) var(--space-6);
  position: relative;
  overflow: hidden;
}
.footer-top{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--space-8);
  padding-bottom: var(--space-8);
  border-bottom: 1px solid var(--border-hair);
}
.footer-top > *{ min-width: 0; }
@media (max-width: 860px){
  .footer-top{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .footer-top{ grid-template-columns: 1fr; }
}
.footer-brand p{ margin-top: var(--space-4); color: var(--text-muted); font-size: var(--fs-sm); max-width: 32ch; }
.footer-col h4{ margin-bottom: var(--space-4); color: var(--text); font-size: var(--fs-sm); letter-spacing: 0.03em; text-transform: uppercase; }
.footer-col ul{ display: flex; flex-direction: column; gap: var(--space-3); }
.footer-col a{ font-size: var(--fs-sm); color: var(--text-muted); transition: color var(--dur-fast) var(--ease-out); }
.footer-col a:hover{ color: var(--gold-light); }
.footer-col .contact-line{ display: flex; align-items: center; gap: 0.6em; }
.footer-col .contact-line svg{ width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.footer-bottom{
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: var(--space-3);
  padding-top: var(--space-6);
  font-size: var(--fs-xs);
  color: var(--text-faint);
}
/* ---------- Page hero (inner pages) ---------- */
.page-hero{
  padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--border-hair);
  position: relative;
}
.page-hero .eyebrow{ margin-bottom: var(--space-4); }
.page-hero h1{ max-width: 18ch; }
.page-hero > .container > p{ margin-top: var(--space-4); font-size: var(--fs-lg); color: var(--text-muted); max-width: 60ch; }

/* ---------- Placeholder flag (clearly marks unfinished copy) ---------- */
.placeholder{
  border-bottom: 1px dashed var(--gold);
  color: var(--gold-light);
  cursor: help;
}

/* ---------- Icon sprite defaults ---------- */
.icon{ fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-filled{ fill: currentColor; stroke: none; }

/* ---------- Utility ---------- */
.sr-only{
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
/* Honeypot field — hidden from real visitors (incl. screen readers/keyboard),
   left visible to naive form-filling bots so Formspree can silently drop their submissions. */
.hp-field{
  position: absolute; left: -9999px; top: -9999px;
  width: 1px; height: 1px; overflow: hidden;
}
.mt-2{ margin-top: var(--space-2); }
.mt-4{ margin-top: var(--space-4); }
.mt-6{ margin-top: var(--space-6); }
.mt-8{ margin-top: var(--space-8); }
.divider{ height: 1px; background: var(--border-hair); border: 0; margin-block: var(--space-8); }
.tabular{ font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

@media (max-width: 640px){
  h1{ line-height: 1.14; }
  .btn{ width: 100%; }
  .hero-actions .btn{ width: auto; flex: 1 1 auto; }
  .cta-banner-inner .btn{ width: 100%; }
  .phone-break{ display: block; font-size: 1.3rem; }
}
