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

:root {
  --fg: #241910;
  --bg: #fefbf4;
  --surface: #f0ede6;
  --border: #dad4c5;
  --green: #0d7039;
  --brown: #a55b43;
  --light-green: #b0cb15;

  --clr-bg: #fefbf4;
  --clr-surface: #f0ede6;
  --clr-border: #dad4c5;
  --clr-accent: #0d7039;
  --clr-text: #241910;
  --clr-muted: #7a6e64;

  --font-sans: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  --font-display: 'Oswald', Georgia, 'Times New Roman', serif;

  --container-w: 1200px;
  --section-py: 8rem;
  --radius: 0.5rem;
  --transition: 0.35s ease;
}

html {
  scroll-behavior: auto;
  font-size: 16px;
}

/* Lenis owns smooth scroll — native must be auto */

body {
  background-color: var(--clr-bg);
  color: var(--clr-text);
  font-family: var(--font-sans);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ============================================================
   UTILITIES
   ============================================================ */
.container {
  width: min(var(--container-w), 100% - 3rem);
  margin-inline: auto;
}

.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  cursor: pointer;
  transition: background var(--transition), color var(--transition),
    border-color var(--transition), transform var(--transition);
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
  border-color: var(--clr-accent);
}

.btn--primary:hover {
  background: transparent;
  color: var(--clr-accent);
  transform: translateY(-2px);
}

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  z-index: 100;
  padding: 5px;
  background: rgba(0, 0, 0, 0.301);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--clr-border);
  transition: padding var(--transition);
}

.nav {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

/* Column 1 — logo (left) */
.nav__logo {
  grid-column: 1;
  justify-self: start;
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 0.08em;
  color: #fefbf4;
  overflow: hidden;
  max-width: 200px;
  transition: max-width 0.5s cubic-bezier(0.4, 0, 0.2, 1),
              opacity    0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__logo img {
  height: 80px;
  width: auto;
  display: block;
  transition: height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Column 2 — nav links (always centred in grid, no layout change on scroll) */
.nav__links {
  grid-column: 2;
  display: flex;
  gap: 2rem;
}

.nav__link {
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(254, 251, 244, 0.65);
  /* light — nav always on dark glass backdrop */
  transition: color var(--transition);
}

.nav__link--cta{
  position: absolute;
  right: calc((100% - var(--container-w)) / 2);
  padding: 0.5rem 3rem;
  border: 1.5px solid var(--clr-border);
  background: transparent;
  color: rgba(254, 251, 244, 0.65);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background var(--transition), border-color var(--transition),
    color var(--transition);

}

.nav__link:hover {
  color: #fefbf4;
}

/* Column 3 — toggle (right, desktop hidden) */
.nav__toggle {
  grid-column: 3;
  justify-self: end;
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--clr-text);
  transition: transform var(--transition), opacity var(--transition);
}

/* ============================================================
   HERO — CINEMATIC
   ============================================================ */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
}

/* ── Video background ──────────────────────────────────── */
.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -3;
  /* Own GPU compositing layer — prevents nearby animated elements
     (marquee ticker) from invalidating the video's composite layer */
  will-change: transform;
}

/* ── Gradient fallback (animates while video is absent) ── */
.hero__gradient {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 80% 60% at 20% 40%, rgba(60, 30, 10, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 70% 50% at 80% 70%, rgba(10, 25, 50, 0.85) 0%, transparent 65%),
    linear-gradient(135deg, #0d0c0a 0%, #0a0f1a 50%, #0a0a0a 100%);
  background-size: 400% 400%;
  animation: gradientShift 14s ease infinite alternate;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

/* Hide gradient once video is playing (JS adds .video-loaded to hero) */
.hero.video-loaded .hero__gradient {
  opacity: 0;
  transition: opacity 1.2s ease;
}

/* ── Overlay ────────────────────────────────────────────── */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.2) 40%,
      rgba(0, 0, 0, 0.65) 100%);
}

/* ── Ambient orbs ───────────────────────────────────────── */
.hero__orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.18;
  animation: orbDrift 20s ease-in-out infinite alternate;
}

.hero__orb--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #0d7039, transparent 70%);
  top: -10%;
  left: -8%;
  animation-duration: 22s;
}

.hero__orb--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #a55b43, transparent 70%);
  bottom: -15%;
  right: -5%;
  animation-duration: 28s;
  animation-delay: -8s;
}

.hero__orb--3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, #b0cb15, transparent 70%);
  top: 30%;
  left: 50%;
  animation-duration: 18s;
  animation-delay: -4s;
}

@keyframes orbDrift {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(40px, -30px) scale(1.08);
  }

  100% {
    transform: translate(-20px, 20px) scale(0.95);
  }
}

/* ── Parallax wrapper ───────────────────────────────────── */
.hero__parallax {
  position: relative;
  z-index: 1;
  will-change: transform;
  padding-block: 12rem 6rem;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ── Text content ───────────────────────────────────────── */
.hero__content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1.25rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: #b0cb15;
  /* light-green — visible on dark cinematic bg */
  opacity: 0;
  /* GSAP start state */
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 9vw, 8rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  display: flex;
  flex-direction: column;
}

.hero__title-line {
  display: block;
  overflow: hidden;
  color: #fefbf4;
  /* explicit light — cinematic dark bg */
  opacity: 0;
  /* GSAP start state */
  transform: translateY(60px);
}

.hero__title-line--accent {
  color: #b0cb15;
  transform: translateX(100px);
}

/* light-green accent on dark */

.hero__sub {
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-style: italic;
  color: rgba(254, 251, 244, 0.75);
  letter-spacing: 0.04em;
  opacity: 0;
  transform: translateY(20px);
  transform: translateX(100px);
}

.hero__cta {
  opacity: 0;
  transform: translateY(16px);
}

/* ── Company cards ──────────────────────────────────────── */
.hero__companies {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.company-card {
  /* glassmorphism */
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px) saturate(120%);
  -webkit-backdrop-filter: blur(16px) saturate(120%);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 1rem;
  padding: 1.75rem 1.5rem;

  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  cursor: pointer;
  text-decoration: none;
  color: #fefbf4;
  /* explicit light — dark glass backdrop */

  opacity: 0;
  /* GSAP start state */
  transform: translateY(40px);

  transition:
    background 0.4s ease,
    border-color 0.4s ease,
    box-shadow 0.4s ease,
    transform 0.4s ease;
  will-change: transform;
}

.company-card:hover {
  background: rgba(13, 112, 57, 0.18);
  border-color: rgba(176, 203, 21, 0.5);
  box-shadow: 0 8px 40px rgba(13, 112, 57, 0.2), 0 0 0 1px rgba(176, 203, 21, 0.2) inset;
  transform: translateY(-6px) scale(1.02) !important;
  /* override GSAP float */
}


.company-card__icon{
  height: 250px;
  width: auto;
}

/* ── Scroll hint ────────────────────────────────────────── */
.hero__scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0;
  /* GSAP fades in */
}

.hero__scroll-label {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--clr-muted);
}

