/* ==========================================================================
   EASTCRETE SOLUTIONS — gisborneconcrete.co.nz
   Implementation of Fable's design system (design/Design System.dc.html §01–06).
   Token values, type scale, spacing, radius and motion timings are taken
   verbatim from the design package. Fixed desktop sizes from the 1280px mockups
   are expressed as clamps so the same design holds at 390–1920px.
   ========================================================================== */

/* --- 01 · Tokens ---------------------------------------------------------- */
:root {
  --ec-ink: #10181d;
  --ec-panel: #151f26;
  --ec-ink-deep: #0c1216;
  --ec-paper: #f1eee7;
  --ec-paper-soft: #d7d2c7;
  --ec-steel: #9aa6ab;
  --ec-muted: #5e6a70;
  --ec-green: #1e6b3f;
  --ec-green-hover: #27834e;
  --ec-green-bright: #37a264;
  --ec-green-text: #58b87f;
  --ec-error: #c0533f;
  --ec-line: rgba(241, 238, 231, 0.12);
  --ec-line-strong: rgba(241, 238, 231, 0.14);
  --ec-line-btn: rgba(241, 238, 231, 0.35);

  --font-display: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Space Grotesk', ui-monospace, 'SF Mono', Menlo, monospace;

  --radius: 2px;
  --gutter: clamp(20px, 3.75vw, 48px);
  --nav-h: 84px;
  --ease-reveal: cubic-bezier(0.22, 1, 0.36, 1);

  /* Type scale — mobile floor / fluid / desktop ceiling */
  --t-display: clamp(40px, 12.1vw, 56px);
  --t-h1-page: clamp(44px, 7.2vw, 128px);
  --t-h1-service: clamp(46px, 6.4vw, 112px);
  --t-h2: clamp(40px, 5.6vw, 72px);
  --t-h2-md: clamp(34px, 4.4vw, 56px);
  --t-h2-sm: clamp(32px, 4vw, 52px);
  --t-h2-cta: clamp(52px, 8.5vw, 150px);
  --t-h2-cta-sm: clamp(44px, 5.4vw, 92px);
  --t-h3: clamp(20px, 2.1vw, 28px);
  --t-body: clamp(15.5px, 1.15vw, 17px);
  --t-body-lg: clamp(16px, 1.35vw, 19px);
  --t-label: clamp(11px, 0.95vw, 12.5px);
}

@media (min-width: 768px) {
  :root { --t-display: clamp(74px, 9.6vw, 176px); }
}

/* --- Base ----------------------------------------------------------------- */
*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--ec-ink);
  color: var(--ec-paper);
  font-family: var(--font-display);
  font-size: var(--t-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
picture,
video { max-width: 100%; }

img { display: block; }

a {
  color: var(--ec-paper);
  text-decoration: none;
  transition: color 0.25s ease;
}
a:hover { color: var(--ec-green-text); }

h1, h2, h3, h4 {
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0;
}

p { margin: 0; }

::selection {
  background: var(--ec-green);
  color: var(--ec-paper);
}

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

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ec-green);
  color: var(--ec-paper);
  padding: 14px 22px;
  font-weight: 700;
  border-radius: var(--radius);
}
.skip-link:focus {
  left: var(--gutter);
  top: 12px;
}

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

/* --- 02 · Typography helpers --------------------------------------------- */
.label {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: var(--t-label);
  letter-spacing: 0.28em;
  color: var(--ec-green-text);
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}
.label--steel { color: var(--ec-steel); letter-spacing: 0.2em; }

.mono {
  font-family: var(--font-mono);
  font-weight: 500;
  letter-spacing: 0.14em;
  font-size: clamp(11px, 1vw, 13px);
  color: var(--ec-steel);
  text-transform: uppercase;
}

.display { font-size: var(--t-display); line-height: 0.9; letter-spacing: -0.015em; }
.h1-page { font-size: var(--t-h1-page); line-height: 0.9; letter-spacing: -0.015em; }
.h1-service { font-size: var(--t-h1-service); line-height: 0.92; letter-spacing: -0.015em; }
.h2 { font-size: var(--t-h2); }
.h2--md { font-size: var(--t-h2-md); }
.h2--sm { font-size: var(--t-h2-sm); }
.h3 { font-size: var(--t-h3); font-weight: 800; }
.dim { color: var(--ec-steel); }
.green { color: var(--ec-green-bright); }
.green-deep { color: var(--ec-green); }

.lede {
  font-size: var(--t-body-lg);
  line-height: 1.6;
  color: var(--ec-paper-soft);
  max-width: 62ch;
}
.body-copy { color: var(--ec-steel); line-height: 1.65; }

