/* =====================================================================
   GOTAR — Processwear
   Editorial / manifesto landing. Off-white base, dark inverted sections.
   Type: Anton (display) + Inter (labels, buttons, text). Both SIL OFL: free, no licence needed.
   Fuentes libres (OFL) del GOTAR Design System v1.0; Druk y Neue Haas necesitan licencia.
   Brand color: #3366CC (electric blue)
   ===================================================================== */

/* --------------------------- Webfonts ----------------------------- */

/* ----------------------------- Tokens ----------------------------- */
:root {
  /* Paper & ink */
  --paper:        #F2EFE8;   /* warm off-white */
  --paper-2:      #EAE6DC;   /* slightly deeper panel */
  --ink:          #1A1A16;   /* near-black, matches logo #1d1d1b */
  --ink-soft:     #57564E;   /* muted body */
  --ink-faint:    #8A887E;   /* captions / labels */
  --hairline:     #D6D2C6;   /* borders on paper */

  /* Dark sections */
  --night:        #0E0E0C;   /* deep black */
  --night-2:      #15150F;
  --on-night:     #ECE9E0;   /* off-white text on night */
  --on-night-soft:#9C9A90;
  --hairline-dk:  #2A2A24;

  /* Brand blue — primary (#3366CC) */
  --navy:         #3366CC;   /* electric brand blue */
  --navy-soft:    #5C7FE0;   /* lighter tint for borders/soft accents */
  --navy-deep:    #1E3A8C;   /* deeper shade for gradients/contrast */

  /* Type */
  --display: "Anton", "Arial Narrow", sans-serif;
  --label:   "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
  --sans:    "Inter", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

  /* Rhythm */
  --section-y: clamp(6rem, 14vh, 11rem);
  --wrap:      1240px;
  --gutter:    clamp(1.5rem, 5vw, 5rem);

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

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

html {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
  /* very subtle dithered radial to give the paper depth */
  background-image:
    radial-gradient(120% 80% at 50% -10%, rgba(0,0,0,0.035), transparent 60%),
    radial-gradient(100% 60% at 50% 110%, rgba(0,0,0,0.03), transparent 55%);
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }

/* ----------------------------- Grain ------------------------------ */
/* Fixed organic noise overlay — almost imperceptible. */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-3%, 2%); }
  40%  { transform: translate(2%, -3%); }
  60%  { transform: translate(-2%, -2%); }
  80%  { transform: translate(3%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ----------------------------- Layout ----------------------------- */
.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.grid-2 {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 2fr);
  gap: clamp(2rem, 6vw, 7rem);
  align-items: start;
}

/* ----------------------------- Type utils ------------------------- */
.display { font-family: var(--display); font-weight: 400; letter-spacing: 0.005em; }

.kicker {
  font-family: var(--label);
  display: inline-block;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 500;
}

.label {
  font-family: var(--label);
  font-size: 0.9rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--ink);
}
.label--light { color: var(--on-night); }

.tag {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-faint);
  border: 1px solid var(--hairline);
  border-radius: 999px;
  padding: 0.3rem 0.7rem;
}
.tag--peak { color: var(--navy); border-color: var(--navy-soft); }

.num {
  font-size: clamp(2.4rem, 5vw, 4rem);
  line-height: 0.9;
  color: var(--ink);
  display: block;
}

.section__index { display: flex; flex-direction: column; gap: 0.6rem; position: sticky; top: 120px; }
@media (max-width: 820px) { .section__index { position: static; } }

.section__body { max-width: 60ch; }
.section__body p { margin-bottom: 1.1rem; color: var(--ink-soft); }
.lede { font-size: clamp(1.3rem, 2.6vw, 1.9rem); line-height: 1.4; color: var(--ink) !important; font-weight: 400; }
.section__title { font-size: clamp(1.8rem, 3.4vw, 2.8rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 1.6rem; }

/* ----------------------------- Buttons ---------------------------- */
.btn {
  font-family: var(--label);
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: 0 2rem;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500;
  border-radius: 2px;
  transition: background var(--ease) 280ms, color var(--ease) 280ms, border-color var(--ease) 280ms, transform var(--ease) 280ms;
}
.btn--solid { background: var(--ink); color: var(--paper); }
.btn--solid:hover { background: var(--navy); transform: translateY(-2px); }
.btn--ghost { border: 1px solid var(--hairline); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink); transform: translateY(-2px); }

