/* ==========================================================================
   TABASKI SHOW · ÉDITORIAL LUXE
   Design system & global styles
   ========================================================================== */

/* ---------- Tokens ---------- */
:root {
  /* Palette */
  --c-ivory:       #F5EFE6;
  --c-cream:       #FAF6EE;
  --c-paper:       #FDFAF4;
  --c-night:       #0F1A2E;
  --c-night-soft:  #1A2640;
  --c-ink:         #2D3748;
  --c-ink-soft:    #5A6478;
  --c-gold:        #C9A24E;
  --c-gold-light:  #E0C481;
  --c-gold-deep:   #A8842F;
  --c-indigo:      #2A3A6E;
  --c-line:        rgba(15, 26, 46, 0.12);
  --c-line-strong: rgba(15, 26, 46, 0.25);

  /* Typography */
  --f-display: 'Fraunces', 'Times New Roman', Georgia, serif;
  --f-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;

  /* Scale (modular, fluid) */
  --t-xs:  clamp(0.75rem, 0.72rem + 0.15vw, 0.82rem);
  --t-sm:  clamp(0.86rem, 0.82rem + 0.2vw,  0.94rem);
  --t-base:clamp(1rem,    0.95rem + 0.25vw, 1.10rem);
  --t-md:  clamp(1.13rem, 1.05rem + 0.4vw,  1.32rem);
  --t-lg:  clamp(1.4rem,  1.25rem + 0.7vw,  1.75rem);
  --t-xl:  clamp(1.85rem, 1.5rem  + 1.6vw,  2.6rem);
  --t-2xl: clamp(2.5rem,  1.9rem  + 3vw,    4.2rem);
  --t-3xl: clamp(3.4rem,  2.4rem  + 5vw,    6.8rem);
  --t-4xl: clamp(4.2rem,  3rem    + 7vw,    9.5rem);

  /* Spacing */
  --s-1: 0.25rem;
  --s-2: 0.5rem;
  --s-3: 0.75rem;
  --s-4: 1rem;
  --s-5: 1.5rem;
  --s-6: 2rem;
  --s-7: 3rem;
  --s-8: 4rem;
  --s-9: 6rem;
  --s-10: 8rem;
  --s-11: 12rem;

  /* Layout */
  --max-w: 1440px;
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --radius: 2px;
  --radius-lg: 4px;

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

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

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
}

body {
  font-family: var(--f-body);
  font-size: var(--t-base);
  line-height: 1.6;
  font-weight: 400;
  color: var(--c-night);
  background: var(--c-ivory);
  overflow-x: hidden;
  font-feature-settings: "ss01", "cv11";
}

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

a { color: inherit; text-decoration: none; transition: color .3s var(--ease-luxe), opacity .3s var(--ease-luxe); }
a:hover { color: var(--c-gold-deep); }

button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }

/* ---------- Typography ---------- */
.display {
  font-family: var(--f-display);
  font-weight: 300;
  line-height: 0.92;
  letter-spacing: -0.025em;
  font-feature-settings: "ss01", "lnum";
}

.serif { font-family: var(--f-display); }

h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--c-night);
}

h1 { font-size: var(--t-4xl); font-weight: 300; }
h2 { font-size: var(--t-3xl); font-weight: 300; }
h3 { font-size: var(--t-xl); }
h4 { font-size: var(--t-lg); }

p { max-width: 60ch; }

.eyebrow,
.kicker {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
}

.kicker--gold { color: var(--c-gold-deep); }

.lede {
  font-size: var(--t-md);
  line-height: 1.55;
  color: var(--c-ink);
  max-width: 50ch;
}

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

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

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

.section--tight { padding-block: var(--s-6); }

.section + .section { border-top: 1px solid var(--c-line); }

.divider {
  width: 100%;
  height: 1px;
  background: var(--c-line);
  margin-block: var(--s-7);
}

.row { display: flex; gap: var(--s-5); }
.stack > * + * { margin-top: var(--s-4); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  padding: 1.1rem 2rem;
  font-family: var(--f-body);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all .4s var(--ease-luxe);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--c-night);
  color: var(--c-ivory);
}
.btn--primary:hover {
  background: var(--c-gold-deep);
  color: var(--c-ivory);
  transform: translateY(-1px);
}

.btn--gold {
  background: var(--c-gold);
  color: var(--c-night);
}
.btn--gold:hover {
  background: var(--c-night);
  color: var(--c-gold);
}

