/* =====================================================================
   ROSS AI — Editorial / institutional marketing site
   Off-white paper · sharp architectural lines · navy accent · color photography
   ===================================================================== */

/* -------- 1. TOKENS ------------------------------------------------- */
:root {
  /* Core ink/paper */
  --ink:          #0A0A0A;          /* near-black, primary text */
  --ink-2:        #161616;          /* very dark surfaces */
  --ink-3:        #4A4A4A;          /* muted body copy */
  --ink-soft:     #6B6B6B;          /* tertiary metadata */

  --paper:        #FFFFFF;          /* pure white, primary surface */
  --paper-2:      #F6F6F6;          /* very light grey for section breaks */
  --paper-3:      #EDEDED;          /* light grey — matrix surface */
  --paper-pure:   #FFFFFF;          /* pure white inset cards */

  --rule:         rgba(10, 10, 10, 0.10);
  --rule-strong:  rgba(10, 10, 10, 0.26);

  /* Midnight navy palette — all derived from #0A2A5C */
  --marine:       #0A2A5C;          /* primary brand blue */
  --marine-2:     #14488F;          /* lighter accent for lifted hovers */
  --marine-3:     #0A2A5C;          /* deepest — same as primary, used for "I" and pinpoints */
  --marine-soft:  #DCE3F0;          /* faint blue wash */
  --marine-fog:   #6A85B1;          /* mid-tone for dark surfaces */

  /* Baby blue — soft decorative accent for rails, dividers, hover glows */
  --baby:         #B3C2DE;          /* primary baby blue */
  --baby-soft:    #D5DCED;          /* even softer */
  --baby-strong:  #8499C0;          /* deeper baby for selected dividers */

  /* Spatial rhythm */
  --s-0:   4px;
  --s-1:   8px;
  --s-2:   12px;
  --s-3:   16px;
  --s-4:   24px;
  --s-5:   32px;
  --s-6:   48px;
  --s-7:   64px;
  --s-8:   96px;
  --s-9:   128px;
  --s-10:  192px;

  /* Type */
  --font-display: 'Instrument Serif', 'Times New Roman', serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  --font-mono:    'JetBrains Mono', 'Menlo', monospace;

  --fs-eyebrow:   11px;
  --fs-body:      16px;
  --fs-lede:      19px;
  --fs-h4:        20px;
  --fs-h3:        28px;
  --fs-h2:        clamp(44px, 6.4vw, 88px);
  --fs-h1:        clamp(56px, 9vw, 132px);

  --lh-tight:     0.98;
  --lh-snug:      1.1;
  --lh-body:      1.55;

  /* Motion */
  --ease-out:     cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast:     180ms;
  --dur-base:     320ms;
  --dur-slow:     640ms;

  /* Containers */
  --max-wide:     1480px;
  --max-narrow:   1120px;
  --max-text:     820px;
  --gutter:       max(24px, 4vw);
}

/* -------- 2. RESET / BASE ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  font-feature-settings: 'ss01', 'cv11', 'liga';
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
::selection { background: var(--marine); color: var(--paper); }
:focus-visible { outline: 2px solid var(--marine); outline-offset: 3px; border-radius: 2px; }

/* Decorative vertical rails — soft baby blue threads framing the page */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    transparent 0%,
    var(--baby) 14%,
    var(--baby) 86%,
    transparent 100%
  );
  z-index: 60;
  pointer-events: none;
  opacity: 0.55;
}
body::before { left: 22px; }
body::after  { right: 22px; }
@media (max-width: 1024px) {
  body::before, body::after { display: none; }
}

/* Section to section dividers — baby blue hairline */
main > .section + .section { border-top: 1px solid var(--baby); }
.footer { border-top: 1px solid var(--baby); }

/* Disable italic globally — every face renders upright. */
em, i, address, cite, dfn, var { font-style: normal; }

/* Highlight span — replaces every former <em> in the headlines */
.hl {
  color: var(--marine);
  font-weight: 500;
  position: relative;
  letter-spacing: -0.005em;
}
.display .hl,
.hero-title .hl {
  font-weight: 400;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 76%,
    rgba(10, 42, 92, 0.18) 76%,
    rgba(10, 42, 92, 0.18) 92%,
    transparent 92%
  );
}

/* The "I" in every Ross AI lockup — always regal blue */
.ross-i {
  color: var(--marine-3);
  font-weight: inherit;
}
.footer .ross-i,
.section-microsoft .ross-i {
  color: var(--marine-fog);
}

/* Reveal-on-scroll */
[data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out),
              transform var(--dur-slow) var(--ease-out);
  transition-delay: 60ms;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
}

