:root {
  --bg: #07100c;
  --bg-soft: #0b1711;
  --panel: rgba(12, 28, 20, 0.76);
  --panel-strong: #10251a;
  --text: #f4f2e9;
  --muted: #a9b4ac;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #c9a85f;
  --gold-soft: #e1c77e;
  --green: #7fa68d;
  --shadow: 0 28px 80px rgba(0,0,0,.34);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background:
    radial-gradient(circle at 75% 0%, rgba(82,119,91,.17), transparent 34rem),
    radial-gradient(circle at 10% 25%, rgba(201,168,95,.08), transparent 25rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}
body::selection { background: var(--gold); color: #111; }

#engineering-field {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: .23;
  z-index: 0;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: .03;
  z-index: 20;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.6'/%3E%3C/svg%3E");
}

.cursor-aura {
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(201,168,95,.11), rgba(127,166,141,.04) 42%, transparent 70%);
  transform: translate(-50%,-50%);
  z-index: 1;
  transition: opacity .2s ease;
}

.site-header, main, footer { position: relative; z-index: 2; }

.site-header {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}
.brand { display:inline-flex; align-items:center; gap:14px; color:inherit; text-decoration:none; }
.brand-mark { width:42px; height:42px; display:grid; place-items:center; border:1px solid rgba(201,168,95,.6); border-radius:50%; }
.brand-mark svg { width:26px; fill:none; stroke:var(--gold-soft); stroke-width:3; stroke-linecap:round; }
.brand-copy { display:flex; flex-direction:column; line-height:1.1; }
.brand-copy strong { font-family:Manrope,sans-serif; letter-spacing:.18em; font-size:1.05rem; }
.brand-copy small { margin-top:6px; color:var(--muted); font-size:.68rem; letter-spacing:.08em; text-transform:uppercase; }
.desktop-nav { display:flex; gap:34px; }
.desktop-nav a,.header-cta { color:var(--muted); text-decoration:none; font-size:.88rem; transition:.25s ease; }
.desktop-nav a:hover,.header-cta:hover { color:var(--text); }
.header-cta { border:1px solid var(--line); padding:10px 18px; border-radius:999px; }

