/* Axiom Performance Medicine — site styles
   Palette from brand: navy #0F1C2E, brass #C8A15A, ivory #F8F7F3, charcoal #2F343B, gray #E8E8E8 */

:root {
  --navy: #0f1c2e;
  --navy-deep: #0a1422;
  --brass: #c8a15a;
  --brass-deep: #a9843f;
  --ivory: #f8f7f3;
  --paper: #fffefb;
  --charcoal: #2f343b;
  --slate: #5c6470;
  --line: #e2e0da;
  --line-dark: rgba(248, 247, 243, 0.14);

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;

  --measure: 62ch;
  --wrap: 1180px;
  --gutter: clamp(20px, 4vw, 48px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-deep); }
:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.1;
  color: var(--navy);
  margin: 0;
  text-wrap: balance;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 400; }
h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 400; }
h3 { font-size: clamp(22px, 2.4vw, 27px); }
h4 { font-size: 20px; }
p { margin: 0; text-wrap: pretty; }
p + p { margin-top: 1em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.55; color: var(--slate); max-width: var(--measure); }
.muted { color: var(--slate); }
.small { font-size: 14.5px; line-height: 1.55; }
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.2em; margin-bottom: 0.5em; font-size: clamp(26px, 3vw, 34px); }
.prose h3 { margin-top: 1.6em; margin-bottom: 0.4em; }
.prose ul { padding-left: 1.2em; margin: 0.6em 0 1em; }
.prose li + li { margin-top: 0.35em; }

.wrap { max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font-family: var(--sans); font-size: 15.5px; font-weight: 600; letter-spacing: 0.005em;
  text-decoration: none; border: 1.5px solid transparent; border-radius: 3px;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}
.btn-primary { background: var(--brass); color: var(--navy); border-color: var(--brass); }
.btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: var(--ivory); }
.btn-ghost { background: transparent; color: var(--navy); border-color: rgba(15,28,46,.35); }
.btn-ghost:hover { border-color: var(--navy); color: var(--navy); }
.on-dark .btn-ghost { color: var(--ivory); border-color: rgba(248,247,243,.4); }
.on-dark .btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.textlink { font-weight: 600; text-decoration: none; border-bottom: 1.5px solid var(--brass); padding-bottom: 1px; }
.textlink:hover { color: var(--navy); border-color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: var(--navy); color: var(--ivory);
  border-bottom: 1px solid var(--line-dark);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ivory); }
.brand img { width: 40px; height: 40px; }
.brand-name { font-family: var(--serif); font-size: 21px; line-height: 1; letter-spacing: 0.01em; }
.brand-name small { display: block; font-family: var(--sans); font-size: 11.5px; letter-spacing: 0.14em; color: var(--brass); margin-top: 5px; text-transform: uppercase; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a { color: rgba(248,247,243,.82); text-decoration: none; font-size: 15px; font-weight: 500; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ivory); }
.nav a[aria-current="page"] { border-bottom: 1.5px solid var(--brass); padding-bottom: 2px; }
.nav .btn { min-height: 40px; padding-inline: 16px; font-size: 14.5px; margin-left: 4px; }
.nav-toggle { display: none; background: none; border: 0; color: var(--ivory); padding: 8px; cursor: pointer; }
.nav-toggle svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-deep); border-top: 1px solid var(--line-dark); padding: 8px var(--gutter) 24px;
  }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--line-dark); }
  .nav a[aria-current="page"] { border-bottom: 1px solid var(--line-dark); color: var(--brass); }
  .nav .btn { margin: 18px 0 0; justify-content: center; font-size: 16px; min-height: 48px; border-bottom: 0; }
  .brand-name { font-size: 19px; }
}

/* Sections */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section-tight { padding-block: clamp(40px, 6vw, 72px); }
.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 56px); }
.section-head .lede { margin-top: 14px; }
.dark { background: var(--navy); color: rgba(248,247,243,.85); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--ivory); }
.dark .lede, .dark .muted { color: rgba(248,247,243,.7); }
.dark a { color: var(--ivory); }
.dark a:hover { color: var(--brass); }
.paper { background: var(--paper); }
.rule-top { border-top: 1px solid var(--line); }

/* Hero */
.hero { padding-block: clamp(48px, 7vw, 96px) clamp(48px, 7vw, 88px); }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.95fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.hero-copy .lede { margin-top: 22px; }
.hero-copy .btn-row { margin-top: 34px; }
.hero-copy .small { margin-top: 26px; max-width: 48ch; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } }

/* The plan document — the one memorable element */
.plan {
  background: var(--paper); border: 1px solid var(--line); border-radius: 4px;
  box-shadow: 0 1px 0 rgba(15,28,46,.04), 0 24px 60px -30px rgba(15,28,46,.35);
  font-size: 15px; line-height: 1.5; overflow: hidden;
}
.plan-head { background: var(--navy); color: var(--ivory); padding: 16px 22px; display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.plan-head strong { font-family: var(--serif); font-weight: 500; font-size: 19px; }
.plan-head span { font-size: 12.5px; color: var(--brass); letter-spacing: .04em; }
.plan-body { padding: 8px 22px 20px; }
.plan-row { display: grid; grid-template-columns: 128px 1fr; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.plan-row:last-child { border-bottom: 0; }
.plan-row dt { font-weight: 600; color: var(--navy); font-size: 14px; }
.plan-row dd { margin: 0; color: var(--charcoal); }
.plan-row dd ul { margin: 0; padding-left: 1.05em; }
.plan-row dd li + li { margin-top: 3px; }
.plan-foot { padding: 12px 22px 14px; border-top: 1px solid var(--line); background: var(--ivory); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 18px; font-size: 13px; color: var(--slate); }
.plan-foot span { white-space: nowrap; }
.plan-caption { margin: 14px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--slate); }
.plan-foot b { color: var(--navy); font-weight: 600; }
@media (max-width: 480px) { .plan-row { grid-template-columns: 1fr; gap: 4px; } }

/* Facts ribbon */
.ribbon { background: var(--navy); color: var(--ivory); }
.ribbon .wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; }
.ribbon .wrap > div { padding: 22px 0; border-left: 1px solid var(--line-dark); padding-left: 22px; }
.ribbon .wrap > div:first-child { border-left: 0; padding-left: 0; }
.ribbon strong { display: block; font-family: var(--serif); font-size: 21px; font-weight: 500; color: var(--ivory); }
.ribbon span { font-size: 14.5px; color: rgba(248,247,243,.7); }
@media (max-width: 760px) {
  .ribbon .wrap { grid-template-columns: 1fr; }
  .ribbon .wrap > div { border-left: 0; padding-left: 0; border-top: 1px solid var(--line-dark); padding-block: 16px; }
  .ribbon .wrap > div:first-child { border-top: 0; }
}

/* Services list */
.split { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.4fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.split > .sticky { position: sticky; top: 96px; }
.split > .sticky .lede { margin-top: 14px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } .split > .sticky { position: static; } }
.service-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service-list li { border-bottom: 1px solid var(--line); }
.service-list a {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 16px;
  padding: 22px 0; text-decoration: none; color: inherit;
}
.service-list a:hover h3 { color: var(--brass-deep); }
.service-list h3 { font-size: clamp(22px, 2.2vw, 26px); font-weight: 500; }
.service-list p { color: var(--slate); margin-top: 4px; font-size: 16px; }
.service-list svg { width: 22px; height: 22px; color: var(--brass); flex: none; }

/* Photo band */
.band { position: relative; min-height: clamp(340px, 46vw, 560px); display: grid; align-items: end; color: var(--ivory); overflow: hidden; }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,34,.85) 0%, rgba(10,20,34,.25) 55%, rgba(10,20,34,.1) 100%); }
.band .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(36px, 5vw, 64px); }
.band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(26px, 3.4vw, 40px); line-height: 1.2; max-width: 22ch; font-weight: 400; }
.band cite { display: block; margin-top: 16px; font-family: var(--sans); font-style: normal; font-size: 15.5px; line-height: 1.5; max-width: 52ch; color: rgba(248,247,243,.8); }

/* Steps (a true sequence) */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; counter-reset: step; }
.steps li { position: relative; padding-top: 18px; border-top: 1px solid var(--line-dark); counter-increment: step; }
.steps li::before { content: counter(step); position: absolute; top: -13px; left: 0; font-family: var(--serif); font-size: 15px; color: var(--brass); background: var(--navy); padding-right: 10px; }
.steps h3 { font-size: 24px; margin-bottom: 8px; }
.steps p { font-size: 15.5px; color: rgba(248,247,243,.72); }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.steps-light li { border-top-color: var(--line); }
.steps-light li::before { background: var(--ivory); }
.steps-light p { color: var(--slate); }

/* Membership tiers */
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.tier { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 30px 28px 28px; display: flex; flex-direction: column; }
.tier.featured { border-color: var(--brass); box-shadow: inset 0 3px 0 var(--brass); }
.tier h3 { font-size: 26px; }
.tier .price { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--navy); margin-top: 18px; }
.tier .price small { font-family: var(--sans); font-size: 15px; color: var(--slate); margin-left: 4px; }
.tier .for { margin-top: 12px; color: var(--slate); font-size: 15.5px; min-height: 3.1em; }
.tier ul { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line); font-size: 15.5px; flex: 1; }
.tier li { padding: 6px 0 6px 24px; position: relative; }
.tier li::before { content: ""; position: absolute; left: 2px; top: 15px; width: 10px; height: 6px; border-left: 1.5px solid var(--brass); border-bottom: 1.5px solid var(--brass); transform: rotate(-45deg); }
.tier .btn { margin-top: 24px; }
.tier-tag { font-size: 13px; font-weight: 600; color: var(--brass-deep); margin-bottom: 8px; }
@media (max-width: 900px) { .tiers { grid-template-columns: 1fr; max-width: 520px; } }
.notes { max-width: var(--measure); margin-top: 32px; color: var(--slate); font-size: 15px; }
.notes p + p { margin-top: .5em; }

