/* =============================================================================
   MODERNIST — a design system in the Swiss / International Typographic tradition
   -----------------------------------------------------------------------------
   Grid-driven layout, a disciplined grotesque type scale, hairline rules, and a
   single accent held in reserve. Tuned here for Thomas Jefferson High School's
   brown-and-gold identity: espresso as structure, Spartan gold as the one voice
   that gets to shout.
   ========================================================================== */

/* ----------------------------------------------------------------- 1. TOKENS */
:root {
  /* Palette — warm modernist. Brown is structural; gold is the sole accent. */
  --paper:       #ECE4D3;   /* warm oat ground                        */
  --paper-2:     #E3D9C4;   /* recessed panels                        */
  --ink:         #241A11;   /* espresso near-black — primary text     */
  --ink-soft:    #4A3B2C;   /* secondary text                         */
  --brown:       #3A2515;   /* dark bands, monogram, structural fills */
  --brown-2:     #5A3A20;   /* lifted brown for detail                */
  --gold:        #B07D24;   /* Spartan gold — the accent              */
  --gold-bright: #D9A63C;   /* gold on dark grounds                   */
  --cream:       #F3ECDC;   /* type on espresso                       */
  --line:        rgba(36, 26, 17, 0.20);  /* hairline on paper        */
  --line-soft:   rgba(36, 26, 17, 0.10);
  --line-inv:    rgba(243, 236, 220, 0.22); /* hairline on espresso   */

  /* Type roles */
  --display: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body:    "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono:    "Space Mono", "SFMono-Regular", ui-monospace, Menlo, monospace;

  /* Modular type scale (base 1rem, ratio ~1.26) — fluid via clamp */
  --t-eyebrow: 0.72rem;
  --t-body:    1.0625rem;
  --t-lead:    clamp(1.15rem, 0.9rem + 1.1vw, 1.5rem);
  --t-h3:      clamp(1.25rem, 1rem + 1.1vw, 1.7rem);
  --t-h2:      clamp(1.9rem, 1.2rem + 3vw, 3.1rem);
  --t-h1:      clamp(2.6rem, 1rem + 7vw, 6rem);
  --t-mega:    clamp(3.4rem, 0.5rem + 12vw, 9.5rem);

  /* Space scale (8pt-ish) */
  --s1: 0.5rem;  --s2: 1rem;   --s3: 1.5rem;  --s4: 2rem;
  --s5: 3rem;    --s6: 4.5rem; --s7: 6.5rem;  --s8: 9rem;

  --measure: 62ch;
  --edge: clamp(1.25rem, 5vw, 5.5rem);   /* page gutter */
  --maxw: 1360px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

/* --------------------------------------------------------------- 2. RESET-ish */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--t-body);
  line-height: 1.6;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
figure, blockquote { margin: 0; }
a { color: inherit; }

/* --------------------------------------------------------------- 3. TYPE ROLES */
.eyebrow {
  font-family: var(--mono);
  font-size: var(--t-eyebrow);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}
.eyebrow--ink { color: var(--ink-soft); }
.eyebrow--cream { color: var(--gold-bright); }

.display {
  font-family: var(--display);
  font-weight: 800;
  line-height: 0.92;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h1.display { font-size: var(--t-h1); }
.display--mega { font-size: var(--t-mega); letter-spacing: -0.035em; line-height: 0.86; }

h2.section-title {
  font-family: var(--display);
  font-weight: 800;
  font-size: var(--t-h2);
  line-height: 0.98;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: var(--t-h3);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 var(--s2);
}
.lead {
  font-size: var(--t-lead);
  line-height: 1.4;
  max-width: 32ch;
  font-weight: 450;
  color: var(--ink);
}
p { max-width: var(--measure); }
.prose p + p { margin-top: var(--s2); }

.label {
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------------------------- 4. GRID */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--edge); }

.grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  row-gap: var(--s4);
}
@media (max-width: 760px) {
  .grid { grid-template-columns: repeat(6, 1fr); }
}

