/* IntrepidX Philosophy Limited — site styles */

@font-face {
  font-family: "Newsreader";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Newsreader";
  font-style: italic;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2-variations"),
       url("../fonts/newsreader-latin-opsz-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-wght-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Source Sans 3";
  font-style: italic;
  font-display: swap;
  font-weight: 200 900;
  src: url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2-variations"),
       url("../fonts/source-sans-3-latin-wght-italic.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url("../fonts/montserrat-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url("../fonts/montserrat-latin-700-normal.woff2") format("woff2");
}

:root {
  --abyss: #020a17;
  --abyss-2: #041227;
  --navy: #052954;
  --navy-2: #0a2f5c;
  --gold: #bf9941;
  --gold-deep: #8c6a1f;
  --gold-light: #d2b062;
  --ivory: #faf8f3;
  --paper: #f2eee5;
  --ink: #2a3342;
  --slate: #5b6472;
  --line: #e2dccf;
  --line-dark: rgba(210, 176, 98, 0.22);
  --tint: #eef1f6;
  --mist: #c9d1dd;
  --mist-2: #97a3b6;
  --cream: #f6f2e9;

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Source Sans 3", "Helvetica Neue", Arial, sans-serif;
  --label: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  --header-h: 84px;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

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

a { color: var(--navy); text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
a:hover { color: var(--gold-deep); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

h1, h2, h3, h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 500;
  color: var(--navy);
  letter-spacing: -0.01em;
  line-height: 1.12;
  text-wrap: balance;
}

p, li, dd, td { text-wrap: pretty; }

::selection { background: var(--gold-light); color: var(--abyss); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--abyss);
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.8rem;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

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

/* ---------- Layout ---------- */

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

.section { padding-block: clamp(72px, 10vw, 136px); position: relative; }
.section--tight { padding-block: clamp(56px, 7vw, 96px); }
.section--paper { background: var(--paper); }
.section--ivory { background: var(--ivory); }
.section--tint { background: var(--tint); }
.section--dark {
  background: var(--abyss);
  color: var(--mist);
}
.section--navy {
  background: var(--navy);
  color: var(--mist);
}
.section--dark h1, .section--dark h2, .section--dark h3,
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--cream); }
.section--dark a, .section--navy a { color: var(--gold-light); }
.section--dark a:hover, .section--navy a:hover { color: var(--cream); }

.eyebrow {
  display: inline-block;
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.section--dark .eyebrow, .section--navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow { color: var(--gold); }

.display-1 {
  font-size: clamp(2.75rem, 6.2vw, 5.4rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  font-weight: 500;
}
.display-2 {
  font-size: clamp(2.1rem, 4.2vw, 3.4rem);
  line-height: 1.06;
  letter-spacing: -0.018em;
}
.display-3 {
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  line-height: 1.15;
}
.h3 { font-size: 1.4rem; line-height: 1.2; }
.lead {
  font-family: var(--serif);
  font-size: clamp(1.18rem, 1.7vw, 1.4rem);
  line-height: 1.5;
  color: var(--navy);
}
.section--dark .lead, .section--navy .lead, .page-hero .lead, .hero .lead { color: var(--mist); }
.muted { color: var(--slate); }
.small { font-size: 0.92rem; }

.section-head { max-width: 760px; margin-bottom: clamp(40px, 5vw, 64px); }
.section-head p { margin-top: 20px; }
.section-head--center { margin-inline: auto; text-align: center; }

.rule-gold {
  width: 64px; height: 2px; background: var(--gold); border: 0; margin: 28px 0;
}

.hatch {
  background-image: repeating-linear-gradient(90deg, rgba(191, 153, 65, 0.38) 0 1px, transparent 1px 12px);
}

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 15px 26px;
  border: 1px solid var(--gold);
  background: var(--gold);
  color: var(--abyss);
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}
.btn:hover { background: transparent; color: var(--gold-light); }
.section--ivory .btn:hover, .section--paper .btn:hover, .section--tint .btn:hover { color: var(--gold-deep); }
.btn--ghost { background: transparent; color: var(--cream); border-color: rgba(246, 242, 233, 0.4); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-light); }
.btn--navy { background: var(--navy); border-color: var(--navy); color: var(--cream); }
.btn--navy:hover { background: transparent; color: var(--navy) !important; }
.btn svg { width: 16px; height: 16px; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--navy);
}
.link-arrow::after {
  content: "";
  width: 28px; height: 1px;
  background: currentColor;
  transition: width 0.3s var(--ease);
}
.link-arrow:hover::after { width: 44px; }
.section--dark .link-arrow, .section--navy .link-arrow { color: var(--gold-light); }

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  transition: background 0.35s var(--ease), box-shadow 0.35s var(--ease), height 0.35s var(--ease);
}
.site-header.is-solid {
  background: rgba(2, 10, 23, 0.94);
  box-shadow: 0 1px 0 var(--line-dark);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  --header-h: 70px;
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: block; line-height: 0; }
.brand img { height: 34px; width: auto; }

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 2.4vw, 34px);
}
.header-nav a {
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(246, 242, 233, 0.82);
  padding-block: 6px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.header-nav a:hover, .header-nav a[aria-current="page"] { color: var(--gold-light); border-bottom-color: var(--gold); }

.menu-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 44px;
  padding: 0 14px 0 16px;
  border: 1px solid rgba(246, 242, 233, 0.28);
  background: rgba(2, 10, 23, 0.35);
  color: var(--cream);
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.menu-btn:hover { border-color: var(--gold); color: var(--gold-light); }
.menu-btn__icon { display: grid; gap: 5px; width: 22px; }
.menu-btn__icon span { display: block; height: 1.5px; background: currentColor; transition: transform 0.3s var(--ease), opacity 0.2s; }
.menu-btn__icon span:nth-child(2) { width: 70%; justify-self: end; }

.header-cluster { display: flex; align-items: center; gap: clamp(18px, 3vw, 40px); }

@media (max-width: 1023px) {
  .header-nav { display: none; }
}

/* ---------- Menu overlay ---------- */

.menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--abyss);
  color: var(--mist);
  display: grid;
  grid-template-rows: auto 1fr auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0s linear 0.4s;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transition: opacity 0.4s var(--ease); }
