/* ==========================================================================
   MobyFly GCC — mobyfly-gcc.boats
   Static, dependency-free stylesheet.
   Layers: 1 tokens · 2 reset · 3 primitives · 4 components · 5 sections
           6 motion · 7 responsive (foldables, phone, tablet, desktop)
   ========================================================================== */

/* ---------------------------------------------------------------- 1 TOKENS */
:root {
  /* Brand palette — sampled from the MobyFly identity */
  --accent:        #F26A21;
  --accent-bright: #FF8A47;
  --accent-deep:   #C64F14;

  --ink:      #0B0E11;
  --ink-soft: #131A21;
  --ink-card: #161E26;
  --paper:    #F4F6F8;
  --paper-2:  #FFFFFF;
  --paper-3:  #E8ECF0;

  --on-dark:      #F4F6F8;
  --on-dark-mute: #A2AEBA;
  --on-light:     #0B0E11;
  --on-light-mute:#57626E;

  --line-dark:  rgba(255, 255, 255, .10);
  --line-light: rgba(11, 14, 17, .10);

  /* Layout metrics */
  --header-h: 4.5rem;

  /* Type */
  --font-display: "Sora", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, system-ui, sans-serif;

  --step--2: clamp(.72rem, .70rem + .12vw, .80rem);
  --step--1: clamp(.82rem, .79rem + .18vw, .92rem);
  --step-0:  clamp(.98rem, .94rem + .26vw, 1.10rem);
  --step-1:  clamp(1.14rem, 1.05rem + .45vw, 1.42rem);
  --step-2:  clamp(1.42rem, 1.24rem + 1.00vw, 2.05rem);
  --step-3:  clamp(1.78rem, 1.42rem + 1.90vw, 2.90rem);
  --step-4:  clamp(2.15rem, 1.55rem + 3.10vw, 4.10rem);
  --step-5:  clamp(2.45rem, 1.50rem + 4.60vw, 5.40rem);

  /* Space */
  --gutter: clamp(1.05rem, 4vw, 3.25rem);
  --shell:  min(1280px, 100%);
  --section-y: clamp(3.6rem, 8vw, 7.5rem);
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-card: 0 18px 45px -28px rgba(11, 14, 17, .45);
  --shadow-lift: 0 30px 70px -35px rgba(11, 14, 17, .55);

  --ease: cubic-bezier(.22, .61, .36, 1);
  --dur: .55s;
}

/* ----------------------------------------------------------------- 2 RESET */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--on-light);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: -0.005em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.is-locked { overflow: hidden; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -0.028em;
  margin: 0 0 .6em;
  text-wrap: balance;
}

h1 { font-size: var(--step-5); font-weight: 700; }
h2 { font-size: var(--step-4); }
h3 { font-size: var(--step-2); }
h4 { font-size: var(--step-1); }

p { margin: 0 0 1.05em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }

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

a { color: inherit; }

ul, ol { margin: 0; padding: 0; }

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 3px solid var(--accent-bright);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--accent);
  color: #fff;
  padding: .8rem 1.2rem;
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ------------------------------------------------------------ 3 PRIMITIVES */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: var(--section-y);
  position: relative;
}

