/* ==========================================================================
   TotalVac Solutions
   Design concept: Controlled Power
   Ink surfaces, precise grids, steel hairlines, circular flow motifs,
   electric blue used only where an action or a state lives.
   ========================================================================== */

/* 1. Fonts: self hosted variable subsets (SIL Open Font License 1.1)
   ========================================================================== */

@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-display: swap;
  font-weight: 100 800;
  src: url('/assets/fonts/sora-variable-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('/assets/fonts/inter-variable-latin.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+2074, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* 2. Tokens
   ========================================================================== */

:root {
  /* Brand palette */
  --ink: #0b1015;
  --graphite: #161e25;
  --steel: #73818c;
  --titanium: #aeb9c2;
  --warm: #f5f4ef;
  --white: #ffffff;
  --blue: #2d8cff;
  --blue-deep: #176dd8;
  /* Filled actions use Deep Blue so white label text clears WCAG AA at normal
     size. Electric Blue stays the accent for links, focus, active states and
     detail on dark surfaces, where it measures 5.74 to 1 against Ink Black. */
  --blue-press: #1258b4;

  /* Derived surfaces and lines */
  --surface: var(--warm);
  --surface-raised: var(--white);
  --line-light: rgba(11, 16, 21, 0.1);
  --line-light-strong: rgba(11, 16, 21, 0.18);
  --line-dark: rgba(174, 185, 194, 0.18);
  --line-dark-strong: rgba(174, 185, 194, 0.32);

  /* Text */
  --text: #0b1015;
  --text-muted: #4a5661;
  --text-on-dark: var(--warm);
  --text-on-dark-muted: #aab6c0;

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

  --step--2: 0.75rem;
  --step--1: 0.8125rem;
  --step-0: 1rem;
  --step-1: 1.0625rem;
  --step-2: clamp(1.25rem, 0.55vw + 1.1rem, 1.5rem);
  --step-3: clamp(1.5rem, 1.1vw + 1.2rem, 2rem);
  --step-4: clamp(1.95rem, 2.1vw + 1.3rem, 2.9rem);
  --step-5: clamp(2.35rem, 3.6vw + 1.25rem, 4rem);

  /* Space */
  --s-1: 0.375rem;
  --s-2: 0.625rem;
  --s-3: 1rem;
  --s-4: 1.5rem;
  --s-5: 2rem;
  --s-6: 2.75rem;
  --s-7: 3.75rem;
  --s-8: 5rem;
  --section: clamp(4.5rem, 7.5vw, 8.5rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shell: 1280px;

  /* Shape */
  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;

  /* Motion */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --t-fast: 220ms;
  --t: 320ms;
  --t-slow: 480ms;

  /* Depth, kept quiet */
  --shadow-1: 0 1px 2px rgba(11, 16, 21, 0.04), 0 8px 24px rgba(11, 16, 21, 0.05);
  --shadow-2: 0 2px 6px rgba(11, 16, 21, 0.06), 0 18px 44px rgba(11, 16, 21, 0.1);
}

/* 2b. Cross document view transitions
   Chrome and Edge fade between pages instead of flashing white. Other browsers
   navigate normally. Switched off entirely under reduced motion.
   ========================================================================== */

@view-transition {
  navigation: auto;
}

::view-transition-old(root) {
  animation: vt-out 180ms var(--ease) both;
}

::view-transition-new(root) {
  animation: vt-in 260ms var(--ease) both;
}

@keyframes vt-out {
  to {
    opacity: 0;
  }
}

@keyframes vt-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
}

/* The header and the sticky actions stay put across the transition */
.site-header,
.utility-bar,
.sticky-actions {
  view-transition-name: none;
}

/* 3. Base
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-body);
  font-size: var(--step-1);
  line-height: 1.65;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin: 0 0 var(--s-3);
  text-wrap: balance;
}

h1 {
  font-size: var(--step-5);
}
h2 {
  font-size: var(--step-4);
}
h3 {
  font-size: var(--step-2);
  letter-spacing: -0.015em;
}
h4 {
  font-size: var(--step-1);
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 var(--s-3);
  text-wrap: pretty;
}

a {
  color: var(--blue-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color var(--t-fast) var(--ease);
}

a:hover {
  color: var(--ink);
}

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

img {
  height: auto;
}

ul,
ol {
  margin: 0 0 var(--s-3);
  padding-left: 1.15rem;
}

li {
  margin-bottom: var(--s-2);
}

strong {
  font-weight: 600;
}

hr {
  border: 0;
  border-top: 1px solid var(--line-light);
  margin: var(--s-6) 0;
}

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

::selection {
  background: var(--blue-deep);
  color: var(--white);
}

/* 4. Layout utilities
   ========================================================================== */

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

.shell--narrow {
  max-width: 860px;
}

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

.section--tight {
  padding-block: clamp(3rem, 5vw, 5rem);
}

.surface-ink {
  background: var(--ink);
  color: var(--text-on-dark);
}

.surface-graphite {
  background: var(--graphite);
  color: var(--text-on-dark);
}

.surface-white {
  background: var(--white);
}

.surface-ink h1,
.surface-ink h2,
.surface-ink h3,
.surface-ink h4,
.surface-graphite h1,
.surface-graphite h2,
.surface-graphite h3,
.surface-graphite h4 {
  color: var(--text-on-dark);
}

.surface-ink p,
.surface-graphite p {
  color: var(--text-on-dark-muted);
}

.surface-ink a:not(.btn),
.surface-graphite a:not(.btn) {
  color: var(--blue);
}

.surface-ink a:not(.btn):hover,
.surface-graphite a:not(.btn):hover {
  color: var(--white);
}

.stack > * + * {
  margin-top: var(--s-3);
}

.lede {
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--text-muted);
  max-width: 62ch;
}

