/* athenahealth.com.my v2, direction G (19 Oct 2026): D's cinematic opening and serif display type,
   B's light, photo-led body. Only the home hero is dark. Tokens live in base.css. */
:root { --display: "Newsreader", Georgia, serif; --r: 20px; --r-in: 12px; --line: rgba(23, 20, 71, .12); } /* one card corner, one inner-image corner, one hairline */
.display { font-family: var(--display); font-weight: 400; letter-spacing: -.02em; line-height: 1.08; }
.display em { font-style: italic; color: var(--mint-ink); }

/* Header: light by default, transparent over the dark home hero */
.site-nav a[aria-current="page"] { color: var(--navy); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; border: 1px solid var(--navy-line); border-radius: 999px; background: var(--white); color: var(--navy); font: 600 .9rem var(--head); padding: 0 1rem; cursor: pointer; }
.head-actions { display: flex; gap: var(--s2); align-items: center; }
@media (min-width: 960px) { .menu-btn { display: none; } }
@media (max-width: 959px) {
  .site-nav.open { display: flex; position: absolute; top: 72px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--white); border-bottom: 1px solid var(--navy-line); padding: var(--s2) 1rem var(--s4); box-shadow: var(--shadow-2); }
  .site-nav.open a { color: var(--navy); padding: .8rem 0; border-bottom: 1px solid var(--navy-line); }
  .site-nav.open a::after { display: none; }
  .site-nav.open { top: 76px; }
  .site-nav.open .menu-only { display: block; }
  .site-head .btn-book { display: none; }
}

/* Home hero */
.nw { white-space: nowrap; }
.ctas { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s6); }
.btn-light-ghost { border-color: rgba(255, 255, 255, .65); color: var(--white); background: transparent; }
.btn-light-ghost:hover { background: var(--white); color: var(--navy); }

/* Inner page hero (light) */
.page-hero { padding: var(--s8) 0 var(--s7); background: var(--paper); border-bottom: 1px solid var(--navy-line); }
.page-hero h1 { font-family: var(--display); font-weight: 400; font-size: clamp(2.6rem, 5.6vw, 4.6rem); line-height: 1.03; max-width: 18ch; }
.page-hero h1 em { font-style: italic; color: var(--mint-ink); }
.page-hero .lede { margin-top: var(--s5); font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 56ch; }
.crumbs { font-size: .9rem; color: var(--muted); margin-bottom: var(--s4); }
.crumbs a { color: var(--muted); }
.page-hero.split .wrap { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 960px) { .page-hero.split .wrap { grid-template-columns: 1.1fr .9fr; } }
.page-hero.split img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }

section { padding: var(--s9) 0; }
.tight { padding-top: 0; }
.alt { background: var(--paper); }
.sec-head { max-width: 34ch; margin-bottom: var(--s7); }
.sec-head h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: var(--navy); }
.sec-head p { margin-top: var(--s3); color: var(--ink-2); font-size: 1.05rem; max-width: 56ch; }

/* Doors */
.for { font: 600 .95rem var(--head); color: var(--mint-ink); }
.facts { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--s2); }
.facts li { position: relative; padding-left: 1.2rem; }
.facts li::before { content: ""; position: absolute; left: 0; top: .6em; width: .45rem; height: .45rem; border-radius: 50%; background: var(--mint-ink); }

/* Formats */
.formats { list-style: none; margin: 0 0 var(--s4); padding: 0; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 760px) { .formats { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1200px) { .formats { grid-template-columns: repeat(5, 1fr); } .formats .fimg { aspect-ratio: 1 / 1; } }
.formats li { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.formats .fimg { background: var(--paper); aspect-ratio: 4 / 3; overflow: hidden; border-bottom: 1px solid var(--line); }
.formats .fimg img { width: 100%; height: 100%; object-fit: cover; }
.formats .fbody { padding: var(--s4) var(--s5) var(--s5); display: grid; gap: .4rem; align-content: start; }
.formats h3 { font: 600 1.05rem var(--head); color: var(--navy); }
.formats .means { font-size: .92rem; color: var(--ink-2); }
.formats .means a { color: var(--mint-ink); }
@media (max-width: 759px) {
  .formats li { flex-direction: row; }
  .formats .fimg { flex: 0 0 104px; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
  .formats .fbody { padding: var(--s3) var(--s4); }
}

/* Athedrop case study */
.proof .wrap { display: grid; gap: var(--s7); }
@media (min-width: 960px) { .proof .wrap { grid-template-columns: .9fr 1.1fr; align-items: start; } .proof .pic { position: sticky; top: var(--s6); } }
.proof .pic h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: var(--navy); margin-bottom: var(--s5); }
.proof .pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.proof .pic .row { display: flex; flex-wrap: wrap; gap: var(--s3); margin-top: var(--s5); align-items: center; }

/* Measured */
.measures { display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.measure { border-top: 2px solid var(--navy); padding-top: var(--s4); }
.measure .fig { font: 400 clamp(3rem, 6vw, 4.4rem)/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.measure .fig small { font: 600 .9rem var(--head); margin-left: .3em; }
.measure h3 { font-size: 1.05rem; margin-top: var(--s3); }
.measure p { margin-top: var(--s2); color: var(--ink-2); font-size: .95rem; }
.measure .src { margin-top: var(--s2); font-size: .82rem; color: var(--muted); }

/* Answer cards and article lists */

/* Long-form text (articles, legal, detail pages) */
.prose { max-width: 70ch; }
.wrap.prose { max-width: none; }
.wrap.prose > * { max-width: 70ch; }
.prose h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.8rem, 3vw, 2.4rem); margin: var(--s7) 0 var(--s3); }
.prose h3 { font-size: 1.15rem; margin: var(--s5) 0 var(--s2); }
.prose p, .prose ul, .prose ol, .prose table { margin: 0 0 var(--s4); }
.prose ul, .prose ol { padding-left: 1.3rem; }
.prose li { margin-bottom: .4rem; }
.prose table { border-collapse: collapse; width: 100%; font-size: .97rem; display: block; overflow-x: auto; }
.prose th, .prose td { text-align: left; border-bottom: 1px solid var(--navy-line); padding: .6rem .8rem .6rem 0; vertical-align: top; }
.prose th { color: var(--muted); font-weight: 600; }
.prose blockquote { margin: 0 0 var(--s4); padding: var(--s4) var(--s5); background: var(--mint-soft); border-radius: 12px; }
.prose .answer { font-size: 1.15rem; color: var(--ink); padding: var(--s5); background: var(--paper); border-radius: var(--r); margin-bottom: var(--s6); }
.meta { font-size: .9rem; color: var(--muted); margin-top: var(--s4); }
.sources { font-size: .9rem; color: var(--ink-2); }
.sources li { overflow-wrap: anywhere; }
.layout-2 { display: grid; gap: var(--s7); }
@media (min-width: 1000px) { .layout-2 { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; } .layout-2 aside { position: sticky; top: var(--s6); } }
.side-card { background: var(--mint-soft); border-radius: var(--r); padding: var(--s5); display: grid; gap: var(--s3); }
.side-card h2 { font-family: var(--display); font-weight: 400; font-size: 1.7rem; }
.side-card .btn { justify-self: start; }

/* Two-column feature rows */
.rows { display: grid; gap: var(--s6); }
.row-feature { display: grid; gap: var(--s6); align-items: center; }
@media (min-width: 900px) { .row-feature { grid-template-columns: 1fr 1fr; } .row-feature.flip > :first-child { order: 2; } }
.row-feature img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r); }
.row-feature h3 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); line-height: 1.05; }
.row-feature p { margin-top: var(--s3); color: var(--ink-2); }

