/* ──────────────────────────────────────────────────────────────
   GoodwinCo — Site Styles (shared)
   Tokens from GoodwinCo_Brand_Guideline.pdf (08/02/2022)
   ────────────────────────────────────────────────────────────── */

/* ── Fonts ──────────────────────────────────────────────────────
   Loaded from Google Fonts. These @font-face rules make the CSS
   self-describing; the per-page <link> tags also load them.
   Replace the src URLs with uploaded brand font files when available.
   ────────────────────────────────────────────────────────────── */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/lexenddeca/v21/K2F1fZFYk-dHSE0UPPuwQ7CrD94i.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/bitter/v36/raxhHiqOu8IVPmnRc6SY1KXhnF_Y.woff2') format('woff2');
}
@font-face {
  font-family: 'Bitter';
  font-style: italic;
  font-weight: 400 700;
  font-display: swap;
  src: url('https://fonts.gstatic.com/s/bitter/v36/raxgHiqOu8IVPmn7epZnDMyKBvHf5D4OqW8.woff2') format('woff2');
}

:root {
  /* ── Brand colors (Primary) ─────────────────────────── */
  --color-forest:        #205A41; /* Primary green   — PMS 554 C */
  --color-forest-deep:   #14201A;
  --color-sage:          #6FA088; /* Primary sage    — PMS 556 C */
  --color-white:         #FFFFFF;
  --color-black:         #000000;
  --primary-hover:       #1A4B36;
  --primary-soft:        #E4ECE7;

  /* ── Secondary palette ──────────────────────────────── */
  --color-navy:          #185A7D;
  --color-slate-blue:    #4C86A0;
  --color-terracotta:    #BB6125;
  --color-peach:         #F3BE9A;
  --color-ochre:         #A48D29;
  --color-wheat:         #DAC556;
  --color-aubergine:     #3F3A60;
  --color-lavender:      #8C88A3;

  /* ── Neutrals ───────────────────────────────────────── */
  --neutral-50:   #FAFAF8;
  --neutral-100:  #F2F2EE;
  --neutral-200:  #E5E5DF;
  --neutral-300:  #CBCBC2;
  --neutral-400:  #A0A097;
  --neutral-500:  #6E6E66;
  --neutral-600:  #4D4D47;
  --neutral-700:  #353532;
  --neutral-800:  #1F1F1D;
  --neutral-900:  #0F0F0E;

  --fg-1: var(--neutral-900);
  --fg-2: var(--neutral-600);
  --fg-3: var(--neutral-500);

  /* ── Type families ──────────────────────────────────── */
  --font-headline: 'Lexend Deca', system-ui, sans-serif;
  --font-serif:    'Bitter', Georgia, serif;

  /* ── Motion ─────────────────────────────────────────── */
  --ease: cubic-bezier(0.4, 0, 0.2, 1); /* @kind other */
}

/* ── Reset ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--neutral-50);
  color: var(--fg-1);
  font-family: var(--font-serif);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--color-forest); outline-offset: 3px; }

/* ── Layout helpers ────────────────────────────────────── */
.container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}
.container-narrow { max-width: 920px; margin: 0 auto; padding: 0 40px; }
.container-wide   { max-width: 1560px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 720px) {
  .container, .container-narrow, .container-wide { padding: 0 24px; }
}

/* ── Type — editorial, uppercase headlines ─────────────── */
.eyebrow {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.eyebrow::before {
  content: '';
  display: inline-block;
  width: 32px;
  height: 1px;
  background: currentColor;
  opacity: 0.55;
}
.eyebrow.on-dark { color: var(--color-sage); }

.h-display {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(48px, 6.5vw, 92px);
  line-height: 0.96;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.h-1 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1.04;
  letter-spacing: 0;
  text-transform: uppercase;
  margin: 0;
  color: var(--color-forest);
}
.h-2 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.08;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0;
}
.h-3 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}
.lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  font-weight: 400;
  margin: 0;
}
.body-l {
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-1);
}

