/* =========================================================
   MACHELLS CONSTRUCTION — Design System
   Strategy-matched: dark, editorial, architectural
   ========================================================= */

:root {
  /* Colours (locked from strategy §6.2) */
  --charcoal: #1A1A1A;
  --graphite: #2A2A2A;
  --chalk: #F2EFEA;
  --concrete: #8C8A85;
  --concrete-dim: #6B6964;
  --timber: #A77E4A;
  --deep-red: #7E2B1F;

  /* Typography */
  --font-display: "Inter Tight", "Neue Haas Grotesk Display", system-ui, -apple-system, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;

  /* Scale */
  --container-max: 1440px;
  --content-max: 1280px;
  --gutter: 24px;
  --section-pad-y-desktop: 140px;
  --section-pad-y-mobile: 80px;
}

/* =========================================================
   Reset + base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--charcoal);
  color: var(--chalk);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--timber); }
button { font-family: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 500; letter-spacing: -0.02em; line-height: 1.05; }
p { margin: 0; }

/* =========================================================
   Typography scale
   ========================================================= */
.t-display {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  font-weight: 500;
}
.t-h1 { font-size: clamp(40px, 5.5vw, 72px); letter-spacing: -0.025em; line-height: 1.05; }
.t-h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.02em; line-height: 1.1; }
.t-h3 { font-size: clamp(24px, 2.4vw, 30px); letter-spacing: -0.015em; line-height: 1.2; }
.t-lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.5; color: var(--chalk); opacity: .85; }
.t-body { font-size: 17px; line-height: 1.6; color: var(--chalk); opacity: .80; }
.t-meta {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--concrete);
}
.t-caption {
  font-size: 13px;
  color: var(--concrete);
  letter-spacing: 0.02em;
}

/* =========================================================
   Layout utilities
   ========================================================= */
.container {
  width: 100%;
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section {
  padding: var(--section-pad-y-desktop) 0;
  position: relative;
}
@media (max-width: 900px) {
  section { padding: var(--section-pad-y-mobile) 0; }
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--concrete);
  margin-bottom: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.section-label::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--concrete);
  display: inline-block;
}
.rule {
  width: 100%;
  height: 1px;
  background: rgba(242, 239, 234, 0.08);
  border: 0;
  margin: 0;
}

/* =========================================================
   Buttons
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 28px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  border: 1px solid var(--chalk);
  color: var(--chalk);
  background: transparent;
  transition: all .25s ease;
  cursor: pointer;
  line-height: 1;
}
.btn:hover { background: var(--chalk); color: var(--charcoal); }
.btn-primary { background: var(--chalk); color: var(--charcoal); }
.btn-primary:hover { background: transparent; color: var(--chalk); }
.btn .arrow {
  display: inline-block;
  transition: transform .25s ease;
}
.btn:hover .arrow { transform: translateX(4px); }
.link-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk);
  border-bottom: 1px solid rgba(242, 239, 234, 0.3);
  padding-bottom: 2px;
  transition: all .25s ease;
}
.link-inline:hover { border-bottom-color: var(--chalk); color: var(--chalk); }
.link-inline .arrow { transition: transform .25s ease; }
.link-inline:hover .arrow { transform: translateX(4px); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  background: rgba(26, 26, 26, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(242, 239, 234, 0.06);
}
.nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--chalk);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.nav-logo span { color: var(--concrete); margin-left: 2px; font-weight: 400; }
.nav-logo .mark {
  width: 32px;
  height: 32px;
  display: inline-block;
  flex-shrink: 0;
}
.nav-logo .mark svg { width: 100%; height: 100%; display: block; }
.nav-links {
  display: flex;
  gap: 40px;
}
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--chalk);
  opacity: .8;
  transition: opacity .25s ease;
}
.nav-links a:hover { opacity: 1; color: var(--chalk); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  border: 1px solid rgba(242, 239, 234, 0.25);
  font-size: 14px;
  font-weight: 500;
  color: var(--chalk);
  transition: all .25s ease;
}
.nav-cta:hover { background: var(--chalk); color: var(--charcoal); border-color: var(--chalk); }
.nav-burger { display: none; }
@media (max-width: 900px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    height: 28px;
    justify-content: center;
  }
  .nav-burger span {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--chalk);
  }
}

/* =========================================================
   HERO
   ========================================================= */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(26, 26, 26, 0.84) 0%, rgba(26, 26, 26, 0.58) 40%, rgba(26, 26, 26, 0.22) 72%, rgba(26, 26, 26, 0.16) 100%),
    linear-gradient(180deg, rgba(26, 26, 26, 0.22) 0%, transparent 22%, transparent 62%, rgba(26, 26, 26, 0.7) 100%),
    url('../images/hero.jpg') center center / cover no-repeat var(--charcoal);
}
.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 234, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 234, 0.015) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
}
/* On narrow screens the text stacks wider — strengthen overlay for legibility */
@media (max-width: 720px) {
  .hero-bg {
    background:
      radial-gradient(ellipse at top right, rgba(167, 126, 74, 0.1) 0%, transparent 55%),
      linear-gradient(180deg, rgba(26, 26, 26, 0.8) 0%, rgba(26, 26, 26, 0.7) 50%, rgba(26, 26, 26, 0.92) 100%),
      url('../images/hero.jpg') center center / cover no-repeat var(--charcoal);
  }
}
.hero-content {
  max-width: 1100px;
  padding-top: 40px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 32px;
}
.hero-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--timber);
  border-radius: 50%;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}
.hero-sub {
  margin-top: 32px;
  max-width: 780px;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--chalk);
  opacity: .8;
  font-weight: 400;
}
.hero-ctas {
  margin-top: 48px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* On phones, stack the hero CTAs as a single column of equal-width buttons */
@media (max-width: 720px) {
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin-top: 32px;
  }
  .hero-ctas .btn {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 13.5px;
  }
}
.hero-meta {
  margin-top: auto;
  padding-top: 64px;
  display: flex;
  gap: 48px;
  align-items: center;
  flex-wrap: wrap;
}
.hero-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-meta-item span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
}
.hero-meta-item span:last-child {
  font-size: 15px;
  color: var(--chalk);
  font-weight: 500;
}

/* =========================================================
   TRUST STRIP
   ========================================================= */
