/* OMO Mobility · one-page site
   Background and colours from the mood board (mb-00 / mb-02). Type: Cairo (Google Font, SIL OFL), self-hosted. Changed from Blinker on 2026-11-09 (HanYi and Alex). */

@font-face { font-family: "Cairo"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-ext-300.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-weight: 300; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-300.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-ext-400.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-400.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-ext-600.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-600.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Cairo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-ext-700.woff2") format("woff2"); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: "Cairo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/Cairo-latin-700.woff2") format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }

:root {
  --navy-0: #030308;      /* top of the page, almost black (mb-00 top) */
  --navy-1: #0b1030;      /* deep navy */
  --navy-2: #182458;      /* mid blue (mb-00 middle) */
  --blue-3: #2b4aa6;      /* lower blue (mb-00 lower) */
  --glow:   #7a9ad8;      /* soft light at the bottom right of mb-00 */
  --blue:   #2f6bff;      /* accent: bright blue */
  --cyan:   #4ec9f5;      /* accent: cyan */
  --text:   #ffffff;
  --text-soft: rgba(255, 255, 255, 0.72);
  --text-dim:  rgba(255, 255, 255, 0.5);
  --line:   rgba(255, 255, 255, 0.14);

  --font: "Cairo", "Helvetica Neue", Arial, sans-serif;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1240px;
  /* site-wide proportional unit: 1u = 1% of a 16:9 stage that fits the screen.
     Landscape screens of any size keep the same composition; it recalculates live on resize. */
  --u: min(1vw, calc(100svh / 56.25));
  --ease: cubic-bezier(0.25, 0.1, 0.25, 1);
  --fade: 0.6s;

  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: auto; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.5;
  color: var(--text);
  background: var(--navy-1);
  overflow-x: hidden;
}
img, canvas, svg { max-width: 100%; }
a { color: inherit; }
strong, b { font-weight: 600; }
::selection { background: rgba(78, 201, 245, 0.35); }

/* One continuous surface behind every section: fixed, so it never breaks between sections */
.bg {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(70% 55% at 88% 100%, rgba(122, 154, 216, 0.55) 0%, rgba(122, 154, 216, 0) 70%),
    radial-gradient(60% 45% at 8% 70%, rgba(47, 107, 255, 0.22) 0%, rgba(47, 107, 255, 0) 70%),
    linear-gradient(180deg, var(--navy-0) 0%, var(--navy-1) 28%, var(--navy-2) 58%, var(--blue-3) 100%);
}

.wrap { width: 100%; max-width: calc(100 * var(--u)); margin: 0 auto; padding-left: max(20px, calc(7 * var(--u))); padding-right: max(20px, calc(7 * var(--u))); }
.section { position: relative; padding-block: max(64px, calc(6 * var(--u))); }
.s2.section { padding-block: max(56px, calc(4.5 * var(--u))); }

/* type scale */
.h-section { font-weight: 600; font-size: max(26px, calc(2.9 * var(--u))); line-height: 1.12; letter-spacing: -0.005em; margin: 0; text-wrap: balance; }
.h-section .lt { font-weight: 300; }
.h-sub { font-weight: 600; font-size: max(19px, calc(1.75 * var(--u))); line-height: 1.2; margin: 0; }
.label { font-weight: 400; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--cyan); }
.accent { color: var(--cyan); }
.accent-b { color: var(--blue); }

/* soft reveal: fade + a few pixels upward. Everything is visible at rest when JS is absent. */
.rv { opacity: 1; transform: none; }
.js .rv { opacity: 0; transform: translateY(8px); transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease); transition-delay: var(--d, 0s); }
.js .is-in .rv, .js .rv.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .js .rv { opacity: 1 !important; transform: none !important; transition: none !important; }
}

/* ========================================================= S1 Hero
   The hero is laid out like a poster on a 16:9 "stage" that always fits the screen.
   1u = 1% of the stage width. The stage is as large as the screen allows (limited by
   width or by height), so the composition keeps the same proportions on a small laptop,
   a large monitor or an ultra-wide screen, and recalculates live when the window is resized. */
