/* ══════════════════════════════════════════════════════════
   REB SYSTEMS — MAIN STYLESHEET
   Mobile-first | CSS Grid + Flexbox | No frameworks
   ══════════════════════════════════════════════════════════ */

/* ──────────────────────────────────────────────
   1. DESIGN TOKENS
────────────────────────────────────────────── */
:root {
  --red:        #CF4B3C;
  --red-dark:   #b03e30;
  --black:      #0C0C0C;
  --white:      #FFFFFF;
  --grey-100:   #f5f5f5;
  --grey-200:   #e8e8e8;
  --grey-400:   #9a9a9a;
  --grey-600:   #555555;
  --grey-800:   #222222;

  --font:       'Poppins', sans-serif;

  --header-h:   72px;
  --container:  1200px;
  --gutter:     clamp(1rem, 4vw, 2rem);

  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --transition: 0.3s var(--ease-out);
}

/* ──────────────────────────────────────────────
   2. RESET & BASE
────────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font);
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--black);
  background: var(--black);
  overflow-x: hidden;
}

.site-main {
  margin-top: 0;
  padding-top: 0;
}

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

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

ul { list-style: none; }

button {
  cursor: pointer;
  font-family: var(--font);
  border: none;
  background: none;
}

/* ──────────────────────────────────────────────
   3. TYPOGRAPHY
────────────────────────────────────────────── */
h1, .h1 {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.04em;
  line-height: 1;
}

h2, .h2 {
  font-weight: 700;
  font-style: italic;
  line-height: 1.15;
}

h3, .h3 {
  font-weight: 500;
  line-height: 1.3;
}

h4, .h4 {
  font-weight: 300;
  line-height: 1.4;
}

.text-red  { color: var(--red); }
.text-white { color: var(--white); }

/* ──────────────────────────────────────────────
   4. UTILITIES
────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(2.9rem, 7.2vw, 5.85rem);
}

.section-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.section-header.section-header-light .section-title,
.section-header.section-header-light .section-intro {
  color: var(--white);
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}

.section-intro {
  font-size: 1.0625rem;
  color: var(--grey-600);
  max-width: 56ch;
  margin-inline: auto;
}

/* ──────────────────────────────────────────────
   5. BUTTONS
────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font);
  font-weight: 500;
  font-size: 0.9375rem;
  padding: 0.85em 2em;
  border-radius: 3px;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform 0.15s;
  cursor: pointer;
  white-space: nowrap;
}

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

.btn-primary {
  background: var(--red);
  color: var(--white);
  border: 2px solid var(--red);
}
.btn-primary:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.08);
}

.btn-full { width: 100%; }

/* Spinner inside button */
.btn-spinner {
  display: none;
  width: 1em;
  height: 1em;
  border: 2px solid rgba(255,255,255,0.4);
  border-top-color: var(--white);
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

.btn.is-loading .btn-label  { display: none; }
.btn.is-loading .btn-spinner { display: block; }

@keyframes spin { to { transform: rotate(360deg); } }

/* ──────────────────────────────────────────────
   6. HEADER
────────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: transparent;
  transition: background var(--transition), box-shadow var(--transition);
}

.site-header.is-scrolled {
  background: rgba(12,12,12,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.header-inner {
  height: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.header-logo img {
  height: 36px;
  width: auto;
}

/* Desktop nav */
.site-nav { display: none; }

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

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  padding: 0.4em 0.8em;
  border-radius: 3px;
  transition: color var(--transition), background var(--transition);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0.8em;
  right: 0.8em;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--white);
}

.nav-link.is-active::after {
  transform: scaleX(1);
}

.nav-link.nav-cta {
  background: var(--red);
  color: var(--white);
  margin-left: 0.5rem;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--red-dark); }

/* Header actions (lang switcher + hamburger wrapper) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.lang-link {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: color var(--transition);
}

.lang-link:hover {
  color: var(--white);
}

.lang-link.is-active {
  color: var(--red);
}

.lang-divider {
  color: rgba(255,255,255,0.2);
  font-size: 0.75rem;
  user-select: none;
}

/* Mobile menu lang switcher */
.mobile-lang-switcher {
  justify-content: center;
  margin-top: 2rem;
}

.mobile-lang-switcher .lang-link {
  font-size: 1.125rem;
}

