/* ============================================================
   BeMED Connect — editorial luxury system
   Playfair Display (display) + Inter (text)
   Cinematic dark + surgical gold
   ============================================================ */

:root {
  /* surfaces */
  --ink-0: #05070B;   /* deepest */
  --ink-1: #0B1018;
  --ink-2: #111827;
  --ink-line: rgba(255, 255, 255, 0.10);
  --ink-line-soft: rgba(255, 255, 255, 0.06);

  /* gold — surgical */
  --gold: #D4AF37;
  --gold-soft: #C9A94A;
  --gold-deep: #A8842A;
  --gold-grad: linear-gradient(180deg, #F0D885 0%, #D4AF37 48%, #A8842A 100%);

  /* text */
  --white: #FFFFFF;
  --silver: #C7CAD1;
  --grey: #8C909B;
  --grey-dim: #5C606B;

  /* type */
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  /* rhythm */
  --gutter: clamp(22px, 5vw, 80px);
  --maxw: 1280px;
  --chapter-pad: clamp(96px, 16vh, 200px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ink-0);
  color: var(--white);
  font-family: var(--sans);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}

::selection { background: rgba(212, 175, 55, 0.28); color: #fff; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* empty image-slot — intentional cinematic placeholder */
image-slot {
  background:
    radial-gradient(120% 120% at 30% 20%, rgba(212,175,55,0.05) 0%, transparent 50%),
    linear-gradient(160deg, #0E141E 0%, #080B11 60%, #05070B 100%);
  display: block;
}

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

.chapter { position: relative; padding-block: var(--chapter-pad); }

/* ---------- kicker / labels ---------- */
.kicker {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.kicker::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}
.kicker.center { justify-content: center; }
.kicker.plain::before { display: none; }

.label-mono {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--grey);
}

/* ---------- display type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.012em;
  margin: 0;
}
.serif-italic { font-style: italic; }
.gold { color: var(--gold); }
.gold-grad {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* shimmering gold keyword */
.shine {
  background: linear-gradient(110deg, var(--gold-deep) 0%, #F4E09A 28%, var(--gold) 50%, #F4E09A 72%, var(--gold-deep) 100%);
  background-size: 240% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -240% 0; } }

/* slow cinematic zoom for full-bleed media */
@keyframes kenburns { from { transform: scale(1.001); } to { transform: scale(1.10); } }

p.lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.66;
  color: var(--silver);
  font-weight: 300;
  max-width: 60ch;
}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px var(--gutter);
  transition: background 0.5s var(--ease), padding 0.5s var(--ease), border-color 0.5s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(5, 7, 11, 0.72);
  backdrop-filter: blur(14px) saturate(120%);
  -webkit-backdrop-filter: blur(14px) saturate(120%);
  padding-block: 15px;
  border-bottom: 1px solid var(--ink-line-soft);
}
.brand {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 600;
  letter-spacing: 0.01em;
  display: flex;
  align-items: baseline;
  gap: 9px;
}
.brand img { display: block; height: 40px; width: auto; transition: height 0.5s var(--ease); }
.nav.scrolled .brand img { height: 34px; }
.brand.foot img { height: 68px; }
.brand .be { color: var(--white); }
.brand .connect {
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  transform: translateY(-1px);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3vw, 42px);
}
.nav-links a {
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: var(--silver);
  transition: color 0.25s var(--ease);
}
.nav-links a:hover { color: var(--white); }
.nav-links .nav-hide { }

.btn-invite {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(212, 175, 55, 0.42);
  padding: 11px 22px;
  border-radius: 999px;
  transition: all 0.3s var(--ease);
  white-space: nowrap;
}
.btn-invite:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink-0);
}