.section--light { background: var(--paper); color: var(--on-light); }
.section--white { background: var(--paper-2); color: var(--on-light); }
.section--dark  { background: var(--ink);  color: var(--on-dark); }
.section--deep  { background: #05070A;     color: var(--on-dark); }

.section--dark, .section--deep {
  --line-light: var(--line-dark);
  --on-light: var(--on-dark);
  --on-light-mute: var(--on-dark-mute);
}

/* Waterline: the signature rule that separates blocks of content */
.waterline {
  height: 1px;
  border: 0;
  margin: 0;
  background: linear-gradient(90deg,
              transparent 0%,
              var(--accent) 12%,
              rgba(242, 106, 33, .28) 45%,
              transparent 100%);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-family: var(--font-display);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 1.1rem;
}
.eyebrow::before {
  content: "";
  width: 2.1rem;
  height: 2px;
  background: var(--accent);
  flex: none;
}

.lead {
  font-size: var(--step-1);
  line-height: 1.5;
  color: var(--on-light-mute);
  font-weight: 300;
  max-width: 62ch;
}

.measure { max-width: 68ch; }
.measure-tight { max-width: 52ch; }

.section-head { margin-bottom: clamp(2rem, 4.5vw, 3.4rem); }
.section-head .lead { margin-top: .4rem; }

/* ------------------------------------------------------------ 4 COMPONENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .95rem 1.65rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .01em;
  text-decoration: none;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              color .25s var(--ease), border-color .25s var(--ease),
              box-shadow .25s var(--ease);
  will-change: transform;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 16px 34px -18px rgba(242, 106, 33, .85);
}
.btn--primary:hover { background: var(--accent-bright); }

.btn--ghost {
  border: 1px solid rgba(255, 255, 255, .34);
  color: #fff;
  backdrop-filter: blur(6px);
}
.btn--ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .10); }

.btn--outline {
  border: 1px solid var(--line-light);
  color: var(--on-light);
  background: var(--paper-2);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent-deep); }

.btn svg { width: 1.05em; height: 1.05em; flex: none; }

.card {
  background: var(--paper-2);
  border: 1px solid var(--line-light);
  border-radius: var(--radius-lg);
  padding: clamp(1.4rem, 2.6vw, 2.1rem);
}
.section--dark .card, .section--deep .card {
  background: var(--ink-card);
  border-color: var(--line-dark);
}

/* Framed artwork: keeps every supplied picture on an even baseline */
.figure {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: #0A0D10;
  border: 1px solid var(--line-light);
  box-shadow: var(--shadow-card);
}
.section--dark .figure, .section--deep .figure { border-color: var(--line-dark); }

.figure img { width: 100%; }
.figure--plain { background: transparent; border: 0; box-shadow: none; border-radius: 0; }

.figcaption {
  font-size: var(--step--2);
  color: var(--on-light-mute);
  padding: .85rem 1.15rem;
  margin: 0;
  letter-spacing: .01em;
  border-top: 1px solid var(--line-light);
  background: var(--paper-2);
}
.section--dark .figcaption, .section--deep .figcaption {
  background: var(--ink-card);
  border-top-color: var(--line-dark);
}

.grid { display: grid; gap: clamp(1.1rem, 2.4vw, 2rem); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 12.5rem), 1fr)); }

/* Split: text beside artwork, driven by container width so folding screens work */
.split {
  container-type: inline-size;
  display: grid;
  gap: clamp(1.5rem, 4vw, 3.4rem);
  align-items: center;
}
@container (min-width: 46rem) {
  .split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); }
  .split--media-left > .split__text { order: 2; }
  .split--media-left > .split__media { order: 1; }
  .split--wide-text { grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); }
}

.checklist { list-style: none; display: grid; gap: .75rem; }
.checklist li {
  position: relative;
  padding-left: 1.85rem;
  line-height: 1.5;
}
.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .62em;
  width: .85rem;
  height: .85rem;
  border-radius: 3px;
  background: var(--accent);
  clip-path: polygon(14% 47%, 0 62%, 40% 100%, 100% 22%, 85% 8%, 38% 72%);
}
.checklist--plain li::before {
  clip-path: none;
  border-radius: 50%;
  width: .5rem;
  height: .5rem;
  top: .72em;
}

.tag {
  display: inline-block;
  padding: .34rem .85rem;
  border-radius: var(--radius-pill);
  background: rgba(242, 106, 33, .12);
  color: var(--accent-deep);
  font-family: var(--font-display);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: .04em;
}
.section--dark .tag, .section--deep .tag {
  background: rgba(242, 106, 33, .16);
  color: var(--accent-bright);
}

/* Stat tiles */
.stats {
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 9.5rem), 1fr));
}
.section--dark .stats, .section--deep .stats {
  background: var(--line-dark);
  border-color: var(--line-dark);
}
.stat {
  background: var(--paper-2);
  padding: 1.35rem 1.2rem;
}
.section--dark .stat, .section--deep .stat { background: var(--ink-card); }
.stat__value {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--accent);
  display: block;
}
.stat__label {
  display: block;
  margin-top: .55rem;
  font-size: var(--step--2);
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--on-light-mute);
  line-height: 1.35;
}

/* ----------------------------------------------------------------- 5 HEADER */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  transition: background-color .35s var(--ease), box-shadow .35s var(--ease),
              backdrop-filter .35s var(--ease);
}
.header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, .62) 0%, rgba(5, 7, 10, 0) 100%);
  opacity: 1;
  transition: opacity .35s var(--ease);
  pointer-events: none;
}
.header.is-stuck {
  background: rgba(8, 11, 14, .88);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 rgba(255, 255, 255, .08);
}
.header.is-stuck::before { opacity: 0; }

.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.5rem;
  padding-block: .75rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  text-decoration: none;
  color: #fff;
  flex: none;
}
.brand__logo {
  display: block;
  height: 2.6rem;
  width: auto;
  flex: none;
}

