/* =============================================================
   GRC NYU — Global Research and Consulting
   Design system + component styles

   Type:  Bricolage Grotesque (display / headings / labels)
          Newsreader          (body / long-form / lead)
   Colour: cool bond-paper base with a layered GRC palette —
          navy + teal anchor, maroon as the one "point" colour,
          warm greige + pale mist as rotating section grounds,
          a single teal→navy gradient field in the hero.
   ============================================================= */

:root {
  /* ---- Ink / neutrals ---- */
  --ink:        #13224a;   /* body text: deep navy, not black — a colour choice */
  --ink-soft:   #1c2c56;
  --ink-700:    #3a4870;   /* secondary text on light */
  --paper:      #fcfbf8;   /* bond-paper white, barely warm */
  --sand:       #efe3da;   /* warm greige ground — talks to the maroon */
  --mist:       #e6f0f0;   /* pale cool ground — talks to the teal */
  --paper-2:    var(--mist);   /* back-compat alias */
  --paper-3:    #dcebe9;
  --muted:      #5a6478;   /* darkened to clear 4.5:1 on the sand ground, not just paper */
  --muted-dark: #9fb0c8;   /* muted text on navy */
  --line:       #e4ddd2;   /* hairline on paper */
  --line-cool:  #d3e3e2;   /* hairline on mist */
  --line-dark:  #26407e;   /* divider on navy */

  /* ---- GRC brand ---- */
  --navy:        #0a1f5b;
  --navy-soft:   #12296c;
  --teal:        #3db2c1;   /* bright teal — large fields, on-navy accents, gradient stop */
  --teal-deep:   #0e6b78;   /* teal that clears 4.5:1 on paper — links / focus / small type */
  --maroon:      #93243f;   /* the point colour — used sparingly and sharply */
  --maroon-soft: #b24a63;

  --accent:      var(--navy);
  --accent-soft: #8fd6df;   /* teal tint for navy backgrounds */

  /* ---- Gradient field ---- */
  --field: linear-gradient(118deg, rgba(61,178,193,0.16) 0%, rgba(10,31,91,0.12) 52%, rgba(10,31,91,0) 80%);

  /* ---- Spacing / rhythm ---- */
  --container: 1200px;
  --gutter: clamp(1.25rem, 5vw, 3rem);
  --section-y: clamp(3.25rem, 6vw, 5rem);

  /* ---- Motion ---- */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 220ms;

  /* ---- Radius ---- */
  --r-sm: 4px;
  --r-md: 8px;
}

/* =============================================================
   Base
   ============================================================= */
* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Newsreader', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  font-optical-sizing: auto;
  font-size: 1.0625rem;           /* 17px */
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: 'Bricolage Grotesque', 'Bricolage Grotesque Placeholder', system-ui, sans-serif;
  font-weight: 650;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--ink);
  font-optical-sizing: auto;
}
h3, h4 { font-weight: 600; letter-spacing: -0.015em; }

p { margin: 0; }
em { font-style: italic; }          /* real italic carries emphasis, not colour */

a { color: inherit; text-decoration: none; }

img, svg, video { max-width: 100%; display: block; height: auto; }

::selection { background: var(--maroon); color: #fff; }

/* Focus — visible, on-brand, never removed */
:focus-visible {
  outline: 3px solid var(--teal-deep);
  outline-offset: 3px;
  border-radius: 2px;
}
.on-dark :focus-visible,
.site-footer :focus-visible { outline-color: var(--accent-soft); }

/* Skip link */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  background: var(--ink);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: var(--r-sm);
  font-size: 0.875rem;
  transition: top 160ms var(--ease-out);
}
.skip-link:focus { top: 1rem; }

/* =============================================================
   Layout helpers
   ============================================================= */
.container {
  width: 100%;
  /* !important: the Tailwind Play CDN auto-generates its own .container utility
     (with its own 640/768/1024/1280/1536px breakpoints) because the class name
     "container" is used in markup. That inline stylesheet loads after this one,
     so without !important it silently wins and overrides this max-width. */
  max-width: var(--container) !important;
  margin-inline: auto;
  padding-inline: var(--gutter);
}
.container--wide { max-width: 1360px; }
.container--narrow { max-width: 780px; }

