/* ==========================================================================
   HAZCO — site stylesheet
   --------------------------------------------------------------------------
   Editorial and photographic. Warm paper and deep ink as the two grounds, the
   logo's blue for action and its gold for marks, square corners, hairline
   rules instead of boxes, and large light type set tight.

   Motion is added by site.js and keyed to data- attributes. Every hidden
   "before" state is scoped to html.js, so with scripting off the page is
   complete and static; prefers-reduced-motion forces every end state.

   Contents
     1  Fonts and tokens          9  Capability index
     2  Base                      10 Sector panels
     3  Layout and tones          11 Stage sequence
     4  Type                      12 Home sections
     5  Buttons and links         13 Inner page blocks
     6  Header and mega menu      14 Article
     7  Mobile menu and footer    15 Contact and forms
     8  Heroes                    16 Motion, cursor, utilities
   ========================================================================== */

/* 1  Fonts and tokens ------------------------------------------------------ */

@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/hanken-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Source Serif 4';
  font-style: italic;
  font-weight: 300 500;
  font-display: swap;
  src: url('../fonts/source-serif-4-italic-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122, U+2212;
}

:root {
  /* Ground */
  --ink-950: #060b13;
  --ink-900: #0b1522;
  --ink-800: #121f30;
  --ink-700: #1c2b3e;
  --paper: #f6f3ee;
  --sand: #ece6dc;
  --white: #ffffff;

  /* Brand — from the logo: the drop's blue and the wave's gold */
  --blue-700: #174f88;
  --blue-600: #1f5e9e;
  --blue-500: #2e74b5;
  --blue-300: #93bde6;
  --gold-500: #d58a1e;
  --gold-400: #e3a345;

  /* Text on light: ink 16.8:1, soft 11:1, muted 6.1:1 on paper */
  --text: #0b1522;
  --text-soft: #2c3542;
  --text-muted: #575d66;

  --danger: #a4231b;
  --danger-bg: #fbecea;

  --font-sans: 'Hanken Grotesk', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-serif: 'Source Serif 4', Georgia, 'Times New Roman', serif;

  --container: 90rem;
  --gutter: clamp(1.25rem, 4.2vw, 4.5rem);
  --utility-h: 2.5rem;
  --masthead-h: 5.25rem;
  --header-h: calc(var(--utility-h) + var(--masthead-h));

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --radius: 2px;
}

/* 2  Base ------------------------------------------------------------------ */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: 6.5rem;
}
@media (prefers-reduced-motion: no-preference) {
  html:not(.has-smooth) { scroll-behavior: smooth; }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  font-weight: 400;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}

img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
/* Zero specificity, so a component's own padding always wins over the reset. */
:where(ul, ol)[role='list'] { list-style: none; padding: 0; }
address { font-style: normal; }
::selection { background: var(--gold-400); color: var(--ink-950); }

:focus-visible {
  outline: 2px solid var(--focus, var(--blue-500));
  outline-offset: 3px;
}
main:focus { outline: none; }

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

.skip-link {
  position: fixed;
  top: 0.75rem; left: 0.75rem;
  z-index: 100;
  padding: 0.75rem 1.25rem;
  background: var(--white);
  color: var(--ink-900);
  font-weight: 600;
  transform: translateY(-200%);
  transition: transform 0.2s;
}
.skip-link:focus { transform: none; }

/* 3  Layout and tones ------------------------------------------------------ */

.container {
  width: 100%;
  max-width: calc(var(--container) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(62rem + 2 * var(--gutter)); }

.section { position: relative; background: var(--bg); color: var(--fg); }
.space-lg { padding-block: clamp(5rem, 3rem + 7vw, 10rem); }
.space-md { padding-block: clamp(4rem, 2.5rem + 5vw, 7.5rem); }
.space-sm { padding-block: clamp(2.5rem, 2rem + 3vw, 5rem); }
.space-none { padding-block: 0; }

/* Each tone sets the palette every component reads from. */
.tone-paper,
.tone-white,
.tone-sand {
  --fg: var(--text);
  --fg-soft: var(--text-soft);
  --fg-muted: var(--text-muted);
  --rule: rgba(11, 21, 34, 0.13);
  --rule-strong: rgba(11, 21, 34, 0.32);
  --accent: var(--blue-600);
  --mark: var(--blue-600);
  --focus: var(--blue-500);
}
.tone-paper { --bg: var(--paper); }
.tone-white { --bg: var(--white); }
.tone-sand { --bg: var(--sand); --fg-muted: #4f555d; }
.tone-ink {
  --bg: var(--ink-900);
  --fg: #f3f1ec;
  --fg-soft: #d5d9de;
  --fg-muted: #a9b1bc;
  --rule: rgba(255, 255, 255, 0.14);
  --rule-strong: rgba(255, 255, 255, 0.4);
  --accent: var(--blue-300);
  --mark: var(--gold-400);
  --focus: var(--blue-300);
}

.media { position: relative; overflow: hidden; background: var(--ink-800); border-radius: var(--radius); }
.media img { width: 100%; height: 100%; object-fit: cover; }
.media--tall { aspect-ratio: 4 / 5; }

/* 4  Type ------------------------------------------------------------------ */

.display {
  font-weight: 380;
  letter-spacing: -0.035em;
  line-height: 1.04;
  text-wrap: balance;
  color: var(--fg);
}
.display strong, .page-hero__title strong, .plain-hero__title strong, .hero__title strong { font-weight: 620; }
.display--xl { font-size: clamp(2.6rem, 1.3rem + 4.4vw, 6rem); }
.display--lg { font-size: clamp(2.2rem, 1.3rem + 3vw, 4.4rem); }
.display--md { font-size: clamp(1.85rem, 1.25rem + 1.9vw, 3.1rem); }

.label {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent, var(--blue-600));
}
.label::before {
  content: '';
  width: 1.75rem;
  height: 1px;
  background: currentColor;
  flex: none;
}
.label--light { color: rgba(255, 255, 255, 0.82); }

.lead {
  font-size: clamp(1.125rem, 1rem + 0.42vw, 1.375rem);
  line-height: 1.55;
  color: var(--fg-soft, var(--text-soft));
  text-wrap: pretty;
}

.prose { color: var(--fg-soft); max-width: 40rem; }
.prose p { text-wrap: pretty; }
.prose p + p, .prose p + ul, .prose ul + p { margin-top: 1.25em; }
:is(.prose, .spec__rows, .contact-card, .outcome, .form__note, .check, .form-done) a:not(.btn, .link-arrow) {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

.ticks { display: grid; gap: 0.75rem; margin-top: 1.5rem; }
.ticks li { display: flex; gap: 0.85rem; align-items: flex-start; }
.ticks .icon { flex: none; margin-top: 0.3rem; color: var(--accent); }

/* 5  Buttons and links ----------------------------------------------------- */

.btn {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.6rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.2;
  white-space: nowrap;
  transition: color 0.45s var(--ease-out), border-color 0.45s var(--ease-out), opacity 0.2s;
}
/* A fill that sweeps in from the left on hover. */
.btn::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--btn-sweep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.6s var(--ease-out);
}
.btn:hover::before { transform: scaleX(1); transform-origin: left; }
.btn .icon { transition: transform 0.45s var(--ease-out); }
.btn:hover .icon { transform: translateX(4px); }
.btn--lg { padding: 1.15rem 1.9rem; font-size: 1rem; }

.btn--primary { background: var(--blue-600); color: var(--white); --btn-sweep: var(--ink-900); }
.btn--light { background: var(--white); color: var(--ink-900); --btn-sweep: var(--gold-400); }
.btn--outline { border-color: var(--rule-strong, rgba(11, 21, 34, 0.32)); color: var(--fg, var(--text)); --btn-sweep: var(--fg, var(--text)); }
.btn--outline:hover { color: var(--bg, var(--paper)); border-color: var(--fg, var(--text)); }
.btn--ghost-light { border-color: rgba(255, 255, 255, 0.42); color: var(--white); --btn-sweep: var(--white); }
.btn--ghost-light:hover { color: var(--ink-900); border-color: var(--white); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.25rem;
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--fg, var(--text));
  background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat;
  transition: background-size 0.5s var(--ease-out), color 0.3s;
}
.link-arrow:hover { background-size: 0 1px; background-position: 100% 100%; color: var(--accent); }
.link-arrow .icon { width: 1rem; height: 1rem; transition: transform 0.45s var(--ease-out); }
.link-arrow:hover .icon { transform: translateX(4px); }

