/* ==========================================================
   League of Kingdompreneurs: "Royal Editorial" design
   Ivory paper and ink, royal purple and antique gold accents.
   Type: Fraunces (display), Public Sans (text)
   ========================================================== */

:root {
  /* THE ONLY THREE COLOUR FAMILIES: PURPLE, GOLD AND BLACK */
  --black: #07040C;          /* main page background */
  --black-raised: #0F0A1A;   /* cards, form fields, header on scroll */
  --purple-900: #1E0B3A;     /* alternate section background */
  --purple-700: #3F1470;     /* hover fills, borders on purple areas */
  --purple-500: #6B2FB3;     /* icons, small accents, field borders */
  --purple-300: #B9A6D9;     /* secondary and muted text */
  --purple-200: #E4D9F6;     /* main body text */
  --gold-700: #9C7420;       /* pressed states, subtle borders */
  --gold-500: #D6A53A;       /* buttons, rules, icons, key words */
  --gold-300: #F0CF7F;       /* heading accents, hover, focus rings */
  --gold-100: #F7E6B8;       /* large headings on dark backgrounds */

  /* derived only from the palette above */
  --gold-foil: linear-gradient(120deg, var(--gold-100) 0%, var(--gold-300) 40%, var(--gold-500) 100%);
  --line: rgba(214, 165, 58, 0.35);         /* gold-500 at 35% */
  --line-light: rgba(214, 165, 58, 0.35);

  --display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --text: "Public Sans", system-ui, sans-serif;

  --gutter: clamp(1.25rem, 4vw, 3rem);
  --maxw: 1280px;
  --section-y: clamp(4rem, 9vw, 7.5rem);
  --s1: 0.5rem; --s2: 1rem; --s3: 1.5rem; --s4: 2.5rem; --s5: 4rem;
  --r: 0.375rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --t: 0.25s;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; -webkit-text-size-adjust: 100%; }
body {
  font-optical-sizing: auto;
  margin: 0;
  background: var(--black);
  color: var(--purple-200);
  font-family: var(--text);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 var(--s2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { margin: 0; font-weight: 400; }
h1, h2, h3, p { overflow-wrap: break-word; }   /* a long word never pushes the page sideways */
html { overflow-x: clip; }
figure { margin: 0; }
em { font-style: italic; }
::selection { background: var(--gold-300); color: var(--black); }
:focus-visible { outline: 3px solid var(--gold-300); outline-offset: 3px; }

html { scrollbar-color: rgba(214, 165, 58, 0.55) var(--black); scrollbar-width: thin; }
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: rgba(214, 165, 58, 0.5); border-radius: 8px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { position: relative; padding-block: var(--section-y); }
.section--tint { background: var(--purple-900); }
.band--ink { background: var(--black); color: var(--purple-200); }
.band--royal { background: linear-gradient(160deg, var(--purple-900) 0%, var(--purple-900) 70%); color: var(--purple-200); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: fixed; top: -10rem; left: 1rem; z-index: 300; white-space: nowrap;
  padding: 0.7rem 1.1rem;
  background: var(--gold-300); color: var(--black);
  font-weight: 600; border-radius: var(--r);
}
.skip-link:focus { top: 1rem; }

.progress { position: fixed; inset: 0 0 auto 0; z-index: 260; height: 2px; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--gold-500); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* ---------- Type ---------- */
.h2 {
  font-family: var(--display);
  font-size: clamp(2.4rem, 5vw, 4.4rem);
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.h2 em, .summit__title em, .register__title em, .footer__big em, .brand__name em, .footer__name em {
  font-style: italic;
  font-weight: 400;
  color: var(--gold-500);
}
.band .h2 em, .band .summit__title em, .band .register__title em { color: var(--gold-300); }
.lead { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.55; }
.muted { color: var(--purple-300); margin: 0; }
.muted-lead { color: var(--purple-300); max-width: 40rem; margin-top: var(--s3); }

/* chapter labels: small gold diamond + label */
.chapter {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 var(--s3);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--purple-300);
}
.chapter span {
  font-family: var(--display);
  font-size: 1rem;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--gold-500);
}

.chapter span { order: 0; }
.chapter--light { color: rgba(228, 217, 246, 0.7); }
.chapter--light span { color: var(--gold-300); }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.1rem;
  padding: 0.8rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease), border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.btn::after {
  content: "";
  position: absolute; top: 0; bottom: 0; left: 0;
  width: 45%;
  background: linear-gradient(100deg, transparent, rgba(247, 230, 184, 0.35), transparent);
  transform: translateX(-130%) skewX(-20deg);
  pointer-events: none;
}
.btn:hover::after { transform: translateX(260%) skewX(-20deg); transition: transform 0.3s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn--ink { background: var(--gold-foil); color: var(--black); }
.btn--ink:hover { box-shadow: 0 14px 36px rgba(214, 165, 58, 0.35); }
.btn--gold { background: var(--gold-foil); color: var(--black); }
.btn--gold:hover { box-shadow: 0 14px 36px rgba(214, 165, 58, 0.35); }
.btn--line { border-color: rgba(240, 207, 127, 0.6); color: inherit; background: transparent; }
.btn--line:hover { background: rgba(214, 165, 58, 0.12); border-color: var(--gold-300); }
.btn--sm { min-height: 2.6rem; padding: 0.55rem 1.2rem; font-size: 0.92rem; }
.btn--block { width: 100%; }

/* ---------- Reveal (only under html.anim) ---------- */
.anim [data-reveal] {
  opacity: 0;
  translate: 0 16px;
  transition: opacity 0.7s var(--ease), translate 0.7s var(--ease);
  transition-delay: var(--d, 0ms);
}
.anim [data-reveal].in { opacity: 1; translate: 0 0; }

/* ==========================================================
   TOP STRIP + HEADER
   ========================================================== */
.strip { background: var(--purple-900); color: rgba(228, 217, 246, 0.88); font-size: 0.82rem; border-bottom: 1px solid var(--line); }
.strip__inner { display: flex; justify-content: space-between; align-items: center; gap: var(--s2); min-height: 2.4rem; }
.strip p { margin: 0; letter-spacing: 0.04em; }
.strip span { margin-inline: 0.4em; color: var(--gold-300); }
.strip a { color: var(--gold-300); font-weight: 600; text-decoration: none; white-space: nowrap; }
.strip a span { margin: 0; display: inline-block; transition: transform var(--t) var(--ease); }
.strip a:hover span { transform: translateX(3px); }

.header {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(7, 4, 12, 0.78);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 10px 40px rgba(7, 4, 12, 0.45); }
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  min-height: 4.75rem;
  transition: min-height 0.3s var(--ease);
}
.header.is-scrolled .header__inner { min-height: 4rem; }

.brand { display: inline-flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.brand__name { font-family: var(--display); font-size: 1.3rem; line-height: 1; letter-spacing: -0.01em; }

.nav { display: flex; align-items: center; gap: var(--s4); }
.nav ul { display: flex; gap: 1.75rem; }
.nav a:not(.btn) {
  position: relative;
  padding-block: 0.4rem;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--purple-200);
  text-decoration: none;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--gold-500);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}
.nav a:not(.btn):hover::after,
.nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: var(--purple-200); }