/* Founders */
.people { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.person { border-top: 2px solid var(--navy); padding-top: 18px; }
.person h3 { font-size: 26px; }
.person .role { color: var(--brass-deep); font-weight: 600; font-size: 14.5px; margin-top: 4px; }
.person p { margin-top: 12px; color: var(--charcoal); font-size: 16px; }
@media (max-width: 700px) { .people { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; padding: 20px 0; font-family: var(--serif); font-size: clamp(20px, 2vw, 23px); color: var(--navy); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--sans); color: var(--brass); font-size: 24px; line-height: 1; flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .a { padding: 0 0 22px; max-width: 64ch; color: var(--charcoal); }

/* Lab panels */
.panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.panel { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 24px 26px; }
.panel header { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.panel h3 { font-size: 22px; }
.panel .when { font-size: 13px; color: var(--brass-deep); font-weight: 600; text-align: right; max-width: 55%; line-height: 1.35; }
.panel .intent { color: var(--slate); font-size: 15px; margin-top: 8px; }
.panel ul { margin: 16px 0 0; padding: 14px 0 0; border-top: 1px solid var(--line); list-style: none; display: flex; flex-wrap: wrap; gap: 6px 8px; }
.panel li { font-size: 13.5px; background: var(--ivory); border: 1px solid var(--line); border-radius: 3px; padding: 3px 9px; color: var(--charcoal); }
@media (max-width: 760px) { .panels { grid-template-columns: 1fr; } }

/* Page hero for inner pages */
.page-head { padding-block: clamp(44px, 6vw, 80px) clamp(28px, 4vw, 48px); border-bottom: 1px solid var(--line); }
.page-head .lede { margin-top: 16px; }
.crumb { font-size: 14px; color: var(--slate); margin-bottom: 18px; }
.crumb a { color: var(--slate); text-decoration: none; }
.crumb a:hover { color: var(--navy); }

/* Service detail */
.detail { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr); gap: clamp(32px, 6vw, 88px); }
@media (max-width: 860px) { .detail { grid-template-columns: 1fr; } }
.aside { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 26px; font-size: 15.5px; align-self: start; position: sticky; top: 96px; }
.aside h4 { margin-bottom: 10px; }
.aside ul { padding-left: 1.1em; margin: 0; }
.aside li + li { margin-top: 6px; }
.aside .btn { width: 100%; margin-top: 20px; }
.aside .note { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 14px; color: var(--slate); }
@media (max-width: 860px) { .aside { position: static; } }
.other-services { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.other-services a { font-size: 14.5px; text-decoration: none; border: 1px solid var(--line); border-radius: 3px; padding: 6px 12px; background: var(--paper); }
.other-services a:hover { border-color: var(--navy); color: var(--navy); }

/* Contact / book cards */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 4px; padding: 30px; }
.card + .card { margin-top: 20px; }
.two { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: start; }
@media (max-width: 760px) { .two { grid-template-columns: 1fr; } }
.embed-slot { border: 1.5px dashed var(--brass); border-radius: 4px; padding: 28px; text-align: center; color: var(--slate); font-size: 15px; background: var(--ivory); }

/* CTA band */
.cta { background: var(--navy); color: var(--ivory); }
.cta .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 28px; padding-block: clamp(48px, 6vw, 80px); }
.cta h2 { max-width: 20ch; }
.cta p { margin-top: 12px; color: rgba(248,247,243,.72); max-width: 46ch; }

/* Footer */
.site-footer { background: var(--navy-deep); color: rgba(248,247,243,.7); font-size: 15px; }
.site-footer .wrap { padding-block: 56px 32px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.foot-grid h4 { font-family: var(--sans); font-size: 14px; font-weight: 600; color: var(--ivory); margin-bottom: 12px; }
.foot-grid ul { list-style: none; margin: 0; padding: 0; }
.foot-grid li + li { margin-top: 8px; }
.foot-grid a { color: rgba(248,247,243,.75); text-decoration: none; }
.foot-grid a:hover { color: var(--brass); }
.foot-legal { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line-dark); font-size: 13.5px; color: rgba(248,247,243,.55); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; }
.foot-disclaimer { margin-top: 28px; font-size: 13.5px; line-height: 1.55; color: rgba(248,247,243,.55); max-width: 80ch; }
@media (max-width: 860px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

.skip { position: absolute; left: -999px; top: 8px; background: var(--brass); color: var(--navy); padding: 8px 12px; z-index: 100; }
.skip:focus { left: 8px; }

/* ===================== Cinematic homepage ===================== */
.display { font-size: clamp(36px, 5.2vw, 64px); letter-spacing: -0.015em; line-height: 1.02; }

/* Transparent header over the hero */
body.has-cine .site-header { position: fixed; left: 0; right: 0; top: 0; background: transparent; border-bottom-color: transparent; transition: background-color .35s ease, border-color .35s ease; }
body.has-cine .site-header.scrolled { background: rgba(15,28,46,.86); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom-color: var(--line-dark); }
body.has-cine .site-header .btn-primary { background: transparent; color: var(--ivory); border-color: rgba(248,247,243,.45); }
body.has-cine .site-header.scrolled .btn-primary { background: var(--brass); color: var(--navy); border-color: var(--brass); }
body.has-cine .site-header .btn-primary:hover { background: var(--brass); color: var(--navy); border-color: var(--brass); }

.cine-hero { position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; background: var(--navy-deep); color: var(--ivory); overflow: hidden; isolation: isolate; }
.cine-media { position: absolute; inset: 0; z-index: 0; }
.cine-media video, .cine-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kenburns { animation: kenburns 28s ease-in-out infinite alternate; transform-origin: 60% 40%; }
@keyframes kenburns { from { transform: scale(1.04); } to { transform: scale(1.14) translate(-1.5%, 1%); } }
.cine-media::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(to bottom, rgba(10,20,34,.55) 0%, rgba(10,20,34,.25) 35%, rgba(10,20,34,.45) 70%, rgba(10,20,34,.92) 100%),
  linear-gradient(to right, rgba(10,20,34,.55) 0%, rgba(10,20,34,0) 60%); }
.cine-grain { position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: .07; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)' opacity='.9'/></svg>"); }
.cine-content { position: relative; z-index: 2; width: 100%; align-self: end; padding-top: 140px; padding-bottom: clamp(32px, 5vh, 64px); }
.cine-kicker { font-size: 14.5px; font-weight: 500; color: var(--brass); letter-spacing: .01em; margin-bottom: 22px; opacity: 0; }
.ready .cine-kicker { animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) .25s forwards; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
p.cine-title { font-family: var(--serif); text-wrap: balance; }
.cine-title { font-size: clamp(48px, 9vw, 128px); line-height: 1.06; font-weight: 400; letter-spacing: -0.025em; color: var(--ivory); }
.cine-title .line { display: block; overflow: hidden; padding: .12em .06em .16em 0; margin: -.12em 0 -.16em 0; }
.cine-title .line span { display: block; transform: translateY(120%); }
.cine-title .line:nth-child(2) span { color: var(--brass); }
.ready .cine-title .line span { animation: lineUp 1.5s cubic-bezier(.2,.8,.2,1) .35s forwards; }
.ready .cine-title .line:nth-child(2) span { animation-delay: .6s; }
.cine-lede { margin-top: 28px; max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.5; color: rgba(248,247,243,.82); opacity: 0; }
.ready .cine-lede { animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 1.1s forwards; }
.cine-cta { margin-top: 34px; opacity: 0; }
.ready .cine-cta { animation: fadeUp 1.1s cubic-bezier(.2,.7,.2,1) 1.3s forwards; }
.cine-hero .btn-ghost { color: var(--ivory); border-color: rgba(248,247,243,.45); }
.cine-hero .btn-ghost:hover { border-color: var(--ivory); color: var(--ivory); }
.cine-foot { position: relative; z-index: 2; width: 100%; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 32px; padding-block: 18px 26px; border-top: 1px solid rgba(248,247,243,.14); font-size: 13.5px; color: rgba(248,247,243,.65); opacity: 0; }
.ready .cine-foot { animation: fadeUp 1.1s ease 1.6s forwards; }
.cine-foot .scroll-cue { margin-left: auto; color: var(--brass); display: inline-grid; place-items: center; width: 40px; height: 40px; border: 1px solid rgba(200,161,90,.5); border-radius: 50%; animation: bob 2.4s ease-in-out infinite; }
.cine-foot .scroll-cue svg { width: 18px; height: 18px; }
@keyframes lineUp { to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(5px); } }
@media (prefers-reduced-motion: reduce) {
  .cine-kicker, .cine-lede, .cine-cta, .cine-foot, .ready .cine-kicker, .ready .cine-lede, .ready .cine-cta, .ready .cine-foot { animation: none; opacity: 1; }
  .cine-title .line span, .ready .cine-title .line span { animation: none; transform: none; }
  .kenburns { animation: none; }
  .cine-foot .scroll-cue { animation: none; }
}

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* Plan section */
.plan-section { padding-block: clamp(72px, 10vw, 140px); }
.plan-grid { display: grid; grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); gap: clamp(40px, 7vw, 110px); align-items: center; }
.eyebrow-line { width: 56px; height: 2px; background: var(--brass); margin-bottom: 26px; }
.plan-intro .lede { margin-top: 22px; }
@media (max-width: 900px) { .plan-grid { grid-template-columns: 1fr; } }