/* ── Buttons ───────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 18px 28px;
  border-radius: 2px;
  border: 1.5px solid transparent;
  transition: all 200ms var(--ease);
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary       { background: var(--color-forest); color: #fff; border-color: var(--color-forest); }
.btn-primary:hover { background: var(--primary-hover); border-color: var(--primary-hover); }
.btn-ghost         { background: transparent; color: var(--color-forest); border-color: var(--color-forest); }
.btn-ghost:hover   { background: var(--color-forest); color: #fff; }
.btn-light         { background: #fff; color: var(--color-forest); border-color: #fff; }
.btn-light:hover   { background: var(--neutral-50); border-color: var(--neutral-50); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,0.65); }
.btn-outline-light:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-arrow::after {
  content: '→';
  font-family: var(--font-headline);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: 0;
  transition: transform 200ms var(--ease);
}
.btn-arrow:hover::after { transform: translateX(4px); }

/* ── Site nav ──────────────────────────────────────────── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 14px 40px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  background: transparent;
  transition: background 240ms var(--ease), border-color 240ms var(--ease), padding 240ms var(--ease);
  border-bottom: 1px solid transparent;
}
.site-nav.solid { padding: 10px 40px; }
.site-nav.solid {
  background: rgba(15, 25, 20, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: rgba(255,255,255,0.08);
}
.site-nav.light-bg {
  background: rgba(250, 250, 248, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom-color: var(--neutral-200);
}
.site-nav .logo {
  justify-self: start;
  display: block;
  height: 34px;
  width: auto;
}
.site-nav .logo img {
  height: 34px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.95;
  transition: filter 240ms var(--ease), opacity 240ms var(--ease), height 240ms var(--ease);
}
.site-nav.solid .logo,
.site-nav.solid .logo img { height: 28px; }
@media (max-width: 720px) {
  .site-nav .logo,
  .site-nav .logo img { height: 28px; }
  .site-nav.solid .logo,
  .site-nav.solid .logo img { height: 24px; }
}
.site-nav.light-bg .logo img {
  filter: none;
  opacity: 1;
}
.site-nav .nav-links {
  display: flex;
  gap: 36px;
  justify-self: center;
  list-style: none;
  padding: 0;
  margin: 0;
}
/* This item duplicates the separate Contact pill button — only needed
   on mobile, where the pill is hidden below 560px with no other way
   to reach Contact from the menu. */