.btn--ghost {
  background: transparent;
  color: var(--c-night);
  border: 1px solid var(--c-night);
}
.btn--ghost:hover {
  background: var(--c-night);
  color: var(--c-ivory);
}

.btn--ghost-light {
  background: transparent;
  color: var(--c-ivory);
  border: 1px solid rgba(245,239,230,0.4);
}
.btn--ghost-light:hover {
  background: var(--c-ivory);
  color: var(--c-night);
  border-color: var(--c-ivory);
}

.btn .arrow { width: 1em; height: 1em; display: inline-block; transition: transform .4s var(--ease-luxe); }
.btn:hover .arrow { transform: translateX(4px); }

/* Link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font-size: var(--t-sm);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--c-night);
  border-bottom: 1px solid var(--c-night);
  padding-bottom: 4px;
  transition: all .4s var(--ease-luxe);
}
.link-arrow:hover { color: var(--c-gold-deep); border-color: var(--c-gold-deep); gap: var(--s-4); }

/* ==========================================================================
   HEADER · NAV
   ========================================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: var(--s-5) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background .5s var(--ease-luxe), padding .5s var(--ease-luxe), border-color .5s var(--ease-luxe);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  padding: var(--s-4) var(--gutter);
  border-bottom-color: var(--c-line);
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--s-3);
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-md);
  letter-spacing: -0.01em;
  color: var(--c-night);
}

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--c-night);
  color: var(--c-gold);
  display: grid;
  place-items: center;
  font-family: var(--f-display);
  font-size: var(--t-base);
  font-weight: 500;
  letter-spacing: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-text strong { font-weight: 500; letter-spacing: -0.01em; }
.brand-text small {
  font-family: var(--f-body);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-ink-soft);
  margin-top: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: var(--s-7);
}

.nav-list {
  display: flex;
  gap: var(--s-7);
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-list a {
  font-size: var(--t-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-night);
  position: relative;
  padding-bottom: 2px;
}
.nav-list a::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 1px;
  background: var(--c-gold-deep);
  transition: width .4s var(--ease-luxe);
}
.nav-list a:hover::after { width: 100%; }

.nav-cta {
  padding: 0.7rem 1.4rem !important;
  font-size: 0.72rem !important;
}

/* Mobile burger */
.nav-toggle {
  display: none;
  width: 36px;
  height: 36px;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 6px; right: 6px;
  height: 1px;
  background: var(--c-night);
  transition: transform .4s var(--ease-luxe), opacity .3s;
}
.nav-toggle span:nth-child(1) { top: 13px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle.is-open span:nth-child(1) { top: 17px; transform: rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { top: 17px; transform: rotate(-45deg); }

@media (max-width: 900px) {
  .nav-list, .nav-cta { display: none; }
  .nav-toggle { display: block; }
  .site-header.nav-open .nav-list,
  .site-header.nav-open .nav-cta { display: flex; }
  .site-header.nav-open {
    flex-wrap: wrap;
    background: var(--c-ivory);
  }
  .site-header.nav-open .nav-list {
    width: 100%;
    flex-direction: column;
    gap: var(--s-4);
    padding: var(--s-5) 0;
  }
}

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
  min-height: 100vh;
  padding: 8rem var(--gutter) var(--s-9);
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: var(--s-7);
  align-items: end;
  background: var(--c-ivory);
  overflow: hidden;
}

.hero::before {
  /* Subtle textile-inspired pattern overlay */
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 28px, rgba(15,26,46,0.03) 28px 29px),
    repeating-linear-gradient(-45deg, transparent 0 28px, rgba(201,162,78,0.04) 28px 29px);
  pointer-events: none;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-meta {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  margin-bottom: var(--s-6);
}
.hero-meta .line {
  width: 60px;
  height: 1px;
  background: var(--c-night);
}

.hero-title {
  font-family: var(--f-display);
  font-size: var(--t-4xl);
  font-weight: 300;
  line-height: 0.88;
  letter-spacing: -0.035em;
  color: var(--c-night);
  margin-bottom: var(--s-6);
}
.hero-title .ital { font-style: italic; font-weight: 400; color: var(--c-gold-deep); }
.hero-title .block { display: block; }
.hero-title__sub { font-size: 0.6em; margin-top: 0.4em; }

.hero-tagline {
  font-size: var(--t-md);
  line-height: 1.5;
  color: var(--c-ink);
  max-width: 50ch;
  margin-bottom: var(--s-7);
  font-weight: 300;
  font-family: var(--f-display);
  font-style: italic;
}

/* Thème de l'édition — petit bloc éditorial entre la tagline et les CTAs.
   Hérite des champs Customizer manifesto_kicker + manifesto_quote (la
   section manifeste plein-écran a été supprimée car trop volumineuse). */
.hero-theme {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  max-width: 52ch;
  margin-bottom: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
}
.hero-theme__label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-gold-deep);
  font-weight: 500;
}
.hero-theme__statement {
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: var(--t-lg);
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--c-night);
}
.hero-theme__statement em { color: var(--c-gold-deep); }