.hero__scroll-line {
  display: block;
  width: 1px;
  height: 56px;
  background: linear-gradient(to bottom, var(--clr-accent), transparent);
  transform-origin: top;
  transform: scaleY(0);
  animation: scrollLine 2s ease infinite;
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 1;
  }

  60% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 0;
  }
}

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero__companies {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 520px) {
  .hero__companies {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .company-card {
    padding: 1.25rem 1rem;
  }

  .company-card__name {
    font-size: 0.88rem;
  }
}

/* ============================================================
   HERO → ABOUT SCROLL TRANSITION
   ============================================================ */

/* ── ① Fog: always blurred, opacity scrubbed by GSAP ─────── */
.hero__fog {
  position: absolute;
  inset: 0;
  z-index: 8;
  /* above orbs, below scroll-hint */
  backdrop-filter: blur(22px) saturate(80%);
  -webkit-backdrop-filter: blur(22px) saturate(80%);
  background: rgba(0, 0, 0, 0.35);
  opacity: 0;
  /* GSAP drives this */
  pointer-events: none;
  will-change: opacity;
}

/* ── ② Glass exit panel: fixed, rises from viewport bottom ── */
.hero__glass-exit {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 38vh;
  z-index: 60;
  /* above site-header (100 would obscure nav) */
  pointer-events: none;

  /* layered glass */
  background: linear-gradient(to top,
      rgba(255, 255, 255, 0.07) 0%,
      rgba(255, 255, 255, 0.025) 55%,
      transparent 100%);
  backdrop-filter: blur(18px) saturate(120%);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  /* GSAP start state */
  transform: translateY(100%);
  opacity: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 2.25rem;
  gap: 0.6rem;

  will-change: transform, opacity;
}

/* animated shimmer sweep across glass surface */
.hero__glass-exit__shine {
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg,
      transparent 30%,
      rgba(255, 255, 255, 0.04) 50%,
      transparent 70%);
  background-size: 200% 100%;
  animation: glassShine 3.5s ease-in-out infinite;
  pointer-events: none;
}

@keyframes glassShine {
  0% {
    background-position: -100% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.hero__glass-exit__arrow {
  position: relative;
  font-size: 1.1rem;
  color: rgba(176, 203, 21, 0.85);
  animation: arrowBounce 1.6s ease-in-out infinite;
  letter-spacing: 0.1em;
}

@keyframes arrowBounce {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(6px);
  }
}

/* ── ③ About glass card ──────────────────────────────────── */
.glass-card {
  background: rgba(254, 251, 244, 0.72);
  backdrop-filter: blur(20px) saturate(140%);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  border: 1px solid rgba(36, 25, 16, 0.1);
  border-radius: 1.25rem;
  padding: 3rem 3.5rem;

  /* GSAP start state */
  opacity: 0;
  transform: translateY(50px);

  will-change: opacity, transform;
}

@media (max-width: 600px) {
  .glass-card {
    padding: 2rem 1.5rem;
    border-radius: 0.875rem;
  }

  .hero__glass-exit {
    height: 28vh;
  }
}

/* ============================================================
   SECTIONS (shared)
   ============================================================ */
.section {
  padding-block: var(--section-py);
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 3rem);
  margin-bottom: 1rem;
  color: var(--clr-text);
}

.section__body {
  max-width: 65ch;
  color: var(--clr-muted);
  font-size: 1.1rem;
}

/* Alternate section backgrounds */
.about {
  background: var(--clr-surface);
}

.stats {
  background: var(--clr-bg);
}

.news {
  background: var(--clr-bg);
}

.partners {
  background: var(--clr-surface);
  padding: 2rem;
}

/* ============================================================
   STATS
   ============================================================ */
.stats {
  padding-block: 6rem;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

/* ── Single stat item ─────────────────────────────────────── */
.stat-item {
  padding: 2.5rem 2.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  /* GSAP start state */
  opacity: 0;
  transform: translateY(24px);

  /* vertical separator between columns */
  border-left: 1px solid var(--clr-border);
}

.stat-item:first-child {
  border-left: none;
}

/* hover lift */
.stat-item {
  transition: background 0.3s ease;
  border-radius: 0.5rem;
}

.stat-item:hover {
  background: rgba(13, 112, 57, 0.05);
}

/* ── Number ───────────────────────────────────────────────── */
.stat__value {
  display: flex;
  align-items: baseline;
  gap: 0.1em;
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat__number {
  font-family: var(--font-display);
  font-size: clamp(3rem, 5.5vw, 5.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--clr-text);

  /* smooth number swap — prevents layout shift on wider digits */
  font-variant-numeric: tabular-nums;
}

.stat__suffix {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.5rem);
  font-weight: 600;
  color: var(--clr-accent);
  line-height: 1;
  margin-left: 0.05em;
}

/* ── Labels ───────────────────────────────────────────────── */
.stat__label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  order: -1;
  /* sits above the number */
}

.stat__description {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.5;
  margin-top: 0.25rem;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(odd) {
    border-left: none;
  }

  .stat-item:nth-child(n+3) {
    border-top: 1px solid var(--clr-border);
  }
}

@media (max-width: 480px) {
  .stats__grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    border-left: none !important;
    border-top: 1px solid var(--clr-border);
  }

  .stat-item:first-child {
    border-top: none;
  }

  .stat-item {
    padding: 2rem 0;
  }
}

/* ============================================================
   NEWS SLIDER
   ============================================================ */
.news {
  padding-block: var(--section-py);
  background: var(--clr-bg);
  overflow: hidden;
}

.news__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Prev / Next buttons */
.news__arrows {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.news__arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--clr-border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--clr-text);
  transition: background var(--transition), border-color var(--transition),
    color var(--transition);
}

.news__arrow:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
  color: #fefbf4;
}

/* Slider track */
.news__slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: 0.5rem;
}

.news__slider::-webkit-scrollbar {
  display: none;
}

/* ── News card ─────────────────────────────────────────── */
.news-card {
  flex: 0 0 min(360px, 85vw);
  scroll-snap-align: start;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: border-color var(--transition), transform var(--transition),
    box-shadow var(--transition);
}

.news-card:hover {
  border-color: var(--clr-accent);
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(13, 112, 57, 0.1);
}

/* Card image area — gradient by category when image absent */
.news-card__img {
  position: relative;
  height: 200px;
  overflow: hidden;
  background: var(--clr-border);
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.news-card:hover .news-card__img img {
  transform: scale(1.06);
}

/* Fallback gradients per category */
.news-card[data-category="empresa"] .news-card__img {
  background: linear-gradient(135deg, #0d7039 0%, #241910 100%);
}

.news-card[data-category="parceria"] .news-card__img {
  background: linear-gradient(135deg, #a55b43 0%, #241910 100%);
}

.news-card[data-category="premio"] .news-card__img {
  background: linear-gradient(135deg, #b0cb15 0%, #0d7039 100%);
}

.news-card[data-category="produto"] .news-card__img {
  background: linear-gradient(135deg, #0d7039 0%, #b0cb15 100%);
}

.news-card[data-category="evento"] .news-card__img {
  background: linear-gradient(135deg, #a55b43 0%, #b0cb15 100%);
}

/* Category badge */
.news-card__badge {
  position: absolute;
  top: 0.9rem;
  left: 0.9rem;
  background: var(--clr-accent);
  color: #fefbf4;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

/* Card text body */
.news-card__body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
}

.news-card__date {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  color: var(--clr-muted);
}

.news-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--clr-text);
}

.news-card__summary {
  font-size: 0.875rem;
  color: var(--clr-muted);
  line-height: 1.6;
  flex: 1;
}

.news-card__read {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-accent);
  transition: gap var(--transition);
}

.news-card:hover .news-card__read {
  gap: 0.7rem;
}

/* ============================================================
   NEWS MODAL
   ============================================================ */
.news-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(36, 25, 16, 0.55);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);

  /* GSAP start state */
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.news-modal-backdrop.is-open {
  pointer-events: auto;
}

.news-modal {
  position: absolute;
  inset-block: 0;
  right: 0;
  width: min(620px, 100vw);
  background: var(--clr-bg);
  box-shadow: -24px 0 80px rgba(36, 25, 16, 0.18);
  display: flex;
  flex-direction: column;
  overflow: hidden;

  /* GSAP start state */
  transform: translateX(100%);
}

.news-modal__header {
  position: relative;
  height: 240px;
  flex-shrink: 0;
}

.news-modal__header-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-modal__header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(36, 25, 16, 0.7) 0%, transparent 60%);
}