.s1-track { height: 350vh; }
.s1-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s1-stage {
  position: relative; width: calc(100 * var(--u)); height: calc(56.25 * var(--u));
}
.s1-text { position: absolute; left: calc(7 * var(--u)); top: calc(6.5 * var(--u)); z-index: 1; }
.s1-head { display: flex; align-items: flex-start; gap: calc(4 * var(--u)); }
.s1-wordmark { margin: 0; font-weight: 700; line-height: 0.92; letter-spacing: -0.02em; font-size: calc(7.4 * var(--u)); }
.s1-wordmark .as { display: block; font-weight: 300; font-size: 0.42em; line-height: 1.05; letter-spacing: 0; margin-block: 0.08em 0.02em; color: var(--text-soft); }
.s1-lockup { display: flex; align-items: center; gap: calc(1.5 * var(--u)); margin-top: calc(0.6 * var(--u)); }
.s1-lockup img { display: block; height: auto; }
.s1-lockup .l03 { width: calc(3.6 * var(--u)); }
.s1-lockup .lomo { width: calc(4.6 * var(--u)); }
.s1-lockup .x { font-weight: 300; font-size: calc(2 * var(--u)); line-height: 1; color: var(--text-soft); }
.s1-tags { margin: calc(2.4 * var(--u)) 0 0; display: flex; flex-wrap: wrap; gap: 0.35em 1.6em; font-size: max(14px, calc(1.2 * var(--u))); font-weight: 300; letter-spacing: 0.02em; }
.s1-tags b { font-weight: 600; }
.s1-line { margin: calc(1.6 * var(--u)) 0 0; font-size: max(18px, calc(1.9 * var(--u))); line-height: 1.2; font-weight: 300; }
.s1-line b { font-weight: 600; }
.s1-line .br { display: block; }
.s1-chassis { position: absolute; right: calc(3 * var(--u)); bottom: calc(1.5 * var(--u)); width: calc(52 * var(--u)); }
.s1-chassis canvas { display: block; width: 100%; height: auto; }

/* hero load sequence: text pieces fade in one after another on first paint */
.js .s1-seq { opacity: 0; transform: translateY(6px); transition: opacity var(--fade) var(--ease), transform var(--fade) var(--ease); }
.js .s1-ready .s1-seq { opacity: 1; transform: none; }
.s1-ready .s1-seq:nth-child(1) { transition-delay: 0s; }
.s1-ready .s1-seq:nth-child(2) { transition-delay: 0.35s; }
.s1-ready .s1-tags { transition-delay: 0.7s; }
.s1-ready .s1-line { transition-delay: 1.05s; }

/* phones and portrait screens (tablets held upright): stacked, full width */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s1-pin { align-items: stretch; }
  .s1-stage {
    --u: 1vw;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    padding: max(24px, 6vw) max(20px, 6vw) 3vh;
  }
  .s1-text { position: static; }
  .s1-head { flex-direction: column; gap: 14px; }
  .s1-wordmark { font-size: clamp(48px, 14.5vw, 120px); }
  .s1-lockup { margin-top: 0; gap: 14px; }
  .s1-lockup .l03 { width: clamp(40px, 9vw, 72px); }
  .s1-lockup .lomo { width: clamp(50px, 11.5vw, 92px); }
  .s1-lockup .x { font-size: clamp(20px, 4.5vw, 34px); }
  .s1-tags { margin-top: 2.4vh; font-size: clamp(14px, 3.6vw, 22px); }
  .s1-line { margin-top: 1.8vh; font-size: clamp(19px, 5.2vw, 34px); }
  .s1-chassis { position: static; width: 100%; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .s1-chassis canvas { width: auto; max-width: 100%; max-height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .s1-track { height: auto; }
  .s1-pin { position: static; height: auto; min-height: 100svh; }
  .js .s1-seq { opacity: 1; transform: none; transition: none; }
}

/* ========================================================= S2 Architecture vs components */
.s2 .h-section { max-width: 22em; }
.s2-grid {
  margin-top: max(28px, calc(2.6 * var(--u)));
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); gap: calc(3 * var(--u)); align-items: start;
}
.s2-col { display: grid; grid-template-rows: auto auto auto auto; gap: max(10px, calc(1.1 * var(--u))); min-width: 0; }
.s2-col .h-sub { min-height: 1.2em; }
/* both media boxes share the pack's proportions, so the lines below line up across the columns */
.s2-media { display: flex; align-items: center; justify-content: center; width: 100%; max-width: calc(30 * var(--u)); aspect-ratio: 1050 / 720; min-height: 0; }
.s2-explosion { display: block; width: auto; height: 100%; max-width: 100%; margin: 0 auto; object-fit: contain; }
.s2-col.before { opacity: 0.8; }
.s2-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: calc(0.35 * var(--u)); font-size: max(16px, calc(1.3 * var(--u))); }
.s2-col .close { margin: 0; font-weight: 600; font-size: max(18px, calc(1.45 * var(--u))); padding-top: calc(1 * var(--u)); border-top: 1px solid var(--line); }
.s2-col.after .close { color: var(--cyan); font-size: max(19px, calc(1.65 * var(--u))); }
.s2-vs { align-self: center; font-weight: 300; font-size: max(22px, calc(2.2 * var(--u))); color: var(--text-soft); }
/* the pack's block: keep its proportions, let it fill the column */
.s2-media .omo-s2 { width: 100%; max-width: 720px; }

