:root {
  --ink: #080a05;
  --ink-2: #0f1308;
  --panel: #151a0d;
  --panel-2: #1a2110;
  --olive: #536108;
  --acid: #84a105;
  --acid-soft: #a5bd34;
  --bone: #e8e9df;
  --mist: #a4a99a;
  --line: rgba(232, 233, 223, 0.14);
  --line-strong: rgba(132, 161, 5, 0.58);
  --display: "Arial Narrow", "Roboto Condensed", Impact, sans-serif;
  --serif: Georgia, "Times New Roman", serif;
  --mono: "Courier New", Courier, monospace;
  --wrap: min(1240px, calc(100vw - 48px));
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body {
  margin: 0;
  color: var(--bone);
  background:
    radial-gradient(circle at 70% 18%, rgba(83, 97, 8, 0.1), transparent 26rem),
    var(--ink);
  font-family: var(--mono);
  overflow-x: hidden;
}

body::selection { color: var(--ink); background: var(--acid); }
a { color: inherit; text-decoration: none; }
button, input { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }

.grain {
  position: fixed;
  inset: 0;
  z-index: 1000;
  pointer-events: none;
  opacity: 0.13;
  background-image:
    repeating-radial-gradient(circle at 17% 32%, rgba(255,255,255,.55) 0 0.45px, transparent .7px 3px),
    repeating-linear-gradient(117deg, rgba(255,255,255,.08) 0 1px, transparent 1px 4px);
  background-size: 5px 5px, 7px 7px;
  mix-blend-mode: overlay;
}

.cursor-glow {
  width: 340px;
  height: 340px;
  border-radius: 50%;
  position: fixed;
  left: -170px;
  top: -170px;
  pointer-events: none;
  z-index: 2;
  background: radial-gradient(circle, rgba(132,161,5,.08), transparent 68%);
  transform: translate3d(var(--mouse-x, 0), var(--mouse-y, 0), 0);
}

.wrap { width: var(--wrap); margin-inline: auto; }
.section { padding: 150px 0; position: relative; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  min-height: 84px;
  padding: 18px max(24px, calc((100vw - 1400px) / 2));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
  border-bottom: 1px solid transparent;
  transition: background .35s ease, border-color .35s ease, min-height .35s ease;
}

.site-header.is-scrolled {
  min-height: 66px;
  background: rgba(8,10,5,.88);
  border-color: var(--line);
  backdrop-filter: blur(18px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; width: max-content; }
.brand__mark {
  display: grid;
  place-items: center;
  width: 37px;
  aspect-ratio: 1;
  color: var(--ink);
  background: var(--acid);
  clip-path: polygon(50% 0, 95% 24%, 87% 82%, 50% 100%, 13% 82%, 5% 24%);
  font: 700 18px var(--serif);
}
.brand__name { font-size: 15px; letter-spacing: .22em; }

.site-nav { display: flex; gap: 34px; align-items: center; }
.site-nav a {
  color: var(--mist);
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  transition: color .2s ease;
}
.site-nav a:hover { color: var(--acid-soft); }

.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 18px; }
.social-link { display: flex; gap: 8px; color: var(--mist); font-size: 11px; }
.social-link:hover { color: var(--bone); }
.menu-toggle { display: none; }

.button {
  min-height: 50px;
  border: 1px solid var(--line-strong);
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: transparent;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 10px;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease, transform .2s ease;
}
.button:hover { transform: translateY(-2px); }
.button--solid { color: var(--ink); background: var(--acid); border-color: var(--acid); font-weight: 700; }
.button--solid:hover { background: var(--acid-soft); border-color: var(--acid-soft); }
.button--line:hover, .button--ghost:hover { color: var(--acid-soft); border-color: var(--acid); background: rgba(132,161,5,.08); }
.button--small { min-height: 38px; padding: 0 14px; }
.button--small span { color: var(--acid-soft); font-size: 8px; }

.hero {
  min-height: 910px;
  display: flex;
  align-items: center;
  position: relative;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background: url("assets/hero-header.png") center right / cover no-repeat;
  filter: contrast(1.06) saturate(.86);
  transform: scale(1.035);
}
.hero__shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(8,10,5,.97) 0%, rgba(8,10,5,.77) 32%, rgba(8,10,5,.15) 68%, rgba(8,10,5,.22) 100%),
    linear-gradient(0deg, var(--ink) 0%, transparent 23%, rgba(8,10,5,.45) 100%);
}