.round-btn {
  display: inline-grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border: 1px solid var(--rule-strong, rgba(255, 255, 255, 0.4));
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.round-btn:hover { background: var(--fg, var(--white)); color: var(--bg, var(--ink-900)); border-color: transparent; }
.round-btn--light { border-color: rgba(255, 255, 255, 0.4); color: var(--white); }
.round-btn--light:hover { background: var(--white); color: var(--ink-900); }
.round-btn__play { display: none; }
[aria-pressed='true'] .round-btn__pause { display: none; }
[aria-pressed='true'] .round-btn__play { display: block; }

/* 6  Header and mega menu -------------------------------------------------- */

.site-header {
  --hdr-fg: var(--ink-900);
  --hdr-muted: var(--text-muted);
  --hdr-rule: rgba(11, 21, 34, 0.12);
  position: absolute;
  inset: 0 0 auto;
  z-index: 50;
  color: var(--hdr-fg);
  transition: transform 0.6s var(--ease-out), color 0.3s;
}
.js .site-header { position: fixed; }
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--paper);
  border-bottom: 1px solid var(--hdr-rule);
  opacity: 0;
  transition: opacity 0.4s;
}
.site-header.is-solid::before { opacity: 1; }
.site-header[data-tone='dark']:not(.is-solid) {
  --hdr-fg: var(--white);
  --hdr-muted: rgba(255, 255, 255, 0.72);
  --hdr-rule: rgba(255, 255, 255, 0.16);
  --focus: var(--blue-300);
}
.site-header.is-condensed { transform: translateY(calc(-1 * var(--utility-h))); }
.site-header.is-hidden { transform: translateY(-100%); }

.utility { height: var(--utility-h); border-bottom: 1px solid var(--hdr-rule); font-size: 0.8125rem; color: var(--hdr-muted); }
.utility__inner { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 2rem; }
.utility__claims { display: flex; gap: 1.75rem; }
.utility__claims span + span::before { content: ''; display: inline-block; width: 1px; height: 0.8em; margin-right: 1.75rem; background: var(--hdr-rule); vertical-align: -0.05em; }
.utility__links { display: flex; align-items: center; gap: 1.75rem; }
.utility__links a { display: inline-flex; align-items: center; gap: 0.45rem; transition: color 0.2s; }
.utility__links a:hover { color: var(--hdr-fg); }
.utility__links .icon { width: 0.95rem; height: 0.95rem; }

.masthead__inner { display: flex; align-items: center; gap: 2rem; height: var(--masthead-h); }

.brand { position: relative; display: block; flex: none; width: 4.4rem; height: 3.35rem; }
.brand__logo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: opacity 0.3s; }
.brand__logo--on-dark { opacity: 0; }
.site-header[data-tone='dark']:not(.is-solid) .brand__logo--on-dark { opacity: 1; }
.site-header[data-tone='dark']:not(.is-solid) .brand__logo--on-light { opacity: 0; }

.primary { margin-left: auto; }
.primary__list { display: flex; align-items: center; }
.primary__item { display: flex; align-items: center; height: var(--masthead-h); }
.primary__link {
  position: relative;
  padding: 0.5rem 0.2rem 0.5rem 0.95rem;
  font-size: 1.0625rem;
  font-weight: 550;
}
.primary__link::after {
  content: '';
  position: absolute;
  left: 0.95rem;
  right: 0.2rem;
  bottom: 0.2rem;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-out);
}
.primary__item:hover .primary__link::after,
.primary__item.is-open .primary__link::after,
.primary__link.is-current::after { transform: scaleX(1); transform-origin: left; }
.primary__link--plain { padding-right: 0.95rem; }
.primary__link--plain::after { right: 0.95rem; }
.primary__toggle { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; margin-right: 0.4rem; color: var(--hdr-muted); border-radius: var(--radius); }
.primary__toggle .icon { transition: transform 0.4s var(--ease-out); }
.primary__item.is-open .primary__toggle .icon { transform: rotate(180deg); }
.primary__item--cta { margin-left: 1.25rem; }
.primary__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 1.25rem;
  border: 1px solid currentColor;
  border-radius: var(--radius);
  font-size: 1.0625rem;
  font-weight: 600;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.primary__cta .icon { width: 1rem; height: 1rem; transition: transform 0.4s var(--ease-out); }
.primary__cta:hover { background: var(--hdr-fg); color: var(--paper); border-color: var(--hdr-fg); }
.site-header[data-tone='dark']:not(.is-solid) .primary__cta:hover { color: var(--ink-900); }
.primary__cta:hover .icon { transform: translateX(3px); }

.mega {
  --fg: var(--text);
  --fg-muted: var(--text-muted);
  --rule: rgba(11, 21, 34, 0.12);
  --accent: var(--blue-600);
  --focus: var(--blue-500);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  color: var(--text);
  background: var(--paper);
  border-top: 1px solid var(--rule);
  box-shadow: 0 40px 60px -40px rgba(6, 11, 19, 0.45);
  visibility: hidden;
  opacity: 0;
  transform: translateY(-0.75rem);
  transition: opacity 0.35s var(--ease-out), transform 0.5s var(--ease-out), visibility 0s linear 0.5s;
}
.no-js .primary__item:hover .mega,
.no-js .primary__item:focus-within .mega,
.js .primary__item.is-open .mega {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition-delay: 0s;
}
.mega__inner { display: grid; grid-template-columns: minmax(12rem, 0.75fr) 3fr minmax(13rem, 0.8fr); gap: clamp(2rem, 3.5vw, 4rem); padding-block: 2.75rem 3rem; }
.mega__lead { font-size: 1.125rem; line-height: 1.5; color: var(--text-soft); margin-bottom: 1.75rem; }
.mega__groups { display: grid; gap: 2.5rem; grid-template-columns: repeat(var(--cols, 2), 1fr); }
.mega__groups--1 { --cols: 1; }
.mega__groups--3 { --cols: 3; }
.mega__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--text-muted); padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule); }
.mega__link { display: grid; gap: 0.1rem; padding: 0.75rem 0; border-bottom: 1px solid var(--rule); }
.mega__label { font-weight: 600; transition: color 0.2s, transform 0.4s var(--ease-out); }
.mega__blurb { font-size: 0.875rem; color: var(--text-muted); }
.mega__link:hover .mega__label, .mega__link[aria-current] .mega__label { color: var(--blue-600); transform: translateX(4px); }
.mega__feature { position: relative; display: block; overflow: hidden; border-radius: var(--radius); background: var(--ink-800); aspect-ratio: 4 / 5; max-height: 22rem; }
.mega__feature img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.mega__feature:hover img { transform: scale(1.05); }
.mega__caption {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3rem 1.25rem 1.1rem;
  color: var(--white);
  font-weight: 600;
  background: linear-gradient(transparent, rgba(6, 11, 19, 0.82));
}
.mega__caption .icon { width: 1rem; height: 1rem; }

.menu-toggle, .menu-fallback { display: none; margin-left: auto; align-items: center; gap: 0.6rem; font-weight: 600; font-size: 0.9375rem; padding: 0.6rem 0; }

@media (max-width: 75rem) {
  .primary { display: none; }
  .js .menu-toggle { display: inline-flex; }
  .no-js .menu-fallback { display: inline-flex; }
}
@media (max-width: 64rem) {
  :root { --utility-h: 0rem; --masthead-h: 4.5rem; }
  .utility { display: none; }
  .brand { width: 3.75rem; height: 2.85rem; }
}

/* 7  Mobile menu and footer ------------------------------------------------ */

