/* ==========================================================================
   Beriara — styles.css
   Static site, no framework, no build step. Every colour / spacing / type
   value lives as a token in :root — do not hardcode them further down.
   Palette: a violet-black night ground, warm off-white text, amber as the
   single accent, a faint violet glow for depth.
   ========================================================================== */

/* ---------- tokens ---------- */
:root {
  /* surfaces */
  --bg:         #0d0b12;
  --bg-2:       #13101a;               /* alternate bands, footer */
  --bg-3:       #1a1623;               /* cards, panels */
  --bg-4:       #231e2e;               /* inputs, hover */
  --scrim:      13, 11, 18;            /* --bg as an rgb triplet, for gradients */
  --glow:       138, 92, 246;          /* violet, decorative washes only */

  /* text */
  --text:       #f3efe7;
  --text-dim:   #b4acbf;               /* 8.9:1 on --bg, 8.1:1 on --bg-3 */
  --text-mute:  #8f879b;               /* 5.7:1 on --bg, 5.2:1 on --bg-3 — small print only */

  /* accent */
  --accent:     #f4b740;               /* amber — 10.9:1 on --bg */
  --accent-hi:  #ffc95c;               /* hover */
  --on-accent:  #1a1206;
  --ok:         #7fd6a4;

  /* lines */
  --line:       rgba(243, 239, 231, .10);
  --line-2:     rgba(243, 239, 231, .20);

  /* layout */
  --pad-x:      clamp(20px, 5.5vw, 80px);
  --section-py: clamp(64px, 9vw, 128px);
  --nav-h:      76px;
  --r:          18px;
  --r-sm:       10px;
  --r-pill:     999px;

  /* type scale — the only place font sizes are defined */
  --t-hero:  clamp(34px, 4.9vw, 68px);
  --t-h2:    clamp(26px, 3vw, 44px);
  --t-h3:    clamp(18px, 1.35vw, 21px);
  --t-lead:  clamp(16.5px, 1.25vw, 19px);
  --t-body:  clamp(15px, 1.02vw, 16.5px);
  --t-small: 14px;
  --t-brand: 21px;
  --t-label: clamp(10.5px, .78vw, 12px);
  --t-num:   clamp(12px, .95vw, 13.5px);

  /* fonts */
  --f-display: "Unbounded", "Manrope", system-ui, sans-serif;
  --f-sans:    "Manrope", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --focus: #f4b740;
}

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

html { scroll-behavior: smooth; background: var(--bg); }

body {
  margin: 0 auto;
  max-width: 1440px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: var(--t-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }
button { font: inherit; }

h1, h2 {
  font-family: var(--f-display);
  font-weight: 500;
  letter-spacing: -.02em;
}
h3 { font-weight: 700; line-height: 1.25; }

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  background: var(--accent);
  color: var(--on-accent);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: 0 0 var(--r-sm) 0;
}
.skip-link:focus { left: 0; }

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

/* 18+ badge — used in hero, responsible gaming and footer */
.age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  margin-right: 12px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -.02em;
  color: var(--accent);
}
.age-lg { width: 44px; height: 44px; font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 26px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  font-weight: 700;
  letter-spacing: .01em;
  cursor: pointer;
  transition: background-color .2s var(--ease), border-color .2s var(--ease),
              color .2s var(--ease), transform .12s var(--ease);
}

.btn-primary {
  background: var(--accent);
  color: var(--on-accent);
}
.btn-primary:hover { background: var(--accent-hi); transform: translateY(-1px); }
.btn-primary:active { transform: translateY(1px); }

.btn-ghost {
  border-color: var(--line-2);
  color: var(--text-dim);
  background: transparent;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--text); transform: translateY(-1px); }
.btn-ghost:active { transform: translateY(1px); }

