/* =============================================================
   CMD-KLINIK SUISSE · Design v4
   Swiss Brutalism · Editorial Luxury · Premium Clinic
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,300;12..96,400;12..96,500;12..96,600;12..96,700;12..96,800&family=Inter+Tight:wght@400;500;600;700&family=Instrument+Serif:ital@0;1&family=Oswald:wght@500;600;700&display=swap');

/* ---------- Tokens ---------- */
:root {
  /* Palette — refined, minimal, premium */
  --black:        #0a0a0a;
  --ink:          #1a1a1a;
  --charcoal:     #2a2a2a;
  --slate:        #4a4a4a;
  --stone:        #6e6a64;
  --mute:         #8a857d;
  --line:         #d8d2c4;
  --line-soft:    #e8e2d3;
  --paper:        #f5f1e8;
  --cream:        #ede5d3;
  --bone:         #e0d8c4;
  --white:        #ffffff;
  --gold:         #c9a667;
  --gold-bright:  #e8b65a;
  --gold-deep:    #9c7e44;

  /* Type */
  --f-display: 'Bricolage Grotesque', 'Inter Tight', system-ui, sans-serif;
  --f-body:    'Inter Tight', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --f-italic:  'Instrument Serif', Georgia, serif;
  --f-cond:    'Oswald', 'Bricolage Grotesque', 'Anton', 'Impact', sans-serif;

  /* Sizes */
  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1.0625rem;
  --fs-md: 1.1875rem;
  --fs-lg: 1.375rem;
  --fs-xl: 1.75rem;
  --fs-2xl: 2.5rem;
  --fs-3xl: 3.5rem;
  --fs-4xl: 5rem;
  --fs-5xl: 7rem;
  --fs-6xl: 10rem;

  /* Layout */
  --container: 1280px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section-y: clamp(5rem, 10vw, 9rem);

  /* Motion */
  --t-fast: .15s;
  --t-base: .3s;
  --t-slow: .6s;
  --ease: cubic-bezier(.2,0,.2,1);
  --ease-out: cubic-bezier(.16,1,.3,1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern", "calt", "ss01";
}
img, svg, video { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; padding: 0; }
a { color: inherit; text-decoration: none; transition: opacity var(--t-fast) var(--ease); }
input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--gold); color: var(--black); }

/* ---------- Typography ---------- */
h1, h2, h3, h4, h5 {
  font-family: var(--f-display);
  font-weight: 600;
  line-height: 1;
  color: var(--black);
  margin: 0 0 .65em;
  letter-spacing: -0.035em;
  font-variation-settings: "wdth" 100, "opsz" 96;
}
h1 {
  font-size: clamp(2.75rem, 8vw, 7rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.92;
}
h2 {
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.95;
}
h3 {
  font-size: clamp(1.375rem, 2vw, 1.75rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.1;
}
h4 {
  font-size: var(--fs-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
}

p { margin: 0 0 1rem; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--black); }
em { font-style: italic; font-family: var(--f-italic); font-weight: 400; }

.italic-display {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.015em;
}

.eyebrow {
  display: inline-block;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 1.5rem;
}
.eyebrow--gold { color: var(--gold-deep); }
.eyebrow--light { color: rgba(255,255,255,.7); }

.lead {
  font-size: clamp(1.125rem, 1.6vw, 1.375rem);
  line-height: 1.45;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: -0.015em;
  max-width: 64ch;
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container--narrow { max-width: 880px; }
.container--text { max-width: 720px; }

section { padding: var(--section-y) 0; }
.section-tight { padding: clamp(3rem, 5vw, 4.5rem) 0; }

.bg-paper { background: var(--paper); }
.bg-cream { background: var(--cream); }
.bg-bone  { background: var(--bone); }
.bg-black { background: var(--black); color: rgba(255,255,255,.85); }
.bg-black h1, .bg-black h2, .bg-black h3 { color: var(--white); }
.bg-charcoal { background: var(--charcoal); color: rgba(255,255,255,.82); }
.bg-charcoal h1, .bg-charcoal h2, .bg-charcoal h3 { color: var(--white); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 241, 232, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-base) var(--ease), background var(--t-base) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); background: rgba(245, 241, 232, 0.97); }

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 84px;
  flex-wrap: nowrap;
}