/* Simple cards grid */
.cards { display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); list-style: none; padding: 0; margin: 0; }
.cards li { background: var(--white); border: 1px solid var(--navy-line); border-radius: var(--r); padding: var(--s5); }
.alt .cards li { background: var(--white); }
.cards h3 { font-size: 1.1rem; }
.cards p { margin-top: var(--s2); color: var(--ink-2); font-size: .97rem; }
@media (min-width: 1100px) { ol.cards { grid-template-columns: repeat(5, 1fr); } }

/* Enquiry form */
.enquiry { background: var(--white); border: 1px solid var(--navy-line); border-radius: var(--r); padding: clamp(1.5rem, 4vw, 2.5rem); display: grid; gap: var(--s4); }
.enquiry h2 { font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.4rem); }
.field { display: grid; gap: .35rem; }
.field label, .field legend { font: 600 .95rem var(--head); color: var(--navy); }
.field .hint { font-size: .85rem; color: var(--muted); }
.req { font: 400 .85rem var(--body); color: var(--muted); }
.err { display: block; font-size: .88rem; color: #B42318; font-weight: 600; }
.field [aria-invalid="true"] { border-color: #B42318; }
.field input, .field select, .field textarea { font: inherit; color: var(--ink); background: var(--white); border: 1px solid #767B93; border-radius: 10px; padding: .75rem .9rem; min-height: 48px; width: 100%; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--mint-ink); outline-offset: 1px; border-color: var(--mint-ink); }
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid { border-color: #B42318; }
.grid-fields { display: grid; gap: var(--s4); }
@media (min-width: 700px) { .grid-fields { grid-template-columns: 1fr 1fr; } }
.consent { display: flex; gap: var(--s3); align-items: flex-start; font-size: .93rem; color: var(--ink-2); }
.consent input { width: 22px; height: 22px; margin-top: .15rem; flex: none; accent-color: var(--navy); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0; padding: .8rem 1rem; border-radius: 10px; background: var(--mint-soft); color: var(--ink); }
.form-status[data-state="error"] { background: #FDECEA; color: #7A1A12; }
.enquiry .btn[disabled] { opacity: .6; cursor: progress; }

/* Call to action */
.cta .box { background: var(--mint-soft); border-radius: var(--r); padding: clamp(2rem, 5vw, 4rem); display: grid; gap: var(--s5); align-items: center; }
@media (min-width: 860px) { .cta .box { grid-template-columns: 1fr auto; } }
.cta h2 { font-size: clamp(2.3rem, 4.6vw, 3.6rem); }
.cta p { margin-top: var(--s3); color: var(--ink-2); }
.cta .row { display: flex; flex-wrap: wrap; gap: var(--s3); }

/* Long placeholders (facts still to come) must wrap on phones */
.prose .ph, .cards .ph, .lede .ph { white-space: normal; }

/* ---- 2.0 (20 Oct 2026): photo-led, one action per section, at most three lines of copy ---- */
.i { vertical-align: -.18em; }
.sec-title { font-size: clamp(2.3rem, 4.4vw, 3.6rem); color: var(--navy); max-width: 22ch; margin-bottom: var(--s7); }

/* Proof bar: four sourced facts under the hero */

/* Doors on real photos */

/* Steps: icon, title, one line */
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); counter-reset: step; }
.steps li { position: relative; padding-top: var(--s5); border-top: 2px solid var(--navy); counter-increment: step; }
.steps li > .i { width: 2rem; height: 2rem; color: var(--mint-ink); }
.steps h3 { font-size: 1.15rem; margin-top: var(--s3); }

.steps p { margin-top: var(--s2); color: var(--ink-2); font-size: .97rem; }
.steps .when { font: 600 .85rem var(--head); color: var(--mint-ink); }
.more-link { margin-top: var(--s6); }
.steps-photo { display: grid; gap: var(--s6); align-items: start; }
@media (min-width: 1000px) { .steps-photo { grid-template-columns: 4fr 7fr; } .steps-photo .steps { grid-template-columns: 1fr; gap: var(--s4); } }
.steps-intro { margin-bottom: var(--s5); color: var(--ink-2); max-width: 60ch; }
/* Five-step list: number, title and weeks share one top line; the description sits under the title */
.steps-photo .steps li { display: grid; grid-template-columns: 3rem 1fr auto; column-gap: var(--s4); align-items: start; padding-top: var(--s4); }
.steps-photo .steps .step-n { grid-row: span 2; font-size: 1.9rem; line-height: 1; margin-top: -.12rem; }
.steps-photo .steps h3 { margin-top: 0; font-size: 1.1rem; line-height: 1.5rem; }
.steps-photo .steps p:not(.when) { grid-column: 2; margin-top: .25rem; }
.steps-photo .steps .when { grid-column: 3; grid-row: 1; white-space: nowrap; margin: 0; line-height: 1.5rem; }
.steps-photo .sp { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 16 / 10; }
.steps-photo .sp img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 1000px) { .steps-photo { align-items: stretch; } .steps-photo .sp { aspect-ratio: auto; min-height: 100%; } }

/* Formats strip with segments */
.segments { margin-top: var(--s6); display: flex; flex-wrap: wrap; align-items: center; gap: .5rem .8rem; font: 500 1rem var(--head); color: var(--navy); }
.segments > span:first-child { color: var(--muted); }
.segments .i { color: var(--mint-ink); }
.note { margin-top: var(--s4); font-size: .85rem; color: var(--muted); }

/* Athedrop story band */
.story .wrap { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 900px) { .story .wrap { grid-template-columns: 5fr 6fr; } }
.story img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r); }
.story h2 { font-size: clamp(2.3rem, 4.4vw, 3.6rem); }
.story p { margin-top: var(--s4); color: var(--ink-2); max-width: 48ch; }
.mini-timeline { list-style: none; padding: 0; margin: var(--s5) 0; display: grid; gap: var(--s2); }
.mini-timeline li { display: grid; grid-template-columns: 6.5rem 1fr; gap: var(--s3); padding: var(--s3) 0; border-bottom: 1px solid var(--navy-line); }
.mini-timeline span { font: 600 .9rem var(--head); color: var(--mint-ink); font-variant-numeric: tabular-nums; }