/* ---------- header ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(var(--scrim), .82);
  backdrop-filter: saturate(1.3) blur(12px);
  -webkit-backdrop-filter: saturate(1.3) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.nav.is-stuck {
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
}

.nav-inner {
  height: 100%;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  gap: clamp(16px, 3vw, 44px);
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark { flex: none; }
.brand-name {
  font-family: var(--f-display);
  font-size: var(--t-brand);
  font-weight: 600;
  letter-spacing: -.01em;
}

.nav-links {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 30px);
}
.nav-links a {
  font-size: var(--t-small);
  font-weight: 500;
  color: var(--text-dim);
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.nav-links a:hover { color: var(--text); border-bottom-color: var(--accent); }

.nav-cta { padding: 11px 20px; }
.nav-links .nav-only-mobile { display: none; }

.burger {
  display: none;
  width: 44px;
  height: 44px;
  margin-left: auto;
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 18px;
  height: 1.5px;
  margin: 3.5px auto;
  background: var(--text);
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5px) rotate(-45deg); }

/* ---------- hero ---------- */
/* Centred composition: copy on the flat --bg, the brand diamond drawn in
   outline behind it, and a row of key facts closing the first screen. */
.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: clamp(56px, 8vw, 116px) var(--pad-x) 0;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(46% 52% at 50% 44%, rgba(var(--glow), .20), transparent 70%),
    radial-gradient(30% 30% at 50% 100%, rgba(244, 183, 64, .08), transparent 70%);
  pointer-events: none;
}

.hero-art {
  position: absolute;
  left: 50%;
  top: 44%;
  width: clamp(640px, 92vw, 1180px);
  height: auto;
  max-width: none;
  transform: translate(-50%, -50%);
  opacity: .5;
  /* the lines fade out where the copy is — contrast never depends on the art */
  -webkit-mask-image: radial-gradient(closest-side, transparent 60%, #000 92%);
          mask-image: radial-gradient(closest-side, transparent 60%, #000 92%);
  pointer-events: none;
}

.hero-copy {
  position: relative;
  max-width: 920px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: clamp(18px, 2.4vw, 28px);
}
.eyebrow i {
  display: block;
  flex: none;
  width: clamp(26px, 3vw, 44px);
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.eyebrow-center { justify-content: center; }

.hero h1 {
  font-size: var(--t-hero);
  line-height: 1.05;
  margin-bottom: clamp(22px, 2.6vw, 32px);
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.lead {
  font-size: var(--t-lead);
  line-height: 1.6;
  color: var(--text-dim);
  max-width: 60ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: clamp(30px, 3.4vw, 42px);
}

.hero-facts {
  position: relative;
  width: 100%;
  margin: clamp(56px, 7vw, 100px) 0 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  /* solid ground: the diamond outlines stop at the facts row, never run under text */
  background: var(--bg);
  box-shadow: 0 0 0 100vmax var(--bg);
  clip-path: inset(0 -100vmax -100vmax);
  text-align: left;
}
.fact {
  padding: clamp(22px, 2.4vw, 32px) clamp(18px, 2.4vw, 36px);
  border-left: 1px solid var(--line);
}
.fact:first-child { border-left: none; padding-left: 0; }
.fact:last-child { padding-right: 0; }
.fact dt {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.fact dd { margin: 0; font-size: var(--t-small); font-weight: 600; color: var(--text); }
.fact-age { display: flex; align-items: center; gap: 0; }
.fact-age dt { margin-bottom: 0; }
.fact-age dd { color: var(--text-dim); font-weight: 500; max-width: 22ch; }

/* ---------- sections ---------- */
.section { padding: var(--section-py) var(--pad-x); }

.sec-head { max-width: 780px; margin-bottom: clamp(36px, 4.5vw, 60px); }
.sec-label {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}
.section h2 {
  font-size: var(--t-h2);
  line-height: 1.12;
  margin-bottom: 20px;
}
.sec-intro {
  font-size: var(--t-lead);
  color: var(--text-dim);
  max-width: 62ch;
}

/* ---------- cards (what we do) ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 36px);
  transition: border-color .25s var(--ease), transform .25s var(--ease);
}
.card:hover { border-color: rgba(244, 183, 64, .45); transform: translateY(-3px); }
.card-num {
  font-family: var(--f-display);
  font-size: var(--t-num);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: clamp(26px, 3vw, 44px);
}
.card h3 { font-size: var(--t-h3); margin-bottom: 14px; }
.card > p { color: var(--text-dim); }
.card-list {
  margin-top: auto;
  padding-top: 22px;
}
.card-list li {
  position: relative;
  padding: 10px 0 10px 20px;
  border-top: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--text);
}
.card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 19px;
  width: 6px;
  height: 6px;
  border: 1.5px solid var(--accent);
  transform: rotate(45deg);
}

/* ---------- approach ---------- */
.approach {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.approach::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 80% at 0% 0%, rgba(var(--glow), .14), transparent 60%);
  pointer-events: none;
}
.approach-inner { position: relative; }

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(16px, 1.8vw, 24px);
  counter-reset: none;
}
.step {
  padding-top: 22px;
  border-top: 2px solid var(--line-2);
}
.step-num {
  font-family: var(--f-display);
  font-size: var(--t-num);
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.step h3 { font-size: var(--t-h3); margin-bottom: 12px; }
.step p:last-child { color: var(--text-dim); }

/* ---------- responsible gaming ---------- */
.resp-grid, .company-grid, .contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 88px);
  align-items: start;
}
.resp-copy p:not(.sec-label) { color: var(--text-dim); max-width: 60ch; }
.resp-copy p + p { margin-top: 16px; }

.help-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}
.help-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  font-size: var(--t-small);
  font-weight: 600;
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.help-links a:hover { border-color: var(--accent); color: var(--accent); }
.help-links .ext { color: var(--accent); }

.tools {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.6vw, 36px);
}
.tools-head {
  display: flex;
  align-items: center;
  font-size: var(--t-h3);
  font-weight: 700;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}
