/* ============================================================
   MOUNTCLARE — Design System
   ============================================================ */

:root {
  --black: #0b0b0a;
  --ink: #141311;
  --white: #ffffff;
  --cream: #f6f3ee;
  --paper: #fbf9f6;
  --grey-100: #e9e5de;
  --grey-300: #cac5bc;
  --grey-400: #9c958a;
  --grey-600: #6d685f;
  --grey-800: #2c2a25;
  --gold: #997d39;
  --gold-light: #c7a565;
  --gold-dark: #7c6230;
  --gold-rgb: 153, 125, 57;

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1320px;
  --container-wide: 1520px;
  --gutter: clamp(24px, 5vw, 80px);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
#about-company, #projects, #team, #contact { scroll-margin-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font-family: inherit; cursor: pointer; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
.container-wide {
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

/* Prevent CSS Grid blowout: grid items default to min-width:auto (content-based),
   which can force fr tracks wider than their container on narrow viewports. */
.about-grid > *, .tiles > *, .stages > *, .approach-grid > *,
.locations-grid > *, .project-grid > *, .team-grid > *,
.contact-band-cards > *, .footer-top > *,
.about-pillars > *, .values-list > * {
  min-width: 0;
}

@media (prefers-reduced-motion: reduce) {
  .partners-track { animation: none; }
  .status-dot::after { animation: none; }
}

/* ---------- Typography ---------- */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
  display: inline-block;
}
.eyebrow.center { justify-content: center; }
.eyebrow.on-dark { color: var(--gold-light); }

h2.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.01em;
  color: var(--black);
  margin-top: 18px;
}
h2.section-title em {
  font-style: italic;
  color: var(--gold-dark);
  font-weight: 400;
}
.section-title.on-dark { color: var(--white); }
.section-title.on-dark em { color: var(--gold-light); }

.section-lede {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--grey-600);
  line-height: 1.7;
  max-width: 640px;
  margin-top: 22px;
}
.section-lede.on-dark { color: var(--grey-300); }
.section-lede.center { margin-left: auto; margin-right: auto; text-align: center; }

.section-head { margin-bottom: 64px; }
.section-head.center { text-align: center; display: flex; flex-direction: column; align-items: center; }
.section-head.split {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 30px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: all 0.4s var(--ease);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover { background: var(--gold-dark); border-color: var(--gold-dark); }
.btn-outline-dark {
  border-color: rgba(255,255,255,0.4);
  color: var(--white);
}
.btn-outline-dark:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }
.btn-outline-light {
  border-color: rgba(0,0,0,0.25);
  color: var(--black);
}
.btn-outline-light:hover { border-color: var(--black); background: rgba(0,0,0,0.04); }
.btn svg { width: 14px; height: 14px; transition: transform 0.4s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--grey-300);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), gap 0.3s var(--ease);
}
.link-arrow:hover { border-color: var(--gold); color: var(--gold-dark); gap: 12px; }
.link-arrow svg { width: 13px; height: 13px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 26px 0;
  transition: padding 0.4s var(--ease), background-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
.site-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.55), rgba(0,0,0,0));
  z-index: -1;
  opacity: 1;
  transition: opacity 0.4s var(--ease);
}
.site-header.is-scrolled {
  padding: 14px 0;
  background: rgba(11,11,10,0.92);
  backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.25);
}
.site-header.is-scrolled::before { opacity: 0; }
.header-inner {
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 var(--gutter);
  display: flex;
  align-items: center;
  gap: 32px;
}
.logo {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: transform 0.5s var(--ease);
}
.logo:hover { transform: scale(1.045); }
.logo:active { transform: scale(0.985); }
.logo img {
  height: 22px; width: auto; display: block;
  transform-origin: center left;
  animation: logoLive 5.5s cubic-bezier(.45,0,.2,1) infinite;
  will-change: transform, filter;
}
.footer-brand .logo img { height: 26px; }

/* Idle "living" logo — organic multi-stop wobble + glow, livelier than a flat pulse */
@keyframes logoLive {
  0%   { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 0px rgba(var(--gold-rgb), 0)); }
  28%  { transform: scale(1.05) translateY(-2px) rotate(-1.4deg); filter: drop-shadow(0 3px 11px rgba(var(--gold-rgb), .6)); }
  46%  { transform: scale(1.015) translateY(0) rotate(.8deg); filter: drop-shadow(0 1px 5px rgba(var(--gold-rgb), .3)); }
  64%  { transform: scale(1.03) translateY(-1px) rotate(-.5deg); filter: drop-shadow(0 2px 8px rgba(var(--gold-rgb), .45)); }
  100% { transform: scale(1) translateY(0) rotate(0deg); filter: drop-shadow(0 0 0px rgba(var(--gold-rgb), 0)); }
}

/* Gold shine sweep, masked to the wordmark's own letterforms via the logo PNG's alpha */
.logo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, transparent 38%, rgba(255,255,255,.95) 49%, rgba(var(--gold-rgb),1) 53%, transparent 64%);
  background-size: 300% 100%;
  background-position: 160% 0;
  -webkit-mask-image: url('../images/logo/mountclare-logo-white.svg');
  mask-image: url('../images/logo/mountclare-logo-white.svg');
  -webkit-mask-size: contain; mask-size: contain;
  -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat;
  -webkit-mask-position: left center; mask-position: left center;
  pointer-events: none;
  opacity: 0;
  mix-blend-mode: screen;
  animation: logoShine 5.5s cubic-bezier(.45,0,.2,1) infinite;
}
@keyframes logoShine {
  0%, 58% { background-position: 160% 0; opacity: 0; }
  64% { opacity: 1; }
  82% { background-position: -70% 0; opacity: 1; }
  90%, 100% { background-position: -70% 0; opacity: 0; }
}

.main-nav { flex: 1; display: flex; align-items: center; justify-content: center; gap: clamp(28px, 3.6vw, 64px); }
.main-nav a {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  position: relative;
  padding: 6px 0;
  transition: color 0.3s var(--ease);
}
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold-light);
  transition: width 0.35s var(--ease);
}
.main-nav a:hover { color: var(--white); }
.main-nav a:hover::after { width: 100%; }
.main-nav a.is-current { color: var(--white); }
.main-nav a.is-current::after { width: 100%; background: var(--gold-light); }