.trust {
  padding: 32px 0;
  border-top: 1px solid rgba(242, 239, 234, 0.06);
  border-bottom: 1px solid rgba(242, 239, 234, 0.06);
  background: var(--graphite);
}
.trust-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  align-items: center;
}
.trust-item {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--concrete);
}
.trust-item strong { color: var(--chalk); font-weight: 500; }

/* Mobile: hero-meta in a neat 2-column grid, tighter spacing into the trust strip,
   and the trust strip itself as a 2x2 grid. Placed AFTER base rules so it wins cascade. */
@media (max-width: 720px) {
  .hero-meta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
    padding-top: 36px;
    padding-bottom: 8px;
    margin-top: auto;
    align-items: start;
  }
  .hero-meta-item { gap: 4px; }
  .trust { padding: 18px 0; }
  .trust-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
    justify-items: start;
    align-items: center;
  }
  .trust-item { font-size: 10.5px; letter-spacing: 0.12em; }
}

/* =========================================================
   CAPABILITIES
   ========================================================= */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(242, 239, 234, 0.08);
  margin-top: 72px;
  border: 1px solid rgba(242, 239, 234, 0.08);
}
@media (max-width: 900px) {
  .cap-grid { grid-template-columns: 1fr; }
}
.cap-tile {
  background: var(--charcoal);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-height: 260px;
  transition: background .3s ease;
  position: relative;
  cursor: pointer;
}
.cap-tile:hover { background: var(--graphite); }
.cap-tile-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--concrete);
  letter-spacing: 0.14em;
}
.cap-tile h3 {
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.cap-tile p {
  font-size: 15px;
  line-height: 1.55;
  color: var(--chalk);
  opacity: .7;
  flex-grow: 1;
}
.cap-tile-arrow {
  margin-top: 16px;
  color: var(--concrete);
  transition: transform .25s ease, color .25s ease;
}
.cap-tile:hover .cap-tile-arrow { color: var(--chalk); transform: translateX(4px); }
.cap-supporting {
  margin-top: 32px;
  padding: 24px 28px;
  border: 1px solid rgba(242, 239, 234, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.cap-supporting-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
}

/* =========================================================
   WHY
   ========================================================= */
.why {
  background: var(--graphite);
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 72px;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 32px; }
}
.why-item {
  padding-top: 32px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
.why-item-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--timber);
  letter-spacing: 0.18em;
  margin-bottom: 16px;
}
.why-item h3 {
  font-size: 22px;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.why-item p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: .75;
}

/* =========================================================
   HEADER BLOCK (used across sections)
   ========================================================= */
.section-head {
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 64px;
  align-items: end;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .section-head { grid-template-columns: 1fr; gap: 16px; }
}
.section-head h2 { font-size: clamp(36px, 4.2vw, 56px); }
.section-head p {
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.6;
  color: var(--chalk);
  opacity: .75;
  max-width: 560px;
}

/* =========================================================
   PROJECTS
   ========================================================= */
.projects-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-auto-rows: min-content;
  gap: 24px;
  margin-top: 56px;
}
.project-card {
  background: var(--graphite);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  aspect-ratio: 4/3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 32px;
  transition: transform .4s ease;
}
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}
.project-card > * { position: relative; z-index: 2; }
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.9) 0%, rgba(26, 26, 26, 0.2) 60%, transparent 100%);
  z-index: 1;
}
.project-card.feature {
  grid-row: span 2;
  aspect-ratio: unset;
}
@media (max-width: 900px) {
  .projects-grid { grid-template-columns: 1fr; }
  .project-card.feature { grid-row: span 1; }
}
.project-card:hover { transform: translateY(-4px); }
.project-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 12px;
}
.project-card h3 {
  font-size: clamp(22px, 2vw, 28px);
  line-height: 1.15;
  margin-bottom: 12px;
  letter-spacing: -0.015em;
}
.project-card.feature h3 { font-size: clamp(28px, 3vw, 40px); }
.project-scope {
  font-size: 14px;
  color: var(--chalk);
  opacity: .8;
  line-height: 1.5;
  max-width: 420px;
}
.project-arrow {
  position: absolute;
  top: 28px;
  right: 28px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(242, 239, 234, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  transition: all .25s ease;
}
.project-card:hover .project-arrow {
  background: var(--chalk);
  color: var(--charcoal);
  border-color: var(--chalk);
}
/* Real project photos as backgrounds */
.project-card::before {
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.project-card:hover::before { transform: scale(1.04); }
.project-card[data-img="p1"]::before {
  background-image: url('../images/projects/d5-brighton-framing.jpg');
}
.project-card[data-img="p2"]::before {
  background-image: url('../images/projects/ausco-ballarat-lift.jpg');
}
.project-card[data-img="p3"]::before {
  background-image: url('../images/projects/cas-north-melbourne-cladding.jpg');
}
.project-card[data-img="p4"]::before {
  background-image: url('../images/projects/private-toorak-spiral-stair.jpg');
}
.project-card[data-img="p5"]::before {
  background-image: url('../images/projects/cardabuilt-moorabbin-formwork.jpg');
}
.projects-footer {
  margin-top: 48px;
  display: flex;
  justify-content: flex-end;
}

/* =========================================================
   SECTORS
   ========================================================= */
.sectors-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: rgba(242, 239, 234, 0.08);
  margin-top: 56px;
  border: 1px solid rgba(242, 239, 234, 0.08);
}
@media (max-width: 1100px) {
  .sectors-row { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .sectors-row { grid-template-columns: 1fr; }
}
.sector {
  background: var(--charcoal);
  padding: 40px 28px;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  transition: background .3s ease;
}
.sector p { margin-top: auto; }
.sector:hover { background: var(--graphite); }
.sector-num {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--concrete);
}
.sector h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.sector p {
  font-size: 14px;
  color: var(--chalk);
  opacity: .7;
  line-height: 1.5;
}

/* =========================================================
   SAFETY
   ========================================================= */
.safety {
  background: var(--graphite);
}
.safety-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
@media (max-width: 900px) {
  .safety-grid { grid-template-columns: 1fr; gap: 48px; }
}
.safety-copy h2 { font-size: clamp(36px, 4vw, 52px); }
.safety-copy p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: .8;
  max-width: 540px;
}
.safety-panel {
  display: flex;
  flex-direction: column;
}
.safety-item {
  padding: 32px 0;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 32px;
  align-items: start;
}
.safety-item:last-child { border-bottom: 1px solid rgba(242, 239, 234, 0.15); }
.safety-item-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--timber);
  padding-top: 4px;
}
.safety-item-body {
  font-size: 15px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: .85;
}
.safety-item-body strong { color: var(--chalk); opacity: 1; font-weight: 500; }
.safety-cta { margin-top: 40px; }