/* -------- 3. NAV ---------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 40;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
  padding: 18px var(--gutter);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base) var(--ease-out),
              background var(--dur-base) var(--ease-out);
}
.nav.is-scrolled { border-bottom-color: var(--rule); }

.nav-brand { display: inline-flex; align-items: center; gap: 14px; }
.nav-mark { width: 48px; height: auto; }
.nav-wordmark {
  font-family: var(--font-display);
  font-size: 34px;
  letter-spacing: -0.01em;
  line-height: 1;
}

.nav-links { justify-self: center; display: flex; gap: var(--s-5); }
.nav-links a {
  font-size: 13px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  transition: color var(--dur-fast) var(--ease-out);
}
.nav-links a:hover { color: var(--marine); }

.nav-cta {
  font-size: 13px;
  font-weight: 500;
  padding: 9px 18px;
  border: 1px solid var(--marine);
  color: var(--marine);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.nav-cta:hover { background: var(--marine); color: var(--paper); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav { grid-template-columns: auto auto; gap: var(--s-3); padding: 14px var(--gutter); }
}

/* -------- 4. HERO --------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: flex-end;
  padding: var(--s-9) var(--gutter) var(--s-7);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
  /* Dynamic CSS variable, updated by JS in sync with the hero video timeline.
     Starts white, fades to --marine-3 by the time the loop ends. */
  --hero-text-color: rgb(255, 255, 255);
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: contrast(1.02) brightness(0.78) saturate(0.88);
}
/* Cooler veil tinted with a hint of marine so the photo & video read elegant
   without feeling sepia. */
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(120% 90% at 18% 92%, rgba(8, 14, 30, 0.78) 0%, rgba(8, 14, 30, 0.28) 48%, rgba(8, 14, 30, 0.62) 100%),
    linear-gradient(180deg, rgba(10, 14, 24, 0.42) 0%, rgba(10, 14, 24, 0.12) 30%, rgba(10, 14, 24, 0.52) 76%, rgba(8, 12, 22, 0.88) 100%);
  z-index: -1;
}
.hero-grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.16 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  opacity: 0.35;
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}

.hero-inner {
  position: relative;
  max-width: var(--max-wide);
  width: 100%;
  margin: 0 auto;
  padding-bottom: var(--s-5);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--hero-text-color);
  opacity: 0.85;
  margin-bottom: var(--s-5);
  transition: color 90ms linear;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  border-radius: 999px;
  background: var(--marine-fog);
  box-shadow: 0 0 0 4px rgba(106, 133, 177, 0.16);
  animation: pulse 2.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.55; transform: scale(0.82); }
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h1);
  line-height: var(--lh-tight);
  letter-spacing: -0.022em;
  max-width: 18ch;
  color: var(--hero-text-color);
  transition: color 90ms linear;
}
.hero-title .hl {
  color: var(--hero-text-color);
  font-weight: 400;
  opacity: 0.92;
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 78%,
    rgba(179, 194, 222, 0.32) 78%,
    rgba(179, 194, 222, 0.32) 94%,
    transparent 94%
  );
  transition: color 90ms linear;
}

.hero-sub {
  margin-top: var(--s-5);
  max-width: 56ch;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.6;
  color: var(--hero-text-color);
  opacity: 0.85;
  transition: color 90ms linear;
}

.hero-actions {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.hero-meta {
  margin-top: var(--s-6);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hero-text-color);
  opacity: 0.7;
  transition: color 90ms linear;
}
.hero-meta-sep { opacity: 0.4; }

.hero-credit {
  position: absolute;
  right: var(--gutter);
  bottom: var(--s-4);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: rgba(255,255,255,0.5);
  text-transform: uppercase;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 46px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.005em;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--paper); color: var(--marine); border: 1px solid var(--paper); }
.btn-primary:hover { background: var(--marine); color: var(--paper); border-color: var(--marine); }
.btn-ghost { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }
.btn-large { height: 54px; padding: 0 28px; font-size: 15px; }
.btn-arrow { transition: transform var(--dur-fast) var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* When primary CTA sits on light surface */
.section-contact .btn-primary {
  background: var(--marine);
  color: var(--paper);
  border-color: var(--marine);
}
.section-contact .btn-primary:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: var(--ink);
}

/* -------- 5. SECTION SCAFFOLD -------------------------------------- */
.section {
  padding: var(--s-10) var(--gutter);
  position: relative;
}
@media (max-width: 768px) {
  .section { padding: var(--s-8) var(--gutter); }
}

.section-head {
  max-width: var(--max-wide);
  margin: 0 auto var(--s-8);
}

/* R mark that anchors every section header — big enough to read as a brand stamp */
.section-mark-img {
  width: 84px;
  height: auto;
  display: block;
  margin: 0 0 var(--s-5) 0;
  opacity: 1;
}
@media (max-width: 768px) {
  .section-mark-img { width: 64px; }
}
.section-microsoft .section-mark-img,
.footer .section-mark-img { filter: invert(1); opacity: 0.88; }