/* Section rhythm */
.section { padding-block: clamp(3.5rem, 8vw, var(--s8)); position: relative; }
/* Clear the sticky masthead when jumping to an anchor */
main section[id] { scroll-margin-top: 84px; }
.section + .section { border-top: 1px solid var(--line); }

/* Section head: a named kicker (gold rule + section name) over the title */
.section-head {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: clamp(1rem, 2.5vw, 2.5rem);
  align-items: end;
  margin-bottom: var(--s5);
}
@media (max-width: 760px) { .section-head { grid-template-columns: repeat(6, 1fr); } }
.section-head .heading { grid-column: 1 / 10; }
@media (max-width: 760px) { .section-head .heading { grid-column: 1 / 7; } }
.section-head .eyebrow {
  display: flex; align-items: center; gap: 0.7rem;
  font-size: 0.8rem; margin-bottom: var(--s2);
}
.section-head .eyebrow::before {
  content: ""; width: 2.4rem; height: 3px; background: var(--gold); flex: none;
}

/* ---------------------------------------------------------------- 5. HEADER */
.masthead-bar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: saturate(1.2) blur(8px);
  -webkit-backdrop-filter: saturate(1.2) blur(8px);
  border-bottom: 1px solid var(--line);
}
.masthead-bar__inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0.7rem var(--edge);
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.8rem var(--s3); flex-wrap: wrap;
}
.brandmark { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; color: var(--ink); }
/* Glyph is an espresso chip holding the Spartan crest (white crest-bars read on it). */
.brandmark__glyph {
  width: 34px; height: 34px; flex: none; display: grid; place-items: center; overflow: hidden;
  background: #3A2515;
}
.brandmark__img { width: 100%; height: 100%; object-fit: contain; padding: 3px; }
.brandmark__text { font-family: var(--display); font-weight: 800; letter-spacing: -0.01em; font-size: 0.98rem; line-height: 1; }
.brandmark__text small { display: block; font-family: var(--mono); font-weight: 400; font-size: 0.6rem; letter-spacing: 0.2em; color: var(--gold); text-transform: uppercase; margin-top: 3px; }

.nav { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem clamp(0.8rem, 2vw, 1.8rem); }
.nav a {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  padding: 0.25rem 0; transition: color 0.2s var(--ease);
}
.nav a:hover, .nav a[aria-current="true"] { color: var(--gold); }

/* Hamburger — mobile nav becomes a full-width dropdown panel */
.nav-toggle { display: none; }
@media (max-width: 760px) {
  .nav-toggle {
    display: grid; align-content: center; justify-items: center; row-gap: 5px;
    width: 44px; height: 44px; margin-left: auto;
    background: transparent; border: 1px solid var(--line);
    cursor: pointer; -webkit-appearance: none; appearance: none; padding: 0;
  }
  .nav-toggle span {
    display: block; width: 20px; height: 2px; background: var(--ink);
    transition: transform 0.25s var(--ease), opacity 0.25s var(--ease);
  }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .nav { display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 0.2rem 0 1rem; }
  .nav-open .nav { display: flex; }
  .nav a { font-size: 0.82rem; padding: 0.8rem 0; border-top: 1px solid var(--line-soft); }
  .nav a:first-child { border-top: 0; }
  .nav .btn { margin-top: 0.8rem; justify-content: center; border-top: 0; padding: 0.8rem 1rem; }
}

