@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/manrope-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Manrope;font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/manrope-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
@font-face{font-family:Unbounded;font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/unbounded-cyrillic.woff2') format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Unbounded;font-style:normal;font-weight:400 800;font-display:swap;src:url('assets/fonts/unbounded-latin.woff2') format('woff2');unicode-range:U+0000-00FF,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215}
:root{
  --p-espresso:oklch(0.19 0.023 57);--p-crema:oklch(0.945 0.028 83);--p-paper:oklch(0.98 0.015 88);--p-lime:oklch(0.94 0.22 119);--p-caramel:oklch(0.57 0.09 55);
  --espresso:#17110D;--crema:#F3EBDD;--paper:#FFF9EF;--lime:#D5FF3F;--caramel:#A8764E;--muted:#6B625A;--risk:#B94D35;
  --ink:var(--espresso);--surface:var(--crema);--surface-bright:var(--paper);--accent-signal:var(--lime);
  --ok:#A7C78E;--warn:#F1C86D;--accent:#F0A17C;--bad:#FF9885;
  --display:Unbounded,Arial,sans-serif;--body:Manrope,Arial,sans-serif;--mono:'Courier New',monospace;
  --gutter:clamp(20px,4vw,64px);--section-space:clamp(76px,9vw,144px);--radius:20px;--border-dark:1px solid rgba(23,17,13,.2);--border-light:1px solid rgba(243,235,221,.2);
  color-scheme:dark;
}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;scroll-padding-top:100px;scrollbar-gutter:stable}
body{font:16px/1.65 var(--body);background:var(--espresso);color:var(--crema);-webkit-font-smoothing:antialiased;overflow-x:clip}
body.overlay-open{overflow:hidden}
img,svg{display:block;max-width:100%}
button,input,select{font:inherit}button,a,input,select{-webkit-tap-highlight-color:transparent}
button,a{touch-action:manipulation}button{cursor:pointer}button:disabled{cursor:not-allowed;opacity:.4}
a{color:inherit;text-decoration:none}button{color:inherit}
button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,summary:focus-visible,[tabindex]:focus-visible{outline:3px solid var(--lime);outline-offset:4px}
.section-light button:focus-visible,.section-light a:focus-visible,.section-light input:focus-visible,.section-light select:focus-visible,.g-card :focus-visible{outline-color:#596F16}
[hidden]{display:none!important}
::selection{background:var(--lime);color:var(--espresso)}
.skip-link{position:fixed;left:20px;top:12px;z-index:200;padding:12px 20px;background:var(--lime);color:var(--espresso);transform:translateY(-160%);font-weight:800}
.skip-link:focus{transform:translateY(0)}
.section-light{background:var(--crema);color:var(--espresso)}
.section-dark{background:var(--espresso);color:var(--crema)}
.section-light,.section-dark{padding:0 var(--gutter) var(--section-space)}
.section-index{display:flex;justify-content:space-between;gap:20px;padding:22px 0;border-top:var(--border-dark);font:11px/1.5 var(--mono);letter-spacing:.06em}
.section-dark .section-index{border-color:rgba(243,235,221,.24);color:#BFB5A6}
.section-index span:last-child{text-align:right}
.eyebrow{font:11px/1.5 var(--mono);letter-spacing:.09em;text-transform:uppercase}
h1,h2,h3{line-height:1.08;text-wrap:balance}
h2{font-family:var(--display);font-size:clamp(2.25rem,5.3vw,5.6rem);font-weight:550;letter-spacing:-.05em}
h2 em{font-style:normal;color:var(--caramel)}
p{max-width:66ch}
.button{min-height:50px;display:inline-flex;align-items:center;justify-content:space-between;gap:28px;padding:13px 22px;border:1px solid transparent;border-radius:999px;font-size:14px;font-weight:700;transition:transform .2s,background .2s,color .2s}
.button:hover{transform:translateY(-2px)}
.button-lime{background:var(--lime);color:var(--espresso)}
.button-dark{background:var(--espresso);color:var(--crema)}
.button-ghost{background:transparent;border-color:rgba(243,235,221,.3)}
.button-outline{background:transparent;border-color:rgba(23,17,13,.3);color:var(--espresso)}
.text-link{display:inline-flex;align-items:center;gap:28px;padding:12px 0;border:0;border-bottom:1px solid currentColor;background:none;font-weight:700;text-align:left}
.text-link span,.game-open span{transition:transform .2s}.text-link:hover span,.game-open:hover span{transform:translate(3px,-3px)}
.text-button{border:0;border-bottom:1px solid currentColor;background:none;min-height:44px;font-size:13px;font-weight:700}
/* The cup is a real object between two typographic planes, not a background image. */
.site-header{background:var(--espresso);position:relative}
.topbar{position:absolute;top:0;left:0;right:0;z-index:20;height:92px;display:flex;align-items:center;justify-content:space-between;gap:30px;padding:0 var(--gutter);border-bottom:var(--border-light)}
.brand{display:flex;align-items:center;gap:12px;font-family:var(--display);font-size:15px;letter-spacing:.01em;line-height:1.3}
.brand svg{width:34px;height:34px;fill:none;stroke:var(--lime);stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.brand-sub{display:block;margin-top:3px;font:9px/1.4 var(--mono);letter-spacing:.06em;color:#B9AEA1}
.primary-nav{display:flex;align-items:center;gap:30px;font-size:13px}
.primary-nav a{padding:14px 0;position:relative}
.primary-nav a:after{content:'';position:absolute;bottom:9px;left:0;width:100%;height:1px;background:var(--lime);transform:scaleX(0);transform-origin:left;transition:transform .2s}
.primary-nav a:hover:after{transform:scaleX(1)}
.nav-cta{display:flex;align-items:center;gap:30px;min-height:44px;padding:10px 17px;border:1px solid rgba(243,235,221,.45);border-radius:999px;font-size:12px}
.menu-toggle{display:none;min-width:52px;min-height:48px;align-items:center;justify-content:center;gap:10px;border:0;background:transparent;font-size:13px}
.menu-toggle i,.menu-toggle i:after{display:block;width:20px;height:1px;background:currentColor;content:'';position:relative}
.menu-toggle i:after{position:absolute;top:6px}
.menu-toggle[aria-expanded=true] i{transform:rotate(45deg)}.menu-toggle[aria-expanded=true] i:after{transform:rotate(-90deg);top:0}
.hero{position:relative;isolation:isolate;min-height:max(760px,100svh);padding:130px var(--gutter) 34px;overflow:hidden}
.hero:before{content:'';position:absolute;inset:0;z-index:-1;background:radial-gradient(ellipse at 65% 58%,#3E2B1D88 0,transparent 50%)}
.hero-kicker{display:flex;align-items:center;gap:10px;font:10px/1.5 var(--mono);letter-spacing:.08em;color:#C3B7A7;position:relative;z-index:4}
.hero-kicker>span:last-child{margin-left:auto}.live-dot{width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px #D5FF3F12}
.hero-title{position:absolute;top:24%;left:var(--gutter);right:var(--gutter);z-index:2;font-family:var(--display);font-weight:600;font-size:clamp(4.2rem,8.6vw,9.2rem);letter-spacing:-.065em;line-height:1.04;pointer-events:none}
.title-mask{display:block;overflow:hidden;padding-right:.08em;padding-bottom:.06em}
.title-mask>span{display:block;animation:title-enter .85s cubic-bezier(.2,.7,.2,1) both}
.title-second{margin-left:4vw;font-size:.82em}.title-second>span{animation-delay:.12s}.title-dot{color:var(--lime)}
@keyframes title-enter{from{transform:translateY(110%)}to{transform:translateY(0)}}
.hero-intro{position:absolute;right:var(--gutter);top:18%;width:min(27%,350px);z-index:5}
.hero-intro>p:first-child{font-size:clamp(1.1rem,1.5vw,1.5rem);line-height:1.4;letter-spacing:-.02em}
.hero-intro strong{font-weight:650;color:var(--lime)}
.hero-description{margin:16px 0 22px;color:#D1C5B7;font-size:14px;line-height:1.65}
.hero-intro .button{width:100%;font-size:13px;gap:12px}
.hero-intro small{display:block;font-size:10px;line-height:1.5;color:#B8AA9B;margin-top:12px}
.cup-stage{position:absolute;z-index:3;right:-1%;top:41%;width:58%;height:53%;pointer-events:none}
.cup-stage canvas{position:absolute;inset:0;width:100%!important;height:100%!important;opacity:0;transition:opacity .7s;pointer-events:none}
.cup-stage.is-ready canvas{opacity:1}.cup-stage.is-ready #cup-poster{opacity:0}
#cup-poster{position:absolute;inset:0;width:100%;height:100%;object-fit:contain;opacity:1;transition:opacity .6s;pointer-events:none}
.orbit{position:absolute;left:12%;top:21%;width:76%;height:58%;border:1px solid #D5FF3F40;border-radius:50%;transform:rotate(-24deg);pointer-events:none}
.orbit-one i{position:absolute;left:15%;top:5%;width:9px;height:9px;border-radius:50%;background:var(--lime);box-shadow:0 0 20px #D5FF3F60}
.orbit-two{left:21%;top:27%;width:58%;height:47%;border-color:#F3EBDD20;transform:rotate(-24deg)}
.cup-note{position:absolute;font:10px var(--mono);letter-spacing:.1em;color:#D5FF3F;opacity:.8}
.cup-note-dose{left:10%;bottom:15%}.cup-note-time{right:11%;top:15%}
.hero-bottom{position:absolute;bottom:30px;left:var(--gutter);right:var(--gutter);z-index:5;display:flex;justify-content:space-between;align-items:end;gap:32px}
.hero-facts{display:flex;gap:clamp(20px,4vw,70px)}.hero-facts>div{display:flex;align-items:center;gap:13px}
.hero-facts strong{font-family:var(--display);font-weight:450;font-size:28px;letter-spacing:-.05em}
.hero-facts span{font-size:11px;color:#C4B8A8;line-height:1.4}
.scroll-cue{display:flex;align-items:center;gap:20px;font-size:11px;color:#C4B8A8}.scroll-cue i{display:grid;place-items:center;border:1px solid #F3EBDD55;width:36px;height:36px;border-radius:50%;font-style:normal}
/* Editorial chapter */
.story{padding-bottom:clamp(70px,8vw,120px)}
.story-grid{display:grid;grid-template-columns:repeat(12,minmax(0,1fr));gap:28px;padding-top:60px}
.story-copy{grid-column:1/6;padding-top:6%}.story-copy h2{margin:20px 0 28px}.story-copy>p:not(.eyebrow){font-size:17px;line-height:1.7;max-width:440px}.story-copy .text-link{margin-top:25px;font-size:14px}
.editorial-visual{grid-column:6/13;position:relative;overflow:hidden;border-radius:2px;background:var(--espresso)}
.editorial-visual img{width:100%;height:100%;min-height:420px;object-fit:cover;transition:transform .8s}.editorial-visual:hover img{transform:scale(1.025)}
.editorial-visual figcaption{position:absolute;inset:auto 22px 18px;display:flex;justify-content:space-between;gap:16px;color:var(--crema);font-size:11px;text-shadow:0 1px 8px #000}
.formula-card{grid-column:3/11;margin-top:15px;padding:32px 0;border-top:var(--border-dark);border-bottom:var(--border-dark);text-align:center}
.formula-label{font:10px var(--mono);letter-spacing:.12em}.formula-card>strong{display:block;margin:15px 0 24px;font-family:var(--display);font-size:clamp(3.2rem,7.5vw,7.5rem);font-weight:450;line-height:1.1;letter-spacing:-.06em}
.formula-legend{display:flex;justify-content:center;gap:clamp(16px,4vw,56px)}.formula-legend span{font-size:12px;color:#5D544C}.formula-legend b{font-family:var(--display);font-weight:450;font-size:22px;color:var(--espresso);margin-right:5px}.formula-footnote{display:block;margin-top:25px;font:11px var(--mono);color:var(--muted)}
/* Laboratory */
.lab{padding-bottom:var(--section-space)}
.lab-heading{display:flex;justify-content:space-between;align-items:end;gap:40px;margin:44px 0 58px}.lab-heading h2{margin-top:18px}.lab-heading>p{max-width:360px;font-size:14px;color:#5E554D}
.lab-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(310px,370px);gap:clamp(24px,3vw,48px);align-items:start}.lab-controls{min-width:0}
fieldset{border:0;min-width:0}legend,.drinks-step h3{font-family:var(--display);font-size:19px;font-weight:500;letter-spacing:-.035em}
legend span,.drinks-step h3 span{display:inline-block;margin-right:15px;color:var(--caramel);font:13px var(--mono)}
.profile-step{padding-bottom:35px;border-bottom:var(--border-dark)}.profile-fields{display:grid;grid-template-columns:1fr 190px;gap:30px;margin-top:26px}.field-label{display:flex;justify-content:space-between;align-items:center;margin-bottom:15px}.field-label label,.age-field>label{font-size:13px;font-weight:700}.field-label output{font-family:var(--mono);font-size:15px}
input[type=range]{width:100%;height:44px;accent-color:#4F6019;cursor:pointer;background:transparent}input[type=range]::-webkit-slider-runnable-track{height:3px;background:#A99C8C}input[type=range]::-webkit-slider-thumb{margin-top:-8px}
.range-labels{display:flex;justify-content:space-between;color:var(--muted);font:10px var(--mono)}
.age-field select{width:100%;height:48px;padding:0 12px;background:var(--paper);border:var(--border-dark);border-radius:6px;color:var(--espresso);margin-top:15px}
.field-note{font-size:12px;color:#625A52;margin-top:16px;max-width:640px}
.drinks-step{padding-top:32px}.step-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:24px}
.drink-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.drink-filters button{min-height:44px;border:1px solid #B7AB9C;border-radius:999px;padding:8px 15px;background:transparent;color:#554B42;font-size:12px;font-weight:600}.drink-filters button span{font:10px var(--mono);margin-left:5px}.drink-filters button[aria-pressed=true]{background:var(--espresso);border-color:var(--espresso);color:var(--crema)}
.drinks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.drink{position:relative;min-width:0;background:var(--paper);border:1px solid #D8CCBC;border-radius:14px;padding:16px;transition:border-color .2s,transform .2s;overflow:hidden}
.drink.is-filtered{display:none}.drink.selected{border:2px solid #4E6019;padding:15px}.drink.selected .selection-flag{display:flex}.drink.selected .drink-art{color:#455717;transform:translateY(-3px)}
.selection-flag{display:none;position:absolute;right:12px;top:12px;align-items:center;gap:4px;font:10px var(--mono);color:#455717}.selection-flag:before{content:'✓';font-size:14px}
.drink-top{display:flex;align-items:start;gap:13px;min-height:72px}.drink-art{width:48px;height:61px;flex:0 0 48px;color:#82654E;transition:transform .2s,color .2s}.drink-art svg{width:100%;height:100%;stroke:currentColor;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.drink-name{padding-top:3px;font-size:14px;font-weight:750;line-height:1.4;max-width:85%}.drink-category{display:block;font:9px/1.5 var(--mono);color:var(--muted);text-transform:uppercase;letter-spacing:.05em;margin-bottom:4px}
.portion{margin:14px 0 13px;font-size:11px;color:#675B50;line-height:1.5;min-height:17px}
.stepper{display:flex;align-items:center;gap:7px}.stepper button,.volrow button{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;border:1px solid #C5B7A4;border-radius:50%;background:transparent;color:var(--espresso);font-size:20px;line-height:1}.stepper button:hover,.volrow button:hover{background:#EAE1D1}.stepper button[data-act=plus]{background:var(--espresso);border-color:var(--espresso);color:var(--crema)}.stepper .cnt{min-width:22px;text-align:center;font-family:var(--mono);font-size:14px}.stepper .mg{margin-left:auto;font:12px var(--mono);font-weight:700}
.volrow{display:flex;align-items:center;gap:6px;border-top:1px solid #E7DECF;margin-top:14px;padding-top:12px;font-size:10px;color:var(--muted)}.volrow button{font-size:16px}.volrow .vval{font:11px var(--mono);color:var(--espresso);min-width:44px;text-align:center}.volrow .volume-step{margin-left:auto;font-size:9px}
.dose-times{display:grid;gap:8px;margin-top:12px}.time-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.time-row input{width:108px;min-height:44px;border:1px solid #C5B7A4;border-radius:5px;background:var(--crema);color:var(--espresso);padding:4px 6px;font:12px var(--mono)}
.result-panel{position:sticky;top:22px;background:var(--espresso);color:var(--crema);border-radius:var(--radius);padding:26px;overflow:hidden}
.result-top{display:flex;align-items:center;justify-content:space-between;gap:12px}.result-top .eyebrow{font-size:10px;color:#B6AA99}.result-status{display:flex;align-items:center;gap:5px;font:9px var(--mono);color:var(--lime)}.result-status i{width:5px;height:5px;border-radius:50%;background:var(--lime)}
.result-panel h3{margin-top:30px;font-size:14px;font-weight:500;color:#C7BCAD}.total-line{display:flex;align-items:baseline;gap:10px;margin:3px 0 10px}.total-line output{font-family:var(--display);font-size:clamp(4rem,6vw,5.5rem);line-height:1.1;font-weight:500;letter-spacing:-.08em}.total-line>span{font-family:var(--display);font-size:21px;color:var(--lime)}
.result-guide{display:flex;justify-content:space-between;gap:10px;font-size:10px;color:#D2C5B6}.result-guide b{font-weight:500;color:var(--crema)}
.dose-bar{margin:25px 0 16px}.dose-zone-labels{display:flex;justify-content:space-between;font:9px var(--mono);color:#AEA190;margin-bottom:8px}.dose-track{height:6px;background:#524235;position:relative}.dose-track:after{content:'';position:absolute;inset:0;background:repeating-linear-gradient(90deg,transparent 0,transparent calc(25% - 1px),#17110D calc(25% - 1px),#17110D 25%)}.dose-track i{display:block;height:100%;width:0;background:var(--ok);transition:width .35s}.dose-marker{position:absolute;left:50%;height:12px;width:1px;top:-3px;background:var(--crema)}
.verdict{font-size:12px;line-height:1.65;min-height:59px}.over-guide{margin-top:10px;color:var(--bad);font-size:11px;font-weight:700}
.bedtime-block{border-top:1px solid #4B3D30;margin-top:20px;padding-top:18px}.bedtime-block>label{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:11px}.bedtime-block input{width:102px;min-height:44px;padding:6px;border:1px solid #776656;border-radius:5px;background:#2A1F16;color:var(--crema);color-scheme:dark;font:13px var(--mono)}
.bedtime-result{margin-top:18px}.bedtime-result>span{font-size:11px;color:#C6B7A5}.bedtime-result strong{display:block;font-family:var(--display);font-size:32px;font-weight:500;color:var(--lime);margin-top:3px}.bedtime-result p{font-size:11px;color:#C6B7A5;margin-top:8px}.time-hint{font-size:10px;color:#B8AA99;line-height:1.6;margin-top:12px}
.result-actions{display:grid;gap:8px;margin-top:22px}.result-actions .button{width:100%;font-size:12px;min-height:46px}.result-disclaimer{font-size:9px;line-height:1.6;color:#B0A291;margin-top:17px}.mobile-total,.mobile-result-link{display:none}
.decay-strip{display:grid;grid-template-columns:minmax(180px,1fr) 3fr;gap:30px;margin-top:46px;padding:25px 0;border-top:var(--border-dark);border-bottom:var(--border-dark)}.decay-title>span{font:10px var(--mono);letter-spacing:.06em}.decay-title>p{font-size:12px;color:var(--muted);margin-top:8px}.chips{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.chip{border-left:1px solid #B9A995;padding-left:16px}.chip .v{font-family:var(--display);font-size:23px;font-weight:500;letter-spacing:-.05em}.chip .t{font-size:10px;color:var(--muted);margin-top:6px}
/* Data scene */
.timeline-heading{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:48px 0 50px}.timeline-heading>.eyebrow{grid-column:1/-1}.timeline-heading h2{font-size:clamp(2.1rem,4.9vw,5.3rem)}.timeline-heading h2 span{color:#A7917A}.timeline-heading>div{max-width:360px;align-self:end}.timeline-heading>div p{font-size:14px;color:#C1B3A1}.timeline-mode{display:inline-block;margin-top:18px;padding:7px 11px;border:1px solid #89765F;border-radius:999px;font:10px var(--mono);color:var(--lime)}
.timeline-canvas{position:relative;padding:20px 0 0 35px}.timeline-y-label{position:absolute;top:50%;left:0;writing-mode:vertical-rl;transform:rotate(180deg);font:9px var(--mono);letter-spacing:.15em;color:#AE9E8A}
#timelineChart{width:100%;height:auto;overflow:visible}.chart-grid{stroke:#685342;stroke-opacity:.45;stroke-width:1}.chart-axis-label{fill:#B4A38F;font:12px var(--mono)}.chart-value-label{fill:#D5C4AF;font:11px var(--mono)}.chart-dose-line{stroke:#D5FF3F;stroke-width:1;stroke-dasharray:3 5;opacity:.6}.chart-dose-dot{fill:var(--lime);stroke:var(--espresso);stroke-width:5}.chart-dose-name{fill:var(--crema);font:12px var(--body)}.chart-area{fill:url(#timelineGradient)}.chart-curve{fill:none;stroke:var(--lime);stroke-width:3;stroke-linecap:round;stroke-linejoin:round}.chart-sleep-zone{fill:#C6B29910}.chart-sleep-line{stroke:#D8C7AF;stroke-width:1;stroke-dasharray:5 6}.chart-sleep-text{fill:#E2D2BC;font:12px var(--body)}.chart-empty{fill:#AD9A83;font:15px var(--body)}
.timeline-legend{display:flex;gap:28px;font-size:11px;color:#C6B49D;margin:4px 0 0 55px}.timeline-legend span{display:flex;align-items:center;gap:9px}.timeline-legend i{display:inline-block;width:18px;height:8px}.legend-line{border-top:2px solid var(--lime)}.legend-dot{width:7px!important;height:7px!important;border-radius:50%;background:var(--lime)}.legend-sleep{border-left:1px dashed #D8C7AF}
.timeline-explanation{display:grid;grid-template-columns:2fr 1fr;gap:50px;margin-top:36px}.timeline-list{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.timeline-entry{padding:17px 0;border-top:1px solid #5B4837}.timeline-entry .entry-time{font:12px var(--mono);color:var(--lime)}.timeline-entry h3{font-size:13px;font-weight:600;margin:7px 0}.timeline-entry p{font-size:11px;color:#BDAE99}.timeline-entry .entry-left{font-size:12px;color:var(--crema);margin-top:10px}.timeline-explanation details{border-top:1px solid #5B4837;padding:15px 0;font-size:12px;color:#C6B49D}.timeline-explanation summary{cursor:pointer;color:var(--crema);font-weight:700;min-height:30px}.timeline-explanation details p{margin-top:15px;line-height:1.7}
/* Rules */
.rules-grid{display:grid;grid-template-columns:1fr 1.3fr;gap:clamp(40px,7vw,110px);margin:50px 0 75px}.rules-copy h2{margin:18px 0 25px}.rules-copy>p:last-child{font-size:15px;max-width:330px}.rules-list{list-style:none}.rules-list li{display:flex;gap:30px;border-top:var(--border-dark);padding:25px 0}.rules-list li>span{font:12px var(--mono);color:var(--caramel);padding-top:5px}.rules-list h3{font-family:var(--display);font-size:18px;font-weight:500;letter-spacing:-.025em}.rules-list p{font-size:13px;margin-top:10px;color:#5D5248;max-width:480px}
.skills-panel{display:grid;grid-template-columns:minmax(220px,.8fr) 1.5fr;gap:clamp(20px,3vw,50px);border-top:var(--border-dark);padding-top:30px}.skills-intro p{font-size:13px;margin-top:13px;color:var(--muted)}.skill-level{font-size:12px;margin-bottom:15px;line-height:1.7}.skill-level b{font-family:var(--display);font-weight:500}.sk-row{display:grid;grid-template-columns:30px minmax(120px,1fr) 36px 100px;align-items:center;gap:12px;min-height:57px;border-top:1px solid #D4C6B4}.sk-ico{font-size:17px}.sk-name{font-size:12px;font-weight:700}.sk-sub{display:block;font-size:9px;color:var(--muted);font-weight:400;line-height:1.4}.sk-chip{font:12px var(--mono);text-align:center;border-radius:4px;padding:3px}.sk-chip.plus{background:#DCE6CE;color:#354D22}.sk-chip.minus{background:#F0D6C8;color:#803D28}.sk-chip.zero{color:var(--muted)}.sk-bar{height:3px;background:#D5C8B7;position:relative}.sk-fill{position:absolute;top:0;height:100%}
/* Game doors */
.games-heading{display:grid;grid-template-columns:1fr 1fr;gap:30px;margin:50px 0}.games-heading .eyebrow{grid-column:1/-1}.games-heading h2 span{color:var(--lime)}.games-heading>p:last-child{align-self:end;max-width:330px;font-size:14px;color:#BFAE99}
.game-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.game-tile{position:relative;min-width:0;padding:24px;display:flex;flex-direction:column;min-height:540px;border-radius:var(--radius);overflow:hidden}.game-tile-top{display:flex;justify-content:space-between;gap:10px;font:10px var(--mono);letter-spacing:.04em}.game-tile h3{font-family:var(--display);font-size:clamp(1.3rem,2vw,1.85rem);font-weight:500;letter-spacing:-.045em;margin-top:25px}.game-tile>p{font-size:13px;margin:15px 0 25px;max-width:320px}.game-open{display:flex;justify-content:space-between;align-items:center;margin-top:auto;padding:15px 0;border:0;border-top:1px solid currentColor;background:none;font-weight:750;font-size:14px;min-height:48px;text-align:left}.game-tile-compare{background:#E4D4BD;color:var(--espresso)}.game-tile-puzzle{background:var(--lime);color:var(--espresso)}.game-tile-molecule{background:#2B2118;color:var(--crema);border:1px solid #735C44}
.compare-art{display:flex;align-items:center;justify-content:center;gap:25px;height:240px}.compare-art>div{position:relative}.compare-art svg{width:74px;height:110px;stroke:currentColor;fill:none;stroke-width:1.5}.compare-art>div>span{position:absolute;right:0;top:35%;font-family:var(--display);font-size:36px}.compare-art>b{font:13px var(--mono);font-weight:400}
.puzzle-art{height:240px;display:grid;grid-template-columns:repeat(2,58px);grid-template-rows:repeat(2,58px);justify-content:center;align-content:center;gap:6px;position:relative}.puzzle-art span,.puzzle-art strong{display:grid;place-items:center;background:#17110D;color:var(--lime);font-family:var(--display);font-size:17px;font-weight:450;border-radius:5px}.puzzle-art span:nth-child(2){background:#3E3021;color:var(--crema)}.puzzle-art span:nth-child(3){background:#9A7E52;color:var(--espresso)}.puzzle-art span:nth-child(4){background:#705139;color:var(--crema)}.puzzle-art strong{position:absolute;right:5px;bottom:8px;box-shadow:-4px 4px 0 #17110D30;transform:rotate(8deg)}.puzzle-art i{position:absolute;right:20px;top:15px;font-style:normal;font-size:30px}
.molecule-art{height:240px;margin:auto;width:100%;color:#BE9E72;padding:10px 0}.molecule-art circle{fill:#2B2118}.molecule-art text{fill:#E8D6BA}
/* Research route */
.project-heading{margin:48px 0}.project-heading h2{margin-top:18px;font-size:clamp(2rem,4.8vw,5rem)}
.project60-steps{display:grid;grid-template-columns:repeat(4,1fr);border-top:var(--border-dark);border-bottom:var(--border-dark)}.project60-steps button{display:flex;align-items:center;gap:15px;min-height:65px;border:0;background:none;color:var(--muted);font-weight:600;font-size:13px;text-align:left}.project60-steps button span{font:11px var(--mono)}.project60-steps button[aria-current=step]{color:var(--espresso)}.project60-steps button[aria-current=step] span{display:grid;place-items:center;background:var(--lime);width:30px;height:30px;border-radius:50%}
.project-stage{min-height:330px}.project-stage article{display:grid;grid-template-columns:140px minmax(0,1fr) 200px;align-items:center;gap:30px;padding:45px 0}.project-big-number{font-family:var(--display);font-size:100px;font-weight:400;letter-spacing:-.08em;color:#D8C9B5}.project-stage h3{font-family:var(--display);font-size:clamp(1.35rem,2.4vw,2.3rem);font-weight:500;letter-spacing:-.035em;max-width:750px;margin:14px 0}.project-stage article p:not(.eyebrow){font-size:14px;max-width:650px}.project-stage .text-link{margin-top:16px;font-size:13px}.project-side-note{justify-self:end;font:12px/1.7 var(--mono);color:var(--muted);max-width:180px}
.project-controls{display:flex;justify-content:space-between;border-top:var(--border-dark);padding-top:20px}.project-controls .button{min-width:140px}
/* Footer */
.site-footer{background:var(--espresso);color:var(--crema);padding:28px var(--gutter) 22px}.footer-top{display:flex;justify-content:space-between;gap:20px;padding-bottom:25px;border-bottom:var(--border-light);font:10px var(--mono)}.footer-top a{padding:6px 0}
.footer-statement{font-family:var(--display);font-size:clamp(2.5rem,6.2vw,6.5rem);line-height:1.15;letter-spacing:-.065em;font-weight:500;padding:70px 0}.footer-statement em{display:block;font-style:normal;color:var(--lime)}
.footer-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:60px;border-top:var(--border-light);padding:35px 0 55px}.footer-grid p{font-size:13px;color:#C6B6A3;max-width:470px}.footer-grid small{display:block;margin-top:18px;font-size:10px;color:#A69580;max-width:480px;line-height:1.7}.footer-grid nav{display:grid;grid-template-columns:1fr 1fr;gap:0 30px}.footer-grid nav a{display:flex;justify-content:space-between;gap:15px;padding:12px 0;border-bottom:1px solid #5A4634;font-size:12px;min-height:48px}.footer-bottom{display:flex;justify-content:space-between;gap:20px;border-top:var(--border-light);padding-top:20px;font:9px/1.6 var(--mono);color:#AC9A83}
/* Original game and diary engine, new visual language */
.game-ov{position:fixed;inset:0;z-index:100;display:none;background:#100B08E8;backdrop-filter:blur(12px);padding:24px;overflow:auto;overscroll-behavior:contain}
.game-ov.open{display:grid;grid-template-columns:minmax(0,1fr);place-items:center;animation:overlay-in .2s ease-out}.g-wrap{width:min(100%,980px);min-width:0;margin:auto}.g-card{position:relative;width:100%;max-height:calc(100svh - 48px);overflow:auto;overscroll-behavior:contain;background:var(--paper);color:var(--espresso);border:1px solid #C4AF93;border-radius:var(--radius);padding:clamp(18px,3vw,34px);box-shadow:0 30px 100px #0008}
@keyframes overlay-in{from{opacity:0;transform:scale(.985)}to{opacity:1;transform:scale(1)}}
.g-top{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-bottom:16px;border-bottom:var(--border-dark);margin-bottom:18px}.g-top h3{font-family:var(--display);font-size:clamp(15px,2.5vw,24px);font-weight:500;letter-spacing:-.03em}.g-close{min-height:44px;min-width:44px;padding:8px 14px;border:1px solid #AD9D89;border-radius:999px;background:transparent;color:var(--espresso);font-weight:700;font-size:13px;white-space:nowrap}
.g-sub{font-size:13px;color:#62574A;margin:12px 0 18px;max-width:750px}.g-note{font-size:11px;color:#716354;line-height:1.6;margin:15px 0}.g-ai{font:9px var(--mono);color:#867766;border-top:1px solid #DCCDBC;padding-top:12px;margin-top:22px}.g-btn{display:inline-flex;align-items:center;justify-content:center;min-height:46px;border:1px solid var(--espresso);border-radius:999px;background:var(--espresso);color:var(--crema);padding:10px 20px;font-size:13px;font-weight:700;margin:10px 8px 0 0}.g-btn.ghost{background:transparent;color:var(--espresso);border-color:#AB987E}
.hub-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin:24px 0}.hub-card{display:flex;flex-direction:column;align-items:flex-start;gap:10px;border:1px solid #C8B59D;border-radius:12px;background:#F0E5D3;color:var(--espresso);padding:22px;text-align:left;min-height:200px}.hub-card:nth-child(2){background:#E5F0BA}.hub-card.molecule{background:#DFC7A6}.hub-card b{font-family:var(--display);font-size:15px;font-weight:500;line-height:1.4}.hub-card small{font-size:11px;color:#645543;line-height:1.6}.hc-ico{font-size:30px}.hub-card .hc-rec{margin-top:auto;font-weight:700}
.hl-head{display:flex;justify-content:space-between;gap:15px;font:13px var(--mono)}.g-rules{margin:15px 0;padding:12px 0;border-top:var(--border-dark);border-bottom:var(--border-dark);font-size:12px;color:#645747}.g-rules summary{cursor:pointer;min-height:28px;font-weight:700;color:var(--espresso)}.g-rules ul{padding:12px 0 5px 20px}.g-rules li{margin:7px 0;line-height:1.6}
.hl-cards{display:grid;grid-template-columns:1fr 1fr;gap:15px;margin:20px 0}.hl-card{position:relative;min-height:200px;padding:25px;border:2px solid #BEA98D;border-radius:12px;background:#F3E9D9;color:var(--espresso);font-family:var(--display);font-size:18px;font-weight:500;line-height:1.5}.hl-card .hi{display:block;font:50px var(--body);margin-bottom:16px}.hl-card small{display:block;font:20px var(--mono);margin-top:20px}.hl-card.right{background:#DCE8C9;border-color:#678549}.hl-card.wrong{background:#F0D3C4;border-color:#A5573A}.hl-res{margin-top:18px;padding:20px;border-left:4px solid #688146;background:#E6ECD9;font-size:14px;line-height:1.6}.hl-res .fact{display:block;margin:12px 0;font-size:12px;color:#5C5744}.g-stats{display:grid;grid-template-columns:1fr 1fr;gap:12px}.g-st{padding:12px;background:#F4EADB}.g-st b{display:block;font-size:11px}.g-st span{font:22px var(--mono)}
.tw-ladder{display:flex;align-items:center;gap:4px;overflow:auto;padding:8px 0 15px;font-size:9px;white-space:nowrap}.tl-cap{font-weight:700;margin-right:5px}.tl-item{padding:5px 7px;border:1px solid #CDBA9F;border-radius:4px}.tl-item.tl-goal{background:#E9C699}.tl-arr{color:#8E765A}.tw-top{display:flex;justify-content:space-between;gap:15px;margin:16px 0;font-size:12px}.tw-top>span{font:11px var(--mono);text-align:right}.tw-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px;width:min(100%,490px);margin:15px auto;aspect-ratio:1;padding:8px;background:#BEAA8F;border-radius:10px;touch-action:pan-y}.tw-cell{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;border-radius:5px;background:#DACAB3;text-align:center;padding:5px;color:var(--espresso)}.tw-cell>b{font-size:25px;line-height:1.2}.tw-cell small{font-size:9px;line-height:1.35}.tw-cell small b{font:14px var(--mono)}.tw-banner{padding:14px;background:#E6F0BB;border:1px solid #95AB50;font-size:12px}.tw-pad{display:grid;grid-template-columns:repeat(3,52px);justify-content:center;gap:7px;margin:15px}.tw-pad button{width:52px;height:48px;border:1px solid #9F8A6E;border-radius:8px;background:#EEDFC8;color:var(--espresso)}
.mol-progress{display:flex;gap:7px;margin-bottom:15px}.mol-progress i{height:3px;flex:1;background:#D9C9B4}.mol-progress i.on{background:#73853C}.mol-board{position:relative;width:min(100%,650px);height:390px;margin:10px auto;background:#F1E6D2;border-radius:12px}.mol-board>svg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.mol-board line{stroke:#A08767;stroke-width:.5}.mol-board line.double{stroke-width:.25}.mol-slot{position:absolute;transform:translate(-50%,-50%);width:50px;height:50px;border:2px dashed #A48C6C;border-radius:50%;background:#FCF7EB;color:#8C7657;font:18px var(--mono);z-index:1}.mol-slot small{display:block;font-size:8px;line-height:1}.mol-slot.filled{border-style:solid;color:var(--espresso);background:#D5FF3F}.mol-slot.N.filled,.mol-atom.N{background:#D1DBE7}.mol-slot.O.filled,.mol-atom.O{background:#E9B8A0}.mol-palette{display:flex;justify-content:center;gap:15px;margin:15px}.mol-atom{width:60px;height:60px;border:2px solid #9C8262;border-radius:50%;background:#E1CBA7;color:var(--espresso);font:21px var(--mono);touch-action:none}.mol-atom.selected{outline:4px solid #81963D;outline-offset:3px}.mol-message{text-align:center;font-size:12px;min-height:40px;padding:10px}.mol-formula{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin:25px 0}.mol-count{padding:18px 8px;background:#F0E3CC;text-align:center;border-radius:8px}.mol-count>b{font:30px var(--display)}.mol-count>small{display:block;font-size:11px;min-height:35px;margin:8px 0}.mol-count>div{display:flex;justify-content:center;align-items:center;gap:9px}.mol-count button{width:44px;height:44px;flex:0 0 44px;border:1px solid #AA9170;border-radius:50%;background:#FAF3E7;color:var(--espresso);font-size:20px}.mol-count div b{font:20px var(--mono);min-width:20px}.mol-final{position:relative;text-align:center}.mol-badge{display:inline-block;padding:8px 14px;border-radius:999px;background:#E6D2AF;font-size:12px;font-weight:700}.mol-stars{font-size:36px;color:#9E792B;margin:10px}.mol-final-formula{font-family:var(--display);font-size:clamp(2rem,6vw,4rem);letter-spacing:-.06em}.mol-particles{position:absolute;inset:0;pointer-events:none}.mol-particles i{position:absolute;top:10%;width:6px;height:12px;background:#879A40;animation:particle 1.4s ease-in-out infinite}.mol-particles i:nth-child(2n){background:#B88952}.mol-final .mol-board{height:300px}.learn-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.learn-card{border:1px solid #CEBA9C;border-radius:10px;padding:20px;background:#F1E6D3}.learn-card h3{font-family:var(--display);font-size:15px;font-weight:500;margin:12px 0}.learn-card p{font-size:12px;color:#625341;line-height:1.7}.lc-ico{font-size:24px}.g-chart{margin:20px 0;background:#F3E9D9;border-radius:10px;padding:15px}.g-chart svg text{font-family:var(--mono)}
@keyframes particle{50%{transform:translateY(35px) rotate(120deg)}100%{transform:translateY(0) rotate(240deg)}}
/* Reveal only augments readable HTML. */
.js .reveal{opacity:0;transform:translateY(28px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}.js .reveal.is-visible{opacity:1;transform:none}
@media(min-width:1600px){.hero-intro{right:7%;width:330px}.cup-stage{right:8%;width:57%}.hero-title{top:25%}.lab-layout{grid-template-columns:minmax(0,1fr) 400px}.drinks-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:1100px){
  .primary-nav{gap:18px;font-size:12px}.hero{min-height:760px}.hero-title{font-size:8.8vw;top:29%}.hero-intro{width:31%;top:19%}.cup-stage{width:66%;right:-3%;top:43%;height:48%}.hero-facts>div{gap:9px}.hero-facts strong{font-size:24px}.hero-facts span{font-size:10px}.scroll-cue span{display:none}
  .story-copy{grid-column:1/6}.editorial-visual{grid-column:6/13}.formula-card{grid-column:2/12}.lab-layout{grid-template-columns:minmax(0,1fr) 320px;gap:22px}.drinks-grid{grid-template-columns:1fr}.result-panel{padding:22px}.total-line output{font-size:64px}.profile-fields{grid-template-columns:1fr;gap:20px}.age-field select{margin-top:9px}.decay-strip{grid-template-columns:1fr}.skills-panel{grid-template-columns:1fr}.game-tile{padding:20px;min-height:500px}.compare-art{gap:14px}.compare-art svg{width:62px}.project-stage article{grid-template-columns:100px 1fr}.project-big-number{font-size:76px}.project-side-note{display:none}
}
@media(max-width:760px){
  html{scroll-padding-top:24px}.topbar{height:76px;gap:12px}.brand{font-size:12px;gap:8px}.brand svg{width:28px;height:28px}.brand-sub{font-size:8px}.primary-nav{gap:15px;font-size:11px}.nav-cta{display:none}.menu-toggle{display:flex}
  .hero{min-height:800px;padding-top:112px}.hero-title{top:25%;font-size:8.7vw}.title-second{margin-left:0;font-size:.82em}.hero-intro{top:16%;width:39%;}.hero-description{font-size:12px;margin:10px 0 14px}.hero-intro .button{font-size:11px;padding:10px 15px;min-height:46px}.hero-intro small{font-size:9px}.cup-stage{top:45%;right:-8%;width:85%;height:43%}.hero-bottom{bottom:25px}.hero-facts{width:100%;justify-content:space-between;gap:14px}.hero-facts strong{font-size:22px}.hero-facts span{font-size:9px}.scroll-cue{display:none}
  .section-index{font-size:9px;gap:12px}.section-index span:last-child{max-width:45%}.story-grid{padding-top:35px;gap:30px}.story-copy{grid-column:1/13;padding-top:0}.story-copy>p:not(.eyebrow){max-width:600px}.editorial-visual{grid-column:1/13}.editorial-visual img{min-height:0;aspect-ratio:3/2}.formula-card{grid-column:1/13;margin-top:0}.formula-legend{flex-wrap:wrap;gap:14px 24px}
  .lab-heading{align-items:start;flex-direction:column;margin:35px 0;gap:20px}.lab-layout{grid-template-columns:1fr}.drinks-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-fields{grid-template-columns:1fr 180px}.result-panel{position:relative;top:auto}.total-line output{font-size:76px}.mobile-result-link{display:flex;margin:22px auto 0}.decay-strip{margin-top:35px}.timeline-heading{grid-template-columns:1fr;margin:35px 0}.timeline-heading>div{max-width:500px}.timeline-explanation{grid-template-columns:1fr;gap:20px}.timeline-list{grid-template-columns:repeat(3,1fr)}
  .rules-grid{grid-template-columns:1fr;gap:30px;margin:35px 0 55px}.rules-copy>p:last-child{max-width:500px}.game-grid{grid-template-columns:1fr}.game-tile{min-height:0;display:grid;grid-template-columns:1fr 1fr;column-gap:25px}.game-tile-top{grid-column:1/-1}.game-tile h3{grid-column:1;margin-top:25px}.game-tile>p{grid-column:1}.game-open{grid-column:1}.compare-art,.puzzle-art,.molecule-art{grid-column:2;grid-row:2/5;height:230px}.game-tile-molecule .molecule-art{grid-row:2/5}.project-stage article{grid-template-columns:70px 1fr;gap:20px}.project-big-number{font-size:56px}.project60-steps button{font-size:11px;gap:8px}.footer-grid{grid-template-columns:1fr;gap:30px}.footer-bottom{flex-wrap:wrap}.footer-statement{padding:50px 0}.g-card{max-height:calc(100svh - 32px)}.game-ov{padding:16px}.hub-row{grid-template-columns:1fr}.hub-card{min-height:150px}.mol-formula{gap:6px}.mol-count{padding:14px 4px}
}
@media(min-width:641px) and (max-width:900px){
  .hero{display:flex;flex-direction:column;min-height:0;padding:120px var(--gutter) 30px}
  .hero-kicker{order:0}
  .hero-title{position:relative;inset:auto;order:1;margin-top:36px;font-size:clamp(4rem,9vw,5.4rem);line-height:1.02}
  .title-second{margin-left:0;font-size:1em}
  .hero-intro{position:relative;inset:auto;order:2;width:100%;margin-top:28px;display:grid;grid-template-columns:minmax(0,1fr) minmax(250px,.8fr);gap:10px 28px;align-items:start}
  .hero-intro>p:first-child{grid-column:1;font-size:19px}
  .hero-description{grid-column:1;margin:0;font-size:13px}
  .hero-intro .button{grid-column:2;grid-row:1/4;align-self:center}
  .hero-intro small{grid-column:1;margin-top:0}
  .cup-stage{position:relative;inset:auto;order:3;width:calc(100% + 2 * var(--gutter));height:44svh;min-height:360px;max-height:480px;margin:0 calc(-1 * var(--gutter))}
  .hero-bottom{position:relative;inset:auto;order:4;margin-top:12px}
}
@media(max-width:640px){
  .primary-nav{position:absolute;top:76px;left:0;right:0;display:none;flex-direction:column;align-items:stretch;gap:0;padding:15px var(--gutter) 24px;background:#21180FEE;backdrop-filter:blur(15px);border-bottom:1px solid #66523D}.primary-nav.is-open{display:flex}.primary-nav a{min-height:48px;padding:13px 0;border-bottom:1px solid #514030;font-size:14px}.primary-nav a:after{display:none}
  .hero{display:flex;flex-direction:column;min-height:0;padding:110px var(--gutter) 28px;overflow:hidden}.hero-kicker{font-size:8px;order:0}.hero-title{position:relative;inset:auto;order:1;font-size:clamp(2.7rem,10.7vw,4.5rem);line-height:1.09;margin-top:35px;z-index:2;letter-spacing:-.065em}.title-second{margin-left:0;font-size:1em}.hero-intro{position:relative;inset:auto;width:100%;order:2;margin-top:28px;z-index:5}.hero-intro>p:first-child{font-size:18px}.hero-description{font-size:14px;max-width:330px;margin:12px 0 18px}.hero-intro .button{font-size:13px;max-width:370px;padding:13px 20px}.hero-intro small{font-size:9px;max-width:300px}.cup-stage{position:relative;inset:auto;width:calc(100% + 2 * var(--gutter));height:43svh;min-height:330px;max-height:440px;order:3;margin:0 calc(-1 * var(--gutter)) -8px}.orbit{left:15%;top:22%;width:70%;height:54%}.cup-note-dose{left:8%;bottom:19%}.cup-note-time{right:10%;top:20%}.hero-bottom{position:relative;inset:auto;order:4;margin-top:20px}.hero-facts{gap:12px;justify-content:space-between}.hero-facts>div{flex-direction:column;align-items:flex-start;gap:4px}.hero-facts strong{font-size:25px}.hero-facts span{font-size:10px}.hero-facts>div:last-child{text-align:right;align-items:flex-end}
  h2{font-size:clamp(2rem,9vw,3.6rem)}.section-index{padding:16px 0}.story-copy h2{margin:16px 0 20px}.story-copy>p:not(.eyebrow){font-size:15px}.editorial-visual figcaption{font-size:9px;inset:auto 12px 10px}.formula-card{padding:25px 0}.formula-card>strong{font-size:clamp(2.6rem,11.5vw,4.5rem)}.formula-legend{display:grid;grid-template-columns:1fr 1fr;text-align:left;gap:14px}.formula-legend b{font-size:20px}.formula-footnote{font-size:10px}.lab-heading h2{margin-top:15px}.profile-fields{grid-template-columns:1fr;gap:20px}.profile-step{padding-bottom:25px}.drinks-step h3,legend{font-size:17px}.drinks-grid{gap:10px}.drink{padding:13px}.drink.selected{padding:12px}.drink-top{gap:8px;min-height:69px}.drink-art{width:37px;height:55px;flex-basis:37px}.drink-name{font-size:12px;max-width:100%}.selection-flag{position:relative;right:auto;top:auto;margin-bottom:6px;font-size:9px}.drink-category{font-size:8px}.portion{font-size:10px;margin:10px 0}.stepper{gap:5px}.stepper button{flex-basis:44px;width:44px;height:44px}.stepper .cnt{min-width:17px;font-size:12px}.stepper .mg{font-size:10px}.volrow{flex-wrap:wrap;gap:4px}.volrow .volume-step{display:none}.volrow .vval{font-size:10px;min-width:38px}.time-row{align-items:flex-start;flex-direction:column;gap:5px}.time-row input{width:100%;font-size:13px;min-height:44px}.result-panel{padding:24px}.result-actions{grid-template-columns:1fr}.decay-strip{gap:20px}.chips{grid-template-columns:repeat(2,1fr);gap:20px 10px}.chip .v{font-size:21px}.chip{padding-left:12px}
  .timeline-canvas{padding-left:15px;margin-left:-10px;margin-right:-10px;overflow-x:auto;overscroll-behavior-x:contain}#timelineChart{min-width:650px}.timeline-y-label{left:4px;font-size:8px}.timeline-legend{margin-left:35px;gap:20px}.timeline-list{grid-template-columns:1fr}.timeline-entry{display:grid;grid-template-columns:60px 1fr;column-gap:15px}.timeline-entry .entry-time{grid-row:1/4}.timeline-entry h3{margin-top:0}.timeline-entry .entry-left{grid-column:2}.timeline-heading h2{font-size:clamp(1.9rem,8.5vw,3.2rem)}
  .skills-panel{gap:25px}.sk-row{grid-template-columns:25px 1fr 32px;gap:8px}.sk-bar{display:none}.sk-sub{font-size:9px}.game-tile{display:flex;padding:22px;min-height:510px}.game-tile-top{display:flex}.game-tile h3{margin-top:10px}.compare-art,.puzzle-art,.molecule-art{height:230px;width:100%;order:0}.game-tile-top{order:-1}.game-tile h3{order:1}.game-tile>p{order:2}.game-open{order:3}.project-heading{margin:35px 0}.project60-steps button{flex-direction:column;align-items:flex-start;gap:5px;padding:12px 0;font-size:10px}.project-stage{min-height:0}.project-stage article{grid-template-columns:1fr;padding:30px 0;gap:10px}.project-big-number{font-size:45px}.project-stage h3{font-size:20px}.project-stage article p:not(.eyebrow){font-size:13px}.project-controls .button{min-width:120px;font-size:12px;gap:14px}.footer-statement{font-size:clamp(2.1rem,8.7vw,3.5rem)}.footer-grid nav{grid-template-columns:1fr}.footer-bottom{flex-direction:column;gap:8px}.footer-grid{padding-bottom:35px}
  .game-ov{padding:0}.g-wrap{width:100%}.g-card{min-height:100svh;max-height:100svh;border-radius:0;border:0;padding:18px}.g-top{position:sticky;top:-18px;background:var(--paper);z-index:5;padding:15px 0;margin-top:-5px}.g-top h3{font-size:15px}.hl-cards{gap:10px}.hl-card{padding:15px;min-height:175px;font-size:14px}.hl-card .hi{font-size:38px}.hl-card small{font-size:17px}.tw-top{flex-direction:column;gap:8px}.tw-top>span{text-align:left}.tw-grid{gap:5px;padding:6px}.tw-cell{padding:2px}.tw-cell>b{font-size:21px}.tw-cell small{font-size:8px}.tw-cell small b{font-size:11px}.mol-board{height:340px}.mol-slot{width:44px;height:44px;font-size:16px}.mol-final .mol-board{height:280px}.mol-formula{grid-template-columns:repeat(2,1fr);gap:10px}.mol-count>small{min-height:0}.learn-grid{grid-template-columns:1fr}.g-stats{gap:8px}
}
@media(max-width:380px){
  :root{--gutter:16px}.hero-title{font-size:10.4vw}.hero-kicker{font-size:7px}.hero-intro{margin-top:22px}.cup-stage{min-height:310px;height:39svh}.hero-facts strong{font-size:22px}.hero-facts span{font-size:9px}.section-index{font-size:8px}.drinks-grid{grid-template-columns:1fr}.drink-top{min-height:65px}.drink-art{width:44px;flex-basis:44px}.drink-name{font-size:14px}.drink-category{font-size:9px}.portion{font-size:11px}.stepper button{width:44px;height:44px;flex-basis:44px}.stepper .mg{font-size:12px}.stepper .cnt{font-size:14px}.volrow .volume-step{display:inline}.time-row{flex-direction:row;align-items:center}.time-row input{width:110px}.total-line output{font-size:65px}.result-guide{font-size:9px}.game-tile{padding:19px}.compare-art svg{width:58px}.g-card{padding:15px}.g-top{top:-15px}.mol-board{height:310px}.mol-slot{width:44px;height:44px}.tw-cell>b{font-size:18px}
}
@media(max-width:480px){.drinks-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}.js .reveal{opacity:1;transform:none}.cup-stage canvas{display:none}.cup-stage #cup-poster{opacity:1!important}.orbit-one i{box-shadow:none}.editorial-visual:hover img{transform:none}
}
