/* coleseifert.com, version C. "The set where the reels are made."
   Type: Anybody (display, width axis), Newsreader (reading), Monaspace Neon (only text you type or copy).
   Color: studio blue, paper, ink. Tally red is only the cursor. */

@font-face {
  font-family: "Anybody";
  src: url("/assets/fonts/anybody-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 50% 150%;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-var.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("/assets/fonts/newsreader-var-italic.woff2") format("woff2");
  font-weight: 200 800;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Monaspace Neon";
  src: url("/assets/fonts/monaspace-neon-400.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Monaspace Neon";
  src: url("/assets/fonts/monaspace-neon-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --blue: #1e3be0;
  --blue-deep: #1428a8;
  --paper: #f3f3ef;
  --ink: #0c0e1a;
  --graphite: #505364;
  --haze: #dce2ff;
  --tally: #ff3d24;
  --line: rgba(12, 14, 26, 0.16);

  --f-display: "Anybody", "Arial Narrow", system-ui, sans-serif;
  --f-text: "Newsreader", Georgia, "Times New Roman", serif;
  --f-mono: "Monaspace Neon", ui-monospace, "SF Mono", Menlo, monospace;

  --gutter: clamp(16px, 3.2vw, 48px);
  --max: 1440px;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --ease-drawer: cubic-bezier(0.32, 0.72, 0, 1);

  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 24px;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-text);
  font-size: 19px;
  line-height: 1.55;
  font-optical-sizing: auto;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}
img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
button,
input {
  font: inherit;
  color: inherit;
}
a,
button,
input,
summary {
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(30, 59, 224, 0.18);
}
p {
  margin: 0;
}
::selection {
  background: var(--haze);
  color: var(--ink);
}
[hidden] {
  display: none !important;
}
.vh {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.mono {
  font-family: var(--f-mono);
  font-size: 0.86em;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}
main:focus {
  outline: none;
}
.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  font-family: var(--f-display);
  font-weight: 600;
}
.skip:focus {
  top: 12px;
}

/* ---------- shared bits ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  min-height: 48px;
  padding: 0 20px;
  border: 2px solid currentColor;
  border-radius: 2px;
  background: transparent;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 16px;
  letter-spacing: 0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease;
}
.btn:active {
  transform: scale(0.97);
}
.btn--solid {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    background: var(--ink);
    color: var(--paper);
    border-color: var(--ink);
  }
  .btn--solid:hover {
    background: var(--blue);
    border-color: var(--blue);
  }
}
.textlink {
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 17px;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
  transition: color 150ms ease;
}
@media (hover: hover) and (pointer: fine) {
  .textlink:hover {
    color: var(--blue);
  }
}
.mono-link {
  font-family: var(--f-mono);
  font-size: 0.82em;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.25em;
  overflow-wrap: anywhere;
}
.copyline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

/* Copy buttons (code, prompts, inline) */
.copybtn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 36px;
  padding: 0 12px;
  border: 1.5px solid currentColor;
  border-radius: 2px;
  background: transparent;
  font-family: var(--f-display);
  font-weight: 650;
  font-size: 14px;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 150ms ease, color 150ms ease;
}
.copybtn:active {
  transform: scale(0.96);
}
.copybtn[data-state="copied"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.copybtn--inline {
  min-height: 30px;
  padding: 0 9px;
  font-size: 13px;
  vertical-align: 0.1em;
}
.copybtn--inline[data-state="copied"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
.copybtn .copybtn__tick {
  width: 12px;
  height: 12px;
}

/* ---------- masthead ---------- */
.masthead {
  position: relative;
  z-index: 20;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 24px;
  padding: 18px var(--gutter);
  font-family: var(--f-display);
}
.masthead--over {
  background: var(--ink);
  color: var(--paper);
}
@media (min-width: 760px) and (orientation: landscape) {
  .masthead--over {
    position: absolute;
    inset: 0 0 auto 0;
    background: transparent;
  }
}
.wordmark {
  font-weight: 800;
  font-stretch: 125%;
  font-size: 19px;
  letter-spacing: -0.01em;
  text-decoration: none;
}
.nav {
  display: flex;
  gap: 6px 22px;
  flex-wrap: wrap;
  font-weight: 560;
  font-size: 16px;
}
@media (max-width: 599px) {
  .masthead {
    padding-top: 14px;
    padding-bottom: 10px;
  }
  .nav {
    width: 100%;
    gap: 4px 18px;
    font-size: 15px;
  }
  .card {
    padding-top: 124px;
  }
}
.nav a {
  text-decoration: none;
  padding: 6px 0;
  background: linear-gradient(currentColor, currentColor) 0 100% / 0% 2px no-repeat;
  transition: background-size 220ms var(--ease-out);
}
.nav a[aria-current="page"] {
  background-size: 100% 2px;
}
@media (hover: hover) and (pointer: fine) {
  .nav a:hover {
    background-size: 100% 2px;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero__film {
  position: relative;
  background: var(--ink) url("/assets/hero/hero-poster-phone.webp") center / cover no-repeat;
  aspect-ratio: 4 / 5;
  /* portrait: keep name + tagline inside the first screen */
  width: min(100%, max(300px, calc((100svh - 350px) * 0.8)));
  margin: 0 auto;
}
.hero__video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__pause {
  position: absolute;
  right: 10px;
  top: 10px;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 12px;
  border: 0;
  border-radius: 2px;
  background: rgba(12, 14, 26, 0.72);
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 150ms ease;
}
.hero__pause:active {
  transform: scale(0.96);
}
.hero__pause-icon {
  width: 10px;
  height: 12px;
  border-left: 3px solid currentColor;
  border-right: 3px solid currentColor;
}
.hero__pause[aria-pressed="true"] .hero__pause-icon {
  border: 0;
  width: 0;
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-left: 10px solid currentColor;
}
.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 var(--gutter) 40px;
  margin-top: -0.22em; /* the name overlaps the bottom edge of the film */
  font-size: clamp(76px, 25vw, 150px);
}
.hero__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 880;
  font-stretch: 72%;
  font-size: 1em;
  line-height: 0.84;
  letter-spacing: -0.015em;
  max-width: 5.6em;
}
.hero__title .ltr {
  display: inline-block;
}
.hero__tag {
  margin-top: 22px;
  max-width: 30ch;
  font-size: 20px;
  line-height: 1.4;
  color: rgba(243, 243, 239, 0.9);
}

/* Desktop / landscape: full-bleed film with the copy in its quiet zone (bottom left) */
@media (min-width: 760px) and (orientation: landscape) {
  .hero {
    height: 100svh;
    min-height: 620px;
    max-height: 1180px;
  }
  .hero__film {
    position: absolute;
    inset: 0;
    width: auto;
    margin: 0;
    aspect-ratio: auto;
    background-image: url("/assets/hero/hero-poster-1920.webp");
    background-position: 75% 50%;
  }
  .hero__video {
    object-position: 75% 50%;
  }
  .hero__film::after {
    /* legibility for the copy: a soft ink pool in the quiet zone (web only, not in the film) */
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 52% 60% at 6% 100%, rgba(12, 14, 26, 0.78), rgba(12, 14, 26, 0) 70%);
    pointer-events: none;
  }
  .hero__pause {
    top: auto;
    bottom: 28px;
    right: var(--gutter);
  }
  .hero__copy {
    position: absolute;
    left: 0;
    bottom: 0;
    margin: 0;
    padding: 0 var(--gutter) clamp(28px, 4.5vh, 56px);
    width: min(42vw, 640px);
    font-size: clamp(64px, 8.6vw, 176px);
  }
  .hero__tag {
    font-size: clamp(18px, 1.35vw, 22px);
    margin-top: clamp(14px, 2vh, 24px);
  }
}

/* ---------- keyword terminal ---------- */
.kt {
  position: relative;
  margin-top: 26px;
  max-width: 560px;
  font-size: 16px;
}
.kt__label {
  display: block;
  margin-bottom: 8px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
}
.kt__field {
  display: flex;
  align-items: stretch;
  background: var(--ink);
  color: var(--paper);
  border: 2px solid rgba(243, 243, 239, 0.9);
  border-radius: 2px;
  transition: border-color 150ms ease;
}
.kt__field:focus-within {
  border-color: var(--paper);
  box-shadow: 0 0 0 3px var(--blue);
}
.kt__prefix {
  display: flex;
  align-items: center;
  padding-left: 14px;
  font-family: var(--f-mono);
  font-size: 17px;
  color: rgba(243, 243, 239, 0.62);
  white-space: nowrap;
}
.kt__input {
  flex: 1;
  min-width: 0;
  padding: 14px 6px 14px 0;
  border: 0;
  background: transparent;
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 17px;
  caret-color: var(--tally);
  outline: none;
}
.kt__go {
  flex: none;
  padding: 0 18px;
  border: 0;
  border-left: 2px solid rgba(243, 243, 239, 0.25);
  background: transparent;
  color: var(--paper);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 150ms ease, transform 140ms var(--ease-out);
}
.kt__go:active {
  transform: scale(0.97);
}
@media (hover: hover) and (pointer: fine) {
  .kt__go:hover {
    background: var(--blue);
  }
}
.kt__list {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  z-index: 30;
  margin: 4px 0 0;
  padding: 4px 0;
  list-style: none;
  background: var(--paper);
  color: var(--ink);
  border: 2px solid var(--ink);
  border-radius: 2px;
  box-shadow: 0 18px 40px -18px rgba(12, 14, 26, 0.55);
}
.kt__opt {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 4px 12px;
  align-items: baseline;
  padding: 9px 12px;
  cursor: pointer;
}
.kt__opt[aria-selected="true"] {
  background: var(--haze);
}
.kt__opt .kw-pill {
  font-size: 12px;
}
.kt__opt-title {
  font-family: var(--f-display);
  font-weight: 560;
  font-size: 15px;
  line-height: 1.25;
}
.kt__opt-soon {
  grid-column: 2;
  font-family: var(--f-display);
  font-size: 13px;
  color: var(--blue);
}
.kt__msg {
  min-height: 1.5em;
  margin-top: 8px;
  font-size: 17px;
}
.kt__msg a {
  font-weight: 600;
}

/* ---------- section heads ---------- */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 12px var(--gutter);
  padding: clamp(64px, 10vw, 140px) var(--gutter) clamp(28px, 4vw, 48px);
  max-width: var(--max);
  margin: 0 auto;
}
.section-head__h {
  grid-column: 1 / -1;
  margin: 0;
  font-family: var(--f-display);
  font-weight: 880;
  font-stretch: 100%;
  font-size: clamp(76px, 17vw, 270px);
  line-height: 0.8;
  letter-spacing: -0.03em;
  margin-left: -0.04em;
}
.section-head__lede {
  grid-column: 1 / -1;
  max-width: 34ch;
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.4;
}
@media (min-width: 900px) {
  .section-head__h {
    grid-column: 1 / span 8;
  }
  .section-head__lede {
    grid-column: 9 / span 4;
    padding-bottom: 0.5em;
  }
}

/* ---------- finder (search + chips) ---------- */
.finder {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: grid;
  gap: 18px;
}
.finder__label {
  display: block;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}
.finder__input {
  width: 100%;
  padding: 8px 0 10px;
  border: 0;
  border-bottom: 3px solid var(--ink);
  border-radius: 0;
  background: transparent;
  font-family: var(--f-text);
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.15;
  -webkit-appearance: none;
  appearance: none;
  outline: none;
  transition: border-color 150ms ease;
}
.finder__input::placeholder {
  color: rgba(12, 14, 26, 0.56);
  font-style: italic;
}
.finder__input:focus-visible {
  border-bottom-color: var(--blue);
  outline: 3px solid var(--blue);
  outline-offset: 6px;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  border: 0;
}
.chip {
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: transparent;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  transition: background-color 150ms ease, color 150ms ease, transform 140ms var(--ease-out);
}
.chip:active {
  transform: scale(0.97);
}
.chip[aria-pressed="true"] {
  background: var(--ink);
  color: var(--paper);
}
@media (hover: hover) and (pointer: fine) {
  .chip:not([aria-pressed="true"]):hover {
    background: var(--haze);
  }
}
.finder__count {
  font-family: var(--f-display);
  font-size: 15px;
  color: var(--graphite);
}

/* ---------- the index (guide entries) ---------- */
.kw-pill {
  display: inline-block;
  padding: 5px 9px 4px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--f-mono);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.entry--soon .kw-pill {
  background: transparent;
  color: var(--ink);
  border-style: dashed;
}
.index {
  list-style: none;
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 0 var(--gutter);
}
.entry {
  position: relative;
  border-top: 1.5px solid var(--ink);
}
/* rule draw-in (JS adds .pre then .in once the list is in view) */
.motion-ok .entry.pre,
.motion-ok .entry.in {
  border-top-color: transparent;
}
.motion-ok .entry.pre::before,
.motion-ok .entry.in::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1.5px;
  height: 1.5px;
  background: var(--ink);
  transform-origin: 0 50%;
}
.motion-ok .entry.pre::before {
  transform: scaleX(0);
}
.motion-ok .entry.pre .entry__body {
  opacity: 0;
}
.motion-ok .entry.in::before {
  transform: scaleX(1);
  transition: transform 700ms var(--ease-out);
}
.motion-ok .entry.in .entry__body {
  opacity: 1;
  transition: opacity 360ms ease 120ms;
}
.entry:last-child {
  border-bottom: 1.5px solid var(--ink);
}
.entry[hidden] {
  display: none;
}
.entry__body {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-areas:
    "pill when"
    "main main"
    "topics topics";
  gap: 10px 16px;
  padding: 20px 0 22px;
  text-decoration: none;
  color: inherit;
}
.entry .kw-pill {
  grid-area: pill;
  justify-self: start;
  align-self: start;
}
.entry__main {
  grid-area: main;
  display: grid;
  gap: 6px;
}
.entry__title {
  font-family: var(--f-display);
  font-weight: 680;
  font-stretch: 96%;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  text-wrap: balance;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-decoration-thickness: 2px;
  text-underline-offset: 0.14em;
  transition: text-decoration-color 160ms ease;
}
.entry__reel {
  font-style: italic;
  font-size: 17px;
  line-height: 1.35;
  color: var(--graphite);
}
.entry__topics {
  grid-area: topics;
  display: flex;
  flex-wrap: wrap;
  gap: 2px 14px;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--graphite);
}
.entry__when {
  grid-area: when;
  font-variant-numeric: tabular-nums;
  justify-self: end;
  display: flex;
  gap: 12px;
  font-family: var(--f-display);
  font-size: 14px;
  white-space: nowrap;
}
.entry__num {
  color: var(--graphite);
}
.entry__date--soon {
  color: var(--blue);
  font-weight: 650;
}
.entry--soon .entry__title {
  color: rgba(12, 14, 26, 0.72);
}
a.entry__body:focus-visible {
  outline-offset: -3px;
}
@media (hover: hover) and (pointer: fine) {
  a.entry__body:hover .entry__title {
    text-decoration-color: currentColor;
  }
}
@media (min-width: 820px) {
  .entry__body {
    grid-template-columns: 10rem minmax(0, 1fr) 11rem 9rem;
    grid-template-areas: "pill main topics when";
    gap: 0 28px;
    padding: 26px 0 28px;
    align-items: start;
  }
  .entry .kw-pill {
    margin-top: 0.3em;
  }
  .entry__topics {
    flex-direction: column;
    padding-top: 0.35em;
  }
  .entry__when {
    flex-direction: column;
    gap: 2px;
    text-align: right;
    padding-top: 0.35em;
  }
}
.index--compact .entry__title {
  font-size: clamp(20px, 2vw, 26px);
}