/* Trust + Fit + Microsoft + Contact use bespoke inner wrappers */
.trust-inner .section-mark-img,
.fit-inner .section-mark-img,
.contact-inner .section-mark-img,
.microsoft-copy .section-mark-img {
  margin-bottom: var(--s-5);
}
.kicker {
  display: inline-block;
  position: relative;
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marine);
  padding-bottom: var(--s-2);
  border-bottom: 1px solid var(--marine);
  margin-bottom: var(--s-5);
}
.kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 36px;
  height: 1px;
  background: var(--baby-strong);
}
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: var(--fs-h2);
  line-height: var(--lh-snug);
  letter-spacing: -0.02em;
  max-width: 22ch;
  color: var(--ink);
}
.section-lede {
  margin-top: var(--s-4);
  max-width: 58ch;
  color: var(--ink-3);
  font-size: var(--fs-lede);
  line-height: 1.55;
}

/* -------- 5bb. STATEMENT — black band, white type ----------------- */
.section-statement {
  background: var(--ink);
  color: var(--paper);
  padding: var(--s-10) var(--gutter);
  text-align: center;
  border-top: 1px solid var(--baby);
  border-bottom: 1px solid var(--baby);
}
.statement-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.section-statement .section-mark-img {
  width: 72px;
  filter: invert(1);
  opacity: 0.92;
  margin: 0 0 var(--s-3) 0;
}
.statement-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--baby);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--baby);
  margin: 0;
}
.statement-line {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(34px, 5.2vw, 72px);
  line-height: 1.14;
  letter-spacing: -0.018em;
  color: var(--paper);
  max-width: 28ch;
  margin: 0;
}
.statement-sub {
  margin-top: var(--s-3);
  font-size: var(--fs-lede);
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.74);
  max-width: 56ch;
}

/* -------- 5c. FEATURE REEL — cycling capability list -------------- */
.section-reel {
  background: var(--paper);
  padding: var(--s-10) var(--gutter);
}
.reel-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(120px, 200px) 1fr minmax(140px, 220px);
  align-items: center;
  gap: var(--s-6);
}
.reel-left { justify-self: start; }
.reel-right { justify-self: end; }
.reel-kicker {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-3);
  line-height: 1.5;
  max-width: 14ch;
  display: inline-block;
  border-left: 1px solid var(--marine);
  padding-left: var(--s-3);
}
.reel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--marine);
  padding: 10px 18px;
  border: 1px solid var(--marine);
  border-radius: 999px;
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out);
}
.reel-link:hover { background: var(--marine); color: var(--paper); }
.reel-link:hover .reel-arrow { transform: translateX(4px); }
.reel-arrow { transition: transform var(--dur-fast) var(--ease-out); }

/* The slot-machine wheel */
.reel-window {
  --reel-line: clamp(48px, 5.2vw, 84px);
  position: relative;
  width: 100%;
  height: calc(var(--reel-line) * 5);
  overflow: hidden;
  isolation: isolate;
}

/* Sharp top mask — solid white for the upper 2 line zone with a tight fade
   into the center. Outside the center band, items snap to white. */
.reel-window::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: calc(var(--reel-line) * 2);
  background: linear-gradient(180deg,
    var(--paper) 0%,
    var(--paper) 78%,
    rgba(255, 255, 255, 0) 100%);
  z-index: 5;
  pointer-events: none;
}
/* Sharp bottom mask — mirror */
.reel-window::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: calc(var(--reel-line) * 2);
  background: linear-gradient(0deg,
    var(--paper) 0%,
    var(--paper) 78%,
    rgba(255, 255, 255, 0) 100%);
  z-index: 5;
  pointer-events: none;
}

.reel-list {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: calc(50% - var(--reel-line) / 2);
  left: 0;
  right: 0;
  text-align: center;
  font-family: var(--font-display);
  animation: reel-scroll 22s linear infinite;
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.reel-list li {
  height: var(--reel-line);
  line-height: var(--reel-line);
  font-size: calc(var(--reel-line) * 0.78);
  letter-spacing: -0.022em;
  color: var(--ink);
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: clip;
}

@keyframes reel-scroll {
  from { transform: translateY(0); }
  to   { transform: translateY(calc(var(--reel-line) * -11)); }
}

@media (prefers-reduced-motion: reduce) {
  .reel-list { animation: none; }
}

@media (max-width: 1024px) {
  .reel-inner {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    text-align: center;
  }
  .reel-left, .reel-right { justify-self: center; }
  .reel-kicker {
    border-left: 0;
    border-top: 1px solid var(--marine);
    padding: var(--s-2) 0 0 0;
    text-align: center;
  }
}
@media (max-width: 640px) {
  .reel-list li { font-size: clamp(28px, 9vw, 48px); }
}

/* -------- 5b. MOTTO BAND ------------------------------------------ */
.section-motto {
  background: var(--paper);
  border-top: 1px solid var(--marine);
  border-bottom: 1px solid var(--marine);
  padding: var(--s-9) var(--gutter);
  text-align: center;
  position: relative;
}
.section-motto::before,
.section-motto::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 38px;
  height: 1px;
  background: var(--marine);
}
.section-motto::before { top: 6px; }
.section-motto::after  { bottom: 6px; }
.motto-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--s-4);
}
.motto-mark {
  width: clamp(140px, 16vw, 220px);
  height: auto;
  opacity: 1;
}
.motto-line {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 56px);
  line-height: 1.18;
  letter-spacing: -0.012em;
  color: var(--ink);
  max-width: 24ch;
  margin: 0;
}
.motto-attrib {
  margin-top: var(--s-2);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--marine);
}