/* =========================================================
   PROCESS
   ========================================================= */
.process-steps {
  margin-top: 64px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
@media (max-width: 900px) {
  .process-steps { grid-template-columns: 1fr; }
}
.process-step {
  padding: 40px 32px 40px 0;
  border-right: 1px solid rgba(242, 239, 234, 0.08);
  position: relative;
}
.process-step:last-child { border-right: 0; padding-right: 0; }
.process-step::before {
  content: "";
  display: block;
  margin-bottom: 32px;
}
@media (max-width: 900px) {
  .process-step { border-right: 0; border-bottom: 1px solid rgba(242, 239, 234, 0.08); padding: 32px 0; }
  .process-step:last-child { border-bottom: 0; }
}
.process-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--timber);
  margin-bottom: 20px;
}
.process-step h3 {
  font-size: 22px;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
}
.process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: .75;
  max-width: 280px;
}

/* =========================================================
   STATS
   ========================================================= */
.stats {
  padding: 100px 0;
  background: var(--charcoal);
  border-top: 1px solid rgba(242, 239, 234, 0.08);
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
}
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 48px 24px; }
}
.stat-item {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 5.5vw, 72px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--chalk);
}
.stat-num sup {
  font-size: 0.4em;
  vertical-align: super;
  color: var(--timber);
  font-weight: 500;
  margin-left: 4px;
}
.stat-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}

/* =========================================================
   TESTIMONIAL
   ========================================================= */
.testimonial {
  padding: 140px 0;
}
.testimonial-inner {
  max-width: 1000px;
  margin: 0 auto;
  text-align: left;
}
.testimonial blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1.3;
  letter-spacing: -0.02em;
  color: var(--chalk);
  font-weight: 400;
  margin: 0;
  padding: 0;
}
.testimonial blockquote::before {
  content: "—";
  color: var(--timber);
  margin-right: 12px;
}
.testimonial-attribution {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-attribution .name {
  font-weight: 500;
  font-size: 15px;
  color: var(--chalk);
}
.testimonial-attribution .role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}

/* Multi-testimonial grid (homepage social proof row) */
.testimonial-grid-wrap {
  max-width: 1200px;
  margin: 0 auto;
}
.testimonial-grid-head {
  margin-bottom: 56px;
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 40px;
  flex-wrap: wrap;
}
.testimonial-grid-head h2 {
  font-family: var(--font-display);
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-top: 14px;
  max-width: 640px;
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 28px;
}
.testimonial-card {
  grid-column: span 2;
}
/* When 5 cards are present, centre the bottom row (3 + 2 layout) */
.testimonial-grid .testimonial-card:nth-child(4):nth-last-child(2) {
  grid-column: 2 / span 2;
}
.testimonial-grid .testimonial-card:nth-child(5):nth-last-child(1) {
  grid-column: 4 / span 2;
}
.testimonial-card {
  background: var(--graphite);
  border: 1px solid rgba(242, 239, 234, 0.08);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transition: border-color 0.3s ease, transform 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(167, 126, 74, 0.35);
  transform: translateY(-2px);
}
.testimonial-card-quote {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--chalk);
  opacity: 0.92;
  margin: 0;
  flex: 1;
}
.testimonial-card-quote::before {
  content: "\201C";
  display: block;
  font-family: var(--font-display);
  font-size: 44px;
  line-height: 0.3;
  color: var(--timber);
  margin-bottom: 20px;
}
.testimonial-card-attr {
  padding-top: 22px;
  border-top: 1px solid rgba(242, 239, 234, 0.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.testimonial-card-attr .name {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 500;
  color: var(--chalk);
  letter-spacing: -0.01em;
}
.testimonial-card-attr .role {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}
@media (max-width: 1060px) {
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .testimonial-grid .testimonial-card,
  .testimonial-grid .testimonial-card:nth-child(4):nth-last-child(2),
  .testimonial-grid .testimonial-card:nth-child(5):nth-last-child(1) {
    grid-column: span 1;
  }
  /* Centre the last card if it's odd-one-out on 2-col */
  .testimonial-grid .testimonial-card:nth-child(5):nth-last-child(1) {
    grid-column: 1 / -1;
    max-width: 50%;
    justify-self: center;
  }
}
@media (max-width: 720px) {
  .testimonial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .testimonial-grid .testimonial-card,
  .testimonial-grid .testimonial-card:nth-child(4):nth-last-child(2),
  .testimonial-grid .testimonial-card:nth-child(5):nth-last-child(1) {
    grid-column: span 1;
    max-width: none;
    justify-self: stretch;
  }
  .testimonial-card {
    padding: 32px 28px;
  }
}

/* =========================================================
   FINAL CTA
   ========================================================= */
.cta-final {
  padding: 160px 0;
  background:
    radial-gradient(ellipse at center, rgba(167, 126, 74, 0.06) 0%, transparent 60%),
    var(--charcoal);
  border-top: 1px solid rgba(242, 239, 234, 0.08);
  text-align: center;
}
.cta-final h2 {
  font-size: clamp(44px, 6vw, 88px);
  letter-spacing: -0.03em;
  line-height: 1;
  max-width: 900px;
  margin: 0 auto;
}
.cta-final p {
  margin: 32px auto 0;
  font-size: 18px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: .75;
  max-width: 540px;
}
.cta-final .hero-ctas { justify-content: center; margin-top: 48px; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer {
  background: #0F0F0F;
  padding: 100px 0 40px;
  border-top: 1px solid rgba(242, 239, 234, 0.06);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 56px;
  margin-bottom: 80px;
}
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 48px 32px; }
}
@media (max-width: 600px) {
  .footer-grid { grid-template-columns: 1fr; }
}
.footer-brand .nav-logo { font-size: 20px; margin-bottom: 16px; display: inline-flex; align-items: center; gap: 14px; }
.footer-brand .nav-logo .mark { width: 36px; height: 36px; }
.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: .6;
  max-width: 320px;
  margin-top: 16px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul a {
  font-size: 14px;
  color: var(--chalk);
  opacity: .75;
  transition: opacity .25s ease;
}
.footer-col ul a:hover { opacity: 1; color: var(--chalk); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid rgba(242, 239, 234, 0.06);
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-bottom p, .footer-bottom a {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--concrete);
}
.footer-bottom-links { display: flex; gap: 32px; }

/* =========================================================
   Small-screen adjustments
   ========================================================= */
@media (max-width: 600px) {
  :root {
    --section-pad-y-desktop: 80px;
    --section-pad-y-mobile: 64px;
  }
  .hero { padding-top: 140px; }
  .hero-meta { gap: 24px; padding-top: 40px; }
  .trust-inner { gap: 16px; justify-content: center; }
  .trust-item { font-size: 10px; }
}

/* =========================================================
   PAGE HEROES (non-home)
   ========================================================= */
.page-hero {
  padding-top: 200px;
  padding-bottom: 100px;
  position: relative;
  border-bottom: 1px solid rgba(242, 239, 234, 0.06);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(167, 126, 74, 0.07) 0%, transparent 55%),
    var(--charcoal);
  z-index: 0;
}
.page-hero-bg::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(242, 239, 234, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(242, 239, 234, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  opacity: 0.4;
}
.page-hero .eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 28px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.page-hero .eyebrow::before {
  content: ""; width: 24px; height: 1px; background: var(--concrete);
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 7vw, 96px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  max-width: 1100px;
}
.page-hero .sub {
  margin-top: 32px;
  max-width: 720px;
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.8;
}

/* =========================================================
   CAPABILITY SHOWCASE — photo + caption after page hero
   ========================================================= */
.cap-showcase {
  padding: 0;
  background: var(--charcoal);
}
.cap-showcase-inner {
  position: relative;
  overflow: hidden;
  background: var(--graphite);
  aspect-ratio: 21 / 9;
}
.cap-showcase-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.cap-showcase-inner:hover img { transform: scale(1.02); }
.cap-showcase-caption {
  margin-top: 16px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}
.cap-showcase-caption .cap-showcase-project {
  color: var(--chalk);
  opacity: 0.75;
}
@media (max-width: 720px) {
  .cap-showcase-inner { aspect-ratio: 4 / 3; }
}

/* =========================================================
   ABOUT — story grid
   ========================================================= */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: 32px; }
}
.story-grid h2 { font-size: clamp(32px, 3.6vw, 44px); }
.story-body {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.story-body p {
  font-size: 18px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: 0.85;
}
.story-body p strong { color: var(--chalk); opacity: 1; font-weight: 500; }

/* =========================================================
   DIRECTORS
   ========================================================= */
.directors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(242, 239, 234, 0.08);
  margin-top: 64px;
  border: 1px solid rgba(242, 239, 234, 0.08);
}
@media (max-width: 900px) {
  .directors-grid { grid-template-columns: 1fr; }
}
.director-card {
  background: var(--charcoal);
  padding: 40px 36px;
}
.director-portrait {
  aspect-ratio: 4 / 5;
  background:
    radial-gradient(ellipse at 40% 30%, rgba(167, 126, 74, 0.15) 0%, transparent 60%),
    linear-gradient(160deg, #2a2520 0%, #121010 100%);
  margin-bottom: 28px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(242, 239, 234, 0.06);
}
.director-portrait::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 80px;
  letter-spacing: -0.04em;
  color: rgba(167, 126, 74, 0.35);
  font-weight: 500;
  z-index: 1;
}
.director-portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  z-index: 2;
  transition: transform 0.6s ease;
}
.director-card:hover .director-portrait img {
  transform: scale(1.03);
}
.director-role {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 12px;
}
.director-card h3 {
  font-size: 26px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.director-card p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: 0.75;
  margin-bottom: 12px;
}