.empty {
  max-width: var(--max);
  margin: 28px auto 0;
  padding: 36px var(--gutter);
  display: grid;
  gap: 12px;
  justify-items: start;
}
.empty__h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

/* cursor-following reel cover on desktop */
.cover-peek {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 40;
  width: 180px;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-999px, -999px, 0);
  transition: opacity 160ms ease;
}
.cover-peek img {
  width: 100%;
  height: auto;
  border-radius: 2px;
  box-shadow: 0 24px 60px -24px rgba(12, 14, 26, 0.6);
}
.cover-peek[data-on="true"] {
  opacity: 1;
}

/* ---------- reels ---------- */
.reels {
  padding-bottom: clamp(56px, 8vw, 110px);
}
.reels__row {
  list-style: none;
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: clamp(220px, 23vw, 300px);
  gap: clamp(14px, 2vw, 28px);
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter) 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-padding: 0 var(--gutter);
  overscroll-behavior-x: contain;
}
.reel {
  scroll-snap-align: start;
  display: grid;
  gap: 8px;
  align-content: start;
}
.reel__frame {
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 2px;
  overflow: hidden;
}
.reel__frame video,
.reel__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel__num {
  margin-top: 6px;
  font-family: var(--f-display);
  font-size: 14px;
  color: var(--graphite);
}
.reel__title {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 680;
  font-size: 20px;
  line-height: 1.15;
}
.reel__links {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 16px;
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
}

