/* Tetherquake launch page. Tokens and rules follow site/DESIGN.md.
   Layout idea: an inked comic page with one fault line through it.
   Titles hang left, media bleeds, every angled edge is the same 7deg cut. */

@font-face { font-family: "Sofia Sans XC"; src: url("assets/fonts/sofia-sans-xcond-italic-latin.woff2") format("woff2"); font-style: italic; font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Sofia Sans XC"; src: url("assets/fonts/sofia-sans-xcond-normal-latin.woff2") format("woff2"); font-style: normal; font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Sofia Sans C"; src: url("assets/fonts/sofia-sans-condensed-normal-latin.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; }
@font-face { font-family: "Sofia Sans"; src: url("assets/fonts/sofia-sans-normal-latin.woff2") format("woff2"); font-weight: 1 1000; font-display: swap; }

:root {
  color-scheme: dark;
  --ink: #17131a;
  --ink-2: #221c27;
  --ink-3: #3b3142;
  --paper: #f5eddc;
  --paper-dim: #bdb2aa;
  --tether: #ffc531;
  --warden: #45d0dc;
  --giant: #f2613c;
  --warden-deep: #0b6f7a;
  --giant-deep: #b8391a;

  --display: "Sofia Sans XC", "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --label: "Sofia Sans C", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Sofia Sans", "Segoe UI", system-ui, sans-serif;

  --cut: 7deg;
  --slant: 0.1228;              /* tan(7deg): x shift per unit of height */
  --gutter: clamp(16px, 4vw, 48px);
  --section: clamp(72px, 10vw, 144px);
  --max: 1240px;
  --fast: 140ms;
  --move: 320ms;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --role: var(--tether);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--ink); color: var(--paper);
  font: 400 17px/1.55 var(--text); overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--paper); outline-offset: 3px; }
.paper :focus-visible { outline-color: var(--ink); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tether); color: var(--ink); padding: 8px 12px; z-index: 100; font: 700 15px var(--label); }
.skip:focus { left: 8px; }

.wrap { max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); position: relative; }

