/* ================================================================
   NAMÁ CONSERVATION — High-End Immersive Design System
   style.css — Awwwards / FWA Quality
   ================================================================ */

/* ----------------------------------------------------------------
   0. DESIGN TOKENS
   ---------------------------------------------------------------- */
:root {
  /* Palette */
  --ink:        #060a06;
  --ink-soft:   #1c241c;
  --paper:      #f0ebe0;
  --paper-warm: #e8e0d0;
  --gold:       #c8a84b;
  --gold-light: #e2c97e;
  --forest:     #1a2e1a;
  --forest-mid: #2d4a2d;
  --moss:       #4a6741;
  --sage:       #8aab6e;
  --mist:       rgba(240,235,224,0.06);

  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Easing */
  --ease-out-expo:  cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-expo:   cubic-bezier(0.7, 0, 0.84, 0);
  --ease-inout:     cubic-bezier(0.76, 0, 0.24, 1);
  --ease-elastic:   cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Space scale */
  --s1:  0.25rem;
  --s2:  0.5rem;
  --s3:  0.75rem;
  --s4:  1rem;
  --s6:  1.5rem;
  --s8:  2rem;
  --s12: 3rem;
  --s16: 4rem;
  --s20: 5rem;
  --s24: 6rem;
  --s32: 8rem;

  /* Nav */
  --nav-h: 72px;

  /* Z-index layers */
  --z-cursor:     9999;
  --z-preloader:  9000;
  --z-nav:        800;
  --z-overlay:    500;
}

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

html {
  font-size: 16px;
  scroll-behavior: auto; /* GSAP handles smooth scroll */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* replaced by custom cursor */
}

body.is-loading {
  overflow: hidden;
}

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

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

button {
  background: none;
  border: none;
  cursor: none;
  font-family: inherit;
}

/* ----------------------------------------------------------------
   2. CUSTOM CURSOR
   ---------------------------------------------------------------- */
.c-cursor {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: var(--z-cursor);
  mix-blend-mode: difference;
}

.c-cursor__dot {
  position: absolute;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--paper);
  transform: translate(-50%, -50%);
  transition: width 0.3s var(--ease-out-expo),
              height 0.3s var(--ease-out-expo),
              opacity 0.3s;
}

.c-cursor__ring {
  position: absolute;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--paper);
  transform: translate(-50%, -50%);
  transition: width 0.5s var(--ease-out-expo),
              height 0.5s var(--ease-out-expo),
              border-color 0.3s,
              opacity 0.3s;
  opacity: 0.6;
}

/* Hover state — ring expands */
body.cursor-hover .c-cursor__ring {
  width: 64px; height: 64px;
  opacity: 1;
  border-color: var(--gold);
}

body.cursor-hover .c-cursor__dot {
  width: 4px; height: 4px;
}

/* ----------------------------------------------------------------
   3. PRELOADER
   ---------------------------------------------------------------- */
.c-preloader {
  position: fixed;
  inset: 0;
  background: var(--ink);
  z-index: var(--z-preloader);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  /* transition added by JS to avoid conflict with letter entrance */
}

.c-preloader__word {
  display: flex;
  gap: 0.05em;
  overflow: hidden;
}

.c-preloader__letter {
  display: inline-block;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--paper);
  transform: translateY(110%);
  will-change: transform;
}

.c-preloader__bar {
  width: min(300px, 60vw);
  height: 1px;
  background: var(--mist);
  position: relative;
  overflow: hidden;
}

.c-preloader__bar-fill {
  position: absolute;
  inset-block: 0;
  left: 0;
  width: 0%;
  background: var(--gold);
  transition: width 0.1s linear;
}

.c-preloader__counter {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.4;
}

/* ----------------------------------------------------------------
   4. PAGE TRANSITION CURTAIN
   ---------------------------------------------------------------- */
.c-curtain {
  position: fixed;
  inset: 0;
  background: var(--forest);
  z-index: calc(var(--z-preloader) - 10);
  transform: scaleY(0);
  transform-origin: bottom;
  pointer-events: none;
}

/* ----------------------------------------------------------------
   5. NAVIGATION
   ---------------------------------------------------------------- */
.c-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: var(--z-nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--s8);
  transition: transform 0.6s var(--ease-out-expo);
}

.c-nav::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6,10,6,0.9) 0%, transparent 100%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s;
}

.c-nav.is-scrolled::before {
  opacity: 1;
}

.c-nav.is-hidden {
  transform: translateY(-100%);
}

/* Logo */
.c-nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s3);
  z-index: 1;
}

.c-nav__logo img {
  width: 124px; height: 124px;
  object-fit: contain;
}