/* Logo — original CMD-Klinik Suisse Logo (PNG) */
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 56px;
  flex-shrink: 0;
  min-width: 0;
}
.logo__mark {
  height: 56px;
  width: 56px;
  flex-shrink: 0;
  display: block;
}
.logo__mark img {
  height: 100%;
  width: 100%;
  object-fit: contain;
  display: block;
}
.logo__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
}
.logo__text strong {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--black);
  letter-spacing: -0.02em;
}
.logo__text span {
  margin-top: 4px;
  font-size: 0.6875rem;
  letter-spacing: 0.18em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--stone);
}

.nav__menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 0;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav__menu a {
  display: inline-block;
  padding: 0.6rem 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  position: relative;
  white-space: nowrap;
}
.nav__menu a:hover { color: var(--gold-deep); }
.nav__menu a.is-active { color: var(--gold-deep); }
.nav__menu a.is-active::after {
  content: '';
  position: absolute;
  left: 1rem; right: 1rem;
  bottom: .4rem;
  height: 2px;
  background: var(--gold);
}

.nav__cta { display: flex; align-items: center; gap: 0.85rem; flex-shrink: 0; white-space: nowrap; }
.nav__phone {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-size: 0.9375rem; font-weight: 500;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.nav__phone svg { width: 16px; height: 16px; color: var(--gold-deep); }

.nav__toggle { display: none; padding: 0.5rem; }
.nav__toggle svg { width: 24px; height: 24px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 1rem 1.75rem;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: 0.9375rem;
  letter-spacing: -0.005em;
  border-radius: 999px;
  transition: all var(--t-base) var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
  cursor: pointer;
  line-height: 1;
}
.btn svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }

.btn--primary { background: var(--black); color: var(--white); }
.btn--primary:hover { background: var(--ink); transform: translateY(-1px); }
.btn--primary:hover svg { transform: translateX(3px); }

.btn--gold { background: var(--gold); color: var(--black); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-1px); }
.btn--gold:hover svg { transform: translateX(3px); }

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn--ghost:hover { background: var(--black); color: var(--white); border-color: var(--black); }

.btn--ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.25);
}
.btn--ghost-light:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.5); }

.btn--lg { padding: 1.15rem 2rem; font-size: 1rem; }

/* ---------- Hero · Editorial massive type ---------- */
.hero {
  padding: clamp(3rem, 6vw, 6rem) 0 clamp(4rem, 8vw, 7rem);
  position: relative;
}
.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 2rem;
}
.hero__eyebrow::before, .hero__eyebrow::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--gold);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: clamp(3rem, 9vw, 9rem);
  line-height: 0.88;
  letter-spacing: -0.05em;
  color: var(--black);
  margin: 0 0 2rem;
  max-width: 16ch;
  font-variation-settings: "wdth" 80, "opsz" 96;
}
.hero__title em {
  font-family: var(--f-italic);
  font-weight: 400;
  font-style: italic;
  color: var(--gold-deep);
  letter-spacing: -0.025em;
  font-variation-settings: normal;
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: end;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.hero__lead {
  font-size: clamp(1.125rem, 1.5vw, 1.3125rem);
  line-height: 1.5;
  color: var(--slate);
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual: massive type composition */
.hero__visual {
  margin-top: clamp(4rem, 8vw, 7rem);
  background: var(--charcoal);
  color: var(--gold-bright);
  padding: clamp(2.5rem, 5vw, 4.5rem);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16/9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.hero__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 80% 100%, rgba(232,182,90,0.15), transparent 60%);
  pointer-events: none;
}
.hero__visual-mark {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--f-cond);
  font-weight: 700;
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold-bright);
}
.hero__visual-mark .num {
  font-size: clamp(3rem, 6vw, 5rem);
  font-family: var(--f-display);
  font-weight: 500;
  color: var(--white);
  letter-spacing: -0.03em;
}
.hero__visual-mark .lbl {
  font-size: clamp(0.75rem, 1vw, 0.875rem);
  font-family: var(--f-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}
.hero__visual-cmd {
  position: relative;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: clamp(5rem, 16vw, 16rem);
  line-height: 0.85;
  letter-spacing: -0.05em;
  color: var(--gold-bright);
}
.hero__visual-cmd small {
  display: block;
  font-family: var(--f-body);
  font-weight: 500;
  font-size: clamp(0.7rem, 0.9vw, 0.8125rem);
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--white);
  margin-top: 1.25rem;
  opacity: 0.7;
}

