/* ==========================================================
   KRISTINA M. McGAHAN, RN, BSN
   Palette taken from her own two photographs: navy is her
   scrubs, the teal is the stethoscope around her neck, the
   stone is the limestone wall she is standing against.
   ========================================================== */
*,*::before,*::after{ box-sizing:border-box; }

:root{
    --ink:#0C1418;          /* the monitor, off */
    --ink-2:#121E26;
    --navy:#182838;         /* her scrubs */
    --deep:#0F6E63;         /* accent on light: 5.4:1 on paper */
    --deep-dk:#0B5049;
    --pulse:#5FD8C4;        /* accent on dark: 9.8:1 on ink */
    --stone:#EDE6DA;
    --paper:#FBF9F5;
    --muted:#4E5A5F;
    --muted-lt:#B9C6C9;
    --rule:#D8D0C2;
    --gutter:clamp(20px,4vw,44px);
    --rail:96px;

    --display:'Helvetica Neue',-apple-system,BlinkMacSystemFont,'Segoe UI',Inter,Arial,sans-serif;
    --body:Georgia,'Iowan Old Style','Times New Roman',serif;
}

html{ scroll-behavior:smooth; }
@media (prefers-reduced-motion: reduce){ html{ scroll-behavior:auto; } }

body{
    margin:0; background:var(--paper); color:var(--ink);
    font-family:var(--body); font-size:18px; line-height:1.74;
    -webkit-font-smoothing:antialiased;
    overflow-x:clip;             /* clip, not hidden. keeps the rail fixed */
}
img{ max-width:100%; height:auto; display:block; }
/* Images that are deliberately cropped need a real height to crop against. */
.hero-art img,.plate img,.duo-fig img,.rec-fig img,.voice-fig img{ height:100%; }

a{ color:var(--deep); }
h1,h2,h3{
    font-family:var(--display); font-weight:700; margin:0;
    letter-spacing:-.028em; line-height:1.02;
}
.sr{
    position:absolute; width:1px; height:1px; padding:0; margin:-1px;
    overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0;
}
.wrap{ max-width:1320px; margin:0 auto; padding-inline:var(--gutter); }
.wrap-narrow{ max-width:880px; margin:0 auto; padding-inline:var(--gutter); }