.hero-actions {
  display: flex;
  gap: var(--s-4);
  flex-wrap: wrap;
  margin-bottom: var(--s-7);
}

.hero-info {
  display: flex;
  gap: var(--s-7);
  flex-wrap: wrap;
}
.hero-info-block .label {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  margin-bottom: 6px;
}
.hero-info-block .value {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--c-night);
}

/* Hero visual side */
.hero-visual {
  position: relative;
  z-index: 1;
  align-self: stretch;
  display: grid;
  grid-template-rows: auto 1fr;
  gap: var(--s-5);
}

.hero-figure {
  position: relative;
  aspect-ratio: 3 / 4;
  background:
    linear-gradient(155deg, rgba(15,26,46,0.6) 0%, rgba(42,58,110,0.4) 50%, rgba(201,162,78,0.5) 100%),
    var(--c-night);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    0 30px 80px -30px rgba(15,26,46,0.45),
    0 4px 10px rgba(15,26,46,0.08);
}

/* Decorative geometric pattern (Fouta-Djallon inspired) */
.hero-figure::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 12px, rgba(245,239,230,0.07) 12px 13px),
    repeating-linear-gradient(90deg, transparent 0 12px, rgba(245,239,230,0.07) 12px 13px),
    repeating-linear-gradient(45deg, transparent 0 40px, rgba(201,162,78,0.18) 40px 42px);
}
.hero-figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(245,239,230,0.18), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(201,162,78,0.25), transparent 50%);
}

.hero-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
}

.hero-figure .figure-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--s-5);
  z-index: 3;
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-ivory);
  font-size: var(--t-base);
  line-height: 1.4;
  background: linear-gradient(180deg, transparent, rgba(15,26,46,0.65));
}

/* Countdown */
.countdown {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: var(--c-cream);
}
.countdown-cell {
  background: var(--c-cream);
  padding: var(--s-4) var(--s-3);
  text-align: center;
}
.countdown-cell .num {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 400;
  color: var(--c-night);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}
.countdown-cell .lbl {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
  margin-top: 8px;
}

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero-visual { order: -1; max-width: 460px; }
}

/* ==========================================================================
   MANIFESTO
   ========================================================================== */

.manifesto {
  background: var(--c-paper);
  padding-block: var(--s-11);
  position: relative;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--s-9);
  align-items: start;
}

.manifesto-quote {
  font-family: var(--f-display);
  font-weight: 300;
  font-size: var(--t-2xl);
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: var(--c-night);
}
.manifesto-quote em {
  font-style: italic;
  color: var(--c-gold-deep);
  font-weight: 400;
}

.manifesto-body { color: var(--c-ink); font-size: var(--t-md); line-height: 1.7; }
.manifesto-body p + p { margin-top: var(--s-5); }

.manifesto-signature {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--c-line);
  font-size: var(--t-sm);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
}

@media (max-width: 900px) {
  .manifesto-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* ==========================================================================
   SECTION HEAD (shared)
   ----------------------------------------------------------------------
   2-column editorial pattern :
     ┌──────────────┬─────────────────────────────────┐
     │              │ Titre principal grand           │
     │  — 01        │ en grande typographie serif     │
     │  PROGRAMME   │                                 │
     │              │ Description courte, lede        │
     │      01      │ alignée à 60ch pour la          │
     │              │ lisibilité.                     │
     └──────────────┴─────────────────────────────────┘
        ^ visual block          ^ content
        (bleu nuit + numéro
         italique géant en or)

   Used on : .program / .impact / .sponsoring (homepage) + page-sponsoring.
   ========================================================================== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: var(--s-7);
  /* `stretch` (default) — the card matches the right column height. */
  align-items: stretch;
  margin-bottom: var(--s-6);
}