.section { padding-block: var(--section-y); position: relative; }
.section[id], [id][data-anchor] { scroll-margin-top: 96px; }
.section--tight { padding-block: clamp(2.25rem, 4.5vw, 3.5rem); }
.section--slim { padding-block: clamp(1.5rem, 4vw, 2.25rem); }
.section--mist, .section--paper2 { background: var(--mist); }
.section--sand { background: var(--sand); }
.section--ink {
  background: var(--navy);
  color: #fff;
}
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: #fff; }

/* Angled gradient seam — used only at a couple of key section changes */
.section--seam::before {
  content: "";
  position: absolute;
  left: 0; right: 0; top: -1px;
  height: 3px;
  background: linear-gradient(90deg, var(--teal) 0%, var(--maroon) 42%, transparent 78%);
  transform: skewY(-0.35deg);
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .section--seam::before { opacity: 0.9; }
}

.stack > * + * { margin-top: 1.15rem; }

/* Section label — sentence case, Bricolage, a short maroon rule as the marker */
.eyebrow {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: var(--maroon);
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}
.section--ink .eyebrow { color: var(--accent-soft); }
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: currentColor;
  display: inline-block;
  flex: none;
}

/* Type scale — Bricolage headings */
.display-1 { font-size: clamp(2.15rem, 5.4vw, 4.2rem); text-wrap: balance; }
.display-2 { font-size: clamp(1.85rem, 4.2vw, 3.1rem); text-wrap: balance; }
.h-lg     { font-size: clamp(1.5rem, 3vw, 2.2rem); }
.lead {
  font-family: 'Newsreader', Georgia, serif;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--ink-700);
}
.section--ink .lead { color: #d7deec; }
.muted { color: var(--muted); }
.section--ink .muted { color: var(--muted-dark); }

/* =============================================================
   Buttons
   ============================================================= */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 48px;
  padding: 0.8rem 1.6rem;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: transform var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out),
              color var(--dur) var(--ease-out),
              border-color var(--dur) var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border-color: var(--navy);
}
.btn--outline:hover { background: var(--navy); color: #fff; }

/* Maroon — the one high-emphasis action (apply / submit) */
.btn--maroon {
  --btn-bg: var(--maroon);
  --btn-fg: #fff;
  border-color: var(--maroon);
}
.btn--maroon:hover { background: #7c1c33; border-color: #7c1c33; }
.on-dark .btn--maroon, .section--ink .btn--maroon {
  --btn-bg: var(--maroon-soft);
  --btn-fg: #fff;
  border-color: var(--maroon-soft);
}

/* Teal variant */
.btn--teal {
  --btn-bg: var(--teal-deep);
  --btn-fg: #fff;
  border-color: var(--teal-deep);
}
.on-dark .btn--teal, .section--ink .btn--teal {
  --btn-bg: var(--teal);
  --btn-fg: var(--navy);
  border-color: var(--teal);
}

.on-dark .btn, .section--ink .btn {
  --btn-bg: #fff;
  --btn-fg: var(--navy);
  border-color: #fff;
}
.on-dark .btn--outline, .section--ink .btn--outline {
  --btn-bg: transparent;
  --btn-fg: #fff;
  border-color: rgba(255,255,255,0.45);
}
.on-dark .btn--outline:hover, .section--ink .btn--outline:hover {
  background: #fff; color: var(--navy); border-color: #fff;
}

/* legacy arrow glyph — hidden if any remain in markup */
.btn__arrow { display: none; }

/* Text link with underline that draws on hover */
.link-underline {
  position: relative;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--teal-deep);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
.section--ink .link-underline { color: var(--accent-soft); }
.link-underline::after {
  content: "";
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 1.5px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease-out);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* =============================================================
   Header / navigation
   ============================================================= */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(252,251,248,0.82);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur) var(--ease-out),
              background-color var(--dur) var(--ease-out);
}
.site-header[data-scrolled="true"] {
  border-bottom-color: var(--line);
  background: rgba(252,251,248,0.96);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: 74px;
}
.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.03em;
  color: var(--ink);
}
.brand__dot { color: var(--maroon); }
.brand__sub {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--muted);
  align-self: center;
  padding-left: 0.55rem;
  border-left: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.nav__link {
  position: relative;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--ink-700);
  border-radius: var(--r-sm);
  transition: color var(--dur) var(--ease-out);
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0.9rem; right: 0.9rem; bottom: 0.35rem;
  height: 1.5px;
  background: var(--teal-deep);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 240ms var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); transform-origin: left; }