.nav-drop { position: relative; }
.nav-drop-toggle {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.86);
  background: none;
  border: none;
  padding: 6px 0;
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
.nav-drop-toggle svg { width: 10px; height: 10px; transition: transform 0.35s var(--ease); }
.nav-drop:hover .nav-drop-toggle,
.nav-drop:focus-within .nav-drop-toggle,
.nav-drop.is-open .nav-drop-toggle,
.nav-drop-toggle.is-current { color: var(--white); }
.nav-drop:hover .nav-drop-toggle svg,
.nav-drop:focus-within .nav-drop-toggle svg,
.nav-drop.is-open .nav-drop-toggle svg { transform: rotate(180deg); }
.nav-drop-menu {
  position: absolute;
  top: 100%; left: 50%;
  min-width: 250px;
  margin-top: 16px;
  background: var(--ink);
  border: 1px solid rgba(255,255,255,0.1);
  padding: 8px;
  box-shadow: 0 24px 50px rgba(0,0,0,0.45);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 6px);
  transition: opacity 0.3s var(--ease), transform 0.3s var(--ease), visibility 0.3s;
}
.nav-drop-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav-drop:hover .nav-drop-menu,
.nav-drop:focus-within .nav-drop-menu,
.nav-drop.is-open .nav-drop-menu {
  opacity: 1; visibility: visible; transform: translate(-50%, 0);
}
.nav-drop-menu a {
  display: block;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
  white-space: nowrap;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}
.nav-drop-menu a:hover, .nav-drop-menu a:focus-visible { background: rgba(255,255,255,0.06); color: var(--gold-light); }
.nav-drop-menu a.is-current { color: var(--gold-light); background: rgba(255,255,255,0.05); }

.header-actions { display: flex; align-items: center; gap: 22px; }
.header-actions .btn { padding: 12px 24px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  background: none;
  border: none;
  padding: 6px 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
}
.nav-toggle.is-active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-active span:nth-child(2) { opacity: 0; }
.nav-toggle.is-active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 110px var(--gutter) 60px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity 0.45s var(--ease), transform 0.45s var(--ease), visibility 0.45s;
  overflow-y: auto;
}
.mobile-nav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobile-nav ul { display: flex; flex-direction: column; gap: 6px; }
.mobile-nav a {
  font-family: var(--font-display);
  font-size: clamp(28px, 8vw, 42px);
  color: var(--white);
  padding: 12px 0;
  display: inline-block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  width: 100%;
}
.mobile-nav-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold-light);
  padding: 18px 0 2px;
}
.mobile-nav-sub a {
  font-family: var(--font-sans);
  font-size: clamp(16px, 4.4vw, 19px);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 10px 0 10px 6px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mobile-nav a.is-current { color: var(--gold-light); }
.mobile-nav-footer {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  color: var(--grey-400);
  font-size: 14px;
}
.mobile-nav-footer a { color: var(--gold-light); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--black);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  transform: scale(1.08);
  animation: heroZoom 16s var(--ease-out) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.08); }
  to { transform: scale(1); }
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(6,6,5,0.92) 0%, rgba(6,6,5,0.35) 42%, rgba(6,6,5,0.15) 65%, rgba(6,6,5,0.45) 100%);
}
.hero-media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: var(--black);
  transform-origin: right;
  animation: heroCurtain 1.15s var(--ease-out) 0.1s forwards;
}
@keyframes heroCurtain {
  from { transform: scaleX(1); }
  to { transform: scaleX(0); }
}
.hero-content {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 0 var(--gutter) 88px;
  max-width: var(--container-wide);
  margin: 0 auto;
}
.hero-eyebrow {
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}
.hero-eyebrow::before { content: ""; width: 40px; height: 1px; background: var(--gold-light); }
.hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(40px, 7vw, 92px);
  line-height: 1.02;
  letter-spacing: -0.01em;
  margin-top: 22px;
  max-width: 15ch;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero-sub {
  margin-top: 26px;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,0.78);
  max-width: 46ch;
  line-height: 1.7;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}
.hero-actions {
  margin-top: 42px;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1s forwards;
}
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-scroll {
  position: absolute;
  right: var(--gutter);
  bottom: 40px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.6);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}
.hero-scroll .line {
  writing-mode: horizontal-tb;
  width: 1px;
  height: 46px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}
.hero-scroll .line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; right: 0;
  height: 100%;
  background: var(--gold-light);
  animation: scrollLine 2.2s ease-in-out infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* ============================================================
   SECTION UTILITIES
   ============================================================ */
.section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }
.section-dark { background: var(--black); color: var(--white); }
.section-cream { background: var(--cream); }
.section-paper { background: var(--paper); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger > * { opacity: 0; transform: translateY(24px); transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.45s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.55s; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.about-grid.reverse .about-media-wrap { order: 2; }
.about-grid.reverse .about-body { order: 1; }
.about-media {
  position: relative;
  border-radius: 2px;
  overflow: hidden;
  aspect-ratio: 4/5;
}
.about-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.about-media-frame {
  position: absolute;
  top: 22px; left: 22px; right: -22px; bottom: -22px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.about-media-wrap { position: sticky; top: 110px; align-self: start; }

.about-body p { color: var(--grey-600); font-size: 16.5px; line-height: 1.8; margin-top: 20px; }
.about-body p:first-of-type { margin-top: 26px; }

.about-pillars {
  margin-top: 72px;
  padding-top: 48px;
  border-top: 1px solid var(--grey-100);
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  gap: clamp(40px, 6vw, 96px);
}
.pillar-mission .eyebrow, .pillar-values .eyebrow { margin-bottom: 20px; }
.pillar-mission blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(21px, 2.1vw, 27px);
  line-height: 1.5;
  color: var(--black);
  margin: 0;
  padding-left: 26px;
  border-left: 2px solid var(--gold);
}
.values-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.values-list li {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--black);
  padding: 12px 4px;
  border-bottom: 1px solid var(--grey-100);
  display: flex;
  align-items: center;
  gap: 12px;
  transition: padding-left 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.values-list li::before {
  content: "";
  width: 5px; height: 5px;
  background: var(--gold);
  border-radius: 50%;
  flex-shrink: 0;
  transition: transform 0.35s var(--ease), background 0.35s var(--ease);
}
.values-list li:hover {
  padding-left: 10px;
  color: var(--gold-dark);
  border-color: var(--gold);
}
.values-list li:hover::before { transform: scale(1.7); }

/* ============================================================
   HOW WE WORK
   ============================================================ */
.stages {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stage {
  padding: 40px 28px 0 0;
  border-top: 1px solid rgba(255,255,255,0.16);
  position: relative;
  transition: border-color 0.5s var(--ease);
}
.stage::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 0;
  background: var(--gold-light);
  transition: width 0.9s var(--ease-out);
}
.reveal-stagger.is-visible .stage::before { width: 100%; }
.stage:hover { border-top-color: rgba(255,255,255,0.16); }
.stage-top { display: flex; align-items: center; justify-content: space-between; }
.stage .glyph {
  width: 36px; height: 36px;
  color: var(--gold-light);
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.stage .glyph svg {
  width: 100%; height: 100%;
  transform-origin: 50% 50%;
  animation: glyphLive 4.5s ease-in-out infinite;
}
.stage:nth-child(2) .glyph svg { animation-delay: .4s; }
.stage:nth-child(3) .glyph svg { animation-delay: .8s; }
.stage:nth-child(4) .glyph svg { animation-delay: 1.2s; }
.stage:hover .glyph {
  transform: translateY(-6px) scale(1.16) rotate(-8deg);
  filter: drop-shadow(0 8px 16px rgba(var(--gold-rgb), .5));
}
.stage h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 24px;
  color: var(--white);
  margin-top: 18px;
  line-height: 1.25;
}
.stage p {
  margin-top: 14px;
  font-size: 14.5px;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 30ch;
}

/* ============================================================
   WHAT WE DO
   ============================================================ */
.tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 20px;
  background: var(--grey-100);
}
.tile {
  background: var(--paper);
  padding: 48px;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  position: relative;
  overflow: hidden;
}
.tile-index {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 16px;
  color: var(--gold);
}
.tile-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.tile-media img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(35%) brightness(0.55);
  transition: transform .6s var(--ease-out), filter 0.6s var(--ease);
  transform: scale(1.02);
}
.tile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6,6,5,0.88) 10%, rgba(6,6,5,0.35) 60%, rgba(6,6,5,0.55) 100%);
}
.tile-content { position: relative; z-index: 1; margin-top: auto; }
.tile .tile-index { position: relative; z-index: 1; color: var(--gold-light); }
.tile h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 27px;
  color: var(--white);
  margin-top: 16px;
  line-height: 1.2;
}
.tile p {
  margin-top: 14px;
  font-size: 14.5px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  max-width: 38ch;
}
.tile .link-arrow { margin-top: 24px; color: var(--white); border-color: rgba(255,255,255,0.35); }
.tile .link-arrow:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ============================================================
   OUR APPROACH
   ============================================================ */
