/* Zuoo shared stylesheet. Used by every public page. */
:root {
  --navy: #101c2c;
  --navy-2: #1a2a40;
  --teal: #19c6b4;
  --teal-deep: #07655d;
  --white: #ffffff;
  --paper: #f5f7f9;
  --ink: #101c2c;
  --muted: #4b5868;
  --soft: #c9d3de;
  --line: #d8dfe7;
  --amber-bg: #fff7e0;
  --amber-line: #b7871b;
  --focus: #07655d;
  --radius: 6px;
  --content: 1160px;
  --reading: 66ch;
  --gutter: clamp(20px, 4vw, 40px);
  --section-y: clamp(64px, 9vw, 112px);
  --header-h: 68px;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
@media (min-width: 900px) { body { font-size: 1.0625rem; } }
body.menu-open { overflow: hidden; }

img, svg { display: block; max-width: 100%; height: auto; }

h1, h2, h3 { margin: 0 0 0.6em; line-height: 1.15; letter-spacing: -0.015em; font-weight: 700; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.6rem); }
h2 { font-size: clamp(1.55rem, 3.2vw, 2.4rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.3rem); font-weight: 650; letter-spacing: -0.01em; }
p { margin: 0 0 1em; max-width: var(--reading); }

a { color: var(--teal-deep); text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.dark-section :focus-visible,
.hero :focus-visible,
.statement :focus-visible,
.footer :focus-visible { outline-color: var(--teal); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  padding: 10px 16px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); text-decoration: none;
}
.skip-link:focus { top: 16px; }

.container { width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto; }

/* Loader. The fallback animation hides it if the script cannot run. */
.page-loader {
  position: fixed; inset: 0; z-index: 300;
  display: grid; place-items: center;
  background: var(--navy); color: var(--white);
  animation: loader-fallback 0.6s ease 4s forwards;
}
@keyframes loader-fallback { to { opacity: 0; visibility: hidden; } }
.loader-word { font-size: clamp(2rem, 6vw, 3.5rem); font-weight: 700; letter-spacing: -0.02em; }

/* Header and navigation */
.header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white); border-bottom: 1px solid var(--line);
  transition: box-shadow 0.25s ease;
}
.header.scrolled { box-shadow: 0 6px 24px rgba(16, 28, 44, 0.08); }

.nav-wrap {
  width: min(100% - 2 * var(--gutter), var(--content));
  min-height: var(--header-h); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--ink); text-decoration: none;
  font-size: 1.25rem; font-weight: 700; letter-spacing: -0.01em;
}
.logo-mark {
  display: inline-block; width: 36px; height: 20px;
  background: currentColor;
  -webkit-mask: url("/logo.svg?v=4") center / contain no-repeat;
  mask: url("/logo.svg?v=4") center / contain no-repeat;
}

.desktop-nav { display: none; }
.nav-actions { display: none; }

