/* The Harvesters: hrvs.gg. Palette and type from the brand ("Amber Reckoning"). */

@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-latin-800-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-latin-ext-800-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Big Shoulders"; font-weight: 800; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-vietnamese-800-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Big Shoulders"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Big Shoulders"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-latin-ext-700-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Big Shoulders"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/big-shoulders-display-vietnamese-700-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/geist-mono-latin-400-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/geist-mono-latin-ext-400-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/geist-mono-vietnamese-400-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/geist-mono-latin-500-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/geist-mono-latin-ext-500-normal.woff2) format("woff2");
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/geist-mono-vietnamese-500-normal.woff2) format("woff2");
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
/* Russian: Big Shoulders has no Cyrillic, so Russian headings use Oswald (as Almanac does) and the
   labels get Geist Mono's Cyrillic letters. Browsers only download these when Russian is shown. */
@font-face { font-family: "Geist Mono"; font-weight: 400; font-display: swap;
  src: url(/assets/fonts/geist-mono-cyrillic-400-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-display: swap;
  src: url(/assets/fonts/geist-mono-cyrillic-500-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/oswald-latin-700-normal.woff2) format("woff2");
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Oswald"; font-weight: 700; font-display: swap;
  src: url(/assets/fonts/oswald-cyrillic-700-normal.woff2) format("woff2");
  unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }

:root {
  --ground: #0B0907;
  --ground-2: #120F0B;
  --ground-3: #1A1611;
  --ash: #3A3430;
  --line: rgba(217, 164, 65, .18);
  --gold: #D9A441;
  --gold-hi: #F3CF7A;
  --gold-lo: #8C6420;
  --frost: #9FC3D6;
  --bone: #E9E1D2;
  --bone-2: rgba(233, 225, 210, .72);
  --bone-3: rgba(233, 225, 210, .5);
  --display: "Big Shoulders", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --mono: "Geist Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1120px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 4px;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ground); color: var(--bone);
  font: 400 17px/1.6 var(--sans); overflow-x: hidden;
  background-image:
    radial-gradient(1200px 700px at 75% -10%, rgba(217, 164, 65, .10), transparent 60%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='56' height='97' viewBox='0 0 56 97'%3E%3Cpath d='M28 0l28 16v32L28 64 0 48V16zM28 64v33' fill='none' stroke='%23D9A441' stroke-opacity='.05'/%3E%3C/svg%3E");
  background-attachment: fixed, scroll;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }
[hidden] { display: none !important; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: var(--ground); padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.wrap.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }

.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; letter-spacing: .02em; line-height: .95; margin: 0; }
h2.display { font-size: clamp(40px, 6vw, 72px); max-width: 16ch; }
html[lang="vi"] .display { line-height: 1.1; }
html:lang(ru) { --display: "Oswald", "Arial Narrow", sans-serif; }
html:lang(ru) .display { line-height: 1.02; letter-spacing: .01em; }
html:lang(ru) #hero-title { font-size: clamp(40px, 5.6vw, 84px); } /* Oswald runs wider than Big Shoulders */
/* Chinese: no web font has CJK at a sensible size, so use the system's Simplified Chinese fonts.
   Wide letter-spacing that suits Latin capitals looks broken in Chinese, so tighten it. */
html:lang(zh) {
  --display: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", "Source Han Sans SC", sans-serif;
  --mono: "Geist Mono", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
}
html:lang(zh) .display { line-height: 1.15; letter-spacing: .02em; }
html:lang(zh) #hero-title { font-size: clamp(38px, 5.4vw, 80px); } /* each character is a full em wide */
html:lang(zh) [data-i18n] { letter-spacing: .04em; }
/* Solid gold everywhere; the gradient fill only on wide screens. On phones and tablets the hero art
   animates behind the headline, and iOS Safari can then fail to paint background-clip:text,
   leaving the words invisible. */
.gold { color: var(--gold); }
@media (min-width: 961px) {
  .gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 55%, var(--gold-lo)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
}
.kicker, .eyebrow { font: 500 13px/1.4 var(--mono); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.body { color: var(--bone-2); font-size: 18px; max-width: 54ch; margin: 22px 0 0; }
.narrow { max-width: 60ch; }
.muted { color: var(--bone-3); }
.small { font-size: 13px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 8px 22px;
  font: 500 14px/1.3 var(--mono); text-align: center; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  border-radius: var(--radius); border: 1px solid transparent; transition: transform .15s, background .2s, border-color .2s, box-shadow .2s;
}
.btn-gold { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 60%, #b98a33); color: #1a1208; box-shadow: 0 0 0 1px rgba(243, 207, 122, .4) inset, 0 10px 30px -10px rgba(217, 164, 65, .55); }
.btn-gold:hover { transform: translateY(-1px); box-shadow: 0 0 0 1px rgba(243, 207, 122, .7) inset, 0 14px 40px -10px rgba(217, 164, 65, .8); }
.btn-ghost { color: var(--bone); border-color: rgba(233, 225, 210, .25); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-hi); }
.btn-sm { min-height: 38px; padding: 0 16px; font-size: 12px; }
.btn-lg { min-height: 58px; padding: 0 34px; font-size: 15px; margin-top: 30px; }

/* Nav */
.nav {
  position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 24px;
  padding: 12px var(--gutter); background: rgba(11, 9, 7, .78); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(217, 164, 65, .12);
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--bone); text-decoration: none; margin-right: auto; }
.brand img { width: 40px; height: 40px; mix-blend-mode: lighten; }
/* The name is a Latin wordmark in every language, so it keeps Big Shoulders even in Russian and Chinese. */
.brand-name { font: 800 22px/1 "Big Shoulders", "Arial Narrow", sans-serif; text-transform: uppercase; letter-spacing: .08em; color: var(--gold); white-space: nowrap; }
.brand-tag { font: 400 11px/1 var(--mono); letter-spacing: .2em; color: var(--bone-3); }
.nav-links { display: flex; gap: 26px; }
.nav-links a { color: var(--bone-2); text-decoration: none; font: 400 13px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; padding: 8px 0; }
.nav-links a:hover { color: var(--gold-hi); }
.nav-end { display: flex; align-items: center; gap: 14px; }
/* Language menu: one button showing the current language; the list opens on tap. Same size
   however many languages there are. Works without JS (details/summary + ?lang= links). */
.lang-menu { position: relative; }
.lang-menu > summary {
  list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 38px; padding: 0 10px 0 11px;
  border: 1px solid rgba(233, 225, 210, .2); border-radius: var(--radius); cursor: pointer; user-select: none;
  font: 500 12px/1 var(--mono); letter-spacing: .08em; color: var(--bone-2);
}
.lang-menu > summary::-webkit-details-marker { display: none; }
.lang-menu > summary:hover, .lang-menu[open] > summary { color: var(--gold-hi); border-color: rgba(217, 164, 65, .5); }
.lang-menu svg { width: 16px; height: 16px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.lang-menu .caret { width: 12px; height: 12px; transition: transform .15s; }
.lang-menu[open] .caret { transform: rotate(180deg); }
.lang-menu .lang-code { display: none; }
.lang-menu ul {
  position: absolute; z-index: 30; top: calc(100% + 8px); right: 0; min-width: max(100%, 180px);
  max-height: min(60vh, 360px); overflow-y: auto; margin: 0; padding: 6px; list-style: none;
  background: var(--ground-3); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(0, 0, 0, .55);
}
.lang-menu li a {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; white-space: nowrap;
  min-height: 40px; padding: 0 12px; border-radius: 3px; font: 400 15px/1 var(--sans); color: var(--bone-2); text-decoration: none;
}
.lang-menu li a:hover, .lang-menu li a:focus-visible { background: rgba(217, 164, 65, .1); color: var(--bone); }
.lang-menu li a[aria-current="true"] { color: var(--gold-hi); }
.lang-menu li a[aria-current="true"]::after {
  content: ""; width: 10px; height: 5px; margin-top: -3px; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg);
}

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(40px, 8vw, 96px) 0 0; border-bottom: 1px solid var(--line); }
.embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-inner { position: relative; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); display: grid; grid-template-columns: 1.35fr .65fr; align-items: center; gap: 24px; }
.eyebrow { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border: 1px solid rgba(159, 195, 214, .4); color: var(--frost); border-radius: 99px; font-size: 11px; letter-spacing: .16em; }
.pill::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--frost); box-shadow: 0 0 10px var(--frost); animation: pulse 2s ease-in-out infinite; }
.pill.closed { border-color: rgba(233, 225, 210, .25); color: var(--bone-3); }
.pill.closed::before { background: var(--bone-3); box-shadow: none; animation: none; }
#hero-title { font-size: clamp(48px, 7vw, 104px); }
.lede { font-size: clamp(18px, 2vw, 21px); color: var(--bone-2); max-width: 46ch; margin: 26px 0 0; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.fine { font: 400 12px/1.5 var(--mono); letter-spacing: .06em; color: var(--bone-3); margin: 16px 0 0; }
.hero-art { position: relative; aspect-ratio: 1; max-width: 520px; justify-self: end; width: 100%; }
.halo { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(217, 164, 65, .28), transparent 65%); filter: blur(20px); animation: breathe 6s ease-in-out infinite; }
.mark { position: relative; width: 100%; mix-blend-mode: lighten; animation: float 7s ease-in-out infinite; }