/* ---------- split: about + brand deals ---------- */
.split {
  display: grid;
  gap: 48px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(56px, 8vw, 110px);
  border-top: 1.5px solid var(--ink);
}
.split__h {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-weight: 860;
  font-stretch: 120%;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.split__p {
  max-width: 36ch;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
  margin-bottom: 18px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .split__about {
    grid-column: 1 / span 5;
  }
  .split__work {
    grid-column: 7 / span 5;
    padding-top: clamp(40px, 7vw, 120px); /* stagger: magazine offset */
  }
}

/* ---------- email list slot ---------- */
.list-slot {
  display: grid;
  gap: 22px var(--gutter);
  padding: clamp(48px, 7vw, 100px) var(--gutter);
  background: var(--blue);
  color: var(--paper);
}
.list-slot :focus-visible {
  outline-color: var(--paper);
}
.list-slot__h {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-weight: 860;
  font-stretch: 110%;
  font-size: clamp(36px, 5.4vw, 80px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.list-slot__lede {
  max-width: 40ch;
  font-size: clamp(19px, 1.5vw, 22px);
  line-height: 1.45;
}
.list-slot__embed:empty {
  display: none;
}
.list-slot[data-state="live"] .list-slot__pending {
  display: none;
}
.list-slot__pending {
  display: grid;
  gap: 14px;
  align-content: start;
  max-width: 44ch;
}
.list-slot__status {
  display: grid;
  gap: 2px;
  padding: 12px 14px;
  background: var(--ink);
  border-radius: 2px;
  font-size: 17px;
}
.list-slot__out {
  color: rgba(243, 243, 239, 0.7);
}
.list-slot__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
}
.list-slot .btn--solid {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .list-slot .btn--solid:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}
.list-slot .copybtn--inline[data-state="copied"] {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
@media (min-width: 900px) {
  .list-slot {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    align-items: start;
  }
  .list-slot__text {
    grid-column: 1 / span 7;
  }
  .list-slot__embed,
  .list-slot__pending {
    grid-column: 8 / span 5;
  }
}

/* ---------- footer ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: clamp(40px, 6vw, 80px) var(--gutter) 40px;
}
.footer :focus-visible {
  outline-color: var(--paper);
}
.footer__grid {
  display: grid;
  gap: 28px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.footer__big {
  font-family: var(--f-display);
  font-weight: 880;
  font-stretch: 140%;
  font-size: clamp(34px, 6vw, 84px);
  line-height: 0.9;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}
.footer__links {
  display: grid;
  gap: 8px;
  font-family: var(--f-display);
  font-weight: 560;
}
.footer__links a {
  text-decoration: none;
}
@media (hover: hover) and (pointer: fine) {
  .footer__links a:hover {
    text-decoration: underline;
    text-underline-offset: 0.2em;
  }
}
.footer__contact p:first-child {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: rgba(243, 243, 239, 0.72);
}
@media (min-width: 900px) {
  .footer__grid {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .footer__name {
    grid-column: 1 / span 6;
  }
  .footer__links {
    grid-column: 8 / span 2;
  }
  .footer__contact {
    grid-column: 10 / span 3;
  }
}

/* ---------- guide page ---------- */
.card {
  position: relative;
  background: var(--blue);
  color: var(--paper);
  padding: 96px var(--gutter) clamp(36px, 5vw, 64px);
  overflow: hidden;
  container-type: inline-size;
}
.page-guide .masthead {
  position: absolute;
  inset: 0 0 auto 0;
  color: var(--paper);
}
.card :focus-visible {
  outline-color: var(--paper);
}
.card__kw {
  margin: 0 0 clamp(20px, 3vw, 36px) -0.03em;
  font-family: var(--f-display);
  font-weight: 900;
  font-stretch: var(--kw-wdth, 100%);
  font-size: var(--kw-size, clamp(72px, 19vw, 300px));
  line-height: 0.8;
  letter-spacing: -0.02em;
  white-space: nowrap;
  width: max-content;
}
.card__meta {
  display: grid;
  gap: 18px;
  max-width: var(--max);
}
.card__title {
  margin: 0;
  max-width: 24ch;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3.8vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 22px;
  font-family: var(--f-display);
  font-size: 15px;
  color: rgba(243, 243, 239, 0.86);
  max-width: 90ch;
}
.card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.card .btn--solid {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
}
@media (hover: hover) and (pointer: fine) {
  .card .btn:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--paper);
  }
}

.guide__grid {
  display: grid;
  gap: 40px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(36px, 5vw, 72px) var(--gutter) 0;
}
.guide__side {
  display: none;
}
.toc {
  position: sticky;
  top: 28px;
  font-family: var(--f-display);
  font-size: 15px;
}
.toc__h {
  font-weight: 700;
  margin-bottom: 10px;
}
.toc ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 2px;
  border-left: 2px solid var(--line);
}
.toc a {
  display: block;
  padding: 5px 0 5px 12px;
  margin-left: -2px;
  border-left: 2px solid transparent;
  text-decoration: none;
  line-height: 1.3;
  color: var(--graphite);
  transition: color 150ms ease, border-color 150ms ease;
}
.toc a[aria-current="true"] {
  color: var(--ink);
  border-left-color: var(--blue);
}
@media (hover: hover) and (pointer: fine) {
  .toc a:hover {
    color: var(--ink);
  }
}
.guide__reel {
  display: grid;
  gap: 10px;
  align-content: start;
  max-width: 300px;
}
.guide__reel-h {
  margin: 0;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
}
.guide__video {
  width: 100%;
  aspect-ratio: 9 / 16;
  background: var(--ink);
  border-radius: 2px;
  object-fit: cover;
}
.guide__reel-title {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 16px;
  line-height: 1.3;
}
@media (min-width: 900px) {
  .guide__grid {
    grid-template-columns: minmax(0, 1fr) 260px;
    align-items: start;
  }
  .guide__reel {
    position: sticky;
    top: 28px;
  }
}
@media (min-width: 1200px) {
  .guide__grid {
    grid-template-columns: 220px minmax(0, 1fr) 260px;
  }
  .guide__side {
    display: block;
    align-self: stretch;
  }
}

