/* ============================================================
   Istro Corp — site stylesheet
   Industrial · clean · modern · professional
   Tokens at top; swap brand colors there.
   ============================================================ */

/* -------- Design tokens ----------------------------------- */
:root {
  /* Surfaces — restrained, neutral */
  --bg:          #ffffff;
  --bg-alt:      #f4f5f7;
  --bg-ink:      #0a0f17;
  --bg-grid:     rgba(10, 15, 23, 0.045);

  /* Ink */
  --ink:         #0a0f17;
  --ink-soft:    #1d2836;
  --ink-muted:   #5a6573;

  /* Lines */
  --border:      #dfe2e7;
  --border-soft: #ebedf0;
  --hairline:    #d6d9de;

  /* Accent — single steel-blue, used sparingly */
  --accent:        #1e2a3a;     /* swap here to retheme */
  --accent-hover:  #0a0f17;
  --accent-soft:   #eef0f3;
  --accent-ink:    #ffffff;

  /* Geometry — squarer, more industrial */
  --radius-sm: 2px;
  --radius:    4px;
  --radius-lg: 6px;

  /* Shadows — minimal */
  --shadow-sm: 0 1px 0 rgba(10,15,23,.05);
  --shadow:    0 1px 0 rgba(10,15,23,.06), 0 8px 24px -12px rgba(10,15,23,.10);
  --shadow-lg: 0 1px 0 rgba(10,15,23,.06), 0 24px 48px -20px rgba(10,15,23,.18);

  /* Layout */
  --container: 1440px;
  --pad-x: clamp(20px, 4vw, 32px);
  --section-y: clamp(72px, 9vw, 128px);

  /* Type */
  --font-sans:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "Inter", system-ui, sans-serif;
  --font-mono:    "IBM Plex Mono", "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  /* Motion */
  --t-fast: 140ms ease;
  --t:      200ms ease;
  --t-slow: 380ms cubic-bezier(.2,.7,.2,1);
}

/* -------- Reset ------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  background: var(--bg);
}
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "ss01", "cv11";
}
img, video, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5 { margin: 0; font-family: var(--font-display); letter-spacing: -0.018em; line-height: 1.12; }
p { margin: 0; }

/* -------- Typography scale -------------------------------- */
.h-display { font-size: clamp(2.6rem, 5.6vw, 4.8rem); font-weight: 700; letter-spacing: -0.032em; line-height: 1.02; }
.h-1       { font-size: clamp(2rem,   3.6vw, 3rem);   font-weight: 700; letter-spacing: -0.024em; }
.h-2       { font-size: clamp(1.5rem, 2.4vw, 2.1rem); font-weight: 600; letter-spacing: -0.018em; }
.h-3       { font-size: clamp(1.1rem, 1.6vw, 1.3rem); font-weight: 600; letter-spacing: -0.012em; }
.lead      { font-size: clamp(1.05rem,1.4vw, 1.2rem); color: var(--ink-soft); line-height: 1.55; }
.eyebrow   {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: var(--ink-muted);
  font-weight: 500;
}
.muted     { color: var(--ink-muted); }
.mono      { font-family: var(--font-mono); }

/* -------- Layout primitives ------------------------------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.section   { padding-block: var(--section-y); position: relative; background: var(--bg); }
.section + .section { border-top: 1px solid var(--border-soft); }
.section--alt { background: var(--bg-alt); }
.section--ink { background: var(--bg-ink); color: #fff; border-top-color: var(--bg-ink) !important; }
.section--ink .muted { color: rgba(255,255,255,.65); }
.section--ink .eyebrow { color: rgba(255,255,255,.5); }
.grid { display: grid; gap: 24px; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.stack > * + * { margin-top: 16px; }
.stack-lg > * + * { margin-top: 24px; }
.center-text { text-align: center; }
.flex { display: flex; gap: 16px; flex-wrap: wrap; }
.flex--between { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }

/* -------- Buttons ----------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.005em;
  transition: transform var(--t-fast), background var(--t), color var(--t), border-color var(--t), box-shadow var(--t);
  white-space: nowrap;
  border: 1px solid transparent;
}
.btn:hover  { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary {
  background: var(--accent); color: var(--accent-ink);
}
.btn--primary:hover { background: var(--accent-hover); }
.btn--ghost {
  background: transparent; color: var(--ink);
  border-color: var(--border);
}
.btn--ghost:hover { background: var(--bg); border-color: var(--ink); }
.btn--inverted {
  background: #fff; color: var(--bg-ink);
}
.btn--inverted:hover { background: rgba(255,255,255,.92); }
.btn .arrow {
  display: inline-block;
  transition: transform var(--t);
  font-family: var(--font-mono);
  font-weight: 400;
}
.btn:hover .arrow { transform: translateX(3px); }

/* -------- Header / Nav ------------------------------------ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: transparent !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 0;
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.brand {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 700;
  letter-spacing: -.012em;
  font-size: 1.02rem;
}
.brand__mark {
  width: 30px; height: 30px;
  border-radius: 3px;
  background: var(--bg-ink) url("../img/logo-mark.png") center / 80% no-repeat;
  font: 0/0 a; color: transparent;
}
.nav__links {
  display: flex; gap: 2px; align-items: center;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  display: inline-flex; padding: 9px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--ink-soft);
  border-radius: var(--radius);
  transition: color var(--t);
  position: relative;
}
.nav__links a:hover { color: var(--ink); }
.nav__links a.is-active { color: var(--ink); }
.nav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 14px; right: 14px; bottom: 4px;
  height: 1px; background: var(--ink);
}
.nav__right { display: flex; align-items: center; gap: 12px; }

.lang-switch {
  display: inline-flex; align-items: center;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.lang-switch button {
  padding: 7px 12px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-muted);
  transition: background var(--t), color var(--t);
}
.lang-switch button + button { border-left: 1px solid var(--border); }
.lang-switch button.is-active { background: var(--bg-ink); color: #fff; }

.nav-toggle {
  display: none; width: 38px; height: 38px; align-items: center; justify-content: center;
  border-radius: var(--radius); border: 1px solid var(--border);
}
.nav-toggle span {
  position: relative; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--t), opacity var(--t);
}
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink); transition: transform var(--t);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after  { top: 5px; }
.nav-toggle.is-open span { background: transparent; }
.nav-toggle.is-open span::before { transform: translateY(5px) rotate(45deg); }
.nav-toggle.is-open span::after  { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 880px) {
  .nav__links, .nav__right .btn { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav__links {
    position: absolute; left: 0; right: 0; top: 100%;
    display: flex; flex-direction: column; gap: 0;
    padding: 16px 20px 20px;
    background: #0a0f17;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    box-shadow: 0 24px 48px -16px rgba(0,0,0,.6);
  }
  .nav.is-open .nav__links a {
    padding: 14px 4px;
    color: rgba(255,255,255,.86) !important;
    border-radius: 0;
    border-bottom: 1px solid rgba(255,255,255,.06);
    font-weight: 500;
  }
  .nav.is-open .nav__links li:last-child a { border-bottom: 0; }
  .nav.is-open .nav__links a:hover,
  .nav.is-open .nav__links a.is-active { color: #fff !important; }
  .nav.is-open .nav__links a.is-active::after { display: none; }
}

/* -------- Hero (FULL-BLEED VIDEO) ------------------------- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  overflow: hidden;
  color: #fff;
  isolation: isolate;
  margin-top: -68px;            /* let video go behind the sticky header */
  padding-top: 68px;
}

/* Full-bleed hero + matching nav: text hugs the left edge of the viewport.
   Asymmetric padding — tight on the left, comfortable on the right. */
.site-header > .container,
.hero > .container,
.hero .hero__inner {
  max-width: none !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
  padding-left: clamp(20px, 2vw, 36px) !important;
  padding-right: clamp(20px, 3vw, 56px) !important;
  width: 100% !important;
  box-sizing: border-box;
}

/* Fixed cinematic background stage — sits behind hero + statement.
   Subsequent opaque sections cover it. */
