/* =============================================================================
   EAZINFRA — style.css
   Palette and geometry derived from the company brochure:
   green → teal → blue gradient, deep navy type, diagonal cut sections,
   hi-vis amber borrowed from the site-safety product line.
   ========================================================================== */

/* ------------------------------------------------------------------ tokens */
:root {
  --green: #86C65E;
  --teal:  #4E9E91;
  --blue:  #2669B3;
  --navy:  #003C84;
  --ink:   #062A4A;
  --ink-2: #0B3A61;
  --hivis: #FFC024;

  --paper: #FFFFFF;
  --mist:  #F2F6FA;
  --mist-2:#E7EEF5;
  --line:  #D9E3ED;
  --body:  #46596E;
  --muted: #7086A0;

  --grad: linear-gradient(112deg, var(--green) 0%, var(--teal) 46%, var(--blue) 100%);
  --grad-soft: linear-gradient(112deg, rgba(134,198,94,.14), rgba(38,105,179,.14));

  --font-display: 'Archivo', 'Helvetica Neue', Arial, sans-serif;
  --font-body: 'DM Sans', 'Segoe UI', Arial, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, 'Courier New', monospace;

  --shell: 1220px;
  --gutter: clamp(18px, 4vw, 40px);
  --radius: 4px;

  --shadow-sm: 0 2px 10px rgba(6, 42, 74, .07);
  --shadow-md: 0 18px 44px -22px rgba(6, 42, 74, .45);
  --shadow-lg: 0 34px 70px -34px rgba(6, 42, 74, .55);

  --ease: cubic-bezier(.2, .7, .3, 1);
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--body);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--navy); }
ul { margin: 0; padding: 0; list-style: none; }
address { font-style: normal; }
button { font: inherit; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.06;
  letter-spacing: -.022em;
  margin: 0 0 .5em;
  font-weight: 800;
}
p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--hivis);
  outline-offset: 3px;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: #fff; padding: 12px 20px;
}
.skip-link:focus { left: 12px; top: 12px; color: #fff; }

/* ----------------------------------------------------------------- layout */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding: clamp(64px, 8vw, 116px) 0; position: relative; }
.section--mist { background: var(--mist); }
.section--tight { padding-block: clamp(48px, 5vw, 76px); }

.grid-2 {
  display: grid;
  gap: clamp(32px, 5vw, 72px);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) { .grid-2 { grid-template-columns: 1fr 1fr; align-items: center; } }

/* -------------------------------------------------------- shared type bits */
.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--teal);
  margin: 0 0 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 30px; height: 3px;
  background: var(--grad);
  flex: none;
}
.eyebrow--light { color: #9FDBB8; }
.eyebrow--center { justify-content: center; }

.section-title {
  font-size: clamp(30px, 4.6vw, 54px);
  text-transform: uppercase;
  max-width: 20ch;
}
.section-title--wide { max-width: 26ch; }
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  color: var(--body);
  max-width: 62ch;
}

/* The measure rule — a steel-ruler tick strip used as a divider.
   This is the signature detail of the site. */
.rule {
  height: 14px;
  background-image:
    repeating-linear-gradient(90deg, var(--line) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, var(--line), var(--line));
  background-size: 100% 8px, 100% 1px;
  background-position: 0 0, 0 100%;
  background-repeat: repeat-x;
  margin-bottom: 34px;
  opacity: .9;
}
.rule--light {
  background-image:
    repeating-linear-gradient(90deg, rgba(255,255,255,.28) 0 1px, transparent 1px 12px),
    linear-gradient(90deg, rgba(255,255,255,.28), rgba(255,255,255,.28));
}

.blueprint {
  background-image:
    linear-gradient(rgba(38,105,179,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38,105,179,.055) 1px, transparent 1px);
  background-size: 48px 48px;
}
.blueprint--dark {
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 56px 56px;
}