/* --- 03 · Buttons, links, chips ------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 17px 32px;
  font-family: var(--font-display);
  font-size: clamp(15px, 1.15vw, 16px);
  font-weight: 700;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: center;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease,
    color 0.25s ease;
}
.btn--primary {
  background: var(--ec-green);
  color: var(--ec-paper);
}
.btn--primary:hover {
  background: var(--ec-green-hover);
  color: var(--ec-paper);
  transform: translateY(-2px);
}
.btn--ghost {
  border-color: var(--ec-line-btn);
  color: var(--ec-paper);
  font-weight: 600;
  background: transparent;
}
.btn--ghost:hover {
  border-color: var(--ec-green-text);
  color: var(--ec-paper);
  background: rgba(30, 107, 63, 0.18);
}
.btn--lg { padding: 20px 40px; font-size: clamp(16px, 1.25vw, 17px); }
.btn--sm { padding: 13px 26px; min-height: 44px; font-size: 14px; }

.link-arrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1.1vw, 14px);
  letter-spacing: 0.18em;
  color: var(--ec-paper-soft);
  border-bottom: 1px solid rgba(241, 238, 231, 0.3);
  padding-bottom: 6px;
  text-transform: uppercase;
  transition: color 0.25s ease, border-color 0.25s ease;
}
.link-arrow:hover {
  color: var(--ec-green-text);
  border-color: var(--ec-green-text);
}

.inline-link {
  color: var(--ec-green-text);
  border-bottom: 1px solid var(--ec-green);
}

.chip {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 22px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.12em;
  border: 1px solid rgba(241, 238, 231, 0.25);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ec-steel);
  cursor: pointer;
  text-transform: uppercase;
  transition: all 0.25s ease;
}
.chip:hover { border-color: var(--ec-green-text); color: var(--ec-paper); }
.chip[aria-pressed='true'],
.chip.is-active {
  background: var(--ec-green);
  border-color: var(--ec-green);
  color: var(--ec-paper);
}

.pill {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid rgba(241, 238, 231, 0.25);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  color: var(--ec-paper);
}
.pill:hover { border-color: var(--ec-green-text); color: var(--ec-green-text); }

/* Grid/flex children must be free to shrink: a fixed-height cover image
   transfers an intrinsic width through its aspect-ratio and would otherwise
   force 1fr tracks wider than the container. */
.grid-2 > *,
.grid-3 > *,
.grid-4 > *,
.rule-grid > *,
.spec-list > *,
.progress-strip > *,
.proj-grid > *,
.work-row > *,
.split > *,
.split--7-5 > *,
.capability > *,
.process-stage > * { min-width: 0; }

/* --- Layout --------------------------------------------------------------- */
.section { padding: clamp(56px, 7vw, 120px) var(--gutter); }
.section--tight { padding: clamp(40px, 5vw, 80px) var(--gutter); }
.section--rule { border-top: 1px solid var(--ec-line); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: clamp(28px, 4vw, 64px);
}

.split {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: clamp(28px, 4.5vw, 64px);
}
.split--7-5 { grid-template-columns: 7fr 5fr; }
@media (max-width: 900px) {
  .split,
  .split--7-5 { grid-template-columns: 1fr; }
}

/* --- 04 · Image treatment ------------------------------------------------- */
.ph { display: block; position: relative; overflow: clip; border-radius: var(--radius); }
.ph img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.85); }
.ph--hero img { filter: saturate(0.82) contrast(1.04); }
.ph--soft img { filter: saturate(0.88); }

.ph-cap {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 24px 16px;
  background: linear-gradient(180deg, rgba(16, 24, 29, 0), rgba(16, 24, 29, 0.85));
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12px);
  letter-spacing: 0.2em;
  color: var(--ec-paper-soft);
  text-transform: uppercase;
  pointer-events: none;
}

/* Page-hero figure: Fable fixes this at 520px on the 1280px artboard. */
.ph--figure { height: clamp(280px, 36vw, 520px); }
.ph--figure img { height: 100%; }

.zoom img { transition: transform 0.9s var(--ease-reveal); }
.zoom:hover img,
.zoom:focus-visible img { transform: scale(1.05); }

/* Honest fallback for photography Eastcrete has not supplied yet. */
.photo-gap {
  background: repeating-linear-gradient(
    45deg,
    var(--ec-panel),
    var(--ec-panel) 14px,
    #131b21 14px,
    #131b21 28px
  );
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px;
  min-height: 280px;
}
.photo-gap span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--ec-steel);
  line-height: 2;
  text-transform: uppercase;
}

/* --- Navigation ----------------------------------------------------------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--nav-h);
  padding: 0 var(--gutter);
  background: linear-gradient(180deg, rgba(16, 24, 29, 0.72), rgba(16, 24, 29, 0));
  transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav--solid,
.nav.is-scrolled {
  background: rgba(16, 24, 29, 0.88);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 rgba(241, 238, 231, 0.1);
}
body.has-fixed-nav { padding-top: 0; }
body.nav-offset { padding-top: var(--nav-h); }

/* Approved Eastcrete lockup.
   The approved artwork is dark-ink on a transparent ground, so on the dark
   surfaces it sits on a tight paper plate rather than being recoloured. Plate
   colour and radius are existing design tokens; no shadow, per Design System §06
   ("No shadows — depth comes from photography scrims and panel tone steps").
   The logo itself is never scaled non-uniformly: only height is set. */
.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  line-height: 0;
  padding: 8px 11px;
  background: var(--ec-paper);
  border-radius: var(--radius);
}
.brand-logo {
  display: block;
  width: auto;
  height: 40px;
  max-width: none;
}
.brand--footer { padding: 10px 14px; }
.brand--footer .brand-logo { height: 48px; }
@media (max-width: 1023px) {
  .brand { padding: 6px 9px; }
  .brand-logo { height: 28px; }
  .brand--footer { padding: 9px 12px; }
  .brand--footer .brand-logo { height: 40px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.4vw, 36px);
  font-size: clamp(13px, 1.1vw, 14.5px);
  font-weight: 500;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ec-paper-soft);
  display: inline-block;
  padding: 8px 0;
}
.nav-links a:hover,
.nav-links a[aria-current='page'] { color: var(--ec-green-text); }