.c-nav__logo-text {
  display: none;
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--paper);
}

/* Links */
.c-nav__links {
  display: flex;
  align-items: center;
  gap: var(--s8);
  list-style: none;
  z-index: 1;
}

.c-nav__link {
  position: relative;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.7;
  transition: opacity 0.3s;
  padding: var(--s2) 0;
}

.c-nav__link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out-expo);
}

.c-nav__link:hover,
.c-nav__link.is-active {
  opacity: 1;
}

.c-nav__link:hover::after,
.c-nav__link.is-active::after {
  width: 100%;
}

/* Right side */
.c-nav__right {
  display: flex;
  align-items: center;
  gap: var(--s4);
  z-index: 1;
}

.c-nav__lang {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.5;
  transition: opacity 0.3s;
  padding: var(--s2) var(--s3);
  border: 1px solid transparent;
  border-radius: 2px;
}

.c-nav__lang:hover {
  opacity: 1;
  border-color: rgba(240,235,224,0.3);
}

.c-nav__cta {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--gold);
  padding: var(--s2) var(--s6);
  border-radius: 2px;
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease-elastic);
}

.c-nav__cta:hover {
  background: var(--gold-light);
  transform: scale(1.03);
}

/* Hamburger — mobile */
.c-nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  z-index: 1;
  padding: var(--s2);
}

.c-nav__burger span {
  display: block;
  height: 1px;
  background: var(--paper);
  transition: transform 0.4s var(--ease-out-expo), opacity 0.3s, width 0.3s;
}

.c-nav__burger span:nth-child(2) { width: 70%; }

.c-nav__burger.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.c-nav__burger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.c-nav__burger.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* Mobile nav panel */
.c-nav__mobile {
  position: fixed;
  inset: 0;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s8);
  z-index: calc(var(--z-nav) - 1);
  transform: translateX(100%);
  transition: transform 0.7s var(--ease-out-expo);
}

.c-nav__mobile.is-open {
  transform: translateX(0);
}

.c-nav__mobile-link {
  font-family: var(--font-display);
  font-size: clamp(2rem, 8vw, 4rem);
  font-weight: 400;
  font-style: italic;
  color: var(--paper);
  opacity: 0.7;
  transition: opacity 0.3s, color 0.3s;
}

.c-nav__mobile-link:hover {
  opacity: 1;
  color: var(--gold);
}

/* ----------------------------------------------------------------
   6. HERO — WebGL Section
   ---------------------------------------------------------------- */
.c-hero {
  position: relative;
  width: 100%;
  height: 100dvh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--ink); /* canvas fades in from darkness */
}

/* WebGL canvas fills the hero */
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Gradient vignette over canvas */
.c-hero__vignette {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 50%, transparent 40%, rgba(6,10,6,0.7) 100%),
    linear-gradient(to bottom, rgba(6,10,6,0.3) 0%, transparent 30%, transparent 70%, rgba(6,10,6,0.8) 100%);
  pointer-events: none;
}

/* Hero content */
.c-hero__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--s8);
  max-width: 1000px;
}

.c-hero__eyebrow {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s6);
  opacity: 0;
}

.c-hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 7vw, 7.5rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: var(--s8);
}

/* Prevent any line from wrapping — each is intentionally short */
.c-hero__line-inner {
  white-space: nowrap;
}

.c-hero__title em {
  font-style: italic;
  color: var(--gold);
}

/* Each title line clips in — line-height 1.25 gives enough room for descenders */
.c-hero__line {
  display: block;
  overflow: hidden;
}

.c-hero__line-inner {
  display: block;
  transform: translateY(110%);
  will-change: transform;
}

.c-hero__sub {
  font-size: clamp(0.95rem, 1.5vw, 1.15rem);
  color: var(--paper);
  opacity: 0;
  max-width: 540px;
  margin: 0 auto var(--s10, 2.5rem);
  line-height: 1.7;
}

.c-hero__actions {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
}

/* Scroll cue */
.c-hero__scroll {
  position: absolute;
  bottom: var(--s6);
  left: 51.24%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s3);
  opacity: 0;
  writing-mode: horizontal-tb;
}

.c-hero__scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scroll-cue 2s ease-in-out infinite;
}

@keyframes scroll-cue {
  0%, 100% { transform: scaleY(1); opacity: 1; }
  50% { transform: scaleY(0.4); opacity: 0.3; }
}

.c-hero__scroll-text {
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.4;
  writing-mode: vertical-rl;
}

