:root {
  --ink: #102f31;
  --ink-deep: #082527;
  --teal: #16484b;
  --teal-soft: #2f696b;
  --sea: #9fc2c3;
  --paper: #f3f0e8;
  --paper-warm: #e8e2d5;
  --white: #fffefa;
  --ochre: #d6a35a;
  --line: rgba(16, 47, 49, 0.18);
  --serif: "Newsreader", Georgia, serif;
  --sans: "DM Sans", system-ui, -apple-system, sans-serif;
  --page: min(1420px, calc(100vw - 64px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--paper); }
body { margin: 0; color: var(--ink); font-family: var(--sans); background: var(--paper); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::selection { background: var(--ochre); color: var(--ink-deep); }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select { font: inherit; }
button { color: inherit; }
.skip-link { position: fixed; left: 16px; top: -100px; z-index: 100; padding: 12px 18px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20; height: 92px; padding: 0 max(32px, calc((100vw - 1420px) / 2));
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 36px;
  color: var(--white); border-bottom: 1px solid rgba(255,255,255,.18); transition: background 280ms ease, height 280ms ease, color 280ms ease, border-color 280ms ease;
}
.site-header.scrolled { height: 74px; color: var(--ink); background: rgba(243,240,232,.9); border-color: var(--line); backdrop-filter: blur(16px); }
.brand { display: inline-flex; width: fit-content; align-items: center; gap: 12px; }
.brand-mark { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50%; background: linear-gradient(145deg, #d7ae70 4%, #a8c6c7 64%, #327579 100%); box-shadow: 0 8px 24px rgba(4,31,34,.14); }
.scrolled .brand-mark, .footer-brand .brand-mark { background: linear-gradient(145deg, #d7ae70 4%, #a8c6c7 64%, #327579 100%); }
.brand-mark img { width: 23px; height: 23px; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-family: var(--serif); font-size: 24px; font-weight: 500; letter-spacing: -.03em; }
.brand-copy span { margin-top: 3px; font-size: 10px; text-transform: uppercase; letter-spacing: .21em; opacity: .74; }
.site-header nav { display: flex; gap: 30px; font-size: 13px; }
.site-header nav a { opacity: .78; transition: opacity 180ms ease; }
.site-header nav a:hover { opacity: 1; }
.header-cta { justify-self: end; padding-bottom: 5px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 600; }

.hero { position: relative; min-height: 820px; height: 100svh; color: var(--white); overflow: hidden; background: var(--ink-deep); }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 58% center; scale: 1.04; animation: hero-image-in 1.8s var(--ease) both; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,31,34,.92) 0%, rgba(7,40,43,.73) 29%, rgba(7,40,43,.16) 61%, rgba(7,40,43,.12) 100%), linear-gradient(180deg, rgba(5,27,29,.36), transparent 32%, rgba(4,28,30,.24)); }
.hero-content { position: relative; z-index: 2; width: var(--page); height: 100%; margin: 0 auto; padding-top: clamp(160px, 20vh, 220px); display: flex; flex-direction: column; align-items: flex-start; }
.kicker { margin: 0 0 22px; color: var(--ochre); font-size: 11px; font-weight: 600; letter-spacing: .19em; text-transform: uppercase; }
.hero-kicker { color: #efd4a6; animation: rise-in 800ms 180ms var(--ease) both; }
.hero h1 { margin: 0; max-width: 780px; font-family: var(--serif); font-size: clamp(72px, 8.2vw, 128px); font-weight: 400; letter-spacing: -.055em; line-height: .82; animation: rise-in 900ms 260ms var(--ease) both; }
.hero h1 em, h2 em { color: #e5c184; font-weight: 400; }
.hero-lede { max-width: 590px; margin: 34px 0 0; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.55; color: rgba(255,255,255,.82); animation: rise-in 900ms 360ms var(--ease) both; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin-top: 36px; animation: rise-in 900ms 460ms var(--ease) both; }
.button { min-height: 52px; display: inline-flex; align-items: center; justify-content: center; border: 0; padding: 0 24px; cursor: pointer; font-weight: 600; font-size: 14px; transition: transform 180ms ease, background 180ms ease, color 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--ochre); color: var(--ink-deep); }
.text-link { display: inline-flex; align-items: center; gap: 14px; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.42); font-size: 14px; }
.text-link span { transition: transform 180ms ease; }
.text-link:hover span { transform: translateY(3px); }
.hero-fine { margin: 17px 0 0; color: rgba(255,255,255,.58); font-size: 12px; animation: rise-in 900ms 520ms var(--ease) both; }
.hero-index { position: absolute; z-index: 2; right: max(32px, calc((100vw - 1420px) / 2)); bottom: 38px; display: flex; gap: 22px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .16em; text-transform: uppercase; }
.hero-index span { display: flex; align-items: center; gap: 22px; }
.hero-index span:not(:last-child)::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--ochre); }

.intro-section, .measure-section, .journey-section, .faq-section { width: var(--page); margin: 0 auto; }
.intro-section { padding: 148px 0 156px; }
.section-tag { display: flex; align-items: center; gap: 14px; margin-bottom: 58px; color: var(--teal-soft); font-size: 10px; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; }
.section-tag::after { content: ""; width: 86px; height: 1px; background: currentColor; opacity: .4; }
.section-tag span { color: var(--ochre); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(320px, .6fr); gap: 10vw; align-items: start; }
.intro-grid h2, .measure-heading h2, .format-copy h2, .journey-grid > h2, .medical-lead h2, .reserve-summary h2, .faq-section > div > h2 { margin: 0; font-family: var(--serif); font-size: clamp(48px, 5.5vw, 82px); font-weight: 400; letter-spacing: -.045em; line-height: .97; }
.body-copy { max-width: 510px; padding-top: 8px; color: var(--teal-soft); font-size: 16px; }
.body-copy p { margin: 0 0 22px; }

.measure-section { padding: 0 0 156px; }
.measure-heading { display: grid; grid-template-columns: 180px minmax(0, 1fr) minmax(260px, 390px); align-items: end; gap: 5vw; padding-bottom: 62px; }
.measure-heading .kicker { margin: 0 0 8px; }
.measure-heading h2 { font-size: clamp(56px, 6vw, 92px); }
.measure-heading > p:last-child { margin: 0 0 8px; color: var(--teal-soft); }
.measure-list { border-top: 1px solid var(--line); }
.measure-row { display: grid; grid-template-columns: 90px minmax(0, 1fr) 220px; gap: 36px; align-items: start; padding: 38px 0 42px; border-bottom: 1px solid var(--line); }
.measure-number { color: var(--ochre); font-family: var(--serif); font-size: 20px; }
.measure-row h3 { margin: 0 0 8px; font-family: var(--serif); font-size: clamp(28px, 3vw, 42px); font-weight: 400; letter-spacing: -.03em; }
.measure-row p { max-width: 760px; margin: 0; color: var(--teal-soft); }
.measure-samples { display: flex; justify-content: flex-end; align-items: flex-start; gap: 8px; flex-wrap: wrap; }
.measure-samples span { padding: 7px 10px; border: 1px solid var(--line); border-radius: 99px; color: var(--teal-soft); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.panel-note { max-width: 780px; margin: 30px 0 0 126px; color: var(--teal-soft); font-size: 12px; }

.format-section { display: grid; grid-template-columns: minmax(0, .88fr) minmax(560px, 1.12fr); gap: 7vw; align-items: center; padding: 138px max(32px, calc((100vw - 1420px) / 2)); background: var(--ink-deep); color: var(--white); overflow: hidden; }
.section-tag.light { color: rgba(255,255,255,.58); }
.format-copy h2 { max-width: 670px; color: var(--white); }
.format-copy > p:not(.kicker) { max-width: 600px; margin: 30px 0; color: rgba(255,255,255,.66); }
.button-light { margin-top: 8px; color: var(--ink-deep); background: var(--paper); }
.file-window { min-width: 0; border: 1px solid rgba(255,255,255,.2); background: #0a292c; box-shadow: 0 42px 90px rgba(0,0,0,.24); transform: rotate(1deg); transition: transform 500ms var(--ease); }
.file-window:hover { transform: rotate(0); }
.file-tabs { display: flex; gap: 2px; overflow-x: auto; border-bottom: 1px solid rgba(255,255,255,.13); background: #092326; }
.file-tabs span { padding: 15px 17px; color: rgba(255,255,255,.4); font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 11px; white-space: nowrap; }
.file-tabs .active { color: #fff; background: rgba(255,255,255,.07); }
.file-window pre { min-height: 440px; margin: 0; padding: 36px; overflow: auto; color: #d9e4df; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; line-height: 1.75; }
.code-key { color: #9cc8c4; } .code-string { color: #e8c687; } .code-number { color: #d9a878; }
.file-caption { display: flex; justify-content: flex-end; gap: 26px; padding: 15px 19px; border-top: 1px solid rgba(255,255,255,.13); color: rgba(255,255,255,.44); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }

.journey-section { padding: 150px 0; }
.journey-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 10vw; }
.journey-grid > h2 { position: sticky; top: 120px; align-self: start; }
.journey-grid ol { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.journey-grid li { display: grid; grid-template-columns: 55px 1fr; gap: 25px; padding: 34px 0 38px; border-bottom: 1px solid var(--line); }
.journey-grid li > span { padding-top: 5px; color: var(--ochre); font-family: var(--serif); }
.journey-grid h3 { margin: 0 0 8px; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.journey-grid p { max-width: 580px; margin: 0; color: var(--teal-soft); }

.medical-section { padding: 145px max(32px, calc((100vw - 1420px) / 2)); color: var(--white); background: #1a5153; }
.medical-lead { display: grid; grid-template-columns: .55fr 1.45fr; gap: 8vw; align-items: start; }
.medical-lead .section-tag { margin-top: 13px; }
.medical-lead h2 { max-width: 850px; color: var(--white); }
.medical-principles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 90px; border-top: 1px solid rgba(255,255,255,.2); }
.medical-principles article { padding: 31px 26px 10px 0; border-right: 1px solid rgba(255,255,255,.2); }
.medical-principles article:not(:first-child) { padding-left: 26px; }
.medical-principles article:last-child { border-right: 0; }
.medical-principles h3 { margin: 0 0 13px; font-family: var(--serif); font-size: 25px; font-weight: 400; }
.medical-principles p { margin: 0; color: rgba(255,255,255,.66); font-size: 13px; }
.source-line { display: flex; flex-wrap: wrap; gap: 16px 30px; margin-top: 70px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: 11px; }
.source-line span { margin-right: auto; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .13em; }
.source-line a { color: rgba(255,255,255,.76); }

.reserve-section { display: grid; grid-template-columns: minmax(0, .83fr) minmax(540px, 1.17fr); gap: 10vw; padding: 152px max(32px, calc((100vw - 1420px) / 2)); background: var(--paper-warm); }
.reserve-summary { align-self: start; position: sticky; top: 115px; }
.price { display: flex; align-items: center; gap: 18px; margin: 38px 0 28px; padding: 28px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.price strong { font-family: var(--serif); font-size: clamp(64px, 6vw, 90px); font-weight: 400; letter-spacing: -.05em; line-height: .8; }
.price span { color: var(--teal-soft); font-size: 11px; line-height: 1.4; letter-spacing: .09em; text-transform: uppercase; }
.reserve-summary > p:not(.kicker) { max-width: 570px; color: var(--teal-soft); }
.reserve-summary ul { margin: 27px 0 0; padding: 0; list-style: none; }
.reserve-summary li { padding: 10px 0 10px 24px; position: relative; border-bottom: 1px solid var(--line); font-size: 13px; }
.reserve-summary li::before { content: ""; position: absolute; left: 0; top: 18px; width: 5px; height: 5px; border-radius: 50%; background: var(--ochre); }
.reserve-form { padding: 46px; color: var(--ink); background: var(--white); }
.form-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 42px; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 11px; text-transform: uppercase; letter-spacing: .13em; }
.form-heading span { color: var(--teal-soft); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.reserve-form label, .reserve-form legend { font-size: 12px; font-weight: 600; }
.reserve-form label > span, .full-field > span { color: var(--teal-soft); font-weight: 400; }
.reserve-form input:not([type="checkbox"]):not([type="radio"]), .reserve-form select { width: 100%; height: 48px; margin-top: 8px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: none; color: var(--ink); background: transparent; transition: border-color 180ms ease; }
.reserve-form input:focus, .reserve-form select:focus { border-color: var(--teal); }
.full-field { display: block; margin-top: 28px; }
.reserve-form fieldset { margin: 34px 0 29px; padding: 0; border: 0; }
.reserve-form legend { margin-bottom: 14px; }
.radio { display: inline-flex; align-items: center; gap: 7px; margin-right: 20px; }
.radio input, .check input { accent-color: var(--teal); }
.check { display: grid; grid-template-columns: 19px 1fr; gap: 10px; margin-top: 17px; align-items: start; line-height: 1.55; }
.check input { margin: 3px 0 0; width: 16px; height: 16px; }
.check a { text-decoration: underline; text-underline-offset: 3px; }
.required-check.invalid { color: #8a2c23; }
.honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 33px; padding: 0 22px; color: var(--white); background: var(--ink); }
.form-submit:disabled { cursor: wait; opacity: .62; transform: none; }
.form-status { min-height: 24px; margin: 16px 0 0; font-size: 13px; }
.form-status.success { color: #1d654f; } .form-status.error { color: #9a342b; }
.form-small { margin: 7px 0 0; color: var(--teal-soft); font-size: 10px; }

.faq-section { display: grid; grid-template-columns: .65fr 1.35fr; gap: 10vw; padding: 150px 0; }
.faq-section .section-tag { margin-bottom: 28px; }
.faq-list { border-top: 1px solid var(--line); }
details { border-bottom: 1px solid var(--line); }
summary { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0; cursor: pointer; list-style: none; font-family: var(--serif); font-size: 25px; }
summary::-webkit-details-marker { display: none; }
summary span { font-family: var(--sans); font-weight: 300; transition: rotate 180ms ease; }
details[open] summary span { rotate: 45deg; }
details p { max-width: 680px; margin: -5px 0 28px; color: var(--teal-soft); }

footer { padding: 72px max(32px, calc((100vw - 1420px) / 2)) 40px; color: var(--white); background: var(--ink-deep); }
.footer-brand { margin-bottom: 45px; }
footer > p { margin: 0 0 45px; font-family: var(--serif); font-size: clamp(42px, 5vw, 72px); letter-spacing: -.04em; }
footer > div { display: flex; gap: 28px; padding: 23px 0; border-top: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); font-size: 12px; }
footer small { display: block; margin-top: 24px; color: rgba(255,255,255,.45); font-size: 10px; }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity 760ms var(--ease), transform 760ms var(--ease); }
.reveal.visible { opacity: 1; transform: translateY(0); }
@keyframes rise-in { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hero-image-in { from { opacity: 0; scale: 1.1; } to { opacity: 1; scale: 1.04; } }

.legal-page { min-height: 100vh; background: var(--paper); }
.legal-header { position: static; height: 88px; color: var(--ink); border-color: var(--line); }
.legal-header .brand-mark { background: var(--ink); border-color: var(--ink); }
.legal-header nav { display: none; }
.legal-main { width: min(860px, calc(100vw - 48px)); margin: 0 auto; padding: 96px 0 130px; }
.legal-main h1 { margin: 0 0 18px; font-family: var(--serif); font-size: clamp(58px, 8vw, 92px); font-weight: 400; letter-spacing: -.05em; }
.legal-updated { color: var(--teal-soft); font-size: 12px; }
.legal-main h2 { margin: 54px 0 12px; font-family: var(--serif); font-size: 31px; font-weight: 400; }
.legal-main p, .legal-main li { color: var(--teal-soft); }
.legal-main a { text-decoration: underline; text-underline-offset: 3px; }

@media (max-width: 1040px) {
  :root { --page: calc(100vw - 44px); }
  .site-header { grid-template-columns: 1fr auto; padding-inline: 22px; }
  .site-header nav { display: none; }
  .hero { min-height: 760px; }
  .hero-image { object-position: 65% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,31,34,.93), rgba(7,40,43,.64) 46%, rgba(7,40,43,.12) 90%); }
  .measure-heading { grid-template-columns: 1fr; }
  .measure-heading .kicker { margin-bottom: 0; }
  .measure-heading > p:last-child { max-width: 560px; }
  .format-section, .reserve-section { grid-template-columns: 1fr; }
  .format-section { padding-inline: 22px; }
  .reserve-section { padding-inline: 22px; }
  .reserve-summary { position: static; }
  .medical-principles { grid-template-columns: 1fr 1fr; }
  .medical-principles article:nth-child(2) { border-right: 0; }
  .medical-principles article:nth-child(3), .medical-principles article:nth-child(4) { border-top: 1px solid rgba(255,255,255,.2); }
  .medical-principles article:nth-child(3) { padding-left: 0; }
}

@media (max-width: 720px) {
  :root { --page: calc(100vw - 36px); }
  .site-header { height: 72px; }
  .site-header.scrolled { height: 66px; }
  .brand-mark { width: 37px; height: 37px; }
  .brand-copy strong { font-size: 21px; }
  .header-cta { font-size: 11px; }
  .hero { min-height: 750px; height: 100svh; }
  .hero-image { object-position: 70% center; }
  .hero-shade { background: linear-gradient(90deg, rgba(4,31,34,.94), rgba(7,40,43,.66) 68%, rgba(7,40,43,.25)), linear-gradient(180deg, transparent 50%, rgba(4,25,27,.55)); }
  .hero-content { padding-top: 142px; }
  .hero h1 { font-size: clamp(59px, 18.5vw, 88px); }
  .hero-lede { max-width: 92%; margin-top: 27px; font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 12px; margin-top: 28px; }
  .hero-fine { max-width: 88%; }
  .hero-index { left: 18px; right: 18px; bottom: 22px; gap: 10px 15px; flex-wrap: wrap; }
  .hero-index span { gap: 15px; }
  .intro-section, .journey-section, .faq-section { padding-block: 94px; }
  .section-tag { margin-bottom: 38px; }
  .intro-grid, .journey-grid, .faq-section, .medical-lead { grid-template-columns: 1fr; gap: 45px; }
  .intro-grid h2, .measure-heading h2, .format-copy h2, .journey-grid > h2, .medical-lead h2, .reserve-summary h2, .faq-section > div > h2 { font-size: clamp(43px, 13vw, 66px); }
  .measure-section { padding-bottom: 96px; }
  .measure-row { grid-template-columns: 42px 1fr; gap: 12px; padding-block: 28px 32px; }
  .measure-samples { grid-column: 2; justify-content: flex-start; }
  .panel-note { margin-left: 54px; }
  .format-section, .medical-section, .reserve-section { padding: 95px 18px; }
  .format-section { grid-template-columns: 1fr; gap: 58px; }
  .file-window pre { min-height: 390px; padding: 24px 20px; font-size: 10.5px; }
  .file-caption { justify-content: flex-start; gap: 14px; flex-wrap: wrap; }
  .journey-grid > h2 { position: static; }
  .medical-principles { grid-template-columns: 1fr; margin-top: 62px; }
  .medical-principles article, .medical-principles article:not(:first-child) { padding: 25px 0; border-right: 0; border-top: 1px solid rgba(255,255,255,.2); }
  .source-line { flex-direction: column; }
  .source-line span { margin-right: 0; }
  .reserve-form { padding: 30px 20px; }
  .field-grid { grid-template-columns: 1fr; gap: 24px; }
  summary { font-size: 21px; }
  footer { padding-inline: 18px; }
  footer > div { flex-wrap: wrap; }
}

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