.bg-stage {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 30%, rgba(255,255,255,.06), transparent 60%),
    radial-gradient(ellipse at 20% 100%, rgba(184,137,90,.10), transparent 60%),
    var(--bg-ink);
}
.bg-stage__video,
.bg-stage__poster {
  position: absolute;
  inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
  transform: translate3d(0, var(--bg-y, 0), 0) scale(var(--bg-zoom, 1));
  transform-origin: 50% 50%;
}
.bg-stage__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(10,15,23,.10) 0%, rgba(10,15,23,.10) 30%, rgba(10,15,23,.55) 100%),
    linear-gradient(90deg,  rgba(10,15,23,.45) 0%,  rgba(10,15,23,.05) 55%);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: clamp(56px, 7vw, 96px);
  padding-top: clamp(120px, 14vh, 200px);
}
.hero__title {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.02;
  max-width: 16ch;
  color: #fff;
  text-wrap: balance;
}
.hero__lead {
  margin-top: 24px;
  max-width: 580px;
  color: rgba(255,255,255,.78);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
}
.hero .eyebrow { color: rgba(255,255,255,.62); }
.hero__cta { margin-top: 40px; display: flex; gap: 12px; flex-wrap: wrap; }
.hero__cta .btn--primary { background: #fff; color: var(--bg-ink); }
.hero__cta .btn--primary:hover { background: rgba(255,255,255,.92); }
.hero__cta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.32); }
.hero__cta .btn--ghost:hover { background: rgba(255,255,255,.08); border-color: #fff; }

/* Stats sit on top of the hero, hairline white grid */
.hero__strip {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 20px var(--pad-x);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255,255,255,.14);
  background: rgba(10,15,23,.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  max-width: var(--container);
  margin-inline: auto;
  position: absolute;
}
.hero__strip-wrap {
  position: absolute; left: 0; right: 0; bottom: 0;
  border-top: 1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, transparent, rgba(10,15,23,.5));
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.hero__strip-wrap .container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  padding-block: 22px;
}
.hero__strip-wrap .stat {
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.72);
}
.hero__strip-wrap .stat:first-child { padding-left: 0; }
.hero__strip-wrap .stat:last-child  { border-right: 0; padding-right: 0; }
.hero__strip-wrap .stat strong {
  display: block;
  font-size: 1.05rem;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -.014em;
  font-weight: 600;
}
.hero__strip-wrap .stat span {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
}