@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  :root { --u: 1vw; }
  .s2-media { max-width: 100%; }
  .s2-grid { grid-template-columns: 1fr; }
  .s2-vs { justify-self: center; padding: 0; }
  .s2-col .h-sub { min-height: 0; }
}

/* reveal timing inside S2: heading, then both columns, then lines one by one, then closing line */
.s2 .h-section { --d: 0s; }
.s2 .s2-col, .s2 .s2-vs { --d: 0.25s; }
.s2 .s2-col li:nth-child(1) { --d: 0.6s; }
.s2 .s2-col li:nth-child(2) { --d: 0.9s; }
.s2 .s2-col li:nth-child(3) { --d: 1.2s; }
.s2 .s2-col li:nth-child(4) { --d: 1.5s; }
.s2 .s2-col .close { --d: 1.85s; }


/* ========================================================= S3 Applications
   Four rows, animation and text alternating sides, separated by a thin dotted line. */
.s3-head { display: grid; gap: calc(0.4 * var(--u)); }
.s3-ex { font-weight: 300; font-size: 0.6em; color: var(--text-soft); }
.s3-rows { margin-top: max(24px, calc(3 * var(--u))); }
.s3-row {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center;
  column-gap: calc(4 * var(--u));
  padding-block: max(24px, calc(3 * var(--u)));
}
.s3-row + .s3-row {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.32) 1px, transparent 1.4px);
  background-size: 9px 3px; background-repeat: repeat-x; background-position: 0 0;
}
.s3-media { display: flex; align-items: center; justify-content: center; height: calc(30 * var(--u)); min-height: 0; }
.s3-media canvas { display: block; width: auto; height: 100%; max-width: 100%; object-fit: contain; }
.s3-row.media-right .s3-media { order: 2; }
.s3-text { text-align: center; min-width: 0; }
.s3-text .h-sub { color: var(--text); font-size: max(20px, calc(2 * var(--u))); }
.s3-text ul { list-style: none; margin: max(12px, calc(1.4 * var(--u))) 0 0; padding: 0; display: grid; gap: calc(0.35 * var(--u)); font-size: max(16px, calc(1.3 * var(--u))); color: var(--text-soft); }

/* reveal: the row fades in, the animation starts, then title, then the four lines 0.3 s apart */
.s3-row .s3-media { --d: 0s; }
.s3-row .h-sub { --d: 0.35s; }
.s3-row li:nth-child(1) { --d: 0.65s; }
.s3-row li:nth-child(2) { --d: 0.95s; }
.s3-row li:nth-child(3) { --d: 1.25s; }
.s3-row li:nth-child(4) { --d: 1.55s; }

