/* ==========================================================================
   MuComm — Media Management & Strategic Communication
   Design tokens are taken from the MuComm logo: azure blue, silver, charcoal.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Surfaces */
  --paper: #f3f4f6;
  --paper-2: #e9ecef;
  --card: #ffffff;

  /* Text */
  --ink: #15171a;
  --ink-2: #33373d;
  --mute: #686d75;

  /* Silver (logo sphere) */
  --silver: #a7abb1;
  --line: #dadde2;
  --line-2: #c8cdd4;

  /* Blue (logo sphere) */
  --blue: #1474b0;
  --blue-hi: #1e9fe0;
  --blue-deep: #0c5496;
  --blue-ink: #0a2c4a;
  --blue-tint: #e6f0f8;

  --f-sans: "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-serif: "Instrument Serif", "Iowan Old Style", "Times New Roman", serif;
  --f-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;

  --gutter: clamp(16px, 3.4vw, 48px);
  --radius: 6px;
  --header-h: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.76, 0, 0.24, 1);

  --hero-fs: clamp(54px, min(12.4vw, 19vh), 236px);
}

/* --- Lenis (smooth scroll) --- */
html { scrollbar-gutter: stable; }
html.lenis, html.lenis body { height: auto; }
.lenis:not(.lenis-autoToggle).lenis-stopped, html.menu-open { overflow: hidden; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-smooth iframe { pointer-events: none; }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f-sans);
  font-size: clamp(16px, 1.05vw, 18px);
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, svg, canvas, video { display: block; max-width: 100%; }
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, figure, blockquote { margin: 0; }
h1, h2, h3, h4, blockquote { text-wrap: balance; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
input, textarea { font: inherit; color: inherit; }
::selection { background: var(--blue); color: #fff; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
[tabindex="-1"]:focus { outline: none; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.sr-only {
  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 {
  position: fixed; left: 12px; top: 12px; z-index: 200; padding: 12px 18px; border-radius: 999px;
  background: var(--ink); color: #fff; transform: translateY(-160%); transition: transform .3s var(--ease-out);
}
.skip:focus { transform: none; }

/* Subtle film grain over the whole page */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 95; pointer-events: none; opacity: .045;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

/* --- Layout & type helpers --- */
.wrap { width: 100%; max-width: 1720px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(96px, 12vw, 190px) 0; }
/* Two paper sections in a row: one gap is enough */
.section + .section:not(.contact) { padding-top: clamp(16px, 2.5vw, 40px); }

.mono {
  font-family: var(--f-mono); font-size: 12px; line-height: 1.35; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px; margin-bottom: 28px;
  font-family: var(--f-mono); font-size: 12px; line-height: 1; font-weight: 500;
  letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 1px; background: var(--blue); flex: none; }
.eyebrow--light { color: rgba(255, 255, 255, .82); }
.eyebrow--light::before { background: #fff; }

.h-xxl, .h-xl, .h-lg, .h-md { font-weight: 500; color: inherit; }
.h-xxl { font-size: clamp(50px, 8.4vw, 150px); line-height: .94; letter-spacing: -.05em; }
.h-xl  { font-size: clamp(42px, 6.3vw, 112px); line-height: .96; letter-spacing: -.045em; }
.h-lg  { font-size: clamp(34px, 4.4vw, 72px); line-height: 1; letter-spacing: -.035em; }
.h-md  { font-size: clamp(24px, 2.2vw, 36px); line-height: 1.1; letter-spacing: -.02em; }

/* Editorial accent: italic serif echoes the script "μ" in the logo */
em, .accent {
  font-family: var(--f-serif); font-style: italic; font-weight: 400;
  letter-spacing: -.01em; color: var(--blue); font-size: 1.07em; line-height: .8;
  padding-right: .03em;
}
.lede { font-size: clamp(18px, 1.45vw, 23px); line-height: 1.42; letter-spacing: -.012em; color: var(--ink-2); }
.muted { color: var(--mute); }

/* SplitText line masks: give descenders room so tight leading never clips them */
.line-mask { padding-bottom: .12em; margin-bottom: -.12em; }

/* --- Buttons --- */
.btn {
  --bg: var(--ink); --fg: #fff; --bd: transparent;
  position: relative; display: inline-flex; align-items: center; gap: 12px;
  height: 50px; padding: 0 8px 0 22px; border-radius: 999px;
  background: var(--bg); color: var(--fg); border: 1px solid var(--bd);
  font-size: 15px; font-weight: 500; letter-spacing: -.01em; white-space: nowrap;
  transition: background-color .4s var(--ease-out), color .4s var(--ease-out), border-color .4s var(--ease-out);
}
.btn__label { position: relative; display: inline-block; overflow: hidden; line-height: 1.25; }
.btn__label > span { position: relative; display: inline-block; transition: transform .6s var(--ease-io); }
.btn__label > span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.btn:hover .btn__label > span, .btn:focus-visible .btn__label > span { transform: translateY(-100%); }
.btn__icon {
  width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgba(255, 255, 255, .16); transition: transform .6s var(--ease-io), background-color .4s;
}
.btn__icon svg { width: 16px; height: 16px; }
.btn:hover .btn__icon { transform: rotate(-45deg); }
.btn--primary { --bg: var(--blue); }
.btn--primary:hover { --bg: var(--blue-deep); }
.btn--ghost { --bg: transparent; --fg: var(--ink); --bd: var(--line-2); }
.btn--ghost .btn__icon { background: var(--ink); color: #fff; }
.btn--ghost:hover { --bg: var(--ink); --fg: #fff; --bd: var(--ink); }
.btn--ghost:hover .btn__icon { background: rgba(255, 255, 255, .16); }
.btn--light { --bg: #fff; --fg: var(--blue-ink); }
.btn--light .btn__icon { background: var(--blue); color: #fff; }
.btn--light:hover { --bg: var(--blue-tint); }
.btn--sm { height: 42px; padding: 0 6px 0 18px; font-size: 14px; }
.btn--sm .btn__icon { width: 30px; height: 30px; }
.btn--lg { height: 62px; padding: 0 10px 0 28px; font-size: 17px; }
.btn--lg .btn__icon { width: 42px; height: 42px; }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 500;
  border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.link-arrow:hover svg { transform: translate(3px, 0); }

/* ==========================================================================
   Preloader
   ========================================================================== */
.preloader {
  position: fixed; inset: 0; z-index: 120; display: none; place-items: center;
  background: var(--paper); clip-path: inset(0 0 0 0);
}
.js .preloader { display: grid; }
.is-loaded .preloader { display: none; }
.preloader__inner { width: min(380px, 82vw); display: grid; justify-items: center; gap: 26px; }
.preloader__mark { width: 86px; height: 86px; }
.preloader__row {
  width: 100%; display: flex; justify-content: space-between; align-items: baseline; overflow: hidden;
  font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2);
}
.preloader__count { font-variant-numeric: tabular-nums; color: var(--blue); }
.preloader__bar { width: 100%; height: 1px; background: var(--line-2); overflow: hidden; }
.preloader__bar span { display: block; height: 100%; background: var(--blue); transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 60; height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 0 var(--gutter); color: var(--ink);
  transition: transform .7s var(--ease-out), color .45s var(--ease-out);
}
.site-header.is-hidden { transform: translateY(-115%); }
.site-header.on-dark { color: #fff; }

.logo { display: inline-flex; align-items: center; gap: 11px; flex: none; }
.logo__mark { width: 36px; height: 36px; transition: transform .9s var(--ease-out); }
.logo:hover .logo__mark { transform: rotate(-24deg); }
.logo__word { height: 18px; width: auto; aspect-ratio: 4874 / 724; }

.nav { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.nav__pill {
  display: flex; gap: 2px; padding: 4px; margin: 0; list-style: none; border-radius: 999px;
  background: rgba(255, 255, 255, .62); border: 1px solid rgba(21, 23, 26, .07);
  -webkit-backdrop-filter: blur(16px) saturate(1.5); backdrop-filter: blur(16px) saturate(1.5);
  transition: background-color .45s, border-color .45s;
}
.nav__pill a {
  display: block; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 500; letter-spacing: -.01em;
  transition: background-color .35s var(--ease-out), color .35s var(--ease-out);
}
.nav__pill a:hover, .nav__pill a.is-current { background: var(--ink); color: #fff; }
.on-dark .nav__pill { background: rgba(8, 24, 40, .28); border-color: rgba(255, 255, 255, .16); }
.on-dark .nav__pill a:hover, .on-dark .nav__pill a.is-current { background: #fff; color: var(--ink); }
.header__cta { display: flex; align-items: center; gap: 10px; }
.on-dark .header__cta .btn--primary { --bg: #fff; --fg: var(--blue-ink); }
.on-dark .header__cta .btn--primary .btn__icon { background: var(--blue); color: #fff; }

.menu-toggle {
  display: none; align-items: center; gap: 12px; height: 42px; padding: 0 16px 0 18px; border-radius: 999px;
  background: var(--ink); color: #fff; font-size: 14px; font-weight: 500;
}
.menu-toggle__icon { position: relative; width: 18px; height: 8px; }
.menu-toggle__icon::before, .menu-toggle__icon::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor;
  transition: transform .5s var(--ease-io), top .5s var(--ease-io);
}
.menu-toggle__icon::before { top: 0; }
.menu-toggle__icon::after { top: 6.5px; }
.menu-open .menu-toggle__icon::before { top: 3.25px; transform: rotate(45deg); }
.menu-open .menu-toggle__icon::after { top: 3.25px; transform: rotate(-45deg); }
.on-dark .menu-toggle { background: #fff; color: var(--ink); }
.menu-open .site-header { color: var(--ink); }
.menu-open .menu-toggle { background: var(--ink); color: #fff; }

/* Mobile menu */
.menu {
  position: fixed; inset: 0; z-index: 55; display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(var(--header-h) + 28px) var(--gutter) 28px; background: var(--paper);
  clip-path: inset(0 0 100% 0); visibility: hidden;
  transition: clip-path .85s var(--ease-io), visibility 0s linear .85s;
}
.menu.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .85s var(--ease-io); }
.menu__list { list-style: none; margin: 0; padding: 0; }
.menu__list li { overflow: hidden; border-bottom: 1px solid var(--line); }
.menu__list a {
  display: flex; align-items: baseline; gap: 14px; padding: 10px 0;
  font-size: clamp(40px, 11vw, 84px); font-weight: 500; line-height: 1.02; letter-spacing: -.045em;
  transform: translateY(105%); transition: transform .9s var(--ease-out);
}
.menu__list a small { font-family: var(--f-mono); font-size: 12px; letter-spacing: .06em; color: var(--blue); }
.menu.is-open .menu__list a { transform: none; transition-delay: calc(.25s + var(--i, 0) * .06s); }
.menu__foot { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; color: var(--ink-2); }
.menu__foot a { text-decoration: underline; text-underline-offset: 4px; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; background: var(--paper); overflow: hidden; }
.hero__content {
  position: relative; z-index: 1; height: 100%;
  display: grid; grid-template-rows: auto 1fr auto;
  padding: calc(var(--header-h) + 10px) var(--gutter) 24px;
}
.hero__top {
  display: flex; justify-content: space-between; gap: 24px; padding-top: 12px;
  border-top: 1px solid var(--line-2); color: var(--ink-2);
}
.hero__title {
  align-self: center; display: flex; flex-direction: column; width: 100%;
  font-size: var(--hero-fs); font-weight: 500; letter-spacing: -.055em; line-height: .9;
}
.hero__line { display: block; white-space: nowrap; }
.hero__line--1 { align-self: flex-start; margin-left: -.04em; }
.hero__line--2 {
  align-self: flex-end; font-family: var(--f-serif); font-style: italic; font-weight: 400;
  color: var(--blue); font-size: 1.14em; letter-spacing: -.02em; line-height: .78; padding-right: .04em;
}
.hero__card {
  display: block; align-self: center; width: clamp(220px, 26vw, 430px); aspect-ratio: 4 / 3;
  margin: .1em 0 .14em; border-radius: var(--radius);
}
.hero .mask { display: inline-block; overflow: clip; padding: .02em .1em .16em; margin: -.02em -.1em -.16em; vertical-align: top; }
.hero .char { display: inline-block; will-change: transform; }

.hero__bottom { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) auto; align-items: end; gap: 24px; }
.hero__intro { max-width: 36ch; font-size: clamp(15px, 1.1vw, 17px); line-height: 1.45; color: var(--ink-2); }
.hero__clocks { display: flex; gap: 28px; color: var(--ink-2); }
.hero__clocks div { display: grid; gap: 4px; }
.hero__clocks strong { font-family: var(--f-sans); font-size: 20px; font-weight: 400; letter-spacing: -.02em; color: var(--ink); text-transform: none; font-variant-numeric: tabular-nums; }
.hero__actions { display: flex; gap: 10px; justify-content: flex-end; }

/* Full-viewport media, clipped to the card by default; JS expands it on scroll */
.hero__media {
  /* Clip edges are custom properties so GSAP can tween plain numbers
     (browsers collapse inset() shorthands, which breaks string tweening). */
  --ct: 31%; --cr: 37%; --cb: 27%; --cl: 37%; --crad: 6px;
  position: absolute; inset: 0; z-index: 2; overflow: hidden; background: var(--blue-ink);
  clip-path: inset(var(--ct) var(--cr) var(--cb) var(--cl) round var(--crad));
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 42% 50%; transform-origin: 50% 50%; }
.hero__shade {
  position: absolute; inset: 0; opacity: 0; pointer-events: none;
  background: linear-gradient(180deg, rgba(6, 22, 38, .5) 0%, rgba(6, 22, 38, 0) 34%, rgba(6, 22, 38, 0) 55%, rgba(6, 22, 38, .45) 100%);
}
.hero__note {
  position: absolute; left: var(--gutter); bottom: clamp(24px, 4vw, 48px); width: min(460px, calc(100% - var(--gutter) * 2));
  padding: clamp(22px, 2.4vw, 32px); border-radius: var(--radius); background: var(--card); color: var(--ink);
  opacity: 0; visibility: hidden;
}
.hero__note h2 { font-size: clamp(28px, 2.6vw, 40px); font-weight: 500; line-height: 1.02; letter-spacing: -.035em; margin-bottom: 14px; }
.hero__note p { color: var(--ink-2); margin-bottom: 22px; }
.hero__note .eyebrow { margin-bottom: 18px; }
.hero__caption {
  position: absolute; right: var(--gutter); top: calc(var(--header-h) + 16px); text-align: right; color: rgba(255, 255, 255, .85);
  opacity: 0; visibility: hidden;
}
.hero__scroll { display: inline-flex; align-items: center; gap: 10px; color: var(--ink-2); }
.hero__scroll span { position: relative; width: 1px; height: 28px; background: var(--line-2); overflow: hidden; }
.hero__scroll span::after { content: ""; position: absolute; inset: 0; background: var(--blue); animation: scrollcue 2.2s var(--ease-io) infinite; }
@keyframes scrollcue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ==========================================================================
   About
   ========================================================================== */
.about { position: relative; }
.statement-wrap { position: relative; }
.statement-wrap .eyebrow { position: absolute; left: 0; top: .9em; }
.statement {
  max-width: 1320px; font-size: clamp(28px, 3.65vw, 62px); line-height: 1.1; letter-spacing: -.032em; font-weight: 450;
  text-indent: clamp(0px, 16vw, 300px);
}
.statement em { font-size: 1.1em; }
.statement .word { text-indent: 0; } /* split words are inline-blocks and would inherit the indent */

.facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: clamp(72px, 9vw, 150px); }
.fact {
  position: relative; display: flex; flex-direction: column; min-height: clamp(380px, 32vw, 470px);
  padding: clamp(22px, 2vw, 30px); border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  transition: translate .8s var(--ease-out), box-shadow .8s var(--ease-out);
}
.fact:hover { translate: 0 -6px; box-shadow: 0 30px 60px -40px rgba(10, 44, 74, .35); }
.fact__wire { width: clamp(130px, 11vw, 168px); aspect-ratio: 1; margin-bottom: auto; }
.fact__meta { display: flex; justify-content: space-between; color: var(--mute); margin: 34px 0 16px; padding-top: 14px; border-top: 1px solid var(--line); }
.fact h3 { font-size: clamp(22px, 1.9vw, 30px); font-weight: 500; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 10px; }
.fact p { color: var(--mute); font-size: 16px; }

.numbers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: clamp(72px, 9vw, 150px); border-top: 1px solid var(--line-2); }
.stat { padding: 18px 24px 0 0; }
.stat + .stat { padding-left: 24px; border-left: 1px solid var(--line-2); }
.stat .mono { color: var(--mute); }
.stat__num {
  display: flex; align-items: flex-start; margin: clamp(28px, 4vw, 60px) 0 18px;
  font-size: clamp(66px, 8.8vw, 156px); font-weight: 300; line-height: .82; letter-spacing: -.065em; font-variant-numeric: tabular-nums;
}
.stat__num sup { font-size: .38em; line-height: 1; letter-spacing: -.02em; margin: .1em 0 0 .06em; color: var(--blue); font-weight: 400; }
.stat__label { max-width: 22ch; color: var(--ink-2); }

/* ==========================================================================
   Forte (services)
   ========================================================================== */
.section-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 20px; margin-bottom: clamp(52px, 7vw, 110px); }
.section-head .eyebrow { grid-column: 1 / -1; margin-bottom: 4px; }
.section-head h2 { grid-column: 1 / span 8; }
.section-head__lede { grid-column: 9 / -1; align-self: end; color: var(--ink-2); max-width: 40ch; }

.forte-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.forte-item { position: relative; border-bottom: 1px solid var(--line-2); }
.forte-item::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--blue);
  transform: scaleX(0); transform-origin: right; transition: transform .9s var(--ease-io);
}
.forte-item:hover::after { transform: scaleX(1); transform-origin: left; }
.forte-item__link {
  display: grid; grid-template-columns: 80px minmax(0, 1.15fr) minmax(0, 1fr) 52px; gap: 24px; align-items: start;
  padding: clamp(26px, 2.6vw, 40px) 0;
}
.forte-item__num { padding-top: .7em; color: var(--mute); transition: color .4s; }
.forte-item__title {
  font-size: clamp(34px, 4.5vw, 76px); font-weight: 500; line-height: .98; letter-spacing: -.045em;
  transition: transform .8s var(--ease-out), color .4s;
}
.forte-item__body { padding-top: .45em; }
.forte-item__desc { color: var(--ink-2); max-width: 44ch; margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.tags li {
  padding: 6px 11px; border: 1px solid var(--line-2); border-radius: 999px;
  font-family: var(--f-mono); font-size: 11px; letter-spacing: .04em; text-transform: uppercase; color: var(--ink-2);
  transition: border-color .4s, color .4s, background-color .4s;
}
.forte-item__arrow {
  width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; margin-top: .3em;
  border: 1px solid var(--line-2); transition: background-color .45s, border-color .45s, color .45s, transform .8s var(--ease-io);
}
.forte-item__arrow svg { width: 18px; height: 18px; }
.forte-item:hover .forte-item__num { color: var(--blue); }
.forte-item:hover .forte-item__title { transform: translateX(14px); color: var(--blue); }
.forte-item:hover .forte-item__arrow { background: var(--blue); border-color: var(--blue); color: #fff; transform: rotate(-45deg); }
.forte-item:hover .tags li { border-color: rgba(20, 116, 176, .35); }
.forte-item__thumb { display: none; }

.forte-preview {
  position: fixed; left: 0; top: 0; z-index: 40; pointer-events: none;
  width: clamp(220px, 19vw, 310px); aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden;
  background: var(--blue-ink); opacity: 0; visibility: hidden;
}
.forte-preview img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; }
.forte-preview__tag {
  position: absolute; left: 12px; bottom: 12px; padding: 8px 12px; border-radius: 999px;
  background: #fff; color: var(--ink); font-family: var(--f-mono); font-size: 11px; letter-spacing: .06em; text-transform: uppercase;
}

/* ==========================================================================
   Quote panel (full-bleed parallax image)
   ========================================================================== */
.quote-panel {
  position: relative; min-height: 100vh; min-height: 112svh; display: flex; align-items: flex-end;
  overflow: hidden; color: #fff; background: var(--blue-ink);
}
.quote-panel__media { position: absolute; inset: -14% 0; }
.quote-panel__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; }
.quote-panel::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(6, 22, 38, .15) 0%, rgba(6, 22, 38, .05) 35%, rgba(6, 22, 38, .72) 100%);
}
.quote-panel__content { position: relative; z-index: 2; padding-bottom: clamp(48px, 7vw, 110px); }
.quote { font-size: clamp(46px, 7.6vw, 136px); font-weight: 500; line-height: .93; letter-spacing: -.05em; max-width: 15ch; }
.quote em { color: #fff; }
.quote-panel__foot {
  display: flex; justify-content: space-between; gap: 24px; margin-top: clamp(40px, 5vw, 72px);
  padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .3); color: rgba(255, 255, 255, .8);
}

/* ==========================================================================
   Process (blue band, horizontal scroll on desktop)
   ========================================================================== */
.process {
  position: relative; overflow: hidden; color: #fff;
  background:
    radial-gradient(90% 70% at 8% 0%, rgba(30, 166, 228, .55) 0%, rgba(30, 166, 228, 0) 60%),
    radial-gradient(70% 80% at 100% 100%, rgba(6, 30, 52, .8) 0%, rgba(6, 30, 52, 0) 70%),
    linear-gradient(160deg, #136fae 0%, #0d548f 45%, #0a3961 100%);
}
.process__mark { position: absolute; right: -8vw; top: 50%; width: 56vw; max-width: 900px; aspect-ratio: 1; transform: translateY(-50%); opacity: .07; pointer-events: none; }
.process__pin {
  position: relative; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(36px, 5vh, 64px); padding: calc(var(--header-h) + 20px) 0 40px;
}
.process__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; }
.process__head p { max-width: 36ch; color: rgba(255, 255, 255, .8); }
/* Default: a wrapping grid. JS adds .process--scroll on desktop for the pinned horizontal track. */
.process__track {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px;
  padding: 0 var(--gutter); list-style: none; margin: 0;
}
.process--scroll .process__track { display: flex; width: max-content; }
.process--scroll .step { width: clamp(290px, 30vw, 460px); }
.process:not(.process--scroll) .process__progress { display: none; }
.step {
  position: relative; display: flex; flex-direction: column; min-height: clamp(300px, 42vh, 460px);
  padding: clamp(22px, 2vw, 30px); border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .045);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
}
.step__top { display: flex; justify-content: space-between; color: rgba(255, 255, 255, .7); }
.step__num {
  font-size: clamp(84px, 9vw, 156px); font-weight: 300; line-height: .85; letter-spacing: -.06em;
  color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .55); margin-top: 18px;
}
.step h3 { margin-top: auto; font-size: clamp(30px, 2.8vw, 44px); font-weight: 500; letter-spacing: -.035em; line-height: 1; }
.step p { margin-top: 12px; color: rgba(255, 255, 255, .78); font-size: 16px; max-width: 34ch; }
.process__progress { margin: 0 var(--gutter); height: 1px; background: rgba(255, 255, 255, .22); }
.process__progress span { display: block; height: 100%; background: #fff; transform: scaleX(0); transform-origin: left; }

/* ==========================================================================
   Leadership & timeline
   ========================================================================== */
.leadership__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(36px, 6vw, 120px); align-items: start; }
/* Portrait sits on the right so the CEO (facing left) looks toward the text */
.leadership__media { position: sticky; top: calc(var(--header-h) + 20px); order: 2; justify-self: end; width: 100%; max-width: 460px; }
.frame { position: relative; margin: 0; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame figcaption {
  position: absolute; left: 14px; bottom: 14px; padding: 9px 13px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
}
.frame--portrait img { position: absolute; inset: 0; }
.frame__color { opacity: 0; transition: opacity .9s var(--ease-out); }
.leadership__media:hover .frame__color { opacity: 1; }
@media (hover: none) { .frame__color { opacity: 1; } }
.frame--portrait figcaption { left: auto; right: 14px; }
/* Candid workshop photo tucked over the portrait's lower-left corner */
.frame--inset {
  position: absolute; left: -18%; bottom: -9%; z-index: 2; width: 46%; aspect-ratio: 1;
  border: 6px solid var(--paper); border-radius: 10px;
  box-shadow: 0 30px 60px -28px rgba(10, 44, 74, .45);
}
.frame--inset figcaption { left: 8px; right: auto; bottom: 8px; padding: 6px 9px; font-size: 10px; }
.leader-name { margin: 6px 0 14px; }
.leader-role { color: var(--blue); margin-bottom: clamp(28px, 3vw, 44px); }
.leadership__body > p:not(.mono):not(.eyebrow) { max-width: 60ch; margin-bottom: 18px; color: var(--ink-2); }
.leadership__body .lede { color: var(--ink); margin-bottom: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 26px 0 40px; }
.chips li { padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; font-size: 14px; background: var(--card); }
.tribute { display: grid; grid-template-columns: auto 1fr; gap: 18px; align-items: center; padding: 22px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.tribute svg { width: 46px; height: 46px; }
.tribute p { color: var(--ink-2); font-size: 15px; }
.tribute strong { color: var(--ink); font-weight: 500; }

.timeline { margin-top: clamp(90px, 11vw, 180px); }
.timeline__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: clamp(36px, 4vw, 60px); }
.timeline__track { position: relative; }
.timeline__list { position: relative; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 20px; list-style: none; margin: 0; padding: 34px 0 0; }
.timeline__line { position: absolute; left: 0; right: 0; top: 4px; height: 1px; background: var(--line-2); }
.timeline__line span { position: absolute; inset: 0; background: var(--blue); transform: scaleX(0); transform-origin: left; }
.timeline__item { position: relative; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: -35px; width: 9px; height: 9px; border-radius: 50%;
  background: var(--paper); border: 1.5px solid var(--blue);
}
.timeline__year { display: block; font-size: clamp(42px, 4.4vw, 76px); font-weight: 300; letter-spacing: -.06em; line-height: .9; margin-bottom: 14px; }
.timeline__item p { color: var(--ink-2); font-size: 16px; max-width: 28ch; }
.timeline__item--now .timeline__year { color: var(--blue); }

/* ==========================================================================
   Clients
   ========================================================================== */
.client-grid {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; list-style: none; margin: 0; padding: 0;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.client { position: relative; display: grid; place-items: center; min-height: clamp(128px, 13.5vw, 230px); padding: 10%; background: var(--card); }
.client img {
  width: auto; height: auto; max-width: 62%; max-height: clamp(44px, 5vw, 76px); object-fit: contain;
  filter: grayscale(1) contrast(1.08); opacity: .58; transition: filter .6s var(--ease-out), opacity .6s var(--ease-out), transform .8s var(--ease-out);
}
.client--wide img { max-width: 76%; }
.client:hover img { filter: none; opacity: 1; transform: scale(1.06); }
.client__name {
  position: absolute; left: 14px; bottom: 12px; color: var(--mute);
  opacity: 0; transform: translateY(6px); transition: opacity .5s var(--ease-out), transform .5s var(--ease-out);
}
.client:hover .client__name { opacity: 1; transform: none; }
.client--cta { background: var(--blue); padding: 0; }
.client--cta a {
  display: flex; flex-direction: column; justify-content: space-between; width: 100%; height: 100%; padding: clamp(18px, 2vw, 28px);
  color: #fff; transition: background-color .5s var(--ease-out);
}
.client--cta a:hover { background: var(--blue-deep); }
.client--cta strong { font-size: clamp(22px, 2vw, 32px); font-weight: 500; letter-spacing: -.03em; line-height: 1.05; }
.client--cta span { display: flex; justify-content: space-between; align-items: center; }
.client--cta svg { width: 22px; height: 22px; transition: transform .6s var(--ease-io); }
.client--cta a:hover svg { transform: rotate(-45deg); }

.marquee { overflow: hidden; margin-top: clamp(64px, 8vw, 120px); border-block: 1px solid var(--line-2); padding: clamp(18px, 2.4vw, 30px) 0; }
.marquee__track { display: flex; width: max-content; animation: marquee 48s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__group { display: flex; align-items: center; gap: clamp(22px, 3vw, 48px); padding-right: clamp(22px, 3vw, 48px); white-space: nowrap; }
.marquee__group span { font-size: clamp(34px, 5vw, 84px); font-weight: 400; letter-spacing: -.045em; line-height: 1.1; }
.marquee__group span:nth-child(4n + 3) { font-family: var(--f-serif); font-style: italic; color: var(--blue); letter-spacing: -.02em; }
.marquee__group svg { width: clamp(26px, 3vw, 46px); height: clamp(26px, 3vw, 46px); flex: none; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   Offices
   ========================================================================== */
.office-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.office__img { position: relative; aspect-ratio: 3 / 4; margin: 0 0 16px; border-radius: var(--radius); overflow: hidden; background: var(--paper-2); }
.office__img img { width: 100%; height: 100%; object-fit: cover; transition: scale 1.4s var(--ease-out); }
.office:hover .office__img img { scale: 1.06; }
.office__tag {
  position: absolute; left: 12px; top: 12px; padding: 7px 11px; border-radius: 999px;
  background: rgba(255, 255, 255, .92); color: var(--ink);
}
.office__meta { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid var(--line-2); color: var(--mute); }
.office__time { display: inline-flex; align-items: center; gap: 8px; color: var(--ink); font-variant-numeric: tabular-nums; }
.office__time::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.office h3 { font-size: clamp(28px, 2.5vw, 42px); font-weight: 500; letter-spacing: -.035em; line-height: 1; margin: 16px 0 8px; }
.office p { color: var(--mute); font-size: 16px; }

/* ==========================================================================
   Contact
   ========================================================================== */
.contact { background: var(--card); border-top: 1px solid var(--line); }
.contact__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(44px, 7vw, 140px); align-items: start; }
.contact__intro h2 { margin-bottom: 30px; }
.contact__intro .lede { max-width: 34ch; margin-bottom: 40px; }
.contact__list { display: grid; gap: 0; list-style: none; padding: 0; margin: 0; max-width: 520px; border-top: 1px solid var(--line-2); }
.contact__list li { display: flex; justify-content: space-between; gap: 20px; padding: 16px 0; border-bottom: 1px solid var(--line-2); }
.contact__list .mono { color: var(--mute); }
.contact__list a { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.contact__list a svg { width: 16px; height: 16px; transition: transform .5s var(--ease-out); }
.contact__list a:hover { color: var(--blue); }
.contact__list a:hover svg { transform: translate(2px, -2px); }

.form { display: grid; gap: 4px; }
.interests { border: 0; padding: 0; margin: 0 0 22px; min-width: 0; }
.interests legend { padding: 0; margin-bottom: 14px; color: var(--mute); }
.interests__wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.chip span {
  display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line-2);
  font-size: 14px; font-weight: 500; transition: background-color .35s, border-color .35s, color .35s;
}
.chip:hover span { border-color: var(--ink); }
.chip input:checked + span { background: var(--blue); border-color: var(--blue); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: 3px; }

.field { position: relative; border-bottom: 1px solid var(--line-2); }
.field::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--blue);
  transform: scaleX(0); transform-origin: left; transition: transform .7s var(--ease-out);
}
.field:focus-within::after { transform: scaleX(1); }
.field input, .field textarea {
  display: block; width: 100%; padding: 30px 0 12px; border: 0; border-radius: 0; background: transparent;
  font-size: 19px; line-height: 1.3; outline: none; resize: none;
}
.field textarea { min-height: 128px; }
.field label {
  position: absolute; left: 0; top: 30px; color: var(--mute); font-size: 19px; line-height: 1.3; pointer-events: none;
  transform-origin: left top; transition: transform .45s var(--ease-out), color .45s var(--ease-out);
}
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.68); color: var(--blue); }
.field.is-invalid::after { background: #c0392b; transform: scaleX(1); }
.field.is-invalid label { color: #c0392b; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 28px; }
.form__actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 30px; }
.form__note { color: var(--mute); font-size: 14px; }
.form__status { min-height: 1.5em; margin-top: 14px; color: var(--blue-deep); font-weight: 500; }
.form__status small { display: block; color: var(--mute); font-weight: 400; }
.form.is-sending .btn { opacity: .6; pointer-events: none; }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  position: relative; overflow: hidden; color: #fff; padding-top: clamp(80px, 10vw, 160px);
  background:
    radial-gradient(80% 90% at 90% 0%, rgba(30, 166, 228, .5) 0%, rgba(30, 166, 228, 0) 60%),
    linear-gradient(170deg, #116aa8 0%, #0c4f88 50%, #08304f 100%);
}
.footer a:not(.btn) { color: rgba(255, 255, 255, .82); transition: color .3s; }
.footer a:not(.btn):hover { color: #fff; }
.footer__top { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 2fr) minmax(0, 3fr) minmax(0, 2fr); gap: 40px; }
.footer__tag { font-size: clamp(38px, 4.8vw, 82px); font-weight: 500; line-height: .96; letter-spacing: -.045em; margin-bottom: 34px; }
.footer__tag em { color: #fff; }
.footer h3 { margin-bottom: 18px; color: rgba(255, 255, 255, .6); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer__offices li { display: flex; justify-content: space-between; gap: 16px; padding-bottom: 10px; border-bottom: 1px solid rgba(255, 255, 255, .16); }
.footer__offices .mono { color: #fff; font-variant-numeric: tabular-nums; }
.footer__word { margin-top: clamp(64px, 9vw, 150px); padding: 0 var(--gutter); }
.footer__word svg { width: 100%; height: auto; color: #fff; overflow: visible; }
.footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-top: clamp(18px, 2vw, 30px);
  padding-top: 20px; padding-bottom: 24px; border-top: 1px solid rgba(255, 255, 255, .18); color: rgba(255, 255, 255, .7);
}
.to-top { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.to-top svg { width: 14px; height: 14px; transform: rotate(-90deg); }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1100px) {
  .nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header__cta .btn { display: none; }
  .hero__bottom { grid-template-columns: minmax(0, 1fr) auto; }
  .hero__clocks { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts .fact:last-child { grid-column: 1 / -1; min-height: 0; }
  .numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .stat:nth-child(n + 3) { border-top: 1px solid var(--line-2); margin-top: 24px; }
  .forte-item__link { grid-template-columns: 56px minmax(0, 1fr) 52px; }
  .forte-item__body { grid-column: 2 / 3; padding-top: 0; }
  .forte-item__arrow { grid-column: 3; grid-row: 1; }
  .section-head h2 { grid-column: 1 / -1; }
  .section-head__lede { grid-column: 1 / span 8; }
  .client-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .office-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; }
  .timeline__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 56px; }
  .timeline__line { display: none; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 899px) {
  .process__pin { min-height: 0; padding: clamp(96px, 16vw, 140px) 0; }
  .process__head { flex-direction: column; align-items: flex-start; }
  .step { min-height: 280px; }
  .leadership__grid { grid-template-columns: 1fr; }
  .leadership__media { position: relative; top: 0; order: 0; justify-self: start; max-width: 440px; margin-bottom: 48px; }
  .frame--portrait figcaption { right: auto; left: 14px; }
  .frame--inset { left: auto; right: -4px; bottom: -40px; width: 40%; }
  .frame--inset figcaption { display: none; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
  :root { --header-h: 66px; --hero-fs: clamp(48px, 15vw, 120px); }
  .logo__mark { width: 32px; height: 32px; }
  .logo__word { height: 16px; }
  .hero__top { font-size: 11px; }
  .hero__top p:last-child { display: none; }
  .hero__card { width: min(78vw, 360px); margin: .2em 0 .22em; }
  .hero__img { object-position: 34% 50%; } /* keep the lectern mic in frame on tall screens */
  .hero__bottom { grid-template-columns: 1fr; gap: 18px; }
  .hero__actions { justify-content: flex-start; }
  .hero__scroll { display: none; }
  .statement { text-indent: 0; }
  .statement-wrap .eyebrow { position: static; }
  .facts { grid-template-columns: 1fr; }
  .fact { min-height: 0; }
  .fact__wire { margin-bottom: 8px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .stat { padding-right: 12px; }
  .stat + .stat { padding-left: 12px; }
  .forte-item__link { grid-template-columns: minmax(0, 1fr) 44px; gap: 14px; }
  .forte-item__num { grid-column: 1 / -1; padding-top: 0; }
  .forte-item__title { grid-column: 1; }
  .forte-item__arrow { grid-column: 2; grid-row: 2; width: 44px; height: 44px; }
  .forte-item__body { grid-column: 1 / -1; }
  .forte-item__thumb { display: block; grid-column: 1 / -1; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
  .forte-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
  .section-head__lede { grid-column: 1 / -1; }
  .quote-panel__foot { flex-direction: column; gap: 6px; }
  .client-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .office-grid { grid-template-columns: 1fr; }
  .office__img { aspect-ratio: 4 / 3; }
  .timeline__list { grid-template-columns: 1fr; row-gap: 36px; padding: 0 0 0 28px; }
  .timeline__list::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
  .timeline__item::before { left: -28px; top: 10px; }
  .timeline__head { flex-direction: column; align-items: flex-start; }
  .form__row { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .marquee__track { animation: none; }
}