/* -------- 6. DIFFERENCE -------------------------------------------- */
.section-difference { background: var(--paper); }
.difference-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.diff-card {
  padding: var(--s-6) var(--s-5);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  min-height: 280px;
  transition: background var(--dur-base) var(--ease-out);
}
.diff-card:hover { background: var(--paper-2); }
.diff-numeral {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--marine);
}
.diff-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 1.7vw, 28px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.diff-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink-3);
}
@media (max-width: 1024px) {
  .difference-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .difference-grid { grid-template-columns: 1fr; }
  .diff-card { min-height: auto; padding: var(--s-5) var(--s-4); }
}

/* -------- 7. PLATFORM ---------------------------------------------- */
.section-platform { background: var(--paper-2); }
.platform-feature {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  align-items: center;
  gap: var(--s-8);
  padding: var(--s-7) 0;
  border-bottom: 1px solid var(--rule);
}
.platform-feature:last-child { border-bottom: 0; }
.platform-feature.reverse { grid-template-columns: 1.05fr 1fr; }
.platform-feature.reverse .platform-feature-copy { order: 2; }
.platform-feature.reverse .platform-feature-media { order: 1; }
.platform-feature-copy { max-width: 56ch; }
.step-no {
  display: inline-block;
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 13px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--marine);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--marine);
  margin-bottom: var(--s-3);
}
.platform-feature h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(28px, 2.8vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.018em;
  color: var(--ink);
  margin-bottom: var(--s-4);
}
.platform-feature p {
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-3);
}
.dot-list {
  margin-top: var(--s-4);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.dot-list li {
  position: relative;
  padding-left: 22px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--ink);
}
.dot-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 11px;
  width: 10px;
  height: 1px;
  background: var(--marine);
}
.dot-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 6px;
  height: 1px;
  background: var(--baby);
  opacity: 0.9;
}
.mono { font-family: var(--font-mono); font-size: 0.94em; color: var(--marine); }

.platform-feature-media {
  position: relative;
  overflow: hidden;
  background: var(--paper-3);
  aspect-ratio: 16 / 10;
}
.platform-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) hue-rotate(-14deg) contrast(1.02);
  transition: transform var(--dur-slow) var(--ease-out),
              filter var(--dur-slow) var(--ease-out);
}
/* Subtle blue wash so the warm-toned originals cool toward the brand palette */
.platform-feature-media::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    140deg,
    rgba(10, 42, 92, 0.22) 0%,
    rgba(20, 72, 143, 0.10) 50%,
    rgba(10, 42, 92, 0.18) 100%
  );
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: 1;
}
.platform-feature-media figcaption { z-index: 2; }
.platform-feature-media:hover img { filter: saturate(0.95) hue-rotate(-8deg) contrast(1.04); }
.platform-feature-media:hover img { transform: scale(1.03); }
.platform-feature-media figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 14px 18px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.78) 90%);
  color: rgba(255,255,255,0.92);
}
.platform-feature-media-portrait {
  aspect-ratio: 4 / 5;
}

@media (max-width: 900px) {
  .platform-feature,
  .platform-feature.reverse {
    grid-template-columns: 1fr;
    gap: var(--s-5);
    padding: var(--s-6) 0;
  }
  .platform-feature.reverse .platform-feature-copy { order: 2; }
  .platform-feature.reverse .platform-feature-media { order: 1; }
}

/* -------- 7b. IMAGE SLIDER ---------------------------------------- */
.section-slider {
  background: var(--ink);
  padding: 0;
  position: relative;
  overflow: hidden;
}
.slider {
  position: relative;
  width: 100%;
  height: clamp(420px, 72vh, 760px);
  overflow: hidden;
  background: var(--ink);
}
.slider-track {
  position: relative;
  width: 100%;
  height: 100%;
}
.slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1100ms var(--ease-out),
              transform 7000ms linear;
  pointer-events: none;
}
.slide.is-active {
  opacity: 1;
  transform: scale(1.0);
  pointer-events: auto;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}