/* --------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  border: 0;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .25s var(--ease), color .25s var(--ease);
  position: relative;
  overflow: hidden;
}
.btn--solid {
  background: var(--grad);
  background-size: 180% 100%;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.btn--solid:hover { color: #fff; transform: translateY(-2px); background-position: 100% 0; }
.btn--ghost {
  background: transparent;
  color: var(--ink);
  box-shadow: inset 0 0 0 1.5px var(--line);
}
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--navy); transform: translateY(-2px); }
.btn--ghost-light { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.35); }
.btn--ghost-light:hover { color: var(--ink); background: #fff; }

.textlink {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.textlink::after {
  content: "";
  width: 22px; height: 1.5px;
  background: currentColor;
  transition: width .25s var(--ease);
}
.textlink:hover::after { width: 36px; }

/* --------------------------------------------------------------- topbar */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,.72);
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  position: relative;
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: var(--grad);
}
.topbar__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; min-height: 40px;
}
.topbar__tag { margin: 0; text-transform: uppercase; }
.topbar__links { display: flex; gap: 12px; align-items: center; }
.topbar__links a { color: rgba(255,255,255,.86); }
.topbar__links a:hover { color: var(--hivis); }
@media (max-width: 720px) {
  .topbar__tag { display: none; }
  .topbar__inner { justify-content: center; }
}

/* -------------------------------------------------------------- masthead */
.masthead {
  position: sticky; top: 0; z-index: 60;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  transition: box-shadow .3s var(--ease);
}
.masthead.is-stuck { box-shadow: 0 10px 30px -18px rgba(6,42,74,.5); }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 78px;
}
.masthead__rule { height: 1px; background: var(--line); }

.brand img { width: clamp(168px, 20vw, 218px); height: auto; }

.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 38px); }
.nav__list { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 32px); }
.nav__link {
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink);
  padding: 8px 0;
  position: relative;
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--grad);
  transition: width .3s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { width: 100%; }
.nav__link.is-active { color: var(--navy); }
.nav__cta { padding: 12px 22px; }

