/* ============================================================
   Over the Knife: merged stylesheet
   Base design: reference version 1 (light, airy)
   Schedule band, disclaimer, footer: reference version 2 (dark)
   Plus custom: evidence callout, hero framework
   2026-06 polish pass: editorial serif headlines, refined
   shadows/motion, more whitespace, scroll reveals
   ============================================================ */

:root {
  --navy: #061a35;
  --navy-2: #0a2f60;
  --blue: #1668e3;
  --teal: #11b7b4;
  --ink: #101828;
  --muted: #5e6b7d;
  --line: #dbe3ee;
  --soft: #F3F7FF;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(4, 23, 54, 0.14);
  --shadow-soft: 0 8px 24px rgba(6, 26, 53, 0.06);
  --shadow-hover: 0 26px 52px rgba(6, 26, 53, 0.12);
  --radius: 22px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--navy-2); color: var(--white); }
.container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
section[id], details[id], [id].cond-accordion, #cited-works, #conditions-detail { scroll-margin-top: 92px; }
.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; }

/* ── Header (v1, glassier) ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 76px;
  padding: 12px clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: rgba(255,255,255,0.8);
  backdrop-filter: blur(18px) saturate(1.5);
  -webkit-backdrop-filter: blur(18px) saturate(1.5);
  border-bottom: 1px solid rgba(13, 38, 76, 0.08);
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 42px; height: 42px; border-radius: 14px;
  display: grid; place-items: center;
  color: var(--white); background: linear-gradient(135deg, var(--navy), var(--blue));
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22), 0 6px 16px rgba(6,26,53,0.22);
}
.brand strong { display: block; font-size: 1.18rem; letter-spacing: -0.03em; }
.brand small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 2px; }
.primary-nav { display: flex; align-items: center; gap: 26px; font-size: 0.93rem; font-weight: 600; }
.primary-nav a { color: #1f2a3a; position: relative; transition: color 0.2s; }
.primary-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -2px; height: 2px; background: var(--blue); border-radius: 2px; transition: right 0.28s var(--ease-out); }
.primary-nav a:not(.nav-cta)::after { display: none; }
.primary-nav a:hover { color: var(--blue); }
.nav-cta, .btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: 0 10px 26px rgba(22, 104, 227, 0.28);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.nav-cta:hover, .btn-primary:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22, 104, 227, 0.38); }
.menu-toggle { display: none; background: transparent; border: 0; padding: 8px; }
.menu-toggle span:not(.sr-only) { display: block; width: 28px; height: 2px; margin: 6px 0; background: var(--navy); border-radius: 2px; }

/* ── Display type ── */
h1, h2 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
p { text-wrap: pretty; }

