/* ==========================================================================
   ICM — design system (ported from the Astro build)
   Trust-first B2B compliance. Restrained, institutional, precise.
   Brand: Navy #031953 · Teal #098996 · Off-white #F2F3F5
   Type:  Poppins SemiBold (headings) · Lora Regular (body)
   ========================================================================== */

/* ---- self-hosted fonts (paths relative to this file) ------------------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-latin-500-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-latin-600-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-normal.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/lora-latin-400-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Lora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/lora-latin-500-normal.woff2') format('woff2');
}

:root {
  color-scheme: light; /* single locked theme — trust-first, no dark mode */

  /* Brand */
  --navy: #031953;
  --teal: #098996;
  --off-white: #f2f3f5;
  --white: #ffffff;

  /* Working palette derived from brand */
  --ink: #1a2540;
  --muted: #56607a;
  --teal-ink: #076e79;
  --navy-700: #0a2668;
  --line: #dfe2e9;
  --line-strong: #c8cdd9;
  --navy-tint: #eef0f6;

  /* On dark (navy) surfaces */
  --on-navy: #eaecf3;
  --on-navy-muted: #9fabc9;
  --on-navy-line: #23386f;

  /* Type scale */
  --font-head: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Lora', Georgia, 'Times New Roman', serif;

  /* Rhythm */
  --wrap: 1180px;
  --wrap-narrow: 760px;
  --gutter: clamp(1.125rem, 4vw, 2.5rem);
  --section-y: clamp(3.5rem, 8vw, 6.5rem);
  --radius: 4px;
  --radius-pill: 999px;

  --focus: 0 0 0 3px rgba(9, 137, 150, 0.35);
}

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

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

@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;
  }
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2rem, 1.4rem + 2.9vw, 3.35rem); }
h2 { font-size: clamp(1.5rem, 1.15rem + 1.7vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.02rem + 0.6vw, 1.4rem); }

p { margin: 0 0 1.1em; max-width: 68ch; }

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

strong { font-weight: 500; color: var(--navy); }

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

:focus-visible {
  outline: none;
  box-shadow: var(--focus);
  border-radius: 2px;
}

/* ---- layout helpers ---------------------------------------------------- */

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

.section { padding-block: var(--section-y); }
.section--line { border-top: 1px solid var(--line); }
.section--tint { background: var(--navy-tint); }
.section--navy { background: var(--navy); color: var(--on-navy); }
.section--navy h1, .section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy a { color: #7fd4dd; }

.eyebrow {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--teal-ink);
  margin: 0 0 1rem;
  display: block;
}
.section--navy .eyebrow { color: #6fc9d3; }

.lede {
  font-size: clamp(1.125rem, 1.02rem + 0.5vw, 1.3rem);
  line-height: 1.6;
  color: var(--ink);
}
.section--navy .lede { color: var(--on-navy); }

/* ---- buttons -------------------------------------------------------------
   Primary CTA is navy/white (13:1) — teal-on-white text fails AA for a
   solid button, so teal stays an accent, never a button fill with white text. */

.btn {
  --btn-bg: var(--navy);
  --btn-fg: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.98rem;
  line-height: 1;
  padding: 0.95rem 1.6rem;
  min-height: 48px;
  border: 1.5px solid var(--btn-bg);
  border-radius: var(--radius);
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.15s ease, border-color 0.15s ease, transform 0.06s ease;
}
.btn:hover { background: var(--navy-700); border-color: var(--navy-700); color: var(--white); }
.btn:active { transform: translateY(1px); }

.btn--ghost { --btn-bg: transparent; --btn-fg: var(--navy); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--white); border-color: var(--navy); color: var(--navy); }

.section--navy .btn { --btn-bg: var(--white); --btn-fg: var(--navy); border-color: var(--white); }
.section--navy .btn:hover { background: #dfe3ee; border-color: #dfe3ee; color: var(--navy); }
.section--navy .btn--ghost { --btn-bg: transparent; --btn-fg: var(--white); border-color: var(--on-navy-line); }
.section--navy .btn--ghost:hover { background: rgba(255,255,255,0.08); border-color: var(--on-navy); color: var(--white); }

.booking { display: inline-flex; flex-direction: column; gap: 0.55rem; }
.booking__note { font-family: var(--font-head); font-size: 0.8rem; color: var(--muted); }
.section--navy .booking__note { color: var(--on-navy-muted); }

/* ---- utilities ------------------------------------------------------------ */

.skip-link {
  position: absolute;
  left: 0.75rem;
  top: 0.55rem;
  z-index: 200;
  transform: translateY(-160%);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(3, 25, 83, 0.2);
  transition: transform 0.15s ease;
}
.skip-link:focus { transform: translateY(0); }

.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;
}