.mobile-lang-switcher .lang-divider {
  font-size: 1rem;
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  z-index: 1100;
}

.hamburger-bar {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: transform var(--transition), opacity var(--transition);
  transform-origin: center;
}

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

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 900;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease-out);
  will-change: transform;
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  text-align: center;
}

.mobile-nav-link {
  display: block;
  font-size: clamp(1.75rem, 6vw, 2.5rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  color: rgba(255,255,255,0.6);
  padding: 0.25em 1em;
  transition: color var(--transition);
}

.mobile-nav-link:hover,
.mobile-nav-link.is-active {
  color: var(--red);
}

.mobile-overlay {
  position: fixed;
  inset: 0;
  z-index: 800;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}
.mobile-overlay.is-visible {
  opacity: 1;
  pointer-events: all;
}

/* ──────────────────────────────────────────────
   7. HERO SECTION
────────────────────────────────────────────── */
.section-hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-block: 0;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,12,12,0.95) 0%, rgba(12,12,12,0.55) 50%, rgba(12,12,12,0.25) 100%),
    linear-gradient(to right, rgba(12,12,12,0.6) 0%, transparent 60%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 2rem);
  padding-bottom: clamp(5rem, 12vw, 9rem);
}

.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2.75rem, 9vw, 7rem);
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: rgba(255,255,255,0.72);
  max-width: 48ch;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}
.hero-scroll-indicator:hover { color: var(--white); }

.scroll-line {
  display: block;
  width: 1px;
  height: 40px;
  background: currentColor;
  animation: scrollPulse 2s ease-in-out infinite;
}

.scroll-label {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50%       { opacity: 1;   transform: scaleY(1.15); }
}

/* ──────────────────────────────────────────────
   8. MISSION SECTION
────────────────────────────────────────────── */
.section-mission {
  background: var(--white);
}

.section-mission .section-header {
  margin-bottom: clamp(1.25rem, 2.8vw, 2.25rem);
}

.section-mission .section-title {
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.mission-intro {
  font-size: 1.0625rem;
  color: var(--grey-600);
  max-width: 68ch;
  margin-inline: auto;
  text-align: center;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}

.mission-pillars {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.mission-pillar {
  background: var(--grey-100);
  border-top: 3px solid var(--red);
  border-radius: 4px;
  padding: clamp(1.75rem, 4vw, 2.5rem);
}

.mission-pillar-location {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.mission-pillar-role {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 1rem;
}

.mission-pillar p {
  font-size: 0.9375rem;
  color: var(--grey-600);
  max-width: 52ch;
}

/* ──────────────────────────────────────────────
   9. ECOSYSTEM SECTION
────────────────────────────────────────────── */
.section-ecosystem {
  background: var(--black);
}

.section-ecosystem .section-title {
  font-style: normal;
  text-transform: uppercase;
}

/* Dark-bg overrides for product cards */
.section-ecosystem .product-name         { color: var(--white); }
.section-ecosystem .product-hero-text p  { color: rgba(255,255,255,0.65); }
.section-ecosystem .product-main-img     { box-shadow: 0 24px 60px rgba(0,0,0,0.5); }

.section-ecosystem .product-specs {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.1);
}

.section-ecosystem .product-specs li        { background: transparent; }
.section-ecosystem .product-specs li span   { color: rgba(255,255,255,0.45); }
.section-ecosystem .product-specs li strong { color: var(--white); }

/* Product hero (shared layout) */
.product-hero {
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.product-hero-images {
  position: relative;
}

.product-main-img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0,0,0,0.12);
}

.product-field-img {
  display: none;
}

.product-tag {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  display: block;
  margin-bottom: 0.75rem;
}

.product-name {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 700;
  font-style: italic;
  color: var(--black);
  margin-bottom: 1rem;
}

.product-hero-text p {
  font-size: 1.0625rem;
  color: var(--grey-600);
  margin-bottom: 2rem;
}

.product-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--grey-200);
  border: 1px solid var(--grey-200);
  border-radius: 6px;
  overflow: hidden;
}

.product-specs li {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  background: var(--white);
  padding: 1rem 1.25rem;
}

.product-specs li span {
  font-size: 0.75rem;
  color: var(--grey-400);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.product-specs li strong {
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--black);
}