.tools-list li {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.tools-list li:last-child { border-bottom: none; padding-bottom: 0; }
.tools-list strong { font-size: var(--t-small); font-weight: 700; color: var(--text); }
.tools-list span { font-size: var(--t-small); color: var(--text-dim); }

/* ---------- company ---------- */
.company {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
}
.company-copy p:not(.sec-label) { color: var(--text-dim); max-width: 60ch; }
.company-copy p + p { margin-top: 16px; }

.meta {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(10px, 1.4vw, 18px) clamp(24px, 2.6vw, 36px);
}
.meta dt, .meta dd {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.meta dt:last-of-type, .meta dd:last-of-type { border-bottom: none; }
.meta dt {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--text-mute);
  padding-top: 19px;
}
.meta dd { font-size: var(--t-small); font-weight: 600; }
.meta a, .contact-details a {
  color: var(--accent);
  border-bottom: 1px solid rgba(244, 183, 64, .35);
  transition: border-color .2s var(--ease), color .2s var(--ease);
}
.meta a:hover, .contact-details a:hover { color: var(--accent-hi); border-bottom-color: var(--accent-hi); }

/* ---------- contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(55% 70% at 100% 100%, rgba(var(--glow), .16), transparent 60%);
  pointer-events: none;
}
.contact-grid { position: relative; }

.contact-details {
  margin-top: clamp(28px, 3vw, 40px);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contact-details p {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 4px 16px;
  align-items: baseline;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}
.c-label {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-mute);
}
.c-value { color: var(--text-dim); }

/* ---------- form ---------- */
.contact-form-wrap {
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(24px, 2.8vw, 38px);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: var(--t-label);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.form-field input,
.form-field textarea {
  font: inherit;
  font-size: var(--t-small);
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-2);
  border-radius: var(--r-sm);
  padding: 13px 15px;
  width: 100%;
  transition: border-color .2s var(--ease), background-color .2s var(--ease);
}
.form-field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: var(--text-mute); opacity: .8; }
.form-field input:hover,
.form-field textarea:hover { border-color: rgba(243, 239, 231, .32); }
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--bg-4);
}

.cf-turnstile { margin-top: 20px; }

.form-submit { margin-top: 20px; }
.form-submit:disabled { opacity: .6; cursor: progress; transform: none; }

.form-success {
  margin-top: 18px;
  padding: 14px 16px 14px 42px;
  position: relative;
  border: 1px solid var(--ok);
  border-radius: var(--r-sm);
  background: rgba(127, 214, 164, .10);
  font-size: var(--t-small);
}
/* state is carried by a tick and the text, not by colour alone */
.form-success::before {
  content: "";
  position: absolute;
  left: 16px;
  top: 20px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--ok);
  border-bottom: 2px solid var(--ok);
  transform: rotate(-45deg);
}

.form-note {
  margin-top: 16px;
  font-size: var(--t-small);
  color: var(--text-mute);
}

