:root {
  --ink: #eef7e9;
  --muted: #b7c9b9;
  --dark: #05130f;
  --deep: #071b15;
  --glass: rgba(7, 25, 19, 0.68);
  --glass-strong: rgba(5, 18, 14, 0.88);
  --line: rgba(211, 244, 216, 0.16);
  --green: #a8ff4f;
  --green2: #4cf58a;
  --gold: #ffc96b;
  --shadow: 0 24px 80px rgba(0,0,0,.42);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100svh;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  overflow-x: hidden;
  background: var(--dark);
}
button, a { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.page-bg {
  position: fixed;
  inset: 0;
  background: url("assets/background.png") center center / cover no-repeat;
  z-index: -4;
  transform: scale(1.01);
}
.veil {
  position: fixed;
  inset: 0;
  z-index: -3;
  background:
    linear-gradient(90deg, rgba(3,12,10,.84) 0%, rgba(3,12,10,.42) 34%, rgba(3,12,10,.12) 58%, rgba(3,12,10,.55) 100%),
    linear-gradient(180deg, rgba(2,10,8,.16) 0%, rgba(2,10,8,.08) 48%, rgba(2,10,8,.66) 100%);
}
.veil::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 54% 48%, rgba(128,255,88,.10), transparent 30%);
  pointer-events: none;
}