.slide figcaption {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--s-7);
  max-width: 56ch;
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.012em;
  color: var(--paper);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.55);
}
.slide-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--baby);
  background: rgba(10, 42, 92, 0.32);
  border: 1px solid var(--baby);
  padding: 4px 10px;
  border-radius: 999px;
  margin-right: var(--s-3);
  vertical-align: middle;
  text-shadow: none;
}
/* Veil for legibility */
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(8, 12, 22, 0.18) 0%,
    rgba(8, 12, 22, 0) 30%,
    rgba(8, 12, 22, 0) 55%,
    rgba(8, 12, 22, 0.65) 100%);
  pointer-events: none;
}

/* Nav arrows */
.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  background: rgba(10, 42, 92, 0.62);
  color: var(--paper);
  border: 1px solid var(--baby);
  border-radius: 999px;
  font-size: 20px;
  z-index: 5;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.slider-nav:hover {
  background: var(--marine);
  transform: translateY(-50%) scale(1.05);
}
.slider-prev { left: var(--s-4); }
.slider-next { right: var(--s-4); }

/* Meta bar */
.slider-meta {
  position: absolute;
  left: var(--gutter);
  right: var(--gutter);
  bottom: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  z-index: 5;
  pointer-events: none;
}
.slider-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--baby);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--baby);
}
.slider-dots {
  display: inline-flex;
  gap: 10px;
  pointer-events: auto;
}
.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: transparent;
  border: 1px solid var(--baby);
  padding: 0;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.dot.is-active {
  background: var(--baby);
  transform: scale(1.25);
}
.slider-counter {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--baby);
}

@media (max-width: 768px) {
  .slider { height: 62vh; }
  .slide figcaption {
    bottom: var(--s-8);
    font-size: 22px;
  }
  .slider-nav { width: 44px; height: 44px; font-size: 16px; }
  .slider-meta { flex-direction: column; align-items: flex-start; gap: var(--s-2); }
}

/* -------- 8. INSIDE MICROSOFT — marine background ------------------ */
.section-microsoft {
  background: var(--marine);
  color: var(--paper);
}
.microsoft-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-8);
  align-items: center;
}
.microsoft-copy .kicker { color: var(--marine-fog); border-bottom-color: rgba(255,255,255,0.42); }
.microsoft-copy h2 { color: var(--paper); }
.microsoft-copy .hl {
  color: var(--marine-fog);
  background: linear-gradient(
    180deg,
    transparent 0%,
    transparent 78%,
    rgba(255, 255, 255, 0.16) 78%,
    rgba(255, 255, 255, 0.16) 94%,
    transparent 94%
  );
}
.microsoft-copy p {
  margin-top: var(--s-4);
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: rgba(255,255,255,0.82);
  max-width: 56ch;
}
.microsoft-copy .dot-list li { color: rgba(255,255,255,0.94); }
.microsoft-copy .dot-list li::before { background: rgba(255,255,255,0.72); }
.microsoft-frame {
  aspect-ratio: 3 / 4;
  background: var(--ink-2);
  overflow: hidden;
  position: relative;
}
.microsoft-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(10, 42, 92, 0.25) 100%);
  pointer-events: none;
}
.microsoft-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
}
@media (max-width: 900px) {
  .microsoft-inner { grid-template-columns: 1fr; gap: var(--s-6); }
}

/* -------- 9. COMPATIBILITY MATRIX ---------------------------------- */
.section-compat {
  background: var(--paper-3);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.compat-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--ink);
  border-left: 1px solid var(--ink);
}
.compat-block {
  padding: var(--s-5) var(--s-5) var(--s-6);
  border-right: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
}
.compat-block:hover { background: var(--paper-pure); }
.compat-block:hover::before {
  content: "";
  position: absolute;
  inset: 0;
  border-top: 2px solid var(--baby-strong);
  pointer-events: none;
}
.compat-block-head {
  display: flex;
  align-items: baseline;
  gap: var(--s-3);
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--marine);
}
.compat-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--marine);
}
.compat-block h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.compat-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.compat-list li {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-3);
  padding-left: 18px;
  position: relative;
}
.compat-list li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--marine);
  line-height: 1.7;
}
.compat-list li strong {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.005em;
}

.compat-footnote {
  max-width: var(--max-wide);
  margin: var(--s-6) auto 0;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
}

@media (max-width: 1024px) {
  .compat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .compat-grid { grid-template-columns: 1fr; }
  .compat-block { padding: var(--s-4); }
}