/* ---------- Stats bar — refined ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: clamp(3rem, 5vw, 4rem);
  border-top: 1px solid var(--line);
}
.stat {
  padding: 2rem 0;
  border-right: 1px solid var(--line);
  padding-right: 2rem;
}
.stat:last-child { border-right: 0; }
.stat:not(:first-child) { padding-left: 2rem; }
.stat__num {
  font-family: var(--f-display);
  font-size: clamp(2rem, 3.5vw, 3.25rem);
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.04em;
  line-height: 0.9;
  font-variation-settings: "wdth" 85;
  margin-bottom: 0.5rem;
  font-variant-numeric: tabular-nums;
}
.stat__num small {
  font-size: 0.55em;
  margin-left: 0.1em;
  color: var(--gold-deep);
  font-weight: 500;
}
.stat__label {
  font-size: 0.875rem;
  color: var(--stone);
  line-height: 1.4;
  letter-spacing: -0.005em;
}

/* ---------- Section header ---------- */
.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.section-head--center {
  display: block;
  text-align: center;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
.section-head h2 { margin-bottom: 0; }
.section-head__lead {
  color: var(--slate);
  font-size: var(--fs-md);
  line-height: 1.5;
  max-width: 56ch;
}
.section-head--center .section-head__lead { margin: 1.5rem auto 0; }

/* ---------- Founder · Editorial statement ---------- */
.founder {
  background: var(--black);
  color: rgba(255,255,255,0.82);
  padding: var(--section-y) 0;
  overflow: hidden;
}
.founder__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.founder__visual {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--charcoal);
  overflow: hidden;
}
.founder__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 35%;
  filter: contrast(1.03) brightness(0.98);
}
/* Subtle vignette on real photo */
.founder__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.25) 100%),
    linear-gradient(to bottom, transparent 60%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
  z-index: 1;
}
.founder__visual::after {
  content: 'DR. VON GADOMSKI · GRÜNDER · SEIT 2002';
  position: absolute;
  bottom: 1.75rem; left: 1.75rem; right: 1.75rem;
  font-family: var(--f-body);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  color: var(--gold-bright);
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(232,182,90,0.4);
  z-index: 2;
}

.founder__copy h2 {
  color: var(--white);
  font-size: clamp(2.25rem, 5vw, 4.5rem);
  letter-spacing: -0.045em;
  line-height: 0.92;
  margin-bottom: 1.5rem;
}
.founder__copy h2 em {
  font-family: var(--f-italic);
  color: var(--gold);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.025em;
}
.founder__copy p { color: rgba(255,255,255,0.7); }

.founder__quote {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.375rem, 2.2vw, 2rem);
  line-height: 1.3;
  color: var(--white);
  margin: 2rem 0;
  padding-left: 1.5rem;
  border-left: 2px solid var(--gold);
  letter-spacing: -0.02em;
}

.founder__creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.founder__cred strong {
  display: block;
  font-family: var(--f-display);
  font-size: 2.25rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: -0.035em;
  line-height: 0.9;
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}
.founder__cred span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.45;
}

/* ---------- Symptoms · Brutalist grid ---------- */
.symptoms {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
  background: var(--line);
  gap: 1px;
}
.symptom {
  background: var(--paper);
  padding: 2.5rem 2rem 2rem;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  color: inherit;
  transition: background var(--t-base) var(--ease);
}
.symptom:hover { background: var(--cream); }
.symptom__num {
  font-family: var(--f-cond);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--gold-deep);
  margin-bottom: 2.5rem;
}
.symptom h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.05;
}
.symptom p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 1.5rem;
}
.symptom__arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
}
.symptom__arrow::after {
  content: '→';
  font-size: 1.1em;
  transition: transform var(--t-base) var(--ease);
}
.symptom:hover .symptom__arrow::after { transform: translateX(4px); }