/* ----------------------------- NAV -------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.4rem var(--gutter);
  transition: background var(--ease) 400ms, padding var(--ease) 400ms, border-color var(--ease) 400ms;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  border-bottom-color: var(--hairline);
  padding-block: 1rem;
}
.nav__wordmark {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: var(--sans); font-weight: 700; font-size: 1.15rem;
  color: var(--on-night); transition: color var(--ease) 300ms;
}
.nav__wordmark span { letter-spacing: 0.34em; padding-left: 0.06em; }
.nav__mark { width: 1.22rem; height: 1.45rem; color: currentColor; flex: none; }
.nav__links { display: flex; gap: clamp(1.1rem, 2.2vw, 2rem); }
.nav__links a, .gmenu__link {
  font-family: var(--label); font-weight: 500;
  font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night-soft);
  position: relative; transition: color var(--ease) 180ms;
}
.nav__links a::after, .gmenu__link::after {
  content: ""; position: absolute; left: 0; bottom: -4px; width: 0; height: 1px; background: currentColor;
  transition: width var(--ease) 200ms;
}
.nav__links a:hover, .gmenu__link:hover { color: var(--on-night); }
.nav__links a:hover::after, .gmenu__link:hover::after { width: 100%; }
@media (max-width: 767px) { .nav__links { display: none; } }

.lang { display: flex; align-items: center; gap: 0.5rem; }
.lang__btn {
  font-family: var(--label);
  font-size: 0.78rem; letter-spacing: 0.1em; font-weight: 500; color: var(--on-night-soft);
  transition: color var(--ease) 240ms;
}
.lang__btn.is-active { color: var(--on-night); }
.lang__sep { color: var(--on-night-soft); }

/* When scrolled past the dark hero, the nav sits on paper → dark text */
.nav.is-scrolled .nav__wordmark { color: var(--ink); }
.nav.is-scrolled .nav__links a, .nav.is-scrolled .gmenu__link { color: var(--ink-soft); }
.nav.is-scrolled .nav__links a:hover, .nav.is-scrolled .gmenu__link:hover { color: var(--navy); }
.nav.is-scrolled .lang__btn { color: var(--ink-faint); }
.nav.is-scrolled .lang__btn.is-active { color: var(--ink); }
.nav.is-scrolled .lang__sep { color: var(--ink-faint); }
.lang--footer .lang__btn { color: var(--on-night-soft); }
.lang--footer .lang__btn.is-active { color: var(--on-night); }
.lang--footer .lang__sep { color: var(--on-night-soft); }

/* ------------------------- MENÚ COMÚN GOTAR ------------------------
   Idéntico en gotar.es, tienda, tools, sinrepes y timesaver.
   Cabecera: .nav__right > [.nav__links .gmenu-divider] .gmenu .lang .gmenu-toggle
   Móvil (<768px): .gmenu-toggle abre #gmenu-panel (papel, Anton grande, ES/EN abajo).
   Estado activo: aria-current="page" → tinta + subrayado de 1px. */
.nav__right { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); }
.gmenu { display: flex; align-items: center; gap: clamp(1.1rem, 2.2vw, 2rem); }
.gmenu__link[aria-current="page"] { color: var(--on-night); }
.gmenu__link[aria-current="page"]::after { width: 100%; }
.nav.is-scrolled .gmenu__link[aria-current="page"] { color: var(--ink); }
.gmenu-divider { width: 1px; height: 14px; background: var(--on-night-soft); opacity: 0.6; }
.nav.is-scrolled .gmenu-divider { background: var(--ink-faint); }
.lang__btn:hover { color: var(--on-night); }
.nav.is-scrolled .lang__btn:hover { color: var(--navy); }

