/* ==========================================================================
   IRONWOOD CIVIL & INDUSTRIAL GROUP
   Core design system, v1.0
   --------------------------------------------------------------------------
   Principles
   1. Structure over decoration. Hairline rules, hard edges, no glass.
   2. Two typefaces only: Archivo (voice) + Barlow Condensed (utility/data).
   3. Colour is a signal, not wallpaper. Amber = action. Teal = identity.
   4. Photography leads. Type sits on it, never fights it.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Ink / neutrals */
  --ink-900: #0C1013;
  --ink-800: #141A1E;
  --ink-700: #1D252A;
  --ink-600: #29333A;
  --ink-500: #3C4850;
  --slate-400: #5D6B75;
  --slate-300: #85939D;
  --concrete-200: #B9C2C8;
  --concrete-100: #D8DDE1;
  --paper-50: #F6F4F0;
  --paper-100: #EDEAE4;
  --white: #FFFFFF;

  /* Identity */
  --teal-900: #0F2A33;
  --teal-800: #163A46;
  --teal-700: #1E4E5D;
  --teal-600: #2A6A7C;
  --teal-100: #DCE7EA;

  /* Signal */
  --amber-600: #C07A15;
  --amber-500: #E0951F;
  --amber-400: #F0A62E;
  --amber-100: #FBEBD2;
  --rust-600: #97401F;
  --success: #2F7D54;
  --danger: #A32B22;

  /* Type */
  --font-voice: "Archivo", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-data: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Menlo", "Consolas", monospace;

  /* Metrics */
  --wrap: 1240px;
  --wrap-narrow: 860px;
  --gutter: 24px;
  --hair: 1px solid var(--concrete-100);
  --hair-dark: 1px solid rgba(255, 255, 255, 0.14);

  /* Elevation, used sparingly */
  --lift-1: 0 1px 2px rgba(12, 16, 19, 0.06), 0 8px 24px -12px rgba(12, 16, 19, 0.18);
  --lift-2: 0 2px 4px rgba(12, 16, 19, 0.08), 0 24px 48px -20px rgba(12, 16, 19, 0.28);

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { 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;
  font-family: var(--font-voice);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  color: var(--ink-700);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--teal-900); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--amber-400); outline-offset: 2px; }
[hidden] { display: none !important; }

::selection { background: var(--amber-400); color: var(--ink-900); }