.burger {
  display: none;
  width: 46px; height: 40px;
  background: none; border: 0; cursor: pointer;
  flex-direction: column; justify-content: center; gap: 6px;
  padding: 0 8px;
}
.burger span {
  display: block; height: 2px; width: 100%;
  background: var(--ink);
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 980px) {
  /* backdrop-filter makes the masthead a containing block for fixed
     descendants, which mis-positions the off-canvas nav — drop it here. */
  .masthead { backdrop-filter: none; background: #fff; }
  .burger { display: flex; }
  /* Off-canvas panel. It is pinned to the right edge and hidden with
     visibility + opacity rather than being pushed off-screen, because a
     translated fixed element still widens the page on mobile browsers. */
  .nav {
    position: fixed;
    top: 0; right: 0; bottom: 0;
    width: min(340px, 84vw);
    background: var(--ink);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 6px;
    padding: 96px 32px 32px;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transform: translateX(22px);
    transition: opacity .3s var(--ease), transform .35s var(--ease), visibility .35s var(--ease);
    z-index: 70;
  }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav__list { flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; }
  .nav__list li { width: 100%; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav__link { color: #fff; font-size: 14px; display: block; padding: 16px 0; }
  .nav__link.is-active { color: var(--hivis); }
  .nav__cta { margin-top: 26px; }
  .burger { position: relative; z-index: 80; }
  .burger[aria-expanded="true"] span { background: #fff; }
  body.nav-open { overflow: hidden; }
  .nav-scrim {
    position: fixed; inset: 0; background: rgba(6,42,74,.55);
    opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); z-index: 65;
  }
  .nav-scrim.is-visible { opacity: 1; pointer-events: auto; }
}

/* ------------------------------------------------------------------ hero */
.hero {
  position: relative;
  background: var(--paper);
  overflow: hidden;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: stretch;
}
.hero__copy {
  padding: clamp(48px, 7vw, 96px) var(--gutter) clamp(40px, 6vw, 80px);
  max-width: calc(var(--shell) / 2 + var(--gutter));
  margin-left: auto;
  width: 100%;
  position: relative;
  z-index: 2;
}
.hero__title {
  font-size: clamp(40px, 6.6vw, 78px);
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero__title em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero__intro { font-size: clamp(16.5px, 1.5vw, 19px); max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__media {
  position: relative;
  min-height: 320px;
  background: var(--ink);
}
.hero__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 40%;
}
.hero__media::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(200deg, rgba(134,198,94,.42) 0%, rgba(38,105,179,.30) 55%, rgba(6,42,74,.55) 100%);
  mix-blend-mode: multiply;
}
/* Diagonal cut lifted from the brochure cover */
.hero__cut {
  position: absolute; left: -2px; top: 0; bottom: 0; width: 46%;
  background: var(--paper);
  clip-path: polygon(0 0, 100% 0, 0 100%);
  z-index: 1;
  display: none;
}

@media (min-width: 900px) {
  .hero__inner { grid-template-columns: 1.02fr .98fr; }
  .hero__copy { padding-block: clamp(70px, 8vw, 128px); }
  .hero__media { min-height: 640px; }
  .hero__cut { display: block; }
}

.hero__marks {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 34px;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase;
}
.hero__marks span {
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 100px;
  color: var(--muted);
  background: #fff;
}

.hero__badge {
  position: absolute;
  right: clamp(16px, 3vw, 44px);
  bottom: clamp(16px, 3vw, 44px);
  z-index: 3;
  background: rgba(6,42,74,.86);
  backdrop-filter: blur(6px);
  color: #fff;
  padding: 20px 24px;
  border-left: 3px solid var(--hivis);
  max-width: 270px;
}
.hero__badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: -.02em;
}
.hero__badge span {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.7);
  display: block; margin-top: 8px;
}
@media (max-width: 600px) { .hero__badge { display: none; } }

/* --------------------------------------------------------- client marquee */
.clients-strip {
  background: var(--ink);
  color: #fff;
  padding: 22px 0;
  overflow: hidden;
  position: relative;
}
.clients-strip__label {
  font-family: var(--font-mono);
  font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  color: rgba(255,255,255,.5);
  margin: 0 0 14px;
  text-align: center;
}
.marquee { display: flex; overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee__track {
  display: flex; align-items: center; gap: clamp(40px, 7vw, 90px);
  padding-right: clamp(40px, 7vw, 90px);
  animation: marquee 26s linear infinite;
  flex: none;
}
.marquee img {
  height: clamp(46px, 5vw, 58px);
  width: auto;
  max-width: 190px;
  object-fit: contain;
  background: #fff;
  padding: 10px 18px;
  border-radius: 3px;
  opacity: .92;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.marquee img:hover { opacity: 1; transform: translateY(-3px); }
@keyframes marquee { to { transform: translateX(-100%); } }

/* ------------------------------------------------------------ split media */
.media-frame { position: relative; }
.media-frame img { width: 100%; object-fit: cover; position: relative; z-index: 1; }
.media-frame::before {
  content: "";
  position: absolute; inset: auto auto -18px -18px;
  width: 130px; height: 130px;
  background: var(--grad);
  z-index: 0;
}
.media-frame--tall img { aspect-ratio: 4 / 5; }
.media-frame__tag {
  position: absolute; left: 0; bottom: 0;
  background: rgba(6,42,74,.88);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  padding: 12px 18px;
}

/* ------------------------------------------------------------- why cards */
.why-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  margin-top: 40px;
}
.why-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease);
}
.why-card::before {
  content: "";
  position: absolute; left: 0; top: 0; height: 3px; width: 100%;
  background: var(--grad);
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s var(--ease);
}
.why-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: transparent; }
.why-card:hover::before { transform: scaleX(1); }
.why-card__icon {
  width: 40px; height: 40px; margin-bottom: 18px;
  color: var(--teal);
}
.why-card__icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.6; }
.why-card h3 { font-size: 19px; letter-spacing: -.01em; margin-bottom: 10px; }
.why-card p { font-size: 15.5px; line-height: 1.65; margin: 0; }

/* --------------------------------------------------------------- ledger */
.ledger {
  background: var(--ink);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.ledger::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(900px 400px at 12% -10%, rgba(134,198,94,.20), transparent 60%),
    radial-gradient(800px 420px at 88% 110%, rgba(38,105,179,.30), transparent 60%);
}
.ledger .shell { position: relative; z-index: 1; }
.ledger h2, .ledger h3 { color: #fff; }
.ledger__head {
  display: grid; gap: 26px; align-items: end;
  grid-template-columns: 1fr;
  margin-bottom: 46px;
}
@media (min-width: 900px) { .ledger__head { grid-template-columns: 1.4fr 1fr; } }
.ledger__note { color: rgba(255,255,255,.66); font-size: 15.5px; margin: 0; }
.ledger__revenue {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 60px);
  line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.ledger__revenue-label {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.55); display: block; margin-top: 10px;
}