/* Ecosystem slider */
.ecosystem-slider {
  position: relative;
  overflow: hidden;
}

.ecosystem-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.ecosystem-slide {
  flex: 0 0 100%;
  width: 100%;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.slider-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.25);
  background: transparent;
  color: rgba(255,255,255,0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
  flex-shrink: 0;
}

.slider-btn:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition), transform var(--transition);
}

.slider-dot.is-active {
  background: var(--red);
  transform: scale(1.35);
}

/* ──────────────────────────────────────────────
   9. PRODUCTION SECTION
────────────────────────────────────────────── */
.section-production {
  background: var(--black);
}

.section-production .section-title {
  color: var(--white);
}

.section-production .section-intro {
  color: rgba(255,255,255,0.6);
}

.production-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 5rem);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 0.5rem;
}

.gallery-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
}

.gallery-img--tall {
  grid-row: span 2;
  height: 100%;
}

.gallery-img--wide {
  grid-column: span 2;
}

.production-module-card {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.production-module-icon {
  flex-shrink: 0;
  width: 64px;
}

.production-module-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: invert(1);
}

.production-module-card h3 {
  color: var(--white);
  margin-bottom: 0.5rem;
}

.production-module-card p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
}

.production-steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.production-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--red);
  border: 1px solid var(--red);
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 3px;
  letter-spacing: 0.05em;
}

.production-step h4 {
  color: var(--white);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.production-step p {
  color: rgba(255,255,255,0.6);
  font-size: 0.9375rem;
}

/* ──────────────────────────────────────────────
   10. ROADMAP SECTION
────────────────────────────────────────────── */
.section-roadmap {
  background: var(--grey-100);
}

.roadmap-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.roadmap-timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 113px;
  width: 2px;
  background: linear-gradient(to bottom, var(--red), var(--grey-200));
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 1.5rem;
  padding-bottom: clamp(2rem, 5vw, 3.5rem);
}

.timeline-marker {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  position: relative;
  z-index: 1;
}

.timeline-year {
  flex: 1;
  text-align: right;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--grey-400);
}

.timeline-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--grey-200);
  border: 2px solid var(--grey-400);
  flex-shrink: 0;
}

.timeline-item--done   .timeline-dot { background: var(--red);   border-color: var(--red); }
.timeline-item--active .timeline-dot { background: var(--red);   border-color: var(--red); box-shadow: 0 0 0 4px rgba(207,75,60,0.2); }

.timeline-content {
  padding-bottom: 0;
}

.timeline-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.2em 0.6em;
  border-radius: 2px;
  background: var(--grey-200);
  color: var(--grey-600);
  margin-bottom: 0.75rem;
}

.timeline-badge--active   { background: rgba(207,75,60,0.12); color: var(--red); }
.timeline-badge--upcoming { background: rgba(12,12,12,0.06);  color: var(--grey-400); }

.timeline-content h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--black);
  margin-bottom: 0.5rem;
}

.timeline-content p {
  font-size: 0.9375rem;
  color: var(--grey-600);
  max-width: 56ch;
}

.timeline-img {
  margin-top: 1rem;
  border-radius: 6px;
  overflow: hidden;
  max-width: 480px;
}

.timeline-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.timeline-item--upcoming .timeline-content h3,
.timeline-item--upcoming .timeline-content p {
  opacity: 0.6;
}

/* ──────────────────────────────────────────────
   11. SUPPORTED BY
────────────────────────────────────────────── */
.section-partners {
  background: var(--black);
}

.section-partners .section-title {
  font-style: normal;
  text-transform: uppercase;
}

.section-impressions {
  background: var(--white);
}

.section-impressions .section-title {
  font-style: normal;
  text-transform: uppercase;
}

.supporters-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  max-width: 780px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 7vw, 5rem);
}

.supporter-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  border: 1px solid var(--grey-200);
  border-radius: 8px;
  padding: 2rem 1.5rem 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.supporter-card:hover {
  border-color: var(--red);
  box-shadow: 0 4px 20px rgba(207,75,60,0.08);
}

.supporter-logo {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.supporter-logo img {
  max-height: 64px;
  width: 100%;
  max-width: 200px;
  object-fit: contain;
}

.supporter-card p {
  font-size: 0.875rem;
  color: var(--grey-600);
  line-height: 1.4;
}

/* Team */
.team-title {
  font-size: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--black);
}

