/* ==========================================================================
   PixelCrown — design system
   Visual language: dark grained ink, warm cream counter-sections joined by
   torn-paper edges, heavy grotesque display type over an editorial serif.
   ========================================================================== */

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

:root {
  /* Ink — the dominant surface. No white anywhere in the palette. */
  --ink: #1b1917;
  --ink-deep: #121110;
  --ink-raised: #24211e;
  --ink-line: #383430;

  /* Counter-surface. Deep pine — no white, grey or wheat anywhere on a section.
     Token names stay `cream*` because every call site and modifier already
     speaks that language; only the values changed. */
  --cream: #10322c;
  --cream-2: #0b2622;
  --cream-line: rgba(238, 244, 233, 0.17);

  /* Light warm chip, for buttons and badges only — never a section surface. */
  --chip: #f4eeda;

  /* Muted brick accent, lifted from the reference. */
  --brick: #b4503c;
  --brick-bright: #c9634d;
  --brick-soft: rgba(180, 80, 60, 0.16);

  --gold: #e9b949;

  /* Type on ink */
  --on-ink: #f7f1dc;
  --on-ink-dim: rgba(247, 241, 220, 0.62);
  --on-ink-faint: rgba(247, 241, 220, 0.34);

  /* Type on the pine counter-surface */
  --on-cream: #f2efe2;
  --on-cream-dim: rgba(242, 239, 226, 0.68);
  --on-cream-faint: rgba(242, 239, 226, 0.44);

  --display: 'Archivo', 'Arial Black', 'Helvetica Neue', sans-serif;
  --ui: 'Work Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --serif: 'Newsreader', 'Times New Roman', Times, serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 5vw, 3.5rem);
  --section-y: clamp(4.5rem, 11vh, 9rem);

  --radius: 4px;
  --radius-pill: 999px;

  --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;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--on-ink);
  font-family: var(--ui);
  font-size: 1rem;
  line-height: 1.65;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--brick-bright);
  outline-offset: 3px;
}

/* --------------------------------------------------------------------------
   3. The grain. Fixed film across the whole document, as in the reference.
   -------------------------------------------------------------------------- */

.grain {
  position: fixed;
  inset: 0;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.055;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Speckled star dust for ink sections. */
.speckle {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(247, 241, 220, 0.5) 0.6px, transparent 0.7px),
    radial-gradient(rgba(247, 241, 220, 0.32) 0.5px, transparent 0.6px),
    radial-gradient(rgba(247, 241, 220, 0.2) 1px, transparent 1.1px);
  background-size: 137px 191px, 89px 113px, 233px 271px;
  background-position: 0 0, 41px 67px, 97px 23px;
}

/* Fine flecks for the pine counter-sections. */
.flecks {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  background-image: radial-gradient(rgba(238, 244, 233, 0.3) 0.55px, transparent 0.65px),
    radial-gradient(rgba(238, 244, 233, 0.18) 0.5px, transparent 0.6px);
  background-size: 159px 211px, 97px 131px;
  background-position: 0 0, 53px 71px;
}

/* --------------------------------------------------------------------------
   4. Layout primitives
   -------------------------------------------------------------------------- */

.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.shell--narrow {
  max-width: 720px;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  overflow: hidden;
}

.section--ink {
  background: var(--ink);
  color: var(--on-ink);
}
.section--ink-deep {
  background: var(--ink-deep);
  color: var(--on-ink);
}
.section--cream {
  background: var(--cream);
  color: var(--on-cream);
}
.section--cream-2 {
  background: var(--cream-2);
  color: var(--on-cream);
}

.section > .shell {
  position: relative;
  z-index: 1;
}

.section--tight {
  padding-block: clamp(3rem, 7vh, 5rem);
}

/* Two-column editorial split: sticky label left, prose right. */
.split {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}

.split__aside {
  position: sticky;
  top: 7rem;
}

@media (max-width: 860px) {
  .split {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .split__aside {
    position: static;
  }
}

/* --------------------------------------------------------------------------
   5. Typography
   -------------------------------------------------------------------------- */

.eyebrow {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--brick-bright);
  margin: 0 0 0.9rem;
  display: block;
}

/* Brick has too little contrast against pine — gold carries the accent here. */
.section--cream .eyebrow,
.section--cream-2 .eyebrow {
  color: var(--gold);
}

.eyebrow::before {
  content: '/ ';
  opacity: 0.7;
}

