html, body { margin: 0; } img { max-width: 100%; } [hidden] { display: none !important; }

@font-face {font-family: 'Chakra Petch';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(/assets/fonts/chakra-petch-500.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: 'Chakra Petch';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(/assets/fonts/chakra-petch-600.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: 'Chakra Petch';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(/assets/fonts/chakra-petch-700.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: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 700;
  font-stretch: 75% 100%;
  font-display: swap;
  src: url(/assets/fonts/instrument-sans-400-700.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: 'Departure Mono'; src: url(/assets/fonts/departure-mono.woff) format('woff'); font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #0b0b0a;
  --ink-2: #141412;
  --cream: #edeae2;
  --cream-dim: rgba(237, 234, 226, .62);
  --orange: #ff6a1f;
  --rule: #262622;
  --muted: #8a857a;
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --display: 'Chakra Petch', 'Arial Narrow', system-ui, sans-serif;
  --sans: 'Instrument Sans', 'Helvetica Neue', Arial, system-ui, sans-serif;
  --mono: 'Departure Mono', ui-monospace, 'SFMono-Regular', Consolas, monospace;
}
html { background: var(--ink); scrollbar-gutter: stable; }   /* the beta sheet locks the page; nothing shifts sideways when it does */
body { background: var(--ink); color: var(--cream); font: 16px/1.5 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- shared site parts, themed per direction with custom properties ---------- */
#stage { position: relative; min-height: 100vh; }
.pill {
  --pill-bg: rgba(20, 20, 18, .55); --pill-line: rgba(255, 255, 255, .1); --pill-ink: var(--cream);
  --pill-cta-bg: rgba(255, 255, 255, .92); --pill-cta-ink: #0b0b0a;
  position: fixed; top: calc(12px + env(safe-area-inset-top, 0px)); left: 50%; transform: translate(-50%, 0);
  z-index: 900; display: flex; align-items: center; gap: 4px; padding: 5px 5px 5px 14px; border-radius: 15px;
  background: var(--pill-bg); border: 1px solid var(--pill-line); color: var(--pill-ink);
  -webkit-backdrop-filter: blur(18px) saturate(1.5); backdrop-filter: blur(18px) saturate(1.5);
  box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .45);
  max-width: calc(100vw - 24px);
}
.pill .brand { display: flex; align-items: center; gap: 7px; font: 700 18px/1 var(--display); letter-spacing: -.01em; text-decoration: none; padding-right: 8px; }
.pill .links { max-width: 0; overflow: hidden; transition: max-width .55s var(--ease-out); }
.pill .links > div { display: flex; align-items: center; gap: 2px; white-space: nowrap; padding-right: 6px; opacity: 0; transition: opacity .25s var(--ease-out); }
.pill .links a { text-decoration: none; font: 500 13.5px/1 var(--sans); padding: 9px 10px; border-radius: 9px; opacity: .78; }
.pill.open .links { max-width: 300px; }
.pill.open .links > div { opacity: 1; transition-delay: .12s; }
@media (hover: hover) and (pointer: fine) { .pill .links a:hover { opacity: 1; background: rgba(127, 127, 127, .14); } }
.pill .cta {
  display: flex; align-items: center; gap: 9px; padding: 4px 13px 4px 4px; border-radius: 11px; text-decoration: none;
  background: var(--pill-cta-bg); color: var(--pill-cta-ink); font: 600 13.5px/1 var(--sans); white-space: nowrap;
  transition: transform .16s var(--ease-out);
}
.pill .cta:active { transform: scale(.97); }
.pill .cta .ic { position: relative; width: 30px; height: 30px; border-radius: 8px; overflow: visible; flex: none; }
.pill .cta .ic img { width: 30px; height: 30px; border-radius: 8px; display: block; }
.pill .cta .ic::after {
  content: ""; position: absolute; inset: -3px; border-radius: 10px; border: 1.5px solid var(--orange);
  box-shadow: 0 0 12px rgba(255, 106, 31, .55); opacity: .95; transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}
.pill .cta .ic.tick::after { transform: scale(1.12); opacity: .35; transition: none; }
.pill .links a[aria-current="page"] { opacity: 1; background: rgba(127, 127, 127, .16); }
.pill .menu { display: none; appearance: none; border: 0; cursor: pointer; width: 38px; height: 38px; border-radius: 11px; background: rgba(255, 255, 255, .07); color: var(--cream); position: relative; flex: none; }
.pill .menu i { position: absolute; left: 12px; width: 14px; height: 1.6px; border-radius: 1px; background: currentColor; transition: transform .3s var(--ease-out); }
.pill .menu i:first-child { top: 15px; } .pill .menu i:last-child { top: 21px; }
.pill.menu-open .menu i:first-child { transform: translateY(3px) rotate(45deg); }
.pill.menu-open .menu i:last-child { transform: translateY(-3px) rotate(-45deg); }
.pill .drop { display: none; }
@media (max-width: 520px) {
  .pill { flex-wrap: wrap; row-gap: 0; width: max-content; transition: background-color .3s var(--ease-out); }   /* max-content: centred at 50%, it would otherwise size to half the screen */
  .pill .links { display: none; } .pill .cta .t2 { display: none; }
  .pill .menu { display: block; }
  .pill .drop { display: grid; flex: 1 0 100%; width: 0; grid-template-rows: 0fr; transition: grid-template-rows .4s var(--ease-out); }   /* width 0: never widens the pill */
  .pill .drop > div { overflow: hidden; padding: 0 4px; }
  .pill.menu-open { background: rgba(14, 14, 13, .94); }
  .pill.menu-open .drop { grid-template-rows: 1fr; }
  .pill .drop a { display: flex; gap: 12px; align-items: baseline; padding: 15px 4px; font: 600 24px/1 var(--sans); letter-spacing: -.02em; text-decoration: none; color: var(--cream); border-top: 1px solid rgba(255, 255, 255, .08);
    opacity: 0; transform: translateY(-6px); transition: opacity .2s var(--ease-out), transform .3s var(--ease-out); }
  .pill .drop a:first-child { margin-top: 8px; }
  .pill .drop a span { font: 11px/1 var(--mono); letter-spacing: .08em; color: var(--orange); }
  .pill .drop a[aria-current="page"] { color: var(--orange); }
  .pill.menu-open .drop a { opacity: 1; transform: none; }
  .pill.menu-open .drop a:nth-child(2) { transition-delay: .04s; } .pill.menu-open .drop a:nth-child(3) { transition-delay: .08s; } .pill.menu-open .drop a:nth-child(4) { transition-delay: .12s; }
}

.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 22px; border-radius: 999px; border: 0; cursor: pointer;
  background: var(--orange); color: #0b0b0a; font: 600 16px/1 var(--sans); text-decoration: none; white-space: nowrap;
  transition: transform .16s var(--ease-out), box-shadow .3s var(--ease-out);
  box-shadow: 0 10px 30px -12px rgba(255, 106, 31, .7);
}
.btn:active { transform: scale(.97); }
@media (hover: hover) and (pointer: fine) { .btn:hover { transform: translateY(-1px); box-shadow: 0 14px 36px -12px rgba(255, 106, 31, .85); } }
.btn .arr { font-family: var(--mono); font-size: 14px; }
.ghost { font: 500 15px/1 var(--sans); text-decoration: none; padding: 15px 6px; opacity: .8; border-bottom: 1px solid transparent; }
@media (hover: hover) and (pointer: fine) { .ghost:hover { opacity: 1; } }

.foot { position: relative; overflow: hidden; padding: 96px 24px 0; }
.foot .cols { max-width: 1120px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 28px; }
.foot .cols h4 { font: 11px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .55; margin: 0 0 14px; font-weight: 400; }
.foot .cols a:not(.btn) { display: block; text-decoration: none; opacity: .82; padding: 4px 0; font-size: 15px; }
.foot .cols p { margin: 0 0 18px; max-width: 30ch; opacity: .8; }
.foot .word {
  font: 700 clamp(96px, 25.5vw, 460px)/.78 var(--display); letter-spacing: -.045em; text-align: center; white-space: nowrap;
  margin: 72px -3vw -.06em; user-select: none;
}
.foot .legal { max-width: 1120px; margin: 0 auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 0 90px; font: 11px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; opacity: .5; }
@media (max-width: 720px) { .foot .cols { grid-template-columns: 1fr 1fr; } .foot .cols > :first-child { grid-column: 1 / -1; } }

.sr { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.loading { position: fixed; inset: 0; display: grid; place-items: center; font: 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); z-index: 5; pointer-events: none; }
/* between pages: the screen dims to the ground, the next page arrives underneath */
.veil { position: fixed; inset: 0; z-index: 990; background: #070706; opacity: 0; pointer-events: none; transition: opacity .24s var(--ease-out); display: grid; place-items: center; }
.veil.on { opacity: 1; pointer-events: auto; }
.veil span { font: 11px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--cream-dim); opacity: 0; transition: opacity .3s var(--ease-out) .5s; }
.veil.on.slow span { opacity: 1; }
.deck[hidden], .notes[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .pill .links, .pill .links > div, .notes, .pill .drop, .pill .drop a, .veil { transition: none; }
}

/* the page as served: plain and readable until the live page replaces it */
.seo { max-width: 760px; margin: 0 auto; padding: 32px 20px 64px; color: var(--cream); font: 16px/1.6 var(--sans); }
.seo a { color: var(--cream); text-underline-offset: 3px; }
.seo h1 { font: 600 clamp(40px, 8vw, 72px)/1 var(--sans); letter-spacing: -.03em; margin: 48px 0 16px; }
.seo h2 { font: 600 28px/1.15 var(--sans); margin: 40px 0 10px; }
.seo h3 { font: 600 18px/1.3 var(--sans); margin: 24px 0 6px; }
.seo p, .seo li { color: rgba(237,234,226,.78); }
.seo video, .seo article > img { width: 100%; height: auto; border-radius: 14px; }
.seo .seo-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 16px; }
.seo .seo-grid img { display: block; width: 100%; height: auto; border-radius: 12px; margin-bottom: 6px; }
.seo .seo-bar { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; justify-content: space-between; }
.seo .seo-bar nav { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.seo .seo-foot { margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: 14px; }
.seo .seo-foot ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.seo .nf { min-height: 60vh; display: grid; align-content: center; }
.seo .nf-code { font: 12px/1 var(--mono); letter-spacing: .12em; color: var(--orange); margin: 0; }
.seo .nf .btn { color: #0b0b0a; }
/* with scripts on, the plain page waits out of sight while the live one loads */
.js:not(.live) .seo { visibility: hidden; }