.news-modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(254, 251, 244, 0.4);
  background: rgba(36, 25, 16, 0.3);
  backdrop-filter: blur(8px);
  color: #fefbf4;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition), border-color var(--transition);
  line-height: 1;
}

.news-modal__close:hover {
  background: var(--clr-accent);
  border-color: var(--clr-accent);
}

.news-modal__meta {
  position: absolute;
  bottom: 1rem;
  left: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.news-modal__badge {
  background: var(--clr-accent);
  color: #fefbf4;
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.3rem 0.7rem;
  border-radius: 2rem;
}

.news-modal__date {
  font-size: 0.75rem;
  color: rgba(254, 251, 244, 0.75);
  letter-spacing: 0.05em;
}

.news-modal__body {
  flex: 1;
  overflow-y: auto;
  padding: 2rem 2.5rem 3rem;
  overscroll-behavior: contain;
}

.news-modal__body::-webkit-scrollbar {
  width: 4px;
}

.news-modal__body::-webkit-scrollbar-track {
  background: var(--clr-border);
}

.news-modal__body::-webkit-scrollbar-thumb {
  background: var(--clr-accent);
  border-radius: 2px;
}

.news-modal__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--clr-text);
  margin-bottom: 1.5rem;
}

.news-modal__content {
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--clr-muted);
}

.news-modal__content p+p {
  margin-top: 1rem;
}

/* ============================================================
   PARTNERS  —  infinite marquee carousel
   ============================================================ */

/* Fade edges to hide the seam */
.partners__carousel {
  position: relative;
  overflow: hidden;
  cursor: default;
}

.partners__carousel::before,
.partners__carousel::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 8rem;
  z-index: 2;
  pointer-events: none;
}

.partners__carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--clr-surface), transparent);
}

.partners__carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--clr-surface), transparent);
}

.partners__track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  will-change: transform;
}

.partners__item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.partners__item img {
  max-height: 52px;
  width: auto;
  filter: grayscale(1) opacity(0.5);
  transition: filter 0.35s ease;
  user-select: none;
  pointer-events: none;
}

.partners__carousel:hover .partners__item img {
  filter: grayscale(0.3) opacity(0.75);
}

.partners__item:hover img {
  filter: none !important;
  opacity: 1 !important;
}

/* ============================================================
   FOOTER — contact form + brand
   ============================================================ */

/* ── Shell ────────────────────────────────────────────────── */
.site-footer {
  background: #241910;
  /* --fg: darkest brand color */
  color: rgba(254, 251, 244, 0.65);
  font-family: var(--font-sans);
}

/* ── Top section ──────────────────────────────────────────── */
.footer__top {
  padding-block: 6rem 5rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 5rem;
  align-items: start;
}

/* ── Brand column ─────────────────────────────────────────── */
.footer__logo {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fefbf4;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #b0cb15;
  margin-bottom: 1.25rem;
}

.footer__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: rgba(254, 251, 244, 0.5);
  max-width: 36ch;
  margin-bottom: 2rem;
}

/* Contact info list */
.footer__info {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.footer__info li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: rgba(254, 251, 244, 0.6);
}

.footer__info svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: #0d7039;
}

/* Footer nav links */
.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
}

.footer__nav-link {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(254, 251, 244, 0.4);
  transition: color var(--transition);
}

.footer__nav-link:hover {
  color: #b0cb15;
}

/* ── Form column ──────────────────────────────────────────── */
.footer__form-title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 600;
  color: #fefbf4;
  margin-bottom: 0.35rem;
  letter-spacing: -0.01em;
}

.footer__form-sub {
  font-size: 0.82rem;
  color: rgba(254, 251, 244, 0.4);
  margin-bottom: 2.25rem;
}

/* Form layout */
.footer-form {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

/* ── Floating-label field ─────────────────────────────────── */
.footer-field {
  position: relative;
}

/* the actual input / textarea */
.footer-field input,
.footer-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1.5px solid rgba(254, 251, 244, 0.18);
  padding: 1rem 0 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: #fefbf4;
  outline: none;
  resize: none;
  transition: border-color 0.3s ease;
}

.footer-field textarea {
  min-height: 90px;
}

/* remove browser autofill bg */
.footer-field input:-webkit-autofill,
.footer-field textarea:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 100px #241910 inset;
  -webkit-text-fill-color: #fefbf4;
}

/* floating label */
.footer-field label {
  position: absolute;
  left: 0;
  top: 1rem;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  color: rgba(254, 251, 244, 0.38);
  pointer-events: none;
  transform-origin: left top;
  transition: transform 0.25s ease, color 0.25s ease, font-size 0.25s ease;
}

/* float up when focused OR has content (placeholder=" " trick) */
.footer-field input:focus~label,
.footer-field input:not(:placeholder-shown)~label,
.footer-field textarea:focus~label,
.footer-field textarea:not(:placeholder-shown)~label {
  transform: translateY(-1.15rem) scale(0.78);
  color: #b0cb15;
}

/* animated bottom border line */
.footer-field__line {
  display: block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--clr-accent);
  /* green */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.footer-field input:focus~.footer-field__line,
.footer-field textarea:focus~.footer-field__line {
  transform: scaleX(1);
}

/* ── Submit button ────────────────────────────────────────── */
.footer-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  align-self: flex-start;
  padding: 0.85rem 2.25rem;
  border: 1.5px solid rgba(254, 251, 244, 0.25);
  border-radius: var(--radius);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fefbf4;
  transition: border-color 0.3s ease, color 0.3s ease;
}