.approach-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 44px;
}
.approach-item { padding-top: 26px; border-top: 1px solid var(--grey-300); position: relative; }
.approach-item::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.9s var(--ease-out);
}
.reveal-stagger.is-visible .approach-item::before { width: 100%; }
.approach-item .glyph {
  width: 38px; height: 38px;
  margin-bottom: 22px;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.approach-item .glyph svg {
  width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.1;
  transform-origin: 50% 50%;
  animation: glyphLive 4.5s ease-in-out infinite;
}
.approach-item:nth-child(2) .glyph svg { animation-delay: .4s; }
.approach-item:nth-child(3) .glyph svg { animation-delay: .8s; }
.approach-item:nth-child(4) .glyph svg { animation-delay: 1.2s; }
.approach-item:hover .glyph {
  transform: translateY(-6px) scale(1.16) rotate(-8deg);
  filter: drop-shadow(0 8px 16px rgba(var(--gold-rgb), .4));
}

/* Idle "living" wobble shared by every glyph icon */
@keyframes glyphLive {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(-4deg); }
}

/* ============================================================
   SEMANTIC ICON ANIMATIONS — on hover, each icon performs a small
   gesture related to its own meaning (magnifier scans, compass
   needle settles, bars grow, crane swings, clock ticks, etc.)
   instead of a generic numbered badge. Triggered by hovering any
   of the icon's parent contexts: .stage, .approach-item,
   .capability-item, .related-card.
   ============================================================ */
.glyph svg [class], .capability-glyph svg [class] { transform-box: fill-box; transform-origin: center; }

/* Magnifier — searches in a small scanning sweep */
@keyframes iconScan {
  0%, 100% { transform: translate(0,0); }
  25% { transform: translate(1.6px,-1.3px); }
  50% { transform: translate(-1.3px,1.5px); }
  75% { transform: translate(-1.6px,-0.9px); }
}
.stage:hover .icon-search .scan,
.capability-item:hover .icon-search .scan {
  animation: iconScan 1.1s ease-in-out infinite;
}

/* Checkmark draw — a quick confirm/re-verify tick, length-matched per icon */
@keyframes iconCheck14 { 0%, 52% { stroke-dashoffset: 0; } 68% { stroke-dashoffset: 14; } 100% { stroke-dashoffset: 0; } }
@keyframes iconCheck10 { 0%, 52% { stroke-dashoffset: 0; } 68% { stroke-dashoffset: 10; } 100% { stroke-dashoffset: 0; } }
@keyframes iconCheck9  { 0%, 52% { stroke-dashoffset: 0; } 68% { stroke-dashoffset: 9;  } 100% { stroke-dashoffset: 0; } }
.stage:hover .icon-check-target .check {
  stroke-dasharray: 14; animation: iconCheck14 2s ease-in-out infinite;
}
.capability-item:hover .icon-checkdoc .check {
  stroke-dasharray: 10; animation: iconCheck10 2s ease-in-out infinite;
}
.capability-item:hover .icon-shield .check {
  stroke-dasharray: 9; animation: iconCheck9 2s ease-in-out infinite;
}

/* Door — a small settling bounce, like a door easing shut */
@keyframes iconDoorBounce {
  0%, 100% { transform: translateY(0); }
  35% { transform: translateY(-1.6px); }
  55% { transform: translateY(0.6px); }
  75% { transform: translateY(-0.3px); }
}
.stage:hover .icon-house .door,
.approach-item:hover .icon-house .door,
.principle-row:hover .icon-house .door {
  animation: iconDoorBounce 1s ease-in-out infinite;
}

/* Crane arm — swings like a real tower crane */
@keyframes iconCraneSwing {
  0%, 100% { transform: rotate(0deg); }
  50% { transform: rotate(-9deg); }
}
.stage:hover .icon-crane .arm,
.capability-item:hover .icon-crane .arm,
.related-card:hover .icon-crane .arm {
  transform-origin: 16px 9.5px;
  animation: iconCraneSwing 1.4s ease-in-out infinite;
}

/* Compass needle — spins and settles on a heading */
@keyframes iconNeedleSpin {
  0%, 100% { transform: rotate(0deg); }
  28% { transform: rotate(38deg); }
  58% { transform: rotate(-22deg); }
  80% { transform: rotate(8deg); }
}
.approach-item:hover .icon-compass .needle,
.capability-item:hover .icon-compass .needle,
.principle-row:hover .icon-compass .needle {
  animation: iconNeedleSpin 1.3s ease-in-out infinite;
}

/* Bar chart — bars grow, staggered */
@keyframes iconBarGrow {
  0%, 100% { transform: scaleY(1); }
  50% { transform: scaleY(0.5); }
}
.approach-item:hover .icon-bars .bar,
.capability-item:hover .icon-bars .bar,
.related-card:hover .icon-bars .bar,
.principle-row:hover .icon-bars .bar {
  transform-origin: bottom;
  animation: iconBarGrow 0.9s ease-in-out infinite;
}
.icon-bars .bar.b1 { animation-delay: 0s !important; }
.icon-bars .bar.b2 { animation-delay: .12s !important; }
.icon-bars .bar.b3 { animation-delay: .24s !important; }
.icon-bars .bar.b4 { animation-delay: .36s !important; }

