/* ==========================================================================
   Cluckology — trafficstacklynx.net
   Design system + landing page styles
   Self-hosted system font stacks only: no third-party font requests.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */

:root {
  /* Palette */
  --cream: #fdf8ee;
  --cream-deep: #f6ecd9;
  --paper: #fffdf8;
  --ink: #1b1a17;
  --ink-soft: #4a463d;
  --ink-faint: #7d776a;

  --amber: #eda13a;
  --amber-bright: #ffc046;
  --terracotta: #d9613a;
  --teal: #0f5c52;
  --teal-deep: #0a3f38;
  --sage: #7fa65b;

  --asphalt: #23262b;
  --asphalt-deep: #14161a;
  --neon-void: #120b24;
  --neon-magenta: #ff3ea5;
  --neon-cyan: #37e2f0;

  --line: rgba(27, 26, 23, 0.12);
  --line-strong: rgba(27, 26, 23, 0.22);

  /* Typography */
  --font-sans: "Avenir Next", "Segoe UI Variable Display", "Segoe UI", system-ui,
    -apple-system, "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia,
    "Times New Roman", serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, Consolas, monospace;

  /* Fluid type scale */
  --step--1: clamp(0.83rem, 0.8rem + 0.15vw, 0.92rem);
  --step-0: clamp(1rem, 0.96rem + 0.2vw, 1.09rem);
  --step-1: clamp(1.18rem, 1.1rem + 0.4vw, 1.4rem);
  --step-2: clamp(1.42rem, 1.26rem + 0.75vw, 1.9rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.4vw, 2.6rem);
  --step-4: clamp(2.05rem, 1.5rem + 2.4vw, 3.5rem);
  /* The lower bound is set so the longest word in the hero headline still fits
     inside a 320px viewport without clipping. */
  --step-5: clamp(2.1rem, 1.35rem + 4vw, 4.6rem);

  /* Space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;

  /* Shape */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;
  --r-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(27, 26, 23, 0.06), 0 2px 8px rgba(27, 26, 23, 0.05);
  --shadow-md: 0 4px 12px rgba(27, 26, 23, 0.07), 0 14px 36px rgba(27, 26, 23, 0.08);
  --shadow-lg: 0 10px 24px rgba(27, 26, 23, 0.1), 0 30px 70px rgba(27, 26, 23, 0.13);

  --wrap: 1180px;
  --wrap-narrow: 760px;
  --header-h: 68px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & base
   -------------------------------------------------------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--step-0);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 var(--sp-4);
  line-height: 1.1;
  letter-spacing: -0.022em;
  font-weight: 800;
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
}
h4 {
  font-size: var(--step-1);
}

p {
  margin: 0 0 var(--sp-4);
  text-wrap: pretty;
}

p:last-child,
ul:last-child,
ol:last-child {
  margin-bottom: 0;
}

a {
  color: var(--teal);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 3px;
  transition: color 0.18s var(--ease);
}

a:hover {
  color: var(--terracotta);
}

img,
picture,
svg {
  max-width: 100%;
  display: block;
}

ul,
ol {
  margin: 0 0 var(--sp-4);
  padding-left: 1.25em;
}

li + li {
  margin-top: var(--sp-2);
}

strong {
  font-weight: 700;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: var(--sp-7) 0;
}

:focus-visible {
  outline: 3px solid var(--terracotta);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background: var(--amber-bright);
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   3. Layout helpers
   -------------------------------------------------------------------------- */

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: clamp(1.15rem, 4vw, 2.5rem);
}

.wrap--narrow {
  max-width: var(--wrap-narrow);
}

.section {
  padding-block: clamp(3.5rem, 8vw, 7rem);
  position: relative;
}

.section--tight {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.skip-link {
  position: absolute;
  left: var(--sp-4);
  top: var(--sp-4);
  z-index: 200;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 0.2s var(--ease);
}

.skip-link:focus {
  transform: translateY(0);
  color: var(--paper);
}

/* Eyebrow / section heading kit ------------------------------------------- */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-mono);
  font-size: var(--step--1);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--terracotta);
  font-weight: 600;
  margin-bottom: var(--sp-3);
}