/* foco visible en todo el menú (contorno del color del texto: se ve sobre azul y sobre papel) */
.nav a:focus-visible, .nav button:focus-visible,
.gmenu-panel a:focus-visible, .gmenu-panel button:focus-visible,
.footer__eco a:focus-visible {
  outline: 2px solid currentColor; outline-offset: 4px; border-radius: 2px;
}

/* botón de menú: dos líneas, 44x44 */
.gmenu-toggle {
  display: none; position: relative; flex: none;
  width: 44px; height: 44px; margin-right: -11px;
  color: var(--on-night); transition: color var(--ease) 180ms;
}
.gmenu-toggle__bar {
  position: absolute; left: 11px; width: 22px; height: 1.5px; background: currentColor;
  transition: transform var(--ease) 200ms;
}
.gmenu-toggle__bar:first-child { top: 18px; }
.gmenu-toggle__bar:last-child { top: 25px; }
.gmenu-toggle[aria-expanded="true"] .gmenu-toggle__bar:first-child { transform: translateY(3.5px) rotate(45deg); }
.gmenu-toggle[aria-expanded="true"] .gmenu-toggle__bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }
.nav.is-scrolled .gmenu-toggle { color: var(--ink); }

@media (max-width: 767px) {
  .nav__right > .gmenu, .nav__right > .gmenu-divider, .nav__right > .lang { display: none; }
  .gmenu-toggle { display: block; }
}

/* panel móvil a pantalla completa */
.gmenu-panel {
  position: fixed; inset: 0; z-index: 999;
  display: flex; flex-direction: column; justify-content: space-between; gap: 2.5rem;
  padding: 6.5rem var(--gutter) calc(2rem + env(safe-area-inset-bottom, 0px));
  background: var(--paper); color: var(--ink);
  overflow-y: auto; overscroll-behavior: contain;
  opacity: 0; visibility: hidden;
  transition: opacity var(--ease) 200ms, visibility 0s linear 200ms;
}
.gmenu-panel.is-open { opacity: 1; visibility: visible; transition: opacity var(--ease) 200ms; }
@media (min-width: 768px) { .gmenu-panel { display: none; } }
.gmenu-panel__links { display: flex; flex-direction: column; align-items: flex-start; }
.gmenu-panel__links a {
  font-family: var(--display); font-weight: 400; text-transform: uppercase;
  font-size: clamp(2.5rem, 12vw, 4.2rem); line-height: 1.12; letter-spacing: 0.005em;
  color: var(--ink); transition: color var(--ease) 180ms;
}
.gmenu-panel__links a:hover { color: var(--navy); }
.gmenu-panel__links a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.14em;
}
.gmenu-panel__sep { width: 100%; height: 1px; background: var(--hairline); margin: 1.1rem 0; }
.lang--panel { gap: 0.25rem; border-top: 1px solid var(--hairline); padding-top: 1rem; }
.lang--panel .lang__btn {
  min-width: 44px; min-height: 44px; font-size: 0.9rem; color: var(--ink-faint);
}
.lang--panel .lang__btn.is-active { color: var(--ink); }
.lang--panel .lang__btn:hover { color: var(--navy); }
.lang--panel .lang__sep { color: var(--ink-faint); }

/* con el panel abierto la cabecera va en tinta sobre papel y la página no se desplaza */
html.gmenu-open { overflow: hidden; }
html.gmenu-open .nav {
  background: transparent; border-bottom-color: transparent;
  backdrop-filter: none; -webkit-backdrop-filter: none;
}
html.gmenu-open .nav__wordmark, html.gmenu-open .gmenu-toggle { color: var(--ink); }