/* Services: big list with hover preview */
.svc-section { padding-block: clamp(72px, 9vw, 130px); }
.svc-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.svc-head .lede { margin-top: 18px; }
.svc-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: clamp(32px, 6vw, 90px); align-items: start; }
.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-dark); }
.svc-item { border-bottom: 1px solid var(--line-dark); }
.svc-item a { display: grid; grid-template-columns: 44px 1fr auto; grid-template-areas: "n name arrow" "n short arrow"; column-gap: 16px; align-items: center; padding: 22px 0; text-decoration: none; color: var(--ivory); transition: padding-left .3s cubic-bezier(.2,.7,.2,1); }
.svc-item a:hover { padding-left: 10px; }
.svc-n { grid-area: n; font-family: var(--serif); font-size: 15px; color: var(--brass); align-self: start; padding-top: 6px; }
.svc-name { grid-area: name; font-family: var(--serif); font-size: clamp(26px, 3vw, 38px); line-height: 1.1; letter-spacing: -0.01em; transition: color .25s; }
.svc-item a:hover .svc-name { color: var(--brass); }
.svc-short { grid-area: short; color: rgba(248,247,243,.6); font-size: 15px; margin-top: 6px; }
.svc-item svg { grid-area: arrow; width: 24px; height: 24px; color: var(--brass); opacity: .5; transition: opacity .25s, transform .3s; }
.svc-item a:hover svg { opacity: 1; transform: translateX(4px); }
.svc-preview { position: sticky; top: 110px; aspect-ratio: 4/5; border-radius: 4px; overflow: hidden; background: var(--navy-deep); box-shadow: 0 40px 80px -40px rgba(0,0,0,.7); }
.svc-preview img { width: 100%; height: 100%; object-fit: cover; transition: opacity .35s ease; }
@media (max-width: 900px) { .svc-layout { grid-template-columns: 1fr; } .svc-preview { display: none; } }