.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}

.section-head {
  max-width: 640px;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-head--center .eyebrow::before {
  display: none;
}

.lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  line-height: 1.55;
}

/* --------------------------------------------------------------------------
   4. Buttons & badges
   -------------------------------------------------------------------------- */

.btn {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  padding: 0.85em 1.6em;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  font: inherit;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
    background 0.18s var(--ease), color 0.18s var(--ease);
  box-shadow: var(--shadow-sm);
}

.btn:hover {
  color: var(--btn-fg);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  --btn-bg: linear-gradient(135deg, var(--amber-bright), var(--terracotta));
  --btn-fg: #26170a;
}

.btn--teal {
  --btn-bg: var(--teal);
  --btn-fg: #eafaf4;
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
  box-shadow: none;
}

.btn--ghost:hover {
  border-color: var(--ink);
  background: rgba(27, 26, 23, 0.04);
}

.btn--on-dark {
  --btn-bg: rgba(255, 255, 255, 0.08);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, 0.28);
  backdrop-filter: blur(6px);
}

.btn--on-dark:hover {
  --btn-bg: rgba(255, 255, 255, 0.16);
}

.btn--sm {
  padding: 0.6em 1.15em;
  font-size: var(--step--1);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  align-items: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  padding: 0.35em 0.85em;
  border-radius: var(--r-pill);
  background: var(--cream-deep);
  border: 1px solid var(--line);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.01em;
}

.badge--dark {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
}

/* --------------------------------------------------------------------------
   5. Site header
   -------------------------------------------------------------------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 248, 238, 0.82);
  backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.site-header.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(27, 26, 23, 0.06);
}

.site-header__inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  gap: var(--sp-5);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 800;
  font-size: 1.12rem;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
}

.brand img {
  width: 34px;
  height: 34px;
}

.brand span i {
  font-style: normal;
  color: var(--terracotta);
}

.nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 1.8vw, 1.6rem);
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.35rem 0;
  position: relative;
  white-space: nowrap;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--terracotta);
  border-radius: 2px;
  transition: right 0.25s var(--ease);
}

.nav a:hover,
.nav a[aria-current="page"] {
  color: var(--ink);
}

.nav a:hover::after,
.nav a[aria-current="page"]::after {
  right: 0;
}

/* Scoped as `.nav .nav__cta` on purpose: plain `.nav a` outranks `.btn`, so a
   single-class selector here loses its padding, colour and font size to the
   generic nav link rules above. */
.nav .nav__cta {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
  margin-left: clamp(0.4rem, 1vw, 0.9rem);
  padding: 0.62em 1.15em;
  gap: 0.5em;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: -0.005em;
  color: var(--btn-fg);
  isolation: isolate;
  box-shadow: 0 1px 2px rgba(27, 26, 23, 0.16), 0 6px 16px rgba(27, 26, 23, 0.16);
}

/* Replaces the sliding underline the other nav links use with a brand-coloured
   wash, so the resting state stays calm instead of competing with the amber
   call to action in the hero. */
.nav .nav__cta::after {
  content: "";
  position: absolute;
  /* -2px so the wash also covers the transparent border on .btn, otherwise the
     dark base background shows through as a ring on hover. */
  inset: -2px;
  right: -2px;
  z-index: -1;
  height: auto;
  border-radius: inherit;
  background: linear-gradient(135deg, var(--amber-bright), var(--terracotta));
  opacity: 0;
  transition: opacity 0.28s var(--ease);
}

.nav__cta__egg {
  flex: none;
  color: var(--amber-bright);
  transition: color 0.28s var(--ease), transform 0.28s var(--ease);
}

.nav .nav__cta:hover,
.nav .nav__cta:focus-visible {
  color: #26170a;
  transform: translateY(-2px);
  box-shadow: 0 2px 4px rgba(27, 26, 23, 0.14), 0 12px 26px rgba(217, 97, 58, 0.34);
}

.nav .nav__cta:hover::after,
.nav .nav__cta:focus-visible::after {
  opacity: 1;
}

