/* ============================================================================
   ZENSTEEL WORKS - Design System (main.css)
   Single locked theme: light body, dark navy structural bands.
   Accent: orange only. Sharp corners. Hairline steel borders.
   ========================================================================= */

/* ---------------------------------------------------------------------------
   1. RESET
   ------------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

* { margin: 0; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

input,
button,
textarea,
select { font: inherit; color: inherit; }

button { cursor: pointer; background: none; border: 0; }

a { color: inherit; text-decoration: none; }

ul[class],
ol[class] { list-style: none; padding: 0; }

h1, h2, h3, h4, h5, h6 { line-height: 1.1; font-weight: inherit; }

:where(h1, h2, h3, h4, h5, h6) { text-wrap: balance; }

p { text-wrap: pretty; }

table { border-collapse: collapse; }

address { font-style: normal; }

:target { scroll-margin-top: 96px; }

/* ---------------------------------------------------------------------------
   2. TOKENS
   ------------------------------------------------------------------------ */
:root {
  /* Navy structural palette */
  --navy-950: #161B28;
  --navy-900: #1B2130;
  --navy-800: #232A3B;
  --navy-700: #2E3850;

  /* Orange accent */
  --orange: #F28C00;
  --orange-600: #D97B00;   /* orange text on light backgrounds */
  --orange-100: #FDEBD2;

  /* Steel neutrals */
  --steel-50: #F7F8FA;
  --steel-100: #EFF1F5;
  --steel-200: #E2E5EB;
  --steel-300: #C9CED9;

  /* Ink text */
  --ink: #1C2230;
  --ink-soft: #4A5164;
  --ink-muted: #6B7280;
  --white: #FEFEFE;

  /* Type */
  --font-display: "Barlow Condensed", Impact, sans-serif;
  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --container: 1200px;
  --pad-inline: 24px;
  --header-h: 72px;

  /* Signature accents */
  --seam: 4px solid var(--orange);
  --hairline: 1px solid var(--steel-200);
  --hairline-dark: 1px solid rgba(255, 255, 255, .10);

  /* Radius (sharp industrial: 0 everywhere, 2px only on buttons) */
  --r-btn: 2px;
  --r-pill: 999px;

  /* Motion */
  --ease: cubic-bezier(.2, .6, .2, 1);
  --dur: .28s;

  /* Blueprint grid used on dark sections */
  --blueprint:
    linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  --blueprint-size: 32px 32px;

  /* Shadows (restrained) */
  --shadow-sm: 0 1px 2px rgba(22, 27, 40, .06);
  --shadow-md: 0 8px 24px rgba(22, 27, 40, .12);
  --shadow-header: 0 6px 20px rgba(22, 27, 40, .28);
}

/* ---------------------------------------------------------------------------
   3. BASE TYPOGRAPHY
   ------------------------------------------------------------------------ */
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.0625rem;
  color: var(--ink);
  background: var(--steel-50);
}

h1, h2, h3, h4 { font-family: var(--font-display); }

h1 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  letter-spacing: .01em;
  line-height: 1.02;
  color: var(--ink);
}

h2 {
  font-weight: 700;
  text-transform: uppercase;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: .01em;
  line-height: 1.05;
  color: var(--ink);
}

h3 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 1.2rem + .6vw, 1.6rem);
  letter-spacing: .015em;
  color: var(--ink);
}

h4 {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 1.125rem;
  letter-spacing: .02em;
}

p { max-width: 65ch; }

a:not([class]) {
  color: var(--orange-600);
  text-decoration: underline;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}

a:not([class]):hover { color: var(--orange); }

/* Chrome areas manage their own link treatment; strip the content underline */
.nav__list a, .crumbs a, .subnav__list a,
.site-footer__col a, .site-footer__contact a { text-decoration: none; }

strong { font-weight: 600; }

::selection {
  background: var(--orange);
  color: var(--navy-950);
}

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