.nav { display: none; }
.nav__list {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.9vw, 1.9rem);
  list-style: none;
}
.nav__link {
  position: relative;
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: .015em;
  color: rgba(255, 255, 255, .82);
  text-decoration: none;
  padding-block: .4rem;
  white-space: nowrap;
  transition: color .22s var(--ease);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 0;
  background: var(--accent);
  transition: width .28s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="true"] { color: #fff; }
.nav__link:hover::after, .nav__link[aria-current="true"]::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: .6rem; flex: none; }
.header__cta { display: none; }

.nav-toggle {
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .28);
  display: grid;
  place-items: center;
  gap: 0;
}
.nav-toggle__box { display: grid; gap: .3rem; width: 1.15rem; }
.nav-toggle__box span {
  display: block;
  height: 2px;
  border-radius: 2px;
  background: #fff;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(1) { transform: translateY(.38rem) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__box span:nth-child(3) { transform: translateY(-.38rem) rotate(-45deg); }

.drawer {
  position: fixed;
  inset: 0;
  z-index: 89;
  background: rgba(5, 7, 10, .97);
  backdrop-filter: blur(10px);
  display: grid;
  align-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .35s var(--ease), visibility .35s;
}
.drawer.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.drawer__list { list-style: none; display: grid; gap: .2rem; }
.drawer__link {
  display: block;
  padding: .85rem 0;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 7vw, 2.2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  transition: color .2s var(--ease), padding-left .25s var(--ease);
}
.drawer__link:hover { color: var(--accent-bright); padding-left: .5rem; }
.drawer__meta {
  margin-top: 2.2rem;
  font-size: var(--step--1);
  color: var(--on-dark-mute);
}
.drawer__meta a { color: var(--accent-bright); text-decoration: none; }
.drawer__meta a:hover { text-decoration: underline; }

/* ------------------------------------------------------------------- HERO */
.hero {
  position: relative;
  display: block;
  padding-block: 0 clamp(2.5rem, 6vw, 4.5rem);
  overflow: hidden;
  background: #05070A;
  color: #fff;
}
/* The film carries its own on-screen captions, so it is never cropped: it is
   shown whole in a 16:9 band directly under the header, and the message sits
   below it. */
.hero__media {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: calc(100svh - var(--header-h));
  margin-top: var(--header-h);
  overflow: hidden;
  background: #05070A;
}
.hero__media video,
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.hero__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg,
              rgba(4, 6, 9, .30) 0%,
              rgba(4, 6, 9, 0) 24%,
              rgba(4, 6, 9, 0) 64%,
              rgba(4, 6, 9, .48) 100%);
}

.hero__inner {
  position: relative;
  width: 100%;
  padding-top: clamp(2rem, 4.5vw, 3.5rem);
}
.hero__title {
  font-size: var(--step-5);
  font-weight: 700;
  letter-spacing: -0.035em;
  margin-bottom: .35em;
  max-width: min(20ch, 100%);
  overflow-wrap: break-word;
}
.hero__title em {
  font-style: normal;
  color: var(--accent-bright);
}
.hero__sub {
  font-size: var(--step-1);
  font-weight: 300;
  color: rgba(255, 255, 255, .88);
  max-width: 46ch;
  margin-bottom: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; }

.hero__facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 11rem), 1fr));
  gap: .55rem 1.8rem;
  margin-top: 2.4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, .18);
  list-style: none;
}
.hero__facts li {
  font-size: var(--step--1);
  color: rgba(255, 255, 255, .80);
  display: flex;
  align-items: baseline;
  gap: .5rem;
  min-width: 0;
}
.hero__facts b {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}

/* Video controls */
.hero__controls {
  position: absolute;
  right: var(--gutter);
  bottom: clamp(.9rem, 2.2vw, 1.5rem);
  display: flex;
  gap: .5rem;
  z-index: 3;
}
.vid-btn {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .34);
  background: rgba(8, 11, 14, .45);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  color: #fff;
  transition: background-color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.vid-btn:hover { background: rgba(242, 106, 33, .85); border-color: transparent; transform: translateY(-2px); }
.vid-btn svg { width: 1.15rem; height: 1.15rem; }
.vid-btn .icon-on { display: none; }
.vid-btn[aria-pressed="true"] .icon-on { display: block; }
.vid-btn[aria-pressed="true"] .icon-off { display: none; }
.vid-btn[hidden] { display: none; }

/* --------------------------------------------------------- 6 SPECIFIC BITS */
.statement {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  line-height: 1.24;
  letter-spacing: -0.03em;
  max-width: 30ch;
}
.statement strong { color: var(--accent); font-weight: 700; }