/* prose: the guide text, rendered as written */
.prose {
  max-width: 68ch;
  font-size: 20px;
  line-height: 1.6;
  min-width: 0;
}
.prose > * + * {
  margin-top: 1em;
}
.prose h2 {
  margin: 2em 0 0.4em;
  font-family: var(--f-display);
  font-weight: 760;
  font-stretch: 104%;
  font-size: clamp(26px, 2.6vw, 34px);
  line-height: 1.1;
  letter-spacing: -0.012em;
  scroll-margin-top: 24px;
  text-wrap: balance;
}
.prose h2:first-child {
  margin-top: 0.6em;
}
.prose h3 {
  scroll-margin-top: 24px;
  text-wrap: balance;
  margin: 1.6em 0 0.3em;
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
}
.h-anchor {
  margin-left: 0.3em;
  color: var(--blue);
  text-decoration: none;
  opacity: 0;
  transition: opacity 150ms ease;
}
.prose h2:hover .h-anchor,
.prose h3:hover .h-anchor,
.h-anchor:focus-visible {
  opacity: 1;
}
.prose a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}
.prose ul,
.prose ol {
  padding-left: 1.3em;
}
.prose li + li {
  margin-top: 0.35em;
}
.prose li > ul,
.prose li > ol {
  margin-top: 0.35em;
}
.prose code {
  font-family: var(--f-mono);
  font-size: 0.8em;
  padding: 0.1em 0.32em;
  background: var(--haze);
  border-radius: 2px;
  overflow-wrap: anywhere;
}
.soon-link {
  text-decoration: underline dashed 1px;
  text-underline-offset: 0.18em;
}
.soon-link::after {
  content: "(" attr(data-soon) ")";
  display: inline-block;
  margin-left: 0.3em;
  text-decoration: none;
  font-family: var(--f-display);
  font-size: 0.72em;
  color: var(--blue-deep);
  white-space: nowrap;
}
.prose strong {
  font-weight: 650;
}
.prose hr {
  border: 0;
  border-top: 1.5px solid var(--ink);
  margin: 2.4em 0;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 17px;
  display: block;
  overflow-x: auto;
}
.prose th,
.prose td {
  text-align: left;
  padding: 8px 12px 8px 0;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 15px;
}