/* ------------------------------------------------------------------ 6. BUTTON */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--mono); font-size: 0.74rem; letter-spacing: 0.14em; text-transform: uppercase;
  text-decoration: none; padding: 0.7rem 1.15rem; border: 1px solid var(--ink);
  color: var(--ink); background: transparent; border-radius: 0;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), transform 0.2s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn--gold { background: var(--gold); border-color: var(--gold); color: #fff; }
.btn--gold:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }
.btn--ghost-cream { border-color: var(--line-inv); color: var(--cream); }
.btn--ghost-cream:hover { background: var(--gold); border-color: var(--gold); color: #1c1204; }
.btn__arrow { transition: transform 0.2s var(--ease); }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ------------------------------------------------------------------- 7. HERO */
.hero { padding-top: clamp(2.5rem, 6vw, 5rem); padding-bottom: clamp(2.5rem, 6vw, 5rem); }
.hero__eyebrow { margin-bottom: var(--s3); }
.hero__title { grid-column: 1 / 9; }
@media (max-width: 980px) { .hero__title { grid-column: 1 / 13; } }
.hero__title .display--mega { color: var(--ink); }
.hero__title .tint { color: var(--gold); }
.hero__aside {
  grid-column: 9 / 13; align-self: end; display: flex; flex-direction: column; gap: var(--s3);
}
@media (max-width: 980px) { .hero__aside { grid-column: 1 / 13; } }
.hero__lead { margin: var(--s3) 0 0; }

.hero__visual { grid-column: 1 / 13; margin-top: var(--s4); }
/* Hero photo slot: cinematic on desktop, taller crop on phones. The inline
   Front Range SVG is its permanent placeholder. */
.image-slot--hero::after { padding-top: 42.85%; }
@media (max-width: 680px) { .image-slot--hero::after { padding-top: 66%; } }
.image-slot--hero .image-slot__ph svg { width: 100%; height: 100%; }

/* Hero SVG choreography: the sun rises, the gold ridge draws itself */
@media (prefers-reduced-motion: no-preference) {
  #hero-sun {
    animation: sun-rise 1.8s var(--ease) 0.3s both;
  }
  #hero-ridge {
    stroke-dasharray: 1;
    stroke-dashoffset: 1;
    animation: ridge-draw 2.4s var(--ease) 0.5s forwards;
  }
}
@keyframes sun-rise {
  from { transform: translateY(48px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}
@keyframes ridge-draw { to { stroke-dashoffset: 0; } }

/* Data strip beneath hero */
.datastrip {
  display: grid; grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink);
  margin-top: var(--s4);
}
@media (max-width: 680px) { .datastrip { grid-template-columns: repeat(2, 1fr); } }
.datastrip__cell {
  padding: var(--s3) 0; padding-right: var(--s2);
  border-right: 1px solid var(--line);
}
.datastrip__cell:last-child { border-right: 0; }
@media (max-width: 680px) {
  .datastrip__cell:nth-child(2n) { border-right: 0; }
  .datastrip__cell:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}
.datastrip__num {
  font-family: var(--display); font-weight: 800; font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 0.95; letter-spacing: -0.02em; color: var(--ink);
}
.datastrip__num em { font-style: normal; color: var(--gold); }
.datastrip__cap { margin-top: 0.5rem; }

/* ------------------------------------------------------------- 7b. TICKER */
/* Motto marquee — a slow espresso band of Spartan vitals. Pauses on hover. */
.ticker {
  overflow: hidden;
  background: var(--brown);
  border-block: 1px solid var(--ink);
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 28s linear infinite;
}
.ticker:hover .ticker__track { animation-play-state: paused; }
.ticker__seq {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-bright);
  padding: 0.6rem 0;
  white-space: nowrap;
}
.ticker__seq em { font-style: normal; color: var(--cream); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; } }

/* ---------------------------------------------------------- 8. IMAGE SLOTS */
.image-slot {
  position: relative; overflow: hidden; background: var(--brown);
  border: 1px solid var(--line);
}
.image-slot::after { content: ""; display: block; }
.image-slot[data-ratio="16x9"]::after { padding-top: 56.25%; }
.image-slot[data-ratio="4x3"]::after  { padding-top: 75%; }
.image-slot[data-ratio="3x2"]::after  { padding-top: 66.66%; }
.image-slot[data-ratio="1x1"]::after  { padding-top: 100%; }
.image-slot[data-ratio="21x9"]::after { padding-top: 42.85%; }
.image-slot > .image-slot__ph,
.image-slot > img {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.image-slot > img { object-fit: cover; opacity: 0; transition: opacity 0.6s var(--ease), transform 1.2s var(--ease); }
.image-slot.is-loaded > img { opacity: 1; }
.image-slot:hover > img { transform: scale(1.045); }
.image-slot__ph { z-index: 0; }
/* subtle gold caption tag on slots */
.image-slot__tag {
  position: absolute; left: 0; bottom: 0; z-index: 2;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cream); background: color-mix(in srgb, var(--brown) 78%, transparent);
  padding: 0.4rem 0.7rem; border-top: 1px solid var(--gold);
}
.image-slot.is-loaded .image-slot__ph { opacity: 0; transition: opacity 0.6s var(--ease); }

