@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BarlowCondensed-500-latin-ext.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BarlowCondensed-500-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/BarlowCondensed-700-latin-ext.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/BarlowCondensed-700-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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/BarlowCondensed-800-latin-ext.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: 'Barlow Condensed';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/BarlowCondensed-800-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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/BarlowSemiCondensed-400-latin-ext.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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/BarlowSemiCondensed-400-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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BarlowSemiCondensed-500-latin-ext.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: 'Barlow Semi Condensed';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/BarlowSemiCondensed-500-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: 'Cousine';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Cousine-400-latin-ext.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: 'Cousine';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/Cousine-400-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: 'Cousine';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Cousine-700-latin-ext.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: 'Cousine';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/Cousine-700-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;
}/* cypherpunk.today: a quiet concrete page carrying one steel seed plate. */

:root {
  --ground: #d8d9d8;
  --ground-deep: #cdcecd;
  --ink: #111414;
  --ink-2: #3f4343;
  --ink-3: #555a5a;
  --rule: #1b1d1d;
  --violet: #4838d4;
  --violet-deep: #3627b8;
  --violet-soft: #b9b2f2;
  --dark: #121414;
  --on-dark: #e8e9e8;
  --on-dark-2: #aeb2b2;
  --stamp-ink: #262828;

  --display: 'Barlow Condensed', 'Arial Narrow', sans-serif;
  --text: 'Barlow Semi Condensed', 'Arial Narrow', sans-serif;
  --mono: 'Cousine', ui-monospace, monospace;

  --gutter: clamp(16px, 6.2vw, 110px);
  --index-col: clamp(52px, 5.6vw, 88px);
  --col-gap: clamp(16px, 2vw, 32px);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scrollbar-color: #8d9190 var(--ground);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--ground);
  color: var(--ink);
  font: 400 1.125rem/1.55 var(--text);
  font-kerning: normal;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--violet); color: #fff; }

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
a:focus-visible, .btn:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
  border-radius: 2px;
}

h1, h2, h3 { margin: 0; font-family: var(--display); text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
svg { width: 1em; height: 1em; flex: none; }

.sr {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

.skip {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  background: var(--ink); color: var(--ground); padding: 10px 14px; text-decoration: none;
}
.skip:focus { top: 12px; }

/* ---------- top bar ---------- */

.top {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding: clamp(14px, 1.6svh, 22px) var(--gutter) 0;
}
.wordmark {
  font: 400 clamp(0.875rem, 1.12vw, 1.0625rem)/1 var(--mono);
  letter-spacing: 0.01em;
  text-decoration: none;
}
.top-nav { display: flex; gap: clamp(14px, 2.2vw, 34px); }
.top-nav a {
  font: 500 clamp(1rem, 1.5vw, 1.4rem)/1 var(--text);
  text-decoration: none;
  padding-block: 6px;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat;
  transition: background-size 0.35s var(--ease-out);
}
.top-nav a:hover { background-size: 100% 1px; }
.top-nav .short { display: none; }

/* ---------- hero ---------- */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 44fr) minmax(0, 47fr);
  column-gap: 4.5vw;
  align-items: start;
  padding: clamp(36px, calc(19svh - 60px), 170px) var(--gutter) clamp(40px, 6svh, 90px);
  min-height: min(calc(89svh - 56px), 960px);
}

.pitch h1 {
  font-weight: 700;
  font-size: clamp(3rem, 5.85vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.012em;
  max-width: 10.5em;
}
.lede {
  margin-top: clamp(18px, 2.2vw, 34px);
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(1.2rem, 1.95vw, 1.9rem);
  line-height: 1.3;
  max-width: 25em;
  color: var(--ink);
}
.actions {
  margin-top: clamp(22px, 2.6vw, 40px);
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px 26px;
}

.btn {
  display: inline-flex; align-items: center; gap: 0.5em;
  background: var(--violet); color: #fff;
  font: 500 clamp(1.05rem, 1.32vw, 1.3rem)/1 var(--text);
  padding: 0.78em 1em 0.82em;
  border-radius: 4px;
  text-decoration: none;
  box-shadow: 0 1px 0 rgba(255,255,255,0.35) inset, 0 6px 14px -8px rgba(40, 24, 150, 0.7);
  transition: background-color 0.2s, transform 0.2s var(--ease-out);
}
.btn:hover { background: var(--violet-deep); }
.btn:active { transform: translateY(1px); }
.btn-line {
  background: transparent; color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--ink);
}
.btn-line:hover { background: var(--ink); color: var(--ground); }

