@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/geologica-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Geologica';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url(fonts/geologica-latin.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: 'Unbounded';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url(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 900;
  font-display: swap;
  src: url(fonts/unbounded-latin.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;
}

:root {
  --orange: #ff4b14;
  --ink: #15131f;
  --paper: #eeeef3;
  --white: #ffffff;
  --blue: #3a2dff;
  --mute: #6b687c;
  --mute-on-ink: #a9a6bd;
  --rule: rgba(21, 19, 31, 0.14);
  --rule-on-ink: rgba(255, 255, 255, 0.16);
  --silver: #c3c9d4;
  --bronze: #c67f4a;

  --display: "Unbounded", "Arial Black", Arial, sans-serif;
  --text: "Geologica", "Helvetica Neue", Arial, sans-serif;

  --pad: clamp(20px, 5vw, 80px);
  --wide: 1360px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--text); font-weight: 350; font-size: 1.0625rem; line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.on-ink :focus-visible, .on-blue :focus-visible { outline-color: var(--white); }
::selection { background: var(--ink); color: var(--orange); }

.skip { position: absolute; left: -999px; top: 0; z-index: 50; background: var(--white); padding: 10px 16px; }
.skip:focus { left: 12px; top: 12px; }

.wrap { max-width: var(--wide); margin: 0 auto; padding: 0 var(--pad); }

/* ───── Top bar ───── */

.top {
  position: fixed; top: 12px; left: 50%; transform: translateX(-50%); z-index: 40;
  width: min(1380px, calc(100vw - 24px));
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px 16px;
  padding: 6px 6px 6px 8px; border-radius: 30px;
  background: rgba(21, 19, 31, 0.92); color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 0.9rem; font-weight: 450;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--display); font-weight: 700; font-size: 0.86rem; text-decoration: none; white-space: nowrap; padding: 2px 0; }
.brand img { display: block; width: 36px; height: 36px; border-radius: 50%; }
.brand:hover { color: var(--orange); }
.top nav { display: flex; align-items: center; gap: 2px; }
.top nav a {
  flex: none; padding: 9px 15px; border-radius: 999px; text-decoration: none; white-space: nowrap;
  color: #d6d4e2; transition: background 0.2s, color 0.2s;
}
.top nav a:hover { color: var(--white); background: rgba(255, 255, 255, 0.1); }
.top nav a[aria-current="page"] { background: var(--orange); color: var(--ink); }
.top nav .lang { margin-left: 6px; border: 1px solid rgba(255, 255, 255, 0.28); color: var(--white); }
.top-toggle {
  display: none; font: inherit; cursor: pointer; padding: 9px 16px; border-radius: 999px;
  background: transparent; color: var(--white); border: 1px solid rgba(255, 255, 255, 0.28);
}
.top :focus-visible { outline-color: var(--white); }

/* ───── Hero ───── */

.hero {
  position: relative; overflow: hidden;
  background: var(--orange); color: var(--ink);
  min-height: min(100vh, 1080px); min-height: min(100svh, 1080px);
  display: flex; flex-direction: column;
  padding: 96px var(--pad) clamp(40px, 6vw, 72px);
}
.hero canvas { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero h1 {
  position: relative; margin: auto 0 0; padding-top: 48px;
  font-family: var(--display); font-weight: 900; text-transform: uppercase;
  font-size: clamp(1.6rem, 8.2vw, 11rem); line-height: 1.16; letter-spacing: 0;
}
.hero h1 span { display: block; width: max-content; }
.hero.is-live h1 { color: transparent; }

.hero-bottom {
  position: relative; margin-top: clamp(28px, 5vh, 64px);
  display: grid; grid-template-columns: minmax(0, 38rem) auto; gap: 28px 48px; align-items: end; justify-content: space-between;
}
.hero-lede { margin: 0; font-size: clamp(1.15rem, 1.75vw, 1.5rem); line-height: 1.4; font-weight: 400; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* ───── Buttons ───── */

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font: inherit; font-size: 0.98rem; font-weight: 550; line-height: 1; cursor: pointer;
  padding: 16px 24px; border-radius: 999px; border: 1.5px solid var(--ink);
  background: var(--ink); color: var(--white); text-decoration: none;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}
.btn:hover { background: var(--white); color: var(--ink); }
.btn:active { transform: scale(0.97); }
.btn-line { background: transparent; color: var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--white); }
.btn-s { padding: 10px 16px; font-size: 0.86rem; font-weight: 500; }
.on-blue .btn { background: var(--white); color: var(--ink); border-color: var(--white); }
.on-blue .btn:hover { background: var(--ink); color: var(--white); border-color: var(--ink); }
.btn-light { background: var(--white); color: var(--ink); border-color: var(--white); }
.btn-light:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }
.after { margin: clamp(28px, 4vw, 48px) 0 0; }
.btn.is-done, .btn.is-done:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ───── Sections ───── */