.hero {
  width:min(1280px,calc(100% - 40px));
  margin:0 auto;
  min-height:760px;
  display:grid;
  grid-template-columns:1.12fr .88fr;
  gap:70px;
  align-items:center;
  position:relative;
  padding:70px 0 100px;
}
.hero-grid {
  position:absolute; inset:0; pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.035) 1px,transparent 1px);
  background-size:72px 72px;
  mask-image:linear-gradient(to bottom,transparent,black 16%,black 85%,transparent);
}
.hero-orbit { position:absolute; border:1px solid rgba(201,168,95,.18); border-radius:50%; pointer-events:none; }
.orbit-one { width:520px; height:520px; right:-140px; top:40px; }
.orbit-two { width:380px; height:380px; right:-70px; top:110px; }
.hero-content,.hero-panel { position:relative; z-index:2; }
.eyebrow,.section-label,.card-kicker { margin:0 0 20px; color:var(--gold-soft); text-transform:uppercase; letter-spacing:.19em; font-size:.75rem; font-weight:700; }
h1,h2,h3 { font-family:Manrope,Inter,sans-serif; margin-top:0; }
h1 { font-size:clamp(3.1rem,7vw,6.8rem); line-height:.98; letter-spacing:-.055em; max-width:980px; margin-bottom:34px; }
.hero-copy { max-width:720px; color:var(--muted); font-size:1.14rem; }
.hero-actions { display:flex; gap:14px; margin-top:40px; flex-wrap:wrap; }
.button { display:inline-flex; justify-content:center; align-items:center; min-height:52px; padding:0 24px; border-radius:999px; text-decoration:none; font-size:.92rem; transition:transform .2s ease,border-color .2s ease,background .2s ease; }
.button.primary { background:var(--gold); color:#11160f; font-weight:700; }
.button.secondary { color:var(--text); border:1px solid var(--line); background:rgba(255,255,255,.02); }
.hero-status { margin-top:30px; display:flex; gap:10px; align-items:center; color:var(--muted); font-size:.82rem; text-transform:uppercase; letter-spacing:.09em; }
.status-dot { width:8px; height:8px; border-radius:50%; background:var(--green); box-shadow:0 0 18px rgba(127,166,141,.9); }

.hero-panel,.field-window,.logo-frame {
  background:linear-gradient(145deg,rgba(19,42,29,.94),rgba(6,16,11,.9));
  border:1px solid rgba(201,168,95,.22);
  box-shadow:var(--shadow);
  transform-style:preserve-3d;
  transition:transform .18s ease-out,border-color .25s ease;
}
.hero-panel { min-height:590px; padding:26px; overflow:hidden; }
.panel-top { display:flex; justify-content:space-between; color:var(--muted); font-size:.68rem; letter-spacing:.16em; padding-bottom:20px; border-bottom:1px solid var(--line); }

.interactive-core { position:relative; height:270px; margin:24px 0; overflow:hidden; border:1px solid rgba(255,255,255,.06); background:radial-gradient(circle at center,rgba(201,168,95,.08),transparent 58%); }
#core-canvas,#simulation-canvas { width:100%; height:100%; display:block; }
.core-label { position:absolute; inset:0; display:grid; place-content:center; text-align:center; pointer-events:none; }
.core-label strong { letter-spacing:.13em; font-size:.8rem; }
.core-label small { margin-top:8px; color:var(--muted); font-size:.68rem; }

.system-nodes { display:grid; gap:12px; }
.system-nodes article { display:grid; grid-template-columns:38px 1fr; column-gap:12px; padding:14px 0; border-top:1px solid var(--line); transition:background .2s ease,padding-left .2s ease; }
.system-nodes article:hover { background:rgba(201,168,95,.04); padding-left:8px; }
.system-nodes article>span { color:var(--gold); font-size:.72rem; }
.system-nodes h3 { margin-bottom:5px; font-size:.95rem; }
.system-nodes p { grid-column:2; margin:0; color:var(--muted); font-size:.78rem; }


.statement,.platforms,.principles,.launch,.contact,.field-demo {
  width:min(1180px,calc(100% - 40px)); margin:0 auto; padding:120px 0; border-top:1px solid var(--line);
}
.statement { display:grid; grid-template-columns:.42fr 1.58fr; gap:80px; }
.statement h2,.section-heading h2,.principles h2,.launch h2,.contact h2,.field-demo h2 { font-size:clamp(2.3rem,5vw,4.8rem); line-height:1.05; letter-spacing:-.045em; margin-bottom:30px; }
.statement h2 { grid-column:2; }
.statement .section-label { grid-column:1; grid-row:1; }
.statement>p:last-child { grid-column:2; max-width:780px; color:var(--muted); font-size:1.05rem; }

.section-heading { display:grid; grid-template-columns:1.25fr .75fr; gap:70px; align-items:end; margin-bottom:58px; }
.section-heading>p { color:var(--muted); max-width:460px; }
.platform-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:16px; }
.platform-card {
  min-height:330px; padding:30px; border:1px solid var(--line); background:rgba(255,255,255,.018);
  display:flex; flex-direction:column; justify-content:space-between; position:relative;
  transition:border-color .25s ease,transform .18s ease-out,background .25s ease;
  transform-style:preserve-3d;
}
.platform-card:hover { border-color:rgba(201,168,95,.45); background:rgba(255,255,255,.03); }
.platform-card.featured { background:linear-gradient(145deg,rgba(201,168,95,.12),rgba(17,39,27,.62)); border-color:rgba(201,168,95,.35); }
.card-number { color:var(--muted); font-size:.72rem; }
.platform-card h3 { font-size:2rem; margin-bottom:14px; }
.platform-card p { color:var(--muted); max-width:500px; }
.card-arrow { position:absolute; right:28px; top:26px; color:var(--gold); font-size:1.2rem; }

.field-demo { display:grid; grid-template-columns:.72fr 1.28fr; gap:70px; align-items:center; }
.field-copy p:last-child { color:var(--muted); }
.field-window { position:relative; height:470px; overflow:hidden; }
.field-hud { position:absolute; left:18px; right:18px; bottom:16px; display:flex; justify-content:space-between; gap:20px; color:var(--gold-soft); font-size:.65rem; letter-spacing:.13em; text-transform:uppercase; pointer-events:none; }

.principles { display:grid; grid-template-columns:.9fr 1.1fr; gap:90px; }
.principles-copy>p:last-child { color:var(--muted); max-width:500px; }
.principle-list article { padding:27px 0; border-top:1px solid var(--line); display:grid; grid-template-columns:60px 1fr; gap:16px; }
.principle-list article:last-child { border-bottom:1px solid var(--line); }
.principle-list span { color:var(--gold); font-size:.74rem; }
.principle-list h3 { margin-bottom:6px; font-size:1.15rem; }
.principle-list p { margin:0; color:var(--muted); }

.launch { display:grid; grid-template-columns:1.25fr .75fr; align-items:end; gap:80px; }
.launch>p { color:var(--muted); }
.contact { text-align:center; padding-bottom:150px; }
.contact h2 { max-width:850px; margin-left:auto; margin-right:auto; }
.contact a { display:inline-block; color:var(--gold-soft); font-size:clamp(1rem,2.4vw,1.5rem); text-decoration:none; border-bottom:1px solid rgba(201,168,95,.35); padding-bottom:6px; }
.contact>p:last-child { color:var(--muted); margin-top:24px; }
footer { width:min(1280px,calc(100% - 40px)); margin:0 auto; min-height:120px; border-top:1px solid var(--line); display:flex; align-items:center; justify-content:space-between; color:var(--muted); font-size:.78rem; }
footer div { display:flex; flex-direction:column; }
footer strong { color:var(--text); letter-spacing:.16em; }

