/*
 * Clothing Store — a pre-launch streetwear label.
 * Doctrine: blacked-out screenprint shop after hours. Colossal type as
 * architecture, bone-white on near-black, deliberate stillness, care-label
 * microtext. No product photography — categories are knockout words with
 * fabric showing through the letters.
 */

/* ============================================================
   Design Tokens
   ============================================================ */
:root {
  --color-primary: #E8E8E8;
  --color-secondary: #2A2A2A;
  --color-accent: #E8E8E8;
  --color-bg: #0D0D0D;
  --color-surface: #2A2A2A;
  --color-text: #E8E8E8;
  --color-text-secondary: #A8A8A8;
  --color-border: #2A2A2A;
  --color-rake: #F4F4F4;

  --font-primary: 'Archivo Black', 'Arial Black', sans-serif;
  --font-secondary: 'Space Mono', ui-monospace, monospace;

  --font-size-base: 16px;
  --spacing-base: 8px;

  --motion-duration: 300ms;
  --motion-duration-slow: 600ms;
  --motion-ease: cubic-bezier(0.2, 0.7, 0.2, 1);

  --shell-x: clamp(1.25rem, 5vw, 4rem);
}

/* ============================================================
   Base Reset
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base, 16px);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-secondary, monospace);
  background-color: var(--color-bg, #0D0D0D);
  color: var(--color-text, #E8E8E8);
  line-height: 1.75;
  padding-bottom: 42px; /* required */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--color-text);
  text-decoration: none;
  transition: color 150ms ease, text-decoration-color 150ms ease,
              -webkit-text-stroke-color var(--motion-duration) var(--motion-ease);
}

/* Focus states — WCAG AA required */
:where(a, button, input, textarea, select):focus-visible {
  outline: 2px solid var(--color-text);
  outline-offset: 3px;
}

::selection {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Visually-hidden (accessible section labels for correct heading order) */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Skip navigation link — WCAG 2.4.1 (managed by fix_ada_safe.py) */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--color-surface, #2A2A2A);
  color: var(--color-text, #E8E8E8);
  font-family: var(--font-secondary);
  font-weight: 700;
  text-decoration: none;
  border: 1px solid var(--color-text);
  border-radius: 0 0 4px 0;
}
.skip-link:focus {
  left: 0;
}

/* ============================================================
   Typographic Scale
   ============================================================ */
.t-display {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(4rem, 18vw, 15rem);
  line-height: 0.82;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}
h1, .t-h1 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(2.75rem, 8vw, 6rem);
  line-height: 0.9;
  letter-spacing: -0.01em;
  text-transform: uppercase;
}
h2, .t-h2 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 0.95;
  text-transform: uppercase;
}
h3, .t-h3 {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.05;
  text-transform: uppercase;
}
.t-rubric {
  font-family: var(--font-secondary);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.t-lead {
  font-family: var(--font-secondary);
  font-weight: 400;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--color-text);
}
.t-body {
  font-family: var(--font-secondary);
  font-size: 0.9375rem;
  line-height: 1.75;
  color: var(--color-text);
}
.t-small {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.t-caption {
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}

/* ============================================================
   Reveal gating — content is fully visible without JS.
   Deliberate stillness is the motion signature; the only hidden
   initial state is the hero tone-on-tone start, applied under html.js.
   ============================================================ */
.reveal { opacity: 1; transform: none; }
html.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s ease, transform .6s ease; }
html.js .reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   Shell helpers
   ============================================================ */
.shell {
  padding-left: var(--shell-x);
  padding-right: var(--shell-x);
}
.section {
  padding-top: clamp(4rem, 11vw, 9rem);
  padding-bottom: clamp(4rem, 11vw, 9rem);
}
.hairline-top { border-top: 1px solid var(--color-border); }