.team-photos {
  display: grid;
  gap: 1rem;
}

.team-photo {
  border-radius: 8px;
  overflow: hidden;
}

.team-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  transition: transform 0.5s var(--ease-out);
}

.team-photo:hover img { transform: scale(1.03); }

.team-photo figcaption {
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: var(--grey-400);
  background: var(--grey-100);
}

/* ──────────────────────────────────────────────
   12. CONTACT SECTION
────────────────────────────────────────────── */
.section-contact {
  background: var(--black);
}

.contact-layout {
  display: grid;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-text .section-eyebrow {
  color: var(--red);
}

.contact-text .section-title {
  color: var(--white);
  text-align: left;
  font-size: clamp(2rem, 5vw, 3rem);
  font-style: normal;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.contact-text > p {
  color: rgba(255,255,255,0.6);
  font-size: 1.0625rem;
  max-width: 48ch;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.contact-detail-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
}

.contact-detail a,
.contact-detail span {
  color: rgba(255,255,255,0.8);
  font-size: 0.9375rem;
  transition: color var(--transition);
}

.contact-detail a:hover { color: var(--white); }

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.8);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-image {
  border-radius: 8px;
  overflow: hidden;
  max-width: 480px;
}

.contact-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center 35%;
}

/* Form */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.form-group label span { color: var(--red); }

.form-group input,
.form-group textarea {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 300;
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 4px;
  padding: 0.75em 1em;
  outline: none;
  transition: border-color var(--transition), background var(--transition);
  width: 100%;
  resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--red);
  background: rgba(255,255,255,0.08);
}

.form-group input.has-error,
.form-group textarea.has-error {
  border-color: var(--red);
}

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  min-height: 1.2em;
}

.form-status {
  text-align: center;
  font-size: 0.9375rem;
  padding: 0.75rem;
  border-radius: 4px;
  min-height: 0;
  transition: all var(--transition);
}

.form-status.is-success {
  background: rgba(34,197,94,0.1);
  color: #4ade80;
  border: 1px solid rgba(34,197,94,0.2);
}

.form-status.is-error {
  background: rgba(207,75,60,0.1);
  color: var(--red);
  border: 1px solid rgba(207,75,60,0.2);
}

/* Checkbox */
.form-group-checkbox {
  gap: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.checkbox-custom {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 3px;
  background: rgba(255,255,255,0.06);
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), background var(--transition);
}

.checkbox-custom::after {
  content: '';
  display: block;
  width: 5px;
  height: 9px;
  border: 2px solid transparent;
  border-top: none;
  border-left: none;
  transform: rotate(45deg) translateY(-1px);
  transition: border-color 0.15s;
}

.checkbox-label input:checked ~ .checkbox-custom {
  background: var(--red);
  border-color: var(--red);
}

.checkbox-label input:checked ~ .checkbox-custom::after {
  border-color: var(--white);
}

.checkbox-label input:focus-visible ~ .checkbox-custom {
  outline: 2px solid var(--red);
  outline-offset: 2px;
}

.checkbox-label.has-error .checkbox-custom {
  border-color: var(--red);
}

.checkbox-text {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.checkbox-text a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--transition);
}

.checkbox-text a:hover { color: var(--red); }

/* ──────────────────────────────────────────────
   13. SITE FOOTER
────────────────────────────────────────────── */
.site-footer {
  background: #060606;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer-inner {
  max-width: var(--container);
  margin-inline: auto;
  padding: clamp(2.5rem, 6vw, 4rem) var(--gutter);
  display: grid;
  gap: 2.5rem;
}

.footer-brand img {
  height: 28px;
  width: auto;
  margin-bottom: 1rem;
}

.footer-tagline {
  font-size: 0.9375rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.6;
}

.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  transition: color var(--transition);
}

.footer-nav a:hover { color: var(--white); }

.footer-contact p,
.footer-contact a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  display: block;
  transition: color var(--transition);
}

.footer-contact a:hover { color: var(--white); }

.footer-bottom {
  max-width: var(--container);
  margin-inline: auto;
  padding: 1.25rem var(--gutter);
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.25);
}

.footer-legal {
  display: flex;
  gap: 1.5rem;
}