/* ----------------------------------------------------------------
   7. BUTTONS
   ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s3);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: var(--s4) var(--s8);
  border-radius: 2px;
  transition: transform 0.3s var(--ease-elastic), background 0.3s, color 0.3s;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: currentColor;
  opacity: 0;
  transition: opacity 0.3s;
}

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

/* Primary — gold */
.btn--primary {
  background: var(--gold);
  color: var(--ink);
}
.btn--primary:hover { background: var(--gold-light); }

/* Ghost — outlined */
.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(240,235,224,0.4);
}
.btn--ghost:hover {
  border-color: var(--paper);
  background: rgba(240,235,224,0.06);
}

/* Forest */
.btn--forest {
  background: var(--forest-mid);
  color: var(--paper);
}
.btn--forest:hover { background: var(--moss); }

/* ----------------------------------------------------------------
   8. SECTION UTILITY
   ---------------------------------------------------------------- */
.section {
  padding: var(--s24) var(--s8);
  position: relative;
}

.section--dark { background: var(--ink); }
.section--forest { background: var(--forest); }
.section--paper {
  background: var(--paper);
  color: var(--ink);
}
.section--paper-warm { background: var(--paper-warm); color: var(--ink); }

.container {
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}

/* Section label */
.section-label {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--s6);
}

/* ----------------------------------------------------------------
   9. MANIFESTO / ABOUT SECTION
   ---------------------------------------------------------------- */
.c-manifesto {
  padding: var(--s32) var(--s8);
  background: var(--ink);
  overflow: hidden;
}

.c-manifesto__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: var(--s16);
  align-items: start;
}

.c-manifesto__left {
  position: sticky;
  top: calc(var(--nav-h) + var(--s12));
}

.c-manifesto__num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 12vw, 10rem);
  font-weight: 700;
  line-height: 1;
  color: var(--forest-mid);
  letter-spacing: -0.04em;
  margin-bottom: var(--s6);
}

.c-manifesto__label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}

.c-manifesto__text {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--paper);
  letter-spacing: -0.01em;
}

.c-manifesto__text strong {
  color: var(--gold);
  font-weight: 700;
}

/* Word reveal — each word wraps in a clip container */
.word-clip {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.2em;
}

.word-inner {
  display: inline-block;
  transform: translateY(110%);
  will-change: transform;
}

.c-manifesto__body {
  font-size: 1rem;
  color: rgba(240,235,224,0.6);
  line-height: 1.8;
  margin-top: var(--s8);
  max-width: 520px;
}

/* ----------------------------------------------------------------
   10. PROGRAMS — Horizontal Scroll Strip
   ---------------------------------------------------------------- */
.c-programs {
  background: var(--ink);
  overflow: hidden;
}

.c-programs__header {
  max-width: 1280px;
  margin: 0 auto;
  padding: var(--s20) var(--s8) var(--s12);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s8);
}

.c-programs__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--paper);
  letter-spacing: -0.02em;
}

.c-programs__sub {
  font-size: 0.9rem;
  color: rgba(240,235,224,0.5);
  max-width: 280px;
  text-align: right;
  line-height: 1.6;
}

/* Accordion panels */
.c-programs__accordion {
  display: flex;
  width: 100%;
  height: 76vh;
  min-height: 560px;
  gap: 2px;
  overflow: hidden;
}

.c-prog-panel {
  position: relative;
  flex: 1;
  overflow: hidden;
  cursor: pointer;
  transition: flex 0.72s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* When any panel is hovered, compress all siblings */
.c-programs__accordion:has(.c-prog-panel:hover) .c-prog-panel {
  flex: 0.45;
}

/* The hovered panel expands */
.c-prog-panel:hover {
  flex: 3.2 !important;
}

.c-prog-panel__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.95s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.6s ease;
  filter: brightness(0.45) saturate(0.7);
}

.c-prog-panel:hover .c-prog-panel__img {
  transform: scale(1.05);
  filter: brightness(0.62) saturate(1);
}

.c-prog-panel__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(6,10,6,0.97) 0%,
    rgba(6,10,6,0.45) 45%,
    rgba(6,10,6,0.08) 100%
  );
}

.c-prog-panel__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2.5rem 2rem 2.8rem;
}

.c-prog-panel__num {
  font-size: 0.6rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.1rem;
  display: block;
}

/* Info block — hidden when collapsed, revealed on hover */
.c-prog-panel__info {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.42s 0.18s ease,
              transform 0.42s 0.18s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.c-prog-panel:hover .c-prog-panel__info {
  opacity: 1;
  transform: translateY(0);
}

.c-prog-panel__title {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.2vw, 1.9rem);
  font-weight: 700;
  color: var(--paper);
  line-height: 1.15;
  margin-bottom: 0.8rem;
}