.reveal { opacity:0; transform:translateY(28px); transition:opacity .8s ease,transform .8s ease; }
.reveal.visible { opacity:1; transform:translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { scroll-behavior:auto!important; animation:none!important; transition:none!important; }
  .reveal { opacity:1; transform:none; }
  #engineering-field,.cursor-aura { display:none; }
}
@media (max-width:980px) {
  .desktop-nav { display:none; }
  .hero { grid-template-columns:1fr; gap:40px; padding-top:90px; }
  .hero-panel { max-width:700px; }
  .statement,.section-heading,.principles,.launch,.field-demo { grid-template-columns:1fr; gap:36px; }
  .statement .section-label,.statement h2,.statement>p:last-child { grid-column:1; }
  .statement .section-label { grid-row:auto; }
  .platform-grid { grid-template-columns:1fr; }
}
@media (max-width:640px) {
  .site-header,.hero,.logo-showcase,.statement,.platforms,.principles,.launch,.contact,.field-demo,footer { width:min(100% - 28px,1280px); }
  .site-header { min-height:78px; }
  .brand-copy small,.header-cta { display:none; }
  h1 { font-size:3.25rem; }
  .hero { min-height:auto; padding-top:70px; }
  .hero-panel { min-height:auto; }
  .statement,.platforms,.principles,.launch,.contact,.field-demo { padding:90px 0; }
  .field-window { height:360px; }
  .field-hud { flex-direction:column; gap:4px; }
  footer { padding:28px 0; gap:20px; align-items:flex-start; flex-direction:column; }
}


/* Computational engineering console */
.engineering-console {
  position: relative;
  height: 310px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid rgba(201,168,95,.22);
  background:
    linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    radial-gradient(circle at center, rgba(201,168,95,.08), transparent 48%),
    rgba(4, 17, 12, .72);
  background-size: 36px 36px, 36px 36px, auto, auto;
}

.engineering-console::before,
.engineering-console::after {
  content: "";
  position: absolute;
  inset: 14%;
  border: 1px solid rgba(127,166,141,.12);
  border-radius: 50%;
  pointer-events: none;
}

.engineering-console::after {
  inset: 27%;
  border-color: rgba(201,168,95,.18);
}

.console-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.console-center {
  position: absolute;
  left: 50%;
  top: 48%;
  transform: translate(-50%, -50%);
  text-align: center;
  pointer-events: none;
  z-index: 3;
}

.console-center strong {
  display: block;
  font-family: Manrope, Inter, sans-serif;
  font-size: .82rem;
  line-height: 1.3;
  letter-spacing: .16em;
  color: var(--text);
}

.console-center small {
  display: block;
  max-width: 210px;
  margin-top: 10px;
  color: var(--muted);
  font-size: .66rem;
  line-height: 1.4;
}

.console-readout {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 12px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: .62rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted);
  z-index: 4;
}

.console-readout strong {
  color: var(--gold-soft);
  font-weight: 600;
}

.axis {
  position: absolute;
  left: 50%;
  top: 50%;
  transform-origin: left center;
  height: 1px;
  background: linear-gradient(90deg, rgba(201,168,95,.75), rgba(201,168,95,0));
}

.axis::after {
  content: "";
  position: absolute;
  right: 0;
  top: -3px;
  width: 7px;
  height: 7px;
  border-top: 1px solid var(--gold-soft);
  border-right: 1px solid var(--gold-soft);
  transform: rotate(45deg);
}

.axis span {
  position: absolute;
  right: -14px;
  top: -10px;
  color: var(--gold-soft);
  font-size: .55rem;
  letter-spacing: .08em;
}

.axis-x { width: 96px; transform: rotate(0deg); }
.axis-y { width: 82px; transform: rotate(-90deg); }
.axis-z { width: 75px; transform: rotate(145deg); }

.field-tag {
  position: absolute;
  padding: 4px 7px;
  border: 1px solid rgba(201,168,95,.18);
  background: rgba(7,16,12,.66);
  color: var(--muted);
  font-size: .53rem;
  letter-spacing: .11em;
}

.tag-a { left: 8%; top: 17%; }
.tag-b { right: 7%; top: 21%; }
.tag-c { right: 9%; bottom: 24%; }

.probe {
  position: absolute;
  width: 7px;
  height: 7px;
  border: 1px solid var(--gold-soft);
  border-radius: 50%;
  box-shadow: 0 0 14px rgba(201,168,95,.55);
}

.probe::before {
  content: "";
  position: absolute;
  inset: -7px;
  border: 1px solid rgba(201,168,95,.18);
  border-radius: 50%;
}

.probe-a { left: 27%; top: 34%; }
.probe-b { right: 26%; top: 43%; }
.probe-c { left: 45%; bottom: 22%; }

.engineering-nodes article {
  grid-template-columns: 42px 1fr;
}

.engineering-nodes h3 {
  font-size: .98rem;
}

@media (max-width: 640px) {
  .engineering-console {
    height: 270px;
  }
  .field-tag {
    display: none;
  }
  .console-readout {
    flex-direction: column;
    gap: 4px;
  }
}