/* People — a small collaborative lean/nod, staggered per head */
@keyframes iconPeopleLean {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-2px); }
}
.approach-item:hover .icon-people .head,
.approach-item:hover .icon-people .body,
.capability-item:hover .icon-people .head,
.capability-item:hover .icon-people .body,
.principle-row:hover .icon-people .head,
.principle-row:hover .icon-people .body {
  animation: iconPeopleLean 1.1s ease-in-out infinite;
}
.icon-people .head:nth-of-type(1), .icon-people .body:nth-of-type(1) { animation-delay: 0s !important; }
.icon-people .head:nth-of-type(2), .icon-people .body:nth-of-type(2) { animation-delay: .22s !important; }

/* Venn / joint-venture circles — drift apart, then come back together */
@keyframes iconVennL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-1.6px); } }
@keyframes iconVennR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.6px); } }
.capability-item:hover .icon-venn .c1 { animation: iconVennL 1.3s ease-in-out infinite; }
.capability-item:hover .icon-venn .c2 { animation: iconVennR 1.3s ease-in-out infinite; }

/* Land parcel — corner survey markers ping in sequence */
@keyframes iconDotPing {
  0%, 100% { transform: scale(1); opacity: 1; }
  40% { transform: scale(1.9); opacity: .55; }
}
.capability-item:hover .icon-land .dot,
.related-card:hover .icon-land .dot {
  animation: iconDotPing 1.6s ease-out infinite;
}
.icon-land .dot.d1 { animation-delay: 0s !important; }
.icon-land .dot.d2 { animation-delay: .16s !important; }
.icon-land .dot.d3 { animation-delay: .32s !important; }
.icon-land .dot.d4 { animation-delay: .48s !important; }
.icon-land .dot.d5 { animation-delay: .64s !important; }

/* Layers — a gentle exploded-view separation */
@keyframes iconLayerFan1 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-1.4px); } }
@keyframes iconLayerFan3 { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(1.4px); } }
.capability-item:hover .icon-layers .l1 { animation: iconLayerFan1 1.2s ease-in-out infinite; }
.capability-item:hover .icon-layers .l3 { animation: iconLayerFan3 1.2s ease-in-out infinite; }

/* Route — the path flows like a travelled line */
.icon-route .path { stroke-dasharray: 3 3; }
@keyframes iconRouteFlow { to { stroke-dashoffset: -12; } }
.capability-item:hover .icon-route .path,
.related-card:hover .icon-route .path {
  animation: iconRouteFlow 0.7s linear infinite;
}
@keyframes iconRouteNode { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.35); } }
.capability-item:hover .icon-route .node,
.related-card:hover .icon-route .node {
  animation: iconRouteNode 1.3s ease-in-out infinite;
}

/* Calendar — a marker cell sweeps across the days */
@keyframes iconCalendarSweep {
  0%, 100% { transform: translateX(0); opacity: 0; }
  15%, 85% { opacity: 1; }
  50% { transform: translateX(6px); opacity: 1; }
}
.capability-item:hover .icon-calendar .marker {
  animation: iconCalendarSweep 1.6s ease-in-out infinite;
}

/* Clock — hands actually tick */
@keyframes iconClockHour { to { transform: rotate(30deg); } }
@keyframes iconClockMinute { to { transform: rotate(360deg); } }
.capability-item:hover .icon-clock .hand-h {
  transform-origin: 12px 12px;
  animation: iconClockHour 4s linear infinite;
}
.capability-item:hover .icon-clock .hand-m {
  transform-origin: 12px 12px;
  animation: iconClockMinute 2s linear infinite;
}

/* Supply chain links — connect and release */
@keyframes iconChainL { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(-1.4px); } }
@keyframes iconChainR { 0%, 100% { transform: translateX(0); } 50% { transform: translateX(1.4px); } }
.capability-item:hover .icon-chain .k1 { animation: iconChainL 1.1s ease-in-out infinite; }
.capability-item:hover .icon-chain .k2 { animation: iconChainR 1.1s ease-in-out infinite; }

/* Balance scale — weighs, pan-to-pan */
@keyframes iconScaleBeam { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(-6deg); } }
@keyframes iconScalePanL { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(2px); } }
@keyframes iconScalePanR { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-2px); } }
.capability-item:hover .icon-scale .beam { animation: iconScaleBeam 1.4s ease-in-out infinite; }
.capability-item:hover .icon-scale .p1 { animation: iconScalePanL 1.4s ease-in-out infinite; }
.capability-item:hover .icon-scale .p2 { animation: iconScalePanR 1.4s ease-in-out infinite; }

/* Blueprint ruler — measures the diagonal, back and forth */
.icon-blueprint .ruler { stroke-dasharray: 6; }
@keyframes iconRulerMeasure { 0%, 100% { stroke-dashoffset: 0; } 50% { stroke-dashoffset: 6; } }
.capability-item:hover .icon-blueprint .ruler {
  animation: iconRulerMeasure 1.1s ease-in-out infinite;
}

/* Flag — waves from the pole */
@keyframes iconFlagWave {
  0%, 100% { transform: skewY(0deg) rotate(0deg); }
  50% { transform: skewY(-6deg) rotate(-3deg); }
}
.capability-item:hover .icon-flag .flag {
  transform-origin: left center;
  animation: iconFlagWave 0.9s ease-in-out infinite;
}

/* Network — nodes pulse like a signal passing through */
@keyframes iconNodePulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: .6; }
}
.capability-item:hover .icon-network .node {
  animation: iconNodePulse 1.2s ease-in-out infinite;
}
.icon-network .node.n1 { animation-delay: 0s !important; }
.icon-network .node.n2 { animation-delay: .18s !important; }
.icon-network .node.n3 { animation-delay: .36s !important; }

.approach-item h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  color: var(--black);
}
.approach-item p { margin-top: 12px; font-size: 14.5px; color: var(--grey-600); line-height: 1.7; }

/* ============================================================
   PROJECTS
   ============================================================ */
.project-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
.project-card {
  display: block;
  position: relative;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.project-card::before {
  content: "";
  position: absolute; left: 0; top: 0;
  height: 2px; width: 0;
  background: var(--gold);
  transition: width .5s var(--ease-out);
  z-index: 5;
}
.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 48px rgba(11,11,10,0.18);
}
.project-card:hover::before { width: 100%; }
.project-media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--grey-800);
}
.project-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .55s var(--ease-out); }
.project-overlay {
  position: absolute; inset: 0;
  z-index: 4;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
  background: linear-gradient(to top, rgba(11,11,10,0.9) 0%, rgba(11,11,10,0.45) 48%, rgba(11,11,10,0) 85%);
  opacity: 1;
  transition: opacity .45s var(--ease);
}
.project-overlay .tag {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}
.project-overlay h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  color: var(--white);
  transition: transform .45s var(--ease);
}
.project-overlay .loc { font-size: 13px; color: rgba(255,255,255,0.72); margin-top: 4px; transition: transform .45s var(--ease) .04s; }
@media (hover: hover) {
  .project-overlay { opacity: 0; }
  .project-overlay h3, .project-overlay .loc { transform: translateY(10px); }
  .project-card:hover .project-overlay, .project-card:focus-within .project-overlay { opacity: 1; }
  .project-card:hover .project-overlay h3, .project-card:hover .project-overlay .loc,
  .project-card:focus-within .project-overlay h3, .project-card:focus-within .project-overlay .loc { transform: translateY(0); }
}