.menu-btn {
  display: none;
  position: relative;
  width: 2.8rem; height: 2.8rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  content: "";
  position: absolute; left: 50%;
  width: 1.1rem; height: 1.5px;
  background: var(--purple-200);
  transform: translateX(-50%);
  transition: transform var(--t) var(--ease), opacity var(--t) var(--ease);
}
.menu-btn__bars { top: 50%; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

/* ==========================================================
   HERO
   ========================================================== */
.hero { padding-top: clamp(2rem, 5vw, 4rem); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: center;
}
.kicker {
  margin-bottom: var(--s3);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-500);
}
.kicker span { margin-inline: 0.4em; color: var(--purple-300); }

.hero__title {
  font-family: var(--display);
  font-size: clamp(3.6rem, 9.6vw, 9.2rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: -0.035em;
}
.hero__title .line { display: block; overflow: hidden; padding: 0.04em 0.1em 0.06em 0; }
.hero__title .line > span { display: inline-block; }
.hero__title .line--accent { font-style: italic; font-weight: 400; color: var(--purple-300); padding-left: 0.6em; }
.hero__sub { max-width: 32rem; margin: var(--s4) 0 var(--s3); font-size: clamp(1.08rem, 1.4vw, 1.25rem); color: var(--purple-200); }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.hero__visual { position: relative; justify-self: end; width: min(100%, 30rem); }
.arch {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 999px 999px var(--r) var(--r);
  background: var(--purple-900);
  box-shadow: 0 40px 80px -30px rgba(30, 11, 58, 0.45);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 30%; }
.hero__visual::before {
  content: "";
  position: absolute;
  inset: -0.9rem -0.9rem 2.6rem -0.9rem;
  border: 1px solid var(--gold-500);
  border-radius: 999px 999px var(--r) var(--r);
  pointer-events: none;
}
.hero__visual figcaption { margin-top: var(--s2); font-size: 0.88rem; color: var(--purple-300); text-align: right; }
.hero__visual figcaption strong { color: var(--purple-200); font-weight: 600; }

.seal {
  position: absolute;
  left: -3.5rem; bottom: 4rem;
  width: 8.5rem; height: 8.5rem;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold-foil);
  color: var(--black);
  box-shadow: 0 20px 40px -12px rgba(7, 4, 12, 0.7), 0 0 0 6px rgba(7, 4, 12, 0.9), 0 0 0 7px rgba(240, 207, 127, 0.5);
}
.seal svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: sealSpin 24s linear infinite; }
@keyframes sealSpin { to { transform: rotate(360deg); } }   /* the ring of text turns; the date stays upright */
.seal text { fill: var(--purple-900); font-family: var(--text); font-size: 12.5px; font-weight: 600; letter-spacing: 2.2px; text-transform: uppercase; }
.seal__date { display: grid; justify-items: center; font-family: var(--display); font-size: 2.1rem; line-height: 0.9; }
.seal__date i { font-size: 0.85rem; letter-spacing: 0.08em; color: var(--purple-900); }

.facts-bar {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  border-top: 1px solid rgba(240, 207, 127, 0.55);
  border-bottom: 1px solid var(--line);
}
.facts-bar div { padding: var(--s2) var(--s2) var(--s2) 0; display: grid; gap: 0.2rem; }
.facts-bar div + div { padding-left: var(--s2); border-left: 1px solid var(--line); }
.facts-bar dt { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--purple-300); }
.facts-bar dd { margin: 0; font-family: var(--display); font-size: clamp(1.1rem, 1.6vw, 1.45rem); line-height: 1.2; }
.facts-bar em { color: var(--gold-500); }

/* entrance: lines rise from behind their masks, then the rest fades up */
/* the three words arrive one at a time, 3 seconds apart, once */
.anim .hero__title .line > span { opacity: 0; transform: translateY(105%); animation: wordIn 1.1s var(--ease) forwards; }
.anim .hero__title .line:nth-child(1) > span { animation-delay: 0.3s; }
.anim .hero__title .line:nth-child(2) > span { animation-delay: 3.3s; }
.anim .hero__title .line:nth-child(3) > span { animation-delay: 6.3s; }
@keyframes wordIn { 0% { opacity: 0; transform: translateY(105%); } 60% { opacity: 1; } 100% { opacity: 1; transform: none; } }
.anim .rise { opacity: 0; transform: translateY(14px); animation: fadeUp 0.7s var(--ease) 0.6s forwards; }
.anim .kicker.rise { animation-delay: 0s; }
.anim .hero__actions.rise { animation-delay: 0.72s; }
.anim .arch img { transform: scale(1.06); animation: settle 6s var(--ease) forwards; }
.anim .seal { opacity: 0; transform: scale(0.9); animation: fadeUp 0.8s var(--ease) 0.9s forwards; }
@keyframes lineUp { to { transform: none; } }
@keyframes fadeUp { to { opacity: 1; transform: none; } }
@keyframes settle { to { transform: scale(1); } }

/* ==========================================================
   MANIFESTO
   ========================================================== */
.manifesto { padding-block: var(--section-y); margin-top: var(--section-y); }
.manifesto__inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
.manifesto__text p {
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.6vw, 2.35rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-bottom: var(--s3);
  max-width: 48rem;
}
.dropcap {
  float: left;
  margin: 0.06em 0.12em 0 0;
  font-size: 3.4em;
  line-height: 0.82;
  font-weight: 400;
  color: var(--gold-300);
}
.manifesto__text .manifesto__finale { margin: var(--s4) 0 0; font-size: clamp(1.9rem, 3.6vw, 3.2rem); color: var(--gold-300); }

/* laptop and up: a magazine spread that uses the full width
   - opening statement large across the full width
   - the next two statements side by side, each under a gold rule
   - the closing line across the bottom */
@media (min-width: 901px) {
  .manifesto__text {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: var(--s5);
  }
  .manifesto__text p { max-width: none; margin: 0; }
  .manifesto__text p:first-child {
    grid-column: 1 / -1;
    margin-bottom: var(--s4);
    font-size: clamp(2.2rem, 3.8vw, 3.6rem);
    line-height: 1.12;
  }
  .manifesto__text p:nth-child(2),
  .manifesto__text p:nth-child(3) {
    padding-top: var(--s3);
    border-top: 1px solid rgba(214, 165, 58, 0.4);
    font-size: clamp(1.4rem, 2vw, 1.85rem);
    line-height: 1.3;
    color: var(--purple-200);
  }
  .manifesto__text .manifesto__finale {
    grid-column: 1 / -1;
    margin-top: var(--s4);
    padding-top: var(--s4);
    border-top: 1px solid rgba(214, 165, 58, 0.4);
    text-align: center;
    font-size: clamp(2.2rem, 4.2vw, 3.8rem);
  }
}

/* ==========================================================
   GLANCE
   ========================================================== */
.glance__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid var(--line);
}
.glance__list li { display: grid; gap: 0.35rem; padding: var(--s4) var(--s3) var(--s4) 0; }
.glance__list li + li { padding-left: var(--s3); border-left: 1px solid var(--line); }
.glance__list b {
  font-family: var(--display);
  font-size: clamp(2.4rem, 4.4vw, 3.8rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--purple-300);
}
.glance__list span { color: var(--purple-300); font-size: 0.95rem; line-height: 1.4; max-width: 14rem; }