/* Left column — decorative editorial block, stretches with the right column. */
.section-head__visual {
  position: relative;
  min-height: 280px;
  padding: var(--s-5) var(--s-6);
  background: linear-gradient(155deg, var(--c-night) 0%, var(--c-indigo) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
  color: var(--c-gold-light);
}

/* Subtle textile-inspired bands. */
.section-head__visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(0deg,  transparent 0 16px, rgba(201,162,78,0.07) 16px 17px),
    repeating-linear-gradient(45deg, transparent 0 36px, rgba(245,239,230,0.04) 36px 37px);
  pointer-events: none;
}

/* Top-left label badge : "— 01 · PROGRAMME".
   Dark pill background ensures readability when the giant number sits behind. */
.section-head__visual .label {
  position: relative;
  z-index: 2;
  display: inline-block;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-gold);
  font-weight: 500;
  background: rgba(15, 26, 46, 0.55);
  padding: 8px 14px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(201, 162, 78, 0.18);
}

/* Decorative italic serif number — centered, big enough to be a visual
   element, but capped in size so its top edge always sits below the label
   badge (even for tall digits like 0/2/4 with line-height 0.85). */
.section-head__visual .big {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  font-family: var(--f-display);
  font-style: italic;
  font-weight: 300;
  font-size: clamp(7rem, 14vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: rgba(201, 162, 78, 0.62);
  user-select: none;
  pointer-events: none;
}

/* Right column — title + lede. */
.section-head__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.section-head__content h2 {
  font-size: var(--t-3xl);
  font-weight: 300;
  letter-spacing: -0.03em;
  line-height: 1;
  margin: 0;
}
.section-head__content h2 em { font-style: italic; color: var(--c-gold-deep); }

.section-head__content .lede {
  color: var(--c-ink);
  max-width: 60ch;
  margin-top: var(--s-5);
  font-size: var(--t-md);
  line-height: 1.55;
}

@media (max-width: 800px) {
  .section-head { grid-template-columns: 1fr; gap: var(--s-5); }
  .section-head__visual { min-height: 180px; padding: var(--s-4) var(--s-5); }
  .section-head__visual .big { font-size: clamp(5rem, 16vw, 9rem); }
}

/* ==========================================================================
   PROGRAM
   ========================================================================== */

.program {
  background: var(--c-ivory);
}

.program-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--c-line);
}

.program-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.5fr 1fr;
  gap: var(--s-7);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--c-line);
  align-items: start;
  transition: padding .5s var(--ease-luxe);
  position: relative;
}
.program-item:hover { padding-left: var(--s-4); }
.program-item:hover::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--c-gold);
}

.program-item .num {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 300;
  color: var(--c-gold-deep);
  font-variant-numeric: tabular-nums;
}

.program-item .meta { color: var(--c-ink-soft); }
.program-item .meta .kicker { display: block; margin-bottom: var(--s-3); }
.program-item .meta .tag {
  display: inline-block;
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-night);
  font-size: var(--t-base);
}

.program-item h3 {
  font-size: var(--t-xl);
  font-weight: 400;
  margin-bottom: var(--s-3);
}
.program-item h3 em { font-style: italic; color: var(--c-gold-deep); font-weight: 400; }

.program-item .lede {
  font-size: var(--t-base);
  line-height: 1.6;
  color: var(--c-ink);
  font-family: var(--f-body);
  max-width: 60ch;
}

.program-item .detail {
  font-size: var(--t-sm);
  color: var(--c-ink-soft);
  font-style: italic;
  font-family: var(--f-display);
}

@media (max-width: 1000px) {
  .program-item {
    grid-template-columns: 60px 1fr;
    gap: var(--s-4);
  }
  .program-item .meta { grid-column: 1 / -1; }
  .program-item .detail { grid-column: 1 / -1; padding-top: var(--s-3); border-top: 1px dashed var(--c-line); }
}

/* ==========================================================================
   TEXTILE GALLERY
   ========================================================================== */

.textile {
  background: linear-gradient(180deg, var(--c-ivory) 0%, var(--c-paper) 100%);
  /* Tighter than the default .section padding — the centered intro makes
     extra top whitespace feel exaggerated. */
  padding-block: var(--s-6);
}

.textile-intro {
  max-width: 56ch;
  margin: 0 auto var(--s-7);
  text-align: center;
}
.textile-intro .kicker { color: var(--c-gold-deep); display: block; margin-bottom: var(--s-4); }
.textile-intro h2 { font-size: var(--t-2xl); font-weight: 300; margin-bottom: var(--s-5); }
.textile-intro h2 em { font-style: italic; color: var(--c-gold-deep); }
.textile-intro p { color: var(--c-ink); margin-inline: auto; }