/* --------------------------------------------------------------------------
   3. Type scale
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-voice);
  color: var(--ink-900);
  margin: 0 0 0.5em;
  line-height: 1.06;
  letter-spacing: -0.022em;
  font-weight: 700;
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 1.6rem + 3.6vw, 4.6rem); font-weight: 800; letter-spacing: -0.032em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.2vw, 3.1rem); font-weight: 800; letter-spacing: -0.028em; }
h3 { font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.7rem); }
h4 { font-size: 1.12rem; letter-spacing: -0.01em; }
p  { margin: 0 0 1.15em; }
p:last-child { margin-bottom: 0; }
strong { font-weight: 600; color: var(--ink-900); }

.lede {
  font-size: clamp(1.12rem, 1rem + 0.5vw, 1.38rem);
  line-height: 1.55;
  color: var(--ink-600);
  font-weight: 400;
  letter-spacing: -0.008em;
}
.eyebrow {
  font-family: var(--font-data);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amber-600);
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 18px;
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: var(--amber-500);
  flex: none;
}
.eyebrow--plain::before { display: none; }
.eyebrow--light { color: var(--amber-400); }
.idx {
  font-family: var(--font-data);
  font-variant-numeric: tabular-nums;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--slate-400);
}
.mono { font-family: var(--font-mono); font-size: 0.86em; }
.num { font-variant-numeric: tabular-nums; }

/* --------------------------------------------------------------------------
   4. Layout
   -------------------------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: var(--wrap-narrow); }
.section { padding: clamp(64px, 6vw, 116px) 0; }
.section--tight { padding: clamp(44px, 4vw, 72px) 0; }
.section--paper { background: var(--paper-50); }
.section--ink { background: var(--ink-900); color: var(--concrete-200); }
.section--ink h1, .section--ink h2, .section--ink h3, .section--ink h4 { color: var(--white); }
.section--teal { background: var(--teal-900); color: var(--concrete-200); }
.section--teal h1, .section--teal h2, .section--teal h3, .section--teal h4 { color: var(--white); }
.rule { height: 1px; background: var(--concrete-100); border: 0; margin: 0; }
.rule--dark { background: rgba(255,255,255,0.14); }

.section-head { max-width: 760px; margin-bottom: clamp(36px, 3.6vw, 60px); }
.section-head--wide { max-width: 940px; }
.section-head p { color: var(--ink-500); }
.section--ink .section-head p, .section--teal .section-head p { color: var(--concrete-200); }

.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(36px, 5vw, 84px); align-items: start; }
.split--wide-left { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); }
.split--wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); }
.split--center { align-items: center; }

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  --btn-bg: var(--amber-500);
  --btn-fg: var(--ink-900);
  --btn-bd: var(--amber-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 26px;
  font-family: var(--font-data);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid var(--btn-bd);
  border-radius: 2px;
  cursor: pointer;
  transition: background-color 0.16s var(--ease), border-color 0.16s var(--ease),
              color 0.16s var(--ease), transform 0.16s var(--ease);
  white-space: nowrap;
}
.btn:hover { background: var(--amber-600); border-color: var(--amber-600); color: var(--white); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink-900); --btn-bd: var(--concrete-200); }
.btn--ghost:hover { --btn-bg: var(--ink-900); --btn-bd: var(--ink-900); --btn-fg: var(--white); }
.btn--light { --btn-bg: transparent; --btn-fg: var(--white); --btn-bd: rgba(255,255,255,0.38); }
.btn--light:hover { --btn-bg: var(--white); --btn-bd: var(--white); --btn-fg: var(--ink-900); }
.btn--solid-light { --btn-bg: var(--white); --btn-fg: var(--ink-900); --btn-bd: var(--white); }
.btn--solid-light:hover { --btn-bg: var(--amber-500); --btn-bd: var(--amber-500); --btn-fg: var(--ink-900); }
.btn--sm { padding: 10px 16px; font-size: 0.9rem; }
.btn--lg { padding: 18px 34px; font-size: 1.1rem; }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

.txt-link {
  font-family: var(--font-data);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink-900);
  border-bottom: 2px solid var(--amber-500);
  padding-bottom: 3px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  transition: gap 0.18s var(--ease), color 0.18s var(--ease);
}
.txt-link:hover { gap: 15px; color: var(--amber-600); }
.section--ink .txt-link, .section--teal .txt-link { color: var(--white); }

/* --------------------------------------------------------------------------
   6. Header
   -------------------------------------------------------------------------- */
.util {
  background: var(--ink-900);
  color: var(--concrete-200);
  font-family: var(--font-data);
  font-size: 0.86rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.util__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 40px; }
.util__set { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.util a { color: var(--concrete-200); text-decoration: none; }
.util a:hover { color: var(--amber-400); }
.util__flag { display: inline-flex; align-items: center; gap: 8px; }
.util__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--success); box-shadow: 0 0 0 3px rgba(47,125,84,0.25); flex: none; }
.util__dot--off { background: var(--slate-400); box-shadow: none; }

.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,0.97);
  backdrop-filter: saturate(150%) blur(8px);
  border-bottom: var(--hair);
  transition: box-shadow 0.2s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 1px 0 rgba(12,16,19,0.06), 0 10px 30px -22px rgba(12,16,19,0.5); }
.masthead__inner { display: flex; align-items: center; gap: 28px; min-height: 82px; }