/* ---------------------------------------------------------------------------
   4. UTILITIES
   ------------------------------------------------------------------------ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-inline);
}

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

.skip-link {
  position: absolute;
  top: -100px;
  left: 12px;
  z-index: 1000;
  background: var(--orange);
  color: var(--navy-950);
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  padding: 12px 20px;
  border-radius: var(--r-btn);
  transition: top var(--dur) var(--ease);
}
.skip-link:focus { top: 12px; }

.text-mono { font-family: var(--font-mono); }

/* ---------------------------------------------------------------------------
   5. BUTTONS
   ------------------------------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  line-height: 1;
  padding: 15px 26px;
  border-radius: var(--r-btn);
  border: 2px solid transparent;
  transition: background var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              color var(--dur) var(--ease),
              transform .08s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
  background: var(--orange);
  color: var(--navy-950);
  border-color: var(--orange);
}
.btn--primary:hover {
  background: var(--orange-600);
  border-color: var(--orange-600);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, .35);
}
.btn--ghost:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* Ghost variant sitting on light backgrounds */
.btn--ghost-dark {
  background: transparent;
  color: var(--ink);
  border-color: var(--steel-300);
}
.btn--ghost-dark:hover {
  border-color: var(--orange-600);
  color: var(--orange-600);
}

.btn--lg { padding: 18px 34px; font-size: 1.0625rem; }

/* ---------------------------------------------------------------------------
   6. SECTIONS
   ------------------------------------------------------------------------ */
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--tint { background: var(--steel-100); }

.section--dark {
  background-color: var(--navy-800);
  background-image: var(--blueprint);
  background-size: var(--blueprint-size);
  color: var(--steel-100);
}
.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 { color: var(--white); }
.section--dark p { color: var(--steel-200); }
.section--dark a:not([class]) { color: var(--orange); }

/* ---------------------------------------------------------------------------
   7. SECTION HEAD (h2 + weld-seam bar)
   ------------------------------------------------------------------------ */
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); }

.section-head__title { margin: 0; }

.section-head__lead {
  margin-top: 1rem;
  color: var(--ink-soft);
  font-size: 1.125rem;
  max-width: 62ch;
}
.section--dark .section-head__lead { color: var(--steel-200); }

/* the weld seam: 56x4 orange bar under the heading */
.section-head::after,
.section-head__seam {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--orange);
  margin-top: 1.1rem;
}
.section-head__seam { margin-top: 1.1rem; }

.section-head--center {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}
.section-head--center::after { margin-inline: auto; }
.section-head--center .section-head__lead { margin-inline: auto; }

/* ---------------------------------------------------------------------------
   8. HEADER / NAV
   ------------------------------------------------------------------------ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.navbar {
  background: var(--navy-800);
  border-top: 3px solid var(--orange);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
  transition: background var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease);
}

.site-header.is-scrolled .navbar {
  background: var(--navy-900);
  box-shadow: var(--shadow-header);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-h);
}

/* Brand lockup */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 46px; height: 40px; }

.brand__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .01em;
  color: var(--white);
  text-transform: uppercase;
}
.brand__name em {
  font-style: normal;
  color: var(--orange);
}
.brand__tag {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-top: 4px;
}

/* Nav */
.nav { display: flex; align-items: center; }

.nav__list {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.nav__list > li > a:not(.btn) {
  position: relative;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .01em;
  color: var(--steel-100);
  padding: 10px 14px;
  transition: color var(--dur) var(--ease);
}

/* Orange 2px underline slides in on hover / current */
.nav__list > li > a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--dur) var(--ease);
}
.nav__list > li > a:not(.btn):hover { color: var(--white); }
.nav__list > li > a:not(.btn):hover::after,
.nav__list > li > a[aria-current="page"]::after { transform: scaleX(1); }
.nav__list > li > a[aria-current="page"] { color: var(--white); }

.nav__cta { margin-left: 8px; }

/* Hamburger toggle (hidden on desktop) */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
}
.nav__toggle-bar {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--steel-100);
  transition: transform var(--dur) var(--ease),
              opacity var(--dur) var(--ease);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(2) { opacity: 0; }
.nav__toggle[aria-expanded="true"] .nav__toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Body scroll lock when mobile menu open */
body.nav-open { overflow: hidden; }

/* ---------------------------------------------------------------------------
   9. HERO
   ------------------------------------------------------------------------ */
