/* Shadow Clock Films — shadow.css · v001.018 (Nov 7: menu collapsed everywhere; section headings in the mark's green; v001.017: air under the lead photograph on the laptop) (Oct 26: the hooks, HOOK_STYLE) (the name a touch higher in the short hero) (HERO_SHORT, SHOW_LEAD_PHOTO) (audit: Menu tap target, no bar rule, the display line in Garamond) (air round the rules; none before The Name, Contact, the foot) (the rules as film, edge to edge: Mist at 30, softened, with the halo; Frank: "the most mist") (Oct 25: the phone: portrait hero, Menu, more air round the headings) (Oct 25, 2026: the dark house; the rules in shadow, RULE_SHADOW)
   The TSOMS house style, web idiom. One color a job; every rule a Sand hairline; no borders but the keyline on a photograph.
   Fonts self-hosted from fonts/ (Helvetica Now Text and Display, EB Garamond). */

@font-face { font-family: "HN Text"; src: url("../fonts/HelveticaNowText-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "HN Text"; src: url("../fonts/HelveticaNowText-LightItalic.woff2") format("woff2"); font-weight: 300; font-style: italic; font-display: swap; }
@font-face { font-family: "HN Text"; src: url("../fonts/HelveticaNowText-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "HN Text"; src: url("../fonts/HelveticaNowText-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "HN Text"; src: url("../fonts/HelveticaNowText-Medium.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "HN Display"; src: url("../fonts/HelveticaNowDisplay-Light.woff2") format("woff2"); font-weight: 300; font-style: normal; font-display: swap; }
@font-face { font-family: "HN Display"; src: url("../fonts/HelveticaNowDisplay-Black.woff2") format("woff2"); font-weight: 900; font-style: normal; font-display: swap; }
@font-face { font-family: "EB Garamond"; src: url("../fonts/EBGaramond-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --ink: #111111;
  --ocean: #245C73;
  --keyline: #6B5844;
  --labeltan: #8A7862;
  --warmgray: #8C8377;
  --sand: #BFAE99;
  --mist: #C4B9AE;
  --band: #F0ECE7;
  --page: #FCFAF7;
  --white: #FFFFFF;

  --sans: "HN Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --display: "HN Display", "HN Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --titling: "EB Garamond", Georgia, "Times New Roman", serif;

  --maxw: 1080px;
  --measure: 680px;
  --gutter: 24px;
  --fs: 16px;
  --lh: 25px;
  --hair: 1px;
}
@media (min-resolution: 2dppx) { :root { --hair: 0.5px; } }

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--page); color: var(--ink);
  font: 300 var(--fs)/var(--lh) var(--sans);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
}
a { color: inherit; text-decoration: none; }
a:hover { color: var(--ocean); }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0 0 var(--lh); max-width: var(--measure); }
strong, b { font-weight: 500; }
em, i { font-style: italic; }

/* ---------- the rules ---------- */
.rule { height: 0; border: 0; border-bottom: var(--hair) solid var(--sand); margin: 0; }
section { padding: 44px 0 36px; scroll-margin-top: 72px; }
section + section { border-top: var(--hair) solid var(--sand); }   /* the rule closes the section above */

/* ---------- the type roles ---------- */
.titling { font-family: var(--titling); font-weight: 400; color: var(--ink); letter-spacing: 0; }
h1, h2, h3 { font-family: var(--titling); font-weight: 400; color: var(--ink); margin: 0 0 14px; letter-spacing: 0; }
h1 { font-size: 40px; line-height: 44px; }
h2 { font-size: 28px; line-height: 32px; }
h3 { font-size: 21px; line-height: 25px; margin-bottom: 8px; }
.caps { font-family: var(--sans); font-weight: 400; font-size: 11px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--labeltan); }
.caps.sect { font-size: 13px; line-height: 18px; letter-spacing: 0.18em; color: #5A878C; }   /* Nov 7: section headings in the mark's green, a size up from the sub-labels (Frank) */
html.dark .caps.sect { color: #5A878C; }
.caps.status { color: var(--ocean); }
.display { font-family: var(--display); font-weight: 900; font-size: 18px; line-height: 25px; color: var(--ink); max-width: var(--measure); margin: 0 0 var(--lh); }
.name { font-weight: 400; color: var(--ink); }
.note { font-size: 13px; line-height: 19px; color: var(--warmgray); max-width: var(--measure); }
.term { font-family: var(--titling); color: var(--keyline); }
.ocean { color: var(--ocean); }

/* a list of lines: no glyphs; the first word Medium */
.lines { margin: 0 0 var(--lh); padding: 0; list-style: none; max-width: var(--measure); }
.lines li { margin: 0; }
.lines li .lead { font-weight: 500; }

/* ---------- the page frame ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }
.measure { max-width: var(--measure); }

/* ---------- the bar ---------- */
.bar { position: sticky; top: 0; z-index: 20; background: rgba(252,250,247,0.94); -webkit-backdrop-filter: saturate(140%) blur(8px); backdrop-filter: saturate(140%) blur(8px); border-bottom: var(--hair) solid var(--sand); }
.bar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 64px; }
.bar .mark { display: flex; align-items: center; }
.bar .mark img { height: 30px; width: auto; }
.bar .mark img.newmark { height: 52px; margin-left: -14px; }
.hero .logo.newmark { width: min(400px, 60vw); }
.bar nav { display: flex; gap: 26px; }
.bar nav a { font-size: 11px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--labeltan); padding: 6px 0; }
.bar nav a:hover { color: var(--ocean); }
.bar nav a[aria-current="page"] { color: var(--ink); }
.bar .tag-test { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); margin-left: 12px; }
.bar .menu { display: block; font: 400 11px/16px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--labeltan); background: none; border: 0; padding: 14px 0 14px 16px; min-height: 44px; cursor: pointer; }
/* Nov 7: the menu collapsed on every device, as on the phone (Frank) */
.bar .wrap { flex-wrap: wrap; }
.bar nav { display: none; flex: 0 0 100%; grid-template-columns: max-content; justify-content: end; text-align: left; gap: 0; padding: 6px 0 14px; }   /* drops below the bar: a column at the far right, its lines left-aligned, on every device */
.bar nav a { padding: 12px 0; min-height: 44px; font-size: 12px; }
.bar.open .wrap { height: auto; }
.bar.open nav { display: grid; }
@media (max-width: 640px) {
  .bar .wrap { height: 56px; align-items: center; }
  .bar .mark img.newmark { height: 40px; margin-left: -10px; }
  .bar .tag-test { display: none; }
  .hero.cardmode img.card { aspect-ratio: auto; height: 64vh; min-height: 420px; object-fit: cover; object-position: center 55%; }
  html.dark .hero.cardmode::after { height: 12%; }
  section { padding: 44px 0 36px; }
  h1 { font-size: 32px; line-height: 36px; } h2 { font-size: 24px; line-height: 28px; margin: 0 0 22px; }
  #picture .caps { margin-top: 8px; }
  .feature { gap: 28px; }
  .people { gap: 28px; }
}