.menu-button {
  display: inline-flex; flex-direction: column; justify-content: center; gap: 5px;
  width: 44px; height: 44px; padding: 0 10px;
  background: none; border: 1.5px solid var(--muted); border-radius: var(--radius);
  cursor: pointer;
}
.menu-button span {
  display: block; height: 2px; background: var(--ink);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.menu-button[aria-expanded="true"] span:nth-child(1) { transform: translateY(3.5px) rotate(45deg); }
.menu-button[aria-expanded="true"] span:nth-child(2) { transform: translateY(-3.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: absolute; top: 100%; left: 0; right: 0;
  flex-direction: column;
  max-height: calc(100vh - var(--header-h)); overflow-y: auto;
  padding: 8px var(--gutter) 20px;
  background: var(--white); border-bottom: 1px solid var(--line);
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: 1.05rem; font-weight: 600; text-decoration: none;
}
.mobile-menu a[aria-current="page"] {
  padding-left: 12px; color: var(--teal-deep); box-shadow: inset 3px 0 0 var(--teal);
}

.desktop-nav a {
  color: var(--ink); font-size: 0.95rem; font-weight: 500; text-decoration: none;
  padding: 6px 0; box-shadow: inset 0 -2px 0 transparent;
  transition: box-shadow 0.2s ease;
}
.desktop-nav a:hover { box-shadow: inset 0 -2px 0 var(--teal); }
.desktop-nav a[aria-current="page"] { font-weight: 700; box-shadow: inset 0 -2px 0 var(--teal); }

.nav-cta {
  display: inline-flex; align-items: center; min-height: 44px;
  padding: 10px 18px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); font-size: 0.95rem; font-weight: 600; text-decoration: none;
}
.nav-cta:hover { background: var(--navy-2); }

@media (min-width: 900px) {
  .menu-button { display: none; }
  .mobile-menu { display: none !important; }
  .desktop-nav { display: flex; align-items: center; gap: 26px; }
  .nav-actions { display: flex; align-items: center; }
}

/* Buttons and links */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 12px 22px;
  border: 2px solid transparent; border-radius: var(--radius);
  font: inherit; font-weight: 650; text-decoration: none; cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.button-light { background: var(--white); color: var(--navy); }
.button-light:hover { background: var(--paper); }
.button-outline-light { background: transparent; color: var(--white); border-color: rgba(255, 255, 255, 0.7); }
.button-outline-light:hover { border-color: var(--white); background: rgba(255, 255, 255, 0.08); }
.button-dark { background: var(--navy); color: var(--white); }
.button-dark:hover { background: var(--navy-2); }
.button-teal { background: var(--teal); color: var(--navy); }
.button-teal:hover { background: #3fd5c5; }

.text-arrow {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--teal-deep); font-weight: 650; text-decoration: none;
}
.text-arrow:hover { text-decoration: underline; text-underline-offset: 0.2em; }

/* Labels and headings */
.section-label {
  display: block; margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-deep);
}
.section-label-light { color: var(--teal); }

.display { font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.1; letter-spacing: -0.02em; }
.display span { display: block; color: var(--muted); font-weight: 600; }
.display-light { color: var(--white); }
.display-light span { color: var(--soft); }

.lead { max-width: 52ch; font-size: clamp(1.05rem, 2vw, 1.22rem); color: var(--muted); }
.lead-light { color: var(--soft); }

/* Sections */
.section { padding-block: var(--section-y); }
.section-paper { background: var(--paper); }
.dark-section { padding-block: var(--section-y); background: var(--navy); color: var(--white); }
.dark-section p { color: var(--soft); }

/* Hero */
.hero {
  position: relative; display: flex; align-items: flex-end; overflow: hidden;
  min-height: min(92vh, 820px); background: var(--navy); color: var(--white);
}
.hero-photo { position: absolute; inset: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(16, 28, 44, 0.35) 0%, rgba(16, 28, 44, 0.88) 100%);
}
.hero-content {
  position: relative; z-index: 1;
  width: min(100% - 2 * var(--gutter), var(--content)); margin-inline: auto;
  padding-block: 140px 72px;
}
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px;
  color: var(--teal); font-size: 0.8125rem; font-weight: 650;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.hero-kicker span { width: 28px; height: 2px; background: var(--teal); }
.hero-title { max-width: 14ch; margin: 0; font-size: clamp(2.6rem, 7.4vw, 5.6rem); line-height: 1.02; letter-spacing: -0.03em; }
.hero-title .line { display: block; }
.hero-title em { font-style: normal; color: var(--teal); }
.hero-bottom { display: grid; gap: 28px; margin-top: 36px; }
.hero-intro { max-width: 40ch; margin: 0; font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--soft); }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; }
@media (min-width: 900px) {
  .hero-bottom { grid-template-columns: 1fr auto; align-items: end; }
}