.hero {
  position: relative;
  min-height: min(86dvh, 900px);
  background-color: var(--navy-950);
  color: var(--white);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg,
              rgba(22, 27, 40, .94) 0 40%,
              rgba(22, 27, 40, .55));
}

.hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: 48px;
  align-items: center;
  padding-block: clamp(3rem, 7vw, 5rem);
}

.hero__content { max-width: 640px; }

.hero__title {
  color: var(--white);
  margin: 0;
}
.hero__title em {
  font-style: normal;
  color: var(--orange);
  display: block;
}

.hero__lead {
  margin-top: 1.4rem;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: var(--steel-200);
  max-width: 52ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 2.2rem;
}

/* Framed project image on the right of the split */
.hero__frame {
  position: relative;
  border: 1px solid rgba(255, 255, 255, .18);
  padding: 10px;
  background: rgba(255, 255, 255, .03);
}
.hero__frame::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 46px; height: 4px;
  background: var(--orange);
}
.hero__frame img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

/* ---------------------------------------------------------------------------
   10. STAT / STAT BAND
   ------------------------------------------------------------------------ */
.stat-band {
  background-color: var(--navy-900);
  background-image: var(--blueprint);
  background-size: var(--blueprint-size);
  color: var(--white);
}
.stat-band__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-band__grid > .stat {
  border-left: 1px solid rgba(255, 255, 255, .10);
  padding: clamp(2.4rem, 5vw, 3.4rem) clamp(1.4rem, 3vw, 2.2rem);
}
.stat-band__grid > .stat:first-child { border-left: 0; }

.stat__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.2rem);
  line-height: 1;
  color: var(--orange);
  letter-spacing: -.01em;
}
.stat__label {
  margin-top: .75rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9375rem;
  line-height: 1.35;
  color: var(--steel-200);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Stand-alone stat (used inside light sections) */
.section .stat__num { color: var(--orange-600); }
.section--dark .stat__num { color: var(--orange); }

/* ---------------------------------------------------------------------------
   11. SERVICE CARD
   ------------------------------------------------------------------------ */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.card-svc {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  padding: 30px 28px 32px;
  overflow: hidden;
  transition: box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease),
              transform var(--dur) var(--ease);
}
/* orange left seam grows on hover */
.card-svc::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur) var(--ease);
}
.card-svc:hover {
  border-color: var(--steel-300);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}
.card-svc:hover::before { transform: scaleY(1); }

.card-svc__icon {
  width: 44px;
  height: 44px;
  color: var(--orange-600);
}
.card-svc__icon svg { width: 100%; height: 100%; }

.card-svc__title { margin: 0; }

.card-svc__body {
  color: var(--ink-soft);
  font-size: 1rem;
  margin: 0;
}

.card-svc__link {
  margin-top: auto;
  padding-top: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange-600);
  display: inline-flex;
  align-items: center;
  gap: .4em;
}
.card-svc__link:hover { color: var(--orange); }
.card-svc__link::after {
  content: "\2192";
  transition: transform var(--dur) var(--ease);
}
.card-svc__link:hover::after { transform: translateX(4px); }

/* ---------------------------------------------------------------------------
   12. GALLERY
   ------------------------------------------------------------------------ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 1fr;
  gap: 16px;
}
.gallery__item {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--steel-200);
  aspect-ratio: 4 / 3;
}
.gallery__item--wide { grid-column: span 2; }

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery__item:hover img { transform: scale(1.04); }

.gallery__caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  background: linear-gradient(to top, rgba(22, 27, 40, .92), rgba(22, 27, 40, 0));
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  transform: translateY(100%);
  transition: transform var(--dur) var(--ease);
}
.gallery__caption::before {
  content: "";
  width: 20px;
  height: 3px;
  background: var(--orange);
  flex: none;
}
.gallery__item:hover .gallery__caption,
.gallery__item:focus-within .gallery__caption { transform: translateY(0); }

@media (max-width: 640px) {
  .gallery__item--wide { grid-column: span 1; }
  .gallery__caption { transform: translateY(0); } /* always visible on touch */
}

/* ---------------------------------------------------------------------------
   13. SPLIT (media + content, 55/45)
   ------------------------------------------------------------------------ */