/* Parallax band */
.parallax-band { position: relative; min-height: clamp(420px, 60vh, 640px); display: grid; align-items: end; overflow: hidden; color: var(--ivory); }
.parallax-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); will-change: transform; }
.parallax-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10,20,34,.9) 0%, rgba(10,20,34,.3) 50%, rgba(10,20,34,.15) 100%); }
.parallax-band .wrap { position: relative; z-index: 1; width: 100%; padding-block: clamp(40px, 6vw, 80px); }
.parallax-band blockquote { margin: 0; font-family: var(--serif); font-size: clamp(38px, 6vw, 84px); line-height: .98; letter-spacing: -0.02em; font-weight: 400; }
.parallax-band cite { display: block; margin-top: 22px; font-family: var(--sans); font-style: normal; font-size: 16px; line-height: 1.5; max-width: 54ch; color: rgba(248,247,243,.8); letter-spacing: 0; }

/* Steps big */
.steps-section { padding-block: clamp(72px, 9vw, 130px); }
.steps-big { gap: 40px 28px; }
.steps-big li { border-top: 1px solid var(--line); padding-top: 22px; }
.steps-big li::before { display: none; }
.step-n { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--brass); margin-bottom: 14px; }
.steps-big h3 { font-size: 26px; }
.steps-big p { color: var(--slate); font-size: 15.5px; }

/* Membership on dark, glass cards, mesh glow */
.membership-section { position: relative; overflow: hidden; }
.mesh { position: absolute; inset: -20%; pointer-events: none; background:
  radial-gradient(40% 50% at 20% 30%, rgba(200,161,90,.16), transparent 70%),
  radial-gradient(35% 45% at 85% 70%, rgba(200,161,90,.10), transparent 70%); filter: blur(20px); }