/* fill that slides in from left on hover */
.footer-btn__fill {
  position: absolute;
  inset: 0;
  background: var(--clr-accent);
  transform: translateX(-101%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-btn:hover .footer-btn__fill {
  transform: translateX(0);
}

.footer-btn:hover {
  border-color: var(--clr-accent);
}

.footer-btn__label,
.footer-btn__arrow {
  position: relative;
  z-index: 1;
}

.footer-btn__arrow {
  transition: transform 0.3s ease;
}

.footer-btn:hover .footer-btn__arrow {
  transform: translateX(4px);
}

/* spinner (shown during loading state) */
.footer-btn__spinner {
  position: absolute;
  right: 1.1rem;
  top: 50%;
  translate: 0 -50%;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(254, 251, 244, 0.3);
  border-top-color: #fefbf4;
  border-radius: 50%;
  opacity: 0;
  animation: footerSpin 0.7s linear infinite;
}

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

/* states controlled by JS */
.footer-btn.is-loading .footer-btn__label,
.footer-btn.is-loading .footer-btn__arrow {
  opacity: 0;
}

.footer-btn.is-loading .footer-btn__spinner {
  opacity: 1;
}

.footer-btn.is-loading {
  pointer-events: none;
}

/* ── Feedback message ─────────────────────────────────────── */
.footer-form__feedback {
  font-size: 0.85rem;
  min-height: 1.4em;
  opacity: 0;
  transform: translateY(6px);
}

.footer-form__feedback.is-success {
  color: #b0cb15;
}

.footer-form__feedback.is-error {
  color: #e05555;
}

/* ── Bottom bar ───────────────────────────────────────────── */
.footer__bottom {
  border-top: 1px solid rgba(254, 251, 244, 0.07);
  padding-block: 1.5rem;
}

.footer__bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__copy,
.footer__made {
  font-size: 0.78rem;
  color: rgba(254, 251, 244, 0.28);
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__top {
    padding-block: 4rem 3.5rem;
  }
}

@media (max-width: 520px) {
  .footer__form-title {
    font-size: 1.35rem;
  }

  .footer-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ============================================================
   SERVICES PARALLAX
   ============================================================ */

/* ── Section wrapper: no padding, panels fill full height ─── */
.services {
  counter-reset: service-counter;
}

/* ── Single panel ─────────────────────────────────────────── */
.service-panel {
  position: relative;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  counter-increment: service-counter;
}

/* large ghost counter in the corner */
.service-panel::after {
  content: "0" counter(service-counter);
  position: absolute;
  bottom: 1.5rem;
  right: 3rem;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 11rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: rgba(255, 255, 255, 0.04);
  pointer-events: none;
  user-select: none;
}

/* ── Parallax image ───────────────────────────────────────── */
.service-panel__img {
  position: absolute;
  width: 100%;
  height: 140%;
  /* oversized — GSAP moves it without revealing edge */
  top: -20%;
  /* centered vertically in the extra height */
  object-fit: cover;
  object-position: center;
  will-change: transform;
  z-index: 0;
  transition: opacity 0.4s ease;
  /* smooth hide when src fails */
}

/* ── Per-service CSS gradient fallback (shows when image absent) ── */
#service-consultoria {
  background:
    radial-gradient(ellipse 75% 55% at 25% 55%, rgba(28, 72, 22, 0.9) 0%, transparent 65%),
    radial-gradient(ellipse 60% 70% at 80% 30%, rgba(10, 40, 10, 0.7) 0%, transparent 65%),
    linear-gradient(150deg, #080f07 0%, #0f2009 50%, #0a1408 100%);
}

#service-logistica {
  background:
    radial-gradient(ellipse 70% 60% at 70% 45%, rgba(15, 45, 100, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 55% 65% at 20% 65%, rgba(8, 22, 55, 0.8) 0%, transparent 60%),
    linear-gradient(150deg, #06090f 0%, #0b1428 50%, #070a14 100%);
}

/* ── Directional overlay — frames the text block ─────────── */
.service-panel__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(100deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.55) 38%,
      rgba(0, 0, 0, 0.08) 70%,
      transparent 100%);
}

.service-panel--reverse .service-panel__overlay {
  background: linear-gradient(-100deg,
      rgba(0, 0, 0, 0.88) 0%,
      rgba(0, 0, 0, 0.55) 38%,
      rgba(0, 0, 0, 0.08) 70%,
      transparent 100%);
}

/* thin accent line at the seam between panels */
.service-panel+.service-panel::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right,
      transparent,
      rgba(13, 112, 57, 0.4) 30%,
      rgba(13, 112, 57, 0.4) 70%,
      transparent);
  z-index: 5;
}

/* ── Text content ─────────────────────────────────────────── */
.service-panel__content {
  position: relative;
  z-index: 3;
  max-width: 540px;

  /* GSAP start state (slides from left) */
  opacity: 0;
  transform: translateX(-72px);
}

.service-panel--reverse .service-panel__content {
  margin-left: auto;
  transform: translateX(72px);
  /* slides from right */
}

.service-panel__eyebrow {
  font-size: 0.68rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 1.25rem;
}

.service-panel__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  line-height: 1.0;
  letter-spacing: -0.025em;
  color: #fefbf4;
  /* explicit light — dark cinematic overlay */
  margin-bottom: 1.5rem;
}

.service-panel__body {
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(254, 251, 244, 0.72);
  max-width: 44ch;
  margin-bottom: 2.5rem;
}

.service-panel__cta {
  /* inherits .btn .btn--primary — nothing extra needed */
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .service-panel {
    height: auto;
    min-height: 100svh;
    padding-block: 9rem 5rem;
    align-items: flex-end;
    /* text sits at the bottom on mobile */
  }

  /* full overlay on mobile — readability over atmosphere */
  .service-panel__overlay,
  .service-panel--reverse .service-panel__overlay {
    background: linear-gradient(to top,
        rgba(0, 0, 0, 0.92) 0%,
        rgba(0, 0, 0, 0.55) 55%,
        rgba(0, 0, 0, 0.15) 100%);
  }

  .service-panel__content,
  .service-panel--reverse .service-panel__content {
    margin-left: 0;
    max-width: 100%;
  }

  .service-panel::after {
    display: none;
  }
}


/* ============================================================
   MARQUEE / INFINITE CAROUSEL
   ============================================================ */

/* ── Section wrapper ──────────────────────────────────────── */
.marquee-section {
  padding-block: 0;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  overflow: hidden;
  background: var(--clr-bg);
}

/* ── Single row ───────────────────────────────────────────── */
.marquee {
  position: relative;
  overflow: hidden;
  padding-block: 0.85rem;
  /* Soft fade masks at both edges */
  -webkit-mask-image: linear-gradient(to right,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%);
  mask-image: linear-gradient(to right,
      transparent 0%,
      black 12%,
      black 88%,
      transparent 100%);
}

/* top/bottom hairline between rows */
.marquee+.marquee {
  border-top: 1px solid var(--clr-border);
}

/* ── Track: holds two identical lists end-to-end ─────────── */
/* Position is driven entirely by JS (GSAP ticker).           */
.marquee__track {
  display: flex;
  width: max-content;
  will-change: transform;
}

/* ── List ─────────────────────────────────────────────────── */
.marquee__list {
  display: flex;
  flex-shrink: 0;
  /* never wrap — the whole effect relies on single line */
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

/* ── Item ─────────────────────────────────────────────────── */
.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: 1.1rem;
  padding-inline: 2rem;

  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--clr-muted);

  white-space: nowrap;
  transition: color 0.25s ease;
}

.marquee__item:hover {
  color: var(--clr-text);
}