.textile-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
}

.textile-card {
  position: relative;
  aspect-ratio: 3 / 4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--c-night);
  cursor: pointer;
  transition: transform .6s var(--ease-luxe);
}
.textile-card:hover { transform: translateY(-6px); }

.textile-card .pattern {
  position: absolute; inset: 0;
  background-color: var(--c-night);
}
/* Per-card distinct generative textile motif */
.textile-card:nth-child(1) .pattern {
  background-image:
    repeating-linear-gradient(0deg, rgba(201,162,78,.55) 0 2px, transparent 2px 14px),
    repeating-linear-gradient(90deg, rgba(245,239,230,.18) 0 2px, transparent 2px 22px);
  background-color: #1A2640;
}
.textile-card:nth-child(2) .pattern {
  background-image:
    repeating-linear-gradient(45deg, rgba(201,162,78,.45) 0 6px, transparent 6px 18px),
    repeating-linear-gradient(-45deg, rgba(245,239,230,.18) 0 6px, transparent 6px 18px);
  background-color: #2A3A6E;
}
.textile-card:nth-child(3) .pattern {
  background-image:
    radial-gradient(circle at 25% 25%, rgba(201,162,78,.5) 0 6px, transparent 7px),
    radial-gradient(circle at 75% 75%, rgba(245,239,230,.3) 0 4px, transparent 5px);
  background-size: 36px 36px, 28px 28px;
  background-color: #15213A;
}
.textile-card:nth-child(4) .pattern {
  background-image:
    repeating-linear-gradient(90deg, rgba(201,162,78,.4) 0 4px, transparent 4px 12px),
    repeating-linear-gradient(0deg, rgba(245,239,230,.15) 0 4px, transparent 4px 28px);
  background-color: #1A2640;
}

.textile-card img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  z-index: 2;
}

.textile-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(15,26,46,0.85) 100%);
  z-index: 3;
}
.textile-card .body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: var(--s-5);
  color: var(--c-ivory);
  z-index: 4;
}
.textile-card .body h4 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 400;
  font-style: italic;
  color: var(--c-ivory);
  margin-bottom: var(--s-3);
}
.textile-card .body p {
  font-size: var(--t-sm);
  line-height: 1.55;
  color: rgba(245,239,230,0.78);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .6s var(--ease-luxe), opacity .4s var(--ease-luxe), margin .6s var(--ease-luxe);
}
.textile-card:hover .body p {
  max-height: 200px;
  opacity: 1;
  margin-top: 0;
}

@media (max-width: 1000px) {
  .textile-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .textile-grid { grid-template-columns: 1fr; }
}

/* ==========================================================================
   HORIZON (about)
   ========================================================================== */

.horizon {
  background: var(--c-night);
  color: var(--c-ivory);
}
.horizon::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, transparent 0 60px, rgba(201,162,78,0.04) 60px 61px);
  pointer-events: none;
}

.horizon-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
  position: relative;
}

.horizon h2 { color: var(--c-ivory); font-size: var(--t-2xl); font-weight: 300; margin-bottom: var(--s-5); }
.horizon h2 em { font-style: italic; color: var(--c-gold); }
.horizon .kicker { color: var(--c-gold); margin-bottom: var(--s-4); display: block; }
.horizon p { color: rgba(245,239,230,0.78); font-size: var(--t-md); line-height: 1.7; }
.horizon p + p { margin-top: var(--s-5); }

.horizon-since {
  font-family: var(--f-display);
  font-style: italic;
  font-size: var(--t-md);
  color: var(--c-gold-light);
  margin-top: var(--s-5);
}

.realisations {
  border-top: 1px solid rgba(245,239,230,0.18);
}
.realisation {
  display: grid;
  grid-template-columns: 60px 1fr auto;
  gap: var(--s-5);
  padding: var(--s-5) 0;
  border-bottom: 1px solid rgba(245,239,230,0.12);
  align-items: baseline;
  transition: padding-left .5s var(--ease-luxe);
}
.realisation:hover { padding-left: var(--s-4); }
.realisation .idx {
  font-family: var(--f-display);
  font-size: var(--t-sm);
  color: var(--c-gold);
  font-variant-numeric: tabular-nums;
}
.realisation .title {
  font-family: var(--f-display);
  font-size: var(--t-lg);
  font-weight: 400;
  color: var(--c-ivory);
}
.realisation .venue {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245,239,230,0.55);
}