/* ============================================================
   HERO  (WOW 1)
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media image-slot { width: 100%; height: 100%; animation: kenburns 24s ease-in-out infinite alternate; }
.hero-media::after {
  /* cinematic overlay — dark on the text (left/bottom), reveals the room */
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5,7,11,0.90) 0%, rgba(5,7,11,0.60) 40%, rgba(5,7,11,0.22) 70%, rgba(5,7,11,0.05) 100%),
    linear-gradient(180deg, rgba(5,7,11,0.30) 0%, rgba(5,7,11,0) 40%, rgba(5,7,11,0.42) 84%, var(--ink-0) 100%);
  z-index: 1;
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-top: clamp(90px, 12vh, 140px);
  padding-bottom: clamp(44px, 9vh, 120px);
}
.hero h1 {
  font-size: clamp(34px, 5.4vw, 76px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.018em;
  margin: 22px 0 0;
  max-width: 17ch;
  text-wrap: balance;
}
.hero h1 .em { font-style: italic; font-weight: 500; }
.hero-sub {
  margin-top: 30px;
  max-width: 52ch;
  font-size: clamp(15px, 1.3vw, 18px);
  font-weight: 300;
  line-height: 1.62;
  color: var(--silver);
}
.hero-cta-row {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}
.cta-primary {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-0);
  background: var(--gold-grad);
  padding: 16px 30px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 8px 40px rgba(212, 175, 55, 0.18);
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 54px rgba(212, 175, 55, 0.30); }
.cta-primary .arrow { transition: transform 0.4s var(--ease); }
.cta-primary:hover .arrow { transform: translateX(5px); }

.cta-ghost {
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--silver);
  border-bottom: 1px solid rgba(255,255,255,0.22);
  padding-bottom: 3px;
  transition: color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.cta-ghost:hover { color: var(--white); border-color: var(--gold); }

.scroll-cue {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--grey);
  font-size: 10px; letter-spacing: 0.3em; text-transform: uppercase;
}
.scroll-cue .line { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; transform-origin: top; }
@keyframes cue { 0%,100%{ transform: scaleY(0.3); opacity:0.4 } 50%{ transform: scaleY(1); opacity:1 } }

/* ============================================================
   MANIFESTO — what Connect is
   ============================================================ */
.manifesto { background: var(--ink-0); }
.manifesto .grid {
  display: grid;
  grid-template-columns: 0.8fr 2.2fr;
  gap: clamp(28px, 6vw, 90px);
  align-items: start;
}
.neg-list { margin: 28px 0 0; }
.neg-list .neg {
  font-family: var(--serif);
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 400;
  line-height: 1.24;
  color: var(--grey-dim);
  position: relative;
  display: inline-block;
}
.neg-list .neg .strike { position: relative; }
.neg-list .neg .strike::after {
  content: "";
  position: absolute; left: -2px; right: -2px; top: 52%;
  height: 1px; background: var(--grey-dim);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.7s var(--ease);
}
.reveal.in .neg-list .neg .strike::after { transform: scaleX(1); }
.neg-list .neg + .neg { margin-top: 6px; }
.affirm {
  margin-top: 34px;
  font-family: var(--serif);
  font-size: clamp(20px, 2.7vw, 34px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  max-width: 20ch;
  text-wrap: balance;
}

/* ============================================================
   THE IDEA — editorial rhythm (no cards)
   ============================================================ */
.idea { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); }
.idea-head { max-width: 60ch; margin-bottom: clamp(40px, 7vh, 90px); }
.idea-row {
  display: grid;
  grid-template-columns: 64px 1fr 1.3fr;
  gap: clamp(18px, 4vw, 56px);
  align-items: baseline;
  padding-block: clamp(26px, 4vh, 44px);
  border-top: 1px solid var(--ink-line-soft);
}
.idea-row:last-child { border-bottom: 1px solid var(--ink-line-soft); }
.idea-row .num {
  font-family: var(--sans);
  font-size: 12px; font-weight: 500; letter-spacing: 0.12em;
  color: var(--gold); padding-top: 14px;
}
.idea-row .word {
  font-family: var(--serif);
  font-size: clamp(30px, 4.6vw, 58px);
  font-weight: 500; line-height: 1.0; letter-spacing: -0.012em;
  transition: color 0.4s var(--ease);
}
.idea-row .desc {
  font-size: clamp(15px, 1.4vw, 18px);
  color: var(--grey); font-weight: 300; line-height: 1.6; max-width: 42ch;
  padding-top: 6px;
}
.idea-row:hover .word { color: var(--gold); }

/* ============================================================
   FULLSCREEN QUOTE  (WOW 2)
   ============================================================ */
