/* ==========================================================================
   SCHNIERING GMBH — JOBY AVIATION ARCHITECTURAL HOMEPAGE SYSTEM
   - "Sheets on Deep Blue" sculpted layout on #0C4067 brand canvas
   - Architectural Hero Portal (88vh -> 100vh, radius 112px -> 0px)
   - Monumental Editorial Typography + Scroll-Expanding Cinema Portal
   - Interactive Messsysteme Cinema Showcase + 3-Step ZEB Grid (No Duplicates)
   - Symmetrical STRADIVARI® Midnight-Blue Cinema Sheet with 3D Tilt
   - Full-Bleed Forschung Story-Cinema + Sovereign Brand-Blue Finale
   ========================================================================== */

:root {
  --canvas-blue: #0C4067;
  --navy-deep: #0A2045;
  --navy-abyss: #07162E;
  --blue-glow: #245BA8;
  --copper: #D1752F;
  --copper-hover: #B86220;
  --ink: #0A2045;
  --slate: #2C353D;
  --muted: #5B646B;
  --sheet-cream: #F7F6F2;
  --sheet-white: #FFFFFF;
  --hairline: rgba(10, 32, 69, 0.12);
  --hairline-light: rgba(255, 255, 255, 0.16);
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-smooth: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(12px, 1.5vw, 24px);
  --sheet-radius: clamp(28px, 3.2vw, 44px);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--canvas-blue);
}

body.home-joby {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: var(--canvas-blue);
  color: var(--slate);
  line-height: 1.55;
  overflow-x: clip;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ==========================================================================
   SHARED UTILITIES & MICRO-INTERACTIONS
   ========================================================================== */
.sheet-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-inline: clamp(24px, 4.5vw, 64px);
}

/* Arrow Glide Micro-Interaction */
.arrow-glide {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  overflow: hidden;
  vertical-align: middle;
}

.arrow-primary,
.arrow-secondary {
  position: absolute;
  transition: transform 0.42s var(--ease-expo);
  line-height: 1;
}

.arrow-secondary {
  transform: translateX(-135%);
}

a:hover .arrow-primary {
  transform: translateX(135%);
}

a:hover .arrow-secondary {
  transform: translateX(0);
}

/* Editorial Reveal */
.reveal {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition: opacity 0.85s var(--ease-expo), transform 0.85s var(--ease-expo);
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

/* Media Curtain Reveal */
.media-reveal {
  opacity: 0;
  transform: translate3d(0, 24px, 0) scale(0.985);
  transition: opacity 0.9s var(--ease-expo), transform 0.9s var(--ease-expo);
}

.media-reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
}

/* Hairline Draw */
.hairline-draw {
  position: relative;
}

/* ==========================================================================
   FLOATING ULTRA-MINIMAL NAVIGATION
   ========================================================================== */
.joby-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px clamp(20px, 3vw, 44px);
  pointer-events: none;
  transition: padding 0.45s var(--ease-expo);
}

.joby-header-inner {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1360px;
  margin: 0 auto;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid transparent;
  transition:
    background 0.45s var(--ease-expo),
    border-color 0.45s var(--ease-expo),
    box-shadow 0.45s var(--ease-expo),
    max-width 0.45s var(--ease-expo),
    padding 0.45s var(--ease-expo);
}

.joby-header.scrolled {
  padding-top: 12px;
}

.joby-header.scrolled .joby-header-inner {
  max-width: 880px;
  min-height: 48px;
  background: rgba(10, 32, 69, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: 0 10px 30px rgba(7, 22, 46, 0.22);
  padding: 5px 7px 5px 18px;
  gap: 18px;
}

.joby-brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.joby-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.25s ease, height 0.35s var(--ease-expo);
}

.joby-header.scrolled .joby-brand-logo {
  height: 22px;
}

.joby-brand:hover .joby-brand-logo {
  opacity: 0.85;
}

.joby-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 32px);
  transition: gap 0.35s var(--ease-expo);
}

.joby-header.scrolled .joby-nav {
  gap: 22px;
}