/* Header inverts over the hero on the homepage */
body.has-hero-cover .site-header {
  background: transparent;
  border-bottom-color: transparent;
}
body.has-hero-cover .site-header,
body.has-hero-cover .site-header * { color: #fff; }
body.has-hero-cover .nav__links a { color: rgba(255,255,255,.78); }
body.has-hero-cover .nav__links a:hover,
body.has-hero-cover .nav__links a.is-active { color: #fff; }
body.has-hero-cover .nav__links a.is-active::after { background: #fff; }
body.has-hero-cover .lang-switch { border-color: rgba(255,255,255,.28); }
body.has-hero-cover .lang-switch button { color: rgba(255,255,255,.65); }
body.has-hero-cover .lang-switch button + button { border-left-color: rgba(255,255,255,.28); }
body.has-hero-cover .lang-switch button.is-active { background: #fff; color: var(--bg-ink); }
body.has-hero-cover .nav__right .btn--primary { background: #fff; color: var(--bg-ink); border-color: #fff; }
body.has-hero-cover .nav__right .btn--primary:hover { background: rgba(255,255,255,.9); }
body.has-hero-cover .nav-toggle { border-color: rgba(255,255,255,.32); }
body.has-hero-cover .nav-toggle span,
body.has-hero-cover .nav-toggle span::before,
body.has-hero-cover .nav-toggle span::after { background: #fff; }

/* When the user scrolls past the hero, header keeps transparent + blur */
body.has-hero-cover.is-scrolled .site-header {
  background: transparent;
  border-bottom-color: transparent;
}
body.has-hero-cover.is-scrolled .site-header,
body.has-hero-cover.is-scrolled .site-header * { color: var(--ink); }
body.has-hero-cover.is-scrolled .nav__links a { color: var(--ink-soft); }
body.has-hero-cover.is-scrolled .nav__links a.is-active::after { background: var(--ink); }
body.has-hero-cover.is-scrolled .lang-switch { border-color: var(--border); }
body.has-hero-cover.is-scrolled .lang-switch button { color: var(--ink-muted); }
body.has-hero-cover.is-scrolled .lang-switch button + button { border-left-color: var(--border); }
body.has-hero-cover.is-scrolled .lang-switch button.is-active { background: var(--bg-ink); color: #fff; }
body.has-hero-cover.is-scrolled .nav__right .btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
body.has-hero-cover.is-scrolled .nav-toggle span,
body.has-hero-cover.is-scrolled .nav-toggle span::before,
body.has-hero-cover.is-scrolled .nav-toggle span::after { background: var(--ink); }

/* ---- Page-cover pages (about / contact / references) inherit the same
       header treatment so text reads white over the cinematic page hero
       and switches to dark when the user scrolls past it. */
body.has-page-cover .site-header { background: transparent; border-bottom-color: transparent; }
body.has-page-cover .site-header,
body.has-page-cover .site-header * { color: #fff; }
body.has-page-cover .nav__links a { color: rgba(255,255,255,.78); }
body.has-page-cover .nav__links a:hover,
body.has-page-cover .nav__links a.is-active { color: #fff; }
body.has-page-cover .nav__links a.is-active::after { background: #fff; }
body.has-page-cover .lang-switch { border-color: rgba(255,255,255,.28); }
body.has-page-cover .lang-switch button { color: rgba(255,255,255,.65); }
body.has-page-cover .lang-switch button + button { border-left-color: rgba(255,255,255,.28); }
body.has-page-cover .lang-switch button.is-active { background: #fff; color: var(--bg-ink); }
body.has-page-cover .nav__right .btn--primary { background: #fff; color: var(--bg-ink); border-color: #fff; }
body.has-page-cover .nav__right .btn--primary:hover { background: rgba(255,255,255,.9); }
body.has-page-cover .nav-toggle { border-color: rgba(255,255,255,.32); }
body.has-page-cover .nav-toggle span,
body.has-page-cover .nav-toggle span::before,
body.has-page-cover .nav-toggle span::after { background: #fff; }

body.has-page-cover.is-scrolled .site-header { background: transparent; border-bottom-color: transparent; }
body.has-page-cover.is-scrolled .site-header,
body.has-page-cover.is-scrolled .site-header * { color: var(--ink); }
body.has-page-cover.is-scrolled .nav__links a { color: var(--ink-soft); }
body.has-page-cover.is-scrolled .nav__links a.is-active::after { background: var(--ink); }
body.has-page-cover.is-scrolled .lang-switch { border-color: var(--border); }
body.has-page-cover.is-scrolled .lang-switch button { color: var(--ink-muted); }
body.has-page-cover.is-scrolled .lang-switch button + button { border-left-color: var(--border); }
body.has-page-cover.is-scrolled .lang-switch button.is-active { background: var(--bg-ink); color: #fff; }
body.has-page-cover.is-scrolled .nav__right .btn--primary { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
body.has-page-cover.is-scrolled .nav-toggle span,
body.has-page-cover.is-scrolled .nav-toggle span::before,
body.has-page-cover.is-scrolled .nav-toggle span::after { background: var(--ink); }

@media (max-width: 880px) {
  .hero__strip-wrap .container { gap: 12px; }
  .hero__strip-wrap .stat {
    padding: 8px 16px;
    border-right: 0;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .hero__strip-wrap .stat:last-child { border-bottom: 0; }
}
@media (max-width: 600px) {
  .hero { min-height: 560px; }
  .hero__strip-wrap { display: none; }
}

/* -------- Cards / features -------------------------------- */
.feature {
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t), transform var(--t);
  position: relative;
}
.feature:hover { transform: translateY(-2px); border-color: var(--ink); }
.feature__icon {
  width: 38px; height: 38px;
  border-radius: var(--radius-sm);
  display: grid; place-items: center;
  background: var(--bg-ink);
  color: #fff;
  margin-bottom: 22px;
}
.feature h3 { margin-bottom: 10px; }
.feature p { color: var(--ink-muted); font-size: 0.96rem; }

.card {
  display: block;
  padding: 32px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--t), transform var(--t);
}
.card:hover { transform: translateY(-2px); border-color: var(--ink); }
.card h3 { margin: 0 0 10px; }
.card .eyebrow { display: block; margin-bottom: 14px; }

/* Project / reference card */
.project {
  position: relative; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  background: var(--bg-alt);
  border: 1px solid var(--border);
}
.project__img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--t-slow);
}
.project:hover .project__img { transform: scale(1.04); }
.project__body {
  position: absolute; inset: 0; padding: 28px;
  display: flex; flex-direction: column; justify-content: flex-end;
  background: linear-gradient(180deg, transparent 35%, rgba(10,15,23,.92) 100%);
  color: #fff;
}
.project__body h3 { margin: 4px 0; }
.project__body p { color: rgba(255,255,255,.78); font-size: 0.92rem; }
.project__body .eyebrow { color: rgba(255,255,255,.55) !important; margin-bottom: 6px; }

/* -------- Forms ------------------------------------------- */
.form { display: grid; gap: 18px; max-width: 640px; }
.form__row { display: grid; gap: 18px; }
.form__row--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .form__row--2 { grid-template-columns: 1fr; } }
.form label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-muted);
  display: grid; gap: 8px;
}
.form input, .form textarea, .form select {
  width: 100%; padding: 13px 16px;
  background: #fff;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  color: var(--ink);
  letter-spacing: 0;
  text-transform: none;
  transition: border-color var(--t), box-shadow var(--t);
}
.form textarea { min-height: 140px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus {
  outline: 0; border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(10,15,23,.08);
}
.form .checkbox {
  display: flex; gap: 10px; align-items: flex-start;
  font-family: var(--font-sans);
  font-size: 0.88rem;
  text-transform: none;
  letter-spacing: 0;
  color: var(--ink-muted);
}
.form .checkbox input { width: auto; padding: 0; margin-top: 4px; }
.form-status { font-size: 0.92rem; color: var(--ink-muted); min-height: 1.4em; font-family: var(--font-mono); }
.form-status.is-success { color: #1f7a3b; }
.form-status.is-error { color: #b8302a; }

/* -------- Footer ------------------------------------------ */
.site-footer {
  background: var(--bg-ink); color: rgba(255,255,255,.72);
  padding: clamp(64px, 7vw, 96px) 0 32px;
  margin-top: 0;
}
.site-footer a { color: rgba(255,255,255,.72); transition: color var(--t); }
.site-footer a:hover { color: #fff; }
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
  padding-bottom: 56px; border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-grid h4 {
  color: #fff;
  margin-bottom: 18px;
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
}
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-grid p, .footer-grid li { font-size: 0.92rem; }
.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* -------- Cookie banner ----------------------------------- */
.cookie-banner {
  position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  display: none;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  max-width: 720px; margin-inline: auto;
  animation: slideUp .4s cubic-bezier(.2,.7,.2,1) both;
}
.cookie-banner.is-visible { display: grid; gap: 14px; }
.cookie-banner p { font-size: 0.9rem; color: var(--ink-soft); }
.cookie-banner .row { display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.cookie-banner .btn { padding: 10px 16px; font-size: .84rem; }
@keyframes slideUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }

/* -------- Reveal-on-scroll animation ---------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s ease, transform .5s cubic-bezier(.2,.7,.2,1);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

/* -------- Misc -------------------------------------------- */
.section-head { max-width: 760px; margin-bottom: 56px; }
.section-head .eyebrow { margin-bottom: 14px; }
.divider { height: 1px; background: var(--hairline); margin-block: 56px; }
.tag {
  display: inline-flex;
  padding: 4px 10px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-muted);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}
.contact-card {
  padding: 28px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-card a { color: var(--ink); border-bottom: 1px solid currentColor; padding-bottom: 1px; }
.contact-card a:hover { color: var(--ink); border-color: transparent; }

.map-embed {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border);
  aspect-ratio: 16/9; background: var(--bg-alt);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; }

/* ============================================================
   HOMEPAGE — Oxaley-style additions
   Hero typography split, hero thumbs, scroll cue, statement,
   service rows, projects band.
   ============================================================ */

/* -------- Hero: layout & content slots -------------------- */
.hero__inner {
  display: grid;
  grid-template-rows: 1fr;
  padding-bottom: clamp(60px, 8vw, 120px);
  padding-top: clamp(110px, 13vh, 180px);
}
.hero__main {
  align-self: end;
  justify-self: start !important;
  width: 100%;
  margin-inline: 0 !important;
}
.hero__title {
  font-size: clamp(2.1rem, 5.4vw, 4.6rem);
  font-weight: 700;
  letter-spacing: -0.032em;
  line-height: 1.06;
  max-width: 22ch;
  color: #fff;
  text-wrap: balance;
  margin-inline: 0 !important;
  margin-left: 0 !important;
  margin-right: auto !important;
  text-align: left !important;
}
.hero__caption {
  margin-top: 0;
  margin-bottom: clamp(18px, 2.4vw, 32px);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .22em;
  color: rgba(255,255,255,.55);
  font-weight: 500;
}
.hero__title-bold { display: inline; color: #fff; }
.hero__title-light {
  display: inline;
  color: rgba(255,255,255,.32);
  font-weight: 500;
  font-size: 0.55em;
  letter-spacing: -0.018em;
}
.hero__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 24px;
}
.hero__portfolio {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: rgba(255,255,255,.78);
  border-bottom: 1px solid rgba(255,255,255,.28);
  padding-bottom: 8px;
  width: max-content;
  transition: color var(--t), border-color var(--t);
}
.hero__portfolio:hover { color: #fff; border-color: #fff; }
.hero__portfolio-arrow { transition: transform var(--t); }
.hero__portfolio:hover .hero__portfolio-arrow { transform: translateX(4px); }

/* Hero thumbnail strip — three small image cards (placeholders) */
.hero__thumbs {
  display: flex;
  gap: 10px;
  justify-self: center;
}
.hero__thumb {
  display: block;
  width: clamp(72px, 8vw, 96px);
  height: clamp(48px, 5.4vw, 64px);
  border-radius: 6px;
  background-size: cover; background-position: center;
  border: 1px solid rgba(255,255,255,.16);
  box-shadow: 0 6px 24px -8px rgba(0,0,0,.6);
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow), border-color var(--t);
}
.hero__thumb:hover { transform: translateY(-3px); border-color: rgba(255,255,255,.4); }
.hero__thumb::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55));
}
/* Industrial gradient placeholders — swap to real images later by setting background-image */
.hero__thumb--1 {
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(184,137,90,.55), transparent 60%),
    linear-gradient(135deg, #1a2331 0%, #0c1320 100%);
}
.hero__thumb--2 {
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(120,170,210,.32), transparent 60%),
    linear-gradient(135deg, #14202f 0%, #0a1320 100%);
}
.hero__thumb--3 {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(220,140,60,.45), transparent 55%),
    linear-gradient(135deg, #1c1a1a 0%, #0a0a0e 100%);
}

/* SCROLL NOW indicator — bottom right */
.hero__scroll {
  display: inline-flex; align-items: center; gap: 14px;
  justify-self: end;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: rgba(255,255,255,.78);
  transition: color var(--t);
}
.hero__scroll:hover { color: #fff; }
.hero__scroll-arrow {
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border-radius: 50%;
  transition: transform var(--t);
}
.hero__scroll:hover .hero__scroll-arrow { transform: translateY(3px); }

@media (max-width: 760px) {
  .hero__top { flex-direction: column; }
  .hero__tagline { text-align: left; }
  .hero__bottom { grid-template-columns: 1fr; gap: 32px; }
  .hero__thumbs { justify-self: start; }
  .hero__scroll { justify-self: start; }
  .hero__title { max-width: none; }
}

/* -------- Statement section — sits over the fixed video bg ----- */
.statement {
  background: transparent;
  padding-block: clamp(96px, 12vw, 160px);
  color: #fff;
  position: relative;
}
.statement::before {
  /* Soft darkening for legibility — top edge fully transparent so the
     hand-off from hero/bg-stage video into statement reads as one
     continuous gradient, no hard horizontal line. */
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,
    rgba(10,15,23,0)   0%,
    rgba(10,15,23,.20) 12%,
    rgba(10,15,23,.55) 35%,
    rgba(10,15,23,.72) 70%,
    rgba(10,15,23,.85) 100%);
  pointer-events: none;
  z-index: 0;
}
.statement > .container { position: relative; z-index: 1; }
.statement__lead {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.4vw, 3.6rem);
  line-height: 1.08;
  letter-spacing: -0.028em;
  color: #fff;
  max-width: 22ch;
  text-wrap: balance;
}
.statement__lead .solid { color: #fff; }
.statement__lead .muted-word { color: rgba(255,255,255,.45); }
.statement__lead span { display: inline; }
.statement__lead span + span { margin-left: .25em; }
.statement__foot {
  margin-top: clamp(56px, 7vw, 96px);
}
.statement__cta {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 6px;
  width: max-content;
  transition: opacity var(--t), border-color var(--t);
}
.statement__cta:hover { opacity: .8; border-color: #fff; }
.statement__body p {
  color: rgba(255,255,255,.78);
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.6;
  max-width: 56ch;
}
.statement__body .link-arrow {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.6);
  padding-bottom: 4px;
  width: max-content;
  transition: opacity var(--t), border-color var(--t);
}
.statement__body .link-arrow:hover { opacity: .65; }
.statement__body .arrow { transition: transform var(--t); }
.statement__body .link-arrow:hover .arrow { transform: translateX(3px); }

@media (max-width: 760px) {
  .statement__foot { grid-template-columns: 1fr; }
}

/* -------- Pillars — centered icon row, dark continuous ---- */
.pillars-icons {
  /* The top STARTS at the same darkness the statement's overlay finishes
     at (~85% black over the video) — so the boundary is invisible, the
     darkness simply keeps deepening as you scroll into solid bg-ink. */
  background: linear-gradient(180deg,
    rgba(10,15,23, 0.85) 0%,
    rgba(10,15,23, 0.92) 8%,
    rgba(10,15,23, 0.98) 18%,
    var(--bg-ink)        28%,
    var(--bg-ink)        100%) !important;
  border-top: 0 !important;
  text-align: center;
}
.section-head--center {
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}
.section-head--center .eyebrow { color: rgba(255,255,255,.5); }
.section-head--center .h-1 {
  margin-top: 14px;
  color: #fff;
}
.pillars-icons__intro {
  margin-top: 18px;
  color: rgba(255,255,255,.65);
  font-size: clamp(0.98rem, 1.2vw, 1.08rem);
  max-width: 60ch;
  margin-inline: auto;
}

.pillar-icons {
  list-style: none;
  margin: clamp(48px, 7vw, 96px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(28px, 4vw, 64px);
}
.pillar-icon {
  display: grid;
  gap: 18px;
  justify-items: center;
  text-align: center;
  padding: clamp(24px, 3vw, 36px) clamp(18px, 2vw, 28px);
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  background: transparent;
  transition: transform var(--t-slow),
              background var(--t),
              border-color var(--t),
              box-shadow var(--t-slow);
  cursor: default;
}
.pillar-icon:hover {
  transform: translateY(-8px);
  background: rgba(255,255,255,.025);
  border-color: rgba(255,255,255,.10);
  box-shadow: 0 28px 60px -28px rgba(0,0,0,.6);
}
.pillar-icon__visual {
  width: clamp(150px, 17vw, 200px);
  height: clamp(150px, 17vw, 200px);
  background: transparent;
  border: 0;
  position: relative;
}
.pillar-icon__visual img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  /* Dark navy backgrounds in the icon images blend with the dark section,
     making the icons appear to float without their image background. */
  mix-blend-mode: screen;
  transition: transform var(--t-slow), filter var(--t-slow);
}
.pillar-icon:hover .pillar-icon__visual img {
  transform: scale(1.08);
  filter: brightness(1.08);
}
.pillar-icon__title {
  font-size: clamp(1.3rem, 1.9vw, 1.65rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 4px 0 0;
  color: #fff;
  text-wrap: balance;
  transform-origin: center top;
  transition: color var(--t),
              transform 500ms cubic-bezier(.2,.7,.2,1),
              letter-spacing 500ms cubic-bezier(.2,.7,.2,1);
}
.pillar-icon:hover .pillar-icon__title {
  transform: scale(1.08);
  letter-spacing: -0.024em;
}
.pillar-icon__body {
  margin: 0;
  color: rgba(255,255,255,.62);
  font-size: 0.95rem;
  line-height: 1.58;
  max-width: 36ch;
  transition: color var(--t);
}
.pillar-icon:hover .pillar-icon__body { color: rgba(255,255,255,.78); }

@media (max-width: 760px) {
  .pillar-icons {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

/* -------- Transition strip — pipes ARE the divider --------- */
.transition-strip {
  position: relative;
  width: 100%;
  aspect-ratio: 2400 / 1018;
  max-height: 70vh;
  /* Split aligns with the CENTER of the top pipe (~13% down) so the pipe
     itself straddles the dark/white boundary — no visible white gap above. */
  background: linear-gradient(180deg,
    var(--bg-ink) 0%,
    var(--bg-ink) 13%,
    var(--bg)     13%,
    var(--bg)     100%);
  border-top: 0;
  overflow: hidden;
}
.transition-strip__overlay {
  position: absolute;
  inset: 0;
  background: url('../img/transition-pipes.png') center / 100% 100% no-repeat;
  pointer-events: none;
  /* No mask needed — the new image fades naturally at the bottom (transparent
     space below the structure), so it blends invisibly into the white below. */
  filter: drop-shadow(0 6px 14px rgba(0,0,0,.35));
}
.transition-strip + .section {
  border-top: 0;
  /* Pull the next section UP so its heading overlaps the bottom of the strip — zero perceptible gap */
  padding-top: 0;
  margin-top: clamp(-40px, -3vw, -16px);
}

/* -------- Service rows — premium hover, big numbers -------- */
.service-rows {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid var(--border);
}
.service-row {
  display: grid;
  /* Number, copy, then visual on the right at full row height */
  grid-template-columns: 96px 2fr minmax(320px, 1.4fr);
  align-items: stretch;
  gap: clamp(20px, 3vw, 48px);
  padding-block: clamp(8px, 1vw, 14px);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background var(--t-slow);
  cursor: default;
  min-height: 360px;
}
.service-row::before {
  /* Bronze accent line that grows from left to right on hover */
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8895a, transparent);
  transition: width var(--t-slow);
}
.service-row:hover {
  background: linear-gradient(180deg, var(--bg-alt) 0%, transparent 100%);
}
.service-row:hover::before { width: 100%; }

/* Big editorial number anchor */
.service-row__num {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4.5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.85;
  color: var(--ink);
  opacity: 0.18;
  transition: opacity var(--t-slow), color var(--t-slow);
  font-feature-settings: "tnum";
  align-self: center;
  text-align: center;
}
.service-row:hover .service-row__num {
  opacity: 0.85;
  color: #b8895a;
}

.service-row__copy h3 {
  margin-bottom: 12px;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 600;
  letter-spacing: -0.018em;
  transform-origin: left center;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1),
              letter-spacing 500ms cubic-bezier(.2,.7,.2,1);
}
.service-row:hover .service-row__copy h3 {
  transform: translateX(6px) scale(1.08);
  letter-spacing: -0.022em;
}

.service-row__copy p { font-size: 0.96rem; line-height: 1.55; }

.service-row__visual {
  position: relative;
  /* No aspect-ratio — fills full row height for an immersive "image rail" feel */
  width: 100%;
  height: 100%;
  min-height: 180px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover; background-position: center;
  transition: transform var(--t-slow), box-shadow var(--t-slow);
  box-shadow: 0 4px 16px -8px rgba(10,15,23,.2);
}
.service-row:hover .service-row__visual {
  transform: scale(1.02);
  box-shadow: 0 16px 40px -16px rgba(10,15,23,.45);
}
.service-row__visual--engineers {
  background-image:
    radial-gradient(ellipse at 70% 30%, rgba(120,170,210,.4), transparent 60%),
    linear-gradient(135deg, #1d2a3a 0%, #0c1320 100%);
}
.service-row__visual--welders {
  background-image:
    radial-gradient(ellipse at 50% 40%, rgba(220,140,60,.6), transparent 55%),
    linear-gradient(135deg, #261c14 0%, #0e0a08 100%);
}
.service-row__visual--projects {
  background-image:
    radial-gradient(ellipse at 30% 70%, rgba(184,137,90,.5), transparent 60%),
    linear-gradient(135deg, #1a2331 0%, #0a0f17 100%);
}

/* Photo variant — cinematic full photographs filling the visual area.
   Left edge fades into the white section so it blends instead of cutting. */
.service-row__visual--photo {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  /* Long, gradual fade on the left edge — image dissolves smoothly into
     the section over ~35% of the width. More stops = softer curve. */
  mask-image: linear-gradient(90deg,
    transparent     0%,
    rgba(0,0,0,.08) 8%,
    rgba(0,0,0,.22) 16%,
    rgba(0,0,0,.45) 24%,
    rgba(0,0,0,.72) 32%,
    #000            42%,
    #000            100%);
  -webkit-mask-image: linear-gradient(90deg,
    transparent     0%,
    rgba(0,0,0,.08) 8%,
    rgba(0,0,0,.22) 16%,
    rgba(0,0,0,.45) 24%,
    rgba(0,0,0,.72) 32%,
    #000            42%,
    #000            100%);
}
.service-row__visual--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1),
              filter 600ms cubic-bezier(.2,.7,.2,1);
}
.service-row:hover .service-row__visual--photo img {
  transform: scale(1.05);
  filter: brightness(1.06) saturate(1.08);
}
.service-row__chip,
.service-row__detail { display: none; }

/* Copy column — vertically centered against the full-height visual */
.service-row__copy { align-self: center; max-width: 60ch; }
.service-row__copy p { font-size: clamp(0.96rem, 1.05vw, 1.05rem); }

@media (max-width: 880px) {
  .service-row {
    grid-template-columns: 1fr;
    gap: 14px;
    padding-block: 28px;
    text-align: center;
  }
  .service-row__num { font-size: 2.4rem; opacity: 0.4; }
  .service-row__copy { margin-inline: auto; }
  .service-row__visual { aspect-ratio: 21/9; }
}

/* -------- Projects band (dark gradient) ------------------- */
.projects-band {
  background:
    radial-gradient(ellipse at 78% 50%, rgba(184,137,90,.18), transparent 55%),
    linear-gradient(135deg, #0e1726 0%, #0a0f17 60%, #050810 100%);
  color: #fff;
  border-top: 0;
  padding-block: clamp(80px, 10vw, 140px);
}
.projects-band__inner {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

/* -------- Project carousel — wrapper with side nav buttons ----- */
.project-carousel {
  position: relative;
  margin-inline: calc(-1 * clamp(20px, 3vw, 56px));
}
.project-carousel__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: clamp(44px, 5vw, 56px);
  height: clamp(44px, 5vw, 56px);
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.22);
  background: rgba(10,15,23,.6);
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background var(--t), border-color var(--t), transform var(--t);
}
.project-carousel__nav:hover {
  background: #b8895a;
  border-color: #b8895a;
  transform: translateY(-50%) scale(1.05);
}
.project-carousel__nav--prev { left: 8px; }
.project-carousel__nav--next { right: 8px; }
.project-carousel__nav:focus-visible {
  outline: 2px solid #b8895a;
  outline-offset: 4px;
}

/* -------- Project carousel — horizontal scroll, center emphasis -- */
.project-grid {
  display: flex;
  gap: clamp(20px, 2.5vw, 32px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-block: 32px;
  /* Inline padding = (viewport width - card width) / 2 — so first and last
     cards can scroll all the way to the carousel's center position. */
  padding-inline: max(20px, calc(50% - clamp(130px, 13vw, 170px)));
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
}
.project-grid:active { cursor: grabbing; }
.project-grid::-webkit-scrollbar { display: none; }

.project-card {
  flex: 0 0 clamp(260px, 26vw, 340px);
  scroll-snap-align: center;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.08);
  transform: scale(0.95);
  opacity: 0.7;
  transition: transform 350ms cubic-bezier(.2,.7,.2,1),
              opacity 300ms ease,
              border-color 250ms ease,
              box-shadow 350ms cubic-bezier(.2,.7,.2,1);
  text-decoration: none;
  color: inherit;
}
/* The card closest to the center of the carousel is the "focused" one */
.project-card.is-focused {
  transform: scale(1);
  opacity: 1;
  border-color: rgba(184,137,90,.5);
  background: rgba(255,255,255,.05);
  box-shadow: 0 28px 60px -24px rgba(0,0,0,.6);
}
.project-card:hover {
  opacity: 1;
}

.project-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-ink);
}
.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 800ms cubic-bezier(.2,.7,.2,1),
              filter 500ms ease;
}
.project-card:hover .project-card__media img {
  transform: scale(1.06);
  filter: brightness(1.06) saturate(1.05);
}
.project-card__num {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.4);
  border: 1px solid rgba(255,255,255,.18);
  padding: 4px 10px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background 300ms ease, border-color 300ms ease, color 300ms ease;
}
.project-card:hover .project-card__num {
  background: rgba(184,137,90,.85);
  border-color: rgba(184,137,90,1);
  color: #fff;
}

.project-card__body {
  padding: clamp(18px, 2vw, 24px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.project-card__name {
  margin: 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 600;
  letter-spacing: -0.012em;
  line-height: 1.25;
  color: #fff;
}
.project-card__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.project-card__desc {
  margin: 6px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
}

/* CTA card — sits at the end of the carousel as the 6th card */
.project-card--cta {
  background: linear-gradient(135deg, rgba(184,137,90,.12), rgba(255,255,255,.02));
  text-decoration: none;
  align-items: stretch;
}
.project-card--cta.is-focused {
  background: linear-gradient(135deg, rgba(184,137,90,.30), rgba(255,255,255,.05));
}
.project-card__cta-inner {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
  padding: clamp(32px, 4vw, 56px);
}
.project-card__cta-title {
  margin: 0;
  font-size: clamp(1.3rem, 1.8vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: #fff;
}
.project-card__cta-arrow {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  color: #b8895a;
  transition: transform 400ms cubic-bezier(.2,.7,.2,1);
}
.project-card--cta.is-focused .project-card__cta-arrow {
  transform: translateX(8px);
  color: #fff;
}

/* CTA row beneath the carousel — bigger, more dramatic */
.project-grid__cta-row {
  display: flex;
  justify-content: center;
  margin-top: clamp(28px, 3.5vw, 48px);
}
.project-grid__cta-row .btn {
  position: relative;
  background: transparent;
  border: 1px solid rgba(184,137,90,.55);
  color: #fff;
  padding: 18px 40px;
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 999px;
  overflow: hidden;
  isolation: isolate;
  transition: color 400ms ease, border-color 400ms ease, transform 400ms cubic-bezier(.2,.7,.2,1);
}
/* Bronze fill that grows from left on hover */
.project-grid__cta-row .btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #b8895a, #d4a574);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 600ms cubic-bezier(.2,.7,.2,1);
  z-index: -1;
}
/* Soft outer glow on hover */
.project-grid__cta-row .btn::after {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 999px;
  background: rgba(184,137,90,.35);
  filter: blur(16px);
  opacity: 0;
  transition: opacity 500ms ease;
  z-index: -2;
}
.project-grid__cta-row .btn:hover {
  border-color: #b8895a;
  color: #fff;
  transform: translateY(-2px);
}
.project-grid__cta-row .btn:hover::before { transform: scaleX(1); }
.project-grid__cta-row .btn:hover::after  { opacity: 1; }
.project-grid__cta-row .btn .arrow {
  display: inline-block;
  margin-left: 12px;
  font-size: 1.2rem;
  transition: transform 500ms cubic-bezier(.2,.7,.2,1);
}
.project-grid__cta-row .btn:hover .arrow { transform: translateX(6px); }
.projects-band__eyebrow {
  color: rgba(255,255,255,.55) !important;
  display: block;
  margin-bottom: 28px;
}
.projects-band__list {
  list-style: none; margin: 0 0 40px; padding: 0;
  display: grid; gap: 0;
}
.projects-band__list li {
  display: grid;
  grid-template-columns: 56px 1fr auto;
  align-items: start;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
  transition: padding var(--t-slow), border-color var(--t), background var(--t);
  cursor: default;
}
.projects-band__list li.is-active {
  padding-left: 12px;
}
.projects-band__info {
  display: grid;
  gap: 6px;
  min-width: 0;
}
.projects-band__meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.45);
  text-transform: uppercase;
  margin-top: 2px;
}
.projects-band__desc {
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
  max-width: 56ch;
  margin-top: 6px;
  transition: color var(--t);
}
.projects-band__list li:hover .projects-band__desc { color: rgba(255,255,255,.9); }
.projects-band__list li.is-active .projects-band__num { color: #b8895a; }
/* Bronze accent line that grows from left on hover */
.projects-band__list li::before {
  content: "";
  position: absolute;
  left: 0; bottom: -1px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8895a, transparent);
  transition: width var(--t-slow);
}
.projects-band__list li:hover {
  padding-left: 16px;
  border-bottom-color: rgba(255,255,255,.18);
}
.projects-band__list li:hover::before { width: 60%; }

.projects-band__num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: .2em;
  color: rgba(255,255,255,.45);
  transition: color var(--t);
}
.projects-band__list li:hover .projects-band__num { color: #b8895a; }

.projects-band__name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.6rem);
  letter-spacing: -.014em;
  color: #fff;
  transition: transform var(--t-slow);
  position: relative;
}
.projects-band__list li:hover .projects-band__name { transform: translateX(4px); }

/* Meta line (year / client / location) — reveals on hover under the name */
.projects-band__list li::after {
  content: attr(data-meta);
  grid-column: 2;
  grid-row: 2;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: .14em;
  color: rgba(255,255,255,.5);
  text-transform: uppercase;
  margin-top: 6px;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: opacity var(--t-slow), max-height var(--t-slow), margin var(--t-slow);
}
.projects-band__list li:hover::after {
  opacity: 1;
  max-height: 30px;
  margin-top: 6px;
}

.projects-band__arrow {
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: rgba(255,255,255,.4);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity var(--t), transform var(--t), color var(--t);
}
.projects-band__list li:hover .projects-band__arrow {
  opacity: 1;
  transform: translateX(0);
  color: #b8895a;
}

.projects-band__cta { margin-top: 12px; }

.projects-band__visual {
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: #0a0f17;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px -30px rgba(0,0,0,.7);
}
.projects-band__preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 500ms cubic-bezier(.2,.7,.2,1),
              transform 1200ms cubic-bezier(.2,.7,.2,1);
}
/* (Old SVG map and preview-image styles removed — homepage now uses the
   horizontal scroll-snap carousel; references page uses image-led case grid.) */

@media (max-width: 880px) {
  .projects-band__inner { grid-template-columns: 1fr; }
}

/* ============================================================
   ANIMATION LAYER — premium, subtle motion
   Parallax hero, staggered title reveal, cursor spotlight,
   ambient glow drift, project list hover.
   ============================================================ */

/* Background stage — ambient drifting glow (slow, cinematic) */
.bg-stage::before {
  content: "";
  position: absolute;
  inset: -20%;
  background:
    radial-gradient(ellipse 50% 40% at 30% 30%, rgba(184,137,90,.16), transparent 60%),
    radial-gradient(ellipse 40% 50% at 75% 70%, rgba(80,130,180,.12), transparent 60%);
  filter: blur(40px);
  animation: heroDrift 24s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes heroDrift {
  0%   { transform: translate3d(-2%, -1%, 0) scale(1); }
  50%  { transform: translate3d(2%, 1%, 0) scale(1.05); }
  100% { transform: translate3d(-1%, 2%, 0) scale(1); }
}

/* Background stage — vignette overlay drifts independently for depth */
.bg-stage__overlay {
  animation: heroVignetteDrift 20s ease-in-out infinite alternate;
  will-change: background-position;
}
@keyframes heroVignetteDrift {
  0%   { background-position: 0% 0%, 0% 0%; }
  100% { background-position: 6% -2%, -4% 0%; }
}

/* Hero — staggered title reveal */
.hero__title .hero__title-bold,
.hero__title .hero__title-light {
  display: inline-block;
  opacity: 0;
  transform: translateY(24px);
  animation: heroLineIn .9s cubic-bezier(.2,.7,.2,1) forwards;
}
.hero__title .hero__title-bold:nth-of-type(1) { animation-delay: .15s; }
.hero__title .hero__title-bold:nth-of-type(2) { animation-delay: .3s; }
.hero__title .hero__title-light:nth-of-type(1) { animation-delay: .55s; }
.hero__title .hero__title-light:nth-of-type(2) { animation-delay: .7s; }
@keyframes heroLineIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero — eyebrow + tagline + bottom row also fade in (after title) */
.hero__top, .hero__bottom {
  opacity: 0;
  transform: translateY(8px);
  animation: heroFadeIn .8s ease-out .9s forwards;
}
.hero__bottom { animation-delay: 1.05s; }
@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

/* Hero scroll arrow — gentle pulse */
.hero__scroll-arrow svg path { animation: scrollPulse 2.4s ease-in-out infinite; }
@keyframes scrollPulse {
  0%, 100% { transform: translateY(0); opacity: .85; }
  50%      { transform: translateY(2px); opacity: 1; }
}

/* Hero thumbs — slow ambient breathing on accents */
.hero__thumb {
  transform: translateY(0);
  animation: thumbBreath 6s ease-in-out infinite alternate;
}
.hero__thumb--2 { animation-delay: 1s; }
.hero__thumb--3 { animation-delay: 2s; }
@keyframes thumbBreath {
  to { transform: translateY(-3px); }
}

/* Service rows — cursor-following spotlight (JS sets --mx, --my) */
.service-row {
  position: relative;
  isolation: isolate;
}
.service-row::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(
    circle at var(--mx, 50%) var(--my, 50%),
    rgba(184,137,90,.10),
    transparent 28%
  );
  opacity: 0;
  transition: opacity var(--t);
  pointer-events: none;
  z-index: -1;
}
.service-row:hover::before { opacity: 1; }
.service-row__copy h3 {
  transition: transform var(--t-slow);
}
.service-row:hover .service-row__copy h3 { transform: translateX(4px); }

/* Projects band — hover slide + arrow reveal */
.projects-band__list li {
  position: relative;
  cursor: default;
}
.projects-band__list li:hover .projects-band__name { color: #fff; }
.projects-band__list li:hover .projects-band__num { color: rgba(255,255,255,.85); }

/* Pillars — small icon underline on hover */
.pillar { position: relative; overflow: hidden; }
.pillar::before {
  content: "";
  position: absolute;
  left: 0; top: 0;
  width: 100%;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-slow);
}
.pillar:hover::before { transform: scaleX(1); }

/* Statement section — cinematic scale-in entrance, paired with hero zoom */
.statement[data-reveal] {
  opacity: 0;
  transform: scale(.94) translateY(40px);
  transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1.3s cubic-bezier(.2,.7,.2,1);
  transform-origin: 50% 30%;
}
.statement[data-reveal].is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Statement section — animate solid words on enter */
.statement__lead .solid {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease, transform .6s cubic-bezier(.2,.7,.2,1);
}
.statement.is-visible .statement__lead .solid {
  opacity: 1;
  transform: translateY(0);
}
.statement.is-visible .statement__lead .solid:nth-child(1) { transition-delay: 0s; }
.statement.is-visible .statement__lead .solid:nth-child(2) { transition-delay: .1s; }
.statement.is-visible .statement__lead .solid:nth-child(3) { transition-delay: .2s; }
.statement__lead .muted-word {
  display: inline-block;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .6s ease .4s, transform .6s cubic-bezier(.2,.7,.2,1) .4s;
}
.statement.is-visible .statement__lead .muted-word {
  opacity: 1;
  transform: translateY(0);
}
.statement.is-visible .statement__lead .muted-word:nth-child(5) { transition-delay: .55s; }

/* CTA band — accent glow on hover */
.section--ink .btn--inverted {
  position: relative;
}
.section--ink .btn--inverted::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: var(--radius);
  background: rgba(184,137,90,.4);
  filter: blur(12px);
  opacity: 0;
  transition: opacity var(--t);
  z-index: -1;
}
.section--ink .btn--inverted:hover::before { opacity: 1; }

/* -------- Page-level cinematic cover (about / contact / etc) -- */
body.has-page-cover html { background: var(--bg-ink); }
.bg-stage--page {
  /* A shorter cover than the homepage bg-stage — sits behind the page-hero
     section only, not full viewport. Subsequent sections cover it normally. */
  height: 70vh;
  position: absolute;
  top: 0; left: 0; right: 0;
  bottom: auto;
}
.bg-stage--page .bg-stage__poster,
.bg-stage--page .bg-stage__video {
  filter: brightness(.7) saturate(1.05);
  /* Override the scroll-zoom transform from the homepage version — page covers stay static */
  transform: none !important;
}

.page-hero {
  position: relative;
  padding-top: clamp(140px, 18vh, 220px);
  padding-bottom: clamp(80px, 10vh, 140px);
  color: #fff;
  isolation: isolate;
}
.page-hero .eyebrow { color: rgba(255,255,255,.6); }
.page-hero .h-display {
  color: #fff;
  font-size: clamp(2.6rem, 6vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.034em;
  line-height: 1.04;
}
.page-hero .lead { color: rgba(255,255,255,.78); }

/* -------- About-page light mode — flips colors to dark-on-white -- */
body.about-light .about-hero,
body.about-light .stats-bar { background: var(--bg); }

/* Hero copy on white */
body.about-light .about-hero__left .eyebrow { color: var(--ink-muted); }
body.about-light .about-hero__title { color: var(--ink); }
body.about-light .about-hero__title-light { color: var(--ink-muted); opacity: 0.55; }
body.about-light .about-hero__lead { color: var(--ink-soft); }
body.about-light .about-hero__signature {
  color: var(--ink-muted);
  border-top-color: var(--border);
}
body.about-light .about-hero__cta {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
body.about-light .about-hero__cta:hover {
  background: #b8895a;
  border-color: #b8895a;
}

/* Principles list on white */
body.about-light .about-hero__right-eyebrow { color: var(--ink-muted); }
body.about-light .about-principle { border-top-color: var(--border); }
body.about-light .about-principle:last-child { border-bottom-color: var(--border); }
body.about-light .about-principle h3 { color: var(--ink); }
body.about-light .about-principle p { color: var(--ink-soft); }
body.about-light .about-principle:hover h3 { color: #b8895a; }

/* Stats bar on white — capabilities strip */
body.about-light .stats-bar {
  border-top-color: var(--border);
  border-bottom-color: var(--border);
  background: var(--bg);
  animation: none;
}
body.about-light .stats-bar__overlay { display: none; }
body.about-light .hero-stat__icon { color: #b8895a; }
body.about-light .hero-stat__name { color: var(--ink); }
body.about-light .stats-bar__bg-image {
  opacity: 1;
  filter: none;
  /* Image with white bg blends seamlessly into the white strip */
}

/* -------- About page — 3-column dramatic hero ---------------- */
.about-hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: clamp(110px, 13vh, 160px);
  padding-bottom: clamp(60px, 8vh, 120px);
}
.about-hero__inner {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr 0.9fr;
  gap: clamp(32px, 4vw, 80px);
  align-items: center;
}
.about-hero__left {
  display: grid;
  gap: 28px;
  align-content: start;
}
.about-hero__left .eyebrow {
  color: rgba(255,255,255,.5);
}
.about-hero__title {
  font-size: clamp(2.4rem, 5vw, 4.8rem);
  font-weight: 800;
  letter-spacing: -0.038em;
  line-height: 0.96;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.about-hero__title-light {
  display: inline;
  color: rgba(255,255,255,.42);
  font-weight: 700;
}
.about-hero__lead {
  margin: 0;
  font-size: clamp(0.96rem, 1.05vw, 1.05rem);
  line-height: 1.6;
  color: rgba(255,255,255,.78);
  max-width: 42ch;
}
.about-hero__cta {
  width: max-content;
  margin-top: 4px;
}
.about-hero__signature {
  margin: 16px 0 0;
  font-size: 0.86rem;
  line-height: 1.55;
  color: rgba(255,255,255,.5);
  max-width: 42ch;
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
}

.about-hero__center {
  border-radius: 0;
  overflow: visible;
  aspect-ratio: 1/1;
  position: relative;
  box-shadow: none;
  border: 0;
  background: transparent;
}
.about-hero__center img,
.about-hero__center-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Light-mode page: video has white bg, page has white bg.
   mix-blend-mode: multiply — white pixels of video blend invisibly with
   the page; only the plant itself shows, floating directly on the page. */
body.about-light .about-hero__center-video {
  mix-blend-mode: multiply;
  filter: contrast(1.05);
}
body.about-light .about-hero__center {
  box-shadow: none;
  border: 0;
  background: transparent;
}

.about-hero__right {
  display: grid;
  gap: 0;
  align-content: start;
}
.about-hero__right-eyebrow {
  color: rgba(255,255,255,.5);
  margin-bottom: 8px;
}
.about-principle {
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 18px 0;
}
.about-principle:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.about-principle h3 {
  margin: 0 0 6px;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.006em;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  transition: color var(--t);
}
.about-principle:hover h3 { color: #b8895a; }
.about-principle p {
  margin: 0;
  font-size: 0.84rem;
  line-height: 1.55;
  color: rgba(255,255,255,.6);
}

@media (max-width: 1100px) {
  .about-hero__inner {
    grid-template-columns: 1fr 1fr;
  }
  .about-hero__center { grid-column: 1 / -1; aspect-ratio: 16/9; max-height: 60vh; }
  .about-hero__right { grid-column: 1 / -1; }
  .about-hero__right { grid-template-columns: 1fr 1fr; gap: 0 32px; display: grid; }
  .about-hero__right-eyebrow { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  .about-hero { min-height: auto; }
  .about-hero__inner {
    grid-template-columns: 1fr;
  }
  .about-hero__right { grid-template-columns: 1fr; }
  .about-hero__title { font-size: clamp(2rem, 9vw, 3rem); }
  .about-hero__center { aspect-ratio: 1/1; max-height: none; }
  .about-hero__center img,
  .about-hero__center-video { object-fit: contain; }
}

/* -------- Stats bar — full-bleed strip with rotating 3D plant -- */
.stats-bar {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
  background: linear-gradient(90deg, #0a0f17 0%, #131c2a 50%, #0a0f17 100%);
  perspective: 1800px;
}
.stats-bar__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.stats-bar__bg-image {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(280px, 32vw, 520px);
  aspect-ratio: 1/1;
  background: url('../img/stats-bg.png') center/contain no-repeat;
  transform: translate(-50%, -50%);
  transform-style: preserve-3d;
  animation: statsBgRotate 14s ease-in-out infinite alternate;
  opacity: 0.85;
  filter: brightness(1.15);
}
@keyframes statsBgRotate {
  0%   { transform: translate(-50%, -50%) rotateY(-28deg); }
  100% { transform: translate(-50%, -50%) rotateY(28deg); }
}
.stats-bar__overlay {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(10,15,23,.55), rgba(10,15,23,.75));
  pointer-events: none;
}
.stats-bar__inner {
  position: relative;
  z-index: 2;
  padding: clamp(20px, 2.5vw, 32px) 0;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 32px);
  align-items: center;
}
.hero-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  color: rgba(255,255,255,.85);
  white-space: nowrap;
  min-width: 0;
}
.hero-stat__icon {
  font-size: 1.1rem;
  color: #b8895a;
  flex-shrink: 0;
  line-height: 1;
}
.hero-stat__value {
  font-weight: 700;
  color: #fff;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  flex-shrink: 0;
}
.hero-stat__label {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.7rem;
  color: rgba(255,255,255,.5);
  overflow: hidden;
  text-overflow: ellipsis;
}
.hero-stat__name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  letter-spacing: -0.006em;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1100px) {
  .stats-bar__inner { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
  .hero-stat { font-size: 0.78rem; }
}

/* -------- Stats band — editorial big-number row ------------ */
.stats-band__list {
  list-style: none; margin: clamp(40px, 5vw, 64px) 0 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
}
.stats-band__item {
  border-top: 1px solid var(--border);
  padding: clamp(20px, 2.5vw, 32px) 0;
  display: flex; flex-direction: column; gap: 14px;
}
.stats-band__num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.4vw, 4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.9;
  color: var(--ink);
}
.stats-band__unit {
  font-size: 0.6em;
  font-weight: 600;
  margin-left: 4px;
  color: #b8895a;
}
.stats-band__label {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  line-height: 1.4;
}

@media (max-width: 880px) {
  .stats-band__list { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .stats-band__list { grid-template-columns: 1fr; }
}

/* (Featured-project-card styles removed — section was deleted from references.html.) */

/* -------- References — Image-led case grid ------------------- */
.work-grid {
  padding-top: clamp(20px, 2.5vw, 36px);
}
.work-stats {
  padding-bottom: clamp(20px, 2.5vw, 36px);
}
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: clamp(40px, 5vw, 64px);
}
.case-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-ink);
  border: 1px solid rgba(255,255,255,.06);
}
.case-card__media {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--bg-ink);
}
.case-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
/* Year + country badges in top corners — static, no hover */
.case-card__year,
.case-card__country {
  position: absolute;
  top: 14px;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,.95);
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.15);
  padding: 5px 10px;
  border-radius: 2px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-transform: uppercase;
}
.case-card__year { left: 14px; }
.case-card__country { right: 14px; font-weight: 700; }

.case-card__body {
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: #fff;
  position: relative;
}
.case-card__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: #b8895a;
  font-weight: 600;
}
.case-card__title {
  margin: 4px 0 0;
  font-size: clamp(1.05rem, 1.3vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.014em;
  line-height: 1.25;
  color: #fff;
}
.case-card__meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
}
.case-card__desc {
  margin: 4px 0 0;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255,255,255,.7);
}
@media (max-width: 1100px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* -------- References — editorial statement (replaces stats grid) -- */
.work-statement {
  padding-top: clamp(40px, 5vw, 72px);
  padding-bottom: clamp(20px, 2.5vw, 36px);
}
.work-statement__text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 2.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
  color: var(--ink-soft);
  max-width: 60ch;
  margin: 0;
  text-wrap: balance;
}
.work-statement__text strong {
  color: #b8895a;
  font-weight: 700;
  white-space: nowrap;
}

/* -------- References — Cinematic editorial quote ------------ */
.work-quote {
  padding-block: clamp(120px, 16vw, 220px);
  position: relative;
  overflow: hidden;
  background: var(--bg-ink);
  isolation: isolate;
}
/* Atmospheric background image */
.work-quote__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
}
.work-quote__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* Slow, very subtle Ken Burns drift so the bg feels alive */
  animation: workQuoteDrift 40s ease-in-out infinite alternate;
}
@keyframes workQuoteDrift {
  0%   { transform: scale(1.05) translate3d(-1%, 0, 0); }
  100% { transform: scale(1.10) translate3d(1%, -1%, 0); }
}
/* Heavy darkening overlay + bronze radial glow center for focus */
.work-quote__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 55%, rgba(184,137,90,.18), transparent 55%),
    linear-gradient(180deg, rgba(10,15,23,.85) 0%, rgba(10,15,23,.78) 50%, rgba(10,15,23,.92) 100%);
}