.more {
  display: inline-flex; align-items: center; gap: 0.4em;
  font: 500 clamp(1.1rem, 1.45vw, 1.4rem)/1 var(--text);
  text-decoration: none;
}
.more svg { transition: transform 0.3s var(--ease-out); }
.more:hover svg { transform: translateX(4px); }
.more:hover { text-decoration: underline; }

/* ---------- the plate ---------- */

.plate {
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  padding: 4.6% 5.6% 5.4%;
  border-radius: clamp(14px, 1.9vw, 30px);
  background: #c6c8c7 url(steel.webp) 30% 20% / cover;
  box-shadow:
    0 1px 0 rgba(0,0,0,0.3),
    0 10px 18px -6px rgba(20,22,22,0.35),
    0 34px 56px -28px rgba(20,22,22,0.38);
}
/* machined rim: a shaded 9-slice raster blended into the steel */
.plate::after {
  content: '';
  position: absolute; inset: 0;
  border-style: solid;
  border-width: clamp(14px, 1.9vw, 30px);
  border-image: url(stamp/rim.png) 64 fill / clamp(14px, 1.9vw, 30px) stretch;
  border-radius: inherit;
  mix-blend-mode: hard-light;
  pointer-events: none;
}

.slots {
  list-style: none; margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  grid-auto-flow: row dense;
  gap: 1.3cqi 2.2cqi;
  font-size: max(10px, 3.8cqi);
}
/* Each slot spans half-modules (--span, default 2 = one empty slot);
   a stamped recess hugs its letters, the rest of its span stays bare steel. */
.slot {
  grid-column: span var(--span, 2);
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.16em; min-width: 0;
}
.slot.empty { align-items: stretch; }
.slot a { display: contents; text-decoration: none; color: inherit; }

.n {
  font: 500 max(7px, 0.5em)/1 var(--text);
  letter-spacing: 0.04em;
  color: #2e3131;
  text-shadow: 0 1px 0 rgba(255,255,255,0.55);
  padding-left: 0.1em;
}
.word {
  position: relative;
  display: flex; align-items: center;
  height: 1.36em;
  padding: 0 0.28em 0 0.36em;
  font: 400 1em/1 var(--mono);
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  color: #1a1b1b;
  border-radius: 0.24em;
  transition: box-shadow 0.25s;
}
/* the machined recess: a shaded 9-slice raster blended into the steel */
.word::before {
  content: '';
  position: absolute; inset: 0;
  border-style: solid;
  border-width: 0.3em;
  border-image: url(stamp/recess.png) 24 fill / 0.3em stretch;
  mix-blend-mode: hard-light;
  pointer-events: none;
}

/* Stamped letters: each one is a debossed glyph raster, struck slightly off-line. */
.word .l {
  position: relative;
  display: inline-block;
  width: 0.6em; height: 1em;
  margin-right: 0.08em;
  color: transparent;
  background: url(stamp/glyphs.png) calc(var(--g, 0) * -0.6em) 0 / 22.2em 1em no-repeat;
  mix-blend-mode: hard-light;
  transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg));
}

.slot a:hover .word, .slot a:focus-visible .word {
  box-shadow: 0 0 0 1.5px var(--violet), 0 0 0 5px rgba(72, 56, 212, 0.18);
}
.slot a:hover .n, .slot a:focus-visible .n { color: var(--violet-deep); }
.slot a:focus-visible { outline: none; }

/* The punch: letters land one by one with a small impact. */
.will-stamp .word .l { opacity: 0; }
.stamping .word .l {
  animation: punch 0.34s var(--ease-out) both;
  animation-delay: var(--t, 0ms);
}
@keyframes punch {
  0% { opacity: 0; transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg)) scale(1.5); }
  45% { opacity: 1; transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg)) scale(0.93); }
  100% { opacity: 1; transform: translateY(var(--dy, 0)) rotate(var(--rot, 0deg)) scale(1); }
}

/* ---------- tool index ---------- */

.group { padding: 0 var(--gutter); }
.group + .group { margin-top: clamp(72px, 10vw, 150px); }

