/* ============================================================
   DRONA — Apple-style design system
   ============================================================
   Direction: Early Jony-Ive Apple. Bright white, tight SF-style
   type, restrained color, centered product hero, minimal chrome.
   ============================================================ */

/* ----- Reset ----- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "cv11";
  font-synthesis: none;
  overflow-x: hidden;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }
h1, h2, h3, h4, h5, h6, p { margin: 0; }
::selection { background: #1d1d1f; color: #fff; }

/* ----- Tokens ----- */
:root {
  /* Ink */
  --ink:      #1d1d1f;           /* Apple's near-black */
  --ink-2:    #333336;
  --ink-3:    #6e6e73;           /* Apple's secondary gray */
  --ink-4:    #86868b;           /* Apple's tertiary gray */
  --ink-5:    #a1a1a6;
  --ink-line: #d2d2d7;           /* Apple's rule line */
  --ink-line-2: #e8e8ed;

  /* Surface */
  --bg:       #ffffff;
  --bg-2:     #fbfbfd;           /* Apple's soft-white panel */
  --bg-3:     #f5f5f7;           /* Apple's off-white section */

  /* Dark */
  --dark:     #000000;
  --dark-2:   #0a0a0c;
  --dark-3:   #161617;
  --dark-ink:   #f5f5f7;
  --dark-ink-2: #a1a1a6;
  --dark-ink-3: #6e6e73;
  --dark-line:  #1f1f21;

  /* Accent — single muted graphite blue, used sparingly */
  --accent:    #0066cc;          /* Apple link blue */
  --accent-2:  #2997ff;          /* lighter for dark sections */

  /* Type */
  --font-sans: "Inter Tight", "SF Pro Display", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-text: "Inter", "SF Pro Text", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Layout */
  --max:      980px;             /* Apple's narrow marketing width */
  --max-wide: 1200px;
  --max-x:    1440px;
  --gutter:   24px;

  /* Radius */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-xl: 32px;

  /* Motion */
  --ease: cubic-bezier(0.28, 0.11, 0.32, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
  --ease-out: cubic-bezier(0, 0, 0.25, 1);
}

/* ============================================================
   TYPE — Apple's marketing scale, near-exact
   Reference: apple.com product pages
   ============================================================ */

/* Super-hero — for investors page, product pages */
.t-hero {
  font-family: var(--font-sans);
  font-size: clamp(44px, 7.2vw, 96px);
  line-height: 1.05;
  letter-spacing: -0.035em;
  font-weight: 600;
  color: var(--ink);
}

/* Section headline — Apple's "A new kind of…" */
.t-headline {
  font-family: var(--font-sans);
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.07;
  letter-spacing: -0.028em;
  font-weight: 600;
  color: var(--ink);
}

/* Title — for cards, small sections */
.t-title {
  font-family: var(--font-sans);
  font-size: clamp(24px, 2.4vw, 32px);
  line-height: 1.15;
  letter-spacing: -0.018em;
  font-weight: 600;
  color: var(--ink);
}

/* Eyebrow — small caps above headlines */
.t-eyebrow {
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1;
  letter-spacing: 0.12em;
  font-weight: 500;
  text-transform: uppercase;
  color: var(--ink-3);
}

/* Lede — paragraph under headline */
.t-lede {
  font-family: var(--font-text);
  font-size: clamp(19px, 1.5vw, 23px);
  line-height: 1.45;
  letter-spacing: -0.008em;
  font-weight: 400;
  color: var(--ink-2);
}

/* Body */
.t-body {
  font-family: var(--font-text);
  font-size: 17px;
  line-height: 1.5;
  letter-spacing: -0.003em;
  font-weight: 400;
  color: var(--ink-2);
}

/* Small body */
.t-small {
  font-family: var(--font-text);
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: 0;
  color: var(--ink-3);
}

/* Caption — below imagery */
.t-caption {
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1.4;
  letter-spacing: 0.02em;
  color: var(--ink-4);
  text-transform: uppercase;
  font-weight: 500;
}

/* Mono */
.t-mono {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0;
}

/* Utility color on dark sections */
.on-dark { color: var(--dark-ink); }
.on-dark.t-lede, .on-dark .t-lede { color: var(--dark-ink-2); }
.on-dark.t-eyebrow, .on-dark .t-eyebrow { color: var(--dark-ink-3); }
.on-dark.t-body, .on-dark .t-body { color: var(--dark-ink-2); }
.on-dark.t-small, .on-dark .t-small { color: var(--dark-ink-3); }
.on-dark.t-hero, .on-dark .t-hero,
.on-dark.t-headline, .on-dark .t-headline,
.on-dark.t-title, .on-dark .t-title { color: #fff; }

/* ============================================================
   LAYOUT
   ============================================================ */

.wrap    { max-width: var(--max);       margin: 0 auto; padding: 0 var(--gutter); }
.wrap-w  { max-width: var(--max-wide);  margin: 0 auto; padding: 0 var(--gutter); }
.wrap-xl { max-width: var(--max-x);     margin: 0 auto; padding: 0 var(--gutter); }

.section    { padding: 120px 0; }
.section-sm { padding: 80px 0; }
.section-lg { padding: 160px 0; }
@media (max-width: 720px) {
  .section    { padding: 80px 0; }
  .section-sm { padding: 56px 0; }
  .section-lg { padding: 100px 0; }
}

.bg-white  { background: var(--bg); }
.bg-soft   { background: var(--bg-2); }
.bg-panel  { background: var(--bg-3); }
.bg-black  { background: var(--dark); color: var(--dark-ink); }
.bg-black-2{ background: var(--dark-2); color: var(--dark-ink); }

.center { text-align: center; }
.measure { max-width: 720px; margin-left: auto; margin-right: auto; }
.measure-tight { max-width: 560px; margin-left: auto; margin-right: auto; }

/* Stack rhythm */
.stack > * + *      { margin-top: 24px; }
.stack-sm > * + *   { margin-top: 12px; }
.stack-lg > * + *   { margin-top: 40px; }

/* ============================================================
   NAV — Apple-style thin centered with hover mega menus
   ============================================================ */

.nav {
  position: sticky; top: 0; z-index: 100;
  height: 48px;
  background: rgba(255,255,255,0.72);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}
.nav.on-dark-nav {
  background: rgba(0,0,0,0.72);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  color: var(--dark-ink);
}
.nav .nav-inner {
  max-width: 1024px;
  margin: 0 auto;
  padding: 0 22px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.nav .nav-logo {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.02em;
  color: currentColor;
  opacity: 0.92;
  transition: opacity 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.nav .nav-logo:hover { opacity: 1; }
.nav .nav-logo__mark {
  height: 22px;
  width: auto;
  display: none;              /* hidden by default — shown per theme below */
  flex-shrink: 0;
  max-width: none;            /* beat the global img { max-width: 100% } reset */
}
.nav:not(.on-dark-nav) .nav-logo__mark--light { display: inline-block; }
.nav.on-dark-nav .nav-logo__mark--dark { display: inline-block; }
.nav-logo__word { line-height: 1; }
@media (max-width: 480px) {
  .nav .nav-logo__mark { height: 20px; }
}

.nav ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 1;
  justify-content: center;
}
.nav ul li { position: relative; }
.nav ul a, .nav ul .nav-trigger {
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  height: 48px;
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: -0.005em;
  color: currentColor;
  opacity: 0.85;
  transition: opacity 0.15s;
}
.nav ul a:hover, .nav ul .nav-trigger:hover { opacity: 1; }

.nav .nav-cta {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 14px;
  border-radius: 980px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: background 0.15s;
}
.nav .nav-cta:hover { background: #000; }
.nav.on-dark-nav .nav-cta { background: #fff; color: var(--ink); }
.nav.on-dark-nav .nav-cta:hover { background: var(--dark-ink); }

/* Mega menu */
.nav-mega {
  position: fixed;
  left: 0; right: 0; top: 48px;
  background: rgba(255,255,255,0.96);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.12);
  padding: 36px 22px 48px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease), visibility 0.25s;
  color: var(--ink);
}
.nav ul li:hover > .nav-mega,
.nav ul li:focus-within > .nav-mega {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.nav-mega-inner {
  max-width: 1024px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.nav-mega h4 {
  font-family: var(--font-text);
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-4);
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}
.nav-mega ul {
  display: block;
  flex: none;
  gap: 0;
  justify-content: flex-start;
}
.nav-mega ul li { display: block; }
.nav-mega ul a {
  display: block;
  height: auto;
  padding: 6px 0;
  font-family: var(--font-sans);
  font-size: 22px;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  opacity: 1;
}
.nav-mega ul a:hover { color: var(--accent); }

@media (max-width: 833px) {
  .nav ul { display: none; }
  .nav .nav-inner { justify-content: space-between; }
}

/* ============================================================
   BUTTONS — Apple pill buttons
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 12px 22px;
  border-radius: 980px;
  font-family: var(--font-text);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -0.005em;
  line-height: 1;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), opacity 0.2s;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #0058b3; }
.btn-secondary { background: transparent; color: var(--accent); }
.btn-secondary:hover { text-decoration: underline; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); border: 1px solid var(--ink-line); }
.btn-ghost:hover { background: var(--bg-3); }
.on-dark .btn-secondary { color: var(--accent-2); }
.on-dark .btn-ghost { color: #fff; border-color: rgba(255,255,255,0.3); }
.on-dark .btn-ghost:hover { background: rgba(255,255,255,0.08); }

.btn-row { display: inline-flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.arrow::after {
  content: " ›";
  display: inline-block;
  transform: translateX(0);
  transition: transform 0.2s var(--ease);
}
.arrow:hover::after { transform: translateX(3px); }

/* ============================================================
   FOOTER — Apple's micro-type, many columns
   ============================================================ */

.footer {
  background: var(--bg-3);
  color: var(--ink-3);
  padding: 56px 0 32px;
  font-family: var(--font-text);
  font-size: 12px;
  line-height: 1.5;
}
.footer a { color: var(--ink-3); }
.footer a:hover { color: var(--ink); text-decoration: underline; }
.footer .footer-top {
  padding-bottom: 24px;
  border-bottom: 1px solid var(--ink-line);
}
.footer .footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  padding: 32px 0;
  border-bottom: 1px solid var(--ink-line);
}
@media (max-width: 720px) {
  .footer .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
.footer h5 {
  color: var(--ink);
  font-weight: 600;
  font-size: 12px;
  margin: 0 0 10px;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer ul li { padding: 4px 0; }
.footer .footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ============================================================
   SCROLL REVEAL — Apple-style
   ============================================================ */

[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}
[data-reveal="scale"] { transform: scale(0.96); }
[data-reveal="scale"].is-visible { transform: scale(1); }
[data-reveal-delay="1"] { transition-delay: 0.08s; }
[data-reveal-delay="2"] { transition-delay: 0.16s; }
[data-reveal-delay="3"] { transition-delay: 0.24s; }
[data-reveal-delay="4"] { transition-delay: 0.32s; }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   COMPONENTS
   ============================================================ */

/* Product hero — centered, full-bleed, Apple signature */
.phero {
  padding: 68px 0 0;
  text-align: center;
  overflow: hidden;
}
.phero h1 { margin: 0 auto 14px; max-width: 18ch; }
.phero .t-lede { margin: 0 auto 32px; max-width: 32ch; }
/* Legacy — kept for pages that still use .phero-image */
.phero-image {
  margin: 40px auto 0;
  max-width: 980px;
}
.phero-image img,
.phero-image video { width: 100%; display: block; border-radius: var(--r-xl); }

/* ─────────────────────────────────────────────────────────────
   HERO · editorial (v3)
   Left-anchored content with strong directional gradient so the
   text has a clear reading stage while the drone video breathes
   on the right. Corner marks add editorial craft. Word-by-word
   mount reveal + three-layer scroll parallax + subtle grain.
   ───────────────────────────────────────────────────────────── */
.phero-cinema {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #050507;
  isolation: isolate;
  --phero-progress: 0;
  --phero-warm: #ff8c3b;   /* warm accent for the hero specifically */
}

/* ── Gradient "reading stage" · creates the dark left area without a hard edge ── */
.phero-stage-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* Strong on the far left, fades smoothly into the video by ~55% */
  background:
    linear-gradient(90deg,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.78) 18%,
      rgba(0,0,0,0.48) 34%,
      rgba(0,0,0,0.18) 48%,
      transparent 62%
    ),
    /* Subtle top darken for nav legibility across the whole hero */
    linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 14%),
    /* Soft bottom handoff */
    linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.6) 100%);
  /* Intensifies subtly with scroll */
  opacity: calc(1 + var(--phero-progress) * 0.12);
}