.footer-legal a {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal a:hover { color: var(--white); }

/* ──────────────────────────────────────────────
   14. SCROLL ANIMATIONS
────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ──────────────────────────────────────────────
   15. RESPONSIVE — TABLET (≥ 640px)
────────────────────────────────────────────── */
@media (min-width: 640px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .supporters-grid {
    grid-template-columns: repeat(3, 1fr);
    max-width: 780px;
  }

  .team-photos {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-img { height: 240px; }
}

/* ──────────────────────────────────────────────
   16. RESPONSIVE — DESKTOP (≥ 900px)
────────────────────────────────────────────── */
@media (min-width: 900px) {

  /* Header: show desktop nav, hide hamburger */
  .site-nav    { display: block; }
  .hamburger   { display: none; }
  .mobile-menu { display: none !important; }

  /* Product hero: 2-col */
  .product-hero {
    grid-template-columns: 1fr 1fr;
  }

  .product-field-img {
    display: block;
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    width: 55%;
    border-radius: 6px;
    box-shadow: 0 16px 48px rgba(0,0,0,0.18);
    border: 4px solid var(--white);
  }

  .product-hero-images {
    padding-bottom: 1.5rem;
    padding-right: 1.5rem;
  }

  /* Mission: 2-col pillars */
  .mission-pillars {
    grid-template-columns: 1fr 1fr;
  }

  /* Ecosystem: slide without field image gets no extra padding */
  .product-hero-images--single {
    padding-bottom: 0;
    padding-right: 0;
  }

  /* Production: 2-col */
  .production-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  .gallery-img { height: 220px; }

  /* Roadmap: line aligned to right edge of marker column */
  .roadmap-timeline::before { left: 137px; }

  .timeline-item {
    grid-template-columns: 144px 1fr;
  }

  /* Contact: 2-col */
  .contact-layout {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

  /* Footer: 2-col */
  .footer-inner {
    grid-template-columns: 2fr 1fr;
    align-items: start;
  }

  /* Footer-bottom: inline */
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }

  /* Supporters: 3-col stays, team: 3-col */
  .team-photos {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ──────────────────────────────────────────────
   17. RESPONSIVE — WIDE (≥ 1200px)
────────────────────────────────────────────── */
@media (min-width: 1200px) {
  .supporters-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ──────────────────────────────────────────────
   18. REDUCED MOTION
────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}

/* ──────────────────────────────────────────────
   19. LEGAL PAGES (Privacy Policy / Imprint)
────────────────────────────────────────────── */

/* Back-to-homepage button (replaces nav on legal pages) */
.header-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.75);
  border: 1px solid rgba(255,255,255,0.18);
  padding: 0.45rem 1rem;
  border-radius: 2px;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
  white-space: nowrap;
}

.header-back-btn:hover {
  color: var(--white);
  border-color: rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.06);
}

/* Hero banner */
.page-legal-hero {
  padding: calc(var(--header-h) + 4rem) 0 4rem;
  background: var(--black);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.page-legal-hero .section-eyebrow {
  color: var(--red);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.page-legal-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
}

.page-legal-meta {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: var(--grey-400);
}

/* White content body */
.page-legal-body {
  background: var(--white);
  padding: 4rem 0 5rem;
}

.page-legal-content {
  max-width: 780px;
  color: var(--grey-800);
}

/* Headings inside legal content */
.page-legal-content h2 {
  font-size: 1.375rem;
  font-weight: 700;
  font-style: italic;
  color: var(--black);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--red);
}

.page-legal-content h2:first-child {
  margin-top: 0;
}

.page-legal-content h3 {
  font-size: 1rem;
  font-weight: 500;
  color: var(--black);
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

/* Body text */
.page-legal-content p {
  margin-bottom: 1rem;
  line-height: 1.75;
}

.page-legal-content ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}

.page-legal-content ul li {
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.page-legal-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-legal-content a:hover {
  color: var(--red-dark);
}

.page-legal-content strong {
  font-weight: 500;
  color: var(--black);
}

/* Back button row */
.page-legal-back-wrap {
  margin-top: 3rem;
}

/* ──────────────────────────────────────────────
   20. WP ADMIN BAR OFFSET
────────────────────────────────────────────── */
.admin-bar .site-header {
  top: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }
}