.eyebrow{
    font-family:var(--display); font-weight:600;
    font-size:12.5px; letter-spacing:.22em; text-transform:uppercase;
    color:var(--deep); margin:0 0 16px;
}
.band-stone{ background:var(--stone); }
.band-ink{ background:var(--ink); color:var(--stone); }
.band-ink h2,.band-ink h3{ color:#fff; }
.band-ink .eyebrow{ color:var(--pulse); }
.band-ink .body-copy p{ color:var(--muted-lt); }
.band-ink a{ color:var(--pulse); }

.body-copy p{ margin:0 0 1.25em; max-width:64ch; color:var(--muted); }
.body-copy p:last-child{ margin-bottom:0; }
.body-copy b{ color:var(--ink); font-weight:700; }
.band-ink .body-copy b{ color:#fff; }

.skip{
    position:absolute; left:-9999px; top:0; z-index:100;
    background:var(--ink); color:#fff; padding:12px 18px; font-family:var(--display);
}
.skip:focus{ left:var(--rail); }

a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{
    outline:3px solid var(--deep); outline-offset:3px;
}
.band-ink a:focus-visible,.band-ink button:focus-visible,
.book-band a:focus-visible{ outline-color:var(--pulse); }

/* ---------- rail ---------- */
.rail{
    position:fixed; left:0; top:0; bottom:0; width:var(--rail); z-index:40;
    background:var(--ink); color:var(--stone);
    display:flex; flex-direction:column; align-items:center; padding:26px 0 22px;
}
.rail .mark{
    font-family:var(--display); font-weight:700; font-size:19px; letter-spacing:.05em;
    color:#fff; text-decoration:none;
    display:flex; flex-direction:column; align-items:center; justify-content:center;
    min-width:44px; min-height:52px; padding:6px 8px;
}
/* flex:none is load-bearing: as a shrinkable flex item inside .mark this
   collapsed to 0px and the accent bar never drew. */
.rail .mark span{
    display:block; flex:none; width:26px; height:2px;
    background:var(--pulse); margin:12px auto 0;
}
.rail nav{ margin:auto 0; display:flex; flex-direction:column; gap:24px; }
.rail nav a{
    writing-mode:vertical-rl; transform:rotate(180deg);
    font-family:var(--display); font-weight:600;
    font-size:11.5px; letter-spacing:.2em; text-transform:uppercase;
    color:rgba(237,230,218,.72); text-decoration:none; transition:color .3s ease;
    display:flex; align-items:center; justify-content:center;
    min-width:44px; min-height:44px; padding:6px 0;
}
.rail nav a:hover,.rail nav a.on{ color:#fff; }
.rail nav a.on{ box-shadow:-3px 0 0 var(--pulse); }
/* The rail used to end in a location label that wrapped onto two ragged
   vertical lines. It is now a scroll trace: the line fills as you read, and
   the beat below it is the same spike the timeline and the strip are drawn
   from. */
.rail-end{ display:flex; flex-direction:column; align-items:center; gap:14px; }
.rail-prog{
    width:2px; height:clamp(56px,11vh,104px);
    background:rgba(237,230,218,.20); position:relative; overflow:hidden;
}
.rail-prog span{
    position:absolute; left:0; top:0; width:100%; height:0;
    background:var(--pulse); box-shadow:0 0 8px rgba(95,216,196,.55);
}
.rail-beat{ width:20px; height:32px; display:block; opacity:.55; }
.rail-beat path{
    fill:none; stroke:var(--pulse); stroke-width:2;
    stroke-linecap:round; stroke-linejoin:round;
}
.page{ margin-left:var(--rail); position:relative; z-index:2; }
.bar{ display:none; }
.drawer{ display:none; }

/* ---------- hero ---------- */
.hero{
    position:relative; min-height:100vh; background:var(--paper);
    display:grid; grid-template-columns:1.06fr .94fr;
}
.hero-text{
    display:flex; flex-direction:column; justify-content:center;
    padding:clamp(44px,7vw,104px) clamp(26px,5.4vw,84px) clamp(96px,10vw,140px);
}
.hero-text h1{
    font-size:clamp(48px,6.6vw,104px); margin-bottom:24px; color:var(--ink);
}
.hero-text h1 em{
    display:block; font-style:normal; font-size:.28em; font-weight:600;
    letter-spacing:.2em; color:var(--deep); margin-top:20px;
}
.roles{ list-style:none; display:flex; flex-wrap:wrap; gap:8px 16px; padding:0; margin:0 0 26px; }
.roles li{
    font-family:var(--display); font-weight:600;
    font-size:12px; letter-spacing:.18em; text-transform:uppercase; color:var(--muted);
}
.roles li + li::before{ content:"/"; margin-right:16px; color:var(--deep); }
.hero-line{ font-size:clamp(18px,1.5vw,22px); line-height:1.66; color:var(--muted); max-width:36ch; margin:0 0 34px; }

.cta-row{ display:flex; flex-wrap:wrap; gap:14px; }
.btn{
    display:inline-flex; align-items:center; gap:10px; padding:16px 28px;
    font-family:var(--display); font-weight:600;
    font-size:12.5px; letter-spacing:.14em; text-transform:uppercase; text-decoration:none;
    border:1px solid transparent; cursor:pointer;
    transition:background .3s ease,color .3s ease,transform .3s ease,border-color .3s ease;
}
.btn-solid{ background:var(--ink); color:#fff; }
.btn-solid:hover{ background:var(--deep-dk); transform:translateY(-2px); }
/* .band-ink a paints links pulse-coloured, which beat .btn-pulse on
   specificity and rendered this button as teal text on a teal ground. */
.btn-pulse,.band-ink .btn-pulse{ background:var(--pulse); color:#08171A; }
.btn-pulse:hover,.band-ink .btn-pulse:hover{ background:#fff; color:#08171A; transform:translateY(-2px); }
.btn-line{ border-color:var(--ink); color:var(--ink); }
.btn-line:hover{ background:var(--ink); color:#fff; transform:translateY(-2px); }

.hero-art{ position:relative; overflow:hidden; background:var(--navy); }
.hero-art img{ width:100%; object-fit:cover; object-position:50% 26%; }
.hero-art::after{
    content:""; position:absolute; inset:0;
    background:linear-gradient(to top,rgba(12,20,24,.62),rgba(12,20,24,0) 38%),
               linear-gradient(to right,rgba(12,20,24,.28),rgba(12,20,24,0) 40%);
}
.hero-frame{ position:absolute; inset:24px; border:1px solid rgba(255,255,255,.26); pointer-events:none; }
.hero-stamp{
    position:absolute; left:clamp(22px,3vw,44px); bottom:clamp(78px,9vw,116px); z-index:4; margin:0;
    font-family:var(--display); font-size:12px; letter-spacing:.16em; text-transform:uppercase;
    color:rgba(255,255,255,.86); max-width:72%;
}
.hero-stamp b{ display:block; color:#fff; font-weight:700; margin-bottom:6px; letter-spacing:.1em; }

/* the trace that runs under the hero */
.hero-trace{ position:absolute; left:0; right:0; bottom:0; height:clamp(58px,7vw,90px); pointer-events:none; z-index:3; }
.hero-trace svg{ width:100%; height:100%; display:block; }
.hero-trace .ht{
    fill:none; stroke:url(#tg); stroke-width:2.4;
    stroke-linejoin:round; stroke-linecap:round; opacity:.92;
}

/* ---------- ledger ---------- */
.ledger-band{ padding:clamp(38px,5vw,64px) 0; border-block:1px solid var(--rule); }
.ledger{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(4,1fr); gap:24px; }
.ledger li{ text-align:left; }
.ledger b{
    display:block; font-family:var(--display); font-weight:700;
    font-size:clamp(38px,4.6vw,66px); line-height:1; letter-spacing:-.04em; color:var(--ink);
}
.ledger b sup{ font-size:.42em; vertical-align:super; color:var(--deep); }
.ledger span{
    display:block; margin-top:12px; font-family:var(--display); font-weight:600;
    font-size:12px; letter-spacing:.16em; text-transform:uppercase; color:var(--muted);
}

/* ---------- WOW 1 : rhythm strip ---------- */
.strip-band{ padding:clamp(72px,9vw,132px) 0 clamp(56px,6.5vw,88px); overflow:hidden; }
.strip-h{ font-size:clamp(32px,4.4vw,68px); margin-bottom:clamp(36px,5vw,64px); max-width:20ch; }
.strip-h em{ font-style:normal; color:var(--pulse); }

.strip{ margin:0 0 clamp(30px,4vw,52px); }
.strip-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; }
.strip-scroll:focus-visible{ outline:3px solid var(--pulse); outline-offset:-3px; }
.strip-svg{
    display:block; width:100%; height:auto;
    background:linear-gradient(180deg,#08171A,#0C1418);
    border-block:1px solid rgba(95,216,196,.22);
}
.strip-svg .beat{
    fill:none; stroke:var(--pulse); stroke-width:3.4;
    stroke-linejoin:round; stroke-linecap:round;
    filter:drop-shadow(0 0 7px rgba(95,216,196,.55));
}
.strip-marks line{ stroke:rgba(255,255,255,.42); stroke-width:1; stroke-dasharray:4 5; }
.strip-marks text{
    fill:#fff; font-family:var(--display); font-weight:700;
    font-size:19px; letter-spacing:.14em; text-anchor:middle;
}
.strip-cap{
    display:grid; grid-template-columns:repeat(3,1fr); gap:18px 34px;
    max-width:1320px; margin:26px auto 0; padding-inline:var(--gutter);
}
.strip-cap span{ font-size:16px; line-height:1.6; color:var(--muted-lt); }
.strip-cap b{
    display:block; font-family:var(--display); font-weight:700; font-size:14px;
    letter-spacing:.2em; color:var(--pulse); margin-bottom:8px;
}
.strip-note{ margin-top:clamp(26px,3vw,40px); }
.strip-note p{ color:var(--muted-lt); max-width:70ch; }

/* ---------- photographic plates ----------
   Full-bleed environmental photography. Illustrative, not documentary, and
   the footer says so. */
.plate{ margin:0; position:relative; background:var(--ink); overflow:hidden; }
.plate img{ width:100%; height:clamp(300px,42vw,560px); object-fit:cover; display:block; }
.plate::after{
    content:""; position:absolute; inset:0; pointer-events:none;
    background:linear-gradient(to top,rgba(12,20,24,.78),rgba(12,20,24,0) 46%);
}
.plate figcaption{
    position:absolute; left:0; right:0; bottom:0; z-index:2;
    padding:clamp(22px,3vw,40px) var(--gutter);
    font-family:var(--display); font-weight:600; font-size:13px;
    letter-spacing:.16em; text-transform:uppercase; color:rgba(255,255,255,.9);
}
.plate figcaption b{ display:block; font-weight:700; color:#fff; font-size:clamp(17px,1.7vw,25px);
    letter-spacing:-.015em; text-transform:none; margin-bottom:8px; max-width:30ch; }

/* two-up: a block of text beside a photograph, inside a band */
.duo{
    display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,64px);
    align-items:center; margin-top:clamp(34px,4.4vw,58px);
}
.duo-fig{ margin:0; overflow:hidden; background:var(--navy); height:clamp(260px,30vw,400px); }
.duo-fig img{ width:100%; object-fit:cover; }
.duo-flip .duo-fig{ order:-1; }

/* Sideways-scrolling blocks need to say so on a phone. */
.swipe{ display:none; }

/* ---------- spread ---------- */
.spread{
    display:grid; grid-template-columns:1fr 1fr; align-items:center;
    background:var(--paper);
}
/* Her garden portrait is only 640px wide. Stretching it edge-to-edge meant
   a 1.6x upscale, so it sits inset on a stone plate at close to native size
   instead. Sharper, and it reads as a deliberate frame. */
.spread-figure{
    margin:0; position:relative; align-self:stretch; overflow:hidden;
    background:var(--stone); display:flex; align-items:center; justify-content:center;
    padding:clamp(26px,3.4vw,54px);
}
.spread-figure img{ width:100%; max-width:660px; height:auto; }
.spread-body{
    display:flex; flex-direction:column; justify-content:center;
    padding:clamp(46px,6vw,96px) clamp(26px,5vw,84px);
}
.spread-body h2{ font-size:clamp(28px,3.4vw,52px); margin-bottom:26px; }
.tags-lead{ margin-top:26px; }
.tags{ list-style:none; display:flex; flex-wrap:wrap; gap:9px; padding:0; margin:26px 0 0; }
.tags li{
    font-family:var(--display); font-weight:600; font-size:12px;
    letter-spacing:.13em; text-transform:uppercase; color:var(--deep);
    border:1px solid var(--rule); padding:9px 14px;
}

/* ---------- WOW 2 : burnout to recovery ---------- */
.recovery{ padding:clamp(72px,9vw,132px) 0 clamp(56px,6.5vw,88px); overflow:hidden; }
.rec-h{ font-size:clamp(32px,4.4vw,68px); margin-bottom:clamp(34px,4.6vw,56px); max-width:22ch; }
.rec-h em{ font-style:normal; color:var(--pulse); }

.rec-strip{
    position:relative; height:clamp(150px,17vw,210px);
    margin-block:0 clamp(34px,4.6vw,58px);
    background:linear-gradient(180deg,#08171A,#0C1418);
    border-block:1px solid rgba(95,216,196,.22);
    --bleed:calc(100vw - var(--rail));
    width:var(--bleed); max-width:var(--bleed);
    margin-left:calc(50% - var(--bleed) / 2);
    margin-right:calc(50% - var(--bleed) / 2);
}
.rec-strip svg{ position:absolute; inset:0; width:100%; height:100%; }
.rec-strip path{ fill:none; stroke-width:2.6; stroke-linejoin:round; stroke-linecap:round; }
.rec-bad{ stroke:#C4646A; opacity:.9; }
.rec-good{ stroke:var(--pulse); opacity:0; filter:drop-shadow(0 0 7px rgba(95,216,196,.5)); }
.rec-tag{
    position:absolute; bottom:12px; font-family:var(--display); font-weight:700;
    font-size:11.5px; letter-spacing:.22em; text-transform:uppercase;
}
.rec-tag-a{ left:clamp(18px,3vw,40px); color:#E29CA1; }
.rec-tag-b{ right:clamp(18px,3vw,40px); color:var(--pulse); opacity:0; transition:opacity .8s ease .9s; }

.rec-grid{ display:grid; grid-template-columns:1.08fr .92fr; gap:clamp(30px,5vw,72px); align-items:start; }
.rec-fig{
    margin:clamp(28px,3.4vw,44px) 0 0; overflow:hidden; background:var(--navy);
}
.rec-fig img{ width:100%; height:clamp(220px,24vw,320px); object-fit:cover; }
.rec-fig figcaption{
    margin-top:14px; font-family:var(--display); font-weight:600; font-size:12.5px;
    letter-spacing:.14em; text-transform:uppercase; color:var(--muted-lt);
}
.rec-list{ list-style:none; margin:0; padding:0; }
.rec-list li{ border-top:1px solid rgba(95,216,196,.26); padding:20px 0; }
.rec-list li:last-child{ border-bottom:1px solid rgba(95,216,196,.26); }
.rec-cta{ margin-top:clamp(24px,3vw,36px); }
.rec-cta-note{ margin:16px 0 0; font-size:15.5px; line-height:1.6; color:var(--muted-lt); max-width:40ch; }
.rec-list b{
    display:block; font-family:var(--display); font-weight:700; font-size:16px;
    letter-spacing:.02em; color:#fff; margin-bottom:6px;
}
.rec-list span{ font-size:16px; line-height:1.6; color:var(--muted-lt); }

/* ---------- WOW 3 : the book ---------- */
.book-band{
    background:linear-gradient(160deg,var(--navy),#0C1418 68%);
    color:var(--stone); padding:clamp(66px,8vw,120px) 0;
}
.book-band h2{ color:#fff; font-size:clamp(28px,3.5vw,54px); margin-bottom:24px; }
.book-band h2 em{ font-style:normal; color:var(--pulse); }
.book-band .eyebrow{ color:var(--pulse); }
.book-band .body-copy p{ color:var(--muted-lt); }
.book-inner{ display:grid; grid-template-columns:.92fr 1.08fr; gap:clamp(34px,5vw,80px); align-items:center; }
.book-art{ margin:0; }
.book-art img{
    width:100%; max-width:520px; margin-inline:auto;
    filter:drop-shadow(0 34px 60px rgba(0,0,0,.6));
}
/* what is actually inside the book */
.inside{ list-style:none; margin:30px 0 0; padding:0; }
.inside li{ border-top:1px solid rgba(95,216,196,.24); padding:15px 0; }
.inside li:last-child{ border-bottom:1px solid rgba(95,216,196,.24); }
.inside b{
    display:block; font-family:var(--display); font-weight:700; font-size:16px;
    color:#fff; margin-bottom:5px;
}
.inside span{ font-size:15.5px; line-height:1.55; color:var(--muted-lt); }
.inside-who{
    margin:20px 0 0; font-size:16px; line-height:1.6; color:var(--muted-lt); max-width:52ch;
}

.editions{ list-style:none; margin:32px 0 14px; padding:0; }
.editions li{
    display:grid; grid-template-columns:1fr auto auto; align-items:center; gap:16px 24px;
    border-top:1px solid rgba(95,216,196,.28); padding:18px 0;
}
.editions li:last-child{ border-bottom:1px solid rgba(95,216,196,.28); }
.ed-name{
    font-family:var(--display); font-weight:700; font-size:15px;
    letter-spacing:.16em; text-transform:uppercase; color:#fff;
}
.ed-meta{ font-family:var(--display); font-size:13.5px; letter-spacing:.06em; color:var(--muted-lt); }
.ed-buy{
    display:inline-flex; align-items:center; justify-content:center;
    min-width:150px; min-height:44px; padding:12px 22px;
    background:var(--pulse); color:#08171A; text-decoration:none;
    font-family:var(--display); font-weight:700;
    font-size:12.5px; letter-spacing:.16em; text-transform:uppercase;
    transition:background .3s ease,transform .3s ease;
}
.ed-buy:hover{ background:#fff; transform:translateY(-2px); }
.ed-note{ font-size:14px; color:var(--muted-lt); margin:0; }

/* ---------- voices ---------- */
.voices{ padding:clamp(64px,7.6vw,108px) 0; }
.voice-wrap{
    display:grid; grid-template-columns:.86fr 1.14fr; gap:clamp(28px,4vw,64px); align-items:center;
}
.voice-fig{ margin:0; overflow:hidden; background:var(--navy); height:clamp(300px,32vw,440px); }
.voice-fig img{ width:100%; object-fit:cover; }
.voice-grid{ display:grid; grid-template-columns:1fr; gap:clamp(26px,3vw,42px); }
.voice{ margin:0; border-left:3px solid var(--deep); padding-left:clamp(22px,2.8vw,38px); }
.voice p{ font-size:clamp(20px,2vw,29px); line-height:1.5; margin:0 0 22px; color:var(--ink); letter-spacing:-.012em; }
.voice cite{
    font-style:normal; font-family:var(--display); font-weight:700;
    font-size:13px; letter-spacing:.16em; text-transform:uppercase; color:var(--ink);
}
.voice cite span{
    display:block; font-weight:600; letter-spacing:.14em;
    color:var(--muted); margin-top:5px;
}
.voice-row{
    display:grid; grid-template-columns:repeat(3,1fr); gap:clamp(24px,3vw,44px);
    margin-top:clamp(30px,3.6vw,52px);
}
.voice-row .voice p{ font-size:clamp(17px,1.35vw,20px); line-height:1.55; }
.voice-note{ font-size:14px; color:var(--muted); margin:clamp(24px,2.6vw,34px) 0 0; }

/* ---------- record: the career, drawn like a strip ---------- */
.record{ padding:clamp(66px,8vw,110px) 0 clamp(56px,6.5vw,92px); }
.rec-title{ font-size:clamp(30px,3.6vw,56px); margin-bottom:clamp(38px,4.6vw,62px); max-width:24ch; }

.tl-scroll{ overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:8px; }
.tl-scroll:focus-visible{ outline:3px solid var(--deep); outline-offset:-3px; }
.tl{
    list-style:none; margin:0; padding:0 var(--gutter);
    display:grid; grid-auto-flow:column; grid-auto-columns:minmax(212px,1fr);
    min-width:1180px; position:relative;
}
/* the baseline */
.tl::before{
    content:""; position:absolute; left:0; right:0; top:60px; height:2px; background:var(--rule);
}
.tl-item{ position:relative; padding:92px 32px 0 0; }
/* each milestone is a spike crossing the baseline, not a dot: the same
   shape the rest of the site is built on, at the scale of a career. */
.tl-item::before{
    content:""; position:absolute; top:30px; left:0; width:3px; height:44px; background:var(--deep);
}
.tl-year{
    position:absolute; top:0; left:0;
    font-family:var(--display); font-weight:700; font-size:20px;
    letter-spacing:.03em; color:var(--deep); white-space:nowrap;
}
.tl-item b{
    display:block; font-family:var(--display); font-weight:700;
    font-size:19px; line-height:1.24; color:var(--ink); margin-bottom:9px;
    letter-spacing:-.015em;
}
.tl-note{ display:block; font-size:16px; line-height:1.55; color:var(--muted); max-width:24ch; }

/* certifications and mentors, under the strip */
.creds{
    display:grid; grid-template-columns:1fr 1fr; gap:clamp(28px,4vw,72px);
    margin-top:clamp(34px,3.8vw,54px); padding-top:clamp(32px,3.6vw,46px);
    border-top:1px solid var(--rule);
}
.record h3{
    font-size:12.5px; font-weight:700; letter-spacing:.22em; text-transform:uppercase;
    color:var(--deep); margin:0 0 18px;
}
.chips{ list-style:none; margin:0; padding:0; display:flex; flex-wrap:wrap; gap:9px; }
.chips li{
    font-family:var(--display); font-weight:600; font-size:12.5px;
    letter-spacing:.13em; text-transform:uppercase; color:var(--ink);
    border:1px solid var(--rule); padding:11px 16px;
}
.cred-line{ margin:0; font-size:17px; line-height:1.65; color:var(--muted); max-width:46ch; }
.plain{ list-style:none; margin:0; padding:0; }
.plain li{ border-top:1px solid var(--rule); padding:15px 0; }
.plain li:last-child{ border-bottom:1px solid var(--rule); }
.plain b{ display:block; font-family:var(--display); font-weight:700; font-size:16.5px; color:var(--ink); }
.plain span{ display:block; font-size:15.5px; color:var(--muted); margin-top:4px; }

/* ---------- creed ---------- */
.creed{ padding:clamp(58px,6.6vw,96px) 0; text-align:center; }
.creed .eyebrow{ text-align:center; }
.creed-line{
    font-family:var(--display); font-weight:600;
    font-size:clamp(24px,2.9vw,42px); line-height:1.28; letter-spacing:-.02em;
    color:#fff; margin:0 auto 24px; max-width:34ch; text-wrap:balance;
}
.creed-src{
    font-family:var(--display); font-size:12px; letter-spacing:.2em;
    text-transform:uppercase; color:var(--muted-lt); margin:0;
}

/* ---------- contact ---------- */
.contact{ padding:clamp(66px,8vw,120px) 0; background:var(--stone); }
.contact-grid{ display:grid; grid-template-columns:1.02fr .98fr; gap:clamp(34px,5vw,80px); align-items:start; }
.contact h2{ font-size:clamp(26px,3.1vw,46px); margin-bottom:30px; }
.contact-list li{ border-color:#CDC3B2; }
.contact-list a{
    display:flex; align-items:center; min-height:44px; font-size:16.5px;
    margin-top:2px; word-break:break-word;
}
.enquiry{ background:var(--paper); padding:clamp(24px,3vw,40px); border:1px solid var(--rule); }
.form-lede{ font-size:15.5px; color:var(--muted); margin:0 0 22px; }
.enquiry label{
    display:block; font-family:var(--display); font-weight:600;
    font-size:12px; letter-spacing:.16em; text-transform:uppercase;
    color:var(--muted); margin:0 0 8px;
}
.enquiry input,.enquiry textarea{
    width:100%; font-family:var(--body); font-size:16px; color:var(--ink);
    background:#fff; border:1px solid var(--rule); padding:13px 14px;
    margin:0 0 20px; border-radius:0;
}
.enquiry textarea{ resize:vertical; }
.enquiry .btn{ width:100%; justify-content:center; }

/* ---------- footer ---------- */
.foot{ background:var(--ink); color:var(--muted-lt); padding:clamp(44px,5vw,72px) 0; }
.foot-mark{
    font-family:var(--display); font-weight:700; font-size:17px; letter-spacing:.04em;
    color:#fff; margin:0 0 12px;
}
.foot-note{ font-size:14.5px; line-height:1.7; margin:0 0 8px; max-width:74ch; }
.foot-note a{ color:var(--pulse); }
.foot-fine{ font-size:13.5px; color:#96A5A9; margin-top:16px; max-width:78ch; }

/* ==========================================================
   MOTION. Every start state is behind .js-motion, which the
   script adds only when the tab is visible. No script, or a
   hidden tab, and the page simply renders finished.
   ========================================================== */
.js-motion .hero-text{ opacity:0; transform:translateY(20px); }
.js-motion .hero-text.in{ opacity:1; transform:none; transition:opacity .9s ease,transform .9s cubic-bezier(.22,.7,.24,1); }
.js-motion .hero-art img{ opacity:0; transform:scale(1.05); }
.js-motion .hero-art.in img{ opacity:1; transform:none; transition:opacity 1.1s ease,transform 1.4s cubic-bezier(.22,.7,.24,1); }
.js-motion .hero-trace .ht{ stroke-dasharray:2400; stroke-dashoffset:2400; }
.js-motion .hero-art.in ~ .hero-trace .ht{ stroke-dashoffset:0; transition:stroke-dashoffset 2.6s cubic-bezier(.3,.6,.3,1) .35s; }

.js-motion .rv{ opacity:0; transform:translateY(22px); }
.js-motion .rv.in{ opacity:1; transform:none; transition:opacity .8s ease,transform .8s cubic-bezier(.22,.7,.24,1); }

.js-motion .strip-svg .beat{ stroke-dasharray:2600; stroke-dashoffset:2600; }
.js-motion .strip.in-view .beat{ stroke-dashoffset:0; transition:stroke-dashoffset 2.2s cubic-bezier(.25,.6,.3,1); }
.js-motion .strip-marks .mk{ opacity:0; }
.js-motion .strip.in-view .mk{ opacity:1; transition:opacity .5s ease var(--d,1s); }

.js-motion .rec-bad{ stroke-dasharray:2600; stroke-dashoffset:2600; }
.js-motion .recovery.in-view .rec-bad{ stroke-dashoffset:0; transition:stroke-dashoffset 1.9s cubic-bezier(.25,.6,.3,1); }
.js-motion .recovery.in-view .rec-bad{ animation:fadeBad .9s ease 2.1s forwards; }
.js-motion .recovery.in-view .rec-good{ animation:showGood 1.5s cubic-bezier(.22,.7,.24,1) 2.1s forwards; }
.js-motion .recovery.in-view .rec-tag-b{ opacity:1; transition-delay:2.5s; }
@keyframes fadeBad{ to{ opacity:.12; } }
@keyframes showGood{ from{ opacity:0; } to{ opacity:1; } }

@media (prefers-reduced-motion: reduce){
    .js-motion *,.js-motion *::before,.js-motion *::after{
        animation:none !important; transition:none !important;
        opacity:1 !important; transform:none !important; stroke-dashoffset:0 !important;
    }
    .rec-bad{ opacity:.14; }
    .rec-good{ opacity:1; }
    .rec-tag-b{ opacity:1; }
}
/* No-JS / hidden tab: the recovery strip must still read correctly. */
html:not(.js-motion) .rec-bad{ opacity:.14; }
html:not(.js-motion) .rec-good{ opacity:1; }
html:not(.js-motion) .rec-tag-b{ opacity:1; }

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width:1080px){
    .hero{ grid-template-columns:1fr; min-height:0; }
    .hero-art{ order:-1; height:clamp(340px,58vw,540px); }
    .hero-text{ padding-bottom:clamp(88px,14vw,120px); }
    .hero-trace{ height:clamp(50px,9vw,72px); }
    .hero-trace .ht{ stroke:var(--deep); }
    .hero-stamp{ bottom:clamp(22px,4vw,40px); }
    .spread{ grid-template-columns:1fr; }
    .spread-figure{ padding:clamp(24px,6vw,48px); }
    .rec-grid{ grid-template-columns:1fr; }
    .book-inner{ grid-template-columns:1fr; }
    .book-art img{ max-width:330px; }
    .creds{ grid-template-columns:1fr; }
    .contact-grid{ grid-template-columns:1fr; }
    .voice-wrap{ grid-template-columns:1fr; }
    .voice-row{ grid-template-columns:1fr; }
    .voice-fig{ height:clamp(220px,52vw,340px); }
    .strip-cap{ grid-template-columns:1fr; gap:16px; }
    .duo{ grid-template-columns:1fr; }
    .duo-flip .duo-fig{ order:0; }
    .duo-fig{ height:clamp(220px,52vw,340px); }
}

@media (max-width:900px){
    :root{ --rail:0px; }
    .rail{ display:none; }
    .page{ margin-left:0; padding-top:60px; }
    .skip:focus{ left:12px; top:66px; }

    .bar{
        display:flex; position:fixed; inset:0 0 auto 0; height:60px; z-index:60;
        background:var(--ink); color:#fff;
        align-items:center; justify-content:space-between;
        padding-inline:var(--gutter);
    }
    .bar-mark{
        font-family:var(--display); font-weight:700; font-size:14.5px;
        letter-spacing:.08em; color:#fff; text-decoration:none;
        min-height:44px; display:flex; align-items:center;
    }
    .bar-btn{
        width:46px; height:46px; background:none; border:0; cursor:pointer;
        display:flex; flex-direction:column; align-items:center; justify-content:center; gap:5px;
    }
    .bar-btn i{ display:block; width:22px; height:2px; background:#fff; }
    .drawer{
        display:flex; position:fixed; inset:60px 0 0 0; z-index:55;
        background:var(--ink); flex-direction:column; justify-content:center;
        gap:6px; padding:var(--gutter);
        transform:translateY(-102%); transition:transform .42s cubic-bezier(.22,.7,.24,1);
    }
    .drawer.open{ transform:none; }
    .drawer a{
        font-family:var(--display); font-weight:700;
        font-size:clamp(24px,7vw,38px); letter-spacing:-.02em;
        color:#fff; text-decoration:none; padding:12px 0; min-height:52px;
        border-bottom:1px solid rgba(95,216,196,.22);
    }
    .rec-strip{ --bleed:100vw; }
    .ledger{ grid-template-columns:1fr 1fr; gap:28px 20px; }
    .editions li{ grid-template-columns:1fr auto; }
    .editions .ed-buy{ grid-column:1 / -1; width:100%; }
}

@media (max-width:900px){
    .tl{ min-width:1100px; }
}

@media (max-width:900px){
    .swipe{
        display:block; margin:12px 0 0; padding-inline:var(--gutter);
        font-family:var(--display); font-weight:600; font-size:11.5px;
        letter-spacing:.2em; text-transform:uppercase; color:var(--muted);
    }
    .swipe::after{ content:" \2192"; }
    .strip-band .swipe{ color:var(--pulse); }
}

@media (max-width:820px){
    /* The waveform stops being readable below ~760px, so the strip scrolls
       sideways instead of shrinking, which is how a real one is read. */
    .strip-svg{ width:760px; max-width:none; }
    .strip-scroll{ padding-bottom:6px; }
}

@media (max-width:560px){
    body{ font-size:17px; }
    .hero-text h1{ font-size:clamp(38px,11vw,56px); }
    .hero-stamp{ font-size:11px; max-width:88%; white-space:normal; }
    .roles li + li::before{ margin-right:14px; }
    .strip-cap{ padding-inline:var(--gutter); }
    .book-art img{ max-width:250px; }
    .voice p{ font-size:19px; }
    .ledger b{ font-size:clamp(32px,10vw,46px); }
    .tags li{ font-size:11.5px; padding:8px 11px; }
}