.placeholder-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
  padding: 0.3rem 0.6rem;
}
.placeholder-tag--dark { color: var(--on-navy-muted); border-color: var(--on-navy-line); }

/* ==========================================================================
   Header / navigation
   ========================================================================== */

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  line-height: 1;
  color: var(--navy);
}
.logo__mark { width: 1.35rem; height: 1.35rem; flex: none; }
.logo__mark rect { fill: var(--teal); }
.logo__initials { font-weight: 600; font-size: 1.3rem; letter-spacing: 0.02em; }
.logo__full {
  font-weight: 500;
  font-size: 0.82rem;
  color: var(--muted);
  padding-left: 0.6rem;
  border-left: 1px solid var(--line-strong);
  display: none;
}
@media (min-width: 78rem) { .logo__full { display: inline; } }
.logo--light { color: var(--white); }
.logo--light .logo__initials { color: var(--white); }
.logo--light .logo__full { color: var(--on-navy-muted); border-left-color: var(--on-navy-line); }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: color-mix(in srgb, var(--off-white) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 68px;
}
.site-header__brand { display: inline-flex; text-decoration: none; flex: none; }
.site-header__brand:focus-visible { box-shadow: var(--focus); }

.primary-nav { display: flex; align-items: center; gap: clamp(1.25rem, 3vw, 2.5rem); }
.primary-nav__list {
  display: flex; align-items: center;
  gap: clamp(1rem, 2.6vw, 2rem);
  list-style: none; margin: 0; padding: 0;
}
.primary-nav__list a {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}
.primary-nav__list a:hover { color: var(--navy); border-bottom-color: var(--teal); }
.primary-nav__list a[aria-current='page'] { color: var(--navy); border-bottom-color: var(--teal); }
.primary-nav a.primary-nav__cta { flex: none; padding: 0.7rem 1.1rem; min-height: 42px; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  cursor: pointer;
  touch-action: manipulation;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  content: '';
  display: block;
  width: 20px; height: 2px;
  background: var(--navy);
  transition: transform 0.18s ease, opacity 0.18s ease;
}
.nav-toggle__bars::before { transform: translateY(-6px); }
.nav-toggle__bars::after { transform: translateY(4px); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::before { transform: translateY(1px) rotate(45deg); }
.nav-toggle[aria-expanded='true'] .nav-toggle__bars::after { transform: translateY(-1px) rotate(-45deg); }

@media (max-width: 71.24rem) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem var(--gutter) 1.5rem;
    box-shadow: 0 18px 40px rgba(3, 25, 83, 0.12);
    transform: translateY(-120%);
    transition: transform 0.22s ease;
    max-height: calc(100dvh - 68px);
    overflow-y: auto;
    overscroll-behavior: contain;
  }
  .primary-nav.is-open { transform: translateY(0); }
  .primary-nav__list { flex-direction: column; align-items: stretch; gap: 0; }
  .primary-nav__list a { display: block; padding: 1rem 0; font-size: 1.05rem; border-bottom: 1px solid var(--line); }
  .primary-nav__list a:hover, .primary-nav__list a[aria-current='page'] { border-bottom-color: var(--line); }
  .primary-nav .primary-nav__cta { margin-top: 1.25rem; }
  .primary-nav .primary-nav__cta .btn { width: 100%; padding: 1rem 1.5rem; min-height: 48px; font-size: 0.98rem; }
}
@media (prefers-reduced-motion: reduce) { .primary-nav { transition: none; } }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; }
.site-footer__grid { display: grid; gap: 2.5rem 2rem; grid-template-columns: 1.4fr 1fr 1.2fr 1.2fr; }
@media (max-width: 60rem) {
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 34rem) { .site-footer__grid { grid-template-columns: 1fr; } }