/* ---------- type ---------- */
.display {
  font: italic 900 clamp(44px, 7.2vw, 104px)/.86 var(--display);
  text-transform: uppercase; letter-spacing: 0; text-wrap: balance;
}
.label { font: 700 14px/1.2 var(--label); text-transform: uppercase; letter-spacing: .08em; }
.lede { font-size: clamp(18px, 1.6vw, 21px); line-height: 1.5; max-width: 54ch; color: var(--paper-dim); }
.paper .lede { color: #4a4048; }

/* caption box: the page's section marker */
.caption {
  display: inline-block; background: var(--tether); color: var(--ink);
  font: 700 14px/1 var(--label); text-transform: uppercase; letter-spacing: .08em;
  padding: 8px 22px 8px 12px;
  clip-path: polygon(0 0, 100% 0, calc(100% - 12px) 100%, 0 100%);
}
.caption.is-role { background: var(--role); }
.head { display: grid; gap: 16px; margin-bottom: clamp(32px, 5vw, 64px); justify-items: start; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; text-decoration: none;
  font: 800 18px/1 var(--label); text-transform: uppercase; letter-spacing: .06em;
  background: var(--tether); color: var(--ink);
  transform: skewX(calc(-1 * var(--cut)));
  box-shadow: 4px 4px 0 var(--ink), 4px 4px 0 1px rgba(245, 237, 220, .35);
  transition: transform var(--fast) var(--ease), box-shadow var(--fast) var(--ease), background var(--fast);
}
.btn > * { transform: skewX(var(--cut)); }
.btn svg { width: 20px; height: 20px; fill: currentColor; flex: none; }
.btn:hover { transform: skewX(calc(-1 * var(--cut))) translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink), 6px 6px 0 1px rgba(245, 237, 220, .45); background: #ffd259; }
.btn:active { transform: skewX(calc(-1 * var(--cut))) translate(3px, 3px); box-shadow: 1px 1px 0 var(--ink); }
.btn.ghost { background: transparent; color: var(--paper); box-shadow: inset 0 0 0 2px var(--paper); }
.btn.ghost:hover { background: var(--paper); color: var(--ink); }
.btn.small { min-height: 44px; padding: 0 18px; font-size: 16px; }
.paper .btn { box-shadow: 4px 4px 0 var(--ink); }
.paper .btn:hover { box-shadow: 6px 6px 0 var(--ink); }

/* ---------- header ---------- */
.site-head {
  position: fixed; inset: 0 0 auto; z-index: 50;
  transition: background var(--move) var(--ease), box-shadow var(--move) var(--ease);
}
.site-head .wrap { display: flex; align-items: center; gap: 24px; min-height: 68px; max-width: none; }
.site-head.is-stuck { background: var(--ink-2); box-shadow: 0 3px 0 var(--ink); }
.mark { font: italic 900 30px/1 var(--display); text-transform: uppercase; text-decoration: none; letter-spacing: .01em; }
.mark b { color: var(--tether); font-weight: inherit; }
.site-head .mark { opacity: 0; transition: opacity var(--move); }
.site-head.is-stuck .mark, .site-head.always .mark { opacity: 1; }
.nav { display: flex; gap: 28px; margin-left: auto; }
.nav a { font: 700 15px/1 var(--label); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; padding: 14px 0; border-bottom: 2px solid transparent; }
.nav a:hover { border-color: var(--tether); }
.site-head .btn { margin-left: 8px; }
@media (max-width: 860px) { .nav { display: none; } .site-head .btn { margin-left: auto; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(100svh, 940px); display: grid; align-items: end; isolation: isolate; overflow: hidden; }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media video, .hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 60%; }
.hero::before { /* scrim: ink rising from the bottom left, where the type sits */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, var(--ink) 0%, rgba(23, 19, 26, .86) 20%, rgba(23, 19, 26, .12) 56%, rgba(23, 19, 26, .38) 100%),
    linear-gradient(100deg, rgba(23, 19, 26, .62) 0%, rgba(23, 19, 26, 0) 62%);
}
.hero::after { /* halftone grain over the scrim */
  content: ""; position: absolute; inset: 40% 0 0; z-index: -1; opacity: .5;
  background: radial-gradient(circle, rgba(23, 19, 26, .9) 1.1px, transparent 1.4px) 0 0 / 7px 7px;
  -webkit-mask-image: linear-gradient(to top, #000, transparent); mask-image: linear-gradient(to top, #000, transparent);
}
.hero .wrap { width: 100%; padding-block: 120px clamp(40px, 6vw, 80px); display: grid; gap: clamp(16px, 2.4vw, 28px); justify-items: start; }

.wordmark {
  position: relative; font: italic 900 clamp(60px, 14.5vw, 216px)/.8 var(--display);
  text-transform: uppercase; letter-spacing: -.005em; margin-left: -.03em; padding-right: .08em;
  color: var(--tether); white-space: nowrap;
}
/* the fault: the word is sliced along one shallow cut and the lower block slips,
   so the amber layer underneath shows through the crack */
.wordmark { display: block; }
.wordmark::before, .wordmark::after { content: attr(data-text); content: attr(data-text) / ""; position: absolute; inset: 0; color: var(--paper); }
.wordmark::before { clip-path: polygon(-5% -20%, 110% -20%, 110% 44%, -5% 53%); }
.wordmark::after { clip-path: polygon(-5% 53%, 110% 44%, 110% 130%, -5% 130%); transform: translate(.016em, .04em); }
.tether-line { /* the line the word hangs from */
  position: absolute; z-index: -1; left: 97%; top: 8%; width: 120vw; height: 3px;
  background: var(--tether); transform-origin: 0 50%; transform: rotate(-21deg);
}
.pitch { font: italic 800 clamp(26px, 3.6vw, 52px)/1 var(--display); text-transform: uppercase; }
.hero .lede { color: var(--paper); max-width: 46ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 20px 24px; align-items: center; margin-top: 8px; }
.when { font: 700 15px/1.2 var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--paper); }
.when b { color: var(--tether); font-weight: inherit; }
.hero-tag { position: absolute; right: 0; top: 96px; }
.hero-tag .caption { padding: 10px 16px 10px 30px; clip-path: polygon(12px 0, 100% 0, 100% 100%, 0 100%); font-size: 15px; }
@media (max-width: 720px) { .hero-tag { top: 76px; } }

