/* =========================================================================
   Dibbelabbes United — Design System
   Dark, cinematic, warm ember accent, Apple-style frosted glass.
   Mobile-first.
   ========================================================================= */

:root {
  /* Base */
  --bg: #08080a;
  --bg-2: #0d0d10;
  --fg: #f4f3f1;
  --fg-muted: #b4b0aa;
  --fg-dim: #75726d;

  /* Warm ember accent (pulled from the photography) */
  --accent: #ff5d2e;
  --accent-2: #ff8a3d;
  --accent-glow: rgba(255, 93, 46, 0.35);

  /* Lines */
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);

  /* Glass */
  --glass-bg: rgba(255, 255, 255, 0.045);
  --glass-bg-strong: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-blur: 18px;
  --glass-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  --glass-highlight: inset 0 1px 0 rgba(255, 255, 255, 0.14);

  /* Type */
  --font-display: "Oswald", "Arial Narrow", sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing & shape */
  --section-y: clamp(5rem, 11vw, 11rem);
  --container: 1300px;
  --gutter: clamp(1.25rem, 5vw, 4rem);
  --radius: 18px;
  --radius-lg: 28px;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* Offset scroll anchors so targets clear the fixed header */
:target,
[id] { scroll-margin-top: 100px; }
#sponsorship-form { scroll-margin-top: 110px; }

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: none; }

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

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

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 300;
  background: var(--accent); color: #fff; padding: 0.75rem 1.25rem; font-weight: 600;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ----------------------------- Layout ----------------------------- */
.container {
  width: 100%; max-width: var(--container);
  margin-inline: auto; padding-inline: var(--gutter);
  position: relative; z-index: 2;
}

.section {
  position: relative;
  padding-block: var(--section-y);
  border-top: 1px solid var(--line);
}
.section.has-bg { border-top: none; }

.section__index {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.28em;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 1.75rem;
  display: inline-flex;
  align-items: center;
}

.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.01em;
  font-size: clamp(2.5rem, 7vw, 5.75rem);
}

.subheading {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  font-size: clamp(1.25rem, 3vw, 1.85rem);
}

/* Full-bleed section background image + scrim */
.section__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.section__bg img { width: 100%; height: 100%; object-fit: cover; }
.section__bg-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0.78) 0%, rgba(8,8,10,0.6) 45%, rgba(8,8,10,0.92) 100%);
}
.section__bg-scrim--strong {
  background: linear-gradient(180deg, rgba(8,8,10,0.88) 0%, rgba(8,8,10,0.8) 50%, rgba(8,8,10,0.96) 100%);
}

/* Soft cross-fade between the merch + CTA full-bleed images so the seam
   between the two background photos dissolves into the page background. */
.merch .section__bg::after,
.cta-band .section__bg::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: clamp(120px, 22vh, 240px);
  z-index: 1;
  pointer-events: none;
}
.merch .section__bg::after {
  bottom: 0;
  background: linear-gradient(180deg, rgba(8,8,10,0) 0%, var(--bg) 100%);
}
.cta-band .section__bg::before {
  top: 0;
  background: linear-gradient(0deg, rgba(8,8,10,0) 0%, var(--bg) 100%);
}

/* ----------------------------- Glass ----------------------------- */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(150%);
  box-shadow: var(--glass-shadow), var(--glass-highlight);
  border-radius: var(--radius-lg);
}