.nav-actions { display: flex; align-items: center; gap: clamp(10px, 1.6vw, 20px); }
.nav-phone {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* Services mega panel */
.has-mega { position: relative; }
.mega-toggle {
  all: unset;
  cursor: pointer;
  color: var(--ec-paper-soft);
  font: inherit;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  min-height: 44px;
}
.mega-toggle:hover,
.mega-toggle[aria-expanded='true'] { color: var(--ec-green-text); }
.mega-toggle::after {
  content: '';
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  transition: transform 0.2s ease;
}
.mega-toggle[aria-expanded='true']::after { transform: rotate(-135deg) translateY(-2px); }

.mega {
  position: absolute;
  top: calc(100% + 14px);
  left: -24px;
  width: min(720px, 78vw);
  background: var(--ec-panel);
  border: 1px solid var(--ec-line-strong);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 220px;
  gap: 24px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  box-shadow: 0 24px 60px rgba(8, 12, 15, 0.55);
}
.has-mega.is-open .mega,
.mega:focus-within {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.mega-list a {
  display: block;
  padding: 12px 12px;
  border-radius: var(--radius);
  color: var(--ec-paper-soft);
  font-weight: 600;
  font-size: 15px;
  transition: background 0.2s ease, color 0.2s ease;
}
.mega-list a:hover,
.mega-list a:focus-visible { background: rgba(241, 238, 231, 0.06); color: var(--ec-green-text); }
.mega-list small {
  display: block;
  font-weight: 400;
  font-size: 12.5px;
  color: var(--ec-muted);
  margin-top: 3px;
  text-transform: none;
  letter-spacing: 0;
}
.mega-aside .ph { height: 150px; margin-bottom: 12px; }
.mega-aside p { font-size: 13px; color: var(--ec-steel); line-height: 1.5; }

/* Mobile nav bits */
.nav-call,
.nav-burger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(241, 238, 231, 0.3);
  border-radius: var(--radius);
  background: transparent;
  color: var(--ec-paper);
  cursor: pointer;
}
.nav-burger { flex-direction: column; gap: 5px; align-items: flex-end; padding: 0 10px; }
.nav-burger i { display: block; width: 22px; height: 2px; background: var(--ec-paper); font-style: normal; }
.nav-burger i:last-child { width: 14px; }

.menu {
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgba(12, 18, 22, 0.96);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
  overflow-y: auto;
}
.menu.is-open { opacity: 1; visibility: visible; transform: none; }
.menu-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--gutter);
  height: 64px;
  border-bottom: 1px solid var(--ec-line-strong);
  flex: none;
}
.menu-close {
  all: unset;
  cursor: pointer;
  width: 46px; height: 46px;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  color: var(--ec-paper);
}
.menu-body {
  display: flex;
  flex-direction: column;
  padding: 22px var(--gutter);
  gap: 2px;
  flex: 1;
}
.menu-body a {
  font-size: clamp(26px, 8vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  padding: 10px 0;
  color: var(--ec-paper-soft);
}
.menu-body a:first-child { color: var(--ec-paper); }
.menu-sub {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 6px 0 14px;
}
.menu-sub a {
  font-size: 13px;
  font-weight: 600;
  text-transform: none;
  padding: 10px 14px;
  border: 1px solid var(--ec-line-strong);
  border-radius: var(--radius);
  color: var(--ec-steel);
}
.menu-foot {
  padding: 20px var(--gutter) calc(20px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
  gap: 12px;
  border-top: 1px solid var(--ec-line-strong);
  flex: none;
}
.menu-foot .btn { width: 100%; }

/* Sticky mobile action bar */
.action-bar {
  position: fixed;
  inset: auto 0 0 0;
  z-index: 65;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(241, 238, 231, 0.15);
  border-top: 1px solid rgba(241, 238, 231, 0.15);
  padding-bottom: env(safe-area-inset-bottom);
}
.action-bar a {
  background: var(--ec-ink);
  color: var(--ec-paper);
  padding: 18px 12px;
  font-weight: 700;
  font-size: 15px;
  text-align: center;
  min-height: 54px;
}
.action-bar a + a { background: var(--ec-green); }

@media (max-width: 1023px) {
  .nav-links,
  .nav-phone { display: none; }
  .nav-call,
  .nav-burger { display: flex; }
  .nav-actions .btn { display: none; }
  .nav { height: 64px; background: rgba(16, 24, 29, 0.92); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(241, 238, 231, 0.1); }
  .action-bar { display: grid; }
  body { padding-bottom: 76px; }
  body.nav-offset { padding-top: 64px; }
  :root { --nav-h: 64px; }
}
@media (min-width: 1024px) {
  .menu { display: none; }
}

/* --- Hero ----------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: min(100vh, 900px);
  display: flex;
  align-items: flex-end;
  overflow: clip;
  padding-top: var(--nav-h);
}
.hero-bg {
  position: absolute;
  inset: -12% 0;
  will-change: transform;
}
.hero-bg img,
.hero-bg picture { width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 62%; filter: saturate(0.82) contrast(1.04); }
.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(16, 24, 29, 0.55) 0%,
    rgba(16, 24, 29, 0.28) 38%,
    rgba(16, 24, 29, 0.82) 78%,
    var(--ec-ink) 100%
  );
}
.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 0 var(--gutter) clamp(36px, 5vw, 64px);
}
.hero h1 { will-change: transform; }
.hero h1 > span { display: block; }
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.eyebrow i {
  width: 8px; height: 8px;
  background: var(--ec-green-bright);
  border-radius: 50%;
  display: inline-block;
  flex: none;
}
.eyebrow span {
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.05vw, 13px);
  letter-spacing: 0.26em;
  color: var(--ec-paper-soft);
  text-transform: uppercase;
}
.hero-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-top: clamp(22px, 3vw, 36px);
  flex-wrap: wrap;
}
.hero-copy { max-width: 520px; }
.hero-copy p {
  margin-bottom: 24px;
  font-size: clamp(17px, 1.55vw, 21px);
  line-height: 1.45;
  color: var(--ec-paper-soft);
  font-weight: 500;
}
.hero-copy p small {
  display: block;
  color: var(--ec-steel);
  font-size: clamp(15px, 1.25vw, 17px);
  font-weight: 400;
  margin-top: 4px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-meta {
  font-family: var(--font-mono);
  font-size: clamp(10px, 0.95vw, 12.5px);
  letter-spacing: 0.14em;
  color: var(--ec-steel);
  text-align: right;
  line-height: 2;
  text-transform: uppercase;
}
@media (max-width: 767px) {
  .hero { min-height: 86vh; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-meta { text-align: left; }
}

/* --- Trust marquee -------------------------------------------------------- */
.marquee {
  border-top: 1px solid var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
  overflow: clip;
  background: var(--ec-ink);
}
.marquee-track {
  display: flex;
  width: max-content;
  padding: 22px 0;
  animation: ec-marquee 38s linear infinite;
}
.marquee-set {
  display: flex;
  gap: clamp(36px, 5vw, 72px);
  padding-right: clamp(36px, 5vw, 72px);
  font-family: var(--font-mono);
  font-size: clamp(12px, 1.15vw, 14px);
  letter-spacing: 0.22em;
  color: var(--ec-steel);
  white-space: nowrap;
  text-transform: uppercase;
}
.marquee-set i { color: var(--ec-green); font-style: normal; }
@keyframes ec-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Mobile trust chips — replaces the marquee below 768px */
@media (max-width: 767px) { .marquee { display: none; } }
@media (min-width: 768px) { .trust-chips { display: none; } }

.trust-chips {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 18px var(--gutter);
  border-bottom: 1px solid var(--ec-line);
  scrollbar-width: none;
}
.trust-chips::-webkit-scrollbar { display: none; }
.trust-chips span {
  white-space: nowrap;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--ec-steel);
  border: 1px solid rgba(241, 238, 231, 0.18);
  padding: 10px 14px;
  border-radius: var(--radius);
  text-transform: uppercase;
}

/* --- Capability split ----------------------------------------------------- */
.capability {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--ec-line);
  border-bottom: 1px solid var(--ec-line);
}
.capability > a {
  position: relative;
  display: block;
  min-height: clamp(320px, 40vw, 560px);
  overflow: clip;
  background: var(--ec-panel);
}
.capability img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(0.8);
  transition: transform 1.1s var(--ease-reveal), opacity 0.6s ease;
}
.capability > a:hover img,
.capability > a:focus-visible img { transform: scale(1.04); opacity: 0.75; }
.capability .cap-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(16, 24, 29, 0.1), rgba(16, 24, 29, 0.88));
  pointer-events: none;
}
.capability .cap-body {
  position: absolute;
  left: clamp(20px, 3vw, 44px);
  right: clamp(20px, 3vw, 44px);
  bottom: clamp(24px, 3vw, 40px);
  pointer-events: none;
}
.capability .cap-body h2 {
  font-size: clamp(34px, 4.5vw, 58px);
  line-height: 1;
  letter-spacing: -0.01em;
}
.capability .cap-body p {
  margin-top: 14px;
  color: var(--ec-steel);
  font-size: clamp(15px, 1.3vw, 16.5px);
  line-height: 1.5;
  max-width: 440px;
}
@media (max-width: 767px) { .capability { grid-template-columns: 1fr; } }