.menu__bg {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(46vw, 640px);
  pointer-events: none;
  opacity: 0.35;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
  mask-image: linear-gradient(to right, transparent, #000 45%);
}
.menu__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.menu__top {
  position: relative;
  height: var(--header-h);
  display: flex;
  align-items: center;
}
.menu__top .container { display: flex; justify-content: space-between; align-items: center; }
.menu__body { position: relative; display: flex; align-items: center; padding-block: 32px; }
.menu__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
  align-items: start;
}
.menu__primary { list-style: none; margin: 0; padding: 0; counter-reset: m; }
.menu__primary li { counter-increment: m; }
.menu__primary a {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding-block: 6px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  line-height: 1.12;
  color: var(--cream);
  text-decoration: none;
  transition: color 0.2s, transform 0.3s var(--ease);
}
.menu__primary a::before {
  content: counter(m, decimal-leading-zero);
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  color: var(--gold);
  transform: translateY(-0.9em);
}
.menu__primary a:hover, .menu__primary a[aria-current="page"] { color: var(--gold-light); transform: translateX(6px); }
.menu__secondary h2 {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.menu__secondary ul { list-style: none; margin: 0 0 36px; padding: 0; }
.menu__secondary li a {
  display: block;
  padding: 8px 0;
  border-bottom: 1px solid var(--line-dark);
  color: var(--mist);
  text-decoration: none;
  font-size: 1.02rem;
}
.menu__secondary li a:hover { color: var(--gold-light); }
.menu__contact { font-size: 0.98rem; line-height: 1.7; }
.menu__contact a { color: var(--gold-light); text-decoration: none; }
.menu__foot { position: relative; padding-block: 24px 32px; border-top: 1px solid var(--line-dark); }
.menu__foot .container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--label); font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--mist-2); }
.menu-close .menu-btn__icon span:nth-child(1) { transform: translateY(3.25px) rotate(45deg); }
.menu-close .menu-btn__icon span:nth-child(2) { width: 100%; transform: translateY(-3.25px) rotate(-45deg); }

@media (max-width: 800px) {
  .menu__grid { grid-template-columns: 1fr; }
  .menu__bg { width: 100%; opacity: 0.18; }
}

/* ---------- Hero (home) ---------- */

.hero {
  position: relative;
  min-height: max(660px, 100svh);
  background: var(--abyss);
  color: var(--mist);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  isolation: isolate;
}
.hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(60vw, 980px);
  z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 22%, #000 48%), linear-gradient(to top, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,0.6) 22%, #000 48%), linear-gradient(to top, transparent 0%, #000 22%);
  mask-composite: intersect;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; }