.drawer {
  --focus: var(--blue-300);
  position: fixed;
  inset: 0;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0 var(--gutter) 2rem;
  border: 0;
  background: var(--ink-900);
  color: var(--white);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer::backdrop { background: transparent; }
.drawer[open] { display: flex; flex-direction: column; animation: drawer-in 0.6s var(--ease-out); }
@keyframes drawer-in { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
.drawer__bar { display: flex; align-items: center; justify-content: space-between; height: 4.5rem; flex: none; }
.drawer__logo { width: 3.75rem; height: auto; }
.drawer__close { display: grid; place-items: center; width: 2.75rem; height: 2.75rem; margin-right: -0.5rem; }
.drawer__nav { flex: 1; padding-top: 1.5rem; }
.drawer__nav > ul > li { border-bottom: 1px solid rgba(255, 255, 255, 0.14); }
.drawer__group summary, .drawer__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.15rem 0;
  font-size: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  list-style: none;
  cursor: pointer;
}
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group summary .icon { transition: transform 0.4s var(--ease-out); }
.drawer__group[open] summary .icon { transform: rotate(45deg); }
.drawer__group ul { padding-bottom: 1.25rem; display: grid; gap: 0.15rem; }
.drawer__group ul a { display: block; padding: 0.45rem 0; color: rgba(255, 255, 255, 0.75); }
.drawer__group ul a:hover, .drawer__group ul a[aria-current] { color: var(--white); }
.drawer__foot { display: grid; gap: 0.75rem; padding-top: 2rem; color: rgba(255, 255, 255, 0.8); }
.drawer__foot a { display: inline-flex; gap: 0.75rem; align-items: center; }
html.has-modal { overflow: hidden; }

.site-footer {
  --focus: var(--blue-300);
  background: var(--ink-950);
  color: #aeb5bf;
  padding-top: clamp(4.5rem, 3rem + 5vw, 8rem);
  font-size: 0.9375rem;
}
.footer__top { display: grid; grid-template-columns: minmax(16rem, 1fr) 2.4fr; gap: clamp(3rem, 6vw, 7rem); padding-bottom: 4rem; }
.footer__logo { width: 11rem; height: auto; }
.footer__nav { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.footer__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.5); margin-bottom: 1.25rem; }
.footer__col ul { display: grid; gap: 0.7rem; }
.site-footer a { transition: color 0.2s; }
.site-footer a:hover { color: var(--white); }
.footer__office { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; padding-block: 2.5rem; border-top: 1px solid rgba(255, 255, 255, 0.1); color: #d0d5dc; }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 1.5rem 3rem; flex-wrap: wrap; padding-block: 1.75rem 2.25rem; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: 0.8125rem; }
.footer__legal { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; }
.footer__top-link { display: inline-flex; align-items: center; gap: 0.4rem; }
.footer__top-link .icon { width: 0.9rem; height: 0.9rem; }

@media (max-width: 64rem) {
  .footer__top { grid-template-columns: 1fr; }
  .footer__nav { grid-template-columns: repeat(2, 1fr); row-gap: 2.5rem; }
  .footer__office { grid-template-columns: 1fr; }
}

/* 8  Heroes ---------------------------------------------------------------- */

.hero {
  --focus: var(--blue-300);
  position: relative;
  display: grid;
  grid-template-rows: 1fr auto;
  min-height: max(42rem, 100svh);
  color: var(--white);
  background: var(--ink-950);
  overflow: hidden;
}
/* The poster is the film's first frame. Two copies of the film sit on it, invisible
   until playing; at the end of each pass the copy that restarts is raised and fades
   in over the one finishing. This transition's length is the cross-fade length the
   script uses. */
.hero__media { position: absolute; inset: 0; isolation: isolate; }
.hero__poster, .hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.hero__video { opacity: 0; transition: opacity 2.4s var(--ease-in-out); }
.hero__video.is-top { z-index: 1; }
.hero__video.is-shown { opacity: 1; }
.hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 19, 0.62) 0%, rgba(6, 11, 19, 0) 26%),
    linear-gradient(0deg, rgba(6, 11, 19, 0.82) 0%, rgba(6, 11, 19, 0) 48%),
    linear-gradient(90deg, rgba(6, 11, 19, 0.7) 0%, rgba(6, 11, 19, 0.28) 55%, rgba(6, 11, 19, 0.05) 100%);
}
.hero__inner { position: relative; align-self: end; padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.hero__eyebrow { margin-bottom: 2rem; }
.hero__title {
  max-width: 11em;
  font-size: clamp(3.1rem, 1.2rem + 5.4vw, 7.6rem);
  font-weight: 300;
  line-height: 0.94;
  letter-spacing: -0.05em;
}
.hero__sub { max-width: 37rem; margin-top: 2rem; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.hero__foot { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.4rem 1.75rem; border-top: 1px solid rgba(255, 255, 255, 0.18); font-size: 0.8125rem; color: rgba(255, 255, 255, 0.78); }
.hero__facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2.25rem; }
.hero__facts li { display: flex; align-items: center; gap: 0.7rem; }
.hero__facts li::before { content: ''; width: 5px; height: 5px; background: var(--gold-400); flex: none; }
.hero__controls { display: flex; align-items: center; gap: 1.25rem; }
.hero__controls[hidden] { display: none; }
.hero__scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 7rem;
  display: grid;
  place-items: center;
  width: 3.25rem;
  height: 3.25rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  transition: background 0.3s, color 0.3s;
}
.hero__scroll:hover { background: var(--white); color: var(--ink-900); }
.hero__scroll .icon { animation: nudge 2.4s var(--ease-in-out) infinite; }
@keyframes nudge { 0%, 100% { transform: translateY(-3px); } 50% { transform: translateY(3px); } }
@media (max-width: 64rem) {
  .hero__scroll { display: none; }
  .hero__foot { flex-direction: column; align-items: flex-start; }
}
/* On narrow screens the copy spans the full width, so the side-to-side shade
   cannot help; darken from the middle down instead. */
@media (max-width: 48rem) {
  .hero__scrim {
    background:
      linear-gradient(180deg, rgba(6, 11, 19, 0.6) 0%, rgba(6, 11, 19, 0.25) 30%, rgba(6, 11, 19, 0.62) 55%, rgba(6, 11, 19, 0.9) 100%);
  }
}

.page-hero {
  --focus: var(--blue-300);
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(34rem, 82svh, 56rem);
  color: var(--white);
  background: var(--ink-950);
  overflow: hidden;
}
.page-hero__media { position: absolute; inset: -9% 0; }
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.page-hero__scrim {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 11, 19, 0.6) 0%, rgba(6, 11, 19, 0) 30%),
    linear-gradient(0deg, rgba(6, 11, 19, 0.86) 0%, rgba(6, 11, 19, 0.2) 55%),
    linear-gradient(90deg, rgba(6, 11, 19, 0.55) 0%, rgba(6, 11, 19, 0) 70%);
}
.page-hero__inner { position: relative; padding-top: calc(var(--header-h) + 4rem); padding-bottom: clamp(3rem, 6vw, 6rem); }
.page-hero__title { max-width: 20ch; font-size: clamp(2.9rem, 1.4rem + 4.9vw, 7rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.page-hero__sub { max-width: 40rem; margin-top: 1.75rem; font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.3rem); line-height: 1.55; color: rgba(255, 255, 255, 0.84); }
.page-hero__meta { display: flex; flex-wrap: wrap; gap: 1.5rem 3.5rem; margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.page-hero__meta dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }
.page-hero__meta dd { font-size: 1.125rem; font-weight: 500; margin-top: 0.25rem; }

.crumbs { margin-bottom: 2.25rem; font-size: 0.8125rem; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 0.25rem 0; }
.crumbs li { display: flex; align-items: center; }
.crumbs li + li::before { content: '/'; margin-inline: 0.7rem; opacity: 0.45; }
.crumbs a { opacity: 0.72; transition: opacity 0.2s; }
.crumbs a:hover { opacity: 1; }

.plain-hero {
  --fg: var(--text);
  --accent: var(--blue-600);
  background: var(--paper);
  padding-top: calc(var(--header-h) + clamp(3rem, 6vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 6.5rem);
  border-bottom: 1px solid rgba(11, 21, 34, 0.12);
}
.plain-hero .crumbs { color: var(--text-muted); }
.plain-hero__grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 2rem clamp(3rem, 7vw, 8rem); align-items: end; }
.plain-hero__title { font-size: clamp(2.9rem, 1.4rem + 4.9vw, 7rem); font-weight: 300; line-height: 0.98; letter-spacing: -0.045em; text-wrap: balance; }
.plain-hero__side .lead { color: var(--text-soft); }
.years { display: flex; align-items: center; gap: 1.25rem; margin-top: 2rem; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 4.25rem); font-weight: 200; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; color: var(--blue-600); }
.years__rule { flex: 1; height: 1px; background: currentColor; opacity: 0.5; }
@media (max-width: 64rem) { .plain-hero__grid { grid-template-columns: 1fr; } }