/* -------- 10. TRUST ------------------------------------------------ */
.section-trust { background: var(--paper); }
.trust-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
  text-align: left;
}
.trust-list {
  margin-top: var(--s-6);
  list-style: none;
  border-top: 1px solid var(--marine);
}
.trust-list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: baseline;
  gap: var(--s-2);
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--baby);
  font-size: var(--fs-lede);
  line-height: 1.5;
  color: var(--ink);
  transition: background var(--dur-fast) var(--ease-out);
}
.trust-list li:hover {
  background: linear-gradient(90deg, var(--marine-soft) 0%, transparent 60%);
}
.trust-bullet {
  font-family: var(--font-body);
  font-style: normal;
  font-size: 18px;
  line-height: 1.4;
  color: var(--marine);
  display: inline-block;
  transform: translateY(2px);
}
.trust-line {
  margin-top: var(--s-5);
  padding-top: var(--s-4);
  border-top: 1px solid var(--marine);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.35;
  letter-spacing: -0.005em;
  color: var(--ink);
  max-width: 56ch;
}

/* -------- 11. DEPLOY ----------------------------------------------- */
.section-deploy { background: var(--paper-2); }
.deploy-grid {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-4);
  position: relative;
}
/* Decorative vertical baby blue accents between deploy cards */
.deploy-grid::before,
.deploy-grid::after {
  content: "";
  position: absolute;
  top: 12%;
  bottom: 12%;
  width: 1px;
  background: linear-gradient(180deg, transparent, var(--baby) 30%, var(--baby) 70%, transparent);
  pointer-events: none;
}
.deploy-grid::before { left: calc(33.333% + var(--s-2)); }
.deploy-grid::after  { left: calc(66.666% + var(--s-2)); }
@media (max-width: 900px) {
  .deploy-grid::before, .deploy-grid::after { display: none; }
}
.deploy-card {
  background: var(--paper);
  border: 1px solid var(--ink);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  transition: transform var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out),
              border-color var(--dur-base) var(--ease-out);
}
.deploy-card:hover {
  transform: translateY(-3px);
  box-shadow:
    0 22px 60px -28px rgba(10, 42, 92, 0.5),
    0 0 0 1px var(--baby);
  border-color: var(--marine);
}
.deploy-head { display: flex; align-items: baseline; justify-content: space-between; }
.deploy-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--marine);
  text-transform: uppercase;
  padding: 4px 10px;
  border: 1px solid var(--marine);
  border-radius: 999px;
}
.deploy-card h3 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.deploy-card p { font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.deploy-list {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--rule);
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}
.deploy-list li {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink);
  padding-left: 16px;
  position: relative;
}
.deploy-list li::before {
  content: "+";
  position: absolute;
  left: 0;
  color: var(--marine);
}
@media (max-width: 900px) { .deploy-grid { grid-template-columns: 1fr; } }

/* -------- 12. FIT -------------------------------------------------- */
.section-fit { background: var(--paper); }
.fit-inner { max-width: var(--max-wide); margin: 0 auto; }
.fit-grid {
  margin-top: var(--s-7);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border-top: 1px solid var(--ink);
}
.fit-grid > div {
  padding: var(--s-5) var(--s-5) var(--s-5) 0;
  border-bottom: 1px solid var(--rule);
}
.fit-grid > div:nth-child(odd) {
  border-right: 1px solid var(--rule);
  padding-right: var(--s-5);
}
.fit-grid > div:nth-child(even) {
  padding-left: var(--s-5);
}
.fit-grid h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: var(--s-3);
}
.fit-grid p { font-size: 15px; line-height: 1.65; color: var(--ink); }
@media (max-width: 768px) {
  .fit-grid { grid-template-columns: 1fr; }
  .fit-grid > div:nth-child(odd),
  .fit-grid > div:nth-child(even) {
    padding: var(--s-4) 0;
    border-right: 0;
  }
}

/* -------- 13. CONTACT ---------------------------------------------- */
.section-contact {
  background: var(--paper);
  border-top: 1px solid var(--rule);
}
.contact-inner {
  max-width: var(--max-narrow);
  margin: 0 auto;
}
.contact-eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--marine);
  margin-bottom: var(--s-3);
}
.contact-title { max-width: 20ch; }
.contact-lede {
  margin-top: var(--s-4);
  max-width: 56ch;
  font-size: var(--fs-lede);
  line-height: 1.6;
  color: var(--ink-3);
}
.contact-form {
  margin-top: var(--s-7);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  max-width: 760px;
}
.contact-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-3);
}
@media (max-width: 640px) { .contact-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--marine);
}
.field input,
.field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  padding: 10px 0 12px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--ink);
  resize: vertical;
  transition: border-color var(--dur-fast) var(--ease-out);
}
.field input::placeholder,
.field textarea::placeholder {
  color: var(--ink-soft);
  opacity: 0.85;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: var(--marine);
  border-bottom-width: 2px;
}
.field-block textarea { min-height: 96px; }

.contact-disclaimer {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--ink-3);
  margin-top: var(--s-3);
}