.quote-full {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  text-align: center;
}
.quote-media { position: absolute; inset: 0; z-index: 0; }
.quote-media image-slot { width: 100%; height: 100%; animation: kenburns 26s ease-in-out infinite alternate; }
.quote-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(85% 85% at 50% 50%, rgba(5,7,11,0.38) 0%, rgba(5,7,11,0.74) 100%),
    linear-gradient(180deg, var(--ink-0), rgba(5,7,11,0.15) 26%, rgba(5,7,11,0.15) 74%, var(--ink-0));
  z-index: 1;
}
.quote-inner { position: relative; z-index: 2; width: 100%; max-width: min(92vw, 1060px); padding-inline: var(--gutter); }
.q-eyebrow {
  display: block; font-family: var(--sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.34em; text-transform: uppercase; color: var(--gold);
  margin-bottom: clamp(34px, 6vh, 64px);
}
.quote-inner blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(34px, 5.6vw, 84px);
  font-weight: 400; font-style: italic;
  line-height: 1.12; letter-spacing: -0.018em;
  text-wrap: balance;
}

/* ============================================================
   A MESA — who belongs
   ============================================================ */
.mesa { background: var(--ink-0); }
.mesa .grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(32px, 7vw, 110px); align-items: center; }
.mesa h2 {
  font-family: var(--serif);
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 500; line-height: 1.08; letter-spacing: -0.014em; margin: 22px 0 0;
  text-wrap: balance;
}
.mesa p { margin-top: 28px; }
.who-list { margin-top: 40px; display: flex; flex-direction: column; gap: 0; }
.who-list .row {
  display: flex; gap: 20px; align-items: baseline;
  padding-block: 18px; border-top: 1px solid var(--ink-line-soft);
}
.who-list .row:last-child { border-bottom: 1px solid var(--ink-line-soft); }
.who-list .row .t {
  font-family: var(--serif); font-size: 20px; font-weight: 500; color: var(--white); flex: none; width: 12ch;
}
.who-list .row .d { font-size: 15px; color: var(--grey); font-weight: 300; line-height: 1.55; }
.mesa-media { position: relative; }
.mesa-media image-slot { width: 100%; aspect-ratio: 4/5; }
.mesa-media .tag {
  position: absolute; left: 18px; bottom: 18px; z-index: 3;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--silver);
  background: rgba(5,7,11,0.55); backdrop-filter: blur(6px);
  padding: 8px 14px; border: 1px solid var(--ink-line-soft); border-radius: 999px;
}

/* ============================================================
   TENDAL PRIME  (WOW 3)
   ============================================================ */
.tendal { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); }
.tendal-head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: clamp(36px, 6vh, 72px); }
.tendal-head h2 {
  font-family: var(--serif); font-size: clamp(28px, 3.8vw, 52px); font-weight: 500;
  line-height: 1.04; letter-spacing: -0.016em; margin: 18px 0 0;
}
.tendal-head .right { padding-bottom: 8px; }
.tendal-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  grid-template-rows: auto auto;
  gap: 16px;
}
.tendal-grid .big { grid-row: span 2; }
.tendal-grid .big, .tendal-grid .small { overflow: hidden; border-radius: 4px; }
.tendal-grid image-slot { width: 100%; transition: transform 1.1s var(--ease); }
.tendal-grid .big:hover image-slot, .tendal-grid .small:hover image-slot { transform: scale(1.05); }
.tendal-grid .big image-slot { aspect-ratio: 4/5; height: 100%; }
.tendal-grid .small image-slot { aspect-ratio: 16/11; }
.tendal-cap {
  margin-top: 26px; display: flex; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  border-top: 1px solid var(--ink-line-soft); padding-top: 22px;
}
.tendal-cap p { max-width: 52ch; color: var(--silver); font-weight: 300; font-size: 17px; margin: 0; }
.tendal-cap .loc { font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold); white-space: nowrap; padding-top: 4px; }
.tendal-cap .loc small {
  display: block; margin-top: 8px; font-size: 11px; letter-spacing: 0.04em;
  text-transform: none; color: var(--grey); font-weight: 300; white-space: normal; max-width: 30ch;
}