/* 9  Capability index ------------------------------------------------------ */

.cap-index { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(3rem, 6vw, 7rem); align-items: start; }
.cap-index__list { border-bottom: 1px solid var(--rule); }
.cap-index__row { border-top: 1px solid var(--rule); }
.cap-index__link { display: grid; grid-template-columns: 3.25rem 1fr 2.5rem; gap: 1rem; align-items: start; padding-block: 1.6rem; }
.cap-index__num { padding-top: 0.75rem; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.cap-index__title {
  display: block;
  font-size: clamp(1.5rem, 1.05rem + 1.45vw, 2.6rem);
  font-weight: 380;
  line-height: 1.12;
  letter-spacing: -0.03em;
  transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out);
}
.cap-index__text {
  display: grid;
  grid-template-rows: 0fr;
  max-width: 34rem;
  color: var(--fg-muted);
  transition: grid-template-rows 0.6s var(--ease-out), opacity 0.5s, margin 0.6s var(--ease-out);
  opacity: 0;
}
.cap-index__text > span { min-height: 0; overflow: hidden; }
.cap-index__body { display: block; }
.cap-index__arrow { justify-self: end; padding-top: 0.6rem; opacity: 0; transform: translate(-6px, 6px); transition: opacity 0.4s, transform 0.5s var(--ease-out); color: var(--accent); }
.cap-index__thumb { display: none; }

@media (min-width: 64rem) {
  .js .cap-index__row:not(.is-active) .cap-index__title { opacity: 0.38; }
  .cap-index__row.is-active .cap-index__title { transform: translateX(0.35rem); }
  .cap-index__row.is-active .cap-index__arrow { opacity: 1; transform: none; }
  .cap-index__row.is-active .cap-index__text, .no-js .cap-index__text { grid-template-rows: 1fr; opacity: 1; margin-top: 0.75rem; }
}
.cap-index__stage { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.cap-index__frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border-radius: var(--radius); background: var(--ink-800); }
.cap-index__slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.08); transition: opacity 0.9s var(--ease-out), transform 1.4s var(--ease-out); }
.cap-index__slide.is-active { opacity: 1; transform: none; }
.cap-index__slide img { width: 100%; height: 100%; object-fit: cover; }
.cap-index__counter { position: absolute; left: 1.25rem; bottom: 1.1rem; padding: 0.35rem 0.65rem; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--white); background: rgba(6, 11, 19, 0.55); }

@media (max-width: 64rem) {
  .cap-index { grid-template-columns: 1fr; }
  .cap-index__stage { display: none; }
  .cap-index__text { grid-template-rows: 1fr; opacity: 1; margin-top: 0.6rem; }
  .cap-index__arrow { opacity: 1; transform: none; }
  .cap-index__thumb { display: block; aspect-ratio: 16 / 9; margin: 0 0 1.75rem 4.25rem; }
  .cap-index__link { grid-template-columns: 2.5rem 1fr 1.5rem; }
}
@media (max-width: 40rem) { .cap-index__thumb { margin-left: 0; } }

/* 10 Sector panels --------------------------------------------------------- */

.panels { display: flex; gap: 0.75rem; height: clamp(32rem, 72vh, 46rem); }
.panels__item { flex: 1 1 0; min-width: 0; transition: flex-grow 0.9s var(--ease-out); }
.panels__item.is-active { flex-grow: 2.4; }
.no-js .panels__item:hover, .no-js .panels__item:focus-within { flex-grow: 2.4; }
.panels__link { position: relative; display: block; height: 100%; overflow: hidden; border-radius: var(--radius); color: var(--white); background: var(--ink-800); }
.panels__media { position: absolute; inset: 0; }
.panels__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 1.4s var(--ease-out); }
.panels__item.is-active .panels__media img { transform: scale(1); }
.panels__shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(6, 11, 19, 0.88) 0%, rgba(6, 11, 19, 0.15) 60%, rgba(6, 11, 19, 0.35) 100%); }
.panels__num { position: absolute; top: 1.5rem; left: 1.5rem; font-size: 0.8125rem; font-weight: 600; color: var(--gold-400); }
.panels__content { position: absolute; inset: auto 0 0; display: grid; gap: 0.75rem; padding: clamp(1.5rem, 2.5vw, 2.5rem); }
.panels__title { font-size: clamp(1.75rem, 1.15rem + 1.6vw, 3rem); font-weight: 380; letter-spacing: -0.035em; line-height: 1.05; }
.panels__tag { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.72); }
.panels__text, .panels__more { max-width: 28rem; opacity: 0; transform: translateY(0.75rem); transition: opacity 0.5s, transform 0.7s var(--ease-out); }
.panels__text { color: rgba(255, 255, 255, 0.84); }
.panels__more { display: inline-flex; gap: 0.6rem; align-items: center; font-weight: 600; }
.panels__more .icon { width: 1rem; height: 1rem; }
.panels__item.is-active .panels__text, .panels__item.is-active .panels__more { opacity: 1; transform: none; transition-delay: 0.2s; }
.no-js .panels__text, .no-js .panels__more { opacity: 1; transform: none; }

@media (max-width: 64rem) {
  .panels { flex-direction: column; height: auto; }
  .panels__item, .panels__item.is-active { flex: none; height: 26rem; }
  .panels__text, .panels__more { opacity: 1; transform: none; }
  .panels__media img { transform: none; }
  .panels__shade { background: linear-gradient(0deg, rgba(6, 11, 19, 0.94) 0%, rgba(6, 11, 19, 0.55) 62%, rgba(6, 11, 19, 0.3) 100%); }
}

/* 11 Stage sequence -------------------------------------------------------- */

.hseq { padding-block: clamp(5rem, 3rem + 7vw, 9rem); }
.hseq__head { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem clamp(3rem, 6vw, 7rem); align-items: end; margin-bottom: clamp(2.5rem, 4vw, 4rem); }
.hseq__side .lead { max-width: 30rem; }
@media (max-width: 64rem) { .hseq__head { grid-template-columns: 1fr; } }
.hseq__progress { height: 1px; margin-top: 2rem; background: var(--rule); overflow: hidden; }
.hseq__progress span { display: block; height: 100%; background: var(--fg); transform: scaleX(0); transform-origin: left; }
.hseq__viewport { overflow: hidden; }
.hseq__track { display: grid; grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr)); gap: 2.5rem 1.5rem; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.hseq__media { aspect-ratio: 4 / 3; }
.hseq__body { padding-top: 1.6rem; }
.hseq__num { display: flex; align-items: center; gap: 0.6rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.hseq__num span { color: var(--accent); }
.hseq__title { margin-top: 0.75rem; font-size: clamp(1.6rem, 1.2rem + 1.1vw, 2.4rem); font-weight: 400; letter-spacing: -0.03em; }
.hseq__text { margin-top: 0.75rem; color: var(--fg-muted); max-width: 30rem; }
.hseq__points { margin-top: 1.25rem; border-top: 1px solid var(--rule); }
.hseq__points li { padding: 0.65rem 0; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; color: var(--fg-soft); }

/* Pinned mode, switched on by site.js on wide screens with motion allowed. */
.hseq.is-pinned { padding-block: 0; }
.hseq.is-pinned .hseq__pin { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; justify-content: center; padding-top: var(--masthead-h); overflow: hidden; }
.hseq.is-pinned .hseq__head { margin-bottom: clamp(1.75rem, 3vh, 3rem); }
.hseq.is-pinned .hseq__track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 3rem);
  max-width: none;
  margin: 0;
  padding-left: max(var(--gutter), calc((100vw - var(--container)) / 2));
  padding-right: var(--gutter);
  will-change: transform;
}
.hseq.is-pinned .hseq__card { flex: 0 0 clamp(22rem, 31vw, 31rem); }
.hseq.is-pinned .hseq__media { aspect-ratio: 16 / 9; }
.hseq.is-pinned .hseq__body { padding-top: 1.25rem; }
/* The supporting bullets only when the screen is tall enough to hold them. */
@media (max-height: 62rem) {
  .hseq.is-pinned .hseq__points { display: none; }
}

/* 12 Home sections --------------------------------------------------------- */