/* ---------- panels (media frames) ---------- */
.panel { position: relative; background: var(--ink-2); border: 3px solid var(--paper); box-shadow: 8px 8px 0 var(--ink-3); }
.panel img, .panel video { width: 100%; height: 100%; object-fit: cover; }
.paper .panel { border-color: var(--ink); box-shadow: 8px 8px 0 var(--ink); }
.panel .caption { position: absolute; left: -3px; top: -3px; z-index: 2; }

/* ---------- gameplay cut (facade) ---------- */
.reel { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 9fr); gap: clamp(24px, 5vw, 72px); align-items: center; }
.reel .head { margin: 0; }
.facade { aspect-ratio: 16 / 9; display: block; width: 100%; cursor: pointer; overflow: hidden; }
.facade img { transition: transform var(--move) var(--ease); }
.facade:hover img { transform: scale(1.03); }
.play {
  position: absolute; inset: 0; margin: auto; width: 88px; height: 88px; border-radius: 50%;
  background: var(--tether); display: grid; place-items: center; box-shadow: 0 0 0 3px var(--ink), 5px 5px 0 3px var(--ink);
  transition: transform var(--fast) var(--ease);
}
.play::before { content: ""; border-left: 26px solid var(--ink); border-block: 16px solid transparent; margin-left: 8px; }
.facade:hover .play { transform: scale(1.08); }
.facade .len { position: absolute; right: 12px; bottom: 12px; background: var(--ink); color: var(--paper); padding: 6px 10px; font: 700 13px/1 var(--label); letter-spacing: .08em; }
@media (max-width: 860px) { .reel { grid-template-columns: 1fr; } }

/* ---------- pillars ---------- */
.pillars { display: grid; gap: clamp(56px, 8vw, 112px); }
.pillar { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: center; }
.pillar .panel { grid-column: 1 / span 8; grid-row: 1; aspect-ratio: 16 / 9; }
.pillar .copy { grid-column: 8 / span 5; grid-row: 1; z-index: 2; display: grid; gap: 16px; justify-items: start; align-self: end; padding-bottom: 24px; }
.pillar:nth-child(even) .panel { grid-column: 5 / span 8; }
.pillar:nth-child(even) .copy { grid-column: 1 / span 5; }
.pillar h3 { font: italic 900 clamp(52px, 8vw, 120px)/.82 var(--display); text-transform: uppercase;
  text-shadow: 3px 3px 0 var(--ink), -2px -2px 0 var(--ink), 3px -2px 0 var(--ink), -2px 3px 0 var(--ink), 7px 7px 0 var(--ink); }
.pillar p { color: var(--paper); max-width: 38ch; background: var(--ink); padding: 14px 16px; margin-left: clamp(0px, 8vw, 110px); border-left: 3px solid var(--tether); }
.pillar:nth-child(even) p { margin-left: 0; margin-right: clamp(0px, 8vw, 110px); }
.pillar .copy .caption { margin-left: clamp(0px, 8vw, 110px); }
.pillar:nth-child(even) .copy .caption { margin-left: 0; }
@media (max-width: 860px) {
  .pillar .panel, .pillar .copy, .pillar:nth-child(even) .panel, .pillar:nth-child(even) .copy { grid-column: 1 / -1; grid-row: auto; }
  .pillar .copy { margin-top: -56px; padding-inline: 12px; }
  .pillar p, .pillar .copy .caption, .pillar:nth-child(even) p { margin-inline: 0; }
}