/* ── BACKGROUND: video fills the whole hero edge-to-edge ── */
.phero-video-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  transform-origin: 70% 50%;
  /* Slowest parallax layer */
  transform:
    translateY(calc(var(--phero-progress) * -60px))
    scale(calc(1 + var(--phero-progress) * 0.04));
  will-change: transform;
}
.phero-video-bg video {
  position: absolute;
  inset: 0;
  /* Beat the global "video { max-width: 100%; height: auto }" reset. */
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  /* Push the drone subject right so it's centered in the visible area
     (not covered by the left gradient stage). */
  object-position: 68% 50%;
  display: block;
  filter: saturate(1.08) contrast(1.06) brightness(0.98);
}
.phero-video-vignette {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    /* Top darken under nav for logo/menu legibility */
    linear-gradient(180deg, rgba(0,0,0,0.45) 0%, transparent 18%),
    /* Bottom handoff to the next section */
    linear-gradient(180deg, transparent 72%, rgba(0,0,0,0.55) 100%);
  opacity: calc(1 + var(--phero-progress) * 0.15);
}
.phero-video-grain {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.05;
  background-image:
    radial-gradient(rgba(255,255,255,0.9) 1px, transparent 1.1px),
    radial-gradient(rgba(255,255,255,0.6) 1px, transparent 1.1px);
  background-size: 3px 3px, 7px 7px;
  background-position: 0 0, 1.5px 1.5px;
  mix-blend-mode: overlay;
}