.site-footer__line { margin-top: 1rem; color: var(--on-navy-muted); font-size: 0.95rem; max-width: 34ch; }

.site-footer h2 {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6fc9d3;
  margin: 0 0 1rem;
}
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.site-footer a { color: var(--on-navy); text-decoration: none; font-size: 0.95rem; }
.site-footer a:hover { color: var(--white); text-decoration: underline; }
.site-footer address { font-style: normal; color: var(--on-navy-muted); font-size: 0.9rem; line-height: 1.6; }

.accred-list { gap: 0.5rem !important; }
.accred {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 1rem;
  font-family: var(--font-head);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--on-navy-line);
}
.accred__name { font-weight: 500; font-size: 0.9rem; color: var(--on-navy); }
.accred__state { font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; }
.accred--live .accred__state { color: #7fd4dd; }
.accred--pending .accred__state { color: var(--on-navy-muted); }

.site-footer__legal {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--on-navy-line);
  display: flex; flex-wrap: wrap; justify-content: space-between;
  gap: 0.5rem 1.5rem;
}
.site-footer__legal p { margin: 0; font-size: 0.8rem; color: var(--on-navy-muted); }

/* ==========================================================================
   Page header (Services / Why ICM / FAQ / Team / Contact)
   ========================================================================== */

.page-header { padding-block: clamp(2.5rem, 6vw, 4rem); }
.page-header .lede { color: var(--muted); margin-bottom: 0; }

/* ==========================================================================
   Hand-drawn service sketches
   ========================================================================== */

.service-sketch { width: 52px; height: 52px; display: block; color: var(--navy); overflow: visible; }

/* ==========================================================================
   Compliance news reel
   ========================================================================== */

.reel { background: var(--navy-tint); border-block: 1px solid var(--line); overflow: hidden; }
.reel__inner { display: flex; align-items: center; gap: 1.25rem; min-height: 56px; }

.reel__label {
  flex: none;
  display: flex; align-items: center; gap: 0.55rem;
  margin: 0;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--navy);
}
.reel__ping {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 0 rgba(9, 137, 150, 0.45);
  animation: reel-ping 2.6s ease-out infinite;
}
@keyframes reel-ping {
  0% { box-shadow: 0 0 0 0 rgba(9, 137, 150, 0.45); }
  70%, 100% { box-shadow: 0 0 0 7px rgba(9, 137, 150, 0); }
}
.reel__sample {
  font-weight: 500; font-size: 0.62rem; letter-spacing: 0.06em;
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  border-radius: 2px;
  padding: 0.12rem 0.35rem;
}
.reel__viewport {
  flex: 1; min-width: 0;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0, #000 2rem, #000 calc(100% - 2rem), transparent 100%);
}
.reel__track {
  display: flex; align-items: center; gap: 2.75rem;
  width: max-content;
  margin: 0; padding: 0.5rem 0;
  list-style: none;
  animation: reel-scroll 70s linear infinite;
}
.reel:hover .reel__track, .reel:focus-within .reel__track, .reel.is-paused .reel__track { animation-play-state: paused; }
@keyframes reel-scroll { to { transform: translateX(-50%); } }

.reel__item { flex: none; }
.reel__item a { display: inline-flex; align-items: baseline; gap: 0.7rem; text-decoration: none; white-space: nowrap; }
.reel__tag { font-family: var(--font-head); font-weight: 600; font-size: 0.66rem; letter-spacing: 0.07em; text-transform: uppercase; color: var(--teal-ink); flex: none; }
.reel__title { font-family: var(--font-head); font-weight: 500; font-size: 0.9rem; color: var(--navy); }
.reel__item a:hover .reel__title { text-decoration: underline; text-underline-offset: 0.16em; }
.reel__source { font-family: var(--font-head); font-size: 0.72rem; color: var(--muted); }

.reel__toggle {
  flex: none; width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--white);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  color: var(--navy);
  cursor: pointer;
  touch-action: manipulation;
}
.reel__toggle svg rect, .reel__toggle svg path { fill: currentColor; }
.reel__ico-play { display: none; }
.reel__toggle[aria-pressed='true'] .reel__ico-pause { display: none; }
.reel__toggle[aria-pressed='true'] .reel__ico-play { display: block; }