/* ----------------------------- Buttons ----------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 1.05rem 2.1rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.3s var(--ease), background-color 0.3s var(--ease),
              color 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn--solid {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  color: #fff;
  box-shadow: 0 10px 30px var(--accent-glow);
}
.btn--solid:hover { transform: translateY(-2px); box-shadow: 0 16px 40px var(--accent-glow); }
.btn--glass {
  background: var(--glass-bg-strong);
  border-color: var(--glass-border);
  color: var(--fg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.btn--glass:hover { background: rgba(255,255,255,0.14); transform: translateY(-2px); }

/* ----------------------------- Header ----------------------------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  border-bottom: 1px solid transparent;
  transition: background-color 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(8, 8, 10, 0.6);
  backdrop-filter: blur(20px) saturate(150%);
  -webkit-backdrop-filter: blur(20px) saturate(150%);
  border-bottom-color: var(--line);
}
.header__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 80px;
  transition: height 0.4s var(--ease);
}
.site-header.is-scrolled .header__inner { height: 66px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand__mark { width: 36px; height: auto; filter: invert(1); }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.04em; font-size: 1.05rem;
}
.brand__sub {
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--fg-dim); margin-top: 0.25rem;
}

.nav { display: none; }
.nav__list { display: flex; gap: 1.6rem; }
.nav__list a {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-size: 0.82rem; font-weight: 500;
  color: var(--fg-muted); padding-block: 0.25rem; position: relative;
  transition: color 0.25s var(--ease);
}
.nav__list a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--accent);
  border-radius: 2px; transition: width 0.3s var(--ease);
}
.nav__list a:hover, .nav__list a.is-active { color: var(--fg); }
.nav__list a.is-active::after { width: 100%; }

.header__cta { display: none; padding: 0.62rem 1.5rem; font-size: 0.78rem; }

/* Language switch */
.header__actions { display: flex; align-items: center; gap: 1rem; }
.lang-switch {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.3rem 0.6rem; border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.lang-switch__btn {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.72rem; font-weight: 600;
  color: var(--fg-muted); line-height: 1;
  padding: 0.15rem 0.1rem; transition: color 0.25s var(--ease);
}
.lang-switch__btn:hover { color: var(--fg); }
.lang-switch__btn.is-active { color: var(--accent); }
.lang-switch__sep { width: 1px; height: 0.85rem; background: var(--glass-border); }

/* Hamburger */
.nav-toggle {
  width: 44px; height: 44px; display: inline-flex;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 6px; z-index: 120;
}
.nav-toggle span {
  display: block; width: 26px; height: 2px; background: var(--fg);
  transition: transform 0.35s var(--ease), opacity 0.25s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 110;
  background: rgba(8, 8, 10, 0.85);
  backdrop-filter: blur(24px) saturate(140%);
  -webkit-backdrop-filter: blur(24px) saturate(140%);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 0.25rem; text-align: center; }
.mobile-nav ul a {
  font-family: var(--font-display); text-transform: uppercase;
  font-weight: 700; letter-spacing: 0.02em;
  font-size: clamp(1.9rem, 9vw, 3rem); line-height: 1.2;
  color: var(--fg-muted); transition: color 0.25s var(--ease);
}
.mobile-nav ul a:hover { color: var(--accent); }
.mobile-nav__actions { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 0.85rem; }

/* ----------------------------- Hero ----------------------------- */
.hero {
  position: relative; min-height: 100svh;
  display: flex; align-items: flex-end;
  overflow: hidden; padding-top: 80px;
}
.hero__media { position: absolute; inset: 0; z-index: 0; }
.hero__img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: heroZoom 14s ease-out forwards;
}
@keyframes heroZoom { to { transform: scale(1); } }
@media (prefers-reduced-motion: reduce) { .hero__img { animation: none; transform: none; } }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,8,10,0.5) 0%, rgba(8,8,10,0.1) 30%, rgba(8,8,10,0.55) 70%, rgba(8,8,10,0.97) 100%),
    radial-gradient(120% 90% at 20% 90%, rgba(8,8,10,0.6) 0%, transparent 60%);
}
.hero__grain {
  position: absolute; inset: 0; opacity: 0.5; mix-blend-mode: overlay;
  background-image: radial-gradient(rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 3px 3px;
}
.hero__inner { padding-top: clamp(3rem, 8vw, 6rem); padding-bottom: clamp(5rem, 12vw, 8rem); }
.hero__eyebrow {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.32em; font-size: 0.78rem; color: var(--fg-muted);
  margin-bottom: 1.5rem;
}
.hero__title {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  line-height: 0.84; letter-spacing: -0.015em;
  font-size: clamp(3.25rem, 15vw, 12rem);
  text-shadow: 0 10px 50px rgba(0,0,0,0.5);
}
.hero__title span { display: block; }
.hero__tagline {
  margin-top: 1.75rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 500;
  font-size: clamp(1.1rem, 3.5vw, 2rem); color: var(--fg);
}
.hero__tagline::before {
  content: ""; display: inline-block; vertical-align: middle;
  width: 34px; height: 2px; margin-right: 0.9rem;
  background: var(--accent);
}
.hero__actions { margin-top: 2.75rem; display: flex; flex-wrap: wrap; gap: 1rem; }
.hero__scroll {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  z-index: 2; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.7rem; color: var(--fg-dim);
}
.hero__scroll span { animation: floaty 2.4s ease-in-out infinite; display: inline-block; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50% { transform: translateY(6px); opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .hero__scroll span { animation: none; } }

/* ----------------------------- Marquee ----------------------------- */
.marquee { position: relative; z-index: 5; margin-top: clamp(-3.5rem, -5vw, -2.5rem); padding-bottom: var(--section-y); }
.marquee__panel {
  padding: clamp(1rem, 2.4vw, 1.5rem) 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
  display: flex; width: max-content;
  animation: marqueeScroll 50s linear infinite;
}
.marquee__panel:hover .marquee__track { animation-play-state: paused; }
.marquee__group {
  display: flex; align-items: center; flex: 0 0 auto;
  margin: 0; padding: 0; list-style: none;
}
.marquee__group li {
  font-family: var(--font-display); font-weight: 700; text-transform: uppercase;
  font-size: clamp(1.35rem, 3.5vw, 2.4rem); line-height: 1;
  white-space: nowrap; color: var(--fg);
  padding: 0 clamp(1.25rem, 3vw, 2.5rem);
  display: flex; align-items: center;
}
.marquee__group li::after {
  content: "/"; color: var(--fg-dim); font-weight: 400;
  margin-left: clamp(1.25rem, 3vw, 2.5rem);
}
.marquee__group li.is-accent { color: var(--accent); }
@keyframes marqueeScroll { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .marquee__panel { -webkit-mask-image: none; mask-image: none; }
}

/* ----------------------------- About ----------------------------- */
.about__grid {
  display: grid; grid-template-columns: 1fr; gap: clamp(2.5rem, 6vw, 4rem);
  align-items: center;
}
.about__body { margin-top: clamp(2rem, 5vw, 3rem); display: grid; gap: 1.6rem; max-width: 60ch; }
.about__body p { font-size: clamp(1.05rem, 2vw, 1.28rem); color: var(--fg-muted); }
.about__body p:first-child { color: var(--fg); }
.about__body a { color: var(--fg); text-decoration: none; border-bottom: 1px solid currentColor; transition: opacity .2s ease; }
.about__body a:hover { opacity: .6; }
.about__figure {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--glass-border); box-shadow: var(--glass-shadow);
}
.about__figure img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.about__caption {
  position: absolute; left: 1rem; bottom: 1rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.7rem; color: var(--fg);
  background: var(--glass-bg-strong); backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border); border-radius: 999px;
  padding: 0.5rem 1rem;
}