.joby-nav a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}

.joby-nav a:hover {
  color: #FFFFFF;
}

.joby-nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-expo), padding 0.35s var(--ease-expo);
}

.joby-header.scrolled .joby-nav-cta {
  padding: 7px 14px;
  font-size: 0.82rem;
}

.joby-nav-cta:hover {
  background: var(--copper);
  border-color: var(--copper);
  transform: translateY(-1px);
}

.joby-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.joby-lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 7px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.54);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, padding 0.35s var(--ease-expo);
}

.joby-header.scrolled .joby-lang-toggle {
  padding: 6px 10px;
  font-size: 0.74rem;
}

.joby-lang-toggle:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.42);
}

.joby-lang-toggle .lang-opt {
  transition: color 0.2s ease;
}

.joby-lang-toggle .lang-opt.is-active {
  color: #FFFFFF;
}

.joby-lang-toggle .lang-sep {
  opacity: 0.38;
  font-weight: 400;
}

/* ==========================================================================
   SECTION 1 · ARCHITECTURAL HERO PORTAL + STICKY SCROLL EXPANSION
   ========================================================================== */
.joby-hero-stage {
  position: relative;
  height: 220vh;
  background-color: var(--canvas-blue);
  z-index: 2;
}

.joby-hero-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--canvas-blue);
}

.joby-hero-portal {
  position: relative;
  width: 100%;
  height: 88vh;
  border-bottom-left-radius: 112px;
  border-bottom-right-radius: 112px;
  overflow: hidden;
  background-color: var(--navy-abyss);
  will-change: height, border-bottom-left-radius, border-bottom-right-radius;
}

.joby-hero-media {
  position: absolute;
  inset: 0;
  transform: scale(1.04);
  animation: heroKenBurns 26s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes heroKenBurns {
  0% {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.09) translate3d(-1%, -0.8%, 0);
  }
}

.joby-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 46%;
}

.joby-hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  opacity: 0.72;
}

.joby-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 3;
  background:
    linear-gradient(180deg, rgba(7, 22, 46, 0.42) 0%, rgba(7, 22, 46, 0.08) 34%, rgba(7, 22, 46, 0.22) 60%, rgba(7, 22, 46, 0.82) 100%);
  pointer-events: none;
}

/* Joby-Signature Top-Right Floating Feature Card */
.joby-hero-card {
  position: absolute;
  top: clamp(78px, 9.5vh, 102px);
  right: clamp(20px, 3vw, 44px);
  z-index: 6;
  width: 316px;
  padding: 20px 22px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(36, 91, 168, 0.94) 0%, rgba(12, 64, 103, 0.96) 100%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 22px 54px rgba(7, 22, 46, 0.42);
  color: #FFFFFF;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
  animation: heroFadeUp 0.85s var(--ease-expo) 0.25s both;
  transition: transform 0.35s var(--ease-expo), box-shadow 0.35s var(--ease-expo), border-color 0.3s ease;
  will-change: transform, opacity;
}

.joby-hero-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -25%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(209, 117, 47, 0.32) 0%, transparent 70%);
  pointer-events: none;
}

.joby-hero-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 255, 255, 0.32);
  box-shadow: 0 28px 64px rgba(7, 22, 46, 0.52);
}

.joby-hero-card-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
}

.joby-hero-card-title {
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.03em;
  color: #FFFFFF;
}

.joby-hero-card-foot {
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
}

.joby-hero-card-arrow {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #0C4067;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease-expo), background-color 0.25s ease, color 0.25s ease;
}

.joby-hero-card:hover .joby-hero-card-arrow {
  transform: translateX(3px);
  background: var(--copper);
  color: #FFFFFF;
}

@media (max-width: 960px) {
  .joby-hero-card {
    display: none;
  }
}