.brand { display: flex; align-items: center; gap: 13px; text-decoration: none; flex: none; }
.brand__mark { width: 40px; height: 40px; flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__name {
  font-family: var(--font-voice);
  font-weight: 800;
  font-size: 1.42rem;
  letter-spacing: -0.035em;
  color: var(--ink-900);
}
.brand__sub {
  font-family: var(--font-data);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.19em;
  text-transform: uppercase;
  color: var(--slate-400);
  margin-top: 5px;
}

.nav { margin-left: auto; }
.nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__link {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 10px 14px;
  font-family: var(--font-data);
  font-size: 1.02rem;
  font-weight: 600;
  letter-spacing: 0.075em;
  text-transform: uppercase;
  color: var(--ink-700);
  text-decoration: none;
  border-radius: 2px;
  transition: color 0.15s var(--ease), background-color 0.15s var(--ease);
}
.nav__link:hover, .nav__link[aria-current="page"] { color: var(--ink-900); background: var(--paper-100); }
.nav__link[aria-current="page"] { box-shadow: inset 0 -2px 0 var(--amber-500); }

.has-drop { position: relative; }
.drop {
  position: absolute; top: calc(100% + 10px); left: 0;
  min-width: 320px;
  background: var(--white);
  border: var(--hair);
  border-top: 3px solid var(--amber-500);
  box-shadow: var(--lift-2);
  padding: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.16s var(--ease), transform 0.16s var(--ease), visibility 0.16s;
}
.has-drop:hover .drop, .has-drop:focus-within .drop { opacity: 1; visibility: visible; transform: translateY(0); }
.drop__item {
  display: block; padding: 11px 13px; text-decoration: none; border-radius: 2px;
  transition: background-color 0.14s var(--ease);
}
.drop__item:hover { background: var(--paper-50); }
.drop__item strong { display: block; font-size: 0.99rem; font-weight: 600; letter-spacing: -0.008em; }
.drop__item span { display: block; font-size: 0.86rem; color: var(--slate-400); line-height: 1.45; margin-top: 3px; }

.head-cta { display: flex; align-items: center; gap: 14px; flex: none; }
.head-phone {
  display: flex; flex-direction: column; align-items: flex-end; text-decoration: none; line-height: 1.1;
}
.head-phone__label {
  font-family: var(--font-data); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-400);
}
.head-phone__num {
  font-family: var(--font-voice); font-size: 1.16rem; font-weight: 700;
  letter-spacing: -0.02em; color: var(--ink-900); font-variant-numeric: tabular-nums;
}
.head-phone:hover .head-phone__num { color: var(--amber-600); }

.burger {
  display: none; width: 46px; height: 46px; flex: none;
  background: none; border: var(--hair); border-radius: 2px; cursor: pointer;
  padding: 0; place-items: center;
}
.burger span { display: block; width: 20px; height: 2px; background: var(--ink-900); position: relative; }
.burger span::before, .burger span::after {
  content: ""; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink-900);
}
.burger span::before { top: -6px; } .burger span::after { top: 6px; }

.drawer {
  position: fixed; inset: 0; z-index: 90;
  background: var(--ink-900); color: var(--white);
  padding: 26px var(--gutter) 40px;
  display: flex; flex-direction: column; gap: 8px;
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.3s var(--ease);
}
.drawer[data-open="true"] { transform: translateX(0); }
.drawer__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.drawer__close { background: none; border: var(--hair-dark); color: var(--white); width: 46px; height: 46px; font-size: 1.5rem; line-height: 1; border-radius: 2px; cursor: pointer; }
.drawer a { color: var(--white); text-decoration: none; }
.drawer__link {
  font-family: var(--font-data); font-size: 1.6rem; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 14px 0; border-bottom: var(--hair-dark);
}
.drawer__sub { padding: 8px 0 8px 18px; font-size: 1rem; color: var(--concrete-200); border-bottom: var(--hair-dark); }
.drawer__foot { margin-top: 26px; display: grid; gap: 12px; }