.nav__link[aria-current="page"] { color: var(--ink); font-weight: 600; }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  width: 46px; height: 46px;
  align-items: center;
  justify-content: center;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: "";
  display: block;
  width: 20px; height: 2px;
  background: var(--ink);
  transition: transform 240ms var(--ease-out), opacity 160ms linear;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before { position: absolute; top: -6px; }
.nav-toggle__bars::after  { position: absolute; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* Mobile nav panel */
.mobile-nav {
  position: fixed;
  inset: 74px 0 auto 0;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 1.25rem var(--gutter) 2rem;
  display: grid;
  gap: 0.25rem;
  transform: translateY(-12px);
  opacity: 0;
  pointer-events: none;
  transition: transform 260ms var(--ease-out), opacity 200ms var(--ease-out);
  z-index: 99;
  max-height: calc(100dvh - 74px);
  overflow-y: auto;
  box-shadow: 0 32px 40px -24px rgba(16, 16, 16, 0.25);
}
.mobile-nav[data-open="true"] {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-nav a {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  padding: 0.9rem 0.25rem;
  font-size: 1.05rem;
  font-weight: 500;
  border-bottom: 1px solid var(--line);
}
.mobile-nav a[aria-current="page"] { color: var(--maroon); font-weight: 600; }
.mobile-nav .btn { margin-top: 1rem; }

@media (max-width: 940px) {
  .nav { display: none; }
  .nav-toggle { display: inline-flex; }
}

/* =============================================================
   Hero
   ============================================================= */
.hero {
  position: relative;
  padding-block: clamp(2.75rem, 6vw, 5rem) clamp(2.25rem, 5vw, 4rem);
  overflow: hidden;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
}
@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; align-items: start; }
}
.hero__title { max-width: 24ch; }
.hero__title .line { display: block; }
.hero__title .line > span { display: block; }
@media (max-width: 600px) { .hero__title { max-width: none; } }
.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
  padding-top: 1.75rem;
  margin-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }
.hero__media .ph { aspect-ratio: auto; height: clamp(200px, 30vw, 340px); }

/* Hero gradient field — one soft teal→navy wash bleeding off the right.
   This is the single decorative gradient on the site. */
.hero__field {
  position: absolute;
  inset: -10% -15% auto -10%;
  height: 150%;
  z-index: -1;
  background: var(--field);
  filter: blur(2px);
  will-change: transform, opacity;
}
.hero__field::after {
  content: "";
  position: absolute;
  right: 4%;
  top: 6%;
  width: 42vw;
  height: 42vw;
  max-width: 560px;
  max-height: 560px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 50%, rgba(147, 36, 63, 0.12), transparent 70%);
}
.section--ink .hero__field { opacity: 0.5; }

/* =============================================================
   Placeholder media
   ============================================================= */
.ph {
  position: relative;
  background: var(--mist);
  border: 1px solid var(--line-cool);
  border-radius: var(--r-sm);
  overflow: hidden;
  color: var(--teal-deep);
}
.ph::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 15px,
    rgba(10,31,91,0.05) 15px 16px
  );
}
.ph::after {
  content: attr(data-label);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0;
  padding: 0 1rem;
  text-align: center;
}
.ph--4x3  { aspect-ratio: 4 / 3; }
.ph--16x9 { aspect-ratio: 16 / 9; }
.ph--21x9 { aspect-ratio: 21 / 9; }
.ph--1x1  { aspect-ratio: 1 / 1; }
.ph--3x4  { aspect-ratio: 3 / 4; }
.ph--tall { aspect-ratio: 4 / 5; }

/* Duotone — navy→teal, for the hero strip and feature spots */
.ph--duo {
  background: linear-gradient(140deg, var(--navy) 0%, #12507a 55%, var(--teal) 120%);
  border-color: transparent;
  color: rgba(255,255,255,0.85);
}
.ph--duo::before {
  background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255,255,255,0.06) 15px 16px);
}