.work-quote__inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.work-quote__mark {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(8rem, 16vw, 18rem);
  font-weight: 700;
  color: #b8895a;
  line-height: 0.5;
  letter-spacing: -0.04em;
  margin-bottom: clamp(0px, 1vw, 12px);
  opacity: 0.7;
  user-select: none;
  filter: drop-shadow(0 0 30px rgba(184,137,90,.3));
}
.work-quote__text {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 4.4rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.022em;
  line-height: 1.16;
  color: #fff;
  margin: 0;
  text-wrap: balance;
}
.work-quote__accent {
  color: #b8895a;
  font-style: italic;
  display: inline;
}
.work-quote__attribution {
  display: block;
  margin-top: clamp(36px, 5vw, 56px);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.5);
}

/* -------- VOP page (Terms of Business) ----------------------- */
.vop-hero {
  padding-top: clamp(110px, 13vh, 160px);
  padding-bottom: clamp(40px, 5vw, 72px);
  border-bottom: 1px solid var(--border);
}
.vop-hero__sub {
  margin: 16px 0 0;
  font-size: clamp(1rem, 1.4vw, 1.25rem);
  color: var(--ink-muted);
  font-style: italic;
}
.vop-hero__meta {
  margin: 24px 0 0;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* VOP — embedded PDF viewer with cinematic frame */
.vop-doc { padding-block: clamp(48px, 6vw, 80px); }
.vop-doc__intro {
  max-width: 56ch;
  margin: 0 auto clamp(32px, 4vw, 56px);
  text-align: center;
}

/* Outer frame — premium document container */
.vop-doc__viewer {
  background: var(--bg-ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 30px 80px -30px rgba(10,15,23,.3);
  position: relative;
}
.vop-doc__viewer::before {
  /* Bronze accent line at top */
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, #b8895a, transparent 80%);
  z-index: 2;
}

/* Toolbar — file info on left, actions on right */
.vop-doc__toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px clamp(16px, 2vw, 24px);
  background: linear-gradient(180deg, #131c2a, #0e1622);
  color: rgba(255,255,255,.85);
  border-bottom: 1px solid rgba(255,255,255,.08);
  gap: 16px;
  flex-wrap: wrap;
}
.vop-doc__toolbar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.vop-doc__icon {
  flex-shrink: 0;
  color: #b8895a;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  background: rgba(184,137,90,.12);
  border-radius: 6px;
}
.vop-doc__filename {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.02em;
}
.vop-doc__filemeta {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-top: 2px;
}

.vop-doc__toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.vop-doc__action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 16px;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,.18);
  background: transparent;
  color: rgba(255,255,255,.85);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background var(--t), border-color var(--t), color var(--t);
}
.vop-doc__action:hover {
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.32);
  color: #fff;
}
.vop-doc__action--primary {
  background: #b8895a;
  border-color: #b8895a;
  color: #fff;
}
.vop-doc__action--primary:hover {
  background: #a37549;
  border-color: #a37549;
  color: #fff;
}