/* ============================================================
   IRELAND + US
   ============================================================ */
.locations-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2px;
  background: var(--grey-100);
}
.location-card {
  position: relative;
  min-height: 460px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 44px;
  overflow: hidden;
}
.location-card.has-image img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transition: transform .55s var(--ease-out);
}
.location-card.has-image::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,5,0.85), rgba(6,6,5,0.15) 55%);
}
.location-card { transition: transform 0.5s var(--ease); }
.location-content { position: relative; z-index: 1; }
.location-tag {
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.location-pin {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.pin-dot {
  position: relative;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--gold-light);
  flex-shrink: 0;
}
.pin-dot::after {
  content: "";
  position: absolute; inset: -5px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  animation: statusPulse 2.6s var(--ease-out) infinite;
}
.location-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(28px, 3vw, 40px);
  margin-top: 14px;
  transition: transform 0.5s var(--ease);
}
.location-card:hover h3 { transform: translateX(4px); }
.location-content p.desc {
  margin-top: 14px;
  color: rgba(255,255,255,0.68);
  font-size: 14.5px;
  max-width: 34ch;
  line-height: 1.7;
}

/* ============================================================
   TEAM
   ============================================================ */
.team-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.team-card { text-align: left; }
.team-avatar {
  aspect-ratio: 3/3.6;
  background: linear-gradient(155deg, var(--grey-800), var(--black));
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-avatar::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}
.team-avatar .initials {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--gold-light);
  position: relative;
  z-index: 1;
  border: 1px solid rgba(var(--gold-rgb), 0.5);
  width: 84px; height: 84px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
}
.team-info { padding-top: 20px; }
.team-info h3 { font-family: var(--font-display); font-weight: 400; font-size: 20px; color: var(--black); }
.team-info .role { font-size: 13px; color: var(--grey-400); margin-top: 6px; letter-spacing: 0.03em; }
.team-info .li-link {
  margin-top: 14px;
  display: inline-flex;
  width: 30px; height: 30px;
  border: 1px solid var(--grey-300);
  align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.team-info .li-link:hover { border-color: var(--gold); background: var(--gold); }
.team-info .li-link svg { width: 13px; height: 13px; stroke: var(--grey-600); }
.team-info .li-link:hover svg { stroke: var(--white); }

/* ============================================================
   PARTNERS — auto-scrolling logo marquee
   ============================================================ */
.partners-marquee {
  margin-top: 40px;
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--grey-100);
  border-bottom: 1px solid var(--grey-100);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.partners-track {
  display: flex;
  width: max-content;
  animation: partnersScroll 42s linear infinite;
}
.partners-marquee:hover .partners-track { animation-play-state: paused; }
.partner-logo {
  flex: 0 0 auto;
  width: 190px;
  border-right: 1px solid var(--grey-100);
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 26px;
  filter: grayscale(100%) opacity(0.55);
  transition: filter 0.4s var(--ease), opacity 0.4s var(--ease);
}
.partner-logo:hover { filter: grayscale(0%) opacity(1); }
.partner-logo img { max-height: 34px; width: auto; max-width: 100%; object-fit: contain; }

@keyframes partnersScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ============================================================
   CONTACT CTA BAND
   ============================================================ */
.contact-band {
  background: var(--black);
  padding: clamp(64px, 8vw, 110px) 0;
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.contact-band .section-head { position: relative; z-index: 1; margin-bottom: 0; }
.contact-band .section-title { max-width: 20ch; }

/* Word-by-word reveal animation for tagged headings */
.split-text { display: block; }
.split-text .word-mask { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: 0.12em; margin-bottom: -0.12em; }
.split-text .word-inner {
  display: inline-block;
  transform: translateY(112%);
  transition: transform 0.85s var(--ease-out);
  transition-delay: calc(var(--wi, 0) * 0.045s);
  will-change: transform;
}
.reveal.is-visible .split-text .word-inner,
.reveal-stagger.is-visible .split-text .word-inner {
  transform: translateY(0);
}

/* Curtain-wipe reveal for photography, keyed off the existing .reveal(-stagger) system.
   Every target already establishes its own positioning context, so this only adds the curtain. */
.media-wipe img { transform: scale(1.14); }
.media-wipe::before {
  content: "";
  position: absolute; inset: 0;
  z-index: 3;
  background: var(--ink);
  transform-origin: left;
  transition: transform 1s var(--ease-out);
}
.reveal.is-visible .media-wipe::before,
.reveal-stagger.is-visible .media-wipe::before {
  transform: scaleX(0);
}
.reveal.is-visible .media-wipe img,
.reveal-stagger.is-visible .media-wipe img {
  transform: scale(1);
}

/* ============================================================
   IMAGE HOVER — MAGNETIC TILT + GOLD SHINE
   Replaces flat zoom across every photo on the site: about, tile,
   project and location imagery. A radial gold shine (.shine, added
   by js/main.js) tracks the pointer; on fine-pointer/hover-capable
   devices main.js also tilts the image itself in 3D. This block is
   declared after the reveal rules above on purpose — both match at
   equal specificity once a section has scrolled into view, and the
   later declaration wins the tie, so the tilt keeps working post-reveal.
   ============================================================ */
.tilt { perspective: 900px; }
.tilt .shine {
  position: absolute; inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at var(--mx, 50%) var(--my, 50%), rgba(var(--gold-rgb), .5), transparent 55%);
  opacity: 0;
  transition: opacity .5s var(--ease);
  mix-blend-mode: soft-light;
}
@media (hover: hover) {
  .tilt:hover .shine, .tilt.is-hovering .shine { opacity: 1; }
  .tile:hover .tile-media img {
    transform: perspective(900px) rotateX(-4deg) rotateY(6deg) scale3d(1.08,1.08,1.08);
    filter: grayscale(0%) brightness(0.5);
  }
  .project-card:hover .project-media img {
    transform: perspective(900px) rotateX(-4deg) rotateY(6deg) scale3d(1.08,1.08,1.08);
  }
  .about-media.media-wipe:hover img {
    transform: perspective(900px) rotateX(-3deg) rotateY(5deg) scale3d(1.05,1.05,1.05);
  }
  .location-card.has-image:hover img {
    transform: perspective(900px) rotateX(-3deg) rotateY(5deg) scale3d(1.06,1.06,1.06);
  }
}
@media (prefers-reduced-motion: reduce) {
  .tile:hover .tile-media img,
  .project-card:hover .project-media img,
  .about-media.media-wipe:hover img,
  .location-card.has-image:hover img { transform: none !important; }
  .tilt .shine, .stage .glyph svg, .approach-item .glyph svg, .capability-glyph svg, .logo img, .logo::after {
    animation: none !important;
    transition: none !important;
  }
  .logo::after { display: none; }
}

.status-pill {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px 8px 14px;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 999px;
  font-size: 12.5px;
  letter-spacing: 0.02em;
  color: var(--grey-300);
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.8s var(--ease-out) 0.5s, transform 0.8s var(--ease-out) 0.5s;
}
.reveal.is-visible .status-pill { opacity: 1; transform: translateY(0); }
.status-dot {
  position: relative;
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gold-light);
  flex: 0 0 auto;
}
.status-dot::after {
  content: "";
  position: absolute; inset: -6px;
  border-radius: 50%;
  border: 1px solid var(--gold-light);
  animation: statusPulse 2.6s var(--ease-out) infinite;
}
@keyframes statusPulse {
  0% { transform: scale(0.55); opacity: 0.85; }
  100% { transform: scale(1.9); opacity: 0; }
}