/* Pure CSS Entrance Keyframes (Never stuck invisible even without JS) */
@keyframes heroLineUp {
  from {
    transform: translateY(36%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes heroFadeUp {
  from {
    transform: translateY(16px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Centered Monumental 2-Line Headline + Subline + Primary CTA at y=0 */
.joby-hero-headline {
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(40px, 6.5vh, 78px);
  z-index: 4;
  text-align: center;
  padding-inline: clamp(20px, 4vw, 64px);
  display: flex;
  flex-direction: column;
  align-items: center;
  will-change: transform, opacity;
}

.joby-hero-headline h1 {
  font-size: clamp(46px, 6.1vw, 92px);
  font-weight: 600;
  line-height: 0.98;
  letter-spacing: -0.036em;
  color: #FFFFFF;
  text-wrap: balance;
  text-shadow: 0 8px 42px rgba(7, 22, 46, 0.38);
}

.joby-hero-sub {
  margin-top: clamp(16px, 2.2vh, 24px);
  max-width: 580px;
  font-size: clamp(15px, 1.25vw, 18.5px);
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: -0.005em;
  color: rgba(255, 255, 255, 0.92);
  text-wrap: balance;
  text-shadow: 0 2px 18px rgba(7, 22, 46, 0.5);
  animation: heroFadeUp 0.85s var(--ease-expo) 0.2s both;
}

.joby-hero-actions {
  margin-top: clamp(22px, 2.8vh, 30px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  animation: heroFadeUp 0.85s var(--ease-expo) 0.32s both;
}

.joby-btn-copper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  background-color: var(--copper);
  color: #FFFFFF;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: -0.005em;
  border: none;
  box-shadow: none;
  transition: background-color 0.25s ease, transform 0.35s var(--ease-expo);
}

.joby-btn-copper:hover {
  background-color: #DC7F38;
  transform: translateY(-2px);
  box-shadow: none;
}

.line-mask {
  display: block;
  overflow: hidden;
  padding-top: 0.04em;
  padding-bottom: 0.24em;
  margin-bottom: -0.18em;
}

.line-mask:last-child {
  margin-bottom: 0;
}

.line-inner {
  display: block;
  animation: heroLineUp 0.9s var(--ease-expo) both;
}

.line-mask:nth-child(2) .line-inner {
  animation-delay: 0.1s;
}

/* Scroll-Revealed Bottom-Left Editorial Caption with Copper Bar */
.joby-hero-caption {
  position: absolute;
  left: clamp(24px, 4.5vw, 72px);
  bottom: clamp(44px, 7.5vh, 84px);
  z-index: 5;
  display: flex;
  align-items: stretch;
  gap: 20px;
  max-width: 470px;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  pointer-events: none;
  will-change: transform, opacity;
}

.joby-hero-caption.is-interactive {
  pointer-events: auto;
}

.joby-caption-bar {
  width: 2.5px;
  flex-shrink: 0;
  background: var(--copper);
  border-radius: 2px;
}

.joby-caption-body p {
  font-size: clamp(1.125rem, 1.45vw, 1.4rem);
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-bottom: 14px;
}

.joby-caption-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.35);
  padding-bottom: 3px;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.joby-caption-link:hover {
  color: #FFFFFF;
  border-color: var(--copper);
}

/* ==========================================================================
   FLOATING SCULPTED SHEETS ON DEEP BLUE CANVAS
   ========================================================================== */
.joby-sheet {
  position: relative;
  margin: var(--gutter) var(--gutter) 0;
  border-radius: var(--sheet-radius);
  overflow: clip;
  will-change: transform;
}

.joby-sheet-light {
  background-color: var(--sheet-cream);
  color: var(--ink);
}

.joby-sheet-white {
  background-color: var(--sheet-white);
  color: var(--ink);
}

.joby-sheet-midnight {
  background:
    radial-gradient(ellipse 75% 55% at 50% 0%, rgba(36, 91, 168, 0.34) 0%, rgba(10, 32, 69, 0) 70%),
    var(--navy-deep);
  color: #FFFFFF;
}

/* ==========================================================================
   SECTION 2 · MONUMENTAL EDITORIAL SHEET + SCROLL-EXPANDING PORTAL
   ========================================================================== */
.joby-editorial-sheet {
  padding: clamp(72px, 9vw, 136px) 0 clamp(84px, 10vw, 148px);
}

.joby-monumental-title {
  font-size: clamp(42px, 6.7vw, 106px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.045em;
  color: var(--ink);
  text-align: center;
  text-wrap: balance;
  margin-bottom: clamp(56px, 7.2vw, 104px);
}

@media (min-width: 900px) {
  .joby-monumental-title {
    white-space: nowrap;
  }
}

/* Scroll-Expanding Cinema Media Portal */
.joby-portal-wrap {
  width: 100%;
  margin-bottom: clamp(64px, 7.5vw, 112px);
}

.joby-media-portal {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 76vh;
  border-radius: 34px;
  overflow: hidden;
  transform: scale(0.86);
  transform-origin: center center;
  will-change: transform, border-radius;
  box-shadow: 0 28px 80px rgba(10, 32, 69, 0.14);
}

.joby-media-portal img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 52%;
}

.joby-portal-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 32, 69, 0) 52%, rgba(7, 22, 46, 0.78) 100%);
  pointer-events: none;
}

/* Razor-Thin Architectural Measurement Line inside Portal */
.joby-measure-bar {
  position: absolute;
  left: clamp(20px, 4vw, 56px);
  right: clamp(20px, 4vw, 56px);
  bottom: clamp(20px, 3.2vw, 40px);
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
  color: #FFFFFF;
  z-index: 2;
}

.measure-endpoint {
  font-size: clamp(0.85rem, 1.05vw, 1.05rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.measure-center {
  font-size: clamp(0.8rem, 0.95vw, 0.95rem);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.86);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.measure-hairline {
  position: relative;
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.34);
}

.measure-dot {
  position: absolute;
  left: 28%;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--copper);
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 4px rgba(209, 117, 47, 0.28);
}

/* Asymmetric Editorial Statement */
.joby-statement-grid {
  display: grid;
  grid-template-columns: minmax(180px, 260px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
  margin-bottom: clamp(64px, 7.5vw, 108px);
}

.joby-statement-label {
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  padding-top: 10px;
}

.joby-statement-copy {
  font-size: clamp(1.9rem, 3.25vw, 3.25rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -0.032em;
  color: var(--ink);
  max-width: 28ch;
  text-wrap: balance;
}

.joby-statement-copy em {
  font-style: normal;
  color: var(--canvas-blue);
}

/* Word-by-word scroll illumination */
.scroll-scrub-text .scrub-word {
  opacity: 0.36;
  transition: opacity 0.35s ease;
}

.scroll-scrub-text .scrub-word.is-lit {
  opacity: 1;
}

/* Calm 3-Column Swiss-Grid Facts */
.joby-facts-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
  padding-top: clamp(36px, 4vw, 56px);
  border-top: 1px solid var(--hairline);
}

.joby-fact-val {
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.05;
  color: var(--ink);
  margin-bottom: 12px;
}

.joby-fact-val span:last-child {
  font-weight: 500;
}

.joby-fact-desc {
  font-size: 0.96rem;
  line-height: 1.58;
  color: var(--muted);
  max-width: 34ch;
}

/* ==========================================================================
   SECTION 3 · MESSSYSTEME CINEMA SHOWCASE + 3-SCHRITTE ZEB-ABLAUF
   ========================================================================== */
.joby-systems-sheet {
  padding: clamp(72px, 8.5vw, 132px) 0 clamp(80px, 9.5vw, 140px);
}

.joby-systems-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 84px);
  align-items: start;
  margin-bottom: clamp(80px, 9vw, 136px);
}

.joby-systems-media-col {
  position: sticky;
  top: 104px;
}

.joby-systems-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 28px;
  overflow: hidden;
  background-color: var(--navy-deep);
  box-shadow: 0 24px 64px rgba(10, 32, 69, 0.12);
}