/* ==========================================================
   STACKED LAYOUT: label on top, heading, then the explanation under it
   ========================================================== */
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
.split__side .chapter { position: static; }
.head-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--s2);
  margin-bottom: var(--s4);
}
.head-row p, .head-row > p { max-width: 44rem; }
.head-row--light p { margin: 0; color: rgba(228, 217, 246, 0.75); }

/* WHO */
.who__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--s4); margin-top: var(--s4); }
.who__thesis {
  margin-top: var(--s3);
  padding-top: var(--s2);
  border-top: 1px solid var(--line);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.2;
  color: var(--purple-300);
}
.pull {
  position: relative;
  margin: var(--s3) 0;
  padding-left: var(--s3);
  border-left: 2px solid var(--gold-500);
  font-family: var(--display);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 400;
  line-height: 1.3;
}
.who__movement { font-weight: 600; font-size: 1.15rem; }

.stand { margin-top: var(--s5); }
.stand__title { margin-bottom: var(--s2); font-size: 0.78rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--purple-300); }
.stand__list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(240, 207, 127, 0.55); }
.stand__list li {
  padding: var(--s3) var(--s2) var(--s3) 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.4vw, 2.2rem);
  font-weight: 400;
  line-height: 1.1;
}
.stand__list li + li { padding-left: var(--s2); border-left: 1px solid var(--line); }
.stand__list span { display: block; margin-bottom: var(--s1); font-size: 0.95rem; font-style: italic; color: var(--gold-500); }

/* PILLARS: an index, like a table of contents */
.index { border-top: 1px solid rgba(240, 207, 127, 0.55); }
.index__row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr) minmax(0, 1.2fr);
  gap: var(--s3);
  align-items: baseline;
  padding: var(--s3) var(--s1);
  border-bottom: 1px solid var(--line);
  transition: background-color var(--t) var(--ease);
}
.index__row:hover { background: linear-gradient(90deg, rgba(30, 11, 58, 0.55), transparent); }
.index__num { font-family: var(--display); font-style: italic; color: var(--gold-500); }
.index__name { font-family: var(--display); font-size: clamp(1.7rem, 2.6vw, 2.3rem); font-weight: 400; line-height: 1.05; letter-spacing: -0.01em; transition: transform var(--t) var(--ease); }
.index__row:hover .index__name { transform: translateX(6px); }
.index__desc { margin: 0; color: var(--purple-200); }
.index__verse blockquote { margin: 0 0 0.25rem; font-family: var(--display); font-style: italic; font-size: 1.05rem; line-height: 1.35; color: var(--purple-300); }
.index__verse figcaption { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em; color: var(--purple-300); }

/* ==========================================================
   ECOSYSTEM (royal band)
   ========================================================== */
.eco { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 1px; background: var(--line-light); border: 1px solid var(--line-light); }
.eco__card {
  display: flex;
  flex-direction: column;
  gap: var(--s1);
  padding: var(--s3);
  background: var(--purple-900);
  transition: background-color var(--t) var(--ease), transform var(--t) var(--ease);
}
.eco__card:hover { background: var(--purple-700); transform: translateY(-4px); }
.eco__icon {
  display: grid; place-items: center;
  width: 2.75rem; height: 2.75rem;
  margin-bottom: var(--s1);
  border: 1px solid rgba(240, 207, 127, 0.5);
  border-radius: 50%;
  color: var(--gold-300);
}
.eco__icon svg { width: 1.3rem; height: 1.3rem; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.eco__card h3 { font-family: var(--display); font-size: clamp(1.5rem, 2vw, 1.85rem); font-weight: 400; line-height: 1.05; }
.eco__card p { margin: 0; font-size: 0.97rem; color: rgba(228, 217, 246, 0.75); }

.reach {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: var(--s4);
  align-items: center;
  margin-top: var(--s5);
}
.reach__path { --n: 1.6rem; position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.reach__path::before {
  content: "";
  position: absolute;
  top: calc(var(--n) / 2 - 0.5px);
  left: 0.35rem;
  width: calc(75% + 0.45rem);
  height: 1px;
  background: var(--gold-300);
  transform-origin: left;
}
.anim .reach__path::before { transform: scaleX(0); transition: transform 1.4s var(--ease) 0.2s; }
.anim .reach.in .reach__path::before { transform: scaleX(1); }
.reach__path li { display: grid; gap: var(--s2); }
.reach__path i { display: grid; align-items: center; height: var(--n); }
.reach__path i::before {
  content: "";
  width: var(--size); height: var(--size);
  border-radius: 50%;
  background: var(--purple-900);
  border: 1.5px solid var(--gold-300);
}
.reach__path li:nth-child(1) { --size: 0.7rem; }
.reach__path li:nth-child(2) { --size: 0.95rem; }
.reach__path li:nth-child(3) { --size: 1.25rem; }
.reach__path li:nth-child(4) { --size: var(--n); }
.reach__path li:last-child i::before { background: var(--gold-300); }
.reach__path span { font-family: var(--display); font-size: clamp(1.2rem, 1.9vw, 1.6rem); font-weight: 400; line-height: 1.1; }
.reach__text { margin: 0; color: rgba(228, 217, 246, 0.75); }
.reach__text strong { display: block; margin-top: var(--s1); font-family: var(--display); font-weight: 400; font-style: italic; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.15; color: var(--gold-300); }

/* ==========================================================
   SUMMIT (ink band)
   ========================================================== */
.summit__title {
  font-family: var(--display);
  font-size: clamp(2.2rem, 10.5vw, 7.6rem);   /* small enough on phones for "Kingdompreneurs" to fit */
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.summit__title em { display: block; }
.summit__flag { margin: var(--s2) 0 0; color: rgba(228, 217, 246, 0.7); }

.summit__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  margin-top: var(--s5);
}
.summit__story > p:not(.big-number) { max-width: 38rem; color: rgba(228, 217, 246, 0.85); }
.summit__story .lead { color: var(--purple-200); }

.collage { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: var(--s2); margin-bottom: var(--s4); }
.collage figure { overflow: hidden; border-radius: var(--r); }
.collage img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; transition: transform 0.6s var(--ease); }
.collage figure:hover img { transform: scale(1.03); }
.collage__a { aspect-ratio: 4 / 5; }
.collage__b { aspect-ratio: 4 / 5; margin-top: var(--s5); }

.big-number {
  margin: 0 0 var(--s4);
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  font-weight: 400;
  line-height: 1.15;
}
.big-number span {
  display: block;
  font-size: clamp(5rem, 13vw, 11rem);
  line-height: 0.85;
  letter-spacing: -0.04em;
  color: var(--gold-300);
  font-variant-numeric: tabular-nums;
}
.big-number em { color: var(--gold-300); }
.summit__not { font-family: var(--display); font-style: italic; font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.1rem); line-height: 1.15; color: var(--gold-300) !important; }

/* the ticket */
.ticket {
  position: sticky;
  top: 6rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--black-raised);
  color: var(--purple-200);
  border-radius: var(--r);
  box-shadow: 0 40px 80px -30px rgba(7, 4, 12, 0.7);
}
.ticket::before {
  content: "";
  position: absolute; inset: 0.5rem;
  border: 1px solid rgba(156, 116, 32, 0.4);
  border-radius: 2px;
  pointer-events: none;
}
.ticket__label { margin-bottom: var(--s2); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500); }
.ticket h3 { font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2.2rem); font-weight: 400; line-height: 1.05; margin-bottom: var(--s2); }
.ticket h3 em { color: var(--purple-300); font-weight: 400; }
.ticket__line { font-weight: 600; color: var(--purple-300); }
.ticket > p { font-size: 0.98rem; color: var(--purple-200); }