.hero__inner {
  flex: 1;
  display: flex;
  align-items: center;
  padding-top: calc(var(--header-h) + 48px);
  padding-bottom: 56px;
}
.hero__content { max-width: 680px; }
.hero h1 { color: var(--cream); }
.hero .lead { margin-top: 28px; max-width: 580px; }
.hero__links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 34px;
  margin-top: 44px;
}
.hero__links a {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  color: var(--cream);
  text-decoration: none;
  font-family: var(--serif);
  font-size: 1.15rem;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(210, 176, 98, 0.35);
  transition: border-color 0.2s, color 0.2s;
}
.hero__links a span {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.hero__links a:hover { color: var(--gold-light); border-bottom-color: var(--gold); }
.hero__bar {
  position: relative;
  border-top: 1px solid var(--line-dark);
}
.hero__bar .container {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  padding-block: 22px 26px;
  font-family: var(--label);
  font-weight: 600;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--mist-2);
}
.hero__bar .tagline { color: var(--gold-light); }
.hero__bar .scroll-cue { justify-self: end; display: inline-flex; align-items: center; gap: 12px; color: var(--mist-2); text-decoration: none; }
.hero__bar .scroll-cue::after { content: ""; width: 1px; height: 26px; background: linear-gradient(var(--gold), transparent); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 51% { transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
.hero__hatch { position: absolute; left: var(--gutter); bottom: 0; width: 96px; height: 120px; z-index: -1; opacity: 0.8; }

@media (max-width: 860px) {
  .hero__media { width: 100%; opacity: 0.42;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 40%); mask-image: linear-gradient(to top, transparent 0%, #000 40%); }
  .hero__media img { object-position: 62% 20%; }
  .hero__bar .container { grid-template-columns: 1fr 1fr; }
  .hero__bar .address { display: none; }
}

/* ---------- Page hero (inner pages) ---------- */

.page-hero {
  position: relative;
  background: var(--abyss);
  color: var(--mist);
  overflow: hidden;
  isolation: isolate;
  padding-top: calc(var(--header-h) + clamp(64px, 9vw, 120px));
  padding-bottom: clamp(64px, 8vw, 104px);
  min-height: min(78svh, 720px);
  display: flex;
  align-items: flex-end;
}
.page-hero__media {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: min(52vw, 820px);
  z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50%);
  mask-image: linear-gradient(to right, transparent 0%, #000 50%);
}
.page-hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.page-hero__content { max-width: 760px; }
.page-hero h1 { color: var(--cream); }
.page-hero .lead { margin-top: 24px; max-width: 640px; }
.page-hero .meta {
  margin-top: 32px;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-family: var(--label); font-weight: 600; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--mist-2);
}
.page-hero .meta strong { color: var(--gold-light); font-weight: 600; }
.crumbs { font-family: var(--label); font-weight: 600; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mist-2); margin-bottom: 22px; }
.crumbs a { color: var(--mist-2); text-decoration: none; }
.crumbs a:hover { color: var(--gold-light); }
.crumbs span[aria-hidden] { margin-inline: 10px; color: var(--gold); }

@media (max-width: 860px) {
  .page-hero__media { width: 100%; opacity: 0.32;
    -webkit-mask-image: linear-gradient(to top, transparent 0%, #000 60%); mask-image: linear-gradient(to top, transparent 0%, #000 60%); }
}

/* ---------- Split (image + text) ---------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(40px, 7vw, 112px);
  align-items: center;
}
.split--reverse { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); }
.split--reverse .split__media { order: 2; }
.split__media { position: relative; }
.split__media .frame { position: relative; background: var(--abyss); aspect-ratio: 4 / 5; overflow: hidden; }
.split__media .frame img { width: 100%; height: 100%; object-fit: cover; }
.split__media .hatch { position: absolute; width: 38%; height: 46%; right: -22px; bottom: -22px; z-index: -1; }
.split__media figcaption { margin-top: 14px; font-size: 0.82rem; color: var(--slate); }
@media (max-width: 900px) {
  .split, .split--reverse { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
  .split__media .frame { aspect-ratio: 4 / 3; }
}

/* ---------- Facts ---------- */

.facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid var(--line);
  margin-top: clamp(56px, 7vw, 88px);
}
.fact { padding: 28px 24px 4px 0; border-right: 1px solid var(--line); padding-left: 24px; }
.fact:first-child { padding-left: 0; }
.fact:last-child { border-right: 0; }
.fact__num { font-family: var(--serif); font-size: clamp(2.4rem, 4vw, 3.4rem); line-height: 1; color: var(--navy); letter-spacing: -0.02em; }
.fact__label { margin-top: 12px; font-size: 0.95rem; color: var(--slate); line-height: 1.45; }
@media (max-width: 820px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact { border-right: 0; padding-left: 0; border-bottom: 1px solid var(--line); padding-bottom: 24px; }
  .fact:nth-child(odd) { border-right: 1px solid var(--line); padding-right: 20px; }
  .fact:nth-child(even) { padding-left: 20px; }
}

/* ---------- Service cards ---------- */

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(28px, 3vw, 40px);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  text-decoration: none;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  min-height: 330px;
}
.service-card__num { font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold-deep); }
.service-card h3 { font-size: clamp(1.45rem, 2vw, 1.75rem); line-height: 1.15; transition: color 0.35s var(--ease); }
.service-card p { margin: 0; color: var(--slate); font-size: 1rem; transition: color 0.35s var(--ease); }
.service-card__lead { margin-top: auto; padding-top: 18px; font-size: 0.9rem; color: var(--slate); border-top: 1px solid var(--line); transition: color 0.35s, border-color 0.35s; }
.service-card__lead strong { display: block; color: var(--navy); font-weight: 600; transition: color 0.35s; }
.service-card__arrow { position: absolute; top: clamp(28px, 3vw, 40px); right: clamp(28px, 3vw, 40px); width: 22px; height: 22px; color: var(--gold-deep); transition: transform 0.35s var(--ease), color 0.35s; }
.service-card:hover { background: var(--navy); color: var(--mist); }
.service-card:hover h3 { color: var(--cream); }
.service-card:hover p { color: var(--mist); }
.service-card:hover .service-card__num { color: var(--gold); }
.service-card:hover .service-card__lead { color: var(--mist-2); border-color: var(--line-dark); }
.service-card:hover .service-card__lead strong { color: var(--gold-light); }
.service-card:hover .service-card__arrow { transform: translate(4px, -4px); color: var(--gold-light); }
@media (max-width: 980px) { .service-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .service-grid { grid-template-columns: 1fr; } .service-card { min-height: 0; } }