/* --------------------------------------------------------- 9. DARK BAND */
.band {
  background: var(--brown); color: var(--cream);
}
.band .eyebrow { color: var(--gold-bright); }
.band .section-index { color: var(--gold-bright); }
.band h2.section-title, .band h3, .band .display { color: var(--cream); }
.band p { color: color-mix(in srgb, var(--cream) 86%, transparent); }
.band .label { color: color-mix(in srgb, var(--cream) 66%, transparent); }
.band + .section, .section + .band { border-top: 0; }

/* --------------------------------------------------- 10. FEATURE / CARD LISTS */
.feature { display: grid; grid-template-columns: repeat(12, 1fr); column-gap: clamp(1rem,2.5vw,2.5rem); row-gap: var(--s3); align-items: start; }
@media (max-width: 760px){ .feature { grid-template-columns: repeat(6,1fr);} }
.feature__media { grid-column: 1 / 7; }
.feature__body  { grid-column: 8 / 13; }
.feature--flip .feature__media { grid-column: 7 / 13; order: 2; }
.feature--flip .feature__body  { grid-column: 1 / 6; order: 1; }
@media (max-width: 760px){
  .feature__media, .feature__body,
  .feature--flip .feature__media, .feature--flip .feature__body { grid-column: 1 / 7; order: 0; }
}

/* Indexed list (numbered rows that ARE a sequence / roster) */
.index-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.band .index-list { border-top-color: var(--line-inv); }
.index-list li {
  display: grid; grid-template-columns: 3.2rem 1fr auto; gap: var(--s2);
  align-items: baseline; padding: var(--s2) 0; border-bottom: 1px solid var(--line);
}
.band .index-list li { border-bottom-color: var(--line-inv); }
.index-list .n { font-family: var(--mono); font-size: 0.78rem; color: var(--gold); letter-spacing: 0.08em; }
.index-list .k { font-family: var(--display); font-weight: 700; font-size: var(--t-h3); letter-spacing: -0.01em; }
.index-list .v { font-family: var(--mono); font-size: 0.74rem; color: var(--ink-soft); letter-spacing: 0.08em; text-transform: uppercase; }
.band .index-list .v { color: color-mix(in srgb, var(--cream) 70%, transparent); }

/* Stat cluster */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s4) var(--s3); }
@media (max-width: 680px){ .stats { grid-template-columns: repeat(2,1fr);} }
.stat__num { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 0.85; letter-spacing: -0.03em; color: var(--gold); }
.band .stat__num { color: var(--gold-bright); }
.stat__cap { margin-top: 0.6rem; max-width: 22ch; }

/* Pills (sport roster / tags) — stagger in as their parent reveals */
.pills { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.pill {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.45rem 0.8rem; border: 1px solid var(--line-inv); color: var(--cream);
}
.pill--paper { border-color: var(--line); color: var(--ink); }
[data-reveal] .pill {
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease);
  transition-delay: calc(var(--pi, 0) * 45ms);
}
[data-reveal].is-in .pill { opacity: 1; transform: none; }

/* Pull quote */
.pullquote {
  font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.05;
  font-size: clamp(1.6rem, 4vw, 2.8rem); text-wrap: balance; max-width: 20ch;
}
.pullquote .tint { color: var(--gold); }

/* Visit / contact block */
.factsheet { display: grid; grid-template-columns: repeat(12,1fr); column-gap: clamp(1rem,2.5vw,2.5rem); row-gap: var(--s3); }
@media (max-width:760px){ .factsheet { grid-template-columns: repeat(6,1fr);} }
.factsheet dl { margin: 0; grid-column: span 4; }
@media (max-width:760px){ .factsheet dl { grid-column: 1 / 7; } }
.factsheet dt { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.4rem; }
.factsheet dd { margin: 0; font-size: 1.05rem; }
.factsheet a { color: var(--gold); text-underline-offset: 3px; }

