/*
 * dial (lsd-trip.com)
 * 1. Concept: a twelve hour trip clock. An LSD trip is measured in hours, so the site is a watch face whose
 *    segments are the phases (onset, coming up, peak, plateau, coming down, after); the test is the dot before zero.
 * 2. Type: Sora (dial numerals, headings, UI) + Lora (reading text, report logs in italic). Self-hosted woff2.
 * 3. Palette: dial #eef1f6, face #ffffff, ink #16182a, magenta #b02a5e (accent, CTA); phase ramp saffron #e3a72f,
 *    persimmon #e0703d, magenta, violet #6a3fa0, cobalt #3460a8, teal #3f7f74 used only as segment colours.
 * 4. Layout signature: radial dial interface. Home = interactive SVG clock face next to a phase list that opens
 *    one phase at a time; "T minus 0:15" test band; chapters as small dials. Articles = reading dial in a left rail.
 * 5. Detail: report logs as time-stamped rows ("T+2:50") with a hairline running down like a second hand.
 */

@font-face { font-family: Sora; src: url(fonts/sora-latin.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Sora; src: url(fonts/sora-latin-ext.woff2) format("woff2"); font-weight: 400 700; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Lora; src: url(fonts/lora-latin.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lora; src: url(fonts/lora-latin-ext.woff2) format("woff2"); font-weight: 400 600; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: Lora; font-style: italic; src: url(fonts/lora-italic-latin.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: Lora; font-style: italic; src: url(fonts/lora-italic-latin-ext.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  --dial: #eef1f6; --face: #fff; --ink: #16182a; --muted: #4a4f63; --line: #d3d8e2; --accent: #b02a5e; --accent-d: #8e1f4a;
  --sans: Sora, ui-sans-serif, system-ui, sans-serif; --serif: Lora, Georgia, serif;
  --r: 22px; --wrap: 76rem; --pad: clamp(1.1rem, 4vw, 2.5rem);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body { margin: 0; background: var(--dial); color: var(--ink); font: 1.0625rem/1.68 var(--serif); }
img { max-width: 100%; height: auto; }
a { color: var(--accent-d); text-underline-offset: .18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 4px; }
.skip { position: absolute; left: -999px; top: .5rem; background: var(--ink); color: #fff; padding: .5rem 1rem; z-index: 50; }
.skip:focus { left: .5rem; }
h1, h2, h3 { font-family: var(--sans); line-height: 1.15; letter-spacing: -.02em; margin: 0; }
.kicker { display: flex; flex-wrap: wrap; gap: .4rem; margin: 0 0 1.1rem; font: 600 .74rem/1 var(--sans); letter-spacing: .06em; text-transform: uppercase; }
.kicker span { background: var(--face); border: 1px solid var(--line); border-radius: 99px; padding: .45rem .7rem; color: var(--muted); }
.kicker .k-composite { border-color: var(--accent); color: var(--accent-d); }

/* bar */
.bar { position: sticky; top: 0; z-index: 20; background: rgb(238 241 246 / .94); border-bottom: 1px solid var(--line); }
.bar-in { max-width: var(--wrap); margin: 0 auto; padding: .6rem var(--pad); display: flex; align-items: center; gap: 1rem; }
.brand { display: flex; align-items: center; gap: .55rem; color: var(--ink); text-decoration: none; font: 700 1.08rem/1 var(--sans); letter-spacing: -.02em; margin-right: auto; }
.nav { display: none; gap: .15rem; }
.nav a, .menu nav a { font: 500 .86rem/1 var(--sans); color: var(--ink); text-decoration: none; padding: .55rem .6rem; border-radius: 99px; display: flex; gap: .4rem; align-items: center; }
.nav a:hover { background: var(--face); }
.nav a[aria-current] { background: var(--ink); color: #fff; }
.nav-no { font-size: .7rem; opacity: .6; font-variant-numeric: tabular-nums; }
.pill { display: inline-flex; align-items: center; gap: .45rem; font: 600 .84rem/1 var(--sans); color: #fff; background: var(--accent); padding: .62rem .9rem; border-radius: 99px; text-decoration: none; white-space: nowrap; }
.pill:hover { background: var(--accent-d); }
.pill-dot { width: .5rem; height: .5rem; border-radius: 50%; background: #fff; }
.menu { position: relative; }
.menu summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: .4rem; font: 600 .84rem/1 var(--sans); padding: .55rem .6rem; border: 1px solid var(--line); border-radius: 99px; background: var(--face); }
.menu summary::-webkit-details-marker { display: none; }
.burger, .burger::before { display: block; width: 14px; height: 2px; background: var(--ink); position: relative; }
.burger::before { content: ""; position: absolute; top: 5px; }
.burger { top: -2px; }
.menu nav { position: absolute; right: 0; top: calc(100% + .5rem); background: var(--face); border: 1px solid var(--line); border-radius: 16px; padding: .5rem; width: min(17rem, 86vw); box-shadow: 0 10px 30px rgb(22 24 42 / .12); }
.menu nav a { border-radius: 10px; padding: .7rem .6rem; }
.menu nav a[aria-current] { background: var(--dial); }
@media (min-width: 72rem) { .nav { display: flex; } .menu { display: none; } }
@media (max-width: 30rem) { .menu-label { display: none; } .brand-name { font-size: 1rem; } }

/* home: stage */
.stage { max-width: var(--wrap); margin: 0 auto; padding: clamp(1.5rem, 4vw, 3.5rem) var(--pad) 3rem; display: grid; gap: 1.5rem 3rem; grid-template-areas: "text" "clock" "phases"; }
.stage-text { grid-area: text; }
.stage h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; max-width: 14ch; margin-bottom: 1rem; }
.lede p { max-width: 62ch; margin: 0 0 .9rem; color: #2a2d40; }
.clock { grid-area: clock; position: relative; }
.phases { grid-area: phases; }
@media (min-width: 62rem) {
  .stage { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); grid-template-areas: "text text" "clock phases"; align-items: start; }
  .clock { position: sticky; top: 5.5rem; }
  .dial { width: min(100%, 36rem); }
}
@media (min-width: 80rem) { .stage { grid-template-areas: "clock text" "clock phases"; } .stage h1 { font-size: 4rem; } }

.dial { display: block; width: min(100%, 28rem); margin: 0 auto; overflow: visible; }
.dial-face { fill: var(--face); stroke: var(--line); stroke-width: 1; }
.tick { stroke: #b9c0cd; stroke-width: 1.4; stroke-linecap: round; }
.tick-h { stroke: var(--ink); stroke-width: 2.6; }
.hour { font: 600 15px var(--sans); fill: var(--muted); }
.seg { cursor: pointer; outline: none; }
.seg-arc { fill: none; stroke-width: 42; transition: stroke-width .3s, opacity .3s; }
.seg-hit { fill: none; stroke: transparent; stroke-width: 70; }
.seg:focus-visible .seg-arc { stroke-width: 54; }
.js .dial[data-active] .seg .seg-arc { opacity: .3; }
.js .dial[data-active] .seg.is-on .seg-arc, .js .dial .seg:hover .seg-arc { opacity: 1; stroke-width: 52; }
.test-dot { fill: var(--accent); stroke: var(--face); stroke-width: 3; }
.hand { transform-origin: 200px 200px; transform: rotate(var(--deg)); transition: transform .7s cubic-bezier(.3, 1.3, .5, 1); }
.hand line { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.hand circle { fill: var(--ink); }
.readout { pointer-events: none; }
.ro-hours { font: 700 34px var(--sans); fill: var(--ink); letter-spacing: -1px; paint-order: stroke; stroke: var(--face); stroke-width: 8px; }
.ro-name { font: 500 15px var(--sans); fill: var(--muted); paint-order: stroke; stroke: var(--face); stroke-width: 6px; text-transform: uppercase; letter-spacing: 1.5px; }
.clock-note { text-align: center; font: 500 .82rem/1.4 var(--sans); color: var(--muted); margin: .8rem 0 0; display: flex; gap: .5rem; justify-content: center; align-items: center; }
.test-key { width: .7rem; height: .7rem; border-radius: 50%; background: var(--accent); flex: none; }

.phases-title { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .8rem; font-weight: 600; }
.phase-list { list-style: none; margin: 0; padding: 0; display: grid; gap: .6rem; }
.phase { background: var(--face); border: 1px solid var(--line); border-radius: var(--r); border-left: 6px solid var(--c); overflow: hidden; }
.phase-link { display: flex; align-items: baseline; gap: .9rem; padding: 1rem 1.2rem; color: var(--ink); text-decoration: none; }
.phase-h { font: 700 .9rem/1 var(--sans); font-variant-numeric: tabular-nums; min-width: 4.4rem; color: var(--muted); }
.phase-name { font: 600 1.2rem/1.2 var(--sans); }
.phase-body { padding: 0 1.2rem 1.2rem; }
.phase-body p { margin: 0 0 .8rem; }
.js .phase:not(.is-on) .phase-body { display: none; }
.js .phase.is-on { box-shadow: 0 14px 34px -18px rgb(22 24 42 / .35); }
.js .phase-link::after { content: "+"; margin-left: auto; font: 500 1.3rem/1 var(--sans); color: var(--muted); }
.js .phase.is-on .phase-link::after { content: "–"; }
.frag { margin: 1rem 0 .2rem; padding: 1rem 1.1rem 1rem 1.2rem; background: var(--dial); border-radius: 14px; border-left: 3px solid var(--c, var(--accent)); font-style: italic; }
.frag p { margin: 0; }
.frag-label { display: block; font: 600 .68rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; font-style: normal; color: var(--muted); margin-bottom: .5rem; }

/* test band */
.testband { background: var(--ink); color: #eef0f7; }
.testband-in { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--pad); display: grid; gap: 2rem; }
.testband-clock { display: grid; place-content: center; width: 9.5rem; aspect-ratio: 1; border-radius: 50%; border: 2px solid #3a3e58; position: relative; text-align: center; font-family: var(--sans); }
.testband-clock::before { content: ""; position: absolute; inset: 10px; border-radius: 50%; border: 6px solid transparent; border-top-color: var(--accent); transform: rotate(-30deg); }
.tminus { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; color: #b9bdd3; }
.tval { font-size: 2.4rem; font-weight: 700; letter-spacing: -.03em; }
.testband h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); color: #fff; margin-bottom: 1rem; max-width: 20ch; }
.testband p { color: #d9dcea; max-width: 60ch; }
.testband a { color: #ffb8d1; }
@media (min-width: 62rem) { .testband-in { grid-template-columns: auto minmax(0, 1fr) minmax(0, 25rem); align-items: center; gap: 3rem; } }

/* numbers + chapters */
.numbers, .chapters, .next { max-width: var(--wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4rem) var(--pad) 0; }
.sec-title { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 1.4rem; }
.stat-row { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); }
.stat { background: var(--face); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem 1.3rem 1.2rem; display: grid; gap: .5rem; align-content: start; position: relative; }
.stat::before { content: ""; width: 2.2rem; height: 2.2rem; border-radius: 50%; border: 5px solid var(--line); border-top-color: var(--c); border-right-color: var(--c); }
.stat-v { font: 700 2rem/1 var(--sans); letter-spacing: -.03em; }
.stat-t { font-size: .95rem; line-height: 1.5; color: var(--muted); }
.chapter-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr)); }
.chapter { background: var(--face); border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; position: relative; display: grid; grid-template-columns: 3.2rem 1fr; gap: .3rem 1rem; align-items: start; transition: transform .2s, box-shadow .2s; }
.chapter:hover { transform: translateY(-2px); box-shadow: 0 14px 30px -20px rgb(22 24 42 / .4); }
.mini { width: 3.2rem; height: 3.2rem; color: var(--ink); }
.chapter-no { font: 600 .74rem/1 var(--sans); color: var(--muted); letter-spacing: .06em; align-self: center; }
.chapter-title, .chapter-desc { grid-column: 1 / -1; }
.chapter-title { font-size: 1.08rem; font-weight: 600; }
.chapter-title a { color: var(--ink); text-decoration: none; }
.chapter-title a::after { content: ""; position: absolute; inset: 0; border-radius: var(--r); }
.chapter-desc { margin: 0; font-size: .92rem; line-height: 1.5; color: var(--muted); }
.guide { max-width: 68ch; padding: 2rem 0 4rem; }

/* article */
.a-head { max-width: var(--wrap); margin: 0 auto; padding: clamp(2rem, 5vw, 3.5rem) var(--pad) 2rem; display: grid; grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 14vw, 10rem); gap: 2rem; align-items: end; border-bottom: 1px solid var(--line); }
.a-head h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 700; max-width: 20ch; }
.a-lede { font-size: 1.15rem; color: var(--muted); max-width: 58ch; margin: 1rem 0 0; }
.a-mark { width: 100%; height: auto; aspect-ratio: 1; color: var(--ink); overflow: visible; }
.a-mark-no { font: 700 96px var(--sans); fill: var(--ink); letter-spacing: -4px; }
.a-body { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--pad) 1rem; display: grid; gap: 2rem; }
.rail { display: none; }
@media (min-width: 64rem) {
  .a-body { grid-template-columns: 15rem minmax(0, 1fr); gap: 4rem; }
  .rail { display: block; }
  .a-body.no-rail { grid-template-columns: minmax(0, 1fr); }
  .rail-in { position: sticky; top: 6rem; }
}
.progress { width: 7rem; height: 7rem; display: block; margin-bottom: 1rem; }
.pg-track { fill: var(--face); stroke: var(--line); stroke-width: 10; }
.pg-fill { fill: none; stroke: var(--accent); stroke-width: 10; stroke-dasharray: 100; stroke-dashoffset: 100; transform: rotate(-90deg); transform-origin: 60px 60px; stroke-linecap: round; }
.pg-text { font: 700 26px var(--sans); fill: var(--ink); }
.rail-title { font: 600 .74rem/1 var(--sans); text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .6rem; }
.toc { list-style: none; margin: 0; padding: 0; border-left: 1px solid var(--line); }
.toc a { display: flex; gap: .6rem; padding: .4rem 0 .4rem .9rem; margin-left: -1px; border-left: 2px solid transparent; font: 500 .84rem/1.35 var(--sans); color: var(--muted); text-decoration: none; }
.toc a:hover, .toc a.is-on { color: var(--ink); border-left-color: var(--accent); }
.toc-no { font-variant-numeric: tabular-nums; opacity: .7; }

.prose { min-width: 0; }
.a-text { max-width: 44rem; }
.a-text > p, .a-text > ul, .a-text > ol { margin: 0 0 1.1rem; }
.a-text h2 { font-size: clamp(1.4rem, 2.6vw, 1.85rem); margin: 2.6rem 0 1rem; display: flex; gap: .8rem; align-items: baseline; }
.h2-no { font-size: .8rem; color: var(--accent-d); font-weight: 700; border: 1.5px solid currentColor; border-radius: 99px; padding: .25rem .5rem; flex: none; position: relative; top: -.2rem; }
.a-text h3 { font-size: 1.2rem; margin: 1.8rem 0 .6rem; }
.a-text ul, .a-text ol { padding-left: 1.2rem; }
.a-text li { margin-bottom: .45rem; }
.a-text li::marker { color: var(--accent); }
.a-text blockquote { margin: 1.4rem 0; padding: 1rem 1.3rem; background: var(--face); border-radius: 14px; border-left: 3px solid var(--accent); font-style: italic; }
.a-text blockquote p { margin: 0; }
.table { overflow-x: auto; margin: 1.4rem 0 1.6rem; background: var(--face); border: 1px solid var(--line); border-radius: 16px; }
table { width: 100%; border-collapse: collapse; font: .9rem/1.45 var(--sans); }
th, td { text-align: left; padding: .75rem 1rem; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #f7f8fb; }
tr:last-child td { border-bottom: 0; }
td:first-child { font-weight: 600; }

/* report logs */
.tag-composite { display: inline-flex; gap: .5rem; align-items: center; background: var(--face); border: 1px dashed var(--accent); border-radius: 99px; padding: .4rem .9rem; font-size: .92rem; margin: 0 0 1.2rem; }
.tag-dot { width: .55rem; height: .55rem; border-radius: 50%; background: var(--accent); flex: none; }
.log { position: relative; display: grid; grid-template-columns: 5.4rem minmax(0, 1fr); gap: 1rem; margin: 0 !important; padding: .55rem 0 .9rem; }
.log::before { content: ""; position: absolute; left: 2.2rem; top: 2.2rem; bottom: -.2rem; width: 1px; background: var(--line); }
.log-t { font: 700 .82rem/1 var(--sans); font-variant-numeric: tabular-nums; background: var(--ink); color: #fff; border-radius: 99px; padding: .45rem .55rem; text-align: center; align-self: start; position: relative; z-index: 1; }
.log + :not(.log) { margin-top: 1.4rem; }

/* product card */
.products { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); margin: 1.6rem 0; }
.product-feature { margin: 2rem 0; }
.pc { background: var(--face); border: 1px solid var(--line); border-radius: var(--r); padding: 1.2rem; display: grid; gap: 1.2rem; color: var(--ink); font-family: var(--sans); }
.pc--feature { grid-template-columns: minmax(0, 11rem) minmax(0, 1fr); align-items: center; }
.pc-plate { display: grid; place-items: center; aspect-ratio: 1; border-radius: 50%; background: var(--dial); position: relative; padding: 14%; }
.pc-plate::before { content: ""; position: absolute; inset: 5px; border-radius: 50%; border: 2px dotted #aeb5c4; }
.pc-plate img { border-radius: 10px; mix-blend-mode: multiply; position: relative; }
.pc-shop { margin: 0; font: 600 .7rem/1 var(--sans); letter-spacing: .08em; text-transform: uppercase; color: var(--accent-d); }
.pc-name { font-size: 1.15rem; margin: .35rem 0 .5rem; }
.pc-name a { color: var(--ink); text-decoration: none; }
.pc-note { font: .88rem/1.5 var(--sans); color: var(--muted); margin: 0 0 .7rem; }
.pc-row { display: flex; align-items: baseline; gap: .5rem; margin: 0 0 .9rem; }
.pc-price { font: 700 1.5rem/1 var(--sans); letter-spacing: -.02em; }
.pc-unit { font-size: .78rem; color: var(--muted); }
.pc-btn { display: inline-flex; align-items: center; gap: .3rem; background: var(--accent); color: #fff; text-decoration: none; padding: .8rem 1.15rem; border-radius: 99px; font: 600 .92rem/1 var(--sans); }
.pc-btn:hover { background: var(--accent-d); }
.pc-more { display: block; margin-top: .8rem; font-size: .82rem; color: var(--muted); }
.testband .pc { box-shadow: 0 20px 50px -20px rgb(0 0 0 / .6); border: 0; }
.testband .pc-more { color: var(--muted); }
.testband .pc p { color: var(--muted); }
.testband .pc .pc-shop { color: var(--accent-d); }
.testband .pc .pc-price, .testband .pc .pc-name a { color: var(--ink); }
.testband .pc .pc-btn { color: #fff; }
@media (max-width: 34rem) { .pc--feature { grid-template-columns: 1fr; } .pc--feature .pc-plate { width: 60%; margin: 0 auto; } }

/* next + footer */
.next { padding-bottom: 4rem; }
.chapter-grid--next .chapter { grid-template-columns: 3.2rem 1fr; }
.foot { background: var(--ink); color: #cfd3e3; font: .9rem/1.6 var(--sans); }
.foot-in { max-width: var(--wrap); margin: 0 auto; padding: 3rem var(--pad); display: grid; gap: 2rem; }
.foot a { color: #fff; }
.foot-brand { display: flex; gap: 1.2rem; align-items: center; }
.foot-mascot { width: 5.5rem; height: auto; background: #f4f5f8; border-radius: 50%; padding: .4rem; flex: none; }
.foot-pub, .foot-disc, .foot-note { margin: 0 0 .6rem; max-width: 58ch; }
.foot-note { color: #9ea3bb; }
.foot-nav { display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; }
.foot-nav a { text-decoration: none; color: #cfd3e3; }
.foot-nav a:hover { color: #fff; text-decoration: underline; }
@media (min-width: 62rem) { .foot-in { grid-template-columns: 1.1fr 1fr; } .foot-nav { grid-column: 1 / -1; border-top: 1px solid #2c2f47; padding-top: 1.4rem; } }

@media (max-width: 40rem) {
  .dial { width: min(100%, 17.5rem); }
  .stat-row { grid-template-columns: 1fr 1fr; }
  .stat { padding: 1rem; }
  .stat-v { font-size: 1.5rem; }
  .testband-clock { width: 7rem; }
  .tval { font-size: 1.8rem; }
  .a-head { grid-template-columns: 1fr; }
  .a-mark { display: none; }
  .log { grid-template-columns: 4.6rem minmax(0, 1fr); gap: .8rem; }
  .log::before { left: 2.3rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
.a-text figure { margin: 1.4rem 0; }
.a-text figure img { width: 12rem; background: var(--face); border-radius: 50%; padding: 1rem; }