.contact-layout {
  margin-top: 60px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.contact-form { display: flex; flex-direction: column; gap: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-field { position: relative; display: flex; flex-direction: column; gap: 9px; }
.form-field label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.form-field label em { font-style: normal; text-transform: none; letter-spacing: 0; opacity: 0.7; }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.18);
  padding: 10px 2px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  transition: border-color 0.35s var(--ease);
}
.form-field select { cursor: pointer; }
.form-field select option { background: var(--ink); color: var(--white); }
.form-field textarea { resize: vertical; min-height: 96px; }
.form-field input::placeholder, .form-field textarea::placeholder { color: var(--grey-600); }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; }
.form-field::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--gold-light);
  transform: scaleX(0);
  transition: transform 0.45s var(--ease);
}
.form-field:focus-within::after { transform: scaleX(1); }
.contact-form .btn { align-self: flex-start; margin-top: 6px; }
.form-note {
  color: var(--gold-light);
  font-size: 13.5px;
  opacity: 0;
  animation: fadeUp 0.6s var(--ease-out) forwards;
}

.contact-band-cards {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.1);
}
.contact-office {
  background: var(--ink);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition: background 0.5s var(--ease);
}
.contact-office::before {
  content: "";
  position: absolute; left: 0; top: 0; bottom: 0; width: 2px;
  background: var(--gold);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.6s var(--ease-out);
}
.contact-office:hover { background: #17150f; }
.contact-office:hover::before { transform: scaleY(1); }
.office-index {
  position: absolute;
  top: 22px; right: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 44px;
  line-height: 1;
  color: rgba(255,255,255,0.07);
}
.contact-office .location-tag { color: var(--gold-light); font-size: 11.5px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; }
.contact-office h4 { font-family: var(--font-display); font-weight: 400; font-size: 24px; color: var(--white); margin-top: 14px; }
.contact-office address {
  font-style: normal;
  margin-top: 16px;
  color: var(--grey-400);
  font-size: 14.5px;
  line-height: 1.8;
}
.contact-office .meta { margin-top: 18px; display: flex; flex-direction: column; gap: 6px; }
.contact-office .meta a { color: var(--grey-300); font-size: 14.5px; transition: color 0.3s var(--ease); }
.contact-office .meta a:hover { color: var(--gold-light); }
.office-map-link {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gold-light);
  transition: gap 0.3s var(--ease), color 0.3s var(--ease);
}
.office-map-link svg { width: 14px; height: 14px; flex: 0 0 auto; transition: transform 0.3s var(--ease); }
.office-map-link:hover { color: var(--white); gap: 12px; }
.office-map-link:hover svg { transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--black); color: var(--grey-400); padding: 70px 0 30px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo { margin-bottom: 18px; display: inline-block; }
.footer-brand p { font-size: 14px; line-height: 1.8; color: var(--grey-400); max-width: 32ch; }
.footer-col h5 {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 14.5px; color: var(--grey-400); transition: color 0.3s var(--ease); }
.footer-col a:hover { color: var(--gold-light); }
.footer-col address { font-style: normal; font-size: 14.5px; line-height: 1.8; color: var(--grey-400); }
.footer-bottom {
  padding-top: 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 12.5px;
  color: var(--grey-600);
}
.footer-bottom a { color: var(--grey-600); }
.footer-bottom a:hover { color: var(--gold-light); }
.footer-bottom-left { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 32px; height: 32px;
  border: 1px solid rgba(255,255,255,0.15);
  display: flex; align-items: center; justify-content: center;
  transition: all 0.3s var(--ease);
}
.footer-social a:hover { border-color: var(--gold); background: var(--gold); }
.footer-social svg { width: 14px; height: 14px; stroke: var(--grey-400); }
.footer-social a:hover svg { stroke: var(--white); }

/* ============================================================
   PAGE HERO — inner pages (photo variant reuses .hero; this is
   the shorter modifier + the plain text-only variant for About)
   ============================================================ */
.page-hero.hero {
  min-height: 78vh;
  align-items: center;
}
.page-hero.hero .hero-content { padding-bottom: 0; }
.page-hero .hero-sub { max-width: 56ch; }
/* The base .hero-media gradient is weighted for text sitting at the very bottom
   (the full-height homepage hero). page-hero centres its text instead, which
   landed right on the gradient's lightest band — text could wash out against a
   bright photo there. Give page-hero its own scrim: a left-side dark wash under
   the text column (readable regardless of what's behind it) plus even vertical
   darkening, instead of relying on the bottom-weighted homepage gradient. */
.page-hero .hero-media::after {
  background:
    linear-gradient(100deg, rgba(6,6,5,0.8) 0%, rgba(6,6,5,0.55) 38%, rgba(6,6,5,0.2) 62%, rgba(6,6,5,0.4) 100%),
    linear-gradient(to top, rgba(6,6,5,0.55) 0%, rgba(6,6,5,0.3) 45%, rgba(6,6,5,0.5) 100%);
}

.text-hero {
  min-height: 62vh;
  display: flex;
  align-items: center;
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}
.text-hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 30% 40%, black, transparent 70%);
}
.text-hero-inner { position: relative; z-index: 1; }
.text-hero h1 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(40px, 6.4vw, 76px);
  line-height: 1.05;
  margin-top: 20px;
  max-width: 18ch;
}
.text-hero h1 em { font-style: italic; color: var(--gold-light); }
.text-hero p { margin-top: 26px; color: var(--grey-400); font-size: clamp(15px, 1.2vw, 18px); max-width: 54ch; line-height: 1.8; }

/* ============================================================
   PAGE INTRO TEXT BLOCK — centred flowing copy, no image
   ============================================================ */