/* FAQ: native details */
.layout-faq { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .layout-faq { grid-template-columns: 1fr 1.4fr; align-items: start; } .layout-faq .sec-title { position: sticky; top: 96px; } }
.faq details { border-bottom: 1px solid var(--navy-line); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s4); align-items: center; padding: var(--s4) 0; min-height: 44px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 1.6rem/1 var(--head); color: var(--mint-ink); flex: none; transition: transform .18s ease-out; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq summary h3 { font-size: 1.08rem; font-weight: 500; }
.faq details p { padding: 0 0 var(--s4); color: var(--ink-2); max-width: 62ch; }

/* Private label: numbers row */
.numbers { padding: var(--s6) 0; border-bottom: 1px solid var(--navy-line); }
.numbers ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); }
.numbers .fig { font: 400 clamp(2rem, 3vw, 2.6rem)/1.05 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.numbers li p:last-child { font-size: .92rem; color: var(--ink-2); margin-top: .3rem; }

/* Who does what */
.split-duty, .dos { display: grid; gap: var(--s5); }
@media (min-width: 800px) { .split-duty, .dos { grid-template-columns: 1fr 1fr; } }
.split-duty > div, .dos > div { border-radius: var(--r); padding: var(--s6); background: var(--paper); }
.split-duty .us { background: var(--mint-soft); color: var(--ink); }
.split-duty .us h3 { color: var(--navy); }
.split-duty h3, .dos h3 { font: 400 2rem/1.05 var(--display); }
.split-duty ul, .dos ul { margin: var(--s4) 0 0; padding: 0; list-style: none; display: grid; gap: var(--s3); }
.split-duty li, .dos li { padding-left: 1.4rem; position: relative; }
.split-duty li::before, .dos li::before { content: ""; position: absolute; left: 0; top: .62em; width: .5rem; height: .5rem; border-radius: 50%; background: var(--mint); }
.dos { margin-top: 0; }
.dos > div { background: var(--white); border: 1px solid var(--navy-line); }
.dos .dont li::before { background: #B42318; }

/* Format and route table */
.route-table { overflow-x: auto; }
.route-table table { width: 100%; border-collapse: collapse; min-width: 560px; }
.route-table th, .route-table td { text-align: left; padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--navy-line); vertical-align: top; }
.route-table thead th { font: 600 .85rem var(--head); color: var(--muted); }
.route-table tbody th { font: 600 1rem var(--head); color: var(--navy); white-space: nowrap; }
.route-table tbody th .i { color: var(--mint-ink); margin-right: .3rem; }
.route-table td { color: var(--ink-2); }

/* ---- 2.0 inner pages ---- */
:root { --series-a: #16865C; --series-b: #6A66C2; } /* study chart pair: validated for colour-blind separation and 3:1 contrast (dataviz validator, 20 Oct 2026) */

/* Spec sheet as a definition grid */
.spec { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); border-top: 1px solid var(--navy-line); }
.spec > div { padding: var(--s5) var(--s5) var(--s5) 0; border-bottom: 1px solid var(--navy-line); }
.spec dt { font: 600 .85rem var(--head); color: var(--muted); }
.spec dd { margin: .35rem 0 0; color: var(--ink); }
.spec .big { display: block; font: 400 2.2rem/1.05 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; }
.spec .src { display: block; font-size: .8rem; color: var(--muted); margin-top: .2rem; }
.route-table td.yes { color: var(--mint-ink); font-weight: 600; white-space: nowrap; }

/* Study: three small multiples, each on its own scale */
.strengths { list-style: none; margin: 0 0 var(--s8); padding: 0; display: grid; gap: var(--s5) var(--s6); grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.strengths li { padding-top: var(--s4); border-top: 2px solid var(--navy); display: flex; flex-direction: column; gap: var(--s2); }
.strengths .fig { font: 400 clamp(2.2rem, 3.2vw, 2.8rem)/1 var(--display); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.strengths .lead .fig { color: var(--mint-ink); }
.strengths .fig small { font: 500 .95rem var(--head); color: var(--muted); margin: 0 .15em; }
.strengths h3 { font-size: 1.02rem; }
.strengths p { font-size: .95rem; color: var(--ink-2); }
.strengths .src { margin-top: auto; padding-top: var(--s2); font-size: .8rem; color: var(--muted); }
.study-h { font: 400 1.8rem/1.1 var(--display); margin-bottom: var(--s3); }
.study { display: grid; gap: var(--s7); align-items: start; }
@media (min-width: 1000px) { .study { grid-template-columns: 5fr 6fr; } }
.lede-sm { font-size: 1.15rem; color: var(--ink); max-width: 48ch; }
.study .note { max-width: 52ch; }
.pk { margin: 0; padding: var(--s6); background: var(--paper); border-radius: var(--r); display: grid; gap: var(--s5); }
.pk-legend { list-style: none; margin: 0; padding: 0; display: flex; gap: var(--s5); font-size: .9rem; color: var(--ink-2); }
.pk-legend li { display: flex; align-items: center; gap: .45rem; }
.pk-legend li::before { content: ""; width: 14px; height: 14px; border-radius: 4px; background: var(--series-a); }
.pk-legend li.b::before { background: var(--series-b); }
.pk-title { font: 600 .98rem var(--head); color: var(--navy); margin-bottom: var(--s2); }
.pk-title span { font: 400 .85rem var(--body); color: var(--muted); margin-left: .3rem; }
.pk-row { display: grid; grid-template-columns: 4.5rem 1fr 4.6rem; align-items: center; gap: var(--s3); margin-top: .35rem; }
.pk-name { font-size: .88rem; color: var(--ink-2); }
.pk-track { display: block; height: 14px; }
.pk-bar { display: block; height: 100%; min-width: 3px; border-radius: 0 4px 4px 0; background: var(--series-a); }
.pk-bar.b { background: var(--series-b); }
.pk-val { font: 600 .9rem var(--head); color: var(--ink); text-align: right; font-variant-numeric: tabular-nums; }
.pk figcaption { font-size: .8rem; color: var(--muted); }

/* Three points with icons (not cards) */
.points { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.points h3 { font-size: 1.15rem; margin-top: var(--s3); }
.points p { margin-top: var(--s2); color: var(--ink-2); }
.more-link { display: flex; flex-wrap: wrap; gap: var(--s2) var(--s6); }

/* Evidence: document cards that read like documents */
.ask { margin: 0; padding-left: 1.4rem; display: grid; gap: var(--s4); font-size: 1.08rem; color: var(--ink); }
.ask li::marker { font: 600 1rem var(--head); color: var(--mint-ink); }


/* About: team */
.team { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6); grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.team h3 { margin-top: var(--s4); font-size: 1.1rem; }
.team p { color: var(--ink-2); }

/* Contact */
.contact-line { display: grid; gap: .15rem; }
.contact-line .label { font: 600 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Knowledge Hub */
.topics { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s6) var(--s4); grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.topics a { display: block; text-decoration: none; }
.topics img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-in); }
.topics h3 { margin-top: var(--s3); font: 400 1.45rem/1.15 var(--display); color: var(--navy); }
@media (max-width: 640px) { .topics { grid-template-columns: 1fr 1fr; gap: var(--s5) var(--s3); } .topics h3 { font-size: 1.15rem; } }

/* Hero chain: root to formula (Behance ref 01) */
.chain { list-style: none; margin: var(--s5) 0 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .6rem; font: 500 .95rem var(--head); color: var(--ink-2); }
.chain li { display: inline-flex; align-items: center; gap: .6rem; }
.chain li + li::before { content: ""; width: 1.6rem; height: 1px; background: var(--mint-ink); }
.chain li:last-child { color: var(--mint-ink); }

/* Three audience doors (Behance ref 03): tall photo cards, one colour each */
.doors3 { display: grid; gap: var(--s5); }
@media (min-width: 1000px) { .doors3 { grid-template-columns: repeat(3, 1fr); } }
.door3 { border-radius: var(--r); overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.door3 img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.door3 .body { padding: var(--s5) var(--s5) var(--s6); display: flex; flex-direction: column; gap: var(--s3); }
.door3 h3 { font-family: var(--display); font-weight: 400; font-size: clamp(2rem, 2.8vw, 2.5rem); line-height: 1.02; }
.door3 .btn { align-self: flex-start; margin-top: auto; }

/* Evidence data panels (Behance ref 08): readout first, then the labelled facts */
.panels { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); }
.panel { background: var(--white); border: 1px solid var(--navy-line); border-radius: 12px; padding: var(--s5); display: grid; gap: var(--s4); align-content: start; }
.panel-head { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.panel-head h3 { font-size: 1rem; flex: 1 1 auto; }
.chip { font: 600 .75rem var(--head); color: var(--navy); background: var(--mint-soft); border-radius: 999px; padding: .2rem .6rem; }
.readout { font: 400 clamp(2.4rem, 3.4vw, 3rem)/1 var(--display); color: var(--navy); font-variant-numeric: tabular-nums; padding: var(--s4) 0; border-top: 2px solid var(--navy); border-bottom: 1px solid var(--navy-line); }
.readout span { display: block; font: 500 .85rem/1.4 var(--body); color: var(--muted); margin-top: .5rem; }
.panel-data { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--s3) var(--s4); }
.panel-data dt { font: 600 .72rem var(--head); color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.panel-data dd { margin: .15rem 0 0; font-size: .9rem; color: var(--ink); font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.panel-shows { font-size: .95rem; color: var(--ink-2); }
.panel details summary { list-style: none; cursor: pointer; font: 600 .9rem var(--head); color: var(--mint-ink); min-height: 44px; display: inline-flex; align-items: center; gap: .55rem; }
.panel details summary::-webkit-details-marker { display: none; }
.panel details summary::after { content: "+"; display: inline-grid; place-items: center; width: 1.5rem; height: 1.5rem; border: 1.5px solid currentColor; border-radius: 50%; font: 500 1rem/1 var(--head); transition: transform .18s ease-out; }
.panel details[open] summary::after { transform: rotate(45deg); }
.panel details summary:hover { text-decoration: underline; text-underline-offset: .2em; }
.panel details p { font-size: .9rem; color: var(--ink-2); }

.btn sup.reg, .link sup.reg { line-height: 1; align-self: flex-start; margin-left: -.42rem; margin-top: .15rem; }

/* Home hero (22 Oct 2026): the full photo with a soft wash only where the text sits (Alvin liked the wash, but quieter).
   Phones: photo on top, text below, no wash. */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--paper); padding: 0; }
.hero > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.hero .wrap { padding: var(--s7) 0 var(--s8); }
@media (min-width: 1000px) {
  .hero { min-height: min(78svh, 720px); display: flex; align-items: center; }
  .hero > img { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; z-index: -2; }
  .hero::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(245, 246, 242, .9) 0%, rgba(245, 246, 242, .8) 30%, rgba(245, 246, 242, .55) 42%, rgba(245, 246, 242, 0) 58%); }
  .hero .lede { max-width: 40ch; }
}
.hero h1 { color: var(--navy); font-size: clamp(2.5rem, 4.6vw, 4.2rem); max-width: 17ch; }
.hero .lede { margin-top: var(--s4); font-size: clamp(1.05rem, 1.4vw, 1.2rem); color: var(--ink-2); }
/* The one authored moment: the hero photo settles in once on load */
@media (prefers-reduced-motion: no-preference) {
  .hero > img { animation: settle 1.1s cubic-bezier(.2, .7, .2, 1) both; }
  @keyframes settle { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
}

/* Proof bar, light: serif figures, thin rules */
.proofbar { padding: var(--s4) 0 var(--s8); background: var(--white); }
.proofbar ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s3); grid-template-columns: 1fr 1fr; }
.proofbar li { display: flex; flex-direction: column; justify-content: flex-start; gap: var(--s4); padding: var(--s5); border-radius: var(--r); background: var(--paper); }
.proofbar .lead { grid-column: 1 / -1; background: var(--mint-soft); }
@media (min-width: 900px) { .proofbar ul { grid-template-columns: 1.5fr 1fr 1fr; } .proofbar .lead { grid-column: 1; grid-row: span 2; } }
.proofbar .fig { font: 400 clamp(2.3rem, 3.4vw, 3rem)/1 var(--display); color: var(--navy); font-variant-numeric: lining-nums tabular-nums; }
.proofbar .lead { container-type: inline-size; justify-content: space-between; }
.proofbar .lead .fig { font-size: 58cqi; line-height: .85; letter-spacing: -.03em; color: var(--mint-ink); white-space: nowrap; }  /* sized to the card, so 33x fills it at any width */
.proofbar .lbl { font: 600 .95rem var(--head); color: var(--navy); }
.proofbar p { font-size: .92rem; margin-top: .3rem; color: var(--ink-2); }
.proofbar .src { font-size: .82rem; color: var(--muted); }