.nav-links .nav-contact-mobile { display: none; }
.site-nav .nav-links a {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  transition: color 180ms var(--ease);
  padding: 8px 0;
  position: relative;
}
.site-nav .nav-links a:hover  { color: #fff; }
.site-nav .nav-links a.active { color: #fff; }
.site-nav .nav-links a.active::after {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -4px;
  width: 4px; height: 4px;
  background: var(--color-sage);
  border-radius: 50%;
}
.site-nav.light-bg .nav-links a         { color: var(--fg-2); }
.site-nav.light-bg .nav-links a:hover   { color: var(--color-forest); }
.site-nav.light-bg .nav-links a.active  { color: var(--color-forest); }
.site-nav .nav-actions {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 14px;
}
.contact-pill {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.4);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 180ms var(--ease);
  display: inline-block;
}
.contact-pill:hover {
  background: rgba(255,255,255,0.12);
  border-color: #fff;
  color: #fff;
}
.site-nav.light-bg .contact-pill {
  color: var(--color-forest);
  border-color: var(--color-forest);
}
.site-nav.light-bg .contact-pill:hover {
  background: var(--color-forest);
  color: #fff;
}

/* ── Mobile menu toggle ─────────────────────────────────── */
.nav-toggle {
  display: none;
  position: relative;
  z-index: 60;
  background: none;
  border: none;
  padding: 6px;
  margin: 0;
  cursor: pointer;
  color: #fff;
  line-height: 0;
}
.nav-toggle svg { width: 24px; height: 24px; display: block; }
.nav-toggle .icon-close { display: none; }
.site-nav.light-bg .nav-toggle { color: var(--color-forest); }
.site-nav.nav-open .nav-toggle .icon-menu { display: none; }
.site-nav.nav-open .nav-toggle .icon-close { display: block; }
.site-nav.nav-open .nav-toggle { color: #fff; }

@media (max-width: 920px) {
  .site-nav { grid-template-columns: 1fr auto; padding: 16px 24px; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .site-nav .nav-links {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    margin: 0;
    background: var(--color-forest-deep);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    z-index: 55;
  }
  .site-nav.nav-open .nav-links { display: flex; }
  .site-nav .nav-links a {
    font-size: 16px;
    color: rgba(255,255,255,0.9);
  }
  .site-nav .nav-links a.active { color: var(--color-sage); }
  .nav-links .nav-contact-mobile { display: block; }
  body.nav-open { overflow: hidden; }

  /* backdrop-filter creates a containing block for fixed descendants,
     which traps the full-screen menu inside the (short) nav bar box.
     Drop it while the menu is open so .nav-links can cover the viewport. */
  .site-nav.nav-open {
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom-color: transparent;
  }
}
@media (max-width: 560px) {
  .contact-pill { display: none; }
}

/* ── Page header (forest hero on subpages) ─────────────── */
.page-header {
  padding: 180px 0 96px;
  background: var(--color-forest);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
  pointer-events: none;
}
.page-header > * { position: relative; }
.page-header .h-display { color: #fff; margin-top: 28px; }
.page-header .lead { color: rgba(255,255,255,0.78); max-width: 620px; margin-top: 28px; }
.header-meta {
  position: absolute;
  right: 40px; bottom: 36px;
  font-family: var(--font-headline);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
  text-align: right;
  line-height: 1.6;
}
@media (max-width: 720px) {
  .page-header { padding: 140px 0 64px; }
  .header-meta { display: none; }
}

/* ── Section ───────────────────────────────────────────── */
.section { padding: 128px 0; }
.section-tight { padding: 80px 0; }
.section-loose { padding: 160px 0; }
.bg-cream    { background: var(--neutral-50); }
.bg-white    { background: #fff; }
.bg-forest   { background: var(--color-forest); color: #fff; }
.bg-charcoal { background: var(--color-forest-deep); color: #fff; }
@media (max-width: 720px) {
  .section { padding: 72px 0; }
  .section-loose { padding: 96px 0; }
  .section-tight { padding: 56px 0; }
}

.divider { height: 1px; background: var(--neutral-200); border: 0; margin: 0; }

/* ── Footer (shared) ───────────────────────────────────── */
.site-footer {
  background: var(--color-forest);
  color: rgba(255,255,255,0.78);
  padding: 96px 0 32px;
  font-family: var(--font-serif);
}
.site-footer a { color: rgba(255,255,255,0.85); transition: color 180ms var(--ease); }
.site-footer a:hover { color: #fff; }

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 72px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-top h4 {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin: 0 0 22px;
}
.footer-top ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}
.footer-top .brand .logo-img {
  height: 56px;
  width: auto;
  margin-bottom: 28px;
  filter: brightness(0) invert(1);
  opacity: 0.95;
}
.footer-top .brand .tagline {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 14px;
}
.footer-top .brand p {
  font-size: 15px;
  line-height: 1.65;
  color: rgba(255,255,255,0.7);
  margin: 0;
  max-width: 320px;
}
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom .marks {
  font-family: var(--font-headline);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.footer-bottom .linkedin {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.footer-bottom .linkedin svg { width: 14px; height: 14px; }
@media (max-width: 920px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 40px; padding-bottom: 56px; }
  .site-footer { padding: 64px 0 24px; }
}
@media (max-width: 560px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

/* ── Image slot styling (drop targets) ─────────────────── */
image-slot {
  background: var(--neutral-200);
}
image-slot::part(placeholder) {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* ──────────────────────────────────────────────────────────
   HOME
   ────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 88vh;
  color: #fff;
  display: flex;
  overflow: hidden;
  background: var(--color-forest);
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: none;
  pointer-events: none;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg image-slot {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-forest-deep);
}
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(20, 50, 36, 0.48) 0%,
      rgba(20, 50, 36, 0.32) 40%,
      rgba(20, 50, 36, 0.48) 78%,
      rgba(15, 32, 26, 0.62) 100%),
    rgba(32, 90, 65, 0.20);
}
.hero::after {
  /* soft vignette toward the bottom for depth */
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,0.25));
}
.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 200px 0 120px;
}
.hero-content .container { width: 100%; }
.hero .eyebrow { color: var(--color-sage); }
.hero .eyebrow::before { background: var(--color-sage); opacity: 0.7; }
.hero h1 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(40px, 5.5vw, 80px);
  line-height: 0.98;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 24px 0 24px;
  max-width: 16ch;
  color: #fff;
}
.hero .sub {
  font-family: var(--font-serif);
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.45;
  color: rgba(255,255,255,0.82);
  max-width: 620px;
  margin: 0 0 40px;
  font-style: italic;
}
.hero-cta-row { display: flex; gap: 16px; flex-wrap: wrap; }
@media (max-width: 720px) {
  .hero-content { padding: 160px 0 96px; }
  .hero { min-height: 80vh; }
}

/* ── Intro block (Home) ────────────────────────────────── */
.intro-block {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 96px;
  align-items: start;
}
.intro-block .col-1 { position: sticky; top: 120px; align-self: start; }
.intro-block .body-l p { margin: 0 0 24px; }
.intro-block .body-l p:last-child { margin: 0; }
@media (max-width: 920px) {
  .intro-block { grid-template-columns: 1fr; gap: 32px; }
  .intro-block .col-1 { position: static; }
}

.focus-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--neutral-200);
  border-left: 1px solid var(--neutral-200);
  margin-top: 96px;
}
.focus-grid .f {
  padding: 40px 32px 40px;
  border-right: 1px solid var(--neutral-200);
  border-bottom: 1px solid var(--neutral-200);
  background: #fff;
}
.focus-grid .f h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 12px;
  color: var(--color-forest);
}
.focus-grid .f p {
  font-family: var(--font-serif);
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 920px) { .focus-grid { grid-template-columns: 1fr; } }