.group-head,
.tool {
  display: grid;
  grid-template-columns: var(--index-col) minmax(0, 1fr);
  column-gap: var(--col-gap);
}
.group-head {
  padding-bottom: clamp(40px, 5vw, 72px);
}
.group-head > .tag,
.group-head > .head-body {
  border-top: 1px solid var(--rule);
  padding-top: clamp(22px, 2.4vw, 34px);
}
.head-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  align-items: start;
}
.group-head h2 {
  font-weight: 800;
  font-size: clamp(2.4rem, 3.6vw, 3.75rem);
  line-height: 0.94;
  letter-spacing: -0.008em;
}
.group-head p {
  font-size: clamp(1.15rem, 1.45vw, 1.35rem);
  line-height: 1.45;
  max-width: 36em;
  color: var(--ink-2);
  padding-top: 0.2em;
}
#tools { scroll-margin-top: 16px; }

/* each rule is split: a short index segment and a long content segment */
.tool > .tag,
.tool > .tool-body {
  border-top: 1px solid var(--rule);
  padding-top: clamp(18px, 1.6vw, 28px);
}
.tool > .tag { border-top-width: 1px; }
.tool {
  padding-bottom: clamp(44px, 5.2vw, 80px);
  scroll-margin-top: 16px;
}

.tag {
  align-self: start;
  font: 400 clamp(0.95rem, 1.2vw, 1.15rem)/1.6 var(--mono);
  color: var(--ink-3);
}

.tool-body {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
}
.tool h3 {
  font-weight: 800;
  font-size: clamp(2.1rem, 3.3vw, 3.3rem);
  line-height: 0.95;
  letter-spacing: -0.005em;
}
.hook {
  margin-top: 0.55em;
  font: 500 clamp(1.2rem, 1.6vw, 1.5rem)/1.3 var(--text);
  max-width: 18em;
}
.tool-text { max-width: 40em; }
.tool-text p + p { margin-top: 0.85em; }
.tool-text p:not(.for):not(.links) { color: var(--ink-2); }
.for { font-weight: 500; }

.links {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px 28px;
  margin-top: 1.25em !important;
}
.try {
  display: inline-flex; align-items: baseline; gap: 0.45em;
  font: 500 1.15rem/1.3 var(--text);
  color: var(--violet);
  text-decoration: none;
}
.try .url {
  font: 400 0.82rem/1 var(--mono);
  color: var(--ink-2);
  text-decoration: underline;
  text-decoration-color: rgba(17,20,20,0.35);
  text-underline-offset: 0.3em;
}
.try svg { align-self: center; transition: transform 0.3s var(--ease-out); }
.try:hover svg { transform: translate(2px, -2px); }
.try:hover .url { text-decoration-color: currentColor; }
.src { font-weight: 500; color: var(--ink-2); }
.src:hover { color: var(--ink); }

/* ---------- showcase ---------- */

.showcase {
  margin: clamp(56px, 8vw, 120px) var(--gutter) 0;
  padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 120px);
  border-top: 1px solid var(--rule);
  display: grid;
  grid-template-columns: var(--index-col) minmax(0, 1fr) auto;
  column-gap: var(--col-gap);
  align-items: end;
}
.showcase h2 {
  grid-column: 2;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.3vw, 3.3rem);
  line-height: 1.02;
  max-width: 20em;
}
.showcase .btn { grid-column: 3; white-space: nowrap; }

/* ---------- dark close: the novel and the footer ---------- */

.dark {
  background: var(--dark);
  color: var(--on-dark);
}
.dark ::selection { background: var(--violet-soft); color: var(--dark); }
.dark a:focus-visible { outline-color: var(--violet-soft); }

.book {
  display: grid;
  grid-template-columns: var(--index-col) minmax(0, 4fr) minmax(0, 7fr);
  column-gap: var(--col-gap);
  align-items: center;
  padding: clamp(64px, 9vw, 140px) var(--gutter);
}
.book-art { grid-column: 2; margin: 0; }
.book-art img {
  display: block; width: 100%; height: auto;
  border-radius: 4px;
  box-shadow: 0 30px 70px -30px rgba(0,0,0,0.9);
}
.book-text { grid-column: 3; max-width: 34em; }
.book h2 {
  font-weight: 800;
  font-size: clamp(2.6rem, 5vw, 5.25rem);
  line-height: 0.92;
}
.book-text > p:not(.links) {
  margin-top: 0.9em;
  font-size: clamp(1.15rem, 1.5vw, 1.4rem);
  line-height: 1.45;
  color: var(--on-dark-2);
}
.dark .try { color: var(--violet-soft); }
.dark .try .url { color: var(--on-dark-2); text-decoration-color: rgba(232,233,232,0.35); }
.dark .src { color: var(--on-dark-2); }
.dark .src:hover { color: var(--on-dark); }

