/* Field — variant 3: dark cinematic physics, no formulas */

:root {
  --orange: #f05a1a;
  --orange-soft: rgba(240, 90, 26, 0.55);
  --orange-glow: rgba(240, 90, 26, 0.18);
  --black: #080808;
  --surface: #111111;
  --surface-2: #1a1a1a;
  --border: #2a2a2a;
  --text: #ececec;
  --muted: #888888;
  --font: "Manrope", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body.field-variant {
  margin: 0;
  font-family: var(--font);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--black);
  overflow-x: hidden;
}

/* Particle canvas layer */
.particle-field {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 2px;
  height: 2px;
  background: var(--orange);
  border-radius: 50%;
  opacity: 0;
  animation: drift linear infinite;
}

@keyframes drift {
  0%   { opacity: 0; transform: translate(0, 0) scale(1); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.3; }
  100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(0.4); }
}

/* Layout shell */
.field-wrap {
  position: relative;
  z-index: 1;
}

.field-container {
  width: min(1080px, 90vw);
  margin-inline: auto;
}

/* Top bar */
.field-top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 5vw;
  background: linear-gradient(to bottom, rgba(8,8,8,0.95) 60%, transparent);
}

.field-logo {
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text);
  text-decoration: none;
}

.field-logo span { color: var(--orange); }

.field-top nav {
  display: flex;
  gap: 2rem;
}

.field-top nav a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s;
}

.field-top nav a:hover { color: var(--orange); }

/* Side scroll indicator */
.scroll-rail {
  position: fixed;
  right: 2rem;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.scroll-rail a {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  transition: background 0.25s, border-color 0.25s, transform 0.25s;
}

.scroll-rail a:hover,
.scroll-rail a.active {
  background: var(--orange);
  border-color: var(--orange);
  transform: scale(1.3);
}

/* Hero — full viewport */
.field-hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 5vw 6rem;
  position: relative;
}

.field-hero::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--orange-soft), transparent);
}

.hero-beam {
  position: absolute;
  top: 15%;
  right: 10%;
  width: 1px;
  height: 55vh;
  background: linear-gradient(to bottom, transparent, var(--orange), transparent);
  opacity: 0.4;
  transform: rotate(12deg);
  box-shadow: 0 0 40px var(--orange-glow);
}

.hero-arc {
  position: absolute;
  top: 8%;
  right: 5%;
  width: min(420px, 50vw);
  height: min(420px, 50vw);
  border: 1px solid var(--border);
  border-radius: 50%;
  opacity: 0.5;
}

.hero-arc::after {
  content: "";
  position: absolute;
  inset: 30%;
  border: 1px dashed var(--orange-soft);
  border-radius: 50%;
}

.field-hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin: 0 0 1.5rem;
  max-width: 14ch;
}

.field-hero h1 .warm {
  color: var(--orange);
}

.field-hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--muted);
  max-width: 42ch;
  margin: 0 0 2.5rem;
  line-height: 1.75;
}

.field-hero-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.5rem;
}

.scroll-hint {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--mono);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.scroll-hint::after {
  content: "";
  width: 48px;
  height: 1px;
  background: var(--border);
  animation: extend 2s ease infinite;
}

@keyframes extend {
  0%, 100% { width: 32px; opacity: 0.4; }
  50% { width: 64px; opacity: 1; }
}

/* Bento about */
.field-section {
  padding: 7rem 5vw;
  border-top: 1px solid var(--border);
}

.section-label {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.field-section h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 3rem;
  line-height: 1.15;
}

.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: auto auto;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.bento-cell {
  background: var(--surface);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 200px;
  transition: background 0.3s;
}

.bento-cell:hover { background: var(--surface-2); }

.bento-wide { grid-column: span 7; }
.bento-narrow { grid-column: span 5; }
.bento-third { grid-column: span 4; }

.bento-glyph {
  width: 40px;
  height: 40px;
  margin-bottom: 1.25rem;
  position: relative;
}

/* Pure shape glyphs — no symbols */
.glyph-pulse {
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 20px var(--orange-glow);
  animation: pulse-glow 2.5s ease infinite;
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 12px var(--orange-glow); }
  50% { box-shadow: 0 0 28px var(--orange-soft); }
}

.glyph-track {
  width: 40px;
  height: 40px;
  border-left: 2px solid var(--orange);
  border-bottom: 2px solid var(--muted);
  transform: skewX(-20deg);
}

.glyph-wave {
  width: 40px;
  height: 20px;
  border-top: 2px solid var(--orange);
  border-radius: 50% 50% 0 0;
}