/* ── Stat strip (Home) ─────────────────────────────────── */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
  justify-content: center;
}
.stat-block .stat-num {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(48px, 6vw, 88px);
  letter-spacing: -0.01em;
  line-height: 0.95;
  color: var(--color-forest);
  display: block;
}
.stat-block .stat-label {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-top: 16px;
  display: block;
}
.bg-forest .stat-block .stat-num { color: #fff; }
.bg-forest .stat-block .stat-label { color: rgba(255,255,255,0.65); }
@media (max-width: 720px) {
  .stat-strip { grid-template-columns: 1fr; gap: 32px; }
}

/* ── Featured project (Home) ───────────────────────────── */
.featured-project {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.featured-project .fp-image {
  aspect-ratio: 4/3;
  width: 100%;
}
.featured-project .fp-image image-slot {
  width: 100%; height: 100%; display: block;
}
.featured-project .fp-body .pretitle {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin: 0 0 16px;
}
.featured-project .fp-body h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 56px);
  letter-spacing: 0.005em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin: 0 0 24px;
}
.featured-project .fp-body p {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.7;
  color: var(--fg-1);
  margin: 0 0 32px;
}
.featured-project dl {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin: 0 0 40px;
}
.featured-project dt {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 6px;
}
.featured-project dd {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--fg-1);
  margin: 0;
}
@media (max-width: 920px) {
  .featured-project { grid-template-columns: 1fr; gap: 32px; }
}

/* ──────────────────────────────────────────────────────────
   ABOUT
   ────────────────────────────────────────────────────────── */
.about-single { max-width: 880px; margin: 0 auto; }
.about-body {
  max-width: 760px;
  margin-top: 56px;
  font-family: var(--font-serif);
  font-size: 19px;
  line-height: 1.7;
  color: var(--fg-1);
}
.about-body p { margin: 0 0 24px; text-align: justify; text-justify: inter-word; }
.about-body p:last-child { margin: 0; }
.h-1.intro { max-width: 880px; margin-top: 18px; }