.ph.on-dark { background: var(--navy-soft); border-color: var(--line-dark); color: var(--muted-dark); }
.ph.on-dark::before { background-image: repeating-linear-gradient(-45deg, transparent 0 15px, rgba(255,255,255,0.05) 15px 16px); }
.ph.on-dark::after { color: var(--muted-dark); }

/* =============================================================
   Cards / grids
   ============================================================= */
.grid { display: grid; gap: 1.5rem; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  position: relative;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  padding: 1.6rem;
  transition: border-color var(--dur) var(--ease-out);
}
.section--mist .card, .section--paper2 .card { border-color: var(--line-cool); }
/* one restrained hover cue: a maroon rule grows along the top edge */
.card--hover::before {
  content: "";
  position: absolute;
  left: -1px; top: -1px;
  height: 3px; width: 0;
  background: var(--maroon);
  transition: width var(--dur) var(--ease-out);
}
.card--hover:hover { border-color: var(--ink); }
.card--hover:hover::before { width: calc(100% + 2px); }
/* legacy 01/02/03 markers — suppressed (content here is a set, not a sequence) */
.card__index { display: none; }
.card h3 { font-size: 1.3rem; margin-block: 0.2rem 0.5rem; }

/* Numbered list row — a genuine sequence (engagement steps) */
.row-list { border-top: 1px solid var(--line); }
.row-list__item {
  display: grid;
  grid-template-columns: 4rem 1fr auto;
  gap: 1.5rem;
  align-items: baseline;
  padding: 1.8rem 0;
  border-bottom: 1px solid var(--line);
}
.row-list__num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  color: var(--maroon);
}
.row-list__body h3 { font-size: 1.35rem; }
.row-list__body p { margin-top: 0.4rem; color: var(--muted); max-width: 60ch; }
@media (max-width: 720px) {
  .row-list__item { grid-template-columns: 2.5rem 1fr; }
  .row-list__item > .row-list__link { grid-column: 2; }
}

/* Facts strip */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }
.stat { padding: 0 1.5rem 0 1.25rem; border-left: 2px solid var(--teal); }
.section--ink .stat { border-left-color: var(--teal); }
@media (max-width: 760px) { .stat { padding-block: 0.75rem; } }
.stat__num {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 650;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 1;
}
.stats--words .stat__num { font-size: clamp(1.3rem, 2.2vw, 1.75rem); line-height: 1.12; }
.stat__label { margin-top: 0.55rem; font-size: 0.9rem; color: var(--muted); }
.section--ink .stat__label { color: var(--muted-dark); }

/* team */
.person__photo { margin-bottom: 0.9rem; }
.person h3 { font-size: 1.12rem; }
.person__role { font-family: 'Bricolage Grotesque', system-ui, sans-serif; font-size: 0.85rem; color: var(--muted); margin-top: 0.2rem; }
.person__photo .ph { transition: transform 400ms var(--ease-out); }
.person:hover .ph { transform: scale(1.03); }
.person__photo { overflow: hidden; border-radius: var(--r-sm); }
.person__photo img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-sm); transition: transform 400ms var(--ease-out); }
.person:hover .person__photo img { transform: scale(1.03); }
.person__photo .ph { aspect-ratio: 4 / 5; }
.person__photo { max-width: 420px; }
@media (prefers-reduced-motion: reduce) { .person:hover .person__photo img, .person:hover .ph { transform: none; } }

/* =============================================================
   Logo marquee
   ============================================================= */
.marquee {
  position: relative;
  overflow: hidden;
  -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;
  gap: clamp(2.5rem, 6vw, 5rem);
  animation: marquee-scroll 38s linear infinite;
}
.marquee:hover .marquee__track,
.marquee:focus-within .marquee__track { animation-play-state: paused; }
.marquee__item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  color: var(--muted);
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.15rem;
  white-space: nowrap;
  opacity: 0.8;
  transition: opacity var(--dur) var(--ease-out), color var(--dur) var(--ease-out);
}
.marquee__item:hover { opacity: 1; color: var(--ink); }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; flex-wrap: wrap; justify-content: center; }
}

/* Logo variant of the marquee — brand mark + firm name chips */
.marquee--logos .marquee__track { animation-duration: 48s; gap: clamp(1.75rem, 4vw, 3rem); align-items: center; }
.logo-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex: none;
  white-space: nowrap;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--muted);
  opacity: 0.85;
  transition: color var(--dur) var(--ease-out), opacity var(--dur) var(--ease-out);
}
.logo-chip:hover { color: var(--ink); opacity: 1; }
.logo-chip img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  object-fit: contain;
  flex: none;
}

