/* =========================================================
   Vancouver Founders — styles.css
   Design direction: minimal, modern, premium, energetic,
   mobile-first. Large type, hairline borders, generous
   whitespace, subtle motion, obvious calls to action.
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  --ink: #0C0D10;
  --ink-soft: #1b1d22;
  --bg: #FBFAF8;
  --paper: #FFFFFF;
  --muted: #565961;
  --muted-light: #8a8d95;
  --line: rgba(12, 13, 16, 0.12);
  --line-strong: rgba(12, 13, 16, 0.22);

  --accent: #1E5BFF;
  --accent-ink: #0B3ED9;
  --accent-soft: rgba(30, 91, 255, 0.09);
  --spark: #FF5C35;

  --on-dark: #F4F4F1;
  --on-dark-muted: rgba(244, 244, 241, 0.66);
  --dark-line: rgba(255, 255, 255, 0.16);

  --font-display: "Space Grotesk", "Inter", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --container: 1120px;

  --section: clamp(64px, 10vw, 132px);
  --shadow-card: 0 1px 2px rgba(12, 13, 16, 0.04), 0 12px 32px rgba(12, 13, 16, 0.06);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.6rem, 6.4vw, 4.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -0.025em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.4rem); letter-spacing: -0.015em; }

p { color: var(--ink); }
.lead { font-size: clamp(1.1rem, 1.6vw, 1.35rem); color: var(--muted); line-height: 1.55; }

::selection { background: var(--accent); color: #fff; }

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

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.section { padding-block: var(--section); }
.section--tight { padding-block: clamp(48px, 7vw, 80px); }

.eyebrow {
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 60px); }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; color: var(--muted); font-size: 1.1rem; }

.center { text-align: center; }
.center .section-head { margin-inline: auto; }
.center .eyebrow::after {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--ink);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.98rem;
  letter-spacing: -0.01em;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 26px rgba(12, 13, 16, 0.18); }
.btn:active { transform: translateY(0); }

.btn--accent { --btn-bg: var(--accent); --btn-fg: #fff; }
.btn--accent:hover { background: var(--accent-ink); box-shadow: 0 10px 26px rgba(30, 91, 255, 0.32); }

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: var(--line-strong);
}
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.btn--on-dark {
  --btn-bg: #fff;
  --btn-fg: var(--ink);
}
.btn--on-dark.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--on-dark);
  border-color: var(--dark-line);
}
.btn--on-dark.btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn--sm { padding: 11px 18px; font-size: 0.9rem; }
.btn--lg { padding: 17px 32px; font-size: 1.05rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.text-link {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.text-link .arrow { transition: transform 0.2s ease; }
.text-link:hover .arrow { transform: translateX(4px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.is-scrolled { border-color: var(--line); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
}

.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; }
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-name { font-size: 1.02rem; }
.brand-name .thin { color: var(--muted); }
.brand-dot { color: var(--accent); }
.site-footer .brand-dot { color: #7aa2ff; }

.nav { display: flex; align-items: center; gap: 8px; }
.nav a:not(.btn) {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.96rem;
  color: var(--muted);
  padding: 8px 12px;
  border-radius: 8px;
  transition: color 0.15s ease, background 0.15s ease;
}
.nav a:not(.btn):hover { color: var(--ink); background: rgba(12, 13, 16, 0.05); }
.nav a.is-active { color: var(--ink); }
.nav .btn { margin-left: 8px; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  background: transparent;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle span { position: relative; }
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] span { background: transparent; }
.nav-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    padding: 16px clamp(20px, 5vw, 40px) 28px;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a:not(.btn) { padding: 14px 12px; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .nav .btn { margin: 16px 0 0; width: 100%; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: var(--on-dark);
  overflow: hidden;
  isolation: isolate;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -30% -10% auto -10%;
  height: 620px;
  background:
    radial-gradient(48% 60% at 18% 20%, rgba(30, 91, 255, 0.55), transparent 62%),
    radial-gradient(40% 55% at 85% 12%, rgba(255, 92, 53, 0.32), transparent 60%),
    radial-gradient(60% 70% at 60% 90%, rgba(30, 91, 255, 0.22), transparent 65%);
  filter: blur(20px);
  z-index: -2;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='0.35'/%3E%3C/svg%3E");
  opacity: 0.06;
  z-index: -1;
  pointer-events: none;
}
.hero .container { padding-block: clamp(72px, 12vw, 128px); }
.hero-grid { display: grid; gap: 48px; }
.hero h1 { color: #fff; max-width: 14ch; }
.hero h1 .highlight { color: transparent; background: linear-gradient(100deg, #7aa2ff, #fff 60%); -webkit-background-clip: text; background-clip: text; }
.hero-sub { margin-top: 26px; max-width: 46ch; font-size: clamp(1.1rem, 1.7vw, 1.35rem); color: var(--on-dark-muted); }
.hero .btn-row { margin-top: 38px; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid var(--dark-line);
}
.hero-stat .num { font-family: var(--font-display); font-size: 2rem; font-weight: 600; color: #fff; letter-spacing: -0.02em; }
.hero-stat .label { font-size: 0.9rem; color: var(--on-dark-muted); margin-top: 2px; }

/* ---------- Founding 100 progress ---------- */
.founding {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.founding__top { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px; }
.founding__count { font-family: var(--font-display); font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; letter-spacing: -0.03em; }
.founding__count span { color: var(--muted-light); font-weight: 500; }
.founding__label { color: var(--muted); font-weight: 500; }
.progress {
  margin-top: 20px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent-soft);
  overflow: hidden;
}
.progress__bar {
  height: 100%;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #5b86ff);
  transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.founding__note { margin-top: 16px; font-size: 0.95rem; color: var(--muted); }

/* ---------- Generic sections ---------- */
.band-dark { background: var(--ink); color: var(--on-dark); }
.band-dark h2, .band-dark h3 { color: #fff; }
.band-dark .lead, .band-dark p { color: var(--on-dark-muted); }
.band-dark .section-head p { color: var(--on-dark-muted); }

.mission-quote {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.5rem, 3.4vw, 2.4rem);
  line-height: 1.28;
  letter-spacing: -0.02em;
  max-width: 20ch;
}
.mission-quote .accent { color: var(--accent); }
.band-dark .mission-quote .accent { color: #7aa2ff; }

/* ---------- Card grids ---------- */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-card); border-color: var(--line-strong); }
.card__icon {
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 18px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.98rem; }