.expertise-section { margin-top: 112px; }
.expertise-list {
  list-style: none;
  padding: 0;
  margin: 36px 0 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--neutral-200);
}
.expertise-list li {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 28px;
  padding: 32px 0;
  border-bottom: 1px solid var(--neutral-200);
  align-items: center;
}
.expertise-icon {
  width: 48px;
  height: 48px;
  color: var(--color-forest);
  align-self: center;
  justify-self: center;
}
.expertise-icon svg { width: 100%; height: 100%; display: block; }
.expertise-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin: 0 0 8px;
}
.expertise-desc {
  font-family: var(--font-serif);
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-1);
  margin: 0;
  max-width: 62ch;
}
@media (max-width: 560px) {
  .expertise-list li { grid-template-columns: 48px 1fr; gap: 20px; padding: 24px 0; }
  .expertise-icon { width: 40px; height: 40px; }
}

.closing-note {
  margin-top: 96px;
  padding-top: 48px;
  border-top: 2px solid var(--color-forest);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.55;
  color: var(--color-forest);
  max-width: 760px;
}

/* ──────────────────────────────────────────────────────────
   TEAM
   ────────────────────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 72px 56px;
  margin-top: 16px;
  max-width: 1080px;
}
.team-card .photo {
  aspect-ratio: 4/5;
  width: 100%;
  margin-bottom: 24px;
  background: var(--neutral-200);
  overflow: hidden;
}
.team-card .photo image-slot {
  width: 100%; height: 100%; display: block;
  filter: grayscale(0.12);
  transition: filter 300ms var(--ease);
}
.team-card:hover .photo image-slot { filter: grayscale(0); }
.team-card .role {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin: 0 0 10px;
}
.team-card h3 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 0 0 8px;
  color: var(--color-forest);
}
.team-card .loc {
  font-family: var(--font-headline);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0 0 16px;
}
.team-card .bio {
  font-family: var(--font-serif);
  font-size: 15px;
  line-height: 1.6;
  color: var(--fg-2);
  margin: 0;
}
.contact-line {
  font-family: var(--font-serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-2);
  margin: 8px 0 0;
}
.team-card .contact-line:first-of-type { margin-top: 18px; }
.contact-line a {
  color: var(--color-forest);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms var(--ease);
}
.contact-line a:hover { border-bottom-color: var(--color-forest); }
@media (max-width: 920px) { .team-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .team-grid { grid-template-columns: 1fr; gap: 48px; } }

/* ──────────────────────────────────────────────────────────
   PROJECTS
   ────────────────────────────────────────────────────────── */
.proj-filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}
.proj-filters button {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background: transparent;
  border: 1px solid var(--neutral-300);
  color: var(--fg-2);
  padding: 10px 18px;
  border-radius: 999px;
  transition: all 180ms var(--ease);
}
.proj-filters button:hover { border-color: var(--color-forest); color: var(--color-forest); }
.proj-filters button.is-active {
  background: var(--color-forest);
  border-color: var(--color-forest);
  color: #fff;
}

.proj-featured {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 48px;
  margin-bottom: 96px;
  align-items: end;
}
.proj-featured .img {
  aspect-ratio: 16/10;
  background: var(--neutral-200);
}
.proj-featured .img image-slot { width: 100%; height: 100%; display: block; }
.proj-featured h2 {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(36px, 4vw, 56px);
  letter-spacing: -0.005em;
  text-transform: uppercase;
  margin: 24px 0 16px;
  color: var(--color-forest);
}
.proj-featured .blurb {
  font-family: var(--font-serif);
  font-size: 18px;
  line-height: 1.6;
  color: var(--fg-1);
  margin: 0 0 24px;
}
.proj-featured dl { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin: 0; }
.proj-featured dt {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 6px;
}
.proj-featured dd { font-family: var(--font-serif); font-size: 16px; color: var(--fg-1); margin: 0; }
@media (max-width: 920px) { .proj-featured { grid-template-columns: 1fr; gap: 24px; } }