@media (max-width: 46rem) {
  .reel__sample, .reel__source, .reel__label-rest { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .reel__ping { animation: none; }
  .reel__track { animation: none; }
  .reel__viewport { overflow-x: auto; scrollbar-width: thin; }
  .reel__item[aria-hidden='true'] { display: none; }
  .reel__toggle { display: none; }
}

/* ==========================================================================
   Landing page
   ========================================================================== */

.hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: clamp(30rem, calc(100svh - 68px), 46rem);
  padding-block: clamp(2.5rem, 6vw, 4rem);
  background: var(--off-white);
}
.hero__inner { position: relative; z-index: 2; width: 100%; }
.hero__copy { max-width: 35rem; }
.hero h1 { margin-bottom: 0.65em; }
.hero .lede { color: var(--muted); margin-bottom: 2rem; max-width: 32rem; }
.hero__visual {
  position: absolute;
  inset: 0 0 0 auto;
  width: min(58%, 46rem);
  z-index: 1;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(to left, #000 58%, transparent 100%);
  mask-image: linear-gradient(to left, #000 58%, transparent 100%);
}
.hero__credit {
  position: absolute;
  right: var(--gutter);
  bottom: 0.9rem;
  margin: 0;
  font-family: var(--font-head);
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--off-white);
  padding: 0.25rem 0.55rem;
  border-radius: 2px;
}
@media (max-width: 60rem) {
  .hero { display: block; min-height: 0; padding-block: 2rem clamp(2.5rem, 8vw, 3.5rem); }
  .hero__copy { max-width: none; }
  .hero__visual { width: 100%; opacity: 0.1; -webkit-mask-image: none; mask-image: none; }
  .hero__credit { position: static; margin-top: 1.75rem; }
}

/* hero visual (architectural section) */
.hero-visual { margin: 0; width: 100%; height: 100%; }
.hero-visual svg { width: 100%; height: 100%; display: block; }
.hv-ln, .hv-shell, .hv-slab, .hv-void, .hv-win, .hv-duct, .hv-riser {
  fill: none; stroke: var(--navy); vector-effect: non-scaling-stroke;
}
.hv-ln { stroke-width: 1.5; }
.hv-shell { stroke-width: 2; }
.hv-slab { stroke-width: 1.25; opacity: 0.55; }
.hv-void { stroke-width: 1.25; stroke-dasharray: 4 4; opacity: 0.6; }
.hv-win { stroke-width: 1; opacity: 0.42; }
.hv-duct { fill: var(--navy-tint); stroke-width: 1.25; opacity: 0.75; }
.hv-riser { fill: var(--navy-tint); stroke-width: 1.25; opacity: 0.8; }
.hv-eq { fill: var(--white); stroke: var(--teal); stroke-width: 2; vector-effect: non-scaling-stroke; }
.hv-building { animation: hv-fly 26s ease-in-out infinite alternate; will-change: transform; }
@keyframes hv-fly { from { transform: translateY(4px); } to { transform: translateY(-232px); } }
.hv-survey__line { stroke: var(--teal); stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.hv-survey__glow { stroke: var(--teal); stroke-width: 10; opacity: 0.16; vector-effect: non-scaling-stroke; }
.hv-survey__dot { fill: var(--teal); }
@media (prefers-reduced-motion: reduce) {
  .hv-building { animation: none; transform: translateY(-114px); }
}

.trust { padding-block: clamp(1.75rem, 4vw, 2.75rem); background: var(--white); }
.trust__label { font-family: var(--font-head); font-weight: 600; font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin: 0 0 1rem; }
.trust__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.75rem 2.25rem; }
.trust__item { display: flex; flex-direction: column; gap: 0.15rem; padding-left: 0.9rem; border-left: 2px solid var(--line-strong); }
.trust__item--live { border-left-color: var(--teal); }
.trust__name { font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; color: var(--navy); }
.trust__state { font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.04em; text-transform: uppercase; color: var(--muted); }
.trust__item--live .trust__state { color: var(--teal-ink); }
.trust__foot { margin: 1.25rem 0 0; font-size: 0.9rem; color: var(--muted); max-width: 60ch; }

.stance__inner { padding-block: clamp(1rem, 3vw, 2rem); }
.stance__statement {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: clamp(1.4rem, 1.1rem + 1.6vw, 2.05rem);
  line-height: 1.28;
  color: var(--white);
  letter-spacing: -0.01em;
  margin: 0 0 1.25rem;
  max-width: 24ch;
}
.stance__body { color: var(--on-navy); font-size: 1.08rem; margin: 0; max-width: 62ch; }

.services__head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.services__head .lede { color: var(--muted); margin-bottom: 0; }
.services__grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: var(--line); border: 1px solid var(--line);
}
@media (max-width: 60rem) {
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .svc:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 38rem) { .services__grid { grid-template-columns: 1fr; } }
.svc { background: var(--white); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; gap: 0.6rem; }
.svc .service-sketch { margin: 0.2rem auto 0.9rem; color: var(--navy); }
.svc__title { margin: 0; font-size: 1.08rem; }
.svc__summary { margin: 0; font-size: 0.96rem; color: var(--ink); line-height: 1.55; }
.svc__duty { margin: auto 0 0; padding-top: 0.9rem; font-family: var(--font-head); font-size: 0.76rem; line-height: 1.5; color: var(--muted); }
.services__more { margin: 1.75rem 0 0; font-family: var(--font-head); font-size: 0.98rem; }

