/* ============================================
   Von Fange AI — Engineering Serious
   ============================================ */

:root {
  --orange: #FF6B1A;
  --orange-bright: #FF7A2E;
  --orange-deep: #E5550C;
  --orange-soft: #FFE4D1;
  --orange-glow: rgba(255, 107, 26, 0.35);

  --ink: #0A0A0B;
  --ink-2: #15161A;
  --ink-3: #1F2127;
  --ink-line: #2A2D35;

  --bone: #F5F2EC;
  --bone-2: #EDE9E0;
  --paper: #FAF8F4;
  --paper-line: #E2DED4;

  --text: #F5F2EC;
  --text-muted: #9A9CA3;
  --text-faint: #6A6C73;
  --surface: #0A0A0B;
  --surface-2: #15161A;
  --surface-3: #1F2127;
  --line: #2A2D35;
  --line-soft: #1F2127;

  --green-leaf: #6BAA48;

  --font-display: "Space Grotesk", "Bricolage Grotesque", ui-sans-serif, sans-serif;
  --font-body: "Manrope", ui-sans-serif, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1320px;
  --pad: clamp(20px, 4vw, 64px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

::selection { background: var(--orange); color: white; }

a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
img { display: block; max-width: 100%; }

/* ===== TYPOGRAPHY ===== */
.h-display {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 0.95;
  text-wrap: balance;
}
.h-display em {
  font-family: "Instrument Serif", "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--orange);
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 24px; height: 1px; background: currentColor;
  display: inline-block;
}
.eyebrow.no-line::before { display: none; }

.spec {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-faint);
}

/* ===== LAYOUT ===== */
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

section { position: relative; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(10, 10, 11, 0.55);
  border-bottom: 1px solid transparent;
  transition: background .3s ease, border-color .3s ease, padding .3s ease;
}
.nav.scrolled {
  padding: 12px 0;
  background: rgba(10, 10, 11, 0.85);
  border-bottom-color: var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex; align-items: center;
  height: 40px;
}
.brand-logo {
  height: 100%;
  width: auto;
  display: block;
  /* Slight orange glow on hover */
  transition: filter .25s ease, transform .25s ease;
}
.brand:hover .brand-logo {
  filter: drop-shadow(0 0 12px rgba(255,107,26,0.45));
  transform: scale(1.03);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255,255,255,0.6);
  transition: color .2s;
  position: relative;
}
.nav-links a:hover { color: white; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 18px;
  background: white;
  color: var(--ink);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  transition: transform .2s, background .2s, color .2s;
}
.nav-cta:hover { background: var(--orange); color: white; transform: translateY(-1px); }
.nav-cta .dot {
  width: 7px; height: 7px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(255,107,26,0.2);
  animation: pulseDot 2s infinite;
}
.nav-cta:hover .dot { background: white; box-shadow: 0 0 0 4px rgba(255,255,255,0.25); }
@keyframes pulseDot {
  0%, 100% { box-shadow: 0 0 0 4px rgba(255,107,26,0.2); }
  50% { box-shadow: 0 0 0 7px rgba(255,107,26,0); }
}

@media (max-width: 820px) {
  .nav-links { display: none; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 120px;
  padding-bottom: 80px;
  background: var(--ink);
  color: white;
  overflow: hidden;
  isolation: isolate;
}

/* Cinematic background image with Ken Burns zoom */
.hero-bg {
  position: absolute;
  inset: -4%;
  background-image: url("assets/robot-plant.png");
  background-size: cover;
  background-position: center 40%;
  z-index: 0;
  animation: kenBurns 28s ease-in-out infinite alternate;
  will-change: transform;
  filter: brightness(0.55) saturate(1.1) contrast(1.05);
}
@keyframes kenBurns {
  0%   { transform: scale(1.05) translate(0, 0); }
  100% { transform: scale(1.25) translate(-2%, -1.5%); }
}

/* Color grade overlay — push toward orange/black */
.hero-grade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255,107,26,0.28), transparent 65%),
    linear-gradient(180deg, rgba(10,10,11,0.55) 0%, rgba(10,10,11,0.35) 40%, rgba(10,10,11,0.85) 100%),
    linear-gradient(90deg, rgba(10,10,11,0.85) 0%, rgba(10,10,11,0.35) 45%, rgba(10,10,11,0.55) 100%);
  pointer-events: none;
}
.hero-vignette {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: radial-gradient(ellipse 100% 75% at 50% 50%, transparent 40%, rgba(10,10,11,0.7) 100%);
  pointer-events: none;
}

.hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 3;
}
.hero-particles {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 4;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 0%, transparent 80%);
  pointer-events: none;
  z-index: 3;
  opacity: 0.6;
  animation: gridDrift 30s linear infinite;
}
@keyframes gridDrift {
  to { background-position: 80px 80px, 80px 80px; }
}

/* Scanline / light beams */
.hero-beams {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  overflow: hidden;
  mix-blend-mode: screen;
  opacity: 0.6;
}
.hero-beams::before,
.hero-beams::after {
  content: "";
  position: absolute;
  top: -10%;
  width: 2px;
  height: 120%;
  background: linear-gradient(180deg, transparent, rgba(255,107,26,0.65), transparent);
  filter: blur(1px);
  animation: beamSweep 8s ease-in-out infinite;
}
.hero-beams::before { left: 25%; animation-delay: 0s; }
.hero-beams::after  { left: 72%; animation-delay: 3.5s; opacity: 0.4; }
@keyframes beamSweep {
  0%, 100% { opacity: 0; transform: translateX(-40px) rotate(8deg); }
  50%      { opacity: 0.9; transform: translateX(40px) rotate(8deg); }
}

.hero-inner {
  position: relative;
  z-index: 5;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  min-height: calc(100vh - 200px);
}
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px 8px 10px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  background: rgba(255,255,255,0.03);
  backdrop-filter: blur(8px);
  margin-bottom: 32px;
}
.hero-eyebrow .pill {
  background: var(--orange);
  color: white;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  letter-spacing: 0.1em;
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 104px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.94;
  margin-bottom: 28px;
  text-wrap: balance;
}
.hero h1 em {
  font-family: "Instrument Serif", "Cormorant Garamond", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
  letter-spacing: -0.02em;
}
.hero h1 .underline {
  position: relative;
  display: inline-block;
}
.hero h1 .underline::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.04em;
  height: 0.12em;
  background: var(--orange);
  z-index: -1;
  opacity: 0.5;
}

.hero-sub {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin-bottom: 40px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  transition: transform .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--orange);
  color: white;
  box-shadow: 0 10px 30px -10px var(--orange-glow), 0 0 0 1px rgba(255,255,255,0.04);
}
.btn-primary:hover { background: var(--orange-bright); transform: translateY(-2px); }
.btn-ghost {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.35); }
.btn .arrow {
  width: 18px; height: 18px;
  display: inline-grid; place-items: center;
  transition: transform .2s;
}
.btn:hover .arrow { transform: translateX(3px); }

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-meta-item .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 8px;
}
.hero-meta-item .val {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.hero-meta-item .val small {
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  font-weight: 400;
  margin-left: 4px;
}

/* Hero HUD panel — sci-fi dashboard overlay */
.hero-hud {
  position: relative;
  z-index: 5;
  max-width: 420px;
  margin-left: auto;
  padding: 22px;
  background: rgba(10, 10, 11, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(255,255,255,0.85);
  box-shadow:
    0 30px 80px -20px rgba(0,0,0,0.5),
    inset 0 0 0 1px rgba(255,107,26,0.08);
}

.hud-head {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.hud-head .ttl {
  display: flex; align-items: center; gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.95);
}
.hud-head .live-dot {
  width: 8px; height: 8px;
  background: #4ADE80;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.18);
  animation: pulseDot 1.6s infinite;
}
.hud-head .id {
  font-size: 10px;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.1em;
}

.hud-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 11px;
  letter-spacing: 0.04em;
}
.hud-row .k { color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.14em; font-size: 10px; }
.hud-row .v { color: white; font-weight: 500; }
.hud-row .v.ok { color: #4ADE80; }
.hud-row .v.warn { color: var(--orange); }

.hud-bar {
  margin: 14px 0 6px;
}
.hud-bar .lbl {
  display: flex; justify-content: space-between;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.hud-bar .lbl b { color: var(--orange); font-weight: 500; }
.hud-bar .track {
  height: 4px;
  background: rgba(255,255,255,0.08);
  border-radius: 99px;
  overflow: hidden;
  position: relative;
}
.hud-bar .fill {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--orange-deep), var(--orange));
  width: 0;
  border-radius: 99px;
  animation: hudFill 2.2s ease 1s forwards;
}
.hud-bar.b2 .fill { animation-delay: 1.3s; --t: 0.62; }
.hud-bar.b3 .fill { animation-delay: 1.6s; --t: 0.94; }
.hud-bar.b1 .fill { --t: 0.78; }
@keyframes hudFill {
  to { width: calc(var(--t, 0.78) * 100%); }
}

.hud-mini-chart {
  margin: 14px 0;
  height: 56px;
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
}
.hud-mini-chart svg {
  position: absolute; inset: 0; width: 100%; height: 100%;
}
.hud-mini-chart .scan {
  position: absolute;
  top: 0; bottom: 0;
  width: 60px;
  left: -60px;
  background: linear-gradient(90deg, transparent, rgba(255,107,26,0.4), transparent);
  animation: scanSweep 3.5s linear infinite;
}
@keyframes scanSweep {
  0% { left: -60px; }
  100% { left: 100%; }
}

.hud-foot {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
}
.hud-foot .corner-marks {
  display: flex; gap: 4px;
}
.hud-foot .corner-marks i {
  width: 6px; height: 6px;
  background: var(--orange);
  display: block;
  opacity: 0.4;
  animation: blinkDot 1.4s ease infinite;
}
.hud-foot .corner-marks i:nth-child(2) { animation-delay: 0.2s; }
.hud-foot .corner-marks i:nth-child(3) { animation-delay: 0.4s; }
@keyframes blinkDot {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 1; }
}

