/* Verified Doctors — patient record theme
   Forest, cream and copper. Fraunces display, Source Serif editorial, Manrope UI. */

:root {
  --forest: #0b2d27;
  --forest-2: #123f38;
  --forest-3: #0e3a33;
  --cream: #f4f0e6;
  --cream-2: #eae4d5;
  --surface: #fbf9f3;
  --ink: #1a1e1a;
  --ink-soft: #4c5149;
  --muted: #6b6d63;
  --gold: #9f7a31;
  --gold-lt: #d4b877;
  --copper: #b37335;
  --copper-2: #95551f;
  --line: rgba(26, 31, 27, .13);
  --line-2: rgba(26, 31, 27, .26);
  --line-light: rgba(244, 240, 230, .16);

  --display: "Fraunces", Georgia, serif;
  --editorial: "Source Serif 4", Georgia, serif;
  --ui: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --maxw: min(1240px, calc(100% - 3rem));
  --r: 3px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --lift: 0 30px 80px -44px rgba(10, 42, 37, .55);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--ui); font-size: 1.0625rem; line-height: 1.6;
  background: var(--cream); color: var(--ink);
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }

.skip { position: absolute; left: 1rem; top: -4rem; z-index: 60; background: var(--forest); color: #fff; padding: .6rem .9rem; font-size: .9rem; }
.skip:focus { top: 1rem; }
.shell { width: var(--maxw); margin-inline: auto; }

/* ---------- Utility bar + header ---------- */

.utility { background: var(--forest); color: rgba(255, 255, 255, .72); font-size: .76rem; letter-spacing: .015em; }
.utility .shell { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .55rem 0; }
.utility nav { display: flex; gap: 1.6rem; }
.utility a { color: rgba(255, 255, 255, .82); text-decoration: none; }
.utility a:hover { color: #fff; }

.masthead {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 240, 230, .92); backdrop-filter: saturate(1.2) blur(12px); -webkit-backdrop-filter: saturate(1.2) blur(12px);
  box-shadow: 0 1px 0 rgba(26, 31, 27, .07);
  transition: box-shadow .3s var(--ease);
}
.masthead.is-scrolled { box-shadow: 0 1px 0 rgba(26, 31, 27, .06), 0 14px 34px -28px rgba(10, 42, 37, .55); }
.masthead .shell { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding: .95rem 0; }

.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; color: var(--ink); }
.brand-mark { flex: none; width: 34px; height: 34px; color: var(--forest); }
.brand-text { display: grid; gap: .18rem; }
.brand-name { font-family: var(--display); font-size: 1.32rem; font-weight: 400; letter-spacing: -.01em; line-height: 1; font-variation-settings: "opsz" 36; }
.brand-tag { font-size: .62rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav a { font-size: .88rem; font-weight: 500; text-decoration: none; color: var(--ink); padding: .4rem 0; position: relative; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--copper); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: 1rem; }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  padding: 1.05rem 1.9rem; border-radius: var(--r);
  font-family: var(--ui); font-size: .92rem; font-weight: 600; letter-spacing: .005em; text-decoration: none;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease), color .25s;
}
.btn-copper { color: #fff; background: linear-gradient(180deg, var(--copper), var(--copper-2)); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 14px 30px -16px rgba(149, 85, 31, .8); }
.btn-copper:hover { transform: translateY(-1px); box-shadow: 0 1px 0 rgba(255, 255, 255, .18) inset, 0 18px 36px -16px rgba(149, 85, 31, .9); }
.btn-ghost-light { color: #fff; border: 1px solid rgba(255, 255, 255, .34); background: rgba(255, 255, 255, .04); }
.btn-ghost-light:hover { background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .6); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .45); }
.btn-ghost:hover { border-color: var(--ink); background: #fff; }
.btn-forest { color: #fff; background: var(--forest); }
.btn-forest:hover { background: var(--forest-2); }
.btn-sm { padding: .78rem 1.35rem; font-size: .86rem; }

.text-link { display: inline-flex; align-items: center; gap: .45rem; font-size: .86rem; font-weight: 600; color: var(--copper-2); text-decoration: none; }
.text-link::after { content: "→"; transition: transform .25s var(--ease); }
.text-link:hover::after { transform: translateX(3px); }
.on-dark .text-link { color: var(--gold-lt); }

/* ---------- Type ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: .75rem;
  font-family: var(--ui); font-size: .72rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1px; background: currentColor; opacity: .8; }
.on-dark .eyebrow { color: var(--gold-lt); }

.display, h1, h2 { font-family: var(--display); font-weight: 320; letter-spacing: -.022em; font-variation-settings: "opsz" 96, "SOFT" 30; }
h1 { font-size: clamp(2.9rem, 6.2vw, 5.4rem); line-height: 1.02; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); line-height: 1.06; }
h1 em, h2 em, .display em { font-style: italic; font-weight: 600; letter-spacing: -.03em; }
h3 { font-family: var(--display); font-weight: 400; font-size: 1.32rem; line-height: 1.25; letter-spacing: -.01em; font-variation-settings: "opsz" 30; }

.lede { font-family: var(--editorial); font-size: clamp(1.12rem, 1.5vw, 1.32rem); line-height: 1.6; color: var(--ink-soft); max-width: 36rem; }
.copy { font-family: var(--editorial); font-size: 1.04rem; line-height: 1.7; color: var(--ink-soft); max-width: 38rem; }
.copy + .copy { margin-top: 1rem; }
.on-dark { color: #f4f0e6; }
.on-dark h1, .on-dark h2, .on-dark h3 { color: #fff; }
.on-dark .lede, .on-dark .copy { color: rgba(244, 240, 230, .82); }

.section { padding: clamp(5rem, 10vw, 8.5rem) 0; }
.section-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); gap: clamp(2rem, 6vw, 6rem); align-items: end; margin-bottom: clamp(3rem, 6vw, 4.5rem); }
.section-head h2 { margin-top: 1.1rem; }

/* ---------- Hero ---------- */

.hero-cine { position: relative; isolation: isolate; color: #fff; background: var(--forest); overflow: hidden; }
.hero-cine .bg { position: absolute; inset: 0; z-index: -2; }
.hero-cine .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; transform: scale(1.04); animation: drift 18s var(--ease) forwards; }
.hero-cine::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 34, 29, .96) 0%, rgba(8, 34, 29, .86) 34%, rgba(8, 34, 29, .38) 66%, rgba(8, 34, 29, .2) 100%),
    linear-gradient(0deg, rgba(8, 34, 29, .9) 0%, rgba(8, 34, 29, 0) 42%);
}
.hero-cine .shell { padding: clamp(5rem, 10vw, 8rem) 0 clamp(2.5rem, 5vw, 3.5rem); }
.hero-copy { max-width: 46rem; }
.hero-cine h1 { margin: 1.5rem 0 1.6rem; color: #fff; }
.hero-cine .lede { color: rgba(255, 255, 255, .86); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.4rem; }
.pillars {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem;
  margin-top: clamp(4rem, 8vw, 6rem); padding-top: 1.6rem; border-top: 1px solid rgba(255, 255, 255, .18);
  max-width: 60rem;
}
.pillars h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 320; color: #fff; }
.pillars p { margin-top: .4rem; font-size: .8rem; line-height: 1.5; color: rgba(255, 255, 255, .64); }
.scroll-cue { position: absolute; right: 1.6rem; bottom: 2.4rem; writing-mode: vertical-rl; font-size: .62rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
@keyframes drift { to { transform: scale(1); } }

/* ---------- Request band: the photograph and the record ---------- */

.band { background: var(--cream-2); }
.band-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(2.5rem, 6vw, 5.5rem); align-items: center; }
.band-grid h2 { margin: 1.1rem 0 1.4rem; }
.band-grid .btn { margin-top: 2rem; }

.layers { background: var(--forest); color: #fff; border-radius: var(--r); box-shadow: var(--lift); overflow: hidden; position: relative; }
.layers::after { content: ""; position: absolute; inset: 10px; border: 1px solid var(--line-light); pointer-events: none; }
.layer-top { padding: 1.8rem 2rem 1.5rem; background: linear-gradient(180deg, #f6f1e6, #e9e1cf); color: var(--ink); text-align: center; }
.layer-top small { display: block; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.layer-top strong { display: block; margin-top: .45rem; font-family: var(--display); font-weight: 400; font-size: 1.5rem; letter-spacing: -.01em; font-style: italic; }
.waterline { display: flex; align-items: center; gap: 1rem; padding: 1rem 2rem 0; font-size: .64rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-lt); }
.waterline::before, .waterline::after { content: ""; flex: 1; height: 1px; background: rgba(212, 184, 119, .5); }
.layer-mesh { padding: .6rem 2rem 0; }
.layer-mesh .mesh { display: block; width: 72%; margin: 0 auto; height: auto; }
.mesh path { fill: none; stroke-linecap: round; vector-effect: non-scaling-stroke; }
.mesh-back { stroke: #d4b877; stroke-opacity: .16; stroke-width: .6; }
.mesh-front { stroke: #e9dcb8; stroke-opacity: .62; stroke-width: .8; }
.mesh-margin { stroke: var(--copper); stroke-width: 1.6; stroke-dasharray: 4 3; }
.layer-list { list-style: none; padding: .6rem 2.2rem 2.2rem; }
.layer-list li { display: grid; grid-template-columns: 2rem 1fr; gap: .8rem; padding: .85rem 0; border-top: 1px solid var(--line-light); font-size: .9rem; color: rgba(255, 255, 255, .88); }
.layer-list li:first-child { border-top: 0; }
.layer-list b { font-family: var(--display); font-weight: 400; color: var(--gold-lt); font-size: 1rem; }

.steps { display: grid; grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1fr)); gap: 0; margin-top: clamp(4rem, 8vw, 6rem); padding-top: 2.2rem; border-top: 1px solid var(--line-2); }
.steps .lead { padding-right: 2rem; }
.steps .lead small { font-size: .68rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--gold); }
.steps .lead p { margin-top: .7rem; font-family: var(--display); font-size: 1.12rem; line-height: 1.3; }
.steps article { padding: 0 1.6rem; border-left: 1px solid var(--line); }
.steps h3 { font-size: 1.12rem; }
.steps article p { margin-top: .7rem; font-family: var(--editorial); font-size: .93rem; line-height: 1.6; color: var(--ink-soft); }

/* ---------- Split with photograph ---------- */

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 640px; }
.split-copy { padding: clamp(4rem, 8vw, 6.5rem) clamp(1.5rem, 5vw, 5rem); padding-left: max(1.5rem, calc((100vw - 1240px) / 2)); background: linear-gradient(160deg, #f6f1e6, #ebe2cf); display: flex; flex-direction: column; justify-content: center; }
.split-copy h2 { margin: 1.1rem 0 1.4rem; }
.split-copy .statement { margin: 2.2rem 0; font-family: var(--editorial); font-size: clamp(1.45rem, 2.4vw, 2rem); line-height: 1.35; color: var(--ink); max-width: 30rem; }
.split-links { display: flex; flex-wrap: wrap; gap: 1.4rem 2rem; }
.split-media { position: relative; overflow: hidden; background: var(--forest); }
.split-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.split-media::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(0deg, rgba(8, 34, 29, .62) 0%, rgba(8, 34, 29, 0) 38%), linear-gradient(90deg, rgba(11, 45, 39, .14), rgba(179, 115, 53, .06)); }
.split-media::after { content: ""; position: absolute; inset: 14px; z-index: 1; border: 1px solid rgba(255, 255, 255, .28); pointer-events: none; }
.split-media.pos-right img { object-position: 82% 62%; }
.split-media.pos-left img { object-position: 62% 40%; }
.split-media figcaption { position: absolute; left: 2rem; bottom: 2rem; z-index: 2; max-width: 18rem; font-size: .64rem; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 12px rgba(0, 0, 0, .4); }
.split.flip .split-copy { order: 2; padding-left: clamp(1.5rem, 5vw, 5rem); padding-right: max(1.5rem, calc((100vw - 1240px) / 2)); background: var(--cream); }
.split.flip .split-media { order: 1; }

/* Tools list inside a split */
.tool-list { list-style: none; margin-top: 2rem; border-top: 1px solid var(--line-2); }
.tool-list li { display: grid; grid-template-columns: 1.6rem 1fr; gap: 1rem; padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.tool-list li::before { content: ""; width: 1rem; height: 1px; margin-top: .85rem; background: var(--gold); }
.tool-list h3 { font-size: 1.15rem; }
.tool-list h3 a { text-decoration: none; }
.tool-list h3 a:hover { color: var(--copper-2); }
.tool-list p { margin-top: .3rem; font-family: var(--editorial); font-size: .93rem; color: var(--ink-soft); }
.tool-list .lang { margin-left: .5rem; font-family: var(--ui); font-size: .6rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); vertical-align: .25em; }
.publisher-note { margin-top: 1.4rem; font-size: .8rem; color: var(--muted); max-width: 34rem; }
.publisher-note a { color: var(--copper-2); text-underline-offset: .18em; }

/* ---------- Scope (dark) ---------- */

.scope { background: radial-gradient(900px 500px at 85% 0%, rgba(212, 184, 119, .08), transparent 60%), linear-gradient(180deg, var(--forest), #0a2a25); }
.scope-grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.scope h2 { margin: 1.1rem 0 1.5rem; }
.scope-note { margin-top: 2.2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-light); }
.scope-note small { display: block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.scope-note p { margin-top: .6rem; font-family: var(--editorial); font-size: .98rem; color: rgba(244, 240, 230, .74); }
.cells { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 1px solid var(--line-light); border-left: 1px solid var(--line-light); background: rgba(255, 255, 255, .015); }
.cells article { padding: 1.7rem 1.6rem 1.9rem; border-right: 1px solid var(--line-light); border-bottom: 1px solid var(--line-light); transition: background .3s var(--ease); }
.cells article:hover { background: rgba(255, 255, 255, .035); }
.cells h3 { font-family: var(--ui); font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; }
.cells p { margin-top: .85rem; font-family: var(--editorial); font-size: .95rem; line-height: 1.6; color: rgba(244, 240, 230, .72); }
.signature { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 2rem; border: 1px solid rgba(212, 184, 119, .45); }
.signature a { display: block; padding: 1.5rem 1.6rem 1.6rem; text-decoration: none; color: #fff; transition: background .3s var(--ease); }
.signature a + a { border-left: 1px solid rgba(212, 184, 119, .3); }
.signature a:hover { background: rgba(212, 184, 119, .07); }
.signature small { font-size: .64rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); }
.signature strong { display: block; margin: .7rem 0 .9rem; font-family: var(--display); font-weight: 400; font-size: 1.35rem; line-height: 1.2; }
.signature span { font-size: .8rem; color: rgba(244, 240, 230, .66); }

/* ---------- CTA band ---------- */

.cta-band { background: radial-gradient(700px 360px at 90% 100%, rgba(18, 63, 56, .1), transparent 60%), linear-gradient(120deg, #f6f1e6, #ede6d6); }
.cta-band .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(4.5rem, 9vw, 7rem) 0; }
.cta-band h2 { margin-top: 1.1rem; }
.cta-band .copy { margin-bottom: 1.8rem; }
.cta-actions { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Link band (dark) ---------- */

.link-band { background: var(--forest-3); }
.link-band .shell { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 6vw, 5rem); align-items: center; padding: clamp(4rem, 8vw, 5.5rem) 0; }
.link-band h2 { margin: 1rem 0 1rem; font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.link-band .copy { font-family: var(--ui); font-size: .92rem; }
.link-rows { list-style: none; }
.link-rows a { display: flex; align-items: center; gap: .6rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line-light); color: #fff; text-decoration: none; font-size: .92rem; font-weight: 600; transition: padding .3s var(--ease), color .3s; }
.link-rows a::after { content: "→"; color: var(--gold-lt); transition: transform .3s var(--ease); }
.link-rows a:hover { padding-left: .4rem; color: var(--gold-lt); }
.link-rows a:hover::after { transform: translateX(3px); }

.record-strip { background: rgba(234, 228, 213, .7); border-top: 1px solid var(--line); }
.record-strip p { padding: 2.6rem 0; font-size: .82rem; line-height: 1.65; color: var(--muted); max-width: 46rem; }

/* ---------- Footer ---------- */

.footer { background: linear-gradient(180deg, #f4efe4, #e9e1cf); border-top: 1px solid var(--line-2); }
.footer .shell { padding: clamp(4rem, 8vw, 5.5rem) 0 2rem; }
.footer-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: clamp(2.5rem, 6vw, 5rem); }
.footer-top .eyebrow { margin: 2.4rem 0 1rem; }
.footer-top h2 { font-size: clamp(2.2rem, 4vw, 3.2rem); }
.footer-top .copy { margin-top: 1.4rem; font-family: var(--ui); font-size: .9rem; max-width: 30rem; }
.chips { display: flex; flex-wrap: wrap; gap: 1rem 2rem; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line-2); max-width: 30rem; }
.chips span { display: inline-flex; align-items: center; gap: .6rem; font-size: .68rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.chips span::before { content: ""; width: 5px; height: 5px; transform: rotate(45deg); background: var(--gold); }
.footer-cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; padding-top: 1.4rem; border-top: 1px solid var(--line-2); align-self: start; }
.footer-cols h3 { font-family: var(--ui); font-size: .66rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.2rem; }
.footer-cols ul { list-style: none; display: grid; gap: .8rem; }
.footer-cols a { font-size: .88rem; color: var(--ink-soft); text-decoration: none; }
.footer-cols a:hover { color: var(--copper-2); }
.footer-facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2rem; margin-top: clamp(3rem, 6vw, 4.5rem); padding: 1.6rem 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line-2); }
.footer-facts small { display: block; font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.footer-facts p { margin-top: .45rem; font-size: .86rem; color: var(--ink-soft); }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.4rem; font-size: .78rem; color: var(--muted); }
.footer-legal nav { display: flex; gap: 1.5rem; }
.footer-legal a { color: var(--ink-soft); text-decoration: none; }
.footer-legal a:hover { color: var(--copper-2); }

/* ---------- Guide page ---------- */

.page-hero { position: relative; isolation: isolate; overflow: hidden; background: var(--forest); color: #fff; }
.page-hero .bg { position: absolute; inset: 0; z-index: -2; }
.page-hero .bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 60%; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8, 34, 29, .97) 0%, rgba(8, 34, 29, .9) 45%, rgba(8, 34, 29, .62) 100%); }
.page-hero .shell { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: clamp(2rem, 6vw, 5rem); align-items: end; padding: clamp(2rem, 4vw, 3rem) 0 clamp(4rem, 8vw, 6rem); }
.crumbs { grid-column: 1 / -1; font-size: .78rem; color: rgba(255, 255, 255, .6); margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.crumbs a { color: rgba(255, 255, 255, .8); text-decoration: none; }
.crumbs a:hover { color: #fff; }
.page-hero h1 { font-size: clamp(2.6rem, 5.4vw, 4.7rem); margin: 1.4rem 0 1.5rem; color: #fff; }
.page-hero .lede { color: rgba(255, 255, 255, .84); }
.dossier { background: var(--surface); color: var(--ink); border-radius: var(--r); box-shadow: var(--lift); position: relative; }
.dossier::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line); pointer-events: none; }
.dossier h2 { font-family: var(--ui); font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); padding: 1.4rem 1.6rem .9rem; }
.dossier dl { display: grid; grid-template-columns: auto 1fr; padding: 0 1.6rem 1.2rem; }
.dossier dt, .dossier dd { padding: .75rem 0; border-top: 1px solid var(--line); font-size: .86rem; }
.dossier dt { color: var(--muted); padding-right: 1rem; }
.dossier dd { text-align: right; font-family: var(--display); font-size: 1rem; }
.dossier .flag { color: var(--copper-2); font-style: italic; }

.article { display: grid; grid-template-columns: 15rem minmax(0, 1fr); gap: clamp(2rem, 6vw, 5.5rem); }
.toc { position: sticky; top: 6rem; align-self: start; padding-top: clamp(4rem, 8vw, 6rem); }
.toc p { font-size: .66rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.toc ol { list-style: none; border-left: 1px solid var(--line-2); }
.toc a { display: block; margin-left: -1px; padding: .55rem 0 .55rem 1.1rem; border-left: 1px solid transparent; font-size: .88rem; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
.toc a:hover { color: var(--ink); }
.toc a.is-active { color: var(--ink); border-left-color: var(--copper); font-weight: 600; }

.part { padding: clamp(4rem, 8vw, 6rem) 0; border-bottom: 1px solid var(--line-2); scroll-margin-top: 5rem; }
.part:last-child { border-bottom: 0; }
.part h2 { margin: 1.1rem 0 1.4rem; max-width: 18ch; }

.cols { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.8rem; margin-top: 2.8rem; }
.cols li { padding-top: 1.2rem; border-top: 1px solid var(--line-2); }
.cols li::before { content: ""; display: block; width: 1.4rem; height: 1px; background: var(--gold); margin-bottom: 1.1rem; }
.cols p { margin-top: .7rem; font-family: var(--editorial); font-size: .96rem; line-height: 1.65; color: var(--ink-soft); }
.decides { margin-top: 2.6rem; display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 2rem; align-items: center; padding: 2rem 2.2rem; background: var(--forest); color: #fff; border-radius: var(--r); position: relative; }
.decides::after { content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-light); pointer-events: none; }
.decides h3 { font-family: var(--ui); font-size: .68rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--gold-lt); }
.decides p { font-family: var(--display); font-weight: 320; font-size: clamp(1.3rem, 2.3vw, 1.8rem); line-height: 1.3; }

.faq { margin-top: 2.6rem; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: minmax(0, 1fr) 2rem; gap: 1rem; align-items: center; padding: 1.5rem 0; font-family: var(--display); font-weight: 320; font-size: clamp(1.3rem, 2.2vw, 1.7rem); letter-spacing: -.01em; line-height: 1.25; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; justify-self: end; font-family: var(--ui); font-weight: 300; font-size: 1.5rem; color: var(--copper); transition: transform .3s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary:hover { color: var(--copper-2); }
.faq .answer { padding: 0 3rem 1.7rem 0; font-family: var(--editorial); font-size: 1.04rem; color: var(--ink-soft); max-width: 42rem; }
.faq .answer b { font-family: var(--ui); font-weight: 700; color: var(--ink); }

/* ---------- Motion ---------- */

.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .reveal-d1 { transition-delay: .12s; }
.js .reveal-d2 { transition-delay: .24s; }
.js .hero-copy > * { opacity: 0; transform: translateY(16px); animation: rise 1s var(--ease) forwards; }
.js .hero-copy > :nth-child(2) { animation-delay: .1s; }
.js .hero-copy > :nth-child(3) { animation-delay: .2s; }
.js .hero-copy > :nth-child(4) { animation-delay: .3s; }
.js .pillars > * { opacity: 0; animation: rise .9s var(--ease) forwards; }
.js .pillars > :nth-child(1) { animation-delay: .5s; }
.js .pillars > :nth-child(2) { animation-delay: .6s; }
.js .pillars > :nth-child(3) { animation-delay: .7s; }
.js .pillars > :nth-child(4) { animation-delay: .8s; }
.js .layers.is-in .mesh { animation: open-file 1.8s var(--ease) .2s both; }
.js .split-media.is-in img { transform: scale(1); }
.js .split-media img { transform: scale(1.06); }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes open-file { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal, .js .hero-copy > *, .js .pillars > * { opacity: 1; transform: none; }
  .js .split-media img, .hero-cine .bg img { transform: none; }
}

/* ---------- Responsive ---------- */

@media (max-width: 1080px) {
  .nav { display: none; }
}
@media (max-width: 960px) {
  .section-head, .band-grid, .scope-grid, .cta-band .shell, .link-band .shell, .footer-top, .page-hero .shell { grid-template-columns: 1fr; }
  .split, .split.flip { grid-template-columns: 1fr; min-height: 0; }
  .split-copy, .split.flip .split-copy { order: 2; padding: 4rem 1.5rem; }
  .split-media, .split.flip .split-media { order: 1; aspect-ratio: 4 / 3; }
  .steps { grid-template-columns: 1fr 1fr; gap: 2rem 0; }
  .steps .lead { grid-column: 1 / -1; }
  .steps article:nth-of-type(odd) { border-left: 0; padding-left: 0; }
  .article { grid-template-columns: 1fr; gap: 0; }
  .toc { display: none; }
  .cols { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  :root { --maxw: calc(100% - 2rem); }
  body { font-size: 1rem; }
  .utility nav { display: none; }
  .brand-tag { display: none; }
  .pillars { grid-template-columns: 1fr 1fr; gap: 1.6rem; }
  .scroll-cue { display: none; }
  .steps { grid-template-columns: 1fr; }
  .steps article { border-left: 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); }
  .cells, .signature { grid-template-columns: 1fr; }
  .signature a + a { border-left: 0; border-top: 1px solid rgba(212, 184, 119, .3); }
  .footer-cols, .footer-facts { grid-template-columns: 1fr; }
  .decides { grid-template-columns: 1fr; gap: .8rem; padding: 1.6rem; }
  .faq .answer { padding-right: 0; }
  .masthead .btn { padding: .65rem .9rem; font-size: .78rem; white-space: nowrap; }
  .masthead .shell { gap: .8rem; }
  .brand { gap: .6rem; }
  .brand-mark { width: 30px; height: 30px; }
  .brand-name { font-size: 1.12rem; white-space: nowrap; }
  .hero-cine .bg img { object-position: 78% 50%; }
}

/* ---------- Notes: in-short box, hub cards ---------- */

.in-short ul { list-style: none; padding: 0 1.6rem; }
.in-short li { position: relative; padding: .8rem 0 .8rem 1.3rem; border-top: 1px solid var(--line); font-family: var(--editorial); font-size: .95rem; line-height: 1.5; color: var(--ink-soft); }
.in-short li::before { content: ""; position: absolute; left: 0; top: 1.35rem; width: 6px; height: 6px; transform: rotate(45deg); background: var(--gold); }
.dossier-foot { margin: .4rem 1.6rem 0; padding: .9rem 0 1.3rem; border-top: 1px solid var(--line); font-size: .74rem; color: var(--muted); }
.part .copy a, .faq .answer a { color: var(--copper-2); text-decoration-thickness: 1px; text-underline-offset: .18em; }

.notes-group:nth-of-type(even) { background: var(--cream-2); }
.note-grid { list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.note-card { display: flex; flex-direction: column; height: 100%; padding: 1.8rem 1.7rem 2rem; background: var(--surface); text-decoration: none; color: var(--ink); transition: background .3s var(--ease); }
.note-card small { font-size: .64rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); }
.note-card strong { margin: .9rem 0 .8rem; font-family: var(--display); font-weight: 400; font-size: 1.4rem; line-height: 1.2; letter-spacing: -.01em; }
.note-card span { font-family: var(--editorial); font-size: .94rem; line-height: 1.55; color: var(--ink-soft); }
.note-card::after { content: "Read the note →"; margin-top: auto; padding-top: 1.4rem; font-size: .8rem; font-weight: 600; color: var(--copper-2); }
.note-card:hover { background: #fff; }
.note-card:hover strong { color: var(--copper-2); }

@media (max-width: 960px) { .note-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 720px) { .note-grid { grid-template-columns: 1fr; } }

/* ---------- Doctor profiles ---------- */

.profile-hero .shell { grid-template-columns: 1fr; }
.profile-hero-grid {
  display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(14rem, .55fr);
  gap: clamp(2rem, 5vw, 4rem); align-items: end;
}
.aka-line {
  margin: -.4rem 0 1.2rem; font-family: var(--ui); font-size: .78rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--gold-lt);
}
.profile-portrait {
  margin: 0; position: relative; border-radius: 999px; overflow: hidden;
  aspect-ratio: 1; max-width: 22rem; justify-self: end; box-shadow: var(--lift);
  background: #0a2420;
}
.profile-portrait img {
  width: 100%; height: 100%; object-fit: cover; object-position: center 18%;
  filter: grayscale(1) contrast(1.05) brightness(1.02);
}
.profile-portrait figcaption {
  position: absolute; left: 1rem; right: 1rem; bottom: 1rem; z-index: 2;
  text-align: center; padding: .55rem .8rem; border-radius: 999px;
  background: rgba(8, 34, 29, .82); color: #fff; font-size: .68rem;
  font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
}
.profile-grid { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 1.5rem; }
.profile-card {
  display: grid; grid-template-columns: 9.5rem minmax(0, 1fr); gap: 1.4rem;
  padding: 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
}
.profile-card-media { position: relative; display: block; overflow: hidden; border-radius: var(--r); background: var(--forest); }
.profile-card-media img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 3/4; filter: grayscale(1); }
.profile-badge {
  position: absolute; left: .55rem; bottom: .55rem; padding: .35rem .55rem;
  background: #78382f; color: #fff; font-size: .62rem; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
}
.profile-card-body small { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.profile-card-body h2 { margin: .55rem 0 .2rem; font-size: 1.55rem; }
.profile-card-body h2 a { text-decoration: none; }
.profile-card-body h2 a:hover { color: var(--copper-2); }
.profile-card-body .aka { font-size: .82rem; color: var(--muted); margin-bottom: .7rem; }
.profile-card-body p { font-family: var(--editorial); font-size: .95rem; color: var(--ink-soft); }
.profile-card-actions { display: flex; flex-wrap: wrap; gap: 1.2rem; margin-top: 1.1rem; }

.evidence-note {
  margin: 1.8rem 0 2.4rem; padding: 1.4rem 1.5rem; background: var(--cream-2);
  border: 1px solid var(--line); border-radius: var(--r);
}
.evidence-note p + p { margin-top: .7rem; }
.evidence-note .btn { margin-top: .9rem; }
.evidence-block { margin-top: 2.8rem; padding-top: 2rem; border-top: 1px solid var(--line-2); }
.evidence-block > header .copy { margin: .8rem 0 1rem; }
.evidence-shots { display: grid; gap: 1.6rem; margin-top: 1.4rem; }
.evidence-item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.evidence-item img { width: 100%; height: auto; display: block; background: #eee; }
.evidence-item figcaption { padding: 1.1rem 1.2rem 1.3rem; }
.evidence-item figcaption strong { display: block; margin-bottom: .45rem; font-family: var(--display); font-size: 1.15rem; }
.evidence-item figcaption p { font-family: var(--editorial); font-size: .95rem; color: var(--ink-soft); }
.evidence-item blockquote, .pull-quote {
  margin: 1rem 0; padding-left: 1rem; border-left: 2px solid var(--gold);
  font-family: var(--editorial); font-size: 1.08rem; font-style: italic; color: var(--ink);
}
.pull-quote cite { display: block; margin-top: .7rem; font-family: var(--ui); font-size: .78rem; font-style: normal; color: var(--muted); }
.captured { display: block; margin-top: .8rem; font-size: .78rem; color: var(--muted); }
.subhead { margin: 2rem 0 .9rem; font-size: 1.35rem; }
.meta-strip {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px;
  margin: 1.6rem 0 1.4rem; background: var(--line); border: 1px solid var(--line);
}
.meta-strip > div { background: var(--surface); padding: 1rem 1.1rem; }
.meta-strip dt { font-size: .64rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.meta-strip dd { margin-top: .45rem; font-family: var(--display); font-size: 1.05rem; }
.source-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1.8rem; }
.source-card { padding: 1.4rem 1.45rem 1.55rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); }
.source-card h3 { margin: .7rem 0 .7rem; font-size: 1.25rem; }
.source-card p { font-family: var(--editorial); font-size: .94rem; color: var(--ink-soft); margin-bottom: .9rem; }
.decides a { color: var(--gold-lt); }

@media (max-width: 960px) {
  .profile-hero-grid, .source-grid, .meta-strip { grid-template-columns: 1fr; }
  .profile-portrait { justify-self: start; max-width: 16rem; }
}
@media (max-width: 720px) {
  .profile-card { grid-template-columns: 1fr; }
}