/* ---------- roster ---------- */
.roster { --role: var(--warden); }
.roster.giants { --role: var(--giant); }
.roster .display em { font-style: inherit; color: var(--role); }
.tabs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.tab {
  position: relative; display: grid; grid-template-rows: 1fr auto; justify-items: start; text-align: left;
  height: clamp(132px, 15vw, 190px); padding: 12px 14px; overflow: hidden;
  background: var(--ink-2); border: 3px solid var(--ink-3);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 16px), calc(100% - 16px * 8.14) 100%, 0 100%);
  transition: border-color var(--fast), background var(--fast);
}
.tab img { position: absolute; right: -4%; top: 10px; height: 135%; width: auto; max-width: none; filter: grayscale(.85) brightness(.75); transition: filter var(--fast), transform var(--move) var(--ease); }
.tab .name { position: relative; align-self: end; font: italic 900 clamp(24px, 2.6vw, 36px)/.9 var(--display); text-transform: uppercase; text-shadow: 2px 2px 0 var(--ink); }
.tab .role { position: relative; font: 700 13px/1.2 var(--label); text-transform: uppercase; letter-spacing: .08em; color: var(--paper-dim); text-shadow: 1px 1px 0 var(--ink); }
.tab:hover { border-color: var(--paper-dim); }
.tab:hover img { filter: none; transform: translateY(-4px); }
.tab[aria-selected="true"] { background: var(--role); border-color: var(--role); color: var(--ink); }
.tab[aria-selected="true"] img { filter: none; }
.tab[aria-selected="true"] .name, .tab[aria-selected="true"] .role { text-shadow: none; color: var(--ink); }

.stage { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(24px, 4vw, 48px); align-items: end; }
.stage[hidden] { display: none; }
.figure { position: relative; display: grid; align-items: end; justify-items: center; min-height: clamp(360px, 48vw, 640px); }
.figure::before { /* a slab of role colour behind the figure, cut along the fault */
  content: ""; position: absolute; inset: 14% 4% 0 4%; background: var(--slab, var(--role));
  clip-path: polygon(calc(100% * var(--slant)) 0, 100% 0, calc(100% - 100% * var(--slant)) 100%, 0 100%);
}
.figure::after { content: ""; position: absolute; inset: 14% 4% 0 4%; opacity: .35;
  background: radial-gradient(circle, var(--ink) 1.6px, transparent 2px) 0 0 / 10px 10px;
  clip-path: polygon(calc(100% * var(--slant)) 0, 100% 0, calc(100% - 100% * var(--slant)) 100%, 0 100%);
  -webkit-mask-image: linear-gradient(to top, #000, transparent 70%); mask-image: linear-gradient(to top, #000, transparent 70%);
}
.figure img { position: relative; z-index: 1; max-height: clamp(360px, 48vw, 640px); width: auto; filter: drop-shadow(6px 6px 0 rgba(23, 19, 26, .55)); }
.stage.is-in .figure img { animation: enter var(--move) var(--ease); }
@keyframes enter { from { transform: translateX(-28px) skewX(-3deg); opacity: 0; } }

.sheet { display: grid; gap: 20px; justify-items: start; padding-bottom: 8px; }
.sheet h3 { font: italic 900 clamp(64px, 9vw, 132px)/.8 var(--display); text-transform: uppercase; margin-left: -.03em; }
.sheet .pitchline { font-size: clamp(19px, 1.8vw, 23px); line-height: 1.4; max-width: 34ch; }
.passive { color: var(--paper-dim); max-width: 48ch; font-size: 16px; }
.passive b { color: var(--role); font: 700 13px/1 var(--label); text-transform: uppercase; letter-spacing: .08em; margin-right: 8px; }
.abilities { display: grid; width: 100%; border-top: 3px solid var(--paper); }
.abilities li { display: grid; grid-template-columns: 84px minmax(0, 150px) minmax(0, 1fr); gap: 16px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--ink-3); }
.abilities .slot { font: 700 12px/1 var(--label); text-transform: uppercase; letter-spacing: .1em; color: var(--paper-dim); }
.abilities .ult .slot { color: var(--role); }
.abilities .an { font: italic 800 27px/.95 var(--display); text-transform: uppercase; }
.abilities p { color: var(--paper-dim); font-size: 16px; line-height: 1.45; }
@media (max-width: 1040px) {
  .stage { grid-template-columns: 1fr; }
  .figure { min-height: 0; }
  .figure img { max-height: 420px; }
}
@media (max-width: 720px) {
  .tabs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tab { height: 120px; }
  .abilities li { grid-template-columns: 76px minmax(0, 1fr); }
  .abilities p { grid-column: 1 / -1; }
}