/* --------------------------------------------------------------------------
   7. Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; background: var(--ink-900); color: var(--white); overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.42; }
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,16,19,0.86) 0%, rgba(12,16,19,0.42) 42%, rgba(12,16,19,0.93) 100%),
    linear-gradient(90deg, rgba(12,16,19,0.9) 0%, rgba(12,16,19,0.15) 68%);
}
.hero__inner { position: relative; padding: clamp(72px, 9vw, 148px) 0 clamp(48px, 6vw, 84px); }
.hero h1 { color: var(--white); max-width: 16ch; }
.hero .lede { color: var(--concrete-200); max-width: 56ch; margin-top: 22px; }
.hero__actions { margin-top: 38px; }
.hero__meta {
  position: relative; border-top: var(--hair-dark);
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
}
.hero__meta div { padding: 22px 26px 26px 0; border-right: var(--hair-dark); }
.hero__meta div:last-child { border-right: 0; }
.hero__meta dt {
  font-family: var(--font-data); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 7px;
}
.hero__meta dd { margin: 0; font-size: 1.5rem; font-weight: 700; letter-spacing: -0.03em; color: var(--white); font-variant-numeric: tabular-nums; }

.hero--compact .hero__inner { padding: clamp(52px, 6vw, 92px) 0 clamp(40px, 4vw, 60px); }
.pagehead { background: var(--ink-900); color: var(--white); position: relative; overflow: hidden; }
.pagehead__media { position: absolute; inset: 0; }
.pagehead__media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.pagehead__scrim { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(12,16,19,0.95) 0%, rgba(12,16,19,0.6) 100%); }
.pagehead__inner { position: relative; padding: clamp(52px, 6vw, 96px) 0; }
.pagehead h1 { max-width: 22ch; font-size: clamp(2.2rem, 1.5rem + 2.6vw, 3.6rem); color: var(--white); }
/* The page title sits on the dark scrim above, and the global heading rule sets
   ink, so the colour has to be restated here or the h1 disappears into the
   background on every inner page. */
.pagehead .lede { color: var(--concrete-200); max-width: 62ch; margin-top: 18px; }
.crumbs { font-family: var(--font-data); font-size: 0.82rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-300); margin-bottom: 20px; }
.crumbs a { color: var(--concrete-200); text-decoration: none; }
.crumbs a:hover { color: var(--amber-400); }
.crumbs span { margin: 0 10px; color: var(--slate-400); }

/* --------------------------------------------------------------------------
   8. Cards, grids, lists
   -------------------------------------------------------------------------- */
.grid { display: grid; gap: 1px; background: var(--concrete-100); border: var(--hair); }
.grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid--plain { gap: 26px; background: none; border: 0; }

.cell { background: var(--white); padding: clamp(26px, 2.4vw, 38px); display: flex; flex-direction: column; }
.cell__idx { font-family: var(--font-data); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.16em; color: var(--amber-600); margin-bottom: 20px; }
.cell h3 { margin-bottom: 12px; }
.cell p { color: var(--ink-500); font-size: 0.98rem; line-height: 1.6; }
.cell__list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 8px; }
.cell__list li { font-size: 0.93rem; color: var(--ink-500); padding-left: 20px; position: relative; }
.cell__list li::before {
  content: ""; position: absolute; left: 0; top: 0.62em;
  width: 8px; height: 1px; background: var(--amber-500);
}
.cell__foot { margin-top: auto; padding-top: 22px; }

.card { background: var(--white); border: var(--hair); display: flex; flex-direction: column; }
.card__media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--ink-800); position: relative; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.card:hover .card__media img { transform: scale(1.035); }
.card__tag {
  position: absolute; left: 0; bottom: 0;
  background: var(--amber-500); color: var(--ink-900);
  font-family: var(--font-data); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase;
  padding: 7px 13px;
}
.card__body { padding: 26px 26px 30px; display: flex; flex-direction: column; flex: 1; }
.card__kicker {
  font-family: var(--font-data); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--slate-400); margin-bottom: 11px;
}
.card__body h3 { font-size: 1.28rem; margin-bottom: 9px; }
.card__body p { font-size: 0.96rem; color: var(--ink-500); }
.card__facts { list-style: none; margin: 20px 0 0; padding: 18px 0 0; border-top: var(--hair); display: grid; gap: 9px; }
.card__facts li { display: flex; justify-content: space-between; gap: 14px; font-size: 0.9rem; }
.card__facts dt, .card__facts b { color: var(--slate-400); font-weight: 500; font-family: var(--font-data); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.82rem; }
.card__facts span, .card__facts em { font-style: normal; color: var(--ink-900); font-weight: 500; text-align: right; }
.card__body .txt-link { margin-top: 22px; align-self: flex-start; }