.statement { max-width: 68rem; }
.statement__text { font-size: clamp(1.75rem, 1.05rem + 2.3vw, 3.4rem); font-weight: 380; line-height: 1.2; letter-spacing: -0.028em; text-wrap: pretty; color: var(--fg); }
.statement__foot { display: flex; flex-wrap: wrap; gap: 1rem 2.5rem; margin-top: 3rem; }
.statement-section { padding-bottom: 0; }

.figures { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.figures__item { display: flex; flex-direction: column; padding-top: 1.5rem; border-top: 1px solid var(--rule-strong); }
.figures__value { order: -1; font-size: clamp(3rem, 1.8rem + 3.6vw, 5.75rem); font-weight: 250; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; color: var(--fg); }
.figures__suffix { color: var(--mark); }
.figures__label { margin-top: 1.25rem; font-weight: 600; }
.figures__note { margin-top: 0.25rem; font-size: 0.875rem; color: var(--fg-muted); }
@media (max-width: 64rem) { .figures { grid-template-columns: repeat(2, 1fr); row-gap: 3rem; } }

.section-head { display: grid; gap: 2rem; margin-bottom: clamp(3rem, 5vw, 5rem); }
.section-head--action { grid-template-columns: 1fr auto; align-items: end; }
.section-head--center { justify-items: center; text-align: center; }
.section-head__text { max-width: 56rem; }
.section-head__intro { margin-top: 1.75rem; max-width: 42rem; }
@media (max-width: 48rem) { .section-head--action { grid-template-columns: 1fr; } }

.trust { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.trust__head { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.creds { border-bottom: 1px solid var(--rule); }
.creds__item { display: grid; grid-template-columns: 8rem 1fr; gap: 0.2rem 1.5rem; padding-block: 1.35rem; border-top: 1px solid var(--rule); }
.creds__code { grid-row: span 2; font-weight: 650; color: var(--accent); }
.creds__title { font-weight: 600; }
.creds__text { color: var(--fg-muted); font-size: 0.9375rem; }
@media (max-width: 64rem) {
  .trust { grid-template-columns: 1fr; gap: 2.5rem; }
  .trust__head { position: static; }
  .creds__item { grid-template-columns: 1fr; }
  .creds__code { grid-row: auto; }
}

/* Client testimonials: a headline column beside a row of quote cards that slides a
   card at a time. Each card lifts and draws its gold rule across on hover. */
.testimonials { display: grid; grid-template-columns: minmax(15rem, 0.75fr) minmax(0, 2fr); gap: clamp(2.5rem, 5vw, 5.5rem); align-items: center; }
.testimonials__figure { display: grid; gap: 0.6rem; margin-top: clamp(2rem, 1.5rem + 2vw, 3rem); }
.testimonials__num { font-size: clamp(4.5rem, 3rem + 5vw, 7.5rem); font-weight: 250; line-height: 0.85; letter-spacing: -0.055em; color: var(--white); font-variant-numeric: tabular-nums; }
.testimonials__num span { color: var(--gold-400); font-weight: 300; }
.testimonials__caption { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.testimonials__controls { display: flex; align-items: center; gap: 0.75rem; margin-top: 2.5rem; }
.testimonials__controls[hidden], .testimonials__controls [hidden], .testimonials__dots[hidden] { display: none; }
.testimonials__count { margin-left: 0.5rem; font-size: 0.875rem; font-variant-numeric: tabular-nums; color: var(--fg-muted); }
.testimonials__stage { min-width: 0; }
.testimonials__track {
  display: flex;
  gap: 1.25rem;
  margin: -0.75rem -0.25rem 0;
  padding: 0.75rem 0.25rem 0.5rem;
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}
.testimonials__track::-webkit-scrollbar { display: none; }
.testimonials__track:focus-visible { outline: 2px solid var(--focus); outline-offset: 4px; }
.testimonial { display: flex; flex: none; width: calc((100% - 1.25rem) / 2); scroll-snap-align: start; }
.testimonial figure {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin: 0;
  padding: clamp(1.75rem, 1.25rem + 1.5vw, 2.75rem);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  transition: transform 0.6s var(--ease-out), border-color 0.4s, background-color 0.4s;
}
.testimonial figure::before { content: ''; position: absolute; top: 0; left: 0; width: 3.5rem; height: 2px; background: var(--gold-400); transition: width 0.7s var(--ease-out); }
.testimonial:hover figure { transform: translateY(-4px); border-color: rgba(227, 163, 69, 0.4); background-color: rgba(255, 255, 255, 0.07); }
.testimonial:hover figure::before { width: 100%; }
.testimonial__mark { position: absolute; top: -1.5rem; right: 1.25rem; font-family: var(--font-serif); font-style: italic; font-size: 9rem; line-height: 1; color: rgba(227, 163, 69, 0.16); pointer-events: none; }
.testimonial__text { position: relative; }
.testimonial__text p { font-family: var(--font-serif); font-style: italic; font-size: clamp(1.15rem, 1rem + 0.5vw, 1.45rem); line-height: 1.45; letter-spacing: -0.005em; color: rgba(255, 255, 255, 0.92); text-wrap: pretty; }
.testimonial__by { display: flex; align-items: center; gap: 0.9rem; margin-top: auto; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.12); }
.testimonial__avatar { display: grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: var(--gold-400); color: var(--ink-950); font-size: 0.9375rem; font-weight: 650; letter-spacing: 0.02em; }
.testimonial__who { display: grid; gap: 0.1rem; }
.testimonial__name, .testimonial__position { font-weight: 600; color: var(--white); }
.testimonial__name + .testimonial__position { font-size: 0.875rem; font-weight: 400; color: var(--fg-muted); }
.testimonials__dots { display: flex; gap: 0.15rem; margin-top: 1.5rem; }
.testimonials__dot { display: grid; place-items: center; width: 1.6rem; height: 1.6rem; }
.testimonials__dot span { display: block; width: 0.5rem; height: 0.5rem; border-radius: 1rem; background: rgba(255, 255, 255, 0.32); transition: width 0.35s var(--ease-out), background-color 0.3s; }
.testimonials__dot:hover span { background: rgba(255, 255, 255, 0.65); }
.testimonials__dot[aria-current='true'] span { width: 1.6rem; background: var(--gold-400); }
@media (max-width: 64rem) { .testimonials { grid-template-columns: 1fr; } }
@media (max-width: 48rem) { .testimonial { width: 87%; } }

/* Logos. Every mark is drawn as a single-colour silhouette — ink on light sections,
   white on dark — so a row of partners or clients reads as one quiet line rather
   than a patchwork of brand colours. Sizes come from the build (equal visual area). */
.logo {
  height: calc(var(--logo-h, 2rem) * var(--logo-scale, 1));
  width: auto;
  max-width: none;
  filter: brightness(0);
  opacity: 0.72;
  transition: opacity 0.35s;
}
.tone-ink .logo { filter: brightness(0) invert(1); opacity: 0.78; }
.logo:hover { opacity: 1; }
.logo-name { font-size: clamp(0.9375rem, 0.85rem + 0.35vw, 1.125rem); font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; white-space: nowrap; color: var(--fg); opacity: 0.8; }

/* A strip of logos. As markup: a centred row that wraps. The script turns it into a
   drifting track only when the logos overflow the row (.is-running). */
.marquee { --gap: clamp(3rem, 1.75rem + 4.5vw, 7rem); overflow: hidden; }
.marquee__set { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; row-gap: 2.25rem; }
.marquee__item { flex: none; display: flex; align-items: center; min-height: 3rem; padding-inline: calc(var(--gap) / 2); }
.marquee.is-measuring .marquee__set,
.marquee.is-running .marquee__set { flex-wrap: nowrap; width: max-content; }
.marquee.is-running {
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track { display: flex; width: max-content; }
.marquee.is-running .marquee__track { animation: marquee var(--marquee-duration, 40s) linear infinite; will-change: transform; }
.marquee.is-running[data-reverse] .marquee__track { animation-direction: reverse; }
.marquee.is-running:hover .marquee__track,
.marquee.is-paused .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translate3d(var(--marquee-shift, -50%), 0, 0); } }
.marquee-toggle[hidden] { display: none; }

.clients { padding-block: clamp(2.25rem, 1.75rem + 2vw, 3.5rem) clamp(2.75rem, 2rem + 2.5vw, 4.25rem); border-top: 1px solid rgba(255, 255, 255, 0.08); }
.clients__head { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 2.75rem; margin-bottom: clamp(1.5rem, 1rem + 1.5vw, 2.5rem); }
.clients__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }

.partners-strip { margin-top: clamp(3rem, 2rem + 3vw, 5rem); padding-block: 2.25rem; border-block: 1px solid var(--rule); }
.partners-strip__roles { max-width: 46rem; margin-top: 2rem; font-size: 0.9375rem; color: var(--fg-muted); }

/* Still logos with a caption under each (the About page's partner list). */
.logo-wall { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
.logo-wall__item { display: grid; align-content: start; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--rule); }
.logo-wall__mark { display: flex; align-items: center; min-height: 4.5rem; }
.logo-wall__caption { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.12em; text-transform: uppercase; color: var(--fg-muted); }
@media (max-width: 48rem) {
  .logo { --logo-scale: 0.82; }
  .logo-wall { gap: 2.25rem 1.5rem; }
}

/* Projects: each project's facts, held in view, beside a mosaic of its own site photographs. */
.projects { display: grid; gap: clamp(4.5rem, 3rem + 5vw, 8rem); }
.project { display: grid; grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.4fr); gap: clamp(2.5rem, 5vw, 6rem); align-items: start; padding-top: clamp(2.5rem, 2rem + 2vw, 3.5rem); border-top: 1px solid var(--rule-strong); }
.project--flip { grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr); }
.project--flip .project__text { order: 2; }
.project__text { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.project__num { font-size: clamp(3rem, 2rem + 3vw, 5rem); font-weight: 200; line-height: 1; letter-spacing: -0.05em; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.project__title { margin-top: 1.25rem; font-size: clamp(1.85rem, 1.25rem + 1.9vw, 3rem); font-weight: 420; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; color: var(--fg); }
.project__tags { display: flex; flex-wrap: wrap; row-gap: 0.35rem; margin-top: 1.25rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.project__tags li:first-child { color: var(--accent); }
.project__tags li:not(:last-child)::after { content: '·'; margin-inline: 0.65rem; color: var(--fg-muted); }
.project__summary { margin-top: 1.75rem; max-width: 34rem; font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem); line-height: 1.6; }
.project__scope { margin-top: 2.25rem; max-width: 30rem; }
.project__scope-title { padding-bottom: 0.8rem; border-bottom: 1px solid var(--rule-strong); font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.project__list li { display: flex; align-items: flex-start; gap: 0.8rem; padding-block: 0.75rem; border-bottom: 1px solid var(--rule); }
.project__list .icon { flex: none; margin-top: 0.2rem; color: var(--accent); }
.project__gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.75rem; }
.project__photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-800); border-radius: var(--radius); }
.project__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.project__photo:hover img { transform: scale(1.04); }
/* Four photos: a wide lead, three beneath. Six: a lead two cells square, two beside it, three beneath. */
.project__gallery--lead .project__photo:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.project__gallery--six .project__photo:first-child { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 64rem) {
  .project, .project--flip { grid-template-columns: 1fr; }
  .project--flip .project__text { order: 0; }
  .project__text { position: static; }
}
@media (max-width: 40rem) {
  .project__gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project__gallery--lead .project__photo:first-child,
  .project__gallery--six .project__photo:first-child { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}

.vision { --focus: var(--blue-300); position: relative; color: var(--white); background: var(--ink-950); overflow: hidden; padding-block: clamp(6rem, 4rem + 9vw, 12rem); }
.vision__media { position: absolute; inset: -12% 0; }
.vision__media img { width: 100%; height: 100%; object-fit: cover; }
.vision__scrim { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(6, 11, 19, 0.82) 0%, rgba(6, 11, 19, 0.5) 45%, rgba(6, 11, 19, 0.9) 100%); }
.vision__inner { position: relative; }
.vision__head { max-width: 62rem; }
.vision__pillars { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; margin-block: clamp(3.5rem, 6vw, 6rem) 3rem; }
.vision__pillars li { padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.3); }
.vision__num { font-size: 0.8125rem; font-weight: 600; color: var(--gold-400); }
.vision__pillars h3 { margin-top: 1rem; font-size: 1.375rem; font-weight: 500; letter-spacing: -0.015em; }
.vision__pillars p { margin-top: 0.6rem; color: rgba(255, 255, 255, 0.78); max-width: 24rem; }
@media (max-width: 64rem) { .vision__pillars { grid-template-columns: 1fr; } }