/* Product cards and sections (HANAA, Athedrop) in the site's own language */
.pcards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s5); }
@media (min-width: 900px) { .pcards { grid-template-columns: 1fr 1fr; } }
.pcard { display: flex; flex-direction: column; gap: var(--s4); height: 100%; padding: var(--s5); border-radius: var(--r); background: var(--paper); text-decoration: none; transition: background-color .18s ease-out; }
.pcard:hover { background: var(--mint-soft); }
.pcard-top { display: flex; justify-content: space-between; gap: var(--s4); align-items: flex-start; }
.pcard-name { display: block; font: 400 2rem/1.05 var(--display); color: var(--navy); }
.pcard-sub { display: block; margin-top: .3rem; font-size: .92rem; color: var(--ink-2); }
.go { flex: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--navy-line); background: var(--white); display: grid; place-items: center; color: var(--navy); }
.pcard:hover .go { background: var(--navy); color: var(--white); }
.pcard img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
.keyfacts { margin: var(--s5) 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); border-top: 1px solid var(--navy-line); }
.keyfacts > div { padding: var(--s4) var(--s4) var(--s4) 0; border-bottom: 1px solid var(--navy-line); }
.keyfacts dt { font: 600 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { margin: .3rem 0 0; font: 400 1.25rem/1.25 var(--display); color: var(--navy); text-wrap: pretty; }
.pull { margin-top: var(--s4); padding-left: var(--s4); border-left: 2px solid var(--mint-ink); font: italic 400 1.35rem/1.35 var(--display); color: var(--navy); }
.product { display: grid; gap: var(--s7); align-items: center; }
@media (min-width: 1000px) { .product { grid-template-columns: 1fr 1fr; } }
.product-pic { border-radius: var(--r); overflow: hidden; background: var(--paper); }
.product-pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; }
.product .sec-title { margin-bottom: var(--s4); }