/* ---------- Split layout ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.split__media {
  aspect-ratio: 4/5;
  background: var(--cream);
  overflow: hidden;
  position: relative;
}
.split__media img {
  width: 100%; height: 100%; object-fit: cover;
}
.split__media-tag {
  position: absolute;
  top: 1.5rem; left: 1.5rem;
  background: var(--white);
  padding: 0.5rem 1rem;
  font-family: var(--f-cond);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--black);
  text-transform: uppercase;
}

.split-prose h2 {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.5rem;
}
.split-prose h2 em {
  font-family: var(--f-italic);
  color: var(--gold-deep);
  font-style: italic;
  font-weight: 400;
}
.split-prose p {
  font-size: var(--fs-md);
  color: var(--slate);
  line-height: 1.6;
}

/* ---------- Feature list ---------- */
.features {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  border-top: 1px solid var(--line);
}
.features li {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.features__num {
  font-family: var(--f-cond);
  font-size: 1.125rem;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}
.features strong {
  display: block;
  font-family: var(--f-display);
  font-size: 1.0625rem;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 0.25rem;
  color: var(--black);
}
.features span {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.5;
}

/* ---------- Process · clean steps ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}
.process__step {
  padding: 2.5rem var(--gutter) 0 0;
  position: relative;
  border-right: 1px solid var(--line);
}
.process__step:last-child { border-right: 0; }
.process__step:not(:first-child) { padding-left: var(--gutter); }
.process__step::before {
  content: '';
  position: absolute;
  top: -1px; left: 0;
  width: 32px;
  height: 2px;
  background: var(--gold);
}
.process__num {
  font-family: var(--f-cond);
  font-size: 0.875rem;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
.process__step h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.1;
}
.process__step p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.55;
}

/* ---------- Cards generic ---------- */
.cards { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--paper);
  padding: 2.25rem;
  transition: background var(--t-base) var(--ease);
}
.card:hover { background: var(--cream); }
.card__num {
  font-family: var(--f-cond);
  font-size: 0.875rem;
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 0.15em;
  display: block;
  margin-bottom: 1.5rem;
}
.card h3 {
  font-size: 1.375rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 0.65rem;
  line-height: 1.1;
}
.card p {
  font-size: 0.9375rem;
  color: var(--slate);
  line-height: 1.55;
}

/* ---------- Testimonials ---------- */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.testimonial {
  background: var(--paper);
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
}
.testimonial__stars {
  color: var(--gold);
  letter-spacing: 0.15em;
  margin-bottom: 1.25rem;
}
.testimonial__quote {
  font-family: var(--f-display);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.35;
  color: var(--black);
  letter-spacing: -0.02em;
  margin-bottom: 2rem;
  flex: 1;
}
.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
}
.testimonial__avatar {
  width: 44px; height: 44px;
  background: var(--charcoal);
  color: var(--gold);
  display: grid; place-items: center;
  font-family: var(--f-cond);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}
.testimonial__name { font-weight: 600; font-size: 0.9375rem; color: var(--black); }
.testimonial__detail { font-size: 0.8125rem; color: var(--stone); margin-top: 1px; }

/* ---------- FAQ ---------- */
.faqs { max-width: 880px; margin: 0 auto; }
.faq { border-bottom: 1px solid var(--line); }
.faq:first-child { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer;
  padding: 1.75rem 0;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  color: var(--black);
  transition: color var(--t-fast) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--gold-deep); }
.faq summary::after {
  content: '';
  width: 14px; height: 14px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%230a0a0a' stroke-width='1.6'%3E%3Cline x1='8' y1='2' x2='8' y2='14'/%3E%3Cline x1='2' y1='8' x2='14' y2='8'/%3E%3C/svg%3E");
  background-size: contain;
  transition: transform var(--t-base) var(--ease);
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq__body {
  padding: 0 3rem 1.75rem 0;
  color: var(--slate);
  line-height: 1.7;
  font-size: 1rem;
  max-width: 720px;
}
.faq__body a { color: var(--gold-deep); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- CTA Block ---------- */
.cta {
  background: var(--black);
  color: var(--white);
  padding: clamp(3.5rem, 7vw, 6rem) clamp(2rem, 5vw, 5rem);
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 90% 100%, rgba(232,182,90,0.12), transparent 50%);
  pointer-events: none;
}
.cta__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 3rem;
  align-items: end;
}
.cta h2 {
  color: var(--white);
  font-size: clamp(2rem, 4.5vw, 4rem);
  letter-spacing: -0.045em;
  line-height: 0.95;
  margin-bottom: 1.25rem;
  max-width: 14ch;
}
.cta h2 em {
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: -0.025em;
}
.cta p {
  color: rgba(255,255,255,0.7);
  font-size: var(--fs-md);
  margin: 0;
  max-width: 480px;
}
.cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.6);
  padding: 5rem 0 0;
  font-size: 0.875rem;
}
.footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.2fr;
  gap: 3rem;
  padding-bottom: 3rem;
}
.footer__brand {
  display: flex; flex-direction: column; gap: 1.25rem;
  max-width: 320px;
}
.footer__brand-mark {
  width: 72px;
  height: 72px;
  display: block;
  flex-shrink: 0;
}
.footer__brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.footer__brand h4 {
  color: var(--white);
  font-size: 1.25rem;
  margin: 0;
  font-weight: 600;
}
.footer__brand h4 small {
  display: block;
  font-family: var(--f-italic);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
  font-size: 1rem;
  margin-top: 0.25rem;
  letter-spacing: -0.01em;
}
.footer__brand p {
  color: rgba(255,255,255,0.55);
  line-height: 1.55;
}
.footer address {
  font-style: normal;
  color: rgba(255,255,255,0.55);
  line-height: 1.65;
}
.footer__contact { margin-top: 0.5rem; display: flex; flex-direction: column; gap: 0.35rem; }
.footer h5 {
  color: var(--white);
  font-family: var(--f-body);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin: 0 0 1.5rem;
}
.footer a {
  color: rgba(255,255,255,0.55);
  display: block;
  padding: 0.35rem 0;
}
.footer a:hover { color: var(--gold); }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1.5rem 0;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
}
.footer__bottom-links { display: flex; gap: 1.5rem; }
.footer__bottom-links a { display: inline; padding: 0; }