/* ============================================================
   Navigation
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 64px;
  padding-left: var(--shell-x);
  padding-right: var(--shell-x);
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  transition: background var(--motion-duration) var(--motion-ease),
              border-color var(--motion-duration) var(--motion-ease);
}
.nav__brand {
  font-family: var(--font-primary);
  font-size: 1.125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  white-space: nowrap;
  transition: opacity var(--motion-duration) var(--motion-ease), color 150ms ease;
}
.nav__menu {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 3vw, 2.75rem);
  list-style: none;
}
.nav__link {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;      /* 13px uppercase floor */
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 1px solid transparent;
  white-space: nowrap;
}
.nav__link:hover { border-bottom-color: color-mix(in srgb, var(--color-text) 55%, transparent); }
.nav__link.is-active { border-bottom-color: var(--color-text); }

/* Home: the bar is invisible over the hero; the colossal wordmark IS the
   masthead. The bar (and its wordmark) only materialize on scroll, so the
   name is never stated twice at full strength in one viewport. */
.nav--overlay {
  background: transparent;
  border-bottom-color: transparent;
}
.nav--overlay .nav__brand { opacity: 0; pointer-events: none; }
.nav--overlay.is-scrolled {
  background: var(--color-bg);
  border-bottom-color: var(--color-border);
}
.nav--overlay.is-scrolled .nav__brand { opacity: 1; pointer-events: auto; }

/* ============================================================
   Home — Hero (colossal tone-on-tone wordmark, counter-threaded UI)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  margin-top: -64px;              /* pull under the transparent overlay bar */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--color-bg);
}
.hero__atmos {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  opacity: 0.28;
  z-index: 0;
}
.hero__stage {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 8rem var(--shell-x) 5rem;
}
.hero__wordmark {
  margin: 0;
  display: flex;
  flex-direction: column;
  line-height: 0.82;
}
.hero__word {
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(4.5rem, 27vw, 24rem);
  line-height: 0.82;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  color: var(--color-text);       /* NO-JS base: fully legible off-white */
  margin-left: -0.02em;
}
/* With JS confirmed: start tone-on-tone, resolve under a single load rake. */
html.js .hero__word {
  color: var(--color-secondary);
  animation: heroResolve 2.7s var(--motion-ease) 0.15s forwards;
}
html.js .hero__word--2 { animation-delay: 0.42s; }
@keyframes heroResolve {
  0%   { color: var(--color-secondary); text-shadow: none; }
  55%  { color: #6a6a6a; text-shadow: 0 0 30px rgba(244,244,244,0.16); }
  100% { color: var(--color-text); text-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  html.js .hero__word { animation: none; color: var(--color-text); }
}

.hero__statement {
  font-family: var(--font-secondary);
  font-size: clamp(0.8125rem, 1.1vw, 0.95rem);
  line-height: 1.7;
  letter-spacing: 0.02em;
  color: var(--color-text-secondary);
  max-width: 34ch;
}
.hero__statement strong { color: var(--color-text); font-weight: 400; }
.hero__threads {
  display: flex;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.hero__threads a {
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text);
  padding-bottom: 4px;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 30%, transparent);
}
.hero__threads a:hover { border-bottom-color: var(--color-text); }

/* Desktop: thread the interface into the negative space around the letters. */
@media (min-width: 921px) {
  .hero__threads {
    position: absolute;
    top: clamp(6rem, 14vh, 11rem);
    right: var(--shell-x);
    z-index: 2;
  }
  .hero__statement {
    position: absolute;
    bottom: clamp(4rem, 12vh, 9rem);
    right: var(--shell-x);
    text-align: right;
    z-index: 2;
  }
}
/* Mobile: counters shrink too far to hold live UI — honest clean stack. */
@media (max-width: 920px) {
  .hero__threads { margin-top: 2.5rem; }
  .hero__statement { margin-top: 1.75rem; }
}

/* ============================================================
   Home — Positioning Statement
   ============================================================ */
.positioning {
  position: relative;
  overflow: hidden;
  background: var(--color-bg);
}
.positioning__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 50%;
  opacity: 0.16;
  z-index: 0;
}
.positioning__inner { position: relative; z-index: 1; max-width: 20ch; }
.positioning__line {
  font-family: var(--font-primary);
  font-size: clamp(2.25rem, 7vw, 5rem);
  line-height: 0.98;
  text-transform: uppercase;
  color: var(--color-text);
  letter-spacing: -0.01em;
}
.positioning__line .drop {
  display: block;
  margin-top: 0.12em;
}
.positioning__sub {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  max-width: 42ch;
  color: var(--color-text-secondary);
}

