/* ==========================================================================
   ATFUTA ROBOTICS — DESIGN SYSTEM & STYLESHEET
   Master Visual Reference: Figure.ai
   Style: Cinematic · Minimal · Engineering-Driven · Interactive
   ========================================================================== */

/* --------------------------------------------------------------------------
   01. DESIGN TOKENS & ROOT VARIABLES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-black: #050505;
  --bg-dark: #090a0b;
  --bg-surface: #111214;
  --bg-surface-elevated: #18191c;
  
  --fg-primary: #ffffff;
  --fg-secondary: #e2e4e8;
  --fg-muted: #8e9196;
  --fg-subtle: #565a61;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-medium: rgba(255, 255, 255, 0.16);
  --border-active: rgba(255, 255, 255, 0.35);

  /* ATFUTA Accent (Used with extreme restraint) */
  --accent-blue: #70b7ff;
  --accent-blue-glow: rgba(112, 183, 255, 0.15);

  /* Typography */
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Inter", "Geist", Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* Layout & Spacing */
  --nav-height: 98px;
  --nav-height-mobile: 74px;
  --page-padding: clamp(24px, 4.5vw, 64px);
  --max-content-width: 1680px;

  /* Transitions */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-cubic: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 0.2s;
  --duration-normal: 0.45s;
  --duration-slow: 0.85s;
}

/* --------------------------------------------------------------------------
   02. RESET & BASE ELEMENTS
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  font-size: 16px;
  background-color: var(--bg-black);
  color: var(--fg-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-y: scroll;
  overflow-x: clip;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.16) transparent;
}

/* Luxury Minimalist Scrollbar (WebKit / Blink) */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.16);
  border-radius: 9999px;
  border: 1px solid transparent;
  background-clip: padding-box;
  transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.38);
  background-clip: padding-box;
}

html.lenis, html.lenis body {
  height: auto;
}

html.lenis, .lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

.lenis.lenis-stopped {
  overflow-y: scroll;
  overflow-x: clip;
}

body {
  background-color: var(--bg-black);
  color: var(--fg-primary);
  overflow-x: clip;
  position: relative;
  min-height: 100vh;
}

body.menu-open,
body.modal-open {
  overflow: hidden;
}

img, video {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
}

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 2px solid var(--accent-blue);
  outline-offset: 4px;
}

/* --------------------------------------------------------------------------
   03. SCROLL REVEAL ANIMATIONS
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity var(--duration-slow) var(--ease-out-expo),
              transform var(--duration-slow) var(--ease-out-expo);
  will-change: opacity, transform;
}

.reveal.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.15s; }
.reveal-delay-2 { transition-delay: 0.3s; }
.reveal-delay-3 { transition-delay: 0.45s; }

/* --------------------------------------------------------------------------
   04. REUSABLE MEDIA COMPONENT SYSTEM
   -------------------------------------------------------------------------- */
.media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
  background-color: var(--bg-black);
}

.media-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.media-poster {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 1;
  transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.media-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  z-index: 2;
  opacity: 0;
  transition: opacity var(--duration-normal) ease;
}

.media-video.is-playing {
  opacity: 1;
}

.media-overlay {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

/* Cinematic Scrim Gradients
   - Hero: no top or bottom black fade/blur overlay; only subtle left-side typography scrim
   - Other sections: top/bottom black fade reduced by 80% (only 20% intensity remains)
*/
.hero-gradient {
  background: linear-gradient(
    90deg,
    rgba(5, 5, 5, 0.85) 0%,
    rgba(5, 5, 5, 0.6) 35%,
    rgba(5, 5, 5, 0.15) 65%,
    transparent 100%
  );
}

.showcase-gradient {
  background:
    /* Top ambient fade - reduced by 80% (20% intensity) */
    linear-gradient(180deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.12) 8%, transparent 25%),
    /* Bottom dissolve - reduced by 80% (20% intensity) */
    linear-gradient(0deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.15) 8%, transparent 25%),
    /* Left typography backing */
    linear-gradient(90deg, rgba(5, 5, 5, 0.9) 0%, rgba(5, 5, 5, 0.72) 34%, rgba(5, 5, 5, 0.15) 65%, transparent 100%);
}