@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s3-row { grid-template-columns: 1fr; row-gap: 18px; }
  .s3-row.media-right .s3-media { order: 0; }
  .s3-media { height: auto; }
  .s3-media canvas { width: 100%; max-width: 520px; height: auto; }
}


/* ========================================================= S4 How it works
   Pinned like the hero, on the same 16:9 stage. Chassis left, four stages right.
   The chassis extends across the whole scroll; one stage is active per quarter. */
.s4-track { height: 300vh; }
.s4-pin {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.s4-stage { position: relative; width: calc(100 * var(--u)); height: calc(56.25 * var(--u)); }
.s4-head { position: absolute; left: calc(7 * var(--u)); top: calc(6.5 * var(--u)); margin: 0; }
.s4-chassis { position: absolute; left: calc(3 * var(--u)); bottom: calc(2 * var(--u)); width: calc(52 * var(--u)); }
.s4-chassis canvas { display: block; width: 100%; height: auto; }
.s4-steps {
  position: absolute; left: calc(60 * var(--u)); right: calc(7 * var(--u)); top: 50%; transform: translateY(-50%);
  list-style: none; margin: 0; padding: 0; display: grid; gap: calc(3.2 * var(--u)); text-align: center;
}
.js .s4-steps.rv { transform: translateY(calc(-50% + 8px)); }
.js .is-in .s4-steps.rv { transform: translateY(-50%); }
.s4-steps li { display: grid; gap: calc(0.5 * var(--u)); opacity: 0.35; transition: opacity 0.3s ease; }
.s4-steps li.is-active { opacity: 1; }
.s4-steps strong { font-weight: 600; font-size: max(20px, calc(2.2 * var(--u))); line-height: 1.15; }
.s4-steps span { font-weight: 300; font-size: max(15px, calc(1.3 * var(--u))); color: var(--text-soft); }
.s4 .h-section, .s4-head { --d: 0s; }
.s4-chassis { --d: 0.2s; }
.s4-steps { --d: 0.4s; }

/* phones and portrait screens: heading, chassis, then a compact list */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s4-pin { align-items: stretch; }
  .s4-stage {
    width: 100%; height: 100%; display: flex; flex-direction: column; gap: 2vh;
    padding: max(28px, 7vh) max(20px, 6vw) 4vh;
  }
  .s4-head, .s4-chassis, .s4-steps { position: static; }
  .s4-head { font-size: clamp(26px, 7vw, 44px); }
  .s4-chassis { width: 100%; flex: 1; min-height: 0; display: flex; align-items: center; justify-content: center; }
  .s4-chassis canvas { width: auto; max-width: 100%; max-height: 100%; }
  .s4-steps, .js .s4-steps.rv, .js .is-in .s4-steps.rv { transform: none; text-align: left; gap: 1.6vh; }
  .js .s4-steps.rv { transform: translateY(8px); }
  .js .is-in .s4-steps.rv { transform: none; }
  .s4-steps li { gap: 2px; }
  .s4-steps strong { font-size: clamp(18px, 4.8vw, 26px); }
  .s4-steps span { font-size: clamp(14px, 3.6vw, 18px); }
}

@media (prefers-reduced-motion: reduce) {
  .s4-track { height: auto !important; }
  .s4-pin { position: static !important; height: auto !important; min-height: 100svh; }
  .s4-steps li { opacity: 1; }
}


/* ========================================================= S5 / S6 hubs
   A thin glowing ring in the centre, four items at the corners joined by thin lines.
   The hub keeps a fixed 86:30 shape (in u), so the lines always meet the ring and the text. */