/* ── Separator glyph ──────────────────────────────────────── */
.marquee__sep {
  font-size: 0.4rem;
  color: var(--clr-accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ── Accent row: slightly different colour palette ───────── */
.marquee--accent .marquee__item {
  font-style: italic;
  color: rgba(13, 112, 57, 0.5);
}

.marquee--accent .marquee__item:hover {
  color: var(--clr-accent);
}

.marquee--accent .marquee__sep {
  color: var(--clr-text);
  opacity: 0.2;
}

/* prefers-reduced-motion: JS sets speed to 0 on init */

/* ============================================================
   PRODUCTS STORY — pinned scroll storytelling
   ============================================================ */

/* Design tokens scoped to this section */
.products-story {
  --ps-font-head: 'Oswald', sans-serif;
  --ps-font-body: 'Montserrat', sans-serif;
  --ps-cream: #fefbf4;
  --ps-green: #0d7039;
  --ps-accent: #b0cb15;
  /* light-green */
  --ps-card-w: min(800px, 82vw);
  --ps-card-pad: clamp(1.75rem, 3vw, 2.75rem);
}

/* ── Section shell ────────────────────────────────────────── */
.products-story {
  position: relative;
  height: 100vh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
}

/* ── Background images ────────────────────────────────────── */
.ps-backgrounds {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.ps-bg {
  position: absolute;
  inset: -10% 0;
  /* oversize for parallax headroom */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.06);
  will-change: opacity, transform;
}

/* Per-product gradient fallbacks (shown when image file is missing) */
.ps-bg[data-product="0"] {
  background-color: #0a1e0d;
}

.ps-bg[data-product="1"] {
  background-color: #1e0f0a;
}

.ps-bg[data-product="2"] {
  background-color: #141e02;
}

.ps-bg[data-product="3"] {
  background-color: #041206;
}

.ps-bg[data-product="4"] {
  background-color: #120c08;
}

/* ── Colour tint overlays ─────────────────────────────────── */
.ps-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(var(--ps-color), 0.55);
  opacity: 0;
  will-change: opacity;
  pointer-events: none;
}

/* ── Base dark vignette (always on — ensures readability) ──── */
.ps-vignette {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(to right, rgba(0, 0, 0, 0.80) 0%, rgba(0, 0, 0, 0.30) 55%, transparent 100%),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.35) 0%, transparent 30%, rgba(0, 0, 0, 0.50) 100%);
  pointer-events: none;
}

/* ── Rotated section label ────────────────────────────────── */
.ps-label {
  position: absolute;
  left: 1.8rem;
  top: 50%;
  transform: translateY(-50%) rotate(-90deg);
  transform-origin: center;
  z-index: 20;
  font-family: var(--ps-font-body);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(254, 251, 244, 0.30);
  white-space: nowrap;
  pointer-events: none;
}

/* ── Right-side dot navigation ────────────────────────────── */
.ps-nav {
  position: absolute;
  right: 2.25rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.ps-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: 1.5px solid rgba(254, 251, 244, 0.35);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.ps-dot.is-active {
  background: var(--ps-cream);
  border-color: var(--ps-cream);
  transform: scale(1.4);
}

.ps-dot:hover:not(.is-active) {
  background: rgba(254, 251, 244, 0.35);
  border-color: rgba(254, 251, 244, 0.65);
}

/* ── Counter ──────────────────────────────────────────────── */
.ps-counter {
  position: absolute;
  right: 2.75rem;
  bottom: 2.5rem;
  z-index: 20;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  font-family: var(--ps-font-head);
  pointer-events: none;
}

.ps-counter__current {
  font-size: 1.8rem;
  font-weight: 500;
  color: rgba(254, 251, 244, 0.92);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  transition: color 0.3s;
}

.ps-counter__sep {
  font-size: 0.9rem;
  color: rgba(254, 251, 244, 0.35);
}

.ps-counter__total {
  font-size: 0.95rem;
  color: rgba(254, 251, 244, 0.35);
}

/* ── Vertical progress track ──────────────────────────────── */
.ps-progress {
  position: absolute;
  left: 3.25rem;
  top: 20%;
  bottom: 20%;
  z-index: 20;
  width: 1px;
  background: rgba(254, 251, 244, 0.12);
  pointer-events: none;
}

.ps-progress__fill {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0%;
  background: var(--ps-accent);
  transform-origin: top;
  will-change: height;
}

/* ── Card deck container ──────────────────────────────────── */
.ps-deck {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  padding-left: clamp(4.5rem, 9vw, 9rem);
  /* leave room for progress bar + label */
}

/* ── Individual card ──────────────────────────────────────── */
.ps-card {
  position: absolute;
  width: var(--ps-card-w);

  /* glassmorphism panel */
  background: rgba(254, 251, 244, 0.06);
  backdrop-filter: blur(14px) saturate(110%);
  -webkit-backdrop-filter: blur(14px) saturate(110%);
  border: 1px solid rgba(254, 251, 244, 0.12);
  border-radius: 6px;
  padding: var(--ps-card-pad);

  transform-origin: bottom center;
  will-change: transform, opacity;
  cursor: default;

  /* Cards not yet shown begin off-screen below; GSAP sets the initial state */
}

/* ── Card anatomy ─────────────────────────────────────────── */
.ps-card__eyebrow {
  display: block;
  font-family: var(--ps-font-body);
  font-size: 0.63rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ps-accent);
  margin-bottom: 1rem;
}

.ps-card__title {
  font-family: var(--ps-font-head);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 0.95;
  color: var(--ps-cream);
  margin-bottom: 0.65rem;
}

.ps-card__subtitle {
  font-family: var(--ps-font-body);
  font-size: 0.88rem;
  font-style: italic;
  font-weight: 400;
  color: rgba(254, 251, 244, 0.60);
  margin-bottom: 1.6rem;
}

/* ── Specs list ────────────────────────────────────────────── */
.ps-card__specs {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ps-card__spec {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--ps-font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: rgba(254, 251, 244, 0.82);
}

.ps-card__spec::before {
  content: '';
  display: block;
  flex-shrink: 0;
  width: 20px;
  height: 1.5px;
  background: var(--ps-accent);
}

/* ── CTA ───────────────────────────────────────────────────── */
.ps-card__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--ps-font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ps-cream);
  border: 1.5px solid rgba(254, 251, 244, 0.35);
  padding: 0.65rem 1.35rem;
  border-radius: 3px;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.ps-card__cta:hover {
  background: rgba(254, 251, 244, 0.12);
  border-color: var(--ps-cream);
}

.ps-card__cta-arrow {
  transition: transform 0.25s ease;
}

.ps-card__cta:hover .ps-card__cta-arrow {
  transform: translateX(4px);
}

/* ── Scroll hint ───────────────────────────────────────────── */
.ps-scroll-hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  pointer-events: none;
}

.ps-scroll-hint__text {
  font-family: var(--ps-font-body);
  font-size: 0.6rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(254, 251, 244, 0.35);
}

.ps-scroll-hint__line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--ps-accent), transparent);
  animation: psLinePulse 2s ease-in-out infinite;
}