.tile { border: var(--hair); padding: 24px; background: var(--white); }
.tile h4 { margin-bottom: 8px; }
.tile p { font-size: 0.93rem; color: var(--ink-500); }

.statband { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: var(--hair); border-bottom: var(--hair); }
.section--ink .statband, .section--teal .statband { border-color: rgba(255,255,255,0.14); }
.stat { padding: 34px 26px; border-right: var(--hair); }
.section--ink .stat, .section--teal .stat { border-color: rgba(255,255,255,0.14); }
.stat:last-child { border-right: 0; }
.stat__num {
  font-size: clamp(2.1rem, 1.5rem + 2vw, 3.1rem); font-weight: 800; letter-spacing: -0.04em;
  color: var(--ink-900); line-height: 1; font-variant-numeric: tabular-nums; display: block;
}
.section--ink .stat__num, .section--teal .stat__num { color: var(--white); }
.stat__label {
  font-family: var(--font-data); font-size: 0.84rem; font-weight: 600;
  letter-spacing: 0.13em; text-transform: uppercase; color: var(--slate-400); margin-top: 12px; display: block;
}
.stat__note { font-size: 0.86rem; color: var(--slate-400); margin-top: 6px; }

.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 30px; color: var(--ink-600); }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 0.52em;
  width: 12px; height: 7px;
  border-left: 2px solid var(--amber-500);
  border-bottom: 2px solid var(--amber-500);
  transform: rotate(-45deg);
}
.section--ink .ticks li, .section--teal .ticks li { color: var(--concrete-200); }

/* Timeline */
.timeline { list-style: none; margin: 0; padding: 0; border-left: 2px solid var(--concrete-100); }
.timeline li { position: relative; padding: 0 0 40px 34px; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: ""; position: absolute; left: -8px; top: 6px;
  width: 14px; height: 14px; background: var(--white); border: 2px solid var(--amber-500);
}
.timeline__yr {
  font-family: var(--font-data); font-size: 0.88rem; font-weight: 600;
  letter-spacing: 0.15em; color: var(--amber-600); display: block; margin-bottom: 7px;
}
.timeline h4 { margin-bottom: 7px; }
.timeline p { font-size: 0.97rem; color: var(--ink-500); }

/* Accordion */
.acc { border-top: var(--hair); }
.acc__item { border-bottom: var(--hair); }
.acc__btn {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 24px 56px 24px 0; position: relative;
  font-family: var(--font-voice); font-size: 1.13rem; font-weight: 600;
  letter-spacing: -0.014em; color: var(--ink-900); line-height: 1.35;
}
.acc__btn::after {
  content: ""; position: absolute; right: 8px; top: 50%; width: 13px; height: 13px;
  border-right: 2px solid var(--ink-900); border-bottom: 2px solid var(--ink-900);
  transform: translateY(-70%) rotate(45deg); transition: transform 0.22s var(--ease);
}
.acc__item[data-open="true"] .acc__btn::after { transform: translateY(-30%) rotate(-135deg); }
.acc__panel { overflow: hidden; height: 0; transition: height 0.26s var(--ease); }
.acc__panel > div { padding: 0 60px 26px 0; color: var(--ink-500); font-size: 0.99rem; }

/* Table */
.tbl-wrap { overflow-x: auto; border: var(--hair); }
table.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
table.tbl caption { text-align: left; padding: 16px 18px; font-family: var(--font-data); letter-spacing: 0.12em; text-transform: uppercase; font-size: 0.82rem; color: var(--slate-400); border-bottom: var(--hair); }
table.tbl th, table.tbl td { padding: 13px 18px; text-align: left; border-bottom: var(--hair); vertical-align: top; }
table.tbl thead th {
  font-family: var(--font-data); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--slate-400);
  background: var(--paper-50); white-space: nowrap;
}
table.tbl tbody tr:last-child td { border-bottom: 0; }
table.tbl tbody tr:hover { background: var(--paper-50); }

/* --------------------------------------------------------------------------
   9. Forms
   -------------------------------------------------------------------------- */