.careers-split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: center; }
.careers-split__media { aspect-ratio: 5 / 4; }
.careers-split__text .lead { margin-top: 1.75rem; max-width: 34rem; }
.careers-split__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2rem; margin-top: 2.5rem; }
@media (max-width: 64rem) { .careers-split { grid-template-columns: 1fr; } }

.cta-band { --focus: var(--blue-300); position: relative; color: var(--white); background: var(--ink-950); overflow: hidden; padding-block: clamp(6rem, 4rem + 8vw, 11rem); }
.cta-band__media { position: absolute; inset: -12% 0; opacity: 0.42; }
.cta-band__media img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6, 11, 19, 0.92) 0%, rgba(6, 11, 19, 0.6) 60%, rgba(6, 11, 19, 0.4) 100%); pointer-events: none; }
.cta-band__inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.6fr 1fr; gap: 3rem clamp(3rem, 7vw, 8rem); align-items: end; }
.cta-band .display { color: var(--white); }
.cta-band__lead { margin-top: 1.75rem; max-width: 36rem; font-size: clamp(1.0625rem, 0.95rem + 0.4vw, 1.25rem); color: rgba(255, 255, 255, 0.8); }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }
.cta-band__contact { display: grid; gap: 1.25rem; }
.cta-band__contact > div { padding-top: 1.1rem; border-top: 1px solid rgba(255, 255, 255, 0.2); }
.cta-band__contact dt { font-size: 0.75rem; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.55); }
.cta-band__contact dd { margin-top: 0.3rem; font-size: clamp(1.125rem, 1rem + 0.5vw, 1.4rem); }
.cta-band__contact a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out); }
.cta-band__contact a:hover { background-size: 100% 1px; }
@media (max-width: 64rem) { .cta-band__inner { grid-template-columns: 1fr; } }

/* 13 Inner page blocks ----------------------------------------------------- */

.split-intro { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(3rem, 7vw, 8rem); align-items: start; }
.split-intro--flip .split-intro__media { order: -1; }
.split-intro__text .display { margin-bottom: 2rem; }
.split-intro__media { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.checklist { margin-top: 3rem; max-width: 40rem; }
.checklist__title { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule-strong); }
.checklist li { display: flex; gap: 0.9rem; align-items: flex-start; padding-block: 0.85rem; border-bottom: 1px solid var(--rule); }
.checklist .icon { flex: none; margin-top: 0.25rem; color: var(--accent); }
@media (max-width: 64rem) {
  .split-intro { grid-template-columns: 1fr; }
  .split-intro__media { position: static; order: 0 !important; }
  .split-intro__media .media--tall { aspect-ratio: 4 / 3; }
}

.scope { display: grid; grid-template-columns: repeat(var(--cols, 2), 1fr); column-gap: clamp(2rem, 5vw, 5rem); }
.scope--3 { --cols: 3; }
.scope__item { display: grid; grid-template-columns: 3.25rem 1fr; gap: 1rem; padding-block: 1.9rem; border-top: 1px solid var(--rule); }
.scope__num { padding-top: 0.3rem; font-size: 0.8125rem; font-weight: 600; font-variant-numeric: tabular-nums; color: var(--accent); }
.scope__title { font-size: clamp(1.25rem, 1.1rem + 0.45vw, 1.5rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.25; }
.scope__title a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.5s var(--ease-out), color 0.2s; }
.scope__title a:hover { background-size: 100% 1px; color: var(--accent); }
.scope__text { margin-top: 0.6rem; color: var(--fg-muted); }
@media (max-width: 64rem) { .scope, .scope--3 { --cols: 1; } }