/* giants: the height ruler */
.ruler { position: absolute; z-index: 2; left: 0; bottom: 0; top: 10%; width: 62px; pointer-events: none; }
.ruler::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 14px;
  border-left: 3px solid var(--paper); border-top: 3px solid var(--paper); border-bottom: 3px solid var(--paper);
  background: repeating-linear-gradient(to top, var(--paper) 0 2px, transparent 2px calc(100% / 12)); }
.ruler .h { position: absolute; left: 22px; top: -4px; font: italic 900 30px/1 var(--display); white-space: nowrap; }
.ruler .w { position: absolute; left: 22px; bottom: 0; display: grid; gap: 4px; font: 700 11px/1.1 var(--label); letter-spacing: .08em; text-transform: uppercase; color: var(--paper-dim); white-space: nowrap; }
.ruler .w i { display: block; width: 5px; height: 7.5%; min-height: 26px; background: var(--warden); order: 2; }
.ruler .w i { height: auto; aspect-ratio: 1 / 5; }
.giants .figure { padding-left: 48px; }

/* ---------- paper band with the stepped fault edge ---------- */
.paper {
  --fw: 320px; --fh: 39px; /* 39 = 320 * tan(7deg) */
  background: var(--paper); color: var(--ink); margin-block: calc(-1 * var(--fh)) 0;
  padding-block: calc(var(--section) + var(--fh));
  clip-path: polygon(0 var(--fh), 58% var(--fh), calc(58% + var(--fw)) 0, 100% 0,
                     100% calc(100% - var(--fh)), calc(42% + var(--fw)) calc(100% - var(--fh)), 42% 100%, 0 100%);
}
.paper::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .09;
  background: radial-gradient(circle, var(--ink) 1.2px, transparent 1.5px) 0 0 / 9px 9px;
  -webkit-mask-image: linear-gradient(115deg, #000 0%, transparent 45%); mask-image: linear-gradient(115deg, #000 0%, transparent 45%); }
.paper .caption { background: var(--ink); color: var(--paper); }
@media (max-width: 720px) { .paper { --fw: 160px; --fh: 20px; } }

/* how a match goes: a four-panel strip */
.strip { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.strip li { display: grid; gap: 16px; align-content: start; }
.strip li:nth-child(1) { grid-column: span 7; }
.strip li:nth-child(2) { grid-column: span 5; }
.strip li:nth-child(3) { grid-column: span 5; }
.strip li:nth-child(4) { grid-column: span 7; }
.strip .panel { aspect-ratio: 16 / 9; }
.strip li:nth-child(2) .panel, .strip li:nth-child(3) .panel { aspect-ratio: 8 / 6.3; }
.strip h3 { font: italic 900 clamp(28px, 3vw, 40px)/.92 var(--display); text-transform: uppercase; }
.strip p { max-width: 46ch; color: #3d343c; }
@media (max-width: 860px) { .strip li:nth-child(n) { grid-column: 1 / -1; } .strip li:nth-child(n) .panel { aspect-ratio: 16 / 9; } }

/* ---------- maps ---------- */
.maps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); align-items: start; }
.map { display: grid; gap: 14px; }
.map .panel { aspect-ratio: 4 / 5; }
.map:nth-child(2) { margin-top: clamp(0px, 5vw, 72px); }
.map:nth-child(3) { margin-top: clamp(0px, 10vw, 144px); }
.map h3 { font: italic 900 clamp(36px, 4vw, 56px)/.88 var(--display); text-transform: uppercase; }
.map p { color: var(--paper-dim); font-size: 16px; }
@media (max-width: 860px) { .maps { grid-template-columns: 1fr; } .map:nth-child(n) { margin-top: 0; } .map .panel { aspect-ratio: 16 / 10; } }

/* ---------- signup ---------- */
.signup { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 72px); align-items: end; }
.signup form { display: grid; gap: 12px; }
.field { display: flex; flex-wrap: wrap; gap: 12px 16px; }
.field input {
  flex: 1 1 240px; min-width: 0; min-height: 52px; padding: 0 16px; font: 500 17px var(--text);
  background: #fffaf0; color: var(--ink); border: 3px solid var(--ink); border-radius: 0; box-shadow: 4px 4px 0 var(--ink);
}
.field input::placeholder { color: #7a6f73; }
.signup label { font: 700 14px/1 var(--label); text-transform: uppercase; letter-spacing: .08em; }
.fine { font-size: 14px; color: #4a4048; max-width: 52ch; }
.form-msg { font-weight: 650; min-height: 1.5em; }
@media (max-width: 860px) { .signup { grid-template-columns: 1fr; } }

/* ---------- faq ---------- */
.faq { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: clamp(24px, 5vw, 72px); align-items: start; }
.faq .head { position: sticky; top: 100px; margin: 0; }
.faq details { border-top: 3px solid var(--paper); }
.faq details:last-child { border-bottom: 3px solid var(--paper); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 18px 0; font: italic 800 clamp(24px, 2.4vw, 31px)/1 var(--display); text-transform: uppercase; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font: 400 30px/1 var(--text); color: var(--tether); flex: none; transition: transform var(--fast); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--paper-dim); max-width: 60ch; padding-bottom: 20px; }
@media (max-width: 860px) { .faq { grid-template-columns: 1fr; } .faq .head { position: static; } }

/* ---------- follow + press ---------- */
.follow { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 5vw, 72px); }
.follow > div { display: grid; gap: 16px; align-content: start; justify-items: start; }
.follow h3 { font: italic 900 clamp(36px, 4vw, 56px)/.88 var(--display); text-transform: uppercase; }
.follow p { color: var(--paper-dim); max-width: 44ch; }
.socials { display: flex; flex-wrap: wrap; gap: 12px; }
.socials a { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; padding: 0 16px; border: 2px solid var(--ink-3); text-decoration: none; font: 700 15px/1 var(--label); text-transform: uppercase; letter-spacing: .08em; transition: border-color var(--fast), background var(--fast); }
.socials a:hover { border-color: var(--paper); background: var(--ink-2); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.textlink { font-weight: 650; text-decoration-color: var(--tether); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.textlink:hover { color: var(--tether); }
@media (max-width: 720px) { .follow { grid-template-columns: 1fr; } }

/* ---------- closing ---------- */
.closing { text-align: center; overflow: hidden; }
.closing .wrap { display: grid; gap: 24px; justify-items: center; }
.closing .cast { display: flex; justify-content: center; align-items: flex-end; gap: 0; height: clamp(150px, 24vw, 330px); margin-bottom: -8px; }
.closing .cast img { height: 100%; width: auto; margin-inline: -1.2%; filter: drop-shadow(4px 4px 0 rgba(23, 19, 26, .6)); }
.closing .cast img.w { height: 16%; margin-inline: .6%; }
.closing .display { font-size: clamp(56px, 11vw, 168px); }
.closing .display span { color: var(--tether); }

.site-foot { border-top: 3px solid var(--ink-3); padding-block: 32px; color: var(--paper-dim); font-size: 14px; }
.site-foot .wrap { display: flex; flex-wrap: wrap; gap: 12px 32px; align-items: center; justify-content: space-between; }
.site-foot a { text-underline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation: none !important; }
}

/* figure fit box + ruler placement (ruler matches the giant's rendered height) */
.figure .fit { position: relative; z-index: 1; display: inline-block; line-height: 0; }
.figure .fit .ruler { inset: 0 auto 0 -62px; width: 62px; line-height: 1; }
.ruler i { position: absolute; left: 24px; bottom: 0; width: 7px; height: 7.5%; background: var(--warden); box-shadow: 0 0 0 2px var(--ink); }
.ruler .w { left: 38px; bottom: 0; background: var(--ink); color: var(--paper); padding: 4px 6px; }

.facade .len:empty { display: none; }
.strip li:first-child .panel img { object-position: 50% 20%; }
.follow { padding-bottom: 0; }
.btn { white-space: nowrap; }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.btn svg[hidden] { display: none; }
.reel .head p:not(.lede) { color: var(--paper-dim); }