.pillars { list-style: none; }
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: .9rem;
  height: 100%;
}
.pillar__num {
  font-family: var(--font-display);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: .18em;
  color: var(--accent);
}
.pillar__title {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.02em;
}
.pillar__body { font-size: var(--step--1); color: var(--on-light-mute); }

.variant { display: grid; gap: 1rem; }
.variant__head {
  display: flex;
  align-items: baseline;
  gap: .8rem;
  flex-wrap: wrap;
}
.variant__code {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 700;
  letter-spacing: .04em;
  margin: 0;
}
.variant__code span { color: var(--accent); }
.variant__meta { font-size: var(--step--1); color: var(--on-light-mute); }

/* Spec comparison — real text table for accessibility and search */
.specs {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  margin-top: clamp(1.5rem, 3vw, 2.4rem);
}
.specs caption {
  text-align: left;
  font-size: var(--step--2);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--on-light-mute);
  padding-bottom: .9rem;
}
.specs th, .specs td {
  text-align: left;
  padding: .85rem 1rem;
  border-bottom: 1px solid var(--line-light);
  vertical-align: top;
}
.specs thead th {
  font-family: var(--font-display);
  font-size: var(--step--1);
  letter-spacing: .04em;
  border-bottom: 2px solid var(--accent);
  white-space: nowrap;
}
.specs tbody th { font-weight: 500; color: var(--on-light-mute); white-space: nowrap; }
.specs td { font-variant-numeric: tabular-nums; font-weight: 500; }
.specs thead th:first-child { width: 34%; }

.note {
  font-size: var(--step--2);
  color: var(--on-light-mute);
  margin-top: 1.2rem;
  font-style: italic;
}

.footnotes {
  margin-top: 2rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-light);
  font-size: var(--step--2);
  color: var(--on-light-mute);
  display: grid;
  gap: .5rem;
  list-style: none;
}
.footnotes li { display: flex; gap: .6rem; }
.footnotes sup { color: var(--accent); font-weight: 700; flex: none; }

/* Utilities — the site ships a strict CSP (style-src 'self'), so no inline styles */
.waterline--spaced { margin-block: clamp(2.6rem, 6vw, 4.5rem); }
.waterline--footer { margin-bottom: 2rem; }
.mt-1  { margin-top: 1rem; }
.mt-sm { margin-top: clamp(1.1rem, 2.4vw, 2rem); }
.mt-md { margin-top: clamp(1.5rem, 3vw, 2.4rem); }
.mt-lg { margin-top: clamp(1.4rem, 3vw, 2.2rem); }
.mb-lg { margin-bottom: clamp(1.6rem, 3vw, 2.4rem); }
.span-all { grid-column: 1 / -1; }
.note--on-dark { color: var(--on-dark-mute); }
.lead--on-dark { color: rgba(255, 255, 255, .82); max-width: 52ch; }
.statement--sm { font-size: var(--step-2); }

/* Technology band */
.band {
  position: relative;
  min-height: clamp(20rem, 52vw, 34rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  background: #05070A;
  color: #fff;
}
.band__img { position: absolute; inset: 0; }
.band__img img { width: 100%; height: 100%; object-fit: cover; }
.band__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 7, 10, .35) 0%, rgba(5, 7, 10, .05) 45%, rgba(5, 7, 10, .92) 100%);
}
.band__inner { position: relative; padding-block: clamp(2.5rem, 6vw, 4.5rem); }

/* Contact */
.contact { background: var(--ink); color: var(--on-dark); }
.contact__grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); }
@container (min-width: 52rem) { .contact__grid { grid-template-columns: 1.05fr .95fr; } }

.agent-card {
  background: linear-gradient(155deg, #18212A 0%, #0D1218 100%);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.6rem);
  position: relative;
  overflow: hidden;
}
.agent-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), rgba(242, 106, 33, 0));
}
.agent-card__role {
  font-size: var(--step--1);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-bright);
  margin-bottom: .6rem;
}
.agent-card__name {
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 700;
  letter-spacing: -0.03em;
  margin: 0 0 1.4rem;
}
.contact-list { list-style: none; display: grid; gap: .2rem; }
.contact-list a {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding: .95rem 0;
  text-decoration: none;
  color: var(--on-dark);
  border-bottom: 1px solid var(--line-dark);
  font-size: var(--step-0);
  transition: color .22s var(--ease), padding-left .22s var(--ease);
}
.contact-list a:hover { color: var(--accent-bright); padding-left: .4rem; }
.contact-list svg { width: 1.15rem; height: 1.15rem; flex: none; color: var(--accent); }
.contact-list span { word-break: break-word; }

