/* Sixth April — base: tokens, type, grid, header, footer. Fictional concept. */
@font-face { font-family: "Sofia Sans"; src: url(../fonts/sofia-sans.woff2) format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Sofia XC"; src: url(../fonts/sofia-sans-xc.woff2) format("woff2"); font-weight: 500 800; font-display: swap; }
@font-face { font-family: "Roboto Mono"; src: url(../fonts/roboto-mono.woff2) format("woff2"); font-weight: 400 500; font-display: swap; }

:root {
  --paper: #F2F2EF; --surface: #FFFFFF; --ink: #0B0B0B; --grey: #565656; --grey-l: #858585;
  --hair: rgba(11, 11, 11, .14); --hair-w: rgba(255, 255, 255, .16);
  --signal: #FF3B1F; --night: #0B0B0B;
  --sans: "Sofia Sans", "Helvetica Neue", Arial, sans-serif;
  --xc: "Sofia XC", "Arial Narrow", "Sofia Sans", sans-serif;
  --mono: "Roboto Mono", ui-monospace, Menlo, Consolas, monospace;
  --m: 40px; --gap: 24px; --head: 60px;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
@media (max-width: 1100px) { :root { --m: 28px; --gap: 20px; } }
@media (max-width: 600px) { :root { --m: 16px; --gap: 12px; --head: 56px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 17px/1.55 var(--sans); font-feature-settings: "lnum" 1; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg, picture { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .18em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, h4 { margin: 0; font-weight: 750; letter-spacing: -.035em; line-height: .98; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
:focus-visible { outline: 2px solid var(--signal); outline-offset: 3px; }
.on-dark :focus-visible, .night :focus-visible { outline-color: #fff; }
::selection { background: var(--signal); color: #000; }

[hidden] { display: none !important; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 14px; font: 500 14px var(--mono); }
.skip:focus { top: 12px; }

/* type scale */
.d1 { font-size: clamp(2.7rem, 6.2vw, 6.1rem); line-height: 1; letter-spacing: -.045em; font-weight: 760; }
.d2 { font-size: clamp(2.1rem, 4.2vw, 4rem); line-height: 1; letter-spacing: -.04em; }
.d3 { font-size: clamp(1.5rem, 2.3vw, 2.15rem); line-height: 1.02; letter-spacing: -.03em; }
.d4 { font-size: 1.3rem; line-height: 1.12; letter-spacing: -.02em; }
.tone { color: var(--grey); }
.night .tone, .on-dark .tone { color: #9C9C9C; }
.lead { font-size: clamp(1.06rem, 1.25vw, 1.2rem); line-height: 1.5; max-width: 36em; }
.mono { font: 400 12px/1.45 var(--mono); letter-spacing: .04em; text-transform: uppercase; }
.mono-n { font: 400 13px/1.5 var(--mono); letter-spacing: 0; }
.num { font-family: var(--xc); font-weight: 800; letter-spacing: -.02em; line-height: 1; font-variant-numeric: tabular-nums lining-nums; }
.tab { font-variant-numeric: tabular-nums lining-nums; }
.muted { color: var(--grey); }
.red { color: var(--signal); }

/* grid */
.wrap { width: 100%; max-width: 1520px; margin-inline: auto; padding-inline: var(--m); }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }
.sec { padding-block: clamp(64px, 9vw, 136px); border-top: 1px solid var(--ink); }
.sec.flush { border-top: 0; }
.sec-h { grid-column: 1 / span 4; }
.sec-b { grid-column: 5 / -1; }
.sec-h h2 { position: sticky; top: calc(var(--head) + 24px); }
.sec-h .mono { margin-top: 18px; color: var(--grey); max-width: 22em; }
@media (max-width: 860px) {
  .sec-h, .sec-b { grid-column: 1 / -1; }
  .sec-h { margin-bottom: 32px; }
  .sec-h h2 { position: static; }
}
.night { background: var(--night); color: #fff; }
.night .muted, .night .sec-h .mono { color: #A8A8A8; }
.white { background: var(--surface); }

/* buttons: square, no pills */
.btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 52px; padding: 0 20px; border: 1px solid var(--ink); background: transparent; color: var(--ink); font: 600 16px/1 var(--sans); letter-spacing: -.005em; text-decoration: none; border-radius: 0; transition: background .2s, color .2s; }
.btn .ar { font-family: var(--mono); font-weight: 400; transition: transform .25s var(--ease); }
.btn:hover .ar { transform: translateX(4px); }
.btn-sig { background: var(--signal); border-color: var(--signal); color: #000; }
.btn-sig:hover { background: #000; border-color: #000; color: #fff; }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: var(--signal); border-color: var(--signal); color: #000; }
.btn-line:hover { background: var(--ink); color: #fff; }
.on-dark .btn-line, .night .btn-line { border-color: #fff; color: #fff; }
.on-dark .btn-line:hover, .night .btn-line:hover { background: #fff; color: #000; }
.link { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .25em; }
.link:hover { text-decoration-thickness: 2px; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* header */
.hd { position: sticky; top: 0; z-index: 40; height: var(--head); background: var(--paper); border-bottom: 1px solid var(--ink); }
.hd .wrap { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; margin-right: auto; white-space: nowrap; }
.brand b { font-weight: 800; font-size: 20px; letter-spacing: -.04em; }
.brand span { font: 500 11px var(--mono); padding: 2px 5px; border: 1px solid var(--ink); }
.nav { display: flex; gap: 22px; }
.nav a { font-size: 15px; font-weight: 500; text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-bottom-color: var(--ink); }
.nav a[aria-current="page"] { border-bottom-color: var(--signal); }
.tick { font: 400 12px var(--mono); white-space: nowrap; text-decoration: none; letter-spacing: .02em; }
.tick b { font-weight: 500; color: var(--ink); background: var(--signal); padding: 2px 5px; margin-right: 4px; }
.hd .btn { min-height: 40px; padding: 0 16px; font-size: 15px; gap: 14px; }
.menu-btn { display: none; min-height: 40px; padding: 0 14px; border: 1px solid var(--ink); background: none; font: 500 12px var(--mono); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 1240px) { .tick { display: none; } }
@media (max-width: 1020px) {
  .nav, .hd .btn { display: none; }
  .menu-btn { display: inline-flex; align-items: center; }
}
.drawer { position: fixed; inset: var(--head) 0 0 0; z-index: 39; background: var(--night); color: #fff; padding: 28px var(--m) 100px; overflow-y: auto; display: none; }
.drawer.open { display: block; }
.drawer a.big { display: flex; justify-content: space-between; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--hair-w); font-size: clamp(1.8rem, 7vw, 2.6rem); font-weight: 750; letter-spacing: -.04em; text-decoration: none; }
.drawer a.big small { font: 400 12px var(--mono); color: #A8A8A8; letter-spacing: .04em; }
.drawer .btn { margin-top: 28px; width: 100%; }
.drawer .mono { margin-top: 24px; color: #A8A8A8; }
body.locked { overflow: hidden; }

/* footer */
.ft { background: var(--night); color: #fff; padding: 72px 0 120px; }
.ft-top { row-gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--hair-w); }
.ft-brand { grid-column: 1 / span 4; }
.ft-brand b { display: block; font-size: clamp(2.6rem, 5vw, 4.4rem); font-weight: 800; letter-spacing: -.05em; line-height: .9; }
.ft-brand p { margin-top: 16px; color: #BDBDBD; max-width: 22em; font-size: 15px; }
.ft-col { grid-column: span 2; }
.ft-col h3 { font: 400 11px var(--mono); text-transform: uppercase; letter-spacing: .08em; color: #A8A8A8; margin-bottom: 14px; }
.ft-col li { margin-bottom: 8px; font-size: 15px; }
.ft-col a { text-decoration: none; }
.ft-col a:hover, .ft-col a:focus-visible { text-decoration: underline; text-decoration-thickness: 1px; }
.ft-base { padding-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 28px; justify-content: space-between; font: 400 12px/1.6 var(--mono); color: #BDBDBD; }
.ft-base a { text-decoration: none; }
.ft-base a:hover, .ft-base a:focus-visible { text-decoration: underline; }
@media (max-width: 1020px) { .ft-brand { grid-column: 1 / -1; } .ft-col { grid-column: span 3; } }
@media (max-width: 600px) { .ft-col { grid-column: span 6; } }

/* concept badge */
.badge { position: fixed; left: 12px; bottom: 12px; z-index: 60; background: #000; color: #fff; font: 400 11px/1.3 var(--mono); padding: 7px 10px; text-decoration: none; border: 1px solid #fff; letter-spacing: .02em; max-width: calc(100vw - 24px); }
@media (max-width: 600px) { .badge { font-size: 10px; padding: 6px 8px; left: 8px; bottom: 8px; letter-spacing: 0; } }
.badge:hover { background: var(--signal); color: #000; }

/* reveal */
.js .rv { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .rv { opacity: 1; transform: none; }
}