.hub-sec.section { padding-block: max(56px, calc(5 * var(--u))); }
.hub-intro { margin: 0; font-weight: 300; font-size: max(17px, calc(1.6 * var(--u))); line-height: 1.45; color: var(--text-soft); }
.hub-intro::first-line { color: var(--text); font-weight: 600; }
.hub-head { margin: 0; }
.hub { position: relative; width: 100%; aspect-ratio: 860 / 300; margin-top: max(28px, calc(4 * var(--u))); }
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line { stroke: rgba(160, 205, 255, 0.45); stroke-width: 0.75; stroke-linecap: round; }
.hub-ring {
  position: absolute; left: 50%; top: 50%; width: 14.884%; aspect-ratio: 1; transform: translate(-50%, -50%);
  border-radius: 50%; border: 1px solid rgba(78, 201, 245, 0.85);
  background: radial-gradient(circle at 50% 50%, rgba(47, 107, 255, 0.22) 0%, rgba(47, 107, 255, 0.06) 60%, rgba(47, 107, 255, 0) 72%);
  box-shadow: 0 0 calc(2.4 * var(--u)) rgba(78, 201, 245, 0.28), inset 0 0 calc(1.6 * var(--u)) rgba(78, 201, 245, 0.18);
  display: flex; align-items: center; justify-content: center; text-align: center;
}
.hub-ring span { display: grid; line-height: 1; }
.hub-ring b { font-weight: 700; font-size: calc(2 * var(--u)); }
.hub-ring i { font-style: normal; font-weight: 300; font-size: calc(0.95 * var(--u)); color: var(--text-soft); margin-block: 0.15em; }
.hub-item { position: absolute; display: grid; gap: calc(0.4 * var(--u)); font-size: calc(1.9 * var(--u)); line-height: 1.2; white-space: nowrap; }
.hub-item.tl { left: 3.5%; top: 0; }
.hub-item.tr { left: 63.5%; top: 0; }
.hub-item.bl { left: 3.5%; bottom: 0; }
.hub-item.br { left: 63.5%; bottom: 0; }
.hub-item .lbl { font-weight: 400; font-size: max(11px, calc(1 * var(--u))); letter-spacing: 0.14em; color: var(--cyan); }
.hub-item b { font-weight: 600; }
.hub-item .pv { font-weight: 300; }
.hub-item .pv b { font-weight: 700; }
.s6 .hub-item { font-size: calc(2.1 * var(--u)); }
.s6 .hub-item.tl, .s6 .hub-item.tr { top: 6%; }
.s6 .hub-item.bl, .s6 .hub-item.br { bottom: 6%; }

/* sequence, played once at about 40% visible: intro, ring, lines draw out, items one by one */
.hub-sec .hub-intro, .hub-sec .hub-head { --d: 0s; }
.hub-sec .hub-ring { --d: 0.45s; }
.js .hub-sec .hub-ring.rv { transform: translate(-50%, calc(-50% + 8px)); }
.js .hub-sec.is-in .hub-ring.rv { transform: translate(-50%, -50%); }
.js .hub-lines line { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 0.5s var(--ease) 1s; }
.js .hub-sec.is-in .hub-lines line { stroke-dashoffset: 0; }
.hub-item.tl { --d: 1.55s; }
.hub-item.tr { --d: 1.75s; }
.hub-item.bl { --d: 1.95s; }
.hub-item.br { --d: 2.15s; }

/* phones and portrait screens: intro, ring, then the four items as a simple list, no lines */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .hub { aspect-ratio: auto; display: grid; gap: 22px; }
  .hub-lines { display: none; }
  .hub-ring { position: relative; left: auto; top: auto; transform: none; width: min(46vw, 220px); justify-self: center; margin-bottom: 8px; }
  .js .hub-sec .hub-ring.rv { transform: translateY(8px); }
  .js .hub-sec.is-in .hub-ring.rv { transform: none; }
  .hub-ring b { font-size: clamp(20px, 5.4vw, 30px); }
  .hub-ring i { font-size: clamp(12px, 2.8vw, 16px); }
  .hub-item, .s6 .hub-item { position: static; white-space: normal; font-size: clamp(18px, 4.8vw, 24px); }
  .hub-item .lbl { font-size: 12px; }
  .hub-intro { font-size: clamp(16px, 4.2vw, 20px); }
}
@media (prefers-reduced-motion: reduce) {
  .js .hub-lines line { stroke-dashoffset: 0; transition: none; }
  .js .hub-sec .hub-ring.rv { transform: translate(-50%, -50%) !important; }
}
@media (prefers-reduced-motion: reduce) and ((max-width: 767px) or (max-aspect-ratio: 1/1)) {
  .js .hub-sec .hub-ring.rv { transform: none !important; }
}