.surface-ink .lede,
.surface-graphite .lede {
  color: var(--titanium);
}

.muted {
  color: var(--text-muted);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--s-3);
  top: -100px;
  z-index: 999;
  background: var(--blue-deep);
  color: var(--white);
  padding: 0.75rem 1.1rem;
  border-radius: var(--r-sm);
  font-weight: 600;
  text-decoration: none;
  transition: top var(--t) var(--ease);
}

.skip-link:focus {
  top: var(--s-3);
  color: var(--white);
}

/* 5. Type devices
   ========================================================================== */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 var(--s-3);
}

.eyebrow::before {
  content: '';
  width: 28px;
  height: 2px;
  background: var(--blue);
  flex: none;
}

.surface-ink .eyebrow,
.surface-graphite .eyebrow {
  color: var(--titanium);
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(2.5rem, 4vw, 4rem);
}

.section-head--wide {
  max-width: 900px;
}

.section-head p:last-child {
  margin-bottom: 0;
}

.rule {
  border: 0;
  border-top: 1px solid var(--line-light);
  margin: 0;
}

.surface-ink .rule,
.surface-graphite .rule {
  border-top-color: var(--line-dark);
}

/* 6. Buttons and actions
   ========================================================================== */

.btn {
  --btn-bg: var(--blue-deep);
  --btn-fg: var(--white);
  --btn-border: var(--blue-deep);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 52px;
  padding: 0.875rem 1.5rem;
  border: 1px solid var(--btn-border);
  border-radius: var(--r-sm);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  text-wrap: balance;
  cursor: pointer;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
    color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}

.btn:hover {
  background: var(--blue-press);
  border-color: var(--blue-press);
  color: var(--white);
}

.btn:active {
  transform: translateY(1px);
}

.btn__arrow {
  transition: transform var(--t) var(--ease);
}

.btn:hover .btn__arrow {
  transform: translateX(3px);
}

.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  --btn-border: var(--line-light-strong);
}

.btn--ghost:hover {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}

.btn--ghost-light {
  --btn-bg: transparent;
  --btn-fg: var(--warm);
  --btn-border: var(--line-dark-strong);
}

.btn--ghost-light:hover {
  background: rgba(245, 244, 239, 0.08);
  border-color: var(--titanium);
  color: var(--white);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: center;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: var(--step-0);
  text-decoration: none;
  color: var(--blue-deep);
}

.link-arrow svg {
  transition: transform var(--t) var(--ease);
}

.link-arrow:hover svg {
  transform: translateX(3px);
}

/* 7. Header, utility bar, navigation
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ink);
  border-bottom: 1px solid var(--line-dark);
  transition: background var(--t) var(--ease), border-color var(--t) var(--ease);
}

.site-header.is-scrolled {
  background: rgba(11, 16, 21, 0.94);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom-color: var(--line-dark-strong);
}

.site-header__inner {
  display: flex;
  align-items: center;
  gap: var(--s-4);
  min-height: 84px;
  padding-block: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  text-decoration: none;
}

.brand img {
  height: 38px;
  width: auto;
}

@media (max-width: 480px) {
  .brand img {
    height: 32px;
  }
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 2.1rem);
  margin-inline: auto;
}

.nav__link {
  position: relative;
  color: var(--titanium);
  text-decoration: none;
  font-size: var(--step-0);
  font-weight: 500;
  padding: 0.5rem 0;
  white-space: nowrap;
}

.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t) var(--ease);
}

.nav__link:hover,
.nav__link[aria-current='page'] {
  color: var(--white);
}

.nav__link:hover::after,
.nav__link[aria-current='page']::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 1.8vw, 1.75rem);
  margin-left: clamp(1rem, 2.4vw, 2.25rem);
  padding-left: clamp(1rem, 2.4vw, 2.25rem);
  border-left: 1px solid var(--line-dark);
}

.header-actions .btn {
  min-height: 48px;
  padding-inline: 1.35rem;
  white-space: nowrap;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  min-height: 48px;
  color: var(--warm);
  font-size: var(--step-0);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}

.header-phone:hover {
  color: var(--blue);
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 0.55rem;
  margin-left: auto;
  min-height: 46px;
  padding: 0.5rem 0.9rem;
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-sm);
  color: var(--warm);
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
}

.nav-toggle__bars {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__bars span {
  display: block;
  height: 2px;
  background: currentColor;
  transition: transform var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded='true'] .nav-toggle__bars span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* The phone link folds away before the nav does, since the sticky bar carries it */
@media (max-width: 1180px) {
  .header-phone {
    display: none;
  }
}

@media (max-width: 1024px) {
  .nav,
  .header-actions {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--t) var(--ease), transform var(--t) var(--ease), visibility var(--t);
  overflow-y: auto;
}

.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mobile-menu__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  min-height: 78px;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu__close {
  min-height: 46px;
  min-width: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line-dark-strong);
  border-radius: var(--r-sm);
  color: var(--warm);
  cursor: pointer;
}