.split {
  display: grid;
  grid-template-columns: 55fr 45fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.split--flip .split__media { order: 2; }

.split__media {
  position: relative;
}
.split__media img {
  width: 100%;
  object-fit: cover;
  border: 1px solid var(--steel-200);
}
/* orange corner tick on media */
.split__media::before {
  content: "";
  position: absolute;
  top: -1px; left: -1px;
  width: 48px; height: 4px;
  background: var(--orange);
  z-index: 1;
}
.section--dark .split__media img { border-color: rgba(255, 255, 255, .14); }

.split__content > * + * { margin-top: 1.1rem; }

/* ---------------------------------------------------------------------------
   14. CHECK LIST
   ------------------------------------------------------------------------ */
.check-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 32px;
  margin: 0;
}
.check-list li {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--steel-200);
  font-weight: 500;
  line-height: 1.4;
}
.section--dark .check-list li { border-bottom-color: rgba(255, 255, 255, .10); }

/* orange square-check SVG inline via mask-free background */
.check-list li::before {
  content: "";
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  background-color: var(--orange);
  -webkit-mask: var(--check-icon) center / 14px 14px no-repeat;
  mask: var(--check-icon) center / 14px 14px no-repeat;
}
:root {
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23161B28' stroke-width='2.4' stroke-linecap='square' stroke-linejoin='miter'%3E%3Cpath d='M3 8.5l3.2 3.2L13 4.5'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
  .check-list { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   15. VALUE ROW (vision / mission asymmetric panels)
   ------------------------------------------------------------------------ */
.value-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--steel-200);
}
.value-panel { padding: clamp(2rem, 4vw, 3rem); }
.value-panel--dark {
  background-color: var(--navy-800);
  background-image: var(--blueprint);
  background-size: var(--blueprint-size);
  color: var(--white);
}
.value-panel--dark h3 { color: var(--white); }
.value-panel--dark p { color: var(--steel-200); }
.value-panel--light { background: var(--steel-50); }
.value-panel__kicker {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--orange-600);
  margin-bottom: .8rem;
}
.value-panel--dark .value-panel__kicker { color: var(--orange); }

@media (max-width: 720px) {
  .value-row { grid-template-columns: 1fr; }
}

/* ---------------------------------------------------------------------------
   16. TIMELINE / PROCESS STRIP
   ------------------------------------------------------------------------ */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 28px 24px;
  border-left: 1px solid var(--steel-200);
  counter-increment: step;
}
.process__step:first-child { border-left: 0; }
.process__step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: .9375rem;
  color: var(--orange-600);
  display: block;
  margin-bottom: .6rem;
}
.process__step h3 { font-size: 1.25rem; }
.section--dark .process__step { border-left-color: rgba(255, 255, 255, .12); }
.section--dark .process__step::before { color: var(--orange); }

@media (max-width: 720px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process__step:nth-child(odd) { border-left: 0; }
}

/* ---------------------------------------------------------------------------
   17. OFFICE CARD (contact)
   ------------------------------------------------------------------------ */
.office-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.office-card {
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  border-top: 4px solid var(--orange);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.office-card__title { margin: 0; }
.office-card__role {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-muted);
}
.office-card address { color: var(--ink-soft); line-height: 1.6; }
.office-card__gst {
  font-family: var(--font-mono);
  font-size: .8125rem;
  color: var(--ink-muted);
  word-break: break-word;
}
.office-card__link {
  font-family: var(--font-display);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange-600);
  margin-top: auto;
}
.office-card__link:hover { color: var(--orange); }

/* Leadership monogram cards */
.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}
.person-card {
  background: var(--steel-50);
  border: 1px solid var(--steel-200);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.person-card__mono {
  width: 60px;
  height: 60px;
  display: grid;
  place-items: center;
  background: var(--navy-800);
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: .02em;
}
.person-card__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--ink);
}
.person-card__role {
  font-size: .9375rem;
  color: var(--ink-soft);
}

/* ---------------------------------------------------------------------------
   18. BREADCRUMBS
   ------------------------------------------------------------------------ */
