@font-face {
  font-family: "Onest";
  src: url("/assets/Onest-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #0b1121;
  --navy-soft: #182238;
  --orange: #f36b16;
  --orange-dark: #d95108;
  --ivory: #f4efcf;
  --gold: #f9c62a;
  --white: #fff;
  --ink-muted: #667085;
  --ink-faint: #98a0ae;
  --line: rgba(11, 17, 33, 0.14);
  --danger: #b42318;
  --success: #157347;
  --radius-xl: clamp(1.5rem, 4vw, 3.5rem);
  --radius-lg: 1.75rem;
  --radius-md: 1rem;
  --shadow: 0 20px 65px rgba(11, 17, 33, 0.12);
  --page: min(1180px, calc(100vw - 2rem));
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--navy);
  background: var(--ivory);
  font-family: "Onest", system-ui, sans-serif;
  font-feature-settings: "ss01" 1, "ss03" 1;
  text-rendering: optimizeLegibility;
}

body.screen-mode { overflow: hidden; background: var(--navy); }
body.modal-open { overflow: hidden; }

button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; }
img, svg { display: block; max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 1000;
  top: .75rem;
  left: .75rem;
  transform: translateY(-160%);
  padding: .75rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: .75rem;
  transition: transform .2s ease;
}
.skip-link:focus { transform: translateY(0); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.shell { overflow: clip; }
.container { width: var(--page); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto;
  padding: 1.15rem 0;
  color: var(--ivory);
}

.site-header .container,
.admin-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  font-size: .88rem;
  font-weight: 820;
  letter-spacing: .02em;
  text-decoration: none;
}
.brand img { width: 2.45rem; height: 2.45rem; }