.eyebrow--plain::before {
  content: none;
}

/* Heavy grotesque display. Tight, uppercase, negative tracking. */
.display {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.025em;
  line-height: 0.92;
  margin: 0;
  text-wrap: balance;
}

.display--xl {
  font-size: clamp(2.4rem, 6.2vw, 4.6rem);
}
.display--lg {
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
}
.display--md {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
}
.display--sm {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  letter-spacing: -0.015em;
}

.display .accent {
  color: var(--brick-bright);
}
.section--cream .display .accent,
.section--cream-2 .display .accent {
  color: var(--gold);
}

/* Editorial serif — used for statements and step headings. */
.serif {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.statement {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.9vw, 2.05rem);
  line-height: 1.32;
  letter-spacing: -0.01em;
  max-width: 26ch;
  margin: 0 auto;
  text-align: center;
  text-wrap: balance;
}

.statement strong {
  font-weight: 600;
}

.statement--wide {
  max-width: 34ch;
}

.lede {
  font-size: clamp(1.02rem, 1.5vw, 1.15rem);
  line-height: 1.7;
  color: var(--on-ink-dim);
  max-width: 62ch;
}

.section--cream .lede,
.section--cream-2 .lede {
  color: var(--on-cream-dim);
}

.micro {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  line-height: 1.5;
}

.prose {
  max-width: 68ch;
}

.prose p,
.prose li {
  font-size: 0.985rem;
  line-height: 1.78;
}

.prose > * + * {
  margin-top: 1.05em;
}

.prose h2 {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  font-size: clamp(1.2rem, 2.1vw, 1.55rem);
  line-height: 1.1;
  margin-top: 2.6em;
  margin-bottom: 0.2em;
}

.prose h3 {
  font-family: var(--ui);
  font-weight: 650;
  font-size: 1rem;
  letter-spacing: 0.01em;
  margin-top: 2em;
  margin-bottom: 0.1em;
}

.prose ul,
.prose ol {
  padding-left: 1.15rem;
  margin-block: 0.8em;
}

.prose li + li {
  margin-top: 0.45em;
}

.prose a {
  color: var(--brick-bright);
  text-decoration: underline;
}

.section--cream .prose a,
.section--cream-2 .prose a {
  color: var(--gold);
}

.prose strong {
  font-weight: 650;
}

.prose hr {
  border: 0;
  border-top: 1px solid var(--cream-line);
  margin-block: 2.4em;
}

/* --------------------------------------------------------------------------
   6. Torn-paper dividers — the signature transition
   -------------------------------------------------------------------------- */

.torn {
  position: relative;
  display: block;
  width: 100%;
  height: clamp(22px, 3vw, 42px);
  line-height: 0;
  z-index: 2;
  pointer-events: none;
}

.torn svg {
  display: block;
  width: 100%;
  height: 100%;
}

.torn--flip svg {
  transform: scaleY(-1);
}

/* --------------------------------------------------------------------------
   7. Buttons
   -------------------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.82rem 1.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  transition: transform 0.25s var(--ease), background-color 0.25s var(--ease),
    color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--cream {
  background: var(--chip);
  color: var(--ink);
}
.btn--cream:hover {
  background: #fffaea;
}

.btn--ink {
  background: var(--ink);
  color: var(--chip);
}
.btn--ink:hover {
  background: #2a2724;
}

/* An ink button would disappear on pine — invert it to the light chip. */
.section--cream .btn--ink,
.section--cream-2 .btn--ink {
  background: var(--chip);
  color: var(--ink);
}
.section--cream .btn--ink:hover,
.section--cream-2 .btn--ink:hover {
  background: #fffaea;
}

.btn--brick {
  background: var(--brick);
  color: #fff6ec;
}
.btn--brick:hover {
  background: var(--brick-bright);
}

.btn--ghost {
  background: transparent;
  border-color: var(--on-ink-faint);
  color: var(--on-ink);
}
.btn--ghost:hover {
  border-color: var(--on-ink);
  background: rgba(247, 241, 220, 0.06);
}

.section--cream .btn--ghost,
.section--cream-2 .btn--ghost {
  border-color: var(--on-cream-faint);
  color: var(--on-cream);
}
.section--cream .btn--ghost:hover,
.section--cream-2 .btn--ghost:hover {
  border-color: var(--on-cream);
  background: rgba(242, 239, 226, 0.07);
}