/* =============================================================
   Process timeline
   ============================================================= */
.timeline { display: grid; gap: 0; }
.timeline__step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
}
.timeline__marker {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.timeline__dot {
  width: 13px; height: 13px;
  border-radius: 50%;
  border: 2px solid var(--maroon);
  background: var(--paper);
  flex: none;
  margin-top: 6px;
}
.timeline__line { width: 2px; flex: 1; background: var(--line); }
.timeline__step:last-child .timeline__line { display: none; }
.timeline__step h3 { font-size: 1.25rem; }
.timeline__step p { color: var(--muted); margin-top: 0.35rem; max-width: 56ch; }
.timeline__phase {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal-deep);
}
.section--ink .timeline__phase { color: var(--accent-soft); }
.section--ink .timeline__dot { border-color: var(--teal); background: var(--navy); }
.section--ink .timeline__line { background: var(--line-dark); }

/* =============================================================
   FAQ / accordion
   ============================================================= */
.faq { border-top: 1px solid var(--line); }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem 0;
  background: none;
  border: 0;
  text-align: left;
  cursor: pointer;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.faq__icon { flex: none; width: 20px; height: 20px; position: relative; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; background: var(--maroon);
  transition: transform 240ms var(--ease-out), opacity 240ms var(--ease-out);
}
.faq__icon::before { top: 9px; left: 0; width: 20px; height: 2px; }
.faq__icon::after  { left: 9px; top: 0; width: 2px; height: 20px; }
.faq__q[aria-expanded="true"] .faq__icon::after { transform: rotate(90deg); opacity: 0; }
.faq__a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 320ms var(--ease-out);
}
.faq__a-inner { padding-bottom: 1.5rem; color: var(--muted); max-width: 68ch; }
@media (prefers-reduced-motion: reduce) {
  .faq__a { transition: none; }
}

/* =============================================================
   Forms
   ============================================================= */