.membership-section .wrap { position: relative; }
.tier.glass { background: rgba(248,247,243,.04); border: 1px solid rgba(248,247,243,.12); backdrop-filter: blur(6px); color: rgba(248,247,243,.85); }
.tier.glass h3, .tier.glass .price { color: var(--ivory); }
.tier.glass .price small, .tier.glass .for { color: rgba(248,247,243,.6); }
.tier.glass ul { border-top-color: rgba(248,247,243,.12); }
.tier.glass.featured { border-color: rgba(200,161,90,.7); box-shadow: inset 0 3px 0 var(--brass), 0 40px 80px -50px rgba(200,161,90,.35); background: rgba(248,247,243,.06); }
.tier.glass .tier-tag { color: var(--brass); }
.tier.glass .btn-ghost { color: var(--ivory); border-color: rgba(248,247,243,.35); }
.tier.glass .btn-ghost:hover { border-color: var(--ivory); }
.membership-section .notes { color: rgba(248,247,243,.6); }
.membership-section .notes a { color: var(--brass); }
.people-stack { grid-template-columns: 1fr; gap: 28px; }

.panel-baseline { border-color: var(--brass); box-shadow: inset 0 3px 0 var(--brass); }
.panel-baseline li { background: var(--paper); }

.lab-terms { background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--brass); border-radius: 4px; padding: 26px 30px; max-width: 820px; }
.lab-terms h3 { font-size: 24px; margin-bottom: 12px; }
.lab-terms p { font-size: 16px; }
.lab-terms p + p { margin-top: .7em; }
.lab-terms strong { color: var(--navy); }

/* Per-treatment pricing */
.tiers-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1000px) { .tiers-4 { grid-template-columns: repeat(2, 1fr); max-width: none; } }
@media (max-width: 560px) { .tiers-4 { grid-template-columns: 1fr; } }
.tier .price { font-size: 42px; }
.tiers-4 .tier .for { flex: 1; min-height: 0; }
.tiers-4 .tier .btn { margin-top: 20px; }
.complete { margin-top: 24px; display: grid; grid-template-columns: 1fr auto auto; gap: 24px 40px; align-items: center; padding: 28px 32px; border: 1px solid rgba(200,161,90,.6); border-radius: 4px; background: rgba(248,247,243,.05); }
.complete h3 { font-size: 26px; }
.complete .price { font-family: var(--serif); font-size: 46px; line-height: 1; color: var(--ivory); }
.complete .price small { font-family: var(--sans); font-size: 15px; color: rgba(248,247,243,.6); margin-left: 4px; }
@media (max-width: 800px) { .complete { grid-template-columns: 1fr; } }
.upfront { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: 4px; background: var(--paper); }
.upfront > div { padding: 24px 26px; border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.upfront > div:first-child { border-left: 0; }
.up-label { font-size: 14px; font-weight: 600; color: var(--brass-deep); }
.up-val { font-family: var(--serif); font-size: 36px; line-height: 1.1; color: var(--navy); }
.up-note { font-size: 14px; color: var(--slate); }
@media (max-width: 720px) { .upfront { grid-template-columns: 1fr; } .upfront > div { border-left: 0; border-top: 1px solid var(--line); } .upfront > div:first-child { border-top: 0; } }
.builder { display: grid; grid-template-columns: 1.3fr .9fr; gap: 32px; background: var(--navy); color: rgba(248,247,243,.85); border-radius: 4px; padding: 36px; }
.builder h3, .builder .price { color: var(--ivory); }
.bt-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 22px; }
.bt { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; border: 1px solid rgba(248,247,243,.18); border-radius: 4px; cursor: pointer; transition: border-color .2s, background .2s; }
.bt:hover { border-color: rgba(200,161,90,.7); }
.bt:has(input:checked) { border-color: var(--brass); background: rgba(200,161,90,.1); }
.bt input { accent-color: var(--brass); width: 18px; height: 18px; margin-top: 3px; }
.bt span { font-weight: 600; color: var(--ivory); }
.bt small { display: block; font-weight: 400; font-size: 13px; color: rgba(248,247,243,.6); margin-top: 2px; }
.builder-right { background: rgba(248,247,243,.05); border: 1px solid rgba(248,247,243,.12); border-radius: 4px; padding: 26px; display: flex; flex-direction: column; }
.bl { font-size: 13px; font-weight: 600; color: var(--brass); }
.bname { font-family: var(--serif); font-size: 24px; color: var(--ivory); margin-top: 6px; min-height: 1.3em; }
.bprice { margin-top: 12px; font-family: var(--serif); font-size: 52px; line-height: 1; }
.bprice small { font-family: var(--sans); font-size: 15px; color: rgba(248,247,243,.6); margin-left: 4px; }
.bsave { margin-top: 8px; min-height: 1.4em; color: rgba(248,247,243,.7) !important; }
.builder .btn-ghost { display: none; }
@media (max-width: 860px) { .builder { grid-template-columns: 1fr; padding: 26px; } .bt-grid { grid-template-columns: 1fr; } }
table.pricing { width: 100%; max-width: 720px; border-collapse: collapse; font-size: 16.5px; }
table.pricing th, table.pricing td { text-align: left; padding: 14px 8px; border-bottom: 1px solid var(--line); }
table.pricing th { font-size: 13px; font-weight: 600; color: var(--slate); }
table.pricing td.num, table.pricing th.num { text-align: right; font-family: var(--serif); font-size: 22px; color: var(--navy); white-space: nowrap; }
table.pricing th.num { font-family: var(--sans); font-size: 13px; }
table.pricing td.num small { font-family: var(--sans); font-size: 13px; color: var(--slate); }
.founding { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 32px; border: 1px solid var(--brass); border-radius: 4px; background: var(--paper); box-shadow: inset 0 3px 0 var(--brass); }
.founding h3 { font-size: 28px; }
.fnd-list { display: grid; gap: 12px; }
.fnd { display: grid; grid-template-columns: 1fr auto auto; gap: 16px; align-items: baseline; padding: 14px 18px; border: 1px solid var(--line); border-radius: 4px; background: var(--ivory); }
.fnd-name { font-weight: 600; color: var(--navy); }
.fnd-price { font-family: var(--serif); font-size: 30px; color: var(--navy); }
.fnd-price small { font-family: var(--sans); font-size: 13px; color: var(--slate); }
.fnd-reg { font-size: 13px; color: var(--slate); text-decoration: line-through; }
@media (max-width: 800px) { .founding { grid-template-columns: 1fr; } }