.btn--sm {
  padding: 0.62rem 1.1rem;
  font-size: 0.64rem;
}

.btn--block {
  width: 100%;
}

.btn__arrow {
  font-size: 0.9em;
  transition: transform 0.25s var(--ease);
}
.btn:hover .btn__arrow {
  transform: translateX(3px);
}

/* Text link with the reference's underline treatment. */
.tlink {
  font-family: var(--ui);
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1.5px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s var(--ease);
}
.tlink:hover {
  opacity: 0.6;
}

/* --------------------------------------------------------------------------
   8. Age badge — 18+ mark, used in header and footer
   -------------------------------------------------------------------------- */

.age-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.05rem;
  height: 2.05rem;
  flex: 0 0 auto;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.6rem;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--brick-bright);
}

.age-badge--lg {
  width: 3.1rem;
  height: 3.1rem;
  font-size: 0.86rem;
  border-width: 2px;
}

.age-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

/* --------------------------------------------------------------------------
   9. Header
   -------------------------------------------------------------------------- */

.header {
  position: sticky;
  top: 0;
  z-index: 800;
  background: rgba(18, 17, 16, 0.82);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(247, 241, 220, 0.09);
}

/* Thin 18+ strip above the nav — visible on every page. */
.header__strip {
  background: var(--brick);
  color: #fff3e8;
}

.header__strip .shell {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 0.42rem;
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
}

.header__strip b {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0;
}

.header__bar {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding-block: 0.9rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto;
}

.brand__mark {
  width: 1.85rem;
  height: 1.85rem;
  flex: 0 0 auto;
}

.brand__name {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1;
}

.brand__name .accent {
  color: var(--brick-bright);
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav a {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--on-ink-dim);
  padding-block: 0.3rem;
  transition: color 0.2s var(--ease);
}

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

.nav a[aria-current='page'] {
  box-shadow: inset 0 -1.5px 0 var(--brick-bright);
}

.header__age {
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--on-ink-faint);
  border-radius: var(--radius-pill);
  padding: 0.5rem 0.85rem;
  font-size: 0.64rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(88vw, 340px);
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 0.35rem;
    padding: 2rem var(--gutter);
    background: var(--ink-deep);
    border-left: 1px solid var(--ink-line);
    transform: translateX(101%);
    transition: transform 0.42s var(--ease);
    z-index: 850;
  }

  body.nav-open .nav {
    transform: translateX(0);
  }

  .nav a {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
    padding-block: 0.85rem;
    border-bottom: 1px solid var(--ink-line);
  }

  .nav a[aria-current='page'] {
    box-shadow: none;
    color: var(--brick-bright);
  }
}

/* Sticky pill CTA, bottom-right — the reference's "GET THE CODE". */
.sticky-cta {
  position: fixed;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 780;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.45);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.sticky-cta.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* Keep clear of the consent notice while it is on screen. */
body.consent-open .sticky-cta {
  opacity: 0 !important;
  pointer-events: none !important;
}

/* --------------------------------------------------------------------------
   10. Intro panel + hero
   -------------------------------------------------------------------------- */

.intro {
  position: relative;
  min-height: 78vh;
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--ink-deep);
  padding-block: 5rem;
  overflow: hidden;
}

.intro__glow {
  position: absolute;
  inset: -20% -10% auto;
  height: 70%;
  background: radial-gradient(60% 60% at 50% 40%, rgba(180, 80, 60, 0.13), transparent 70%);
  pointer-events: none;
}

.intro__text {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.02;
  font-size: clamp(1.5rem, 3.3vw, 2.5rem);
  max-width: 20ch;
  margin: 0 auto;
  text-wrap: balance;
}

.intro__text .accent {
  color: var(--brick-bright);
}

.intro__skip {
  margin-top: clamp(3rem, 9vh, 6rem);
}

/* Hero */
.hero {
  position: relative;
  min-height: 82vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  padding-block: clamp(4rem, 10vh, 7rem) 3rem;
  overflow: hidden;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

/* Deliberately restrained — no wall of display type. */
.hero__title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 0.9;
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  margin: 0;
}

.hero__title .accent {
  color: var(--brick-bright);
}

.hero__sub {
  margin: 1.15rem auto 0;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  max-width: 42ch;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.5rem;
  margin-top: 2rem;
}

.hero__chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.42rem 0.9rem;
  border: 1px solid rgba(247, 241, 220, 0.18);
  border-radius: var(--radius-pill);
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.hero__chip .dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #6bbf7a;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2.4rem;
}