.field { display: grid; gap: 0.4rem; margin-bottom: 1.3rem; }
.field label {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
}
.field .req { color: var(--maroon); }
.field .hint { font-size: 0.82rem; color: var(--muted); }
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.75rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  transition: border-color var(--dur) var(--ease-out), box-shadow var(--dur) var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal-deep);
  box-shadow: 0 0 0 3px rgba(61, 178, 193, 0.25);
}
.field--error input, .field--error textarea, .field--error select { border-color: var(--destructive, #dc2626); }
.field__error { font-size: 0.8rem; color: #b91c1c; }
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1.1rem;
  border-radius: var(--r-sm);
  font-size: 0.9rem;
  display: none;
}
.form-status[data-state="success"] { display: block; background: #ecfdf3; color: #027a48; border: 1px solid #a6f4c5; }
.form-status[data-state="error"]   { display: block; background: #fef3f2; color: #b42318; border: 1px solid #fecdca; }
.form-status[data-state="pending"] { display: block; background: var(--mist); color: var(--ink-700); border: 1px solid var(--line-cool); }

/* =============================================================
   Footer
   ============================================================= */
.site-footer {
  background: var(--navy);
  color: #c7d0e4;
  padding-block: clamp(2.75rem, 5.5vw, 4.25rem) 2.5rem;
}
.site-footer h4 { color: #fff; }
.site-footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .site-footer__top { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 520px) { .site-footer__top { grid-template-columns: 1fr; } }
.site-footer .brand { color: #fff; }
.footer-col h4 {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  color: #fff;
  margin-bottom: 0.9rem;
}
.footer-col a {
  display: block;
  padding: 0.35rem 0;
  color: #c7d0e4;
  font-size: 0.95rem;
  transition: color var(--dur) var(--ease-out);
}
.footer-col a:hover { color: #fff; }
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.82rem;
  color: var(--muted-dark);
}

/* =============================================================
   Reveal animation (JS-driven, with no-JS fallback)
   ============================================================= */
.no-js [data-reveal],
.no-js [data-reveal-children] > * { opacity: 1 !important; transform: none !important; }

[data-reveal] { opacity: 0; transform: translateY(10px); }
[data-reveal-children] > * { opacity: 0; transform: translateY(10px); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal-children] > * { opacity: 1 !important; transform: none !important; }
}

/* Page-load fade */
.page-fade { opacity: 0; transition: opacity 420ms var(--ease-out); }
.page-fade.is-ready { opacity: 1; }
.no-js .page-fade { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .page-fade { opacity: 1 !important; } }

/* =============================================================
   Utilities
   ============================================================= */
.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }
.maxw-60 { max-width: 60ch; }
.maxw-46 { max-width: 46ch; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 3rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-2 { gap: 1rem; }

/* Small inline icon, colour-matched to surrounding text via currentColor */
.icon-chip {
  display: inline-flex;
  flex: none;
  width: 1em;
  height: 1em;
  background: currentColor;
  -webkit-mask-image: var(--icon);
  mask-image: var(--icon);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}
.eyebrow--icon::before { display: none; }
.eyebrow--icon .icon-chip { width: 1.1em; height: 1.1em; }
.gap-3 { gap: 1.5rem; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.hide-sm { }
@media (max-width: 620px) { .hide-sm { display: none; } }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

.split-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 820px) { .split-head { grid-template-columns: 1fr; align-items: start; } }

.contact-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid aside .card { position: static !important; }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--teal);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal-deep);
  background: rgba(61, 178, 193, 0.08);
}
.section--ink .pill { border-color: var(--line-dark); color: var(--muted-dark); background: transparent; }

/* Spec list — label / value rows (program overviews, fact sheets) */
.spec { border-top: 1px solid var(--line); margin: 0; }
.spec > div {
  display: grid;
  grid-template-columns: 11rem 1fr;
  gap: 0.5rem 1.5rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}
.spec dt {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--maroon);
  margin: 0;
}
.spec dd { margin: 0; color: var(--ink-700); }
.spec dd strong { color: var(--ink); }
@media (max-width: 620px) {
  .spec > div { grid-template-columns: 1fr; gap: 0.2rem; }
}
.program-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
}
@media (max-width: 860px) { .program-grid { grid-template-columns: 1fr; } }
.program-grid--reverse { grid-template-columns: 1fr 1.3fr; }
@media (max-width: 860px) { .program-grid--reverse { grid-template-columns: 1fr; } }
/* WAM's left column is the shorter one, so centering floats "Program overview"
   down into empty space instead of flush against the heading above it. */
.program-grid--top { align-items: start; }

/* SIC "Recent engagements" — real partner logos, evenly spaced */
.engagement-logos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
@media (max-width: 700px) { .engagement-logos { grid-template-columns: repeat(2, 1fr); } }
.engagement-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  padding: 1.5rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  min-height: 140px;
}
.engagement-logo img { height: 52px; width: auto; max-width: 100%; object-fit: contain; }
.engagement-logo span {
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
}

/* Program photo, incorporated into the overview grid rather than a full-width band */
.program-media { margin: 0; }
.program-media img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--mist);
}
@media (max-width: 860px) { .program-media { max-width: 480px; margin-inline: auto; } }