/* --- Recent work editorial rows ------------------------------------------ */
.work-rows { display: flex; flex-direction: column; gap: clamp(40px, 6vw, 96px); }
.work-row {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: clamp(20px, 3.5vw, 48px);
  align-items: end;
}
.work-row--flip { grid-template-columns: 5fr 7fr; }
.work-row--flip .work-copy { text-align: right; }
.work-row--flip .work-copy p { margin-left: auto; }
.work-frame { position: relative; overflow: clip; border-radius: var(--radius); }
.work-frame > div { will-change: transform; }
.work-frame img {
  width: 100%;
  height: clamp(260px, 42vw, 620px);
  object-fit: cover;
  filter: saturate(0.88);
}
.work-cap {
  position: absolute;
  inset: auto 0 0 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  background: linear-gradient(180deg, rgba(16, 24, 29, 0), rgba(16, 24, 29, 0.85));
  padding: 44px 24px 18px;
  pointer-events: none;
}
.work-cap b { font-weight: 700; font-size: clamp(15px, 1.5vw, 19px); }
.work-cap span {
  font-family: var(--font-mono);
  font-size: clamp(10px, 1vw, 12.5px);
  letter-spacing: 0.2em;
  color: var(--ec-steel);
}
.work-copy { padding-bottom: 8px; }
.work-copy .label { margin-bottom: 12px; letter-spacing: 0.26em; }
.work-copy p { color: var(--ec-steel); line-height: 1.6; max-width: 380px; }
@media (max-width: 900px) {
  .work-row,
  .work-row--flip { grid-template-columns: 1fr; gap: 16px; }
  .work-row--flip .work-copy { text-align: left; }
  .work-row--flip .work-copy p { margin-left: 0; }
  .work-row--flip .work-copy { order: 2; }
  .work-frame > div { transform: none !important; }
}