.foot {
  display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline;
  padding: 26px var(--gutter) 34px;
  border-top: 1px solid rgba(232,233,232,0.18);
  font-size: 0.95rem;
  color: var(--on-dark-2);
}
.foot .wordmark { color: var(--on-dark); font-size: 0.95rem; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--on-dark); text-decoration: underline; }

/* ---------- narrower screens ---------- */

@media (max-width: 1100px) {
  .tool-body { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
  .hook { max-width: 26em; }
  .head-body { grid-template-columns: minmax(0, 1fr); row-gap: 18px; }
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 44px;
    min-height: 0;
    padding-top: clamp(40px, 8vw, 72px);
  }
  .pitch h1 { font-size: clamp(2.9rem, 11vw, 4.5rem); }
  .book { grid-template-columns: minmax(0, 1fr); row-gap: 36px; }
  .book-art, .book-text, .trailer { grid-column: 1; }
  .book-art { max-width: 320px; }
  .showcase { grid-template-columns: minmax(0, 1fr); row-gap: 28px; }
  .showcase h2, .showcase .btn { grid-column: 1; justify-self: start; }
}

@media (max-width: 560px) {
  .top { flex-wrap: wrap; row-gap: 4px; }
  .nav-showcase { display: none; }
  .top-nav .long { display: none; }
  .top-nav .short { display: inline; }
  .group-head, .tool { grid-template-columns: minmax(0, 1fr); }
  .group-head > .tag { display: none; }
  .tool > .tag { border-top: 0; padding-top: 0; margin-bottom: 6px; }
  .tool > .tool-body { padding-top: 0; border-top: 0; }
  .tool { border-top: 1px solid var(--rule); padding-top: 22px; }
  .links { gap: 12px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ---------- language switch ---------- */

.top-right { display: flex; align-items: baseline; gap: clamp(16px, 2.6vw, 44px); }
.langs { display: flex; gap: 2px; }
.langs a {
  font: 400 0.8rem/1 var(--mono);
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--ink-3);
  padding: 6px 5px;
  border-radius: 3px;
}
.langs a:hover { color: var(--ink); background: rgba(17,20,20,0.07); }
.langs a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -1.5px 0 var(--ink); border-radius: 0; }

/* ---------- trailer ---------- */

.trailer {
  grid-column: 2 / -1;
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 4px;
  background: #000;
  color: #fff;
  text-decoration: none;
  margin-bottom: clamp(48px, 6vw, 96px);
  box-shadow: 0 40px 90px -40px rgba(0,0,0,0.9);
}
.trailer img, .trailer video {
  display: block; width: 100%; height: 100%;
  object-fit: cover;
}
.trailer img { transition: transform 1.2s var(--ease-out), filter 0.6s; filter: brightness(0.82); }
.trailer:hover img { transform: scale(1.025); filter: brightness(0.95); }
.trailer-cue {
  position: absolute; inset: auto 0 0 0;
  display: flex; align-items: center; gap: clamp(14px, 1.6vw, 24px);
  padding: clamp(18px, 3vw, 44px);
}
.play {
  display: grid; place-items: center;
  width: clamp(56px, 6.4vw, 96px); aspect-ratio: 1;
  border-radius: 50%;
  background: var(--violet);
  color: #fff;
  box-shadow: 0 10px 30px -8px rgba(40, 24, 150, 0.8), inset 0 1px 0 rgba(255,255,255,0.3);
  transition: transform 0.35s var(--ease-out), background-color 0.2s;
}
.play svg { width: 42%; height: 42%; margin-left: 8%; }
.trailer:hover .play { transform: scale(1.08); background: #5a4be6; }
.trailer:focus-visible { outline: 2px solid var(--violet-soft); outline-offset: 4px; }
.trailer-label {
  font: 700 clamp(1.5rem, 2.6vw, 2.6rem)/1 var(--display);
  letter-spacing: 0.005em;
  text-shadow: 0 2px 16px rgba(0,0,0,0.6);
}
.trailer.is-playing { cursor: default; }

/* ---------- footer key ---------- */

.npub .key {
  font: 400 0.8rem/1 var(--mono);
  color: var(--on-dark-2);
  margin-left: 0.4em;
}