.stats { position: relative; max-width: var(--wrap); margin: clamp(40px, 7vw, 72px) auto 0; padding: 0 var(--gutter); display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 26px 20px 30px; border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin: 0; }
.stat:first-child { border-left: 0; padding-left: 0; }
.stat dt { font: 400 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); order: 2; }
.stat dd { margin: 0 0 8px; font: 800 clamp(40px, 5vw, 60px)/1 var(--display); color: var(--gold-hi); letter-spacing: .01em; }
.stat dd small { font-size: .5em; color: var(--bone-3); }
.stat { display: flex; flex-direction: column-reverse; justify-content: flex-end; }

/* Sections */
.section { padding: clamp(72px, 11vw, 140px) 0; }
.section.alt { background: linear-gradient(180deg, rgba(18, 15, 11, .85), rgba(11, 9, 7, .6)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.timeline { list-style: none; margin: 56px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; position: relative; }
.timeline::before { content: ""; position: absolute; left: 0; right: 0; top: 9px; height: 1px; background: linear-gradient(90deg, var(--gold), var(--gold) 66%, rgba(159, 195, 214, .5)); }
.timeline li { position: relative; padding: 40px 28px 0 0; }
.timeline li::before { content: ""; position: absolute; top: 0; left: 0; width: 18px; height: 18px; transform: rotate(45deg) scale(.8); background: var(--gold); box-shadow: 0 0 18px rgba(217, 164, 65, .6); }
.timeline li.next::before { background: var(--ground); border: 1px solid var(--frost); box-shadow: 0 0 14px rgba(159, 195, 214, .4); }
.t-season { display: block; font: 400 13px/1 var(--mono); letter-spacing: .2em; text-transform: uppercase; color: var(--bone-3); }
.t-result { display: block; font: 800 clamp(36px, 4.5vw, 52px)/1 var(--display); text-transform: uppercase; color: var(--gold); margin: 12px 0 14px; }
.next .t-result { color: var(--frost); }
.timeline p { color: var(--bone-2); margin: 0; max-width: 30ch; }

.mini { display: flex; gap: 40px; margin: 36px 0 0; }
.mini dt { font: 400 12px/1.4 var(--mono); letter-spacing: .12em; text-transform: uppercase; color: var(--bone-3); }
.mini dd { margin: 6px 0 0; font: 800 40px/1 var(--display); color: var(--bone); }

.chart { margin: 0; padding: 28px 28px 20px; background: rgba(26, 22, 17, .6); border: 1px solid var(--line); border-radius: var(--radius); }
.bars { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 16px; align-items: end; height: 300px; }
.bar { display: flex; flex-direction: column; justify-content: flex-end; align-items: center; height: 100%; gap: 8px; }
.bar-fill { width: 100%; height: calc(var(--v) * 78%); background: linear-gradient(180deg, #4a423b, var(--ash)); border-radius: 2px 2px 0 0; transform-origin: bottom; transition: transform 1.1s cubic-bezier(.2, .8, .2, 1); }
.bar.ours .bar-fill { background: linear-gradient(180deg, var(--gold-hi), var(--gold) 50%, var(--gold-lo)); box-shadow: 0 0 30px -6px rgba(217, 164, 65, .6); }
.bar-val { font: 500 14px/1 var(--mono); color: var(--bone-2); }
.bar.ours .bar-val { color: var(--gold-hi); }
.bar-label { font: 500 13px/1 var(--mono); letter-spacing: .1em; color: var(--bone-3); padding-top: 10px; border-top: 1px solid var(--ash); width: 100%; text-align: center; }
.bar.ours .bar-label { color: var(--gold); }
.chart figcaption { margin-top: 18px; font-size: 13px; color: var(--bone-2); }
.js .chart:not(.in) .bar-fill { transform: scaleY(0); }

.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; }
.card { padding: 28px 24px; background: linear-gradient(180deg, rgba(26, 22, 17, .9), rgba(18, 15, 11, .6)); border: 1px solid rgba(233, 225, 210, .08); border-top: 1px solid var(--line); border-radius: var(--radius); transition: border-color .25s, transform .25s; }
.card:hover { border-color: rgba(217, 164, 65, .35); transform: translateY(-3px); }
.card h3 { font: 700 26px/1.05 var(--display); text-transform: uppercase; letter-spacing: .03em; margin: 18px 0 12px; color: var(--bone); }
.card p { margin: 0; color: var(--bone-2); font-size: 16px; }
.card b { color: var(--gold-hi); font-weight: 600; }
.ico { width: 30px; height: 30px; fill: none; stroke: var(--gold); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }

.perks { list-style: none; margin: 0; padding: 0; }
.perks li { display: flex; align-items: baseline; gap: 22px; padding: 22px 0; border-bottom: 1px solid var(--line); font: 700 clamp(26px, 3vw, 34px)/1.1 var(--display); text-transform: uppercase; letter-spacing: .03em; }
.perks li:first-child { border-top: 1px solid var(--line); }
.perks .num { font: 400 13px/1 var(--mono); color: var(--gold); letter-spacing: .1em; }

.tools { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 56px; }
.tool { padding: 30px 26px; background: rgba(26, 22, 17, .7); border: 1px solid var(--line); border-radius: var(--radius); }
.tool h3 { font: 500 13px/1.4 var(--mono); letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.tool .big { font: 800 clamp(40px, 4.4vw, 54px)/1 var(--display); margin: 8px 0 14px; color: var(--bone); font-variant-numeric: tabular-nums; }
.tool .unit { font: 400 13px/1.4 var(--mono); letter-spacing: .08em; color: var(--bone-3); text-transform: uppercase; }
.tool p { margin: 0 0 8px; font-size: 15px; }
.tool .big.clock { font-size: clamp(34px, 3.4vw, 44px); white-space: nowrap; }
.countdown { font: 500 14px/1.4 var(--mono); color: var(--frost); margin-top: 14px !important; }
.countdown.live { color: var(--gold-hi); }
.slider-label { display: flex; justify-content: space-between; font: 400 13px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--bone-2); }
.slider-label b { color: var(--gold-hi); font-weight: 500; }
input[type="range"] { width: 100%; margin: 16px 0 6px; accent-color: var(--gold); height: 32px; background: transparent; }
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid rgba(233, 225, 210, .08); color: var(--bone-2); }
.checks li::before { content: ""; position: absolute; left: 2px; top: 19px; width: 12px; height: 7px; border-left: 2px solid var(--gold); border-bottom: 2px solid var(--gold); transform: rotate(-45deg); }
.checks b { color: var(--bone); font-weight: 600; }

.final { padding: clamp(88px, 12vw, 160px) 0; text-align: center; background: radial-gradient(700px 380px at 50% 40%, rgba(217, 164, 65, .14), transparent 70%); border-top: 1px solid var(--line); }
.final h2.display { font-size: clamp(48px, 8vw, 104px); max-width: none; }
.final .body { margin-left: auto; margin-right: auto; }
.final-mark { width: 168px; height: 168px; mix-blend-mode: lighten; margin-bottom: 24px; }

.foot { padding: 32px 0 calc(32px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); }
.foot-row { display: flex; flex-wrap: wrap; gap: 8px 32px; align-items: center; justify-content: space-between; }
.foot-row p { margin: 0; }
.foot-brand { display: flex; align-items: center; gap: 10px; font: 500 12px/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--bone-2); }
.foot-brand img { mix-blend-mode: lighten; }

/* Reveal on scroll (only when JS runs) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); }
.js .reveal.in { opacity: 1; transform: none; }

@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(-1deg); } }
@keyframes breathe { 0%, 100% { opacity: .7; transform: scale(.96); } 50% { opacity: 1; transform: scale(1.04); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .chart:not(.in) .bar-fill { transform: none; }
}

/* Tablet */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-art { position: absolute; right: -14%; top: -4%; width: 62%; max-width: 420px; opacity: .45; z-index: -1; }
  .hero-inner { z-index: 0; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .wrap.two { grid-template-columns: 1fr; }
  .cards { grid-template-columns: repeat(2, 1fr); }
  .tools { grid-template-columns: 1fr; }
}

/* Phone */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .nav { gap: 10px; padding-top: 10px; padding-bottom: 10px; }
  .brand-tag { display: none; }
  .brand-name { font-size: 18px; }
  .brand img { width: 34px; height: 34px; }
  .lang-menu > summary { padding: 0 8px; gap: 6px; }
  .lang-menu .lang-name { display: none; }
  .lang-menu .lang-code { display: inline; }
  .lang-menu li a { min-height: 46px; font-size: 16px; }
  .hero-art { width: 80%; right: -34%; top: 150px; opacity: .22; }
  .cta-row .btn { flex: 1 1 100%; justify-content: center; }
  .stat { padding: 20px 12px 22px; }
  .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .stat dt { font-size: 11px; letter-spacing: .08em; }
  .timeline { grid-template-columns: 1fr; gap: 36px; margin-top: 40px; }
  .timeline::before { left: 8px; right: auto; top: 0; bottom: 0; width: 1px; height: auto; background: linear-gradient(180deg, var(--gold), var(--gold) 66%, rgba(159, 195, 214, .5)); }
  .timeline li { padding: 0 0 0 44px; }
  .cards { grid-template-columns: 1fr; }
  .bars { height: 240px; gap: 10px; }
  .chart { padding: 20px 16px 16px; }
  .mini { gap: 28px; }
  .body { font-size: 17px; }
  .btn-lg { width: 100%; justify-content: center; }
}
/* Small phones: longer Apply labels (Postuler, Solicitar) must not push the name onto two lines. */
@media (max-width: 420px) {
  .nav { gap: 8px; }
  .nav-end { gap: 8px; }
  .brand { gap: 8px; }
  .brand-name { font-size: 16px; letter-spacing: .05em; }
  .btn-sm { padding: 0 11px; letter-spacing: .08em; }
}