/* =========================================================
   VALUES
   ========================================================= */
.values-list {
  margin-top: 56px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
.values-item {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 40px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  align-items: start;
}
@media (max-width: 720px) {
  .values-item { grid-template-columns: 1fr; gap: 12px; padding: 28px 0; }
}
.values-item h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.2;
}
.values-item-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--timber);
  padding-top: 8px;
}
.values-item p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: 0.8;
  max-width: 640px;
}

/* =========================================================
   FORM
   ========================================================= */
.form-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}
@media (max-width: 900px) {
  .form-layout { grid-template-columns: 1fr; gap: 56px; }
}
.form-side h2 { font-size: clamp(32px, 3.4vw, 44px); }
.form-side > p {
  margin-top: 24px;
  font-size: 17px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: 0.8;
  max-width: 460px;
}
.form-alt {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-alt-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
}
.form-alt-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  font-size: 15px;
  line-height: 1.5;
}
.form-alt-item span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  padding-top: 2px;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 600px) {
  .form-row { grid-template-columns: 1fr; }
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-field label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}
.form-field input,
.form-field textarea,
.form-field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.25);
  padding: 12px 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--chalk);
  outline: none;
  transition: border-color 0.25s ease;
}
.form-field textarea {
  min-height: 120px;
  resize: vertical;
  font-family: var(--font-body);
}
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  border-bottom-color: var(--timber);
}
.form-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23F2EFEA' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0 center;
  padding-right: 24px;
  cursor: pointer;
}
.form-field select option { background: var(--charcoal); color: var(--chalk); }
.form-consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.75;
}
.form-consent input {
  margin-top: 4px;
  accent-color: var(--timber);
}
.form-submit {
  margin-top: 24px;
  align-self: flex-start;
}
.file-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px;
  border: 1px dashed rgba(242, 239, 234, 0.2);
  font-size: 14px;
  color: var(--chalk);
  opacity: 0.8;
}
.file-field input[type="file"] {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--chalk);
  border: 0;
  padding: 0;
}

/* =========================================================
   CAPABILITIES — index + subpage
   ========================================================= */
