/* DFC design system — dark + amber. Brand: #E89B0C amber, #121110 ink, #F2EDE3 ivory */
:root {
  --ink: #121110;
  --ink-2: #1A1917;
  --ink-3: #23211E;
  --ivory: #F2EDE3;
  --ivory-dim: #B8B1A4;
  --muted: #8F887B;  /* lifted for AA on small text */
  --amber: #E89B0C;
  --amber-soft: #C98A1B;
  --line: rgba(242, 237, 227, 0.10);
  --sans: 'Inter', -apple-system, sans-serif;
  --serif: 'Lora', Georgia, serif;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  /* accent states */
  --amber-hover: #F5AB1F;
  --amber-line: rgba(232, 155, 12, 0.35);
  --error: #E07A5F;
  /* radii */
  --r-sm: 12px; --r: 16px; --r-pill: 100px;
  /* shadows */
  --shadow-1: 0 8px 24px rgba(0, 0, 0, 0.18);
  --shadow-amber: 3px 3px 0 rgba(232, 155, 12, 0.3);
  --shadow-hover: 0 14px 30px -16px rgba(0, 0, 0, 0.55);
  --focus-ring: 0 0 0 3px rgba(232, 155, 12, 0.18);
  /* motion durations (easing lives in --ease / --ease-out) */
  --dur-1: .15s; --dur-2: .2s; --dur-3: .25s;
  /* spacing */
  --sp-section: 104px; --sp-section-sm: 72px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scrollbar-gutter: stable; overflow-y: scroll; background: #121110; }
body {
  background: var(--ink);
  color: var(--ivory);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis-weight: none;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1;
  overflow-wrap: break-word;
}
a { color: inherit; text-decoration: none; }
::selection { background: var(--amber); color: #1A1200; }
[id] { scroll-margin-top: 96px; }
/* Elements that set their own `display` (flex/grid) can outrank the browser's
   default [hidden]{display:none} at equal specificity, since author styles win
   ties over user-agent styles. Force it so el.hidden = true always works,
   regardless of what display value a class sets. */
[hidden] { display: none !important; }
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.label {
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); font-weight: 500;
}

/* typographic defaults */
h1, h2, h3, h4 { text-wrap: balance; }
p, li { text-wrap: pretty; }
/* the serif italic sits optically small next to Inter — nudge it up and reset tracking */
.hero h1 .club, h1 em, h2 em, .track h3 em, .cta-panel h2 em,
.newsletter h2 em, .sec-head h2 em, .page-hero h1 em {
  letter-spacing: 0.005em; font-size: 1em; line-height: 0.95;
}

/* keyboard focus on every interactive element */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--amber); outline-offset: 3px; border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}