/* Introduction */
.intro-grid { display: grid; gap: 40px; }
.intro-copy p { color: var(--muted); }
.intro-copy .text-arrow { margin-top: 8px; }
@media (min-width: 900px) {
  .intro-grid { grid-template-columns: 1.1fr 0.9fr; gap: 72px; align-items: start; }
}

/* Visual break */
.visual-break { position: relative; height: clamp(260px, 52vh, 520px); overflow: hidden; background: var(--navy); }
.visual-image { position: absolute; inset: 0; }
.visual-image img { width: 100%; height: 100%; object-fit: cover; }

/* Riders */
.split-heading { display: grid; gap: 22px; margin-bottom: clamp(40px, 6vw, 64px); }
.experience-grid { display: grid; gap: 48px; }
.experience-image { position: relative; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--radius); background: var(--paper); }
.experience-image img { width: 100%; height: 100%; object-fit: cover; }
.experience-item { padding: 24px 0; border-top: 1px solid var(--line); }
.experience-item:last-of-type { border-bottom: 1px solid var(--line); }
.experience-item h3 { margin-bottom: 8px; }
.experience-item p { margin: 0; color: var(--muted); }
.experience-content .button { margin-top: 32px; }
@media (min-width: 900px) {
  .split-heading { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
  .experience-grid { grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
}

/* Drivers */
.driver-top { display: grid; gap: 22px; margin-bottom: 48px; }
.driver-list { border-top: 1px solid rgba(255, 255, 255, 0.14); }
.driver-row {
  display: flex; justify-content: space-between; align-items: flex-start; gap: 24px;
  padding: 26px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.driver-row h3 { margin-bottom: 6px; color: var(--white); }
.driver-row p { margin: 0; color: var(--soft); }
.row-arrow { flex: none; color: var(--teal); font-size: 1.4rem; line-height: 1; }
.dark-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px;
  margin-top: 48px; padding-top: 28px; border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.dark-cta span { display: block; color: var(--teal); font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; }
.dark-cta strong { display: block; font-size: 1.2rem; color: var(--white); }
@media (min-width: 900px) {
  .driver-top { grid-template-columns: 1fr 1fr; align-items: end; gap: 64px; }
}

/* Fleet partnership */
.fleet-inner { display: grid; gap: 48px; align-items: center; }
.fleet-title { font-size: clamp(2rem, 4.2vw, 3rem); }
.fleet-text { max-width: 60ch; color: var(--soft); }
.fleet-note { color: var(--white); font-weight: 600; }
.fleet-cta { margin-top: 24px; }

/* Statement */
.statement { position: relative; display: flex; align-items: center; min-height: clamp(420px, 70vh, 640px); overflow: hidden; background: var(--navy); color: var(--white); }
.statement-image { position: absolute; inset: 0; }
.statement-image img { width: 100%; height: 100%; object-fit: cover; }
.statement-overlay { position: absolute; inset: 0; background: rgba(16, 28, 44, 0.72); }
.statement-content { position: relative; z-index: 1; padding-block: 96px; }
.statement-title { max-width: 16ch; margin: 0 0 20px; font-size: clamp(2.2rem, 5.4vw, 4rem); line-height: 1.05; letter-spacing: -0.02em; color: var(--white); }
.statement-title em { font-style: normal; color: var(--teal); }
.statement-copy { max-width: 54ch; color: var(--soft); }

/* About */
.about-grid { display: grid; gap: 36px; }
.about-copy p { color: var(--muted); }
.principles { display: grid; margin-top: 56px; border-top: 1px solid var(--line); }
.principle { padding: 26px 0; border-bottom: 1px solid var(--line); }
.principle strong { display: block; margin-bottom: 8px; font-size: 1.1rem; }
.principle p { margin: 0; color: var(--muted); }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; }
}
@media (min-width: 760px) {
  .principles { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .principle { padding: 26px 24px 26px 0; border-bottom: 0; }
}

/* Safety */
.safety-grid { display: grid; gap: 28px; }
.large-copy { color: var(--white) !important; font-size: clamp(1.15rem, 2.2vw, 1.4rem); }
.trust-lines { margin-top: 56px; border-top: 1px solid rgba(255, 255, 255, 0.14); }
.trust-line { display: grid; gap: 4px; padding: 18px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.trust-line span { color: var(--soft); }
@media (min-width: 900px) {
  .safety-grid { grid-template-columns: 1fr 1fr; gap: 72px; align-items: end; }
}
@media (min-width: 760px) {
  .trust-line { grid-template-columns: 1fr 1fr; gap: 32px; }
}

/* Join */
.join-heading { margin-bottom: 48px; }
.join-grid { display: grid; border-top: 1px solid var(--line); }
.join-card {
  display: flex; flex-direction: column; gap: 10px;
  padding: 32px 0; border-bottom: 1px solid var(--line);
  color: var(--ink); text-decoration: none;
}
.join-card-top span { font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em; color: var(--teal-deep); }
.join-card h3 { margin: 0; }
.join-card p { margin: 0; color: var(--muted); }
.join-card strong { margin-top: auto; padding-top: 8px; color: var(--teal-deep); }
.join-card strong span { display: inline-block; }
.join-card:hover h3 { color: var(--teal-deep); }
@media (min-width: 900px) {
  .join-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .join-card { padding: 36px 28px 36px 0; border-bottom: 0; }
  .join-card + .join-card { padding-left: 28px; border-left: 1px solid var(--line); }
}

/* Contact */
.contact-inner { display: grid; gap: 28px; }
.contact-title { margin: 0; font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 1.05; color: var(--white); }
.contact-title em { font-style: normal; color: var(--teal); }
.contact-right p { color: var(--soft); }
.contact-email {
  display: inline-flex; gap: 8px; margin-top: 8px;
  color: var(--white); font-size: 1.25rem; font-weight: 650;
  text-decoration: underline; text-decoration-color: var(--teal);
  text-decoration-thickness: 2px; text-underline-offset: 6px;
}
.contact-email:hover { color: var(--teal); }
@media (min-width: 900px) {
  .contact-inner { grid-template-columns: 1fr 1fr; align-items: end; gap: 72px; }
}

/* Footer */
.footer { padding-block: 64px 32px; background: var(--navy); color: var(--soft); }
.footer .logo { color: #19c6b4; }
.footer [data-infinity-road] path[stroke-width="0.6"] { stroke: #ffffff; }
.footer-main { display: grid; gap: 40px; }
.footer-brand p { margin: 12px 0 0; color: var(--soft); }
.footer-nav { display: grid; gap: 32px; }
.footer-group { display: flex; flex-direction: column; align-items: flex-start; }
.footer-title {
  margin: 0 0 8px; font-size: 0.8125rem; font-weight: 650;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--white);
}
.footer-nav a {
  display: inline-flex; align-items: center; min-height: 36px; padding: 6px 0;
  color: var(--soft); text-decoration: none;
}
.footer-nav a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 0.2em; }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
  margin-top: 48px; padding-top: 24px; border-top: 1px solid #2c3d55;
  font-size: 0.9rem;
}
.footer-bottom p { margin: 0; }
@media (min-width: 560px) {
  .footer-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 960px) {
  .footer-main { grid-template-columns: 1.2fr 3fr; gap: 64px; }
  .footer-nav { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 24px; }
}

/* Interior pages */
.page-main { width: min(100% - 2 * var(--gutter), 960px); margin: 0 auto; padding-bottom: var(--section-y); }
.page-hero { padding: clamp(56px, 9vw, 104px) 0 48px; border-bottom: 1px solid var(--line); }
.page-eyebrow {
  display: block; margin-bottom: 18px;
  font-size: 0.8125rem; font-weight: 650; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--teal-deep);
}
.page-hero h1 { max-width: 18ch; letter-spacing: -0.025em; }
.page-intro { max-width: 60ch; margin: 0; font-size: clamp(1.05rem, 2vw, 1.2rem); color: var(--muted); }
.page-section { padding: 36px 0; border-bottom: 1px solid var(--line); }
.page-section h2 { margin-bottom: 12px; font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
.page-section p { margin: 0; color: var(--muted); }
.page-section p + p { margin-top: 12px; }
.page-section a { font-weight: 600; }
.page-legal-note {
  margin: 32px 0 8px; padding: 16px 20px;
  background: var(--amber-bg); border-left: 3px solid var(--amber-line);
  border-radius: var(--radius); color: var(--ink);
}
.page-legal-note strong { display: block; margin-bottom: 4px; font-size: 0.85rem; letter-spacing: 0.06em; }
.page-cta {
  display: inline-flex; align-items: center; min-height: 48px; margin-top: 32px;
  padding: 12px 22px; background: var(--navy); color: var(--white);
  border-radius: var(--radius); font-weight: 650; text-decoration: none;
}
.page-cta:hover { background: var(--navy-2); }

/* Motion preferences */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* fleet-figure */
.fleet-figure { margin: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; }
.fleet-figure img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .fleet-inner { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); }
}