.also {
  margin-top: 48px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
}
.also h3 { font-size: 1.3rem; padding-bottom: 12px; border-bottom: 2px solid var(--navy); margin-bottom: 12px; }
.also ul { margin: 0; padding-left: 20px; color: var(--ink); }
.also li { margin-bottom: 6px; }
@media (max-width: 760px) { .also { grid-template-columns: 1fr; } }

/* ---------- Dark band with statue (PCP "skills") ---------- */

.band {
  position: relative;
  background: var(--abyss);
  color: var(--mist);
  overflow: hidden;
  isolation: isolate;
}
.band__media {
  position: absolute;
  top: 0; bottom: 0; right: 0;
  width: min(50vw, 760px);
  z-index: -1;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 45%);
  mask-image: linear-gradient(to right, transparent, #000 45%);
}
.band__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; }
.band__content { max-width: 620px; }
.band h2 { color: var(--cream); }
.reasons { list-style: none; margin: 40px 0 0; padding: 0; counter-reset: r; }
.reasons li {
  counter-increment: r;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 8px 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-dark);
}
.reasons li::before {
  content: counter(r, decimal-leading-zero);
  font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.16em; color: var(--gold);
  padding-top: 6px;
}
.reasons h3 { font-size: 1.28rem; color: var(--cream); margin-bottom: 6px; }
.reasons p { margin: 0; font-size: 0.98rem; color: var(--mist); }
@media (max-width: 900px) {
  .band__media { width: 100%; opacity: 0.25; }
}

/* ---------- Statement ---------- */