.stat-grid {
  display: grid; gap: 1px;
  grid-template-columns: repeat(2, 1fr);
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
@media (min-width: 760px) { .stat-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1060px) { .stat-grid { grid-template-columns: repeat(6, 1fr); } }
.stat {
  background: var(--ink);
  padding: 28px 20px 26px;
  position: relative;
}
.stat::after {
  content: "";
  position: absolute; left: 20px; right: 20px; top: 0; height: 3px;
  background: var(--grad);
  opacity: 0; transition: opacity .35s var(--ease);
}
.stat:hover::after { opacity: 1; }
.stat__value {
  font-family: var(--font-display);
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 800; line-height: 1;
  letter-spacing: -.03em;
  color: #fff;
  display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap;
}
.stat__unit {
  font-family: var(--font-mono);
  font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--green);
  white-space: nowrap;
}
.stat__label {
  margin: 12px 0 0;
  font-size: 13.5px; line-height: 1.5;
  color: rgba(255,255,255,.6);
}

/* ------------------------------------------------------------- services */
.svc-grid {
  display: grid; gap: 22px;
  grid-template-columns: repeat(auto-fit, minmax(285px, 1fr));
  margin-top: 46px;
}
.svc-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.svc-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--mist-2); }
.svc-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.svc-card:hover .svc-card__media img { transform: scale(1.07); }
.svc-card__code {
  position: absolute; left: 0; top: 0;
  background: var(--grad);
  color: #fff;
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .12em;
  padding: 8px 14px;
}
.svc-card__body { padding: 26px 24px 28px; display: flex; flex-direction: column; flex: 1; }
.svc-card h3 { font-size: 21px; margin-bottom: 10px; }
.svc-card p { font-size: 15.5px; line-height: 1.6; color: var(--body); }
.svc-card .textlink { margin-top: auto; padding-top: 18px; }

/* Detailed service rows on services.php */
.svc-row { padding: clamp(52px, 6vw, 92px) 0; border-top: 1px solid var(--line); }
.svc-row:first-of-type { border-top: 0; }
.svc-row__inner { display: grid; gap: clamp(28px, 4vw, 60px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 900px) {
  .svc-row__inner { grid-template-columns: 1fr 1fr; }
  .svc-row:nth-child(even) .svc-row__media { order: -1; }
}
.svc-row__code {
  font-family: var(--font-mono); font-size: 13px; letter-spacing: .2em;
  color: var(--teal); display: block; margin-bottom: 10px;
}
.svc-row h2 { font-size: clamp(26px, 3.4vw, 40px); text-transform: uppercase; }
.svc-row__media { position: relative; }
.svc-row__media img {
  width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  border-radius: var(--radius); position: relative; z-index: 1;
}
.svc-row__media::after {
  content: ""; position: absolute; right: -14px; bottom: -14px;
  width: 118px; height: 118px; background: var(--grad); z-index: 0;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.chip {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em; text-transform: uppercase;
  padding: 7px 13px; border-radius: 100px;
  background: var(--mist); color: var(--navy); border: 1px solid var(--line);
}

/* --------------------------------------------------------------- gallery */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 34px 0 30px; }
.filter-btn {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  padding: 10px 18px; border-radius: 100px; cursor: pointer;
  background: #fff; color: var(--body); border: 1px solid var(--line);
  transition: all .25s var(--ease);
}
.filter-btn:hover { border-color: var(--teal); color: var(--navy); }
.filter-btn.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }

.gallery { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--mist-2); aspect-ratio: 4 / 3;
  cursor: zoom-in; border: 0; padding: 0; margin: 0; display: block; width: 100%;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.gallery__item.is-hidden { display: none; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item figcaption,
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 34px 16px 14px;
  background: linear-gradient(transparent, rgba(6,42,74,.9));
  color: #fff; text-align: left;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
}
.gallery__item--tall { grid-row: span 2; aspect-ratio: 4 / 6; }
@media (max-width: 620px) { .gallery__item--tall { grid-row: span 1; aspect-ratio: 4 / 3; } }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(4,22,38,.94);
  display: none; align-items: center; justify-content: center;
  padding: 5vw;
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(1100px, 92vw); max-height: 82vh; object-fit: contain; border-radius: var(--radius); }
.lightbox__cap {
  position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center;
  color: #fff; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
}
.lightbox__close {
  position: absolute; top: 18px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; border: 0; cursor: pointer;
  font-size: 22px; line-height: 1;
}
.lightbox__close:hover { background: var(--grad); }