.research-gradient {
  background:
    /* Top ambient fade - reduced by 80% (20% intensity) */
    linear-gradient(180deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.12) 8%, transparent 25%),
    /* Bottom dissolve - reduced by 80% (20% intensity) */
    linear-gradient(0deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.14) 8%, transparent 25%),
    /* Left typography backing */
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.78) 35%, rgba(5, 5, 5, 0.2) 65%, transparent 100%),
    /* Right table backing */
    linear-gradient(270deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.5) 30%, transparent 60%);
}

.vision-gradient {
  background:
    /* Top fade - reduced by 80% (20% intensity) */
    linear-gradient(180deg, rgba(5, 5, 5, 0.18) 0%, transparent 20%),
    /* Bottom dissolve - reduced by 80% (20% intensity) */
    linear-gradient(0deg, rgba(5, 5, 5, 0.20) 0%, transparent 20%),
    /* Left typography backing */
    linear-gradient(90deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 40%, transparent 80%);
}

.story-gradient {
  background:
    /* Top ambient fade - reduced by 80% (20% intensity) */
    linear-gradient(180deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.12) 8%, transparent 25%),
    /* Bottom floor dissolve - reduced by 80% (20% intensity) */
    linear-gradient(0deg, rgba(5, 5, 5, 0.20) 0%, rgba(5, 5, 5, 0.14) 8%, transparent 25%),
    /* Left typography backing */
    linear-gradient(90deg, rgba(5, 5, 5, 0.92) 0%, rgba(5, 5, 5, 0.75) 35%, rgba(5, 5, 5, 0.2) 65%, transparent 100%);
}

/* --------------------------------------------------------------------------
   05. FULLSCREEN SECTION CONTAINER ARCHITECTURE
   -------------------------------------------------------------------------- */
.section-fullscreen {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 680px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: var(--nav-height) var(--page-padding) clamp(48px, 6vh, 80px);
  overflow: hidden;
  background-color: var(--bg-black);
}