.statement { text-align: center; }
.statement blockquote { margin: 0 auto; max-width: 900px; }
.statement blockquote p {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.28;
  color: var(--navy);
  letter-spacing: -0.012em;
}
.statement .rule-gold { margin: 36px auto 22px; }
.statement cite { font-style: normal; font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.statement .mark { width: 72px; margin: 0 auto 32px; opacity: 0.9; }

/* ---------- Work list (PCP "since") ---------- */

.work-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(28px, 4vw, 56px);
}
.work-item { border-top: 2px solid var(--navy); padding-top: 22px; }
.work-item__when { font-family: var(--label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.work-item h3 { font-size: 1.45rem; margin: 12px 0 6px; }
.work-item__role { font-weight: 600; color: var(--navy); font-size: 0.95rem; margin-bottom: 10px; }
.work-item p { color: var(--ink); font-size: 1rem; }
.work-item .tag { display: inline-block; margin-top: 8px; font-size: 0.82rem; color: var(--slate); }
@media (max-width: 900px) { .work-list { grid-template-columns: 1fr; } }

.note {
  margin-top: 48px;
  padding: 24px 28px;
  border-left: 3px solid var(--gold);
  background: rgba(5, 41, 84, 0.04);
  color: var(--ink);
}
.section--dark .note, .section--navy .note { background: rgba(255,255,255,0.04); color: var(--mist); }

/* ---------- People ---------- */

.people-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 2.4vw, 32px);
}
.person-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 18px;
  align-items: start;
  padding: 24px 0;
  border-top: 1px solid var(--line);
}
.monogram {
  width: 72px; height: 72px;
  display: grid; place-items: center;
  background: var(--navy);
  color: var(--gold-light);
  font-family: var(--serif);
  font-size: 1.6rem;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
}
.monogram::after { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 18px; background-image: repeating-linear-gradient(90deg, rgba(191,153,65,0.35) 0 1px, transparent 1px 6px); }
.person-card h3 { font-size: 1.28rem; line-height: 1.2; }
.person-card .role { margin-top: 4px; font-size: 0.95rem; color: var(--gold-deep); font-weight: 600; line-height: 1.4; }
@media (max-width: 980px) { .people-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .people-grid { grid-template-columns: 1fr; } }

.profile {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.profile:first-of-type { border-top: 2px solid var(--navy); }
.profile__head { display: flex; flex-direction: column; gap: 18px; }
.profile__head .monogram { width: 96px; height: 96px; font-size: 2.1rem; }
.profile__head h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); }
.profile__head .role { font-weight: 600; color: var(--gold-deep); line-height: 1.4; }
.profile__quals { font-size: 0.95rem; color: var(--slate); line-height: 1.55; }
.profile__body p { color: var(--ink); }
.profile__areas { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; }
.profile__areas li { font-size: 0.85rem; padding: 5px 12px; border: 1px solid var(--line); background: #fff; color: var(--navy); }
@media (max-width: 820px) { .profile { grid-template-columns: 1fr; } }

/* ---------- Steps ---------- */

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  counter-reset: s;
  border-top: 1px solid var(--line-dark);
}
.steps li {
  counter-increment: s;
  padding: 28px 24px 28px 0;
  border-bottom: 1px solid var(--line-dark);
}
.steps li::before {
  content: counter(s);
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem;
  line-height: 1;
  color: var(--gold);
  margin-bottom: 14px;
}
.steps h3 { font-size: 1.2rem; margin-bottom: 8px; }
.steps p { margin: 0; font-size: 0.98rem; }
.section--ivory .steps, .section--paper .steps { border-top-color: var(--line); }
.section--ivory .steps li, .section--paper .steps li { border-bottom-color: var(--line); }
.section--ivory .steps li::before, .section--paper .steps li::before { color: var(--gold-deep); }
@media (max-width: 980px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- CTA band ---------- */

.cta {
  position: relative;
  background: var(--abyss);
  color: var(--mist);
  overflow: hidden;
  isolation: isolate;
  padding-block: clamp(88px, 12vw, 160px);
}
.cta__media { position: absolute; inset: 0; z-index: -1; }
.cta__media img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; opacity: 0.7; }
.cta__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(2,10,23,0.96) 0%, rgba(2,10,23,0.82) 45%, rgba(2,10,23,0.3) 100%); }
.cta__content { max-width: 640px; }
.cta h2 { color: var(--cream); }
.cta p { margin-top: 22px; font-size: 1.08rem; }
.cta__actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Content blocks (inner pages) ---------- */

.prose { max-width: 760px; }
.prose p { font-size: 1.08rem; }
.prose--cols { max-width: none; column-count: 2; column-gap: 56px; }
.prose--cols p { break-inside: avoid; }
@media (max-width: 820px) { .prose--cols { column-count: 1; } }