/* Circular scroll cue. */
.scroll-cue {
  position: relative;
  z-index: 2;
  margin: clamp(2.5rem, 7vh, 4.5rem) auto 0;
  width: 2.9rem;
  height: 2.9rem;
  border: 1px solid var(--on-ink-faint);
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--on-ink-dim);
  text-decoration: none;
  animation: bob 2.6s ease-in-out infinite;
}

.scroll-cue:hover {
  color: var(--on-ink);
  border-color: var(--on-ink);
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

/* --------------------------------------------------------------------------
   11. Fact field — scattered statements over the star dust
   -------------------------------------------------------------------------- */

.factfield {
  position: relative;
  background: var(--ink);
  padding-block: clamp(3rem, 8vh, 6rem);
  overflow: hidden;
}

.factfield__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(1.75rem, 4vw, 3.25rem) 1rem;
}

.fact {
  margin: 0;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

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

.fact__label {
  display: block;
  font-size: 0.55rem;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--brick-bright);
  margin-bottom: 0.5rem;
}

.fact--light .fact__text {
  font-family: var(--serif);
  font-size: clamp(0.98rem, 1.5vw, 1.18rem);
  line-height: 1.42;
  color: rgba(247, 241, 220, 0.8);
}

.fact--bold .fact__text {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.06;
  color: var(--on-ink);
}

.fact--bold.fact--lg .fact__text {
  font-size: clamp(1.05rem, 1.9vw, 1.4rem);
}
.fact--bold.fact--md .fact__text {
  font-size: clamp(0.9rem, 1.4vw, 1.1rem);
}
.fact--bold.fact--sm .fact__text {
  font-size: clamp(0.8rem, 1.1vw, 0.92rem);
}

/* Scatter: alternating spans and offsets, still a real grid underneath. */
.fact:nth-child(1) { grid-column: 1 / span 5; }
.fact:nth-child(2) { grid-column: 7 / span 6; text-align: right; }
.fact:nth-child(3) { grid-column: 2 / span 4; }
.fact:nth-child(4) { grid-column: 6 / span 6; text-align: center; }
.fact:nth-child(5) { grid-column: 1 / span 4; }
.fact:nth-child(6) { grid-column: 8 / span 5; text-align: right; }
.fact:nth-child(7) { grid-column: 3 / span 4; }
.fact:nth-child(8) { grid-column: 6 / span 4; text-align: center; }
.fact:nth-child(9) { grid-column: 1 / span 5; }
.fact:nth-child(10) { grid-column: 8 / span 5; text-align: right; }

@media (max-width: 760px) {
  .factfield__grid {
    grid-template-columns: 1fr;
  }
  .fact,
  .fact:nth-child(n) {
    grid-column: 1 / -1;
    text-align: left;
  }
}

/* --------------------------------------------------------------------------
   12. Method steps
   -------------------------------------------------------------------------- */

.steps {
  display: grid;
  gap: clamp(3rem, 8vh, 5.5rem);
  margin-top: clamp(3rem, 8vh, 5rem);
}

.step {
  text-align: center;
  max-width: 46ch;
  margin-inline: auto;
}

.step__n {
  font-family: var(--serif);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
  color: var(--on-ink-faint);
  display: block;
  margin-bottom: 0.75rem;
}

.step__weight {
  display: inline-block;
  margin-left: 0.5rem;
  padding: 0.1rem 0.5rem;
  border: 1px solid var(--brick);
  border-radius: var(--radius-pill);
  font-family: var(--ui);
  font-size: 0.58rem;
  font-weight: 650;
  letter-spacing: 0.1em;
  color: var(--brick-bright);
  vertical-align: middle;
}

.step__title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 2.6vw, 1.95rem);
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 1rem;
  text-wrap: balance;
}

.step__body {
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--on-ink-dim);
  margin: 0;
}

.section--cream .step__body,
.section--cream-2 .step__body {
  color: var(--on-cream-dim);
}
.section--cream .step__n,
.section--cream-2 .step__n {
  color: var(--on-cream-faint);
}

/* --------------------------------------------------------------------------
   13. Brand cards
   -------------------------------------------------------------------------- */

.brand-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(1.25rem, 3vw, 2rem);
  margin-top: clamp(2.5rem, 6vh, 4rem);
}