.nav-links { display: flex; align-items: center; gap: .35rem; }
.nav-link {
  padding: .72rem .88rem;
  color: inherit;
  border-radius: 999px;
  font-size: .86rem;
  font-weight: 650;
  text-decoration: none;
  opacity: .82;
  transition: opacity .2s ease, background .2s ease;
}
.nav-link:hover { opacity: 1; background: rgba(255,255,255,.09); }

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  min-height: 3.25rem;
  padding: .8rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 760;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
}
.button:hover { transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button-primary { color: var(--navy); background: var(--orange); }
.button-primary:hover { background: #ff7b25; }
.button-light { color: var(--navy); background: var(--ivory); }
.button-outline { color: inherit; border-color: currentColor; background: transparent; }
.button-outline:hover { color: var(--navy); background: var(--ivory); border-color: var(--ivory); }
.button-dark { color: var(--ivory); background: var(--navy); }
.button-danger { color: #fff; background: var(--danger); }
.button-small { min-height: 2.4rem; padding: .62rem .85rem; font-size: .82rem; }
.button[disabled] { opacity: .5; cursor: not-allowed; transform: none; }

.hero {
  --architecture-x: 0px;
  --architecture-y: 0px;
  --content-x: 0px;
  --content-y: 0px;
  --particles-x: 0px;
  --particles-y: 0px;
  --aura-x: 0px;
  --aura-y: 0px;
  position: relative;
  display: grid;
  min-height: max(760px, 100svh);
  place-items: center start;
  padding: clamp(8rem, 15vh, 10.5rem) 0 clamp(9rem, 17vh, 12rem);
  color: var(--ivory);
  background: var(--navy);
  isolation: isolate;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(11,17,33,.98) 0%, rgba(11,17,33,.87) 42%, rgba(11,17,33,.42) 72%, rgba(11,17,33,.7) 100%),
    linear-gradient(0deg, rgba(11,17,33,.92) 0%, transparent 40%),
    radial-gradient(circle at 78% 18%, rgba(243,107,22,.25), transparent 33rem);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  background-image: radial-gradient(rgba(244,239,207,.16) .65px, transparent .65px);
  background-size: 7px 7px;
  opacity: .1;
  mix-blend-mode: soft-light;
  pointer-events: none;
}
.hero-scene { position: absolute; z-index: 0; inset: 0; overflow: hidden; pointer-events: none; }
.hero-gridlines {
  position: absolute;
  inset: -12% -5% 0;
  background-image:
    linear-gradient(rgba(244,239,207,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(244,239,207,.055) 1px, transparent 1px);
  background-size: clamp(3.5rem, 7vw, 7rem) clamp(3.5rem, 7vw, 7rem);
  mask-image: linear-gradient(to bottom, transparent 2%, rgba(0,0,0,.7) 28%, transparent 92%);
  transform: perspective(750px) rotateX(58deg) translateY(23%);
  transform-origin: center bottom;
  opacity: .45;
}
.hero-aura {
  position: absolute;
  top: 3%;
  right: 1%;
  width: min(48rem, 63vw);
  aspect-ratio: 1;
  border: clamp(3rem, 8vw, 7rem) solid rgba(243,107,22,.09);
  border-radius: 50%;
  filter: blur(1px);
  transform: translate3d(var(--aura-x), var(--aura-y), 0);
  transition: transform .28s ease-out;
}
.hero-architecture {
  position: absolute;
  left: 50%;
  bottom: clamp(2.5rem, 5vh, 4.5rem);
  width: min(132rem, 118vw);
  color: var(--ivory);
  opacity: .43;
  transform: translateX(-50%) translate3d(var(--architecture-x), var(--architecture-y), 0) scale(1.035);
  transform-origin: center bottom;
  transition: transform .24s ease-out;
  will-change: transform;
}
.hero-architecture .building-art .outline { stroke-width: 4; }
.hero-architecture .building-art .details { stroke-width: 2; opacity: .4; }
.hero-architecture .building-art .foundation { filter: drop-shadow(0 0 22px rgba(243,107,22,.42)); }
.architecture-caption {
  position: absolute;
  right: 5%;
  bottom: 6%;
  color: rgba(244,239,207,.65);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .17em;
}
.hero-particles {
  position: absolute;
  inset: 0;
  transform: translate3d(var(--particles-x), var(--particles-y), 0);
  transition: transform .3s ease-out;
  will-change: transform;
}
.hero-particle {
  position: absolute;
  width: .35rem;
  height: .35rem;
  border: 1px solid rgba(244,239,207,.72);
  border-radius: 50%;
  opacity: .38;
  animation: hero-particle-float 7s ease-in-out infinite alternate;
}
.hero-particle::after { content: ""; position: absolute; inset: -5px; border: 1px solid rgba(243,107,22,.15); border-radius: inherit; }
.hero-particle-1 { left: 7%; top: 24%; animation-delay: -1s; }
.hero-particle-2 { left: 14%; top: 69%; animation-delay: -4s; transform: scale(.65); }
.hero-particle-3 { left: 27%; top: 16%; animation-delay: -2s; }
.hero-particle-4 { left: 35%; top: 78%; animation-delay: -5s; transform: scale(.55); }
.hero-particle-5 { left: 48%; top: 28%; animation-delay: -3s; }
.hero-particle-6 { left: 55%; top: 61%; animation-delay: -6s; transform: scale(.7); }
.hero-particle-7 { left: 64%; top: 12%; animation-delay: -2.5s; }
.hero-particle-8 { left: 72%; top: 47%; animation-delay: -5.5s; transform: scale(.6); }
.hero-particle-9 { left: 79%; top: 22%; animation-delay: -1.5s; }
.hero-particle-10 { left: 89%; top: 72%; animation-delay: -4.5s; }
.hero-particle-11 { left: 94%; top: 35%; animation-delay: -6.5s; transform: scale(.65); }
.hero-particle-12 { left: 20%; top: 42%; animation-delay: -3.5s; transform: scale(.55); }
.hero-particle-13 { left: 43%; top: 52%; animation-delay: -1.75s; }
.hero-particle-14 { left: 61%; top: 84%; animation-delay: -4.25s; transform: scale(.75); }
.hero-particle-15 { left: 83%; top: 88%; animation-delay: -2.75s; transform: scale(.5); }
.hero-particle-16 { left: 97%; top: 57%; animation-delay: -5.25s; }
@keyframes hero-particle-float { to { translate: 0 -1.25rem; opacity: .7; } }
.hero-grid {
  position: relative;
  z-index: 4;
}
.hero-content {
  width: min(52rem, 75vw);
  transform: translate3d(var(--content-x), var(--content-y), 0);
  transition: transform .24s ease-out;
  will-change: transform;
}
.hero-content > * { opacity: 0; }
.is-ready .hero-content > * { animation: hero-content-in .72s cubic-bezier(.2,.8,.2,1) both; }
.is-ready .hero-content > :nth-child(2) { animation-delay: .06s; }
.is-ready .hero-content > :nth-child(3) { animation-delay: .13s; }
.is-ready .hero-content > :nth-child(4) { animation-delay: .19s; }
.is-ready .hero-content > :nth-child(5) { animation-delay: .25s; }
.is-ready .hero-content > :nth-child(6) { animation-delay: .31s; }
.is-ready .hero-content > :nth-child(7) { animation-delay: .37s; }
@keyframes hero-content-in {
  from { opacity: 0; transform: translateY(1.15rem); filter: blur(5px); }
  to { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 1.2rem;
  color: inherit;
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 2rem; height: .38rem; border-radius: 1rem; background: var(--orange); }

.hero-title {
  margin: 0;
  font-size: clamp(5rem, 10.4vw, 10rem);
  font-weight: 880;
  letter-spacing: -.075em;
  line-height: .76;
}
.hero-title-line { display: block; white-space: nowrap; }
.hero-title em { color: var(--orange); font-style: normal; }
.hero-tagline {
  max-width: 22ch;
  margin: 1.7rem 0 0;
  font-size: clamp(1.55rem, 2.7vw, 2.8rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -.035em;
}
.hero-copy {
  max-width: 35rem;
  margin: 1.3rem 0 0;
  color: rgba(244,239,207,.76);
  font-size: clamp(.98rem, 1.5vw, 1.15rem);
  line-height: 1.65;
}
.hero-path { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; margin-top: 1.5rem; color: rgba(244,239,207,.64); font-size: .72rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.hero-path span { display: inline-flex; align-items: center; gap: .38rem; padding: .5rem .7rem; border: 1px solid rgba(244,239,207,.18); border-radius: 999px; background: rgba(11,17,33,.3); backdrop-filter: blur(8px); }
.hero-path b { color: var(--orange); font-size: .64rem; }
.hero-path i { color: var(--orange); font-style: normal; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.building-art { width: 100%; overflow: visible; }
.building-art .outline,
.building-art .details {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.building-art .outline { stroke-width: 5; stroke-dasharray: 1580; stroke-dashoffset: 1580; }
.building-art .details { stroke-width: 3; opacity: .38; stroke-dasharray: 850; stroke-dashoffset: 850; }
.building-art .foundation { fill: var(--orange); transform-origin: left; transform: scaleX(0); }
.is-ready .building-art .outline { animation: draw-line 1.8s .2s cubic-bezier(.2,.8,.2,1) forwards; }
.is-ready .building-art .details { animation: draw-line 1.4s .85s ease forwards; }
.is-ready .building-art .foundation { animation: grow-line .8s 1.35s ease forwards; }
@keyframes draw-line { to { stroke-dashoffset: 0; } }
@keyframes grow-line { to { transform: scaleX(1); } }

.hero-note {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-top: 1.1rem;
  color: rgba(244,239,207,.62);
  font-size: .84rem;
}
.hero-note strong { color: var(--ivory); }
.hero-ticker {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  padding: 1.05rem 0;
  color: rgba(244,239,207,.7);
  background: rgba(7,11,23,.72);
  border-block: 1px solid rgba(244,239,207,.12);
  backdrop-filter: blur(15px);
}
.hero-ticker-track { display: flex; width: max-content; align-items: center; gap: 2rem; font-size: .72rem; font-weight: 820; letter-spacing: .2em; animation: hero-ticker 28s linear infinite; }
.hero-ticker-track i { color: var(--orange); font-style: normal; }
@keyframes hero-ticker { to { transform: translateX(calc(-50% - 1rem)); } }

.section { padding: clamp(5rem, 10vw, 9rem) 0; }
.section-dark { color: var(--ivory); background: var(--navy); }
.section-orange { color: var(--navy); background: var(--orange); }
.section-white { background: var(--white); }
.section-heading {
  max-width: 15ch;
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.7rem);
  font-weight: 840;
  letter-spacing: -.055em;
  line-height: .94;
  text-wrap: balance;
}
.section-lead {
  max-width: 48rem;
  margin: 1.6rem 0 0;
  color: var(--ink-muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
}
.section-dark .section-lead { color: rgba(244,239,207,.7); }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2.5rem, 8vw, 8rem);
  align-items: start;
}
.statement {
  margin: 0;
  font-size: clamp(1.45rem, 3vw, 2.6rem);
  font-weight: 600;
  letter-spacing: -.035em;
  line-height: 1.22;
}
.statement strong { color: var(--orange); font-weight: 820; }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin-top: clamp(3rem, 7vw, 6rem);
  border-block: 1px solid var(--line);
}
.pillar { position: relative; min-height: 19rem; padding: 2rem 1.6rem 2.5rem; border-right: 1px solid var(--line); }
.pillar:last-child { border-right: 0; }
.pillar-number { color: var(--orange); font-size: .82rem; font-weight: 850; letter-spacing: .1em; }
.pillar h3 { margin: 5rem 0 .8rem; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; }
.pillar p { max-width: 22rem; margin: 0; color: var(--ink-muted); line-height: 1.55; }

.myth-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(20rem, .8fr);
  gap: clamp(3rem, 8vw, 9rem);
  align-items: center;
}
.myth-word {
  position: relative;
  font-size: clamp(6rem, 18vw, 16rem);
  font-weight: 900;
  letter-spacing: -.1em;
  line-height: .75;
}
.myth-word::after {
  content: "";
  position: absolute;
  left: 0;
  right: 5%;
  top: 53%;
  height: clamp(.55rem, 1.4vw, 1.25rem);
  background: var(--orange);
  transform: rotate(-5deg);
}

.event-panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(18rem, .9fr);
  gap: 2rem;
  padding: clamp(1.6rem, 4vw, 3.5rem);
  color: var(--ivory);
  background: var(--navy);
  border-radius: var(--radius-xl);
  overflow: hidden;
}
.event-panel::after {
  content: "";
  position: absolute;
  width: 19rem;
  height: 19rem;
  right: -7rem;
  bottom: -9rem;
  border: 3.3rem solid var(--orange);
  border-radius: 5.5rem;
  opacity: .9;
  transform: rotate(12deg);
}
.event-date { display: flex; align-items: baseline; gap: .7rem; }
.event-date strong { color: var(--orange); font-size: clamp(4rem, 10vw, 8rem); line-height: .8; letter-spacing: -.08em; }
.event-date span { font-size: 1.2rem; font-weight: 700; text-transform: uppercase; }
.event-copy { position: relative; z-index: 2; align-self: end; }
.event-copy h3 { margin: 0; font-size: clamp(2rem, 4.5vw, 4.3rem); line-height: .95; letter-spacing: -.05em; }
.event-meta { display: grid; gap: .55rem; margin: 1.25rem 0 1.8rem; color: rgba(244,239,207,.72); }

.location-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(3rem, 8vw, 8rem);
  align-items: center;
}
.location-art { color: var(--navy); }
.address { margin-top: 1.75rem; padding-top: 1.3rem; border-top: 1px solid var(--line); color: var(--ink-muted); }

.final-cta { text-align: center; }
.final-cta .section-heading { max-width: 12ch; margin-inline: auto; }
.final-cta .section-lead { margin-inline: auto; }
.final-cta .button { margin-top: 2rem; }

.site-footer { padding: 2rem 0; color: rgba(244,239,207,.58); background: var(--navy); border-top: 1px solid rgba(244,239,207,.11); }
.footer-grid { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.5rem; align-items: center; font-size: .82rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a:hover { color: var(--ivory); }

.reveal { opacity: 0; transform: translateY(2rem); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
.reveal.revealed { opacity: 1; transform: translateY(0); }

/* Forms */
.form-page { min-height: 100svh; padding: 1rem; background: var(--navy); }
.form-shell {
  display: grid;
  grid-template-columns: minmax(17rem, .82fr) minmax(0, 1.18fr);
  width: min(1120px, 100%);
  min-height: calc(100svh - 2rem);
  margin: 0 auto;
  border-radius: clamp(1.5rem, 4vw, 3rem);
  overflow: hidden;
  background: var(--white);
}
.form-aside { position: relative; display: flex; flex-direction: column; padding: clamp(1.5rem, 5vw, 4rem); color: var(--ivory); background: var(--navy-soft); overflow: hidden; }
.form-aside .brand { margin-bottom: clamp(2.5rem, 6vh, 5rem); }
.form-aside h1 { max-width: 10ch; margin: 0 0 1rem; font-size: clamp(2.6rem, 5vw, 5rem); line-height: .9; letter-spacing: -.06em; }
.form-aside p { max-width: 30rem; color: rgba(244,239,207,.67); line-height: 1.55; }
.form-aside .building-art { margin-top: 2rem; color: var(--ivory); opacity: .72; }
.form-main { padding: clamp(1.5rem, 5vw, 4.5rem); }
.form-main > header { margin-bottom: 2rem; }
.form-main h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.6rem); letter-spacing: -.05em; }
.form-main header p { color: var(--ink-muted); line-height: 1.5; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.15rem; }
.field { display: grid; gap: .48rem; }
.field-full { grid-column: 1 / -1; }
.field label, .fieldset-title { font-size: .85rem; font-weight: 760; }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 3.35rem;
  padding: .78rem .95rem;
  color: var(--navy);
  border: 1px solid rgba(11,17,33,.18);
  border-radius: .9rem;
  background: #fff;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 4px rgba(243,107,22,.12); outline: 0; }
.field-note { color: var(--ink-muted); font-size: .76rem; line-height: 1.45; }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .65rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; pointer-events: none; }
.choice span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.1rem;
  padding: .65rem;
  border: 1px solid var(--line);
  border-radius: .9rem;
  font-size: .83rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
}
.choice input:checked + span { color: var(--white); background: var(--navy); border-color: var(--navy); }
.choice input:focus-visible + span { outline: 3px solid var(--gold); outline-offset: 2px; }
.interest-grid { grid-template-columns: repeat(2, 1fr); }
.consent-list { display: grid; gap: .8rem; margin-top: .5rem; }
.consent {
  display: grid;
  grid-template-columns: 1.25rem 1fr;
  gap: .7rem;
  align-items: start;
  color: var(--ink-muted);
  font-size: .78rem;
  line-height: 1.5;
}
.consent input { width: 1.12rem; height: 1.12rem; margin-top: .12rem; accent-color: var(--orange); }
.consent a { color: var(--navy); font-weight: 700; }
.form-actions { display: flex; align-items: center; gap: 1rem; margin-top: 1.5rem; }
.form-error { min-height: 1.3rem; color: var(--danger); font-size: .82rem; }
.honeypot { position: absolute !important; left: -9999px !important; }