/* Homepage film: image-first, soft hairline, translucent overlay controls. */
:root { --film-width: 320px; --film-gap: 24px; }
.company-film {
  position: fixed;
  right: max(var(--film-gap), env(safe-area-inset-right));
  bottom: max(var(--film-gap), env(safe-area-inset-bottom));
  width: min(var(--film-width), var(--film-available-width, calc(100vw - 32px)));
  z-index: 91;
  overflow: hidden;
  isolation: isolate;
  border-radius: 8px;
  background: var(--bg-black);
  color: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  transition: none;
  --film-safe-left: env(safe-area-inset-left, 0px);
  --film-safe-right: env(safe-area-inset-right, 0px);
  --film-safe-top: env(safe-area-inset-top, 0px);
  --film-safe-bottom: env(safe-area-inset-bottom, 0px);
}
.company-film[hidden] { display: none; }
.company-film:not(.is-expanded) { cursor: grab; touch-action: none; user-select: none; -webkit-user-select: none; }
.company-film.is-positioned:not(.is-expanded) {
  left: var(--film-x);
  top: var(--film-y);
  right: auto;
  bottom: auto;
  z-index: 110;
}
.company-film.is-dragging,.company-film.is-dragging .company-film-drag { cursor: grabbing; }
body.menu-open .company-film,body.modal-open .company-film { visibility: hidden; }
.company-film.is-expanded {
  /* Fit the entire 16:9 frame within both window dimensions. */
  width: min(calc(100vw - 48px), calc((100vh - 48px) * 16 / 9));
  width: min(calc(100dvw - 48px), calc((100dvh - 48px) * 16 / 9));
  left: 50%;
  top: 50%;
  right: auto;
  bottom: auto;
  transform: translate(-50%, -50%);
  z-index: 210;
  box-shadow: 0 16px 64px rgba(0, 0, 0, 0.35);
}
.film-icon-collapse { display: none; }
[aria-expanded="true"] .film-icon-expand { display: none; }
[aria-expanded="true"] .film-icon-collapse { display: inline; }
/* A low-opacity inset hairline avoids a hard frame or loss of video area. */
.company-film::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 3;
}
.company-film video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  object-fit: contain;
}
.company-film-heading,
.company-film-controls {
  position: absolute;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  min-height: 48px;
  padding: 2px;
  z-index: 2;
  pointer-events: none;
}
.company-film-heading {
  top: 0;
  justify-content: flex-end;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.2), transparent);
}
.company-film-controls {
  bottom: 0;
  justify-content: space-between;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.25), transparent);
}
.company-film-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  padding: 0;
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.65);
  pointer-events: auto;
  transition: color var(--duration-fast), background-color var(--duration-fast);
}
.company-film-button svg { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.35)); }
.company-film-drag { margin-right: auto; cursor: grab; color: rgba(255,255,255,.45); touch-action: none; }
.company-film.is-expanded .company-film-drag { visibility: hidden; }
.company-film-button:hover,
.company-film-button:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.company-film-button:focus-visible { outline: 1px solid rgba(255, 255, 255, 0.7); outline-offset: -5px; }
.film-icon-play, .film-icon-pause, .film-icon-replay, .film-icon-audible { display: none; }
[data-state="paused"] .film-icon-play,
[data-state="playing"] .film-icon-pause,
[data-state="ended"] .film-icon-replay,
[aria-pressed="true"] .film-icon-audible { display: inline; }
[aria-pressed="true"] .film-icon-muted { display: none; }
.company-film-status { font-size: 11px; color: #fff; text-shadow: 0 1px 4px #000; }
body.company-film-open .back-to-top {
  bottom: calc(max(var(--film-gap), env(safe-area-inset-bottom)) + var(--film-width) * 9 / 16 + 16px);
}
@media (max-width: 640px), (max-height: 500px) {
  :root { --film-width: 224px; --film-gap: 16px; }
}

/* Shared navigation and Contact styles live only in header.css. */

/* --------------------------------------------------------------------------
   08. HERO SECTION (Section 02)
   -------------------------------------------------------------------------- */
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.hero-header-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: clamp(16px, 2.5vh, 28px);
}

.brand-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
}

.meta-sep {
  color: var(--fg-subtle);
  font-size: 12px;
}

.tagline-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.hero-headline {
  font-size: clamp(42px, 6.2vw, 92px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  color: #ffffff;
  max-width: 1200px;
  margin-bottom: clamp(28px, 4vh, 48px);
}

.hero-bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.hero-support {
  font-size: clamp(16px, 1.35vw, 19px);
  font-weight: 400;
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 580px;
  letter-spacing: -0.01em;
}

.hero-actions {
  flex-shrink: 0;
}

.hero-cta-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #ffffff;
  padding: 10px 24px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-medium);
  transition: all var(--duration-fast) ease;
}

.hero-cta-link:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.hero-cta-link .arrow {
  transition: transform var(--duration-fast) ease;
}

.hero-cta-link:hover .arrow {
  transform: translateY(2px);
}

/* --------------------------------------------------------------------------
   09. MANIFESTO SECTION (Section 03)
   -------------------------------------------------------------------------- */
.section-manifesto {
  position: relative;
  min-height: 95vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(120px, 18vh, 220px) var(--page-padding);
  background-color: var(--bg-black);
  background-image:
    radial-gradient(ellipse 70% 50% at 50% 50%, rgba(255, 255, 255, 0.10) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 75%);
  overflow: hidden;
}

.section-manifesto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 650px at 50% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.section-manifesto::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(5, 5, 5, 0.4) 0%,
    transparent 12%,
    transparent 88%,
    rgba(5, 5, 5, 0.4) 100%
  );
  pointer-events: none;
}

.manifesto-inner {
  position: relative;
  z-index: 2;
  max-width: 1240px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(36px, 5vh, 56px);
}