@media (max-width: 900px) {
  .horizon-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}

/* ==========================================================================
   IMPACT — animated figures
   ========================================================================== */

.impact {
  background: var(--c-paper);
}
.impact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}

.impact-cell {
  background: var(--c-paper);
  padding: var(--s-7);
  position: relative;
  transition: background .5s var(--ease-luxe);
}
.impact-cell:hover { background: var(--c-cream); }

.impact-cell .num {
  font-family: var(--f-display);
  font-size: clamp(3rem, 2.4rem + 3vw, 5.5rem);
  font-weight: 300;
  line-height: 0.95;
  letter-spacing: -0.04em;
  color: var(--c-night);
  display: block;
  font-variant-numeric: tabular-nums;
}
.impact-cell .num em { font-style: italic; color: var(--c-gold-deep); }
.impact-cell .lbl {
  display: block;
  margin-top: var(--s-4);
  font-size: var(--t-sm);
  line-height: 1.5;
  color: var(--c-ink-soft);
  max-width: 30ch;
}

@media (max-width: 900px) { .impact-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .impact-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   SPONSORING
   ========================================================================== */

.sponsoring {
  background: var(--c-ivory);
}

.sponsoring-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}

.tier-card {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: var(--s-7) var(--s-6);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform .5s var(--ease-luxe), box-shadow .5s var(--ease-luxe), border-color .5s var(--ease-luxe);
}
.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px -30px rgba(15,26,46,0.18);
  border-color: var(--c-line-strong);
}

.tier-card--featured {
  background: var(--c-night);
  color: var(--c-ivory);
  border-color: var(--c-night);
}
/* Featured tier (Or) — pure gold + ivory.
   Selector doubled (.tier-card.tier-card--featured) to bump specificity
   above the .tier-card base rules that come later in the file, otherwise
   the dark-on-dark base colors win and the text becomes unreadable. */
.tier-card.tier-card--featured h3                  { color: var(--c-gold); }
.tier-card.tier-card--featured .tier-sub           { color: var(--c-gold-light); }
.tier-card.tier-card--featured .tier-price         { color: var(--c-ivory); }
.tier-card.tier-card--featured .tier-price small   { color: var(--c-gold); }
.tier-card.tier-card--featured .tier-section-label { color: var(--c-gold); }
.tier-card.tier-card--featured ul li               { color: var(--c-ivory); border-bottom-color: rgba(245, 239, 230, 0.12); }
.tier-card.tier-card--featured ul li::before       { background: var(--c-gold); }
.tier-card.tier-card--featured .tier-divider       { background: rgba(245, 239, 230, 0.18); }

.tier-badge {
  position: absolute;
  top: -12px;
  left: var(--s-6);
  background: var(--c-gold);
  color: var(--c-night);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding: 6px 12px;
  font-weight: 600;
}

.tier-card h3 {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: var(--t-xl);
  margin-bottom: var(--s-2);
  color: var(--c-night);
}
.tier-sub {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  margin-bottom: var(--s-5);
}
.tier-price {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 300;
  color: var(--c-night);
  margin-bottom: var(--s-5);
  letter-spacing: -0.02em;
}
.tier-price small {
  display: block;
  font-family: var(--f-body);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  font-style: normal;
  margin-top: 4px;
}

.tier-section-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-gold-deep);
  margin-bottom: var(--s-3);
  margin-top: var(--s-5);
}

.tier-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.tier-card ul li {
  padding: var(--s-3) 0 var(--s-3) var(--s-5);
  position: relative;
  font-size: var(--t-sm);
  line-height: 1.55;
  color: var(--c-ink);
  border-bottom: 1px solid rgba(15,26,46,0.06);
}
.tier-card ul li:last-child { border-bottom: 0; }
.tier-card ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 1.05em;
  width: 12px; height: 1px;
  background: var(--c-gold-deep);
}

.tier-divider {
  height: 1px;
  background: var(--c-line);
  margin: var(--s-4) 0 0;
}

.tier-cta {
  margin-top: auto;
  padding-top: var(--s-6);
}

.sponsoring-foot {
  margin-top: var(--s-9);
  padding-top: var(--s-7);
  border-top: 1px solid var(--c-line);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: center;
}
.sponsoring-foot p {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-style: italic;
  color: var(--c-ink);
  max-width: 50ch;
}