.countdown__cells { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s1); }
.countdown__cells div { padding: 0.8rem 0.3rem 0.65rem; text-align: center; background: linear-gradient(180deg, var(--purple-700), var(--purple-900)); color: var(--purple-200); border: 1px solid rgba(240, 207, 127, 0.35); border-radius: var(--r); }
.countdown b { display: block; font-family: var(--display); font-weight: 400; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1; color: var(--gold-300); font-variant-numeric: tabular-nums; }
.countdown__cells span { display: block; margin-top: 0.35rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(228, 217, 246, 0.75); }
@media (max-width: 380px) { .countdown__cells span { font-size: 0.58rem; letter-spacing: 0.04em; } }   /* "MINUTES" fits its cell on small phones */
.countdown__caption { margin: var(--s1) 0 0; font-size: 0.85rem; color: var(--purple-300); }
#countdownTz { display: block; }
.countdown__today { margin: 0; padding: var(--s2); text-align: center; background: var(--purple-900); color: var(--gold-300); border-radius: var(--r); font-family: var(--display); font-size: 1.8rem; }

.ticket__tear { position: relative; height: 1px; margin: var(--s3) -2.25rem; border-top: 2px dashed rgba(240, 207, 127, 0.3); }
.ticket__tear::before, .ticket__tear::after {
  content: "";
  position: absolute; top: -0.85rem;
  width: 1.6rem; height: 1.6rem;
  border-radius: 50%;
  background: var(--black);
}
.ticket__tear::before { left: -0.8rem; }
.ticket__tear::after { right: -0.8rem; }

.ticket__facts { margin: 0 0 var(--s3); }
.ticket__facts div { display: flex; justify-content: space-between; gap: var(--s2); padding: 0.6rem 0; border-bottom: 1px solid var(--line); }
.ticket__facts dt { color: var(--purple-300); }
.ticket__facts dd { margin: 0; font-weight: 600; text-align: right; }
.ticket__buttons { display: grid; gap: 0.6rem; }

/* ==========================================================
   GLOBAL
   ========================================================== */
#global .steps { margin-top: var(--s4); }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s2); }
.steps li {
  padding: var(--s3);
  background: var(--black-raised);
  border: 1px solid var(--line);
  border-radius: var(--r);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease), border-color var(--t) var(--ease);
}
.steps li:hover { transform: translateY(-4px); border-color: rgba(156, 116, 32, 0.5); box-shadow: 0 20px 40px -24px rgba(30, 11, 58, 0.35); }
.steps__num { display: block; margin-bottom: var(--s2); font-family: var(--display); font-style: italic; font-size: 1.4rem; color: var(--gold-500); }
.steps h3 { margin-bottom: var(--s1); font-family: var(--display); font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 400; line-height: 1.1; }
.steps p { margin: 0; color: var(--purple-300); }
.tz-note { margin: var(--s3) 0 0; font-size: 0.92rem; color: var(--purple-300); }
.tz-note span { color: var(--purple-200); }

/* ==========================================================
   PIONEER
   ========================================================== */
.pioneer__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.pioneer__photo { position: sticky; top: 7rem; }
.pioneer__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 8%; border-radius: var(--r); }
.pioneer__photo figcaption { display: grid; gap: 0.1rem; margin-top: var(--s2); padding-top: var(--s2); border-top: 1px solid rgba(240, 207, 127, 0.55); }
.pioneer__photo strong { font-family: var(--display); font-size: 1.5rem; font-weight: 400; }
.pioneer__photo span { font-size: 0.9rem; color: var(--gold-500); font-weight: 600; }
.roles { display: flex; flex-wrap: wrap; gap: var(--s1); margin: var(--s3) 0; }
.roles li { padding: 0.4rem 1rem; border: 1px solid rgba(240, 207, 127, 0.5); border-radius: 999px; font-size: 0.9rem; font-weight: 500; }
.pioneer__text { max-width: 40rem; color: var(--purple-200); }
.pull--big { font-size: clamp(1.6rem, 2.6vw, 2.3rem); font-style: italic; color: var(--purple-300); margin-block: var(--s4); }

/* ==========================================================
   FAQ (native details)
   ========================================================== */
.faq { border-top: 1px solid rgba(240, 207, 127, 0.55); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s2);
  padding: var(--s3) 0;
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.7rem);
  font-weight: 400;
  line-height: 1.2;
  cursor: pointer;
  list-style: none;
  transition: color var(--t) var(--ease);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  flex: none;
  display: grid; place-items: center;
  width: 2rem; height: 2rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: var(--text);
  font-size: 1.1rem;
  transition: transform var(--t) var(--ease), background-color var(--t) var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); background: var(--gold-300); border-color: var(--gold-300); }
.faq summary:hover { color: var(--purple-300); }
.faq details p { max-width: 42rem; margin: 0; padding: 0 0 var(--s3); color: var(--purple-200); }

/* ==========================================================
   REGISTER (royal band) + FORM
   ========================================================== */
.register__grid { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.register__copy { position: sticky; top: 7rem; }
.register__copy p { max-width: 32rem; color: rgba(228, 217, 246, 0.85); }
.register__copy .lead { color: var(--purple-200); }
.register__title {
  margin-bottom: var(--s3);
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.4rem);
  font-weight: 400;
  line-height: 0.92;
  letter-spacing: -0.035em;
}
.register__ask {
  margin-top: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--line-light);
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(1.5rem, 2.3vw, 2.1rem);
  line-height: 1.2;
  color: var(--gold-300) !important;
}

/* volunteer call-out under the register copy */
.volunteer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s2);
  margin-top: var(--s3);
  padding: var(--s2) var(--s3);
  border: 1px solid var(--line);
  border-radius: var(--r);
}
.volunteer p { margin: 0; flex: 1 1 14rem; color: var(--purple-200); }
.footer__actions { display: flex; flex-wrap: wrap; gap: var(--s2); }

.form {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: var(--black-raised);
  color: var(--purple-200);
  border-radius: var(--r);
  box-shadow: 0 40px 80px -30px rgba(7, 4, 12, 0.55);
}
.form__title { margin-bottom: var(--s3); font-family: var(--display); font-size: clamp(1.6rem, 2.3vw, 2rem); font-weight: 400; line-height: 1.1; }
.form__notice {
  display: flex; align-items: center; gap: var(--s1);
  margin: 0 0 var(--s3);
  padding: 0.55rem 0.9rem;
  border: 1px solid rgba(156, 116, 32, 0.45);
  border-radius: var(--r);
  background: rgba(240, 207, 127, 0.22);
  font-size: 0.9rem;
  font-weight: 500;
}
.form__notice::before {
  content: "i"; flex: none;
  display: grid; place-items: center;
  width: 1.15rem; height: 1.15rem;
  border: 1px solid currentColor; border-radius: 50%;
  font: italic 600 0.75rem/1 Georgia, serif;
}
.form__notice[hidden] { display: none; }