/* Refined Minimalist Eyebrow Tag */
.manifesto-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-blue);
  text-shadow: 0 0 14px rgba(112, 183, 255, 0.28);
}

/* Statement Typography */
.manifesto-quote {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2.5vh, 28px);
  width: 100%;
  max-width: 100%;
}

.manifesto-line {
  font-size: clamp(25px, 3.5vw, 53px);
  font-weight: 350;
  line-height: 1.25;
  letter-spacing: -0.02em;
  color: var(--fg-secondary);
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
  will-change: opacity, transform, color;
}

.manifesto-line.is-dimmed {
  color: var(--fg-subtle);
}

.manifesto-line.highlight {
  font-size: clamp(38px, 5.2vw, 76px);
  font-weight: 450;
  line-height: 1.12;
  letter-spacing: -0.028em;
  color: #ffffff;
  text-shadow: 0 0 32px rgba(255, 255, 255, 0.25);
  text-align: center;
  width: 100%;
  margin: clamp(8px, 1.5vh, 18px) auto 0;
  transition: color 0.4s ease, opacity 0.4s ease, transform 0.4s ease, text-shadow 0.4s ease;
}

.manifesto-line.highlight.is-dimmed {
  color: var(--fg-subtle);
  text-shadow: none;
}

/* Refined Luxury Meta Footer */
.manifesto-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: clamp(14px, 2vw, 24px);
  margin-top: clamp(8px, 1.5vh, 20px);
  padding-top: clamp(24px, 3.5vh, 36px);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.manifesto-meta .meta-item {
  transition: color 0.3s ease;
}

.manifesto-meta .meta-item:hover {
  color: #ffffff;
}

.manifesto-meta .meta-dot {
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 13px;
  text-shadow: 0 0 8px var(--accent-blue);
}

@keyframes pulse-slow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.92); }
}

@media (max-width: 960px) {
  .section-manifesto {
    padding: clamp(90px, 12vh, 140px) var(--page-padding);
    min-height: auto;
  }
  .manifesto-eyebrow {
    font-size: 10px;
  }
  .manifesto-meta {
    gap: 10px 16px;
    font-size: 10px;
  }
}

/* --------------------------------------------------------------------------
   10. PHYSICAL INTELLIGENCE STORY (Section 04)
   -------------------------------------------------------------------------- */
.section-story {
  position: relative;
  width: 100%;
  background-color: var(--bg-black);
}

.story-sticky-viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100svh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: calc(var(--nav-height) + 16px) var(--page-padding) clamp(40px, 5vh, 64px);
}

.story-media-cover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.story-bg-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 35%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s cubic-bezier(0.25, 1, 0.5, 1),
              transform 1.4s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.9s ease;
  transform: scale(1.035);
  z-index: 1;
  will-change: opacity, transform;
}

.story-bg-layer.is-active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
  z-index: 2;
}

.story-ui-container {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.story-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 16px;
}

.story-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.story-indicators {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: nowrap;
}

.indicator-step {
  font-size: 11px;
  font-family: var(--font-mono);
  color: var(--fg-muted);
  letter-spacing: 0.12em;
  padding: 6px 14px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  transition: all var(--duration-fast) ease;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.indicator-step:hover {
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

.indicator-step.is-active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  font-weight: 600;
}

.story-stage-body {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  width: 100%;
}

.story-active-panel {
  position: relative;
  width: 100%;
  max-width: 640px;
  min-height: 250px;
  flex: 1;
}

.story-step-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(18px);
  pointer-events: none;
  transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              transform 0.5s cubic-bezier(0.25, 1, 0.5, 1),
              visibility 0.5s ease;
  will-change: opacity, transform;
}

.story-step-content.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.step-num {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--accent-blue);
  margin-bottom: 10px;
  letter-spacing: 0.12em;
}