@media (max-width: 1000px) {
  .sponsoring-grid { grid-template-columns: 1fr; }
  .sponsoring-foot { grid-template-columns: 1fr; }
}

/* ==========================================================================
   PARTNERS
   ========================================================================== */

.partners {
  background: var(--c-paper);
  padding-block: var(--s-7);
}
.partners-head {
  text-align: center;
  margin-bottom: var(--s-7);
}
.partners-head .kicker { color: var(--c-gold-deep); display: block; margin-bottom: var(--s-3); }
.partners-head h2 {
  font-family: var(--f-display);
  font-size: var(--t-xl);
  font-weight: 300;
  font-style: italic;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1px;
  background: var(--c-line);
  border: 1px solid var(--c-line);
}
.partner-cell {
  background: var(--c-paper);
  padding: var(--s-6) var(--s-4);
  display: grid;
  place-items: center;
  text-align: center;
  font-family: var(--f-display);
  font-size: var(--t-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--c-ink);
  min-height: 100px;
  transition: background .4s var(--ease-luxe), color .4s var(--ease-luxe);
}
.partner-cell:hover {
  background: var(--c-night);
  color: var(--c-gold);
}

@media (max-width: 900px) { .partners-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 540px) { .partners-grid { grid-template-columns: repeat(2, 1fr); } }

/* ==========================================================================
   CTA STRIP
   ========================================================================== */
.cta-strip {
  background: var(--c-night);
  color: var(--c-ivory);
  padding-block: var(--s-7);
  position: relative;
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(201,162,78,0.06) 80px 81px);
  pointer-events: none;
}
.cta-strip-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: var(--s-7);
  align-items: center;
  position: relative;
}
.cta-strip h2 {
  font-family: var(--f-display);
  font-size: var(--t-2xl);
  font-weight: 300;
  color: var(--c-ivory);
  letter-spacing: -0.025em;
}
.cta-strip h2 em { font-style: italic; color: var(--c-gold); }
.cta-strip .actions { display: flex; gap: var(--s-4); flex-wrap: wrap; justify-content: flex-end; }
@media (max-width: 900px) {
  .cta-strip-grid { grid-template-columns: 1fr; }
  .cta-strip .actions { justify-content: flex-start; }
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--c-night);
  color: var(--c-ivory);
  padding: var(--s-9) var(--gutter) var(--s-6);
  border-top: 1px solid rgba(245,239,230,0.1);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: var(--s-7);
  max-width: var(--max-w);
  margin: 0 auto;
}
.footer-brand { display: flex; flex-direction: column; gap: var(--s-4); }
.footer-brand .brand { color: var(--c-ivory); }
.footer-brand .brand-mark { background: var(--c-gold); color: var(--c-night); }
.footer-brand .brand-text small { color: rgba(245,239,230,0.55); }
.footer-brand p {
  font-family: var(--f-display);
  font-style: italic;
  color: rgba(245,239,230,0.7);
  font-size: var(--t-sm);
}

.footer-col h5 {
  font-family: var(--f-body);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-gold);
  margin-bottom: var(--s-4);
  font-weight: 500;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: var(--s-3); }
.footer-col a {
  font-size: var(--t-sm);
  color: rgba(245,239,230,0.78);
}
.footer-col a:hover { color: var(--c-gold); }

.footer-bottom {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid rgba(245,239,230,0.1);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-4);
  max-width: var(--max-w);
  margin-inline: auto;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(245,239,230,0.5);
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   PAGE: SPONSORING (detail)
   ========================================================================== */

.page-hero {
  padding: 12rem var(--gutter) var(--s-9);
  background: var(--c-paper);
  border-bottom: 1px solid var(--c-line);
}
.page-hero .kicker { display: block; margin-bottom: var(--s-4); color: var(--c-gold-deep); }
.page-hero h1 {
  font-size: var(--t-3xl);
  font-weight: 300;
  margin-bottom: var(--s-5);
  max-width: 18ch;
}
.page-hero h1 em { font-style: italic; color: var(--c-gold-deep); }
.page-hero .lede {
  font-size: var(--t-md);
  font-family: var(--f-display);
  font-style: italic;
  color: var(--c-ink);
  max-width: 60ch;
  font-weight: 300;
}