/* The actual PDF iframe */
.vop-doc__frame {
  display: block;
  width: 100%;
  height: clamp(600px, 80vh, 900px);
  border: 0;
  background: #fff;
}

@media (max-width: 640px) {
  .vop-doc__toolbar { flex-direction: column; align-items: stretch; }
  .vop-doc__toolbar-right { justify-content: flex-end; }
  .vop-doc__action span { display: none; }
  .vop-doc__action { padding: 9px 12px; }
}

/* -------- References-page map -------------------------------- */
/* (Map section styles removed — "Where we work" section was deleted.) */

/* -------- Services page image cards (no hover animation) ----- */
.services-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--bg-ink);
  box-shadow: 0 16px 40px -16px rgba(10,15,23,.18);
}
.services-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* -------- Services page — separator between service blocks ---- */
.service-block {
  align-items: start;
  padding-block: clamp(8px, 1vw, 16px);
}
.service-block + .service-block {
  border-top: 1px solid var(--border);
}
.service-block:first-of-type { padding-top: 0; }
.service-block:last-of-type  { padding-bottom: 0; }

/* On mobile the service grid collapses to a single column —
   when the image is authored first (block #2), push it after the header copy
   so every service reads: tag → title → body → image, consistently. */
@media (max-width: 720px) {
  .service-block > .services-img:first-child { order: 2; }
}