/* Floating cards (still used over background) */

.scroll-hint {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  display: flex; flex-direction: column; align-items: center; gap: 12px;
  z-index: 3;
}
.scroll-hint .line {
  width: 1px; height: 36px;
  background: linear-gradient(180deg, transparent, rgba(255,255,255,0.5), transparent);
  animation: scrollLine 2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { transform: translateY(-20px); opacity: 0; }
  50% { opacity: 1; }
  100% { transform: translateY(20px); opacity: 0; }
}

/* ===== SECTION HEADER ===== */
.section-head {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 64px;
}
@media (max-width: 820px) {
  .section-head { grid-template-columns: 1fr; gap: 24px; }
}
.section-head .left .eyebrow { margin-bottom: 16px; display: flex; }
.section-head .left h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  text-wrap: balance;
  color: white;
}
.section-head .left h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.section-head .right p {
  font-size: 18px;
  line-height: 1.55;
  color: rgba(255,255,255,0.62);
  max-width: 560px;
}

/* ===== INTRO BAR ===== */
.intro-bar {
  background: var(--ink);
  color: white;
  padding: 22px 0;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
}
.marquee {
  display: flex;
  gap: 64px;
  white-space: nowrap;
  animation: marqueeScroll 40s linear infinite;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.marquee span { display: inline-flex; align-items: center; gap: 18px; color: rgba(255,255,255,0.85); }
.marquee span::after {
  content: "";
  width: 6px; height: 6px;
  background: var(--orange);
  border-radius: 50%;
  display: inline-block;
}
.marquee em {
  color: var(--orange);
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
}
@keyframes marqueeScroll {
  to { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services {
  padding: 120px 0;
  background: var(--surface);
  color: white;
  position: relative;
  border-top: 1px solid var(--line-soft);
}
.services .section-head .left h2 { color: white; }
.services .eyebrow { color: rgba(255,255,255,0.55); }

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 900px) {
  .service-grid { grid-template-columns: 1fr; }
}
.service-card {
  position: relative;
  padding: 36px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--surface-2);
  color: white;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 60px -30px rgba(0,0,0,0.6);
  border-color: var(--orange);
}
.service-card.dark {
  background: linear-gradient(180deg, rgba(255,107,26,0.05), rgba(255,107,26,0.01));
  border-color: rgba(255,107,26,0.25);
}
.service-card .s-eyebrow { color: rgba(255,255,255,0.55); }
.service-card .s-desc { color: rgba(255,255,255,0.65); }
.service-card .s-list li {
  border-color: rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.88);
}
.service-card .s-list li:last-child { border-bottom-color: rgba(255,255,255,0.1); }