.mobile-menu__list {
  list-style: none;
  margin: 0;
  padding: var(--s-5) 0 var(--s-4);
}

.mobile-menu__list li {
  margin: 0;
  border-bottom: 1px solid var(--line-dark);
}

.mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 1.05rem 0;
  color: var(--warm);
  font-family: var(--font-display);
  font-size: var(--step-3);
  font-weight: 500;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mobile-menu__link[aria-current='page'] {
  color: var(--blue);
}

.mobile-menu__link span {
  font-family: var(--font-body);
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  color: var(--steel);
}

.mobile-menu__foot {
  margin-top: auto;
  padding-block: var(--s-5) calc(var(--s-6) + env(safe-area-inset-bottom, 0px));
  display: grid;
  gap: var(--s-3);
}

.mobile-menu__meta {
  font-size: var(--step--1);
  color: var(--steel);
}

/* 8. Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--ink);
  color: var(--text-on-dark);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: center;
  padding-block: clamp(3rem, 6vw, 6rem);
}

@media (min-width: 900px) {
  .hero__inner {
    grid-template-columns: 1.02fr 0.98fr;
    min-height: min(78vh, 720px);
  }
}

.hero__copy {
  position: relative;
  z-index: 2;
  max-width: 40rem;
}

.hero h1 {
  margin-bottom: var(--s-4);
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.hero__support {
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--titanium);
  max-width: 34rem;
  margin-bottom: var(--s-5);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  margin-bottom: var(--s-5);
}

.hero__reassurance {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.1rem;
  font-size: var(--step--2);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--steel);
  padding-top: var(--s-4);
  border-top: 1px solid var(--line-dark);
  margin: 0;
  list-style: none;
}

.hero__reassurance li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.hero__reassurance li + li::before {
  content: '';
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--blue);
}

.hero__media {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  isolation: isolate;
}

@media (min-width: 900px) {
  .hero__media {
    width: calc(100% + max(var(--gutter), (100vw - var(--shell)) / 2 + var(--gutter)));
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
  }
  /* The frame keeps the photograph's own proportions rather than stretching to
     the height of the copy column, so nothing is cropped out of the shot. */
  .hero__media .media {
    height: auto;
  }
}

/* Signature: flow ring, a restrained nod to the mark and to suction geometry */
.flow-ring {
  position: absolute;
  pointer-events: none;
  color: var(--blue);
  opacity: 0.5;
  z-index: 3;
}

.hero .flow-ring {
  right: clamp(-90px, -4vw, -40px);
  bottom: clamp(-90px, -5vw, -50px);
  width: clamp(220px, 26vw, 380px);
}

.flow-ring__spin {
  transform-origin: 50% 50%;
  animation: flow-spin 44s linear infinite;
}

@keyframes flow-spin {
  to {
    transform: rotate(360deg);
  }
}

/* 9. Media frames and placeholders
   ========================================================================== */

.media {
  position: relative;
  margin: 0;
  overflow: hidden;
  border-radius: var(--r);
  background: var(--graphite);
}

.media picture {
  display: block;
  width: 100%;
  height: 100%;
}

.media img,
.media svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 700ms var(--ease), filter 700ms var(--ease);
}

/* Photographs sit on ink surfaces, so a slight scrim keeps the edges from
   glowing against the dark background without hiding the work. */
.media::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(11, 16, 21, 0) 62%, rgba(11, 16, 21, 0.18) 100%);
  opacity: 0.85;
}

.media--plain::after {
  display: none;
}

/* Slow zoom when a card or panel containing the image is hovered */
a.card:hover .media img,
.split:hover .split__media .media img {
  transform: scale(1.035);
}

.media--framed {
  border: 1px solid var(--line-light);
}

.media__caption {
  font-size: var(--step--1);
  color: var(--steel);
  margin-top: var(--s-2);
}

/* 10. Trust strip
   ========================================================================== */

.trust {
  border-block: 1px solid var(--line-light);
  background: var(--white);
}

.trust__inner {
  display: grid;
  gap: var(--s-5);
  padding-block: clamp(2rem, 3.5vw, 3rem);
  align-items: center;
}

@media (min-width: 900px) {
  .trust__inner {
    grid-template-columns: 1.35fr 1fr;
    gap: var(--s-7);
  }
}

.trust__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  overflow: hidden;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 640px) {
  .trust__list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.trust__list li {
  margin: 0;
  background: var(--white);
  padding: 1.15rem 1rem;
  text-align: center;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.trust__note {
  font-size: var(--step-1);
  color: var(--text-muted);
  margin: 0;
  max-width: 42ch;
}

/* 10b. Marquee band
   ========================================================================== */

.marquee {
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-block: 1px solid var(--line-light);
  padding-block: 0.95rem;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-run 42s linear infinite;
}

.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track {
  animation-play-state: paused;
}

.marquee__run {
  display: flex;
  align-items: center;
  flex: none;
}

.marquee__item {
  display: inline-flex;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.75rem);
  padding-inline: clamp(0.75rem, 1.6vw, 1.375rem);
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.1vw, 1.15rem);
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
}

.marquee__dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
  flex: none;
}

@keyframes marquee-run {
  to {
    transform: translateX(-50%);
  }
}