.joby-systems-frame .system-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  opacity: 0;
  transform: scale(1.03);
  transition: opacity 0.55s var(--ease-expo), transform 0.7s var(--ease-expo);
}

.joby-systems-frame .system-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.joby-systems-frame-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 44px 26px 22px;
  background: linear-gradient(180deg, rgba(7, 22, 46, 0) 0%, rgba(7, 22, 46, 0.84) 100%);
  color: #FFFFFF;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 16px;
}

.joby-systems-frame-caption strong {
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.015em;
}

.joby-systems-frame-caption span {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.78);
}

.joby-section-heading {
  font-size: clamp(2rem, 3.3vw, 3.25rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--ink);
  text-wrap: balance;
  margin-bottom: 20px;
}

.joby-section-lead {
  font-size: 1.05rem;
  line-height: 1.62;
  color: var(--muted);
  margin-bottom: 36px;
  max-width: 52ch;
}

.joby-system-list {
  list-style: none;
  border-top: 1px solid var(--hairline);
  margin-bottom: 32px;
}

.joby-system-list li {
  border-bottom: 1px solid var(--hairline);
}

.joby-system-row {
  display: grid;
  grid-template-columns: 136px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 18px;
  padding: 20px 8px;
  transition: background 0.3s ease, padding-left 0.35s var(--ease-expo);
  border-radius: 12px;
}