@keyframes psLinePulse {

  0%,
  100% {
    opacity: 0.25;
    transform: scaleY(0.6);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

/* ── Mobile: no pin, linear scroll ────────────────────────── */
@media (max-width: 1023px) {
  .products-story {
    height: auto;
    background: #0a100a;
  }

  .ps-backgrounds,
  .ps-vignette {
    display: none;
  }

  .ps-label,
  .ps-nav,
  .ps-counter,
  .ps-progress,
  .ps-scroll-hint {
    display: none;
  }

  .ps-deck {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 5rem 1.5rem 4rem;
    gap: 1.5rem;
  }

  /* All cards fully visible — override GSAP inline styles */
  .ps-card {
    position: relative !important;
    width: 100% !important;
    opacity: 1 !important;
    transform: none !important;
    z-index: 1 !important;
  }

  /* Per-card accent border derived from product colour */
  .ps-card[data-product="0"] {
    border-color: rgba(13, 112, 57, 0.4);
  }

  .ps-card[data-product="1"] {
    border-color: rgba(165, 91, 67, 0.4);
  }

  .ps-card[data-product="2"] {
    border-color: rgba(98, 120, 5, 0.4);
  }

  .ps-card[data-product="3"] {
    border-color: rgba(7, 70, 35, 0.4);
  }

  .ps-card[data-product="4"] {
    border-color: rgba(36, 25, 16, 0.4);
  }

  /* Text elements shown even without GSAP running */
  .ps-card__eyebrow,
  .ps-card__title,
  .ps-card__subtitle,
  .ps-card__spec,
  .ps-card__cta {
    opacity: 1 !important;
    transform: none !important;
  }

  /* Show tinted overlay per card instead of a shared full-bleed bg */
  .ps-overlay {
    position: relative !important;
    display: none;
  }
}

/* ============================================================
   ANIMATION HELPERS  (used by GSAP)
   ============================================================ */
[data-anim] {
  opacity: 0;
  transform: translateY(30px);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  :root {
    --section-py: 5rem;
  }

  .nav__links {
    display: none;
    position: fixed;
    inset: 0;
    background: var(--clr-bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    z-index: 99;
  }

  .nav__links.is-open {
    display: flex;
  }

  .nav__link {
    font-size: 1.4rem;
  }

  .nav__toggle {
    display: flex;
    z-index: 101;
  }
}

/* ============================================================
   PREMIUM INTERACTIONS
   ============================================================ */

/* ── Text selection ──────────────────────────────────────── */
::selection {
  background: rgba(13, 112, 57, 0.2);
  color: #241910;
}

/* ── Custom scrollbar ────────────────────────────────────── */
::-webkit-scrollbar {
  width: 4px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: var(--clr-accent);
  border-radius: 2px;
}

/* ── Scroll progress bar ─────────────────────────────────── */
.site-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  /* driven by GSAP scrub */
  z-index: 200;
  pointer-events: none;
  background: linear-gradient(to right, #0d7039, #b0cb15);
  transform-origin: left;
}

/* ── Film grain overlay ──────────────────────────────────── */
/* Oversized so translate shifts never reveal an edge         */
.site-grain {
  position: fixed;
  top: -30%;
  left: -30%;
  width: 160%;
  height: 160%;
  z-index: 9000;
  pointer-events: none;
  opacity: 0.042;
  background-repeat: repeat;
  background-size: 220px 220px;
  /* SVG feTurbulence noise tile — stitchTiles keeps seams invisible */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: siteGrain 0.5s steps(10) infinite;
  will-change: transform;
}

@keyframes siteGrain {
  0% {
    transform: translate(0%, 0%);
  }

  10% {
    transform: translate(-4%, -7%);
  }

  20% {
    transform: translate(7%, 3%);
  }

  30% {
    transform: translate(-2%, 8%);
  }

  40% {
    transform: translate(5%, -4%);
  }

  50% {
    transform: translate(-7%, 2%);
  }

  60% {
    transform: translate(2%, -6%);
  }

  70% {
    transform: translate(-5%, 4%);
  }

  80% {
    transform: translate(8%, -2%);
  }

  90% {
    transform: translate(-3%, 7%);
  }

  100% {
    transform: translate(0%, 0%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-grain {
    animation: none;
    opacity: 0.025;
  }
}


/* ── Nav link underline sweep ────────────────────────────── */
.nav__link {
  position: relative;
}

.nav__link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1.5px;
  background: #b0cb15;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav__link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Footer nav same treatment ───────────────────────────── */
.footer__nav-link {
  position: relative;
}

.footer__nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 1px;
  background: #b0cb15;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer__nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Enhanced btn--primary: gradient sweep fill ──────────── */
/* Uses background-position trick — no z-index conflict with text */
.btn--primary {
  background-image: linear-gradient(to right, #fefbf4 50%, var(--clr-accent) 50%);
  background-size: 200% 100%;
  background-position: 100% center;
  transition:
    background-position 0.42s cubic-bezier(0.4, 0, 0.2, 1),
    color 0.35s ease,
    border-color 0.35s ease,
    transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  /* spring lift */
}

.btn--primary:hover {
  background-position: 0% center;
  color: var(--clr-accent);
  border-color: var(--clr-accent);
  transform: translateY(-3px);
}

/* ── Button press micro-interaction ─────────────────────── */
.btn--primary:active,
.footer-btn:active,
.news__arrow:active {
  transform: scale(0.95) !important;
  transition-duration: 0.08s !important;
}

/* ── Magnetic wrapper (JS adds data-magnetic) ────────────── */
[data-magnetic] {
  will-change: transform;
  display: inline-block;
}

/* ── Card tilt (3D perspective — JS drives rotateX/Y) ───── */
.news-card,
.company-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Remove CSS hover lift — JS handles all transform on these cards */
.news-card:hover {
  transform: none;
}

/* ── Section title: clip-path word reveal (JS-driven) ───── */
.title-word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}

.title-word {
  display: inline-block;
  will-change: transform;
}

/* ── Smooth image zoom on service panels (already have parallax
      — add subtle brightness on hover for extra depth)       */
.service-panel:hover .service-panel__img {
  filter: brightness(1.05);
  transition: filter 0.8s ease;
}

/* ── Header scrolled state ───────────────────────────────── */
.site-header.is-scrolled {
  background: rgba(10, 10, 10, 0.88);
  padding-block: 2px;
}

/* Logo fades out and collapses horizontally */
.site-header.is-scrolled .nav__logo {
  max-width: 0;
  opacity: 0;
  pointer-events: none;
}

.site-header.is-scrolled .nav__logo img {
  height: 48px;
}

/* ── Page body fade-in on load ───────────────────────────── */
body {
  animation: bodyReveal 0.6s ease both;
}

@keyframes bodyReveal {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

/* ============================================================
   ABOUT PAGE
   ============================================================ */

/* ── Hero ────────────────────────────────────────────────── */
.ab-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #0a0f0b;
}

.ab-hero__bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 60%, rgba(13, 112, 57, 0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(7, 40, 20, 0.4) 0%, transparent 55%),
    linear-gradient(160deg, #0a0f0b 0%, #111d13 50%, #0d1a0f 100%);
}

.ab-hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.ab-hero__orb--1 {
  width: 600px;
  height: 600px;
  background: rgba(13, 112, 57, 0.18);
  top: -10%;
  left: -5%;
  animation: orbFloat 12s ease-in-out infinite alternate;
}

.ab-hero__orb--2 {
  width: 400px;
  height: 400px;
  background: rgba(176, 203, 21, 0.1);
  bottom: 5%;
  right: 10%;
  animation: orbFloat 16s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  from {
    transform: translate(0, 0) scale(1);
  }

  to {
    transform: translate(30px, -40px) scale(1.08);
  }
}

.ab-hero__content {
  position: relative;
  z-index: 2;
  padding-top: 8rem;
}

.ab-hero__eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(20px);
}

.ab-hero__title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 9rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  gap: 0.1em;
  margin-bottom: 2rem;
}

.ab-hl {
  display: block;
  color: #fefbf4;
  opacity: 0;
  transform: translateY(60px);
}

.ab-hl--accent {
  color: var(--light-green);
  transform: translateX(100px);
  -webkit-text-stroke: 1px rgba(176, 203, 21, 0.4);
}

.ab-hero__sub {
  max-width: 520px;
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(254, 251, 244, 0.6);
  opacity: 0;
  transform: translateY(20px);
}

.ab-hero__hint {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.ab-hero__hint-line {
  display: block;
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(176, 203, 21, 0.7));
  animation: hintDrop 2s ease-in-out infinite;
}

@keyframes hintDrop {

  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* ── Intro (word scrub) ──────────────────────────────────── */
.ab-intro {
  background: var(--clr-bg);
  padding: 14vh var(--section-py);
}

.ab-intro__inner {
  max-width: 860px;
  margin: 0 auto;
}

.ab-intro__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.45;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: #241910;
}

/* Individual word spans injected by JS */
.ab-word {
  display: inline-block;
  opacity: 0.12;
  transition: none;
  /* driven purely by ScrollTrigger scrub */
}

/* ── Timeline ────────────────────────────────────────────── */
.ab-timeline {
  background: var(--clr-surface);
  padding: var(--section-py) 0;
}

.ab-timeline .section__title,
.ab-timeline .section__eyebrow {
  text-align: center;
  margin-bottom: 0.5rem;
}

.ab-timeline .section__title {
  margin-bottom: 4rem;
}

.tl-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 1rem 4rem;
}

/* Vertical spine */
.tl-spine {
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(13, 112, 57, 0.15);
  transform: translateX(-50%);
  overflow: hidden;
}

.tl-spine__fill {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(to bottom, var(--green), var(--light-green));
}

/* Each milestone row */
.tl-item {
  position: relative;
  width: 46%;
  margin-bottom: 5rem;
  opacity: 0;
  transform: translateX(-40px);
}

.tl-item--right {
  margin-left: 54%;
  transform: translateX(40px);
}

/* Dot on the spine */
.tl-item__dot {
  position: absolute;
  top: 1.4rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--green);
  border: 3px solid var(--clr-surface);
  box-shadow: 0 0 0 2px var(--green);
  transform: scale(0);
}

.tl-item:not(.tl-item--right) .tl-item__dot {
  right: -7%;
}

.tl-item--right .tl-item__dot {
  left: -7%;
}

.tl-item__card {
  background: var(--clr-bg);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.tl-item__card:hover {
  box-shadow: 0 8px 32px rgba(13, 112, 57, 0.1);
  border-color: rgba(13, 112, 57, 0.3);
}

.tl-item__year {
  display: block;
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 0.5rem;
  opacity: 0.85;
}

.tl-item__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.tl-item__desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--clr-muted);
}