.nav .nav__cta:hover .nav__cta__egg,
.nav .nav__cta:focus-visible .nav__cta__egg {
  color: #26170a;
  transform: rotate(-14deg) scale(1.1);
}

.nav .nav__cta:active {
  transform: translateY(0);
}

.nav-toggle {
  display: none;
  margin-left: auto;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 19px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.22s var(--ease), opacity 0.22s var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Raised from 880px: with seven links plus the call to action, the horizontal
   nav was cramped right up to about 1100px. Keep in sync with NAV_BREAKPOINT
   in assets/js/main.js. */
@media (max-width: 940px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-3) clamp(1.15rem, 4vw, 2.5rem) var(--sp-5);
    box-shadow: var(--shadow-lg);
    transform: translateY(-130%);
    transition: transform 0.3s var(--ease);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .nav.is-open {
    transform: translateY(0);
  }

  .nav a {
    padding: 0.9rem 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.05rem;
  }

  .nav a::after {
    display: none;
  }

  .nav .nav__cta {
    margin: var(--sp-4) 0 0;
    border-bottom: 0;
    justify-content: center;
    padding: 0.85em 1.4em;
    font-size: 1rem;
  }
}

/* --------------------------------------------------------------------------
   6. Hero
   -------------------------------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(2.5rem, 6vw, 5rem) 0;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 62% 60%;
}

.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      100deg,
      var(--cream) 6%,
      rgba(253, 248, 238, 0.92) 34%,
      rgba(253, 248, 238, 0.45) 56%,
      rgba(253, 248, 238, 0.1) 78%
    ),
    linear-gradient(to top, var(--cream) 2%, rgba(253, 248, 238, 0) 30%);
}

.hero__inner {
  display: grid;
  gap: var(--sp-6);
  padding-bottom: clamp(3rem, 7vw, 6rem);
  max-width: 660px;
  min-width: 0;
}

/* Without this, a long headline word sizes the grid track and pushes the whole
   column past the viewport edge. */
.hero__inner > * {
  min-width: 0;
}

.hero h1 {
  margin-bottom: var(--sp-4);
}

/* The highlight is painted as a background gradient rather than an absolutely
   positioned bar so it survives wrapping on narrow screens. */
.hero h1 em {
  font-style: normal;
  color: var(--terracotta);
  background-image: linear-gradient(
    to top,
    rgba(255, 192, 70, 0.55) 0.06em,
    rgba(255, 192, 70, 0.45) 0.06em 0.34em,
    transparent 0.34em
  );
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  padding-inline: 0.04em;
}

.hero__lede {
  font-size: var(--step-1);
  color: var(--ink-soft);
  max-width: 33ch;
}

.hero__note {
  font-size: var(--step--1);
  color: var(--ink-faint);
  display: flex;
  align-items: center;
  gap: 0.5em;
}

/* Stat strip -------------------------------------------------------------- */

.stat-strip {
  position: relative;
  background: var(--ink);
  color: var(--paper);
  border-radius: var(--r-lg) var(--r-lg) 0 0;
  overflow: hidden;
}

.stat-strip::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 4px;
  background: repeating-linear-gradient(
    90deg,
    var(--amber-bright) 0 26px,
    transparent 26px 52px
  );
}

/* The min() guard on every auto-fit grid below stops a wide minimum track from
   forcing horizontal overflow on narrow phones. */
.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr));
  gap: 1px;
  background: rgba(255, 255, 255, 0.12);
}

.stat {
  background: var(--ink);
  padding: clamp(1.4rem, 3vw, 2.1rem) clamp(1.1rem, 2.5vw, 1.8rem)
    calc(clamp(1.4rem, 3vw, 2.1rem) + 4px);
  text-align: center;
}

.stat__num {
  display: block;
  font-size: var(--step-3);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--amber-bright);
  margin-bottom: 0.35rem;
  font-variant-numeric: tabular-nums;
}

.stat__label {
  font-size: var(--step--1);
  color: rgba(255, 253, 248, 0.72);
  line-height: 1.4;
  display: block;
}