/* ----------------------------- Manifesto ----------------------------- */
.manifesto__list { margin-top: clamp(2rem, 5vw, 3.5rem); border-top: 1px solid var(--line-strong); }
.manifesto__item {
  display: flex; align-items: baseline; gap: clamp(1rem, 4vw, 3rem);
  padding-block: clamp(1.5rem, 4vw, 2.5rem);
  border-bottom: 1px solid var(--line-strong);
}
.manifesto__num {
  font-family: var(--font-display); font-size: 0.9rem; font-weight: 600;
  color: var(--accent); letter-spacing: 0.1em; flex-shrink: 0; width: 2.5rem;
  opacity: 0.6;
  transition: transform 0.7s cubic-bezier(0.33, 0, 0.2, 1),
              opacity 0.7s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: transform, opacity;
}
.manifesto__text {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  line-height: 1; letter-spacing: -0.01em; font-size: clamp(1.75rem, 7vw, 4.5rem);
  opacity: 0.8;
  transition: transform 0.7s cubic-bezier(0.33, 0, 0.2, 1),
              opacity 0.7s cubic-bezier(0.33, 0, 0.2, 1),
              color 0.7s cubic-bezier(0.33, 0, 0.2, 1);
  will-change: transform, opacity;
}
.manifesto__item:hover .manifesto__num,
.manifesto__item:hover .manifesto__text {
  transform: translateX(clamp(0.35rem, 1.2vw, 0.9rem));
  opacity: 1;
}
.manifesto__item:hover .manifesto__text { color: var(--accent-2); }