.marquee--light {
  background: var(--warm);
  border-block-color: var(--line-light);
}

.marquee--light .marquee__item {
  color: var(--text-muted);
}

.credentials {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem clamp(1.5rem, 3vw, 2.75rem);
  justify-content: center;
}

.credentials li {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.credentials svg {
  color: var(--blue);
  flex: none;
}

/* 11. Cards
   ========================================================================== */

.grid {
  display: grid;
  gap: clamp(1rem, 1.8vw, 1.75rem);
}

.grid--2 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  padding: clamp(1.5rem, 2.2vw, 2rem);
  background: var(--white);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease),
    box-shadow var(--t) var(--ease);
}

a.card:hover {
  border-color: rgba(45, 140, 255, 0.55);
  transform: translateY(-2px);
  box-shadow: var(--shadow-1);
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity var(--t) var(--ease);
  background: radial-gradient(
    420px circle at var(--pointer-x, 50%) var(--pointer-y, 0%),
    rgba(45, 140, 255, 0.09),
    transparent 60%
  );
}

a.card:hover::before {
  opacity: 1;
}

.card__index {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--steel);
}

.card h3 {
  margin: 0;
}

.card p {
  color: var(--text-muted);
  margin: 0;
  font-size: var(--step-0);
}

.card__cta {
  margin-top: auto;
  padding-top: var(--s-3);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
}

a.card:hover .card__cta svg {
  transform: translateX(3px);
}

.card__cta svg {
  transition: transform var(--t) var(--ease);
}

.card--dark,
.surface-ink .card,
.surface-graphite .card {
  background: var(--graphite);
  border-color: var(--line-dark);
  color: var(--text-on-dark);
}

.surface-ink .card {
  background: #131a21;
}

.card--dark h3,
.surface-ink .card h3,
.surface-graphite .card h3 {
  color: var(--text-on-dark);
}

.card--dark p,
.surface-ink .card p,
.surface-graphite .card p {
  color: var(--text-on-dark-muted);
}

a.card--dark:hover,
.surface-ink a.card:hover,
.surface-graphite a.card:hover {
  border-color: rgba(45, 140, 255, 0.6);
}

.card--dark .card__cta,
.surface-ink .card .card__cta,
.surface-graphite .card .card__cta {
  color: var(--blue);
}

/* Photo cards */
.card--photo {
  padding: 0;
  overflow: hidden;
}

.card--photo .card__media {
  margin: 0;
  overflow: hidden;
}

.card--photo .card__media .media {
  border-radius: 0;
}

.card--photo .card__index,
.card--photo h3,
.card--photo p {
  padding-inline: clamp(1.25rem, 2vw, 1.75rem);
}

.card--photo .card__index {
  padding-top: clamp(1.25rem, 2vw, 1.6rem);
}

.card--photo .card__cta {
  padding: var(--s-3) clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 2vw, 1.6rem);
}

.card--photo .card__media .media::after {
  background: linear-gradient(180deg, rgba(11, 16, 21, 0) 55%, rgba(11, 16, 21, 0.35) 100%);
}

/* Statement band */
.statement {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: clamp(360px, 46vw, 560px);
  display: grid;
  align-items: center;
  background: var(--ink);
}

.statement__media {
  position: absolute;
  inset: -8% 0;
  z-index: -2;
}

.statement__media .media {
  /* The inline aspect ratio is right for a framed photo but wrong for a band
     that has to fill the viewport width, so it is overridden here only. */
  aspect-ratio: auto !important;
  width: 100%;
  height: 100%;
  border-radius: 0;
}

.statement__media .media::after {
  display: none;
}

.statement__media img {
  height: 100%;
  object-position: center 58%;
}

.statement::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(11, 16, 21, 0.92) 0%, rgba(11, 16, 21, 0.72) 45%, rgba(11, 16, 21, 0.35) 100%);
}

.statement__inner {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  max-width: 60rem;
}

.statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--warm);
  margin: 0 0 var(--s-3);
  max-width: 18ch;
}

.statement__attribution {
  margin: 0;
  color: var(--titanium);
  font-size: var(--step-0);
}

@supports (animation-timeline: view()) {
  .statement__media img {
    animation: statement-drift linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}

@keyframes statement-drift {
  from {
    transform: translateY(-3%) scale(1.04);
  }
  to {
    transform: translateY(3%) scale(1.04);
  }
}

/* Value points and numbered process */
.value-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line-light);
}

.surface-ink .value-list,
.surface-graphite .value-list {
  border-top-color: var(--line-dark);
}

@media (min-width: 800px) {
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(2rem, 4vw, 4rem);
  }
}

.value-list li {
  margin: 0;
  padding: var(--s-5) 0;
  border-bottom: 1px solid var(--line-light);
}

.surface-ink .value-list li,
.surface-graphite .value-list li {
  border-bottom-color: var(--line-dark);
}

.value-list h3 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
}

.value-list p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--step-0);
}

.surface-ink .value-list p,
.surface-graphite .value-list p {
  color: var(--text-on-dark-muted);
}

.process {
  display: grid;
  gap: clamp(1.25rem, 2vw, 2rem);
  counter-reset: step;
  margin: 0;
  padding: 0;
  list-style: none;
}