.steps { display: grid; grid-template-columns: repeat(var(--steps, 4), 1fr); gap: 2.5rem 2rem; }
.steps__item { position: relative; padding-top: 2rem; border-top: 1px solid var(--rule-strong); }
.steps__item::before { content: ''; position: absolute; top: -4px; left: 0; width: 7px; height: 7px; background: var(--mark); }
.steps__num { display: block; font-size: clamp(2.5rem, 1.8rem + 2vw, 3.75rem); font-weight: 200; line-height: 1; letter-spacing: -0.04em; color: var(--fg-muted); font-variant-numeric: tabular-nums; }
.steps__title { margin-top: 1.25rem; font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; }
.steps__text { margin-top: 0.6rem; color: var(--fg-muted); }
@media (max-width: 64rem) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 40rem) { .steps { grid-template-columns: 1fr; } }

.spec { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.5rem clamp(3rem, 7vw, 8rem); align-items: start; }
.spec__head { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.spec__intro { margin-top: 1.5rem; color: var(--fg-muted); max-width: 26rem; }
.spec__head .link-arrow { margin-top: 2rem; }
.spec__rows { border-bottom: 1px solid var(--rule); }
.spec__row { display: grid; grid-template-columns: minmax(9rem, 0.6fr) 1fr; gap: 0.4rem 2rem; padding-block: 1.35rem; border-top: 1px solid var(--rule); }
.spec__row dt { font-weight: 600; }
.spec__row dd { color: var(--fg-soft); }
@media (max-width: 64rem) {
  .spec { grid-template-columns: 1fr; }
  .spec__head { position: static; }
}
@media (max-width: 40rem) { .spec__row { grid-template-columns: 1fr; } }

.pull-quote { position: relative; padding-left: clamp(0rem, 4vw, 4rem); }
.pull-quote blockquote p { font-family: var(--font-serif); font-style: italic; font-weight: 400; font-size: clamp(1.75rem, 1.15rem + 2.2vw, 3.25rem); line-height: 1.24; letter-spacing: -0.015em; text-wrap: balance; color: var(--fg); }
.pull-quote blockquote p::before { content: '\201C'; position: absolute; left: 0; top: -0.15em; font-size: 1.6em; line-height: 1; color: var(--mark); }
.pull-quote figcaption { display: flex; flex-wrap: wrap; gap: 0.25rem 1rem; margin-top: 2rem; font-size: 0.9375rem; }
.pull-quote__name { font-weight: 600; }
.pull-quote__role { color: var(--fg-muted); }
@media (max-width: 48rem) { .pull-quote { padding-left: 2.25rem; } }

.band { position: relative; margin: 0; overflow: hidden; background: var(--ink-900); }
.band--lg { height: clamp(22rem, 58vw, 46rem); }
.band--md { height: clamp(18rem, 42vw, 34rem); }
.band__media { position: absolute; inset: -12% 0; }
.band__media img { width: 100%; height: 100%; object-fit: cover; }

.related__list { border-bottom: 1px solid var(--rule); }
.related__item { position: relative; border-top: 1px solid var(--rule); }
.related__link, .page-index__link { display: grid; grid-template-columns: 1.2fr 1fr 2.5rem; gap: 1rem 2rem; align-items: center; padding-block: clamp(1.4rem, 2.5vw, 2.1rem); }
.related__title, .page-index__title { font-size: clamp(1.45rem, 1.1rem + 1.2vw, 2.4rem); font-weight: 380; letter-spacing: -0.03em; line-height: 1.12; transition: transform 0.6s var(--ease-out), color 0.3s; }
.related__text, .page-index__text { color: var(--fg-muted); }
.related__arrow, .page-index__arrow { justify-self: end; color: var(--accent); transition: transform 0.5s var(--ease-out); }
.related__link:hover .related__title, .page-index__link:hover .page-index__title { transform: translateX(0.75rem); color: var(--accent); }
.related__link:hover .related__arrow, .page-index__link:hover .page-index__arrow { transform: rotate(45deg); }
.related__thumb { display: none; }
@media (max-width: 48rem) {
  .related__link { grid-template-columns: 1fr 2rem; }
  .related__text { grid-column: 1; grid-row: 2; }
  .related__arrow { grid-row: 1 / span 2; grid-column: 2; }
}

.page-index__group + .page-index__group { margin-top: clamp(3.5rem, 6vw, 6rem); }
.page-index__heading { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 1rem; }
.page-index__list { border-bottom: 1px solid var(--rule); }
.page-index__item { position: relative; border-top: 1px solid var(--rule); }
.page-index__link { grid-template-columns: 3.25rem 1.3fr 1fr 2.5rem; }
.page-index__num { font-size: 0.8125rem; font-weight: 600; color: var(--accent); font-variant-numeric: tabular-nums; }
@media (max-width: 48rem) {
  .page-index__link { grid-template-columns: 2.25rem 1fr 1.75rem; }
  .page-index__text { grid-column: 2; grid-row: 2; }
  .page-index__arrow { grid-column: 3; grid-row: 1; }
}

/* The floating photograph that follows the pointer over link rows. */
.hover-preview {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 40;
  width: clamp(14rem, 20vw, 21rem);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.35s;
  background: var(--ink-800);
}
.hover-preview.is-visible { opacity: 1; }
.hover-preview { translate: -400px -400px; }
.hover-preview img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.15); transition: transform 0.9s var(--ease-out); }
.hover-preview.is-visible img { transform: scale(1); }

.triad { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem clamp(2rem, 4vw, 4rem); }
.triad__item { padding-top: 1.75rem; border-top: 1px solid var(--rule-strong); }
.triad__num { font-size: 0.8125rem; font-weight: 600; color: var(--mark); }
.triad__title { margin-top: 1.25rem; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.6rem); font-weight: 380; letter-spacing: -0.03em; }
.triad__kicker { margin-top: 0.5rem; font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.triad__text { margin-top: 1.25rem; color: var(--fg-soft); }
@media (max-width: 64rem) { .triad { grid-template-columns: 1fr; } }

/* 14 Article --------------------------------------------------------------- */

.article { display: grid; grid-template-columns: minmax(13rem, 1fr) 2.6fr; gap: 3rem clamp(3rem, 7vw, 8rem); align-items: start; }
.article__toc { position: sticky; top: calc(var(--masthead-h) + 2rem); }
.article__toc ol { border-top: 1px solid var(--rule); }
.article__toc a { display: flex; gap: 0.9rem; padding: 0.8rem 0 0.8rem 0.9rem; border-bottom: 1px solid var(--rule); font-size: 0.9375rem; color: var(--fg-muted); box-shadow: inset 2px 0 0 transparent; transition: color 0.2s, box-shadow 0.3s; }
.article__toc a span { font-size: 0.75rem; font-weight: 600; padding-top: 0.2rem; font-variant-numeric: tabular-nums; }
.article__toc a:hover { color: var(--fg); }
.article__toc a.is-current { color: var(--fg); box-shadow: inset 2px 0 0 var(--accent); }
.article__lede { font-size: clamp(1.4rem, 1.1rem + 0.9vw, 1.9rem); line-height: 1.4; letter-spacing: -0.015em; color: var(--fg); max-width: 46rem; text-wrap: pretty; }
.article__chapter { margin-top: clamp(3rem, 5vw, 4.5rem); padding-top: clamp(2rem, 3vw, 3rem); border-top: 1px solid var(--rule); }
.article__marker { font-size: 0.75rem; font-weight: 650; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); }
.article__heading { margin-top: 0.85rem; margin-bottom: 1.5rem; font-size: clamp(1.75rem, 1.3rem + 1.3vw, 2.6rem); font-weight: 400; letter-spacing: -0.03em; line-height: 1.12; }
.article__signoff { margin-top: 4rem; padding-top: 2rem; border-top: 1px solid var(--rule-strong); }
.signoff__name { font-size: 1.375rem; font-weight: 600; letter-spacing: -0.01em; margin-bottom: 0.2rem; }
.signoff__role { font-weight: 500; }
.signoff__org { color: var(--fg-muted); }
@media (max-width: 64rem) {
  .article { grid-template-columns: 1fr; }
  .article__toc { position: static; }
}

.sitemap { display: grid; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); gap: 3rem 2.5rem; }
.sitemap__title { font-size: 1.375rem; font-weight: 500; letter-spacing: -0.02em; padding-bottom: 0.9rem; border-bottom: 1px solid var(--rule-strong); }
.sitemap ul { margin-top: 0.5rem; }
.sitemap li a { display: block; padding: 0.5rem 0; color: var(--fg-soft); border-bottom: 1px solid var(--rule); }
.sitemap li a:hover { color: var(--accent); }