.band { padding: clamp(72px, 11vw, 150px) 0; }
.on-ink { background: var(--ink); color: var(--white); }
.on-white { background: var(--white); }
.on-blue { background: var(--blue); color: var(--white); }

/* Inner pages open with the same orange field as the home page */
.page-head { background: var(--orange); color: var(--ink); padding: clamp(130px, 15vw, 220px) 0 clamp(36px, 5vw, 64px); }
.page-head h1 { margin: 0; font-family: var(--display); font-weight: 900; text-transform: uppercase; font-size: clamp(2.4rem, 10vw, 9.5rem); line-height: 0.95; letter-spacing: -0.02em; }
.page-head .lede { margin: clamp(20px, 3vw, 36px) 0 0; max-width: none; text-wrap: pretty; font-size: clamp(1.1rem, 1.7vw, 1.45rem); line-height: 1.4; font-weight: 400; }
.page-head .meta { margin: 20px 0 0; font-size: 0.92rem; font-weight: 450; }
.page-head.is-article h1 { text-transform: none; font-weight: 800; font-size: clamp(1.9rem, 5vw, 4.4rem); line-height: 1.04; max-width: 60rem; }

.next { background: var(--paper); padding: clamp(40px, 6vw, 80px) 0; }
.next a { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 22rem) 44px; gap: 8px 32px; align-items: center; padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--ink); text-decoration: none; }
.next a:last-child { border-bottom: 1px solid var(--ink); }
.next strong { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(1.5rem, 4.4vw, 3.8rem); line-height: 1; letter-spacing: -0.01em; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1), color 0.2s; }
.next a:hover strong { transform: translateX(12px); color: var(--orange); }
.next span { color: var(--mute); }
.next .arrow { border-color: var(--ink); }
.next .arrow::before { border-color: var(--ink); }
.next a:hover .arrow { background: var(--orange); border-color: var(--orange); }

.years { margin: 0; }
.years > div { display: grid; grid-template-columns: clamp(6.5rem, 19vw, 17rem) minmax(0, 1fr); gap: 8px clamp(16px, 3vw, 40px); padding: clamp(18px, 2.4vw, 30px) 0; border-top: 1px solid var(--ink); }
.years > div:last-child { border-bottom: 1px solid var(--ink); }
.years dt { font-family: var(--display); font-weight: 900; font-size: clamp(1.6rem, 4vw, 3.4rem); line-height: 1; }
.years dd { margin: 0; }
.years ul { margin: 0; padding: 0; list-style: none; }
.years li { padding: 6px 0; font-size: 1.1rem; }

.portrait { display: block; width: 100%; max-width: 30rem; height: auto; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 22%; border-radius: 28px; margin-top: 40px; }