/* ---------- the hero ---------- */
.hero { position: relative; min-height: 74vh; display: flex; align-items: flex-end; overflow: hidden; background: var(--band); }
.hero img.photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(17,17,17,0.55) 0%, rgba(17,17,17,0.12) 45%, rgba(17,17,17,0) 70%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 48px; padding-top: 48px; }
.hero .logo { width: min(440px, 64vw); margin-bottom: 22px; }
.hero h1 { color: var(--white); font-size: 44px; line-height: 48px; margin: 0 0 6px; text-shadow: 0 1px 24px rgba(0,0,0,0.25); }
.hero .caps { color: rgba(255,255,255,0.86); }
.hero .credit { position: absolute; right: var(--gutter); bottom: 14px; z-index: 1; font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(255,255,255,0.7); }
/* the hero as the title card (HERO_MODE "card"): the 16 × 9 image, nothing over it */
.hero.cardmode { min-height: 0; background: var(--ink); display: block; }
.hero.cardmode img.card { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.hero.cardmode picture { display: block; }
.hero.cardmode::after, .hero.cardmode .wrap { display: none; }
.hero img.card { display: none; }
.hero.cardmode img.card { display: block; }

/* the hero without a photograph (HERO_PHOTO off): type on the page, the logo in its own colors */
.hero.plain { min-height: 0; background: var(--page); align-items: center; }
.hero.plain img.photo, .hero.plain::after, .hero.plain .credit { display: none; }
.hero.plain .wrap { padding-top: 72px; padding-bottom: 56px; }
.hero.plain h1 { color: var(--ink); text-shadow: none; }
.hero.plain .caps { color: var(--labeltan); }
@media (max-width: 640px) { .hero { min-height: 62vh; } .hero h1 { font-size: 32px; line-height: 36px; } }

/* ---------- the picture (feature) ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px; align-items: start; }
.feature .poster img { width: 100%; outline: var(--hair) solid var(--keyline); outline-offset: -1px; }
.feature .credits { margin: 18px 0 0; padding: 0; list-style: none; max-width: var(--measure); font-size: 14px; line-height: 21px; }
.feature .credits li .lead { font-weight: 500; }
.hooks { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 14px; }
.hooks a { font-size: 11px; line-height: 16px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ocean); border-bottom: var(--hair) solid var(--sand); padding-bottom: 3px; }
.hooks a:hover { border-bottom-color: var(--ocean); }
@media (max-width: 760px) { .feature { grid-template-columns: 1fr; gap: 24px; } .feature .poster { max-width: 360px; } }

/* ---------- the Lens (a grid of photographs) ---------- */
.lens { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 8px; }
.lens figure { margin: 0; }
.lens img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; outline: var(--hair) solid var(--keyline); outline-offset: -1px; }
.lens figcaption { font-size: 11px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--labeltan); margin-top: 8px; }
@media (max-width: 760px) { .lens { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 440px) { .lens { grid-template-columns: 1fr; } }

/* ---------- the team ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 36px 40px; }
.person img { width: 120px; height: 120px; object-fit: cover; outline: var(--hair) solid var(--keyline); outline-offset: -1px; margin-bottom: 14px; }
.person h3 { margin-bottom: 2px; }
.person .caps { margin-bottom: 10px; }
.person p { font-size: 15px; line-height: 23px; }

/* ---------- the band (a box) ---------- */
.band { background: var(--band); padding: 28px var(--gutter); max-width: var(--measure); }
.band p:last-child { margin-bottom: 0; }

/* ---------- a photograph on a page ---------- */
.plate { margin: 0 0 28px; }
.plate img { width: 100%; outline: var(--hair) solid var(--keyline); outline-offset: -1px; }
.plate figcaption { font-size: 11px; line-height: 16px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--labeltan); margin-top: 8px; }

