/* ============================================================
   Labor for FAIR AI — Landing Page
   Visual language: hard 2px black rules, sharp corners,
   blue-tint header bars, red eyebrows, Archivo display + DM Sans
   body + Spline Sans Mono labels (swappable via Tweaks).

   Post-Conference rebuild (4–5 July 2026): hero strip removed;
   Philosophy is now the first section under the nav. The former
   event-registration block is now a founding-member sign-up.
   ============================================================ */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  /* accent — overridden by Tweaks */
  --accent: #E01020;
  --accent-dark: #B50D1A;
  --accent-light: #FBE9EB;
  --accent-rgb: 224, 16, 32;

  /* fonts — overridden by Tweaks */
  --font-display: 'Archivo', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --font-mono: 'Spline Sans Mono', monospace;

  /* fixed palette */
  --ink: #111110;
  --ink-mid: #3A3A38;
  --ink-light: #666660;
  --ink-faint: #999990;
  --rule: #D8D9D4;
  --rule-dark: #C0C2BC;
  --bg: #F5F6F8;
  --bg-white: #FFFFFF;
  --bg-off: #ECEDF0;
  --blue-bg: #EEF1F7;
  --blue-mid: #D6DCE9;
  --dark: #0F0F0E;
  --dark-2: #161615;

  --maxw: 1240px;
  --pad: 64px;
}

@media (max-width: 640px) {
  :root { --pad: 22px; }
}

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--pad); }

/* offset anchor scrolling so section heads clear the fixed nav */
section[id] { scroll-margin-top: 64px; }

/* ---------- SCROLL REVEAL ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s cubic-bezier(.22,1,.36,1), transform .7s cubic-bezier(.22,1,.36,1); }
.reveal.in-view { opacity: 1; transform: none; }

/* staggered children within a reveal container: give a group class
   'stagger' and each direct child gets a nth-based delay once the
   parent's .in-view lands. */
.stagger > * { opacity: 0; transform: translateY(20px); transition: opacity .6s cubic-bezier(.22,1,.36,1), transform .6s cubic-bezier(.22,1,.36,1); }
.stagger.in-view > * { opacity: 1; transform: none; }
.stagger.in-view > *:nth-child(1) { transition-delay: .05s; }
.stagger.in-view > *:nth-child(2) { transition-delay: .14s; }
.stagger.in-view > *:nth-child(3) { transition-delay: .23s; }
.stagger.in-view > *:nth-child(4) { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  .reveal, .stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- WORDMARK ---------- */
.wordmark { font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1; }
.wordmark .f, .wordmark .r { color: currentColor; }
.wordmark .a, .wordmark .i { color: var(--accent); }
.wordmark.on-dark .f, .wordmark.on-dark .r { color: #fff; }

/* ---------- NAV ---------- */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255,255,255,0.94); backdrop-filter: blur(16px);
  border-bottom: 2px solid var(--ink);
  height: 64px;
}
nav .wrap { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.nav-brand { display: flex; align-items: baseline; gap: 11px; color: var(--ink); text-decoration: none; }
.nav-brand .wordmark { font-size: 23px; }
.nav-brand .brand-label { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--ink-light); letter-spacing: -0.01em; white-space: nowrap; }
@media (max-width: 560px) { .nav-brand .brand-label { display: none; } }
.nav-right { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 2px; }
.nav-link {
  font-family: var(--font-display);
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--ink-light); padding: 7px 13px; text-decoration: none; border-radius: 3px;
  transition: color .15s, background .15s;
}
.nav-link:hover { color: var(--accent); background: var(--accent-light); }
@media (max-width: 900px) { .nav-links { display: none; } }