.compare-table {
  width: 100%;
  margin-top: var(--s-7);
  border-collapse: collapse;
  font-size: var(--t-sm);
}
.compare-table th, .compare-table td {
  padding: var(--s-4) var(--s-4);
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
}
.compare-table thead th {
  font-family: var(--f-display);
  font-size: var(--t-md);
  font-weight: 400;
  color: var(--c-night);
  border-bottom: 1px solid var(--c-line-strong);
}
.compare-table tbody th {
  font-family: var(--f-body);
  font-weight: 500;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ink-soft);
  width: 28%;
}
.compare-table td.has { color: var(--c-night); }
.compare-table td.has::before {
  content: '✓';
  color: var(--c-gold-deep);
  margin-right: 8px;
  font-weight: 600;
}

/* ==========================================================================
   PAGE: CONTACT
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
  margin-top: var(--s-7);
}

.contact-info dl {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: var(--s-3) var(--s-5);
  margin: 0;
}
.contact-info dt {
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--c-ink-soft);
  padding-top: 4px;
}
.contact-info dd {
  margin: 0;
  font-family: var(--f-display);
  font-size: var(--t-md);
  color: var(--c-night);
}
.contact-info dd a { border-bottom: 1px solid var(--c-line); padding-bottom: 2px; }
.contact-info dd a:hover { border-color: var(--c-gold-deep); }
.contact-info .phones { display: flex; flex-direction: column; gap: var(--s-1); font-family: var(--f-body); font-size: var(--t-base); font-variant-numeric: tabular-nums; }

.contact-form {
  background: var(--c-paper);
  border: 1px solid var(--c-line);
  padding: var(--s-7);
}
.contact-form h3 { font-size: var(--t-lg); margin-bottom: var(--s-5); font-weight: 400; }
.contact-form label { display: block; margin-bottom: var(--s-4); }
.contact-form .lbl {
  display: block;
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--c-ink-soft);
  margin-bottom: 6px;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid var(--c-line);
  background: var(--c-paper);
  font-family: var(--f-body);
  font-size: var(--t-base);
  color: var(--c-night);
  transition: border-color .3s var(--ease-luxe);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--c-night);
}
.contact-form textarea { min-height: 140px; resize: vertical; }

.form-flash {
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-5);
  font-size: var(--t-sm);
  line-height: 1.5;
  border-left: 2px solid;
}
.form-flash--ok  { background: rgba(201,162,78,0.10); color: var(--c-gold-deep); border-color: var(--c-gold); }
.form-flash--err { background: rgba(204,68,68,0.08);  color: #b3392f;            border-color: #cc4444; }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; gap: var(--s-7); } }

/* ==========================================================================
   REVEAL ANIMATIONS (GSAP-driven)
   ========================================================================== */

.reveal { opacity: 0; transform: translateY(24px); }
.reveal.is-in { opacity: 1; transform: translateY(0); transition: opacity 1s var(--ease-luxe), transform 1s var(--ease-luxe); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
  .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   SELECTION
   ========================================================================== */
::selection {
  background: var(--c-night);
  color: var(--c-gold);
}

/* ==========================================================================
   ACCESSIBILITY HELPERS
   ========================================================================== */

/* WordPress screen-reader-text — visually hide while remaining accessible to AT */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  -webkit-clip-path: inset(50%);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

.skip-link:focus {
  background: var(--c-gold);
  color: var(--c-night);
  clip: auto !important;
  -webkit-clip-path: none;
  clip-path: none;
  display: block;
  font-size: var(--t-sm);
  font-weight: 500;
  height: auto;
  left: 12px;
  line-height: normal;
  padding: 12px 20px;
  text-decoration: none;
  top: 12px;
  width: auto;
  z-index: 999999;
}

/* Visible focus state — keyboard users */
:focus-visible {
  outline: 2px solid var(--c-gold);
  outline-offset: 3px;
}

/* ==========================================================================
   UTILITIES (small, intentional set)
   ========================================================================== */
.u-mt-3 { margin-top: var(--s-3) !important; }
.u-mt-5 { margin-top: var(--s-5) !important; }
.u-mt-7 { margin-top: var(--s-7) !important; }

.u-row { display: flex; gap: var(--s-4); flex-wrap: wrap; }
.u-row--end { justify-content: flex-end; }

/* Component-specific small overrides that aren't worth their own section */
.cta-strip__lede {
  color: rgba(245, 239, 230, 0.75);
  margin-top: var(--s-4);
  max-width: 50ch;
}
.address-plain { font-style: normal; }
.footer-address {
  font-style: normal;
  font-size: 0.86rem;
  color: rgba(245, 239, 230, 0.6);
}