.hero__content { padding: 120px 0 180px; }
.eyebrow {
  margin: 0 0 24px;
  color: var(--acid-soft);
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.eyebrow span { width: 34px; height: 1px; background: var(--acid); }

h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { text-transform: uppercase; }
h1 {
  max-width: 900px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: clamp(64px, 8.6vw, 136px);
  line-height: .78;
  letter-spacing: -.055em;
  font-stretch: condensed;
}
h1 span:nth-child(2) { color: transparent; -webkit-text-stroke: 1px rgba(232,233,223,.72); }
.accent { color: var(--acid-soft); }
.hero__lede { max-width: 550px; color: var(--mist); font-size: 13px; line-height: 1.8; }
.hero__actions { display: flex; gap: 12px; margin-top: 38px; }

.hero__stats {
  position: absolute;
  left: 50%;
  bottom: 34px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
}
.hero__stats > div { padding: 20px 26px 0 0; border-right: 1px solid var(--line); }
.hero__stats > div + div { padding-left: 26px; }
.hero__stats > div:last-child { border-right: 0; }
.hero__stats span { display: block; color: #747969; font-size: 9px; text-transform: uppercase; letter-spacing: .16em; }
.hero__stats strong { display: block; margin-top: 8px; font-size: 15px; text-transform: uppercase; }
.scroll-cue {
  position: absolute;
  right: 26px;
  bottom: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: #747969;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}
.scroll-cue i { width: 1px; height: 56px; background: linear-gradient(var(--acid), transparent); }

.ticker { overflow: hidden; border-bottom: 1px solid var(--line); background: var(--acid); color: var(--ink); }
.ticker__track { width: max-content; padding: 17px 0; display: flex; gap: 32px; align-items: center; animation: ticker 24s linear infinite; }
.ticker span { font: 700 13px var(--mono); letter-spacing: .14em; }
.ticker i { font-style: normal; font-size: 8px; }
@keyframes ticker { to { transform: translateX(-50%); } }

h2 {
  margin-bottom: 26px;
  font-family: var(--display);
  font-size: clamp(48px, 6.7vw, 96px);
  line-height: .88;
  letter-spacing: -.045em;
}
.section-copy .lead { max-width: 650px; color: var(--bone); font: italic 20px/1.5 var(--serif); }
.section-copy > p:not(.eyebrow):not(.lead) { max-width: 660px; color: var(--mist); font-size: 12px; line-height: 1.9; }
.about { background: radial-gradient(circle at 85% 50%, rgba(83,97,8,.12), transparent 30rem); }
.about__grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: 9vw; align-items: center; }
.about__figure { margin: 0; position: relative; border: 1px solid var(--line); background: #0b0d08; padding: 13px; }
.about__figure::before { content: ""; position: absolute; inset: 8%; background: var(--acid); filter: blur(80px); opacity: .14; }
.about__figure img { position: relative; width: 100%; aspect-ratio: 1; object-fit: cover; filter: grayscale(1) contrast(1.08); }
.about__figure figcaption { position: relative; padding: 15px 4px 2px; display: flex; justify-content: space-between; font-size: 8px; text-transform: uppercase; letter-spacing: .12em; color: #747969; }
.about__figure figcaption strong { color: var(--acid-soft); font-weight: 400; }
.frame-corners::before, .frame-corners::after { content: ""; position: absolute; z-index: 2; width: 28px; height: 28px; }
.frame-corners::before { left: 6px; top: 6px; border-left: 1px solid var(--acid); border-top: 1px solid var(--acid); }
.frame-corners::after { right: 6px; bottom: 46px; border-right: 1px solid var(--acid); border-bottom: 1px solid var(--acid); }

.collection { background: #0b0d08; border-block: 1px solid var(--line); overflow: hidden; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 68px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 340px; margin-bottom: 8px; color: var(--mist); font-size: 11px; line-height: 1.8; }
.gallery { padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px, 22vw); gap: 14px; overflow-x: auto; overscroll-behavior-inline: contain; scrollbar-width: none; cursor: grab; touch-action: pan-y; scroll-behavior: auto; user-select: none; -webkit-user-select: none; }
.gallery::-webkit-scrollbar { display: none; }
.gallery.is-dragging { cursor: grabbing; }
.member-card { position: relative; margin: 0; border: 1px solid var(--line); background: var(--panel); overflow: hidden; }
.member-card::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px transparent; pointer-events: none; transition: box-shadow .25s ease; }
.member-card:hover::after { box-shadow: inset 0 0 0 1px var(--acid); }
.member-card img { width: 100%; aspect-ratio: 1; object-fit: cover; filter: saturate(.78) contrast(1.08); transition: transform .6s cubic-bezier(.2,.8,.2,1), filter .35s ease; pointer-events: none; user-select: none; -webkit-user-select: none; -webkit-user-drag: none; }
.member-card:hover img { transform: scale(1.035); filter: saturate(1) contrast(1.05); }
.member-card div { position: absolute; inset: auto 0 0; padding: 14px; display: flex; justify-content: space-between; background: linear-gradient(transparent, rgba(8,10,5,.92)); font-size: 9px; text-transform: uppercase; letter-spacing: .12em; }
.member-card div span { color: var(--mist); }
.member-card div strong { color: var(--acid-soft); }
.gallery-hint { margin-top: 28px; display: flex; align-items: center; gap: 18px; color: #747969; font-size: 8px; text-transform: uppercase; letter-spacing: .16em; }
.gallery-hint div { width: 110px; height: 1px; background: var(--line); position: relative; }
.gallery-hint i { display: block; width: 35%; height: 1px; background: var(--acid); }

.details { background: linear-gradient(180deg, var(--ink), #0b0d08); }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.detail-card { min-height: 330px; padding: 28px; position: relative; border-right: 1px solid var(--line); background: linear-gradient(145deg, rgba(255,255,255,.018), transparent); }
.detail-card:last-child { border-right: 0; }
.detail-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(145deg, rgba(132,161,5,.1), transparent 45%); opacity: 0; transition: opacity .3s ease; }
.detail-card:hover::before { opacity: 1; }
.detail-card__number { position: relative; color: #666b5d; font-size: 9px; }
.detail-card__icon { position: relative; display: block; margin: 68px 0 30px; color: var(--acid-soft); font-size: 30px; }
.detail-card h3 { position: relative; margin-bottom: 16px; font: 700 18px/1.1 var(--display); letter-spacing: .02em; }
.detail-card p { position: relative; color: var(--mist); font-size: 10px; line-height: 1.7; }

.access { background: #0b0d08; }
.access__shell { border: 1px solid var(--line); background: linear-gradient(135deg, #14190d, #090b07); }
.access__head { padding: 44px 48px 36px; display: flex; justify-content: space-between; align-items: end; border-bottom: 1px solid var(--line); }
.access__head h2 { margin: 0; font-size: clamp(44px, 5vw, 72px); }
.application-panel { padding: 52px 48px; animation: panelIn .45s ease both; }
@keyframes panelIn { from { opacity: 0; transform: translateY(8px); } }
.protocol-copy__index { color: var(--acid-soft); font-size: 9px; letter-spacing: .18em; }
.protocol-copy h3, .form-intro h3 { font: 700 clamp(32px, 4vw, 58px)/.96 var(--display); letter-spacing: -.025em; }
.protocol-copy > p:not(.protocol-copy__index), .form-intro > p:last-child { max-width: 560px; color: var(--mist); font-size: 11px; line-height: 1.85; }

.wl-form { display: grid; grid-template-columns: .85fr 1.15fr; gap: 7vw; align-items: start; }
.form-fields { display: grid; gap: 20px; }
.task-list { margin: 0 0 10px; padding: 0; border: 0; border-bottom: 1px solid var(--line); }
.task-list legend { margin-bottom: 10px; color: var(--acid-soft); font-size: 9px; text-transform: uppercase; letter-spacing: .15em; }
.task-wrap { position: relative; border-top: 1px solid var(--line); }
.task-item { min-height: 74px; display: grid; grid-template-columns: 40px 1fr 22px; gap: 14px; align-items: center; cursor: pointer; }
.task-item input { position: absolute; opacity: 0; pointer-events: none; }
.task-item__number { color: #686d5f; font-size: 9px; }
.task-item__copy { color: var(--bone); font-size: 10px; line-height: 1.55; text-transform: uppercase; letter-spacing: .07em; }
.task-item__copy a { color: var(--acid-soft); }
.task-item__box { width: 20px; height: 20px; display: grid; place-items: center; border: 1px solid var(--line-strong); transition: background .2s ease, border-color .2s ease; }
.task-item input:focus-visible ~ .task-item__box { outline: 2px solid var(--acid-soft); outline-offset: 3px; }
.task-item input:checked ~ .task-item__box { background: var(--acid); border-color: var(--acid); }
.task-item input:checked ~ .task-item__box::after { content: "✓"; color: var(--ink); font-weight: 700; }
.task-wrap.is-invalid .task-item__box { border-color: #a64d46; }
.task-error { min-height: 10px; display: block; margin: -8px 0 8px 54px; color: #c86d63; font-size: 8px; }
.task-link { margin: -10px 0 14px 54px; padding: 0; border: 0; color: var(--acid-soft); background: transparent; font-size: 8px; text-transform: uppercase; letter-spacing: .1em; cursor: pointer; }
.task-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.field { display: block; }
.field > span { display: block; margin-bottom: 9px; color: var(--mist); font-size: 9px; text-transform: uppercase; letter-spacing: .14em; }
.field__input { min-height: 54px; display: flex; align-items: center; border: 1px solid var(--line); background: rgba(4,6,3,.52); transition: border-color .2s ease, box-shadow .2s ease; }
.field__input:focus-within { border-color: var(--acid); box-shadow: 0 0 0 3px rgba(132,161,5,.08); }
.field__input b { padding-left: 17px; color: var(--acid-soft); font-weight: 400; }
.field input { width: 100%; height: 52px; padding: 0 16px; border: 0; outline: 0; color: var(--bone); background: transparent; font-size: 12px; }
.field input::placeholder { color: #565b4d; }
.field.is-invalid .field__input { border-color: #a64d46; }
.field small, .check-error { min-height: 12px; display: block; margin-top: 6px; color: #c86d63; font-size: 8px; }
.form-submit { width: 100%; justify-content: space-between; margin-top: 6px; }
.form-status { min-height: 18px; margin: 0; color: var(--acid-soft); font-size: 9px; line-height: 1.6; }

.faq { background: var(--ink); }
.faq__grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 8vw; }
.faq__items { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 86px; display: flex; justify-content: space-between; align-items: center; list-style: none; cursor: pointer; font: 700 17px var(--display); text-transform: uppercase; letter-spacing: .03em; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--acid-soft); font: 400 24px var(--mono); transition: transform .2s ease; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { max-width: 640px; padding: 0 50px 30px 0; color: var(--mist); font-size: 10px; line-height: 1.8; }

.footer { min-height: 620px; position: relative; display: flex; flex-direction: column; justify-content: end; overflow: hidden; border-top: 1px solid var(--line); }
.footer__background { position: absolute; inset: 0; background: linear-gradient(0deg, var(--ink), transparent 60%), url("assets/footer-background.png") center / cover no-repeat; filter: saturate(.82); }
.footer__content { position: relative; padding: 150px 0 90px; }
.footer__content h2 { max-width: 800px; font-size: clamp(66px, 10vw, 150px); }
.footer__actions { display: flex; gap: 12px; }
.footer__bottom { position: relative; min-height: 70px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; border-top: 1px solid var(--line); color: #747969; font-size: 8px; text-transform: uppercase; letter-spacing: .14em; }
.footer__bottom span:nth-child(2) { text-align: center; }
.footer__bottom a { text-align: right; color: var(--acid-soft); }

.toast { position: fixed; z-index: 1500; right: 24px; bottom: 24px; max-width: 340px; padding: 16px 20px; color: var(--ink); background: var(--acid-soft); font-size: 9px; line-height: 1.5; text-transform: uppercase; letter-spacing: .1em; transform: translateY(30px); opacity: 0; pointer-events: none; transition: .3s ease; }
.toast.is-visible { transform: translateY(0); opacity: 1; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.8,.2,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  :root { --wrap: min(100% - 36px, 920px); }
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav { position: fixed; inset: 66px 0 auto; padding: 28px; display: none; flex-direction: column; align-items: flex-start; background: rgba(8,10,5,.97); border-bottom: 1px solid var(--line); }
  .site-nav.is-open { display: flex; }
  .header-actions { display: none; }
  .menu-toggle { display: grid; gap: 7px; width: 40px; height: 40px; padding: 11px; border: 1px solid var(--line); background: transparent; }
  .menu-toggle span { height: 1px; background: var(--bone); }
  .hero { min-height: 820px; }
  .hero__image { background-position: 78% center; }
  .hero__stats { grid-template-columns: repeat(2, 1fr); }
  .hero__stats > div { padding: 12px; border-bottom: 1px solid var(--line); }
  .hero__stats > div + div { padding-left: 12px; }
  .scroll-cue { display: none; }
  .about__grid, .faq__grid, .wl-form { grid-template-columns: 1fr; }
  .about__figure { max-width: 540px; }
  .detail-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-card:nth-child(2) { border-right: 0; }
  .detail-card:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

@media (max-width: 680px) {
  :root { --wrap: calc(100% - 28px); }
  .section { padding: 96px 0; }
  .site-header { min-height: 64px; padding: 12px 14px; }
  .brand__name { font-size: 12px; }
  .hero { min-height: 780px; align-items: end; }
  .hero__image { background-position: 88% center; opacity: .76; }
  .hero__shade { background: linear-gradient(0deg, var(--ink) 3%, rgba(8,10,5,.72) 48%, rgba(8,10,5,.18) 100%); }
  .hero__content { padding: 120px 0 250px; }
  h1 { font-size: clamp(54px, 17vw, 86px); line-height: .82; }
  .hero__lede { max-width: 90%; }
  .hero__actions, .footer__actions { flex-direction: column; align-items: stretch; }
  .hero__stats { bottom: 20px; }
  .hero__stats strong { font-size: 12px; }
  .section-heading, .access__head { align-items: flex-start; flex-direction: column; }
  .section-heading { gap: 24px; margin-bottom: 44px; }
  .section-heading > p { margin: 0; }
  .gallery { grid-auto-columns: 76vw; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card { min-height: 260px; border-right: 0; border-bottom: 1px solid var(--line); }
  .detail-card:last-child { border-bottom: 0; }
  .detail-card__icon { margin: 44px 0 25px; }
  .access__head, .application-panel { padding: 28px 22px; }
  .access__head { gap: 28px; }
  .protocol-copy h3, .form-intro h3 { font-size: 38px; }
  .task-item { grid-template-columns: 32px 1fr 22px; gap: 10px; }
  .task-error, .task-link { margin-left: 42px; }
  .faq__grid { gap: 42px; }
  .faq summary { font-size: 15px; }
  .footer { min-height: 560px; }
  .footer__content { padding-bottom: 70px; }
  .footer__bottom { grid-template-columns: 1fr auto; }
  .footer__bottom span:nth-child(2) { display: none; }
  .toast { right: 14px; bottom: 14px; left: 14px; max-width: none; }
}

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