/* ---------- BUTTONS ---------- */
.btn {
  font-family: var(--font-display);
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.01em;
  padding: 12px 22px; border: 2px solid var(--ink); border-radius: 0;
  cursor: pointer; text-decoration: none; transition: transform .12s, box-shadow .12s, background .15s, color .15s;
  background: var(--bg-white); color: var(--ink); white-space: nowrap;
}
.btn .arrow { transition: transform .18s; }
.btn:hover .arrow { transform: translateX(3px); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: #fff; box-shadow: 4px 4px 0 var(--ink); }
.btn-primary:hover { transform: translate(-1px,-1px); box-shadow: 6px 6px 0 var(--ink); }
.btn-primary:active { transform: translate(2px,2px); box-shadow: 1px 1px 0 var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-sm { padding: 9px 16px; font-size: 12px; }
.btn-nav { padding: 9px 16px; font-size: 12px; box-shadow: 3px 3px 0 var(--ink); }
.btn-nav:hover { transform: translate(-1px,-1px); box-shadow: 4px 4px 0 var(--ink); }

/* ---------- HERO ---------- */
.hero {
  position: relative; padding-top: 64px; border-bottom: 2px solid var(--ink);
  background: var(--dark); color: #fff; overflow: hidden;
}
.hero-border { position: absolute; top: 64px; left: 0; right: 0; height: 5px; background: var(--accent); z-index: 3; }
.hero-noise {
  position: absolute; inset: 0; opacity: 0.035; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 220px 220px;
}
.hero-glow {
  position: absolute; top: -10%; right: -8%; width: 720px; height: 720px; pointer-events: none;
  background: radial-gradient(circle, rgba(var(--accent-rgb),0.20) 0%, rgba(var(--accent-rgb),0) 62%);
  z-index: 1;
}
.hero-inner { position: relative; z-index: 2; padding-top: clamp(72px,10vw,120px); }
.hero-eyebrow {
  font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.45); display: inline-flex; align-items: center; gap: 10px; margin-bottom: 30px;
}
.hero-eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(var(--accent-rgb),0.25); }
.hero-mark { font-family: var(--font-display); font-weight: 800; font-size: clamp(72px, 13vw, 188px); line-height: 0.84; letter-spacing: -0.05em; }
.hero-mark .f, .hero-mark .r { color: #fff; }
.hero-mark .a, .hero-mark .i { color: var(--accent); }
.hero-wordline { display: flex; align-items: baseline; gap: clamp(16px,2.4vw,34px); flex-wrap: wrap; }
.hero-wordtag { font-family: var(--font-display); font-size: clamp(20px,2.4vw,34px); font-weight: 700; color: rgba(255,255,255,0.6); letter-spacing: -0.02em; }
.hero-headline {
  font-family: var(--font-display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.04;
  font-size: clamp(28px, 3.6vw, 50px); margin-top: 46px; max-width: 16ch; text-wrap: balance;
}
.hero-headline .accent { color: var(--accent); }
.hero-sub { font-size: clamp(16px,1.4vw,19px); color: rgba(255,255,255,0.6); max-width: 620px; margin-top: 24px; line-height: 1.65; text-wrap: pretty; }
.hero-cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.5); }
.hero .btn-ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero-meta {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: clamp(56px,7vw,92px);
  border-top: 1px solid rgba(255,255,255,0.14);
}
.hero-meta-cell { padding: 26px 26px 30px 0; border-right: 1px solid rgba(255,255,255,0.1); }
.hero-meta-cell:last-child { border-right: none; }
.hero-meta-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 8px; }
.hero-meta-value { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.92); line-height: 1.35; }
@media (max-width: 760px) { .hero-meta { grid-template-columns: 1fr 1fr; } .hero-meta-cell { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); } }
@media (max-width: 640px) {
  /* neutralise fixed pixel sizing from earlier manual edits so text
     reflows instead of overflowing on narrow screens; desktop untouched */
  .hero-headline { width: auto !important; height: auto !important; }
  .hero-inner { padding-top: clamp(56px, 14vw, 90px); }
}

.hero-wordline, .hero-headline, .hero-sub, .hero-cta { animation: heroIn .8s cubic-bezier(.22,1,.36,1) both; }
.hero-wordline { animation-delay: .05s; }
.hero-headline { animation-delay: .16s; }
.hero-sub { animation-delay: .27s; }
.hero-cta { animation-delay: .38s; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero-wordline, .hero-headline, .hero-sub, .hero-cta { animation: none; }
}

/* ---------- SHARED TYPE ---------- */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--accent); display: inline-flex; align-items: center; gap: 9px; margin-bottom: 18px;
}
.eyebrow::before { content: ''; width: 22px; height: 2px; background: var(--accent); display: inline-block; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.4vw, 60px); font-weight: 800; line-height: 1.0;
  letter-spacing: -0.035em; color: var(--ink); text-wrap: balance;
}
.section-title .accent { color: var(--accent); }
.lead {
  font-size: clamp(17px, 1.5vw, 21px); color: var(--ink-mid); line-height: 1.6;
  max-width: 720px; margin-top: 22px; text-wrap: pretty;
}
.section { padding: clamp(72px, 9vw, 128px) 0; border-bottom: 2px solid var(--ink); }
.section-white { background: var(--bg-white); }
.section-off { background: var(--bg-off); }
.section-blue { background: var(--blue-bg); }
.section-head { max-width: 820px; }