.proof__panel { margin-top: 1.5rem; padding: 1.75rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.proof__panel p:last-child { margin-bottom: 0; margin-top: 1rem; color: var(--muted); }

.cta__inner { text-align: center; display: flex; flex-direction: column; align-items: center; }
.cta__inner .lede { color: var(--muted); margin-bottom: 2rem; }

.obj__head { max-width: 42rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.obj__head h2 { max-width: 20ch; }
.obj__head .lede { color: var(--muted); margin-bottom: 0; }
.obj__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-strong); }
.obj__item { display: grid; gap: 0.5rem 2.5rem; padding: 2rem 0; border-bottom: 1px solid var(--line); }
.obj__num { font-family: var(--font-head); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.08em; color: var(--teal-ink); }
.obj__claim { margin: 0; font-family: var(--font-body); font-style: italic; font-size: 1.2rem; line-height: 1.42; color: var(--navy); }
.obj__answer { margin: 0; color: var(--ink); max-width: 64ch; }
@media (min-width: 52rem) {
  .obj__item { grid-template-columns: 2.5rem minmax(0, 20rem) minmax(0, 1fr); align-items: start; }
}
.obj__more { margin: 1.75rem 0 0; font-family: var(--font-head); font-size: 0.95rem; color: var(--muted); }

/* ==========================================================================
   Services page
   ========================================================================== */

.svc-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.svc-row { padding: 1.75rem 0; border-bottom: 1px solid var(--line); }
.svc-row h2 { font-size: 1.3rem; margin-bottom: 0.5rem; }
.svc-row p { margin: 0 0 0.5rem; }
.svc-row__duty { font-family: var(--font-head); font-size: 0.8rem; color: var(--muted); }
@media (min-width: 52rem) {
  .svc-row { display: grid; grid-template-columns: 16rem 1fr; gap: 2.5rem; align-items: start; }
  .svc-row h2 { margin: 0; }
}
.teaser p:last-child { font-family: var(--font-head); font-size: 0.98rem; margin-top: 1.25rem; }

/* ==========================================================================
   Why ICM page
   ========================================================================== */

.why-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem 3rem; grid-template-columns: repeat(2, 1fr); }
@media (max-width: 46rem) { .why-grid { grid-template-columns: 1fr; } }
.why-grid h2 { font-size: 1.2rem; margin-bottom: 0.5rem; }
.why-grid p { margin: 0; }

/* ==========================================================================
   FAQ page
   ========================================================================== */

.faq-group + .faq-group { margin-top: 3.5rem; }
.faq-group > h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
.faq-list { margin: 0; border-top: 1px solid var(--line); }
.faq-item { padding: 1.6rem 0; border-bottom: 1px solid var(--line); }
.faq-item dt { font-family: var(--font-head); font-weight: 600; font-size: 1.05rem; color: var(--navy); margin-bottom: 0.6rem; }
.faq-item dd { margin: 0; color: var(--ink); }
@media (min-width: 52rem) {
  .faq-item { display: grid; grid-template-columns: 1fr 1.5fr; gap: 2.5rem; }
  .faq-item dt { margin-bottom: 0; }
}
.faq-cta { text-align: center; display: flex; flex-direction: column; align-items: center; }
.faq-cta .lede { margin-bottom: 2rem; }