.notfound { border-bottom: 1px solid var(--rule); margin-bottom: 2.5rem; }
.notfound a { display: flex; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; border-top: 1px solid var(--rule); font-size: clamp(1.25rem, 1rem + 0.8vw, 1.75rem); }
.notfound a:hover { color: var(--accent); }
.notfound__url { font-size: 0.875rem; color: var(--fg-muted); align-self: center; }

.outcome { max-width: 46rem; }
.outcome__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.5rem; }

/* 15 Contact and forms ----------------------------------------------------- */

.contact-layout { display: grid; grid-template-columns: 1.7fr 1fr; gap: 4rem clamp(3rem, 7vw, 8rem); align-items: start; }
.contact-layout__intro { margin-top: 1.25rem; margin-bottom: 2.5rem; color: var(--fg-muted); max-width: 36rem; }
.contact-aside { display: grid; gap: 0; position: sticky; top: calc(var(--masthead-h) + 2rem); }
.contact-card { padding-block: 1.75rem; border-top: 1px solid var(--rule); }
.contact-card .label { margin-bottom: 1rem; }
.contact-card__lines { line-height: 1.7; margin-bottom: 1rem; }
.contact-card__dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 1rem; padding-block: 0.45rem; }
.contact-card__dl dt { color: var(--fg-muted); font-size: 0.9375rem; }
.contact-card--urgent { --focus: var(--blue-300); margin-top: 1rem; padding: 2rem; border: 0; background: var(--ink-900); color: var(--white); border-radius: var(--radius); }
.contact-card__urgent { margin-bottom: 1.5rem; color: rgba(255, 255, 255, 0.84); }
@media (max-width: 64rem) {
  .contact-layout { grid-template-columns: 1fr; }
  .contact-aside { position: static; }
}

.form__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem 1.5rem; }
.field { display: grid; gap: 0.5rem; align-content: start; }
.field--full { grid-column: 1 / -1; }
.field__label { font-size: 0.875rem; font-weight: 600; }
.field__req { color: var(--danger); }
.field__opt { font-weight: 400; color: var(--fg-muted); }
.field__control {
  width: 100%;
  padding: 0.95rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  border: 1px solid rgba(11, 21, 34, 0.24);
  border-radius: var(--radius);
  transition: border-color 0.2s, box-shadow 0.2s;
  appearance: none;
}
.field__control:hover { border-color: rgba(11, 21, 34, 0.45); }
.field__control:focus { outline: none; border-color: var(--blue-600); box-shadow: 0 0 0 3px rgba(31, 94, 158, 0.22); }
select.field__control {
  padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230b1522' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
}
textarea.field__control { min-height: 10rem; resize: vertical; line-height: 1.55; }
.field__control[aria-invalid='true'] { border-color: var(--danger); }
.field__control[aria-invalid='true']:focus { box-shadow: 0 0 0 3px rgba(164, 35, 27, 0.18); }
.field__hint { font-size: 0.875rem; color: var(--fg-muted); }
.field__error { font-size: 0.875rem; font-weight: 500; color: var(--danger); }
.field__error:empty { display: none; }
.field--check { margin-top: 1.75rem; }

.check { position: relative; display: flex; gap: 0.9rem; align-items: flex-start; font-size: 0.9375rem; color: var(--fg-soft); cursor: pointer; }
.check input { position: absolute; opacity: 0; width: 1.25rem; height: 1.25rem; margin: 0; }
.check__box { flex: none; display: grid; place-items: center; width: 1.3rem; height: 1.3rem; margin-top: 0.15rem; border: 1px solid rgba(11, 21, 34, 0.4); border-radius: var(--radius); background: var(--white); color: transparent; transition: background 0.2s, border-color 0.2s; }
.check__box .icon { width: 0.9rem; height: 0.9rem; }
.check input:checked + .check__box { background: var(--blue-600); border-color: var(--blue-600); color: var(--white); }
.check input:focus-visible + .check__box { outline: 2px solid var(--blue-500); outline-offset: 3px; }
.check input[aria-invalid='true'] + .check__box { border-color: var(--danger); }

.form__hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1.25rem 2rem; margin-top: 2.25rem; }
.form__note { font-size: 0.875rem; color: var(--fg-muted); max-width: 22rem; }
.btn__spinner { display: none; width: 1.1rem; height: 1.1rem; border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: var(--white); border-radius: 50%; animation: spin 0.8s linear infinite; }
.btn[aria-busy='true'] { pointer-events: none; opacity: 0.85; }
.btn[aria-busy='true'] .icon { display: none; }
.btn[aria-busy='true'] .btn__spinner { display: block; }
@keyframes spin { to { transform: rotate(360deg); } }
.form__alert { display: flex; gap: 0.9rem; margin-top: 1.75rem; padding: 1.1rem 1.25rem; border-left: 3px solid var(--danger); background: var(--danger-bg); color: #5a1510; }
.form__alert .icon { flex: none; margin-top: 0.2rem; }
.form__alert-title { font-weight: 650; }
.form-done { padding: clamp(2rem, 4vw, 3.5rem); background: var(--white); border: 1px solid var(--rule); border-radius: var(--radius); }
.form-done:focus { outline: none; }
.form-done__icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; margin-bottom: 1.75rem; border-radius: 50%; background: var(--blue-600); color: var(--white); }
.form-done .lead { margin-block: 1.25rem 2rem; }
@media (max-width: 40rem) { .form__grid { grid-template-columns: 1fr; } }

/* 16 Motion, cursor, utilities -------------------------------------------- */

/* Reveal on entry. Hidden states exist only when script will undo them. */
.js [data-reveal] { opacity: 0; transform: translateY(1.75rem); transition: opacity 1s var(--ease-out), transform 1.2s var(--ease-out); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal='mask'] { opacity: 1; transform: none; clip-path: inset(0 0 100% 0); transition: clip-path 1.5s var(--ease-out); }
.js [data-reveal='mask'] img { transform: scale(1.18); transition: transform 2s var(--ease-out); }
.js [data-reveal='mask'].is-in { clip-path: inset(0 0 0 0); }
.js [data-reveal='mask'].is-in img { transform: none; }

/* Headlines rise word by word out of a clipping line. */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.w__i { display: inline-block; transform: translateY(108%); transition: transform 1.15s var(--ease-out); transition-delay: calc(var(--i, 0) * 42ms + var(--d, 0s)); }
[data-split].is-in .w__i { transform: none; }

/* Entrance order inside the heroes. */
.hero__eyebrow { --d: 0.1s; }
.hero__title { --d: 0.2s; }
.hero__sub { --d: 0.55s; }
.hero__actions { --d: 0.7s; }
.page-hero__title { --d: 0.1s; }
.page-hero__sub { --d: 0.4s; }
.page-hero__meta { --d: 0.55s; }

[data-magnetic] { transition: translate 0.6s var(--ease-out), color 0.45s var(--ease-out), border-color 0.45s var(--ease-out); }

/* Scroll-scrubbed statement: words brighten as the paragraph is read. */
.sw { transition: opacity 0.25s linear; }

[data-parallax] { will-change: transform; }

.cursor {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  width: 6rem;
  height: 6rem;
  margin: -3rem 0 0 -3rem;
  border-radius: 50%;
  background: var(--white);
  color: var(--ink-900);
  font-size: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  pointer-events: none;
  translate: -200px -200px;
  scale: 0;
  transition: scale 0.45s var(--ease-out);
}
.cursor.is-visible { scale: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: 0.45s; animation-timing-function: var(--ease-out); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
    scroll-behavior: auto !important;
  }
  .js [data-reveal], .js [data-reveal='mask'], .js [data-reveal='mask'] img, .w__i { opacity: 1 !important; transform: none !important; clip-path: none !important; }
  .hero__video { display: none; }
  .cursor, .hover-preview { display: none; }
  @view-transition { navigation: none; }
}

@media print {
  .site-header, .drawer, .cta-band, .hero__controls, .hero__scroll, .cursor, .site-footer nav { display: none !important; }
  .hero, .page-hero { min-height: 0; color: var(--text); background: none; }
  .hero__media, .page-hero__media, .hero__scrim, .page-hero__scrim { display: none; }
  .js [data-reveal] { opacity: 1; transform: none; }
}