.joby-system-row:hover,
.joby-system-row.is-selected {
  background: rgba(12, 64, 103, 0.045);
  padding-left: 14px;
}

.joby-system-row .sys-name {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.015em;
}

.joby-system-row.is-selected .sys-name {
  color: var(--canvas-blue);
}

.joby-system-row .sys-desc {
  font-size: 0.93rem;
  line-height: 1.45;
  color: var(--muted);
}

.joby-system-row .arrow-glide {
  color: var(--copper);
  font-weight: 600;
}

.joby-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.96rem;
  font-weight: 600;
  color: var(--canvas-blue);
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(12, 64, 103, 0.28);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.joby-inline-link:hover {
  color: var(--copper);
  border-color: var(--copper);
}

/* 3-Step Horizontal Architectural Process Block */
.joby-process-block {
  padding-top: clamp(48px, 6vw, 80px);
  border-top: 1px solid var(--hairline);
}

.joby-process-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}

.joby-process-head h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.4rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--ink);
  max-width: 24ch;
  text-wrap: balance;
}

.joby-process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.5vw, 32px);
}

.joby-process-step {
  background: #F4F6F8;
  border: 1px solid rgba(12, 64, 103, 0.08);
  border-radius: 24px;
  padding: 36px 32px;
  transition: transform 0.4s var(--ease-expo), box-shadow 0.4s var(--ease-expo), border-color 0.3s ease;
}

.joby-process-step:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 42px rgba(10, 32, 69, 0.08);
  border-color: rgba(12, 64, 103, 0.16);
}

.joby-step-num {
  font-size: 38px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--copper);
  padding-bottom: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(12, 64, 103, 0.12);
}

.joby-process-step h4 {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.24;
  color: var(--ink);
  margin-bottom: 12px;
}

.joby-process-step p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
}

/* ==========================================================================
   SECTION 4 · STRADIVARI® SYMMETRIC DEEP-BLUE CINEMA SHEET
   ========================================================================== */
.joby-stradivari-sheet {
  padding: clamp(80px, 9.5vw, 144px) 0 clamp(72px, 8vw, 120px);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.joby-stradivari-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto clamp(48px, 6vw, 80px);
}

.joby-stradivari-header h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.25rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.038em;
  color: #FFFFFF;
  text-wrap: balance;
  margin-bottom: 22px;
}

.joby-stradivari-header p {
  font-size: clamp(1.02rem, 1.2vw, 1.15rem);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 28px;
}

.joby-inline-link-light {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.98rem;
  font-weight: 600;
  color: #FFFFFF;
  padding-bottom: 4px;
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  transition: color 0.25s ease, border-color 0.25s ease;
}

.joby-inline-link-light:hover {
  color: var(--copper);
  border-color: var(--copper);
}

.joby-software-stage {
  position: relative;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  border-radius: 28px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 36px 96px rgba(4, 12, 28, 0.55);
  transform-style: preserve-3d;
  transition: transform 0.22s ease-out;
  will-change: transform;
}

