/* Steve's Cheese. Palette from the logo: cellar green #263121 + rind amber #BB782B. */
:root {
  --ink: #1B2316;
  --cellar: #263121;
  --moss: #3E4C33;
  --sage: #5B6352;
  --amber: #BB782B;
  --amber-hi: #D9A05B;
  --rind: #7A4A14;
  --paper: #F5EFE2;
  --curd: #FBF8F1;
  --wax: #EADFC8;
  --line: rgba(38, 49, 33, .16);
  --line-d: rgba(245, 239, 226, .16);
  --mist: #C9C2AF;
  --display: 'DM Serif Display', 'Iowan Old Style', Georgia, serif;
  --body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --head-h: 76px;
  --gut: clamp(18px, 4vw, 56px);
  --max: 1320px;
  --r: 4px;
  --mk-accent: var(--amber);
  --mk-arrival-bg: #1B2316;
  --mk-toggle-ink: #1B2316;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head-h) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.68 var(--body); overflow-x: clip; }
img, picture, video, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--rind); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--cellar); }
:focus-visible { outline: 3px solid var(--amber-hi); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 400; line-height: 1.04; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; color: var(--cellar); }
h1 { font-size: clamp(2.6rem, 6.4vw, 5.9rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.6rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); line-height: 1.15; }
p { margin: 0 0 1.1em; text-wrap: pretty; }
.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--amber-hi); color: var(--ink); padding: 10px 16px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.kicker { font: 800 .74rem/1.3 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--rind); margin: 0 0 1.1rem; display: flex; align-items: center; gap: .8rem; }
.kicker::before { content: ""; width: 34px; height: 2px; background: currentColor; flex: none; }
.center { text-align: center; }
.center .kicker { justify-content: center; }
.lede { font-size: clamp(1.08rem, 1.4vw, 1.28rem); line-height: 1.6; max-width: 62ch; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .6em; min-height: 50px; padding: .8em 1.5em; border-radius: var(--r); border: 1.5px solid transparent; font: 800 .82rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; text-decoration: none; cursor: pointer; transition: background .25s, color .25s, border-color .25s, translate .25s; }
.btn:hover { translate: 0 -2px; }
.btn--amber { background: var(--amber-hi); color: var(--ink); }
.btn--amber:hover { background: #E7B271; color: var(--ink); }
.btn--green { background: var(--cellar); color: var(--paper); }
.btn--green:hover { background: var(--moss); color: var(--paper); }
.btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.btn--ghost:hover { background: rgba(245,239,226,.1); color: inherit; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-head { position: sticky; top: 0; z-index: 100; background: var(--ink); color: var(--paper); border-bottom: 1px solid var(--line-d); }
.site-head__in { height: var(--head-h); display: flex; align-items: center; gap: 28px; width: min(100% - 2 * var(--gut), 1440px); margin-inline: auto; }
.brand img { height: 40px; width: auto; }
.nav { margin-left: auto; }
.nav__list { list-style: none; display: flex; align-items: center; gap: 6px; margin: 0; padding: 0; }
.nav__item { position: static; }
.nav__item.has-panel { position: relative; }
.nav__trigger, .nav__link { display: inline-flex; align-items: center; gap: 8px; height: var(--head-h); padding: 0 14px; background: none; border: 0; color: var(--paper); font: 700 .86rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; text-decoration: none; cursor: pointer; position: relative; }
.nav__trigger svg { width: 10px; height: 6px; fill: none; stroke: currentColor; stroke-width: 1.6; transition: rotate .25s; }
.nav__trigger[aria-expanded="true"] svg { rotate: 180deg; }
.nav__trigger::after, .nav__link::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 20px; height: 2px; background: var(--amber-hi); scale: 0 1; transform-origin: left; transition: scale .3s; }
.nav__trigger:hover::after, .nav__trigger[aria-expanded="true"]::after, .nav__link:hover::after, .nav__link[aria-current]::after { scale: 1 1; }
.nav__link:hover, .nav__trigger:hover { color: var(--amber-hi); }
/* Panels: top:100% of the item, padding bridge so the pointer never crosses a gap */
.mega, .drop { position: absolute; top: 100%; visibility: hidden; opacity: 0; translate: 0 8px; transition: opacity .22s, translate .22s, visibility 0s .22s; z-index: 5; }
.has-panel.is-open > .mega, .has-panel.is-open > .drop { visibility: visible; opacity: 1; translate: 0 0; transition: opacity .22s, translate .22s, visibility 0s; }
.mega::before, .drop::before { content: ""; position: absolute; left: 0; right: 0; top: -22px; height: 22px; }
.drop { left: -10px; min-width: 330px; }
.drop__list { list-style: none; margin: 0; padding: 10px; background: var(--curd); color: var(--ink); border-radius: var(--r); box-shadow: 0 30px 60px -24px rgba(0,0,0,.5); border-top: 3px solid var(--amber); }
.drop__list a { display: grid; gap: 2px; padding: 12px 14px; border-radius: 3px; text-decoration: none; color: var(--ink); }
.drop__list a strong { font: 700 .98rem/1.2 var(--body); }
.drop__list a span { font-size: .85rem; color: var(--sage); }
.drop__list a:hover, .drop__list a:focus-visible { background: var(--wax); }
.mega { left: 50%; width: min(1080px, calc(100vw - 48px)); margin-left: calc(min(1080px, calc(100vw - 48px)) / -2 + 40px); }
.mega__in { display: grid; grid-template-columns: 280px 1fr; background: var(--curd); color: var(--ink); border-radius: var(--r); box-shadow: 0 40px 80px -30px rgba(0,0,0,.55); overflow: hidden; border-top: 3px solid var(--amber); }
.mega__lead { background: var(--cellar) url('/assets/img/styles-640.jpg') center/cover; position: relative; padding: 30px 28px; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; min-height: 300px; isolation: isolate; }
.mega__lead::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,35,22,.25), rgba(27,35,22,.92)); z-index: -1; }
.mega__kicker { font: 800 .7rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 10px; }
.mega__title { font: 1.7rem/1.1 var(--display); margin: 0 0 16px; }
.mega__all { color: var(--paper); font-weight: 700; font-size: .9rem; }
.mega__all:hover { color: var(--amber-hi); }
.mega__grid { list-style: none; margin: 0; padding: 14px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.mega__grid a { display: flex; gap: 14px; padding: 14px; border-radius: 3px; text-decoration: none; color: var(--ink); height: 100%; }
.mega__grid a:hover, .mega__grid a:focus-visible, .mega__grid a[aria-current] { background: var(--wax); }
.mega__num { font: 1.4rem/1 var(--display); color: var(--amber); min-width: 30px; }
.mega__txt { display: grid; gap: 3px; }
.mega__txt strong { font: 700 1rem/1.2 var(--body); }
.mega__txt span { font-size: .86rem; line-height: 1.45; color: var(--sage); }
.head-tools { display: flex; align-items: center; gap: 12px; }
.head-cta { min-height: 42px; padding: .7em 1.1em; font-size: .74rem; }
.lang { position: relative; }
.lang__btn { display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 12px; border: 1px solid var(--line-d); border-radius: var(--r); background: transparent; color: var(--paper); font: 700 .78rem/1 var(--body); letter-spacing: .1em; cursor: pointer; }
.lang__btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.lang__btn:hover { border-color: var(--amber-hi); color: var(--amber-hi); }
.lang__list { position: absolute; right: 0; top: calc(100% + 8px); list-style: none; margin: 0; padding: 8px; background: var(--curd); border-radius: var(--r); box-shadow: 0 24px 50px -20px rgba(0,0,0,.5); min-width: 170px; z-index: 6; border-top: 3px solid var(--amber); }
.lang__list button { width: 100%; text-align: left; background: none; border: 0; padding: 10px 12px; font: 600 .92rem/1.2 var(--body); color: var(--ink); border-radius: 3px; cursor: pointer; }
.lang__list button:hover, .lang__list button:focus-visible { background: var(--wax); }
/* Google Translate: hide Google's own UI, keep page layout intact */
.goog-te-banner-frame, .skiptranslate iframe, #goog-gt-tt, .goog-te-balloon-frame, .goog-tooltip, .VIpgJd-ZVi9od-ORHb-OEVmcd, .VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }
body { top: 0 !important; position: static !important; }
.goog-text-highlight { background: none !important; box-shadow: none !important; }
font[style] { background: transparent !important; box-shadow: none !important; }
.burger { display: none; width: 46px; height: 46px; border: 1px solid var(--line-d); border-radius: var(--r); background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; background: var(--paper); transition: translate .3s, rotate .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger[aria-expanded="true"] span:first-child { translate: 0 4px; rotate: 45deg; }
.burger[aria-expanded="true"] span:last-child { translate: 0 -4px; rotate: -45deg; }
.sheet { background: var(--ink); border-top: 1px solid var(--line-d); max-height: calc(100svh - var(--head-h)); overflow: auto; padding: 20px var(--gut) 120px; }
.sheet__label { font: 800 .7rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber-hi); margin: 18px 0 8px; }
.sheet__list { list-style: none; margin: 0; padding: 0; }
.sheet__list a { display: block; padding: 12px 0; color: var(--paper); text-decoration: none; font: 1.6rem/1.1 var(--display); border-bottom: 1px solid var(--line-d); }
.sheet__list--small a { font: 600 1.02rem/1.2 var(--body); }

/* Home hero: full-bleed video, symmetric padding */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--paper); padding-block: clamp(72px, 11vw, 150px); isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__layer { position: absolute; inset: 0; }
.hero__layer video, .hero__layer picture, .hero__layer img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,35,22,.94) 0%, rgba(27,35,22,.8) 38%, rgba(27,35,22,.25) 72%, rgba(27,35,22,.1) 100%); }
.hero__copy { width: min(100% - 2 * var(--gut), 1440px); margin-inline: auto; }
.hero__copy > * { max-width: 760px; }
.hero h1 { color: var(--paper); font-size: clamp(2.7rem, 6.6vw, 6.2rem); line-height: .98; margin-bottom: .35em; }
.hero h1 em { font-style: italic; color: var(--amber-hi); }
.hero .kicker { color: var(--amber-hi); }
.hero .lede { color: #E8E1CF; margin-bottom: 30px; max-width: 54ch; }
.hero .btn--ghost { color: var(--paper); }

/* Marquee */
.ticker { background: var(--cellar); color: var(--paper); overflow: hidden; border-block: 1px solid var(--line-d); }
.ticker__row { display: flex; gap: 48px; padding: 22px 0; width: max-content; white-space: nowrap; }
.ticker__row span { font: 2.4rem/1 var(--display); letter-spacing: .01em; display: inline-flex; align-items: center; gap: 48px; }
.ticker__row span::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--amber); }
.ticker__row span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px var(--paper); }