/* ---------- footer ---------- */
.footer {
  background: var(--bg-2);
  padding: clamp(44px, 5vw, 72px) var(--pad-x) clamp(24px, 3vw, 36px);
  border-top: 1px solid var(--line);
}
.footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  gap: clamp(24px, 3vw, 56px);
  align-items: start;
  padding-bottom: clamp(28px, 3.4vw, 44px);
  border-bottom: 1px solid var(--line);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  justify-content: center;
}
.footer-links a {
  font-size: var(--t-small);
  color: var(--text-dim);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-links a:hover { color: var(--text); border-bottom-color: var(--accent); }

.footer-contact {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
  font-size: var(--t-small);
  color: var(--text-dim);
  text-align: right;
}
.footer-contact a { color: var(--text); transition: color .2s var(--ease); }
.footer-contact a:hover { color: var(--accent); }

.footer-legal {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(22px, 2.6vw, 32px) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--t-small);
  color: var(--text-dim);
}
.footer-legal strong { color: var(--text); font-weight: 700; }
.footer-legal p:last-child { display: flex; align-items: center; }

.footer-bottom {
  padding-top: clamp(18px, 2.2vw, 26px);
  font-size: var(--t-small);
  color: var(--text-mute);
}

/* ---------- scroll reveal ---------- */
.reveal, .reveal-stagger > * {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in, .reveal-stagger.in > * { opacity: 1; transform: none; }
.reveal-stagger.in > *:nth-child(2) { transition-delay: .08s; }
.reveal-stagger.in > *:nth-child(3) { transition-delay: .16s; }
.reveal-stagger.in > *:nth-child(4) { transition-delay: .24s; }
/* hover lift on cards must not wait for the stagger delay */
.reveal-stagger.in > .card:hover { transition-delay: 0s; }

/* ---------- 404 ---------- */
.notfound {
  min-height: calc(100vh - var(--nav-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--section-py) var(--pad-x);
}
.notfound h1 { font-size: var(--t-hero); line-height: 1.05; margin-bottom: 20px; }
.notfound .lead { margin-bottom: 32px; }

/* ==========================================================================
   Tablet — one-column grids, hero facts in two columns
   ========================================================================== */
@media (max-width: 1100px) {
  .hero-art { opacity: .32; }
  .hero-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fact:nth-child(3) { border-left: none; padding-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
  .fact:nth-child(2) { padding-right: 0; }

  .cards { grid-template-columns: minmax(0, 1fr); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 36px; }
  .resp-grid, .company-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }

  .footer-top, .footer-legal { grid-template-columns: minmax(0, 1fr); }
  .footer-links { justify-content: flex-start; }
  .footer-contact { text-align: left; align-items: flex-start; }
}

/* ==========================================================================
   Mobile — burger menu, single-column everything
   ========================================================================== */
@media (max-width: 760px) {
  :root { --nav-h: 66px; --t-brand: 19px; }

  .nav-cta { display: none; }
  .burger { display: block; }

  .nav-links {
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    margin: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg-2);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    padding: 8px var(--pad-x) 18px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, .45);
  }
  .nav-links.open { display: flex; }
  .nav-links a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links a:last-child { border-bottom: none; }
  .nav-links .nav-only-mobile { display: block; }

  .steps, .form-grid { grid-template-columns: minmax(0, 1fr); }

  .hero-actions .btn { flex: 1 1 auto; }

  /* at phone width the outlines only cross the headline — keep the glow, drop the lines */
  .hero-art, .eyebrow-center i { display: none; }
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
  .fact { border-left: none; padding: 18px 0; }
  .fact + .fact { border-top: 1px solid var(--line); }

  .tools-list li,
  .contact-details p { grid-template-columns: minmax(0, 1fr); gap: 2px; }

  .meta { grid-template-columns: minmax(0, 1fr); }
  .meta dt { border-bottom: none; padding-bottom: 0; }
  .meta dd { padding-top: 6px; }
}

/* ==========================================================================
   Reduced motion — no transforms, no transitions
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal, .reveal-stagger > * { opacity: 1 !important; transform: none !important; transition: none !important; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .btn:hover, .btn:active, .card:hover { transform: none !important; }
}