/* copy boxes */
.copybox {
  margin: 1.4em 0;
  border-radius: 2px;
  background: var(--ink);
  color: var(--paper);
  overflow: hidden;
}
.copybox :focus-visible {
  outline-color: var(--paper);
  outline-offset: -3px;
}
.copybox__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 8px 8px 16px;
  border-bottom: 1px solid rgba(243, 243, 239, 0.16);
}
.copybox__label {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 14px;
  color: rgba(243, 243, 239, 0.75);
}
.copybox__body {
  margin: 0;
  padding: 16px;
  overflow-x: auto;
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.6;
  tab-size: 2;
}
.copybox__body code {
  font: inherit;
  background: none;
  padding: 0;
}
.copybox[data-kind="prompt"] {
  background: var(--haze);
  color: var(--ink);
}
.copybox[data-kind="prompt"] .copybox__bar {
  border-bottom-color: rgba(12, 14, 26, 0.14);
}
.copybox[data-kind="prompt"] .copybox__label {
  color: var(--blue-deep);
}
.copybox[data-kind="prompt"] :focus-visible {
  outline-color: var(--blue);
}
.copybox[data-kind="prompt"] .copybtn[data-state="copied"] {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}
blockquote.copybox__body {
  font-family: var(--f-text);
  font-size: 19px;
  line-height: 1.55;
  white-space: normal;
}
blockquote.copybox__body > * + * {
  margin-top: 0.8em;
}
pre.copybox__body[data-kind] {
  white-space: pre;
}
.copybox[data-kind="prompt"] pre.copybox__body {
  white-space: pre-wrap;
}
.inline-prompt em {
  font-style: italic;
}