.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 var(--s2); }
.field { margin: 0 0 var(--s2); padding: 0; border: 0; min-width: 0; }
.field__control { position: relative; }
.field__control input,
.field__control select,
.field__control textarea {
  width: 100%;
  min-height: 3.25rem;
  padding: 1.35rem 1rem 0.45rem;
  border: 1px solid rgba(228, 217, 246, 0.18);
  border-radius: var(--r);
  background-color: var(--black-raised);
  color: var(--purple-200);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.field__control textarea { display: block; min-height: 6.5rem; resize: vertical; padding-top: 1.6rem; }
.field__control select {
  appearance: none; -webkit-appearance: none;
  padding-right: 2.2rem;
  cursor: pointer;
  text-overflow: ellipsis;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'><path d='M4 6l4 4 4-4' fill='none' stroke='%23f0cf7f' stroke-width='1.5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.8rem center;
  background-size: 0.9rem;
}
.field__control label {
  position: absolute; left: 1rem; top: 0.95rem;
  max-width: calc(100% - 2rem);
  overflow: hidden; white-space: nowrap; text-overflow: ellipsis;
  color: var(--purple-300);
  pointer-events: none;
  transform-origin: left top;
  transition: transform var(--t) var(--ease), color var(--t) var(--ease);
}
.field__control input:focus + label,
.field__control input:not(:placeholder-shown) + label,
.field__control textarea:focus + label,
.field__control textarea:not(:placeholder-shown) + label,
.field__control select + label { transform: translateY(-0.6rem) scale(0.76); }
.field__control select + label { max-width: calc((100% - 3rem) / 0.76); }
.field__control :focus + label { color: var(--gold-500); }
.field__control input:hover, .field__control select:hover, .field__control textarea:hover { border-color: rgba(240, 207, 127, 0.45); }
.field__control select option { background: var(--black-raised); color: var(--purple-200); }
.field__control input:focus, .field__control select:focus, .field__control textarea:focus {
  outline: none;
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(214, 165, 58, 0.3);
}
.field__control [aria-invalid="true"] { border-color: var(--gold-100); }
.phone { display: grid; grid-template-columns: minmax(0, 13rem) minmax(0, 1fr); gap: var(--s1); }

.field__msg { margin: 0; font-size: 0.86rem; line-height: 1.4; }
.field__msg:not(:empty) { margin-top: 0.4rem; }
.field__msg.is-error { display: flex; gap: 0.4rem; align-items: flex-start; color: var(--gold-100); }
.field__msg.is-error::before {
  content: "!"; flex: none;
  display: grid; place-items: center;
  width: 1.05rem; height: 1.05rem; margin-top: 0.05rem;
  border-radius: 50%;
  background: var(--gold-100); color: var(--black);
  font-size: 0.72rem; font-weight: 600;
}

.pills legend { padding: 0; margin-bottom: 0.6rem; font-size: 0.95rem; font-weight: 600; }
.pills__list { display: flex; flex-wrap: wrap; gap: var(--s1); }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; margin: 0; cursor: pointer; }
.pill span {
  display: inline-flex; align-items: center; gap: 0.35rem;
  min-height: 2.75rem;
  padding: 0.55rem 1.05rem;
  border: 1px solid rgba(228, 217, 246, 0.22);
  border-radius: 999px;
  background: rgba(228, 217, 246, 0.03);
  font-size: 0.95rem;
  transition: border-color var(--t) var(--ease), background-color var(--t) var(--ease), color var(--t) var(--ease);
}
.pill svg { display: none; width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pill:hover span { border-color: var(--gold-300); }
.pill input:checked + span { background: var(--gold-foil); border-color: var(--gold-300); color: var(--black); font-weight: 600; }
.pill input:checked + span svg { display: block; color: var(--black); }
.pill input:focus-visible + span { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.pills[aria-invalid="true"] .pill span { border-color: var(--gold-100); }

.check { position: relative; display: flex; gap: 0.75rem; align-items: flex-start; cursor: pointer; font-size: 0.93rem; line-height: 1.5; color: var(--purple-200); }
.check input { position: absolute; left: 0; top: 0; opacity: 0; width: 1.4rem; height: 1.4rem; margin: 0; }
.check__box {
  flex: none; display: grid; place-items: center;
  width: 1.4rem; height: 1.4rem; margin-top: 0.05rem;
  border: 1px solid rgba(228, 217, 246, 0.4);
  border-radius: 0.3rem;
  background: var(--black-raised);
  transition: background-color var(--t) var(--ease), border-color var(--t) var(--ease);
}
.check__box svg { width: 0.95rem; height: 0.95rem; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; }
.check input:checked + .check__box { background: var(--gold-300); border-color: var(--gold-300); }
.check input:checked + .check__box svg { opacity: 1; }
.check input:focus-visible + .check__box { outline: 2px solid var(--gold-500); outline-offset: 2px; }
.check input[aria-invalid="true"] + .check__box { border-color: var(--gold-100); }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form__submit { margin-top: var(--s1); min-height: 3.4rem; }
.form__submit:disabled { cursor: progress; opacity: 0.75; transform: none; }
.form__spinner { display: none; width: 1.1rem; height: 1.1rem; border: 2px solid rgba(7, 4, 12, 0.3); border-top-color: var(--black); border-radius: 50%; }
.form__submit.is-loading .form__spinner { display: block; animation: spin 0.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__status { margin: 0.75rem 0 0; font-size: 0.92rem; font-weight: 600; }
.form__status:empty { margin: 0; }
.form__status.is-error { color: var(--gold-100); }

.form--done { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
/* thank-you panel inside the form card (shown after a successful registration) */
.form__success { display: flex; flex-direction: column; align-items: flex-start; gap: var(--s2); }
.form__success[hidden] { display: none; }
.form__success:focus { outline: none; }
.form__success .form__title { margin: 0; font-size: clamp(2.2rem, 3.4vw, 3rem); }
.form__success p { margin: 0; color: var(--purple-300); max-width: 26rem; }
.form.is-sent > :not(.form__success) { display: none; }
.form__submit.is-closed { cursor: not-allowed; }
.form--done:focus { outline: none; }
.form__done-icon { display: grid; place-items: center; width: 3.5rem; height: 3.5rem; border-radius: 50%; background: var(--gold-foil); }
.form__done-icon svg { width: 1.6rem; height: 1.6rem; fill: none; stroke: var(--black); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.form--done .form__title { margin: 0; font-size: clamp(2.2rem, 3.4vw, 3rem); }
.form--done p { margin: 0; color: var(--purple-300); }

/* ==========================================================
   FOOTER
   ========================================================== */
.footer { background: var(--black); color: var(--purple-200); border-top: 1px solid var(--line); }
.footer__cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: var(--s3);
  padding-block: var(--s5) var(--s4);
  border-bottom: 1px solid var(--line-light);
}
.footer__big { margin: 0; font-family: var(--display); font-size: clamp(2.2rem, 5vw, 4.4rem); font-weight: 400; line-height: 1; letter-spacing: -0.03em; }
.footer__big em { color: var(--gold-300); }

.footer__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.4fr); gap: var(--s4); padding-block: var(--s4); }
.footer__brand img { margin-bottom: var(--s2); }
.footer__name { margin: 0; font-family: var(--display); font-size: 1.5rem; line-height: 1.1; }
.footer__name em { color: var(--gold-300); }
.footer__tag { margin: 0.3rem 0 0; color: var(--gold-300); }
.footer__desc { margin: var(--s1) 0 0; max-width: 19rem; font-size: 0.9rem; color: rgba(228, 217, 246, 0.65); }

.sitemap { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--s3); }
.sitemap__title {
  margin-bottom: var(--s2);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--line-light);
  font-family: var(--text);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-300);
}
.sitemap li { line-height: 2.1; }
.sitemap a { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--purple-200); text-decoration: none; transition: color var(--t) var(--ease); }
.sitemap a::before { content: ""; flex: none; width: 0.6rem; height: 1px; background: var(--gold-300); transform-origin: left; transition: transform var(--t) var(--ease); }
.sitemap a:hover { color: var(--gold-300); }
.sitemap a:hover::before { transform: scaleX(1.9); }
.sitemap__soon { font-size: 0.95rem; color: rgba(228, 217, 246, 0.6); }