/* ---------- PHILOSOPHY ---------- */
.stance {
  display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink);
  margin-top: 52px; background: var(--bg-white);
}
.stance-col { padding: 40px; transition: background .2s; }
.stance-col.not { border-right: 2px solid var(--ink); background: var(--accent-light); }
.stance-col.is { background: #F0FDF4; }
.stance-tag { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 18px; }
.stance-col.not .stance-tag { color: var(--accent-dark); }
.stance-col.is .stance-tag { color: #16834A; }
.stance-line { font-family: var(--font-display); font-size: clamp(19px,1.9vw,25px); font-weight: 700; letter-spacing: -0.02em; line-height: 1.25; color: var(--ink); text-wrap: balance; }
.stance-col.not .stance-line { opacity: 0.55; text-decoration: line-through; text-decoration-color: rgba(var(--accent-rgb),0.5); text-decoration-thickness: 2px; }
.stance-note { font-size: 14px; color: var(--ink-mid); margin-top: 16px; line-height: 1.6; }
@media (max-width: 760px) { .stance { grid-template-columns: 1fr; } .stance-col.not { border-right: none; border-bottom: 2px solid var(--ink); } }

.obj-grid { display: grid; grid-template-columns: repeat(3, 1fr); border: 2px solid var(--ink); margin-top: 30px; background: var(--bg-white); }
.obj-cell { padding: 32px; border-right: 2px solid var(--ink); transition: background .2s; }
.obj-cell:last-child { border-right: none; }
.obj-head { display: flex; align-items: baseline; gap: 10px; margin: -32px -32px 22px; padding: 15px 32px; background: var(--blue-bg); border-bottom: 2px solid var(--ink); line-height: 1.1; }
.obj-num { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); flex-shrink: 0; }
.obj-name { font-family: var(--font-display); font-size: 13px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.obj-name .accent { color: var(--accent); }
.obj-cell p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; }
@media (max-width: 760px) { .obj-grid { grid-template-columns: 1fr; } .obj-cell { border-right: none; border-bottom: 2px solid var(--ink); } .obj-cell:last-child { border-bottom: none; } }

/* ---------- PRINCIPLES ---------- */
.principle-jump { display: flex; gap: 10px; margin-top: 30px; flex-wrap: wrap; }
.principle-jump-btn {
  font-family: var(--font-mono); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border: 2px solid var(--ink);
  background: var(--bg-white); color: var(--ink); cursor: pointer; transition: background .15s, color .15s, transform .12s, box-shadow .12s;
}
.principle-jump-btn .pj-num { color: var(--ink-faint); font-weight: 500; }
.principle-jump-btn:hover { background: var(--accent-light); transform: translate(-1px,-1px); box-shadow: 2px 2px 0 var(--ink); }

.principle-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--ink); margin-top: 52px; }
.principle {
  padding: 40px; background: var(--bg-white); border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  position: relative; overflow: hidden; transition: background .2s, transform .22s cubic-bezier(.22,1,.36,1), box-shadow .22s cubic-bezier(.22,1,.36,1);
  display: flex; flex-direction: column; justify-content: center; min-height: 200px;
}
.principle:nth-child(2n) { border-right: none; }
.principle:nth-child(3), .principle:nth-child(4) { border-bottom: none; }
.principle:hover { background: var(--bg); transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); z-index: 1; }
.principle-grid.reveal.in-view .principle:hover { transform: translate(-3px,-3px); box-shadow: 8px 8px 0 var(--ink); }
.principle::after {
  content: attr(data-num); position: absolute; right: 14px; bottom: -28px;
  font-family: var(--font-display); font-weight: 900; font-size: 130px; line-height: 1; letter-spacing: -0.04em;
  color: var(--ink); opacity: 0.04; pointer-events: none; transition: opacity .2s, transform .3s cubic-bezier(.22,1,.36,1);
}
.principle:hover::after { opacity: 0.07; transform: translateY(-6px); }
.principle.pulse { background: var(--accent-light); transition: background .18s ease-out; }
.principle-head { display: flex; align-items: baseline; gap: 12px; margin: -40px -40px 26px; padding: 17px 40px; background: var(--blue-bg); border-bottom: 2px solid var(--ink); line-height: 1.1; position: relative; z-index: 1; }
.principle-num { font-family: var(--font-mono); font-size: 13px; color: var(--ink-faint); flex-shrink: 0; }
.principle-name { font-family: var(--font-display); font-size: 19px; font-weight: 800; letter-spacing: -0.01em; color: var(--ink); line-height: 1.1; white-space: nowrap; }
.principle-name .accent { color: var(--accent); }
.principle-tag {
  font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--accent);
  display: inline-block; margin-bottom: 16px; position: relative; z-index: 1; padding-bottom: 6px;
}
.principle-tag::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 2px; width: 28px; background: var(--accent);
  transition: width .3s cubic-bezier(.22,1,.36,1);
}
.principle:hover .principle-tag::after { width: 100%; }
.principle p { font-size: 15.5px; color: var(--ink-mid); line-height: 1.75; position: relative; z-index: 1; }
@media (max-width: 760px) {
  .principle-grid { grid-template-columns: 1fr; }
  .principle { border-right: none; min-height: 0; }
  .principle:nth-child(3) { border-bottom: 2px solid var(--ink); }
  .principle:hover { transform: none; box-shadow: none; }
}
@media (prefers-reduced-motion: reduce) {
  .principle, .principle::after, .principle-tag::after, .principle-jump-btn { transition: none; }
  .principle:hover { transform: none; box-shadow: none; }
}

