:root {
  --bg: #fff7ef;
  --surface: #ffffff;
  --surface-2: #fff0df;
  --ink: #111111;
  --text: #1a1715;
  --muted: #746861;
  --line: rgba(26, 23, 21, 0.12);
  --teal: #ff6a00;
  --teal-2: #ff9f1a;
  --coral: #e82418;
  --lime: #ffd166;
  --brand-orange: #ff6a00;
  --brand-amber: #ffb000;
  --brand-red: #e82418;
  --brand-dark: #111111;
  --shadow: 0 24px 70px rgba(63, 35, 12, 0.17);
  --shadow-soft: 0 14px 36px rgba(63, 35, 12, 0.10);
  --font-main: "SF Pro Display", "SF Pro Text", -apple-system, BlinkMacSystemFont, "San Francisco", "Segoe UI", system-ui, sans-serif;
}

[data-theme="dark"] {
  --bg: #100c0a;
  --surface: #181311;
  --surface-2: #2a1b14;
  --text: #fff8ef;
  --muted: #c8b8aa;
  --line: rgba(255, 255, 255, 0.14);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
  --shadow-soft: 0 14px 36px rgba(0, 0, 0, 0.24);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: clip; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 6%, rgba(255, 106, 0, 0.12), transparent 28%),
    radial-gradient(circle at 92% 18%, rgba(232, 36, 24, 0.10), transparent 24%),
    linear-gradient(180deg, rgba(255, 176, 0, 0.08), transparent 320px),
    var(--bg);
  color: var(--text);
  font-family: var(--font-main);
  line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