.cap-index-list {
  margin-top: 64px;
}
.cap-index-item {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  align-items: center;
  transition: background 0.25s ease;
  position: relative;
}
.cap-index-item:first-child {
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
.cap-index-item:hover { background: rgba(242, 239, 234, 0.02); }
@media (max-width: 720px) {
  .cap-index-item { grid-template-columns: 60px 1fr; gap: 20px; padding: 32px 0; }
  .cap-index-item .arrow-large { grid-column: 1 / -1; justify-self: end; }
}
.cap-index-num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--concrete);
}
.cap-index-item h3 {
  font-size: clamp(24px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.cap-index-item p {
  font-size: 15px;
  color: var(--chalk);
  opacity: 0.7;
  max-width: 560px;
  line-height: 1.5;
}
.arrow-large {
  width: 56px;
  height: 56px;
  border: 1px solid rgba(242, 239, 234, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  transition: all 0.25s ease;
}
.cap-index-item:hover .arrow-large {
  background: var(--chalk);
  color: var(--charcoal);
  border-color: var(--chalk);
}

/* Capability subpage */
.cap-header-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  margin-top: 40px;
}
@media (max-width: 900px) {
  .cap-header-grid { grid-template-columns: 1fr; gap: 32px; }
}
.cap-scope-block {
  margin-top: 100px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
}
@media (max-width: 900px) {
  .cap-scope-block { grid-template-columns: 1fr; gap: 24px; }
}
.cap-scope-block h2 { font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.02em; }
.cap-scope-list {
  display: flex;
  flex-direction: column;
}
.cap-scope-list li {
  padding: 16px 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  font-size: 17px;
  line-height: 1.5;
  display: flex;
  gap: 16px;
}
.cap-scope-list li::before {
  content: "—";
  color: var(--timber);
  flex-shrink: 0;
}
.cap-scope-list li:first-child {
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}

/* =========================================================
   PROJECTS — index
   ========================================================= */
.projects-filter {
  display: flex;
  gap: 20px;
  margin: 0 0 56px;
  padding: 16px 0;
  border-top: 1px solid rgba(242, 239, 234, 0.08);
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  flex-wrap: wrap;
}
.projects-filter button {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  padding: 8px 14px;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: pointer;
}
.projects-filter button:hover,
.projects-filter button.active {
  color: var(--chalk);
  border-color: rgba(242, 239, 234, 0.2);
}
.projects-index-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .projects-index-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
  .projects-index-grid { grid-template-columns: 1fr; }
}
.project-index-card {
  display: block;
  cursor: pointer;
}
.project-index-card .image {
  aspect-ratio: 4 / 5;
  margin-bottom: 20px;
  overflow: hidden;
  background: #1c1815;
  position: relative;
}
.project-index-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, opacity 0.3s ease;
}
.project-index-card:hover .image img { transform: scale(1.03); opacity: 0.92; }
.project-index-card.is-hidden { display: none; }
.project-index-card .meta {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 10px;
}
.project-index-card h3 {
  font-size: 22px;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin-bottom: 8px;
}
.project-index-card p {
  font-size: 14px;
  color: var(--chalk);
  opacity: 0.7;
  line-height: 1.5;
}

/* =========================================================
   PROJECT DETAIL
   ========================================================= */
.project-cover {
  aspect-ratio: 21 / 9;
  background: linear-gradient(135deg, #3a3228 0%, #1c1815 100%);
  margin: 0;
  width: 100%;
}
.project-header-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 80px;
  padding: 80px 0;
  align-items: start;
}
@media (max-width: 900px) {
  .project-header-grid { grid-template-columns: 1fr; gap: 32px; padding: 56px 0; }
}
.project-header-grid h1 {
  font-size: clamp(40px, 5vw, 64px);
  letter-spacing: -0.025em;
  line-height: 1.05;
}
.project-header-grid .lead {
  margin-top: 24px;
  font-size: 19px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.85;
  max-width: 640px;
}
.project-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
  border-bottom: 1px solid rgba(242, 239, 234, 0.15);
}
@media (max-width: 720px) {
  .project-facts { grid-template-columns: repeat(2, 1fr); }
}
.project-fact {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.project-fact span:first-child {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--concrete);
}
.project-fact span:last-child {
  font-size: 16px;
  color: var(--chalk);
}
.project-body-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 100px 0;
}
@media (max-width: 900px) {
  .project-body-grid { grid-template-columns: 1fr; gap: 32px; padding: 64px 0; }
}
.project-body-grid h2 { font-size: clamp(28px, 3vw, 38px); }
.project-body p {
  font-size: 17px;
  line-height: 1.7;
  color: var(--chalk);
  opacity: 0.85;
  margin-bottom: 24px;
}
.project-deliverables {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
.project-deliverables h3 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--timber);
  margin-bottom: 20px;
}
.project-deliverables ul li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  font-size: 16px;
  display: flex;
  gap: 16px;
}
.project-deliverables ul li::before {
  content: "—";
  color: var(--timber);
}
.project-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 0 0 60px;
}
@media (max-width: 720px) {
  .project-gallery { grid-template-columns: 1fr; }
}
.project-gallery .tile {
  aspect-ratio: 4 / 3;
  background: linear-gradient(160deg, #2a2d30 0%, #141618 100%);
}
.project-gallery .tile.wide { grid-column: span 2; aspect-ratio: 21 / 9; }
@media (max-width: 720px) {
  .project-gallery .tile.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* =========================================================
   PROCESS PAGE — expanded
   ========================================================= */
.process-detail {
  margin-top: 56px;
  border-top: 1px solid rgba(242, 239, 234, 0.15);
}
.process-detail-step {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  padding: 64px 0;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  align-items: start;
}
@media (max-width: 900px) {
  .process-detail-step { grid-template-columns: 1fr; gap: 20px; padding: 40px 0; }
}
.process-detail-step .lead h2 {
  font-size: clamp(28px, 3.2vw, 40px);
  letter-spacing: -0.02em;
}
.process-detail-step .num {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--timber);
  margin-bottom: 12px;
}
.process-detail-step .body p {
  font-size: 17px;
  line-height: 1.6;
  color: var(--chalk);
  opacity: 0.85;
  margin-bottom: 20px;
  max-width: 680px;
}
.process-deliverable {
  margin-top: 24px;
  padding: 24px 28px;
  border: 1px solid rgba(242, 239, 234, 0.1);
  background: rgba(242, 239, 234, 0.02);
}
.process-deliverable h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 12px;
  font-weight: 500;
}
.process-deliverable ul { display: flex; flex-direction: column; gap: 8px; }
.process-deliverable ul li {
  font-size: 15px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.85;
  display: flex;
  gap: 12px;
}
.process-deliverable ul li::before {
  content: "→";
  color: var(--timber);
}

/* =========================================================
   TWO PATHS (home + capabilities)
   ========================================================= */