.sources,
.related,
.guide__end {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.sources {
  margin-top: clamp(40px, 5vw, 64px);
}
.sources__h,
.related__h {
  margin: 0 0 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
}
.sources ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
  font-size: 19px;
}
.guide__end {
  margin-top: clamp(48px, 7vw, 96px);
  padding: 0;
  max-width: none;
}
.guide__done {
  max-width: var(--max);
  margin: 0 auto 28px;
  padding: 0 var(--gutter);
  font-family: var(--f-display);
  font-weight: 880;
  font-stretch: 120%;
  font-size: clamp(32px, 5vw, 64px);
  line-height: 0.95;
  letter-spacing: -0.02em;
}
.related {
  padding-top: clamp(40px, 6vw, 80px);
  padding-bottom: clamp(56px, 8vw, 100px);
}
.related .index {
  padding: 0;
  margin-bottom: 20px;
}

/* ---------- plain pages (about, work) ---------- */
.plain {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 110px);
}
.plain__title {
  margin: 0 0 clamp(28px, 5vw, 64px) -0.04em;
  font-family: var(--f-display);
  font-weight: 880;
  font-size: clamp(64px, 14vw, 230px);
  line-height: 0.82;
  letter-spacing: -0.03em;
}
.plain__body {
  display: grid;
  gap: 40px var(--gutter);
}
.plain__prose {
  max-width: 60ch;
}
.plain__prose h2 {
  margin: 1.6em 0 0.4em;
  font-family: var(--f-display);
  font-weight: 760;
  font-size: clamp(24px, 2.4vw, 30px);
  line-height: 1.1;
}
.plain__prose h2:first-child {
  margin-top: 0;
}
.plain__prose p + p {
  margin-top: 0.9em;
}
.lead {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.35;
}
.plain__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  margin-top: 1.4em !important;
}
.ticks {
  padding-left: 1.2em;
}
.ticks li + li {
  margin-top: 0.3em;
}
.facts {
  margin: 0;
  display: grid;
  gap: 0;
  align-content: start;
}
.facts > div {
  display: grid;
  grid-template-columns: 7.5rem 1fr;
  gap: 12px;
  padding: 14px 0;
  border-top: 1.5px solid var(--ink);
}
.facts > div:last-child {
  border-bottom: 1.5px solid var(--ink);
}
.facts dt {
  font-family: var(--f-display);
  font-weight: 600;
  font-size: 15px;
  color: var(--graphite);
  padding-top: 0.2em;
}
.facts dd {
  margin: 0;
  font-size: 20px;
}
@media (min-width: 900px) {
  .plain__body {
    grid-template-columns: repeat(12, minmax(0, 1fr));
  }
  .plain__body > :first-child {
    grid-column: 1 / span 5;
  }
  .plain__body > :last-child {
    grid-column: 7 / span 6;
  }
  .page-work .plain__body > :first-child {
    grid-column: 1 / span 7;
  }
  .page-work .plain__body > :last-child {
    grid-column: 9 / span 4;
    padding-top: 0.4em;
  }
}