/* Sections */
.sec { padding-block: clamp(72px, 10vw, 140px); }
.sec--dark { background: var(--ink); color: #E8E1CF; }
.sec--dark h2, .sec--dark h3 { color: var(--paper); }
.sec--dark .kicker { color: var(--amber-hi); }
.sec--dark a { color: var(--amber-hi); }
.sec--wax { background: var(--wax); }
.sec-head { max-width: 860px; margin: 0 auto clamp(40px, 6vw, 72px); text-align: center; }
.sec-head .kicker { justify-content: center; }
.sec-head .lede { margin-inline: auto; }

/* Expanding accordion gallery (six styles) */
.acc { display: flex; gap: 10px; height: clamp(460px, 62vh, 620px); }
.acc__panel { position: relative; flex: 1; min-width: 0; border-radius: var(--r); overflow: hidden; background: var(--cellar); color: var(--paper); transition: flex .7s cubic-bezier(.2,.7,.2,1); cursor: pointer; outline-offset: 4px; }
.acc__panel.is-on { flex: 5.2; cursor: default; }
.acc__panel picture, .acc__panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.acc__panel img { transition: scale 1.2s; scale: 1.05; }
.acc__panel.is-on img { scale: 1; }
.acc__panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(27,35,22,.15) 30%, rgba(27,35,22,.92)); }
.acc__tab { position: absolute; z-index: 2; left: 0; right: 0; bottom: 22px; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: opacity .3s; }
.acc__tab b { font: 1.9rem/1 var(--display); color: var(--amber-hi); }
.acc__tab span { writing-mode: vertical-rl; rotate: 180deg; font: 800 .74rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; }
.acc__panel.is-on .acc__tab { opacity: 0; }
.acc__body { position: absolute; z-index: 2; left: 0; bottom: 0; width: min(560px, 100%); padding: clamp(22px, 3vw, 40px); opacity: 0; translate: 0 18px; transition: opacity .4s .25s, translate .5s .25s; }
.acc__panel.is-on .acc__body { opacity: 1; translate: 0 0; }
.acc__body h3 { color: var(--paper); font-size: clamp(1.8rem, 3vw, 2.6rem); margin-bottom: .3em; }
.acc__body p { color: #E8E1CF; margin-bottom: .8em; font-size: 1rem; }
.acc__meta { font: 800 .7rem/1.4 var(--body); letter-spacing: .18em; text-transform: uppercase; color: var(--amber-hi); }
.acc__body a { color: var(--paper); font-weight: 700; }

/* Anatomy of a wedge: technical drawing */
.anat { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 96px); align-items: center; }
.anat__sheet { position: relative; background: var(--curd); border: 1px solid var(--line); padding: clamp(18px, 3vw, 36px); background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px); background-size: 28px 28px; background-position: -1px -1px; }
.anat__sheet svg { width: 100%; height: auto; overflow: visible; }
.anat__sheet .ln { fill: none; stroke: var(--cellar); stroke-width: 1.4; }
.anat__sheet .lnA { fill: none; stroke: var(--amber); stroke-width: 1.4; }
.anat__sheet .fill1 { fill: #F1DFAE; } .anat__sheet .fill2 { fill: #C99A55; }
.anat__sheet text { font: 700 13px var(--body); letter-spacing: .14em; text-transform: uppercase; fill: var(--cellar); }
.anat__sheet .cap { font: 400 italic 15px var(--display); letter-spacing: 0; text-transform: none; fill: var(--sage); }
.anat__list { list-style: none; margin: 26px 0 0; padding: 0; border-top: 1px solid var(--line); }
.anat__list li { display: grid; grid-template-columns: 42px 1fr; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.anat__list b { font: 1.2rem/1.3 var(--display); color: var(--amber); font-weight: 400; }

/* Sticky stacking cards */
.stack { list-style: none; margin: 0 auto; padding: 0 0 4vh; max-width: 980px; }
.stack__card { position: sticky; top: calc(var(--head-h) + 1.4rem + (var(--i, 0) * 14px)); z-index: 2; display: grid; grid-template-columns: 76px 1fr; gap: clamp(16px, 3vw, 34px); align-items: start; background: var(--curd); border: 1.5px solid var(--line); border-radius: 10px; padding: clamp(1.4rem, 3vw, 2.3rem); box-shadow: 0 22px 48px -30px rgba(27,35,22,.55); margin-bottom: 1.1rem; }
.stack__num { width: 66px; height: 66px; display: grid; place-items: center; background: var(--cellar); color: var(--amber-hi); border-radius: 8px; font: 1.7rem/1 var(--display); }
.stack__card h3 { margin-bottom: .35em; }
.stack__card p { margin: 0; color: #3a4433; }
.stack__chev { display: flex; justify-content: center; margin: -.2rem 0 .9rem; position: relative; z-index: 1; }
.stack__chev svg { width: 26px; height: 26px; fill: none; stroke: var(--amber); stroke-width: 2; animation: bob 1.9s ease-in-out infinite; }
@keyframes bob { 50% { translate: 0 22%; } }
html[data-motion-tier="essential"] .stack__card { position: relative; top: auto; }
html[data-motion-tier="essential"] .stack__chev svg { animation: none; }

/* Giant words filling on scroll */
.words__list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-d); }
.words__row { display: grid; grid-template-columns: auto minmax(0, 1fr) minmax(0, 22rem); gap: clamp(1rem, 3vw, 3rem); align-items: center; padding-block: clamp(1.4rem, 3vw, 2.8rem); border-bottom: 1px solid var(--line-d); }
.words__idx { font: 800 1.1rem/1 var(--body); color: var(--amber-hi); font-variant-numeric: tabular-nums; }
.words__word { font: 400 clamp(2.6rem, 7.6vw, 7.4rem)/.9 var(--display); text-transform: uppercase; letter-spacing: -.02em; margin: 0; color: transparent; -webkit-text-stroke: 1.2px rgba(245,239,226,.55); background: linear-gradient(90deg, var(--paper) 0 50%, transparent 50% 100%); background-size: 200% 100%; background-repeat: no-repeat; background-position: max(0%, calc(100% - var(--p, 0) * 170%)) 0; -webkit-background-clip: text; background-clip: text; }
.words__row p { margin: 0; color: #CFC8B4; }
html[data-motion-tier="essential"] .words__word, html:not(.mk-js) .words__word { background-position: 0 0; }

/* Drinks lanes over photo */
.lanes { position: relative; color: var(--paper); overflow: hidden; isolation: isolate; padding-block: clamp(80px, 11vw, 150px); }
.lanes__bg { position: absolute; inset: 0; z-index: -2; }
.lanes__bg picture, .lanes__bg img { width: 100%; height: 100%; object-fit: cover; }
.lanes::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(27,35,22,.55) 0%, rgba(27,35,22,.78) 45%, rgba(27,35,22,.93) 100%); }
.lanes h2 { color: var(--paper); }
.lanes .kicker { color: var(--amber-hi); }
.lanes__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--line-d); }
.lane { padding: 28px 26px 8px 0; border-right: 1px solid var(--line-d); margin-right: 26px; display: flex; flex-direction: column; }
.lane:last-child { border-right: 0; margin-right: 0; }
.lane__glass { font: 800 .72rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--amber-hi); }
.lane h3 { color: var(--paper); margin: 14px 0 12px; font-size: clamp(1.5rem, 2.2vw, 2rem); }
.lane p { color: #DCD4BF; font-size: .98rem; flex: 1; }
.lane a { color: var(--paper); font-weight: 700; font-size: .92rem; }

/* Party calculator split */
.party { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.party__photo { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 4/5; }
.party__photo picture, .party__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Calculators / tools shared */
.tool { background: var(--curd); border: 1px solid var(--line); border-radius: 10px; padding: clamp(20px, 3vw, 36px); box-shadow: 0 30px 60px -45px rgba(27,35,22,.6); }
.tool h3 { margin-bottom: .4em; }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label, .field legend, .lbl { font: 800 .74rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--cellar); }
.field input[type=number], .field input[type=text], .field input[type=email], .field select, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid #B9B09A; border-radius: var(--r); background: #fff; font: 500 1rem/1.4 var(--body); color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--cellar); outline: 3px solid rgba(217,160,91,.45); outline-offset: 0; }
.range { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; }
.range input { width: 100%; accent-color: var(--amber); height: 32px; }
.range output { font: 2rem/1 var(--display); color: var(--cellar); min-width: 3ch; text-align: right; }
.seg { display: flex; flex-wrap: wrap; gap: 8px; border: 0; padding: 0; margin: 0 0 18px; }
.seg legend { margin-bottom: 8px; }
.seg label { position: relative; }
.seg input { position: absolute; opacity: 0; inset: 0; }
.seg span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #B9B09A; border-radius: var(--r); font: 700 .9rem/1.2 var(--body); cursor: pointer; background: #fff; }
.seg input:checked + span { background: var(--cellar); color: var(--paper); border-color: var(--cellar); }
.seg input:focus-visible + span { outline: 3px solid var(--amber-hi); outline-offset: 2px; }
.result { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.result div { display: grid; gap: 4px; }
.result b { font: 2.2rem/1 var(--display); color: var(--cellar); font-weight: 400; }
.result span { font-size: .84rem; color: var(--sage); line-height: 1.35; }
.tool__note { font-size: .88rem; color: var(--sage); margin: 14px 0 0; }

/* Guide index rows */
.index { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.index a { display: grid; grid-template-columns: 70px minmax(0, 1fr) minmax(0, 1.1fr) 40px; gap: 24px; align-items: center; padding: 26px 8px; border-bottom: 1px solid var(--line); text-decoration: none; color: var(--ink); position: relative; transition: background .3s, padding .3s; }
.index a:hover, .index a:focus-visible { background: var(--curd); padding-inline: 22px 14px; }
.index__n { font: 1.5rem/1 var(--display); color: var(--amber); }
.index__t { font: 400 clamp(1.6rem, 3vw, 2.5rem)/1.05 var(--display); color: var(--cellar); }
.index__d { color: var(--sage); font-size: 1rem; }
.index__go { width: 40px; height: 40px; border-radius: 50%; border: 1.5px solid var(--cellar); display: grid; place-items: center; transition: background .3s; }
.index__go svg { width: 16px; height: 16px; fill: none; stroke: var(--cellar); stroke-width: 2; }
.index a:hover .index__go { background: var(--amber-hi); border-color: var(--amber-hi); }
.index__peek { position: fixed; left: 0; top: 0; width: 280px; aspect-ratio: 4/3; pointer-events: none; z-index: 50; border-radius: var(--r); overflow: hidden; opacity: 0; scale: .9; transition: opacity .25s, scale .25s; box-shadow: 0 30px 60px -25px rgba(0,0,0,.5); }
.index__peek.on { opacity: 1; scale: 1; }
.index__peek img { width: 100%; height: 100%; object-fit: cover; }

/* CTA band */
.cta { position: relative; overflow: hidden; isolation: isolate; color: var(--paper); padding-block: clamp(90px, 12vw, 170px); text-align: center; }
.cta__bg { position: absolute; inset: 0; z-index: -2; }
.cta__bg picture, .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(27,35,22,.72), rgba(27,35,22,.94) 75%); }
.cta h2 { color: var(--paper); max-width: 16ch; margin-inline: auto; font-size: clamp(2.4rem, 5.6vw, 5rem); }
.cta p { max-width: 54ch; margin: 0 auto 30px; color: #E8E1CF; }
.cta .btn-row { justify-content: center; }
.cta .kicker { color: var(--amber-hi); justify-content: center; }
.cta .btn--ghost { color: var(--paper); }

/* Guide page head */
.phead { position: relative; overflow: hidden; isolation: isolate; background: var(--ink); color: var(--paper); padding-block: clamp(64px, 9vw, 120px); }
.phead__media { position: absolute; inset: 0; z-index: -2; }
.phead__layer { position: absolute; inset: 0; }
.phead__layer picture, .phead__layer img { width: 100%; height: 100%; object-fit: cover; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,35,22,.95) 0%, rgba(27,35,22,.84) 46%, rgba(27,35,22,.45) 100%); }
.phead__in { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.phead h1 { color: var(--paper); font-size: clamp(2.5rem, 5.6vw, 5.2rem); margin-bottom: .3em; }
.phead .lede { color: #E8E1CF; margin: 0; }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 20px; padding: 0; font: 700 .76rem/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: var(--amber-hi); }
.crumbs a { color: #E8E1CF; text-decoration: none; }
.crumbs a:hover { color: var(--amber-hi); }
.crumbs [aria-current] { color: var(--amber-hi); }
.toc { border-left: 2px solid var(--amber); padding: 6px 0 6px 24px; }
.toc p { font: 800 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 12px; }
.toc ol { margin: 0; padding: 0; list-style: none; counter-reset: t; display: grid; gap: 8px; }
.toc li { counter-increment: t; }
.toc a { color: var(--paper); text-decoration: none; font-weight: 600; font-size: .98rem; display: flex; gap: 12px; }
.toc a::before { content: counter(t, decimal-leading-zero); color: var(--amber-hi); font: 1rem/1.5 var(--display); }
.toc a:hover { color: var(--amber-hi); }

/* Article body */
.article { padding-block: clamp(56px, 8vw, 110px); }
.prose { width: min(100% - 2 * var(--gut), 760px); margin-inline: auto; }
.prose h2 { font-size: clamp(1.9rem, 3.4vw, 2.9rem); margin-top: 1.6em; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 1.5em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--amber); }
.prose strong { color: var(--cellar); }
.wide { width: min(100% - 2 * var(--gut), 1120px); margin: clamp(36px, 5vw, 64px) auto; }
.note { margin: 2em 0; padding: 22px 26px; background: var(--curd); border-left: 4px solid var(--amber); }
.note__t { font: 800 .74rem/1 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--rind); margin: 0 0 10px; }
.note p:last-child { margin-bottom: 0; }
.note--dark { background: var(--cellar); color: #E8E1CF; border-left-color: var(--amber-hi); }
.note--dark .note__t { color: var(--amber-hi); }
.note--dark strong { color: var(--paper); }
.pull { font: 400 italic clamp(1.6rem, 3vw, 2.3rem)/1.25 var(--display); color: var(--cellar); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 26px 0; margin: 2em 0; text-align: center; }
.table-wrap { overflow-x: auto; margin: 1.5em 0 2em; border: 1px solid var(--line); border-radius: var(--r); background: var(--curd); }
table { width: 100%; border-collapse: collapse; font-size: .95rem; min-width: 560px; }
th, td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { background: var(--cellar); color: var(--paper); font: 800 .72rem/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; }
tbody th { font-weight: 700; color: var(--cellar); }
tbody tr:last-child > * { border-bottom: 0; }
.figure { margin: 2em 0; }
.figure .frame { position: relative; overflow: hidden; border-radius: var(--r); aspect-ratio: 16/9; }
.figure .frame picture, .figure .frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.figure figcaption { font-size: .86rem; color: var(--sage); margin-top: 10px; }
.matrix { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin: 1.6em 0 2em; background: var(--curd); }
.matrix div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); border-bottom: 1px solid var(--line); }
.matrix div:last-child { border-bottom: 0; }
.matrix span { padding: 14px 18px; }
.matrix span:first-child { font-weight: 700; color: var(--cellar); border-right: 1px solid var(--line); }
.matrix span:first-child::before { content: "If "; color: var(--rind); }
.matrix span:last-child::before { content: "Then "; color: var(--rind); font-weight: 700; }