/* ---------- ENGAGE ---------- */
.engage-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 52px; }
.engage-card {
  border: 2px solid var(--ink); background: var(--bg-white); display: flex; flex-direction: column;
  transition: transform .18s cubic-bezier(.22,1,.36,1), box-shadow .18s cubic-bezier(.22,1,.36,1);
}
.engage-card:hover { transform: translate(-2px,-2px); box-shadow: 7px 7px 0 var(--ink); }
.engage-card-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 24px; background: var(--blue-bg); border-bottom: 2px solid var(--ink); line-height: 1.1; }
.engage-kicker { font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.engage-idx { font-family: var(--font-mono); font-size: 12px; color: var(--ink-faint); }
.engage-body { padding: 28px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.engage-card h3 { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 12px; line-height: 1.15; }
.engage-card p { font-size: 14.5px; color: var(--ink-mid); line-height: 1.65; margin-bottom: 22px; }
.engage-action { margin-top: auto; }
@media (max-width: 760px) { .engage-grid { grid-template-columns: 1fr; } }

/* ---------- JOIN / FOUNDING MEMBER SIGN-UP ---------- */
.event { background: var(--dark); color: #fff; }
.event-layout { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 0; border: 2px solid #fff; margin-top: 50px; }
.event-info { padding: clamp(34px,3.6vw,52px); border-right: 2px solid #fff; }
.event-ticket-tag { display: inline-flex; align-items: center; gap: 9px; font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); border: 1px solid rgba(var(--accent-rgb),0.5); padding: 5px 12px; margin-bottom: 26px; }
.event-title { font-family: var(--font-display); font-size: clamp(32px,3.6vw,50px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.02; color: #fff; margin-bottom: 8px; }
.event-series { font-size: 15px; color: rgba(255,255,255,0.5); margin-bottom: 30px; }
.event-detail { display: flex; gap: 16px; padding: 18px 0; border-top: 1px solid rgba(255,255,255,0.13); }
.event-detail:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.13); }
.event-detail-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); min-width: 72px; padding-top: 3px; }
.event-detail-value { font-size: 15px; color: rgba(255,255,255,0.9); line-height: 1.5; }
.event-detail-value strong { color: #fff; font-weight: 700; }
.event-guests { margin-top: 28px; }
.event-guests-label { font-family: var(--font-mono); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 14px; }
.join-benefits { list-style: none; border-top: 1px solid rgba(255,255,255,0.13); }
.join-benefits li { font-size: 14px; color: rgba(255,255,255,0.8); padding: 12px 0 12px 18px; position: relative; border-bottom: 1px solid rgba(255,255,255,0.13); line-height: 1.55; }
.join-benefits li::before { content: '—'; position: absolute; left: 0; color: var(--accent); font-weight: 700; }

/* form */
.event-form { padding: clamp(34px,3.6vw,52px); background: var(--dark-2); position: relative; }
.form-head { font-family: var(--font-display); font-size: 22px; font-weight: 800; letter-spacing: -0.02em; color: #fff; margin-bottom: 6px; }
.form-sub { font-size: 14px; color: rgba(255,255,255,0.5); margin-bottom: 28px; }
.field { margin-bottom: 12px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 8px; }
.field label .req { color: var(--accent); }
.field label .opt { color: rgba(255,255,255,0.3); text-transform: none; letter-spacing: 0; font-family: var(--font-body); }
.field input {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: #fff;
  background: rgba(255,255,255,0.05); border: 1.5px solid rgba(255,255,255,0.18);
  padding: 12px 14px; border-radius: 0; transition: border-color .15s, background .15s;
}
.field input::placeholder { color: rgba(255,255,255,0.3); }
.field input:focus { outline: none; border-color: var(--accent); background: rgba(255,255,255,0.08); }
.field input.invalid { border-color: var(--accent); background: rgba(var(--accent-rgb),0.1); }
.field-error { font-size: 12px; color: #ff8a93; margin-top: 6px; min-height: 0; opacity: 0; transition: opacity .15s; }
.field-error.show { opacity: 1; }
.form-submit { width: 100%; justify-content: center; margin-top: 8px; }
.form-fine { font-size: 12px; color: rgba(255,255,255,0.4); margin-top: 16px; line-height: 1.5; text-align: center; }

/* success */
.form-success { position: absolute; inset: 0; background: var(--dark-2); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 40px; opacity: 0; pointer-events: none; transform: translateY(10px) scale(.98); transition: opacity .4s cubic-bezier(.22,1,.36,1), transform .4s cubic-bezier(.22,1,.36,1); }
.form-success.show { opacity: 1; pointer-events: auto; transform: none; }
.success-check { width: 64px; height: 64px; border: 2px solid var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-bottom: 24px; background: rgba(var(--accent-rgb),0.12); }
.form-success h3 { font-family: var(--font-display); font-size: 26px; font-weight: 800; color: #fff; letter-spacing: -0.02em; margin-bottom: 12px; }
.form-success p { font-size: 15px; color: rgba(255,255,255,0.6); max-width: 340px; line-height: 1.6; }
.form-success .summary { font-family: var(--font-mono); font-size: 12px; color: rgba(255,255,255,0.5); margin-top: 22px; border-top: 1px solid rgba(255,255,255,0.12); padding-top: 18px; }
@media (max-width: 820px) {
  .event-layout { grid-template-columns: 1fr; }
  .event-info { border-right: none; border-bottom: 2px solid #fff; }
  /* the drag-positioned success overlay was placed for the desktop
     two-column layout; on a single stacked column, cover the form instead */
  #form-success { position: absolute !important; inset: 0 !important; left: auto !important; top: auto !important; }
}

/* ---------- ABOUT ---------- */
.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 56px; align-items: start; margin-top: 50px; }
.about-grid p.about-body { font-size: 16px; color: var(--ink-mid); line-height: 1.8; margin-bottom: 18px; }
.about-grid p.about-body strong { color: var(--ink); font-weight: 700; }
.fact-box { border: 2px solid var(--ink); background: var(--bg-white); }
.fact-box-head { padding: 13px 22px; background: var(--blue-bg); border-bottom: 2px solid var(--ink); font-family: var(--font-mono); font-size: 11px; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); }
.fact { display: flex; flex-direction: column; gap: 3px; padding: 16px 22px; border-bottom: 1px solid var(--rule); }
.fact:last-child { border-bottom: none; }
.fact-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink-faint); }
.fact-value { font-family: var(--font-display); font-size: 15px; font-weight: 700; color: var(--ink); }
.motion-quote {
  border-left: 4px solid var(--accent); background: var(--accent-light); padding: 26px 30px; margin-top: 28px;
  position: relative; transition: transform .2s cubic-bezier(.22,1,.36,1), box-shadow .2s cubic-bezier(.22,1,.36,1);
}
.motion-quote::before {
  content: '"'; position: absolute; top: 6px; left: 14px; font-family: var(--font-display); font-size: 64px; font-weight: 800;
  color: rgba(var(--accent-rgb),0.18); line-height: 1; pointer-events: none;
}
.motion-quote:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--ink); }
.motion-quote .ql { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent-dark); margin-bottom: 10px; position: relative; }
.motion-quote p { font-size: 15.5px; color: var(--ink); line-height: 1.75; font-weight: 500; position: relative; }
@media (prefers-reduced-motion: reduce) { .motion-quote { transition: none; } .motion-quote:hover { transform: none; box-shadow: none; } }
@media (max-width: 820px) { .about-grid { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- FOOTER ---------- */
footer { background: var(--dark); color: #fff; padding: 64px 0 40px; border-top: 5px solid var(--accent); }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,0.12); }
.footer-brand .wordmark { font-size: 30px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,0.5); margin-top: 14px; max-width: 320px; line-height: 1.6; }
.footer-cols { display: flex; gap: 64px; flex-wrap: wrap; }
.footer-col-label { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 16px; }
.footer-col a { display: block; font-size: 14px; color: rgba(255,255,255,0.7); text-decoration: none; padding: 5px 0; transition: color .15s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; padding-top: 28px; }
.footer-fine { font-size: 12px; color: rgba(255,255,255,0.3); line-height: 1.6; max-width: 560px; }
.footer-authorise { font-size: 11px; color: rgba(255,255,255,0.25); font-family: var(--font-mono); }

/* default link colors (site currently has no inline links outside components above,
   but this keeps future additions from falling back to browser blue) */
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