.topics { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.topics li { padding: 24px 0 28px; border-top: 1px solid var(--ink); }
.topics h3 { font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.topics p { margin: 12px 0 0; color: var(--mute); }
.after.note a { color: var(--ink); }

.photos { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; align-content: start; }
.photos a { display: block; text-decoration: none; font-size: 0.88rem; }
.photos img { display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover; object-position: 50% 12%; border-radius: 28px; margin-bottom: 10px; transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1); }
.photos a:hover img { transform: translateY(-6px); }
.photos a span { text-decoration: underline; text-underline-offset: 0.2em; }
.photos .note { grid-column: 1 / -1; margin: 6px 0 0; }
.band:not(.on-white) .card { background: var(--white); }
h2 {
  margin: 0 0 clamp(32px, 5vw, 64px);
  font-family: var(--display); font-weight: 800; text-transform: uppercase;
  font-size: clamp(1.7rem, 4.6vw, 4.2rem); line-height: 1.02; letter-spacing: -0.01em;
}
h3 { margin: 0; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; }
.note { font-size: 0.88rem; line-height: 1.5; color: var(--mute); }
.on-ink .note { color: var(--mute-on-ink); }

/* ───── Numbers strip ───── */

.nums { background: var(--ink); color: var(--white); padding: clamp(28px, 4vw, 48px) 0; }
.nums dl { margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px clamp(20px, 3vw, 48px); }
.nums dt { font-family: var(--display); font-weight: 800; font-size: clamp(1.15rem, 2.1vw, 1.9rem); line-height: 1.05; color: var(--orange); }
.nums dd { margin: 8px 0 0; font-size: 0.95rem; line-height: 1.4; color: var(--mute-on-ink); }

/* ───── About ───── */

.about { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px clamp(40px, 7vw, 120px); align-items: start; }
.about-lead { margin: 0; font-size: clamp(1.3rem, 2.2vw, 1.95rem); line-height: 1.28; font-weight: 400; letter-spacing: -0.015em; }
.about .portrait + p { margin: 24px 0 0; max-width: 30rem; color: var(--mute); }
.brief { margin: 0; }
.briefs h3 { margin: 0 0 12px; font-size: 0.95rem; }
.briefs .brief + h3 { margin-top: 40px; }
.contact-row .mail { margin: 20px 0 0; font-size: 1rem; }
.brief > div { padding: 13px 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 16px; }
.brief > div:last-child { border-bottom: 1px solid var(--rule); }
.brief dt { color: var(--mute); font-size: 0.9rem; padding-top: 0.12em; }
.brief dd { margin: 0; font-weight: 450; }
.brief dd small { display: block; font-size: 0.9rem; font-weight: 350; color: var(--mute); margin-top: 2px; }

/* ───── Leaderboard ───── */

.board { border-top: 1px solid var(--rule-on-ink); }
.board details { border-bottom: 1px solid var(--rule-on-ink); }
.board summary, .board .row {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: clamp(6.5rem, 19vw, 17rem) minmax(0, 1fr) auto 44px; gap: 8px clamp(16px, 3vw, 40px); align-items: center;
  padding: clamp(18px, 2.4vw, 30px) 0;
}
.board summary::-webkit-details-marker { display: none; }
.rank {
  font-family: var(--display); font-weight: 900; color: var(--orange);
  font-size: clamp(3rem, 8vw, 7rem); line-height: 0.9; letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rank small { display: block; margin-top: 10px; font-family: var(--text); font-weight: 400; font-size: 0.82rem; letter-spacing: 0; color: var(--mute-on-ink); }
.board summary:hover .rank, .board .row:hover .rank { transform: translateX(10px); }
.board .row { text-decoration: none; border-bottom: 1px solid var(--rule-on-ink); }
.arrow { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-on-ink); transition: background 0.2s, border-color 0.2s; }
.arrow::before { content: ""; position: absolute; left: 50%; top: 50%; width: 9px; height: 9px; border-top: 1.5px solid var(--white); border-right: 1.5px solid var(--white); transform: translate(-70%, -50%) rotate(45deg); }
.board .row:hover .arrow { background: var(--orange); border-color: var(--orange); }
.board .row:hover .arrow::before { border-color: var(--ink); }
.what { font-family: var(--display); font-weight: 700; font-size: clamp(1.05rem, 2vw, 1.7rem); line-height: 1.15; }
.what span { display: block; margin-top: 8px; font-family: var(--text); font-weight: 350; font-size: 1rem; line-height: 1.45; color: var(--mute-on-ink); }
.year { font-size: 0.95rem; color: var(--mute-on-ink); font-variant-numeric: tabular-nums; }
.plus { position: relative; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--rule-on-ink); transition: background 0.2s, transform 0.3s; }
.plus::before, .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 1.5px; background: var(--white); transform: translate(-50%, -50%); }
.plus::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform 0.3s; }
.board summary:hover .plus { background: rgba(255, 255, 255, 0.1); }
.board details[open] .plus { background: var(--orange); border-color: var(--orange); }
.board details[open] .plus::before, .board details[open] .plus::after { background: var(--ink); }
.board details[open] .plus::after { transform: translate(-50%, -50%) rotate(0deg); }
.more { padding: 0 0 clamp(24px, 3vw, 40px); margin-left: calc(clamp(6.5rem, 19vw, 17rem) + clamp(16px, 3vw, 40px)); max-width: 44rem; }
.more p { margin: 0 0 0.9em; }
.more .src { font-size: 0.9rem; color: var(--mute-on-ink); }
.more .src a { color: var(--white); }