/* ── Quality Policy ──────────────────────────────────────── */
.ab-quality {
  background: var(--clr-bg);
  padding: var(--section-py) 0;
}

.aq-statement {
  background: var(--green);
  color: #fefbf4;
  border-radius: var(--radius);
  padding: 2.2rem 2.8rem;
  font-size: 0.95rem;
  line-height: 1.8;
  margin: 3rem 0;
  position: relative;
  overflow: hidden;
}

.aq-statement::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 60%);
}

.aq-statement p {
  position: relative;
  z-index: 1;
}

.aq-commitments-hd {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.aq-commitments-hd::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--clr-border);
  margin-left: 1rem;
}

.aq-commitments-hd__pre {
  color: var(--clr-muted);
}

.aq-commitments-hd__em {
  color: var(--green);
  font-weight: 700;
}

.aq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.2rem;
  margin-bottom: 3rem;
}

.aq-card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.aq-card:hover {
  box-shadow: 0 8px 28px rgba(13, 112, 57, 0.1);
  border-color: rgba(13, 112, 57, 0.35);
  transform: translateY(-3px);
}

.aq-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.aq-card__number {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: rgba(13, 112, 57, 0.18);
  line-height: 1;
}

.aq-card__title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 0.6rem;
}

.aq-card__desc {
  font-size: 0.83rem;
  line-height: 1.65;
  color: var(--clr-muted);
}

/* SGQ banner */
.aq-sgq {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--radius);
  padding: 2rem 2.4rem;
}

.aq-sgq__badge {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  line-height: 1;
  text-align: center;
}

.aq-sgq__label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--fg);
  margin-bottom: 0.4rem;
}

.aq-sgq__desc {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--clr-muted);
}

/* ── Responsive ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .tl-spine {
    left: 20px;
    transform: none;
  }

  .tl-item {
    width: 100%;
    margin-left: 48px !important;
    transform: translateX(20px) !important;
  }

  .tl-item--right {
    margin-left: 48px;
  }

  .tl-item__dot {
    left: -34px !important;
    right: auto !important;
  }

  .aq-grid {
    grid-template-columns: 1fr;
  }

  .aq-sgq {
    flex-direction: column;
    text-align: center;
  }

  .ab-intro {
    padding: 8vh 2rem;
  }
}

/* ============================================================
   TIMELINE — cinematic panels (replaces old tl-item / tl-spine)
   ============================================================ */

/* Section header */
.tl-header {
  padding-bottom: 4rem;
  text-align: center;
}

.tl-header .section__title,
.tl-header .section__eyebrow {
  text-align: center;
}

/* ── Panel layout ─────────────────────────────────────────── */
.tl-panel {
  display: grid;
  grid-template-columns: 55fr 45fr;
  min-height: 88vh;
  overflow: hidden;
}

/* Flip: image on right, content on left */
.tl-panel--flip .tl-panel__media {
  order: 2;
}

.tl-panel--flip .tl-panel__body {
  order: 1;
}

/* ── Media / image side ───────────────────────────────────── */
.tl-panel__media {
  position: relative;
  overflow: hidden;
}

/* 3-D scene container — perspective lives here */
.tl-panel__scene {
  position: relative;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  will-change: transform;
  overflow: hidden;
}

/* Layer 0 — photograph */
.tl-panel__img {
  position: absolute;
  inset: -6%;
  /* slightly oversized so parallax never shows edge */
  width: calc(100% + 12%);
  height: calc(100% + 12%);
  object-fit: cover;
  display: block;
  will-change: transform;
  transition: transform 0.1s linear;
  /* smoothed by GSAP */
}

/* Layer 1 — cinematic vignette */
.tl-panel__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 15, 11, 0.35) 0%, transparent 35%),
    linear-gradient(to top, rgba(10, 15, 11, 0.55) 0%, transparent 40%),
    linear-gradient(to right, rgba(10, 15, 11, 0.4) 0%, transparent 50%);
  pointer-events: none;
  z-index: 1;
}

.tl-panel--flip .tl-panel__vignette {
  background:
    linear-gradient(to bottom, rgba(10, 15, 11, 0.35) 0%, transparent 35%),
    linear-gradient(to top, rgba(10, 15, 11, 0.55) 0%, transparent 40%),
    linear-gradient(to left, rgba(10, 15, 11, 0.4) 0%, transparent 50%);
}

/* Layer 2 — ghost year (closest, moves most) */
.tl-panel__ghost-year {
  position: absolute;
  bottom: -0.15em;
  left: 0.05em;
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 16rem);
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.13);
  pointer-events: none;
  z-index: 2;
  white-space: nowrap;
  will-change: transform;
  user-select: none;
}

/* Counter badge */
.tl-panel__badge {
  position: absolute;
  top: 2rem;
  right: 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.5);
  z-index: 3;
  pointer-events: none;
}

