@font-face { font-family: "Oswald"; src: url("../fonts/Oswald-Variable.ttf") format("truetype"); font-weight: 200 700; font-display: swap; }
@font-face { font-family: "Space Grotesk"; src: url("../fonts/SpaceGrotesk-Variable.ttf") format("truetype"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("../fonts/IBMPlexMono-Medium.ttf") format("truetype"); font-weight: 500; font-display: swap; }

/* Colors are registered so palette changes ease instead of snapping. Where
   @property is unsupported the page still renders, it just switches instantly. */
/* tokens:begin props (generated by design/generate-tokens.py; edit design/tokens.json) */
@property --c1 { syntax: "<color>"; inherits: true; initial-value: #6fb6ef; }
@property --c2 { syntax: "<color>"; inherits: true; initial-value: #8fe0d0; }
@property --c3 { syntax: "<color>"; inherits: true; initial-value: #a9b8ff; }
@property --base { syntax: "<color>"; inherits: true; initial-value: #10202e; }
/* tokens:end props */
@property --x1 { syntax: "<percentage>"; inherits: true; initial-value: 25%; }
@property --y1 { syntax: "<percentage>"; inherits: true; initial-value: 18%; }
@property --x2 { syntax: "<percentage>"; inherits: true; initial-value: 85%; }
@property --y2 { syntax: "<percentage>"; inherits: true; initial-value: 55%; }
@property --x3 { syntax: "<percentage>"; inherits: true; initial-value: 15%; }
@property --y3 { syntax: "<percentage>"; inherits: true; initial-value: 80%; }

:root {
  /* tokens:begin root (generated by design/generate-tokens.py; edit design/tokens.json) */
  --c1: #6fb6ef; --c2: #8fe0d0; --c3: #a9b8ff; --base: #10202e;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.74);
  --lime: #c6f01a;
  --lime-ink: #10140a;
  /* tokens:end root */
  --max: 1080px;
  transition: --c1 2.6s ease, --c2 2.6s ease, --c3 2.6s ease, --base 2.6s ease;
}

* { box-sizing: border-box; }
/* Safari paints this flat color behind its translucent bars, so it is tinted from the palette
   instead of the near-black base: no visible edge where the gradient layer ends. */
html { -webkit-text-size-adjust: 100%; background: color-mix(in srgb, var(--c2) 22%, var(--base)); }
body {
  margin: 0; min-height: 100vh; color: var(--ink);
  font-family: "Space Grotesk", system-ui, sans-serif; font-size: 17px; line-height: 1.6;
  background: transparent; position: relative;
}
img { max-width: 100%; display: block; }
a { color: var(--lime); text-underline-offset: 3px; }
a:hover { color: #fff; }

/* Atmosphere: slow-drifting gradient + film grain, fixed behind everything */
.bg {
  position: fixed; z-index: -2; pointer-events: none;
  /* Sized in large-viewport units: iPhone Safari lays out fixed elements for the
     toolbar-visible screen, so percentage sizing left a dark band at the bottom
     once the toolbar collapsed. */
  left: -25%; width: 150%;
  top: -25vh; height: 150vh;
  top: -25lvh; height: 150lvh;
  background:
    radial-gradient(55% 42% at var(--x1) var(--y1), var(--c1), transparent 70%),
    radial-gradient(60% 48% at var(--x2) var(--y2), var(--c2), transparent 72%),
    radial-gradient(60% 50% at var(--x3) var(--y3), var(--c3), transparent 72%),
    radial-gradient(90% 45% at 40% 108%, color-mix(in srgb, var(--base) 70%, #000) 10%, transparent 75%),
    var(--base);
  animation: drift 70s ease-in-out infinite alternate;
}
@keyframes drift {
  0%   { --x1: 25%; --y1: 18%; --x2: 85%; --y2: 55%; --x3: 15%; --y3: 80%; }
  50%  { --x1: 45%; --y1: 30%; --x2: 70%; --y2: 35%; --x3: 30%; --y3: 70%; }
  100% { --x1: 30%; --y1: 12%; --x2: 90%; --y2: 65%; --x3: 20%; --y3: 90%; }
}
.grain {
  position: fixed; left: 0; right: 0; top: 0; z-index: -1; pointer-events: none; opacity: 0.32; mix-blend-mode: overlay;
  height: 100vh; height: 100lvh;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.4 -.2'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 max(20px, env(safe-area-inset-left)) 0 max(20px, env(safe-area-inset-right)); }
.mono { font-family: "IBM Plex Mono", ui-monospace, monospace; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; }

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.26), rgba(255,255,255,.07));
  -webkit-backdrop-filter: blur(22px) saturate(170%); backdrop-filter: blur(22px) saturate(170%);
  border: 1px solid rgba(255,255,255,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), 0 12px 30px rgba(0,0,0,.18);
}

header.site { padding: calc(22px + env(safe-area-inset-top)) 0 8px; }
header.site .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo {
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 26px; letter-spacing: 0.2em;
  color: #fff; text-decoration: none; text-transform: uppercase; display: flex; align-items: center; gap: 10px;
}
.logo i { width: 9px; height: 9px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 10px var(--lime); display: block; }
nav.site { display: flex; gap: 6px; }
nav.site a {
  font-family: "IBM Plex Mono", monospace; font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
  color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
nav.site a:hover { background: rgba(255,255,255,.22); color: #fff; }

h1, h2, h3 { font-family: "Oswald", sans-serif; text-transform: uppercase; margin: 0 0 12px; line-height: 1.05; }
h1 { font-size: clamp(46px, 8vw, 92px); font-weight: 400; letter-spacing: 0.02em; }
h2 { font-size: clamp(28px, 4.4vw, 42px); font-weight: 500; letter-spacing: 0.05em; }
h3 { font-size: 21px; font-weight: 500; letter-spacing: 0.05em; }

.hero { padding: 44px 0 56px; }
.hero .grid2 { display: grid; gap: 44px; grid-template-columns: 1.15fr 0.85fr; align-items: center; }
.hero .lede { font-size: clamp(18px, 2.2vw, 22px); max-width: 560px; margin: 16px 0 26px; color: #fff; text-shadow: 0 1px 14px rgba(0,0,0,.25); }
.pill {
  display: inline-block; padding: 8px 16px; border-radius: 999px; font-family: "IBM Plex Mono", monospace;
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
}
.pill.lime { background: var(--lime); color: var(--lime-ink); font-weight: 500; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }

/* Example drop card with the time ring */
.example { border-radius: 30px; padding: 26px 22px 22px; text-align: center; }
.example .lab { font-size: 11px; letter-spacing: .26em; opacity: .8; text-transform: uppercase; margin-bottom: 14px; font-family: "IBM Plex Mono", monospace; }
.ringbox { position: relative; width: 210px; height: 210px; margin: 0 auto; display: grid; place-items: center; }
.ringbox svg { position: absolute; inset: 0; overflow: visible; }
.ringbox .clk { font-family: "Oswald", sans-serif; font-weight: 300; font-size: 44px; letter-spacing: .03em; line-height: 1; }
.ringbox .clk.small { font-size: 31px; }
.example.final #exArc { stroke: var(--lime); filter: drop-shadow(0 0 7px var(--lime)); }
.example.final #exHead { fill: var(--lime); filter: drop-shadow(0 0 8px var(--lime)); }
.example .btn:hover { filter: brightness(1.06); }
.ringbox .sm { font-size: 10px; letter-spacing: .24em; opacity: .75; text-transform: uppercase; font-family: "IBM Plex Mono", monospace; margin-top: 6px; }
.example .nm { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 22px; letter-spacing: .05em; text-transform: uppercase; margin-top: 16px; }
.example .meta { margin-top: 6px; font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.example [hidden] { display: none !important; }
.example .btn { text-decoration: none; cursor: pointer; margin-top: 16px; display: block; background: var(--lime); color: var(--lime-ink); border-radius: 16px; padding: 14px; font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }

section.block { padding: 52px 0; }
section.block[hidden] { display: none; }

/* Live drop list */
.soon { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); margin-top: 22px; }
.soon .row { border-radius: 24px; padding: 14px 18px; display: flex; align-items: center; gap: 16px; }
.soon .mini { position: relative; width: 64px; height: 64px; flex: none; }
.soon .mini svg { width: 100%; height: 100%; display: block; }
.soon .mini span { position: absolute; inset: 0; display: grid; place-items: center; font-family: "Oswald", sans-serif; font-size: 15px; letter-spacing: .03em; }
.soon .info { min-width: 0; flex: 1; }
.soon .brand { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.soon .name { font-family: "Oswald", sans-serif; font-weight: 500; font-size: 19px; letter-spacing: .04em; text-transform: uppercase; line-height: 1.15; overflow-wrap: anywhere; }
.soon .price { font-family: "Oswald", sans-serif; font-size: 22px; font-weight: 500; }
.soon .row.final .arc { stroke: var(--lime); filter: drop-shadow(0 0 5px var(--lime)); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 24px; }
.card { border-radius: 24px; padding: 22px; }
.card h3 { color: #fff; }
.card .n { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--lime); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.card p { margin: 0; color: var(--muted); font-size: 16px; }

.shots { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); margin-top: 26px; align-items: start; }
.shot { border-radius: 28px; padding: 8px; }
.shot img { width: 100%; height: auto; border-radius: 22px; }
.shot figcaption { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; padding: 10px 8px 4px; color: var(--muted); }
figure { margin: 0; }
.fine { color: var(--muted); font-size: 14px; margin-top: 18px; }

.note { max-width: 760px; border-radius: 24px; padding: 22px 24px; color: #fff; }

footer.site { padding: 36px 0 calc(54px + env(safe-area-inset-bottom)); color: var(--muted); font-size: 14px; }
footer.site .links { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
footer.site .links a {
  font-family: "IBM Plex Mono", monospace; text-transform: uppercase; font-size: 12px; letter-spacing: .06em;
  color: #fff; text-decoration: none; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22);
}
footer.site p { max-width: 760px; margin: 0 0 10px; }

/* Long-form pages: a darker glass backing keeps paragraphs readable on any palette */
.doc { max-width: 780px; margin: 22px auto 10px; padding: 34px 32px 36px; border-radius: 30px; background: rgba(8, 10, 14, .52);
  -webkit-backdrop-filter: blur(22px) saturate(150%); backdrop-filter: blur(22px) saturate(150%); border: 1px solid rgba(255,255,255,.22); }
.doc h1 { font-size: clamp(38px, 6vw, 60px); }
.doc h2 { font-size: 24px; margin-top: 34px; color: var(--lime); letter-spacing: .08em; }
.doc p, .doc li { color: #fff; }
.doc ul { padding-left: 22px; } .doc li { margin: 6px 0; }
.doc .meta { font-family: "IBM Plex Mono", monospace; font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
.doc details { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); border-radius: 18px; padding: 14px 18px; margin: 12px 0; }
.doc summary { cursor: pointer; font-family: "Oswald", sans-serif; text-transform: uppercase; font-size: 19px; letter-spacing: .05em; }
.doc details p { margin: 10px 0 0; color: var(--muted); }

@media (max-width: 820px) {
  .hero .grid2 { grid-template-columns: 1fr; gap: 30px; }
  .doc { margin: 14px 14px 6px; padding: 26px 20px 28px; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  header.site .wrap { flex-wrap: wrap; }
  .hero { padding-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .bg { animation: none; }
  :root { transition: none; }
}
@media (prefers-reduced-transparency: reduce) {
  .glass { background: rgba(20, 24, 30, .88); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* Calendar subscription */
.subscribe { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.subscribe .btn { text-decoration: none; cursor: pointer; display: inline-block; border: 0; background: var(--lime); color: var(--lime-ink); border-radius: 16px; padding: 14px 22px; font-family: "Oswald", sans-serif; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; font-size: 15px; }
.subscribe .btn.ghost { background: rgba(255,255,255,.12); color: #fff; box-shadow: inset 0 0 0 1px rgba(255,255,255,.28); }
.subscribe .btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

/* Drop pages (/drop/<slug>) */
.drop { max-width: 760px; margin: 36px auto 56px; padding: 30px; border-radius: 30px; }
.drop .lab { font-family: "IBM Plex Mono", monospace; font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin: 0 0 8px; }
.drop h1 { font-size: clamp(28px, 5vw, 46px); font-weight: 500; letter-spacing: .04em; text-transform: uppercase; line-height: 1.1; overflow-wrap: anywhere; }
.drop .clk { font-family: "Oswald", sans-serif; font-weight: 300; font-size: clamp(44px, 10vw, 84px); letter-spacing: .02em; margin: 18px 0 6px; }
.drop .facts { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); margin: 18px 0 8px; }
.drop .facts dt { font-family: "IBM Plex Mono", monospace; font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.drop .facts dd { margin: 4px 0 0; font-family: "Oswald", sans-serif; font-size: 20px; font-weight: 500; letter-spacing: .03em; }
.drop .subscribe { margin-top: 20px; }
.drop .fine { margin-top: 18px; }

/* Feed items that link to their drop page */
.soon a.row { color: inherit; text-decoration: none; transition: transform .15s ease; }
.soon a.row:hover { transform: translateY(-2px); }
.soon a.row:focus-visible { outline: 2px solid var(--lime); outline-offset: 3px; }
.example .name a { color: inherit; text-decoration: none; }
.example .name a:hover { text-decoration: underline; text-underline-offset: 4px; }