/* ── EDITORIAL CORNER MARKS ── */
.phero-corner {
  position: absolute;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  pointer-events: none;
  animation: phero-fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) 1600ms both;
}
.phero-corner--tl { top: 72px; left: clamp(56px, 8vw, 120px); }
.phero-corner--tr { top: 72px; right: clamp(24px, 4vw, 56px); }
.phero-corner--bl { left: clamp(56px, 8vw, 120px); bottom: clamp(28px, 5vh, 52px); }
.phero-corner__divider { opacity: 0.4; }
.phero-corner__value { color: rgba(255,255,255,0.85); }

/* ── CONTENT STAGE · left-anchored, sits over the gradient ── */
.phero-stage {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
  /* left inset tight enough to align with nav; right generous so narrow column sits left */
  padding: clamp(120px, 16vh, 170px) clamp(56px, 8vw, 120px) clamp(140px, 18vh, 180px);
  max-width: clamp(460px, 44vw, 620px);
  margin: 0;
  transform: translateY(calc(var(--phero-progress) * -80px));
  opacity: calc(1 - var(--phero-progress) * 1.6);
  will-change: transform, opacity;
}

/* Eyebrow — clean typographic mark, no ornament */
.phero-eyebrow {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.72);
  animation: phero-fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) 150ms both;
}
.phero-eyebrow__label { display: inline-block; }