/* ----------------------------- Crew ----------------------------- */
.crew__statement {
  margin-top: clamp(2.5rem, 6vw, 4rem);
  max-width: 60ch;
  padding: clamp(2rem, 5vw, 3.25rem);
  display: flex; flex-direction: column; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.crew__statement::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; background: var(--accent);
}
.crew__lead {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 600;
  line-height: 1.15; letter-spacing: 0.01em;
  font-size: clamp(1.35rem, 3.5vw, 2rem);
}
.crew__body { color: var(--fg-muted); font-size: 1.05rem; line-height: 1.7; }
.crew__sign {
  margin-top: 0.5rem; color: var(--accent);
  font-family: var(--font-display); letter-spacing: 0.08em; font-size: 0.95rem;
}

/* ----------------------------- Membership ----------------------------- */
.membership__inner { display: grid; gap: clamp(2.5rem, 6vw, 4.5rem); align-items: start; }
.membership__lead {
  margin-top: 1.75rem;
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.02em; font-weight: 500;
  font-size: clamp(1.25rem, 3.5vw, 2.1rem); line-height: 1.2;
  max-width: 22ch; color: var(--fg);
}

/* Form embed */
.form-embed { position: relative; padding: clamp(1rem, 3vw, 1.75rem); }
.tally-frame { width: 100%; border: 0; display: none; background: transparent; border-radius: 12px; }
.tally-frame.is-active { display: block; }
.form-embed__placeholder {
  border: 1px dashed var(--line-strong); border-radius: var(--radius);
  padding: clamp(2.5rem, 7vw, 4.5rem) 2rem; text-align: center;
  display: flex; flex-direction: column; gap: 0.75rem; align-items: center;
}
.form-embed__placeholder.is-hidden { display: none; }
.form-embed__title {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.08em; font-weight: 600; font-size: 1.2rem;
}
.form-embed__hint { color: var(--fg-dim); font-size: 0.9rem; max-width: 42ch; }

/* ----------------------------- Sponsorship ----------------------------- */
.sponsorship { background: var(--bg-2); }
.sponsorship__subline {
  margin-top: 1.75rem; font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  color: var(--fg-muted); max-width: 60ch;
}
.sponsorship__why { margin-top: clamp(3rem, 7vw, 5rem); }
.why-list { margin-top: 1.75rem; display: grid; gap: 1px; }
.why-list li {
  padding: 1.2rem 0 1.2rem 2rem; position: relative;
  color: var(--fg-muted); font-size: clamp(1rem, 2vw, 1.15rem);
  border-bottom: 1px solid var(--line);
}
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%);
  width: 9px; height: 9px; border-radius: 2px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.tiers { margin-top: clamp(3rem, 7vw, 5rem); display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.tier {
  padding: clamp(1.75rem, 4vw, 2.5rem);
  display: flex; flex-direction: column; gap: 1.25rem;
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease);
}
.tier:hover { transform: translateY(-6px); border-color: var(--line-strong); }
.tier--feature {
  border-color: rgba(255, 93, 46, 0.5);
  background: linear-gradient(160deg, rgba(255,93,46,0.12) 0%, var(--glass-bg) 55%);
  box-shadow: 0 24px 70px rgba(255, 93, 46, 0.18), var(--glass-highlight);
}
.tier__tag {
  align-self: flex-start; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.65rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  padding: 0.35rem 0.8rem; border-radius: 999px;
}
.tier__name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  font-size: clamp(1.4rem, 3.5vw, 1.9rem); line-height: 1;
}
.tier__for { color: var(--fg-muted); font-size: 0.95rem; }
.tier__benefits { display: grid; gap: 0.75rem; margin-top: auto; }
.tier__benefits li {
  padding-top: 0.75rem; border-top: 1px solid var(--line);
  font-size: 0.95rem; color: var(--fg);
}

.sponsorship__cta { margin-top: clamp(3rem, 7vw, 5rem); text-align: center; }
.sponsorship__cta .form-embed {
  margin-top: 1.75rem; margin-inline: auto;
  max-width: 540px; text-align: left;
}

/* ----------------------------- Merch ----------------------------- */
.merch { text-align: center; }
.merch__inner { display: flex; flex-direction: column; align-items: center; }
.merch__text {
  margin-top: 1.75rem; color: var(--fg-muted);
  font-size: clamp(1.05rem, 2.2vw, 1.35rem); max-width: 48ch;
}
.merch__status {
  margin-top: 2.5rem; font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.3em; font-size: 0.85rem; color: var(--fg);
  padding: 0.95rem 1.9rem; border-radius: 999px;
}