.footer__base {
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: var(--s1) var(--s3);
  padding-block: var(--s3);
  border-top: 1px solid var(--line-light);
  font-size: 0.88rem;
  color: rgba(228, 217, 246, 0.65);
}
.footer__base p { margin: 0; }
.back-top { color: var(--purple-200); text-decoration: none; }
.back-top:hover { color: var(--gold-300); }

.sticky-cta { display: none; }

/* ==========================================================
   LUXE LAYER: Purple, Gold, Black
   Gold-foil lettering, royal glows, ornaments, grain.
   Everything here is static: no looping motion.
   ========================================================== */

/* ambient light: royal purple from the top right, a whisper of gold bottom left */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 45% at 85% 0%, rgba(63, 20, 112, 0.45), transparent 70%),
    radial-gradient(45% 40% at 0% 100%, rgba(214, 165, 58, 0.08), transparent 70%),
    var(--black);
}
body { background: transparent; }
html { background: var(--black); }

/* gold-foil lettering */
.h2 em,
.summit__title em,
.register__title em,
.footer__big em,
.brand__name em,
.footer__name em,
.manifesto__finale em,
.hero__title .line--accent > span,
.glance__list b,
.big-number span,
.dropcap,
.facts-bar em {
  background: var(--gold-foil);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  padding-right: 0.06em;
}
.hero__title .line--accent > span { padding-right: 0.12em; }

/* chapter labels get a small gold diamond */
.chapter::before {
  content: "";
  order: -1;
  width: 6px; height: 6px;
  background: var(--gold-300);
  transform: rotate(45deg);
  box-shadow: 0 0 10px rgba(240, 207, 127, 0.6);
}

/* ornamental divider at the top of each plain section */
.section:not(.band)::before {
  content: "";
  position: absolute;
  top: 0; left: 50%;
  width: min(70%, 52rem);
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(240, 207, 127, 0.45), transparent);
}
.section:not(.band)::after {
  content: "";
  position: absolute;
  top: -4px; left: 50%;
  width: 8px; height: 8px;
  transform: translateX(-50%) rotate(45deg);
  background: var(--gold-300);
  box-shadow: 0 0 14px rgba(240, 207, 127, 0.7);
}
.section--tint { background: radial-gradient(70% 60% at 100% 0%, rgba(63, 20, 112, 0.35), transparent 70%), var(--purple-900); }

/* hero: royal glow behind the portrait, inner gold ring on the arch */
.hero {
  position: relative;
  overflow-x: clip;
  /* royal purple hero: purple-900 base with purple-700 and purple-500 light */
  background:
    linear-gradient(180deg, var(--purple-900) 0%, rgba(30, 11, 58, 0) 22%),
    radial-gradient(55% 70% at 80% 35%, rgba(107, 47, 179, 0.5), transparent 70%),
    radial-gradient(60% 60% at 0% 100%, rgba(63, 20, 112, 0.8), transparent 70%),
    var(--purple-900);
}
.hero .facts-bar { margin-bottom: 0; }
@media (max-width: 900px) {
  .hero__visual::after { display: none; }   /* the side glow made a hard edge on phones */
  .hero {
    background:
      radial-gradient(90% 40% at 50% 75%, rgba(107, 47, 179, 0.45), transparent 70%),
      var(--purple-900);
  }
}
.hero { padding-bottom: var(--s4); }
.hero__visual::after {
  content: "";
  position: absolute;
  inset: -12% -18% 0 -18%;
  z-index: -1;
  background: radial-gradient(50% 50% at 50% 45%, rgba(107, 47, 179, 0.45), transparent 70%);
  pointer-events: none;
}
.arch {
  position: relative;
  box-shadow: 0 40px 90px -30px rgba(7, 4, 12, 0.9), 0 0 60px -10px rgba(107, 47, 179, 0.5);
}
.arch::after {
  content: "";
  position: absolute;
  inset: 0.6rem;
  border: 1px solid rgba(240, 207, 127, 0.55);
  border-radius: 999px 999px 2px 2px;
  pointer-events: none;
}
.hero__visual::before { border-color: rgba(240, 207, 127, 0.7); }
.kicker { color: var(--gold-300); }

/* glance numbers sit on a royal glass panel */
.glance__list {
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: linear-gradient(145deg, rgba(30, 11, 58, 0.5), rgba(30, 11, 58, 0.3));
  padding-inline: var(--s3);
}

/* who + pioneer quotes */
.pull { border-left-color: var(--gold-300); }
.who__thesis, .pull--big { color: var(--purple-300); }
.stand__list li { transition: color var(--t) var(--ease); }
.stand__list li:hover { color: var(--gold-300); }

/* pillars index */
.index__num {
  display: grid;
  place-items: center;
  width: 2.4rem; height: 2.4rem;
  border: 1px solid rgba(240, 207, 127, 0.45);
  border-radius: 50%;
  font-size: 0.95rem;
  color: var(--gold-300);
  align-self: start;
}
.index__row:hover .index__name { color: var(--gold-300); }
.index__name { transition: transform var(--t) var(--ease), color var(--t) var(--ease); }

/* ecosystem tiles: gold-foil icon discs */
.eco { border-radius: var(--r); overflow: hidden; }
.eco__icon { border: 0; background: var(--gold-foil); color: var(--black); box-shadow: 0 6px 20px rgba(214, 165, 58, 0.25); }

/* summit: the ticket gets a gold-foil edge and a royal glow */
.summit { background: radial-gradient(60% 50% at 90% 30%, rgba(63, 20, 112, 0.5), transparent 70%), var(--black); }
.ticket {
  background: linear-gradient(170deg, var(--purple-900), var(--black-raised) 60%);
  border: 1px solid rgba(240, 207, 127, 0.35);
  box-shadow: 0 40px 90px -30px rgba(7, 4, 12, 0.9), 0 0 50px -10px rgba(107, 47, 179, 0.45);
}
.ticket::before { border-color: rgba(240, 207, 127, 0.25); }
.ticket::after,
.form::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold-foil);
  border-radius: var(--r) var(--r) 0 0;
}
.ticket__label { color: var(--gold-300); }
.ticket__line { color: var(--gold-300); }
.ticket > p { color: var(--purple-200); }
.collage figure { border: 1px solid var(--line); box-shadow: 0 30px 60px -20px rgba(7, 4, 12, 0.8); }