/* ========================================================= S7 Adapt
   The chassis loops slowly behind the text at 60% (the pack's --omo-bg-opacity).
   Text appears once, piece by piece, when about 40% of the section is on screen. */
.omo-bg-section { position: relative; overflow: hidden; }
.omo-bg-layer {
  --omo-bg-opacity: 0.5;   /* instructions: 0.6, lowered a little for text contrast, as the S7 file allows */
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  opacity: var(--omo-bg-opacity);
}
.omo-bg-content { position: relative; z-index: 1; }
.s7 { min-height: calc(56.25 * var(--u)); display: flex; align-items: center; justify-content: center; }
.s7 .omo-bg-layer canvas { width: calc(78 * var(--u)); max-width: 100%; height: auto; }
.s7-stage {
  width: calc(100 * var(--u)); max-width: 100%;
  padding: calc(5 * var(--u)) calc(9 * var(--u));
  display: flex; align-items: center; justify-content: space-between; gap: calc(4 * var(--u));
}
.s7-logo { display: flex; align-items: flex-end; gap: calc(2.2 * var(--u)); }
.s7-logo img { display: block; width: calc(12 * var(--u)); height: auto; }
.s7-wm { display: grid; line-height: 0.95; padding-bottom: calc(0.3 * var(--u)); }
.s7-wm b { font-weight: 700; font-size: calc(3.6 * var(--u)); letter-spacing: -0.01em; }
.s7-wm i { font-style: normal; font-weight: 300; font-size: calc(1.6 * var(--u)); color: var(--text-soft); margin-block: 0.1em; }
.s7-text { margin: 0; display: grid; justify-items: end; text-align: right; line-height: 1.05; font-weight: 300; font-size: calc(3.4 * var(--u)); }
.s7-text b { font-weight: 700; }
.s7-text .dots { display: flex; gap: 0.18em; font-weight: 700; line-height: 0.6; margin-block: -0.1em 0.15em; }
.s7-text .l2 { margin-top: 0.05em; }
.s7-text .l3 { font-size: 0.8em; margin-top: 0.25em; }
.s7-text .l4 { font-weight: 700; font-size: 2.35em; line-height: 0.95; letter-spacing: -0.01em; }
/* keep the text readable over the chassis */
.s7-text, .s7-logo { text-shadow: 0 0 calc(1.2 * var(--u)) rgba(11, 16, 48, 0.75), 0 0 calc(3 * var(--u)) rgba(11, 16, 48, 0.5); }

/* rhythm: logo now, "No need to Disrupt" +0.8 s, dots 0.4 s apart, "just, Adapt" +0.8 s, "with" +0.6 s, "LaaV" +0.6 s */
.s7 .s7-logo { --d: 0s; }
.s7 .l1 { --d: 0.8s; }
.s7 .d1 { --d: 1.6s; }
.s7 .d2 { --d: 2.0s; }
.s7 .d3 { --d: 2.4s; }
.s7 .l2 { --d: 3.2s; }
.s7 .l3 { --d: 3.8s; }
.s7 .l4 { --d: 4.4s; }

/* phones and portrait screens: three calm layers, logo at the top, chassis in the middle, words at the bottom */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s7 { min-height: 100svh; align-items: stretch; }
  .s7 .omo-bg-layer { align-items: center; padding-bottom: 6svh; }
  .s7 .omo-bg-layer canvas { width: 100%; max-width: 640px; }
  .s7-stage {
    width: 100%; min-height: 100svh; flex-direction: column; align-items: center; justify-content: space-between;
    padding: max(56px, 9svh) max(20px, 6vw) max(48px, 8svh); gap: 24px;
  }
  .s7-logo { gap: 14px; }
  .s7-logo img { width: clamp(60px, 17vw, 96px); }
  .s7-wm b { font-size: clamp(21px, 5.8vw, 32px); }
  .s7-wm i { font-size: clamp(11px, 3vw, 16px); }
  .s7-text { justify-items: center; text-align: center; font-size: clamp(21px, 6.2vw, 32px); line-height: 1.1; }
  .s7-text .l4 { font-size: 2.1em; }
}