/* ---------- the partner line ---------- */
.partners { display: flex; flex-wrap: wrap; gap: 28px 48px; align-items: center; }
.partners img { height: 64px; width: auto; }

/* ---------- the contact ---------- */
.contact address { font-style: normal; }
.contact .lines { font-size: 16px; }

/* ---------- the foot ---------- */
footer { border-top: var(--hair) solid var(--sand); padding: 28px 0 40px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
footer, footer a { font-size: 11px; line-height: 16px; letter-spacing: 0.08em; color: var(--warmgray); }
footer .quiet a { color: var(--warmgray); }
footer .quiet a:hover { color: var(--ocean); }


/* ---------- the dark house (DARK_HOUSE) ----------
   The page is Ink, the hero's own darkest tone, so the title card has no bottom edge. Type reverses: Page for text, Sand for labels,
   the hairlines Keyline. Nothing else changes; the switch sets .dark on <html>. */
html.dark {
  --fg: var(--page); --fg-strong: var(--white); --label: var(--sand); --quiet: var(--mist); --rule: var(--keyline); --bg: var(--ink); --box: #1A1917; --link: #7BB8AE;
}
html { --fg: var(--ink); --fg-strong: var(--ink); --label: var(--labeltan); --quiet: var(--warmgray); --rule: var(--sand); --bg: var(--page); --box: var(--band); --link: var(--ocean); }
html.dark body { background: var(--bg); color: var(--fg); }
html.dark a:hover, html.dark .bar nav a:hover, html.dark .hooks a, html.dark footer .quiet a:hover, html.dark .caps.status, html.dark .ocean { color: var(--link); }
html.dark .rule, html.dark section + section, html.dark footer, html.dark .bar { border-color: var(--rule); }
html.dark .titling, html.dark h1, html.dark h2, html.dark h3, html.dark .display, html.dark .name { color: var(--fg-strong); }
html.dark .display { font-family: var(--titling); font-weight: 400; font-size: 21px; line-height: 27px; color: var(--page); }
html.dark .caps, html.dark .bar nav a, html.dark .lens figcaption, html.dark .plate figcaption { color: var(--label); }
html.dark .bar nav a[aria-current="page"] { color: var(--fg-strong); }
html.dark .note, html.dark footer, html.dark footer a, html.dark footer .quiet a { color: var(--quiet); }
html.dark .term { color: var(--sand); }
html.dark .bar { background: rgba(17,17,17,0.92); }
html.dark .band { background: var(--box); }
html.dark .feature .poster img, html.dark .lens img, html.dark .person img, html.dark .plate img { outline-color: var(--keyline); }
html.dark .hooks a { border-bottom-color: var(--keyline); }
html.dark .hooks a:hover { border-bottom-color: var(--link); }
html.dark p, html.dark .lines, html.dark .person p { line-height: 26px; }          /* reversed text wants a touch more air */
html.dark .hero.cardmode { position: relative; }
html.dark .hero.cardmode::after { content: ""; display: block; position: absolute; inset: auto 0 0 0; height: 18%; background: linear-gradient(to bottom, rgba(17,17,17,0), var(--ink)); }
html.dark .hero.cardmode + section { border-top: 0; padding-top: 24px; }
html.dark .hero.plain { background: var(--ink); }
html.dark .hero.plain h1 { color: var(--fg-strong); }
html.dark .bar .tag-test { color: var(--link); }


/* ---------- the rules in shadow (RULE_SHADOW) ----------
   Every hairline lit from the right, the way SHADOW is on the card: nothing at the left edge, full color at the right. */
html.ruleshadow section + section, html.ruleshadow footer, html.ruleshadow .bar { border-top-color: transparent; border-bottom-color: transparent; }
html.ruleshadow section + section, html.ruleshadow footer { border-top: 0; background-image: linear-gradient(to right, transparent 0%, var(--rule) 78%, var(--rule) 100%); background-size: 100% var(--hair); background-repeat: no-repeat; background-position: top; }
html.ruleshadow .bar { border-bottom: 0; }
html.ruleshadow .bar::after { content: ""; display: block; height: var(--hair); background: linear-gradient(to right, transparent 0%, var(--rule) 78%, var(--rule) 100%); }
html.ruleshadow .rule { border: 0; height: var(--hair); background: linear-gradient(to right, transparent 0%, var(--rule) 78%, var(--rule) 100%); }
html.ruleshadow .hooks a { border-bottom-color: transparent; background-image: linear-gradient(to right, transparent, var(--keyline)); background-size: 100% var(--hair); background-repeat: no-repeat; background-position: bottom; }
html.ruleshadow .hooks a:hover { background-image: linear-gradient(to right, transparent, var(--link)); }


/* ---------- the rules as film (RULE_STYLE "sprockets") ----------
   The rule rises out of nothing at the left, runs solid, and toward the right dissolves into a row of sprocket holes.
   JS puts a .filmrule at the top of every section after the first, the footer, and under the bar; the borders go. */
html.rulefilm section + section, html.rulefilm footer { border-top: 0; background-image: none; }
html.rulefilm .bar { border-bottom: 0; } html.rulefilm .bar::after { display: none; }
.filmrule { display: none; }
html.rulefilm { --film: var(--sand); --film-hole: var(--mist); }
/* the rule runs edge to edge; the content column stays where it is */
html.rulefilm .filmrule { display: block; position: relative; height: 3px; margin: 0; max-width: none; padding: 0; }
/* the line: a true hairline at any pixel ratio, rising from nothing at the left, gone by 84 percent */
html.rulefilm .filmrule::before { content: ""; position: absolute; left: 0; right: 0; top: 1px; height: 1px; transform: scaleY(0.5); transform-origin: 0 50%; opacity: 0.7;
  background: linear-gradient(to right, transparent 0%, var(--film) 34%, var(--film) 66%, transparent 84%); }
/* the sprockets: two rails at film pitch (4 on 9.5), one pixel each, Mist at 30, softened, coming up from 62 percent; the halo beneath */
html.rulefilm .filmrule::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; opacity: 0.3; filter: blur(0.4px);
  background-image: repeating-linear-gradient(to right, var(--film-hole) 0 4px, transparent 4px 9.5px), repeating-linear-gradient(to right, var(--film-hole) 0 4px, transparent 4px 9.5px);
  background-size: 100% 1px, 100% 1px; background-position: 0 0, 0 2px; background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(to right, transparent 62%, #000 84%, #000 100%); mask-image: linear-gradient(to right, transparent 62%, #000 84%, #000 100%); }
html.rulefilm .filmrule .halo { position: absolute; left: 0; right: 0; top: -2px; height: 7px; opacity: 0.3; filter: blur(2.5px);
  background-image: repeating-linear-gradient(to right, var(--film-hole) 0 4px, transparent 4px 9.5px); background-size: 100% 7px; background-repeat: repeat-x;
  -webkit-mask-image: linear-gradient(to right, transparent 62%, #000 84%, #000 100%); mask-image: linear-gradient(to right, transparent 62%, #000 84%, #000 100%); }
html.rulefilm section { padding: 88px 0 80px; }
html.rulefilm section + section.norule { padding-top: 8px; border-top: 0; background-image: none; }
html.rulefilm .hero.cardmode + section { padding-top: 24px; }
html.rulefilm footer { padding-top: 40px; border-top: 0; background-image: none; }
@media (max-width: 640px) { html.rulefilm section { padding: 56px 0 48px; } html.rulefilm section + section.norule { padding-top: 4px; } }
html.rulefilm .filmrule.barrule { display: none; }

/* ---------- the audit's hero (HERO_SHORT, SHOW_LEAD_PHOTO) ----------
   A shorter title card, then one of Chris's photographs at full width, before The Picture. */
html.heroshort .hero.cardmode img.card { height: 56vh; min-height: 360px; aspect-ratio: auto; object-fit: cover; object-position: center 64%; }
.lead { padding: 0 0 16px; } html.rulefilm section.lead { padding: 0 0 16px; }   /* Nov 7: the laptop air under the lead, Frank: option 2, Medium, the rule matched to the caption (16 · 16 · 104) */
.lead .plate { margin: 0; } .lead .plate img { width: 100%; max-height: 72vh; object-fit: cover; outline: 0; }
.lead .plate figcaption { max-width: var(--maxw); margin: 16px auto 0; padding: 0 var(--gutter); }
html.rulefilm .lead + section { padding-top: 104px; }
@media (max-width: 640px) { html.heroshort .hero.cardmode img.card { height: 52vh; } .lead .plate img { max-height: 48vh; } .lead { padding-bottom: 8px; } html.rulefilm section.lead { padding-bottom: 8px; } .lead .plate figcaption { margin-top: 10px; } html.rulefilm .lead + section { padding-top: 56px; } }

/* ---------- switches ---------- */
[data-switch] { }
[hidden], .off { display: none !important; }

/* ---------- the gate's sign-in ---------- */
.gate { max-width: 420px; margin: 12vh auto 0; padding: 0 var(--gutter); }
.gate .logo { width: 260px; margin-bottom: 28px; }
.gate .field { margin: 0 0 14px; }
.gate label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--labeltan); margin-bottom: 6px; }
.gate input { width: 100%; font: 300 16px/24px var(--sans); color: var(--ink); background: var(--white); border: var(--hair) solid var(--sand); padding: 9px 12px; border-radius: 0; outline: none; }
.gate input:focus { border-color: var(--ocean); }
.gate .btn { display: inline-block; font: 400 11px/16px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--white); background: var(--ocean); padding: 11px 22px; border: 0; cursor: pointer; margin-top: 8px; }
.gate .btn:hover { background: #2F6B85; }
.gate .err { color: var(--ocean); font-size: 14px; line-height: 20px; }

@media print {
  .bar, footer .quiet, .hero .credit { display: none !important; }
  body { background: #fff; }
}


/* ---------- the hooks (HOOK_STYLE, Oct 25, 2026) ----------
   The links off the site: the picture's site, IMDb, Revelations. JS sets html.hooks-<style>; "plain" is the Oct 25 build.
   Each link carries data-label (what it is); the label options print it. House colors only; hairlines only. */

/* 1 · "index": three lines, label and name, a hairline under each; lead words grouped */
html.hooks-index .hooks { display: block; margin-top: 30px; max-width: 460px; }
html.hooks-index .hooks a { display: grid; grid-template-columns: 116px 1fr auto; align-items: baseline; padding: 11px 0 10px; border: 0; background: none;
  font: 400 19px/24px var(--titling); letter-spacing: 0; text-transform: none; color: var(--fg-strong);
  box-shadow: inset 0 calc(-1 * var(--hair)) 0 var(--rule); transition: box-shadow .25s, color .25s; }
html.hooks-index .hooks a:first-child { box-shadow: inset 0 var(--hair) 0 var(--rule), inset 0 calc(-1 * var(--hair)) 0 var(--rule); }
html.hooks-index .hooks a::before { content: attr(data-label); font: 400 11px/16px var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--label); }
html.hooks-index .hooks a::after { content: "\2197"; font: 300 13px/16px var(--sans); color: var(--label); padding-left: 16px; transition: color .25s, transform .25s; }
html.hooks-index .hooks a:hover { background-image: none; color: var(--link); box-shadow: inset 0 calc(-1 * var(--hair)) 0 var(--link); }
html.hooks-index .hooks a:first-child:hover { box-shadow: inset 0 var(--hair) 0 var(--rule), inset 0 calc(-1 * var(--hair)) 0 var(--link); }
html.hooks-index .hooks a:hover::after { color: var(--link); transform: translate(2px, -2px); }

/* 2 · "garamond": the names in titling, each with its label above and a hairline beneath */
html.hooks-garamond .hooks { gap: 18px 44px; margin-top: 30px; }
html.hooks-garamond .hooks a { display: inline-flex; flex-direction: column; gap: 4px; padding-bottom: 6px; border: 0;
  font: 400 21px/26px var(--titling); letter-spacing: 0; text-transform: none; color: var(--fg-strong);
  background-image: linear-gradient(var(--rule), var(--rule)); background-size: 100% 1px; background-repeat: no-repeat; background-position: 0 100%; transition: color .25s; }
html.hooks-garamond .hooks a::before { content: attr(data-label); font: 400 10px/14px var(--sans); letter-spacing: 0.16em; text-transform: uppercase; color: var(--label); }
html.hooks-garamond .hooks a:hover { color: var(--link); background-image: linear-gradient(var(--link), var(--link)); background-size: 100% 1px; }

/* 3 · "ticket": each link in a hairline frame, like a slate */
html.hooks-ticket .hooks { gap: 12px; margin-top: 26px; }
html.hooks-ticket .hooks a { border: 0; background: none; padding: 12px 18px 11px; font-size: 11px; line-height: 16px; letter-spacing: 0.16em; color: var(--fg-strong);
  box-shadow: inset 0 0 0 var(--hair) var(--label); transition: box-shadow .25s, color .25s, background-color .25s; }
html.hooks-ticket .hooks a::after { content: "\2197"; letter-spacing: 0; padding-left: 10px; color: var(--label); }
html.hooks-ticket .hooks a:hover { background-image: none; color: var(--link); background-color: var(--box); box-shadow: inset 0 0 0 var(--hair) var(--link); }
html.hooks-ticket .hooks a:hover::after { color: var(--link); }

/* 4 · "reel": the rules as film, small: each link rides two rails of sprocket holes that light on hover */
html.hooks-reel .hooks { gap: 14px 40px; margin-top: 28px; }
html.hooks-reel .hooks a { position: relative; border: 0; background: none; padding: 0 0 13px; font-size: 12px; line-height: 16px; letter-spacing: 0.16em; color: var(--fg-strong); transition: color .25s; }
html.hooks-reel .hooks a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; opacity: 0.7; transition: opacity .25s;
  background-image: repeating-linear-gradient(to right, var(--mist) 0 4px, transparent 4px 9.5px), repeating-linear-gradient(to right, var(--mist) 0 4px, transparent 4px 9.5px);
  background-size: 100% 1px, 100% 1px; background-position: 0 0, 0 4px; background-repeat: no-repeat;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%); mask-image: linear-gradient(to right, transparent 0%, #000 30%, #000 100%); }
html.hooks-reel .hooks a:hover { background-image: none; color: var(--link); }
html.hooks-reel .hooks a:hover::after { opacity: 1; }

@media (max-width: 640px) {
  html.hooks-index .hooks { max-width: none; }
  html.hooks-index .hooks a { grid-template-columns: 104px 1fr auto; font-size: 18px; padding: 13px 0 12px; }
  html.hooks-garamond .hooks { flex-direction: column; gap: 18px; }
  html.hooks-garamond .hooks a { align-self: flex-start; }
}