.bcard {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: clamp(1.5rem, 3vw, 2.1rem);
  overflow: hidden;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease);
}

.bcard:hover {
  border-color: rgba(247, 241, 220, 0.34);
  transform: translateY(-3px);
}

.bcard::after {
  content: '';
  position: absolute;
  inset: 0 0 auto;
  height: 3px;
  background: var(--accent, var(--brick));
  opacity: 0.9;
}

.bcard__rank {
  position: absolute;
  top: clamp(1.5rem, 3vw, 2.1rem);
  right: clamp(1.5rem, 3vw, 2.1rem);
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.66rem;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.6rem;
  border-radius: var(--radius-pill);
  background: rgba(247, 241, 220, 0.1);
  color: var(--on-ink-dim);
}

.bcard__logo {
  height: clamp(38px, 6vw, 52px);
  width: auto;
  max-width: 74%;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.4rem;
}

.bcard__name {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  font-size: 1.15rem;
  line-height: 1;
  margin: 0 0 0.5rem;
}

.bcard__strap {
  font-family: var(--serif);
  font-size: 1rem;
  line-height: 1.45;
  color: var(--on-ink-dim);
  margin: 0 0 1.35rem;
}

.bcard__licence {
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding-block: 1rem;
  margin-bottom: 1.35rem;
  display: grid;
  gap: 0.55rem;
}

.lrow {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 0.75rem;
  font-size: 0.76rem;
  line-height: 1.5;
}

.lrow dt {
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-size: 0.6rem;
  color: var(--on-ink-faint);
  padding-top: 0.14rem;
}

.lrow dd {
  margin: 0;
  color: var(--on-ink);
}

.lrow dd code {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
}

@media (max-width: 520px) {
  .lrow {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }
}

.bcard__foot {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
}

/* Two buttons share the top row; the register link drops to its own line. */
.bcard__foot .btn {
  flex: 1 1 auto;
}

.bcard__foot .register-link {
  flex: 0 0 100%;
  margin-top: 0.25rem;
}

.register-link {
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 241, 220, 0.28);
  padding-bottom: 1px;
}

.register-link:hover {
  color: var(--on-ink);
  border-color: var(--on-ink);
}

/* Rating */
.rating {
  display: inline-flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.rating__value {
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.6rem;
  line-height: 1;
  letter-spacing: -0.03em;
}

.rating__max {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--on-ink-faint);
}

.section--cream .rating__max,
.section--cream-2 .rating__max {
  color: var(--on-cream-faint);
}

.bars {
  display: grid;
  gap: 0.7rem;
  margin: 0;
}

.bar__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 0.28rem;
}

.bar__num {
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.76rem;
  color: var(--on-ink-dim);
}

.section--cream .bar__num,
.section--cream-2 .bar__num {
  color: var(--on-cream-dim);
}

.bar__track {
  /* Must be block: as an inline span the height collapses and the block-level
     fill escapes the track, painting over the whole row. */
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(247, 241, 220, 0.19);
  overflow: hidden;
}

.section--cream .bar__track,
.section--cream-2 .bar__track {
  background: rgba(242, 239, 226, 0.2);
}

.bar__fill {
  display: block;
  height: 100%;
  border-radius: 2px;
  background: var(--brick);
  width: 0;
  transition: width 1s var(--ease);
}

.bar.is-in .bar__fill {
  width: var(--w);
}

/* --------------------------------------------------------------------------
   14. Review page furniture
   -------------------------------------------------------------------------- */

.review-hero {
  position: relative;
  background: var(--ink-deep);
  padding-block: clamp(3.5rem, 9vh, 6rem) clamp(3rem, 7vh, 4.5rem);
  overflow: hidden;
}

.review-hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 320px);
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

@media (max-width: 880px) {
  .review-hero__inner {
    grid-template-columns: 1fr;
  }
}

.review-hero__logo {
  height: clamp(42px, 7vw, 62px);
  width: auto;
  max-width: 300px;
  object-fit: contain;
  object-position: left center;
  margin-bottom: 1.5rem;
}

.scorecard {
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: 1.5rem;
}

.scorecard__top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 1.1rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px solid var(--ink-line);
}

.pc-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.7rem;
}

.pc-list li {
  position: relative;
  padding-left: 1.6rem;
  font-size: 0.92rem;
  line-height: 1.6;
}

.pc-list li::before {
  position: absolute;
  left: 0;
  top: 0.05em;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.9rem;
}