/* --- Services index rows -------------------------------------------------- */
.svc-index { display: flex; flex-direction: column; border-top: 1px solid var(--ec-line-strong); }
.svc-row {
  display: grid;
  grid-template-columns: 90px 1fr 340px 120px;
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 30px) 8px;
  border-bottom: 1px solid var(--ec-line-strong);
  transition: background 0.3s ease, padding-left 0.3s ease;
}
.svc-row:hover { background: var(--ec-panel); padding-left: 20px; color: var(--ec-paper); }
.svc-row .n { font-family: var(--font-mono); font-size: 13px; color: var(--ec-green-text); }
.svc-row .t {
  font-size: clamp(20px, 2.6vw, 34px);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
}
.svc-row .d { color: var(--ec-steel); font-size: clamp(13.5px, 1.15vw, 14.5px); line-height: 1.5; }
.svc-row .v {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: 0.14em;
  color: var(--ec-paper-soft);
  text-align: right;
  text-transform: uppercase;
}
@media (max-width: 1200px) {
  .svc-row { grid-template-columns: 60px 1fr 60px; }
  .svc-row .d { display: none; }
}
@media (max-width: 600px) {
  .svc-row { grid-template-columns: 1fr auto; gap: 12px; min-height: 60px; }
  .svc-row .n { display: none; }
  .svc-row .v { font-size: 0; }
  .svc-row .v::after { content: '→'; font-size: 18px; color: var(--ec-green-text); }
}

/* --- Sticky process ------------------------------------------------------- */
.process { position: relative; height: 500vh; }
.process-stage {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: clip;
  display: grid;
  grid-template-columns: 5fr 7fr;
  background: var(--ec-panel);
}
.process-panel {
  padding: clamp(80px, 8vw, 110px) var(--gutter) 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 1px solid var(--ec-line);
  overflow: hidden;
}
.process-steps { display: flex; flex-direction: column; }
.process-step {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: clamp(8px, 1.2vw, 16px) 0;
  border-top: 1px solid var(--ec-line);
  transition: opacity 0.4s ease;
}
.process-steps .process-step:last-child { border-bottom: 1px solid var(--ec-line); }
.process-step > span { font-family: var(--font-mono); font-size: 13px; color: var(--ec-green-text); }
.process-step b { display: block; font-size: clamp(18px, 1.9vw, 24px); font-weight: 800; text-transform: uppercase; }
.process-step i { display: block; font-style: normal; color: var(--ec-steel); font-size: 14.5px; margin-top: 4px; }
.process-progress { display: flex; align-items: center; gap: 16px; margin-top: 24px; }
.process-progress > div { flex: 1; height: 2px; background: var(--ec-line-strong); position: relative; }
.process-progress > div > span {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: var(--ec-green-bright);
  transition: width 0.2s linear;
}
.process-progress > b { font-family: var(--font-mono); font-size: 13px; color: var(--ec-steel); font-weight: 400; }
.process-media { position: relative; }
.process-media picture,
.process-media img { position: absolute; inset: 0; width: 100%; height: 100%; }
.process-media img { object-fit: cover; filter: saturate(0.85); }
.process-media picture { opacity: 0; transition: opacity 0.6s ease; }
.process-media picture:first-of-type { opacity: 1; }
.process-media .media-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(21, 31, 38, 0.55), rgba(21, 31, 38, 0) 40%);
  pointer-events: none;
}
.process-badge {
  position: absolute;
  right: 20px;
  top: calc(var(--nav-h) + 16px);
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: rgba(241, 238, 231, 0.75);
  background: rgba(16, 24, 29, 0.55);
  padding: 8px 14px;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  text-transform: uppercase;
}

/* Static process list — mobile and reduced motion */
.process-list { display: flex; flex-direction: column; border-top: 1px solid var(--ec-line-strong); }
.process-list > div {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--ec-line-strong);
}
.process-list span { font-family: var(--font-mono); font-size: 12px; color: var(--ec-green-text); padding-top: 4px; }
.process-list b { display: block; font-size: clamp(17px, 1.8vw, 20px); font-weight: 800; text-transform: uppercase; }
.process-list i { display: block; font-style: normal; color: var(--ec-steel); font-size: 14.5px; margin-top: 3px; line-height: 1.55; }

@media (max-width: 900px) {
  .process { display: none; }
}
@media (min-width: 901px) {
  .process-static { display: none; }
}

/* --- Card grids ----------------------------------------------------------- */
.grid-2,
.grid-3,
.grid-4 { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1023px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }
}