.joby-software-stage img {
  width: 100%;
  height: auto;
  display: block;
}

.software-glint {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    520px circle at var(--mx, 50%) var(--my, 50%),
    rgba(209, 117, 47, 0.16),
    transparent 60%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
}

.joby-software-stage:hover .software-glint {
  opacity: 1;
}

/* ==========================================================================
   SECTION 5 · FLOATING STORY-CINEMA SHEET (FORSCHUNG & HISTORIE)
   ========================================================================== */
.joby-story-cinema {
  position: relative;
  min-height: 86vh;
  margin: var(--gutter) var(--gutter) 0;
  border-radius: var(--sheet-radius);
  border: 1px solid rgba(255, 255, 255, 0.10);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-abyss);
  color: #FFFFFF;
  will-change: transform;
}

.joby-story-bg {
  position: absolute;
  inset: -8% 0;
  z-index: 1;
  will-change: transform;
}

.joby-story-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.joby-story-scrim {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(7, 22, 46, 0.72) 0%, rgba(7, 22, 46, 0.18) 46%, rgba(7, 22, 46, 0.18) 58%, rgba(7, 22, 46, 0.74) 100%),
    linear-gradient(180deg, rgba(7, 22, 46, 0.25) 0%, rgba(7, 22, 46, 0.08) 50%, rgba(12, 64, 103, 0.55) 100%);
  pointer-events: none;
}

.joby-story-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 4.5vw, 64px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(32px, 6vw, 96px);
}

.joby-story-left {
  max-width: 490px;
}

.joby-story-left h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  font-weight: 600;
  line-height: 1.06;
  letter-spacing: -0.035em;
  color: #FFFFFF;
  text-wrap: balance;
  margin-bottom: 28px;
}

.joby-story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.joby-pill-solid {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  background: var(--sheet-cream);
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.3s var(--ease-expo);
}

.joby-pill-solid:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
}

.joby-pill-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: #FFFFFF;
  font-size: 0.92rem;
  font-weight: 500;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.3s var(--ease-expo);
}

.joby-pill-outline:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #FFFFFF;
  transform: translateY(-2px);
}

.joby-story-right {
  max-width: 390px;
}

.joby-story-right p {
  font-size: clamp(0.98rem, 1.1vw, 1.08rem);
  line-height: 1.64;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   SECTION 6 · SOVEREIGN BRAND-BLUE FINALE & ARCHITECTURAL FOOTER
   ========================================================================== */
.joby-finale {
  background-color: var(--canvas-blue);
  color: #FFFFFF;
  padding: clamp(92px, 11vw, 156px) 0 clamp(84px, 9.5vw, 140px);
}

.joby-finale-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.joby-finale-cta {
  max-width: 680px;
}

.joby-finale-cta h2 {
  font-size: clamp(2.35rem, 4.6vw, 4.35rem);
  font-weight: 600;
  line-height: 1.03;
  letter-spacing: -0.04em;
  color: #FFFFFF;
  text-wrap: balance;
  margin-bottom: 20px;
}

.joby-finale-cta p {
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.8);
  max-width: 44ch;
  margin-bottom: 34px;
}

.joby-finale-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 999px;
  background-color: var(--copper);
  color: #FFFFFF;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  transition: background-color 0.28s ease, transform 0.35s var(--ease-expo), box-shadow 0.35s ease;
}

.joby-finale-btn:hover {
  background-color: var(--copper-hover);
  box-shadow: 0 14px 36px rgba(7, 22, 46, 0.32);
}

/* Direct-Entry Hairline List (Right Column) */
.joby-direct-list {
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 22px;
}

.joby-direct-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.joby-direct-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 4px;
  font-size: 1.04rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  letter-spacing: -0.01em;
  transition: color 0.25s ease, padding-left 0.35s var(--ease-expo);
}

.joby-direct-link .arrow-glide {
  color: var(--copper);
  font-weight: 600;
}