/* Carousel variant — two candid shots crossfading in the same frame, instead of one static photo */
.program-media--carousel { position: relative; aspect-ratio: 4 / 3; }
.program-media--carousel img {
  position: absolute;
  inset: 0;
  height: 100%;
  opacity: 0;
  animation: crossfade 8s infinite;
}
.program-media--carousel img:nth-child(2) { animation-delay: 4s; }
@keyframes crossfade {
  0%, 45% { opacity: 1; }
  55%, 100% { opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .program-media--carousel img { animation: none; opacity: 0; }
  .program-media--carousel img:first-child { opacity: 1; }
}

/* Program tag — acronym label with a colour keyed to the programme */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--teal-deep);
}
.tag::before {
  content: "";
  width: 14px; height: 14px;
  border-radius: 2px;
  background: var(--teal);
  -webkit-mask-image: var(--icon, none);
  mask-image: var(--icon, none);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.tag--navy { color: var(--navy); }
.tag--navy::before { background: var(--navy); }
.tag--maroon { color: var(--maroon); }
.tag--maroon::before { background: var(--maroon); }

/* Larger variant — used as the program-section header label, not the small card badges */
.tag--lg { font-size: 1.15rem; gap: 0.65rem; }
.tag--lg::before { width: 20px; height: 20px; border-radius: 3px; }

/* "Open roles" callout — echoes the deck's filled box */
.roles-box {
  background: var(--navy);
  color: #fff;
  border-radius: var(--r-md);
  padding: 1.6rem 1.8rem;
}
.roles-box h3 { color: #fff; font-size: 1.15rem; }
.roles-box ul { margin: 1rem 0 0; padding: 0; list-style: none; display: grid; gap: 0.9rem; }
.roles-box li { padding-left: 1.1rem; position: relative; color: #dbe4f5; font-size: 0.92rem; line-height: 1.6; }
.roles-box li::before { content: ""; position: absolute; left: 0; top: 0.55em; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.roles-box strong { color: #fff; }


/* =============================================================
   Photography — wide bands + gallery
   Source images are 4:3; CSS crops to 21:9 on desktop, focal
   point set per photo via --fy (vertical %).
   ============================================================= */
.photo-band { margin: 0; }
.photo-band img {
  width: 100%;
  height: auto;
  aspect-ratio: 21 / 9;
  object-fit: cover;
  object-position: 50% var(--fy, 35%);
  border-radius: var(--r-sm);
  background: var(--mist);
}
@media (max-width: 700px) { .photo-band img { aspect-ratio: 4 / 3; } }
.hero__media .photo-band img { aspect-ratio: 21 / 9; }
@media (max-width: 700px) { .hero__media .photo-band img { aspect-ratio: 4 / 3; } }

.mission-photo { margin: 0; }
.mission-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--r-md);
  background: var(--mist);
}

.gallery { column-count: 3; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; }
.gallery img { width: 100%; height: auto; border-radius: var(--r-sm); background: var(--mist); }
@media (max-width: 900px) { .gallery { column-count: 2; } }
@media (max-width: 520px) { .gallery { column-count: 1; } }

.program-grid--single { grid-template-columns: 1fr; max-width: 820px; }

.brand--logo { display: inline-flex; align-items: center; }
.brand--logo img { height: 58px; width: auto; }
@media (max-width: 520px) { .brand--logo img { height: 50px; } }

.brand--footer img { height: 84px; }


/* =============================================================
   Photo hero (home) — full-bleed group photo, faded top and bottom,
   text overlaid. Top fades in from the page ground under the header;
   bottom deepens to navy so white type stays legible.
   ============================================================= */
.hero-photo {
  position: relative;
  min-height: clamp(560px, 88vh, 860px);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
}
.hero-photo__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 18%;
}
.hero-photo__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom,
      var(--paper) 0%,
      rgba(252,251,248,0.55) 7%,
      rgba(252,251,248,0) 24%),
    linear-gradient(to top,
      rgba(10,31,91,0.96) 0%,
      rgba(10,31,91,0.86) 26%,
      rgba(10,31,91,0.45) 52%,
      rgba(10,31,91,0) 74%);
}
.hero-photo__content {
  position: relative;
  z-index: 1;
  padding-block: clamp(6rem, 12vh, 9rem) clamp(2.5rem, 6vw, 4.5rem);
}
.hero-photo .eyebrow { color: var(--accent-soft); }
.hero-photo .hero__title { color: #fff; max-width: 19ch; font-weight: 800; letter-spacing: -0.03em; text-shadow: 0 2px 24px rgba(10,31,91,0.4); }
.hero-photo .display-1 { font-size: clamp(2.8rem, 8vw, 6.4rem); }
.hero-photo .lead { color: #e3eaf7; }
@media (max-width: 700px) {
  .hero-photo { min-height: 100svh; }
  .hero-photo__img { object-position: 44% 0%; height: 62%; }
  .hero-photo__shade {
    background:
      linear-gradient(to bottom, var(--paper) 0%, rgba(252,251,248,0.5) 6%, rgba(252,251,248,0) 20%),
      linear-gradient(to top, rgba(10,31,91,1) 0%, rgba(10,31,91,0.96) 46%, rgba(10,31,91,0.6) 58%, rgba(10,31,91,0) 66%);
  }
}


/* Logo wall — full-colour firm logos in even tiles, last row centred */
.logo-wall {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}
.logo-wall li {
  flex: 0 0 calc((100% - 4rem) / 5);
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 1.25rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: #fff;
  transition: border-color var(--dur) var(--ease-out);
}
.logo-wall li:hover { border-color: var(--navy); }
.logo-wall img { max-width: 100%; height: auto; }
@media (max-width: 1000px) { .logo-wall li { flex-basis: calc((100% - 2rem) / 3); } }
@media (max-width: 560px)  { .logo-wall li { flex-basis: calc((100% - 1rem) / 2); min-height: 96px; padding: 1rem; } }

/* Firm-logo carousel (Team page) */
.marquee--brands .marquee__track { gap: clamp(3rem, 6vw, 5rem); animation-duration: 55s; align-items: center; }
.logo-slide { flex: none; display: flex; align-items: center; }
.logo-slide img { height: auto; max-width: none; }


/* =============================================================
   Program cards (home) — bolder, colour-coded, built to catch the eye
   ============================================================= */
.program-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
@media (max-width: 960px) { .program-cards { grid-template-columns: 1fr; } }

.program-card {
  --pc-accent: var(--navy);
  --pc-glow: rgba(10, 31, 91, 0.32);
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 5px solid var(--pc-accent);
  border-radius: var(--r-md);
  padding: 2.1rem 1.85rem;
  transition: transform 280ms var(--ease-out), box-shadow 280ms var(--ease-out), border-color 280ms var(--ease-out);
}
.program-card:hover {
  transform: translateY(-8px);
  border-color: var(--pc-accent);
  box-shadow: 0 28px 48px -22px var(--pc-glow);
}
.program-card--sic { --pc-accent: var(--teal-deep); --pc-glow: rgba(61, 178, 193, 0.4); }
.program-card--art { --pc-accent: var(--navy); --pc-glow: rgba(10, 31, 91, 0.32); }
.program-card--wam { --pc-accent: var(--maroon); --pc-glow: rgba(147, 36, 63, 0.35); }

.program-card__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: var(--pc-accent);
  color: #fff;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}
.program-card h3 {
  margin-top: 1.1rem;
  font-size: 1.55rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}
.program-card p {
  margin-top: 0.65rem;
  color: var(--muted);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.03rem;
  line-height: 1.5;
}
.program-card__link {
  position: relative;
  display: inline-flex;
  margin-top: 1.25rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--pc-accent);
}
.program-card__link::after {
  content: "";
  position: absolute; left: 0; bottom: -4px; width: 100%; height: 2px;
  background: currentColor; transform: scaleX(0); transform-origin: right;
  transition: transform 240ms var(--ease-out);
}
.program-card:hover .program-card__link::after { transform: scaleX(1); transform-origin: left; }

@media (prefers-reduced-motion: reduce) {
  .program-card, .program-card__link::after { transition: none; }
  .program-card:hover { transform: none; }
}


/* =============================================================
   Values layout (About) — a real photo beside a plain, editorial
   list. No cards: a name, a mark, a line, repeated. Inherently
   equal-spaced since it is one column of rows, not a multi-column
   grid.
   ============================================================= */
.values-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: start;
}
@media (max-width: 860px) { .values-layout { grid-template-columns: 1fr; } }

.values-layout__photo { max-width: 340px; }
.values-layout__photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--r-md);
}
.values-layout__photo figcaption {
  margin-top: 0.75rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}
@media (max-width: 860px) {
  .values-layout__photo { max-width: 320px; margin-inline: auto; }
}

.value-list { margin: 0; border-top: 1px solid var(--line); }
.value-row {
  display: grid;
  grid-template-columns: 11rem 1fr;
  column-gap: 1.5rem;
  align-items: baseline;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}
.value-row dt {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: 'Bricolage Grotesque', system-ui, sans-serif;
  font-weight: 750;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.value-row__mark {
  width: 24px;
  height: 24px;
  flex: none;
  border-radius: 2px;
  background: var(--mark, var(--navy));
  -webkit-mask-image: var(--icon, none);
  mask-image: var(--icon, none);
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}
.value-row dd {
  margin: 0;
  color: var(--muted);
  font-family: 'Newsreader', Georgia, serif;
  font-size: 1.12rem;
  line-height: 1.55;
}
@media (max-width: 620px) {
  .value-row { grid-template-columns: 1fr; row-gap: 0.4rem; padding-block: 1.15rem; }
}