/* --------------------------------------------------------------------------
   7. Fact cards
   -------------------------------------------------------------------------- */

.fact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(268px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

.fact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 2.5vw, 1.9rem);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    border-color 0.25s var(--ease);
  position: relative;
  overflow: hidden;
}

.fact-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-bright), var(--terracotta));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.fact-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.fact-card:hover::before {
  transform: scaleX(1);
}

.fact-card__icon {
  width: 46px;
  height: 46px;
  border-radius: var(--r-md);
  background: var(--cream-deep);
  display: grid;
  place-items: center;
  font-size: 1.45rem;
  margin-bottom: var(--sp-4);
  line-height: 1;
}

.fact-card h3 {
  font-size: var(--step-1);
  margin-bottom: var(--sp-2);
}

.fact-card p {
  color: var(--ink-soft);
  font-size: 0.98rem;
  margin-bottom: 0;
}

.fact-card__tag {
  display: inline-block;
  margin-top: var(--sp-4);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   8. Split feature rows
   -------------------------------------------------------------------------- */

.split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
  gap: clamp(1.75rem, 5vw, 4rem);
  align-items: center;
}

.split__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--cream-deep);
}

.split__media img {
  width: 100%;
  height: auto;
}

.split--reverse .split__media {
  order: 2;
}

@media (max-width: 719px) {
  .split--reverse .split__media {
    order: 0;
  }
}

.split__body h2 {
  margin-bottom: var(--sp-4);
}

.media-caption {
  position: absolute;
  left: var(--sp-3);
  right: var(--sp-3);
  bottom: var(--sp-3);
  background: rgba(20, 22, 26, 0.78);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.8rem;
  line-height: 1.45;
  padding: 0.6rem 0.85rem;
  border-radius: var(--r-sm);
}

/* Highlight list ---------------------------------------------------------- */

.check-list {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: grid;
  gap: var(--sp-3);
}

.check-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 0.75rem;
  align-items: start;
  margin: 0;
  color: var(--ink-soft);
}

.check-list li::before {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage);
  margin-top: 0.18em;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.check-list strong {
  color: var(--ink);
}

/* Pull quote -------------------------------------------------------------- */

.pull-quote {
  margin: 0;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--teal);
  color: #eafaf4;
  border-radius: var(--r-lg);
  font-family: var(--font-serif);
  font-size: var(--step-2);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.pull-quote footer {
  margin-top: var(--sp-4);
  font-family: var(--font-sans);
  font-size: var(--step--1);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(234, 250, 244, 0.65);
  font-weight: 600;
}

/* Band tinting ------------------------------------------------------------ */

.band--paper {
  background: var(--paper);
  border-block: 1px solid var(--line);
}

.band--deep {
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
}

/* --------------------------------------------------------------------------
   9. Breed cards
   -------------------------------------------------------------------------- */

.breed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
  gap: clamp(0.9rem, 2vw, 1.35rem);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

.breed {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.breed__name {
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
}

.breed__meta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--terracotta);
}

.breed p {
  font-size: 0.94rem;
  color: var(--ink-soft);
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. Chicken Road — asphalt themed block
   -------------------------------------------------------------------------- */

.road {
  position: relative;
  isolation: isolate;
  background: var(--asphalt-deep);
  color: #f3f1ec;
  overflow: hidden;
}

.road::before {
  /* asphalt texture + lane glow */
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      120% 80% at 15% 0%,
      rgba(237, 161, 58, 0.22),
      transparent 60%
    ),
    radial-gradient(90% 70% at 90% 100%, rgba(217, 97, 58, 0.18), transparent 62%),
    var(--asphalt);
}

.road::after {
  /* dashed centre line running down the section */
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 6px;
  transform: translateX(-50%);
  z-index: -1;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 192, 70, 0.5) 0 46px,
    transparent 46px 106px
  );
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, transparent, #000 18%, #000 82%, transparent);
}

.road h2,
.road h3 {
  color: #fff;
}

.road .lede,
.road p {
  color: rgba(243, 241, 236, 0.76);
}

.road .eyebrow {
  color: var(--amber-bright);
}