/* Hairline card grid — 2px gaps over a line-coloured background */
.rule-grid {
  display: grid;
  gap: 2px;
  background: var(--ec-line);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.rule-grid > div { background: var(--ec-ink); padding: clamp(26px, 3vw, 40px) clamp(22px, 2.6vw, 34px); }
.rule-grid--panel > div { background: var(--ec-panel); }
.rule-grid .n { font-size: clamp(32px, 3.4vw, 44px); font-weight: 900; color: var(--ec-green); margin-bottom: 16px; display: block; line-height: 1; }
.rule-grid h3 { font-size: clamp(19px, 1.9vw, 24px); margin-bottom: 12px; }
.rule-grid p { color: var(--ec-steel); font-size: clamp(14.5px, 1.25vw, 15.5px); line-height: 1.6; }

.why-card { background: var(--ec-ink); padding: clamp(26px, 3vw, 36px) clamp(22px, 2.4vw, 32px); }
.why-card .label { font-size: 12px; letter-spacing: 0.24em; margin-bottom: 14px; }
.why-card p { font-size: clamp(18px, 1.75vw, 22px); font-weight: 700; line-height: 1.25; color: var(--ec-paper); }

.finish-card {
  display: block;
  position: relative;
  overflow: clip;
  border-radius: var(--radius);
  background: var(--ec-panel);
}
.finish-card img { width: 100%; height: clamp(220px, 26vw, 380px); object-fit: cover; filter: saturate(0.85); }
.finish-card .fc-body { padding: 20px 22px 24px; }
.finish-card h3 { font-size: clamp(18px, 1.7vw, 21px); }
.finish-card p { margin-top: 8px; color: var(--ec-steel); font-size: 14.5px; line-height: 1.55; }

.spec-list { display: grid; gap: 2px; background: var(--ec-line); grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.spec-list > div { background: var(--ec-panel); padding: 28px 26px; }
.spec-list h3 { font-size: 18px; margin-bottom: 10px; }
.spec-list p { color: var(--ec-steel); font-size: 14.5px; line-height: 1.6; }

.cap-table { width: 100%; border-collapse: collapse; text-align: left; }
.cap-table th,
.cap-table td { padding: 20px 16px; border-top: 1px solid var(--ec-line-strong); vertical-align: top; }
.cap-table th {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.22em;
  color: var(--ec-steel);
  text-transform: uppercase;
  font-weight: 500;
  border-top: none;
  border-bottom: 1px solid var(--ec-line-strong);
}
.cap-table td:first-child { font-weight: 700; font-size: 16px; width: 26%; }
.cap-table td:nth-child(2) { color: var(--ec-steel); font-size: 15px; line-height: 1.6; }
.cap-table td:last-child { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.12em; color: var(--ec-green-text); white-space: nowrap; text-transform: uppercase; }
.table-scroll { overflow-x: auto; }
@media (max-width: 700px) {
  .cap-table td:last-child { display: none; }
  .cap-table th:last-child { display: none; }
  .cap-table td:first-child { width: 40%; }
}

/* Progress strip (pool surrounds) */
.progress-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.progress-strip .stage {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--ec-green-text);
  text-transform: uppercase;
  display: block;
  margin: 14px 0 6px;
}
.progress-strip img { width: 100%; height: clamp(200px, 22vw, 300px); object-fit: cover; filter: saturate(0.85); border-radius: var(--radius); }
.progress-strip p { color: var(--ec-steel); font-size: 14.5px; line-height: 1.55; }
@media (max-width: 767px) { .progress-strip { grid-template-columns: 1fr; } }

/* Horizontal snap carousel — mobile finishes */
@media (max-width: 767px) {
  .snap {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 var(--gutter) 8px;
    margin: 0 calc(var(--gutter) * -1);
    scrollbar-width: none;
  }
  .snap::-webkit-scrollbar { display: none; }
  .snap > * { flex: 0 0 78%; scroll-snap-align: start; }
  .snap.grid-3 { grid-template-columns: none; }
}

/* --- Panels, callouts ----------------------------------------------------- */
.panel {
  border: 1px solid var(--ec-line-strong);
  border-radius: var(--radius);
  background: var(--ec-panel);
  padding: clamp(28px, 4vw, 48px) clamp(24px, 3.5vw, 44px);
}
.panel--wide { padding: clamp(36px, 5vw, 72px) clamp(28px, 4.5vw, 64px); }
.note {
  border: 1px dashed var(--ec-line-btn);
  border-radius: var(--radius);
  padding: 22px 24px;
  color: var(--ec-steel);
  font-size: 14.5px;
  line-height: 1.7;
}
.note b {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.2em;
  color: var(--ec-paper-soft);
  text-transform: uppercase;
  margin-bottom: 8px;
  font-weight: 500;
}

.fact-list { display: flex; flex-direction: column; font-size: 15px; }
.fact-list > div {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
  border-top: 1px solid var(--ec-line);
}
.fact-list > div:last-child { border-bottom: 1px solid var(--ec-line); }
.fact-list dt,
.fact-list .k { color: var(--ec-steel); }
.fact-list dd,
.fact-list .v { margin: 0; font-weight: 600; text-align: right; }

.nap-list {
  display: flex;
  flex-direction: column;
  font-family: var(--font-mono);
  font-size: clamp(12.5px, 1.15vw, 14px);
  letter-spacing: 0.06em;
  color: var(--ec-paper-soft);
  text-transform: uppercase;
}
.nap-list > div {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
  border-top: 1px solid var(--ec-line);
}
.nap-list > div:last-child { border-bottom: 1px solid var(--ec-line); }
.nap-list span:first-child { color: var(--ec-steel); }
.nap-list a { color: var(--ec-green-text); }

/* Map slot */
.map-slot {
  position: relative;
  min-height: clamp(240px, 34vw, 560px);
  background: repeating-linear-gradient(45deg, var(--ec-panel), var(--ec-panel) 14px, #131b21 14px, #131b21 28px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: var(--radius);
}
.map-slot iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; border-radius: var(--radius); filter: invert(0.92) hue-rotate(180deg) saturate(0.6) contrast(0.9); }
.map-pin {
  width: 14px; height: 14px;
  background: var(--ec-green-bright);
  border-radius: 50%;
  margin: 0 auto 14px;
  box-shadow: 0 0 0 10px rgba(55, 162, 100, 0.18);
}
.map-slot .mono { line-height: 2; display: block; }

/* --- Breadcrumbs ---------------------------------------------------------- */
.crumbs {
  font-family: var(--font-mono);
  font-size: clamp(10.5px, 1.05vw, 12.5px);
  letter-spacing: 0.14em;
  color: var(--ec-steel);
  margin-bottom: clamp(18px, 2.4vw, 28px);
  text-transform: uppercase;
}
.crumbs ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.crumbs li::after { content: '/'; color: var(--ec-green); margin-left: 8px; }
.crumbs li:last-child::after { content: none; }
.crumbs a { color: var(--ec-steel); }
.crumbs [aria-current] { color: var(--ec-paper-soft); }

/* --- FAQ accordion -------------------------------------------------------- */
.faq { display: flex; flex-direction: column; }
.faq details { border-top: 1px solid var(--ec-line-strong); }
.faq details:last-of-type { border-bottom: 1px solid var(--ec-line-strong); }
.faq summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: clamp(18px, 2.2vw, 24px) 8px;
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  font-size: clamp(16px, 1.5vw, 19px);
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.25s ease;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--ec-green-text); }
.faq summary:focus-visible { outline: 2px solid var(--ec-green-bright); outline-offset: 2px; }
.faq summary i {
  font-family: var(--font-mono);
  font-style: normal;
  font-size: 20px;
  color: var(--ec-green-text);
  flex: none;
}
.faq details[open] summary i::before { content: '−'; }
.faq summary i::before { content: '+'; }
.faq-a { display: grid; grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }
.faq-a p {
  padding: 0 8px 24px;
  color: var(--ec-steel);
  font-size: clamp(14.5px, 1.25vw, 15.5px);
  line-height: 1.65;
  max-width: 68ch;
}
.js .faq-a { grid-template-rows: 0fr; transition: grid-template-rows 0.3s var(--ease-reveal); }
.js .faq details[open] .faq-a { grid-template-rows: 1fr; }