.pc-list--pro li::before {
  content: '+';
  color: #6bbf7a;
}

.pc-list--con li::before {
  content: '–';
  color: var(--brick-bright);
}

.duo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.panel {
  background: rgba(247, 241, 220, 0.04);
  border: 1px solid var(--ink-line);
  border-radius: 10px;
  padding: clamp(1.35rem, 3vw, 1.9rem);
}

.section--cream .panel,
.section--cream-2 .panel {
  background: rgba(242, 239, 226, 0.05);
  border-color: var(--cream-line);
}

.panel__title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.9rem;
  margin: 0 0 1rem;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.tags li {
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--ink-line);
  border-radius: var(--radius-pill);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.section--cream .tags li,
.section--cream-2 .tags li {
  border-color: var(--cream-line);
}

/* Verdict pull-quote */
.verdict {
  border-left: 3px solid var(--brick);
  padding-left: clamp(1.25rem, 3vw, 2rem);
}

.verdict p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  line-height: 1.48;
  margin: 0;
}

/* Editor's note / caveat block */
.note {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
  padding: 1rem 1.15rem;
  border: 1px dashed var(--ink-line);
  border-radius: 8px;
  font-size: 0.82rem;
  line-height: 1.65;
  color: var(--on-ink-dim);
}

.section--cream .note,
.section--cream-2 .note {
  border-color: var(--cream-line);
  color: var(--on-cream-dim);
}

.note__mark {
  flex: 0 0 auto;
  font-family: var(--display);
  font-weight: 800;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--brick-bright);
  padding-top: 0.15rem;
}

/* Advertising label required on every commercial link cluster. */
.ad-label {
  display: inline-block;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
  margin-bottom: 0.5rem;
}

.section--cream .ad-label,
.section--cream-2 .ad-label {
  color: var(--on-cream-faint);
}

/* Terms line that must sit under every outbound offer link. */
.terms-line {
  font-size: 0.66rem;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--on-ink-faint);
  margin: 0.8rem 0 0;
}

.section--cream .terms-line,
.section--cream-2 .terms-line {
  color: var(--on-cream-faint);
}

/* --------------------------------------------------------------------------
   15. Accordion (FAQ)
   -------------------------------------------------------------------------- */

.acc {
  border-top: 1px solid var(--cream-line);
  margin-top: clamp(2rem, 5vh, 3rem);
}

.section--ink .acc,
.section--ink-deep .acc {
  border-color: var(--ink-line);
}

.acc__item {
  border-bottom: 1px solid var(--cream-line);
}

.section--ink .acc__item,
.section--ink-deep .acc__item {
  border-color: var(--ink-line);
}

.acc__btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.15rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  font-size: clamp(0.78rem, 1.4vw, 0.9rem);
  line-height: 1.3;
  transition: opacity 0.2s var(--ease);
}

.acc__btn:hover {
  opacity: 0.62;
}

.acc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 1.4rem;
  height: 1.4rem;
  border-radius: 50%;
  background: var(--on-cream);
  color: var(--cream);
  display: grid;
  place-items: center;
}

.section--ink .acc__icon,
.section--ink-deep .acc__icon {
  background: var(--chip);
  color: var(--ink);
}

.acc__icon::before,
.acc__icon::after {
  content: '';
  position: absolute;
  background: currentColor;
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

.acc__icon::before {
  width: 0.62rem;
  height: 1.4px;
}

.acc__icon::after {
  width: 1.4px;
  height: 0.62rem;
}

.acc__btn[aria-expanded='true'] .acc__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

.acc__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s var(--ease);
}

.acc__panel[data-open='true'] {
  grid-template-rows: 1fr;
}

.acc__panel > div {
  overflow: hidden;
}

.acc__panel p {
  margin: 0 0 1.3rem;
  padding-right: clamp(0rem, 8vw, 5rem);
  font-size: 0.92rem;
  line-height: 1.75;
  color: var(--on-cream-dim);
}

.section--ink .acc__panel p,
.section--ink-deep .acc__panel p {
  color: var(--on-ink-dim);
}

/* Fallback for engines without grid-row animation. */
@supports not (grid-template-rows: 1fr) {
  .acc__panel {
    display: block;
    height: 0;
    overflow: hidden;
  }
  .acc__panel[data-open='true'] {
    height: auto;
  }
}

/* --------------------------------------------------------------------------
   16. Forms
   -------------------------------------------------------------------------- */