/* -------- Contact page — form + info card grid ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 880px) {
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
}

/* -------- Legal documents (privacy.html prose) -------------- */
.legal-doc__body {
  max-width: 70ch;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--ink-soft);
}
.legal-doc__body .lead {
  font-size: clamp(1.1rem, 1.4vw, 1.25rem);
  color: var(--ink);
  line-height: 1.55;
  margin-bottom: clamp(32px, 4vw, 48px);
  padding-bottom: clamp(24px, 3vw, 36px);
  border-bottom: 1px solid var(--border);
}
.legal-doc__body h2 {
  margin: clamp(40px, 5vw, 56px) 0 16px;
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  font-weight: 700;
  letter-spacing: -0.018em;
  color: var(--ink);
}
.legal-doc__body h2:first-of-type { margin-top: 0; }
.legal-doc__body h3 {
  margin: 24px 0 10px;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #b8895a;
  font-family: var(--font-mono);
}
.legal-doc__body p { margin: 0 0 16px; }
.legal-doc__body ul { margin: 0 0 16px; padding-left: 22px; }
.legal-doc__body ul li { margin-bottom: 8px; }
.legal-doc__body strong { color: var(--ink); font-weight: 600; }
.legal-doc__body a { color: #b8895a; text-decoration: underline; text-decoration-color: rgba(184,137,90,.4); text-underline-offset: 3px; }
.legal-doc__body a:hover { text-decoration-color: #b8895a; }

/* -------- Honeypot field (spam prevention) ----------------- */
/* Off-screen but accessible to screen-readers — bots fill it, real users don't see it. */
.form__honeypot {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* -------- Accessible focus rings ---------------------------- */
/* Visible only on keyboard navigation, hidden on mouse click */
:focus { outline: none; }
:focus-visible {
  outline: 2px solid #b8895a;
  outline-offset: 3px;
  border-radius: 4px;
}
.btn:focus-visible,
.nav__links a:focus-visible,
.lang-switch button:focus-visible {
  outline: 2px solid #b8895a;
  outline-offset: 4px;
}
.project-card:focus-visible {
  outline: 2px solid #b8895a;
  outline-offset: 4px;
  transform: translateY(-2px);
}
.case-card:focus-visible,
.about-principle:focus-visible {
  outline: 2px solid #b8895a;
  outline-offset: 3px;
}

/* -------- Reduced motion (expanded coverage) ---------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
  html, body { scroll-behavior: auto; }

  /* Background stage — static, no Ken Burns / drift / zoom */
  .bg-stage::before,
  .bg-stage__overlay,
  .bg-stage__video,
  .bg-stage__poster { animation: none; transform: none !important; }

  /* Hero title intro animation off */
  .hero__thumb { animation: none; }
  .hero__title .hero__title-bold,
  .hero__title .hero__title-light,
  .hero__top, .hero__bottom { opacity: 1; transform: none; animation: none; }

  /* About-page rotating plant video — pause */
  .about-hero__center-video { animation: none; }

  /* Stats bar bg pan */
  .stats-bar { animation: none; }
  .stats-bar__bg-image { animation: none; }

  /* Reveal-on-scroll — show immediately, no slide */
  [data-reveal] { opacity: 1 !important; transform: none !important; }
  [data-reveal].is-visible { opacity: 1; transform: none; }

  /* Statement section per-word reveal — show all */
  .statement[data-reveal],
  .statement[data-reveal].is-visible { opacity: 1; transform: none; }
  .statement__lead .solid,
  .statement__lead .muted-word { opacity: 1; transform: none; }

  /* Work-quote Ken Burns drift */
  .work-quote__bg img { animation: none; transform: none; }

  /* Carousel scroll-snap is fine (user-driven) but kill auto-fade
     transitions on focus so center detection feels instant */
  .project-card { transition: none !important; }
}