/* global steps */
.steps li { background: linear-gradient(160deg, rgba(30, 11, 58, 0.45), var(--black-raised)); border-color: var(--line); }
.steps li:hover { border-color: rgba(240, 207, 127, 0.55); box-shadow: 0 20px 50px -24px rgba(7, 4, 12, 0.8), 0 0 30px -8px rgba(214, 165, 58, 0.2); }
.steps__num { color: var(--gold-300); }

/* pioneer */
.pioneer__photo img { box-shadow: 0 40px 80px -30px rgba(7, 4, 12, 0.9), 0 0 0 1px var(--line); }
.pioneer__photo span { color: var(--gold-300); }
.roles li { background: rgba(30, 11, 58, 0.4); }

/* FAQ */
.faq details[open] summary { color: var(--gold-300); }
.faq details[open] summary::after { color: var(--black); }

/* form card */
.form {
  position: relative;
  background: linear-gradient(170deg, var(--purple-900), var(--black-raised) 55%);
  border: 1px solid rgba(240, 207, 127, 0.3);
  box-shadow: 0 40px 90px -30px rgba(7, 4, 12, 0.9), 0 0 60px -12px rgba(107, 47, 179, 0.5);
}
.form__notice { color: var(--gold-100); }
.pills legend { color: var(--purple-200); }

/* footer */
.footer__cta { position: relative; }
.footer { background: radial-gradient(60% 80% at 50% 0%, rgba(63, 20, 112, 0.35), transparent 70%), var(--black); }

/* ==========================================================
   PALETTE ROLES: purple, gold and black only
   ========================================================== */
/* headings */
.h2, .hero__title, .summit__title, .register__title, .footer__big,
.index__name, .eco__card h3, .steps h3, .ticket h3, .form__title,
.faq summary, .stand__list li, .reach__path span, .manifesto__text p,
.big-number, .footer__name, .brand__name, .pioneer__photo strong { color: var(--gold-100); }
.stand__list li:hover, .index__row:hover .index__name, .faq summary:hover, .faq details[open] summary { color: var(--gold-300); }

/* buttons */
.btn--ink, .btn--gold { background: var(--gold-500); color: var(--black); }
.btn--ink:hover, .btn--gold:hover { background: var(--gold-300); }
.btn--ink:active, .btn--gold:active { background: var(--gold-700); }
.btn--line { border-color: var(--gold-500); color: var(--gold-100); }
.btn--line:hover { background: var(--purple-700); border-color: var(--gold-300); }

/* links */
.strip a, .back-top, .hero__visual figcaption strong { color: var(--gold-300); }
.strip a:hover, .back-top:hover { text-decoration: underline; text-underline-offset: 3px; }
.sitemap a { color: var(--purple-300); }
.sitemap a:hover { color: var(--gold-300); text-decoration: underline; text-underline-offset: 3px; }

/* header: transparent over the hero, black 90% with blur after scroll, gold rule */
.header { background: var(--purple-900); -webkit-backdrop-filter: none; backdrop-filter: none; }  /* blends into the purple hero */
.header.is-scrolled {
  background: rgba(7, 4, 12, 0.9);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom-color: rgba(214, 165, 58, 0.4);
}
.strip { background: var(--purple-900); }

/* cards */
.eco__card, .steps li, .ticket, .form, .glance__list {
  background: var(--black-raised);
  border: 1px solid rgba(214, 165, 58, 0.3);
}
.eco { background: transparent; border: 0; gap: var(--s2); overflow: visible; }   /* separate tiles so each can lift */
.eco__card { border: 1px solid rgba(214, 165, 58, 0.3); border-radius: var(--r); }
.eco__card:hover { background-color: var(--purple-900); }
.steps li:hover, .ticket:hover, .form:hover { border-color: var(--gold-300); }
.eco__icon { background: var(--gold-500); color: var(--black); }
.index__num, .steps__num, .chapter span, .stand__list span { color: var(--gold-500); }

/* summit now sits on purple-900 */
.summit { background: radial-gradient(60% 50% at 90% 30%, rgba(63, 20, 112, 0.6), transparent 70%), var(--purple-900); }
.ticket__tear::before, .ticket__tear::after { background: var(--purple-900); }
.countdown b { color: var(--gold-100); }
.countdown__cells div { background: var(--purple-900); border-color: rgba(214, 165, 58, 0.35); }

/* form */
.field__control input, .field__control select, .field__control textarea {
  background-color: var(--black-raised);
  color: var(--purple-200);
  border-color: var(--purple-300);   /* light purple: 8.8:1 on black-raised */
}
.field__control label { color: var(--purple-300); }
.field__control input:focus, .field__control select:focus, .field__control textarea:focus {
  border-color: var(--gold-300);
  box-shadow: 0 0 0 2px var(--gold-300);
}
.pill span { border-color: var(--purple-300); color: var(--purple-200); background: var(--black-raised); }
.pill input:checked + span { background: var(--gold-500); border-color: var(--gold-500); color: var(--black); }
.check__box { border-color: var(--purple-300); background: var(--black-raised); }
.check input:checked + .check__box { background: var(--gold-500); border-color: var(--gold-500); }
.form__notice { color: var(--gold-100); border-color: rgba(214, 165, 58, 0.4); background: rgba(214, 165, 58, 0.1); }

/* errors: no red. Gold-100 message, warning triangle, gold-300 border */
.field__msg.is-error { color: var(--gold-100); }
.field__msg.is-error::before {
  content: "!";
  width: 1.15rem; height: 1.05rem;
  border-radius: 0;
  background: var(--gold-300);
  color: var(--black);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  padding-top: 0.2rem;
  font-size: 0.66rem;
}
.field__control [aria-invalid="true"],
.check input[aria-invalid="true"] + .check__box,
.pills[aria-invalid="true"] .pill span { border-color: var(--gold-300); border-style: dashed; }
.form__status.is-error { color: var(--gold-100); }
.form__done-icon { background: var(--gold-500); }

/* footer */
.footer { background: var(--black); border-top: 1px solid rgba(214, 165, 58, 0.35); }
.footer__desc, .footer__base, .sitemap__soon { color: var(--purple-300); }

/* ==========================================================
   BOX MOTION: every card, tile and panel comes alive
   - pops in (rise + fade + slight scale) the first time it scrolls into view
   - on hover: lifts, gains a gold border and a soft gold glow, and a light sheen sweeps across
   ========================================================== */
.anim [data-reveal] { scale: 1; }
.anim :is(.eco__card, .steps li, .glance__list li, .stand__list li, .ticket, .form, .index__row, .faq)[data-reveal] { scale: 0.94; }
.anim :is(.eco__card, .steps li, .glance__list li, .stand__list li, .ticket, .form, .index__row, .faq)[data-reveal].in { scale: 1; }

/* one shared transition list, so the pop-in and the hover never fight */
:is(.eco__card, .steps li, .glance__list li, .stand__list li, .ticket, .form, .countdown__cells div, .roles li, .facts-bar div, .collage figure),
.anim :is(.eco__card, .steps li, .glance__list li, .stand__list li, .ticket, .form, .index__row, .faq)[data-reveal] {
  transition:
    opacity 0.8s var(--ease) var(--d, 0ms),
    translate 0.8s var(--ease) var(--d, 0ms),
    scale 0.8s var(--ease) var(--d, 0ms),
    transform 0.3s var(--ease),
    border-color 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background-color 0.3s var(--ease),
    background-position 0.8s var(--ease),
    color 0.3s var(--ease);
}

