/* Premium 3D direction: industrial objects, quiet type, deliberate motion. */
:root {
  --premium-bg: #070807;
  --premium-surface: #0d100f;
  --premium-paper: #f2f3ee;
  --premium-muted: rgba(242, 243, 238, 0.63);
  --premium-dim: rgba(242, 243, 238, 0.38);
  --premium-line: rgba(242, 243, 238, 0.14);
  --premium-lime: #d7ff65;
  --premium-coral: #ff626b;
  --premium-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

html { background: var(--premium-bg); }
body { background: var(--premium-bg); color: var(--premium-paper); overflow-x: hidden; }
body::before { opacity: 0.1; background-size: 96px 96px; mask-image: linear-gradient(to bottom, black, transparent 44%); }
.space-stage, .space-atmosphere, .space-scrim { display: none; }
.site-main { background: radial-gradient(circle at 87% 5%, rgba(215, 255, 101, 0.06), transparent 24rem), linear-gradient(180deg, #090b09 0%, #070807 58%, #0b0d0b 100%); }

.site-header { min-height: 84px; padding-inline: clamp(24px, 6vw, 96px); border-bottom-color: transparent; background: transparent; }
.site-header.is-scrolled { background: rgba(7, 8, 7, 0.84); border-bottom-color: var(--premium-line); }
.wordmark { font-size: 1.2rem !important; letter-spacing: -0.08em !important; }
.primary-nav { gap: clamp(20px, 3vw, 48px); }
.primary-nav > a, .nav-services > a { color: rgba(242, 243, 238, 0.74); font-size: 0.63rem; letter-spacing: 0.18em; }
.primary-nav .nav-contact { padding: 10px 18px; border-color: rgba(215, 255, 101, 0.52); border-radius: 999px; color: var(--premium-lime); }

.hero { width: min(100%, 1500px); min-height: min(900px, 100dvh); padding: 148px clamp(24px, 6vw, 96px) 80px; grid-template-columns: minmax(360px, 0.86fr) minmax(0, 1.14fr); gap: clamp(44px, 7vw, 112px); overflow: clip; }
.hero::before { content: "01 / 06  -  OPERATIONS, WITHOUT THE NOISE"; position: absolute; top: 112px; right: clamp(24px, 6vw, 96px); color: var(--premium-dim); font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.15em; }
.hero-copy { width: min(570px, 100%); align-self: center; padding-bottom: 2vh; }
.hero-kicker { display: inline-flex; align-items: center; gap: 11px; margin-bottom: 28px; color: var(--premium-lime); font-size: 0.56rem; letter-spacing: 0.18em; }
.hero-kicker::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--premium-coral); box-shadow: 0 0 0 5px rgba(255, 98, 107, 0.12); }
.hero h1 { max-width: 7.5ch; font-family: var(--font-display); font-size: clamp(4rem, 7.3vw, 8.4rem); font-weight: 600; letter-spacing: -0.095em; line-height: 0.86; text-transform: none; }
.hero h1 span { white-space: normal; }
.hero h1 span:nth-child(2) { color: var(--premium-lime); }
.hero h1 span:last-child { color: var(--premium-paper); transform: none; }
.hero-intro { max-width: 34ch; margin-top: 38px; color: var(--premium-muted); font-size: clamp(1.04rem, 1.3vw, 1.22rem); line-height: 1.63; }
.hero-actions { margin-top: 34px; gap: 18px; }
.button { min-height: 52px; padding-inline: 22px; border-radius: 999px; font-size: 0.62rem; letter-spacing: 0.12em; }
.button-primary { background: var(--premium-lime); color: #101407; box-shadow: 0 16px 42px rgba(215, 255, 101, 0.12); }
.button-primary:hover { background: #edffb0; color: #101407; }
.text-link { font-size: 0.62rem; letter-spacing: 0.1em; }
.text-link::after { background: var(--premium-coral); }

.hero-visual { position: relative; min-height: min(68vh, 680px); align-self: center; isolation: isolate; overflow: clip; border: 1px solid rgba(242, 243, 238, 0.18); border-radius: 18px; background: #0b0d0c; box-shadow: 0 44px 120px rgba(0, 0, 0, 0.44); }
.hero-visual::before { content: ""; position: absolute; inset: 0; z-index: -1; background: url("../assets/generated/automation-workflow-engine-v3.png") 72% 50% / cover no-repeat; filter: saturate(0.94) contrast(1.06); transform: perspective(1100px) translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) rotateX(var(--hero-tilt-y, 0deg)) rotateY(var(--hero-tilt-x, 0deg)) scale(1.03); transform-origin: center; transition: transform 900ms var(--premium-ease), filter 600ms var(--premium-ease); }
.hero-visual::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(90deg, rgba(7, 8, 7, 0.48), transparent 45%), linear-gradient(180deg, rgba(7, 8, 7, 0.1), transparent 48%, rgba(7, 8, 7, 0.72)); }
.hero-visual:hover::before { filter: saturate(1.05) contrast(1.08); transform: perspective(1100px) translate3d(var(--hero-shift-x, 0), var(--hero-shift-y, 0), 0) rotateX(var(--hero-tilt-y, 0deg)) rotateY(var(--hero-tilt-x, 0deg)) scale(1.06); }
.hero-orbit-ui { position: absolute; top: 22px; left: 24px; width: 74px; height: 74px; border: 1px solid rgba(215, 255, 101, 0.42); border-radius: 50%; opacity: 0.72; }
.hero-orbit-ui::before, .hero-orbit-ui::after { content: ""; position: absolute; inset: 18px; border: 1px solid rgba(255, 98, 107, 0.48); border-radius: 50%; }
.hero-orbit-ui::after { inset: 36px -8px; border-color: rgba(215, 255, 101, 0.6); transform: rotate(-26deg); }
.hero-readout { right: 22px; bottom: 22px; width: min(330px, calc(100% - 44px)); padding: 16px 18px; border: 1px solid rgba(215, 255, 101, 0.38); border-radius: 10px; background: rgba(7, 8, 7, 0.78); backdrop-filter: blur(16px); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34); }
.hero-readout-head, .hero-readout-row { gap: 12px; }
.hero-readout-head { padding-bottom: 11px; border-bottom-color: var(--premium-line); font-size: 0.54rem; }
.hero-readout-head span:last-child { color: var(--premium-lime); }
.hero-readout-row { padding-top: 11px; color: var(--premium-muted); font-size: 0.59rem; }
.hero-readout-row strong { color: var(--premium-paper); font-weight: 500; }

.control-strip { width: min(calc(100% - 48px), 1280px); margin: -1px auto 0; padding: 0; grid-template-columns: 1.35fr repeat(3, 1fr); gap: 0; border: 0; border-top: 1px solid var(--premium-line); border-bottom: 1px solid var(--premium-line); border-radius: 0; background: transparent; }
.control-strip div { min-height: 90px; padding: 18px 22px; border-left: 1px solid var(--premium-line); }
.control-strip div:first-child { padding-left: 0; border-left: 0; }
.control-strip span { color: var(--premium-dim); font-size: 0.52rem; letter-spacing: 0.15em; }
.control-strip strong { font-size: clamp(1.2rem, 2vw, 1.9rem); font-weight: 500; letter-spacing: -0.05em; }
.control-strip div:first-child strong { color: var(--premium-lime); }

.humanity { width: min(calc(100% - clamp(44px, 11vw, 190px)), 1380px); margin: 0 auto; padding: clamp(60px, 7vw, 96px) 0 clamp(58px, 7vw, 88px); display: grid; grid-template-columns: minmax(220px, 0.55fr) minmax(0, 1.45fr); align-items: end; gap: clamp(40px, 6vw, 100px); }
.humanity-copy { position: sticky; bottom: 16vh; align-self: end; }
.humanity-kicker { margin-bottom: 22px; color: var(--premium-coral); font-size: 0.55rem; letter-spacing: 0.18em; }
.humanity h2 { max-width: 8ch; font-size: clamp(3.1rem, 5.8vw, 7rem); font-weight: 560; letter-spacing: -0.095em; line-height: 0.86; }
.humanity-copy p { max-width: 30ch; margin-top: 26px; color: var(--premium-muted); font-size: 0.98rem; line-height: 1.72; }
.humanity-figure { position: relative; min-height: 520px; overflow: hidden; border: 1px solid var(--premium-line); border-radius: 14px; background: #050605; }
.humanity-figure::before { content: "SYSTEMS / HUMAN SCALE"; position: absolute; top: 18px; left: 20px; z-index: 2; color: var(--premium-lime); font-family: var(--font-mono); font-size: 0.52rem; letter-spacing: 0.18em; }
.humanity-figure img { min-height: 520px; object-fit: cover; filter: saturate(0.85) contrast(1.08); transform: scale(1.02); transition: transform 1.1s var(--premium-ease), filter 600ms var(--premium-ease); }
.humanity-figure:hover img { transform: scale(1.055); filter: saturate(1) contrast(1.1); }
.humanity-figure::after { background: linear-gradient(180deg, rgba(7, 8, 7, 0.18), transparent 38%, rgba(7, 8, 7, 0.72)); }
.humanity-marker { width: 10px; height: 10px; background: var(--premium-lime); box-shadow: 0 0 0 6px rgba(215, 255, 101, 0.14), 0 0 24px rgba(215, 255, 101, 0.75); }
.humanity-marker::after { color: var(--premium-paper); font-size: 0.5rem; }

.section-shell { width: min(calc(100% - clamp(44px, 11vw, 190px)), 1380px); padding-block: clamp(62px, 7vw, 98px); }
.architecture { padding-top: clamp(54px, 6vw, 84px); }
.section-heading { max-width: 880px; margin-bottom: clamp(36px, 4vw, 56px); }
.section-heading h2, .systems-copy h2, .faq-heading h2, .launch-copy h2 { font-size: clamp(3rem, 6.7vw, 7.2rem); font-weight: 560; letter-spacing: -0.095em; line-height: 0.87; }
.section-heading p, .systems-copy > p:last-child, .faq-heading p, .launch-copy p { max-width: 47ch; margin-top: 26px; color: var(--premium-muted); font-size: clamp(1rem, 1.3vw, 1.18rem); line-height: 1.65; }
.process-vessel { padding: 0; gap: 0; overflow: visible; border: 0; background: none; box-shadow: none; }
.process-vessel::before { left: 18%; width: 1px; background: linear-gradient(to bottom, transparent, var(--premium-line), transparent); }
.process-vessel::after { background: none; }
.process-deck { min-height: 220px; padding: clamp(28px, 4vw, 58px) clamp(0px, 3vw, 44px); grid-template-columns: minmax(150px, 0.55fr) minmax(260px, 1.08fr) minmax(220px, 0.72fr); gap: clamp(24px, 6vw, 100px); border-width: 1px 0; border-color: var(--premium-line); border-radius: 0; background: transparent; transition: background 360ms var(--premium-ease), transform 360ms var(--premium-ease), border-color 360ms var(--premium-ease); }
.process-deck:nth-child(even), .process-deck:nth-child(odd) { margin-inline: 0; }
.process-deck:nth-child(even) { background: linear-gradient(90deg, transparent, rgba(215, 255, 101, 0.035), transparent); }
.process-deck:hover { transform: translateX(10px); border-color: rgba(215, 255, 101, 0.46); background: linear-gradient(90deg, rgba(215, 255, 101, 0.07), transparent 70%); }
.deck-name h3 { font-size: clamp(2.4rem, 4.8vw, 5.4rem); font-weight: 560; letter-spacing: -0.09em; }
.deck-name span { color: var(--premium-lime); }
.process-deck:nth-child(3) .deck-name span { color: var(--premium-coral); }
.process-deck > p { color: var(--premium-muted); }
.process-deck li::before { background: var(--premium-lime); }

.crew-console { min-height: 700px; border: 1px solid var(--premium-line); border-radius: 16px; background: #0b0e0c; box-shadow: 0 56px 120px rgba(0, 0, 0, 0.36); }
.crew-portrait { min-height: 640px; background: #090b0a; }
.crew-portrait-image { object-fit: cover; object-position: center; filter: saturate(0.86) contrast(1.1) brightness(0.82); }
.crew-portrait::after { background: linear-gradient(180deg, rgba(5, 6, 7, 0.08), rgba(5, 6, 7, 0.2) 46%, rgba(5, 6, 7, 0.92) 100%); }
.crew-tabs { background: rgba(4, 5, 4, 0.58); }
.crew-tab.is-active { background: rgba(215, 255, 101, 0.08); color: var(--premium-lime); }
.crew-tab::before { background: var(--premium-lime); }
.crew-panel h3 { font-size: clamp(2.2rem, 4.1vw, 4.8rem); font-weight: 560; letter-spacing: -0.09em; }

.systems-copy h2 { max-width: 8ch; }
.system-map { min-height: 580px; border: 1px solid rgba(215, 255, 101, 0.22); border-radius: 16px; background: radial-gradient(circle at 50% 50%, rgba(215, 255, 101, 0.1), transparent 25%), #080b09; }
.system-stack span { border-radius: 999px; background: rgba(10, 14, 11, 0.86); }
.system-stack span:nth-child(odd) { border-color: rgba(215, 255, 101, 0.26); }
.system-stack span:nth-child(even) { border-color: rgba(255, 98, 107, 0.24); }
.system-stack span:hover { color: var(--premium-lime); }
.core-center { width: 56%; background: linear-gradient(145deg, #31402d, #101611 56%, #090c0e); border-color: rgba(215, 255, 101, 0.62); box-shadow: 0 0 0 14px rgba(215, 255, 101, 0.025), 0 0 90px rgba(215, 255, 101, 0.12), inset -20px -24px 50px rgba(0, 0, 0, 0.44); }
.core-center span { color: var(--premium-lime); }
.signal-line, .signal-line::after { background-color: rgba(215, 255, 101, 0.2); }
.signal-line::after { background: linear-gradient(90deg, transparent, var(--premium-lime), var(--premium-coral), transparent); }

.reliability-primary, .reliability-module { border-color: var(--premium-line); border-radius: 16px; }
.reliability-primary { background: radial-gradient(circle at 84% 18%, rgba(215, 255, 101, 0.1), transparent 24%), #0c100d; }
.module-label { color: var(--premium-lime); }
.permission-stack span:nth-child(3), .permission-stack span:nth-child(4) { border-color: rgba(215, 255, 101, 0.5); color: var(--premium-lime); }
.handoff { border-color: rgba(215, 255, 101, 0.24); background: rgba(215, 255, 101, 0.035); }
.handoff p { color: var(--premium-lime); }
.faq { gap: clamp(42px, 7vw, 108px); }
.faq-heading h2 { max-width: 8ch; }
.faq-item button { padding-block: 30px; font-size: clamp(1.05rem, 1.5vw, 1.3rem); }
.faq-mark { color: var(--premium-lime); }
.launch-cta { min-height: 82dvh; background: linear-gradient(90deg, rgba(7, 8, 7, 0.96), rgba(7, 8, 7, 0.58) 48%, rgba(7, 8, 7, 0.84)), url("../assets/generated/automation-workflow-engine-v3.png") 76% 50% / cover no-repeat; }
.launch-copy { align-items: flex-start; text-align: left; }
.launch-copy h2 { max-width: 8ch; color: var(--premium-lime); }
.launch-copy p { color: var(--premium-muted); }
.launch-door, .launch-door::before, .door, .launch-light { display: none; }
.site-footer { background: #030403; }
.footer-wordmark { letter-spacing: -0.12em; }

@media (max-width: 960px) {
  .hero { min-height: 900px; grid-template-columns: 1fr; padding-top: 140px; align-content: center; }
  .hero-visual { min-height: 560px; margin-top: -10px; }
  .humanity { grid-template-columns: 1fr; gap: 48px; }
  .humanity-copy { position: static; }
  .control-strip { grid-template-columns: repeat(3, 1fr); }
  .control-strip div:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--premium-line); }
}

@media (max-width: 760px) {
  body::before { background-size: 48px 48px; }
  .site-header { min-height: 72px; }
  .hero { min-height: 820px; padding: 120px 22px 42px; }
  .hero::before { top: 95px; right: 22px; font-size: 0.47rem; }
  .hero h1 { max-width: 8ch; font-size: clamp(3.65rem, 16.8vw, 5.4rem); line-height: 0.88; }
  .hero-intro { max-width: 31ch; font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-visual { min-height: 430px; margin-top: 0; border-radius: 14px; }
  .hero-orbit-ui { top: 18px; left: 18px; width: 58px; height: 58px; }
  .hero-readout { right: 14px; bottom: 14px; width: calc(100% - 28px); padding: 13px 14px; }
  .control-strip { width: calc(100% - 28px); grid-template-columns: repeat(2, 1fr); }
  .control-strip div, .control-strip div:first-child { min-height: 76px; padding: 14px 12px; }
  .control-strip div:first-child { grid-column: 1 / -1; padding-left: 12px; }
  .humanity { width: calc(100% - 36px); padding-top: 64px; padding-bottom: 58px; }
  .humanity h2 { font-size: clamp(3.15rem, 15vw, 5rem); }
  .humanity-figure, .humanity-figure img { min-height: 350px; }
  .section-shell { width: calc(100% - 36px); padding-block: 62px; }
  .section-heading h2, .systems-copy h2, .faq-heading h2, .launch-copy h2 { font-size: clamp(3rem, 15vw, 5.2rem); }
  .process-deck { grid-template-columns: 1fr; gap: 18px; padding-block: 34px; }
  .process-vessel::before { left: 0; }
  .crew-console { grid-template-columns: 1fr; }
  .crew-portrait { min-height: 380px; }
  .system-map { min-height: 500px; }
  .launch-cta { min-height: 620px; padding-inline: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual::before, .humanity-figure img { transition: none; }
  .humanity-marker { animation: none; }
}