.paths-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .paths-grid { grid-template-columns: 1fr; gap: 16px; }
}
.path-card {
  display: block;
  padding: 48px 40px 40px;
  border: 1px solid rgba(242, 239, 234, 0.08);
  background: rgba(242, 239, 234, 0.015);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  position: relative;
}
.path-card:hover {
  background: var(--graphite);
  border-color: rgba(242, 239, 234, 0.18);
}
.path-card-num {
  position: absolute;
  top: 40px;
  right: 40px;
  font-family: var(--font-display);
  font-size: 64px;
  font-weight: 500;
  color: var(--timber);
  opacity: 0.45;
  line-height: 1;
}
.path-card h3 {
  font-size: clamp(26px, 2.6vw, 34px);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
  max-width: 80%;
}
.path-card-lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--chalk);
  opacity: 0.85;
  margin-bottom: 28px;
}
.path-card-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(242, 239, 234, 0.08);
}
.path-card-list li {
  font-size: 14px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.75;
  display: flex;
  gap: 12px;
}
.path-card-list li::before {
  content: "—";
  color: var(--timber);
  flex-shrink: 0;
}
.path-card-cta {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--chalk);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--timber);
  padding-bottom: 4px;
  transition: border-color 0.3s ease;
}
.path-card:hover .path-card-cta {
  border-color: var(--chalk);
}

/* =========================================================
   404
   ========================================================= */
.four-oh-four {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 180px 24px 120px;
}
.four-oh-four .num {
  font-family: var(--font-display);
  font-size: clamp(120px, 18vw, 260px);
  line-height: 1;
  letter-spacing: -0.05em;
  color: var(--timber);
  opacity: 0.7;
}
.four-oh-four h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -0.02em;
  margin-top: 24px;
  max-width: 640px;
}
.four-oh-four p {
  margin: 24px auto 0;
  max-width: 480px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--chalk);
  opacity: 0.75;
}
.four-oh-four .hero-ctas { justify-content: center; margin-top: 40px; }

/* =========================================================
   Scroll reveal (progressive enhancement)
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .8s ease, transform .8s ease;
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* =========================================================
   MOBILE NAV DRAWER
   Injected by JS on every page. Only visible ≤900px.
   ========================================================= */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(167, 126, 74, 0.08) 0%, transparent 55%),
    rgba(15, 15, 15, 0.985);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 80px 24px 32px;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.38s cubic-bezier(.4, 0, .2, 1),
              opacity 0.25s ease,
              visibility 0s linear 0.38s;
}
body.nav-open .nav-drawer {
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 0.38s cubic-bezier(.2, .8, .2, 1),
              opacity 0.25s ease,
              visibility 0s linear 0s;
}
body.nav-open { overflow: hidden; }
.nav-drawer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}
.nav-drawer-links {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(242, 239, 234, 0.08);
}
.nav-drawer-links a {
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 500;
  letter-spacing: -0.015em;
  color: var(--chalk);
  padding: 22px 4px;
  border-bottom: 1px solid rgba(242, 239, 234, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  position: relative;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease, transform 0.35s ease, color 0.2s ease;
}
body.nav-open .nav-drawer-links a { opacity: 1; transform: translateY(0); }
body.nav-open .nav-drawer-links a:nth-child(1) { transition-delay: 0.06s; }
body.nav-open .nav-drawer-links a:nth-child(2) { transition-delay: 0.11s; }
body.nav-open .nav-drawer-links a:nth-child(3) { transition-delay: 0.16s; }
body.nav-open .nav-drawer-links a:nth-child(4) { transition-delay: 0.21s; }
body.nav-open .nav-drawer-links a:nth-child(5) { transition-delay: 0.26s; }
body.nav-open .nav-drawer-links a:nth-child(6) { transition-delay: 0.31s; }
.nav-drawer-links a::after {
  content: "→";
  font-family: var(--font-body);
  font-size: 22px;
  color: var(--concrete);
  opacity: 0.5;
  font-weight: 400;
  transition: transform 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}
.nav-drawer-links a:hover,
.nav-drawer-links a:active { color: var(--timber); }
.nav-drawer-links a:hover::after { color: var(--timber); opacity: 1; transform: translateX(4px); }
.nav-drawer-tag {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 9px;
  background: var(--timber);
  color: var(--charcoal);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  vertical-align: middle;
  border-radius: 2px;
  font-weight: 500;
}
.nav-drawer-cta {
  margin-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 22px;
  background: var(--chalk);
  color: var(--charcoal) !important;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.36s, transform 0.35s ease 0.36s, background 0.25s ease;
}
body.nav-open .nav-drawer-cta { opacity: 1; transform: translateY(0); }
.nav-drawer-cta span { font-family: var(--font-mono); font-size: 16px; }
.nav-drawer-cta:hover { background: var(--timber); color: var(--charcoal) !important; }
.nav-drawer-meta {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid rgba(242, 239, 234, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s ease 0.42s, transform 0.35s ease 0.42s;
}
body.nav-open .nav-drawer-meta { opacity: 1; transform: translateY(0); }
.nav-drawer-meta-label {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--concrete);
  margin-bottom: 4px;
}
.nav-drawer-meta a {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--chalk);
  padding: 4px 0;
  letter-spacing: 0;
}
.nav-drawer-meta a:hover { color: var(--timber); }
.nav-drawer-meta-addr {
  font-size: 13px;
  color: var(--concrete);
  margin-top: 4px;
  line-height: 1.5;
}
/* When drawer is open, make nav solid (not translucent) for clean X-over-drawer look */
body.nav-open .nav {
  background: rgba(15, 15, 15, 0.97);
  border-bottom-color: rgba(242, 239, 234, 0.04);
}
/* Burger → X animation */
.nav-burger { position: relative; z-index: 1001; }
.nav-burger span { transition: transform 0.28s ease, opacity 0.2s ease; transform-origin: center; }
body.nav-open .nav-burger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
body.nav-open .nav-burger span:nth-child(2) { opacity: 0; }
body.nav-open .nav-burger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }
/* Desktop: drawer is always hidden and can never be focused */
@media (min-width: 901px) {
  .nav-drawer { display: none !important; }
}

/* =========================================================
   IPHONE & TIGHT-VIEWPORT TWEAKS  (≤430px)
   Covers iPhone 15/14/13/12 Pro Max down to SE-class.
   Applies to every page — forms, grids, heroes, footers.
   ========================================================= */