.road__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.road__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
  transform: perspective(1200px) rotateY(-4deg) rotateX(2deg);
  transition: transform 0.5s var(--ease);
}

.road__media:hover {
  transform: perspective(1200px) rotateY(0) rotateX(0);
}

.road__media img {
  width: 100%;
}

.road__sticker {
  position: absolute;
  top: var(--sp-4);
  left: var(--sp-4);
  background: var(--amber-bright);
  color: #26170a;
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: var(--r-pill);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

/* Feature tiles on dark --------------------------------------------------- */

.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: var(--sp-4);
  margin-top: clamp(1.75rem, 4vw, 2.75rem);
}

/* Six cards read as two rows of three rather than a five-plus-one orphan. */
.tile-grid--trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 900px) {
  .tile-grid--trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 620px) {
  .tile-grid--trio {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Used inside a half-width column, where auto-fit would strand one card. */
.tile-grid--stack {
  grid-template-columns: minmax(0, 1fr);
}

.tile {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  transition: background 0.25s var(--ease), transform 0.25s var(--ease);
}

.tile:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateY(-3px);
}

.tile__num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  color: var(--amber-bright);
  display: block;
  margin-bottom: var(--sp-3);
}

.tile h4 {
  margin-bottom: var(--sp-2);
  font-size: 1.06rem;
  color: #fff;
}

.tile p {
  font-size: 0.92rem;
  margin: 0;
}

/* Lane list (numbered steps) --------------------------------------------- */

.lanes {
  list-style: none;
  padding: 0;
  margin: var(--sp-5) 0 0;
  display: grid;
  gap: var(--sp-4);
  counter-reset: lane;
}

.lanes li {
  counter-increment: lane;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: var(--sp-4);
  align-items: start;
  margin: 0;
  padding-bottom: var(--sp-4);
  border-bottom: 1px dashed rgba(255, 255, 255, 0.16);
}

.lanes li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.lanes li::before {
  content: counter(lane, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 700;
  color: #26170a;
  background: var(--amber-bright);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
}

.lanes strong {
  color: #fff;
  display: block;
  margin-bottom: 0.15rem;
}

.lanes p {
  margin: 0;
  font-size: 0.94rem;
}

/* --------------------------------------------------------------------------
   11. Chicken Road 2 — neon themed block
   -------------------------------------------------------------------------- */

.neon {
  position: relative;
  isolation: isolate;
  background: var(--neon-void);
  color: #ece7fb;
  overflow: hidden;
}

.neon::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background: radial-gradient(
      100% 70% at 85% 8%,
      rgba(255, 62, 165, 0.3),
      transparent 58%
    ),
    radial-gradient(90% 65% at 8% 95%, rgba(55, 226, 240, 0.24), transparent 60%),
    var(--neon-void);
}

.neon::after {
  /* perspective grid floor */
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 45%;
  z-index: -1;
  background: linear-gradient(rgba(55, 226, 240, 0.22) 1px, transparent 1px) 0 0 /
      100% 34px,
    linear-gradient(90deg, rgba(255, 62, 165, 0.18) 1px, transparent 1px) 0 0 / 48px
      100%;
  transform: perspective(340px) rotateX(62deg);
  transform-origin: bottom;
  mask-image: linear-gradient(to top, #000, transparent 88%);
  opacity: 0.75;
  pointer-events: none;
}

.neon h2,
.neon h3,
.neon h4 {
  color: #fff;
}

.neon p,
.neon .lede {
  color: rgba(236, 231, 251, 0.78);
}

.neon .eyebrow {
  color: var(--neon-cyan);
}

.neon__title span {
  background: linear-gradient(100deg, var(--neon-cyan), var(--neon-magenta) 70%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.neon__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(310px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3.5rem);
  align-items: center;
}

.neon__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 0 0 1px rgba(255, 62, 165, 0.25), 0 24px 60px rgba(255, 62, 165, 0.22),
    0 10px 30px rgba(0, 0, 0, 0.5);
}

.neon__media img {
  width: 100%;
}

.neon-card {
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.09),
    rgba(255, 255, 255, 0.03)
  );
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  position: relative;
  overflow: hidden;
  transition: transform 0.25s var(--ease), border-color 0.25s var(--ease);
}