/* pie: fila GOTAR · Tienda · Tools */
.footer__eco { display: flex; align-items: center; flex-wrap: wrap; gap: 0.5rem 0.9rem; }
.footer__eco a {
  font-family: var(--label); font-weight: 500; font-size: 0.74rem;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--on-night);
  transition: color var(--ease) 180ms;
}
.footer__eco a:hover { color: var(--navy-soft); }
.footer__eco a[aria-current="page"] {
  text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.3em;
}
.footer__eco-sep { color: var(--on-night-soft); }

@media (prefers-reduced-motion: reduce) {
  .gmenu-panel, .gmenu-panel.is-open, .gmenu-toggle__bar { transition: none; }
}

/* ----------------------------- HERO ------------------------------- */
/* Dithered navy gradient — the page emerges from deep water. */
.hero {
  min-height: 100vh; min-height: 100dvh;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  /* generous bottom padding reserves space for the absolute scroll cue
     so it never overlaps the centred content / CTAs */
  text-align: center; padding: 7rem var(--gutter) 9rem;
  position: relative;
  color: var(--on-night);
  overflow: hidden;
  /* brand background (electric royal-blue) + scrim so white text stays legible
     over the bright diagonal streak */
  background-image:
    radial-gradient(ellipse 100% 78% at 50% 48%, rgba(6,11,28,0.74) 0%, rgba(7,12,30,0.46) 58%, rgba(7,12,30,0.24) 100%),
    url("../assets/hero-bg.jpg");
  background-size: cover, cover;
  background-position: center, center;
  background-repeat: no-repeat;
}
/* gentle transition into the off-white section below */
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 22%;
  background: linear-gradient(to bottom, transparent, color-mix(in srgb, var(--paper) 78%, transparent));
  pointer-events: none; z-index: 1;
}
.hero__inner { position: relative; z-index: 2; max-width: 1000px; }
.hero__scroll { z-index: 2; }
.hero__mark {
  width: clamp(2.8rem, 4.4vw, 3.8rem); height: auto; color: var(--on-night);
  margin: 0 auto 1.8rem; display: block; opacity: 0.96;
}
.hero .kicker { margin-bottom: 1.8rem; color: var(--on-night-soft); }
.hero__title {
  font-size: clamp(3rem, 8vw, 6.25rem);
  line-height: 0.96;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.8rem;
  color: var(--on-night);
}
.hero__title .word { display: block; }
.hero__sub {
  font-size: clamp(1rem, 2vw, 1.35rem);
  color: var(--on-night-soft);
  max-width: 46ch; margin: 0 auto 2.2rem;
  line-height: 1.5;
}
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
/* hero buttons inverted for the dark panel */
.hero .btn--solid { background: var(--paper); color: var(--ink); }
.hero .btn--solid:hover { background: #fff; }
.hero .btn--ghost { border-color: rgba(236,233,224,0.35); color: var(--on-night); }
.hero .btn--ghost:hover { border-color: var(--on-night); }

.hero__scroll {
  position: absolute; bottom: 2.4rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.8rem;
  font-size: 0.62rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night-soft);
}
.hero__scroll-line { width: 1px; height: 48px; background: linear-gradient(var(--on-night-soft), transparent); animation: scrollPulse 2.6s var(--ease) infinite; }
@keyframes scrollPulse { 0%,100% { opacity: 0.3; transform: scaleY(0.7); } 50% { opacity: 1; transform: scaleY(1); } }
/* on short viewports there isn't room for the cue below the CTAs — hide it */
@media (max-height: 720px) { .hero__scroll { display: none; } }

/* ----------------------- SECTION 01 — INTRO ----------------------- */
.section--intro { border-top: 1px solid var(--hairline); }

/* ----------------------- SECTION 02 — ICEBERG --------------------- */
/* Dithered navy gradient (recreated in CSS) — reads as deep water:
   lighter steel-blue near the surface (top), deepening to dark navy below. */