/* Headline — stacked vertical rhythm, sized for full-bleed + gradient stage */
.phero-title {
  margin: 28px 0 0;
  font-family: var(--font-sans);
  font-size: clamp(44px, 5.6vw, 84px);
  line-height: 0.96;
  letter-spacing: calc(-0.04em - var(--phero-progress) * 0.008em);
  font-weight: 600;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.phero-word {
  display: block;
  overflow: hidden;
  padding: 0.08em 0.04em;
  margin: -0.08em -0.04em;
}
.phero-word__inner {
  display: inline-block;
  will-change: transform, opacity;
  transform: translateY(108%);
  opacity: 0;
  animation: phero-word-up 1200ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}
.phero-title .phero-word:nth-child(1) .phero-word__inner { animation-delay: 240ms; }
.phero-title .phero-word:nth-child(2) .phero-word__inner { animation-delay: 400ms; }
.phero-title .phero-word:nth-child(3) .phero-word__inner { animation-delay: 560ms; }
@keyframes phero-word-up {
  0%   { transform: translateY(108%); opacity: 0; }
  60%  { opacity: 1; }
  100% { transform: translateY(0);    opacity: 1; }
}

/* Lede */
.phero-lede {
  font-family: var(--font-text);
  font-size: clamp(19px, 1.6vw, 23px);
  line-height: 1.5;
  letter-spacing: -0.006em;
  font-weight: 400;
  color: rgba(255,255,255,0.78);
  margin: 36px 0 0;
  max-width: 34ch;
  animation: phero-fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) 950ms both;
}