.glyph-layer {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.glyph-layer span {
  display: block;
  height: 2px;
  background: var(--muted);
}

.glyph-layer span:first-child { width: 100%; background: var(--orange); }
.glyph-layer span:nth-child(2) { width: 75%; }
.glyph-layer span:nth-child(3) { width: 50%; }

.bento-cell h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
  font-weight: 700;
}

.bento-cell p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.bento-statement {
  grid-column: span 12;
  background: var(--black);
  padding: 3rem 2rem;
  font-size: clamp(1.1rem, 2.5vw, 1.45rem);
  font-weight: 500;
  line-height: 1.6;
  color: var(--muted);
  border-top: 1px solid var(--border);
}

.bento-statement strong {
  color: var(--text);
  font-weight: 600;
}

/* Vertical chain — approach */
.chain {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 640px;
}

.chain-step {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 1.5rem;
  padding: 2rem 0;
  border-bottom: 1px solid var(--border);
  position: relative;
}

.chain-step:last-child { border-bottom: none; }

.chain-node {
  width: 48px;
  height: 48px;
  border: 1px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chain-node::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--orange-glow);
}

.chain-step:not(:last-child) .chain-node::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: calc(2rem + 48px);
  background: linear-gradient(to bottom, var(--orange-soft), var(--border));
}

.chain-step h3 {
  margin: 0 0 0.35rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.chain-step p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Project — immersive */
.project-immersive {
  position: relative;
  border: 1px solid var(--border);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 360px;
}

.project-immersive::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 80% 50%, var(--orange-glow), transparent);
  pointer-events: none;
}

.project-content {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.project-status {
  font-family: var(--mono);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1rem;
}

.project-content h3 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.5rem;
}

.project-sub {
  color: var(--muted);
  margin: 0 0 1.25rem;
  font-size: 0.95rem;
}

.project-content p {
  color: var(--muted);
  margin: 0 0 2rem;
  max-width: 38ch;
  font-size: 0.95rem;
}

.project-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text);
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--orange);
  width: fit-content;
  transition: color 0.2s, gap 0.2s;
}

.project-cta:hover {
  color: var(--orange);
  gap: 0.85rem;
}

.project-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 280px;
}

/* Abstract collision tracks — pure visual */
.tracks-svg {
  width: 90%;
  max-width: 320px;
  height: auto;
  opacity: 0.85;
}

.track {
  fill: none;
  stroke: var(--muted);
  stroke-width: 1;
  stroke-linecap: round;
}

.track-hot {
  stroke: var(--orange);
  stroke-width: 1.5;
  opacity: 0.8;
}

.track-fade {
  opacity: 0.25;
}

.project-soon {
  margin-top: 1.5rem;
  padding: 1.25rem 1.5rem;
  border: 1px dashed var(--border);
  color: var(--muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.soon-light {
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
  animation: pulse-glow 2s ease infinite;
  flex-shrink: 0;
}

/* Team — horizontal strip */
.team-strip {
  display: flex;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.team-member {
  flex: 1;
  background: var(--surface);
  padding: 2.5rem 2rem;
  text-align: left;
  transition: background 0.3s;
}

.team-member:hover { background: var(--surface-2); }

.team-line {
  width: 32px;
  height: 2px;
  background: var(--orange);
  margin-bottom: 1.5rem;
}

.team-member h3 {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.team-member p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Footer */
.field-footer {
  padding: 2.5rem 5vw;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.field-footer p {
  margin: 0;
  font-family: var(--mono);
  font-size: 0.75rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

/* Variant bar */
.variant-bar {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 200;
  display: flex;
  gap: 0.35rem;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 0.35rem;
  border-radius: 8px;
}

.variant-bar a {
  font-family: var(--mono);
  font-size: 0.68rem;
  color: var(--muted);
  text-decoration: none;
  padding: 0.4rem 0.65rem;
  border-radius: 5px;
  transition: background 0.2s, color 0.2s;
}

.variant-bar a:hover { color: var(--text); }

.variant-bar a.active {
  background: var(--orange);
  color: var(--black);
  font-weight: 500;
}

/* Reveal */
.field-reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.field-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 800px) {
  .scroll-rail { display: none; }

  .bento-wide,
  .bento-narrow,
  .bento-third { grid-column: span 12; }

  .project-immersive { grid-template-columns: 1fr; }

  .project-visual { min-height: 200px; padding: 2rem; }

  .team-strip { flex-direction: column; }

  .field-top nav { display: none; }
}

@media (max-width: 520px) {
  .field-hero { padding-bottom: 4rem; }

  .hero-arc { display: none; }
}