.iceberg {
  color: var(--on-night);
  overflow: hidden;
  position: relative;
  background:
    radial-gradient(135% 80% at 80% 4%, rgba(120,158,235,0.42) 0%, rgba(70,110,200,0.18) 28%, transparent 56%),
    linear-gradient(176deg, #3366CC 0%, #2952A8 24%, #213F80 48%, #14264F 72%, #0A1530 100%);
}
/* dithered noise speckle over the gradient */
.iceberg::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='d'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23d)'/%3E%3C/svg%3E");
  opacity: 0.22;
  mix-blend-mode: overlay;
}
/* keep all section content above the noise layer */
.iceberg > * { position: relative; z-index: 2; }
.iceberg__index { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: clamp(2rem, 6vh, 4rem); }
.iceberg__index .num { color: var(--on-night); }

.iceberg__stage { position: relative; }

.iceberg__above { padding-bottom: 2.5rem; }
.iceberg__list { list-style: none; }
.iceberg__list--above {
  display: flex; gap: 2.5rem; flex-wrap: wrap; justify-content: center;
  font-size: clamp(0.9rem, 1.6vw, 1.15rem);
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--on-night-soft);
}

.iceberg__waterline {
  position: relative; height: 1px;
  background: linear-gradient(90deg, transparent, color-mix(in srgb, var(--on-night) 55%, transparent), transparent);
  margin-block: 1.5rem;
}
.iceberg__surface-label {
  position: absolute; right: var(--gutter); top: -1.6rem;
  font-size: 0.6rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--on-night-soft);
}
/* faint water glow below the line */
.iceberg__below {
  position: relative;
  padding-top: clamp(2.5rem, 8vh, 6rem);
  padding-bottom: clamp(2rem, 6vh, 4rem);
}
.iceberg__below::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--navy) 30%, transparent), transparent 75%);
  pointer-events: none;
}
.iceberg__list--below {
  position: relative;
  display: flex; flex-direction: column; align-items: center; gap: clamp(0.4rem, 2vh, 1.2rem);
  text-transform: uppercase;
  line-height: 0.98;
}
.iceberg__list--below li {
  font-size: clamp(2.2rem, 9vw, 7rem);
  color: color-mix(in srgb, var(--on-night) 92%, var(--navy));
}
/* progressively dim deeper words to feel submerged */
.iceberg__list--below li:nth-child(2) { color: color-mix(in srgb, var(--on-night) 80%, var(--navy)); }
.iceberg__list--below li:nth-child(3) { color: color-mix(in srgb, var(--on-night) 68%, var(--navy)); }
.iceberg__list--below li:nth-child(4) { color: color-mix(in srgb, var(--on-night) 56%, var(--navy)); }
.iceberg__list--below li:nth-child(5) { color: color-mix(in srgb, var(--on-night) 46%, var(--navy)); }
.iceberg__list--below li:nth-child(6) { color: color-mix(in srgb, var(--on-night) 38%, var(--navy)); }

.iceberg__message {
  text-align: center; margin-top: clamp(3rem, 8vh, 6rem);
  font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: var(--on-night-soft);
  letter-spacing: 0.01em; max-width: 40ch; margin-inline: auto;
}

/* ----------------------- SECTION 03 — CORE ------------------------ */
.section--core { border-top: 1px solid var(--hairline); }
.attrs {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.6rem 0; margin-top: 2.5rem;
  border-top: 1px solid var(--hairline);
}
.attrs li {
  flex: 1 1 46%;
  padding: 1rem 0; border-bottom: 1px solid var(--hairline);
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink);
}

/* ----------------------- SECTION 04 — PEAK ------------------------ */
/* Full-bleed editorial photo with a left→right scrim: solid behind the copy
   on the left, the photo revealed on the right (desktop). */