/* ---------- 404 ---------- */
.nf {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 7vw, 96px) var(--gutter) clamp(56px, 8vw, 110px);
}
.nf__path {
  display: block;
  font-size: clamp(22px, 3.4vw, 44px);
  font-weight: 700;
  overflow-wrap: anywhere;
  margin-bottom: 18px;
}
.nf__prefix {
  font-weight: 400;
  color: var(--graphite);
}
.nf__title {
  margin: 0 0 14px;
  font-family: var(--f-display);
  font-weight: 880;
  font-size: clamp(44px, 7vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.025em;
  max-width: 14ch;
}
.nf__msg {
  max-width: 44ch;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.4;
}
.nf .kt {
  margin-top: 28px;
}
.nf .kt__field {
  border-color: var(--ink);
}
.nf__list {
  margin-top: clamp(48px, 6vw, 80px);
}
.nf__h {
  margin: 0 0 8px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 22px;
}
.nf .index {
  padding: 0;
}

/* ---------- motion: page transitions ---------- */
@view-transition {
  navigation: auto;
}
::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 220ms;
  animation-timing-function: var(--ease-out);
}
::view-transition-group(*) {
  animation-duration: 340ms;
  animation-timing-function: var(--ease-in-out);
}

/* Reduced motion: keep fades, drop movement. */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
  }
  ::view-transition-group(*) {
    animation-duration: 0s;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation-duration: 150ms;
  }
  .btn:active,
  .chip:active,
  .copybtn:active,
  .kt__go:active,
  .hero__pause:active {
    transform: none;
  }
  .cover-peek {
    display: none;
  }
}