.step-title {
  font-size: clamp(38px, 5.5vw, 76px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 14px;
}

.step-desc {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 400;
  line-height: 1.4;
  color: var(--fg-secondary);
  margin-bottom: 12px;
}

.step-detail {
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 520px;
}

.story-nav-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.story-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-medium);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 18px;
  transition: all var(--duration-fast) ease;
  background: rgba(5, 5, 5, 0.4);
  backdrop-filter: blur(8px);
}

.story-nav-btn:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.05);
}

.story-progress-bar {
  width: 100px;
  height: 2px;
  background: var(--border-subtle);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  background: var(--accent-blue);
  transition: width 0.4s var(--ease-out-expo);
}

/* Scroll track driving the sticky progression */
.story-scroll-track {
  position: relative;
  width: 100%;
  pointer-events: none;
}

.story-trigger {
  height: 48vh;
}

/* --------------------------------------------------------------------------
   11. ATFUTA ONE SHOWCASE (Section 05)
   -------------------------------------------------------------------------- */
.showcase-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.showcase-status {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.status-badge {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--accent-blue);
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--accent-blue-glow);
  border: 1px solid rgba(112, 183, 255, 0.25);
  text-transform: uppercase;
}

.status-note {
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
  text-transform: uppercase;
}

.showcase-title {
  font-size: clamp(48px, 7vw, 104px);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: #ffffff;
  margin-bottom: 12px;
}

.showcase-subtitle {
  font-size: clamp(20px, 2.2vw, 32px);
  font-weight: 400;
  color: var(--fg-secondary);
  margin-bottom: 20px;
  letter-spacing: -0.015em;
}

.showcase-desc {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 640px;
  margin-bottom: clamp(32px, 4vh, 48px);
}

.showcase-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.disclaimer-note {
  font-size: 12px;
  color: var(--fg-subtle);
  letter-spacing: 0.02em;
}

.text-link-minimal {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color var(--duration-fast) ease;
}

.text-link-minimal:hover {
  color: var(--accent-blue);
}

.text-link-minimal:hover .arrow {
  transform: translateX(4px);
}

.text-link-minimal .arrow {
  transition: transform var(--duration-fast) ease;
}

/* --------------------------------------------------------------------------
   12. RESEARCH / ENGINEERING (Section 06)
   -------------------------------------------------------------------------- */
.research-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: flex-end;
}

.section-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--fg-muted);
  text-transform: uppercase;
  margin-bottom: 20px;
}

.research-headline {
  font-size: clamp(40px, 5.5vw, 84px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 24px;
}

.research-desc {
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--fg-muted);
  max-width: 500px;
}

.research-table {
  border-top: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
}

.research-row {
  display: grid;
  grid-template-columns: 48px 1fr 1fr;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color var(--duration-fast) ease;
}

.research-row:hover {
  background-color: rgba(255, 255, 255, 0.03);
}

.row-index {
  font-size: 12px;
  font-family: var(--font-mono);
  color: var(--fg-subtle);
}

.row-name {
  font-size: 16px;
  font-weight: 500;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.row-focus {
  font-size: 13px;
  color: var(--fg-muted);
  text-align: right;
}

/* --------------------------------------------------------------------------
   13. FUTURE / VISION (Section 07)
   -------------------------------------------------------------------------- */
.vision-content {
  position: relative;
  z-index: 4;
  width: 100%;
  max-width: var(--max-content-width);
  margin: 0 auto;
}

.vision-headline {
  font-size: clamp(42px, 6vw, 88px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 20px;
}

.vision-desc {
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  color: var(--fg-muted);
  max-width: 640px;
  margin-bottom: clamp(32px, 4vh, 48px);
}

.vision-footer-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--fg-subtle);
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.vision-footer-meta .dot {
  color: var(--fg-subtle);
}

/* --------------------------------------------------------------------------
   14. COMPANY SECTION (Section 08)
   -------------------------------------------------------------------------- */
.section-company {
  position: relative;
  padding: clamp(120px, 15vh, 200px) var(--page-padding);
  background-color: var(--bg-black);
}

.company-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.company-title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 6px;
}