/* ============================================================
   MANU & LEE — editorial feature
   ============================================================ */
.feature { background: var(--ink-1); border-top: 1px solid var(--ink-line-soft); }
.feature .grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 7vw, 100px); align-items: center; }
.feature-media { position: relative; overflow: hidden; border-radius: 6px; }
.feature-media image-slot { width: 100%; aspect-ratio: 4/5; transition: transform 1s var(--ease); }
.feature-media:hover image-slot { transform: scale(1.04); }
.feature-media .frame-tag {
  position: absolute; top: 16px; left: 16px; z-index: 3;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase; color: var(--gold);
}
.feature h2 {
  font-family: var(--serif); font-size: clamp(26px, 3.2vw, 44px); font-weight: 500;
  line-height: 1.1; letter-spacing: -0.014em; margin: 22px 0 0; text-wrap: balance;
}
.feature .pull {
  margin: 30px 0; font-family: var(--serif); font-style: italic; font-weight: 400;
  font-size: clamp(19px, 2.2vw, 26px); line-height: 1.32; color: var(--gold-soft);
  padding-left: 22px; border-left: 1px solid rgba(212,175,55,0.4); text-wrap: balance;
}
.feature p { color: var(--silver); font-weight: 300; max-width: 56ch; }
.feature p + p { margin-top: 18px; }
.feature .sign {
  margin-top: 34px; font-family: var(--serif); font-style: italic; font-size: 22px; color: var(--white);
}
.feature .sign small { display: block; font-family: var(--sans); font-style: normal; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--grey); margin-top: 8px; }

/* ============================================================
   A NOITE — the evening (prose beats)
   ============================================================ */
.evening { background: var(--ink-0); }
.evening-head { text-align: center; max-width: 56ch; margin: 0 auto clamp(46px, 8vh, 96px); }
.evening-head h2 { font-family: var(--serif); font-size: clamp(30px, 4.2vw, 56px); font-weight: 500; line-height: 1.1; margin: 20px 0 0; }
.beats { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 5vw, 64px); }
.beat { }
.beat .bn { font-family: var(--serif); font-size: 34px; font-style: italic; color: var(--gold); }
.beat h3 { font-family: var(--serif); font-size: 23px; font-weight: 500; margin: 16px 0 12px; line-height: 1.15; }
.beat p { font-size: 16px; color: var(--grey); font-weight: 300; line-height: 1.6; margin: 0; }
.beat .rule { width: 100%; height: 1px; background: var(--ink-line-soft); margin-bottom: 22px; }

/* ============================================================
   INVITATION  (CTA)
   ============================================================ */
.invite {
  position: relative; background: var(--ink-0); border-top: 1px solid var(--ink-line-soft);
  overflow: hidden;
}
.invite::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 60% at 50% 12%, rgba(212,175,55,0.10) 0%, transparent 70%);
  z-index: 0;
}
.invite .wrap { position: relative; z-index: 1; }
.invite-head { text-align: center; max-width: 30ch; margin: 0 auto; }
.invite-head h2 {
  font-family: var(--serif); font-size: clamp(38px, 6vw, 90px); font-weight: 500;
  line-height: 1.02; letter-spacing: -0.016em; margin: 22px 0 0; text-wrap: balance;
}
.invite-head p { margin: 26px auto 0; }
.invite-meta {
  display: flex; justify-content: center; gap: clamp(28px, 5vw, 64px); flex-wrap: wrap;
  margin: 46px 0 56px; text-align: center;
}
.invite-meta .m .n { font-family: var(--serif); font-size: clamp(28px, 3.4vw, 44px); color: var(--gold); line-height: 1; }
.invite-meta .m .l { margin-top: 10px; font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--grey); }