/* CTAs — anchored under the lede */
.phero-ctas {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 48px;
  animation: phero-fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) 1150ms both;
}
@keyframes phero-fade-up {
  from { transform: translateY(18px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.phero-btn-primary,
.phero-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  transition: transform 220ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease);
}
.phero-btn-primary {
  background: #fff;
  color: #0a0a0a;
  border: 1px solid #fff;
  box-shadow: 0 1px 0 rgba(255,255,255,0.6) inset, 0 10px 26px -12px rgba(0,0,0,0.55);
}
.phero-btn-primary:hover { background: #f2f2f4; transform: translateY(-1px); }
.phero-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,0.24);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px) saturate(120%);
  -webkit-backdrop-filter: blur(10px) saturate(120%);
}
.phero-btn-ghost:hover {
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.45);
  transform: translateY(-1px);
}
.phero-btn-ghost span { transition: transform 200ms var(--ease); }
.phero-btn-ghost:hover span { transform: translateX(3px); }

/* Scroll hint — bottom-right of the video column */
.phero-scroll-hint {
  position: absolute;
  right: clamp(24px, 4vw, 56px);
  bottom: clamp(28px, 5vh, 52px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  transform: translateY(calc(var(--phero-progress) * -160px));
  opacity: calc(1 - var(--phero-progress) * 3);
  transition: color 200ms var(--ease);
  animation: phero-fade-up 900ms cubic-bezier(0.16, 1, 0.3, 1) 1450ms both;
  text-shadow: 0 1px 8px rgba(0,0,0,0.4);
}
.phero-scroll-hint:hover { color: #fff; text-decoration: none; }
.phero-scroll-hint__label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}
.phero-scroll-hint__line {
  width: 1px;
  height: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,0.75) 0%, rgba(255,255,255,0) 100%);
  animation: scroll-hint-pulse 2s cubic-bezier(0.65, 0, 0.35, 1) infinite;
  transform-origin: top;
}
@keyframes scroll-hint-pulse {
  0%   { transform: scaleY(0);  opacity: 0; transform-origin: top; }
  40%  { transform: scaleY(1);  opacity: 1; transform-origin: top; }
  60%  { transform: scaleY(1);  opacity: 1; transform-origin: bottom; }
  100% { transform: scaleY(0);  opacity: 0; transform-origin: bottom; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .phero-video-bg,
  .phero-stage,
  .phero-scroll-hint { transform: none !important; opacity: 1 !important; transition: none !important; }
  .phero-word__inner { animation: none !important; transform: none !important; opacity: 1 !important; }
  .phero-eyebrow,
  .phero-lede,
  .phero-ctas,
  .phero-corner,
  .phero-scroll-hint,
  .phero-eyebrow__bar,
  .phero-scroll-hint__line { animation: none !important; opacity: 1 !important; transform: none !important; }
  .phero-title { letter-spacing: -0.045em !important; }
}

/* Tablet */
@media (max-width: 1100px) and (min-width: 721px) {
  .phero-stage { padding: clamp(100px, 14vh, 150px) clamp(40px, 5vw, 72px) clamp(120px, 17vh, 160px); max-width: 55vw; }
  .phero-title { font-size: clamp(42px, 6vw, 68px); }
  .phero-corner--tl, .phero-corner--bl { left: clamp(40px, 5vw, 72px); }
  .phero-video-bg video { object-position: 65% 50%; }
  .phero-stage-gradient {
    background:
      linear-gradient(90deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 28%, rgba(0,0,0,0.15) 52%, transparent 72%),
      linear-gradient(180deg, rgba(0,0,0,0.35) 0%, transparent 14%),
      linear-gradient(180deg, transparent 70%, rgba(0,0,0,0.6) 100%);
  }
}

/* Mobile — gradient covers more of the frame for legibility */
@media (max-width: 720px) {
  .phero-stage {
    padding: clamp(96px, 14vh, 140px) 24px clamp(120px, 18vh, 160px);
    max-width: 100%;
  }
  .phero-title { font-size: clamp(42px, 12vw, 64px); }
  .phero-lede { font-size: 16px; max-width: 28ch; margin-top: 22px; }
  .phero-ctas { margin-top: 28px; flex-direction: column; align-items: stretch; width: min(300px, 100%); }
  .phero-btn-primary, .phero-btn-ghost { padding: 13px 20px; justify-content: center; }
  .phero-corner--tl { top: 58px; left: 24px; font-size: 9.5px; }
  .phero-corner--bl { left: 24px; bottom: 20px; font-size: 9.5px; }
  .phero-corner--tr { display: none; }
  .phero-scroll-hint { display: none; }
  .phero-video-bg video { object-position: 55% 50%; }
  .phero-stage-gradient {
    background:
      linear-gradient(180deg, rgba(0,0,0,0.88) 0%, rgba(0,0,0,0.55) 35%, rgba(0,0,0,0.25) 65%, rgba(0,0,0,0.7) 100%);
  }
}

/* ─────────────────────────────────────────────────────────────
   FLY-REVEAL · video block in the "03 — Fly" section
   Four layered effects:
     1. Initial clip-path "aperture opens" on scroll-in (once)
     2. Slow Ken-Burns zoom while playing (infinite, calm)
     3. 3D perspective tilt driven by scroll position
     4. Subtle parallax lift as block exits viewport
   JS sets --fly-progress (-1 → 0 → 1) where 0 = centered.
   ───────────────────────────────────────────────────────────── */
.fly-reveal {
  position: relative;
  margin: 72px auto 0;
  max-width: 1040px;
  perspective: 2000px;
  --fly-progress: 0;          /* -1 (below) … 0 (centered) … 1 (above) */
  --fly-open: 0;              /* 0 (closed) … 1 (fully revealed) */
}
.fly-reveal__stage {
  position: relative;
  border-radius: var(--r-xl);
  overflow: hidden;
  background: #000;
  /* Aperture reveal — opens horizontally from a narrow slit */
  clip-path: inset(
    calc((1 - var(--fly-open)) * 45%) 0
    calc((1 - var(--fly-open)) * 45%) 0
    round var(--r-xl)
  );
  /* 3D tilt based on scroll — tops toward you when above, bottom toward you when below */
  transform:
    rotateX(calc(var(--fly-progress) * 3deg))
    translateY(calc(var(--fly-progress) * -24px))
    scale(calc(0.96 + var(--fly-open) * 0.04));
  transform-origin: 50% 50%;
  box-shadow:
    0 40px 80px -30px rgba(0,0,0,0.6),
    0 20px 40px -20px rgba(0,0,0,0.4);
  transition: clip-path 1200ms cubic-bezier(0.22, 0.65, 0.15, 1);
  will-change: transform, clip-path;
}
.fly-reveal__stage video,
.fly-reveal__stage img {
  width: 100%;
  height: auto;
  display: block;
  /* Slow Ken-Burns — very subtle, loops forever while playing */
  animation: fly-kenburns 18s ease-in-out infinite alternate;
  transform-origin: 50% 60%;
}
@keyframes fly-kenburns {
  0%   { transform: scale(1.00) translate3d(0, 0, 0); }
  50%  { transform: scale(1.05) translate3d(-0.5%, -0.8%, 0); }
  100% { transform: scale(1.03) translate3d(0.6%, 0.4%, 0); }
}

/* Top-edge specular glare — the "real glass" shimmer on dark backgrounds */
.fly-reveal__glare {
  position: absolute;
  inset: 0;
  border-radius: var(--r-xl);
  pointer-events: none;
  background:
    /* Crisp top highlight */
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0) 12%),
    /* Subtle bottom shadow for depth */
    linear-gradient(0deg, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 18%);
  mix-blend-mode: soft-light;
  opacity: calc(0.6 + var(--fly-open) * 0.4);
  transition: opacity 600ms var(--ease);
}