.wordmark { white-space: nowrap; font-size: 2.3em; font-weight: 800; line-height: 1; letter-spacing: -0.02em; color: inherit; }
.wordmark-mark { display: inline-block; width: 2.1em; vertical-align: -0.08em; }
.wordmark-mark svg { display: block; width: 100%; height: auto; overflow: visible; }

/* Scale: navigation and footer links */
.desktop-nav { gap: clamp(1.25rem, 2.2vw, 2.25rem); }
.desktop-nav a { font-size: 1.0625rem; font-weight: 500; letter-spacing: -0.005em; }
.nav-cta { font-size: 1rem; }
.mobile-menu a { font-size: 1.25rem; }
.footer-title { font-size: 0.9375rem; font-weight: 650; }
.footer-group a { font-size: 1.0625rem; line-height: 1.5; }

/* The mark stays visible even if a script leaves an opacity value behind. */
[data-infinity-road] svg { opacity: 1 !important; }

/* Loader: letters appear one by one, each pushing the others apart, then the road mark. */
.loader-word { display: flex; justify-content: center; align-items: baseline; }
.loader-word span { display: inline-block; max-width: 0; opacity: 0; overflow: hidden; white-space: pre; animation: loader-letter 0.5s cubic-bezier(0.2, 0.7, 0.2, 1) forwards; }
.loader-word span:nth-child(1) { animation-delay: 0.15s; }
.loader-word span:nth-child(2) { animation-delay: 0.33s; }
.loader-word span:nth-child(3) { animation-delay: 0.51s; }
.loader-word span:nth-child(4) { animation-delay: 0.69s; }
@keyframes loader-letter { to { max-width: 1em; opacity: 1; } }
.loader-mark { width: clamp(150px, 28vw, 240px); margin-top: 0.2rem; opacity: 0; animation: loader-fade 0.6s ease 1.05s forwards; }
.loader-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
@keyframes loader-fade { to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .loader-word span, .loader-mark { animation: none; max-width: none; opacity: 1; }
}

/* Loader layout: keep the word and the road mark together in the centre. */
.page-loader { align-content: center; row-gap: 0.25rem; }
.loader-word { line-height: 1; }

/* Footer bottom: three parts on one line, stacked and centred on small screens. */
.footer-bottom { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; justify-items: stretch; text-align: left; gap: 1rem; }
.footer-bottom p { margin: 0; }
.foot-note { text-align: center; }
.foot-origin { text-align: right; }
@media (max-width: 700px) {
  .footer-bottom { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 0.5rem; }
  .foot-origin { text-align: center; }
}