img, iframe, video, canvas, svg { max-width: 100%; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3, p, a, strong, small, span, li, label {
  overflow-wrap: anywhere;
}
h1 {
  margin-bottom: 18px;
  font-size: clamp(2.25rem, 4.8vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}
h2 {
  margin-bottom: 18px;
  font-size: clamp(1.55rem, 2.8vw, 2.65rem);
  line-height: 1.1;
  letter-spacing: 0;
}
h3 { margin-bottom: 10px; font-size: 1.18rem; }

@keyframes heroZoom { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes riseIn { from { opacity: 0; transform: translateY(28px) scale(0.985); } to { opacity: 1; transform: translateY(0) scale(1); } }
@keyframes glowLine { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes softFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes scanLine { from { transform: translateY(-120%); opacity: .15; } to { transform: translateY(220%); opacity: .5; } }

.site-header {
  position: fixed;
  inset: 16px 18px auto;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  min-height: 66px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(18px);
  max-width: calc(100vw - 36px);
}
[data-theme="dark"] .site-header { background: rgba(16, 12, 10, 0.84); }
.brand, .nav-actions, .nav-links { display: flex; align-items: center; }
.brand { gap: 10px; min-width: 0; }
.brand-mark, .brand-logo-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 900;
}
.brand-logo-icon { object-fit: contain; background: transparent; }
.brand-logo-wide {
  display: block;
  width: min(220px, 34vw);
  max-height: 54px;
  object-fit: contain;
}
.brand strong, .brand small { display: block; }
.brand small { max-width: 220px; color: var(--muted); font-size: 0.76rem; }
.nav-links { justify-content: center; gap: 6px; min-width: 0; }
.nav-links a {
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}
.nav-links a:hover, .nav-links a.is-active { background: linear-gradient(135deg, var(--brand-red), var(--brand-orange) 56%, var(--brand-amber)); color: #fff; transform: translateY(-1px); }
.nav-actions { justify-content: flex-end; gap: 8px; min-width: 0; }
.button, .icon-button, .menu-button {
  border: 0;
  cursor: pointer;
}
.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange) 58%, var(--brand-amber));
  color: #fff;
  font-weight: 900;
  padding: 0 20px;
  box-shadow: 0 14px 30px rgba(232, 36, 24, 0.24);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
  max-width: 100%;
  text-align: center;
  white-space: normal;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 20px 48px rgba(255, 106, 0, 0.34); }
.button-small { min-height: 38px; padding-inline: 16px; font-size: 0.9rem; }
.button-ghost { background: rgba(255,255,255,0.18); border: 1px solid rgba(255,255,255,0.52); box-shadow: none; }
.icon-button, .menu-button {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--text);
}
.menu-button { display: none; gap: 4px; }
.menu-button span { width: 18px; height: 2px; background: currentColor; }

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: 150px clamp(20px, 7vw, 112px) 74px;
  color: #fff;
}
.hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; animation: heroZoom 18s ease-in-out infinite alternate; transform-origin: center; }
.hero-shade {
  background:
    linear-gradient(90deg, rgba(17,17,17,.90), rgba(25,14,10,.60) 52%, rgba(109,31,12,.22)),
    linear-gradient(0deg, rgba(17,17,17,.76), transparent 42%),
    radial-gradient(circle at 72% 22%, rgba(255,106,0,.26), transparent 28%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(290px, 420px);
  gap: clamp(28px, 6vw, 82px);
  align-items: center;
}
.hero-content { max-width: 860px; min-width: 0; animation: riseIn 700ms ease both; }
.eyebrow {
  margin: 0 0 12px;
  color: var(--teal-2);
  font-size: 0.8rem;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero .eyebrow { color: var(--brand-amber); }
.hero-copy { max-width: 760px; color: rgba(255,255,255,.92); font-size: clamp(1rem, 1.45vw, 1.22rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; min-width: 0; }
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.hero-trust span {
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: rgba(255,255,255,.84);
  padding: 8px 12px;
  font-size: .82rem;
  font-weight: 900;
  backdrop-filter: blur(10px);
}
.hero-code-card {
  position: relative;
  min-height: 420px;
  display: grid;
  align-content: end;
  gap: 18px;
  padding: 24px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 18px;
  background:
    linear-gradient(145deg, rgba(255,106,0,.22), rgba(17,17,17,.70)),
    rgba(17,17,17,.38);
  box-shadow: 0 28px 90px rgba(0,0,0,.30);
  backdrop-filter: blur(18px);
  overflow: hidden;
  min-width: 0;
  animation: riseIn 780ms 120ms ease both, softFloat 7s ease-in-out infinite;
}
.hero-code-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,.10), transparent);
  animation: scanLine 5s linear infinite;
}
.hero-code-card::after {
  content: "</>";
  position: absolute;
  top: 22px;
  right: 24px;
  color: rgba(255,255,255,.14);
  font-size: 4rem;
  font-weight: 950;
  line-height: 1;
}
.code-bar { position: absolute; top: 18px; left: 18px; display: flex; gap: 7px; }
.code-bar span { width: 11px; height: 11px; border-radius: 50%; background: var(--brand-amber); }
.code-bar span:nth-child(2) { background: var(--brand-orange); }
.code-bar span:nth-child(3) { background: var(--brand-red); }
.hero-code-card p, .hero-code-card strong, .hero-code-card ul { position: relative; z-index: 1; }
.hero-code-card p { margin: 0; color: rgba(255,255,255,.78); font-weight: 900; }
.hero-code-card em { color: var(--brand-amber); font-style: normal; }
.hero-code-card strong { max-width: 320px; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: 1.08; }
.hero-code-card ul { display: grid; gap: 9px; margin: 0; padding: 0; list-style: none; }
.hero-code-card li {
  width: fit-content;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.10);
  color: rgba(255,255,255,.86);
  padding: 8px 11px;
  font-size: .9rem;
  font-weight: 850;
}
.hero-panel {
  position: absolute;
  right: clamp(18px, 6vw, 90px);
  bottom: 34px;
  z-index: 2;
  width: min(340px, calc(100vw - 36px));
  padding: 18px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 14px;
  background: rgba(255,255,255,.15);
  backdrop-filter: blur(18px);
  animation: riseIn 780ms 160ms ease both;
}
.hero-panel span, .hero-panel small { display: block; color: rgba(255,255,255,.76); }
.hero-panel strong { display: block; margin: 8px 0 4px; font-size: 1.35rem; }

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}
.quick-actions a {
  display: grid;
  gap: 8px;
  min-height: 158px;
  align-content: center;
  padding: 28px clamp(20px, 5vw, 64px);
  background: var(--surface);
  transition: transform 180ms ease, background 180ms ease;
}
.quick-actions a:hover { transform: translateY(-4px); background: linear-gradient(135deg, rgba(255, 176, 0, .12), rgba(232, 36, 24, .06)), var(--surface); }
.quick-actions span { color: var(--coral); font-weight: 950; }
.quick-actions small, .section p, .program-card p, .project-card p, .metric span, .footer, .contact-lines, .heading-note { color: var(--muted); }