/* Thanks */
.thanks-page { min-height: 100svh; display: grid; place-items: center; padding: 1rem; background: var(--navy); }
.thanks-card { position: relative; width: min(680px, 100%); padding: clamp(2rem, 7vw, 5rem); color: var(--navy); background: var(--ivory); border-radius: var(--radius-xl); overflow: hidden; text-align: center; }
.thanks-card::before { content: ""; display: block; width: 4.5rem; height: .7rem; margin: 0 auto 2rem; border-radius: 1rem; background: var(--orange); }
.thanks-card h1 { margin: 0; font-size: clamp(3rem, 9vw, 6rem); letter-spacing: -.07em; line-height: .88; }
.registration-code { display: inline-block; margin: 2rem 0 1rem; padding: .8rem 1.1rem; border: 2px solid var(--navy); border-radius: .9rem; font-size: clamp(1.5rem, 4vw, 2.3rem); font-weight: 850; letter-spacing: .06em; }
.thanks-card p { max-width: 34rem; margin: 1rem auto; color: var(--ink-muted); line-height: 1.6; }
.thanks-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; margin-top: 2rem; }

/* Screen */
.screen-page { position: relative; width: 100vw; height: 100svh; min-height: 620px; color: var(--ivory); background: var(--navy); overflow: hidden; }
.screen-page::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 77% 28%, rgba(243,107,22,.19), transparent 31rem); }
.screen-inner { position: relative; z-index: 2; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(18rem, .7fr); align-items: center; gap: clamp(2rem, 7vw, 8rem); width: min(1500px, calc(100vw - 8vw)); height: 100%; margin: auto; }
.screen-brand { position: absolute; top: 4vh; left: 4vw; z-index: 4; }
.screen-copy { transform: translateY(2.5rem); }
.screen-copy h1 { max-width: 8ch; margin: 0; font-size: clamp(5rem, 11vw, 12rem); font-weight: 880; letter-spacing: -.075em; line-height: .79; }
.screen-copy h2 { margin: 1.4rem 0 0; color: var(--orange); font-size: clamp(2rem, 4.5vw, 5rem); line-height: .9; letter-spacing: -.045em; }
.screen-copy .building-art { position: static; width: min(32vw, 480px); margin-top: .75rem; color: var(--ivory); opacity: .62; pointer-events: none; }
.qr-card { position: relative; display: grid; justify-items: center; padding: clamp(1.2rem, 3vw, 2.5rem); color: var(--navy); background: var(--ivory); border-radius: clamp(1.7rem, 3vw, 3.4rem); box-shadow: var(--shadow); text-align: center; }
.qr-media { display: grid; width: min(23vw, 330px); max-width: 100%; aspect-ratio: 1 / 1; place-items: center; padding: .5rem; background: #fff; border-radius: 1rem; overflow: hidden; }
.qr-media img { width: 100%; height: 100%; object-fit: contain; }
.qr-card h3 { margin: 1.2rem 0 .35rem; font-size: clamp(1.2rem, 2vw, 1.8rem); }
.qr-card p { margin: 0; color: var(--ink-muted); }
.counter { display: flex; align-items: baseline; gap: .55rem; margin-top: 1.4rem; padding-top: 1.2rem; border-top: 1px solid var(--line); }
.counter-value { color: var(--orange); font-size: clamp(2.7rem, 5vw, 5rem); font-weight: 900; letter-spacing: -.07em; line-height: .8; font-variant-numeric: tabular-nums; }
.counter-label { max-width: 8rem; font-size: .76rem; font-weight: 750; text-align: left; }
.gift-note { position: absolute; right: 4vw; bottom: 3vh; max-width: 40rem; color: rgba(244,239,207,.64); font-size: clamp(.8rem, 1.2vw, 1rem); text-align: right; }

/* Admin */
.admin-page { min-height: 100svh; background: #f6f7f9; }
.admin-header { position: sticky; z-index: 10; top: 0; padding: .9rem 0; color: var(--ivory); background: rgba(11,17,33,.96); backdrop-filter: blur(18px); }
.admin-header-actions { display: flex; align-items: center; gap: .45rem; }
.admin-main { width: min(1380px, calc(100% - 2rem)); margin: 0 auto; padding: 2rem 0 5rem; }
.admin-login { min-height: calc(100svh - 5rem); display: grid; place-items: center; }
.login-card { width: min(430px, 100%); padding: 2rem; background: #fff; border-radius: 1.5rem; box-shadow: var(--shadow); }
.login-card h1 { margin-top: 0; font-size: 2.3rem; letter-spacing: -.05em; }
.admin-toolbar { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; align-items: center; margin-bottom: 1.3rem; }
.admin-toolbar h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.4rem); letter-spacing: -.055em; }
.tabs { display: inline-flex; gap: .25rem; padding: .25rem; background: #e8ebf0; border-radius: 999px; }
.tab { padding: .65rem 1rem; border: 0; border-radius: 999px; background: transparent; cursor: pointer; font-weight: 700; }
.tab.active { color: #fff; background: var(--navy); }
.admin-card { padding: 1.15rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1.25rem; }
.stats-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; margin-bottom: .8rem; }
.stat-card { display: grid; gap: .2rem; padding: 1.15rem; background: #fff; border: 1px solid #e5e7eb; border-radius: 1.1rem; }
.stat-card strong { font-size: 2rem; letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.stat-card span { color: var(--ink-muted); font-size: .76rem; }
.admin-section-head, .event-title-line, .modal-actions { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.admin-section-head { margin-bottom: 1rem; }
.admin-section-head h2, .admin-section-head p { margin: 0; }
.admin-section-head p { margin-top: .25rem; color: var(--ink-muted); font-size: .84rem; }
.event-title-line { justify-content: flex-start; }
.badge { display: inline-flex; padding: .23rem .52rem; border-radius: 999px; color: #344054; background: #eef1f5; font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.badge-orange { color: #7b2f04; background: #ffdec9; }
.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; }
.filters { display: grid; grid-template-columns: minmax(14rem, 1fr) minmax(12rem, .5fr) auto; gap: .7rem; margin-bottom: 1rem; }
.filters input, .filters select { min-height: 2.8rem; padding: .65rem .8rem; border: 1px solid #d9dde5; border-radius: .75rem; }
.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.data-table th, .data-table td { padding: .8rem .7rem; border-bottom: 1px solid #eceef2; text-align: left; white-space: nowrap; }
.data-table th { color: var(--ink-muted); font-size: .7rem; letter-spacing: .05em; text-transform: uppercase; }
.data-table td.wrap { white-space: normal; min-width: 12rem; }
.status-toggle { display: inline-flex; align-items: center; gap: .4rem; }
.status-toggle input { accent-color: var(--orange); }
.event-list { display: grid; gap: .8rem; }
.admin-event { display: grid; grid-template-columns: 1fr auto; gap: 1rem; padding: 1.2rem; border: 1px solid #e5e7eb; border-radius: 1rem; }
.admin-event h3 { margin: 0 0 .35rem; }
.admin-event p { margin: 0; color: var(--ink-muted); font-size: .85rem; }
.admin-event-actions { display: flex; gap: .45rem; align-items: center; }
.empty-state { padding: 3rem 1rem; color: var(--ink-muted); text-align: center; }
.modal { position: fixed; z-index: 100; inset: 0; display: grid; place-items: center; padding: 1rem; background: rgba(11,17,33,.72); }
.modal[hidden] { display: none; }
.modal-card { width: min(760px, 100%); max-height: calc(100svh - 2rem); overflow-y: auto; padding: 1.5rem; background: #fff; border-radius: 1.4rem; }
.modal-head { display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.modal-head h2 { margin: 0; }
.icon-button { width: 2.6rem; height: 2.6rem; border: 0; border-radius: 999px; background: #edf0f4; cursor: pointer; }
.admin-event-form { margin-top: 1.25rem; }
.admin-event-form textarea { resize: vertical; }
.modal-actions { justify-content: flex-end; margin-top: 1.2rem; }

/* Page opened by the QR insert on the back of a keychain */
.maker-page { min-height: 100svh; display: grid; place-items: center; padding: 1rem; color: var(--ivory); background: var(--navy); }
.maker-card { position: relative; width: min(980px, 100%); min-height: min(720px, calc(100svh - 2rem)); display: flex; flex-direction: column; justify-content: center; padding: clamp(2rem, 7vw, 5.5rem); color: var(--navy); background: var(--ivory); border-radius: var(--radius-xl); overflow: hidden; }
.maker-card::before { content: ""; position: absolute; top: -13rem; right: -8rem; width: 34rem; height: 34rem; border: 5.5rem solid rgba(243,107,22,.11); border-radius: 50%; pointer-events: none; }
.maker-card .brand { position: absolute; z-index: 2; top: clamp(1.5rem, 4vw, 3rem); left: clamp(1.5rem, 5vw, 4rem); }
.maker-token { position: absolute; z-index: 2; top: clamp(1.5rem, 4vw, 3rem); right: clamp(1.5rem, 5vw, 4rem); width: clamp(6.5rem, 15vw, 9.5rem); aspect-ratio: 1; display: grid; place-content: center; color: var(--ivory); background: var(--navy); border-radius: 2rem; text-align: center; transform: rotate(4deg); box-shadow: 0 18px 40px rgba(11,17,33,.18); }
.maker-token span { font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 900; line-height: .8; letter-spacing: -.08em; }
.maker-token small { margin-top: .45rem; font-weight: 750; }
.maker-card .eyebrow { position: relative; z-index: 1; margin-top: 7rem; }
.maker-card h1 { position: relative; z-index: 1; max-width: 8ch; margin: 0; font-size: clamp(4rem, 11vw, 9.5rem); line-height: .78; letter-spacing: -.075em; }
.maker-card h1 span { color: var(--orange); }
.maker-card > p:not(.eyebrow) { position: relative; z-index: 1; max-width: 35rem; margin: 2rem 0; color: #535b68; font-size: clamp(1rem, 2vw, 1.25rem); line-height: 1.6; }
.maker-back { position: relative; z-index: 1; align-self: flex-start; padding-bottom: .2rem; border-bottom: 2px solid var(--orange); font-weight: 780; text-decoration: none; }
.maker-card > .button { position: relative; z-index: 1; align-self: flex-start; margin: -.5rem 0 1.4rem; }

.policy-page { min-height: 100svh; padding: 1rem; background: var(--navy); }
.policy-card { width: min(900px, 100%); margin: 0 auto; padding: clamp(1.5rem, 5vw, 4rem); background: #fff; border-radius: var(--radius-xl); }
.policy-card h1 { font-size: clamp(2.4rem, 6vw, 5rem); line-height: .9; letter-spacing: -.06em; }
.policy-card h2 { margin-top: 2.2rem; }
.policy-card p, .policy-card li { color: #3f4654; line-height: 1.65; }

.loading-screen { min-height: 100svh; display: grid; place-content: center; justify-items: center; gap: 1rem; background: var(--ivory); }
.loading-screen img { animation: breathe 1.2s ease-in-out infinite alternate; }
@keyframes breathe { to { transform: scale(1.08); opacity: .7; } }
.toast-region { position: fixed; z-index: 200; right: 1rem; bottom: 1rem; display: grid; gap: .5rem; width: min(360px, calc(100% - 2rem)); }
.toast { padding: .9rem 1rem; color: #fff; background: var(--navy); border-left: .35rem solid var(--orange); border-radius: .8rem; box-shadow: var(--shadow); animation: toast-in .25s ease; }
@keyframes toast-in { from { transform: translateY(1rem); opacity: 0; } }
.error-panel { max-width: 600px; margin: 10vh auto; padding: 2rem; background: #fff; border-radius: 1.5rem; text-align: center; }

@media (max-width: 900px) {
  .nav-links .nav-link:not(.button) { display: none; }
  .hero { min-height: max(720px, 100svh); padding: 8.25rem 0 8.5rem; }
  .hero-grid, .intro-grid, .myth-grid, .event-panel, .location-grid, .form-shell { grid-template-columns: 1fr; }
  .hero-content { width: min(46rem, 86vw); }
  .hero-architecture { bottom: 3.4rem; width: 148vw; opacity: .34; }
  .hero-aura { top: 12%; right: -18%; width: 75vw; }
  .architecture-caption { display: none; }
  .form-aside { min-height: 28rem; }
  .form-aside .brand { margin-bottom: 3rem; }
  .screen-inner { grid-template-columns: 1fr .7fr; width: calc(100vw - 3rem); gap: 2rem; }
  .screen-copy { transform: none; }
  .screen-copy h1 { font-size: clamp(4rem, 11vw, 8rem); }
}

@media (max-width: 720px) {
  :root { --page: min(100% - 1.2rem, 1180px); }
  .site-header { padding-top: .8rem; }
  .brand span { max-width: 8rem; font-size: .74rem; }
  .nav-link.button { padding-inline: .9rem; font-size: .77rem; }
  .hero { min-height: auto; padding: 7.5rem 0 9rem; }
  .hero::before {
    background:
      linear-gradient(90deg, rgba(11,17,33,.97), rgba(11,17,33,.7)),
      linear-gradient(0deg, rgba(11,17,33,.94), transparent 48%),
      radial-gradient(circle at 82% 18%, rgba(243,107,22,.22), transparent 22rem);
  }
  .hero-grid { gap: 0; }
  .hero-content { width: 100%; }
  .hero-title { font-size: clamp(3.15rem, 17.8vw, 5.7rem); line-height: .8; }
  .hero-tagline { margin-top: 1.35rem; font-size: clamp(1.35rem, 8vw, 2rem); }
  .hero-copy { margin-top: 1rem; font-size: .97rem; line-height: 1.55; }
  .hero-path { gap: .38rem; margin-top: 1.2rem; font-size: .65rem; }
  .hero-path span { padding: .42rem .58rem; }
  .hero-path i { display: none; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-actions .button { width: 100%; }
  .hero-note { align-items: flex-start; font-size: .78rem; }
  .hero-architecture { bottom: 4.1rem; width: 190vw; opacity: .25; }
  .hero-architecture .building-art .details { opacity: .26; }
  .hero-gridlines { opacity: .22; }
  .hero-aura { top: 20%; right: -45%; width: 100vw; }
  .hero-particle:nth-child(n+10) { display: none; }
  .hero-ticker { padding: .88rem 0; }
  .hero-ticker-track { gap: 1.35rem; font-size: .64rem; letter-spacing: .14em; }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: auto; border-right: 0; border-bottom: 1px solid var(--line); }
  .pillar:last-child { border-bottom: 0; }
  .pillar h3 { margin-top: 2.5rem; }
  .event-panel { padding-bottom: 7rem; }
  .form-page { padding: 0; }
  .form-shell { min-height: 0; border-radius: 0; align-content: start; }
  .form-aside { min-height: 0; }
  .form-aside .brand { margin-bottom: 2.5rem; }
  .form-aside .building-art { display: none; }
  .form-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .choice-grid, .interest-grid { grid-template-columns: 1fr; }
  .form-actions { align-items: stretch; flex-direction: column; }
  .screen-page { min-height: 100svh; overflow: auto; }
  .screen-inner { grid-template-columns: 1fr; align-content: center; width: calc(100% - 2rem); padding: 5.5rem 0 2rem; }
  .screen-copy h1 { font-size: clamp(3rem, 16vw, 5.5rem); }
  .screen-copy .building-art { width: 100%; margin-top: 1rem; opacity: .55; }
  .qr-card { grid-template-columns: auto 1fr; justify-items: start; text-align: left; }
  .qr-media { width: min(42vw, 180px); grid-row: span 3; }
  .qr-card h3 { margin: .2rem 0; }
  .counter { align-self: end; }
  .gift-note { position: static; margin: 1rem; text-align: center; }
  .filters { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .admin-event { grid-template-columns: 1fr; }
  .admin-event-actions { flex-wrap: wrap; }
  .maker-card { min-height: calc(100svh - 2rem); justify-content: flex-end; padding-top: 11rem; }
  .maker-card::before { width: 25rem; height: 25rem; top: -11rem; right: -10rem; }
  .maker-card .eyebrow { margin-top: 2rem; }
  .maker-card h1 { font-size: clamp(3.7rem, 16vw, 6.5rem); }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
  .building-art .outline, .building-art .details { stroke-dashoffset: 0; }
  .building-art .foundation { transform: scaleX(1); }
  .hero-content, .hero-architecture, .hero-particles, .hero-aura { transform: none !important; }
  .hero-content > * { opacity: 1; filter: none; }
}

@media print {
  .site-header, .site-footer, .button { display: none !important; }
  body { color: #000; background: #fff; }
}