/* --- Projects ------------------------------------------------------------- */
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.proj-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1023px) { .proj-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .proj-grid { grid-template-columns: 1fr; } }
.proj-card {
  all: unset;
  box-sizing: border-box;
  /* all: unset resets min-width to auto — restore the shrink allowance so the
     fixed-height cover image cannot widen its 1fr track. */
  min-width: 0;
  cursor: zoom-in;
  display: block;
  position: relative;
  overflow: clip;
  border-radius: var(--radius);
  background: var(--ec-panel);
}
.proj-card:focus-visible { outline: 2px solid var(--ec-green-bright); outline-offset: 2px; }
.proj-card img { width: 100%; height: clamp(240px, 26vw, 420px); object-fit: cover; filter: saturate(0.85); transition: transform 0.9s var(--ease-reveal); }
.proj-card:hover img { transform: scale(1.05); }
.proj-card .pc-body {
  padding: 18px 20px 22px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
}
.proj-card .pc-body > b { font-size: clamp(15px, 1.4vw, 17px); font-weight: 700; line-height: 1.3; }
.proj-card .pc-body > span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ec-green-text);
  white-space: nowrap;
  text-transform: uppercase;
}
.proj-card[hidden] { display: none; }

.lightbox:not([open]) { display: none; }
.lightbox[open] {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(12, 18, 22, 0.94);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 64px);
  border: 0;
  max-width: 100%;
  max-height: 100%;
  width: 100%;
  height: 100%;
}
.lightbox::backdrop { background: rgba(12, 18, 22, 0.94); }
.lightbox-inner { max-width: 1200px; width: 100%; }
.lightbox img { width: 100%; max-height: 72vh; object-fit: contain; }
.lightbox-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 18px;
  flex-wrap: wrap;
}
.lightbox-foot b { font-size: clamp(17px, 1.8vw, 22px); font-weight: 800; display: block; }
.lightbox-foot .mono { display: block; margin-top: 6px; letter-spacing: 0.2em; }
.lb-close,
.lb-nav {
  position: absolute;
  background: rgba(16, 24, 29, 0.7);
  border: 1px solid var(--ec-line-strong);
  color: var(--ec-paper);
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lb-close { top: 16px; right: 16px; }
.lb-nav--prev { left: 12px; top: 50%; transform: translateY(-50%); }
.lb-nav--next { right: 12px; top: 50%; transform: translateY(-50%); }
.lb-close:hover,
.lb-nav:hover { border-color: var(--ec-green-text); color: var(--ec-green-text); }
@media (max-width: 620px) { .lb-nav { display: none; } }

/* --- Forms ---------------------------------------------------------------- */
.form { display: flex; flex-direction: column; gap: 24px; max-width: 640px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
@media (max-width: 620px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 10px; }
.field > span,
.field-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--ec-steel);
  text-transform: uppercase;
}
.field input,
.field textarea,
.field select {
  background: var(--ec-ink);
  border: 1px solid rgba(241, 238, 231, 0.18);
  border-radius: var(--radius);
  color: var(--ec-paper);
  font-family: var(--font-display);
  font-size: 16px;
  padding: 16px 18px;
  outline: none;
  width: 100%;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.field textarea { resize: vertical; min-height: 120px; }
.field input::placeholder,
.field textarea::placeholder { color: var(--ec-muted); }
.field input:focus,
.field textarea:focus,
.field select:focus {
  border-color: var(--ec-green-bright);
  box-shadow: 0 0 0 2px rgba(55, 162, 100, 0.35);
}
.field .err {
  color: #e0836f;
  font-size: 13.5px;
  font-family: var(--font-display);
  letter-spacing: 0;
  text-transform: none;
  min-height: 0;
}
.field.is-invalid input,
.field.is-invalid textarea { border-color: var(--ec-error); }
.jobtypes { display: flex; flex-wrap: wrap; gap: 10px; }
.jobtype {
  all: unset;
  box-sizing: border-box;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: var(--radius);
  border: 1px solid rgba(241, 238, 231, 0.2);
  color: var(--ec-steel);
  transition: all 0.25s ease;
}
.jobtype:hover { border-color: var(--ec-green-text); }
.jobtype:focus-visible { outline: 2px solid var(--ec-green-bright); outline-offset: 2px; }
.jobtype[aria-pressed='true'] {
  background: var(--ec-green);
  border-color: var(--ec-green);
  color: var(--ec-paper);
}
.turnstile-slot {
  display: flex;
  align-items: center;
  gap: 20px;
  border: 1px dashed rgba(241, 238, 231, 0.2);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ec-steel);
  text-transform: uppercase;
}
.turnstile-slot i { width: 24px; height: 24px; border: 2px solid var(--ec-green-bright); border-radius: var(--radius); flex: none; }
.form-submit { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.form-submit .btn { padding: 19px 44px; }
.form-note { color: var(--ec-steel); font-size: 14.5px; }
.form-success {
  border: 1px solid rgba(55, 162, 100, 0.45);
  border-radius: var(--radius);
  background: rgba(30, 107, 63, 0.12);
  padding: clamp(32px, 4.5vw, 56px) clamp(24px, 3.5vw, 48px);
}
.form-success b {
  display: block;
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 12px;
  color: var(--ec-green-text);
}
.form-success p { color: var(--ec-paper-soft); font-size: clamp(15px, 1.4vw, 16.5px); line-height: 1.6; }
[hidden] { display: none !important; }

/* --- Reviews -------------------------------------------------------------- */
.rating-num { font-size: clamp(60px, 8vw, 96px); font-weight: 900; line-height: 1; color: var(--ec-steel); }
.rating-num small { font-size: clamp(22px, 2.6vw, 32px); color: var(--ec-muted); }
.review-card { border: 1px solid var(--ec-line-strong); border-radius: var(--radius); background: var(--ec-panel); padding: clamp(26px, 3vw, 36px) clamp(22px, 2.6vw, 32px); }
.stars { color: var(--ec-green-bright); font-size: 18px; letter-spacing: 4px; margin-bottom: 20px; }
.skeleton-line { height: 12px; background: rgba(241, 238, 231, 0.1); border-radius: var(--radius); margin-bottom: 10px; }
.review-foot {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  border-top: 1px solid var(--ec-line);
  padding-top: 18px;
  margin-top: 28px;
}
.review-foot b { font-weight: 700; font-size: 15px; color: var(--ec-paper-soft); }
.review-foot span { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: 0.16em; color: var(--ec-steel); text-transform: uppercase; }

/* --- CTA band + footer ---------------------------------------------------- */
.cta-band { border-top: 1px solid var(--ec-line); background: var(--ec-ink-deep); }
.cta-band .cta-inner {
  padding: clamp(56px, 8vw, 140px) var(--gutter) clamp(48px, 6vw, 120px);
}
.cta-band h2 { font-size: var(--t-h2-cta); line-height: 0.9; letter-spacing: -0.015em; margin-bottom: 32px; }
.cta-band .cta-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.cta-band .cta-actions .form-note { margin-left: 8px; }

.cta-split {
  padding: clamp(56px, 7vw, 100px) var(--gutter);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-split h2 { font-size: var(--t-h2-cta-sm); line-height: 0.92; }
.cta-split .cta-actions { display: flex; flex-direction: column; gap: 14px; min-width: min(320px, 100%); }
@media (max-width: 767px) {
  .cta-band .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-band .cta-actions .btn { width: 100%; }
  .cta-band .cta-actions .form-note { margin-left: 0; text-align: center; }
  .cta-split .cta-actions { width: 100%; }
}

.site-footer {
  border-top: 1px solid var(--ec-line);
  background: var(--ec-ink-deep);
  padding: clamp(40px, 5vw, 56px) var(--gutter);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: clamp(24px, 3.5vw, 48px);
}
.site-footer .brand { margin-bottom: 20px; }
.site-footer p,
.site-footer address {
  margin: 0;
  color: var(--ec-steel);
  font-size: 14px;
  line-height: 1.8;
  font-style: normal;
}
.site-footer a { color: var(--ec-paper-soft); }
.footer-col { display: flex; flex-direction: column; gap: 12px; font-size: 14px; }
.footer-col > span:first-child {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.24em;
  color: var(--ec-steel);
  margin-bottom: 6px;
  text-transform: uppercase;
}
.footer-col a { min-height: 24px; }
.footer-legal { color: var(--ec-muted); font-size: 12.5px; margin-top: auto; line-height: 1.7; }
.footer-bar {
  border-top: 1px solid var(--ec-line);
  background: var(--ec-ink-deep);
  padding: 24px var(--gutter);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: var(--ec-steel);
  font-size: 13.5px;
}
.footer-bar .mono { letter-spacing: 0.14em; }
@media (max-width: 900px) { .site-footer { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer { grid-template-columns: 1fr; } }

/* --- Motion --------------------------------------------------------------- */
.js [data-rev] { opacity: 0; transform: translateY(26px); }
.js [data-rev].is-in {
  opacity: 1;
  transform: none;
  transition: opacity 0.85s var(--ease-reveal), transform 0.85s var(--ease-reveal);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .marquee-track { animation: none; }
  .js [data-rev] { opacity: 1 !important; transform: none !important; }
  .hero-bg { transform: none !important; }
  .hero h1 { transform: none !important; opacity: 1 !important; }
  .work-frame > div { transform: none !important; }
  .process { display: none !important; }
  .process-static { display: block !important; }
}