.service-card .s-tag {
  position: absolute;
  top: 28px; right: 28px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.12);
}
.service-card.dark .s-tag {
  background: rgba(255,107,26,0.15);
  color: var(--orange);
  border: 1px solid rgba(255,107,26,0.4);
}

.s-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 16px;
  text-wrap: balance;
  color: white;
}
.service-card h3 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.s-desc {
  font-size: 16px;
  line-height: 1.55;
  color: rgba(255,255,255,0.65);
  margin-bottom: 28px;
  max-width: 460px;
}
.s-list { list-style: none; }
.s-list li {
  padding: 14px 0 14px 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 15px;
  position: relative;
  color: rgba(255,255,255,0.88);
}
.s-list li:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.s-list li::before {
  content: "";
  position: absolute;
  left: 6px; top: 50%;
  width: 8px; height: 8px;
  background: var(--orange);
  border-radius: 2px;
  transform: translateY(-50%) rotate(45deg);
}
.s-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.s-foot .price {
  font-family: var(--font-display);
  font-size: 14px;
  color: rgba(255,255,255,0.55);
}
.s-foot .price b { color: white; font-size: 18px; font-weight: 600; }

.s-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 500; font-size: 14px;
  color: var(--orange);
  transition: gap .2s;
}
.s-link:hover { gap: 12px; }

/* ===== PROCESS ===== */
.process {
  padding: 120px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.process .section-head .left h2 { color: white; }
.process .section-head .right p { color: rgba(255,255,255,0.65); }
.process .eyebrow { color: rgba(255,255,255,0.6); }

.process-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 90% 20%, rgba(255,107,26,0.12), transparent 60%);
}
.process-image {
  position: absolute;
  top: 0; right: 0;
  width: 38%;
  height: 100%;
  background-image:
    linear-gradient(90deg, var(--ink) 0%, transparent 30%, transparent 100%),
    linear-gradient(180deg, var(--ink) 0%, transparent 20%, transparent 80%, var(--ink) 100%),
    url("assets/greenhouse.png");
  background-size: cover, cover, cover;
  background-position: center;
  opacity: 0.45;
  pointer-events: none;
}
@media (max-width: 1100px) {
  .process-image { display: none; }
}

.steps {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  margin-top: 64px;
  max-width: 1080px;
}
.step {
  display: grid;
  grid-template-columns: 100px 1fr 320px;
  gap: 40px;
  padding: 36px 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  align-items: start;
  transition: background .3s;
  position: relative;
}
.step:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.step:hover { background: rgba(255,255,255,0.02); }
.step:hover .step-num { color: var(--orange); }

@media (max-width: 820px) {
  .step { grid-template-columns: 60px 1fr; gap: 20px; }
  .step .step-detail { grid-column: 1 / -1; }
}

.step-num {
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: rgba(255,255,255,0.4);
  transition: color .3s;
}
.step-body h4 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 500;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  line-height: 1.15;
}
.step-body p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  line-height: 1.55;
  max-width: 480px;
}
.step-detail {
  padding: 18px 20px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  line-height: 1.7;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.02em;
}
.step-detail .lbl {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 6px;
  display: block;
}

/* ===== STATS ===== */
.stats {
  padding: 120px 0;
  background: var(--surface);
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.stats-image {
  position: absolute;
  left: -8%; top: 50%;
  transform: translateY(-50%);
  width: 42%;
  aspect-ratio: 1;
  background-image: url("assets/earth.png");
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  opacity: 0.14;
  filter: saturate(0.7) brightness(0.85);
  pointer-events: none;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255,255,255,0.1);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  position: relative;
  z-index: 2;
}
@media (max-width: 820px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
}
.stat-cell {
  padding: 36px 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
  position: relative;
}
.stat-cell:last-child { border-right: 0; }
@media (max-width: 820px) {
  .stat-cell:nth-child(2n) { border-right: 0; }
  .stat-cell:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,0.1); }
}
.stat-cell .num {
  font-family: var(--font-display);
  font-size: clamp(48px, 6vw, 76px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1;
  color: white;
  margin-bottom: 12px;
  display: flex;
  align-items: baseline;
}
.stat-cell .num .suffix {
  font-size: 0.5em;
  color: var(--orange);
  font-weight: 500;
  margin-left: 4px;
  letter-spacing: -0.02em;
}
.stat-cell .lbl {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
  max-width: 200px;
}
.stat-cell .tag {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

/* ===== BOOKING ===== */
.booking {
  padding: 120px 0;
  background: var(--surface);
  color: white;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
}
.booking-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}
.booking-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 56px;
  align-items: stretch;
}
@media (max-width: 960px) {
  .booking-inner { grid-template-columns: 1fr; }
}