/* hover lift + gold glow */
.eco__card:hover,
.steps li:hover,
.glance__list li:hover,
.stand__list li:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(7, 4, 12, 0.9), 0 0 0 1px rgba(240, 207, 127, 0.55), 0 0 32px -6px rgba(214, 165, 58, 0.35);
}
.ticket:hover,
.form:hover {
  transform: translateY(-4px);
  box-shadow: 0 50px 90px -30px rgba(7, 4, 12, 0.95), 0 0 70px -10px rgba(107, 47, 179, 0.6), 0 0 0 1px rgba(240, 207, 127, 0.6);
}
.countdown__cells div:hover,
.roles li:hover {
  transform: translateY(-3px) scale(1.04);
  border-color: var(--gold-300);
  box-shadow: 0 0 24px -4px rgba(214, 165, 58, 0.45);
}
.roles li:hover { background: var(--purple-700); }
.facts-bar div:hover { background-color: rgba(107, 47, 179, 0.18); }
.collage figure:hover { transform: translateY(-6px) rotate(-0.6deg); box-shadow: 0 40px 70px -24px rgba(7, 4, 12, 0.95), 0 0 0 1px rgba(240, 207, 127, 0.6); }

/* light sheen that sweeps across a card on hover */
.eco__card,
.steps li,
.glance__list li {
  background-image: linear-gradient(110deg, transparent 35%, rgba(247, 230, 184, 0.1) 50%, transparent 65%);
  background-size: 250% 100%;
  background-position: 130% 0;
  background-repeat: no-repeat;
}
.eco__card:hover,
.steps li:hover,
.glance__list li:hover { background-position: -30% 0; }
.glance__list li { border-radius: var(--r); }

/* icons react: the gold disc turns and grows a little */
.eco__icon { transition: transform 0.5s var(--ease), box-shadow 0.3s var(--ease); }
.eco__card:hover .eco__icon { transform: rotate(360deg) scale(1.08); box-shadow: 0 8px 26px rgba(214, 165, 58, 0.45); }

/* pillar rows: a gold bar grows on the left edge */
.index__row { box-shadow: inset 0 0 0 transparent; }
.index__row:hover { box-shadow: inset 3px 0 0 var(--gold-500); }

/* FAQ rows tint on hover */
.faq details { transition: background-color 0.3s var(--ease); }
.faq details:hover { background-color: rgba(107, 47, 179, 0.12); }

/* countdown: the seconds digit gives a small gold beat each second */
.countdown b.tick { animation: tickBeat 0.45s var(--ease); }
@keyframes tickBeat { 0% { transform: translateY(-6px); opacity: 0.4; } 100% { transform: none; opacity: 1; } }

/* main call-to-action buttons catch the light every few seconds */
.hero .btn--ink::after,
.ticket .btn--gold::after,
.form__submit::after { animation: autoShine 6s var(--ease) 7.5s infinite; }
@keyframes autoShine {
  0%, 82% { transform: translateX(-130%) skewX(-20deg); }
  100% { transform: translateX(260%) skewX(-20deg); }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1100px) {
  .eco { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .index__row { grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
  .index__verse { grid-column: 2 / -1; }
}

@media (max-width: 900px) {
  .strip p { display: none; }
  .strip__inner { justify-content: center; }
  .menu-btn { display: inline-block; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: var(--s2);
    padding: var(--s3) var(--gutter) var(--s4);
    background: var(--black);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 20px 40px -20px rgba(7, 4, 12, 0.7);
    visibility: hidden;
    opacity: 0;
    transform: translateY(-0.5rem);
    transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility 0s linear var(--t);
  }
  .nav.is-open { visibility: visible; opacity: 1; transform: none; transition-delay: 0s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) { display: block; padding-block: 0.75rem; font-family: var(--display); font-size: 1.5rem; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }

  .hero__grid,
  .manifesto__inner,
  .split,
  .head-row,
  .who__cols,
  .reach,
  .summit__grid,
  .pioneer__grid,
  .register__grid,
  .footer__grid { grid-template-columns: minmax(0, 1fr); }

  .split { gap: 0; }
  .split__side .chapter,
  .ticket,
  .pioneer__photo,
  .register__copy { position: static; }

  .hero__visual { justify-self: center; width: min(86%, 24rem); margin-top: var(--s2); }
  .seal { left: -1.5rem; width: 7rem; height: 7rem; }
  .seal__date { font-size: 1.7rem; }
  .facts-bar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .facts-bar div:nth-child(3) { padding-left: 0; border-left: 0; }
  .facts-bar div:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .glance__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .glance__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .glance__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .stand__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stand__list li:nth-child(3) { padding-left: 0; border-left: 0; }
  .stand__list li:nth-child(n + 3) { border-top: 1px solid var(--line); }

  .eco { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: minmax(0, 1fr); }
  .pioneer__photo img { aspect-ratio: 4 / 4.2; }
  .sitemap { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .sticky-cta {
    position: fixed;
    left: 50%;
    bottom: calc(1rem + env(safe-area-inset-bottom, 0px));
    z-index: 180;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1.4rem;
    border-radius: 999px;
    background: var(--gold-foil);
    color: var(--black);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    box-shadow: 0 14px 40px rgba(7, 4, 12, 0.6);
    transform: translate(-50%, 160%);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.3s var(--ease), opacity 0.3s var(--ease), visibility 0s linear 0.3s;
  }
  .sticky-cta small { font-size: 0.8rem; opacity: 0.75; }
  .sticky-cta.is-visible { transform: translate(-50%, 0); opacity: 1; visibility: visible; transition-delay: 0s; }
  .footer__base { padding-bottom: 5.5rem; }
}

@media (max-width: 640px) {
  .hero__title .line--accent { padding-left: 0.3em; }
  .hero__title { font-size: clamp(3.6rem, 18vw, 6rem); }
  .eco { grid-template-columns: minmax(0, 1fr); }
  .index__row { grid-template-columns: minmax(0, 1fr); gap: var(--s1); }
  .index__desc, .index__verse { grid-column: auto; }
  .reach__path { grid-template-columns: minmax(0, 1fr); gap: var(--s2); }
  .reach__path::before {
    top: calc(var(--n) / 2); bottom: calc(var(--n) / 2);
    left: calc(var(--n) / 2 - 0.5px);
    width: 1px; height: auto;
    transform-origin: top;
  }
  .anim .reach__path::before { transform: scaleY(0); }
  .anim .reach.in .reach__path::before { transform: scaleY(1); }
  .reach__path li { grid-template-columns: var(--n) minmax(0, 1fr); align-items: center; }
  .reach__path i { justify-items: center; }
  .collage__b { margin-top: var(--s4); }
  .ticket__tear { margin-inline: -1.5rem; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .phone { grid-template-columns: minmax(0, 7.5rem) minmax(0, 1fr); }
  .brand__name { font-size: 1.1rem; max-width: 11rem; }
}

@media (max-width: 420px) {
  .sitemap { grid-template-columns: minmax(0, 1fr); }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }
  [data-reveal] { opacity: 1 !important; translate: none !important; }
  .seal svg, .btn::after, .countdown b.tick { animation: none !important; }
  [data-reveal] { scale: 1 !important; }
}