/* nav */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(18, 17, 16, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo img, .logo svg { display: block; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a:not(.btn) {
  font-size: 14px; color: var(--ivory-dim); transition: color .2s;
  position: relative; padding-bottom: 2px;
}
.nav-links a:not(.btn)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--amber); transition: width .25s;
}
.nav-links a:not(.btn):hover { color: var(--ivory); }
.nav-links a:not(.btn):hover::after { width: 100%; }
.nav-links a.active { color: var(--ivory); }
.nav-links a.active::after { width: 100%; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 44px;
  padding: 10px 22px; border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500; transition: all .2s; cursor: pointer;
  border: 1px solid transparent; font-family: var(--sans);
  background: transparent; -webkit-appearance: none; appearance: none;
  transition: transform .18s var(--ease-out), background .2s var(--ease),
    box-shadow .2s var(--ease), border-color .2s var(--ease), color .2s var(--ease);
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0) scale(.975); transition-duration: .05s; }
.btn-amber { background: var(--amber); color: #1A1200; font-weight: 600; letter-spacing: -0.005em; }
.btn-amber:hover { background: var(--amber-hover); box-shadow: var(--shadow-amber); }
.btn-ghost { border-color: rgba(242, 237, 227, 0.25); color: var(--ivory); }
.btn-ghost:hover { border-color: var(--ivory); }
.btn-dark { background: #1A1200; color: var(--ivory); }
.btn-dark:hover { background: #2E2200; }
/* year-filter pills */
.yf { font-variant-numeric: tabular-nums; }
.yf.active { background: var(--amber); color: #1A1200; border-color: var(--amber); font-weight: 600; }
.yf.active:hover { background: var(--amber-hover); }

/* page hero (interior pages) */
.page-hero { padding: 88px 0 64px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(600px 400px at 82% 0%, rgba(232, 155, 12, 0.08), transparent 65%);
}
.page-hero .wrap { position: relative; }
.page-hero h1 {
  font-size: clamp(40px, 6vw, 64px); font-weight: 600;
  letter-spacing: -0.032em; line-height: 1.06; margin-top: 18px; max-width: 15ch;
}
.page-hero h1 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.page-hero .lede {
  margin-top: 24px; font-size: 18.5px; line-height: 1.65;
  color: var(--ivory-dim); max-width: 62ch;
}
.page-hero .cta-row { margin-top: 36px; display: flex; gap: 14px; flex-wrap: wrap; }

/* home hero */
.hero { padding: 60px 0 60px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(700px 480px at 80% 12%, rgba(232, 155, 12, 0.09), transparent 65%);
}
.hero-mark {
  position: absolute; right: -160px; top: 44%; transform: translateY(-50%);
  width: 680px; opacity: 0.045; pointer-events: none;
}
.hero .wrap { position: relative; z-index: 2; }
.hero-eyebrow {
  font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; font-weight: 500;
  color: rgba(26,18,0,0.82); margin-bottom: 22px; display: flex; align-items: center; gap: 14px;
}
.hero-eyebrow::before { content: ""; width: 34px; height: 1px; background: rgba(26,18,0,0.45); }
.hero h1 {
  font-size: clamp(36px, 5vw, 62px); line-height: 1.04;
  font-weight: 600; letter-spacing: -0.035em; max-width: 19ch;
}
.hero h1 .nb { white-space: nowrap; }
.hero h1 .club { color: var(--amber); font-family: var(--serif); font-style: italic; font-weight: 400; }
.hero .tagline {
  margin-top: 22px; font-size: 19px; line-height: 1.6;
  color: var(--ivory-dim); max-width: 56ch;
}

/* stats */
.stats { margin-top: 52px; display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); border-top: 1px solid var(--line); }
.stat { padding: 28px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line); }
.stat .num { font-size: 38px; font-weight: 600; letter-spacing: -0.035em; font-variant-numeric: tabular-nums lining-nums; line-height: 1.05; }
.stat .num span { color: var(--amber); }
.stat .cap { font-size: 12.5px; color: var(--muted); margin-top: 7px; letter-spacing: 0.02em; line-height: 1.4; }

/* logo wall */
.logos { padding: 56px 0 72px; border-bottom: 1px solid var(--line); }
.logos p { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 32px; }
.logo-grid {
  display: flex; flex-wrap: wrap; gap: 18px 40px; align-items: center;
  font-size: 15px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--ivory-dim); opacity: 0.72;
}
/* member logo wall — equal centred cells, uniform ivory marks, brand colour on hover */
.logo-grid-marks { opacity: 1; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.logo-grid-marks { gap: 10px; }
.logo-grid-marks .lcell {
  height: 48px; padding: 0 15px; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: rgba(255,255,255,0.015);
  transition: border-color .25s, background .25s;
}
.logo-grid-marks .lcell:hover { border-color: rgba(232,155,12,.32); background: rgba(232,155,12,.045); }
.logo-grid-marks img {
  width: auto; display: block;
  filter: brightness(0) invert(1); opacity: .5; transition: opacity .25s, filter .25s;
}
.logo-grid-marks .lcell:hover img { filter: none; opacity: 1; }
@media (max-width: 720px) {
  .logo-grid-marks { gap: 8px; }
  .logo-grid-marks .lcell { height: 42px; padding: 0 11px; }
  .logo-grid-marks img { transform: scale(.9); }
}

/* homepage brand strip — auto-scrolling marquee, pauses on hover/focus */
.logo-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.logo-marquee .logo-track {
  flex-wrap: nowrap; justify-content: flex-start; width: max-content;
  animation: logoScroll 36s linear infinite;
}
.logo-marquee:hover .logo-track,
.logo-marquee:focus-within .logo-track { animation-play-state: paused; }
@keyframes logoScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .logo-marquee .logo-track { animation: none !important; transform: none !important; }
}

/* sections */
section { padding: var(--sp-section) 0; }
section.tight { padding: var(--sp-section-sm) 0; }
.sec-head { max-width: 660px; margin-bottom: 56px; }
.sec-head h2 {
  font-size: clamp(31px, 4.4vw, 44px); font-weight: 600;
  letter-spacing: -0.03em; line-height: 1.12; margin-top: 18px; max-width: 20ch;
}
.sec-head h2 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.sec-head .sub { margin-top: 20px; color: var(--ivory-dim); font-size: 17px; line-height: 1.65; max-width: 60ch; }
.sec-foot { margin-top: 48px; }

/* cards */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); }
.card {
  background: var(--ink-2); border: 1px solid var(--line);
  border-radius: var(--r); padding: 32px 28px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.card:hover { border-color: var(--amber-line); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
/* numbered card index (replaces decorative shapes) */
.cnum { font-size: 13px; font-weight: 600; letter-spacing: 0.12em; color: var(--amber);
  font-variant-numeric: tabular-nums; margin-bottom: 18px; }
/* quiet text link (secondary action without button weight) */
.txtlink, .e-link { font-size: 14px; font-weight: 500; color: var(--amber); }
.txtlink:hover, .e-link:hover { text-decoration: underline; text-underline-offset: 3px; }
/* slim services callout (replaces a redundant 3-card grid) */
.svc-slim { display: flex; align-items: center; justify-content: space-between; gap: 28px;
  flex-wrap: wrap; padding: 26px 32px; border: 1px solid var(--line); border-radius: var(--r); background: var(--ink-2); }
.svc-slim p { font-size: 16px; line-height: 1.55; color: var(--ivory-dim); max-width: 60ch; }
.svc-slim p b { color: var(--ivory); font-weight: 600; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; letter-spacing: -0.015em; }
.card p { font-size: 15px; line-height: 1.62; color: var(--ivory-dim); }
.card ul { list-style: none; margin-top: 12px; }
.card li { font-size: 14.5px; color: var(--ivory-dim); padding: 6px 0; border-bottom: 1px solid var(--line); display: flex; gap: 10px; }
.card li::before { content: "→"; color: var(--amber); flex-shrink: 0; }
.card li:last-child { border-bottom: none; }

/* event cards */
.event-card {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 28px; display: flex; flex-direction: column; gap: 8px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.event-card:hover { border-color: var(--amber-line); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.event-card .e-when { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.event-card h3 { font-size: 19.5px; font-weight: 600; letter-spacing: -0.02em; line-height: 1.25; }
.event-card .e-meta { font-size: 13.5px; color: var(--muted); }
.event-card p { font-size: 14.5px; color: var(--ivory-dim); flex: 1; }
.event-card .e-tags { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.tag {
  font-size: 12px; letter-spacing: 0.01em; padding: 5px 12px; border-radius: var(--r-pill);
  border: 1px solid rgba(232, 237, 227, 0.18); color: var(--ivory-dim);
}
.tag.amber { border-color: rgba(232, 155, 12, 0.45); color: var(--amber); }
.event-card .e-link { margin-top: 12px; }

/* past event rows */
.past-event {
  display: grid; grid-template-columns: 200px 1fr; gap: 40px;
  padding: 40px 0; border-top: 1px solid var(--line);
}
.past-event:last-of-type { border-bottom: 1px solid var(--line); }
.past-event .pe-city { font-size: 22px; font-weight: 600; line-height: 1.25; }
.past-event .pe-conf { font-size: 13.5px; color: var(--amber); margin-top: 4px; }
.past-event .pe-body p { font-size: 15.5px; color: var(--ivory-dim); max-width: 640px; }
.past-event .pe-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 16px; }
.past-event .pe-stat .n { font-size: 22px; font-weight: 600; }
.past-event .pe-stat .n span { color: var(--amber); }
.past-event .pe-stat .c { font-size: 12.5px; color: var(--muted); }
blockquote.quote {
  margin-top: 20px; padding-left: 22px; border-left: 2px solid var(--amber);
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.55; color: var(--ivory);
  max-width: 680px;
}
blockquote.quote cite { display: block; margin-top: 8px; font-family: var(--sans); font-style: normal; font-size: 13px; color: var(--muted); }

/* band (full-width tinted strip) */
.band { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink-2); }
.band-inner { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 40px; padding-block: 72px; }
.band-item .b-tag { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--amber); }
.band-item h4 { font-size: 19px; font-weight: 600; margin: 10px 0 8px; }
.band-item p { font-size: 14.5px; color: var(--ivory-dim); }

/* steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; counter-reset: step; }
.step { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 28px; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--serif); font-style: italic; font-size: 28px; color: var(--amber);
  display: block; margin-bottom: 14px;
}
.step h3 { font-size: 17px; font-weight: 600; margin-bottom: 8px; }
.step p { font-size: 14.5px; color: var(--ivory-dim); }

.crit { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 32px; max-width: 760px; }
.crit li { position: relative; padding-left: 28px; font-size: 15.5px; line-height: 1.45; color: var(--ivory-dim); }
.crit li::before { content: "\2713"; position: absolute; left: 0; top: 0; color: var(--amber); font-weight: 700; }
@media (max-width: 640px) { .crit { grid-template-columns: 1fr; } }

/* testimonial / quote cards */
.quote-grid { columns: 3 280px; column-gap: 18px; }
.qcard {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 26px 26px 24px;
  font-family: var(--serif); font-style: italic; font-size: 18px; line-height: 1.5; color: var(--ivory);
  break-inside: avoid; margin-bottom: 18px;
  transition: border-color .25s, transform .25s, box-shadow .25s;
}
.qcard:hover { border-color: rgba(232,155,12,0.32); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.qcard::before {
  content: "\201C"; display: block; font-family: var(--serif); font-size: 40px; line-height: 1;
  height: 24px; color: var(--amber); margin-bottom: 10px;
}
.qcard .q { display: block; }
.qcard cite {
  display: flex; align-items: center; gap: 10px;
  margin-top: 16px; font-family: var(--sans); font-style: normal;
  font-size: 12.5px; color: var(--muted); letter-spacing: .02em;
}
.qcard cite::before { content: ""; width: 18px; height: 1px; background: rgba(232,155,12,.45); }
/* featured voice: the named partner quote */
.qcard-feat {
  font-size: 20.5px; line-height: 1.55; border-color: var(--amber-line);
  background: linear-gradient(180deg, rgba(232,155,12,.06), rgba(232,155,12,0) 46%), var(--ink-2);
}
.qcard-feat cite { color: var(--ivory-dim); }
.qcard-feat cite b { color: var(--amber); font-weight: 600; }

/* tracks (two-up split) */
.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; }
.track { border-radius: var(--r); padding: 48px 40px; display: flex; flex-direction: column; }
.track-founders { background: var(--ink-2); border: 1px solid var(--line); }
.track-partners { background: linear-gradient(160deg, #E89B0C 0%, #C87F08 100%); color: #1A1200; }
.track .t-label { font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase; font-weight: 500; margin-bottom: 20px; }
.track-founders .t-label { color: var(--amber); }
.track-partners .t-label { color: rgba(26, 18, 0, 0.82); }
.track h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.028em; line-height: 1.15; margin-bottom: 18px; max-width: 16ch; }
.track h3 em { font-family: var(--serif); font-weight: 400; }
.track ul { list-style: none; margin: 8px 0 32px; flex: 1; }
.track li { padding: 11px 0; font-size: 15.5px; line-height: 1.5; display: flex; gap: 12px; align-items: flex-start; }
.track-founders li { color: var(--ivory-dim); border-bottom: 1px solid var(--line); }
.track-partners li { color: rgba(26, 18, 0, 0.85); border-bottom: 1px solid rgba(26, 18, 0, 0.12); }
.track li::before { content: "→"; flex-shrink: 0; }
.track-founders li::before { color: var(--amber); }
.track-partners li::before { color: #1A1200; }

/* forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; max-width: 720px; }
.form-grid .full { grid-column: 1 / -1; }
.field label { display: block; font-size: 13px; letter-spacing: 0.005em; color: var(--ivory-dim); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 46px; background: var(--ink-2); border: 1px solid rgba(242, 237, 227, 0.18);
  border-radius: var(--r-sm); padding: 12px 16px; font-size: 16px;
  color: var(--ivory); font-family: var(--sans); outline: none;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--amber); box-shadow: var(--focus-ring);
}
/* error state — only after the field has been interacted with */
.field input:user-invalid, .field select:user-invalid, .field textarea:user-invalid {
  border-color: var(--error); box-shadow: 0 0 0 3px rgba(224, 122, 95, 0.16);
}
.field select { appearance: none; -webkit-appearance: none; }

/* FAQ (native disclosure, keyboard-accessible, no JS) */
.faq { max-width: 760px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq details:first-of-type { border-top: 1px solid var(--line); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; gap: 16px;
  font-size: 17px; font-weight: 600; color: var(--ivory);
  display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary { transition: color .18s var(--ease); }
.faq summary:hover { color: var(--amber); }
.faq summary::after { content: "+"; font-size: 22px; font-weight: 400; color: var(--amber); transition: transform .2s var(--ease); }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: -4px 0 20px; color: var(--ivory-dim); font-size: 15.5px; line-height: 1.62; max-width: 66ch; }

/* newsletter */
.newsletter { text-align: center; }
.newsletter h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 600; letter-spacing: -0.02em; margin-top: 16px; }
.newsletter h2 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.newsletter .sub { color: var(--ivory-dim); margin: 16px auto 36px; max-width: 480px; }

/* CTA panel */
.cta-panel {
  background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r);
  padding: 56px 48px; display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.cta-panel h2 { font-size: clamp(26px, 3.5vw, 35px); font-weight: 600; letter-spacing: -0.03em; line-height: 1.15; max-width: 18ch; }
.cta-panel h2 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.cta-panel p { color: var(--ivory-dim); margin-top: 10px; max-width: 480px; }


/* ===== amber landing hero — the brand colour as the front door ===== */
.hero { background: linear-gradient(150deg, #F4AE22 0%, #E89B0C 50%, #D08908 100%); color: #1A1200; }
.hero::before { background: radial-gradient(720px 480px at 78% 6%, rgba(255,255,255,0.22), transparent 62%); }
.hero-mark { filter: brightness(0); opacity: 0.06; }
.hero h1 { color: #17110A; }
.hero h1 .club { color: #FFFDF8; }
.hero .tagline { color: rgba(26,18,0,0.80); }
.hero .stats { border-top-color: rgba(26,18,0,0.22); }
.hero .stat + .stat { border-left-color: rgba(26,18,0,0.16); }
.hero .stat .num { color: #17110A; }
.hero .stat .num span { color: rgba(26,18,0,0.7); }
.hero .stat .cap { color: rgba(26,18,0,0.82); }
.hero .btn-amber { background: #17110A; color: var(--ivory); }
.hero .btn-amber:hover { background: #241A0E; box-shadow: 3px 3px 0 rgba(26,18,0,.22); }
.hero .btn-ghost { border-color: rgba(26,18,0,0.42); color: #1A1200; }
.hero .btn-ghost:hover { border-color: #1A1200; background: rgba(26,18,0,0.06); }
.hero ::selection { background: #1A1200; color: #F4AE22; }

/* footer */
footer { position: relative; border-top: 1px solid var(--line); padding: 68px 0 32px; }
footer::before { content: ""; position: absolute; top: -1px; left: 0; width: 72px; height: 2px; background: var(--amber); }
.foot-cta { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap;
  padding-bottom: 44px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.foot-cta h3 { font-size: clamp(22px, 3vw, 30px); font-weight: 600; letter-spacing: -0.022em; line-height: 1.15; }
.foot-cta h3 em { color: var(--amber); font-family: var(--serif); font-weight: 400; }
.foot-cta p { margin-top: 8px; font-size: 14.5px; color: var(--ivory-dim); max-width: 48ch; }
.foot-cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.foot-top { display: grid; grid-template-columns: 1.3fr 2fr; gap: 56px; align-items: start; }
.foot-brand { max-width: 360px; }
.foot-brand .logo { display: inline-block; }
.foot-tag { margin-top: 18px; font-size: 14.5px; line-height: 1.6; color: var(--ivory-dim); max-width: 40ch; }
.foot-social { display: flex; gap: 10px; flex-wrap: wrap; }
.foot-social a {
  display: inline-flex; align-items: center; gap: 7px; height: 34px; padding: 0 15px;
  border: 1px solid var(--line); border-radius: var(--r-pill); font-size: 13px; font-weight: 500;
  color: var(--ivory-dim); transition: color .2s, border-color .2s, background .2s;
}
.foot-social a:hover { color: var(--amber); border-color: rgba(232,155,12,.5); background: rgba(232,155,12,.06); }
.foot-cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 32px; }
.foot-col h5 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; font-weight: 600; }
.foot-col a { display: block; font-size: 14px; color: var(--ivory-dim); padding: 5px 0; width: fit-content; transition: color .2s; }
.foot-col a:hover { color: var(--amber); }
/* No divider here: the footer already carries a top border with the amber tab
   and a rule under the CTA block. A third line reads as clutter, so the
   copyright row is separated by space alone. */
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px 24px; flex-wrap: wrap;
  margin-top: 40px;
}
.foot-bottom p { font-size: 12.5px; letter-spacing: 0.005em; color: var(--muted); margin: 0; }
.foot-bottom .sep { color: var(--amber); }
.foot-bottom .totop { font-size: 12.5px; color: var(--muted); transition: color .2s; display: inline-flex; align-items: center; gap: 6px; }
.foot-bottom .totop:hover { color: var(--amber); }
@media (max-width: 760px) {
  footer { padding-top: 52px; }
  .foot-cta { margin-bottom: 40px; padding-bottom: 36px; }
  .foot-top { grid-template-columns: 1fr; gap: 40px; }
  .foot-cols { grid-template-columns: 1fr 1fr; }
}

/* scroll reveal: nothing is hidden on load. JS adds .is-pending only to items
   that start below the fold (off-screen, so hiding them is invisible), then
   they fade in on scroll. On-screen content is never touched — no flash, no jump. */
.reveal.is-pending { opacity: 0; transition: opacity .5s var(--ease-out); }
.reveal.in { opacity: 1; }

/* ===== micro-interactions: motion that signals state ===== */
/* arrow-slide on inline "go" links */
.e-link, .txtlink, .totop { display: inline-flex; align-items: center; gap: 6px; }
.e-link::after, .txtlink::after { content: "→"; transition: transform .2s var(--ease-out); }
.e-link:hover::after, .txtlink:hover::after { transform: translateX(4px); }
.event-card .e-link:hover, .txtlink:hover { text-decoration: none; }
.totop::after { content: "↑"; transition: transform .2s var(--ease-out); }
.totop:hover::after { transform: translateY(-3px); }

/* staggered entrance for grouped items — communicates grouping, not decoration */
:is(.card-grid, .band-inner, .tracks, .quote-grid, .steps) > .reveal:nth-child(2) { transition-delay: .06s; }
:is(.card-grid, .band-inner, .tracks, .quote-grid, .steps) > .reveal:nth-child(3) { transition-delay: .12s; }
:is(.card-grid, .band-inner, .tracks, .quote-grid, .steps) > .reveal:nth-child(4) { transition-delay: .18s; }
:is(.card-grid, .band-inner, .tracks, .quote-grid, .steps) > .reveal:nth-child(n+5) { transition-delay: .24s; }

/* loading states */
.int-loading { animation: dfc-pulse 1.4s ease-in-out infinite; }
@keyframes dfc-pulse { 0%, 100% { opacity: .45; } 50% { opacity: .9; } }

@media (max-width: 720px) {
  .hero { padding: 56px 0 56px; }
  .hero-mark { display: none; }
  .page-hero { padding: 56px 0 48px; }
  .stat + .stat { padding-left: 16px; }
  section { padding: 72px 0; }
  .track { padding: 36px 28px; }
  .past-event { grid-template-columns: 1fr; gap: 12px; padding: 32px 0; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-panel { padding: 36px 28px; }
}


/* ===== nav ===== */
/* Smooth page changes: a short, movement-free cross-fade. No shared-element morph
   and no incoming-page offset (both caused jumps before); the reveal system no
   longer hides on-screen content, so the fade stays clean instead of flickering.
   Pages are prerendered on hover (nav.js), so the new page is ready instantly. */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) {
  animation-duration: .22s; animation-timing-function: var(--ease);
}
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }

.skip {
  position: fixed; top: -52px; left: 16px; z-index: 100;
  background: var(--amber); color: #1A1200; padding: 10px 18px;
  border-radius: 0 0 10px 10px; font-weight: 600; font-size: 14px; transition: top .2s;
}
.skip:focus { top: 0; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }


nav.scrolled { box-shadow: var(--shadow-1); }

.navburger { display: none; }
@media (max-width: 900px) {
  .nav-links {
    position: fixed; left: 0; right: 0; top: 68px;
    flex-direction: column; align-items: flex-start; gap: 6px;
    padding: 18px 24px 26px; background: rgba(18, 17, 16, 0.97);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line);
    transform: translateY(-8px); opacity: 0; visibility: hidden;
    transition: transform .25s, opacity .25s, visibility .25s; z-index: 49;
  }
  nav.open .nav-links { transform: none; opacity: 1; visibility: visible; }
  .nav-links a:not(.btn) { font-size: 16px; padding: 12px 0; width: 100%; }
  .nav-links .btn { margin-top: 10px; width: 100%; }
  .navburger {
    display: inline-flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    background: none; border: 0; padding: 10px; cursor: pointer;
    min-width: 44px; min-height: 44px;
  }
  .navburger i { display: block; width: 20px; height: 2px; background: var(--ivory); border-radius: 2px; transition: transform .25s, opacity .25s; }
  nav.open .navburger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  nav.open .navburger i:nth-child(2) { opacity: 0; }
  nav.open .navburger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ===== onboarding wizard (welcome page) ===== */
.wiz { max-width: 680px; }
.wiz-head { margin-bottom: 40px; }
.wiz-progress { display: flex; gap: 6px; list-style: none; padding: 0; }
.wiz-progress li { flex: 1; height: 4px; border-radius: 4px; background: var(--line); transition: background .3s var(--ease); }
.wiz-progress li.done { background: var(--amber-soft); }
.wiz-progress li.current { background: var(--amber); }
.wiz-stepnum { margin-top: 12px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.wiz-panel[hidden] { display: none; }
.wiz-panel h2 { font-size: clamp(26px, 3.4vw, 34px); font-weight: 600; letter-spacing: -0.028em; outline: none; }
.wiz-panel h2 em { color: var(--amber); font-family: var(--serif); font-style: italic; font-weight: 400; }
.wiz-lede { margin-top: 14px; font-size: 16.5px; line-height: 1.6; color: var(--ivory-dim); max-width: 60ch; }
.wiz-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.wiz-list li { display: flex; align-items: center; gap: 14px; font-size: 16px; color: var(--ivory); }
.wiz-list .cnum { margin: 0; }
.wiz-rules { list-style: none; margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; }
.wiz-rules li { font-size: 14.5px; line-height: 1.5; color: var(--ivory-dim); padding-left: 16px; position: relative; }
.wiz-rules li::before { content: ""; position: absolute; left: 0; top: 9px; width: 5px; height: 5px; border-radius: 50%; background: var(--amber); }
.wiz-rules strong { color: var(--ivory); font-weight: 600; }
.agree { display: flex; gap: 12px; align-items: flex-start; margin-top: 28px; cursor: pointer; font-size: 15px; color: var(--ivory); }
.agree input { margin-top: 2px; width: 20px; height: 20px; flex-shrink: 0; accent-color: var(--amber); cursor: pointer; }
.opts { display: grid; gap: 14px; margin-top: 26px; }
.opt { position: relative; display: flex; gap: 14px; border: 1px solid var(--line); border-radius: var(--r); padding: 22px 24px; cursor: pointer; background: var(--ink-2); transition: border-color .2s, box-shadow .2s; }
.opt:hover { border-color: rgba(232,155,12,.4); }
.opt:has(input:checked) { border-color: var(--amber); box-shadow: var(--focus-ring); }
.opt:has(input:focus-visible) { outline: 2px solid var(--amber); outline-offset: 2px; }
.opt input { position: absolute; opacity: 0; width: 0; height: 0; }
.opt > div { flex: 1; }
.opt-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.opt h3 { font-size: 18px; font-weight: 600; }
.opt .price { font-size: 14px; font-weight: 600; color: var(--amber); white-space: nowrap; }
.opt p { font-size: 14.5px; color: var(--ivory-dim); margin-top: 6px; line-height: 1.55; }
.opt .addr { display: block; margin-top: 12px; font-family: var(--sans); font-size: 12px; word-break: break-all; color: var(--ivory-dim); background: var(--ink-3); padding: 9px 12px; border-radius: 8px; }
.intro-wrap { margin-top: 26px; }
.intro-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.intro-preview { background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; font-size: 15px; line-height: 1.65; color: var(--ivory-dim); min-height: 92px; white-space: pre-wrap; }
.summary { list-style: none; margin-top: 24px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.summary li { display: flex; justify-content: space-between; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); font-size: 15px; }
.summary li:last-child { border-bottom: none; }
.summary span { color: var(--muted); }
.summary b { color: var(--ivory); font-weight: 600; text-align: right; }
.wiz-nav { display: flex; align-items: center; gap: 12px; margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.wiz-nav [data-next] { margin-left: auto; }
.wiz-nav [data-next][disabled] { opacity: .45; pointer-events: none; }
@media (max-width: 560px) { .wiz-rules { grid-template-columns: 1fr; } }

/* onboarding: next steps + invoice fields */
.invoice-fields { margin-top: 16px; }
.invoice-fields[hidden] { display: none; }
.nx-grid { display: grid; gap: 12px; margin: 20px 0 8px; }
.nx-item { display: flex; gap: 16px; padding: 18px 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-sm); }
.nx-item .cnum { flex: none; }
.nx-item h3 { font-size: 16px; margin: 0 0 4px; }
.nx-item p { margin: 0; color: var(--ivory-dim); font-size: 14px; line-height: 1.5; }
.nx-item a { color: var(--amber); }

/* onboarding: reduce layout shift + info note */
.wiz-panel { min-height: 360px; }
.wiz-note { display: flex; gap: 10px; align-items: baseline; margin-top: 18px; padding: 14px 16px; background: var(--ink-2); border: 1px solid var(--amber-line); border-radius: var(--r-sm); font-size: 14px; color: var(--ivory-dim); line-height: 1.55; }
.wiz-note b { flex: none; color: var(--amber); }

/* member deals: platform teaser + promo */
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 14px; }
.deal-card { padding: 20px; background: var(--ink-2); border: 1px solid var(--line); border-radius: var(--r-sm); transition: border-color .2s var(--ease), transform .2s var(--ease); }
.deal-card:hover { border-color: var(--amber-line); transform: translateY(-2px); }
.deal-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 12px; }
.deal-top h3 { font-size: 15px; margin: 0; }
.deal-tag { flex: none; font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); border: 1px solid var(--line); border-radius: var(--r-pill); padding: 3px 9px; }
.deal-offer { color: var(--amber); font-weight: 600; font-size: 15px; margin: 0 0 6px; line-height: 1.4; }
.deal-save { color: var(--muted); font-size: 13px; margin: 0; }
.deal-more { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-top: 28px; }
.deal-more p { margin: 0; color: var(--ivory-dim); font-size: 14px; }
.promo { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; background: var(--ink-2); border: 1px solid var(--amber-line); border-radius: var(--r); }
.promo h3 { font-size: 20px; }
.promo-side { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.promo-code { font-weight: 600; letter-spacing: .06em; color: var(--ink); background: var(--amber); border-radius: var(--r-pill); padding: 9px 18px; font-size: 15px; white-space: nowrap; }

.sec-sub { color: var(--ivory-dim); max-width: 620px; margin-top: 10px; font-size: 15px; line-height: 1.6; }

/* ---- amber hero: layered depth ---- */
.hero-fx { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-grid, .fx-vignette, .fx-glow { position: absolute; inset: 0; }

/* faint architectural grid, faded toward the edges */
.fx-grid {
  background-image:
    linear-gradient(rgba(26,18,0,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(26,18,0,0.045) 1px, transparent 1px);
  background-size: 66px 66px;
  -webkit-mask-image: radial-gradient(96% 92% at 46% 38%, #000 24%, transparent 76%);
  mask-image: radial-gradient(96% 92% at 46% 38%, #000 24%, transparent 76%);
}
/* darker orange toward the edges */
.fx-vignette {
  background: radial-gradient(125% 120% at 50% 36%, transparent 44%, rgba(150,92,4,0.26) 82%, rgba(116,70,2,0.44) 100%);
}
/* soft radial glow behind the headline */
.fx-glow {
  background: radial-gradient(560px 420px at 30% 30%, rgba(255,249,234,0.42), transparent 62%);
  animation: fxGlow 9s ease-in-out infinite;
}
/* large blurred light shapes, drifting slowly */
.fx-blob { position: absolute; border-radius: 50%; filter: blur(56px); will-change: transform; }
.fx-blob-1 {
  width: 48vw; height: 48vw; left: -10vw; top: -14vw;
  background: radial-gradient(circle, rgba(255,216,140,0.7), transparent 70%);
  animation: fxDrift1 20s cubic-bezier(.4,0,.2,1) infinite alternate;
}
.fx-blob-2 {
  width: 42vw; height: 42vw; right: -8vw; bottom: -16vw;
  background: radial-gradient(circle, rgba(255,244,218,0.58), transparent 70%);
  animation: fxDrift2 26s cubic-bezier(.4,0,.2,1) infinite alternate;
}
/* very subtle animated grain */
.fx-grain {
  position: absolute; inset: -120%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 150px 150px;
  opacity: 0.06; mix-blend-mode: overlay;
  animation: fxGrain 9s steps(6) infinite;
}
@keyframes fxGlow { 0%, 100% { opacity: .6; transform: translate(0,0); } 50% { opacity: 1; transform: translate(1.5%, 1%); } }
@keyframes fxDrift1 { 0% { transform: translate(0,0) scale(1); opacity: .72; } 50% { opacity: 1; } 100% { transform: translate(8vw,5vw) scale(1.16); opacity: .8; } }
@keyframes fxDrift2 { 0% { transform: translate(0,0) scale(1); opacity: .68; } 50% { opacity: 1; } 100% { transform: translate(-7vw,-4vw) scale(1.14); opacity: .78; } }
@keyframes fxGrain {
  0% { transform: translate(0,0); }
  20% { transform: translate(-3%,2%); }
  40% { transform: translate(2%,-2%); }
  60% { transform: translate(-2%,1%); }
  80% { transform: translate(1%,-2%); }
  100% { transform: translate(0,0); }
}
@media (prefers-reduced-motion: reduce) {
  .fx-blob, .fx-glow, .fx-grain { animation: none; }
}

/* rotating italic focal word in the hero headline */
.hero h1 .club { display: inline-block; vertical-align: baseline; will-change: opacity, transform; }

/* animate the corner halo on the amber hero */
.hero::before { will-change: opacity, transform; animation: fxHalo 11s ease-in-out infinite; }
@keyframes fxHalo { 0%, 100% { opacity: .68; transform: scale(1); } 50% { opacity: 1; transform: scale(1.09); } }
@media (prefers-reduced-motion: reduce) { .hero::before { animation: none; } }

/* ================= hero: two-column + ecosystem network ================= */
.hero-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 24px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-net { position: relative; min-width: 0; margin: 0 -110px 0 -24px; }
@media (max-width: 1240px) { .hero-net { margin-right: -40px; } }

/* primary + secondary actions */
.hero-actions { margin-top: 28px; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.btn-apply {
  position: relative; display: inline-flex; align-items: center; min-height: 48px;
  padding: 13px 26px; border-radius: var(--r-pill); background: #17110A; color: var(--ivory);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
  font-weight: 600; font-size: 15px; letter-spacing: -0.005em;
  transition: transform .18s var(--ease-out), box-shadow .2s var(--ease), background .2s var(--ease);
}
.btn-apply:hover { background: #241A0E; transform: translateY(-1px); box-shadow: 3px 3px 0 rgba(26,18,0,.22); }
.btn-apply .arw { display: inline-block; margin-left: 8px; transition: transform .22s var(--ease-out); }
.btn-apply:hover .arw { transform: translateX(5px); }
.ba-sub {
  position: absolute; top: calc(100% + 8px); left: 0; white-space: nowrap;
  background: #17110A; color: var(--ivory); font-size: 11.5px; font-weight: 500; letter-spacing: .02em;
  padding: 5px 10px; border-radius: 10px; opacity: 0; transform: translateY(-4px);
  pointer-events: none; transition: opacity .2s var(--ease-out), transform .2s var(--ease-out);
}
.btn-apply:hover .ba-sub, .btn-apply:focus-visible .ba-sub { opacity: 1; transform: none; }
.event-link { display: inline-flex; align-items: center; gap: 10px; color: #17110A; font-size: 14.5px; font-weight: 500; }
.event-link .ev-tag {
  font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  background: rgba(26,18,0,.10); color: #17110A; padding: 4px 9px; border-radius: var(--r-pill);
}
.event-link .ev-txt { border-bottom: 1px solid transparent; transition: border-color .2s var(--ease); }
.event-link:hover .ev-txt { border-color: rgba(26,18,0,.5); }
.event-link .ev-txt span { display: inline-block; transition: transform .2s var(--ease-out); }
.event-link:hover .ev-txt span { transform: translateX(3px); }

@keyframes sdotPulse { 0% { box-shadow: 0 0 0 0 rgba(255,253,248,.55); } 70% { box-shadow: 0 0 0 7px rgba(255,253,248,0); } 100% { box-shadow: 0 0 0 0 rgba(255,253,248,0); } }

/* map viz container */
.netviz { width: 100%; height: auto; display: block; overflow: visible; }
.net-labels { position: absolute; inset: 0; pointer-events: none; }
.net-label {
  position: absolute; transform: translate(-50%,-150%) translateY(4px);
  background: #17110A; color: var(--ivory);
  font-size: 10.5px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 8px;
  white-space: nowrap; opacity: 0; transition: opacity .6s var(--ease-out), transform .6s var(--ease-out);
}
.net-label.show { opacity: 1; transform: translate(-50%,-150%) translateY(0); }

/* social proof strip */
.social-proof { margin-top: 40px; display: flex; align-items: center; gap: 16px 24px; flex-wrap: wrap; }
/* The member proof now lives as one real logo wall on the membership page,
   rather than a hover popover of four marks duplicated here. */
.sp-link { display: inline-flex; align-items: center; gap: 7px; transition: opacity .2s var(--ease); }
.sp-link span { display: inline-block; transition: transform .2s var(--ease-out); }
.sp-link:hover span { transform: translateX(3px); }
.sp-link:hover { opacity: .78; }
.sp-text { font-size: 14px; letter-spacing: 0.005em; color: rgba(26,18,0,.78); }
.sp-text b { color: #17110A; font-weight: 500; }
.sp-activity { font-size: 13.5px; color: rgba(26,18,0,.78); display: flex; align-items: center; gap: 8px; }
.ac-dot { width: 6px; height: 6px; border-radius: 50%; background: #17110A; opacity: .6; }
.sp-line { transition: opacity .3s var(--ease); }

/* stats: entrance + count-up + dividers + hover context */
.hero .stats { position: relative; }
.hero .stat { position: relative; opacity: 0; transform: translateY(10px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out); }
.hero .stat + .stat { border-left: none; }
.hero .stat + .stat::before {
  content: ""; position: absolute; left: 0; top: 14px; bottom: 6px; width: 1px;
  background: rgba(26,18,0,.2); transform: scaleY(0); transform-origin: bottom;
  transition: transform .6s var(--ease-out);
}
.hero .stats.in .stat { opacity: 1; transform: none; }
.hero .stats.in .stat + .stat::before { transform: scaleY(1); }
.hero .stats.in .stat:nth-child(1) { transition-delay: .05s; }
.hero .stats.in .stat:nth-child(2), .hero .stats.in .stat:nth-child(2)::before { transition-delay: .13s; }
.hero .stats.in .stat:nth-child(3), .hero .stats.in .stat:nth-child(3)::before { transition-delay: .21s; }
.hero .stats.in .stat:nth-child(4), .hero .stats.in .stat:nth-child(4)::before { transition-delay: .29s; }
.hero .stats.in .stat:nth-child(5), .hero .stats.in .stat:nth-child(5)::before { transition-delay: .37s; }
.stat-ctx {
  position: absolute; left: 0; bottom: calc(100% + 10px); width: max(190px, 100%);
  background: #17110A; color: var(--ivory); font-size: 12.5px; line-height: 1.45; font-weight: 400;
  padding: 10px 12px; border-radius: 10px; opacity: 0; transform: translateY(6px); pointer-events: none;
  transition: opacity .2s var(--ease-out), transform .2s var(--ease-out); box-shadow: var(--shadow-hover); z-index: 5;
}
.stat:hover .stat-ctx, .stat:focus .stat-ctx, .stat:focus-within .stat-ctx { opacity: 1; transform: none; transition-delay: .2s; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 8px; }
  .hero-net { margin: 26px -8px 0; }
  .social-proof { margin-top: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero .stat { opacity: 1 !important; transform: none !important; }
  .hero .stat + .stat::before { transform: scaleY(1); }
  }

/* world map: dotted continents, event arcs, city markers */
.mland circle { fill: #17110A; }
.mc-dot { fill: #17110A; }
.mc-pulse { fill: none; stroke: rgba(26, 18, 0, 0.35); stroke-width: 1; opacity: 0; }
/* featured event cities: lit beacons with a slow soft ping */
.mcity.featured .mc-dot { fill: #FFFDF8; stroke: rgba(26, 18, 0, 0.45); stroke-width: 0.75; }
.mcity.featured .mc-pulse {
  stroke: rgba(255, 253, 248, 0.65);
  animation: mcSoft 5s var(--ease-out) infinite;
  transform-box: fill-box; transform-origin: center;
}
.mcity.featured:nth-of-type(2) .mc-pulse { animation-delay: 1.2s; }
.mcity.featured:nth-of-type(3) .mc-pulse { animation-delay: 2.5s; }
.mcity.featured:nth-of-type(8) .mc-pulse { animation-delay: 3.7s; }
@keyframes mcSoft { 0% { opacity: .7; transform: scale(1); } 55%, 100% { opacity: 0; transform: scale(2.8); } }
.arc-dot { fill: #F5AB1F; }
/* soft edge fade so the map floats in the amber field */
.hero-net .netviz {
  -webkit-mask-image: radial-gradient(90% 88% at 50% 48%, #000 55%, transparent 96%);
  mask-image: radial-gradient(90% 88% at 50% 48%, #000 55%, transparent 96%);
}
.mcity.lit .mc-dot { fill: #F5AB1F; transition: fill .3s var(--ease); }
.mcity.lit .mc-pulse { animation: mcPing 1.6s var(--ease-out); }
@keyframes mcPing {
  0% { opacity: .8; transform: scale(1); transform-box: fill-box; transform-origin: center; }
  100% { opacity: 0; transform: scale(3.2); transform-box: fill-box; transform-origin: center; }
}
.arc { fill: none; stroke: rgba(26, 18, 0, 0.45); stroke-width: 1; stroke-linecap: round; }




/* hero entrance choreography (JS adds .pre then swaps to .in-hero) */
.hero .hero-copy > *, .hero .hero-net, .hero .social-proof {
  transition: opacity .55s var(--ease-out), transform .55s var(--ease-out);
}
.hero.pre .hero-copy > *, .hero.pre .hero-net, .hero.pre .social-proof { opacity: 0; transform: translateY(12px); }
.hero.in-hero .hero-copy > *, .hero.in-hero .hero-net, .hero.in-hero .social-proof { opacity: 1; transform: none; }
.hero.in-hero .hero-copy > *:nth-child(2) { transition-delay: .07s; }
.hero.in-hero .hero-copy > *:nth-child(3) { transition-delay: .14s; }
.hero.in-hero .hero-copy > *:nth-child(4) { transition-delay: .21s; }
.hero.in-hero .hero-copy > *:nth-child(5) { transition-delay: .28s; }
.hero.in-hero .hero-net { transition-delay: .18s; }
.hero.in-hero .social-proof { transition-delay: .34s; }
.hero-eyebrow::before { transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out) .1s; }
.hero.in-hero .hero-eyebrow::before { transform: scaleX(1); }
@media (prefers-reduced-motion: reduce) {
  .hero.pre .hero-copy > *, .hero.pre .hero-net, .hero.pre .social-proof { opacity: 1; transform: none; }
  .hero-eyebrow::before { transform: scaleX(1); }
}

/* homepage photo band: editorial mosaic */
.pband { display: grid; grid-template-columns: 1.25fr 1fr 1fr; grid-template-rows: 215px 215px; gap: 14px; }
.pb-feat { grid-row: 1 / 3; }
.pb-wide { grid-column: 2 / 4; }
.pband figure { position: relative; margin: 0; border-radius: var(--r-sm); overflow: hidden; }
.pband figure::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(180deg, rgba(232,155,12,0.06), rgba(18,17,16,0) 40%, rgba(18,17,16,0.55) 100%);
}
.pband figure::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(242,237,227,0.09);
}
.pband img {
  display: block; width: 100%; height: 100%; object-fit: cover;
  filter: saturate(.82) contrast(1.03) sepia(.09);
  transition: transform .6s var(--ease-out), filter .4s var(--ease);
}
.pband figure:hover img { transform: scale(1.035); filter: saturate(.95) contrast(1.03) sepia(.04); }
.pband figcaption {
  position: absolute; left: 16px; right: 16px; bottom: 13px; z-index: 3;
  display: flex; align-items: baseline; gap: 9px; color: var(--ivory);
}
.pband figcaption b {
  font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.pband figcaption span {
  font-family: var(--serif); font-style: italic; font-size: 13.5px; color: rgba(242,237,227,.85);
}
@media (max-width: 800px) {
  .pband { grid-template-columns: 1fr 1fr; grid-template-rows: auto; gap: 10px; }
  .pb-feat { grid-row: auto; }
  .pb-wide { grid-column: auto; }
  .pband figure { height: 150px; }
  .pband figcaption span { display: none; }
}


/* a11y: visible focus on the amber hero */
.hero a:focus-visible, .hero button:focus-visible { outline-color: #17110A; }

/* a11y: text-link tap targets (visual size unchanged) */
.txtlink, .e-link, .totop, .foot-col a, .foot-social a { padding-block: 6px; margin-block: -6px; }

/* stats: tidy 2-col stack on small screens */
@media (max-width: 720px) {
  .hero .stats { grid-template-columns: 1fr 1fr; }
  .hero .stat:nth-child(5) { grid-column: 1 / -1; }
  .hero .stat + .stat::before { display: none; }
  .hero .stat + .stat { padding-left: 0; }
}

/* legal pages */
.legal h2 { font-size: 18px; margin: 32px 0 10px; }
.legal h2:first-child { margin-top: 0; }
.legal p { color: var(--ivory-dim); font-size: 15px; line-height: 1.7; }
.legal a { color: var(--amber); }
.legal b { color: var(--ivory); }

/* photo band: simple 3-up row variant */
.pband-row { grid-template-columns: repeat(3, 1fr); grid-template-rows: 235px; }
.pband-row figure { grid-row: auto; grid-column: auto; }
@media (max-width: 800px) {
  .pband-row { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .pband-row figure:first-child { grid-column: 1 / -1; }
}

/* utilities (promoted from recurring inline styles) */
.pt0 { padding-top: 0; }
.pb0 { padding-bottom: 0; }
.mt0 { margin-top: 0; }
.m0 { margin: 0; }
.mb32 { margin-bottom: 32px; }
.btn-row { display: flex; gap: 12px; flex-wrap: wrap; }
.hl { color: var(--ivory); font-weight: 500; }

/* onboarding: address + copy */
.addr-row { display: flex; align-items: center; gap: 10px; margin-top: 10px; flex-wrap: wrap; }
.addr-row .addr { margin-top: 0; user-select: all; -webkit-user-select: all; cursor: text; }
.copy-addr {
  flex: none; font-family: var(--sans); font-size: 12px; font-weight: 600; cursor: pointer;
  color: var(--amber); background: transparent; border: 1px solid var(--amber-line);
  border-radius: var(--r-pill); padding: 6px 14px; min-height: 32px;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.copy-addr:hover { border-color: var(--amber); background: rgba(232,155,12,.08); }

/* newsletter capture */
.nl-form { position: relative; display: flex; gap: 10px; flex-wrap: wrap; max-width: 460px; margin: 34px auto 0; justify-content: center; }
.nl-form input[type="email"] {
  flex: 1; min-width: 220px; min-height: 44px; padding: 10px 18px;
  background: var(--ink-3); color: var(--ivory); border: 1px solid var(--line);
  border-radius: var(--r-pill); font-family: var(--sans); font-size: 15px;
  transition: border-color .2s var(--ease);
}
.nl-form input[type="email"]:focus { outline: none; border-color: var(--amber-line); box-shadow: var(--focus-ring); }
.nl-form input[type="email"]::placeholder { color: var(--muted); }
.nl-note { margin-top: 14px; font-size: 13.5px; color: var(--muted); }
.nl-note a { color: var(--amber); }

/* application form: group headers + checkbox chips */
.fgroup {
  margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line);
  font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--amber); font-weight: 500;
}
.chk-grid { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chk { position: relative; }
.chk input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chk span {
  display: inline-flex; align-items: center; padding: 8px 14px; min-height: 34px;
  border: 1px solid var(--line); border-radius: var(--r-pill);
  font-size: 13px; color: var(--ivory-dim); cursor: pointer;
  transition: border-color .18s var(--ease), color .18s var(--ease), background .18s var(--ease);
}
.chk:hover span { border-color: rgba(242,237,227,.3); }
.chk input:checked + span { border-color: var(--amber); color: var(--ivory); background: rgba(232,155,12,.10); }
.chk input:focus-visible + span { outline: 2px solid var(--amber); outline-offset: 2px; }

/* ===== application form: validation, progress, drafts ===== */
/* fieldsets used as choice groups should look like any other field */
.field fieldset, fieldset.field { border: 0; padding: 0; margin: 0; min-width: 0; }
fieldset.field legend {
  display: block; padding: 0; font-size: 13px;
  color: var(--ivory-dim); margin-bottom: 9px;
}
/* NB: .opt is already taken by the tier cards in welcome.html, hence .f-opt */
.req { color: var(--amber); margin-left: 2px; }
.f-opt {
  margin-left: 6px; font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
  color: var(--muted); font-weight: 500;
}
.fhint { margin: 7px 0 0; font-size: 12.5px; color: var(--muted); line-height: 1.5; }

/* inline errors */
.ferr { margin: 7px 0 0; font-size: 12.5px; color: var(--error); line-height: 1.45; }
.ferr:empty { display: none; }
.field.has-err input, .field.has-err textarea, .field.has-err select {
  border-color: var(--error); box-shadow: 0 0 0 3px rgba(224,122,95,.14);
}
.field.has-err legend { color: var(--error); }
/* the browser's own :user-invalid styling would fight ours, so scope it off here */
#apply-form .field input:user-invalid, #apply-form .field textarea:user-invalid { box-shadow: none; }
#apply-form .field.has-err input:user-invalid, #apply-form .field.has-err textarea:user-invalid {
  box-shadow: 0 0 0 3px rgba(224,122,95,.14);
}

/* error summary */
.err-summary {
  border: 1px solid rgba(224,122,95,.45); background: rgba(224,122,95,.07);
  border-radius: var(--r-sm); padding: 16px 18px;
}
.es-title { margin: 0 0 8px; font-size: 14px; font-weight: 600; color: var(--error); }
.es-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.es-list button {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: 13.5px; color: var(--ivory-dim); text-decoration: underline;
  text-decoration-color: rgba(224,122,95,.6); text-underline-offset: 3px;
}
.es-list button:hover { color: var(--ivory); }

/* completeness meter — docks under the nav so progress stays visible while
   scrolling. It lives outside the form because a sticky grid item is confined
   to its own grid row and would not travel. */
/* Completeness meter. Sits directly in the section rather than in .wrap so the
   docked state can span the full width without 100vw, which would overflow
   given html has scrollbar-gutter: stable.
   Two states: in flow it is a quiet caption aligned to the form; once it docks
   under the nav it grows a bar background and a full-bleed track. */
.apply-sec { padding-top: 44px; }
.stuck-sentinel { height: 1px; margin-bottom: -1px; }
.form-sticky {
  position: sticky; top: 68px; z-index: 30; margin-bottom: 40px;
  border-bottom: 1px solid transparent;
  transition: background .2s var(--ease), border-color .2s var(--ease);
}
.fmeter { max-width: 720px; transition: max-width .2s var(--ease); }
.fmeter-row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  padding-top: 9px;
}
.fprogress {
  height: 3px; border-radius: 99px; overflow: hidden;
  background: rgba(242,237,227,.09);
}
.fprogress-bar {
  display: block; height: 100%; width: 0; border-radius: 99px;
  background: var(--amber); transition: width .35s var(--ease);
}
.fprogress.is-full .fprogress-bar { background: #6FBF8B; }
.fprogress-note { margin: 0; font-size: 12.5px; color: var(--muted); }
.fp-saved { margin: 0; font-size: 12.5px; color: var(--amber-soft); white-space: nowrap; }

/* docked */
.form-sticky.is-stuck {
  background: rgba(18, 17, 16, 0.9);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
  padding-bottom: 9px;
}
.form-sticky.is-stuck .fmeter { max-width: none; }
/* the track jumps out of .wrap padding to sit flush across the docked bar */
.form-sticky.is-stuck .fprogress {
  position: absolute; top: 0; left: 0; right: 0;
  border-radius: 0;
}
.form-sticky.is-stuck .fmeter-row { padding-top: 12px; }

/* keep focused fields clear of the docked bar when jumping from the summary */
#apply-form .field, #apply-form .err-summary, #apply-form fieldset.field {
  scroll-margin-top: 140px;
}
@media (max-width: 720px) {
  .fprogress-note, .fp-saved { font-size: 12px; }
  #apply-form .field, #apply-form .err-summary, #apply-form fieldset.field {
    scroll-margin-top: 128px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .form-sticky, .fmeter, .fprogress-bar { transition: none; }
}

/* restored draft notice */
.draft-note {
  grid-column: 1 / -1; display: flex; align-items: center; gap: 12px; flex-wrap: wrap;
  border: 1px solid var(--amber-line); background: rgba(232,155,12,.06);
  border-radius: var(--r-sm); padding: 11px 16px; margin: 0;
  font-size: 13.5px; color: var(--ivory-dim);
}
.draft-clear {
  background: none; border: 0; padding: 0; cursor: pointer; font: inherit;
  font-size: 13px; color: var(--amber); text-decoration: underline; text-underline-offset: 3px;
}

.form-actions { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.form-foot { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; color: var(--muted); }

/* success state */
.apply-success {
  border: 1px solid var(--amber-line); background: rgba(232,155,12,.05);
  border-radius: var(--r); padding: 34px 30px;
}
.apply-success h2 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 10px; }
.apply-success p { margin: 0 0 20px; color: var(--ivory-dim); font-size: 15px; line-height: 1.65; max-width: 52ch; }

/* newsletter: Luma embed */
.nl-embed {
  max-width: 720px; margin: 34px auto 0;
  border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
  background: var(--ink-2);
}
.nl-embed iframe { display: block; width: 100%; height: 460px; border: 0; }
@media (max-width: 600px) { .nl-embed iframe { height: 520px; } }

/* partner walls: bare marks, no chip borders */
.logo-plain .lcell { border: 0; background: transparent; padding: 0 16px; height: 44px; }
.logo-plain .lcell:hover { background: transparent; }
/* partner marks stay white. Revealing true brand colour on hover breaks the ones
   whose artwork is dark or mid-tone on a dark ground (Hemi, Chaos Labs,
   Cointelegraph), so brighten the silhouette instead of unfiltering it. */
.logo-plain .lcell:hover img { filter: brightness(0) invert(1); opacity: 1; }