.form { display: grid; gap: 22px; }
.form--2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--font-data); font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-700);
}
.field label .req { color: var(--danger); }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px;
  border: 1px solid var(--concrete-200); border-radius: 2px;
  background: var(--white); font-size: 1rem; color: var(--ink-900);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.field textarea { resize: vertical; min-height: 140px; line-height: 1.6; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235D6B75' stroke-width='1.8' fill='none'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 15px center; background-size: 12px; padding-right: 42px; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--slate-400); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--teal-700); box-shadow: 0 0 0 3px rgba(30,78,93,0.14); }
.field__hint { font-size: 0.86rem; color: var(--slate-400); }
.field__err { font-size: 0.86rem; color: var(--danger); font-weight: 500; }
.field input[aria-invalid="true"], .field textarea[aria-invalid="true"], .field select[aria-invalid="true"] { border-color: var(--danger); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.93rem; color: var(--ink-500); }
.check input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--teal-700); }
.hp { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.formstatus { padding: 15px 18px; border-left: 3px solid var(--success); background: #EFF7F1; font-size: 0.96rem; }
.formstatus--err { border-color: var(--danger); background: #FBF0EF; }

/* --------------------------------------------------------------------------
   10. Callouts / bands / footer
   -------------------------------------------------------------------------- */
.callout { border-left: 4px solid var(--amber-500); background: var(--paper-50); padding: 26px 30px; }
.callout h4 { margin-bottom: 8px; }
.callout p { font-size: 0.97rem; color: var(--ink-500); }
.callout--ink { background: var(--ink-800); border-left-color: var(--amber-500); }
.callout--ink p { color: var(--concrete-200); }

.cta-band { background: var(--teal-900); color: var(--white); position: relative; overflow: hidden; }
.cta-band__inner { padding: clamp(52px, 5.5vw, 88px) 0; display: grid; grid-template-columns: minmax(0,1.4fr) minmax(0,1fr); gap: 48px; align-items: center; position: relative; }
.cta-band h2 { color: var(--white); margin-bottom: 14px; }
.cta-band p { color: var(--concrete-200); }
.cta-band__actions { display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.cta-band__phone {
  display: flex; flex-direction: column; text-decoration: none; color: var(--white);
  border-left: 3px solid var(--amber-500); padding-left: 18px;
}
.cta-band__phone small { font-family: var(--font-data); font-size: 0.84rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--slate-300); }
.cta-band__phone b { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.3rem); font-weight: 800; letter-spacing: -0.035em; font-variant-numeric: tabular-nums; }

.foot { background: var(--ink-900); color: var(--slate-300); padding: clamp(58px, 5vw, 86px) 0 0; }
.foot a { color: var(--concrete-200); text-decoration: none; }
.foot a:hover { color: var(--amber-400); }
.foot__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr; gap: 40px 32px; }
.foot__brand .brand__name { color: var(--white); }
.foot__brand p { font-size: 0.93rem; line-height: 1.6; margin-top: 18px; max-width: 34ch; }
.foot h5 {
  font-family: var(--font-data); font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.15em; text-transform: uppercase; color: var(--white); margin-bottom: 18px;
}
.foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.94rem; }
.foot__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.badge {
  font-family: var(--font-data); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.2); padding: 5px 10px; color: var(--concrete-200);
}
.foot__legal {
  margin-top: clamp(44px, 4vw, 66px); border-top: var(--hair-dark); padding: 26px 0 34px;
  display: flex; flex-wrap: wrap; gap: 16px 30px; justify-content: space-between;
  font-size: 0.87rem; color: var(--slate-400);
}
.foot__legal nav { display: flex; flex-wrap: wrap; gap: 22px; }

/* --------------------------------------------------------------------------
   11. Utilities
   -------------------------------------------------------------------------- */
.mt-0 { margin-top: 0; } .mt-1 { margin-top: 12px; } .mt-2 { margin-top: 24px; } .mt-3 { margin-top: 38px; } .mt-4 { margin-top: 56px; }
.mb-0 { margin-bottom: 0; } .mb-2 { margin-bottom: 24px; } .mb-3 { margin-bottom: 38px; }
.center { text-align: center; }
.mx-auto { margin-inline: auto; }
.measure { max-width: 68ch; }
.measure-narrow { max-width: 54ch; }
.muted { color: var(--slate-400); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--amber-500); color: var(--ink-900); padding: 14px 22px; font-weight: 600;
}
.skip:focus { left: 0; }
.hazard { height: 6px; background: repeating-linear-gradient(135deg, var(--amber-500) 0 14px, var(--ink-900) 14px 28px); }