.offerings {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 clamp(32px, 5vw, 72px);
}
.offering { padding: 28px 0 30px; border-top: 1px solid var(--line); }
.offering h3 { font-size: 1.45rem; margin-bottom: 10px; }
.offering p { color: var(--ink); }
.offering .experience {
  margin-top: 14px;
  padding: 14px 18px;
  background: var(--tint);
  border-left: 3px solid var(--gold);
  font-size: 0.97rem;
}
.offering .experience strong { color: var(--navy); }
@media (max-width: 820px) { .offerings { grid-template-columns: 1fr; } }

.lead-card {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 22px;
  align-items: start;
  padding: 28px;
  background: #fff;
  border: 1px solid var(--line);
}
.lead-card .monogram { width: 88px; height: 88px; font-size: 1.9rem; }
.lead-card .role { font-family: var(--label); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.lead-card h3 { font-size: 1.45rem; margin: 6px 0 10px; }
.lead-card p { font-size: 1rem; color: var(--ink); }
@media (max-width: 560px) { .lead-card { grid-template-columns: 1fr; } }

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(32px, 6vw, 88px);
  align-items: start;
}
@media (max-width: 900px) { .intro-grid { grid-template-columns: 1fr; } }

.outputs {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 24px;
  padding: 32px clamp(24px, 3vw, 40px);
  background: var(--navy);
  color: var(--mist);
  align-items: baseline;
}
.outputs h3 { color: var(--cream); font-size: 1.4rem; }
.outputs p { margin: 0; font-size: 1.05rem; }
@media (max-width: 700px) { .outputs { grid-template-columns: 1fr; } }

/* ---------- Tables ---------- */

.table-wrap { width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.98rem;
  line-height: 1.5;
  min-width: 640px;
}
.data-table th {
  text-align: left;
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
  padding: 0 18px 12px 0;
  border-bottom: 2px solid var(--navy);
  vertical-align: bottom;
}
.data-table td { padding: 16px 18px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.data-table td:first-child { font-weight: 600; color: var(--navy); }
.data-table .num { text-align: right; white-space: nowrap; padding-right: 0; }
.data-table .title-cell { font-family: var(--serif); font-weight: 500; font-size: 1.2rem; line-height: 1.25; }
.table-caption { margin-top: 14px; font-size: 0.9rem; color: var(--slate); }

.matrix { min-width: 860px; font-size: 0.92rem; }
.matrix th { font-size: 0.6rem; letter-spacing: 0.1em; padding-right: 8px; text-align: center; }
.matrix th:first-child { text-align: left; }
.matrix td { text-align: center; padding: 11px 8px 11px 0; }
.matrix td:first-child { text-align: left; white-space: nowrap; }
.dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; vertical-align: middle; }
.dot--main { background: var(--navy); }
.dot--support { border: 1.5px solid var(--navy); }
.dot--none { width: 10px; height: 1px; background: var(--line); border-radius: 0; }
.legend { display: flex; gap: 24px; flex-wrap: wrap; margin-bottom: 18px; font-size: 0.92rem; color: var(--slate); }
.legend span { display: inline-flex; align-items: center; gap: 8px; }

/* ---------- Case studies ---------- */

.case {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 5vw, 72px);
  padding-block: clamp(40px, 5vw, 64px);
  border-top: 1px solid var(--line);
}
.case:first-of-type { border-top: 2px solid var(--navy); }
.case__meta .service-tag { font-family: var(--label); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); }
.case__meta h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 12px 0 14px; }
.case__meta dl { margin: 0; font-size: 0.95rem; }
.case__meta dt { font-weight: 600; color: var(--navy); margin-top: 10px; }
.case__meta dd { margin: 0; color: var(--slate); }
.case__body h4 { font-family: var(--label); font-weight: 700; font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); margin: 22px 0 8px; }
.case__body h4:first-child { margin-top: 0; }
@media (max-width: 820px) { .case { grid-template-columns: 1fr; } }

/* ---------- Values ---------- */