.proj-page-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  border-top: 1px solid var(--neutral-200);
}
.proj-row {
  display: grid;
  grid-template-columns: 80px 1.4fr 1fr 1fr 200px;
  gap: 32px;
  padding: 28px 0;
  border-bottom: 1px solid var(--neutral-200);
  align-items: center;
  transition: background 180ms var(--ease);
}
.proj-row:hover { background: var(--neutral-100); }
.proj-row .pr-num {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--color-sage);
}
.proj-row .pr-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--color-forest);
}
.proj-row .pr-meta { font-family: var(--font-serif); font-size: 15px; color: var(--fg-2); }
.proj-row .pr-status {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.proj-row .pr-thumb {
  aspect-ratio: 16/10;
  width: 200px;
  background: var(--neutral-200);
  justify-self: end;
}
.proj-row .pr-thumb image-slot { width: 100%; height: 100%; display: block; }
@media (max-width: 920px) {
  .proj-row {
    grid-template-columns: 64px 1fr;
    grid-template-areas:
      "num name"
      ". meta"
      ". status";
    gap: 6px 16px;
    padding: 22px 0;
  }
  .proj-row .pr-num { grid-area: num; }
  .proj-row .pr-name { grid-area: name; }
  .proj-row .pr-meta { grid-area: meta; }
  .proj-row .pr-status { grid-area: status; }
  .proj-row .pr-thumb { display: none; }
}

/* ──────────────────────────────────────────────────────────
   CONTACT
   ────────────────────────────────────────────────────────── */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 96px;
  align-items: start;
}
@media (max-width: 920px) { .contact-grid { grid-template-columns: 1fr; gap: 56px; } }

.contact-form { max-width: 560px; }
.contact-form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
@media (max-width: 560px) { .contact-form .row { grid-template-columns: 1fr; gap: 0; } }

.form-field { display: block; margin-bottom: 28px; }
.form-field label {
  display: block;
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  font-family: var(--font-serif);
  font-size: 17px;
  padding: 14px 0;
  border: 0;
  border-bottom: 1px solid var(--neutral-300);
  background: transparent;
  color: var(--fg-1);
  transition: border-color 180ms var(--ease);
  border-radius: 0;
  outline: none;
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus { border-bottom-color: var(--color-forest); }
.form-field textarea { resize: vertical; min-height: 120px; }

.contact-info-block { padding: 32px 0; border-top: 1px solid var(--neutral-200); }
.contact-info-block:last-child { border-bottom: 1px solid var(--neutral-200); }
.contact-info-block h4 {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-sage);
  margin: 0 0 14px;
}
.contact-info-block p,
.contact-info-block a {
  font-family: var(--font-serif);
  font-size: 17px;
  color: var(--fg-1);
  line-height: 1.55;
  margin: 0;
  display: block;
}
.contact-info-block a:hover { color: var(--color-forest); }

.map-block {
  aspect-ratio: 16/9;
  background:
    linear-gradient(135deg, rgba(32,90,65,0.05), rgba(111,160,136,0.12)),
    repeating-linear-gradient(0deg,  transparent 0 39px, rgba(32,90,65,0.08) 39px 40px),
    repeating-linear-gradient(90deg, transparent 0 39px, rgba(32,90,65,0.08) 39px 40px),
    var(--neutral-100);
  margin-top: 32px;
  border: 1px solid var(--neutral-200);
  position: relative;
}
.map-block::after {
  content: '';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: 16px; height: 16px;
  background: var(--color-forest);
  border-radius: 50%;
  box-shadow:
    0 0 0 6px  rgba(32,90,65,0.15),
    0 0 0 14px rgba(32,90,65,0.08);
}

/* ──────────────────────────────────────────────────────────
   PROJECT DETAIL
   ────────────────────────────────────────────────────────── */