.c-prog-panel__desc {
  font-size: 0.84rem;
  color: rgba(240,235,224,0.62);
  line-height: 1.68;
  margin-bottom: 1.4rem;
}

.c-prog-panel__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  transition: gap 0.3s ease;
}

.c-prog-panel__link:hover {
  gap: 0.85rem;
}

.c-prog-panel__link svg {
  width: 14px;
  height: 14px;
  transition: transform 0.3s var(--ease-out-expo);
}

.c-prog-panel__link:hover svg {
  transform: translateX(4px);
}

/* ----------------------------------------------------------------
   11. IMPACT NUMBERS — Breaking Grid
   ---------------------------------------------------------------- */
.c-impact {
  background: #888;
  color: var(--ink);
  padding: var(--s32) var(--s8);
  overflow: hidden;
}

.c-impact__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.c-impact__label {
  color: var(--moss);
}

.c-impact__title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--s16);
  max-width: 600px;
}

.c-impact__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4);
  align-items: start;
}

/* Breaking-grid placements */
.c-impact__item:nth-child(1) { grid-column: 1 / 5; }
.c-impact__item:nth-child(2) { grid-column: 5 / 9; padding-top: var(--s16); }
.c-impact__item:nth-child(3) { grid-column: 9 / 13; padding-top: var(--s8); }
.c-impact__item:nth-child(4) { grid-column: 2 / 6; padding-top: var(--s12); }
.c-impact__item:nth-child(5) { grid-column: 7 / 11; padding-top: var(--s20); }

.c-impact__num {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--forest);
  margin-bottom: var(--s3);
}

.c-impact__num .suffix {
  color: var(--gold);
}

.c-impact__caption {
  font-size: 0.85rem;
  color: rgba(6,10,6,0.5);
  line-height: 1.5;
  max-width: 180px;
}

/* ----------------------------------------------------------------
   12. STORIES / TESTIMONIALS (optional marquee strip)
   ---------------------------------------------------------------- */
.c-marquee {
  background: var(--forest);
  padding: var(--s6) 0;
  overflow: hidden;
  border-top: 1px solid rgba(240,235,224,0.08);
  border-bottom: 1px solid rgba(240,235,224,0.08);
}

.c-marquee__track {
  display: flex;
  gap: var(--s12);
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  will-change: transform;
}

.c-marquee__item {
  display: flex;
  align-items: center;
  gap: var(--s4);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.5);
  flex-shrink: 0;
}

.c-marquee__item::before {
  content: '●';
  color: var(--gold);
  font-size: 0.4rem;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ----------------------------------------------------------------
   13. CTA — Full-Screen Support Section
   ---------------------------------------------------------------- */
.c-cta {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.c-cta__bg {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(0.3) saturate(0.6);
  will-change: transform;
}

.c-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(26,46,26,0.8) 0%,
    rgba(6,10,6,0.6) 100%
  );
}

.c-cta__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: var(--s16) var(--s8);
  max-width: 800px;
}

.c-cta__title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  color: var(--paper);
  letter-spacing: -0.02em;
  margin-bottom: var(--s6);
}

.c-cta__title em {
  font-style: italic;
  color: var(--gold);
}

.c-cta__sub {
  font-size: 1.05rem;
  color: rgba(240,235,224,0.7);
  line-height: 1.7;
  margin-bottom: var(--s10, 2.5rem);
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.c-cta__actions {
  display: flex;
  gap: var(--s4);
  justify-content: center;
  flex-wrap: wrap;
}

/* ----------------------------------------------------------------
   14. FOOTER
   ---------------------------------------------------------------- */
.c-footer {
  background: var(--ink);
  border-top: 1px solid rgba(240,235,224,0.07);
  padding: var(--s16) var(--s8) var(--s8);
}

.c-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
}

.c-footer__top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--s12);
  padding-bottom: var(--s12);
  border-bottom: 1px solid rgba(240,235,224,0.07);
  margin-bottom: var(--s8);
}

.c-footer__brand-logo {
  width: 440px;
  height: auto;
  object-fit: contain;
  display: block;
}

.c-footer__col h4 {
  font-size: 0.65rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(240,235,224,0.3);
  margin-bottom: var(--s4);
}

.c-footer__links {
  display: flex;
  flex-direction: column;
  gap: var(--s3);
}

.c-footer__links a {
  font-size: 0.85rem;
  color: rgba(240,235,224,0.5);
  transition: color 0.3s;
  line-height: 1.5;
}

.c-footer__links a:hover { color: var(--paper); }