@media (min-width: 760px) {
  .process {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.process__step {
  position: relative;
  margin: 0;
  padding-top: var(--s-4);
  border-top: 2px solid var(--line-light-strong);
}

.surface-ink .process__step,
.surface-graphite .process__step {
  border-top-color: var(--line-dark-strong);
}

.process__step::before {
  counter-increment: step;
  content: '0' counter(step);
  display: block;
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--blue);
  margin-bottom: var(--s-3);
}

.process__step h3 {
  font-size: var(--step-2);
  margin-bottom: 0.5rem;
}

.process__step p {
  margin: 0;
  font-size: var(--step-0);
  color: var(--text-muted);
}

.surface-ink .process__step p,
.surface-graphite .process__step p {
  color: var(--text-on-dark-muted);
}

/* Quote cards, used once real testimonials are approved */
.quote-card {
  display: flex;
  flex-direction: column;
  gap: var(--s-4);
  margin: 0;
  padding: clamp(1.75rem, 2.4vw, 2.25rem);
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  position: relative;
}

.quote-card::before {
  content: '';
  position: absolute;
  top: clamp(1.75rem, 2.4vw, 2.25rem);
  left: clamp(1.75rem, 2.4vw, 2.25rem);
  width: 28px;
  height: 2px;
  background: var(--blue);
}

.quote-card blockquote {
  margin: 1.75rem 0 0;
}

.quote-card blockquote p {
  margin: 0;
  font-size: var(--step-2);
  line-height: 1.5;
  color: var(--warm);
}

.quote-card figcaption {
  margin-top: auto;
  padding-top: var(--s-3);
  border-top: 1px solid var(--line-dark);
  display: grid;
  gap: 0.2rem;
}

.quote-card__name {
  font-weight: 600;
  color: var(--warm);
  font-size: var(--step-0);
}

.quote-card__role,
.quote-card__service {
  font-size: var(--step--1);
  color: var(--steel);
}

.quote-card__service {
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-size: var(--step--2);
  color: var(--blue);
}

/* 12. Split panels
   ========================================================================== */

.split {
  display: grid;
  gap: clamp(2rem, 4vw, 4.5rem);
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
  }
  .split--wide-copy {
    grid-template-columns: 1.15fr 0.85fr;
  }
  .split--media-first .split__media {
    order: -1;
  }
}

.split__copy p:last-child {
  margin-bottom: 0;
}

/* 13. Checklists and spec lists
   ========================================================================== */

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--s-2);
}

.check-list li {
  position: relative;
  margin: 0;
  padding-left: 1.85rem;
  font-size: var(--step-0);
}

.check-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 10px;
  height: 10px;
  border: 2px solid var(--blue);
  border-radius: 50%;
}

.surface-ink .check-list li,
.surface-graphite .check-list li {
  color: var(--text-on-dark-muted);
}

.tag-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.tag-list li {
  margin: 0;
  padding: 0.45rem 0.85rem;
  border: 1px solid var(--line-light-strong);
  border-radius: 999px;
  font-size: var(--step--1);
  color: var(--text-muted);
  background: var(--white);
}

.spec-panel {
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  background: var(--white);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}

.spec-panel h3 {
  font-size: var(--step-2);
}

.spec-panel > :last-child {
  margin-bottom: 0;
}

.notice {
  display: flex;
  gap: var(--s-3);
  padding: clamp(1.15rem, 2vw, 1.5rem);
  border: 1px solid rgba(45, 140, 255, 0.35);
  border-left: 3px solid var(--blue);
  border-radius: var(--r-sm);
  background: rgba(45, 140, 255, 0.06);
  font-size: var(--step-0);
  color: var(--text);
}

.notice p {
  margin: 0;
}

.surface-ink .notice,
.surface-graphite .notice {
  background: rgba(45, 140, 255, 0.1);
  color: var(--warm);
}

.schedule-motif {
  width: 100%;
  height: auto;
  margin-top: var(--s-4);
}

/* 13b. Coverage map
   ========================================================================== */

.coverage__figure {
  position: relative;
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: var(--ink);
  overflow: hidden;
}

.coverage__svg {
  display: block;
  width: 100%;
  height: auto;
}

.coverage__route {
  stroke-dasharray: 900;
  stroke-dashoffset: 900;
  animation: coverage-draw 2.4s var(--ease) forwards;
}

.coverage__point {
  opacity: 0;
  animation: coverage-pin 0.5s var(--ease) forwards;
  animation-delay: calc(0.6s + var(--i) * 0.16s);
}

@keyframes coverage-draw {
  to {
    stroke-dashoffset: 0;
  }
}

@keyframes coverage-pin {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.coverage__load {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-3);
  padding: 1.15rem clamp(1rem, 2vw, 1.5rem);
  border-top: 1px solid var(--line-dark);
  background: var(--graphite);
}

.coverage__load p {
  margin: 0;
  font-size: var(--step--1);
  color: var(--titanium);
  max-width: 46ch;
}

.coverage__frame {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  display: block;
}

@media (max-width: 640px) {
  .coverage__load {
    flex-direction: column;
    align-items: stretch;
  }
  .coverage__load .btn {
    width: 100%;
  }
}

.area-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--line-light);
  border: 1px solid var(--line-light);
  border-radius: var(--r);
  overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}

.area-grid li {
  margin: 0;
  background: var(--white);
  padding: 1.25rem 1.35rem;
  display: grid;
  gap: 0.3rem;
  transition: background var(--t) var(--ease);
}