.form {
  max-width: 620px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.field { display: flex; flex-direction: column; gap: 9px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--grey); }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 16px; color: var(--white);
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--ink-line);
  border-radius: 10px; padding: 14px 16px;
  transition: border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: var(--grey-dim); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); background: rgba(212,175,55,0.04);
}
.field select { appearance: none; cursor: pointer; background-image: linear-gradient(45deg, transparent 50%, var(--grey) 50%), linear-gradient(135deg, var(--grey) 50%, transparent 50%); background-position: right 18px center, right 13px center; background-size: 5px 5px, 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--ink-2); color: var(--white); }
.form .submit-row { grid-column: 1 / -1; display: flex; flex-direction: column; align-items: center; gap: 16px; margin-top: 8px; }
.btn-submit {
  font-family: var(--sans); font-size: 14px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-0); background: var(--gold-grad);
  border: none; border-radius: 999px; padding: 17px 40px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 11px;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
  box-shadow: 0 8px 40px rgba(212,175,55,0.16);
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 14px 54px rgba(212,175,55,0.30); }
.btn-submit .arrow { transition: transform 0.4s var(--ease); }
.btn-submit:hover .arrow { transform: translateX(5px); }
.form .note { font-size: 12.5px; color: var(--grey-dim); letter-spacing: 0.02em; }

.form-success {
  max-width: 560px; margin: 0 auto; text-align: center;
  display: none; flex-direction: column; align-items: center; gap: 18px;
}
.form-success.show { display: flex; animation: fadeUp 0.7s var(--ease) both; }
.form-success .ring {
  width: 64px; height: 64px; border-radius: 999px; border: 1px solid rgba(212,175,55,0.5);
  display: flex; align-items: center; justify-content: center; color: var(--gold); font-size: 26px;
}
.form-success h3 { font-family: var(--serif); font-size: 30px; font-weight: 500; margin: 0; }
.form-success p { color: var(--silver); font-weight: 300; max-width: 44ch; margin: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink-0); border-top: 1px solid var(--ink-line-soft); padding-block: clamp(56px, 9vh, 96px); }
.footer .grid { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; }
.footer .brand { font-size: 26px; }
.footer .tag { margin-top: 14px; font-size: 13px; color: var(--grey); max-width: 36ch; font-weight: 300; }
.footer .links { display: flex; gap: 30px; }
.footer .links a { font-size: 13px; color: var(--grey); letter-spacing: 0.04em; transition: color 0.25s var(--ease); }
.footer .links a:hover { color: var(--gold); }
.footer .legal { margin-top: 38px; font-size: 11.5px; color: var(--grey-dim); letter-spacing: 0.04em; }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: 0.08s; }
.reveal.d2 { transition-delay: 0.16s; }
.reveal.d3 { transition-delay: 0.24s; }
.reveal.d4 { transition-delay: 0.32s; }

@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-cue .line { animation: none; }
  .hero-media image-slot, .quote-media image-slot { animation: none; }
  .shine { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .nav-links .nav-hide { display: none; }
  .manifesto .grid { grid-template-columns: 1fr; gap: 14px; }
  .idea-row { grid-template-columns: 40px 1fr; }
  .idea-row .desc { grid-column: 1 / -1; padding-top: 14px; }
  .mesa .grid { grid-template-columns: 1fr; }
  .mesa-media { order: -1; }
  .mesa-media image-slot { aspect-ratio: 16/11; }
  .tendal-head { grid-template-columns: 1fr; }
  .tendal-grid { grid-template-columns: 1fr; }
  .tendal-grid .big { grid-row: auto; }
  .tendal-grid .big image-slot { aspect-ratio: 16/11; }
  .feature .grid { grid-template-columns: 1fr; }
  .feature-media { order: -1; }
  .feature-media image-slot { aspect-ratio: 16/12; }
  .beats { grid-template-columns: 1fr; gap: 36px; }
  .form { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .nav-links { gap: 14px; }
  .nav-links a:not(.btn-invite) { display: none; }
  .who-list .row { flex-direction: column; gap: 6px; }
  .who-list .row .t { width: auto; }
  .footer .grid { flex-direction: column; align-items: flex-start; }
  /* hero date badge — tidy 2-line pill on small phones */
  .hero-badge {
    font-size: 10px; letter-spacing: 0.14em; line-height: 1.7;
    padding: 9px 16px; border-radius: 18px; text-align: center;
  }
  /* keep the WOW phrase dominant on mobile */
  .quote-inner blockquote { font-size: clamp(28px, 8vw, 42px); line-height: 1.2; }
  .btn-invite { padding: 10px 16px; font-size: 12px; }
}