.values {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.value { padding: 28px 22px 8px 0; }
.value + .value { padding-left: 22px; border-left: 1px solid var(--line-dark); }
.value h3 { font-size: 1.35rem; margin-bottom: 10px; }
.value p { font-size: 0.98rem; margin: 0; }
@media (max-width: 1080px) {
  .values { grid-template-columns: 1fr 1fr; }
  .value, .value + .value { padding: 24px 20px 24px 0; border-left: 0; border-bottom: 1px solid var(--line-dark); }
}
@media (max-width: 600px) { .values { grid-template-columns: 1fr; } }

.vm {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px);
}
.vm h2 { font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 18px; }
.vm p { font-family: var(--serif); font-size: clamp(1.35rem, 2.2vw, 1.8rem); line-height: 1.35; color: var(--navy); }
@media (max-width: 820px) { .vm { grid-template-columns: 1fr; } }

.details {
  margin: 0;
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  border-top: 2px solid var(--navy);
}
.details dt, .details dd { padding: 14px 0; border-bottom: 1px solid var(--line); margin: 0; }
.details dt { font-weight: 600; color: var(--gold-deep); padding-right: 16px; }
@media (max-width: 600px) {
  .details { grid-template-columns: 1fr; }
  .details dt { border-bottom: 0; padding-bottom: 0; }
}

.quality { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 56px; }
.quality div { padding: 18px 0; border-top: 1px solid var(--line); }
.quality strong { display: block; color: var(--navy); font-family: var(--serif); font-weight: 500; font-size: 1.2rem; margin-bottom: 4px; }
@media (max-width: 760px) { .quality { grid-template-columns: 1fr; } }

/* ---------- Map ---------- */

.map-block { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 88px); align-items: center; }
.map-block figure { margin: 0; }
.map-block img { width: 100%; max-width: 440px; margin-inline: auto; }
.map-legend { list-style: none; padding: 0; margin: 0; }
.map-legend li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 14px; padding: 16px 0; border-top: 1px solid var(--line); }
.swatch { width: 16px; height: 16px; margin-top: 5px; }
@media (max-width: 860px) { .map-block { grid-template-columns: 1fr; } }

/* ---------- Service page nav ---------- */

.service-nav { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service-nav a { display: block; padding: 32px 0; text-decoration: none; color: var(--navy); }
.service-nav a + a { text-align: right; border-left: 1px solid var(--line); padding-left: 24px; }
.service-nav a:first-child { padding-right: 24px; }
.service-nav small { display: block; font-family: var(--label); font-weight: 700; font-size: 0.66rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 8px; }
.service-nav span { font-family: var(--serif); font-size: clamp(1.2rem, 2vw, 1.6rem); line-height: 1.2; }
.service-nav a:hover span { color: var(--gold-deep); }

.service-rows { border-top: 2px solid var(--navy); }
.service-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 4fr) minmax(0, 6fr) minmax(0, 2.4fr);
  gap: 24px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--ink);
  align-items: baseline;
  transition: background 0.3s var(--ease), padding 0.3s var(--ease);
}
.service-row__num { font-family: var(--label); font-weight: 700; font-size: 0.72rem; letter-spacing: 0.2em; color: var(--gold-deep); }
.service-row h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
.service-row p { margin: 0; color: var(--slate); }
.service-row__lead { font-size: 0.92rem; color: var(--slate); }
.service-row__lead strong { display: block; color: var(--navy); font-weight: 600; }
.service-row:hover { background: #fff; padding-inline: 18px; }
.service-row:hover h3 { color: var(--gold-deep); }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 8px; }
}

/* ---------- Contact ---------- */

.contact-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 104px); }
.contact-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--navy); }
.contact-list li { padding: 20px 0; border-bottom: 1px solid var(--line); }
.contact-list .k { display: block; font-family: var(--label); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-deep); margin-bottom: 6px; }
.contact-list .v { font-family: var(--serif); font-size: 1.3rem; line-height: 1.4; color: var(--navy); }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