.form {
  display: grid;
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.4rem;
}

.field label {
  font-size: 0.63rem;
  font-weight: 650;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
}

.field input,
.field select,
.field textarea {
  font-family: var(--ui);
  font-size: 0.95rem;
  color: var(--on-ink);
  background: rgba(247, 241, 220, 0.05);
  border: 1px solid var(--ink-line);
  border-radius: 6px;
  padding: 0.8rem 0.95rem;
  width: 100%;
  transition: border-color 0.2s var(--ease), background-color 0.2s var(--ease);
}

.field textarea {
  min-height: 9rem;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--on-ink-dim);
  background: rgba(247, 241, 220, 0.08);
  outline: none;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23f7f1dc' stroke-width='1.4' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.95rem center;
  padding-right: 2.4rem;
}

.field--error input,
.field--error select,
.field--error textarea {
  border-color: var(--brick-bright);
}

.field__error {
  font-size: 0.72rem;
  color: var(--brick-bright);
  letter-spacing: 0.02em;
}

.field__hint {
  font-size: 0.72rem;
  color: var(--on-ink-faint);
  line-height: 1.55;
}

.check {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.7rem;
  align-items: start;
}

.check input {
  width: 1.05rem;
  height: 1.05rem;
  margin-top: 0.25rem;
  accent-color: var(--brick);
}

.check label {
  font-size: 0.8rem;
  line-height: 1.6;
  letter-spacing: 0;
  text-transform: none;
  font-weight: 400;
  color: var(--on-ink-dim);
}

.alert {
  padding: 1.1rem 1.3rem;
  border-radius: 8px;
  border: 1px solid;
  font-size: 0.9rem;
  line-height: 1.65;
}

.alert--ok {
  border-color: rgba(107, 191, 122, 0.5);
  background: rgba(107, 191, 122, 0.09);
}

/* --------------------------------------------------------------------------
   17. Contact detail list
   -------------------------------------------------------------------------- */

.deflist {
  display: grid;
  gap: 1.1rem;
  margin: 0;
}

.deflist > div {
  padding-bottom: 1.1rem;
  border-bottom: 1px solid var(--ink-line);
}

.deflist dt {
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
  margin-bottom: 0.3rem;
}

.deflist dd {
  margin: 0;
  font-size: 0.93rem;
  line-height: 1.6;
}

.deflist a {
  color: var(--brick-bright);
}

/* --------------------------------------------------------------------------
   18. Footer
   -------------------------------------------------------------------------- */

.footer {
  position: relative;
  background: var(--ink-deep);
  color: var(--on-ink);
  overflow: hidden;
}

.footer__main {
  position: relative;
  z-index: 1;
  padding-block: clamp(3rem, 8vh, 4.5rem) 2.5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3.5rem);
}

@media (max-width: 820px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer__col--wide {
    grid-column: 1 / -1;
  }
}

@media (max-width: 520px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

.footer__head {
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--on-ink-faint);
  margin: 0 0 1.1rem;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.62rem;
}

/* The Cookie Settings control is a <button>, so it needs the same reset as the
   links beside it or the UA default chrome shows through. */
.footer__links a,
.footer__links button {
  font-family: inherit;
  font-size: 0.83rem;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  color: var(--on-ink-dim);
  background: none;
  border: 0;
  padding: 0;
  transition: color 0.2s var(--ease);
}

.footer__links a:hover,
.footer__links button:hover {
  color: var(--on-ink);
  text-decoration: underline;
}

.footer__blurb {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--on-ink-dim);
  max-width: 44ch;
  margin: 1rem 0 1.5rem;
}

/* 18+ warning band */
.footer__age {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.1rem 1.25rem;
  border: 1px solid rgba(180, 80, 60, 0.5);
  background: var(--brick-soft);
  border-radius: 8px;
  margin-bottom: 1.5rem;
  max-width: 46ch;
}

.footer__age p {
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.6;
  color: var(--on-ink);
}

.footer__age strong {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: 0.02em;
}

/* Safer-gambling organisation logos */
.orgs {
  position: relative;
  z-index: 1;
  border-top: 1px solid var(--ink-line);
  border-bottom: 1px solid var(--ink-line);
  padding-block: 1.9rem;
}

.orgs__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 5vw, 3.25rem);
}

.org {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.72;
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}

.org:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.org img {
  height: clamp(30px, 4.5vw, 40px);
  width: auto;
}