/* -------- 14. FOOTER ----------------------------------------------- */
.footer {
  background: var(--marine);
  color: var(--paper);
  padding: var(--s-7) var(--gutter);
}
.footer-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--s-5);
}
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-display);
  font-size: 34px;
}
.footer-mark { width: 48px; filter: invert(1); }
.footer-line {
  justify-self: center;
  font-family: var(--font-display);
  font-style: normal;
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  letter-spacing: -0.005em;
}
.footer-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.6);
}
.footer-meta a { color: rgba(255,255,255,0.88); transition: color var(--dur-fast); }
.footer-meta a:hover { color: var(--paper); }
.footer-sep { opacity: 0.4; }
@media (max-width: 768px) {
  .footer-inner { grid-template-columns: 1fr; text-align: left; }
  .footer-line { justify-self: start; }
}

/* -------- 15. PLACEHOLDER STATES (kept for safety) ----------------- */
.platform-feature-media.is-empty {
  background:
    repeating-linear-gradient(135deg,
      rgba(10, 42, 92, 0.04) 0 12px,
      rgba(10, 42, 92, 0.0)  12px 24px),
    var(--paper-3);
}
.platform-feature-media.is-empty figcaption {
  background: linear-gradient(180deg, transparent 0%, rgba(10, 42, 92, 0.45) 90%);
}

/* =====================================================================
   PHONE OVERRIDES — added 2026-05-22, applies only at <= 640px.
   Desktop styles are not touched. All rules wrapped in media queries.
   ===================================================================== */