/* Premium pass (20 Oct 2026) */
.door3 .who { font: 600 .9rem var(--head); color: var(--mint-ink); margin-top: -.2rem; }


/* Inner page heroes, matched to home (22 Oct 2026): text on the paper panel, the photo full-bleed on the right half */
.page-hero { background: var(--paper); border-bottom: 0; padding: var(--s8) 0 var(--s7); }
.page-hero.split { position: relative; overflow: hidden; padding: 0; }
.page-hero.split .wrap { display: block; padding: var(--s8) 0 var(--s7); }
.page-hero.split .wrap > img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); margin-top: var(--s6); }
@media (min-width: 1000px) {
  .page-hero.split { min-height: min(64svh, 600px); display: flex; align-items: center; }
  .page-hero.split .wrap > img { position: absolute; top: 0; right: 0; width: 50%; height: 100%; aspect-ratio: auto; border-radius: 0; margin: 0; }
  .page-hero.split .wrap > div { max-width: calc(50% - 3rem); }
}
@media (prefers-reduced-motion: no-preference) { .page-hero.split .wrap > img { animation: settle 1.1s cubic-bezier(.2, .7, .2, 1) both; } }

/* One card style (22 Oct 2026): neutral cards are white with a hairline and one corner size; accent cards (mint, navy) carry no border */
.cards li, .panel, .pcard, .pk, .dos > div, .split-duty > div:not(.us), .door3, .enquiry, .product-pic { background: var(--white); border: 1px solid var(--line); border-radius: var(--r); }
.pcard { transition: border-color .18s ease-out; }
.pcard:hover { background: var(--white); border-color: var(--mint-ink); }
.side-card, .cta .box { border: 0; }
.product .team { grid-template-columns: 1fr; gap: 0; border-top: 1px solid var(--navy-line); }
.product .team li { padding: var(--s4) 0; border-bottom: 1px solid var(--navy-line); }
.product .team h3 { margin-top: 0; font: 400 1.6rem/1.1 var(--display); }
.product .team p { margin-top: .3rem; font: 600 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }

/* Certifications (22 Oct 2026): certificate-style cards, one shared request line under them */
.certband { padding: var(--s8) 0; border-bottom: 1px solid var(--line); }
.certdocs ul { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.certdoc { position: relative; display: grid; gap: var(--s3); align-content: start; padding: var(--s5) var(--s5) var(--s5); background: var(--white); border: 1px solid var(--line); border-radius: 6px;
  box-shadow: 0 1px 2px rgba(14, 12, 46, .05), 0 10px 24px rgba(14, 12, 46, .06); }
.certdoc::before { content: ""; position: absolute; inset: 8px; border: 1px solid rgba(23, 20, 71, .08); border-radius: 3px; pointer-events: none; }
.certdoc .kind { font: 600 .7rem var(--head); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.certdoc h3 { font: 400 1.9rem/1.05 var(--display); color: var(--navy); padding-bottom: var(--s3); border-bottom: 1px solid var(--line); }
.certdoc dl { margin: 0; display: grid; gap: var(--s3); align-content: start; }
.certdoc dt { font: 600 .66rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.certdoc dd { margin: .15rem 0 0; font-size: .9rem; color: var(--ink); }
@supports (grid-template-rows: subgrid) { .certdocs ul { grid-auto-rows: auto; } .certdoc { grid-row: span 3; grid-template-rows: subgrid; } }
.certdocs-foot { margin-top: var(--s5); padding-top: var(--s4); border-top: 1px solid var(--line); font-size: .9rem; color: var(--ink-2); }
.certdocs-foot a { color: var(--navy); font-weight: 600; }

/* Steps: numbered, no icons (22 Oct 2026) */
.step-n { display: block; font: 400 2.6rem/1 var(--display); color: var(--mint-ink); font-variant-numeric: lining-nums tabular-nums; }
.steps h3 { margin-top: var(--s3); }

/* Reports on file: every row lines up across the cards in a row (title, figure, details, findings, limits, method) */
@supports (grid-template-rows: subgrid) {
  .panels { row-gap: 0; }
  .panel { grid-row: span 5; grid-template-rows: subgrid; row-gap: var(--s4); margin-bottom: var(--s4); }
}
.panel-head { align-items: flex-start; }
.site-foot .social { display: inline-grid; place-items: center; width: 44px; height: 44px; margin-left: -10px; border-radius: 50%; color: var(--on-navy-2); transition: color .18s ease-out, background-color .18s ease-out; }
.site-foot .social:hover { color: var(--white); background: rgba(255, 255, 255, .08); }
.site-foot .social .i { width: 24px; height: 24px; }
/* Doors: title, audience line, bullets and button sit on the same lines across all three cards */
@media (min-width: 1000px) { @supports (grid-template-rows: subgrid) {
  .doors3 { row-gap: 0; }
  .door3 { grid-row: span 5; grid-template-rows: subgrid; margin-bottom: var(--s5); }
  .door3 .body { grid-row: span 4; display: grid; grid-template-rows: subgrid; row-gap: var(--s3); align-items: start; }
  .door3 .btn { align-self: end; justify-self: start; }
} }
.fig .x { font-size: 1.3em; line-height: 0; margin-left: .04em; }

/* Premium pass (22 Oct 2026): article cards on the home page, quiet motion, frosted header */
@media (min-width: 900px) { .topics-3 { grid-template-columns: repeat(3, 1fr); } .topics-3 img { aspect-ratio: 4 / 3; } }

/* Interactions (28 Oct 2026, from the interactions before/after review). Motion only gives feedback or orientation,
   the page works without the script, and every effect is off under reduced motion. */
:root { --ease-out: cubic-bezier(.16, 1, .3, 1); --ease-std: cubic-bezier(.2, 0, 0, 1); interpolate-size: allow-keywords; }

/* Menu: one mint line glides to the link you point at or tab to (desktop, once site.js adds it) */
@media (min-width: 960px) { .site-nav { position: relative; } .site-nav.has-ink a::after { display: none; } }
@media (max-width: 959px) { .nav-ink { display: none; } }
.site-nav a { transition: color .12s var(--ease-std); }
.site-nav a.is-hot { color: var(--navy); }
.nav-ink { position: absolute; left: 0; bottom: .35rem; height: 2px; width: var(--w, 0); border-radius: 2px; background: var(--mint-ink); opacity: 0;
  transform: translateX(var(--x, 0)); pointer-events: none; transition: transform .32s var(--ease-out), width .32s var(--ease-out), opacity .2s var(--ease-std); }
.nav-ink.on { opacity: 1; }
.nav-ink.jump { transition: opacity .2s var(--ease-std); }

/* Header slims and gains a soft shadow once the page scrolls */
.site-head { transition: box-shadow .2s var(--ease-std), border-color .2s var(--ease-std); }
.site-head .wrap { transition: min-height .2s var(--ease-std); }
.site-head .logo img { transition: height .2s var(--ease-std); }
.site-head.is-scrolled { box-shadow: 0 6px 20px -12px rgba(23, 20, 71, .28); border-bottom-color: transparent; }
.site-head.is-scrolled .wrap { min-height: 62px; }
.site-head.is-scrolled .logo img { height: 32px; }

/* Buttons: hover changes colour only, a slight press on click; no travelling arrows or fills (Alvin, 4 Nov 2026: read as template) */
.btn { transition: background-color .12s var(--ease-std), color .12s var(--ease-std), border-color .12s var(--ease-std), transform 80ms var(--ease-std); }
.btn:active { transform: scale(.97); }

/* Proof figures count up once (site.js); screen readers get the real figure only */
.proofbar .fig .count { display: inline-block; font-variant-numeric: tabular-nums; }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* "Three ways" cards: the button's link covers the whole card, and the card says so on hover and keyboard focus */
.door3 { position: relative; isolation: isolate; transition: border-color .2s var(--ease-std); }
.door3 .btn::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.door3 .btn:focus-visible { outline-offset: 4px; }
.door3:hover, .door3:focus-within { border-color: var(--mint-ink); }

/* Product and article photos sit still in their frame */
.pimg { display: block; overflow: hidden; }
.pimg img { display: block; border-radius: 0; }
.pcard .pimg { border-radius: var(--r); }
.topics .pimg { border-radius: var(--r-in); }
.pcard .go { transition: background-color .2s var(--ease-std), color .2s var(--ease-std); }

/* FAQ: answers glide open; the question you point at turns green */
.faq summary h3 { transition: color .12s var(--ease-std); }
.faq summary:hover h3 { color: var(--mint-ink); }
.faq summary::after { transition: transform .32s var(--ease-out); }
.faq details::details-content { height: 0; overflow: clip; transition: height .32s var(--ease-out), content-visibility .32s allow-discrete; }
.faq details[open]::details-content { height: auto; }

/* Card hover: the display title turns mint italic, the same voice as the hero's italic phrase (Alvin, 4 Nov 2026).
   One signal per card, colour eased, and it still reads with motion off. Articles keep a "Read" cue that is always there. */
.topics h3, .door3 h3, .pcard-name { transition: color .16s var(--ease-std); }
.topics a:hover h3, .topics a:focus-visible h3, .door3:hover h3, .door3:focus-within h3, .pcard:hover .pcard-name, .pcard:focus-visible .pcard-name { font-style: italic; color: var(--mint-ink); }
.topics .read { display: flex; align-items: center; gap: .35rem; margin-top: .35rem; font: 500 .85rem var(--head); color: var(--mint-ink); }
.topics .read .i { width: 1rem; height: 1rem; }

/* Sections below the fold fade up as they arrive (site.js); their cards follow 60 ms apart */
.reveal-wait > .wrap { opacity: 0; transform: translateY(10px); }
.reveal-in > .wrap { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal-wait :is(.door3, .pcards > li, .topics > li, .stepcards > li) { opacity: 0; transform: translateY(14px); }
.reveal-in :is(.door3, .pcards > li, .topics > li, .stepcards > li) { transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.reveal-in :is(.door3, .pcards > li, .topics > li, .stepcards > li):nth-child(2) { transition-delay: 60ms; }
.reveal-in :is(.door3, .pcards > li, .topics > li, .stepcards > li):nth-child(3) { transition-delay: 120ms; }
.reveal-in .stepcards > li:nth-child(4) { transition-delay: 180ms; }
.reveal-in .stepcards > li:nth-child(5) { transition-delay: 240ms; }

/* Phone menu drops in */
@media (max-width: 959px) {
  .site-nav.open { transition: opacity .2s var(--ease-std), transform .2s var(--ease-out); }
  @starting-style { .site-nav.open { opacity: 0; transform: translateY(-8px); } }
}

@media (prefers-reduced-motion: reduce) {
  .nav-ink, .btn, .door3, .pcard .go, .faq details::details-content, .site-head, .site-head .wrap, .site-head .logo img { transition: none !important; }
  .btn:active { transform: none; }
}

/* V3 pieces (28 Oct 2026, from the V3 direction B comparison): trust badge, lab row, figure grid, brief-to-stock cards */
.labs { padding: var(--s7) 0 var(--s5); text-align: center; background: var(--white); }
.labs h2 { font: 500 .9rem var(--head); color: var(--muted); }
.labs ul { list-style: none; margin: var(--s3) 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: var(--s2) var(--s7); font: 400 clamp(1.6rem, 3vw, 2.4rem)/1.2 var(--display); color: var(--ink-2); }
.labs .link { margin-top: var(--s2); font-size: .92rem; }
.journey-head { display: grid; gap: var(--s4); align-items: end; margin-bottom: var(--s6); }
.journey-head .sec-title { margin-bottom: 0; }
.journey-head p { color: var(--ink-2); max-width: 44ch; }
@media (min-width: 900px) { .journey-head { grid-template-columns: 1.4fr 1fr; } }
.stepcards { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 640px) { .stepcards { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .stepcards { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .stepcards { grid-template-columns: repeat(5, 1fr); } }
.stepcards a { position: relative; display: flex; flex-direction: column; height: 100%; border: 1px solid var(--line); border-radius: var(--r); background: var(--white); overflow: hidden; text-decoration: none; color: inherit; transition: border-color .2s var(--ease-std); }
.stepcards a:hover, .stepcards a:focus-visible { border-color: var(--mint-ink); }
.stepcards .pimg img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.stepcards .n { position: absolute; top: var(--s3); left: var(--s3); display: grid; place-items: center; width: 2.2rem; height: 2.2rem; border-radius: 50%; background: var(--white); border: 1px solid var(--line); box-shadow: 0 2px 8px -4px rgba(23, 20, 71, .3); font: 600 .95rem var(--head); color: var(--navy); }
.stepcards h3 { margin: var(--s5) var(--s5) 0; font-size: 1.15rem; }
.stepcards p { margin: var(--s2) var(--s5) 0; color: var(--ink-2); }
.stepcards .when { margin-top: auto; padding-top: var(--s3); margin-bottom: var(--s5); font: 600 .9rem var(--head); color: var(--mint-ink); }
.stepcards a > p:last-child { margin-bottom: var(--s5); }
.journey-cta { margin-top: var(--s6); text-align: center; }
@media (prefers-reduced-motion: reduce) { .stepcards a { transition: none; } }
@media (max-width: 560px) { .proofbar li { padding: var(--s4); gap: var(--s4); } .proofbar li:not(.lead) .fig { font-size: 1.85rem; white-space: nowrap; } }
.split-duty .us li::before { background: var(--mint-ink); }

/* V4 story pieces (29 Oct 2026): the shelf problem, the Athedrop timeline, the paperwork lists */
.shelf .wrap { display: grid; gap: var(--s6); }
@media (min-width: 1000px) { .shelf .wrap { grid-template-columns: 1fr 1.1fr; align-items: start; } }
.shelf h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); line-height: 1.05; }
.shelf-body { display: grid; gap: var(--s5); font-size: 1.08rem; color: var(--ink-2); }
.shelf-fact { padding: var(--s5); border-radius: var(--r); background: var(--mint-soft); color: var(--ink); }
.shelf-fact .k { font: 600 .8rem var(--head); letter-spacing: .06em; text-transform: uppercase; color: var(--mint-ink); margin-bottom: var(--s2); }
.shelf-fact .src { margin-top: var(--s3); font-size: .85rem; color: var(--muted); }
.shelf-fact .src a { color: var(--mint-ink); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--s4); grid-template-columns: 1fr; }
@media (min-width: 600px) { .timeline { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .timeline { grid-template-columns: repeat(4, 1fr); } }
.timeline li { padding: var(--s4) var(--s4) var(--s5); border-top: 2px solid var(--navy); background: var(--white); border-radius: 0 0 var(--r-in) var(--r-in); }
.timeline .when { font: 400 1.5rem/1.1 var(--display); color: var(--mint-ink); margin-bottom: var(--s2); }
.timeline h3 { font-size: 1.02rem; }
.timeline p { margin-top: .35rem; font-size: .92rem; color: var(--ink-2); }
.timeline .src { font-size: .8rem; color: var(--muted); }
.timeline .next { background: var(--mint-soft); border-top-color: var(--mint-ink); }
.sec-lede { margin: calc(-1 * var(--s4)) 0 var(--s6); color: var(--ink-2); max-width: 60ch; }

/* Label preview (30 Oct 2026): the self-contained preview page in a frame; tall on phones, where the controls stack under the photo */
.label-frame { display: block; width: 100%; height: 1180px; border: 0; border-radius: var(--r); background: var(--paper); }
@media (max-width: 979px) { .label-frame { height: 1900px; } }

/* 404: the old site's destinations as plain rows; the name turns mint italic on hover, like the cards */
.lost-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.lost-links a { display: grid; grid-template-columns: minmax(10rem, 16rem) 1fr auto; gap: var(--s2) var(--s5); align-items: baseline; padding: var(--s4) 0; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink-2); }
.lost-links .ll-name { font: 400 1.6rem/1.1 var(--display); color: var(--navy); transition: color .16s var(--ease-std); }
.lost-links a:hover .ll-name, .lost-links a:focus-visible .ll-name { font-style: italic; color: var(--mint-ink); }
.lost-links .i { color: var(--navy); }
@media (max-width: 640px) { .lost-links a { grid-template-columns: 1fr auto; } .lost-links .ll-what { grid-column: 1; } .lost-links .i { grid-row: 1; grid-column: 2; } }