.stars { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.spark {
  position: absolute;
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(182,255,119,.72);
  box-shadow: 0 0 13px rgba(126,255,88,.8);
  animation: drift var(--d) ease-in-out infinite alternate;
  opacity: var(--o);
}
@keyframes drift { to { transform: translate3d(var(--x), -16px, 0); opacity: .18; } }

.topbar {
  position: fixed;
  top: 18px;
  left: 22px;
  right: 22px;
  z-index: 20;
  display: grid;
  grid-template-columns: minmax(180px,1fr) auto minmax(180px,1fr);
  align-items: center;
  gap: 18px;
}
.brand, .nav-pills, .socials {
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(4, 19, 14, .62);
  border: 1px solid var(--line);
  box-shadow: 0 12px 40px rgba(0,0,0,.20);
}
.brand {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding: 6px 12px 6px 6px;
  border-radius: 18px;
}
.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  overflow: hidden;
  flex: 0 0 42px;
  border-radius: 13px;
  background: linear-gradient(145deg, rgba(223,255,126,.18), rgba(112,255,136,.10));
  border: 1px solid rgba(197,255,145,.28);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), 0 0 25px rgba(124,255,85,.14);
}
.brand-mark img {
  width: 112%;
  height: 112%;
  object-fit: contain;
  transform: translateY(1px);
  filter: drop-shadow(0 4px 8px rgba(0,0,0,.25));
}
.brand-copy { display: grid; line-height: 1.05; min-width: 0; }
.brand-copy strong { font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 220px; }
.brand-copy small { margin-top: 4px; color: #a9ff6d; letter-spacing: .18em; font-size: 9px; font-weight: 800; }

.nav-pills { display: flex; gap: 4px; padding: 5px; border-radius: 18px; }
.nav-pill {
  border: 0;
  background: transparent;
  padding: 9px 11px;
  border-radius: 13px;
  font-size: 11px;
  font-weight: 760;
  color: #dce9dd;
  cursor: pointer;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.nav-pill:hover { background: rgba(180,255,113,.11); color: #cfff9b; transform: translateY(-1px); }

.socials { justify-self: end; display: flex; gap: 5px; padding: 5px; border-radius: 18px; min-height: 48px; }
.socials:empty { display: none; }
.social-link {
  min-width: 38px; height: 38px;
  padding: 0 10px;
  display: grid; place-items: center;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .04em;
  background: rgba(255,255,255,.05);
  border: 1px solid transparent;
  transition: .18s ease;
}
.social-link:hover { border-color: rgba(170,255,105,.3); background: rgba(170,255,105,.10); color: #cfff91; transform: translateY(-1px); }

.hero {
  position: relative;
  z-index: 2;
  min-height: 100svh;
  width: min(1540px, 100%);
  margin: 0 auto;
  padding: 112px 48px 76px;
  display: grid;
  grid-template-columns: minmax(300px, .92fr) minmax(420px, 1.08fr) minmax(250px, .56fr);
  gap: 26px;
  align-items: center;
}
.hero-copy { align-self: center; max-width: 570px; padding-bottom: 20px; }
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  margin: 0 0 18px;
  color: #d5e7d7;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 1px; background: linear-gradient(90deg, var(--green), transparent); box-shadow: 0 0 10px var(--green); }
h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 6.1vw, 100px);
  line-height: .90;
  font-weight: 700;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 10px 35px rgba(0,0,0,.42);
}
.ticker-row { margin: 22px 0 18px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.ticker, .chain {
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .18em;
  border: 1px solid var(--line);
  background: rgba(5, 22, 16, .55);
}
.ticker { color: #0c2013; background: linear-gradient(120deg, #c9ff7c, #75f69c); border-color: rgba(216,255,169,.5); }
.chain { color: #f4d69b; }
.tagline { margin: 0 0 12px; font: 600 19px/1.45 Georgia, serif; color: #e8f5df; }
.intro { max-width: 520px; margin: 0; color: var(--muted); font-size: 14px; line-height: 1.72; }
.hero-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.primary-btn, .secondary-btn {
  border-radius: 15px;
  padding: 13px 17px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 850;
  border: 1px solid rgba(201,255,133,.35);
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.primary-btn {
  color: #0b2011;
  background: linear-gradient(135deg, #d8ff86, #75ef90);
  box-shadow: 0 10px 32px rgba(132,255,86,.15);
}
.secondary-btn { background: rgba(7,25,18,.61); color: #edf8e8; }
.primary-btn:hover, .secondary-btn:hover { transform: translateY(-2px); box-shadow: 0 16px 38px rgba(0,0,0,.28); }
.hidden { display: none !important; }

.tiny-notes {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin-top: 14px;
}
.tiny-notes button {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  border: 1px solid rgba(203,255,147,.13);
  background: rgba(3,18,13,.42);
  color: #c4d2c5;
  border-radius: 999px;
  padding: 8px 10px;
  font-size: 10px;
  cursor: pointer;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: .18s ease;
}
.tiny-notes button span { color: #aaff70; font-size: 8px; font-weight: 900; letter-spacing: .08em; }
.tiny-notes button:hover { transform: translateY(-1px); color: #eff8ea; border-color: rgba(203,255,147,.28); background: rgba(120,255,83,.08); }

.character-stage {
  position: relative;
  width: 100%;
  min-height: 690px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  isolation: isolate;
}
.character {
  position: relative;
  z-index: 2;
  width: min(610px, 47vw);
  max-height: 76svh;
  object-fit: contain;
  filter: drop-shadow(0 26px 35px rgba(0,0,0,.55));
  user-select: none;
  -webkit-user-drag: none;
}
.glow-orbit {
  position: absolute;
  left: 12%; right: 12%; bottom: 80px; height: 46%;
  background: radial-gradient(ellipse at center, rgba(125,255,84,.20), rgba(60,255,120,.08) 36%, transparent 70%);
  filter: blur(22px);
  z-index: 0;
}
.ca-chip {
  position: relative;
  z-index: 4;
  margin-top: -22px;
  width: min(470px, 88%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 17px;
  border: 1px solid rgba(193,255,132,.26);
  background: rgba(4,18,13,.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  color: var(--ink);
  box-shadow: var(--shadow);
  cursor: pointer;
}
.ca-chip.disabled { cursor: default; opacity: .76; }
.ca-label { color: #9fc0a6; font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.ca-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 10px; color: #dce8dd; text-align: center; }
.copy-state { font-size: 9px; color: #baff75; font-weight: 900; letter-spacing: .13em; }

.side-stack {
  align-self: center;
  justify-self: end;
  width: min(292px, 100%);
  display: grid;
  gap: 12px;
}
.quote-card,
.field-notes {
  border-radius: 24px;
  border: 1px solid rgba(255, 221, 151, .17);
  background: linear-gradient(180deg, rgba(20,28,17,.60), rgba(5,20,15,.76));
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}
.quote-card { padding: 20px; }
.quote-kicker { display:block; margin-bottom: 10px; color: #edc675; font-size: 9px; font-weight: 900; letter-spacing: .18em; }
.quote-card blockquote { margin: 0 0 9px; font: 700 29px/1.05 Georgia, serif; color: #fff2cf; }
.quote-card p { margin: 0; color: #b8c6b5; font-size: 12px; line-height: 1.6; }

.field-notes { padding: 10px; border-color: rgba(196,255,136,.14); }
.field-notes-head { display:flex; align-items:center; justify-content:space-between; padding: 5px 7px 9px; }
.field-notes-head span { color:#c8d8c8; font-size:9px; font-weight:900; letter-spacing:.16em; }
.field-notes-head small { color:#789380; font-size:8px; font-weight:800; letter-spacing:.12em; }
.note-button {
  width: 100%;
  display: grid;
  grid-template-columns: 34px 1fr auto;
  gap: 10px;
  align-items: center;
  padding: 9px;
  border: 0;
  border-top: 1px solid rgba(201,255,144,.08);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition: background .18s ease, transform .18s ease;
}
.note-button:first-of-type { border-top: 0; }
.note-button:hover { background: rgba(170,255,105,.07); transform: translateX(2px); }
.note-icon {
  width: 32px; height: 32px;
  border-radius: 10px;
  display: grid; place-items: center;
  color: #b9ff72;
  background: rgba(147,255,85,.08);
  border: 1px solid rgba(180,255,120,.13);
  font: 700 15px Georgia, serif;
}
.note-button > span:nth-child(2) { display:grid; gap:2px; }
.note-button b { color:#edf6e9; font-size:11px; font-weight:800; }
.note-button small { color:#8da08f; font-size:9px; }
.note-button i { color:#789c7e; font-style:normal; font-size:11px; }

.footer {
  position: fixed;
  left: 26px;
  bottom: 18px;
  z-index: 10;
  display: flex;
  gap: 10px;
  align-items: center;
  color: rgba(229,239,228,.67);
  font-size: 10px;
  letter-spacing: .08em;
}
.footer-dot { width: 3px; height: 3px; border-radius: 50%; background: #afff74; }

.modal-layer {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(1,8,6,.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.modal-layer.open { opacity: 1; pointer-events: auto; }
.modal {
  width: min(650px, 100%);
  max-height: min(700px, 86svh);
  overflow: auto;
  position: relative;
  padding: 34px;
  border-radius: 28px;
  background:
    linear-gradient(150deg, rgba(15,46,31,.96), rgba(5,20,15,.98)),
    url("assets/background.png") center / cover;
  border: 1px solid rgba(196,255,136,.22);
  box-shadow: 0 30px 120px rgba(0,0,0,.62);
  transform: translateY(12px) scale(.985);
  transition: transform .22s ease;
}
.modal-layer.open .modal { transform: none; }
.modal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(circle at 20% 0%, rgba(132,255,86,.12), transparent 36%);
}
.modal-close {
  position: absolute;
  top: 14px; right: 14px;
  width: 38px; height: 38px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.05);
  color: #eff8e9;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}
.modal-close:hover { background: rgba(170,255,105,.09); border-color: rgba(170,255,105,.22); }
.modal-overline { position:relative; display:block; color: #a9ff6c; font-size: 9px; font-weight: 900; letter-spacing: .19em; margin-bottom: 10px; }
.modal h2 { position:relative; margin: 0 48px 16px 0; font: 700 clamp(36px,6vw,58px)/.95 Georgia, serif; letter-spacing: -.04em; }
.modal-body { position:relative; color: #c3d3c4; font-size: 14px; line-height: 1.72; }
.modal-body p { margin: 0 0 14px; }
.modal-body strong { color: #f4faef; }
.modal-body .mini-grid { display:grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; margin-top: 18px; }
.modal-body .mini-card { padding: 15px; border: 1px solid rgba(195,255,138,.14); border-radius: 16px; background: rgba(255,255,255,.035); }
.modal-body .mini-card span { display:block; color:#9fb0a0; font-size:9px; font-weight:900; letter-spacing:.15em; margin-bottom:6px; }
.modal-body .mini-card b { color:#eef8ea; font-size:13px; overflow-wrap:anywhere; }
.story-quote { margin: 18px 0; padding: 18px 20px; border-left: 2px solid #aaff70; border-radius: 0 16px 16px 0; background: rgba(170,255,105,.055); color:#f2f8ee; font: 700 19px/1.45 Georgia, serif; }
.location-list, .principle-list, .faq-list, .steps { display:grid; gap:9px; margin-top:16px; }
.location-list > div { display:grid; grid-template-columns:36px 1fr; column-gap:10px; padding:13px; border-radius:15px; border:1px solid rgba(196,255,136,.12); background:rgba(255,255,255,.03); }
.location-list span { grid-row:1 / 3; width:34px; height:34px; display:grid; place-items:center; border-radius:10px; color:#baff78; background:rgba(170,255,105,.07); font-size:9px; font-weight:900; }
.location-list b { color:#eef8ea; font-size:13px; }
.location-list small { color:#93a695; font-size:10px; }
.principle-list > div { padding:14px 15px; border:1px solid rgba(196,255,136,.12); border-radius:16px; background:rgba(255,255,255,.03); }
.principle-list b { color:#eeffe7; }
.principle-list p { margin:4px 0 0; color:#9fb1a1; }
.steps > div { display:flex; gap:12px; align-items:center; padding:11px 13px; border:1px solid rgba(196,255,136,.11); border-radius:14px; background:rgba(255,255,255,.028); }
.steps span { width:28px; height:28px; flex:0 0 28px; display:grid; place-items:center; border-radius:9px; color:#0b2011; background:linear-gradient(135deg,#d8ff86,#75ef90); font-size:10px; font-weight:900; }
.steps p { margin:0; }
.muted-note { color:#829585; font-size:11px; }
.faq-list details { border:1px solid rgba(196,255,136,.12); border-radius:15px; background:rgba(255,255,255,.03); overflow:hidden; }
.faq-list summary { padding:13px 15px; cursor:pointer; color:#edf7e9; font-weight:800; font-size:12px; }
.faq-list details p { padding:0 15px 14px; margin:0; color:#9eb0a0; font-size:12px; }

@media (max-width: 1260px) {
  .nav-pill { padding-left: 9px; padding-right: 9px; }
  .hero { padding-left: 34px; padding-right: 34px; }
}
@media (max-width: 1150px) {
  .topbar { grid-template-columns: 1fr auto; }
  .nav-pills { display: none; }
  .hero { grid-template-columns: .9fr 1.1fr; }
  .side-stack { grid-column: 1 / -1; width: min(760px, 100%); justify-self:center; grid-template-columns: .8fr 1.2fr; margin-top:-24px; }
  .field-notes { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); }
  .field-notes-head { grid-column:1/-1; }
  .note-button:nth-of-type(odd) { border-right:1px solid rgba(201,255,144,.08); }
}
@media (max-width: 760px) {
  .page-bg { background-position: 60% center; }
  .veil { background: linear-gradient(180deg, rgba(2,12,9,.34), rgba(2,12,9,.50) 52%, rgba(2,12,9,.88)); }
  .topbar { top: 12px; left: 12px; right: 12px; grid-template-columns: 1fr auto; }
  .brand-copy strong { max-width: 150px; }
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 92px 18px 42px;
  }
  .hero-copy { order: 2; max-width: none; text-align: center; padding: 0; margin-top: -14px; }
  .eyebrow { justify-content: center; }
  h1 { font-size: clamp(48px, 14vw, 76px); }
  .ticker-row, .hero-actions, .tiny-notes { justify-content: center; }
  .intro { margin: 0 auto; font-size: 13px; }
  .character-stage { order: 1; min-height: 390px; justify-content: center; margin-top: 6px; }
  .character { width: min(540px, 108vw); max-height: 48svh; }
  .ca-chip { margin-top: -34px; }
  .side-stack { order: 3; display:grid; grid-template-columns:1fr; width:100%; margin-top:24px; }
  .field-notes { grid-template-columns:1fr; }
  .note-button:nth-of-type(odd) { border-right:0; }
  .footer { position: static; justify-content: center; padding: 0 18px 18px; text-align: center; flex-wrap: wrap; }
  .modal { padding: 28px 22px; border-radius: 22px; }
  .modal-body .mini-grid { grid-template-columns: 1fr; }
  .social-link { min-width: 36px; height: 36px; }
}
@media (max-width: 470px) {
  .brand-mark { width:36px; height:36px; flex-basis:36px; border-radius:11px; }
  .brand-copy strong { max-width: 118px; }
  .character-stage { min-height: 350px; }
  .tagline { font-size: 17px; }
  .social-link { padding: 0 8px; }
  .tiny-notes button { font-size:9px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
