:root {
  --font-geist-sans: Arial, Helvetica, sans-serif;
  --font-geist-mono: "Courier New", Courier, monospace;
  --ink: #e7f0d5;
  --muted: #91a991;
  --night: #030806;
  --forest: #07150f;
  --panel: #0a1d15;
  --line: #244a34;
  --signal: #f0e83e;
  --signal-soft: #b8ff70;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--night); }
body {
  margin: 0;
  background: var(--night);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, sans-serif;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
::selection { background: var(--signal); color: #07100a; }

main {
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 11%, rgba(74, 255, 120, .08), transparent 29rem),
    linear-gradient(180deg, #020604 0%, #06110c 56%, #020604 100%);
}

.site-header {
  position: absolute;
  z-index: 20;
  inset: 0 0 auto 0;
  height: 88px;
  padding: 0 clamp(24px, 4vw, 72px);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(110, 160, 118, .28);
  background: linear-gradient(180deg, rgba(2, 8, 5, .92), rgba(2, 8, 5, .28));
  backdrop-filter: blur(10px);
}

.brand { display: inline-flex; align-items: center; gap: 12px; font: 650 12px/1 var(--font-geist-mono); letter-spacing: .12em; }
.brand-mark {
  width: 33px; height: 33px; display: grid; place-items: center;
  color: #07100a; background: var(--signal); font: 900 20px/1 "Arial Black", sans-serif;
  clip-path: polygon(0 0, 100% 0, 100% 72%, 72% 100%, 0 100%);
}
.primary-nav { display: flex; align-items: center; gap: 34px; }
.primary-nav a { position: relative; padding: 12px 0; color: #bfd0b8; font: 600 12px/1 var(--font-geist-mono); text-transform: uppercase; letter-spacing: .08em; }
.primary-nav a span { color: #56705d; margin-right: 7px; }
.primary-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 2px; background: var(--signal); transition: right .25s ease; }
.primary-nav a:hover::after, .primary-nav a:focus-visible::after { right: 0; }
.system-state { justify-self: end; display: flex; align-items: center; gap: 9px; color: #7d947f; font: 600 10px/1 var(--font-geist-mono); letter-spacing: .15em; text-transform: uppercase; }
.pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--signal-soft); box-shadow: 0 0 14px var(--signal-soft); animation: pulse 2s ease-in-out infinite; }

.hero {
  position: relative;
  min-height: 100svh;
  padding: 150px clamp(24px, 6vw, 110px) 80px;
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(380px, .96fr);
  align-items: center;
  isolation: isolate;
  border-bottom: 1px solid var(--line);
}
.grid-noise {
  position: absolute; inset: 0; z-index: -2; opacity: .34;
  background-image:
    linear-gradient(rgba(80, 141, 91, .14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(80, 141, 91, .14) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(90deg, #000 0%, transparent 88%);
}
.grid-noise::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 4px, rgba(0, 0, 0, .3) 5px); }
.hero-copy { position: relative; z-index: 2; max-width: 760px; }
.kicker { margin: 0 0 22px; color: #8ba28d; font: 600 11px/1.2 var(--font-geist-mono); letter-spacing: .16em; text-transform: uppercase; }
.kicker span { color: var(--signal); }
h1, h2, h3 { margin: 0; font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif; font-weight: 800; text-transform: uppercase; }
h1 { max-width: 760px; font-size: clamp(76px, 9.3vw, 166px); line-height: .78; letter-spacing: -.035em; color: #edf3dc; text-shadow: 9px 7px 0 rgba(28, 57, 41, .8); }
h1 em, h2 em { color: var(--signal); font-style: normal; }
.hero-deck { max-width: 650px; margin: 34px 0 0; padding-left: 22px; border-left: 3px solid var(--signal); color: #aec0aa; font-size: clamp(16px, 1.35vw, 20px); line-height: 1.65; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.button { min-height: 50px; padding: 0 22px; display: inline-flex; align-items: center; justify-content: center; gap: 22px; font: 750 11px/1 var(--font-geist-mono); letter-spacing: .09em; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease; clip-path: polygon(0 0, calc(100% - 12px) 0, 100% 12px, 100% 100%, 12px 100%, 0 calc(100% - 12px)); }
.button:hover, .button:focus-visible { transform: translateY(-3px); }
.button-primary { background: var(--signal); color: #06110b; }
.button-primary span { font-size: 18px; }
.button-quiet { border: 1px solid #365b40; background: rgba(4, 15, 9, .56); color: #c7d6be; }
.hero-meta { display: flex; gap: clamp(24px, 4vw, 58px); margin: 48px 0 0; }
.hero-meta div { display: grid; gap: 8px; }
.hero-meta dt { color: #58705d; font: 600 9px/1 var(--font-geist-mono); text-transform: uppercase; letter-spacing: .18em; }
.hero-meta dd { margin: 0; color: #d4e1ca; font: 700 11px/1 var(--font-geist-mono); letter-spacing: .08em; }

.hero-visual { position: relative; justify-self: end; width: min(48vw, 720px); aspect-ratio: 1; display: grid; place-items: center; }
.logo-stage { position: relative; z-index: 2; width: 76%; aspect-ratio: 1; filter: drop-shadow(0 0 36px rgba(240, 232, 62, .12)); animation: hover 6s ease-in-out infinite; }
.logo-stage::after { content: ""; position: absolute; inset: 12% 10% 6%; border-radius: 50%; box-shadow: inset -35px -20px 50px rgba(0, 53, 24, .22); mix-blend-mode: screen; pointer-events: none; }
.logo-stage img { width: 100%; height: 100%; object-fit: contain; display: block; }
.target-ring { position: absolute; border: 1px solid rgba(134, 176, 119, .32); border-radius: 50%; }
.target-ring::before, .target-ring::after { content: ""; position: absolute; background: var(--signal); }
.target-ring::before { width: 18px; height: 2px; left: -9px; top: 50%; }
.target-ring::after { width: 2px; height: 18px; top: -9px; left: 50%; }
.ring-one { width: 88%; height: 88%; animation: spin 22s linear infinite; }
.ring-two { width: 68%; height: 68%; border-style: dashed; animation: spin 16s linear infinite reverse; }
.visual-tag { position: absolute; z-index: 4; color: #79927c; font: 600 9px/1 var(--font-geist-mono); letter-spacing: .15em; }
.tag-top { top: 12%; right: 9%; }
.tag-bottom { left: 8%; bottom: 15%; color: var(--signal); }
.scanline { position: absolute; z-index: 5; left: 14%; right: 14%; height: 1px; top: 15%; background: linear-gradient(90deg, transparent, var(--signal-soft), transparent); box-shadow: 0 0 12px var(--signal-soft); opacity: .36; animation: scan 4.8s ease-in-out infinite; }
.scroll-cue { position: absolute; right: 34px; bottom: 32px; display: flex; align-items: center; gap: 14px; color: #516855; font: 600 9px/1 var(--font-geist-mono); text-transform: uppercase; letter-spacing: .18em; transform: rotate(90deg) translateX(100%); transform-origin: right bottom; }
.scroll-cue i { width: 52px; height: 1px; background: #4f6854; position: relative; }
.scroll-cue i::after { content: ""; position: absolute; right: 0; top: -2px; width: 5px; height: 5px; background: var(--signal); }

.section-shell { padding: clamp(90px, 12vw, 180px) clamp(24px, 7vw, 130px); }
.manifesto { position: relative; display: grid; grid-template-columns: .35fr 1.15fr 1fr; gap: clamp(30px, 5vw, 90px); border-bottom: 1px solid var(--line); background: linear-gradient(100deg, #091a12, #041009 70%); }
.manifesto::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 62% 50%, rgba(126, 255, 134, .06), transparent 28rem); }
.section-index { color: #5f7864; font: 650 10px/1 var(--font-geist-mono); letter-spacing: .16em; writing-mode: vertical-rl; }
.manifesto h2 { font-size: clamp(58px, 7vw, 118px); line-height: .84; letter-spacing: -.025em; }
.manifesto-body { position: relative; align-self: end; max-width: 520px; color: #a9bba6; font-size: 16px; line-height: 1.75; }
.manifesto-body p { margin: 0 0 22px; }
.directive-stamp { margin-top: 44px; padding: 18px 22px; width: max-content; display: flex; align-items: center; gap: 20px; border: 1px solid #456147; color: var(--signal); transform: rotate(-2deg); }
.directive-stamp strong { font: 900 32px/1 "Arial Black", sans-serif; }
.directive-stamp span { font: 700 9px/1.5 var(--font-geist-mono); letter-spacing: .13em; }

.projects { background: #030a06; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 40px; margin-bottom: 54px; }
.section-heading h2 { font-size: clamp(64px, 8vw, 128px); line-height: .85; letter-spacing: -.025em; }
.section-heading h2 span { color: var(--signal); font-size: .3em; vertical-align: top; margin-left: 12px; }
.section-heading > p { max-width: 410px; color: #7f9681; font: 500 12px/1.7 var(--font-geist-mono); }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.project-card { position: relative; overflow: hidden; min-width: 0; border: 1px solid #244632; background: #08160f; clip-path: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 0 100%); transition: transform .25s ease, border-color .25s ease; }
.project-card:hover { transform: translateY(-8px); border-color: var(--signal); }
.card-topline { height: 44px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #244632; color: #778e79; font: 650 9px/1 var(--font-geist-mono); letter-spacing: .11em; }
.status-dot { display: inline-flex; align-items: center; gap: 8px; color: var(--signal-soft); }
.status-dot::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; box-shadow: 0 0 8px currentColor; }
.project-graphic { position: relative; height: 270px; display: grid; place-items: center; overflow: hidden; border-bottom: 1px solid #244632; background-color: #0b1c13; background-image: linear-gradient(rgba(86, 143, 89, .15) 1px, transparent 1px), linear-gradient(90deg, rgba(86, 143, 89, .15) 1px, transparent 1px); background-size: 28px 28px; }
.project-graphic::before, .project-graphic::after { content: ""; position: absolute; }
.project-graphic::before { width: 150px; height: 150px; border: 1px solid #4a6c4d; transform: rotate(45deg); }
.project-graphic::after { width: 90px; height: 90px; border: 10px solid rgba(240, 232, 62, .78); border-radius: 50%; box-shadow: 0 0 45px rgba(240, 232, 62, .14); }
.graphic-2::before { border-radius: 50%; width: 180px; height: 180px; }
.graphic-2::after { width: 115px; height: 115px; border-width: 1px; border-radius: 0; transform: rotate(18deg); }
.graphic-3::before { width: 200px; height: 90px; transform: skewX(-20deg); border-color: var(--signal); }
.graphic-3::after { width: 46px; height: 190px; border-width: 1px 12px; border-radius: 0; }
.graphic-number { position: absolute; z-index: 1; right: 12px; bottom: -18px; color: rgba(148, 184, 146, .09); font: 900 120px/1 "Arial Black", sans-serif; }
.graphic-core { position: relative; z-index: 3; width: 18px; height: 18px; background: var(--signal); box-shadow: 0 0 32px var(--signal); transform: rotate(45deg); }
.project-info { padding: 26px 24px 28px; }
.project-info > p:first-child { margin: 0 0 8px; color: #7d957f; font: 600 10px/1 var(--font-geist-mono); text-transform: uppercase; letter-spacing: .08em; }
.project-info h3 { font-size: clamp(28px, 2.8vw, 44px); line-height: 1; letter-spacing: -.015em; color: #e5ecd5; }
.project-copy { min-height: 94px; margin: 18px 0 28px; color: #91a48f; font-size: 14px; line-height: 1.6; }
.progress-row { display: flex; justify-content: space-between; color: #668069; font: 600 9px/1 var(--font-geist-mono); text-transform: uppercase; letter-spacing: .1em; }
.progress-row strong { color: var(--signal); }
.progress-track { height: 2px; margin-top: 10px; background: #1a3725; }
.progress-track span { display: block; height: 100%; background: var(--signal); box-shadow: 0 0 10px rgba(240, 232, 62, .4); }

.contact { position: relative; overflow: hidden; min-height: 680px; padding: clamp(100px, 13vw, 200px) clamp(24px, 8vw, 150px); display: grid; grid-template-columns: 1.2fr .8fr; align-items: center; gap: 70px; background: var(--signal); color: #06110b; }
.contact::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(#06110b 1px, transparent 1px), linear-gradient(90deg, #06110b 1px, transparent 1px); background-size: 46px 46px; }
.contact-orbit { position: absolute; width: 680px; height: 680px; border: 80px solid rgba(4, 16, 9, .07); border-radius: 50%; right: -180px; top: -210px; }
.contact-copy, .contact-panel { position: relative; z-index: 1; }
.contact .kicker { color: #3b4b16; }
.contact h2 { font-size: clamp(70px, 9vw, 150px); line-height: .79; letter-spacing: -.03em; }
.contact h2 em { color: #0b2918; }
.contact-copy > p:last-child { max-width: 630px; margin: 32px 0 0; color: #263410; font-size: 17px; line-height: 1.65; }
.contact-panel { width: 100%; max-width: 580px; justify-self: end; padding: clamp(26px, 3vw, 38px); border: 1px solid #183e2a; background: #07130d; color: #90a791; box-shadow: 14px 14px 0 rgba(7, 19, 13, .12); clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 0 100%); }
.contact-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 20px; border-bottom: 1px solid #244a34; }
.contact-panel-head > div { display: grid; gap: 8px; }
.contact-panel-head strong { color: #e7f0d5; font: 800 24px/1 var(--font-geist-sans); letter-spacing: -.02em; }
.form-eyebrow { color: var(--signal); font: 700 9px/1 var(--font-geist-mono); letter-spacing: .14em; text-transform: uppercase; }
.channel-status { display: inline-flex; align-items: center; gap: 8px; color: var(--signal-soft); font: 700 9px/1 var(--font-geist-mono); letter-spacing: .12em; text-transform: uppercase; }
.channel-status i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.form-intro { margin: 20px 0 26px; color: #78907b; font-size: 13px; line-height: 1.55; }
.contact-form { display: grid; gap: 21px; }
.form-field { display: grid; gap: 10px; }
.field-label { display: inline-flex; align-items: center; gap: 10px; color: #9db19c; font: 700 9px/1 var(--font-geist-mono); letter-spacing: .11em; text-transform: uppercase; }
.field-label b { min-width: 22px; color: var(--signal); font: inherit; }
.form-field input,
.form-field textarea { width: 100%; border: 1px solid #284b36; border-radius: 0; outline: none; background: #0a1c13; color: #e1ead6; padding: 15px 16px; font: 500 14px/1.5 var(--font-geist-sans); transition: border-color .2s ease, box-shadow .2s ease, background .2s ease; }
.form-field input { min-height: 52px; }
.form-field textarea { min-height: 150px; resize: vertical; }
.form-field input::placeholder,
.form-field textarea::placeholder { color: #536c59; opacity: 1; }
.form-field input:hover,
.form-field textarea:hover { border-color: #4f7757; }
.form-field input:focus,
.form-field textarea:focus { border-color: var(--signal); background: #0d2117; box-shadow: 0 0 0 2px rgba(240, 232, 62, .12); }
.contact-submit { width: 100%; min-height: 54px; border: 0; margin-top: 3px; cursor: pointer; }
.contact-submit:focus-visible { outline: 2px solid #e7f0d5; outline-offset: 3px; }
.form-notice { margin: 0 0 24px; padding: 13px 14px; border-left: 3px solid currentColor; font: 650 10px/1.5 var(--font-geist-mono); letter-spacing: .04em; }
.form-notice-success { background: rgba(184, 255, 112, .1); color: var(--signal-soft); }
.form-notice-error { background: rgba(255, 103, 79, .1); color: #ff8c74; }
.honeypot { position: absolute !important; width: 1px !important; height: 1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; }

footer { min-height: 110px; padding: 0 clamp(24px, 5vw, 80px); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 30px; border-top: 1px solid #193423; background: #020604; color: #657a68; font: 600 9px/1 var(--font-geist-mono); letter-spacing: .1em; text-transform: uppercase; }
footer p { margin: 0; text-align: center; }
footer > a:last-child { justify-self: end; color: var(--signal); }

@keyframes pulse { 50% { opacity: .35; transform: scale(.75); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes hover { 50% { transform: translateY(-12px) rotate(.5deg); } }
@keyframes scan { 0%, 100% { top: 18%; opacity: 0; } 20%, 80% { opacity: .42; } 50% { top: 78%; } }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .system-state { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 140px; }
  .hero-copy { max-width: 700px; }
  .hero-visual { width: min(88vw, 640px); justify-self: center; margin-top: 20px; }
  .scroll-cue { display: none; }
  .manifesto { grid-template-columns: 40px 1fr; }
  .manifesto-body { grid-column: 2; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card { display: grid; grid-template-columns: .9fr 1.1fr; }
  .card-topline { grid-column: 1 / -1; }
  .project-graphic { height: 100%; min-height: 330px; border-right: 1px solid #244632; border-bottom: 0; }
  .contact { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
  .site-header { height: auto; min-height: 78px; padding: 14px 18px; align-items: start; }
  .brand > span:last-child { display: none; }
  .primary-nav { gap: 17px; padding-top: 9px; }
  .primary-nav a { font-size: 10px; }
  .primary-nav a span { display: none; }
  .hero { padding: 132px 20px 65px; }
  h1 { font-size: clamp(68px, 23vw, 104px); }
  .hero-deck { font-size: 15px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-meta { justify-content: space-between; gap: 12px; }
  .hero-visual { width: 112vw; margin-left: -10vw; }
  .section-shell { padding: 88px 20px; }
  .manifesto { grid-template-columns: 1fr; }
  .section-index { writing-mode: initial; }
  .manifesto-body { grid-column: auto; }
  .manifesto h2, .section-heading h2 { font-size: 58px; }
  .section-heading { display: block; }
  .section-heading > p { margin-top: 24px; }
  .project-card { display: block; }
  .project-graphic { height: 260px; min-height: 0; border-right: 0; border-bottom: 1px solid #244632; }
  .project-copy { min-height: auto; }
  .contact { min-height: 0; padding: 100px 20px; }
  .contact h2 { font-size: 68px; }
  .contact-panel { padding: 24px 20px; }
  footer { padding: 30px 20px; grid-template-columns: 1fr auto; }
  footer p { display: 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; }
}