.joby-direct-link:hover {
  color: #FFFFFF;
  padding-left: 8px;
}

.joby-direct-phone {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.64);
  letter-spacing: 0.01em;
  padding-left: 4px;
}

/* Architectural Footer */
.joby-footer {
  background-color: var(--canvas-blue);
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.joby-footer-main {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: clamp(40px, 6vw, 96px);
  padding: clamp(60px, 7vw, 96px) 0 clamp(56px, 6.5vw, 88px);
}

.joby-footer-logo {
  height: 48px;
  width: auto;
  margin-bottom: 22px;
}

.joby-footer-meta {
  font-size: 0.92rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72);
}

.joby-footer-cols {
  display: flex;
  gap: clamp(40px, 6vw, 96px);
}

.joby-footer-col h4 {
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.56);
  margin-bottom: 18px;
}

.joby-footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.joby-footer-col a {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.86);
  transition: color 0.2s ease;
}

.joby-footer-col a:hover {
  color: #FFFFFF;
}

.joby-footer-bottom {
  background-color: var(--navy-deep);
  padding: 22px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.joby-footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.64);
}

/* Goulmam OS Footer Credit Badge (Kontinuum Parity) */
.joby-footer-bottom-right {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.joby-footer-sep {
  color: rgba(255, 255, 255, 0.22);
}

.goulmam-os-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.25s ease;
}

.goulmam-os-badge:hover {
  color: #FFFFFF;
}

.goulmam-os-label {
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.48);
  transition: color 0.25s ease;
}

.goulmam-os-badge:hover .goulmam-os-label {
  color: rgba(255, 255, 255, 0.78);
}

.goulmam-os-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.25s ease;
}

.goulmam-os-badge:hover .goulmam-os-brand {
  color: #FFFFFF;
}

.goulmam-os-logo {
  height: 14px;
  width: auto;
  flex-shrink: 0;
  display: block;
}

.goulmam-os-wordmark {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.goulmam-os-wordmark span {
  font-weight: 400;
  color: rgba(255, 255, 255, 0.62);
}

.goulmam-os-arrow {
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.42);
  transition: transform 0.25s var(--ease-expo), color 0.25s ease;
}

.goulmam-os-badge:hover .goulmam-os-arrow {
  transform: translate(2px, -2px);
  color: #FFFFFF;
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .joby-systems-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .joby-systems-media-col {
    position: static;
  }

  .joby-statement-grid,
  .joby-finale-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .joby-process-grid,
  .joby-facts-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .joby-process-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .joby-story-inner {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

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

  .joby-hero-portal {
    border-bottom-left-radius: 56px;
    border-bottom-right-radius: 56px;
  }

  .joby-media-portal {
    aspect-ratio: 4 / 3;
    border-radius: 24px;
  }

  .joby-measure-bar {
    flex-wrap: wrap;
    gap: 8px 12px;
  }

  .measure-hairline {
    display: none;
  }

  .joby-system-row {
    grid-template-columns: 1fr 24px;
    gap: 6px 12px;
  }

  .joby-system-row .sys-name {
    grid-column: 1 / 2;
  }

  .joby-system-row .sys-desc {
    grid-column: 1 / 2;
  }

  .joby-system-row .arrow-glide {
    grid-column: 2 / 3;
    grid-row: 1 / 3;
  }

  .joby-footer-main {
    flex-direction: column;
  }

  .joby-footer-cols {
    flex-wrap: wrap;
    gap: 36px 56px;
  }

  .joby-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ==========================================================================
   PREFERS-REDUCED-MOTION COMPLIANCE
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .joby-hero-stage {
    height: auto;
  }

  .joby-hero-sticky {
    position: relative;
    height: 90vh;
  }

  .joby-hero-media {
    animation: none;
    transform: none;
  }

  .line-inner {
    transform: none;
    opacity: 1;
  }

  .joby-hero-caption {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }

  .joby-media-portal {
    transform: none;
  }

  .reveal,
  .media-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .scroll-scrub-text .scrub-word {
    opacity: 1;
  }
}