.c-footer__contact p {
  font-size: 0.85rem;
  color: rgba(240,235,224,0.5);
  line-height: 1.8;
}

.c-footer__contact a:hover { color: var(--gold); }

.c-footer__social {
  display: flex;
  gap: var(--s4);
  margin-top: var(--s4);
}

.c-footer__social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(240,235,224,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: rgba(240,235,224,0.4);
  transition: border-color 0.3s, color 0.3s, transform 0.3s var(--ease-elastic);
}

.c-footer__social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: scale(1.1);
}

.c-footer__quote {
  border-top: 1px solid rgba(200, 168, 75, 0.2);
  padding: var(--s12) 0 var(--s8);
  text-align: center;
}

.c-footer__quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1rem, 1.8vw, 1.3rem);
  color: var(--paper);
  opacity: 0.75;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto;
}

.c-footer__quote cite {
  display: block;
  margin-top: var(--s4);
  font-style: normal;
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.9;
}

.c-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s4);
  flex-wrap: wrap;
}

.c-footer__copy {
  font-size: 0.75rem;
  color: rgba(240,235,224,0.25);
  letter-spacing: 0.05em;
}

.c-footer__made {
  font-size: 0.7rem;
  color: rgba(240,235,224,0.2);
  letter-spacing: 0.1em;
}

/* Scroll progress top bar */
.c-scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: var(--gold);
  z-index: calc(var(--z-nav) + 1);
  transition: width 0.1s linear;
  pointer-events: none;
}

/* Scroll-to-top */
.c-scroll-top {
  position: fixed;
  bottom: var(--s8);
  right: var(--s8);
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  z-index: 400;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out-expo), background 0.3s;
  pointer-events: none;
}

.c-scroll-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.c-scroll-top:hover { background: var(--gold-light); }

/* ----------------------------------------------------------------
   15. FADE-IN UTILITY (fallback when GSAP unavailable)
   ---------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity 0.8s var(--ease-out-expo), transform 0.8s var(--ease-out-expo);
}

/* ----------------------------------------------------------------
   16. RESPONSIVE
   ---------------------------------------------------------------- */
@media (max-width: 1024px) {
  .c-manifesto__inner {
    grid-template-columns: 1fr;
    gap: var(--s12);
  }

  .c-manifesto__left {
    position: static;
  }

  .c-impact__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: var(--s6);
  }

  .c-impact__item:nth-child(1) { grid-column: 1 / 4; }
  .c-impact__item:nth-child(2) { grid-column: 4 / 7; padding-top: 0; }
  .c-impact__item:nth-child(3) { grid-column: 1 / 4; padding-top: var(--s4); }
  .c-impact__item:nth-child(4) { grid-column: 4 / 7; padding-top: var(--s4); }
  .c-impact__item:nth-child(5) { grid-column: 2 / 6; padding-top: var(--s4); }

  .c-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s8);
  }

  .c-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --nav-h: 60px; }

  .c-nav__links { display: none; }
  .c-nav__right .c-nav__lang { display: none; }
  .c-nav__right .c-nav__cta { display: none; }
  .c-nav__burger { display: flex; }

  .c-hero__title { font-size: clamp(2.4rem, 11vw, 5rem); }

  .c-programs__header {
    flex-direction: column;
    align-items: flex-start;
  }

  .c-programs__sub { text-align: left; }

  /* On mobile: accordion stacks vertically */
  .c-programs__accordion {
    flex-direction: column;
    height: auto;
    min-height: unset;
    gap: 4px;
  }

  .c-prog-panel {
    flex: none !important;
    height: 220px;
    transition: height 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  .c-programs__accordion:has(.c-prog-panel:hover) .c-prog-panel {
    height: 140px;
    flex: none !important;
  }

  .c-prog-panel:hover {
    height: 380px !important;
    flex: none !important;
  }

  .c-impact__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--s6);
  }
  .c-impact__item { grid-column: auto !important; padding-top: 0 !important; }

  .c-footer__top {
    grid-template-columns: 1fr;
    gap: var(--s8);
  }

  /* Touch: show cursor elements as normal */
  body { cursor: auto; }
  .c-cursor { display: none; }
}

@media (max-width: 480px) {
  .c-hero__actions { flex-direction: column; align-items: center; }

  .c-cta__actions { flex-direction: column; align-items: center; }

  .section { padding: var(--s16) var(--s4); }
  .c-manifesto { padding: var(--s20) var(--s4); }
  .c-impact { padding: var(--s20) var(--s4); }
  .c-footer { padding: var(--s12) var(--s4) var(--s6); }
}