/* Full-bleed photo hero with the title overlaid */
.project-hero {
  position: relative;
  min-height: 72vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--color-forest-deep);
  color: #fff;
}
.project-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.project-hero-bg image-slot {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-forest-deep);
}
.project-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(15, 25, 20, 0.55) 0%,
    rgba(15, 25, 20, 0.28) 40%,
    rgba(15, 25, 20, 0.62) 78%,
    rgba(15, 25, 20, 0.88) 100%);
}
.project-hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 64px;
  margin-top: 160px;
}
.project-hero-content .h-display { color: #fff; margin: 18px 0 0; }
@media (max-width: 720px) {
  .project-hero { min-height: 64vh; }
  .project-hero-content { padding-bottom: 40px; margin-top: 128px; }
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color 180ms var(--ease);
  margin-bottom: 24px;
}
.back-link:hover { color: #fff; }
.back-link::before { content: '\2190'; font-weight: 400; font-size: 14px; letter-spacing: 0; }

.project-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-top: 32px;
  font-family: var(--font-headline);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}
.project-meta-row .pm-label { color: var(--color-sage); margin-right: 8px; }

.project-hero-image {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--neutral-200);
}
.project-hero-image image-slot { width: 100%; height: 100%; display: block; }

.project-body {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 96px;
  align-items: start;
}
.project-body .col-1 .body-l p { margin: 0 0 24px; }
.project-body .col-1 .body-l p:last-child { margin: 0; }
.project-body .col-2 {
  position: sticky;
  top: 140px;
  padding: 32px 0;
  border-top: 1px solid var(--color-forest);
  border-bottom: 1px solid var(--neutral-300);
}
.project-body .fact-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid var(--neutral-200);
}
.project-body .fact-row:last-child { border-bottom: 0; }
.project-body .fact-row dt {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0;
}
.project-body .fact-row dd {
  font-family: var(--font-serif);
  font-size: 16px;
  color: var(--fg-1);
  margin: 0;
  line-height: 1.5;
}
@media (max-width: 920px) {
  .project-body { grid-template-columns: 1fr; gap: 48px; }
  .project-body .col-2 { position: static; }
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 24px;
}
.gallery-grid .gi {
  aspect-ratio: 4/3;
  background: var(--neutral-200);
}
.gallery-grid .gi.tall { aspect-ratio: 1/1; grid-row: span 2; }
.gallery-grid .gi image-slot { width: 100%; height: 100%; display: block; }
/* image-slot stamps [data-filled] when a photo is dropped.
   Hide each empty gallery slot — and hide the whole Gallery section
   if no slots have photos yet, so the heading doesn't float over nothing. */
.gallery-grid .gi:has(image-slot:not([data-filled])) { display: none; }
section[data-screen-label="Gallery"]:not(:has(image-slot[data-filled])) { display: none; }
@media (max-width: 720px) { .gallery-grid { grid-template-columns: 1fr 1fr; } }

/* ── Drone footage (Project pages) ─────────────────────── */
.drone-video-wrap {
  margin-top: 24px;
  aspect-ratio: 16/9;
  width: 100%;
  background: var(--neutral-900, #111);
  border-radius: 2px;
  overflow: hidden;
}
.drone-video-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}
.drone-video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.other-projects {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 32px;
}
.other-card {
  display: block;
}
.other-card .photo {
  aspect-ratio: 4/3;
  background: var(--neutral-200);
  margin-bottom: 18px;
  overflow: hidden;
  transition: transform 400ms var(--ease);
}
.other-card .photo image-slot { width: 100%; height: 100%; display: block; }
.other-card:hover .photo { transform: scale(1.02); }
.other-card .name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: 18px;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: var(--color-forest);
  margin: 0 0 6px;
}
.other-card .loc {
  font-family: var(--font-serif);
  font-size: 14px;
  color: var(--fg-2);
  margin: 0;
}
@media (max-width: 720px) { .other-projects { grid-template-columns: 1fr; } }

.proj-row { text-decoration: none; }

/* ──────────────────────────────────────────────────────────
   PROJECT CARD GRID (image-overlay style)
   ────────────────────────────────────────────────────────── */