/* ============================================================
   Knockout category words (home preview + collection panels)
   Fabric texture shows THROUGH the letterforms.
   ============================================================ */
.knockout {
  position: relative;
  display: block;
  width: 100%;
  text-align: left;
  line-height: 0.9;
}
.knockout__word {
  display: inline-block;
  font-family: var(--font-primary);
  font-weight: 400;
  font-size: clamp(3.5rem, 21vw, 18rem);
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--color-text);
  background-clip: text;
  -webkit-background-clip: text;
  background-repeat: no-repeat;
  background-position: center 40%;
  background-size: cover;
  will-change: transform;
}
@supports ((-webkit-background-clip: text) or (background-clip: text)) {
  .knockout__word {
    color: transparent;
    -webkit-text-fill-color: transparent;
    transition: background-size var(--motion-duration-slow) var(--motion-ease);
  }
  .knockout:hover .knockout__word { background-size: 112%; }
}
.knockout--pants   .knockout__word { background-image: url('/images/texture-denim-pants.png'); }
.knockout--shirts  .knockout__word { background-image: url('/images/texture-jersey-shirts.png'); }
.knockout--sweaters .knockout__word { background-image: url('/images/texture-fleece-sweaters.png'); }
@media (prefers-reduced-motion: reduce) {
  .knockout:hover .knockout__word { background-size: cover; }
}

/* Home preview: three stacked rows separated by hairlines */
.catpreview__row {
  display: block;
  padding: clamp(1.5rem, 4vw, 3rem) var(--shell-x);
  border-top: 1px solid var(--color-border);
  position: relative;
}
.catpreview__row:last-child { border-bottom: 1px solid var(--color-border); }
.catpreview__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-top: 0.75rem;
}
.catpreview__meta .status { color: var(--color-text-secondary); }
.catpreview__lead {
  padding: 0 var(--shell-x);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
  max-width: 40ch;
  color: var(--color-text-secondary);
}

/* ============================================================
   Spotlight divider (shared atmosphere accent, used once on home)
   ============================================================ */
.divider {
  position: relative;
  height: clamp(120px, 22vw, 240px);
  overflow: hidden;
  background: var(--color-bg);
}
.divider img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  opacity: 0.5;
}

/* ============================================================
   Founder note / gutter rubric
   ============================================================ */
.founder {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: center;
}
.gutter-rubric {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
  align-self: start;
}
.founder__body { max-width: 44ch; margin-left: auto; }
.founder__note {
  font-family: var(--font-secondary);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  line-height: 1.55;
  color: var(--color-text);
}
.founder__link {
  display: inline-block;
  margin-top: 2rem;
  border-bottom: 1px solid color-mix(in srgb, var(--color-text) 40%, transparent);
  padding-bottom: 3px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}
.founder__link:hover { border-bottom-color: var(--color-text); }
@media (max-width: 820px) {
  .founder { grid-template-columns: 1fr; }
  .gutter-rubric {
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 1.5rem;
  }
  .founder__body { margin-left: 0; }
}

/* ============================================================
   Forms — hairline spec-sheet fields, inverting outline submit
   ============================================================ */
.contact-form { width: 100%; }
.form-row { margin-bottom: clamp(1.75rem, 4vw, 2.5rem); }
.form-row label {
  display: block;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-bottom: 0.75rem;
}
.form-row input,
.form-row textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-secondary);
  color: var(--color-text);
  font-family: var(--font-secondary);
  font-size: 1rem;
  line-height: 1.6;
  padding: 0.35rem 0;
  border-radius: 0;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: color-mix(in srgb, var(--color-text-secondary) 65%, transparent); }
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--color-text);
}
.form-row textarea { resize: vertical; min-height: 6.5rem; }