/* ==========================================================================
   Team page
   ========================================================================== */

.team-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 2rem; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 48rem) { .team-grid { grid-template-columns: 1fr; max-width: 22rem; } }
.member__photo { aspect-ratio: 4 / 5; background: var(--navy-tint); border: 1px dashed var(--line-strong); border-radius: var(--radius); margin-bottom: 1rem; object-fit: cover; }
.member h2 { font-size: 1.15rem; margin: 0.75rem 0 0.25rem; }
.member__role { margin: 0; color: var(--muted); font-family: var(--font-head); font-size: 0.9rem; }

/* ==========================================================================
   Contact page
   ========================================================================== */

.contact-grid { display: grid; gap: 3rem; grid-template-columns: 1.5fr 1fr; }
@media (max-width: 52rem) { .contact-grid { grid-template-columns: 1fr; } }
.booking-embed { margin-top: 1.5rem; padding: 2rem; background: var(--white); border: 1px dashed var(--line-strong); border-radius: var(--radius); }
.booking-embed p:nth-child(2) { color: var(--muted); margin: 1rem 0; }
.booking-embed p:last-child { margin: 0; font-family: var(--font-head); }
.contact-direct ul { list-style: none; margin: 0 0 1.5rem; padding: 0; display: grid; gap: 1.25rem; }
.contact-direct__k { display: block; font-family: var(--font-head); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.contact-direct address { font-style: normal; line-height: 1.6; }

/* ==========================================================================
   Room-by-Room page chrome (shared with the retired 2D explorer scaffold)
   ========================================================================== */

.page { max-width: 1400px; margin: 0 auto; padding: clamp(18px, 3vw, 32px) clamp(16px, 4vw, 28px) 48px; }

.js .fallback { display: none; }
.js .page.show-text .fallback { display: block; }

.page-head .eyebrow,
.page-head h1,
.page-head .sub { font-family: var(--font-head); }
.page-head h1 { font-size: clamp(24px, 4vw, 32px); font-weight: 600; color: var(--navy); margin: 0 0 10px; line-height: 1.25; }
.page-head .sub { font-family: var(--font-body); font-size: 16px; color: var(--muted); max-width: 640px; line-height: 1.6; margin: 0; }

.archetypes { display: flex; flex-wrap: wrap; gap: 10px; margin: 16px 0 0; }
.pill {
  font-family: var(--font-head);
  font-size: 14px; font-weight: 500;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--navy);
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.pill.active { background: var(--navy); color: var(--white); }
.pill:disabled { border-color: #c7cbd4; color: #9aa1af; cursor: not-allowed; }

.hint { margin: 14px 0 0; font-size: 13px; color: var(--muted); text-align: center; }
.wt-disclaimer { margin: 12px 0 0; font-size: 0.8rem; font-style: italic; color: var(--muted); text-align: center; }
.wt-text-link {
  font: inherit; font-style: normal;
  color: var(--navy);
  background: none; border: none;
  border-bottom: 1.5px solid var(--teal);
  padding: 0 1px 2px;
  cursor: pointer;
}
.wt-text-link:hover { color: var(--teal); }

.fallback { margin-top: 28px; }
.js .fallback { border-top: 1px solid var(--line); padding-top: 28px; }

.ref-building > h2 { font-family: var(--font-head); font-size: 20px; font-weight: 600; color: var(--navy); margin: 0 0 6px; }
.ref-blurb { font-size: 15px; color: var(--muted); margin: 0 0 24px; max-width: 60ch; }
.ref-room { padding: 20px 0; border-top: 1px solid var(--line); }
.ref-room > h3 { font-family: var(--font-head); font-size: 16px; font-weight: 600; color: var(--navy); margin: 0 0 4px; }
.ref-note { font-size: 14px; color: var(--teal); font-style: italic; margin: 0 0 14px; }
.ref-items { display: grid; gap: 20px 32px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 12px; }
.ref-item > h4 { font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--ink); margin: 0 0 6px; }
.ref-stat { font-size: 14px; line-height: 1.55; margin: 0 0 10px; }
.ref-prov-label { font-family: var(--font-head); font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em; color: var(--muted); margin: 0 0 4px; }
.ref-item ul { margin: 0; padding: 0; list-style: none; }
.ref-item li { font-size: 14px; line-height: 1.5; padding: 4px 0 4px 16px; position: relative; }
.ref-item li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }

/* ==========================================================================
   Room-by-Room — 3D stage + HUD
   ========================================================================== */

.wt-stage {
  position: relative;
  margin: 16px calc(50% - 50vw) 0;
  width: 100vw;
  height: clamp(420px, calc(100dvh - 280px), 780px);
  background: #eceef3;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  touch-action: none;
  user-select: none;
}
.wt-canvas { position: absolute; inset: 0; display: block; width: 100%; height: 100%; cursor: grab; }
.wt-hud { position: absolute; inset: 0; pointer-events: none; font-family: var(--font-head); }
.wt-hud > * { pointer-events: auto; }
.wt-topbar { position: absolute; top: 14px; left: clamp(14px, 4vw, 28px); right: clamp(14px, 4vw, 28px); display: flex; align-items: center; gap: 12px; pointer-events: none; }
.wt-room { font-weight: 600; font-size: 0.95rem; color: var(--navy); background: rgba(255,255,255,0.9); border: 1px solid var(--line); border-radius: 4px; padding: 7px 13px; }
.wt-leave { pointer-events: auto; font-family: inherit; font-weight: 500; font-size: 0.85rem; color: var(--navy); background: rgba(255,255,255,0.9); border: 1.5px solid var(--navy); border-radius: 4px; padding: 7px 13px; cursor: pointer; }
.wt-leave:hover { background: #fff; }
.wt-hint { position: absolute; top: 56px; left: clamp(14px, 4vw, 28px); margin: 0; font-size: 0.78rem; color: var(--muted); background: rgba(255,255,255,0.75); padding: 3px 8px; border-radius: 3px; }
.wt-doors { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; padding: 0 clamp(14px, 4vw, 28px); }
.wt-door-btn { font-family: inherit; font-weight: 500; font-size: 0.85rem; color: #fff; background: var(--navy); border: 1.5px solid var(--navy); border-radius: 4px; padding: 9px 16px; min-height: 40px; cursor: pointer; touch-action: manipulation; }
.wt-door-btn:hover { background: var(--navy-700); }
.wt-door-btn:focus-visible { outline: none; box-shadow: 0 0 0 3px rgba(9, 137, 150, 0.5); }
.wt-tooltip { position: absolute; transform: translate(-50%, -140%); font-size: 0.78rem; font-weight: 500; color: #fff; background: var(--navy); padding: 4px 9px; border-radius: 3px; white-space: nowrap; pointer-events: none; }
.wt-callout { position: absolute; width: 300px; max-width: calc(100vw - 32px); background: #fff; border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 14px 38px rgba(3, 25, 83, 0.22); padding: 18px 20px; }
.wt-callout__x { position: absolute; top: 6px; right: 9px; border: none; background: none; font-size: 22px; line-height: 1; color: var(--muted); cursor: pointer; }
.wt-callout__room { margin: 0 0 3px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.04em; color: var(--teal-ink); }
.wt-callout__title { margin: 0 0 12px; font-size: 1.05rem; font-weight: 600; color: var(--navy); padding-right: 14px; }
.wt-callout__h { margin: 12px 0 4px; font-size: 0.68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted); }
.wt-callout__stat { margin: 0; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.55; color: var(--ink); }
.wt-callout__list { margin: 0; padding: 0; list-style: none; }
.wt-callout__list li { position: relative; padding: 5px 0 5px 15px; font-family: var(--font-body); font-size: 0.9rem; line-height: 1.5; border-bottom: 1px solid #eef0f3; }
.wt-callout__list li:last-child { border-bottom: none; }
.wt-callout__list li::before { content: ''; position: absolute; left: 0; top: 12px; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); }
.wt-overlay { position: absolute; inset: 0; background: #eceef3; opacity: 0; pointer-events: none; }
.wt-fallback-note { margin: 10px 0 0; font-size: 0.8rem; color: var(--muted); }

@media (max-width: 620px) {
  .wt-callout { width: calc(100vw - 32px); }
  .wt-room, .wt-leave { font-size: 0.8rem; padding: 6px 10px; }
}