.crumbs {
  font-family: var(--font-mono);
  font-size: .8125rem;
  letter-spacing: .04em;
}
.crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0; padding: 0;
}
.crumbs li { display: flex; align-items: center; gap: 8px; }
.crumbs li + li::before {
  content: "/";
  color: var(--steel-300);
}
.crumbs a { color: var(--steel-300); }
.crumbs a:hover { color: var(--orange); }
.crumbs [aria-current="page"] { color: var(--white); }

/* on light page-hero the crumbs sit on navy, so keep light colors */

/* ---------------------------------------------------------------------------
   19. PAGE HERO (interior pages)
   ------------------------------------------------------------------------ */
.page-hero {
  position: relative;
  background-color: var(--navy-800);
  background-image: var(--blueprint);
  background-size: var(--blueprint-size);
  color: var(--white);
  min-height: 38vh;
  display: flex;
  align-items: center;
  padding-block: clamp(2.6rem, 6vw, 4rem);
}
.page-hero::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%;
  height: 4px;
  background: var(--orange);
}
.page-hero__inner { width: 100%; }
.page-hero .crumbs { margin-bottom: 1.4rem; }
.page-hero h1 { color: var(--white); }
.page-hero__intro {
  margin-top: 1.2rem;
  font-size: clamp(1.0625rem, 1rem + .4vw, 1.25rem);
  color: var(--steel-200);
  max-width: 60ch;
}

/* ---------------------------------------------------------------------------
   20. IN-PAGE SUBNAV (about page anchor strip)
   ------------------------------------------------------------------------ */
.subnav {
  position: sticky;
  top: var(--header-h);
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--steel-200);
}
.subnav__list {
  display: flex;
  gap: 6px;
  margin: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a {
  display: inline-block;
  white-space: nowrap;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9375rem;
  text-transform: uppercase;
  letter-spacing: .03em;
  color: var(--ink-soft);
  padding: 16px 14px;
  border-bottom: 3px solid transparent;
  transition: color var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.subnav__list a:hover,
.subnav__list a[aria-current="true"] {
  color: var(--ink);
  border-bottom-color: var(--orange);
}

/* ---------------------------------------------------------------------------
   21. CLIENTS STRIP
   ------------------------------------------------------------------------ */
.client-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
}
.client-logo {
  background: var(--white);
  border: 1px solid var(--steel-200);
  padding: 22px 30px;
  display: grid;
  place-items: center;
  min-width: 200px;
  min-height: 110px;
}
.client-logo img {
  max-height: 64px;
  width: auto;
  object-fit: contain;
}

/* ---------------------------------------------------------------------------
   22. CTA BAND
   ------------------------------------------------------------------------ */
.cta-band {
  background-color: var(--navy-950);
  background-image: var(--blueprint);
  background-size: var(--blueprint-size);
  color: var(--white);
  text-align: center;
}
.cta-band__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.6rem;
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: var(--steel-200); max-width: 54ch; margin-inline: auto; }

/* ---------------------------------------------------------------------------
   23. REVEAL (scroll animation)
   ------------------------------------------------------------------------ */
/* Fail-open: content is visible by default. Hiding applies only once JS
   confirms it is running (html.js), so crawlers and no-JS renderers always
   see the full page. */
html.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}
html.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------------------------------------------------------------------------
   24. FOOTER
   ------------------------------------------------------------------------ */
.site-footer {
  background: var(--navy-900);
  color: var(--steel-200);
}
.site-footer__stripe {
  height: 8px;
  background: repeating-linear-gradient(-45deg,
              var(--orange) 0 12px,
              var(--navy-950) 12px 24px);
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(28px, 4vw, 48px);
  padding-block: clamp(3rem, 6vw, 4.5rem);
}
.site-footer__brand img { width: 56px; height: 49px; margin-bottom: 14px; }
.site-footer__name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--white);
  letter-spacing: .01em;
  margin-bottom: 12px;
}
.site-footer__name em { font-style: normal; color: var(--orange); }
.site-footer__brand p { font-size: .9375rem; line-height: 1.6; color: var(--steel-300); }