/* -------------------------------------------------------------- founder */
.founder { position: relative; }
.founder__portrait { position: relative; }
.founder__portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 18%;
  border-radius: var(--radius);
}
.founder__portrait::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 26%;
  background: var(--grad);
  clip-path: polygon(0 100%, 100% 34%, 100% 100%);
  border-radius: 0 0 var(--radius) var(--radius);
}
.founder__name { font-size: clamp(28px, 3.4vw, 40px); margin-bottom: 6px; }
.founder__role {
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .16em; text-transform: uppercase;
  color: var(--teal); margin-bottom: 22px;
}
.founder__quote {
  border-left: 3px solid; border-image: var(--grad) 1;
  padding-left: 22px; margin: 26px 0;
  font-family: var(--font-display); font-weight: 600; font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4; color: var(--ink); letter-spacing: -.015em;
}
.creds { display: grid; gap: 10px; margin-top: 26px; }
.creds li {
  display: flex; gap: 12px; align-items: flex-start;
  font-size: 15.5px; color: var(--body);
  padding-bottom: 10px; border-bottom: 1px dashed var(--line);
}
.creds li::before {
  content: ""; flex: none; margin-top: 9px;
  width: 8px; height: 8px; background: var(--grad);
}

/* -------------------------------------------------------------- process */
.process { counter-reset: step; display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 44px; }
.process__item { position: relative; padding-top: 26px; border-top: 2px solid var(--line); }
.process__item::before {
  counter-increment: step; content: counter(step, decimal-leading-zero);
  position: absolute; top: -14px; left: 0;
  background: #fff; padding-right: 12px;
  font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .12em;
  color: var(--teal);
}
.process__item h3 { font-size: 18px; margin-bottom: 8px; }
.process__item p { font-size: 15px; line-height: 1.6; margin: 0; }
.section--mist .process__item::before { background: var(--mist); }

/* ---------------------------------------------------------- milestones */
.milestones { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 44px; }
.milestone {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 26px; position: relative; overflow: hidden;
}
.milestone__value {
  font-family: var(--font-display); font-weight: 800; font-size: 26px; letter-spacing: -.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-bottom: 6px; display: block;
}
.milestone h3 {
  font-family: var(--font-mono); font-size: 12px; font-weight: 600; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 14px;
}
.milestone p { font-size: 15px; line-height: 1.6; margin: 0; }