/* Trigger the aperture open once the block enters the viewport */
.fly-reveal.is-in { --fly-open: 1; }

/* Reduced motion — kill Ken-Burns, tilt, and parallax. Still show content. */
@media (prefers-reduced-motion: reduce) {
  .fly-reveal__stage { transform: none !important; transition: none !important; clip-path: inset(0 round var(--r-xl)) !important; }
  .fly-reveal__stage video,
  .fly-reveal__stage img { animation: none !important; }
}

@media (max-width: 640px) {
  .fly-reveal { margin-top: 48px; }
  .fly-reveal__stage { transform: scale(calc(0.98 + var(--fly-open) * 0.02)) translateY(calc(var(--fly-progress) * -12px)); }
}

/* Two-up card grid (Apple's homepage tile pattern) */
.tile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 720px) { .tile-grid { grid-template-columns: 1fr; } }
.tile {
  background: var(--bg-3);
  border-radius: var(--r-xl);
  padding: 56px 40px 0;
  text-align: center;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}
.tile.tile-dark { background: var(--dark); color: var(--dark-ink); }
.tile h3 { margin-top: 6px; }
.tile .t-eyebrow { color: var(--ink-4); }
.tile-dark .t-eyebrow { color: var(--dark-ink-3); }
.tile .tile-image {
  margin-top: auto;
  margin-left: -40px;    /* escape tile horizontal padding */
  margin-right: -40px;
  padding-top: 32px;
  overflow: hidden;
  border-radius: 0 0 var(--r-xl) var(--r-xl);  /* match tile's bottom */
}
.tile .tile-image img,
.tile .tile-image video {
  width: 100%;
  max-width: 100%;
  display: block;
  margin: 0;
}
@media (max-width: 720px) {
  .tile .tile-image { margin-left: -24px; margin-right: -24px; }
}