.card--num { counter-increment: step; }
.card--num .step-num {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.1em;
}
.card--num h3 { margin-top: 6px; }

/* ---------- Tag cloud ---------- */
.tags { display: flex; flex-wrap: wrap; gap: 10px; }
.tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  color: var(--ink-soft);
  background: var(--paper);
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.tag:hover { background: var(--ink); color: #fff; border-color: var(--ink); }
.band-dark .tag { background: transparent; color: var(--on-dark); border-color: var(--dark-line); }
.band-dark .tag:hover { background: #fff; color: var(--ink); }

/* ---------- Split / feature rows ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.split--reverse .split__media { order: 2; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split--reverse .split__media { order: 0; } }

.media-frame {
  position: relative;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(30, 91, 255, 0.10), rgba(255, 92, 53, 0.08)),
    var(--paper);
  aspect-ratio: 4 / 3;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 0.9rem;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-frame[data-placeholder]::after {
  content: attr(data-placeholder);
  position: absolute;
  padding: 8px 12px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: var(--paper);
}

/* ---------- Event list ---------- */
.event-row {
  display: grid;
  grid-template-columns: 132px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.event-row:last-child { border-bottom: 1px solid var(--line); }
.event-date { font-family: var(--font-display); }
.event-date .d { font-size: 1.6rem; font-weight: 700; letter-spacing: -0.02em; display: block; }
.event-date .m { font-size: 0.8rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.event-info h3 { margin-bottom: 4px; }
.event-info p { color: var(--muted); font-size: 0.95rem; }
.event-tag {
  font-family: var(--font-display); font-size: 0.75rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--accent); background: var(--accent-soft);
  padding: 5px 10px; border-radius: 999px; display: inline-block; margin-bottom: 8px;
}
@media (max-width: 720px) {
  .event-row { grid-template-columns: 1fr; gap: 12px; }
  .event-row .btn { justify-self: start; }
}

.empty-state {
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 44px 28px;
  text-align: center;
  color: var(--muted);
}

/* ---------- FAQ accordion ---------- */
.faq { max-width: 760px; margin-inline: auto; }
.faq__item { border-top: 1px solid var(--line); }
.faq__item:last-child { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__icon { flex: none; width: 22px; height: 22px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; inset: 50% 0 auto 0; height: 2px; background: var(--accent);
  transform: translateY(-50%); transition: transform 0.2s ease;
}
.faq__icon::after { transform: translateY(-50%) rotate(90deg); }
.faq__item[open] .faq__icon::after { transform: translateY(-50%) rotate(0); }
.faq__a { padding: 0 4px 26px; color: var(--muted); max-width: 62ch; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary { list-style: none; }

/* ---------- Partner tiers ---------- */
.tier {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tier--featured { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent), var(--shadow-card); }
.tier h3 { font-size: 1.25rem; }
.tier__price { font-family: var(--font-display); color: var(--muted); font-weight: 500; }
.tier ul { list-style: none; display: grid; gap: 10px; font-size: 0.96rem; color: var(--muted); }
.tier li { display: flex; gap: 10px; }
.tier li::before { content: "→"; color: var(--accent); flex: none; }
.tier .btn { margin-top: auto; }

/* ---------- Logo strip ---------- */
.logo-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}
.logo-chip {
  flex: 1 1 150px;
  min-height: 76px;
  border: 1px dashed var(--line-strong);
  border-radius: 12px;
  display: grid;
  place-items: center;
  color: var(--muted-light);
  font-family: var(--font-display);
  font-size: 0.85rem;
}

/* ---------- Forms ---------- */
.form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 44px);
  box-shadow: var(--shadow-card);
}
.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form__grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form__grid { grid-template-columns: 1fr; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field > label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--ink);
}
.field .hint { font-size: 0.82rem; color: var(--muted-light); font-weight: 400; }
.field .req { color: var(--spark); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"],
.field input[type="number"],
.field select,
.field textarea {
  font: inherit;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  padding: 12px 14px;
  width: 100%;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-soft);
  background: var(--paper);
}

.checkbox-row, .radio-row { display: grid; gap: 10px; }
.check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.96rem;
  color: var(--muted);
  cursor: pointer;
}
.check input { margin-top: 3px; width: 18px; height: 18px; accent-color: var(--accent); flex: none; }