/* --------------------------------------------------- 10b. MASCOT + SOCIAL */
/* Mascot lockup — features the school's live crest/favicon with a TJ fallback tile. */
.mascot {
  display: flex; align-items: center; gap: var(--s3);
  border: 1px solid var(--line); padding: var(--s3);
  background: var(--paper-2);
}
.band .mascot { border-color: var(--line-inv); background: color-mix(in srgb, var(--brown) 60%, #000 8%); }
.mascot__badge {
  width: 92px; height: 92px; flex: none; display: grid; place-items: center; overflow: hidden;
  border: 1px solid var(--gold); background: #3A2515;
}
.mascot__badge img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.mascot__title { font-family: var(--display); font-weight: 800; font-size: var(--t-h3); letter-spacing: -0.01em; line-height: 1; }
.mascot__sub { margin: 0.4rem 0 0; }

/* Social icon buttons */
.socials { display: flex; flex-wrap: wrap; gap: 0.55rem; align-items: center; }
.social {
  width: 44px; height: 44px; display: grid; place-items: center;
  border: 1px solid var(--line-inv); color: var(--cream); text-decoration: none;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}
.social:hover { background: var(--gold); color: #1c1204; border-color: var(--gold); }
.social svg { width: 20px; height: 20px; fill: currentColor; }
.social--paper { border-color: var(--line); color: var(--ink); }
.social--paper:hover { background: var(--gold); color: #fff; border-color: var(--gold); }

/* ------------------------------------------------ 10b2. DETAIL LINK ROWS */
/* "Go deeper" rows — the section's official pages and data sources. */
.detail-links {
  display: flex; flex-wrap: wrap; align-items: baseline;
  gap: 0.7rem 1.8rem;
  margin-top: var(--s5); padding-top: var(--s3);
  border-top: 1px solid var(--line);
}
.band .detail-links { border-top-color: var(--line-inv); }
.detail-links__label {
  font-family: var(--mono); font-size: 0.66rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--ink-soft);
}
.band .detail-links__label { color: color-mix(in srgb, var(--cream) 60%, transparent); }
.detail-links a {
  font-family: var(--mono); font-size: 0.74rem; font-weight: 700; letter-spacing: 0.1em;
  text-transform: uppercase; text-decoration: none; color: var(--gold);
  transition: color 0.2s var(--ease);
}
.detail-links a::after { content: " →"; }
.detail-links a:hover { color: var(--ink); }
.band .detail-links a { color: var(--gold-bright); }
.band .detail-links a:hover { color: var(--cream); }

/* ------------------------------------------------------------ 10c. MAP */
.map-embed {
  border: 1px solid var(--ink);
  background: var(--paper-2);
  aspect-ratio: 16 / 7;
  overflow: hidden;
}
@media (max-width: 760px) { .map-embed { aspect-ratio: 4 / 3; } }
.map-embed iframe { display: block; width: 100%; height: 100%; border: 0; }

/* ------------------------------------------------------------- 11. FOOTER */
.site-foot { background: var(--ink); color: var(--cream); padding-block: var(--s5); }
.site-foot a { color: var(--gold-bright); }
.site-foot .fine { font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.05em; line-height: 1.7; color: color-mix(in srgb, var(--cream) 62%, transparent); max-width: 70ch; }
.foot-grid { display: grid; grid-template-columns: 1fr auto; gap: var(--s4); align-items: start; }
@media (max-width: 680px){ .foot-grid { grid-template-columns: 1fr; } }

/* ------------------------------------------------------- 12. MOTION / REVEAL */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .image-slot > img { transition: none; }
  .image-slot:hover > img { transform: none; }
  [data-reveal] .pill { opacity: 1; transform: none; transition: none; }
}

/* ------------------------------------------------------------- 13. UTIL */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 100;
  background: var(--ink); color: var(--paper); padding: 0.6rem 1rem;
  font-family: var(--mono); font-size: 0.75rem;
}
.skip-link:focus { left: 0; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }
.mt-0{margin-top:0}.mb-0{margin-bottom:0}
.col-span-full{ grid-column: 1 / -1; }