.area-grid li:hover {
  background: rgba(45, 140, 255, 0.05);
}

.area-grid__name {
  font-family: var(--font-display);
  font-size: var(--step-1);
  font-weight: 600;
  letter-spacing: -0.01em;
}

.area-grid__meta {
  font-size: var(--step--1);
  color: var(--steel);
}

/* 14. Accordion
   ========================================================================== */

.accordion {
  border-top: 1px solid var(--line-light);
}

.accordion__item {
  border-bottom: 1px solid var(--line-light);
}

.accordion__trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-4);
  padding: 1.35rem 0;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: var(--step-2);
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--ink);
  transition: color var(--t-fast) var(--ease);
}

.accordion__trigger:hover {
  color: var(--blue-deep);
}

.accordion__icon {
  position: relative;
  flex: none;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line-light-strong);
  border-radius: 50%;
  transition: border-color var(--t) var(--ease), transform var(--t) var(--ease);
}

.accordion__icon::before,
.accordion__icon::after {
  content: '';
  position: absolute;
  inset: 50% 8px;
  height: 2px;
  background: currentColor;
  transform: translateY(-1px);
  transition: opacity var(--t-fast) var(--ease), transform var(--t) var(--ease);
}

.accordion__icon::after {
  transform: translateY(-1px) rotate(90deg);
}

.accordion__trigger[aria-expanded='true'] .accordion__icon {
  border-color: var(--blue);
  color: var(--blue);
}

.accordion__trigger[aria-expanded='true'] .accordion__icon::after {
  opacity: 0;
  transform: translateY(-1px) rotate(0deg);
}

.accordion__panel {
  overflow: hidden;
  height: 0;
  opacity: 0;
  transition: height var(--t) var(--ease), opacity var(--t-fast) var(--ease);
}

.accordion__panel[data-open='true'] {
  opacity: 1;
}

.accordion__panel-inner {
  padding: 0 0 1.5rem;
  max-width: 68ch;
  color: var(--text-muted);
}

.accordion__panel-inner p:last-child {
  margin-bottom: 0;
}

/* No script fallback: panels stay open and readable */
.no-js .accordion__panel {
  height: auto;
  opacity: 1;
}

/* 15. Forms
   ========================================================================== */

.form {
  display: grid;
  gap: var(--s-4);
}

.form__grid {
  display: grid;
  gap: var(--s-4);
}

@media (min-width: 760px) {
  .form__grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field__label {
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.field__req {
  color: var(--blue-deep);
  margin-left: 0.25rem;
}

.field__hint {
  font-size: var(--step--1);
  color: var(--steel);
  margin: 0;
}

.field__hint--after {
  order: 9;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 52px;
  padding: 0.85rem 1rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease), box-shadow var(--t-fast) var(--ease);
}

.field textarea {
  min-height: 150px;
  resize: vertical;
  line-height: 1.6;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='9' viewBox='0 0 14 9' fill='none'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%2373818C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(45, 140, 255, 0.22);
}

.field[data-invalid='true'] input,
.field[data-invalid='true'] select,
.field[data-invalid='true'] textarea {
  border-color: #b3261e;
}

.field__error {
  font-size: var(--step--1);
  font-weight: 600;
  color: #b3261e;
}

.field__error:empty {
  display: none;
}

.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

.radio-chip {
  position: relative;
}

.radio-chip input {
  position: absolute;
  opacity: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}

.radio-chip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.6rem 1.2rem;
  border: 1px solid var(--line-light-strong);
  border-radius: var(--r-sm);
  background: var(--white);
  font-size: var(--step-0);
  font-weight: 500;
  transition: border-color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}

.radio-chip input:checked + span {
  border-color: var(--blue);
  background: rgba(45, 140, 255, 0.08);
  font-weight: 600;
}

.radio-chip input:focus-visible + span {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
}

.consent {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
  font-size: var(--step-0);
  color: var(--text-muted);
}

.consent input {
  width: 22px;
  height: 22px;
  margin-top: 0.2rem;
  accent-color: var(--blue);
}

.form__hp {
  position: absolute !important;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status {
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
  font-size: var(--step-0);
  border: 1px solid transparent;
}

.form-status:empty {
  display: none;
}

.form-status[data-state='success'] {
  background: rgba(45, 140, 255, 0.08);
  border-color: rgba(45, 140, 255, 0.4);
  color: var(--ink);
}

.form-status[data-state='error'] {
  background: rgba(179, 38, 30, 0.06);
  border-color: rgba(179, 38, 30, 0.35);
  color: #7d1a15;
}

.form-status[data-state='info'] {
  background: var(--white);
  border-color: var(--line-light-strong);
  color: var(--text-muted);
}

.error-summary {
  border: 1px solid rgba(179, 38, 30, 0.35);
  background: rgba(179, 38, 30, 0.05);
  border-radius: var(--r-sm);
  padding: 1rem 1.15rem;
}

.error-summary:empty {
  display: none;
}

.error-summary h2 {
  font-size: var(--step-1);
  margin-bottom: 0.5rem;
}

.error-summary ul {
  margin: 0;
  padding-left: 1.1rem;
}

.error-summary a {
  color: #7d1a15;
}

/* 16. Contact aside
   ========================================================================== */

.contact-layout {
  display: grid;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: start;
}

@media (min-width: 980px) {
  .contact-layout {
    grid-template-columns: 1.25fr 0.75fr;
  }
}

.info-panel {
  border: 1px solid var(--line-dark);
  border-radius: var(--r);
  background: var(--graphite);
  color: var(--text-on-dark);
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}

.info-panel h3 {
  color: var(--text-on-dark);
  font-size: var(--step-2);
}

.info-panel dl {
  margin: 0;
  display: grid;
  gap: var(--s-3);
}

.info-panel dt {
  font-size: var(--step--2);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: 0.25rem;
}

.info-panel dd {
  margin: 0;
  color: var(--warm);
  font-size: var(--step-0);
}

.info-panel a {
  color: var(--blue);
}

/* 17. Breadcrumbs
   ========================================================================== */

.breadcrumbs {
  font-size: var(--step--1);
  color: var(--steel);
  padding-block: var(--s-4) 0;
}

.breadcrumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
}