/* ── Content side ─────────────────────────────────────────── */
.tl-panel__body {
  display: flex;
  align-items: center;
  background: #0e1510;
  /* dark — cinematic; ab-quality returns to light */
  padding: 3rem;
}

.tl-panel__body-inner {
  max-width: 420px;
  margin: 0 auto;
}

.tl-panel__eyebrow {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--light-green);
  line-height: 1;
  margin-bottom: 1rem;
  opacity: 0.9;
}

.tl-panel__rule {
  width: 48px;
  height: 2px;
  background: var(--green);
  margin-bottom: 1.4rem;
}

.tl-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #fefbf4;
  margin-bottom: 1rem;
  line-height: 1.15;
}

.tl-panel__desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: rgba(254, 251, 244, 0.6);
}

/* ── Scroll reveal starting states (JS animates to visible) ── */
.tl-panel__media {
  opacity: 0;
}

.tl-panel__body {
  opacity: 0;
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .tl-panel {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .tl-panel--flip .tl-panel__media {
    order: 1;
  }

  .tl-panel--flip .tl-panel__body {
    order: 2;
  }

  .tl-panel__media {
    min-height: 55vw;
  }

  .tl-panel__body {
    padding: 2.5rem 1.5rem;
  }

  .tl-panel__ghost-year {
    font-size: clamp(5rem, 22vw, 9rem);
  }
}

/* ============================================================
   STORY SCROLL — cinematic services narrative
   ============================================================ */


/* ── Viewport (the pinned canvas) ─────────────────────────── */
.story-viewport {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: #050a06;
}

/* ── Background layers ────────────────────────────────────── */
.story-bg {
  filter: blur(5px);
  position: absolute;
  inset: -8%;
  width: calc(100% + 16%);
  height: calc(100% + 16%);
  background-size: cover;
  background-position: center;
  will-change: transform, opacity;
}

.story-bg__vignette {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(5, 10, 6, 0.6) 0%, transparent 35%),
    linear-gradient(to top, rgba(5, 10, 6, 0.75) 0%, transparent 45%),
    linear-gradient(to right, rgba(5, 10, 6, 0.35) 0%, transparent 55%);
}

/* ── Foreground person ────────────────────────────────────── */
.story-person-wrap {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 4;
  will-change: transform;
}

.story-person {
  width: auto;
  object-fit: contain;
  object-position: bottom center;
  transform-origin: bottom center;
  display: block;
  will-change: transform, opacity;
  filter: drop-shadow(0 12px 48px rgba(0, 0, 0, 0.55));
}

/* Multiple persons stacked — each fills the same slot, GSAP crossfades */
.story-person-wrap--multi {
  position: absolute;
  inset: 0;
}

.story-person-wrap--multi .story-person {
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 20%;
}

/* ── Film-grain overlay ───────────────────────────────────── */
.story-grain {
  position: absolute;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 6;
  pointer-events: none;
  opacity: 0.032;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='220' height='220' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
  animation: sGrain 0.5s steps(8) infinite;
}

@keyframes sGrain {
  0% {
    transform: translate(0, 0);
  }

  12% {
    transform: translate(-5%, -8%);
  }

  25% {
    transform: translate(8%, 3%);
  }

  37% {
    transform: translate(-3%, 7%);
  }

  50% {
    transform: translate(6%, -5%);
  }

  62% {
    transform: translate(-7%, 2%);
  }

  75% {
    transform: translate(4%, -7%);
  }

  87% {
    transform: translate(-6%, 4%);
  }

  100% {
    transform: translate(0, 0);
  }
}

/* ── Story frames ─────────────────────────────────────────── */
.story-frame {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  z-index: 10;
  opacity: 0;
  /* GSAP drives this */
  pointer-events: none;
}

.story-frame--center {
  justify-content: center;
  text-align: center;
}

.story-frame--right {
  justify-content: flex-end;
  padding-right: clamp(2rem, 8vw, 9rem);
  text-align: left;
}

/* Timeline 1 — bottom left */
.story-frame--bottom-left {
  align-items: flex-end;
  justify-content: flex-start;
  padding-left:   clamp(2rem, 8vw, 9rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  text-align: left;
}

/* Timeline 3 — top right */
.story-frame--top-right {
  align-items: flex-start;
  justify-content: flex-end;
  padding-right: clamp(2rem, 8vw, 9rem);
  padding-top:   clamp(3rem, 7vh, 5rem);
  text-align: left;
}

/* Timeline 4, 5 — bottom center */
.story-frame--bottom-center {
  align-items: flex-end;
  justify-content: center;
  padding-bottom: clamp(3rem, 7vh, 5rem);
  text-align: center;
}

.story-frame__inner {
  width: 700px;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

/* Large ghost year — sits behind the content inside each frame */
.story-watermark {
  position: absolute;
  font-family: var(--font-display);
  font-size: clamp(9rem, 22vw, 20rem);
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 255, 255, 0.171);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.story-watermark--top-left    { top: 10px;   left:  10px; }
.story-watermark--bottom-left { bottom: 10px; left:  10px; }
.story-watermark--bottom-right{ bottom: 10px; right: 10px; }
.story-watermark--top-right   { top: 10px; right: 10px; }

.story-eyebrow {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--light-green);
  margin-bottom: 1.2rem;
}

.story-heading {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: #fefbf4;
  margin-bottom: 1.4rem;
}

.story-body {
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(254, 251, 244, 0.62);
  margin-bottom: 2rem;
}

.story-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-green);
  text-decoration: none;
  padding-bottom: 0.2rem;
  border-bottom: 1px solid rgba(176, 203, 21, 0.35);
  transition: color 0.3s ease, border-color 0.3s ease;
}

.story-cta:hover {
  color: #fefbf4;
  border-color: rgba(254, 251, 244, 0.45);
}

/* ── Progress dots ────────────────────────────────────────── */
.story-dots {
  position: absolute;
  bottom: 2.2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
}

.story-dot {
  height: 5px;
  width: 5px;
  border-radius: 3px;
  background: rgba(254, 251, 244, 0.22);
  transition: width 0.4s ease, background 0.35s ease;
}

.story-dot.is-active {
  width: 22px;
  background: var(--light-green);
}

/* ── Scroll hint ──────────────────────────────────────────── */
.story-hint {
  position: absolute;
  bottom: 2rem;
  right: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  z-index: 20;
}

.story-hint__label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 251, 244, 0.3);
  writing-mode: vertical-rl;
}

.story-hint__line {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(176, 203, 21, 0.65), transparent);
  animation: sHintDrop 2.4s ease-in-out infinite;
}

@keyframes sHintDrop {

  0%,
  100% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0;
  }

  35%,
  65% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }
}

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  /* All frames → top center on mobile */
  .story-frame,
  .story-frame--bottom-left,
  .story-frame--right,
  .story-frame--top-right,
  .story-frame--bottom-center {
    align-items: center;
    justify-content: center;
    padding: clamp(1rem, 4vh, 2.5rem) 1.5rem 0;
    text-align: center;
  }

  .story-frame__inner {
    max-width: 92vw;
  }

  /* FG person → center of viewport on mobile */
  .story-person-wrap--multi .story-person {
    top: 50%;
    bottom: auto;
    translate: -50% -50%;
    height: 100%;    
  }

  .story-body {
    max-width: none;
  }

  .story-hint {
    display: none;
  }
}