.btn-submit {
  display: inline-block;
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--color-text);
  font-family: var(--font-secondary);
  font-size: 0.8125rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background var(--motion-duration) var(--motion-ease),
              color var(--motion-duration) var(--motion-ease);
}
.btn-submit:hover,
.btn-submit:focus-visible {
  background: var(--color-text);
  color: var(--color-bg);
}

/* Home first-dibs signup */
.signup { text-align: center; }
.signup__inner { max-width: 32rem; margin: 0 auto; }
.signup__prompt { margin-bottom: 2.5rem; }
.signup__fields {
  display: grid;
  gap: clamp(1.5rem, 4vw, 2rem);
  text-align: left;
}
.signup .btn-submit { margin-top: 0.5rem; justify-self: start; }

/* ============================================================
   Footer monument
   ============================================================ */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-top: clamp(3rem, 8vw, 6rem);
  overflow: hidden;
}
.footer-wordmark {
  display: block;
  text-align: center;
  font-family: var(--font-primary);
  line-height: 0.82;
  font-size: clamp(3rem, 19vw, 16rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: transparent;
  -webkit-text-stroke: 1.5px color-mix(in srgb, var(--color-text) 70%, transparent);
  text-stroke: 1.5px color-mix(in srgb, var(--color-text) 70%, transparent);
  margin: 0;
  padding: 0 var(--shell-x);
  transition: -webkit-text-stroke-color var(--motion-duration) var(--motion-ease);
}
.footer-wordmark:hover { -webkit-text-stroke-color: var(--color-text); }
.footer-wordmark span { display: block; }
.footer-utility {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  padding: clamp(2.5rem, 6vw, 4rem) var(--shell-x) 1rem;
  font-family: var(--font-secondary);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
}
.footer-nav { display: flex; gap: 1.75rem; flex-wrap: wrap; list-style: none; }
.footer-nav a { color: var(--color-text-secondary); }
.footer-nav a:hover { color: var(--color-text); }
.footer-contact { display: flex; gap: 1.75rem; flex-wrap: wrap; align-items: center; }
.footer-contact a { color: var(--color-text-secondary); }
.footer-contact a:hover { color: var(--color-text); }
.footer-copy { width: 100%; color: color-mix(in srgb, var(--color-text-secondary) 80%, transparent); }

/* ============================================================
   Page header (inner pages)
   ============================================================ */
.pagehead {
  position: relative;
  padding-top: clamp(5rem, 12vw, 9rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}
.pagehead__gutter {
  position: absolute;
  left: var(--shell-x);
  top: clamp(5rem, 12vw, 9rem);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.75rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}
.pagehead__title { max-width: 16ch; }
@media (max-width: 820px) {
  .pagehead__gutter {
    position: static;
    writing-mode: horizontal-tb;
    transform: none;
    margin-bottom: 1.5rem;
  }
}

/* ============================================================
   Collections page
   ============================================================ */
.collection__rail {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3rem);
  padding: 1.25rem var(--shell-x);
  font-family: var(--font-secondary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  position: sticky;
  top: 64px;
  z-index: 500;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}
.collection__term {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--color-text-secondary);
  font-family: inherit;
  font-size: 0.8125rem;
  letter-spacing: inherit;
  text-transform: inherit;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
}
.collection__term:hover { color: var(--color-text); }
.collection__term.is-active {
  color: var(--color-text);
  border-bottom-color: var(--color-text);
}
@media (max-width: 760px) {
  .collection__rail { overflow-x: auto; flex-wrap: nowrap; }
}

.catpanel {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(4rem, 9vw, 7rem) var(--shell-x);
  border-top: 1px solid var(--color-border);
  scroll-margin-top: 120px;
}
.catpanel__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(1.5rem, 4vw, 2.5rem);
}
.catpanel__desc { max-width: 44ch; color: var(--color-text-secondary); }
.catpanel__status {
  font-family: var(--font-secondary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.8125rem;
  color: var(--color-text-secondary);
  white-space: nowrap;
}

/* ============================================================
   About — Ethos band
   ============================================================ */
.ethos {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.ethos__text { max-width: 46ch; min-width: 0; }
.ethos__rubric { margin-bottom: 1.5rem; color: var(--color-text-secondary); }
.ethos__text p + p { margin-top: 1.5rem; }
.ethos__media {
  overflow: hidden;
  border: 1px solid var(--color-border);
}
.ethos__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform var(--motion-duration-slow) var(--motion-ease),
              filter var(--motion-duration-slow) var(--motion-ease);
  filter: brightness(0.92);
}
.ethos__media:hover img { transform: scale(1.03); filter: brightness(1.02); }
@media (prefers-reduced-motion: reduce) {
  .ethos__media:hover img { transform: none; }
}
@media (max-width: 820px) {
  .ethos { grid-template-columns: 1fr; }
  .ethos__media { max-height: 60vh; }
}

/* ============================================================
   Contact — Find Us split
   ============================================================ */
.findus {
  position: relative;
  overflow: hidden;
}
.findus__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.12;
  z-index: 0;
}
.findus__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2.5rem, 7vw, 6rem);
  align-items: start;
}
.findus__facts { min-width: 0; }
.findus__facts .fact { margin-top: 2rem; }
.findus__facts .fact-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-text-secondary);
}
.findus__facts .fact a,
.findus__facts .fact span {
  font-family: var(--font-secondary);
  font-size: 1.125rem;
  color: var(--color-text);
}
.findus__facts .fact a { border-bottom: 1px solid transparent; }
.findus__facts .fact a:hover { border-bottom-color: var(--color-text); }
.findus__panel {
  min-width: 0;
  background: color-mix(in srgb, var(--color-surface) 55%, transparent);
  border: 1px solid var(--color-border);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}