.section { padding: clamp(72px, 9vw, 124px) clamp(20px, 7vw, 112px); min-width: 0; }
.attraction-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  background: var(--brand-dark);
  color: #fff;
}
.attraction-strip article {
  min-height: 210px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(255,106,0,.22), rgba(232,36,24,.08)),
    rgba(255,255,255,.04);
  box-shadow: 0 20px 70px rgba(0,0,0,.20);
}
.attraction-strip span { color: var(--brand-amber); font-weight: 950; }
.attraction-strip strong { font-size: 1.35rem; }
.attraction-strip p { margin: 0; color: rgba(255,255,255,.72); }
.intro, .impact, .membership, .split, .contact, .map-section, .founder {
  display: grid;
  grid-template-columns: minmax(0, .86fr) minmax(0, 1.14fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
  min-width: 0;
}
.intro > div:last-child p { max-width: 820px; font-size: clamp(1.05rem, 1.7vw, 1.25rem); }
.fact-strip { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.fact-strip span, .membership-points span {
  width: fit-content;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--muted);
  padding: 10px 14px;
}
.fact-strip strong, .membership-points span { color: var(--brand-orange); font-weight: 950; }
.section-copy p, .contact p, .vision-card p, .founder-card p { max-width: 640px; }
.program-grid, .project-grid, .document-grid, .member-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.member-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.band, .founder { background: rgba(255, 240, 223, .78); }
[data-theme="dark"] .band, [data-theme="dark"] .founder { background: rgba(42,27,20,.62); }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 30px; }
.heading-note { max-width: 560px; margin: 0; }

.program-card, .project-card, .founder-card, .vision-card, .contact-form, .member-card, .document-card, .map-card, .empty-state {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(8px);
  min-width: 0;
}
[data-theme="dark"] .program-card, [data-theme="dark"] .project-card, [data-theme="dark"] .founder-card,
[data-theme="dark"] .vision-card, [data-theme="dark"] .contact-form, [data-theme="dark"] .member-card,
[data-theme="dark"] .document-card, [data-theme="dark"] .map-card, [data-theme="dark"] .empty-state { background: rgba(23,33,31,.86); }
.program-card, .project-card, .founder-card, .vision-card, .member-card, .document-card, .empty-state { padding: 24px; }
.program-card, .project-card, .founder-card, .vision-card, .member-card, .document-card, .contact-form {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  min-width: 0;
}
.program-card:hover, .project-card:hover, .founder-card:hover, .vision-card:hover, .member-card:hover, .document-card:hover, .contact-form:hover {
  transform: translateY(-6px);
  border-color: rgba(255,106,0,.34);
  box-shadow: var(--shadow);
}
.program-icon, .project-tag {
  display: inline-grid;
  width: fit-content;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--surface-2);
  color: var(--brand-orange);
  font-size: .78rem;
  font-weight: 950;
  padding: 7px 11px;
}
.project-card { min-height: 292px; display: grid; align-content: end; position: relative; overflow: hidden; }
.project-card h3, .project-card p, .landing-card strong, .landing-card small, .experience-stack strong, .experience-stack small {
  max-width: 100%;
}
.project-card::after {
  content: "";
  position: absolute;
  inset: auto 24px 18px;
  height: 3px;
  border-radius: 999px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}