.breadcrumbs li {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.breadcrumbs li + li::before {
  content: '/';
  color: var(--line-dark-strong);
}

.breadcrumbs a {
  color: var(--titanium);
  text-decoration: none;
}

.breadcrumbs a:hover {
  color: var(--blue);
}

.breadcrumbs [aria-current='page'] {
  color: var(--warm);
}

/* 18. Page hero for interior pages
   ========================================================================== */

.page-hero {
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.page-hero__inner {
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5.5rem);
  max-width: 940px;
}

.page-hero h1 {
  margin-bottom: var(--s-4);
}

.page-hero .lede {
  margin-bottom: 0;
}

.page-hero__actions {
  margin-top: var(--s-5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

.page-hero .flow-ring {
  right: -80px;
  top: -60px;
  width: clamp(200px, 22vw, 320px);
  opacity: 0.28;
}

/* 19. Final CTA
   ========================================================================== */

.final-cta {
  background: var(--ink);
  color: var(--text-on-dark);
  position: relative;
  overflow: hidden;
}

.final-cta__inner {
  padding-block: clamp(3.5rem, 6vw, 6rem);
  display: grid;
  gap: var(--s-5);
  align-items: center;
}

@media (min-width: 900px) {
  .final-cta__inner {
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--s-7);
  }
}

.final-cta h2 {
  margin-bottom: var(--s-3);
}

.final-cta p {
  max-width: 46ch;
  margin-bottom: 0;
}

.final-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

@media (min-width: 900px) {
  .final-cta__actions {
    justify-content: flex-end;
  }
}

.final-cta .flow-ring {
  left: -70px;
  bottom: -110px;
  width: clamp(220px, 24vw, 340px);
  opacity: 0.22;
}

/* 20. Footer
   ========================================================================== */

.site-footer {
  background: var(--graphite);
  color: var(--text-on-dark-muted);
  border-top: 1px solid var(--line-dark);
  font-size: var(--step-0);
}

.site-footer__inner {
  padding-block: clamp(3rem, 5vw, 4.5rem);
  display: grid;
  gap: clamp(2rem, 3.5vw, 3.5rem);
}

@media (min-width: 860px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  }
}

.site-footer h2 {
  font-family: var(--font-body);
  font-size: var(--step--2);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--s-3);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer li {
  margin-bottom: 0.65rem;
}

.site-footer a {
  color: var(--titanium);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--white);
}

.footer-brand img {
  height: 44px;
  width: auto;
  margin-bottom: var(--s-3);
}

.footer-brand p {
  color: var(--text-on-dark-muted);
  max-width: 34ch;
  font-size: var(--step-0);
}

.footer-descriptor {
  font-size: var(--step--2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
  margin-bottom: var(--s-3);
}

.site-footer__bottom {
  border-top: 1px solid var(--line-dark);
  padding-block: var(--s-4);
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3) var(--s-5);
  align-items: center;
  justify-content: space-between;
  font-size: var(--step--1);
  color: var(--steel);
}

.site-footer__bottom a {
  color: var(--steel);
}

.site-footer__credit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
}

.site-footer__credit a {
  text-decoration: none;
}

.site-footer__credit a[rel] {
  color: var(--titanium);
}

.site-footer__credit a[rel]:hover {
  color: var(--blue);
}

/* 21. Sticky mobile actions
   ========================================================================== */

.sticky-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  display: none;
  gap: 0;
  background: rgba(11, 16, 21, 0.97);
  border-top: 1px solid var(--line-dark-strong);
  backdrop-filter: blur(8px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.sticky-actions a {
  flex: 1 1 50%;
  min-height: 60px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-body);
  font-size: var(--step-0);
  font-weight: 600;
  text-decoration: none;
  color: var(--warm);
}

.sticky-actions a + a {
  background: var(--blue-deep);
  color: var(--white);
}

.sticky-actions a + a:hover {
  background: var(--blue-press);
}

@media (max-width: 899px) {
  .sticky-actions {
    display: flex;
  }
  body {
    padding-bottom: 60px;
  }
  html {
    scroll-padding-top: 84px;
  }
}

/* 22. Small print pages
   ========================================================================== */

.prose h2 {
  font-size: var(--step-3);
  margin-top: var(--s-6);
}

.prose h3 {
  margin-top: var(--s-5);
}

.prose > :first-child {
  margin-top: 0;
}

/* 23. Error page
   ========================================================================== */