@media (max-width: 640px) {

  /* Decorative body rails are off on phones */
  body::before, body::after { display: none; }

  /* NAV */
  .nav { padding: 12px var(--s-3); gap: var(--s-2); }
  .nav-mark { width: 32px; }
  .nav-wordmark { font-size: 22px; }
  .nav-cta { font-size: 11px; padding: 7px 12px; }

  /* HERO */
  .hero {
    padding: var(--s-7) var(--s-3) var(--s-6);
    min-height: 92vh;
    min-height: 92svh;
  }
  .hero-eyebrow {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin-bottom: var(--s-3);
    align-items: flex-start;
  }
  .hero-title {
    font-size: clamp(34px, 11vw, 52px);
    line-height: 1.04;
    letter-spacing: -0.02em;
    max-width: none;
  }
  .hero-sub {
    margin-top: var(--s-3);
    font-size: 14px;
    line-height: 1.55;
  }
  .hero-actions {
    margin-top: var(--s-4);
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .hero-actions .btn { width: 100%; justify-content: center; height: 44px; }
  .hero-meta {
    margin-top: var(--s-4);
    font-size: 10px;
    letter-spacing: 0.06em;
    flex-wrap: wrap;
  }
  .hero-credit { font-size: 9px; bottom: 6px; right: 8px; opacity: 0.55; }
  /* iOS Safari: hardware acceleration for the video */
  .hero-video {
    transform: translateZ(0);
    -webkit-backface-visibility: hidden;
    object-position: center center;
  }

  /* SECTION SCAFFOLD */
  .section { padding: var(--s-7) var(--s-3); }
  .section-head { margin: 0 auto var(--s-5); }
  .section-mark-img { width: 48px; margin-bottom: var(--s-3); }
  .display {
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.12;
    max-width: none;
  }
  .section-lede { font-size: 15px; line-height: 1.55; margin-top: var(--s-3); }

  /* MOTTO */
  .section-motto { padding: var(--s-7) var(--s-3); }
  .motto-mark { width: 96px; }
  .motto-line { font-size: clamp(22px, 6.8vw, 32px); line-height: 1.18; }
  .motto-attrib { font-size: 10px; letter-spacing: 0.18em; }

  /* STATEMENT (black band) */
  .section-statement { padding: var(--s-7) var(--s-3); }
  .section-statement .section-mark-img { width: 56px; }
  .statement-eyebrow { font-size: 10px; letter-spacing: 0.18em; }
  .statement-line { font-size: clamp(24px, 7vw, 38px); line-height: 1.16; max-width: none; }
  .statement-sub { font-size: 14px; line-height: 1.55; }

  /* REEL — stack to single column, smaller line */
  .section-reel { padding: var(--s-7) var(--s-3); }
  .reel-inner { grid-template-columns: 1fr; gap: var(--s-3); text-align: center; }
  .reel-left, .reel-right { justify-self: center; }
  .reel-kicker {
    border-left: 0;
    border-top: 1px solid var(--marine);
    padding: var(--s-2) 0 0 0;
    text-align: center;
    font-size: 11px;
    line-height: 1.4;
    max-width: none;
  }
  .reel-window { --reel-line: clamp(36px, 9vw, 56px); height: calc(var(--reel-line) * 5); }
  .reel-list li { font-size: calc(var(--reel-line) * 0.74); }
  .reel-link { font-size: 11px; padding: 8px 14px; }

  /* DIFFERENCE */
  .difference-grid { grid-template-columns: 1fr; }
  .diff-card { padding: var(--s-4) var(--s-3); min-height: auto; }
  .diff-card h3 { font-size: 22px; }
  .diff-card p { font-size: 14px; line-height: 1.55; }

  /* PLATFORM */
  .platform-feature, .platform-feature.reverse {
    grid-template-columns: 1fr;
    gap: var(--s-4);
    padding: var(--s-5) 0;
  }
  .platform-feature.reverse .platform-feature-copy { order: 2; }
  .platform-feature.reverse .platform-feature-media { order: 1; }
  .platform-feature h3 { font-size: clamp(24px, 7vw, 32px); line-height: 1.14; margin-bottom: var(--s-3); }
  .platform-feature p { font-size: 15px; line-height: 1.55; }
  .platform-feature-media, .platform-feature-media-portrait { aspect-ratio: 16 / 11; }
  .platform-feature-media figcaption { font-size: 10px; padding: 10px 12px; }
  .step-no { font-size: 11px; padding-bottom: 3px; margin-bottom: var(--s-2); }
  .dot-list li { font-size: 14px; }

  /* INSIDE MICROSOFT */
  .microsoft-inner { grid-template-columns: 1fr; gap: var(--s-4); }
  .microsoft-copy p { font-size: 15px; line-height: 1.55; margin-top: var(--s-3); }
  .microsoft-frame { aspect-ratio: 4 / 5; }

  /* SLIDER */
  .slider { height: 56vh; min-height: 360px; }
  .slide figcaption { font-size: 18px; bottom: var(--s-6); }
  .slider-nav { width: 40px; height: 40px; font-size: 14px; }
  .slider-prev { left: 8px; }
  .slider-next { right: 8px; }
  .slider-meta { left: 12px; right: 12px; bottom: 12px; gap: var(--s-2); }
  .slider-counter { font-size: 10px; }

  /* COMPATIBILITY */
  .section-compat { padding: var(--s-7) var(--s-2); }
  .compat-grid { grid-template-columns: 1fr; }
  .compat-block { padding: var(--s-3); }
  .compat-block h3 { font-size: 18px; }
  .compat-list li { font-size: 13px; line-height: 1.5; padding-left: 16px; }
  .compat-footnote { font-size: 11px; margin-top: var(--s-4); }

  /* TRUST */
  .trust-list li { font-size: 15px; line-height: 1.5; padding: var(--s-3) 0; }
  .trust-line { font-size: clamp(18px, 5.4vw, 22px); line-height: 1.32; padding-top: var(--s-3); }

  /* DEPLOY */
  .deploy-grid { grid-template-columns: 1fr; gap: var(--s-2); }
  .deploy-card { padding: var(--s-4); }
  .deploy-card h3 { font-size: 26px; }
  .deploy-card p { font-size: 14px; }

  /* FIT */
  .fit-grid { grid-template-columns: 1fr; margin-top: var(--s-5); }
  .fit-grid > div:nth-child(odd),
  .fit-grid > div:nth-child(even) {
    padding: var(--s-4) 0;
    border-right: 0;
  }
  .fit-grid p { font-size: 14px; line-height: 1.6; }

  /* CONTACT */
  .contact-title { font-size: clamp(28px, 8vw, 40px); }
  .contact-lede { font-size: 15px; }
  .contact-row { grid-template-columns: 1fr; gap: var(--s-2); }
  .field input, .field textarea { font-size: 16px; /* prevents iOS zoom-on-focus */ }
  .btn-large { height: 50px; padding: 0 22px; font-size: 14px; width: 100%; justify-content: center; }
  .contact-form { gap: var(--s-2); }

  /* FOOTER */
  .footer { padding: var(--s-5) var(--s-3); }
  .footer-inner { grid-template-columns: 1fr; text-align: left; gap: var(--s-3); }
  .footer-line { justify-self: start; font-size: 15px; }
  .footer-meta { font-size: 10px; flex-wrap: wrap; gap: 6px; }
  .footer-mark { width: 40px; }
  .footer-brand { font-size: 26px; }
}

/* Extra-small phones — tighten further */
@media (max-width: 400px) {
  .hero-title { font-size: clamp(30px, 11vw, 42px); }
  .display { font-size: clamp(24px, 8vw, 36px); }
  .motto-line { font-size: clamp(20px, 6.5vw, 28px); }
  .reel-window { --reel-line: clamp(30px, 9vw, 44px); }
  .section { padding: var(--s-6) var(--s-2); }
  .nav-wordmark { font-size: 20px; }
  .nav-mark { width: 28px; }
}