.neon-card:hover {
  transform: translateY(-3px);
  border-color: rgba(55, 226, 240, 0.55);
}

.neon-card__kicker {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--neon-magenta);
  display: block;
  margin-bottom: var(--sp-3);
}

.neon-card h4 {
  font-size: 1.06rem;
  margin-bottom: var(--sp-2);
}

.neon-card p {
  font-size: 0.92rem;
  margin: 0;
}

/* Versus comparison table ------------------------------------------------- */

.versus {
  margin-top: clamp(2rem, 5vw, 3.5rem);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
}

.versus table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
}

.versus caption {
  padding: var(--sp-4) var(--sp-5);
  text-align: left;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.versus th,
.versus td {
  padding: 0.9rem 1.1rem;
  text-align: left;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  vertical-align: top;
}

.versus thead th {
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(236, 231, 251, 0.6);
  font-family: var(--font-mono);
  font-weight: 600;
  white-space: nowrap;
}

.versus tbody th {
  font-weight: 700;
  color: #fff;
  width: 26%;
}

.versus td {
  color: rgba(236, 231, 251, 0.78);
}

.versus tr:last-child th,
.versus tr:last-child td {
  border-bottom: 0;
}

.versus tbody tr:hover th,
.versus tbody tr:hover td {
  background: rgba(255, 255, 255, 0.04);
}

@media (max-width: 640px) {
  .versus {
    overflow-x: auto;
  }
  .versus table {
    min-width: 540px;
  }
}

/* --------------------------------------------------------------------------
   12. Myth vs fact interactive
   -------------------------------------------------------------------------- */

/* Four cards, so a 2x2 block rather than a three-plus-one orphan row. */
.myth-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
}

@media (max-width: 720px) {
  .myth-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.myth {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.3rem, 2.5vw, 1.75rem);
  box-shadow: var(--shadow-sm);
}

.myth__q {
  font-weight: 800;
  font-size: var(--step-1);
  letter-spacing: -0.02em;
  margin-bottom: var(--sp-4);
  line-height: 1.25;
}

.myth__actions {
  display: flex;
  gap: var(--sp-3);
  margin-bottom: var(--sp-4);
}

.myth__btn {
  flex: 1;
  padding: 0.65em 1em;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  color: var(--ink);
  transition: all 0.2s var(--ease);
}

.myth__btn:hover:not(:disabled) {
  border-color: var(--ink);
  background: rgba(27, 26, 23, 0.04);
}

.myth__btn:disabled {
  cursor: default;
  opacity: 0.5;
}

.myth__btn.is-correct {
  background: var(--sage);
  border-color: var(--sage);
  color: #fff;
  opacity: 1;
}

.myth__btn.is-wrong {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: #fff;
  opacity: 1;
}

.myth__answer {
  font-size: 0.95rem;
  color: var(--ink-soft);
  background: var(--cream-deep);
  border-radius: var(--r-md);
  padding: var(--sp-4);
  margin: 0;
}

.myth__answer[hidden] {
  display: none;
}

.myth__answer b {
  color: var(--ink);
}

/* --------------------------------------------------------------------------
   13. FAQ
   -------------------------------------------------------------------------- */