.booking-info {
  padding: 36px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: flex;
  flex-direction: column;
  color: white;
}
.booking-info .who {
  display: flex; align-items: center; gap: 14px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 24px;
}
.booking-info .avatar {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
  display: grid; place-items: center;
  color: white;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
}
.booking-info .who-text .name { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: white; }
.booking-info .who-text .role { font-size: 13px; color: rgba(255,255,255,0.55); }

.booking-info h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1.1;
  margin-bottom: 14px;
  text-wrap: balance;
  color: white;
}
.booking-info p {
  color: rgba(255,255,255,0.65);
  font-size: 15px;
  margin-bottom: 24px;
}
.booking-info .feat {
  list-style: none;
  margin-bottom: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.booking-info .feat li {
  display: flex; align-items: center; gap: 12px;
  font-size: 14px;
  color: rgba(255,255,255,0.85);
}
.booking-info .feat svg { color: var(--orange); flex-shrink: 0; }

.booking-cal {
  padding: 32px;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: 24px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 28px;
  color: white;
}
@media (max-width: 720px) {
  .booking-cal { grid-template-columns: 1fr; }
}
.cal-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.cal-head .mon { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: white; }
.cal-nav {
  display: flex; gap: 6px;
}
.cal-nav button {
  width: 30px; height: 30px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  border-radius: 8px;
  display: grid; place-items: center;
  color: rgba(255,255,255,0.7);
  transition: background .2s, color .2s;
}
.cal-nav button:hover { background: var(--orange); color: white; border-color: var(--orange); }

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 4px;
}
.cal-grid .dow {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  text-align: center;
  padding: 6px 0;
}
.cal-grid .day {
  aspect-ratio: 1;
  display: grid; place-items: center;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  background: transparent;
  border: 0;
  cursor: pointer;
  transition: background .15s, color .15s;
}
.cal-grid .day.muted { color: rgba(255,255,255,0.25); cursor: default; }
.cal-grid .day.has-slot { color: var(--orange); font-weight: 600; }
.cal-grid .day.has-slot:hover { background: rgba(255,107,26,0.15); }
.cal-grid .day.selected { background: var(--orange); color: white; }
.cal-grid .day.disabled { color: rgba(255,255,255,0.25); cursor: not-allowed; opacity: 0.6; }

.slots h4 {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: white;
}
.slots h4 .tz {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.08em;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
}
.slot-list {
  display: flex; flex-direction: column; gap: 8px;
  max-height: 280px; overflow-y: auto;
  padding-right: 4px;
}
.slot {
  padding: 12px 14px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  font-size: 14px;
  font-weight: 500;
  color: white;
  background: transparent;
  display: flex; align-items: center; justify-content: space-between;
  transition: background .2s, border-color .2s, color .2s;
  width: 100%;
  cursor: pointer;
  text-align: left;
}
.slot:hover { border-color: var(--orange); color: var(--orange); }
.slot.confirmed { background: var(--orange); color: white; border-color: var(--orange); }
.slot .dur { font-family: var(--font-mono); font-size: 11px; color: rgba(255,255,255,0.45); }
.slot:hover .dur { color: var(--orange); }
.slot.confirmed .dur { color: rgba(255,255,255,0.8); }