/* Big number statements */
.bignum {
  font-family: var(--font-sans);
  font-size: clamp(64px, 10vw, 144px);
  line-height: 0.95;
  letter-spacing: -0.04em;
  font-weight: 600;
  color: var(--ink);
}
.bignum-sub {
  font-family: var(--font-sans);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.2;
  letter-spacing: -0.015em;
  font-weight: 500;
  color: var(--ink-3);
  margin-top: 12px;
  max-width: 24ch;
}
.on-dark .bignum { color: #fff; }
.on-dark .bignum-sub { color: var(--dark-ink-2); }

/* Spec row — Apple's Tech Specs block */
.specs {
  border-top: 1px solid var(--ink-line);
}
.specs .spec-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--ink-line);
}
.specs .spec-row .k {
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-3);
  letter-spacing: 0;
}
.specs .spec-row .v {
  font-family: var(--font-text);
  font-size: 17px;
  color: var(--ink);
  line-height: 1.4;
}
@media (max-width: 640px) {
  .specs .spec-row { grid-template-columns: 1fr; gap: 6px; }
}

/* Sticky scroller (for investors thesis section) */
.sticky-stage {
  position: relative;
}
.sticky-stage .sticky-pin {
  position: sticky;
  top: 48px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Link list, Apple footer style */
.link-list { list-style: none; margin: 0; padding: 0; }
.link-list li { padding: 6px 0; }
.link-list a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: var(--accent);
  font-size: 17px;
  font-family: var(--font-text);
}
.link-list a:hover { text-decoration: underline; }