@media (max-width: 430px) {
  :root {
    --gutter: 20px;
    --section-pad-y-desktop: 72px;
    --section-pad-y-mobile: 56px;
  }

  body { font-size: 16px; }

  /* --- NAV --- */
  .nav { padding: 14px 0; }
  .nav-inner { gap: 16px; }
  .nav-logo { font-size: 14px; letter-spacing: 0.05em; gap: 10px; }
  .nav-logo .mark { width: 28px; height: 28px; }

  /* --- NAV DRAWER — tighter at very small widths --- */
  .nav-drawer { padding: 74px 20px 28px; }
  .nav-drawer-links a { font-size: 26px; padding: 18px 2px; }
  .nav-drawer-links a::after { font-size: 20px; }
  .nav-drawer-cta { padding: 16px 20px; font-size: 14px; margin-top: 22px; }
  .nav-drawer-meta { margin-top: 36px; padding-top: 22px; }
  .nav-drawer-meta a { font-size: 15px; }

  /* --- HERO (homepage) --- */
  .hero { padding-top: 120px; padding-bottom: 56px; min-height: auto; }
  .hero-content { padding-top: 16px; }
  .hero-eyebrow { margin-bottom: 20px; font-size: 11px; letter-spacing: 0.16em; }
  .t-display { font-size: clamp(36px, 10.5vw, 48px); line-height: 1.04; }
  .hero-sub { margin-top: 22px; font-size: 16px; line-height: 1.5; }
  /* .hero-ctas — column + size rules live in the ≤720px block near the default .hero-ctas styles */
  .hero-meta { padding-top: 40px; gap: 20px 28px; }
  .hero-meta-item span:last-child { font-size: 14px; }

  /* --- PAGE HERO (non-home pages) --- */
  .page-hero { padding-top: 120px; padding-bottom: 56px; }
  .page-hero h1 { font-size: clamp(36px, 10vw, 48px); line-height: 1.04; }
  .page-hero .eyebrow { margin-bottom: 20px; font-size: 11px; }
  .page-hero .sub { margin-top: 22px; font-size: 16px; }

  /* --- TRUST STRIP --- */
  .trust { padding: 22px 0; }
  .trust-inner { gap: 14px 20px; justify-content: flex-start; }
  .trust-item { font-size: 10px; letter-spacing: 0.12em; }

  /* --- BUTTONS --- */
  .btn { padding: 16px 22px; font-size: 14px; }

  /* --- SECTION HEADINGS --- */
  .section-head { gap: 12px; margin-bottom: 24px; }
  .section-head h2 { font-size: clamp(28px, 8vw, 36px); line-height: 1.1; }
  .section-head p { font-size: 15px; }
  .section-label { margin-bottom: 16px; font-size: 11px; letter-spacing: 0.16em; }

  /* --- CAP GRID (homepage + capabilities) --- */
  .cap-grid { margin-top: 40px; }
  .cap-tile { padding: 32px 24px; min-height: 0; gap: 14px; }
  .cap-tile h3 { font-size: 22px; }
  .cap-tile p { font-size: 14px; }
  .cap-supporting { padding: 18px 20px; gap: 16px; }
  .cap-supporting-label { font-size: 10px; }

  /* --- WHY GRID --- */
  .why-grid { margin-top: 40px; gap: 24px; }
  .why-item { padding-top: 24px; }
  .why-item h3 { font-size: 20px; margin-bottom: 12px; }
  .why-item p { font-size: 14px; }

  /* --- STATS --- */
  .stats { padding: 64px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px 20px; }
  .stat-num { font-size: clamp(34px, 11vw, 52px); }
  .stat-label { font-size: 10px; letter-spacing: 0.12em; }

  /* --- PROJECTS (homepage grid) --- */
  .projects-grid { margin-top: 36px; gap: 16px; }
  .project-card { padding: 24px; aspect-ratio: 4 / 3; }
  .project-card.feature { aspect-ratio: 4 / 3; }
  .project-card h3,
  .project-card.feature h3 { font-size: 22px; margin-bottom: 8px; }
  .project-scope { font-size: 13px; }
  .project-arrow { top: 20px; right: 20px; width: 38px; height: 38px; }
  .projects-footer { margin-top: 32px; }

  /* --- PROJECTS INDEX --- */
  .projects-filter { gap: 8px; margin: 0 0 32px; padding: 12px 0; }
  .projects-filter button { padding: 6px 10px; font-size: 11px; letter-spacing: 0.12em; }
  .projects-index-grid { gap: 28px; }
  .project-index-card .image { margin-bottom: 14px; aspect-ratio: 4 / 5; }
  .project-index-card h3 { font-size: 20px; }
  .project-index-card p { font-size: 13px; }

  /* --- PROJECT DETAIL --- */
  .project-header-grid { padding: 48px 0; gap: 24px; }
  .project-header-grid h1 { font-size: clamp(32px, 9vw, 44px); }
  .project-header-grid .lead { font-size: 16px; margin-top: 18px; }
  .project-facts { grid-template-columns: 1fr 1fr; gap: 20px; padding: 24px 0; }
  .project-fact span:last-child { font-size: 15px; }
  .project-body-grid { padding: 48px 0; gap: 24px; }
  .project-body p { font-size: 16px; line-height: 1.6; }
  .project-deliverables ul li { font-size: 15px; padding: 12px 0; }
  .project-gallery { gap: 12px; padding-bottom: 40px; }

  /* --- SECTORS --- */
  .sectors-row { margin-top: 36px; }
  .sector { padding: 28px 22px; min-height: 0; gap: 12px; }
  .sector h3 { font-size: 20px; }
  .sector p { font-size: 13px; }

  /* --- SAFETY --- */
  .safety-grid { gap: 32px; }
  .safety-copy p { font-size: 15px; margin-top: 18px; }
  .safety-item { grid-template-columns: 1fr; gap: 8px; padding: 22px 0; }
  .safety-item-label { font-size: 11px; padding-top: 0; }
  .safety-item-body { font-size: 14px; }

  /* --- PROCESS --- */
  .process-steps { margin-top: 40px; }
  .process-step { padding: 28px 0; }
  .process-step h3 { font-size: 20px; margin-bottom: 10px; }
  .process-step p { font-size: 13px; }
  .process-detail { margin-top: 36px; }
  .process-detail-step { padding: 32px 0; gap: 16px; }
  .process-detail-step .lead h2 { font-size: clamp(26px, 7vw, 32px); }
  .process-detail-step .body p { font-size: 16px; }
  .process-deliverable { padding: 18px 20px; margin-top: 18px; }
  .process-deliverable ul li { font-size: 14px; }

  /* --- TESTIMONIAL (hero quote) --- */
  .testimonial { padding: 72px 0; }
  .testimonial blockquote { font-size: clamp(20px, 6vw, 26px); line-height: 1.35; }
  .testimonial-attribution { margin-top: 28px; padding-top: 22px; }

  /* --- TESTIMONIAL CARDS --- */
  .testimonial-grid { gap: 16px; }
  .testimonial-grid-head { margin-bottom: 36px; gap: 20px; }
  .testimonial-card { padding: 26px 22px; gap: 22px; }
  .testimonial-card-quote { font-size: 15px; }
  .testimonial-card-quote::before { font-size: 38px; margin-bottom: 16px; }

  /* --- CTA FINAL --- */
  .cta-final { padding: 80px 0 88px; }
  .cta-final h2 { font-size: clamp(32px, 9.5vw, 48px); }
  .cta-final p { font-size: 16px; margin-top: 22px; }
  .cta-final .hero-ctas { margin-top: 32px; flex-direction: column; align-items: stretch; }

  /* --- FOOTER --- */
  .footer { padding: 64px 0 32px; }
  .footer-grid { gap: 36px; margin-bottom: 48px; }
  .footer-brand .nav-logo { font-size: 17px; gap: 12px; }
  .footer-brand .nav-logo .mark { width: 32px; height: 32px; }
  .footer-brand p { font-size: 13px; margin-top: 14px; }
  .footer-col h4 { font-size: 10px; margin-bottom: 16px; }
  .footer-col ul a { font-size: 13px; }
  .footer-col ul li { margin-bottom: 8px; }
  .footer-bottom { padding-top: 24px; gap: 16px; }
  .footer-bottom p, .footer-bottom a { font-size: 10px; letter-spacing: 0.1em; }
  .footer-bottom-links { gap: 20px; }

  /* --- STORY GRID (about, careers) --- */
  .story-grid { gap: 24px; }
  .story-grid h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .story-body { gap: 18px; }
  .story-body p { font-size: 16px; line-height: 1.55; }

  /* --- CAPABILITY INDEX --- */
  .cap-index-list { margin-top: 40px; }
  .cap-index-item { grid-template-columns: 44px 1fr; gap: 14px; padding: 24px 0; }
  .cap-index-item h3 { font-size: 22px; margin-bottom: 6px; }
  .cap-index-item p { font-size: 13px; }
  .cap-index-num { font-size: 11px; letter-spacing: 0.14em; }
  .arrow-large { width: 44px; height: 44px; font-size: 18px; }

  /* --- CAPABILITY SUBPAGE --- */
  .cap-header-grid { gap: 24px; margin-top: 28px; }
  .cap-scope-block { margin-top: 56px; gap: 20px; }
  .cap-scope-block h2 { font-size: clamp(24px, 7vw, 30px); }
  .cap-scope-list li { font-size: 15px; padding: 14px 0; }
  .cap-showcase-inner { aspect-ratio: 4 / 3; }
  .cap-showcase-caption { font-size: 10px; letter-spacing: 0.12em; }

  /* --- DIRECTORS --- */
  .directors-grid { margin-top: 40px; }
  .director-card { padding: 28px 24px; }
  .director-portrait { aspect-ratio: 4 / 5; margin-bottom: 20px; max-width: 280px; }
  .director-portrait::after { font-size: 64px; }
  .director-card h3 { font-size: 22px; margin-bottom: 12px; }
  .director-card p { font-size: 14px; margin-bottom: 10px; }

  /* --- VALUES --- */
  .values-list { margin-top: 36px; }
  .values-item { gap: 6px; padding: 22px 0; }
  .values-item h3 { font-size: 20px; }
  .values-item-num { font-size: 11px; padding-top: 0; }
  .values-item p { font-size: 15px; }

  /* --- FORMS (contact + careers) --- */
  .form-layout { gap: 40px; }
  .form-side h2 { font-size: clamp(26px, 7.5vw, 34px); }
  .form-side > p { font-size: 15px; margin-top: 18px; }
  .form-alt { margin-top: 32px; padding-top: 28px; gap: 14px; }
  .form-alt-item { grid-template-columns: 80px 1fr; gap: 14px; font-size: 14px; }
  .form-alt-item span:first-child { font-size: 10px; }
  .form { gap: 18px; }
  .form-row { gap: 18px; }
  .form-field input,
  .form-field textarea,
  .form-field select { font-size: 16px; padding: 10px 0; }
  .form-field label { font-size: 10px; }
  .form-consent { font-size: 12px; }
  .form-submit { width: 100%; justify-content: center; align-self: stretch; margin-top: 16px; }
  .file-field { padding: 16px; font-size: 13px; }

  /* --- PATH CARDS (two paths — home + capabilities) --- */
  .paths-grid { margin-top: 36px; gap: 14px; }
  .path-card { padding: 32px 24px 28px; }
  .path-card-num { top: 24px; right: 24px; font-size: 48px; }
  .path-card h3 { font-size: clamp(22px, 6.5vw, 28px); max-width: 78%; margin-bottom: 14px; }
  .path-card-lead { font-size: 15px; margin-bottom: 20px; }
  .path-card-list { padding-top: 18px; margin-bottom: 28px; gap: 8px; }
  .path-card-list li { font-size: 13px; }
  .path-card-cta { font-size: 11px; letter-spacing: 0.14em; }

  /* --- 404 --- */
  .four-oh-four { padding: 140px 20px 80px; min-height: 70vh; }
  .four-oh-four h1 { font-size: clamp(26px, 7.5vw, 36px); margin-top: 18px; }
  .four-oh-four p { font-size: 15px; margin-top: 18px; }
  .four-oh-four .hero-ctas { flex-direction: column; align-items: stretch; margin-top: 32px; }
}

/* =========================================================
   VERY TIGHT VIEWPORTS (≤360px — iPhone SE / small Androids)
   ========================================================= */
@media (max-width: 360px) {
  :root { --gutter: 16px; }
  .nav-logo { font-size: 13px; gap: 8px; }
  .nav-logo .mark { width: 26px; height: 26px; }
  /* Hide the second-word "CONSTRUCTION" span — keep the .mark visible */
  .nav-logo > span:not(.mark) { display: none; }
  .t-display { font-size: 34px; }
  .page-hero h1 { font-size: 34px; }
  .nav-drawer-links a { font-size: 24px; padding: 16px 2px; }
  .stat-num { font-size: 34px; }
  .cap-tile { padding: 28px 20px; }
  .cap-tile h3 { font-size: 20px; }
  .project-card { padding: 20px; }
}