.form { display: grid; gap: 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field label { font-family: var(--label); font-weight: 700; font-size: 0.68rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--navy); }
.field input, .field textarea, .field select {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-bottom: 2px solid var(--navy);
  padding: 13px 14px;
  border-radius: 0;
  transition: border-color 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.form .hint { font-size: 0.9rem; color: var(--slate); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--abyss);
  color: var(--mist-2);
  padding-top: clamp(64px, 8vw, 104px);
  font-size: 0.96rem;
}
.site-footer a { color: var(--mist); text-decoration: none; }
.site-footer a:hover { color: var(--gold-light); }
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 3fr) minmax(0, 3fr) minmax(0, 3fr);
  gap: clamp(32px, 4vw, 56px);
  padding-bottom: clamp(48px, 6vw, 72px);
}
.footer-brand img { width: 200px; }
.footer-brand p { margin-top: 22px; max-width: 300px; }
.site-footer h2 {
  font-family: var(--label);
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 9px; }
.site-footer address { font-style: normal; line-height: 1.75; }
.footer-bottom { border-top: 1px solid var(--line-dark); }
.footer-bottom .container {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 28px;
  padding-block: 22px 28px;
  font-size: 0.85rem;
  color: var(--mist-2);
}
@media (max-width: 980px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- Back to top ---------- */

.to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 90;
  width: 52px; height: 52px;
  display: grid; place-items: center;
  background: var(--abyss);
  color: var(--cream);
  border: 1px solid var(--line-dark);
  text-decoration: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s var(--ease), visibility 0s linear 0.3s, background 0.2s;
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity 0.3s, transform 0.3s var(--ease), background 0.2s; }
.to-top:hover { background: var(--gold); color: var(--abyss); }
.to-top svg { width: 18px; height: 18px; }

/* ---------- Reveal on scroll ---------- */

.js [data-reveal] {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  transition-delay: var(--d, 0s);
}
.js [data-reveal].is-in { opacity: 1; transform: none; }

.hero [data-rise] { animation: rise 1.1s var(--ease) both; animation-delay: var(--d, 0s); }
@keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
.hero__media img, .page-hero__media img { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

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

/* ---------- Print ---------- */

@media print {
  .site-header, .menu, .to-top, .hero__media, .page-hero__media, .cta__media { display: none !important; }
  .hero, .page-hero, .section--dark, .section--navy, .band, .cta, .site-footer { background: #fff !important; color: #000 !important; }
  .hero h1, .page-hero h1, .band h2, .cta h2 { color: var(--navy) !important; }
  .js [data-reveal] { opacity: 1 !important; transform: none !important; }
}

.menu[hidden] { display: none; }
.d1 { --d: 0.08s; } .d2 { --d: 0.16s; } .d3 { --d: 0.24s; } .d4 { --d: 0.32s; } .d5 { --d: 0.4s; } .d6 { --d: 0.48s; }
.swatch--base { background: #bf9941; }
.swatch--led { background: #0a2a55; }
.swatch--team { background: #7f93b3; }
.mt-0 { margin-top: 0; } .mt-s { margin-top: 20px; } .mt-m { margin-top: 40px; } .mt-l { margin-top: clamp(56px, 7vw, 88px); }
.center { text-align: center; }
.credits { list-style: none; padding: 0; margin: 0; font-size: 0.95rem; color: var(--slate); }
.credits li { padding: 10px 0; border-top: 1px solid var(--line); }
.error-page { min-height: 100svh; display: flex; align-items: center; }

/* media wrappers: make <picture> fill its box so object-fit works */
.hero__media picture, .page-hero__media picture, .band__media picture, .cta__media picture,
.menu__bg picture, .split__media .frame picture { width: 100%; height: 100%; }

/* keep the header readable over bright sculpture tops */
.hero::before, .page-hero::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 150px;
  background: linear-gradient(rgba(2, 10, 23, 0.85), rgba(2, 10, 23, 0));
  z-index: 0;
  pointer-events: none;
}
.hero > *, .page-hero > .container { position: relative; z-index: 1; }
.hero > .hero__media, .hero > .hero__hatch { position: absolute; z-index: -1; }

.display-1--long { font-size: clamp(2.4rem, 4.6vw, 4.1rem); line-height: 1.04; }

.frame--logo { display: grid; place-items: center; background: var(--navy) !important; }
.frame--logo picture { width: auto !important; height: auto !important; }
.frame--logo img { width: min(64%, 300px) !important; height: auto !important; object-fit: contain !important; }

/* house style: no initials portraits or decorative numbering */
.person-card { display: block; border-top: 2px solid var(--navy); padding-top: 20px; }
.lead-card { grid-template-columns: 1fr; border-top: 3px solid var(--gold); }
.menu__primary a::before { content: none; }
.reasons li { grid-template-columns: 1fr; }
.reasons li::before { content: none; }

/* four firm contracts on the home page */
.work-list { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(24px, 3vw, 40px); }
@media (max-width: 1100px) { .work-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .work-list { grid-template-columns: 1fr; } }
.data-table td .muted { font-weight: 400; color: var(--slate); }