.company-location {
  font-size: 14px;
  letter-spacing: 0.08em;
  color: var(--accent-blue);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.company-statement {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.65;
  color: var(--fg-muted);
  margin-bottom: 40px;
  max-width: 600px;
}

.company-metadata-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid var(--border-subtle);
  padding-top: 24px;
}

.meta-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 20px;
  font-size: 14px;
}

.meta-label {
  color: var(--fg-subtle);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  color: var(--fg-secondary);
  text-align: right;
}

.meta-value a.link-hover:hover {
  color: #ffffff;
  text-decoration: underline;
}

.founder-card {
  padding: clamp(32px, 4vw, 48px);
  border: 1px solid var(--border-subtle);
  background: var(--bg-surface);
  border-radius: 2px;
}

.founder-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--fg-subtle);
  margin-bottom: 24px;
  display: block;
}

.founder-quote {
  font-size: clamp(18px, 1.6vw, 22px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--fg-secondary);
  font-style: italic;
  margin-bottom: 32px;
}

.founder-signature {
  border-top: 1px solid var(--border-subtle);
  padding-top: 20px;
}

.founder-name {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff;
}

.founder-role {
  display: block;
  font-size: 13px;
  color: var(--fg-muted);
}

/* --------------------------------------------------------------------------
   15. CONTACT SECTION (Section 09)
   -------------------------------------------------------------------------- */
.section-contact {
  position: relative;
  padding: clamp(120px, 15vh, 200px) var(--page-padding);
  background-color: var(--bg-black);
}

.contact-inner {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(48px, 8vw, 120px);
  align-items: start;
}

.contact-headline {
  font-size: clamp(36px, 4.5vw, 68px);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1.05;
  color: #ffffff;
  margin-bottom: 20px;
}

.contact-desc {
  font-size: clamp(15px, 1.25vw, 17px);
  line-height: 1.6;
  color: var(--fg-muted);
  margin-bottom: 32px;
  max-width: 480px;
}

.contact-direct-email {
  font-size: clamp(18px, 1.8vw, 24px);
  font-weight: 500;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid var(--border-medium);
  padding-bottom: 4px;
  transition: color var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.contact-direct-email:hover {
  color: var(--accent-blue);
  border-color: var(--accent-blue);
}

/* Minimal Form Card */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 4px;
  padding: clamp(28px, 4vw, 44px);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

/* --------------------------------------------------------------------------
   16. FOOTER COMPONENT (Section 10) - LUXURY ARCHITECTURAL MINIMALIST
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background-color: var(--bg-black);
  padding: clamp(80px, 12vh, 140px) var(--page-padding) 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.footer-container {
  max-width: var(--max-content-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: clamp(40px, 6vh, 64px);
}

/* Upper Identity Bar */
.footer-identity-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: clamp(28px, 4vh, 40px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-identity-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 520px;
}

.footer-logo-link {
  display: inline-block;
}

.footer-logo {
  height: 44px;
  width: auto;
  display: block;
  opacity: 0.95;
  transition: opacity var(--duration-fast) ease;
}

.footer-logo-link:hover .footer-logo {
  opacity: 1;
}

.footer-mission-lead {
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 300;
  color: var(--fg-secondary);
  line-height: 1.6;
  letter-spacing: -0.01em;
  margin: 0;
}

/* Back to Top Luxury Pill Button */
.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 11px 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--fg-secondary);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
}

.footer-back-to-top:hover {
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-2px);
}

.top-arrow {
  font-size: 13px;
  transition: transform 0.3s ease;
}

.footer-back-to-top:hover .top-arrow {
  transform: translateY(-2px);
}

/* 4-Column Grid */
.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.2fr;
  gap: clamp(32px, 5vw, 64px);
  padding: 8px 0;
}

.footer-col {
  position: relative;
  z-index: 1;
}

.footer-col-header {
  display: block;
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--fg-subtle);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.footer-entity-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}

.entity-name {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #ffffff;
}

.entity-location {
  font-size: 13px;
  color: var(--fg-muted);
}

.entity-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding: 4px 10px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  width: fit-content;
}