.faq {
  display: grid;
  gap: var(--sp-3);
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 0 clamp(1rem, 2vw, 1.5rem);
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.faq details[open] {
  border-color: var(--line-strong);
  box-shadow: var(--shadow-sm);
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: clamp(1rem, 2vw, 1.25rem) 2.5rem clamp(1rem, 2vw, 1.25rem) 0;
  font-weight: 700;
  font-size: var(--step-0);
  position: relative;
  color: var(--ink);
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 11px;
  height: 11px;
  border-right: 2.5px solid var(--terracotta);
  border-bottom: 2.5px solid var(--terracotta);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.25s var(--ease);
}

.faq details[open] summary::after {
  transform: translateY(-20%) rotate(225deg);
}

.faq details > div {
  padding-bottom: clamp(1rem, 2vw, 1.35rem);
  color: var(--ink-soft);
  font-size: 0.98rem;
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   14. Newsletter CTA
   -------------------------------------------------------------------------- */

.cta-panel {
  background: linear-gradient(140deg, var(--teal), var(--teal-deep));
  color: #eafaf4;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 5vw, 3.75rem);
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

.cta-panel::after {
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 192, 70, 0.28), transparent 68%);
  z-index: -1;
}

.cta-panel h2 {
  color: #fff;
  max-width: 22ch;
}

.cta-panel p {
  color: rgba(234, 250, 244, 0.82);
  max-width: 52ch;
}

.subscribe {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
  margin-top: var(--sp-5);
  max-width: 520px;
}

.subscribe input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85em 1.2em;
  border-radius: var(--r-pill);
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
}

.subscribe input[type="email"]::placeholder {
  color: rgba(234, 250, 244, 0.55);
}

.subscribe input[type="email"]:focus {
  outline: none;
  border-color: var(--amber-bright);
  background: rgba(255, 255, 255, 0.16);
}

.form-note {
  font-size: 0.83rem;
  color: rgba(234, 250, 244, 0.65);
  margin-top: var(--sp-3);
  max-width: 46ch;
}

.form-note a {
  color: var(--amber-bright);
}

.form-status {
  margin-top: var(--sp-3);
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--amber-bright);
}

/* --------------------------------------------------------------------------
   15. Footer
   -------------------------------------------------------------------------- */

.site-footer {
  background: var(--ink);
  color: rgba(255, 253, 248, 0.68);
  padding-block: clamp(2.75rem, 6vw, 4.5rem) var(--sp-6);
  font-size: 0.94rem;
}

.site-footer a {
  color: rgba(255, 253, 248, 0.78);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--amber-bright);
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(240px, 1.4fr) repeat(auto-fit, minmax(150px, 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-bottom: var(--sp-7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* Below this the 240px brand column plus a 150px link column no longer fit,
   so drop to an explicit grid instead of letting the tracks overflow. */
@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--sp-6) var(--sp-5);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 400px) {
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.footer-brand .brand {
  color: #fff;
  margin-bottom: var(--sp-4);
}

.footer-brand p {
  max-width: 34ch;
  font-size: 0.92rem;
}

.footer-col h3 {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 253, 248, 0.5);
  font-family: var(--font-mono);
  font-weight: 600;
  margin-bottom: var(--sp-4);
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.65rem;
}

.footer-col li {
  margin: 0;
}

.footer-bottom {
  padding-top: var(--sp-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 253, 248, 0.5);
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
}

/* --------------------------------------------------------------------------
   16. Cookie consent (Google Consent Mode v2)
   -------------------------------------------------------------------------- */

.consent {
  position: fixed;
  z-index: 300;
  left: 50%;
  bottom: clamp(0.75rem, 2vw, 1.5rem);
  transform: translate(-50%, 140%);
  width: min(940px, calc(100% - 1.5rem));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: clamp(1.15rem, 2.5vw, 1.6rem);
  display: grid;
  gap: var(--sp-4);
  grid-template-columns: 1fr auto;
  align-items: center;
  transition: transform 0.45s var(--ease), opacity 0.3s var(--ease);
  opacity: 0;
  visibility: hidden;
}

.consent.is-visible {
  transform: translate(-50%, 0);
  opacity: 1;
  visibility: visible;
}

.consent h2 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.consent p {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0;
  max-width: 66ch;
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-2);
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .consent {
    grid-template-columns: 1fr;
  }
  .consent__actions {
    justify-content: stretch;
  }
  .consent__actions .btn {
    flex: 1 1 120px;
  }
}

/* --------------------------------------------------------------------------
   17. Article / legal pages
   -------------------------------------------------------------------------- */

.page-hero {
  background: linear-gradient(180deg, var(--cream-deep), var(--cream));
  padding-block: clamp(2.5rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: var(--step-4);
  max-width: 24ch;
}

.page-hero p {
  color: var(--ink-soft);
  max-width: 60ch;
  font-size: var(--step-1);
  margin-bottom: 0;
}

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-bottom: var(--sp-4);
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 0;
}