.site-footer__col h2 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--steel-300);
  margin-bottom: 16px;
}
.site-footer__col ul { display: flex; flex-direction: column; gap: 10px; list-style: none; margin: 0; padding: 0; }
.site-footer__col a {
  font-size: .9375rem;
  color: var(--steel-200);
  transition: color var(--dur) var(--ease);
}
.site-footer__col a:hover { color: var(--orange); }

.site-footer__contact address { display: flex; flex-direction: column; gap: 14px; }
.site-footer__contact p { font-size: .9375rem; line-height: 1.55; color: var(--steel-300); }
.site-footer__contact strong { color: var(--white); font-weight: 600; }
.site-footer__contact a { color: var(--steel-200); }
.site-footer__contact a:hover { color: var(--orange); }

.site-footer__legal {
  border-top: 1px solid rgba(255, 255, 255, .08);
  background: var(--navy-950);
}
.site-footer__legal-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-block: 20px;
}
.site-footer__legal p { font-size: .8125rem; color: var(--steel-300); margin: 0; max-width: none; }
.site-footer__gst { font-family: var(--font-mono); }
.site-footer__credit::before {
  content: "|";
  margin-inline: 8px 10px;
  color: rgba(255, 255, 255, .18);
}
.site-footer__credit a {
  color: var(--steel-200);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(255, 255, 255, .25);
  transition: color var(--dur) var(--ease), text-decoration-color var(--dur) var(--ease);
}
.site-footer__credit a:hover { color: var(--orange); text-decoration-color: var(--orange); }

/* ---------------------------------------------------------------------------
   25. RESPONSIVE
   ------------------------------------------------------------------------ */
@media (max-width: 980px) {
  .stat-band__grid { grid-template-columns: repeat(2, 1fr); }
  .stat-band__grid > .stat:nth-child(odd) { border-left: 0; }
  .stat-band__grid > .stat:nth-child(3),
  .stat-band__grid > .stat:nth-child(4) { border-top: 1px solid rgba(255, 255, 255, .10); }
}

/* Mobile nav < 900px */
@media (max-width: 900px) {
  .nav__toggle { display: flex; }

  .nav__list {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--navy-900);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
    box-shadow: var(--shadow-header);
    padding: 8px 0 16px;

    /* slide-down: collapsed by default */
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transition: opacity var(--dur) var(--ease),
                transform var(--dur) var(--ease),
                visibility var(--dur) var(--ease);
  }
  .nav__list.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .nav { position: static; }
  .navbar { position: relative; }

  .nav__list > li { border-bottom: 1px solid rgba(255, 255, 255, .06); }
  .nav__list > li:last-child { border-bottom: 0; }
  .nav__list > li > a:not(.btn) {
    display: block;
    padding: 16px var(--pad-inline);
    font-size: 1.0625rem;
  }
  .nav__list > li > a:not(.btn)::after { display: none; }
  .nav__list > li > a[aria-current="page"] {
    border-left: 3px solid var(--orange);
    color: var(--white);
  }
  .nav__cta {
    display: block;
    width: auto;
    margin: 14px var(--pad-inline) 0;
    text-align: center;
  }
}

@media (max-width: 860px) {
  .hero__inner { grid-template-columns: 1fr; gap: 32px; }
  .hero__frame { display: none; }
  .split { grid-template-columns: 1fr; }
  .split--flip .split__media { order: 0; }
}

@media (max-width: 760px) {
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__legal-inner { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .stat-band__grid { grid-template-columns: 1fr; }
  .stat-band__grid > .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .10); }
  .stat-band__grid > .stat:first-child { border-top: 0; }
  .btn:not(.nav__cta) { width: 100%; }
  .hero__actions .btn { width: 100%; }
}

/* ---------------------------------------------------------------------------
   26. REDUCED MOTION
   ------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
  .gallery__item:hover img { transform: none; }
}

/* ---------------------------------------------------------------------------
   27. PRINT
   ------------------------------------------------------------------------ */