/* ========================================================= S8 Timeline (Ask)
   Pinned. Heading, sentence, line and dots are there from the start; the four phases
   reveal one by one as the visitor scrolls (one per quarter) and rewind when scrolling back. */
.s8-track { height: 280vh; }
.s8-pin { position: sticky; top: 0; height: 100vh; height: 100svh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.s8-stage { position: relative; width: calc(100 * var(--u)); height: calc(56.25 * var(--u)); padding: 0 calc(7 * var(--u)); display: grid; align-content: center; gap: calc(8 * var(--u)); }
.s8-ask { display: grid; grid-template-columns: calc(22 * var(--u)) minmax(0, 1fr); gap: calc(2 * var(--u)); align-items: baseline; }
.s8-label, .s9-label { margin: 0; font-weight: 600; font-size: max(14px, calc(1.3 * var(--u))); letter-spacing: 0.16em; color: var(--cyan); }
.s8-lead { margin: 0; font-weight: 300; font-size: max(18px, calc(2 * var(--u))); line-height: 1.35; max-width: 32em; }

ol.tl { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tl-ph { display: grid; grid-template-rows: auto auto auto auto; justify-items: center; text-align: center; row-gap: calc(1 * var(--u)); padding-inline: calc(1 * var(--u)); }
.tl-who { font-weight: 400; font-size: max(12px, calc(1.05 * var(--u))); color: var(--text-soft); min-height: 2.6em; display: flex; align-items: flex-end; }
.tl-node { position: relative; width: 100%; height: calc(1.6 * var(--u)); display: flex; align-items: center; justify-content: center; }
.tl-dot { position: relative; z-index: 1; width: calc(1.3 * var(--u)); height: calc(1.3 * var(--u)); min-width: 10px; min-height: 10px; border-radius: 50%;
  border: 1px solid rgba(160, 205, 255, 0.7); background: var(--navy-1);
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s var(--ease); }
.tl-seg { position: absolute; top: 50%; left: 50%; width: 100%; height: 1px; background: rgba(160, 205, 255, 0.28); }
.tl-seg::after { content: ""; position: absolute; inset: 0; background: var(--cyan); transform: scaleX(0); transform-origin: left center; transition: transform 0.5s var(--ease); box-shadow: 0 0 8px rgba(78, 201, 245, 0.6); }
.tl-title { font-weight: 600; font-size: max(16px, calc(1.55 * var(--u))); line-height: 1.2; }
.tl-detail { font-weight: 300; font-size: max(14px, calc(1.15 * var(--u))); line-height: 1.4; color: var(--text-soft); max-width: 17em; }

/* phase text waits for its turn (only when JS runs; without JS everything shows) */
.js .tl-who, .js .tl-title, .js .tl-detail { opacity: 0; transform: translateY(6px); transition: opacity 0.45s var(--ease), transform 0.45s var(--ease); }
.js .tl-ph.is-on .tl-who, .js .tl-ph.is-on .tl-title, .js .tl-ph.is-on .tl-detail { opacity: 1; transform: none; transition-delay: 0.4s; }
.js .tl-ph.is-on .tl-title { transition-delay: 0.5s; }
.js .tl-ph.is-on .tl-detail { transition-delay: 0.6s; }
.tl-ph.is-on .tl-dot { background: var(--cyan); border-color: var(--cyan); box-shadow: 0 0 calc(1.2 * var(--u)) rgba(78, 201, 245, 0.75); }
.tl-ph.fill .tl-seg::after { transform: scaleX(1); }

/* phones and portrait screens: the line runs down the left, text to the right of each dot */
@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s8-pin { align-items: stretch; }
  .s8-stage { width: 100%; height: 100%; padding: max(40px, 8vh) max(20px, 6vw) 4vh; gap: 4.5vh; align-content: center; }
  .s8-ask { grid-template-columns: 1fr; gap: 10px; }
  .s8-lead { font-size: clamp(17px, 4.6vw, 22px); }
  ol.tl { grid-template-columns: 1fr; row-gap: 2.6vh; }
  .tl-ph { grid-template-columns: 22px minmax(0, 1fr); grid-template-rows: auto auto auto; justify-items: start; text-align: left; column-gap: 14px; row-gap: 2px; padding: 0; }
  .tl-node { grid-column: 1; grid-row: 1 / span 3; align-self: stretch; width: 22px; height: auto; display: block; }
  .tl-dot { position: absolute; left: 50%; top: 4px; transform: translateX(-50%); width: 12px; height: 12px; }
  .tl-seg { top: 10px; left: 50%; width: 1px; height: calc(100% + 2.6vh); }
  .tl-seg::after { transform: scaleY(0); transform-origin: center top; }
  .tl-ph.fill .tl-seg::after { transform: scaleY(1); }
  .tl-who, .tl-title, .tl-detail { grid-column: 2; }
  .tl-who { min-height: 0; font-size: 13px; }
  .tl-title { font-size: clamp(17px, 4.6vw, 21px); }
  .tl-detail { font-size: clamp(14px, 3.7vw, 17px); max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  .s8-track { height: auto; }
  .s8-pin { position: static; height: auto; min-height: 100svh; }
  .js .tl-who, .js .tl-title, .js .tl-detail { opacity: 1; transform: none; transition: none; }
  .tl-ph .tl-dot { background: var(--cyan); border-color: var(--cyan); }
  .tl-seg::after { transform: none !important; transition: none; }
}


/* ========================================================= S9 Contact + footer
   Same two-column arrangement as the ASK heading in S8. The email is the only call to action. */
.s9.section { padding-block: max(80px, calc(10 * var(--u))) max(64px, calc(8 * var(--u))); }
.s9-grid { display: grid; grid-template-columns: calc(22 * var(--u)) minmax(0, 1fr); gap: calc(2 * var(--u)); align-items: baseline; }
.s9-body { display: grid; gap: calc(1.4 * var(--u)); max-width: 40em; }
.s9-body p { margin: 0; font-weight: 300; font-size: max(18px, calc(2 * var(--u))); line-height: 1.35; }
.s9-body p + p:not(.s9-mail) { color: var(--text-soft); }
.s9-mail { margin-top: calc(1.6 * var(--u)) !important; }
.s9-mail a {
  font-weight: 600; color: var(--cyan); text-decoration: none;
  background-image: linear-gradient(currentColor, currentColor); background-size: 100% 1px; background-position: 0 100%; background-repeat: no-repeat;
  padding-bottom: 2px; transition: color 0.2s ease;
}
.s9-mail a:hover { color: var(--text); }
.s9-mail a:focus-visible { outline: 1px solid var(--cyan); outline-offset: 6px; border-radius: 10px; }
.s9 .s9-label { --d: 0s; }
.s9 .s9-body p:nth-child(1) { --d: 0.2s; }
.s9 .s9-body p:nth-child(2) { --d: 0.4s; }
.s9 .s9-body p:nth-child(3) { --d: 0.6s; }

.foot { padding-block: calc(3 * var(--u)) max(28px, calc(3 * var(--u))); }
.foot-in { display: flex; align-items: center; gap: max(14px, calc(1.4 * var(--u))); border-top: 1px solid var(--line); padding-top: max(20px, calc(2.4 * var(--u))); }
.foot-in img { display: block; width: max(24px, calc(2 * var(--u))); height: auto; opacity: 0.85; }
.foot-year { margin-left: auto; font-weight: 300; font-size: max(13px, calc(1 * var(--u))); color: var(--text-dim); letter-spacing: 0.06em; }

@media (max-width: 767px), (max-aspect-ratio: 1/1) {
  .s9-grid { grid-template-columns: 1fr; gap: 16px; }
  .s9-body { gap: 14px; }
  .s9-body p { font-size: clamp(18px, 4.8vw, 22px); }
  .s9-mail { margin-top: 10px !important; }
}