/* Quote / pull */
.pull {
  font-family: var(--font-sans);
  font-size: clamp(28px, 3.2vw, 44px);
  line-height: 1.15;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: var(--ink);
  max-width: 22ch;
}
.on-dark .pull { color: #fff; }

/* Thin rule */
hr.rule { border: 0; border-top: 1px solid var(--ink-line); margin: 0; }
.on-dark hr.rule { border-color: var(--dark-line); }

/* ==========================================================================
   UI SHOWCASE — full-bleed product-interface hero
   ========================================================================== */

.ui-showcase {
  padding: 100px 0 100px;
  background: #0a0a0a;
  color: var(--dark-ink);
  position: relative;
  overflow: hidden;
}
.ui-showcase::before {
  content: "";
  position: absolute;
  inset: -20% 20% auto 20%;
  height: 900px;
  background:
    radial-gradient(closest-side, rgba(41, 151, 255, 0.14), transparent 70%),
    radial-gradient(closest-side at 60% 40%, rgba(255, 90, 31, 0.08), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.ui-showcase::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  background-position: -1px -1px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 40%, transparent 80%);
  z-index: 0;
}
.ui-showcase .t-eyebrow,
.ui-showcase .t-headline,
.ui-showcase .t-lede { color: #fff; }
.ui-showcase .t-eyebrow { color: var(--dark-ink-3); }
.ui-showcase .t-lede { color: var(--dark-ink-2); }

/* Browser window chrome */
.browser-window {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.browser-window > .browser-chrome + img,
.browser-window > img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 14px 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 60px 120px rgba(0,0,0,0.7),
    0 120px 200px rgba(0,0,0,0.5);
}
.browser-chrome {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 44px;
  padding: 0 18px;
  background: linear-gradient(180deg, #1f1f22, #18181a);
  border-radius: 14px 14px 0 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.08) inset;
  position: relative;
  z-index: 1;
}
.browser-dots {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.browser-dots span {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #3a3a3d;
  box-shadow: 0 0 0 0.5px rgba(0,0,0,0.3) inset;
}
.browser-dots span:nth-child(1) { background: #ff5f57; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.2) inset; }
.browser-dots span:nth-child(2) { background: #febc2e; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.2) inset; }
.browser-dots span:nth-child(3) { background: #28c840; box-shadow: 0 0 0 0.5px rgba(0,0,0,0.2) inset; }

.browser-url {
  flex: 1;
  max-width: 420px;
  display: flex;
  align-items: center;
  gap: 8px;
  height: 26px;
  padding: 0 14px;
  background: #0e0e10;
  border-radius: 8px;
  font-family: var(--font-text);
  font-size: 12.5px;
  color: var(--dark-ink-2);
  letter-spacing: -0.005em;
  box-shadow: 0 0 0 0.5px rgba(255,255,255,0.06) inset;
}
.browser-url svg { color: var(--dark-ink-3); flex-shrink: 0; }

.browser-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  color: var(--dark-ink-2);
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #28c840;
  box-shadow: 0 0 0 3px rgba(40,200,64,0.18);
  animation: live-pulse 2s ease-in-out infinite;
}
@keyframes live-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(40,200,64,0.18); }
  50% { box-shadow: 0 0 0 5px rgba(40,200,64,0.08); }
}
.live-label { color: #fff; }

/* Stats row under the browser */
.ui-showcase-stats {
  max-width: 960px;
  margin: 56px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.stat-cell {
  padding: 24px 20px;
  border-right: 1px solid rgba(255,255,255,0.08);
  text-align: left;
}
.stat-cell:last-child { border-right: 0; }
.stat-cell .stat-k {
  font-family: var(--font-text);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-ink-3);
  margin: 0 0 12px;
}
.stat-cell .stat-v {
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
  margin: 0;
}
.stat-cell .stat-v span {
  font-size: 0.5em;
  font-weight: 500;
  color: var(--dark-ink-3);
  letter-spacing: 0;
}

@media (max-width: 960px) {
  .browser-url { max-width: 220px; }
  .browser-actions .live-label { display: none; }
  .ui-showcase-stats { grid-template-columns: repeat(3, 1fr); }
  .stat-cell:nth-child(3) { border-right: 0; }
  .stat-cell:nth-child(n+4) { border-top: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:nth-child(4) { border-right: 1px solid rgba(255,255,255,0.08); }
}
@media (max-width: 540px) {
  .ui-showcase { padding: 80px 0 100px; }
  .ui-showcase-stats { grid-template-columns: repeat(2, 1fr); }
  .stat-cell { padding: 22px 18px; }
  .stat-cell:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.08); }
  .stat-cell:nth-child(even) { border-right: 0; }
  .stat-cell:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,0.08); }
}

/* ---- Legacy caption grid, still used on product.html ---- */
.ui-showcase-frame {
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}
.ui-showcase-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 14px;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 60px 120px rgba(0,0,0,0.7),
    0 120px 200px rgba(0,0,0,0.5);
}
.ui-showcase-captions {
  max-width: 1360px;
  margin: 64px auto 0;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  position: relative;
  z-index: 2;
}
.ui-showcase-captions > div .t-eyebrow { color: var(--accent-2); margin-bottom: 10px; }
.ui-showcase-captions > div .t-body { color: var(--dark-ink-2); font-size: 15px; line-height: 1.55; }
@media (max-width: 960px) {
  .ui-showcase-captions { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 540px) {
  .ui-showcase-captions { grid-template-columns: 1fr; }
}