/* ---------- Page hero ---------- */
.page-hero {
  padding: clamp(4rem, 7vw, 6rem) 0 clamp(3rem, 5vw, 4rem);
  border-bottom: 1px solid var(--line);
}
.breadcrumb {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--stone);
  margin-bottom: 1.5rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 500;
}
.breadcrumb a { color: var(--stone); }
.breadcrumb a:hover { color: var(--black); }
.breadcrumb span:last-child { color: var(--black); }
.page-hero h1 {
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  max-width: 16ch;
}
.page-hero__lead {
  font-size: var(--fs-md);
  color: var(--slate);
  max-width: 64ch;
  margin-top: 1.5rem;
  line-height: 1.55;
}
.page-hero__actions {
  margin-top: 2rem;
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

/* ---------- Prose ---------- */
.prose { max-width: 680px; }
.prose h2 {
  margin-top: 3rem;
  font-size: clamp(1.875rem, 3vw, 2.5rem);
}
.prose h3 {
  margin-top: 2.5rem;
  font-size: 1.375rem;
  color: var(--gold-deep);
}
.prose p {
  font-size: var(--fs-md);
  line-height: 1.7;
  color: var(--ink);
}
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1rem; }
.prose li { margin-bottom: 0.65rem; line-height: 1.65; }
.prose blockquote {
  margin: 2rem 0;
  padding: 1.5rem 1.75rem;
  border-left: 2px solid var(--gold);
  background: var(--cream);
  font-family: var(--f-italic);
  font-style: italic;
  font-size: 1.25rem;
  line-height: 1.45;
  letter-spacing: -0.015em;
  color: var(--black);
}
.prose blockquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--f-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
}

.callout {
  background: var(--cream);
  border-left: 2px solid var(--gold);
  padding: 1.5rem 1.75rem;
  margin: 2rem 0;
  font-size: 1rem;
  line-height: 1.6;
}
.callout strong { color: var(--gold-deep); }

/* ---------- Symptom detail split ---------- */
.symptom-detail {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
}
.symptom-detail__media {
  position: sticky;
  top: 110px;
  aspect-ratio: 1/1;
  background: var(--cream);
  padding: 3rem;
  display: grid;
  place-items: center;
}
.symptom-detail__media img { width: 100%; max-width: 320px; }