.project-card:hover::after { transform: scaleX(1); }
.featured-project {
  background: linear-gradient(145deg, rgba(232,36,24,.96), rgba(255,106,0,.92) 48%, rgba(17,17,17,.96));
  color: #fff;
}
.featured-project p { color: rgba(255,255,255,.78); }
.featured-project .project-tag { background: rgba(255,255,255,.15); color: #fff; }
.project-card a { width: fit-content; color: var(--brand-orange); font-weight: 950; }
.featured-project a { color: #fff; }
.project-image, .member-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 14px;
}
.member-photo { aspect-ratio: 1; max-width: 92px; border-radius: 50%; }
.avatar {
  display: grid;
  width: 82px;
  height: 82px;
  place-items: center;
  margin-bottom: 24px;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-weight: 950;
  font-size: 1.5rem;
}
.metric-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1px; border: 1px solid var(--line); background: var(--line); }
.metric { min-height: 172px; display: grid; align-content: center; gap: 8px; padding: 24px; background: var(--surface); }
.metric strong { color: var(--brand-orange); font-size: clamp(1.65rem, 2.5vw, 2.45rem); line-height: 1; }
.process-grid .metric strong { color: var(--coral); }
.vision-card { background: linear-gradient(145deg, rgba(230,95,77,.08), transparent 44%), var(--surface); }
.membership-points { display: grid; gap: 10px; margin-top: 28px; }

.documents { background: var(--surface); }
.document-card { display: grid; gap: 8px; min-height: 154px; color: var(--text); }
.document-card span { color: var(--coral); font-weight: 950; font-size: .78rem; text-transform: uppercase; }
.document-card strong { font-size: 1.12rem; }
.document-card small { color: var(--muted); }

.contact-form { display: grid; gap: 18px; padding: 24px; }
label { display: grid; gap: 8px; color: var(--muted); font-weight: 800; }
input, select, textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--bg);
  color: var(--text);
  padding: 13px 14px;
}
textarea { resize: vertical; }
.contact-lines { display: grid; gap: 10px; margin-top: 28px; }
.contact-lines a { color: var(--brand-orange); font-weight: 950; }
.map-card { min-height: 440px; overflow: hidden; }
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 440px; border: 0; filter: saturate(.94) contrast(1.02); }
.flash { position: fixed; top: 94px; left: 50%; z-index: 60; transform: translateX(-50%); max-width: min(720px, calc(100vw - 32px)); padding: 12px 16px; border-radius: 999px; background: var(--surface); box-shadow: var(--shadow-soft); color: var(--brand-orange); font-weight: 900; }

.footer {
  display: grid;
  gap: 28px;
  padding: clamp(42px, 7vw, 78px) clamp(20px, 7vw, 112px) 28px;
  border-top: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,106,0,.12), rgba(232,36,24,.06) 42%, transparent 62%), var(--surface);
}
.footer-main { display: grid; grid-template-columns: 1.25fr repeat(3, minmax(0,.75fr)); gap: clamp(24px, 4vw, 58px); align-items: start; }
.footer-brand, .footer-links { display: grid; gap: 10px; }
.footer-brand { gap: 18px; }
.footer-brand p { max-width: 460px; margin: 0; color: var(--muted); }
.footer strong { color: var(--text); }
.footer-links a { color: var(--brand-orange); font-weight: 900; }
.footer-links span { color: var(--muted); }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 40;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  font-size: 1.45rem;
  font-weight: 950;
  box-shadow: 0 18px 42px rgba(230,95,77,.34);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px) scale(.94);
  transition: opacity 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }

.subpage { padding-top: 92px; }
.page-hero {
  min-height: 68vh;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .42fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: end;
  padding: clamp(118px, 14vw, 180px) clamp(20px, 7vw, 112px) clamp(64px, 8vw, 108px);
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255,106,0,.18), transparent 44%),
    linear-gradient(315deg, rgba(232,36,24,.12), transparent 38%),
    radial-gradient(circle at 90% 10%, rgba(255,176,0,.16), transparent 30%),
    var(--surface);
  overflow: hidden;
}
.page-hero h1 {
  max-width: 920px;
  color: var(--text);
  font-size: clamp(2rem, 3.7vw, 3.3rem);
  line-height: 1.08;
}
.page-hero .hero-copy {
  color: var(--muted);
  max-width: 780px;
}
.page-hero-card, .founder-portrait {
  align-self: stretch;
  display: grid;
  align-content: end;
  gap: 10px;
  min-height: 280px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(145deg, rgba(255,106,0,.16), rgba(255,255,255,.84));
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
[data-theme="dark"] .page-hero-card, [data-theme="dark"] .founder-portrait {
  background: linear-gradient(145deg, rgba(255,106,0,.20), rgba(24,19,17,.88));
}
.page-hero-card span, .timeline-card span { color: var(--coral); font-weight: 950; text-transform: uppercase; font-size: .78rem; }
.page-hero-card strong { font-size: clamp(1.45rem, 2.2vw, 2.15rem); line-height: 1.08; }
.page-hero-card small { color: var(--muted); }
.button-ghost-dark { border-color: var(--line); color: var(--text); background: rgba(255,255,255,.36); }
.page-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(30px, 6vw, 86px);
  align-items: start;
}
.story-stack { display: grid; gap: 14px; }
.story-card, .timeline-card {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.story-card:hover, .timeline-card:hover {
  border-color: rgba(255,106,0,.28);
}
.story-card p:last-child, .timeline-card p:last-child { margin-bottom: 0; }
.detail-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.feature-list span {
  min-height: 58px;
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text);
  font-weight: 900;
  padding: 12px 18px;
}
.project-grid-page .project-card { min-height: 350px; }
.projects-intro {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, .8fr);
  gap: clamp(26px, 5vw, 72px);
  align-items: end;
}
.project-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 4px 0 16px;
}
.project-card-meta span {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  color: var(--muted);
  padding: 6px 9px;
  font-size: .74rem;
  font-weight: 900;
}
.featured-project .project-card-meta span {
  border-color: rgba(255,255,255,.22);
  color: rgba(255,255,255,.74);
}
.project-story-hero .hero-copy { max-width: 850px; }
.project-summary-card strong { font-size: clamp(1.8rem, 3vw, 2.75rem); }
.project-story-layout {
  display: grid;
  grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}