.breadcrumbs li {
  margin: 0;
}

.breadcrumbs li + li::before {
  content: "/";
  margin-right: 0.5rem;
  color: var(--line-strong);
}

.prose {
  max-width: 72ch;
}

.prose h2 {
  font-size: var(--step-2);
  margin-top: var(--sp-7);
  padding-top: var(--sp-2);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: var(--step-1);
  margin-top: var(--sp-6);
}

.prose p,
.prose li {
  color: var(--ink-soft);
}

/* Long URLs and cookie names must not push the page wider than the viewport. */
.prose a,
.prose code {
  overflow-wrap: anywhere;
}

.prose code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  background: var(--cream-deep);
  padding: 0.1em 0.35em;
  border-radius: 4px;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-5) 0;
  font-size: 0.94rem;
}

/* Wide reference tables stay readable by scrolling rather than by squeezing
   five columns into a phone screen. */
.table-scroll {
  margin: var(--sp-5) 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: var(--r-sm);
}

.table-scroll table {
  margin: 0;
  min-width: 34rem;
}

.table-scroll--wide table {
  min-width: 46rem;
}

.prose th,
.prose td {
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  text-align: left;
  vertical-align: top;
}

.prose th {
  background: var(--cream-deep);
  font-weight: 700;
  color: var(--ink);
}

.prose__meta {
  font-size: 0.86rem;
  color: var(--ink-faint);
  padding: var(--sp-4);
  background: var(--cream-deep);
  border-radius: var(--r-md);
  margin-bottom: var(--sp-6);
}

.toc {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: var(--sp-5);
  margin-bottom: var(--sp-6);
}

.toc h2 {
  font-size: 0.78rem !important;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  font-family: var(--font-mono);
  color: var(--ink-faint);
  margin: 0 0 var(--sp-3) !important;
  padding: 0 !important;
}

.toc ol {
  margin: 0;
  padding-left: 1.2em;
  columns: 2;
  column-gap: var(--sp-6);
}

@media (max-width: 560px) {
  .toc ol {
    columns: 1;
  }
}

/* Contact page ------------------------------------------------------------ */

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr));
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: start;
}

.field {
  display: grid;
  gap: 0.45rem;
  margin-bottom: var(--sp-4);
}

.field label {
  font-weight: 700;
  font-size: 0.92rem;
}

.field input,
.field textarea,
.field select {
  padding: 0.75em 1em;
  border: 1.5px solid var(--line-strong);
  border-radius: var(--r-sm);
  font: inherit;
  background: var(--paper);
  color: var(--ink);
  width: 100%;
}

.field textarea {
  min-height: 150px;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 92, 82, 0.14);
}

.field small {
  color: var(--ink-faint);
  font-size: 0.82rem;
}

.info-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(1.4rem, 3vw, 2rem);
  box-shadow: var(--shadow-sm);
}

.info-card dl {
  margin: 0;
  display: grid;
  gap: var(--sp-4);
}

.info-card dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 0.2rem;
}

.info-card dd {
  margin: 0;
  font-weight: 600;
}

/* 404 --------------------------------------------------------------------- */

.error-page {
  text-align: center;
  padding-block: clamp(3.5rem, 10vw, 8rem);
}

.error-page__code {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 16vw, 9rem);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -0.05em;
  background: linear-gradient(140deg, var(--amber-bright), var(--terracotta));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: var(--sp-4);
}

.error-page .btn-row {
  justify-content: center;
}

/* --------------------------------------------------------------------------
   18. Scroll reveal + motion preferences
   -------------------------------------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .road__media {
    transform: none;
  }
}

/* --------------------------------------------------------------------------
   19. Print
   -------------------------------------------------------------------------- */

@media print {
  .site-header,
  .site-footer,
  .consent,
  .nav-toggle,
  .btn {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
    font-size: 11pt;
  }

  .section {
    padding-block: 1rem;
  }
}