/* ---------- Contact / Form ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.contact-info__item {
  background: var(--paper);
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 1rem;
  padding: 1.5rem;
}
.contact-info__item svg { width: 22px; height: 22px; color: var(--black); margin-top: 2px; }
.contact-info__item strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.15rem;
  color: var(--black);
}
.contact-info__item p, .contact-info__item a {
  margin: 0; color: var(--slate); font-size: 0.9375rem; display: block;
}
.contact-info__item a:hover { color: var(--black); }

.map { margin-top: 2.5rem; aspect-ratio: 21/9; background: var(--cream); overflow: hidden; }
.map iframe { width: 100%; height: 100%; border: 0; }

.form {
  background: var(--white);
  padding: clamp(1.75rem, 3vw, 2.5rem);
  border: 1px solid var(--line);
}
.form h3 { font-size: 1.5rem; margin-bottom: 1.75rem; }
.form-row { display: grid; gap: 1rem; grid-template-columns: 1fr 1fr; margin-bottom: 1rem; }
.form-field { display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem; }
.form-field label { font-weight: 600; font-size: 0.875rem; color: var(--black); }
.form-field label .req { color: #c45a4a; }
.form-field input, .form-field select, .form-field textarea {
  font: inherit;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  transition: all var(--t-fast) var(--ease);
  width: 100%;
  border-radius: 0;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: 0; border-color: var(--black); background: var(--white);
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field .hint { font-size: 0.75rem; color: var(--stone); }
.form-check { display: flex; gap: 0.65rem; align-items: flex-start; font-size: 0.875rem; color: var(--slate); }
.form-check input { margin-top: 4px; accent-color: var(--black); }
.form-status { margin-top: 1rem; font-size: 0.875rem; min-height: 1.4em; }

/* ---------- Typeform Embed ---------- */
.typeform-wrapper {
  max-width: 880px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 2px rgba(0,0,0,0.04), 0 12px 32px rgba(0,0,0,0.06);
}
.typeform-embed,
.typeform-embed iframe {
  width: 100%;
  min-height: 720px;
  display: block;
  border: 0;
}
@media (max-width: 720px) {
  .typeform-embed,
  .typeform-embed iframe {
    min-height: 80vh;
  }
}

/* ---------- Legacy Quiz (kept for compatibility) ---------- */
.quiz {
  background: var(--white);
  border: 1px solid var(--line);
  padding: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
  margin: 0 auto;
}
.quiz__progress {
  height: 2px;
  background: var(--line);
  overflow: hidden;
  margin-bottom: 2.5rem;
}
.quiz__progress-bar {
  height: 100%;
  background: var(--gold);
  width: 0%;
  transition: width var(--t-base) var(--ease);
}
.quiz__question h3 {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.025em;
  margin-bottom: 1.75rem;
  line-height: 1.2;
}
.quiz__options { display: grid; gap: 0.5rem; margin-bottom: 2rem; }
.quiz__option {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 1.1rem 1.4rem;
  border: 1px solid var(--line);
  cursor: pointer;
  background: var(--paper);
  transition: all var(--t-fast) var(--ease);
  font-weight: 500;
}
.quiz__option:hover { border-color: var(--black); }
.quiz__option input { accent-color: var(--black); }
.quiz__nav { display: flex; justify-content: space-between; gap: 1rem; }
.quiz__result { text-align: center; }
.quiz__result .score {
  font-family: var(--f-display);
  font-size: 5rem;
  font-weight: 600;
  color: var(--black);
  letter-spacing: -0.05em;
  line-height: 0.9;
  margin-bottom: 1rem;
  font-variant-numeric: tabular-nums;
}

/* ---------- Misc ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Navigation: progressive collapse */
/* Hide phone first on medium screens (1080-1240) — most common cause of nav wrap */
@media (max-width: 1240px) {
  .nav__phone { display: none; }
  .logo__text { display: none; }
}
/* Hide button text below 920 to keep menu visible */
@media (max-width: 920px) {
  .nav__menu a { padding: 0.6rem 0.55rem; font-size: 0.8125rem; }
}

@media (max-width: 1024px) {
  .hero__grid { grid-template-columns: 1fr; gap: 2rem; }
  .founder__grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .symptoms { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); border-top: 0; gap: 0; }
  .process__step { border-top: 1px solid var(--line); padding: 2.5rem var(--gutter); }
  .process__step:nth-child(2) { border-right: 0; }
  .testimonials { grid-template-columns: 1fr; }
  .split, .symptom-detail, .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .split--reverse .split__media { order: 0; }
  .symptom-detail__media { position: static; }
  .cards--3, .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .cta__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta__actions { justify-content: flex-start; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(3), .stat:nth-child(4) { border-top: 1px solid var(--line); }
  .section-head { grid-template-columns: 1fr; gap: 1.25rem; }
}

@media (max-width: 720px) {
  .nav__menu, .nav__phone { display: none; }
  .nav__toggle { display: inline-flex; }
  .nav__menu.is-open {
    display: flex;
    position: absolute;
    top: 84px; left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 1rem;
    border-bottom: 1px solid var(--line);
    gap: 0;
  }
  .symptoms, .cards--2, .cards--3, .cards--4 { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 2rem; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0 !important; border-top: 1px solid var(--line); padding: 1.5rem 0; }
  .founder__creds { grid-template-columns: 1fr; gap: 1.25rem; }
  .logo__text { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