/* ----------------------------------------------------------- page header */
.page-head {
  background: var(--ink);
  color: #fff;
  padding: clamp(56px, 7vw, 100px) 0 clamp(50px, 6vw, 86px);
  position: relative; overflow: hidden;
}
.page-head::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(760px 380px at 78% -20%, rgba(78,158,145,.34), transparent 62%);
}
.page-head::after {
  content: ""; position: absolute; right: -60px; bottom: -80px;
  width: 340px; height: 340px; background: var(--grad); opacity: .18;
  clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.page-head .shell { position: relative; z-index: 1; }
.page-head h1 { color: #fff; font-size: clamp(34px, 5.4vw, 62px); text-transform: uppercase; }
.page-head p { color: rgba(255,255,255,.72); max-width: 60ch; font-size: 17px; }
.crumbs {
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin-bottom: 18px;
}
.crumbs a { color: rgba(255,255,255,.75); }
.crumbs a:hover { color: var(--hivis); }

/* ------------------------------------------------------------- contact */
.contact-grid { display: grid; gap: clamp(32px, 5vw, 64px); grid-template-columns: 1fr; }
@media (min-width: 950px) { .contact-grid { grid-template-columns: 1.05fr .95fr; } }

.form { display: grid; gap: 18px; }
.form__row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 620px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field label {
  display: block;
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 500; letter-spacing: .14em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 8px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 14px 16px;
  font-family: var(--font-body); font-size: 16px; color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(78,158,145,.16);
}
.field--error input, .field--error textarea, .field--error select { border-color: #D64545; }
.field__error { color: #C13A3A; font-size: 13px; margin: 6px 0 0; }
.hp { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.alert { padding: 18px 20px; border-radius: var(--radius); margin-bottom: 26px; font-size: 15.5px; }
.alert--ok { background: rgba(134,198,94,.14); border-left: 3px solid var(--green); color: #23502A; }
.alert--bad { background: rgba(214,69,69,.1); border-left: 3px solid #D64545; color: #8A2626; }

.info-card {
  background: var(--ink); color: #fff;
  padding: clamp(28px, 4vw, 44px);
  border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.info-card::after {
  content: ""; position: absolute; right: -70px; top: -70px;
  width: 220px; height: 220px; background: var(--grad); opacity: .22;
  clip-path: polygon(100% 0, 100% 100%, 0 0);
}
.info-card h2 { color: #fff; font-size: 24px; }
.info-list { display: grid; gap: 22px; margin-top: 26px; position: relative; z-index: 1; }
.info-list li { display: flex; gap: 16px; align-items: flex-start; }
.info-list .ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.08);
  display: grid; place-items: center; color: var(--green);
}
.info-list .ico svg { width: 18px; height: 18px; fill: currentColor; }
.info-list strong {
  display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em;
  text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 5px; font-weight: 500;
}
.info-list a, .info-list span { color: #fff; font-size: 16px; }
.info-list a:hover { color: var(--green); }

.map-embed { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; line-height: 0; }
.map-embed iframe { width: 100%; height: 380px; border: 0; }

/* ------------------------------------------------------------- cta band */
.cta-band {
  position: relative; overflow: hidden;
  background: var(--ink);
  color: #fff;
  padding: clamp(64px, 8vw, 112px) 0;
  text-align: center;
}
.cta-band__bg {
  position: absolute; inset: 0;
  background-image: url("../img/hero-tower.jpg");
  background-size: cover; background-position: center;
  opacity: .28;
}
.cta-band::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,42,74,.72), rgba(6,42,74,.94));
}
.cta-band__inner { position: relative; z-index: 2; display: grid; justify-items: center; }
.cta-band .eyebrow { justify-content: center; }
.cta-band__title { color: #fff; font-size: clamp(28px, 4.4vw, 50px); text-transform: uppercase; }
.cta-band__text { color: rgba(255,255,255,.74); max-width: 58ch; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 30px; }
.cta-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.34); }
.cta-band .btn--ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px #fff; }

/* --------------------------------------------------------------- footer */
.footer { background: #04203A; color: rgba(255,255,255,.66); font-size: 15px; }
.footer__grid {
  display: grid; gap: 40px;
  grid-template-columns: 1fr;
  padding-block: clamp(48px, 6vw, 76px);
}
@media (min-width: 760px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
@media (min-width: 1040px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1.2fr 1.1fr; } }
.footer__logo { width: 220px; margin-bottom: 20px; }
.footer__blurb { max-width: 38ch; font-size: 15px; line-height: 1.7; }
.footer__heading {
  font-family: var(--font-mono); font-size: 11.5px; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: #fff; margin: 0 0 18px;
}
.footer__heading--center { text-align: center; color: rgba(255,255,255,.45); }
.footer__col ul { display: grid; gap: 11px; }
.footer a { color: rgba(255,255,255,.66); }
.footer a:hover { color: var(--green); }
.footer__col--contact address { margin-bottom: 18px; line-height: 1.7; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  display: grid; place-items: center;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.footer__social a:hover { background: var(--grad); transform: translateY(-3px); }
.footer__social svg { width: 17px; height: 17px; fill: #fff; }

.footer__clients { border-top: 1px solid rgba(255,255,255,.09); padding: 34px 0; }
.client-row {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: clamp(26px, 5vw, 64px);
}
.client-row img { height: 30px; width: auto; }
.client-row--footer img {
  height: clamp(42px, 4.6vw, 52px);
  max-width: 168px;
  object-fit: contain;
  background: #fff;
  padding: 9px 16px;
  border-radius: 3px;
  opacity: .86;
  transition: opacity .25s var(--ease), transform .25s var(--ease);
}
.client-row--footer img:hover { opacity: 1; transform: translateY(-3px); }
.client-row--footer { gap: clamp(18px, 3vw, 34px); }

.footer__base { border-top: 1px solid rgba(255,255,255,.09); padding: 20px 0; }
.footer__base-inner {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(255,255,255,.42);
}
.footer__base p { margin: 0; }

/* --------------------------------------------------------- floating cta */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366;
  display: grid; place-items: center;
  box-shadow: 0 12px 28px -10px rgba(6,42,74,.6);
  transition: transform .25s var(--ease);
}
.float-call svg { width: 27px; height: 27px; fill: #fff; }
.float-call:hover { transform: scale(1.08); }

/* --------------------------------------------------------------- reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .09s; }
.reveal[data-delay="2"] { transition-delay: .18s; }
.reveal[data-delay="3"] { transition-delay: .27s; }
.reveal[data-delay="4"] { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

/* ----------------------------------------------------------------- misc */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.stack > * + * { margin-top: 18px; }
.two-col-text { columns: 2; column-gap: 44px; }
@media (max-width: 800px) { .two-col-text { columns: 1; } }

.notice-404 { text-align: center; padding: clamp(70px, 10vw, 140px) 0; }
.notice-404 h1 { font-size: clamp(60px, 12vw, 140px); background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