/* ===== CONTACT ===== */
.contact {
  padding: 120px 0;
  background: var(--ink);
  color: white;
  position: relative;
  overflow: hidden;
}
.contact-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/earth.png");
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  mask-image: linear-gradient(90deg, transparent 35%, black 90%);
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, black 90%);
  opacity: 0.28;
  pointer-events: none;
}
.contact-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}
.contact h2 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5.5vw, 64px);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1;
  margin-bottom: 24px;
  text-wrap: balance;
}
.contact h2 em {
  font-family: "Instrument Serif", serif;
  font-style: italic;
  font-weight: 400;
  color: var(--orange);
}
.contact-lead {
  color: rgba(255,255,255,0.7);
  font-size: 17px;
  line-height: 1.55;
  margin-bottom: 32px;
  max-width: 480px;
}
.contact-meta { display: flex; flex-direction: column; gap: 16px; }
.contact-meta .row {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-size: 14px;
}
.contact-meta .row .ic {
  width: 36px; height: 36px;
  background: rgba(255,107,26,0.15);
  border: 1px solid rgba(255,107,26,0.35);
  border-radius: 8px;
  display: grid; place-items: center;
  color: var(--orange);
  flex-shrink: 0;
}
.contact-meta .row .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  display: block;
  margin-bottom: 2px;
}

.form {
  background: var(--surface-2);
  color: white;
  padding: 36px;
  border-radius: 24px;
  position: relative;
  border: 1px solid var(--line);
}
.form::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  padding: 1px;
  background: linear-gradient(180deg, rgba(255,107,26,0.5), rgba(255,107,26,0));
  -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.form-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.form-head h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: white;
}
.form-head .spec { color: rgba(255,255,255,0.45); }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 8px;
}
.field input, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  color: white;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  transition: border-color .2s, background .2s;
}
.field input::placeholder, .field textarea::placeholder { color: rgba(255,255,255,0.35); }
.field input:focus, .field textarea:focus {
  outline: 0;
  border-color: var(--orange);
  background: rgba(255,255,255,0.06);
}
.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media (max-width: 600px) {
  .field-row { grid-template-columns: 1fr; }
}
.form button[type="submit"] {
  width: 100%;
  padding: 16px;
  background: var(--orange);
  color: white;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 8px;
  transition: background .2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.form button[type="submit"]:hover { background: var(--orange-bright); }
.form .consent {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 14px;
  line-height: 1.5;
}

/* ===== FAQ ===== */
.faq {
  padding: 120px 0;
  background: var(--surface);
  color: white;
  border-top: 1px solid var(--line-soft);
}
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
}
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: 1fr; gap: 32px; }
}
.faq-list { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 0;
  text-align: left;
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: white;
  transition: color .2s;
}
.faq-q:hover { color: var(--orange); }
.faq-q .plus {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: grid; place-items: center;
  color: white;
  flex-shrink: 0;
  transition: transform .35s, background .2s, border-color .2s, color .2s;
}
.faq-item.open .faq-q .plus {
  transform: rotate(45deg);
  background: var(--orange);
  border-color: var(--orange);
  color: white;
}
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .4s ease;
}
.faq-a > div { overflow: hidden; }
.faq-a > div > p {
  padding: 0 0 28px;
  color: rgba(255,255,255,0.65);
  font-size: 16px;
  line-height: 1.65;
  max-width: 720px;
}
.faq-item.open .faq-a { grid-template-rows: 1fr; }

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: white;
  padding: 64px 0 32px;
  border-top: 1px solid var(--ink-line);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 56px;
}
@media (max-width: 820px) {
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
}
.footer-brand .footer-logo {
  height: 120px;
  width: auto;
  margin-bottom: 18px;
  margin-left: -12px;
  display: block;
}
.footer-brand p { color: rgba(255,255,255,0.55); font-size: 14px; max-width: 360px; line-height: 1.55; }
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 14px; color: rgba(255,255,255,0.75); transition: color .2s; }
.footer-col a:hover { color: var(--orange); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  gap: 12px;
  flex-wrap: wrap;
}
.footer-bottom a:hover { color: var(--orange); }

/* ===== REVEAL ===== */
/* Elements are always visible. .in is kept as a hook for optional motion;
   the actual animation is disabled because timing in this preview environment
   can leave animations stuck at their start frame. */
.reveal,
.reveal-stagger,
.reveal-stagger > *,
.reveal.in,
.reveal-stagger.in > * {
  opacity: 1;
  transform: none;
}