/* Reveal on scroll */
[data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease), transform 0.6s var(--ease); }
[data-reveal].is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .card__media img, .btn { transition: none; }
}

/* --------------------------------------------------------------------------
   12. Responsive
   -------------------------------------------------------------------------- */
/* Nine primary tabs need more room than the original eight. The wrap is capped
   at 1240px, so the header has the same room at 1920 as at 1440: the tabs are
   tightened at every desktop width, the phone block drops once the viewport can
   no longer hold it, and the masthead never spills past the wrap. */
@media (min-width: 1101px) {
  .nav__link { padding: 10px 9px; letter-spacing: 0.045em; }
  .nav__list { gap: 0; }
}
@media (max-width: 1340px) and (min-width: 1101px) {
  .head-phone { display: none; }
  .head-cta .btn { padding-left: 16px; padding-right: 16px; }
}
@media (max-width: 1180px) and (min-width: 1101px) {
  .masthead__inner { gap: 16px; }
}
/* On a narrow phone the header button goes: the drawer carries the same
   'Request a bid' and call actions, and the burger has to stay reachable. */
@media (max-width: 560px) {
  .head-cta .btn { display: none; }
}

@media (max-width: 1100px) {
  .nav, .head-phone { display: none; }
  .burger { display: grid; }
  .head-cta { margin-left: auto; }
  .foot__grid { grid-template-columns: 1fr 1fr 1fr; }
  .foot__brand { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .split, .split--wide-left, .split--wide-right, .cta-band__inner { grid-template-columns: minmax(0,1fr); }
  .grid--3, .grid--4 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .statband { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .stat:nth-child(2n) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: var(--hair); }
  .hero__meta { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .hero__meta div:nth-child(2n) { border-right: 0; }
  .hero__meta div:nth-child(-n+2) { border-bottom: var(--hair-dark); }
  .form--2 { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 640px) {
  :root { --gutter: 18px; }
  body { font-size: 16px; }
  .grid--2, .grid--3, .grid--4 { grid-template-columns: minmax(0,1fr); }
  .foot__grid { grid-template-columns: 1fr 1fr; }
  .util__set--hide-sm { display: none; }
  .acc__panel > div { padding-right: 20px; }
  .hero__meta { grid-template-columns: minmax(0,1fr); }
  .hero__meta div { border-right: 0; border-bottom: var(--hair-dark); padding-right: 0; }
}

/* --------------------------------------------------------------------------
   13. Print
   -------------------------------------------------------------------------- */
@media print {
  .masthead, .util, .drawer, .cta-band, .foot__legal nav { display: none !important; }
  body { color: #000; background: #fff; font-size: 11pt; }
  .hero, .pagehead, .section--ink, .section--teal { background: #fff !important; color: #000 !important; }
  .hero h1, .pagehead h1, .section--ink h2, .section--teal h2 { color: #000 !important; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  a { text-decoration: underline; }
  .section { padding: 18px 0; }
}

/* --------------------------------------------------------------------------
   14. Additions, filtering, case studies, prose, call widget
   -------------------------------------------------------------------------- */

/* The hidden attribute must win over component display rules. */
[hidden] { display: none !important; }

/* Filter bar ------------------------------------------------------------- */
.filterbar {
  display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px;
  justify-content: space-between;
  border: var(--hair); background: var(--paper-50);
  padding: 22px 26px;
}
.filterbar__fields { display: flex; flex-wrap: wrap; gap: 20px; flex: 1 1 420px; }
.filterbar__fields .field { flex: 1 1 200px; max-width: 280px; }
.filterbar__count {
  font-family: var(--font-data); font-size: 0.9rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate-400); margin: 0 0 4px;
}
.filterbar__count strong { color: var(--ink-900); font-size: 1.05rem; }
.section--ink .filterbar { background: var(--ink-800); border-color: rgba(255,255,255,0.14); }
.section--ink .filterbar .field label { color: var(--concrete-200); }

/* Case study blocks ------------------------------------------------------ */
.case:first-of-type { border-top: 0 !important; padding-top: 0 !important; }
.case h3 { text-wrap: balance; }
.case .card__facts { border-top: var(--hair); }

/* Long-form prose (legal pages, policy) ---------------------------------- */
.prose { max-width: 74ch; }
.prose h2 { margin-top: 52px; font-size: clamp(1.35rem, 1.1rem + 1vw, 1.85rem); }
.prose h2:first-child { margin-top: 0; }
.prose h3 { margin-top: 34px; }
.prose h4 { margin-top: 26px; }
.prose p, .prose li { color: var(--ink-500); }
.prose p { margin-bottom: 18px; }
.prose ul, .prose ol { margin: 0 0 20px; padding-left: 22px; display: grid; gap: 9px; }
.prose li { font-size: 0.98rem; line-height: 1.65; }
.prose strong { color: var(--ink-900); }
.prose a { color: var(--teal-700); }
.prose .meta-line {
  font-family: var(--font-data); font-size: 0.86rem; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--slate-400);
  border-bottom: var(--hair); padding-bottom: 18px; margin-bottom: 40px;
}
.prose table { margin: 24px 0 30px; }

/* Contents rail for long pages ------------------------------------------- */
.toc {
  border: var(--hair); background: var(--paper-50); padding: 26px 28px;
  position: sticky; top: 108px;
}
.toc h4 { margin-bottom: 14px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; counter-reset: toc; }
.toc li { counter-increment: toc; font-size: 0.94rem; }
.toc li a { color: var(--ink-500); text-decoration: none; display: flex; gap: 10px; }
.toc li a::before {
  content: counter(toc, decimal-leading-zero);
  font-family: var(--font-data); font-size: 0.82rem; color: var(--amber-600);
  letter-spacing: 0.1em; flex: none; padding-top: 2px;
}
.toc li a:hover { color: var(--teal-700); }

/* Office / location list ------------------------------------------------- */
.office { border-top: var(--hair); padding: 26px 0; display: grid; gap: 8px; }
.office:last-child { border-bottom: var(--hair); }
.office__name { font-family: var(--font-voice); font-weight: 700; font-size: 1.12rem; letter-spacing: -0.01em; }
.office__role { font-size: 0.95rem; color: var(--ink-500); }
.office__meta {
  font-family: var(--font-data); font-size: 0.86rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--slate-400);
  display: flex; flex-wrap: wrap; gap: 6px 18px;
}
.office__meta a { color: var(--teal-700); text-decoration: none; }

/* Job listings ----------------------------------------------------------- */
.job {
  border-top: var(--hair); padding: 26px 0;
  display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) auto;
  gap: 22px; align-items: center;
}
.job:last-child { border-bottom: var(--hair); }
.job h4 { margin: 0 0 6px; font-size: 1.1rem; }
.job__summary { font-size: 0.95rem; color: var(--ink-500); margin: 0; }
.job__meta {
  font-family: var(--font-data); font-size: 0.85rem; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--slate-400); display: grid; gap: 5px;
}
.job__req { font-family: var(--font-mono); font-size: 0.82rem; color: var(--slate-400); }
@media (max-width: 900px) {
  .job { grid-template-columns: minmax(0, 1fr); }
  .toc { position: static; }
}

/* Stat band cells inside pale sections ----------------------------------- */
.section--paper .statband { border-color: var(--concrete-200); }
.section--paper .stat { border-color: var(--concrete-200); }

/* --------------------------------------------------- leadership portraits */
/* The roster on the About page is rendered server-side; a member without a
   photo keeps the original monogram tile so the grid rhythm stays even. */

.lead-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.lead-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lead-card__media--mono .lead-card__mono {
  font-family: var(--font-data);
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--amber-400);
}

.lead-card__role {
  font-family: var(--font-data);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--slate-300);
  margin: 6px 0 12px;
}

.lead-card p:last-child { margin-bottom: 0; }