.founding-dark { margin-top: 24px; background: rgba(248,247,243,.05); border-color: rgba(200,161,90,.7); }
.founding-dark h3 { color: var(--ivory); }
.founding-dark .muted { color: rgba(248,247,243,.65); }
.founding-dark .tier-tag { color: var(--brass); }
.founding-dark .fnd { background: rgba(248,247,243,.04); border-color: rgba(248,247,243,.14); }
.founding-dark .fnd-name, .founding-dark .fnd-price { color: var(--ivory); }
.founding-dark .fnd-price small, .founding-dark .fnd-reg { color: rgba(248,247,243,.55); }
.bfound { margin-top: 10px; padding: 10px 12px; border: 1px solid rgba(200,161,90,.6); border-radius: 4px; font-size: 13.5px; color: var(--ivory); background: rgba(200,161,90,.1); }
.bfound b { color: var(--brass); }

.three { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.three .card { margin-top: 0; }
.three .card a[href^="mailto"] { overflow-wrap: anywhere; font-size: 15px; font-weight: 600; }
@media (max-width: 900px) { .three { grid-template-columns: 1fr; } }

/* Opening announcement */
.launch-bar { background: var(--navy-deep); border-bottom: 1px solid rgba(200,161,90,.28); color: rgba(248,247,243,.82); font-size: 13.5px; line-height: 1.4; }
.launch-inner { max-width: var(--wrap); margin-inline: auto; padding: 9px var(--gutter); display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 4px 14px; text-align: center; }
.launch-tag { font-size: 11.5px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass); display: inline-flex; align-items: center; gap: 14px; }
.launch-tag::after { content: ""; width: 1px; height: 14px; background: rgba(200,161,90,.45); }
.launch-text a { color: var(--ivory); font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--brass); padding-bottom: 1px; margin-left: 4px; }
.launch-text a:hover { color: var(--brass); }
body.has-cine .site-header:not(.scrolled) .launch-bar { background: rgba(10,20,34,.55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
@media (max-width: 600px) {
  .launch-inner { flex-direction: column; gap: 2px; padding-block: 8px; }
  .launch-tag::after { display: none; }
}
.launch-note { background: rgba(200,161,90,.12); border-left: 2px solid var(--brass); padding: 12px 16px; margin-bottom: 22px; font-size: 15px; color: var(--navy); }

/* staged 2026-10-28: keep price-card CTA labels on one line (known wrap bug) */
.tiers-4 .tier .btn { width: 100%; padding-inline: 12px; white-space: nowrap; font-size: 15px; }
/* staged: taller hit area for inline text links (WCAG 2.2 2.5.8 comfort) */
.site-footer li a, .crumb a, .textlink { display: inline-block; padding-block: 6px; }
/* staged: header CTA solid brass over the cinematic hero (no outline state) */
body.has-cine .site-header .btn-primary, body.has-cine .site-header.scrolled .btn-primary { background: var(--brass); color: var(--navy); border-color: var(--brass); }
body.has-cine .site-header .btn-primary:hover { background: var(--brass-deep); border-color: var(--brass-deep); color: var(--ivory); }
.btn { white-space: nowrap; }
.aside .btn + .btn { margin-top: 10px; }

/* Design Studio cta_system.md (2026-10-28) */
:root{ --cta-gold:#C8A15A; --cta-gold-hover:#D6B573; --cta-navy:#0F1C2E; --cta-ivory:#F8F7F3; }
.btn{ transition:background-color .15s ease-out,color .15s ease-out,border-color .15s ease-out; }
.btn-primary:hover{ background:var(--cta-gold-hover); border-color:var(--cta-gold-hover); color:var(--cta-navy); }
.btn-ghost{ color:var(--cta-navy); border-color:var(--cta-navy); }
.btn-ghost:hover{ background:var(--cta-navy); color:var(--cta-ivory); border-color:var(--cta-navy); }
.on-dark .btn-ghost, .cine-hero .btn-ghost, .tier.glass .btn-ghost{ color:var(--cta-ivory); border-color:rgba(248,247,243,.7); }
.on-dark .btn-ghost:hover, .cine-hero .btn-ghost:hover, .tier.glass .btn-ghost:hover{ background:var(--cta-ivory); color:var(--cta-navy); border-color:var(--cta-ivory); }
.btn:focus-visible{ outline:2px solid var(--cta-navy); outline-offset:3px; }
.on-dark .btn:focus-visible, .cine-hero .btn:focus-visible, .site-header .btn:focus-visible{ outline-color:var(--cta-gold); }
body.has-cine .site-header .btn-primary:hover{ background:var(--cta-gold-hover); border-color:var(--cta-gold-hover); color:var(--cta-navy); }
.nav .btn{ min-height:44px; }
/* price cards: every tier grid + overflow guard */
.tier .btn{ width:100%; padding-inline:12px; white-space:nowrap; font-size:15px; min-height:48px; overflow:hidden; text-overflow:ellipsis; justify-content:center; }
@media (max-width:1280px) and (min-width:901px){ .tier .btn{ font-size:14.5px; letter-spacing:0; } }
.textlink{ display:inline-block; padding-top:12px; }
/* brand_check #1: small gold labels on ivory -> navy */
.tier-tag, .person .role{ color:var(--navy); }
.on-dark .tier-tag, .dark .tier-tag, .tier.glass .tier-tag, .founding-dark .tier-tag{ color:var(--brass); }
/* launch_banner.md: quieter one-line phone bar (tag hidden; text + What to expect link kept) */
@media (max-width:640px){
 .launch-bar{ min-height:36px; border-bottom:1px solid rgba(248,247,243,.10); font-size:12.5px; }
 body.has-cine .site-header:not(.scrolled) .launch-bar{ background:rgba(10,20,34,.6); }
 .launch-inner{ flex-direction:row; flex-wrap:nowrap; justify-content:center; padding:9px 16px; white-space:nowrap; overflow:hidden; }
 .launch-inner .launch-text{ overflow:hidden; text-overflow:ellipsis; color:rgba(248,247,243,.78); }
 .launch-tag{ display:none; }
}
/* LIVE BUG FIX: closing-band H2 was navy on navy (invisible) on every page */
.cta h1, .cta h2, .cta h3 { color: var(--ivory); }
/* book_page.md: process track */
.bk-h{ font-size:30px; margin-bottom:24px; }
.bk-track{ list-style:none; padding:0; margin:0 0 40px; display:grid; grid-template-columns:repeat(4,1fr); gap:28px; position:relative; }
.bk-track::before{ content:""; position:absolute; left:23px; right:23px; top:23px; height:1px; background:var(--brass); }
.bk-track li{ position:relative; }
.bk-dot{ position:relative; width:46px; height:46px; border-radius:50%; background:var(--navy); color:var(--brass); border:1.5px solid var(--brass); display:flex; align-items:center; justify-content:center; font-family:var(--serif); font-size:18px; }
.bk-track h3{ font-size:22px; margin:18px 0 8px; }
.bk-note{ background:#E8E8E8; padding:24px 28px; }
.bk-note ul{ margin:0; padding-left:20px; } .bk-note li+li{ margin-top:8px; }
@media (max-width:900px){
 .bk-track{ grid-template-columns:1fr; gap:22px; }
 .bk-track::before{ left:23px; right:auto; top:23px; bottom:23px; width:1px; height:auto; }
 .bk-track li{ display:grid; grid-template-columns:46px 1fr; gap:16px; }
 .bk-track h3{ margin:10px 0 6px; font-size:20px; }
}
/* Header nav: keep links on one line (Patient login added Oct 31, 2026) */
@media (min-width: 901px) { .nav a { white-space: nowrap; } }
@media (min-width: 901px) and (max-width: 1240px) { .nav { gap: 18px; } .nav a { font-size: 14.5px; } }
@media (min-width: 901px) and (max-width: 1080px) { .nav { gap: 14px; } .nav a { font-size: 14px; } .nav .btn { padding-inline: 12px; } .site-header .wrap { gap: 16px; } .brand-name small { letter-spacing: .1em; } }