@media print {
  .site-header,
  .subnav,
  .nav__toggle,
  .cta-band,
  .hero__actions,
  .site-footer__stripe { display: none !important; }

  body { background: #fff; color: #000; font-size: 12pt; }

  .hero,
  .page-hero,
  .section--dark,
  .stat-band,
  .cta-band {
    background: #fff !important;
    color: #000 !important;
  }
  .hero__media { display: none; }
  .hero__title,
  .page-hero h1,
  .section--dark h2,
  .section--dark h3 { color: #000 !important; }
  .stat__num { color: #000 !important; }

  a { color: #000; text-decoration: underline; }
  .reveal { opacity: 1 !important; transform: none !important; }
  .card-svc,
  .office-card,
  .gallery__item { break-inside: avoid; border-color: #999; }
}

/* ---------------------------------------------------------------------------
   28. HOMEPAGE PREMIUM PASS
   Display-scale hero with staggered load-in, spec-plate labels, numbered
   section kickers, service index rows, editorial gallery, split CTA.
   ------------------------------------------------------------------------ */

/* --- Hero: presence + texture ------------------------------------------- */
.hero { min-height: min(92dvh, 940px); }

.hero__inner { z-index: 2; }

.hero__content { max-width: 680px; }

.hero__title {
  font-size: clamp(3rem, 6.5vw, 5.5rem);
  line-height: .98;
}

.hero__kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--steel-300);
  margin-bottom: 1.4rem;
  max-width: none;
}
.hero__kicker::before {
  content: "";
  flex: none;
  width: 28px;
  height: 2px;
  background: var(--orange);
}

/* subtle film grain over the photo, under the content */
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: .16;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* spec plate riveted to the framed photo */
.hero__frame-plate {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: rgba(22, 27, 40, .88);
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--steel-200);
  max-width: none;
}
.hero__frame-id { color: var(--orange); }

/* scroll cue: falling orange dot on a hairline */
.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  transform: translateX(-50%);
  width: 44px;
  height: 56px;
  display: flex;
  justify-content: center;
}
.hero__scroll::before {
  content: "";
  width: 1px;
  height: 100%;
  background: linear-gradient(rgba(255, 255, 255, 0), rgba(255, 255, 255, .45));
}
.hero__scroll::after {
  content: "";
  position: absolute;
  top: 0;
  left: calc(50% - 2px);
  width: 5px;
  height: 5px;
  background: var(--orange);
  animation: hero-scroll-dot 2.4s var(--ease) infinite;
}
@keyframes hero-scroll-dot {
  0%   { transform: translateY(0);    opacity: 0; }
  25%  { opacity: 1; }
  85%  { transform: translateY(50px); opacity: 0; }
  100% { transform: translateY(50px); opacity: 0; }
}

/* staggered load-in (scoped to html.js: fails open without JS) */
@keyframes hero-rise {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
html.js .hero__kicker  { animation: hero-rise .65s var(--ease) both .05s; }
html.js .hero__title   { animation: hero-rise .65s var(--ease) both .16s; }
html.js .hero__lead    { animation: hero-rise .65s var(--ease) both .3s; }
html.js .hero__actions { animation: hero-rise .65s var(--ease) both .44s; }
html.js .hero__frame   { animation: hero-rise .8s var(--ease) both .35s; }
/* fade only: a transform keyframe would override the centering translateX */
@keyframes hero-fade { from { opacity: 0; } to { opacity: 1; } }
html.js .hero__scroll  { animation: hero-fade .65s var(--ease) both .9s; }

/* --- Stat band: ledger indices ------------------------------------------ */
.stat__idx {
  display: block;
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .14em;
  color: rgba(255, 255, 255, .35);
  margin-bottom: .9rem;
}

/* --- Numbered section kickers ------------------------------------------- */
.section-head__kicker {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: .9rem;
  max-width: none;
}
.section--dark .section-head__kicker,
.cta-band .section-head__kicker { color: var(--steel-300); }

/* --- Arrow links (section closers) -------------------------------------- */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .45em;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.0625rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--orange-600);
  transition: color var(--dur) var(--ease);
}
.link-arrow::after {
  content: "\2192";
  transition: transform var(--dur) var(--ease);
}
.link-arrow:hover { color: var(--orange); }
.link-arrow:hover::after { transform: translateX(5px); }
.section--dark .link-arrow { color: var(--orange); }

/* --- Media spec plate (split images) ------------------------------------ */
.media-plate {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--navy-950);
  font-family: var(--font-mono);
  font-size: .75rem;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--steel-200);
  max-width: none;
}
.media-plate em { font-style: normal; color: var(--orange); }