.chip-select { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-select input { position: absolute; opacity: 0; pointer-events: none; }
.chip-select label {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 9px 15px;
  border-radius: 999px;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.chip-select input:checked + label { background: var(--accent); color: #fff; border-color: var(--accent); }
.chip-select input:focus-visible + label { outline: 2px solid var(--accent); outline-offset: 2px; }

.form__actions { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.form__actions .fine { font-size: 0.85rem; color: var(--muted-light); }

.form-note {
  margin-top: 18px;
  font-size: 0.9rem;
  color: var(--muted);
  background: var(--accent-soft);
  border-radius: 10px;
  padding: 14px 16px;
}

/* ---------- Confirmation / simple pages ---------- */
.page-hero { padding-block: clamp(60px, 9vw, 110px); border-bottom: 1px solid var(--line); }
.page-hero .eyebrow { margin-bottom: 20px; }
.page-hero h1 { max-width: 18ch; }
.page-hero p { margin-top: 22px; max-width: 56ch; color: var(--muted); font-size: 1.15rem; }

.prose { max-width: 68ch; }
.prose h2 { margin-top: 48px; margin-bottom: 14px; }
.prose h3 { margin-top: 32px; margin-bottom: 10px; }
.prose p { margin-bottom: 16px; color: var(--ink); }
.prose ul, .prose ol { margin: 0 0 18px 1.1em; color: var(--ink); }
.prose li { margin-bottom: 8px; }
.prose strong { font-weight: 600; }

.callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 18px 20px;
  border-radius: 0 10px 10px 0;
  margin: 24px 0;
}
.callout p { margin: 0; color: var(--ink-soft); }

/* ---------- Big CTA band ---------- */
.cta-band { text-align: center; }
.cta-band h2 { max-width: 16ch; margin-inline: auto; }
.cta-band p { max-width: 46ch; margin: 18px auto 0; color: var(--on-dark-muted); }
.cta-band .btn-row { justify-content: center; margin-top: 34px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--on-dark-muted);
  padding-block: clamp(56px, 8vw, 88px) 40px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.3fr;
  gap: 40px;
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer h4 {
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-bottom: 16px;
}
.footer-links { display: grid; gap: 10px; }
.footer-links a:hover { color: #fff; }
.footer-tagline { max-width: 30ch; font-size: 0.95rem; }

.footer-news .field input { background: rgba(255,255,255,0.06); border-color: var(--dark-line); color: #fff; }
.footer-news .field input::placeholder { color: rgba(255,255,255,0.4); }
.footer-news .btn { width: 100%; margin-top: 10px; }

.socials { display: flex; gap: 10px; margin-top: 8px; }
.socials a {
  width: 40px; height: 40px;
  border: 1px solid var(--dark-line);
  border-radius: 10px;
  display: grid; place-items: center;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.socials a:hover { background: #fff; color: var(--ink); border-color: #fff; }

.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--dark-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}
.footer-bottom a:hover { color: #fff; }

/* ---------- Motion ---------- */
/* Only hide-for-reveal when JS is running (html.js is set by main.js).
   If JS fails to load, all content stays visible. */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.js [data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------- Utilities ---------- */
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 44px; }
.stack-l > * + * { margin-top: clamp(48px, 7vw, 80px); }
.muted { color: var(--muted); }
.nowrap { white-space: nowrap; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -60px;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; z-index: 200;
  transition: top 0.2s ease;
}
.skip-link:focus { top: 16px; }