@media (max-width: 820px) {
  .findus__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   404
   ============================================================ */
.notfound {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: clamp(4rem, 10vw, 8rem) var(--shell-x);
}
.notfound h1 { margin-bottom: 1.5rem; }
.notfound p { color: var(--color-text-secondary); max-width: 40ch; margin-bottom: 2.5rem; }
.notfound a {
  border-bottom: 1px solid var(--color-text);
  padding-bottom: 3px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.8125rem;
}

/* ============================================================
   Responsive — hold the editorial weight, don't collapse to timid
   ============================================================ */
@media (max-width: 768px) {
  .footer-utility { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
  .catpreview__meta { flex-direction: column; align-items: flex-start; gap: 0.35rem; }
}
@media (max-width: 480px) {
  :root { --shell-x: 1.25rem; }
  .hero__word { letter-spacing: -0.02em; }
}

/* ============================================================
   Self-hosted Google Fonts (localized by 20_performance_sweep)
   ============================================================ */
/* latin-ext */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/HTxqL289NzCGg4MzN6KJ7eW6CYKF_jzx13HOvQ.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Archivo Black';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/HTxqL289NzCGg4MzN6KJ7eW6CYyF_jzx13E.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/i7dPIFZifjKcF5UAWdDRYE58RXi4EwSsbg.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/i7dPIFZifjKcF5UAWdDRYE98RXi4EwSsbg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('/fonts/i7dPIFZifjKcF5UAWdDRYEF8RXi4EwQ.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* vietnamese */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/i7dMIFZifjKcF5UAWdDRaPpZUFqaHi6WZ3S_Yg.woff2') format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}
/* latin-ext */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/i7dMIFZifjKcF5UAWdDRaPpZUFuaHi6WZ3S_Yg.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Space Mono';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('/fonts/i7dMIFZifjKcF5UAWdDRaPpZUFWaHi6WZ3Q.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