.error-page {
  min-height: 62vh;
  display: grid;
  align-content: center;
  padding-block: var(--section);
}

.error-page__code {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.28em;
  color: var(--blue);
  margin-bottom: var(--s-3);
}

/* 24. Motion
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity var(--t-slow) var(--ease), transform var(--t-slow) var(--ease),
    clip-path var(--t-slow) var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}

/* Large media reveals with a wipe rather than a plain fade */
[data-reveal='media'] {
  clip-path: inset(0 0 12% 0);
}

[data-reveal='media'].is-visible {
  clip-path: inset(0 0 0 0);
}

/* Grids stagger by position, which reads as intent rather than decoration */
.grid > [data-reveal]:nth-child(2),
.value-list > li:nth-child(2),
.process > li:nth-child(2) {
  --reveal-delay: 70ms;
}

.grid > [data-reveal]:nth-child(3),
.value-list > li:nth-child(3),
.process > li:nth-child(3) {
  --reveal-delay: 140ms;
}

.grid > [data-reveal]:nth-child(4),
.value-list > li:nth-child(4),
.process > li:nth-child(4) {
  --reveal-delay: 210ms;
}

.grid > [data-reveal]:nth-child(5) {
  --reveal-delay: 280ms;
}

.grid > [data-reveal]:nth-child(6) {
  --reveal-delay: 350ms;
}

.no-js [data-reveal] {
  opacity: 1;
  transform: none;
}

@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;
    scroll-behavior: auto !important;
  }
  [data-reveal] {
    opacity: 1;
    transform: none;
    clip-path: none;
  }
  .flow-ring__spin,
  .hero__media .media img,
  .scroll-progress,
  .marquee__track,
  .coverage__route,
  .coverage__point,
  .statement__media img {
    animation: none;
  }
  .statement__media img {
    transform: none;
  }
  .coverage__route {
    stroke-dashoffset: 0;
  }
  .coverage__point {
    opacity: 1;
  }
  .marquee {
    mask-image: none;
    -webkit-mask-image: none;
  }
  .hero__media .media img {
    transform: none;
  }
  .scroll-progress {
    display: none;
  }
  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
  a.card:hover .media img,
  .split:hover .split__media .media img {
    transform: none;
  }
}

/* 24b. Scroll progress line under the header
   Uses a scroll driven animation where supported, with no JavaScript and no
   fallback needed: without support the line simply does not appear.
   ========================================================================== */

.scroll-progress {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: linear-gradient(90deg, var(--blue), var(--blue-deep));
  transform-origin: 0 50%;
  transform: scaleX(0);
  z-index: 2;
}

@supports (animation-timeline: scroll()) {
  .scroll-progress {
    animation: progress-grow linear both;
    animation-timeline: scroll(root block);
  }
}

@keyframes progress-grow {
  to {
    transform: scaleX(1);
  }
}

/* 24c. Hero image drift
   A small scroll linked movement on the single largest image. No parallax
   anywhere else, and nothing that shifts text.
   ========================================================================== */

@supports (animation-timeline: view()) {
  .hero__media .media img {
    animation: hero-drift linear both;
    animation-timeline: view(block);
    animation-range: entry 0% exit 100%;
  }
}

@keyframes hero-drift {
  from {
    transform: scale(1.06) translateY(-1.2%);
  }
  to {
    transform: scale(1.06) translateY(1.2%);
  }
}

/* 24d. Mobile refinements
   ========================================================================== */

@media (max-width: 640px) {
  .hero__inner {
    padding-block: clamp(2rem, 8vw, 3rem) clamp(2.5rem, 9vw, 3.5rem);
  }

  .hero h1 {
    letter-spacing: -0.03em;
  }

  .hero__media {
    border-radius: var(--r);
    aspect-ratio: 4 / 3;
  }

  .hero .flow-ring {
    right: -70px;
    bottom: -70px;
    width: 190px;
  }

  /* Actions go full width so they are easy to hit one handed */
  .hero__actions .btn,
  .page-hero__actions .btn,
  .final-cta__actions .btn,
  .btn-row > .btn {
    flex: 1 1 100%;
  }

  .section-head {
    margin-bottom: 2.25rem;
  }

  .card {
    padding: 1.4rem;
  }

  .accordion__trigger {
    font-size: var(--step-1);
    padding-block: 1.15rem;
  }

  .marquee__item {
    letter-spacing: 0.1em;
  }

  .value-list li {
    padding-block: 1.5rem;
  }

  .split {
    gap: 1.75rem;
  }

  .spec-panel {
    padding: 1.35rem;
  }

  /* Keep the footer readable rather than four cramped columns */
  .site-footer__inner {
    gap: 2rem;
  }
}

/* Larger tap targets on touch devices without changing the desktop rhythm */
@media (hover: none) {
  .nav__link,
  .site-footer a,
  .breadcrumbs a {
    padding-block: 0.35rem;
  }

  .accordion__trigger {
    min-height: 56px;
  }
}

/* 25. Print
   ========================================================================== */

@media print {
  .site-header,
  .utility-bar,
  .sticky-actions,
  .final-cta,
  .mobile-menu {
    display: none !important;
  }
  body {
    background: #fff;
    color: #000;
    padding-bottom: 0;
  }
  .surface-ink,
  .surface-graphite,
  .page-hero,
  .hero {
    background: #fff !important;
    color: #000 !important;
  }
}