/* ---------- print (the guide PDF uses this) ---------- */
@media print {
  @page {
    size: Letter;
  }
  body {
    background: #fff;
    font-size: 11.5pt;
    line-height: 1.5;
  }
  .masthead,
  .footer,
  .skip,
  .card__actions,
  .guide__side,
  .guide__reel,
  .guide__end,
  .related,
  .copybtn,
  .h-anchor,
  .cover-peek {
    display: none !important;
  }
  .card {
    background: #fff;
    color: var(--ink);
    padding: 0 0 14pt;
    border-bottom: 2pt solid var(--ink);
  }
  .card__kw {
    font-size: 54pt !important;
    color: var(--blue);
    margin-bottom: 10pt;
  }
  .card__title {
    font-size: 22pt;
    max-width: none;
  }
  .card__facts {
    color: var(--graphite);
    font-size: 9pt;
  }
  .guide__grid {
    display: block;
    padding: 14pt 0 0;
  }
  .prose {
    max-width: none;
    font-size: 11.5pt;
  }
  .prose h2 {
    font-size: 15pt;
    break-after: avoid;
  }
  .prose :not(pre) > code {
    white-space: nowrap;
  }
  .copybox {
    background: #fff !important;
    color: var(--ink) !important;
    border: 1pt solid var(--ink);
    break-inside: avoid;
  }
  .copybox__bar {
    border-bottom: 1pt solid var(--line);
    padding: 4pt 8pt;
  }
  .copybox__label {
    color: var(--graphite) !important;
  }
  .copybox__body {
    white-space: pre-wrap !important;
    font-size: 9pt;
    padding: 8pt;
  }
  blockquote.copybox__body {
    font-size: 11pt;
  }
  .sources {
    padding: 0;
    margin-top: 18pt;
    break-inside: avoid;
  }
  .sources ul {
    font-size: 10pt;
  }
  a {
    color: inherit !important;
  }
}