.orgs__note {
  text-align: center;
  font-size: 0.7rem;
  line-height: 1.6;
  color: var(--on-ink-faint);
  margin: 1.5rem auto 0;
  max-width: 62ch;
}

.orgs__note a {
  color: var(--on-ink-dim);
}

/* Bottom bar */
.footer__bottom {
  position: relative;
  z-index: 1;
  padding-block: 1.6rem 2.2rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.55rem 1.15rem;
  list-style: none;
  margin: 0 0 1.1rem;
  padding: 0;
}

.footer__legal a,
.footer__legal button {
  font-size: 0.62rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-ink-dim);
  text-decoration: none;
  background: none;
  border: 0;
  padding: 0;
  transition: color 0.2s var(--ease);
}

.footer__legal a:hover,
.footer__legal button:hover {
  color: var(--on-ink);
  text-decoration: underline;
}

.footer__legal .sep {
  color: var(--on-ink-faint);
  font-size: 0.62rem;
  user-select: none;
}

@media (max-width: 620px) {
  .footer__legal .sep {
    display: none;
  }
}

.footer__fine {
  text-align: center;
  font-size: 0.66rem;
  line-height: 1.75;
  color: var(--on-ink-faint);
  max-width: 78ch;
  margin-inline: auto;
}

.footer__fine + .footer__fine {
  margin-top: 0.7rem;
}

.footer__fine a {
  color: var(--on-ink-dim);
}

/* --------------------------------------------------------------------------
   19. Cookie consent notice — bottom card, accept or reject
   -------------------------------------------------------------------------- */

.consent {
  position: fixed;
  left: clamp(0.75rem, 3vw, 1.75rem);
  bottom: clamp(0.75rem, 3vw, 1.75rem);
  z-index: 8500;
  width: min(calc(100vw - 1.5rem), 430px);
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 12px;
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.6);
  padding: 1.35rem 1.45rem 1.45rem;
  transform: translateY(calc(100% + 3rem));
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}

.consent.is-open {
  transform: translateY(0);
  opacity: 1;
}

.consent[hidden] {
  display: none;
}

.consent__top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.7rem;
}

.consent__title {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  font-size: 0.86rem;
  margin: 0;
}

.consent__cookie {
  width: 1.5rem;
  height: 1.5rem;
  flex: 0 0 auto;
}

.consent__body {
  font-size: 0.81rem;
  line-height: 1.65;
  color: var(--on-ink-dim);
  margin: 0 0 1.15rem;
}

.consent__body a {
  color: var(--brick-bright);
}

.consent__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.consent__actions .btn {
  flex: 1 1 auto;
  min-width: 8rem;
}

/* Fires only when JS is unavailable: the form posts to /consent instead. */
.consent--nojs {
  transform: translateY(0);
  opacity: 1;
}

/* --------------------------------------------------------------------------
   20. Misc
   -------------------------------------------------------------------------- */

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  background: var(--chip);
  color: var(--ink);
  padding: 0.75rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

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

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.center {
  text-align: center;
}

.stack-sm > * + * {
  margin-top: 0.75rem;
}
.stack > * + * {
  margin-top: 1.5rem;
}
.stack-lg > * + * {
  margin-top: clamp(2rem, 5vh, 3rem);
}

.table-wrap {
  overflow-x: auto;
  margin-block: 1.5rem;
  border: 1px solid var(--cream-line);
  border-radius: 8px;
}

.section--ink .table-wrap,
.section--ink-deep .table-wrap {
  border-color: var(--ink-line);
}

table.data {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: 0.82rem;
}

table.data th,
table.data td {
  text-align: left;
  padding: 0.75rem 0.95rem;
  border-bottom: 1px solid var(--cream-line);
  vertical-align: top;
  line-height: 1.6;
}

.section--ink table.data th,
.section--ink table.data td,
.section--ink-deep table.data th,
.section--ink-deep table.data td {
  border-color: var(--ink-line);
}

table.data th {
  font-size: 0.6rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--on-cream-faint);
  background: rgba(242, 239, 226, 0.045);
}

.section--ink table.data th,
.section--ink-deep table.data th {
  color: var(--on-ink-faint);
  background: rgba(247, 241, 220, 0.04);
}

table.data tr:last-child td {
  border-bottom: 0;
}

/* Error pages */
.errorpage {
  min-height: 68vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding-block: 5rem;
  position: relative;
  overflow: hidden;
}