.project-story-layout .story-card {
  font-size: clamp(1.02rem, 1.4vw, 1.18rem);
}
.project-deep-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 16px;
}
.project-info-panel {
  display: grid;
  gap: 12px;
  align-content: start;
  min-height: 320px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.project-info-panel-large {
  background:
    linear-gradient(145deg, rgba(255,106,0,.12), rgba(232,36,24,.06)),
    var(--surface);
}
.project-info-panel span {
  color: var(--brand-orange);
  font-size: .78rem;
  font-weight: 950;
  text-transform: uppercase;
}
.project-info-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.project-info-panel li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
}
.project-info-panel li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
}
.project-roadmap {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.roadmap-list {
  display: grid;
  gap: 10px;
}
.roadmap-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}
.roadmap-list span {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 50%;
  background: var(--surface-2);
  color: var(--brand-orange);
  font-weight: 950;
}
.roadmap-list strong { font-size: 1.02rem; }
.timeline-section {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}
.timeline-card {
  min-height: 260px;
  display: grid;
  align-content: space-between;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.timeline-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.timeline-card span { font-size: 1.05rem; }
.founder-page-hero { grid-template-columns: minmax(0, 1fr) minmax(260px, 380px); }
.founder-portrait img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 14px;
}
.founder-portrait .avatar {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border-radius: 14px;
  font-size: clamp(2.2rem, 4.4vw, 3.8rem);
}
.founder-portrait strong { font-size: 1.35rem; }
.founder-portrait span { color: var(--muted); }
.document-page-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.contact-page {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(320px, 520px);
  gap: clamp(28px, 6vw, 80px);
  align-items: start;
}
.page-index .section-heading h2 { max-width: 850px; }
.landing-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
.landing-card {
  position: relative;
  min-height: 220px;
  display: grid;
  align-content: end;
  gap: 10px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(255,240,223,.78));
  box-shadow: var(--shadow-soft);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.landing-card::after {
  content: "↗";
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,106,0,.12);
  color: var(--brand-orange);
  font-weight: 950;
  opacity: 0;
  transform: translateY(6px) scale(.92);
  transition: opacity 220ms ease, transform 220ms ease;
}
.landing-card:hover::after { opacity: 1; transform: translateY(0) scale(1); }
[data-theme="dark"] .landing-card { background: linear-gradient(145deg, rgba(24,19,17,.94), rgba(42,27,20,.78)); }
.landing-card:hover { transform: translateY(-7px) scale(1.01); border-color: rgba(230,95,77,.34); box-shadow: var(--shadow); }
.landing-card-large { grid-column: span 2; }
.landing-card span { color: var(--coral); font-size: .78rem; font-weight: 950; text-transform: uppercase; }
.landing-card strong { font-size: 1.35rem; line-height: 1.08; }
.landing-card small { color: var(--muted); }
.home-highlight {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  min-width: 0;
}
.immersive-band {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .72fr);
  gap: clamp(28px, 6vw, 80px);
  align-items: center;
  overflow: hidden;
  min-width: 0;
  background:
    linear-gradient(135deg, rgba(255,106,0,.10), transparent 48%),
    linear-gradient(315deg, rgba(232,36,24,.08), transparent 48%),
    var(--surface);
}
.immersive-band::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255,106,0,.12);
  border-radius: 24px;
  pointer-events: none;
}
.immersive-band > * { position: relative; z-index: 1; }
.experience-stack {
  display: grid;
  gap: 14px;
}
.experience-stack article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 8px 14px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
  min-width: 0;
}
[data-theme="dark"] .experience-stack article { background: rgba(24,19,17,.82); }
.experience-stack span {
  grid-row: span 2;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--brand-red), var(--brand-orange));
  color: #fff;
  font-weight: 950;
}
.experience-stack strong { font-size: 1.12rem; }
.experience-stack small { color: var(--muted); }
.final-cta {
  min-height: 420px;
  display: grid;
  place-items: center;
  text-align: center;
  background:
    linear-gradient(135deg, rgba(232,36,24,.95), rgba(255,106,0,.94) 50%, rgba(255,176,0,.88)),
    var(--brand-orange);
  color: #fff;
  overflow: hidden;
}
.final-cta h2 { max-width: 920px; }
.final-cta .eyebrow, .final-cta p { color: rgba(255,255,255,.82); }
.final-cta .button { background: #fff; color: var(--brand-red); box-shadow: 0 18px 50px rgba(0,0,0,.18); }
.final-cta .button-ghost-dark { background: rgba(17,17,17,.14); color: #fff; border-color: rgba(255,255,255,.42); }
.members-hero { padding-top: clamp(82px, 10vw, 130px); }
.members-hero h1 { max-width: 960px; color: var(--text); font-size: clamp(2rem, 3.7vw, 3.3rem); line-height: 1.08; }
.legal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.detail-card { max-width: 900px; }

.login-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 20px;
  background:
    radial-gradient(circle at 20% 14%, rgba(255,106,0,.20), transparent 30%),
    radial-gradient(circle at 80% 18%, rgba(232,36,24,.16), transparent 28%),
    var(--bg);
}
.login-card {
  width: min(460px, 100%);
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: var(--shadow);
  animation: riseIn 420ms ease both;
}
.login-card h1 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.7rem); line-height: 1.08; }
.form-note { min-height: 24px; margin: 0; color: var(--coral); font-weight: 900; }