.text-block { max-width: 780px; }
.text-block.center { margin-left: auto; margin-right: auto; text-align: center; }
.text-block p { font-size: 16.5px; color: var(--grey-600); line-height: 1.8; margin-top: 20px; }
.text-block p:first-of-type { margin-top: 0; }
.text-block.on-dark p { color: var(--grey-300); }

/* ============================================================
   CAPABILITY GRID — numberless icon tiles (used in place of any
   numbered "01/02/03" treatment across the inner pages)
   ============================================================ */
.capability-grid {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 44px 40px;
}
.capability-item {
  flex: 1 1 240px;
  max-width: 320px;
}
.capability-item { padding-top: 26px; border-top: 1px solid var(--grey-300); position: relative; }
.capability-item::before {
  content: "";
  position: absolute;
  left: 0; top: -1px;
  height: 1px; width: 0;
  background: var(--gold);
  transition: width 0.9s var(--ease-out);
}
.reveal-stagger.is-visible .capability-item::before { width: 100%; }
.capability-glyph {
  width: 38px; height: 38px;
  margin-bottom: 22px;
  display: block;
  transition: transform 0.5s var(--ease), filter 0.5s var(--ease);
}
.capability-glyph svg {
  width: 100%; height: 100%; stroke: var(--gold); fill: none; stroke-width: 1.1;
  transform-origin: 50% 50%;
  animation: glyphLive 4.5s ease-in-out infinite;
}
.capability-item:nth-child(3n+2) .capability-glyph svg { animation-delay: .35s; }
.capability-item:nth-child(3n+3) .capability-glyph svg { animation-delay: .7s; }
.capability-item:nth-child(4n+4) .capability-glyph svg { animation-delay: 1.05s; }
.capability-item:hover .capability-glyph {
  transform: translateY(-6px) scale(1.16) rotate(-8deg);
  filter: drop-shadow(0 8px 16px rgba(var(--gold-rgb), .4));
}
.capability-item h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  color: var(--black);
  line-height: 1.3;
}
.capability-item p { margin-top: 12px; font-size: 14.5px; color: var(--grey-600); line-height: 1.7; }

/* Dark-section variant (used on Ireland/US-style dark bands if needed) */
.section-dark .capability-item { border-top-color: rgba(255,255,255,0.16); }
.section-dark .capability-glyph svg { stroke: var(--gold-light); }
.section-dark .capability-item h4 { color: var(--white); }
.section-dark .capability-item p { color: var(--grey-400); }

/* ============================================================
   CHECKLIST GRID — dense bare-label capability lists (Procurement,
   Construction, Completion & Handover). Deliberately unnumbered:
   a small gold mark replaces any 01/02/03 index.
   ============================================================ */
.checklist-grid {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 4px 32px;
}
.checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1 1 230px;
  max-width: 340px;
  padding: 15px 2px;
  border-bottom: 1px solid var(--grey-100);
  font-size: 15px;
  font-weight: 500;
  color: var(--black);
  transition: padding-left 0.35s var(--ease), color 0.35s var(--ease), border-color 0.35s var(--ease);
}
.checklist-item .mark {
  flex-shrink: 0;
  width: 15px; height: 15px;
  margin-top: 2px;
  color: var(--gold);
  transition: transform 0.35s var(--ease);
}
.checklist-item .mark svg { width: 100%; height: 100%; }
.checklist-item:hover { padding-left: 8px; color: var(--gold-dark); border-color: var(--gold); }
.checklist-item:hover .mark { transform: rotate(90deg) scale(1.15); }
.checklist-item:hover .mark.mark-check { transform: scale(1.18); }
.section-dark .checklist-item { border-color: rgba(255,255,255,0.12); color: var(--white); }
.section-dark .checklist-item .mark { color: var(--gold-light); }

/* Completion & Handover — two labelled sub-groups instead of one flat list */
.checklist-groups {
  display: flex;
  flex-wrap: wrap;
  gap: 48px 64px;
  margin-top: 12px;
}
.checklist-group { flex: 1 1 380px; }
.checklist-group-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
}
.checklist-group .checklist-grid { flex-wrap: nowrap; flex-direction: column; gap: 4px; }
.checklist-group .checklist-item { flex: 0 0 auto; max-width: none; }
.section-dark .checklist-item:hover { color: var(--gold-light); border-color: var(--gold-light); }

/* ============================================================
   IMAGE BREAK — full-bleed cinematic pause between sections
   ============================================================ */
.image-break {
  position: relative;
  min-height: 44vh;
  overflow: hidden;
  background: var(--grey-800);
}
.image-break img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.14);
  transition: transform 1.6s var(--ease-out);
}
.image-break.reveal.is-visible img { transform: scale(1); }
.image-break::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,5,0.75) 0%, rgba(6,6,5,0.05) 45%, rgba(6,6,5,0.25) 100%);
}
.image-break .caption {
  position: absolute;
  left: var(--gutter); bottom: 30px;
  z-index: 1;
  color: var(--white);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 12px;
}
.image-break .caption::before { content: ""; width: 28px; height: 1px; background: var(--gold-light); }

/* ============================================================
   RELATED SERVICES — cross-links to the other three disciplines
   ============================================================ */
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 20px;
  background: var(--grey-100);
}
.related-card {
  background: var(--paper);
  padding: 38px;
  display: flex;
  flex-direction: column;
  min-height: 200px;
  position: relative;
  transition: background 0.4s var(--ease);
}
.related-card:hover { background: var(--cream); }
.related-card .glyph { width: 30px; height: 30px; color: var(--gold); transition: transform 0.5s var(--ease); }
.related-card .glyph svg { width: 100%; height: 100%; }
.related-card:hover .glyph { transform: translateY(-4px) rotate(-6deg); }
.related-card h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 21px;
  color: var(--black);
  margin-top: auto;
  padding-top: 22px;
  line-height: 1.3;
}
.related-card .link-arrow { margin-top: 16px; font-size: 12px; }

/* ============================================================
   CTA BAND — compact closing call-to-action before the footer
   ============================================================ */
.cta-band {
  background: var(--black);
  padding: clamp(56px, 7vw, 90px) 0;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.cta-band::before {
  content: "";
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black, transparent 75%);
}
.cta-band-inner { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; }
.cta-band h2 { max-width: 22ch; }
.cta-band-actions { margin-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center; }

/* ============================================================
   CHIPS — small capability tags (Services overview teasers)
   ============================================================ */
.chip-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--grey-300);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: var(--grey-600);
  cursor: default;
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), background 0.3s var(--ease), transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.chip:hover {
  border-color: var(--gold);
  background: rgba(var(--gold-rgb), .1);
  color: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(var(--gold-rgb), .18);
}
.on-dark .chip { border-color: rgba(255,255,255,0.2); color: var(--grey-300); }
.on-dark .chip:hover { border-color: var(--gold-light); color: var(--gold-light); background: rgba(255,255,255,.06); box-shadow: 0 6px 14px rgba(var(--gold-rgb), .25); }