.medals { display: inline-flex; gap: 6px; vertical-align: middle; margin-top: 12px; }
.medal { width: 18px; height: 18px; border-radius: 50%; display: inline-block; }
.medal.s { background: radial-gradient(circle at 32% 28%, #ffffff, var(--silver) 55%, #8a92a1); }
.medal.b { background: radial-gradient(circle at 32% 28%, #f1c29d, var(--bronze) 55%, #8a4f26); }
.medals-gap { width: 10px; }
.medal-list { list-style: none; margin: 0 0 1.2em; padding: 0; border-top: 1px solid var(--rule-on-ink); }
.medal-list li { display: grid; grid-template-columns: 18px minmax(0, 1fr) auto 3rem; gap: 4px 16px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--rule-on-ink); }
.medal-list .medal { align-self: center; }
.medal-list .n { font-weight: 450; }
.medal-list small { display: block; font-size: 0.9rem; font-weight: 350; color: var(--mute-on-ink); }
.medal-list .p, .medal-list .y { font-size: 0.9rem; color: var(--mute-on-ink); font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; }

.also { margin: clamp(40px, 5vw, 64px) 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 48px; }
.also li { color: var(--mute-on-ink); }
.also strong { display: block; color: var(--white); font-family: var(--display); font-weight: 700; font-size: 1.02rem; margin-bottom: 6px; }
.also a { color: var(--white); }

/* ───── Projects ───── */

.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tile {
  position: relative; display: flex; flex-direction: column; min-height: clamp(300px, 34vw, 440px);
  padding: clamp(22px, 2.4vw, 34px); border-radius: 28px; text-decoration: none; overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}
a.tile:hover { transform: translateY(-6px); text-decoration: none; }
.tile-orange { background: var(--orange); color: var(--ink); }
.tile-ink { background: var(--ink); color: var(--white); }
.tile-blue { background: var(--blue); color: var(--white); }
.tile .big { white-space: nowrap; font-family: var(--display); font-weight: 900; font-size: clamp(2.6rem, 4.6vw, 4.4rem); line-height: 0.95; letter-spacing: -0.03em; }
.tile .big small { display: block; white-space: normal; margin-top: 10px; font-family: var(--text); font-size: 0.9rem; font-weight: 400; letter-spacing: 0; opacity: 0.8; }
.tile h3 { margin-top: auto; font-size: clamp(1.1rem, 1.7vw, 1.45rem); }
.tile p { margin: 10px 0 0; max-width: 24rem; }
.tile .go { margin-top: 18px; font-size: 0.9rem; font-weight: 500; text-decoration: underline; text-underline-offset: 0.2em; }

/* ───── Posts ───── */

.posts { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.posts a {
  display: grid; grid-template-columns: 10rem minmax(0, 1fr); gap: 6px 28px; align-items: baseline;
  padding: 26px 12px; margin: 0 -12px; border-bottom: 1px solid var(--rule); text-decoration: none;
  transition: background 0.2s, color 0.2s, padding 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.posts a:hover { background: var(--ink); color: var(--white); padding-left: 24px; border-radius: 14px; border-bottom-color: transparent; }
.posts .d { font-size: 0.88rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.posts h3 { font-size: clamp(1.1rem, 2vw, 1.6rem); line-height: 1.18; }
.posts p { margin: 10px 0 0; max-width: 44rem; color: var(--mute); }
.posts a:hover .d, .posts a:hover p { color: var(--mute-on-ink); }

.article { max-width: 46rem; }
.article .sources { margin: 40px 0 28px; padding-top: 20px; border-top: 1px solid var(--rule); }
.prose { font-size: 1.16rem; line-height: 1.62; font-weight: 350; }
.prose p { margin: 0 0 1.1em; }
.prose h2 { margin: 2em 0 0.6em; font-weight: 700; font-size: 1.35rem; line-height: 1.25; text-transform: none; letter-spacing: 0; }
.prose ul, .prose ol { margin: 0 0 1.1em; padding-left: 1.3em; }
.prose li { margin: 0.4em 0; }
.prose blockquote { margin: 1.4em 0; padding: 20px 24px; border-radius: 20px; background: var(--paper); }
.prose blockquote p { margin: 0; }
.prose figure { margin: 1.6em 0; }
.prose figure img { display: block; max-width: min(100%, 30rem); height: auto; border-radius: 20px; border: 1px solid var(--rule); }
.prose figcaption { margin-top: 10px; font-size: 0.9rem; color: var(--mute); }
.code-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(24px, 4vw, 56px); }
.code-list a { display: block; height: 100%; padding: 22px 0 26px; border-top: 1px solid var(--ink); text-decoration: none; }
.code-list strong { display: block; font-family: var(--display); font-weight: 700; font-size: 1.05rem; line-height: 1.25; transition: color 0.2s; }
.code-list a:hover strong { color: var(--blue); }
.code-list span { display: block; margin-top: 10px; color: var(--mute); }
.prose a { color: var(--blue); }
.more-posts { margin-top: clamp(64px, 8vw, 110px); }
.more-posts h2 { font-size: clamp(1.3rem, 2.6vw, 2.1rem); margin-bottom: 28px; }

/* ───── Press ───── */

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chips button {
  font: inherit; font-size: 0.9rem; font-weight: 450; cursor: pointer;
  padding: 10px 16px; border-radius: 999px; background: transparent; color: var(--ink); border: 1px solid var(--rule);
  transition: background 0.2s, color 0.2s;
}
.chips button:hover { border-color: var(--ink); }
.chips button[aria-pressed="true"], .chips button[aria-selected="true"] { background: var(--ink); color: var(--white); border-color: var(--ink); }
.chips .count { margin-left: 6px; opacity: 0.55; font-variant-numeric: tabular-nums; }

.press { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.press li[hidden] { display: none; }
.press a, .press .grp {
  display: grid; grid-template-columns: 7rem minmax(9rem, 16rem) minmax(0, 1fr) minmax(8rem, 14rem); gap: 6px 28px; align-items: baseline;
  padding: 18px 12px; margin: 0 -12px; border-bottom: 1px solid var(--rule); text-decoration: none; border-radius: 0;
  transition: background 0.2s, color 0.2s, padding 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.press .grp a { display: inline; padding: 0; margin: 0; border: 0; text-decoration: underline; }
.press .grp a:hover { background: none; color: var(--blue); padding: 0; border-radius: 0; }
.press > li > a:hover { background: var(--ink); color: var(--white); padding-left: 24px; border-radius: 14px; border-bottom-color: transparent; }
.press .d { font-size: 0.88rem; color: var(--mute); font-variant-numeric: tabular-nums; }
.press .o { font-family: var(--display); font-weight: 700; font-size: 0.95rem; line-height: 1.3; }
.press .t { font-weight: 400; }
.press .k { font-size: 0.88rem; color: var(--mute); text-align: right; }
.press > li > a:hover .d, .press > li > a:hover .k { color: var(--mute-on-ink); }

/* ───── Media kit ───── */

.kit { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.card { background: var(--paper); border-radius: 28px; padding: clamp(22px, 2.6vw, 36px); }
.card h3 { margin-bottom: 18px; }
.card .chips { margin-bottom: 18px; }
.pane p { margin: 0 0 0.9em; }
.pane p:last-child { margin-bottom: 0; }
.js .pane[hidden] { display: none; }
html:not(.js) .pane + .pane { margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--rule); }
html:not(.js) [data-needs-js] { display: none; }
.card-foot .note { flex: 1 1 16rem; }
.card-foot { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: center; justify-content: space-between; }

.fold { border-top: 1px solid var(--rule); }
.fold:last-child { border-bottom: 1px solid var(--rule); }
.fold summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 0; font-family: var(--display); font-weight: 700; font-size: 0.98rem; line-height: 1.3; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary::after { content: "+"; font-family: var(--text); font-weight: 300; font-size: 1.6rem; line-height: 0.6; transition: transform 0.3s; }
.fold[open] summary::after { transform: rotate(45deg); }
.fold .in { padding: 0 0 22px; }
.fold dl { margin: 0; }
.fold dt { font-weight: 550; margin-top: 16px; }
.fold dt:first-child { margin-top: 0; }
.fold dd { margin: 4px 0 0; color: var(--mute); }
.fold .headline { font-weight: 550; margin: 0 0 8px; }
.fold p { margin: 0 0 0.8em; }

/* ───── Contact ───── */

.contact { padding-bottom: clamp(40px, 5vw, 64px); }
.handle {
  display: block; width: max-content; max-width: 100%; text-decoration: none;
  font-family: var(--display); font-weight: 900; line-height: 1; letter-spacing: -0.03em;
  font-size: clamp(1.5rem, 7.6vw, 8.4rem);
  transition: color 0.2s, transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.handle { margin: 0; text-transform: uppercase; }
.contact-btns { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; }
.on-blue .btn-ghost { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.6); }
.on-blue .btn-ghost:hover { background: var(--white); color: var(--ink); border-color: var(--white); }
.contact-row { margin-top: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: minmax(0, 30rem) auto; gap: 28px 48px; justify-content: space-between; align-items: end; }
.contact-row p { margin: 0 0 24px; font-size: 1.15rem; line-height: 1.45; }
.asks { margin: 0 0 16px; padding-left: 1.1em; max-width: 30rem; }
.asks li { margin: 4px 0; }
.on-blue .note { color: rgba(255,255,255,0.8); margin: 0 0 24px; }
.links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 28px; font-weight: 450; }
.links a { display: inline-block; padding: 10px 0; }
#contact, .board details { scroll-margin-top: 90px; }
.hero :focus-visible, .page-head :focus-visible { outline-color: var(--ink); }
.sources a { display: inline-block; padding: 6px 2px; }
.posts .min { display: block; }
.foot { margin-top: clamp(48px, 7vw, 96px); padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.3); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 0.88rem; opacity: 0.85; }

.cookie { position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 45; margin: 0 auto; max-width: 44rem; display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; padding: 12px 12px 12px 20px; border-radius: 22px; background: var(--ink); color: var(--white); font-size: 0.9rem; border: 1px solid rgba(255, 255, 255, 0.14); }
.cookie[hidden] { display: none; }
.cookie p { margin: 0; flex: 1 1 16rem; }
.cookie .btn { background: var(--white); color: var(--ink); border-color: var(--white); }

/* ───── Narrow ───── */

@media (max-width: 980px) {
  .next a { grid-template-columns: minmax(0, 1fr) 44px; }
  .next span:not(.arrow) { grid-column: 1; grid-row: 2; }
  .next .arrow { grid-column: 2; grid-row: 1; }
  .about, .kit { grid-template-columns: 1fr; }
  .topics, .code-list { grid-template-columns: 1fr; }
  .tiles { grid-template-columns: 1fr; }
  .tile { min-height: 260px; }
  .press a, .press .grp { grid-template-columns: 6.5rem minmax(0, 1fr); }
  .nums dl { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .press .t, .press .k { grid-column: 2; text-align: left; }
  .hero-bottom, .contact-row { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 1rem; }
  .board summary, .board .row { grid-template-columns: auto minmax(0, 1fr) 36px; align-items: center; }
  .board .what { grid-column: 1 / -1; grid-row: 2; }
  .hero { min-height: 0; padding-top: 120px; }
  .hero h1 { margin-top: 0; padding-top: 0; }
  .arrow { width: 36px; height: 36px; grid-column: 3; grid-row: 1; }
  .posts a { grid-template-columns: 1fr; }
  .posts .min { display: inline; }
  .posts .min::before { content: " · "; }
  .years > div { grid-template-columns: 1fr; }
  .board .year { grid-column: 2; grid-row: 1; text-align: right; }
  .plus { width: 36px; height: 36px; grid-column: 3; grid-row: 1; }
  .rank { font-size: 2.2rem; }
  .rank small { font-size: 0.72rem; }
  .more { margin-left: 0; }
  .also { grid-template-columns: 1fr; }
  .press a, .press .grp { grid-template-columns: 1fr; gap: 2px; }
  .press .t, .press .k { grid-column: 1; }
  .brief > div { grid-template-columns: 1fr; gap: 2px; }
}

@media (max-width: 860px) {
  .js .top-toggle { display: inline-block; }
  .js .top nav { display: none; flex-basis: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 10px; margin-left: -10px; }
  .js .top.is-open nav { display: flex; }
  .top.is-open { background: var(--ink); }
  .js .top nav a { padding: 12px 10px; font-size: 1rem; }
  .js .top nav .lang { margin: 8px 0 0; text-align: center; }
  html:not(.js) .top nav { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media print {
  .top, .cookie, .hero canvas, .chips, .btn { display: none !important; }
  .hero.is-live h1 { color: inherit; }
  .hero { min-height: 0; }
  .pane[hidden], .press li[hidden] { display: block !important; }
}