.contact-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.8rem; }

.qr-panel {
  display: grid;
  gap: 1.1rem;
  align-content: start;
}
.qr-box {
  background: #fff;
  border-radius: var(--radius);
  padding: 1.15rem;
  width: min(100%, 15.5rem);
}
.qr-box img { width: 100%; height: auto; }
.qr-caption { font-size: var(--step--2); color: var(--on-dark-mute); }

.partner {
  margin-top: 1.6rem;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-dark);
  font-size: var(--step--1);
  color: var(--on-dark-mute);
  display: grid;
  gap: .45rem;
}
.partner a { color: var(--on-dark); text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.28); }
.partner a:hover { color: var(--accent-bright); border-color: var(--accent-bright); }

/* Footer */
.footer {
  background: #05070A;
  color: var(--on-dark-mute);
  padding-block: clamp(2.5rem, 5vw, 3.5rem);
  font-size: var(--step--2);
}
.footer__grid {
  display: grid;
  gap: 1.6rem;
  align-items: start;
}
@container (min-width: 44rem) { .footer__grid { grid-template-columns: 1.4fr 1fr; } }
.footer__note { max-width: 62ch; line-height: 1.6; }
.footer__legal { display: grid; gap: .5rem; }
.footer__legal a { color: var(--on-dark); text-decoration: none; }
.footer__legal a:hover { color: var(--accent-bright); }

/* ---------------------------------------------------------------- 6 MOTION */
/* Reveal is gated on .js so that content is never hidden without scripting. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .09s; }
.reveal--d2 { transition-delay: .18s; }
.reveal--d3 { transition-delay: .27s; }
.reveal--d4 { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ----------------------------------------------- 7 RESPONSIVE / FOLDABLES */

/* Phones and foldable cover screens: keep the hero on one comfortable screen
   and let the next section peek, which also reads as a scroll affordance. */
@media (max-width: 900px) {
  .hero__media { max-height: min(62svh, 34rem); }
}

/* Phones, foldable cover screens and portrait foldables: the 16:9 band is
   already full width, so it needs no height cap at all. */
@media (max-width: 720px) {
  .hero__media { max-height: none; }
  .hero__inner { padding-top: clamp(1.4rem, 5vw, 2.2rem); }
  .hero__title { font-size: clamp(2.15rem, 9.4vw, 3.2rem); max-width: 100%; }
  .hero__sub { font-size: var(--step-0); max-width: 44ch; }
  .hero__facts { margin-top: 1.6rem; padding-top: 1.2rem; }
}

/* Very narrow foldable cover screens (≈320–400 px) */
@media (max-width: 400px) {
  .hero__title { font-size: clamp(2rem, 9.6vw, 2.7rem); }
  .hero__facts { grid-template-columns: 1fr 1fr; }
  .hero__facts li { flex-direction: column; gap: .15rem; }
}

/* Narrow folding cover screens (≈320–380 px): tighten everything */
@media (max-width: 380px) {
  :root { --gutter: .95rem; --radius-lg: 16px; }
  .hero__facts { gap: .5rem 1.1rem; }
  .btn { width: 100%; }
  .hero__actions, .contact-actions { flex-direction: column; align-items: stretch; }
  .vid-btn { width: 2.5rem; height: 2.5rem; }
}

/* Inner foldable screens are near-square: avoid over-wide measures */
@media (min-width: 560px) and (max-width: 900px) and (min-aspect-ratio: 3/4) and (max-aspect-ratio: 5/4) {
  .split { align-items: start; }
  .hero__title { max-width: 26ch; }
}

/* Tablet portrait */
@media (min-width: 700px) {
  .header__cta { display: inline-flex; }
}

/* Desktop navigation */
@media (min-width: 1024px) {
  .nav { display: block; }
  .nav-toggle { display: none; }
  .drawer { display: none; }
}

/* Large desktop / ultrawide */
@media (min-width: 1500px) {
  :root { --shell: min(1400px, 100%); }
}

/* Landscape phones: keep the hero usable */
@media (max-height: 520px) and (orientation: landscape) {
  .hero__media { max-height: 74svh; }
}

/* Print */
@media print {
  .header, .drawer, .hero__controls, .hero__media video { display: none !important; }
  body { background: #fff; color: #000; }
  .reveal { opacity: 1; transform: none; }
  .section--dark, .section--deep { background: #fff !important; color: #000 !important; }
}
.text-white { color: #fff; }