/* FAQ */
.faq { border-top: 1px solid var(--line); margin: 1em 0 0; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 20px 44px 20px 0; position: relative; font: 700 1.08rem/1.4 var(--body); color: var(--cellar); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 6px; top: 14px; font: 1.8rem/1 var(--display); color: var(--amber); transition: rotate .3s; }
.faq details[open] summary::after { rotate: 45deg; }
.faq details > div { padding: 0 0 18px; }

/* Related guides */
.related { background: var(--wax); padding-block: clamp(56px, 8vw, 100px); }
.related__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 2px solid var(--cellar); }
.related__grid a { display: flex; flex-direction: column; gap: 10px; padding: 26px 26px 26px 0; text-decoration: none; color: var(--ink); border-right: 1px solid var(--line); margin-right: 26px; }
.related__grid a:last-child { border-right: 0; margin-right: 0; }
.related__grid .lbl { color: var(--rind); }
.related__grid strong { font: 400 1.7rem/1.1 var(--display); color: var(--cellar); }
.related__grid span:last-child { color: var(--sage); font-size: .96rem; }
.related__grid a:hover strong { color: var(--rind); }

/* Board builder */
.builder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: clamp(20px, 3vw, 40px); align-items: start; }
.picker { display: grid; gap: 14px; }
.picker__group { border: 0; margin: 0; padding: 0; }
.picker__group legend { margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { min-height: 44px; padding: 8px 14px; border: 1.5px solid #B9B09A; border-radius: 999px; background: #fff; font: 700 .88rem/1.2 var(--body); color: var(--ink); cursor: pointer; transition: background .2s, color .2s, border-color .2s; }
.chip[aria-pressed="true"] { background: var(--cellar); color: var(--paper); border-color: var(--cellar); }
.chip:hover { border-color: var(--cellar); }
.board { position: relative; aspect-ratio: 16/11; border-radius: 18px; background: linear-gradient(135deg, #5a3a22, #3f2716); box-shadow: inset 0 0 0 10px rgba(0,0,0,.12), 0 30px 60px -30px rgba(0,0,0,.6); overflow: hidden; }
.board::before { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(100deg, rgba(255,255,255,.035) 0 3px, transparent 3px 22px); }
.board__item { position: absolute; display: grid; place-items: center; text-align: center; font: 800 .7rem/1.15 var(--body); letter-spacing: .06em; text-transform: uppercase; color: var(--ink); padding: 6px; animation: drop .45s cubic-bezier(.2,.8,.2,1.2); box-shadow: 0 10px 18px -8px rgba(0,0,0,.6); }
@keyframes drop { from { scale: .4; opacity: 0; } }
.board__empty { position: absolute; inset: 0; display: grid; place-items: center; color: #E8D9BF; font: italic 1.3rem/1.3 var(--display); text-align: center; padding: 24px; }
.checks { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.checks li { display: grid; grid-template-columns: 26px 1fr; gap: 10px; align-items: start; font-size: .95rem; }
.checks li::before { content: "\2022"; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #DDD3BC; color: var(--sage); font-weight: 800; font-size: .8rem; }
.checks li.ok::before { content: "\2713"; background: var(--cellar); color: var(--paper); }

/* Pairing explorer + generic tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.tabs button { min-height: 46px; padding: 10px 18px; border: 1.5px solid var(--cellar); border-radius: var(--r); background: transparent; color: var(--cellar); font: 800 .8rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; cursor: pointer; }
.tabs button[aria-pressed="true"], .tabs button[aria-selected="true"] { background: var(--cellar); color: var(--paper); }
.pairs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.pairs div { padding: 20px 20px 6px 0; border-right: 1px solid var(--line); margin-right: 20px; }
.pairs div:last-child { border-right: 0; margin-right: 0; }
.pairs h3 { font-size: 1.3rem; margin-bottom: .4em; }
.pairs p { font-size: .96rem; margin: 0 0 .8em; }

/* Melt chart bars */
.melt-row { display: grid; grid-template-columns: minmax(0, 180px) repeat(3, minmax(0, 1fr)); gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--line); }
.melt-row.head { font: 800 .7rem/1.2 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--sage); }
.melt-row strong { color: var(--cellar); }
.bar { height: 10px; background: #E1D7C1; border-radius: 5px; overflow: hidden; }
.bar i { display: block; height: 100%; width: calc(var(--v) * 20%); background: linear-gradient(90deg, var(--amber), var(--amber-hi)); border-radius: 5px; }
.melt-row[hidden] { display: none; }

/* Temper timer & label decoder */
.decoder { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: clamp(20px, 3vw, 40px); }
.decoder__terms { display: grid; gap: 6px; align-content: start; }
.decoder__terms button { text-align: left; min-height: 48px; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; font: 700 .95rem/1.3 var(--body); color: var(--cellar); cursor: pointer; }
.decoder__terms button[aria-selected="true"] { border-color: var(--cellar); background: var(--cellar); color: var(--paper); }
.decoder__panel { background: var(--cellar); color: #E8E1CF; border-radius: var(--r); padding: clamp(20px, 3vw, 34px); }
.decoder__panel h3 { color: var(--paper); }

/* Journey path (scroll-drawn) */
.path { position: relative; padding-left: 64px; }
.path svg.path__line { position: absolute; left: 18px; top: 0; height: 100%; width: 12px; overflow: visible; }
.path__line line { stroke: var(--amber); stroke-width: 3; }
.path__step { position: relative; padding-bottom: 28px; }
.path__step::before { content: attr(data-n); position: absolute; left: -64px; top: 0; width: 40px; height: 40px; border-radius: 50%; background: var(--cellar); color: var(--amber-hi); display: grid; place-items: center; font: 1.1rem/1 var(--display); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.form-msg { padding: 16px 18px; border-radius: var(--r); margin-bottom: 20px; font-weight: 600; }
.form-msg--ok { background: #DDE8D2; color: var(--cellar); }
.form-msg--err { background: #F4D9CB; color: #6E2A0E; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.check { display: grid; grid-template-columns: 22px 1fr; gap: 10px; align-items: start; font-size: .92rem; margin-bottom: 18px; }
.check input { width: 20px; height: 20px; accent-color: var(--cellar); margin-top: 2px; }
.aside-card { background: var(--cellar); color: #E8E1CF; padding: clamp(22px, 3vw, 36px); border-radius: var(--r); }
.aside-card h2 { color: var(--paper); font-size: 1.9rem; }
.aside-card ul { padding-left: 1.1em; margin: 0 0 1em; }
.aside-card a { color: var(--amber-hi); }

/* Legal */
.legal { padding-block: clamp(56px, 8vw, 100px); }

/* Footer */
.site-foot { background: var(--ink); color: #CFC8B4; padding-bottom: 20px; position: relative; overflow: hidden; }
.site-foot a { color: #E8E1CF; text-decoration: none; }
.site-foot a:hover { color: var(--amber-hi); }
.site-foot__band { display: flex; justify-content: space-between; gap: 2vw; padding: 26px var(--gut); border-bottom: 1px solid var(--line-d); font: 400 clamp(1.1rem, 2.6vw, 2.4rem)/1 var(--display); color: transparent; -webkit-text-stroke: 1px rgba(217,160,91,.6); translate: calc((var(--p, .5) - .5) * -60px) 0; flex-wrap: wrap; }
.site-foot__in { width: min(100% - 2 * var(--gut), var(--max)); margin: 0 auto; padding-block: 56px 36px; display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); }
.site-foot__brand img { height: 44px; width: auto; margin-bottom: 20px; }
.site-foot__brand p { max-width: 46ch; font-size: .95rem; }
.site-foot__brand .btn { color: var(--ink); }
.site-foot__h { font: 800 .72rem/1 var(--body); letter-spacing: .22em; text-transform: uppercase; color: var(--amber-hi); margin: 0 0 14px; }
.site-foot__col ul { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 8px; }
.site-foot__base { width: min(100% - 2 * var(--gut), var(--max)); margin: 0 auto; border-top: 1px solid var(--line-d); padding-top: 22px; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 24px; align-items: center; font-size: .85rem; }
.site-foot__base p { margin: 0; }
.site-foot .mk-toggle { color: var(--amber-hi); }

/* Mobile dock */
.dock { display: none; }

/* Responsive */
@media (max-width: 1100px) {
  .nav, .head-cta { display: none; }
  .burger { display: inline-block; }
  .head-tools { margin-left: auto; }
  .lanes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lane:nth-child(2) { border-right: 0; margin-right: 0; }
  .pairs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pairs div:nth-child(2) { border-right: 0; margin-right: 0; }
}
@media (max-width: 900px) {
  :root { --head-h: 64px; }
  .brand img { height: 32px; }
  .anat, .party, .phead__in, .builder, .decoder, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .acc { flex-direction: column; height: auto; }
  .acc__panel { flex: none; height: 74px; transition: height .6s cubic-bezier(.2,.7,.2,1); }
  .acc__panel.is-on { height: 460px; flex: none; }
  .acc__tab { flex-direction: row; left: 22px; right: auto; bottom: 50%; translate: 0 50%; }
  .acc__tab span { writing-mode: horizontal-tb; rotate: 0deg; }
  .words__row { grid-template-columns: auto minmax(0, 1fr); }
  .words__row p { grid-column: 2; }
  .index a { grid-template-columns: 46px minmax(0, 1fr) 40px; }
  .index__d { grid-column: 2; grid-row: 2; }
  .index__go { grid-column: 3; grid-row: 1 / span 2; }
  .related__grid { grid-template-columns: minmax(0, 1fr); }
  .related__grid a { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line); }
  .site-foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .site-foot__brand { grid-column: 1 / -1; }
  .site-foot__base { grid-template-columns: minmax(0, 1fr); }
  .dock { display: grid; grid-template-columns: repeat(4, 1fr); position: fixed; left: 10px; right: 10px; bottom: calc(10px + env(safe-area-inset-bottom)); z-index: 90; background: rgba(27,35,22,.94); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border: 1px solid var(--line-d); border-radius: 16px; padding: 6px; box-shadow: 0 18px 40px -16px rgba(0,0,0,.6); }
  .dock a { display: grid; justify-items: center; gap: 3px; padding: 8px 4px; color: #E8E1CF; text-decoration: none; font: 700 .7rem/1 var(--body); letter-spacing: .04em; border-radius: 10px; min-height: 52px; }
  .dock svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
  .dock__ask { background: var(--amber-hi); color: var(--ink) !important; }
  body { padding-bottom: calc(86px + env(safe-area-inset-bottom)); }
  .result { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr); }
  .melt-row { grid-template-columns: minmax(0, 1fr) repeat(3, minmax(0, .8fr)); gap: 8px; }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .lang__cur { display: none; }
  .lanes__grid, .pairs { grid-template-columns: minmax(0, 1fr); }
  .lane, .pairs div { border-right: 0; margin-right: 0; border-bottom: 1px solid var(--line-d); padding-right: 0; }
  .pairs div { border-bottom-color: var(--line); }
  .stack__card { grid-template-columns: minmax(0, 1fr); }
  .stack__num { width: 52px; height: 52px; font-size: 1.3rem; }
  .result { grid-template-columns: minmax(0, 1fr); }
  .result b { font-size: 1.9rem; }
  .matrix div { grid-template-columns: minmax(0, 1fr); }
  .matrix span:first-child { border-right: 0; padding-bottom: 4px; }
  .matrix span:last-child { padding-top: 0; }
  .ticker__row span { font-size: 1.7rem; }
  .site-foot__in { grid-template-columns: minmax(0, 1fr); }
  .melt-row { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .melt-row > :first-child { grid-column: 1 / -1; }
  .melt-row.head { display: none; }
  .melt-row .bar::before { content: attr(data-l); display: block; font: 700 .66rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--sage); margin: 0 0 4px; }
  .melt-row .bar { height: auto; background: none; }
  .melt-row .bar i { height: 8px; background: linear-gradient(90deg, var(--amber), var(--amber-hi)); box-shadow: 0 0 0 0 transparent; }
  .path { padding-left: 54px; }
  .path__step::before { left: -54px; }
}
@media (prefers-reduced-motion: reduce) {
  .stack__chev svg { animation: none; }
  .acc__panel, .acc__panel img, .acc__body { transition: none; }
}
@media print { .site-head, .dock, .site-foot__band { display: none; } }

/* Giant outlined numerals in the margin of style sections */
.act { position: relative; }
.act::before { content: attr(data-n); position: absolute; right: calc(100% + clamp(30px, 4vw, 70px)); top: -.1em; font: 400 clamp(6rem, 11vw, 11rem)/.8 var(--display); color: transparent; -webkit-text-stroke: 1.5px var(--amber); opacity: .8; translate: 0 calc((.5 - var(--p, .5)) * 80px); pointer-events: none; }
@media (max-width: 1240px) { .act::before { position: static; display: block; font-size: 5rem; margin-bottom: 10px; translate: none; } }
.finder__out { margin: 4px 0 0; padding: 16px 18px; background: var(--wax); border-radius: var(--r); }
.finder .seg { margin-bottom: 22px; }
.temper__time { font: 400 clamp(2rem, 4vw, 3.2rem)/1 var(--display); color: var(--cellar); margin: 0 0 10px; }
.result--four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.acc--short { height: clamp(420px, 56vh, 540px); }
@media (max-width: 900px) { .result--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } .acc--short { height: auto; } }
@media (max-width: 600px) { .result--four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
/* Backdrop photo list */
.backdrop { position: relative; overflow: hidden; isolation: isolate; color: #E8E1CF; padding-block: clamp(80px, 11vw, 150px); }
.backdrop__bg { position: absolute; inset: 0; z-index: -2; }
.backdrop__bg picture, .backdrop__bg img { width: 100%; height: 100%; object-fit: cover; }
.backdrop::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(27,35,22,.95), rgba(27,35,22,.86) 55%, rgba(27,35,22,.7)); }
.backdrop h2 { color: var(--paper); }
.backdrop .kicker { color: var(--amber-hi); }
.backdrop__grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.caps { list-style: none; margin: 0; padding: 0; counter-reset: c; border-top: 1px solid var(--line-d); }
.caps li { counter-increment: c; display: grid; grid-template-columns: 70px minmax(0, 1fr); gap: 16px; padding: 22px 0; border-bottom: 1px solid var(--line-d); }
.caps li::before { content: counter(c, decimal-leading-zero); font: 400 2.4rem/1 var(--display); color: transparent; -webkit-text-stroke: 1px var(--amber-hi); }
.caps h3 { color: var(--paper); margin-bottom: .3em; font-size: 1.4rem; }
.caps p { margin: 0; }
@media (max-width: 900px) { .backdrop__grid { grid-template-columns: minmax(0, 1fr); } .caps li { grid-template-columns: 50px minmax(0, 1fr); } }
.crumbs--light a { color: var(--sage); } .crumbs--light [aria-current] { color: var(--rind); }
@media (max-width: 1180px) { .builder { grid-template-columns: minmax(0, 1fr); } .builder .board { max-width: 720px; } }
.decoder { grid-template-columns: minmax(0, 1fr); }
.decoder__terms { display: flex; flex-wrap: wrap; gap: 8px; }
.decoder__terms button { min-height: 44px; padding: 10px 14px; }
.decoder__panel { min-height: 180px; }
.contact-grid { align-items: stretch; }
.aside-card { display: flex; flex-direction: column; }
.aside-card__photo { position: relative; flex: 1; min-height: 220px; margin-top: 10px; border-radius: var(--r); overflow: hidden; }
.aside-card__photo picture, .aside-card__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.result div { align-content: start; }
@media (max-width: 900px) {
  .hero::before { background: linear-gradient(180deg, rgba(27,35,22,.72) 0%, rgba(27,35,22,.86) 55%, rgba(27,35,22,.94) 100%); }
  .phead::before { background: linear-gradient(180deg, rgba(27,35,22,.78), rgba(27,35,22,.92)); }
}