.section--peak {
  position: relative;
  border-top: 1px solid var(--hairline);
  overflow: hidden;
  min-height: clamp(640px, 94vh, 940px);
  display: flex; align-items: center;
  background: var(--paper-2) url("../assets/peak-bg.jpg") no-repeat;
  /* fit by height → the full photo shows on the right; left stays solid paper */
  background-size: auto 100%;
  background-position: right center;
}
.section--peak::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background: linear-gradient(to right,
    var(--paper-2) 0%,
    var(--paper-2) 30%,
    color-mix(in srgb, var(--paper-2) 80%, transparent) 46%,
    color-mix(in srgb, var(--paper-2) 32%, transparent) 62%,
    transparent 80%);
}
.section--peak .wrap { position: relative; z-index: 1; width: 100%; }
.peak__copy { max-width: 32rem; }
/* fix: the shared .section__index is sticky for the 2-col sections; here it is
   stacked above the title, so keep it in normal flow */
.peak__copy .section__index { position: static; }
.peak__title {
  font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.96; text-transform: uppercase;
  margin: 1.6rem 0 1.4rem; color: var(--navy);
}
.peak__copy p { color: var(--ink-soft); max-width: 36ch; font-size: 1.05rem; }
.attrs--peak { border-color: var(--navy-soft); }
.attrs--peak li { border-color: color-mix(in srgb, var(--navy) 30%, var(--hairline)); color: var(--navy); }

/* mobile: photo as a vertical reveal — solid top behind copy, image below */
@media (max-width: 900px) {
  .section--peak {
    min-height: auto; display: block;
    padding-bottom: clamp(300px, 56vh, 520px);
    /* taller than the section → vertical position actually has room to move */
    background-size: auto 132%;
    background-position: center 20%;
  }
  .section--peak::before {
    background: linear-gradient(to bottom,
      var(--paper-2) 0%,
      var(--paper-2) 44%,
      color-mix(in srgb, var(--paper-2) 45%, transparent) 68%,
      transparent 100%);
  }
  .peak__copy { max-width: none; }
}