/* ============================================================
   SERVICE FEATURE — alternating full-width rows on services.html
   ============================================================ */
.service-feature { padding: clamp(56px, 7vw, 96px) 0; border-bottom: 1px solid var(--grey-100); }
.service-feature:last-child { border-bottom: none; }
.service-feature .about-media-wrap { position: static; }
.service-feature .eyebrow { margin-bottom: 0; }

/* ============================================================
   BREADCRUMB — used across all subpages
   ============================================================ */

/* Styled breadcrumb trail — replaces a bare back-link */
.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  width: fit-content;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.breadcrumb a { color: rgba(255,255,255,0.65); transition: color 0.3s var(--ease); }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); font-size: 11px; }
.breadcrumb .current { color: var(--gold-light); max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.text-hero-inner .breadcrumb,
.hero-content .breadcrumb { margin-bottom: 22px; }
.text-hero-inner .breadcrumb a,
.text-hero-inner .breadcrumb .sep,
.hero-content .breadcrumb a,
.hero-content .breadcrumb .sep { color: rgba(255,255,255,0.6); }
.text-hero-inner .breadcrumb .sep,
.hero-content .breadcrumb .sep { color: rgba(255,255,255,0.28); }
/* ============================================================
   TEAM CARD — richer treatment (also benefits homepage's own
   Team section, which shares this class)
   ============================================================ */
.team-card { position: relative; }
.team-avatar { transition: transform 0.5s var(--ease); }
.team-card:hover .team-avatar { transform: translateY(-4px); }
.team-avatar .initials { transition: transform 0.5s var(--ease), border-color 0.5s var(--ease); }
.team-card:hover .team-avatar .initials { transform: scale(1.08); border-color: var(--gold); }
.team-section-lede { max-width: 640px; }
.team-group { margin-top: 64px; }
.team-group:first-child { margin-top: 0; }
.team-group-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: block;
}

/* ============================================================
   MANIFESTO — full-width editorial text block (About page intro),
   deliberately not the image+text .about-grid used elsewhere
   ============================================================ */
.manifesto {
  max-width: 1180px;
  margin-left: auto;
  margin-right: auto;
  column-count: 2;
  column-gap: 64px;
}
.manifesto p { font-size: 16.5px; color: var(--grey-600); line-height: 1.85; margin-top: 22px; break-inside: avoid; }
.manifesto p:first-of-type { margin-top: 0; }
.manifesto p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 82px;
  line-height: 0.62;
  float: left;
  padding: 8px 12px 0 0;
  color: var(--gold);
}

/* ============================================================
   FEATURE PHOTO — a single large, properly-framed photograph
   (About "Who We Are"), stacked above its text rather than boxed
   side-by-side like .about-grid — keeps the photo's real
   composition intact instead of forcing it into a thin banner crop
   ============================================================ */
.feature-photo {
  position: relative;
  max-width: 1400px;
  margin: 48px auto 0;
}
.feature-photo-frame {
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold);
  z-index: -1;
}
.feature-photo-media {
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.feature-photo-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.7s var(--ease-out);
}
.feature-photo:hover .feature-photo-media img { transform: scale(1.03); }
.feature-photo .caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--grey-400);
}
.feature-photo .caption::before { content: ""; width: 26px; height: 1px; background: var(--gold); }

/* ============================================================
   PRINCIPLE LIST — stacked full-width rows (About "Our Approach"),
   distinct from the boxed .capability-grid / .approach-grid pattern
   ============================================================ */
.principle-list { margin-top: 24px; }
.principle-row {
  display: flex;
  align-items: center;
  gap: clamp(24px, 4vw, 56px);
  padding: 34px 0;
  border-top: 1px solid var(--grey-100);
  transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}
.principle-row:last-child { border-bottom: 1px solid var(--grey-100); }
.principle-row:hover { background: var(--cream); padding-left: 22px; }
.principle-row .glyph {
  width: 52px; height: 52px;
  flex-shrink: 0;
  color: var(--gold);
}
.principle-content h4 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(21px, 2vw, 26px);
  color: var(--black);
}
.principle-content p { margin-top: 10px; font-size: 15px; color: var(--grey-600); line-height: 1.7; max-width: 60ch; }

/* ============================================================
   DIPTYCH — full-bleed split banner (About "Ireland + United
   States"), distinct from the boxed .locations-grid pattern
   ============================================================ */
.diptych {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 62vh;
  background: var(--grey-100);
  gap: 2px;
}
.diptych-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}
.diptych-panel img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.1s var(--ease-out);
}
.diptych-panel::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(6,6,5,0.88) 0%, rgba(6,6,5,0.2) 55%, rgba(6,6,5,0.35) 100%);
}
.diptych-panel:hover img { transform: scale(1.02); }
.diptych-content { position: relative; z-index: 1; padding: clamp(28px, 4vw, 52px); }
.diptych-content h3 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--white);
  font-size: clamp(26px, 3vw, 38px);
  margin-top: 12px;
}
.diptych-content p { margin-top: 12px; color: rgba(255,255,255,0.7); font-size: 14.5px; max-width: 34ch; line-height: 1.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1180px) {
  .main-nav { display: none; }
  .nav-toggle { display: flex; }
  .header-actions .btn.desktop-only { display: none; }
  .about-grid { grid-template-columns: 1fr; }
  .about-media-wrap { max-width: 460px; position: static; }
  .about-pillars { grid-template-columns: 1fr; gap: 40px; }
  .tiles { grid-template-columns: 1fr 1fr; }
  .stages { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .approach-grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .locations-grid { grid-template-columns: 1fr; }
  .location-card { min-height: 360px; }
  .footer-top { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .project-grid { grid-template-columns: 1fr 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; }
  .contact-layout { grid-template-columns: 1fr; }
  .manifesto { column-count: 1; }
}

@media (max-width: 640px) {
  .tiles { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .stages { grid-template-columns: 1fr; }
  .approach-grid { grid-template-columns: 1fr; }
  .partner-logo { width: 140px; padding: 16px 18px; }
  .partners-track { animation-duration: 26s; }
  .footer-top { grid-template-columns: 1fr; }
  .diptych { grid-template-columns: 1fr; min-height: auto; }
  .diptych-panel { min-height: 44vh; }
  .principle-row { flex-direction: column; align-items: flex-start; gap: 16px; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .section-head.split { flex-direction: column; align-items: flex-start; }
  .values-list { grid-template-columns: 1fr 1fr; gap: 8px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 20px; }
  .related-grid { grid-template-columns: 1fr; }
  .checklist-grid { grid-template-columns: 1fr; }
  .image-break { min-height: 34vh; }
  .cta-band-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .cta-band-actions .btn { justify-content: center; }
}