.status-pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #22c55e;
  box-shadow: 0 0 8px rgba(34, 197, 94, 0.6);
}

.status-text {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  color: var(--fg-muted);
}

.footer-entity-coords {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--fg-subtle);
  opacity: 0.7;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.footer-link {
  font-size: 13px;
  color: var(--fg-secondary);
  text-decoration: none;
  letter-spacing: 0.02em;
  transition: color var(--duration-fast) ease, transform var(--duration-fast) ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-link:hover {
  color: #ffffff;
  transform: translateX(3px);
}

.footer-link.email-highlight {
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 500;
}

.arrow-ext {
  font-size: 11px;
  color: var(--fg-subtle);
  transition: transform var(--duration-fast) ease, color var(--duration-fast) ease;
}

.footer-link:hover .arrow-ext {
  color: #ffffff;
  transform: translate(2px, -2px);
}

/* Watermark: Submerged Behind Grid Information Columns */
.footer-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  overflow: hidden;
  user-select: none;
  pointer-events: none;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 0;
  margin: 0;
}

.footer-watermark span {
  display: inline-block;
  font-size: clamp(80px, 17vw, 240px);
  font-weight: 900;
  letter-spacing: 0.15em;
  line-height: 0.85;
  color: transparent;
  -webkit-text-stroke: 1px #ffffff;
  text-stroke: 1px #ffffff;
  opacity: 0.1;
}

/* Bottom Bar */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--fg-subtle);
  flex-wrap: wrap;
}

.footer-tagline-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tagline-bullet {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--fg-subtle);
}

/* --------------------------------------------------------------------------
   17. RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --nav-height: 80px;
  }



  .research-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .company-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 40px;
  }

  .footer-col-entity {
    grid-column: 1 / -1;
  }

  .footer-identity-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

@media (max-width: 768px) {
  #hero .media-poster,
  #hero .media-video {
    object-position: 70% 40%;
  }

  :root {
    --nav-height: 74px;
  }

  .section-fullscreen {
    padding-bottom: 40px;
  }

  .hero-bottom-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .story-top-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .story-indicators {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  .story-indicators::-webkit-scrollbar {
    display: none;
  }

  .story-stage-body {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
    width: 100%;
  }

  .story-active-panel {
    width: 100%;
    max-width: 100%;
    min-height: 220px;
  }

  .story-step-content .step-title {
    font-size: clamp(32px, 8vw, 46px);
    margin-bottom: 8px;
  }

  .story-step-content .step-desc {
    font-size: clamp(15px, 4vw, 18px);
    margin-bottom: 8px;
  }

  .story-step-content .step-detail {
    font-size: clamp(13px, 3.4vw, 14px);
    max-width: 100%;
    line-height: 1.5;
  }

  .story-trigger {
    height: 26vh;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .research-row {
    grid-template-columns: 36px 1fr;
    gap: 8px;
  }

  .row-focus {
    grid-column: 2 / -1;
    text-align: left;
    font-size: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px 20px;
  }

  .footer-col-entity {
    grid-column: 1 / -1;
  }

  .footer-grid .footer-col:last-child {
    grid-column: 1 / -1;
  }

  .footer-watermark span {
    font-size: clamp(56px, 16vw, 100px);
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

}

/* --------------------------------------------------------------------------
   17B. FLOATING BACK TO TOP BUTTON
   -------------------------------------------------------------------------- */
.back-to-top {
  position: fixed;
  bottom: clamp(20px, 4vw, 32px);
  right: clamp(16px, 3.5vw, 28px);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(15, 16, 18, 0.76);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(14px);
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
              visibility 0.35s,
              background-color 0.25s,
              border-color 0.25s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.45);
}

.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
  transform: translateY(-2px);
}

.back-to-top:active {
  transform: translateY(0);
}

/* --------------------------------------------------------------------------
   18. PREFERS REDUCED MOTION (ACCESSIBILITY)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  .media-video {
    display: none !important;
  }

  .media-poster {
    display: block !important;
    opacity: 1 !important;
  }
}