/* ── Hero (v1, richer) ── */
.hero { position: relative; min-height: 680px; display: flex; align-items: center; overflow: hidden; color: var(--white); }
.hero-media { position: absolute; inset: 0; background: linear-gradient(120deg, #091a2b, #164b73); }
.hero-patient {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 72% 35%, rgba(17,183,180,0.1), transparent 30%),
    linear-gradient(90deg, rgba(3,12,26,0.85) 0%, rgba(3,12,26,0.55) 40%, rgba(3,12,26,0.12) 70%, rgba(3,12,26,0.08) 100%),
    url('img/dr-kwon-hero.jpg') 62% 26%/cover;
  filter: saturate(0.97) contrast(1.02);
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6,26,53,0.12), rgba(6,26,53,0.5)); }
.hero-content { position: relative; padding: 64px 0 96px; max-width: 1160px; }
.eyebrow { color: #6db4ff; text-transform: uppercase; letter-spacing: 0.2em; font-weight: 700; font-size: 0.74rem; margin: 0 0 14px; }
.section .eyebrow, .split-panel .eyebrow, .about-copy .eyebrow { color: var(--blue); }
.eyebrow.light { color: #89d8ff; }
.hero h1 { max-width: 820px; font-size: clamp(2.5rem, 5.2vw, 4.6rem); line-height: 1.05; margin: 0 0 24px; text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45); }
.hero-accent {
  font-style: italic;
  padding-right: 0.05em;
  background: linear-gradient(95deg, #6db4ff, #3fd6d2);
  -webkit-background-clip: text;
  background-clip: text;
  color: #6db4ff;
  -webkit-text-fill-color: transparent;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 34px 0 24px; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 30px; border-radius: 999px; font-weight: 700; letter-spacing: 0.01em; transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s; }
.btn-secondary { border: 1px solid rgba(255,255,255,0.55); color: var(--white); background: rgba(255,255,255,0.08); backdrop-filter: blur(6px); }
.btn-secondary:hover { background: rgba(255,255,255,0.16); transform: translateY(-2px); }
.hero-note { color: rgba(255,255,255,0.88); font-size: 0.92rem; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.55); }
.trust-grid { background: rgba(255,255,255,0.96); border: 1px solid rgba(219,227,238,0.9); box-shadow: var(--shadow); border-radius: var(--radius); display: grid; grid-template-columns: repeat(4, 1fr); overflow: hidden; backdrop-filter: blur(10px); }
.trust-grid article { padding: 28px 26px; border-right: 1px solid var(--line); }
.trust-grid article:last-child { border-right: 0; }
.trust-grid span { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #eaf3ff, #dcebff); color: var(--navy); font-weight: 800; margin-bottom: 12px; }
.trust-grid strong { display: block; font-size: 1rem; letter-spacing: -0.01em; }
.trust-grid p { margin: 6px 0 0; color: var(--muted); font-size: 0.9rem; line-height: 1.5; }

/* ── Sections (v1, more air) ── */
.section { padding: 50px 0; }
.section-heading { max-width: 760px; margin-bottom: 44px; }
.centered { text-align: center; margin-left: auto; margin-right: auto; }
h2 { font-size: clamp(1.9rem, 3vw, 2.9rem); line-height: 1.12; margin: 0 0 16px; color: var(--navy); }
.section-heading p, .split-panel p, .about-copy p, .disclaimer p { color: var(--muted); line-height: 1.7; }
.services-grid { grid-template-columns: repeat(4, 1fr); }
.service-card {
  background: var(--white); border: 1px solid var(--line); border-radius: 20px; padding: 28px 26px; box-shadow: var(--shadow-soft);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), border-color 0.3s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); border-color: #c6d8ef; }
.service-card .icon { display: inline-grid; place-items: center; width: 54px; height: 54px; border-radius: 16px; background: linear-gradient(135deg, #eaf3ff, #dcebff); font-size: 1.5rem; color: var(--blue); }
.service-card h3 { margin: 16px 0 8px; font-size: 1.04rem; color: var(--navy); letter-spacing: -0.01em; }
.service-card p { margin: 0; color: var(--muted); line-height: 1.6; font-size: 0.93rem; }
.services-note { max-width: 760px; margin: 22px auto 0; text-align: center; font-size: 0.92rem; color: var(--muted); line-height: 1.6; }

/* ── Evidence callout ── */
.evidence-callout { position: relative; max-width: 820px; margin: 36px auto 52px; background: linear-gradient(135deg, #eef6ff 0%, #e3edfd 100%); border: 1px solid #cfe3fb; border-radius: 20px; padding: 34px 36px 34px 100px; box-shadow: 0 18px 44px rgba(15,55,110,0.1); }
.evidence-callout::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; border-radius: 20px 0 0 20px; background: linear-gradient(180deg, var(--blue), var(--navy)); }
.evidence-callout-icon { position: absolute; left: 32px; top: 34px; width: 46px; height: 46px; border-radius: 14px; background: var(--navy); color: #fff; display: inline-grid; place-items: center; font-size: 1.3rem; box-shadow: 0 8px 20px rgba(7,26,51,0.32); }
.evidence-callout-tag { display: inline-block; margin-bottom: 10px; padding: 6px 13px; background: rgba(22,104,227,0.12); color: var(--blue); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; border-radius: 999px; }
.evidence-callout h3 { margin: 0 0 12px; font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; color: #071a33; line-height: 1.25; letter-spacing: -0.01em; }
.evidence-callout p { margin: 0; color: #33445c; font-size: 1rem; line-height: 1.75; }
.evidence-callout p + p { margin-top: 12px; }
.evidence-callout + .evidence-callout { margin-top: -28px; }
.evidence-callout .callout-fineprint { margin-top: 14px; font-size: 0.8rem; font-style: italic; color: #9a6258; line-height: 1.5; }

/* ── Conditions (v1) ── */
.conditions { background: var(--soft); }
.split-panel { display: grid; grid-template-columns: 0.72fr 1.28fr; gap: 48px; align-items: center; }
.condition-tags { display: flex; flex-wrap: wrap; gap: 12px; }
.condition-tags span { padding: 12px 18px; border-radius: 999px; background: var(--white); border: 1px solid var(--line); font-weight: 600; font-size: 0.94rem; color: var(--navy); box-shadow: 0 2px 8px rgba(6,26,53,0.04); transition: background 0.25s, color 0.25s, transform 0.25s var(--ease-out), border-color 0.25s; cursor: default; }
.condition-tags span:hover { background: var(--navy); color: var(--white); border-color: var(--navy); transform: translateY(-2px); }

/* ── About (v1) ── */
.about-grid { display: grid; grid-template-columns: 380px 1fr; gap: 56px; align-items: center; }
.portrait-card { border-radius: var(--radius); padding: 16px; background: var(--soft); border: 1px solid var(--line); box-shadow: var(--shadow-soft); }
.portrait-card p { color: var(--muted); font-size: 0.9rem; margin: 12px 4px 0; }

/* ── Scope ("does not include") section ── */
.scope { background: var(--soft); padding: 38px 0; }
.scope .section-heading { margin-bottom: 36px; }

.scope-compare { max-width: 880px; margin: 34px auto 0; }
.scope-compare h3 { font-family: var(--font-display); color: var(--navy); font-size: 1.25rem; margin: 0 0 10px; text-align: center; }
.scope-compare p { color: #33445c; font-size: 0.95rem; line-height: 1.7; margin: 0 0 12px; }
.scope-compare p:last-child { margin-bottom: 0; }
.compare-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 16px; }
.compare-card { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 22px; }
.compare-card h4 { font-family: var(--font-display); font-size: 1.05rem; font-weight: 600; margin: 0 0 12px; color: var(--navy); }
.compare-card ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.compare-card li { font-size: 0.93rem; line-height: 1.6; color: #33445c; padding-left: 22px; position: relative; }
.compare-card li::before { content: "\2022"; position: absolute; left: 6px; top: 0; color: var(--muted); }
.compare-card-otk { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, linear-gradient(135deg, #cda24a, #1d9e75) border-box; }
.compare-card-otk li::before { content: "\2713"; color: #1d9e75; left: 2px; font-weight: 700; }
@media (max-width: 640px) { .compare-cards { grid-template-columns: 1fr; } }

/* ── Schedule band (v2, refined) ── */
.schedule-band {
  background:
    radial-gradient(circle at 88% 12%, rgba(17,183,180,0.16), transparent 42%),
    radial-gradient(circle at 8% 90%, rgba(22,104,227,0.18), transparent 46%),
    linear-gradient(90deg, var(--navy), var(--navy-2));
  color: white; padding: 32px 0;
}
.schedule-grid { display: grid; grid-template-columns: 1fr 2.1fr; gap: 36px; align-items: center; }
.schedule-intro { display: flex; gap: 20px; align-items: center; }
.schedule-band h2 { color: white; margin-bottom: 10px; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.12; }
.schedule-band p { margin: 0; line-height: 1.6; color: rgba(255,255,255,0.85); }
.large-icon { width: 68px; height: 68px; border: 1px solid rgba(255,255,255,0.5); background: rgba(255,255,255,0.06); backdrop-filter: blur(6px); border-radius: 20px; display: grid; place-items: center; font-size: 1.9rem; flex: 0 0 auto; }
.schedule-actions { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }

/* ── Disclaimer (v2, refined) ── */
.disclaimer { background: #f4f6f9; padding: 22px 0; border-bottom: 1px solid #ccd5e2; }
.disclaimer-wrap { display: grid; grid-template-columns: 70px 1fr; gap: 24px; align-items: start; }
.warn { font-size: 3rem; color: var(--navy-2); line-height: 1; }
.disclaimer h2 { font-size: 1.3rem; margin-bottom: 10px; color: #0a1830; }
.disclaimer p { margin: 0 0 8px; color: #2d3645; line-height: 1.55; }

/* ── Footer (v2, refined; .footer variant used on privacy.html) ── */
.site-footer{ background: linear-gradient(180deg, var(--navy), #04101f); color: white; padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1.4fr 1.4fr 1.3fr; gap: 44px; }
.footer .footer-grid { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.footer-brand { margin-bottom: 14px; display: flex; align-items: center; gap: 12px; text-decoration: none; }
.footer-brand .brand-mark { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.16); box-shadow: none; }
.footer-brand strong { color: var(--white); }
.footer-brand small { color: rgba(255,255,255,0.65); }
.site-footer h3{ color: rgba(255,255,255,0.55); text-transform: uppercase; font-size: 0.74rem; letter-spacing: 0.16em; margin: 0 0 16px; font-weight: 700; }
.site-footer a{ display: inline-block; margin: 0 18px 10px 0; color: white; opacity: 0.78; text-decoration: none; transition: opacity 0.2s; }
.site-footer a:hover{ opacity: 1; }
.site-footer p{ color: #c4cfdd; margin: 0.35rem 0; line-height: 1.6; }
.social-row { display: flex; gap: 8px; margin-top: 14px; }
.social-row a { border: 1px solid rgba(255,255,255,0.35); border-radius: 50%; width: 30px; height: 30px; text-align: center; margin: 0; display: inline-flex; align-items: center; justify-content: center; font-size: 0.82rem; transition: background 0.2s, border-color 0.2s; }
.social-row a:hover { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.7); }
.copyright { text-align: center; margin-top: 44px; font-size: 0.86rem; color: rgba(255,255,255,0.5); padding: 20px 0 8px; border-top: 1px solid rgba(255,255,255,0.08); }

/* ── Mobile sticky CTA (v1) ── */
.mobile-sticky-cta { display: none; }

/* ── Scroll reveal ── */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s var(--ease-out); transition-delay: var(--reveal-delay, 0s); }
.reveal.in-view { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .service-card, .condition-tags span, .btn, .nav-cta { transition: none; }
}

/* ── Responsive ── */
@media (max-width: 1050px) {
  .schedule-grid { grid-template-columns: 1fr; }
}
@media (max-width: 980px) {
  .menu-toggle { display: block; }
  .primary-nav { position: absolute; left: 20px; right: 20px; top: 78px; flex-direction: column; align-items: stretch; gap: 0; padding: 14px; background: var(--white); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: 0.18s ease; }
  .primary-nav.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
  .primary-nav a { padding: 14px; border-radius: 12px; }
  .primary-nav a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 8px; border-radius: 14px; }
  .hero { min-height: 620px; }
  .trust-grid, .services-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid article:nth-child(2) { border-right: 0; }
  .trust-grid article { border-bottom: 1px solid var(--line); }
  .split-panel, .about-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .container { width: min(100% - 28px, 1160px); }
  .site-header { padding: 10px 14px; }
  .brand strong { font-size: 1rem; }
  .brand small { font-size: 0.7rem; }
  .brand-mark { width: 38px; height: 38px; border-radius: 12px; }
  .hero { min-height: 710px; align-items: flex-end; }
  .hero-content { padding: 36px 0 76px; }
  .hero h1 { font-size: 2.5rem; }
  .hero-actions { flex-direction: column; }
  .btn { width: 100%; }
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-grid article { padding: 18px 16px; }
  .trust-grid { border-radius: 0; width: 100%; }
  .trust-grid article { border-right: 0; }
  .section { padding: 36px 0; }
  .split-panel { gap: 24px; }
  .evidence-callout { padding: 28px 24px; }
  .evidence-callout-icon { position: static; margin-bottom: 14px; }
  .schedule-band { padding: 24px 0; }
  .mobile-sticky-cta { display: block; position: fixed; z-index: 99; left: 14px; right: 14px; bottom: 14px; transform: translateY(140%); transition: transform 0.3s ease; background: linear-gradient(135deg, var(--blue), var(--teal)); color: var(--white); padding: 16px 18px; border-radius: 999px; text-align: center; font-weight: 800; letter-spacing: 0.01em; box-shadow: 0 12px 32px rgba(0,0,0,0.28); }
  body { padding-bottom: 72px; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
  .schedule-intro { align-items: flex-start; }
  .large-icon { display: none; }
  .disclaimer-wrap { grid-template-columns: 1fr; }
  .warn { font-size: 2.2rem; }
}

/* ── Contact form ── */
.contact { background: var(--soft); padding: 42px 0; }
.contact .eyebrow { color: var(--blue); }
.contact .section-heading { margin-bottom: 28px; }
.contact-card { max-width: 640px; margin: 0 auto; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 34px; box-shadow: var(--shadow-soft); }
.contact-form { display: grid; gap: 16px; position: relative; }
.contact-field { display: grid; gap: 6px; }
.contact-field label { font-size: 0.9rem; font-weight: 600; color: var(--navy); }
.contact-field input, .contact-field textarea, .contact-field select { width: 100%; font: inherit; color: var(--ink); padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; background: #fbfdff; transition: border-color 0.2s, box-shadow 0.2s; }
.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(22,104,227,0.15); }
.contact-field textarea { min-height: 130px; resize: vertical; }
.contact-phi { font-size: 0.86rem; line-height: 1.5; color: #7a4a00; background: rgba(254,210,128,0.2); border: 1px solid rgba(254,210,128,0.65); border-radius: 12px; padding: 12px 14px; margin: 0; }
.cf-turnstile { width: 100%; max-width: 100%; }
.contact-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.contact-submit { appearance: none; border: none; cursor: pointer; min-height: 52px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--white); background: linear-gradient(135deg, var(--blue), var(--navy-2)); box-shadow: 0 10px 26px rgba(22,104,227,0.28); transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out); justify-self: start; }
.contact-submit:hover { transform: translateY(-2px); box-shadow: 0 16px 34px rgba(22,104,227,0.38); }
.contact-submit:disabled { opacity: 0.6; cursor: default; transform: none; }
.contact-status { font-size: 0.92rem; line-height: 1.5; margin: 4px 0 0; }
.contact-status.ok { color: #1a7f37; }
.contact-status.err { color: #b00020; }
@media (max-width: 640px) { .contact { padding: 32px 0; } .contact-card { padding: 24px 20px; } }
.prep .eyebrow { color: var(--blue); }

.fit .eyebrow { color: var(--blue); }
.fit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.fit-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px; box-shadow: var(--shadow-soft); }
.fit-card.good .fit-icon { background: var(--teal); box-shadow: 0 8px 20px rgba(17,183,180,0.3); }
.fit-card.no .fit-icon { background: #d98a1f; box-shadow: 0 8px 20px rgba(217,138,31,0.3); }
.fit-card h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.22rem; color: var(--navy); letter-spacing: -0.01em; }
.fit-card.good .fit-list li::before { content: "\2713"; background: rgba(17,183,180,0.16); color: #0d8a87; }
.fit-card.no .fit-list li::before { content: "!"; background: rgba(217,138,31,0.2); color: #8a5300; }
@media (max-width: 820px) { .fit-grid { grid-template-columns: 1fr; } }

.pricing .eyebrow { color: var(--blue); }

.nav-cta { white-space: nowrap; }

.container.narrow { width: min(760px, calc(100% - 40px)); }
.text-cta { color: var(--blue); font-weight: 600; }
.text-cta:hover { text-decoration: underline; }

.proc-list { margin: 0; padding: 0; }
.proc-list > div { padding: 14px 0; border-top: 1px solid var(--line); }
.proc-list > div:first-child { border-top: 0; }
.proc-list dt { font-weight: 700; color: var(--navy); margin: 0 0 4px; }
.proc-list dd { margin: 0; color: #33445c; line-height: 1.6; }

/* clickable condition tags (home) */
.condition-tags span { padding: 0; }
.condition-tags span a { display: block; padding: 12px 18px; color: inherit; cursor: pointer; }

/* ── Floating "Schedule a consultation" button ── */
.floating-cta {
  position: fixed; right: 22px; bottom: 22px; z-index: 90;
  display: inline-flex; align-items: center;
  background: linear-gradient(135deg, var(--blue), var(--navy-2));
  color: #fff; font-weight: 700; font-size: 0.92rem; letter-spacing: 0.01em;
  padding: 13px 22px; border-radius: 999px;
  box-shadow: 0 12px 30px rgba(6,26,53,0.32);
  opacity: 0; pointer-events: none; transform: translateX(40px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease-out), box-shadow 0.25s var(--ease-out);
}
.floating-cta.show { opacity: 1; pointer-events: auto; transform: translateX(0); }
.floating-cta:hover { box-shadow: 0 18px 40px rgba(6,26,53,0.42); }
@media (max-width: 640px) { .floating-cta { display: none; } }
@media (prefers-reduced-motion: reduce) { .floating-cta { transition: opacity 0.2s ease; transform: none; } .floating-cta.show { transform: none; } }

/* ════════════════════════════════════════════════════
   Warm gold accent theme (hero, CTAs, display accents)
   ════════════════════════════════════════════════════ */
:root { --gold-soft: #ecd396; --gold: #cda24a; --gold-deep: #a87f28; --champagne: #e6c27d; }

/* eyebrows */
.eyebrow { color: var(--champagne); }
.section .eyebrow, .split-panel .eyebrow, .about-copy .eyebrow,
.pricing .eyebrow, .fit .eyebrow, .prep .eyebrow, .contact .eyebrow { color: var(--gold-deep); }

/* italic display accents */
.hero-accent {
  background: linear-gradient(95deg, #f3dea3, #d8b15f);
  -webkit-background-clip: text; background-clip: text;
  color: #f3dea3; -webkit-text-fill-color: transparent;
}

/* primary buttons -> gold with navy text */
.nav-cta, .btn-primary, .floating-cta {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy) !important;
  box-shadow: 0 10px 26px rgba(168,127,40,0.30);
}
.nav-cta:hover, .btn-primary:hover, .floating-cta:hover { box-shadow: 0 16px 34px rgba(168,127,40,0.42); }
.mobile-sticky-cta { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: var(--navy); }

/* ═══════════════════════════════════════════════════════════
   DARK LUXURY THEME  (charcoal · ivory · gold · glass)
   Layered over the light base; appended last so it cascades.
   ═══════════════════════════════════════════════════════════ */
:root {
  --soft: #14161c;                 /* section surfaces -> dark */
  --line: rgba(255,255,255,0.10);  /* hairline borders */
  --muted: #a59f90;                /* warm muted text */
  --ink: #e9e3d6;                  /* body ivory */
  --bg: #0b0c10;
  --surface: rgba(255,255,255,0.045);
  --surface-border: rgba(255,255,255,0.09);
  --ivory: #f4efe4;
}
body { background: var(--bg); color: var(--ink); }
::selection { background: var(--gold); color: #0b0c10; }

/* headings ivory */
h1, h2, h3 { color: var(--ivory); }
h2 { color: var(--ivory); }
.section-heading p, .split-panel p, .about-copy p, .disclaimer p { color: var(--muted); }

/* ── Glass header (dark) ── */
.site-header { background: rgba(12,13,17,0.62); border-bottom: 1px solid rgba(255,255,255,0.08); }
.brand strong { color: var(--ivory); }
.brand small { color: var(--muted); }
.brand-mark { background: rgba(255,255,255,0.05); border: 1px solid var(--gold-deep); color: var(--gold); box-shadow: none; }
.primary-nav a { color: #e7e2d6; }
.primary-nav a:hover { color: var(--gold); }
.primary-nav a:not(.nav-cta)::after { background: var(--gold); }
.menu-toggle span:not(.sr-only) { background: var(--ivory); }
.trust-grid { background: rgba(20,22,28,0.92); border: 1px solid var(--surface-border); box-shadow: 0 24px 60px rgba(0,0,0,0.55); }
.trust-grid article { border-right: 1px solid var(--surface-border); }
.trust-grid span { background: rgba(205,162,74,0.14); color: var(--gold); }
.trust-grid strong { color: var(--ivory); }
.trust-grid p { color: var(--muted); }

/* ── Cards (services, fit, region, pricing, contact) ── */
.service-card, .fit-card, .contact-card{
  background: var(--surface); border: 1px solid var(--surface-border);
  box-shadow: 0 22px 50px rgba(0,0,0,0.45); backdrop-filter: blur(6px);
}
.service-card:hover { box-shadow: 0 30px 60px rgba(0,0,0,0.6); border-color: rgba(205,162,74,0.4); }
.service-card .icon { background: rgba(205,162,74,0.14); color: var(--gold); }
.service-card h3, .fit-card h3, .proc-list dt{ color: var(--ivory); }
.service-card p, .proc-list dd { color: var(--muted); }
.services-note{ color: var(--muted); }
.section { } /* base sections inherit body bg */

/* ── Conditions tags ── */
.condition-tags span { background: var(--surface); border: 1px solid var(--surface-border); color: var(--ivory); }
.condition-tags span:hover { background: var(--gold); color: #0b0c10; border-color: var(--gold); }
.scope-compare h3 { color: var(--ivory); }
.scope-compare p { color: var(--muted); }
.compare-card { background: var(--surface); border-color: var(--surface-border); }
.compare-card h4 { color: var(--ivory); }
.compare-card li { color: var(--muted); }
.compare-card-otk { border-color: transparent; background: linear-gradient(#1a2a41, #1a2a41) padding-box, linear-gradient(135deg, var(--gold), #2fbe8f) border-box; }
.compare-card-otk li::before { color: #2fbe8f; }
.fit-card.good .fit-list li::before { background: rgba(29,158,117,0.2); color: #7fe0c6; }
.fit-card.no .fit-list li::before { background: rgba(217,138,31,0.2); color: #f0c878; }

/* ── Evidence callouts ── */
.evidence-callout{ background: var(--surface); border: 1px solid var(--surface-border); box-shadow: 0 22px 50px rgba(0,0,0,0.45); }
.evidence-callout h3 { color: var(--ivory); }
.evidence-callout p { color: var(--muted); }
.evidence-callout-tag { background: rgba(205,162,74,0.16); color: var(--gold); }

/* ── Contact form ── */
.contact-card { }
.contact-field label{ color: var(--ivory); }
.contact-field input, .contact-field textarea, .contact-field select { background: rgba(255,255,255,0.05); color: var(--ivory); border: 1px solid rgba(255,255,255,0.14); }
.contact-field select option { background: #102139; color: var(--ivory); }
.contact-field input:focus, .contact-field textarea:focus, .contact-field select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(205,162,74,0.18); }
.contact-phi { background: rgba(205,162,74,0.1); border: 1px solid rgba(205,162,74,0.32); color: #e6c27d; }
.contact-submit { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #0b0c10; }

/* ── Schedule band / page heads / disclaimer / footer ── */
.schedule-band { background: radial-gradient(circle at 85% 12%, rgba(205,162,74,0.12), transparent 45%), linear-gradient(180deg, #121319, #0a0b0e); }
.disclaimer { background: #0f1015; border-bottom: 1px solid var(--surface-border); }
.disclaimer h2 { color: var(--ivory); }
.disclaimer p { color: var(--muted); }
.warn { color: var(--gold); }
.site-footer{ background: linear-gradient(180deg, #0e0f14, #07080b); }

/* ── Text links ── */
.text-cta { color: var(--gold); }

/* ── Portrait placeholder / about ── */
.portrait-card { background: var(--surface); border: 1px solid var(--surface-border); }
.portrait-card p { color: var(--muted); }

/* premium spacing bumps */
.section { padding: 116px 0; }
/* brighter gold eyebrows on dark sections */
.section .eyebrow, .split-panel .eyebrow, .about-copy .eyebrow,
.pricing .eyebrow, .fit .eyebrow, .prep .eyebrow, .contact .eyebrow { color: var(--gold); }

/* ── Cinematic hero polish ── */
.hero { min-height: min(94vh, 940px); }
.hero-content { padding: 132px 0 120px; }
.hero h1 { font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: 1.02; letter-spacing: -0.02em; text-shadow: 0 2px 44px rgba(0,0,0,0.6); }
.hero .eyebrow { color: var(--champagne); display: inline-flex; align-items: center; }
.hero .eyebrow::before { content: ""; display: inline-block; width: 30px; height: 1px; background: var(--gold); margin-right: 13px; opacity: 0.85; }
/* deepen bottom vignette so hero blends into the charcoal page */
.hero-overlay { background: linear-gradient(180deg, rgba(8,9,13,0.12) 0%, rgba(8,9,13,0.3) 52%, rgba(11,12,16,0.94) 100%); }
/* slow Ken Burns zoom */
@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-patient { animation: heroZoom 26s ease-out forwards; transform-origin: 62% 45%; }
@media (prefers-reduced-motion: reduce) { .hero-patient { animation: none; } }

/* roomier header Schedule button */
.nav-cta { padding: 16px 40px; margin-left: 0; }

/* ═══════════════════════════════════════════════
   Dark NAVY palette (re-tints the charcoal theme)
   ═══════════════════════════════════════════════ */
:root { --bg: #0a1628; --soft: #0f2038; }
body { background: var(--bg); }
.site-header { background: rgba(9,20,36,0.62); }
.trust-grid { background: rgba(14,29,51,0.92); }
.disclaimer { background: #0c1c33; }
.schedule-band { background: radial-gradient(circle at 85% 12%, rgba(205,162,74,0.12), transparent 45%), linear-gradient(180deg, #112944, #07101f); }
.site-footer{ background: linear-gradient(180deg, #0c1c33, #060d1a); }

/* condition-tag staggered fade-up */
.condition-tags.stagger span { opacity: 0; transform: translateY(16px); transition: opacity 0.5s ease, transform 0.55s var(--ease-out); }
.condition-tags.stagger span.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .condition-tags.stagger span { opacity: 1 !important; transform: none !important; transition: none; } }

/* fit columns slide in toward the middle */
.fit-grid.reveal-x .fit-card { opacity: 0; transition: opacity 0.7s ease, transform 0.78s var(--ease-out); }
.fit-grid.reveal-x .fit-card.good { transform: translateX(-50px); }
.fit-grid.reveal-x .fit-card.no { transform: translateX(50px); }
.fit-grid.reveal-x .fit-card.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .fit-grid.reveal-x .fit-card { opacity: 1; transform: none; transition: none; } }

/* scope + prep boxes converge from their columns */
.scope-list.reveal-x li, .prep-list.reveal-x li { opacity: 0; transition: opacity 0.65s ease, transform 0.72s var(--ease-out); }
/* prep keeps simple column parity; scope uses JS-assigned direction so the full-width affirm row doesn't break it */
.prep-list.reveal-x li:nth-child(odd) { transform: translateX(-46px); }
.prep-list.reveal-x li:nth-child(even) { transform: translateX(46px); }
.scope-list.reveal-x li.from-left { transform: translateX(-46px); }
.scope-list.reveal-x li.from-right { transform: translateX(46px); }
.scope-list.reveal-x li.scope-affirm { transform: translateY(20px); }
.scope-list.reveal-x li.in, .prep-list.reveal-x li.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .scope-list.reveal-x li, .prep-list.reveal-x li { opacity: 1 !important; transform: none !important; transition: none; } }

/* "What it does do" affirmation row, spanning both columns */
.scope-list .scope-affirm { grid-column: 1 / -1; padding: 18px 22px 18px 52px; background: rgba(17,183,180,0.10); border: 1px solid rgba(17,183,180,0.40); color: var(--ivory, #f5f1e6); text-align: left; font-size: 0.98rem; }
.scope-list .scope-affirm::before { content: "\2713"; background: rgba(46,160,90,0.22); color: #5fd08a; top: 18px; font-size: 0.8rem; }
.scope-list .scope-affirm strong { color: #7fe0a6; }

/* Services cards: top row enters from left, bottom row from right */
.services-grid.reveal-rows .service-card { opacity: 0; transition: opacity 0.7s ease, transform 0.78s var(--ease-out); }
.services-grid.reveal-rows .service-card:nth-child(-n+4) { transform: translateX(-50px); }
.services-grid.reveal-rows .service-card:nth-child(n+5) { transform: translateX(50px); }
.services-grid.reveal-rows .service-card.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .services-grid.reveal-rows .service-card { opacity: 1 !important; transform: none !important; transition: none; } }

/* Hero photo: desktop keeps Dr. Kwon, DC, to the right; mobile falls back to a clean navy gradient */
@media (max-width: 820px) {
  .hero-patient {
    background:
      radial-gradient(circle at 50% 18%, rgba(17,183,180,0.10), transparent 42%),
      linear-gradient(160deg, #0a1f3a 0%, #061a35 55%, #03101f 100%);
    animation: none;
  }
}

/* Dr. Kwon, DC, portrait photo (index about card + about page) */
.portrait-photo { display: block; width: 100%; height: auto; border-radius: 16px; object-fit: cover; }

/* Brand logo image replaces the diamond ✦ mark site-wide (header + footer, all pages) */
.brand-mark, .footer-brand .brand-mark {
  background: url('img/otk-logo.jpg') center/contain no-repeat !important;
  width: 64px; height: 42px; border-radius: 10px;
  border: 0 !important; box-shadow: none !important; font-size: 0;
}
@media (max-width: 640px) { .brand-mark { width: 54px; height: 36px; border-radius: 9px; } }

/* Mobile dropdown menu: navy panel with gold links (match site theme) */
@media (max-width: 980px) {
  .primary-nav { background: #061a35 !important; border: 1px solid var(--gold-deep) !important; box-shadow: 0 18px 45px rgba(0,0,0,0.55) !important; }
  .primary-nav .nav-mobile-only { display: block; font-size: 0.86rem; opacity: 0.85; }
  .primary-nav a { color: var(--gold) !important; }
  .primary-nav a:hover { color: var(--gold-soft) !important; }
  .primary-nav .nav-cta { color: var(--navy) !important; }
}

/* Carepatron booking embed */
.booking-embed { width: 100%; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); }
.booking-embed iframe { display: block; width: 100%; min-height: 640px; border: 0; }
@media (max-width: 640px) { .booking-embed iframe { min-height: 720px; } }

/* ── Research stats strip (count-up numbers below hero) ── */
.stats-strip { padding: 28px 0 6px; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stat-box { background: var(--surface); border: 1px solid var(--surface-border); border-radius: var(--radius); padding: 34px 28px 28px; text-align: center; box-shadow: 0 18px 44px rgba(0,0,0,0.35); }
.stat-number { display: block; font-family: var(--font-display); font-weight: 700; font-size: 3.1rem; line-height: 1; color: var(--gold); letter-spacing: -0.02em; font-variant-numeric: tabular-nums; margin-bottom: 12px; }
.stat-blurb { margin: 0 0 12px; color: var(--ivory); font-size: 0.95rem; line-height: 1.55; }
.stat-blurb .stat-accent { color: var(--gold); font-weight: 600; }
.stat-src { display: block; font-size: 0.72rem; font-style: italic; color: var(--muted); }
.stat-context { margin-top: 14px; padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); text-align: left; }
.stat-context summary { color: var(--gold); font-size: .7rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; cursor: pointer; list-style: none; }
.stat-context summary::-webkit-details-marker { display: none; }
.stat-context summary::after { content: " +"; }
.stat-context[open] summary::after { content: " −"; }
.stat-context p { margin: 10px 0 0; color: var(--muted); font-size: .73rem; line-height: 1.58; }

/* Grouped condition tags + fit-card subheads */
.condition-tags span.tag-label { width: 100%; background: none !important; border: 0 !important; box-shadow: none; padding: 10px 0 0; margin-bottom: -4px; color: var(--gold); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.14em; font-weight: 800; cursor: default; }
.condition-tags span.tag-label:hover { background: none !important; color: var(--gold); transform: none; }
.condition-tags span.tag-label:first-child { padding-top: 0; }

/* Togglable citations: evidence callouts */
.callout-cites { margin-top: 14px; }
.callout-cites summary { list-style: none; cursor: pointer; font-size: 0.8rem; font-style: italic; color: var(--muted); line-height: 1.5; }
.callout-cites summary::-webkit-details-marker { display: none; }
.callout-cites summary .cite-toggle { display: inline-block; margin-left: 6px; font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.callout-cites summary .cite-toggle::after { content: " +"; }
.callout-cites[open] summary .cite-toggle::after { content: " \2212"; }
.callout-cites summary:hover .cite-toggle { text-decoration: underline; }
.callout-cites .cite-list { margin: 10px 0 0; padding-left: 18px; }
.callout-cites .cite-list li { font-size: 0.78rem; font-style: italic; color: var(--muted); line-height: 1.6; margin-bottom: 6px; }

/* Togglable evidence callouts (heading visible, body expands; citations stay nested) */
.callout-toggle summary { list-style: none; cursor: pointer; }
.callout-toggle summary::-webkit-details-marker { display: none; }
.callout-toggle summary h3 { display: inline; margin: 0; }
.callout-toggle summary .cite-toggle { display: inline-block; margin-left: 10px; font-size: 0.75rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.callout-toggle summary .cite-toggle::after { content: " +"; }
.callout-toggle[open] summary .cite-toggle::after { content: " \2212"; }
.callout-toggle summary:hover .cite-toggle { text-decoration: underline; }
.callout-toggle[open] summary { display: block; margin-bottom: 12px; }
.callout-toggle > p + p { margin-top: 12px; }

/* Togglable scope-compare block */
.scope-toggle summary { list-style: none; cursor: pointer; }
.scope-toggle summary::-webkit-details-marker { display: none; }
.scope-toggle summary .scope-answer { text-align: center; font-weight: 600; }
.scope-toggle summary .cite-toggle { display: inline-block; margin-left: 6px; font-size: 0.75rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.scope-toggle summary .cite-toggle::after { content: " +"; }
.scope-toggle[open] summary .cite-toggle::after { content: " \2212"; }
.scope-toggle summary:hover .cite-toggle { text-decoration: underline; }
.scope-toggle > p { margin-top: 12px; }
.stats-note { margin: 22px auto 0; max-width: 720px; text-align: center; color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
@media (max-width: 820px) { .stats-grid { grid-template-columns: 1fr 1fr; gap: 12px; } .stat-box:first-child { grid-column: 1 / -1; } .stat-box { padding: 20px 16px 16px; } .stats-strip { padding-top: 24px; } .stat-number { font-size: 2.2rem; } .stat-blurb { font-size: 0.84rem; } }

/* ── Mobile refinements ── */
html, body { max-width: 100%; overflow-x: hidden; overflow-x: clip; }
.condition-tags span.tag-more { display: none; }
@media (max-width: 640px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .service-card { padding: 18px 14px; }
  .service-card .icon { width: 42px; height: 42px; font-size: 1.15rem; }
  .service-card h3 { font-size: 0.9rem; margin-top: 12px; }
  .condition-tags span:nth-child(n+6) { display: none; }
  .condition-tags span.tag-more { display: inline-block; }
  .condition-tags span.tag-more a { color: var(--gold); font-weight: 700; }
}

/* Mobile sticky CTA: visible only while scrolling down */
.mobile-sticky-cta.cta-show { transform: translateY(0) !important; }
@media (prefers-reduced-motion: reduce) { .mobile-sticky-cta { transition: none; } }
.cited-works { padding: 10px 0 34px; }
.cited-works-toggle summary { font-size: 0.9rem; color: var(--muted); font-style: normal; }
.cited-works-toggle summary strong { color: var(--gold); }
.cited-works-toggle .cite-list { max-width: 880px; }
.about-toggle summary .cite-toggle { display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--gold); }
.about-toggle summary .cite-toggle::after { content: " +"; }
.about-toggle[open] summary .cite-toggle::after { content: " \2212"; }
.about-toggle summary:hover .cite-toggle { text-decoration: underline; }

/* ════════════════════════════════════════════════════
   2026-07 single-page refactor additions
   ════════════════════════════════════════════════════ */

/* SVG sprite: Safari ignores the hidden attribute on <svg>, force it */
svg[hidden] { display: none; }

/* Nav item shown only inside the mobile hamburger menu */
.nav-mobile-only { display: none; }
.u-center { text-align: center; }
.mt-14 { margin-top: 14px; }
.fineprint { font-size: 0.85em; opacity: 0.85; }
.pricing-lead .price-figure { margin: 20px 0 6px; }
.price-telehealth { color: var(--muted); margin: 40px 0 6px; }
.price-finenote { color: var(--muted); margin: 0; }
.price-cta { margin-top: 28px; }
.price-intro { color: var(--gold); font-weight: 700; margin: 0 0 18px; }

/* Stat sources: plain small line linking to the master citation list */
.stat-src a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; font-style: normal; }

/* Callout reference line (replaces per-callout duplicate citation lists) */
.callout-refs { margin-top: 14px !important; font-size: 0.8rem !important; font-style: italic; color: var(--muted) !important; line-height: 1.5; }
.callout-refs a { font-style: normal; font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; text-decoration: none; }
.callout-refs a:hover { text-decoration: underline; }
.svc-toggle summary .cite-toggle { display: inline-block; font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.svc-toggle summary .cite-toggle::after { content: " +"; }
.svc-toggle[open] summary .cite-toggle::after { content: " \2212"; }
.svc-toggle summary:hover .cite-toggle { text-decoration: underline; }

/* Conditions accordion (replaces the seven per-area pages) */
.cond-accordion { max-width: 880px; margin: 8px auto 24px; }
.cond-item { border: 1px solid var(--surface-border); border-radius: 16px; background: var(--surface); margin-bottom: 12px; padding: 0; overflow: hidden; }
.cond-item summary { list-style: none; cursor: pointer; display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 20px 24px; }
.cond-item summary::-webkit-details-marker { display: none; }
.cond-item summary h3 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; color: var(--ivory); }
.cond-item summary .cite-toggle { font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.cond-item summary .cite-toggle::after { content: " +"; }
.cond-item[open] summary .cite-toggle::after { content: " \2212"; }
.cond-item summary:hover .cite-toggle { text-decoration: underline; }
.cond-item > *:not(summary) { margin-left: 24px; margin-right: 24px; }
.cond-item .cond-intro { color: var(--muted); line-height: 1.7; margin-top: 0; }
.cond-item .proc-list { margin-bottom: 16px; }
.cond-item .cond-conservative { color: var(--muted); line-height: 1.7; margin-bottom: 20px; }
.cond-item .cond-conservative strong { color: var(--ivory); }

/* FAQ: collapsible items */
.faq .section-heading { margin-bottom: 28px; }
.faq-item { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-item:first-of-type { border-top: 0; }
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary h3 { display: inline; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.14rem; color: var(--ivory); }
.faq-item summary .cite-toggle { display: inline-block; margin-left: 10px; font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.faq-item summary .cite-toggle::after { content: " +"; }
.faq-item[open] summary .cite-toggle::after { content: " \2212"; }
.faq-item summary:hover .cite-toggle { text-decoration: underline; }
.faq-item p { margin: 10px 0 0; color: var(--muted); line-height: 1.7; }
.faq-item a { color: var(--gold); text-decoration: underline; }

/* Legal sections (patient rights + privacy policy), smaller text, collapsible */
.legal-section { padding: 26px 0; border-top: 1px solid var(--surface-border); }
.legal-toggle summary { list-style: none; cursor: pointer; }
.legal-toggle summary::-webkit-details-marker { display: none; }
.legal-toggle summary h2 { display: inline; font-size: 1.25rem; margin: 0; color: var(--ivory); }
.legal-toggle summary .cite-toggle { display: inline-block; margin-left: 10px; font-size: 0.72rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.legal-toggle summary .cite-toggle::after { content: " +"; }
.legal-toggle[open] summary .cite-toggle::after { content: " \2212"; }
.legal-toggle summary:hover .cite-toggle { text-decoration: underline; }
.legal-body { max-width: 880px; margin-top: 16px; font-size: 0.88rem; }
.legal-body h3 { font-size: 1rem; color: var(--ivory); margin: 22px 0 8px; }
.legal-body p { color: var(--muted); line-height: 1.7; margin: 0 0 10px; }
.legal-body ul { color: var(--muted); line-height: 1.7; margin: 0 0 12px 20px; padding: 0; }
.legal-body li { margin-bottom: 5px; }
.legal-body a { color: var(--gold); text-decoration: underline; }
.legal-updated { font-size: 0.82rem; }
.legal-notice { background: rgba(205,162,74,0.1); border: 1px solid rgba(205,162,74,0.32); border-radius: 12px; padding: 14px 16px; }
.site-header {
  min-height: 68px;
  padding-top: 8px;
  padding-bottom: 8px;
}
.nav-cta { padding: 11px 24px; }
.hero {
  min-height: clamp(600px, calc(100svh - 102px), 790px);
}
.hero-content { padding: 72px 0 92px; }
.hero h1 { margin-bottom: 18px; }
.hero-actions { margin: 26px 0 18px; }
.hero-note { margin: 0; }
.section { padding: 44px 0; }
.section-heading { margin-bottom: 30px; }
.fit-question { margin: 0 0 16px; padding: 0; border: 0; }
.fit-question + .fit-question { padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.08); }
.fit-question legend { width: 100%; margin: 0 0 10px; padding: 0; color: var(--ivory); font-family: var(--font-display); font-size: 1.08rem; font-weight: 600; line-height: 1.35; }
.fit-options { display: grid; gap: 8px; }
.fit-options.two-col { grid-template-columns: repeat(2, minmax(0,1fr)); }
.fit-option { display: flex; align-items: flex-start; gap: 11px; padding: 11px 13px; border: 1px solid rgba(255,255,255,0.10); border-radius: 12px; background: rgba(255,255,255,0.025); color: #d9e0ea; line-height: 1.45; cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.fit-option:hover { border-color: rgba(205,162,74,.55); background: rgba(205,162,74,.06); transform: translateY(-1px); }
.fit-option:has(input:checked) { border-color: var(--gold); background: rgba(205,162,74,.10); }
.fit-option input { flex: 0 0 auto; margin: .18rem 0 0; accent-color: var(--gold); }
.fit-reset { border: 0; padding: 10px 4px; background: transparent; color: var(--muted); font: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.fit-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.fit-result-urgent, .fit-result-other-care, .fit-result-not-eligible { border-color: rgba(224,112,112,.7); background: rgba(160,45,45,.10); }
.fit-result-good { border-color: rgba(75,194,145,.65); background: rgba(41,140,101,.10); }

@media (max-width: 980px) {
  .primary-nav { top: calc(100% + 8px); }
}
@media (max-width: 640px) {
  .site-header { min-height: 58px; padding: 7px 12px; }
  .brand { gap: 8px; }
  .brand-mark { width: 46px; height: 31px; }
  .brand small { display: none; }
  .hero { min-height: auto; align-items: flex-end; }
  .hero-content { padding: 68px 0 54px; }
  .hero h1 { font-size: clamp(2.15rem, 10vw, 2.7rem); }
  .hero-actions { margin: 22px 0 15px; }
  .hero-note { font-size: .79rem; line-height: 1.45; }
  .section { padding: 32px 0; }
  .section-heading { margin-bottom: 22px; }
  .fit-options.two-col { grid-template-columns: 1fr; }
  .fit-option { padding: 10px 11px; font-size: .91rem; }
  .fit-result-actions{ align-items: stretch; flex-direction: column; }
  .fit-actions .btn, .fit-result-actions .btn { width: 100%; }
}

/* Gated questionnaire steps */
.fit-step { margin: 0 0 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.10); border-radius: 15px; background: rgba(255,255,255,.02); transition: border-color .2s, background .2s, opacity .2s; }
.fit-step-toggle { display: grid; grid-template-columns: 34px minmax(0,1fr) auto; align-items: center; gap: 11px; width: 100%; padding: 15px 16px; border: 0; background: transparent; color: var(--ivory); text-align: left; font: inherit; cursor: pointer; }
.fit-step-toggle:disabled { cursor: not-allowed; opacity: .42; }
.fit-step-status { color: var(--muted); font-size: .78rem; white-space: nowrap; }
.fit-step.is-open { border-color: rgba(205,162,74,.55); background: rgba(205,162,74,.035); }
.fit-step.is-complete { border-color: rgba(75,194,145,.62); background: rgba(41,140,101,.09); }
.fit-step.is-complete .fit-step-number { border-color: rgba(75,194,145,.75); background: rgba(75,194,145,.16); color: #a9eccd; }
.fit-step.is-complete .fit-step-number::before { content: '✓'; }
.fit-step.is-complete .fit-step-number { font-size: 0; }
.fit-step.is-complete .fit-step-number::before { font-size: .95rem; }
.fit-step.is-complete .fit-step-status { color: #a9eccd; }
.fit-step-body { padding: 0 16px 16px 61px; }
.fit-step-body[hidden] { display: none; }
.fit-step .fit-question { margin: 0; }
.fit-step .fit-continue { margin-top: 14px; border: 0; cursor: pointer; }
.fit-step .fit-continue:disabled { cursor: not-allowed; opacity: .45; }
.fit-questionnaire > .fit-reset { display: block; margin: 16px auto 0; }
.sr-only { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0,0,0,0) !important; white-space: nowrap !important; border: 0 !important; }

@media (max-width: 640px) {
  .fit-step-toggle { grid-template-columns: 30px minmax(0,1fr); padding: 13px 12px; }
  .fit-step-status { grid-column: 2; white-space: normal; margin-top: -4px; }
  .fit-step-body { padding: 0 12px 13px; }
}

/* ═══════════════════════════════════════════════
   2026-07-13 polish: no hover underlines, smooth expands
   ═══════════════════════════════════════════════ */

/* 1. No underline on hover, anywhere. !important intentionally beats the
   more specific per-component hover rules above. Inline text links keep
   their rest-state underline but swap to a soft fade on hover instead. */
a:hover,
a:hover * { text-decoration: none !important; }
summary:hover .cite-toggle,
summary:hover h3 { text-decoration: none !important; }

.faq-item a:hover, .legal-body a:hover, .stat-src a:hover, .callout-refs a:hover, .fit-reset:hover{ opacity: 0.72; transition: opacity 0.2s ease; }

/* ═══════════════════════════════════════════════
   Two-tier pricing toggle (CSS-only, keyboard-accessible)
   ═══════════════════════════════════════════════ */
.tier-switch { max-width: 640px; margin: 0 auto; }
.tier-radio { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.tier-toggle { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin: 0 auto 24px; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); border-radius: 999px; }
.tier-tab { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 11px 14px; border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: 1rem; color: var(--muted); text-align: center; cursor: pointer; transition: background .22s ease, color .22s ease, box-shadow .22s ease; }
.tier-tab:hover { color: var(--ivory); }
.tier-tab-price { font-family: var(--font-sans); font-size: .82rem; font-weight: 700; opacity: .85; }

#tier-complete:checked ~ .tier-toggle .tier-tab-complete,
#tier-complex:checked ~ .tier-toggle .tier-tab-complex { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #0b0c10; }
#tier-complete:focus-visible ~ .tier-toggle .tier-tab-complete,
#tier-complex:focus-visible ~ .tier-toggle .tier-tab-complex { outline: 2px solid var(--gold); outline-offset: 2px; }

.tier-panel { display: none; max-width: 560px; margin: 0 auto; text-align: left; background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.12); border-radius: 18px; padding: 26px 28px; }
#tier-complete:checked ~ .tier-panel-complete,
#tier-complex:checked ~ .tier-panel-complex { display: block; animation: expandReveal .28s var(--ease-out) both; }
.tier-panel-complex { border-color: rgba(122,166,87,0.5); }

.tier-price { font-family: var(--font-display); font-size: 3rem; font-weight: 600; line-height: 1; margin: 0 0 4px; }
.tier-price-complete { color: var(--champagne); }
.tier-price-complex { color: var(--champagne); }
.tier-name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; color: var(--ivory); margin: 8px 0 6px; }
.tier-forwhom { color: var(--muted); line-height: 1.6; margin: 0 0 16px; }
.tier-features { list-style: none; padding: 0; margin: 0; }
.tier-features li { position: relative; padding: 7px 0 7px 28px; line-height: 1.5; color: #d8d5cd; }
.tier-features li::before { content: "\2713"; position: absolute; left: 0; top: 7px; font-weight: 700; }
.tier-panel-complete .tier-features li::before { color: #c1a24a; }
.tier-panel-complex .tier-features li::before { color: #7aa657; }
.tier-protection { margin-top: 22px; padding: 18px 20px; border: 1px solid rgba(205,162,74,0.62); border-radius: 14px; background: linear-gradient(145deg, rgba(205,162,74,0.14), rgba(205,162,74,0.05)); box-shadow: 0 14px 34px rgba(0,0,0,0.16); }
.tier-protection h3 { margin: 0 0 10px; color: var(--champagne); font-family: var(--font-display); font-size: 1.08rem; }
.tier-protection h3 sup { margin-left: 2px; font-family: var(--font-sans); font-size: .68em; }
.tier-protection h3 a,
.tier-protection-link { color: var(--gold); text-decoration: underline; text-underline-offset: 3px; }
.tier-protection p { margin: 0 0 10px; color: #d8d5cd; font-size: .9rem; line-height: 1.58; }
.tier-protection-link { display: inline-block; font-size: .86rem; font-weight: 700; }

.refund-policy-section { scroll-margin-top: 84px; }
.refund-policy-card { max-width: 920px; padding: 28px 30px; border: 1px solid rgba(205,162,74,0.42); border-radius: 18px; background: rgba(205,162,74,0.06); }
.refund-policy-card .eyebrow { margin-bottom: 8px; color: var(--gold); }
.refund-policy-card h2 { margin: 0 0 8px; color: var(--ivory); font-size: 1.5rem; }
.refund-policy-card h3 { margin: 22px 0 7px; color: var(--champagne); font-size: 1rem; }
.refund-policy-card p { max-width: 850px; margin: 0 0 10px; color: var(--muted); line-height: 1.7; }

@media (max-width: 640px) {
  .tier-tab { font-size: .94rem; padding: 10px 8px; }
  .tier-panel { padding: 22px 20px; }
  .tier-price { font-size: 2.5rem; }
  .tier-protection { padding: 16px; }
  .refund-policy-card { padding: 22px 20px; }
}
@media (prefers-reduced-motion: reduce) {
  #tier-complete:checked ~ .tier-panel-complete,
  #tier-complex:checked ~ .tier-panel-complex { animation: none; }
}

/* Flat line icons in service cards + prep callout */
.service-card .icon svg { width: 27px; height: 27px; display: block; }
@media (max-width: 640px) { .service-card .icon svg { width: 22px; height: 22px; } }

/* 2. Lightweight expand animation for collapsibles (details + fit steps).
   Pure CSS fade + small rise on the revealed content — no height math. */
details[open] > *:not(summary),
.fit-step.is-open .fit-step-body:not([hidden]) {
  animation: expandReveal 0.28s var(--ease-out) both;
}
@keyframes expandReveal {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  details[open] > *:not(summary),
  .fit-step.is-open .fit-step-body:not([hidden]) { animation: none; }
}