/* ----------------------- SECTION 05 — MANIFESTO ------------------- */
.manifesto { background: var(--night); color: var(--on-night); }
.manifesto__index { display: flex; flex-direction: column; gap: 0.5rem; margin-bottom: clamp(2.5rem, 7vh, 5rem); }
.manifesto__index .num { color: var(--on-night); }
.manifesto__main {
  font-size: clamp(1.8rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  margin-bottom: clamp(2.5rem, 6vh, 4rem);
  color: var(--on-night);
}
.manifesto__main p + p { margin-top: 0.35em; }
/* the last two lines are the turn of the manifesto: set them apart */
.manifesto__main p:nth-child(5) { margin-top: 1.1em; }
.manifesto__secondary {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  line-height: 1; text-transform: uppercase;
  color: var(--navy-soft);
}

/* ----------------------- SECTION 06 — MOVEMENT -------------------- */
.movement { text-align: center; border-top: 1px solid var(--hairline); }
.movement .kicker { margin-bottom: 2rem; }
.movement__lead {
  font-size: clamp(2.4rem, 7vw, 6rem); line-height: 0.95; text-transform: uppercase;
  margin-bottom: 3rem;
}
.movement__lead span { display: block; }
.movement__nots, .movement__fors {
  display: flex; flex-direction: column; gap: 0.4rem; align-items: center;
  font-size: clamp(1rem, 2vw, 1.4rem); line-height: 1.4;
}
.movement__fors { color: var(--ink); font-weight: 500; margin-bottom: 1.6rem; }
.movement__nots { color: var(--ink-soft); }

/* ----------------------- CLOSING ---------------------------------- */
.closing { padding-block: clamp(7rem, 18vh, 14rem); text-align: center; }
.closing__line {
  font-size: clamp(1.6rem, 4vw, 3.4rem); line-height: 1.15; text-transform: uppercase;
  max-width: 24ch; margin-inline: auto; color: var(--ink);
}

/* ----------------------------- FOOTER ----------------------------- */
.footer { background: var(--night); color: var(--on-night); padding-top: clamp(4rem, 10vh, 7rem); }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr auto; gap: 2.5rem;
  padding-bottom: clamp(3rem, 8vh, 5rem); border-bottom: 1px solid var(--hairline-dk);
}
@media (max-width: 820px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
.footer__brand { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__wordmark { font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.9; letter-spacing: 0.02em; }
.footer__tag { color: var(--on-night-soft); font-size: 0.9rem; letter-spacing: 0.04em; }
.footer__col { display: flex; flex-direction: column; gap: 0.8rem; }
.footer__heading { font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--on-night-soft); margin-bottom: 0.4rem; }
.footer__col a { color: var(--on-night); font-size: 0.95rem; transition: opacity var(--ease) 240ms; opacity: 0.85; }
.footer__col a:hover { opacity: 1; }
.footer__emblem { color: var(--on-night); }
.footer__emblem .star {
  width: 50px; height: 64px; opacity: 0.7;
  transform-origin: 50% 39%; /* spin around the circle's centre, not the box */
  animation: spinStar 30s linear infinite;
}
@keyframes spinStar { to { transform: rotate(360deg); } }
.footer__base {
  display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap;
  padding-block: 1.8rem; font-size: 0.74rem; letter-spacing: 0.06em; color: var(--on-night-soft);
}

/* ===================================================================
   BRAND BIBLE SECTIONS — symbol, values, made, season, process,
   community. Same system: hairlines, uppercase labels, Anton.
   =================================================================== */
.section--symbol, .section--values, .section--made,
.section--season, .section--process, .section--community { border-top: 1px solid var(--hairline); }
.section--values, .section--season { background: var(--paper-2); }

/* one-liner set in Anton under a body column */
.section__body .statement {
  font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1.05; text-transform: uppercase;
  color: var(--ink); margin-top: 2.2rem; margin-bottom: 0;
}

/* tags sit in the flex column of the index: keep them at their own width */
.section__index .tag { align-self: flex-start; }

.symbol__mark { width: clamp(4.5rem, 9vw, 7.5rem); height: auto; color: var(--ink); margin-top: 2rem; }

/* definition rows: name left, line right, hairline between */
.rows { list-style: none; border-top: 1px solid var(--hairline); margin-top: 0.4rem; }
.rows__item {
  display: grid; grid-template-columns: minmax(8rem, 13rem) minmax(0, 1fr); gap: 0.4rem 1.5rem;
  padding: 1.1rem 0; border-bottom: 1px solid var(--hairline);
}
.rows__item dt, .rows__name {
  font-size: 0.82rem; letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500;
  color: var(--ink); padding-top: 0.25rem;
}
.rows__item dd, .rows__item > span:last-child { color: var(--ink-soft); }
.section__body .rows__close { color: var(--ink); font-size: 1.12rem; margin-top: 2rem; }

.section__body .quote {
  margin-top: 2.5rem; padding-left: 1.2rem; border-left: 2px solid var(--navy);
  color: var(--ink); font-size: 1.12rem;
}

.made__split { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-bottom: 2.8rem; }
.made__heading {
  font-size: 0.72rem; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  color: var(--ink-soft); margin-bottom: 0.8rem;
}
.section__body > .made__heading { margin-top: 2.6rem; }
.made__split .attrs { margin-top: 0; }
.attrs--single li { flex-basis: 100%; }
.attrs--muted li { color: var(--ink-soft); }

.season__title {
  font-size: clamp(2.4rem, 5vw, 4.6rem); line-height: 0.96; text-transform: uppercase;
  color: var(--navy); margin-bottom: 2.2rem;
}

.process__chain {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0.7rem 0;
  margin: 2rem 0 2.4rem;
  font-size: clamp(1rem, 1.8vw, 1.3rem); letter-spacing: 0.14em; text-transform: uppercase;
  font-weight: 500; color: var(--ink);
}
.process__chain li:not(:last-child)::after {
  content: "→"; content: "→" / ""; color: var(--navy); margin-inline: 0.9rem; letter-spacing: 0;
}
.process__text { max-width: 60ch; color: var(--ink-soft); margin-bottom: 2.4rem; }
.process__line {
  font-size: clamp(2.2rem, 6vw, 5rem); line-height: 0.95; text-transform: uppercase; color: var(--ink);
}

.section--community .btn { margin-top: 2.4rem; }

@media (max-width: 820px) {
  .grid-2 { grid-template-columns: minmax(0, 1fr); }
  .symbol__mark { width: 4rem; margin-top: 1rem; }
}
@media (max-width: 640px) {
  .rows__item { grid-template-columns: minmax(0, 1fr); }
  .made__split { grid-template-columns: minmax(0, 1fr); gap: 1.6rem; }
  .section--community .btn { width: 100%; }
  .manifesto__main p + p { margin-top: 0.6em; }
  .manifesto__main p:nth-child(5) { margin-top: 1.3em; }
}

/* ===================================================================
   RESPONSIVE REFINEMENTS — keep large condensed display headlines
   from overflowing/clipping on narrow screens.
   =================================================================== */
.hero__title,
.peak__title,
.movement__lead,
.manifesto__main,
.iceberg__list--below li,
.closing__line {
  overflow-wrap: break-word;
  word-break: normal;
}

@media (max-width: 640px) {
  :root { --section-y: clamp(4.5rem, 11vh, 7rem); --gutter: 1.25rem; }

  .hero {
    padding-inline: var(--gutter);
    /* portrait crop reads better on phones */
    background-image:
      radial-gradient(ellipse 130% 64% at 50% 46%, rgba(6,11,28,0.76) 0%, rgba(7,12,30,0.48) 60%, rgba(7,12,30,0.26) 100%),
      url("../assets/hero-bg-mobile.jpg");
  }
  .hero__title { font-size: clamp(2rem, 9vw, 3.6rem); line-height: 1.05; letter-spacing: -0.015em; }
  /* flow words naturally so lines fill width and never overflow (longest
     single word easily fits); avoids forcing an over-long phrase on one line */
  .hero__title .word { display: inline; }
  .peak__title, .movement__lead, .iceberg__list--below li, .manifesto__main, .closing__line { letter-spacing: -0.005em; }
  .hero__sub { font-size: 1.02rem; }
  .hero__cta { width: 100%; }
  .hero__cta .btn { flex: 1 1 100%; }

  .grid-2 { gap: 2.2rem; }
  .lede { font-size: 1.35rem; }

  .iceberg__list--above { gap: 1.2rem 1.8rem; }
  .iceberg__list--below li { font-size: clamp(2.2rem, 13vw, 3.6rem); }

  .peak__title { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .movement__lead { font-size: clamp(2.1rem, 11vw, 3.4rem); }
  .manifesto__main { font-size: clamp(1.7rem, 9vw, 2.6rem); max-width: none; }
  .closing__line { font-size: clamp(1.5rem, 8vw, 2.4rem); }

  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

/* ===================================================================
   MOTION — slow emergence (fade + blur reveal). Respects reduced-motion.
   =================================================================== */
/* Solo se oculta con JS (.js lo pone el <head>). Sin will-change fijo:
   con muchas piezas, cada una sería una capa de composición permanente. */
.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(10px);
  transition: opacity var(--slow) var(--ease), transform var(--slow) var(--ease), filter var(--slow) var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; filter: blur(0); }

/* stagger children lists that carry .reveal individually */
.iceberg__list--below li.reveal,
.iceberg__list--above li.reveal { transition-duration: 1300ms; }

/* Language soft-swap: words emerge from beneath the surface */
[data-i18n] { transition: opacity 420ms var(--ease), filter 420ms var(--ease); }
body.lang-swapping [data-i18n] { opacity: 0; filter: blur(6px); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .grain { animation: none; }
  .hero__scroll-line, .footer__emblem .star { animation: none; }
  .reveal, .js .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  [data-i18n] { transition: none; }
  body.lang-swapping [data-i18n] { opacity: 1; filter: none; }
}