/* --- Service index (numbered rows) -------------------------------------- */
.svc-index { border-top: 1px solid var(--steel-200); }

.svc-index__row {
  position: relative;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 48px;
  align-items: center;
  gap: clamp(16px, 3vw, 40px);
  padding: clamp(1.3rem, 2.6vw, 1.9rem) clamp(6px, 1.5vw, 18px);
  border-bottom: 1px solid var(--steel-200);
  transition: background var(--dur) var(--ease);
}
/* orange seam grows down the left edge on hover */
.svc-index__row::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 4px;
  background: var(--orange);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform var(--dur) var(--ease);
}
.svc-index__row:hover,
.svc-index__row:focus-visible { background: var(--steel-100); }
.svc-index__row:hover::before,
.svc-index__row:focus-visible::before { transform: scaleY(1); }

.svc-index__num {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1rem;
  color: var(--ink-muted);
  transition: color var(--dur) var(--ease);
}
.svc-index__row:hover .svc-index__num { color: var(--orange-600); }

.svc-index__title {
  margin: 0;
  font-size: clamp(1.3rem, 1.1rem + .8vw, 1.75rem);
  transition: color var(--dur) var(--ease);
}
.svc-index__row:hover .svc-index__title { color: var(--navy-700); }

.svc-index__desc {
  display: block;
  margin-top: .3rem;
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink-soft);
  max-width: 62ch;
}

.svc-index__arrow {
  justify-self: end;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--steel-300);
  transition: transform var(--dur) var(--ease),
              color var(--dur) var(--ease);
}
.svc-index__row:hover .svc-index__arrow {
  transform: translateX(6px);
  color: var(--orange-600);
}

/* --- Why grid (intro + checklist) --------------------------------------- */
.why-grid {
  display: grid;
  grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}
.why-grid__intro .section-head { margin-bottom: 1.4rem; }
.why-grid__intro > p { margin-bottom: 1.8rem; }

/* --- Editorial gallery --------------------------------------------------- */
.gallery--feature {
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  grid-auto-rows: clamp(220px, 24vw, 320px);
}
.gallery--feature .gallery__item { aspect-ratio: auto; }
.gallery--feature .gallery__item--lead { grid-row: span 2; }

/* captions always readable, indexed like drawing numbers */
.gallery--feature .gallery__caption {
  transform: none;
  padding-top: 40px;
}
.gallery--feature .gallery__caption::before { display: none; }
.gallery__idx {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: .8125rem;
  letter-spacing: .1em;
  color: var(--orange);
}

/* --- Split CTA ------------------------------------------------------------ */
.cta-band__inner--split {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
  text-align: left;
}
.cta-band__copy h2 { margin: 0; }
.cta-band__copy h2::after {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  background: var(--orange);
  margin-top: 1.1rem;
}
.cta-band__copy p { margin: 1.2rem 0 0; margin-inline: 0; }
.cta-band__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}
.cta-band__alt {
  font-family: var(--font-mono);
  font-size: .9375rem;
  color: var(--steel-300);
}
.cta-band__alt a { color: var(--orange); }
.cta-band__alt a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Client logos: quiet until hovered ----------------------------------- */
.client-logo {
  transition: transform var(--dur) var(--ease),
              box-shadow var(--dur) var(--ease),
              border-color var(--dur) var(--ease);
}
.client-logo:hover {
  transform: translateY(-3px);
  border-color: var(--steel-300);
  box-shadow: var(--shadow-md);
}

/* --- Responsive + print for the premium pass ----------------------------- */
@media (max-width: 860px) {
  .hero__scroll { display: none; }
  .why-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 760px) {
  .gallery--feature { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery--feature .gallery__item { aspect-ratio: 4 / 3; }
  .gallery--feature .gallery__item--lead { grid-row: auto; }
  .cta-band__inner--split { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .svc-index__row { grid-template-columns: 40px minmax(0, 1fr); }
  .svc-index__arrow { display: none; }
}

@media print {
  .hero__scroll,
  .hero__grain { display: none !important; }
  .svc-index__row { break-inside: avoid; }
}