[data-animate] { opacity: 0; transform: translateY(34px) scale(.985); filter: blur(8px); transition: opacity 720ms cubic-bezier(.2,.8,.2,1), transform 720ms cubic-bezier(.2,.8,.2,1), filter 720ms ease; }
[data-animate].is-visible { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
[data-animate="stagger"] > * { opacity: 0; transform: translateY(22px) scale(.98); transition: opacity 620ms cubic-bezier(.2,.8,.2,1), transform 620ms cubic-bezier(.2,.8,.2,1); }
[data-animate="stagger"].is-visible > * { opacity: 1; transform: translateY(0) scale(1); }
[data-animate="stagger"].is-visible > *:nth-child(2) { transition-delay: 70ms; }
[data-animate="stagger"].is-visible > *:nth-child(3) { transition-delay: 140ms; }
[data-animate="stagger"].is-visible > *:nth-child(4) { transition-delay: 210ms; }
[data-animate="stagger"].is-visible > *:nth-child(5) { transition-delay: 280ms; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
  [data-animate], [data-animate="stagger"] > * { opacity: 1; transform: none; filter: none; }
}

@media (max-width: 1080px) {
  .site-header { grid-template-columns: minmax(0,1fr) auto; }
  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    width: min(320px, calc(100vw - 20px));
    max-height: calc(100vh - 96px);
    overflow-y: auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 8px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: var(--surface);
    box-shadow: var(--shadow);
  }
  .nav-links a { min-height: 42px; display: flex; align-items: center; color: var(--text); }
  .site-header.menu-open .nav-links { display: flex; }
  .menu-button { display: grid; }
  .intro, .membership, .split, .contact, .map-section, .founder, .impact, .page-hero, .page-layout, .contact-page, .home-highlight, .contact-page, .projects-intro, .project-story-layout, .project-deep-grid, .project-roadmap { grid-template-columns: 1fr; }
  .hero-layout, .immersive-band { grid-template-columns: 1fr; }
  .attraction-strip { grid-template-columns: 1fr; }
  .detail-grid, .document-page-grid, .timeline-section, .landing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .page-hero-card, .founder-portrait { min-height: 220px; }
  .section-heading { align-items: start; flex-direction: column; }
  .hero { min-height: auto; }
  .hero-panel { position: relative; right: auto; bottom: auto; margin-top: 46px; }
  .hero-code-card { min-height: 300px; }
  h1 { font-size: clamp(2.1rem, 6vw, 3.4rem); }
  h2 { font-size: clamp(1.55rem, 4.2vw, 2.55rem); }
}

@media (max-width: 720px) {
  .site-header {
    inset: 10px;
    min-height: 64px;
    max-height: 64px;
    max-width: calc(100vw - 20px);
    gap: 10px;
    padding: 8px;
  }
  .brand { min-width: 0; }
  .brand-logo-wide { width: min(168px, 48vw); max-height: 46px; }
  .brand strong { font-size: .98rem; }
  .brand small, .button-small { display: none; }
  .section { padding-inline: 16px; }
  .hero { padding: 116px 16px 48px; }
  h1 { font-size: clamp(1.85rem, 8.2vw, 2.65rem); line-height: 1.08; }
  h2 { font-size: clamp(1.35rem, 6.1vw, 2rem); line-height: 1.14; }
  .hero-copy { font-size: 1rem; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; min-height: 48px; }
  .quick-actions, .program-grid, .project-grid, .member-grid, .document-grid, .metric-grid, .legal-grid, .detail-grid, .document-page-grid, .timeline-section, .landing-grid, .feature-list { grid-template-columns: 1fr; }
  .project-info-panel { min-height: auto; }
  .roadmap-list article { grid-template-columns: 1fr; }
  .hero-trust span { font-size: .78rem; }
  .hero-code-card { min-height: 260px; padding: 20px; }
  .hero-code-card strong { font-size: 1.35rem; }
  .attraction-strip article { min-height: 180px; }
  .page-hero { min-height: auto; padding: 112px 16px 50px; }
  .page-hero h1 { font-size: clamp(1.75rem, 7.2vw, 2.35rem); line-height: 1.12; }
  .members-hero h1 { font-size: clamp(1.75rem, 7.2vw, 2.35rem); }
  .landing-card-large { grid-column: span 1; }
  .landing-card, .timeline-card { min-height: 190px; }
  .featured-project, .project-card { min-height: 260px; }
  .project-summary-card strong { font-size: clamp(1.55rem, 8vw, 2.25rem); }
  .final-cta .hero-actions { width: 100%; }
  .footer-main { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .back-to-top { right: 14px; bottom: 14px; width: 48px; height: 48px; }
}