/* ----------------------------- CTA band ----------------------------- */
.cta-band { position: relative; padding-block: clamp(5rem, 12vw, 9rem); overflow: hidden; }
.cta-band__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta-band__title {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  line-height: 0.9; letter-spacing: -0.01em; font-size: clamp(2.5rem, 8vw, 6rem);
}
.cta-band__text { margin-top: 1.25rem; color: var(--fg-muted); font-size: clamp(1.05rem, 2.2vw, 1.35rem); }
.cta-band__actions { margin-top: 2.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* ----------------------------- Footer ----------------------------- */
.footer { border-top: 1px solid var(--line); padding-top: clamp(3rem, 7vw, 5rem); padding-bottom: 2.5rem; }
.footer__inner { display: grid; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line); }
.footer__brand { display: flex; align-items: center; gap: 1rem; color: inherit; text-decoration: none; transition: opacity 0.2s ease; }
.footer__brand:hover { opacity: 0.7; }
.footer__mark { width: 40px; height: auto; filter: invert(1); }
.footer__name {
  font-family: var(--font-display); text-transform: uppercase; font-weight: 700;
  letter-spacing: 0.04em; font-size: 1.1rem;
}
.footer__meta { color: var(--fg-dim); font-size: 0.8rem; letter-spacing: 0.04em; }
.footer__nav { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__nav a {
  text-transform: uppercase; letter-spacing: 0.1em; font-size: 0.75rem;
  color: var(--fg-dim); opacity: 0.7; transition: color 0.25s var(--ease), opacity 0.25s var(--ease);
}
.footer__nav a:hover { color: var(--accent); opacity: 1; }
.footer__tagline {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.16em; color: var(--fg); font-size: 0.95rem;
  text-align: right;
}
.footer__bottom {
  margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem;
  color: var(--fg-dim); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em;
}

/* ----------------------------- Legal page ----------------------------- */
.legal-page { padding-top: 80px; }
.legal { border-top: none; padding-block: clamp(3.5rem, 8vw, 7rem); }
.legal__inner { max-width: 820px; margin-inline: auto; }
.legal__title { margin-top: 0.75rem; font-size: clamp(2.75rem, 9vw, 5rem); }
.legal__body { margin-top: clamp(2.5rem, 6vw, 4rem); }
.legal__body h2 {
  font-family: var(--font-display); text-transform: uppercase;
  letter-spacing: 0.04em; font-weight: 600;
  font-size: clamp(1.15rem, 3vw, 1.5rem);
  color: var(--fg);
  margin-top: clamp(2.25rem, 5vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.legal__body h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.legal__body p {
  color: var(--fg-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
  margin-top: 1rem;
}
.legal__body a {
  color: var(--fg);
  border-bottom: 1px solid var(--accent);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
  word-break: break-word;
}
.legal__body a:hover { color: var(--accent); border-bottom-color: transparent; }
.legal__body ul {
  list-style: disc;
  margin-top: 1rem;
  padding-left: 1.4rem;
  color: var(--fg-muted);
  font-size: clamp(1rem, 2vw, 1.1rem);
  line-height: 1.75;
}
.legal__body li { margin-top: 0.6rem; }
.legal__body li::marker { color: var(--accent); }
.legal__updated {
  margin-top: clamp(2.5rem, 6vw, 3.5rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
  color: var(--fg-muted);
}

/* ----------------------------- Reveal animation ----------------------------- */
.reveal {
  opacity: 0; transform: translateY(26px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* =========================================================================
   Breakpoints
   ========================================================================= */
@media (min-width: 600px) {
  .footer__bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}

@media (min-width: 768px) {
  .tiers { grid-template-columns: repeat(3, 1fr); }

  .footer__inner { grid-template-columns: 1fr auto; align-items: center; }
  .footer__tagline { grid-column: auto; }
}

@media (min-width: 980px) {
  .about__grid { grid-template-columns: 1.1fr 0.9fr; }
  .membership__inner { grid-template-columns: 0.9fr 1.1fr; }

  .footer__tagline { grid-column: auto; text-align: right; }
}

/* Below desktop nav: keep the language switch next to the burger button */
@media (max-width: 1119.98px) {
  .header__actions { margin-left: auto; }
}

@media (min-width: 1120px) {
  .nav { display: block; }
  .header__cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .header__actions { margin-left: 0; }
}