.proj-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card {
  position: relative;
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--color-forest-deep);
  text-decoration: none;
  border-radius: 2px;
}
.proj-card .pc-media {
  position: absolute;
  inset: 0;
  transition: transform 600ms var(--ease);
}
.proj-card .pc-media image-slot {
  width: 100%;
  height: 100%;
  display: block;
  background: var(--color-forest-deep);
}
.proj-card:hover .pc-media { transform: scale(1.05); }
.proj-card .pc-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(15, 25, 20, 0.88) 0%,
    rgba(15, 25, 20, 0.55) 38%,
    rgba(15, 25, 20, 0.12) 72%,
    rgba(15, 25, 20, 0.05) 100%);
  transition: background 300ms var(--ease);
}
.proj-card:hover .pc-overlay {
  background: linear-gradient(
    to top,
    rgba(15, 25, 20, 0.92) 0%,
    rgba(20, 40, 30, 0.7) 45%,
    rgba(32, 90, 65, 0.28) 100%);
}
.proj-card .pc-status {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 2;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(15, 25, 20, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 7px 12px;
  border-radius: 999px;
}
.proj-card .pc-status.is-dev {
  color: var(--color-forest-deep);
  background: var(--color-sage);
  border-color: var(--color-sage);
}
.proj-card .pc-content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 28px;
  color: #fff;
}
.proj-card .pc-num {
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--color-sage);
  margin: 0 0 10px;
}
.proj-card .pc-name {
  font-family: var(--font-headline);
  font-weight: 700;
  font-size: clamp(20px, 1.8vw, 26px);
  line-height: 1.05;
  letter-spacing: -0.005em;
  text-transform: uppercase;
  color: #fff;
  margin: 0 0 10px;
}
.proj-card .pc-meta {
  font-family: var(--font-headline);
  font-weight: 500;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0;
}
.proj-card .pc-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  font-family: var(--font-headline);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 280ms var(--ease), transform 280ms var(--ease);
}
.proj-card .pc-cta::after { content: '→'; letter-spacing: 0; }
.proj-card:hover .pc-cta { opacity: 1; transform: translateY(0); }
@media (hover: none) {
  .proj-card .pc-cta { opacity: 1; transform: none; }
}
@media (max-width: 920px) {
  .proj-card-grid { grid-template-columns: 1fr 1fr; gap: 18px; }
}
@media (max-width: 560px) {
  .proj-card-grid { grid-template-columns: 1fr; }
}

/* Netlify Forms honeypot — visually hidden from real visitors */
.hidden-field {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ── Page header with photo (About / Team / Projects / Contact) ── */
.page-header.has-photo { background: var(--color-forest-deep); }
.page-header > .ph-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.page-header > .ph-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.page-header > .ph-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(20, 50, 36, 0.78) 0%,
      rgba(20, 50, 36, 0.52) 55%,
      rgba(20, 50, 36, 0.30) 100%),
    linear-gradient(180deg,
      rgba(15, 32, 26, 0.55) 0%,
      rgba(15, 32, 26, 0) 35%);
}
.page-header.has-photo > .container { z-index: 2; }

/* ── Secondary project photo ── */
.project-photo-wide {
  margin-top: 24px;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  background: var(--neutral-200);
}
.project-photo-wide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ── Consistent header height: interior page headers and project headers ── */
.page-header.has-photo,
.project-hero {
  min-height: 52vh;
  display: flex;
  align-items: flex-end;
}
.page-header.has-photo { padding: 140px 0 56px; }
.project-hero-content { margin-top: 140px; padding-bottom: 56px; }
.page-header.has-photo > .container { width: 100%; }
@media (max-width: 720px) {
  .page-header.has-photo,
  .project-hero { min-height: 48vh; }
  .page-header.has-photo { padding: 120px 0 36px; }
  .project-hero-content { margin-top: 120px; padding-bottom: 36px; }
}

/* ── Header consistency: same title size + spacing on every page and project header ── */
.page-header .h-display,
.project-hero .h-display {
  font-size: clamp(40px, 5vw, 72px);
  margin-top: 18px;
}
.page-header + .section,
.project-hero + .section { padding-top: 88px; }
@media (max-width: 720px) {
  .page-header + .section,
  .project-hero + .section { padding-top: 56px; }
}
