/* ==========================================================================
   Essar Sons Group — Design System
   ========================================================================== */

:root {
  --bg: #F4F6F7;
  --navy: #0E2A3B;
  --teal: #58B1AE;
  --teal-light: #8FD3D0;
  --amber: #C9862B;
  --gray-light: #E7EBED;
  --gray-mid: #B8BEC2;

  --navy-50: rgba(14, 42, 59, 0.5);
  --navy-65: rgba(14, 42, 59, 0.65);
  --navy-72: rgba(14, 42, 59, 0.72);
  --navy-85: rgba(14, 42, 59, 0.85);
  --navy-14: rgba(14, 42, 59, 0.14);
  --light-50: rgba(244, 246, 247, 0.5);
  --light-65: rgba(244, 246, 247, 0.65);

  --font-head: 'Gloock', serif;
  --font-body: 'Raleway', sans-serif;

  --nav-h: 84px;
  --container-max: 1440px;
  --container-pad: clamp(20px, 5vw, 56px);

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

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy-72);
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }
a:hover { color: var(--teal); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 400;
  color: var(--navy);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
}

p { margin: 0 0 16px; }

ul { list-style: none; margin: 0; padding: 0; }

button { font-family: inherit; cursor: pointer; }

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

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.text-center { text-align: center; }

.eyebrow {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--navy-50);
  margin-bottom: 14px;
}
.eyebrow-light { color: var(--light-65); }

.h2 {
  font-size: clamp(26px, 3.2vw, 50px);
  line-height: 1.12;
}

.lead {
  font-size: 17px;
  line-height: 1.7;
  color: var(--navy-65);
  max-width: 640px;
}

.article-body {
  max-width: 760px;
}
.article-body p { color: var(--navy-72); font-size: 16.5px; }
.article-list {
  list-style: disc;
  margin: 0 0 16px;
  padding-left: 22px;
}
.article-list li { color: var(--navy-72); margin-bottom: 10px; line-height: 1.6; }
.article-figure { margin: 28px 0; }
.article-figure img { border-radius: 10px; width: 100%; }
.article-figure figcaption {
  font-size: 13px;
  color: var(--navy-50);
  margin-top: 8px;
}

.article-related {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--navy-14);
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 16px;
}
.article-related-card {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: 140px;
  border-radius: 10px;
  overflow: hidden;
}
.article-related-media {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.article-related-card span {
  position: relative;
  z-index: 1;
  padding: 16px;
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

.divider {
  width: 56px;
  height: 2px;
  background: var(--teal);
  margin: 0 auto 24px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(201, 134, 43, 0.55);
  color: var(--amber);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 12px 20px;
  margin-top: 20px;
}
.badge-dot { width: 6px; height: 6px; background: var(--amber); display: inline-block; flex: none; }

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-block;
  border: 1px solid transparent;
  text-transform: uppercase;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 15px 28px;
  border-radius: 0;
  transition: background 0.25s var(--ease-out), color 0.25s var(--ease-out), border-color 0.25s var(--ease-out), transform 0.25s var(--ease-out);
}
.btn:hover { transform: translateY(-2px); }

.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: #4a9d9a; color: #fff; }

.btn-outline { background: transparent; border-color: rgba(14, 42, 59, 0.3); color: var(--navy); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal); }

.btn-outline-light { border-color: rgba(244, 246, 247, 0.35); color: #fff; }
.btn-outline-light:hover { border-color: var(--teal-light); color: var(--teal-light); }

.btn-small { padding: 10px 18px; font-size: 11.5px; }

.text-link {
  display: inline-block;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--navy);
  border-bottom: 1px solid rgba(14, 42, 59, 0.25);
  padding-bottom: 3px;
  transition: color 0.2s, border-color 0.2s;
}
.text-link:hover { color: var(--teal); border-color: var(--teal); }
.text-link-light { color: #fff; border-color: rgba(244, 246, 247, 0.3); }
.text-link-light:hover { color: var(--teal-light); border-color: var(--teal-light); }

/* ==========================================================================
   Sections / bands
   ========================================================================== */

.section { padding: clamp(56px, 8vw, 108px) 0; }
.section-tight { padding-top: 0; }
.section-pad { padding: 80px 0; }

.band-light { background: var(--bg); }
.band-gray { background: var(--gray-light); }
.band-dark { background: var(--navy); color: var(--light-65); }
.band-dark h1, .band-dark h2, .band-dark h3 { color: #fff; }
.band-dark p { color: var(--light-65); }

[data-reveal] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
}
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ==========================================================================
   Nav
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background 0.3s var(--ease-out), border-color 0.3s var(--ease-out), backdrop-filter 0.3s var(--ease-out);
}
.site-nav.is-scrolled {
  background: rgba(14, 42, 59, 0.72);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: rgba(244, 246, 247, 0.12);
}
body:not(.home) .site-nav { background: rgba(14, 42, 59, 0.9); border-bottom-color: rgba(244,246,247,0.12); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; }

.nav-logo { display: block; }
.nav-logo img { height: 30px; width: auto; display: block; transition: filter 0.3s var(--ease-out); }
.footer-brand .nav-logo img { height: 40px; margin-bottom: 20px; }

.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(244, 246, 247, 0.82);
  transition: color 0.3s var(--ease-out);
}
.nav-links a:hover { color: var(--teal-light); }
.nav-links a.active { color: var(--teal-light); }
.nav-links a.btn { color: #fff; }
.nav-links a.btn:hover { color: #fff; }

/* The homepage hero is a bright, light video — before the nav picks up its
   scrolled dark background, its logo/links need to read dark instead. */
body.home .site-nav:not(.is-scrolled) .nav-logo img { filter: invert(1); }
body.home .site-nav:not(.is-scrolled) .nav-links > a:not(.btn) { color: var(--navy-72); }
body.home .site-nav:not(.is-scrolled) .nav-links > a.active { color: var(--teal); }
body.home .site-nav:not(.is-scrolled) .nav-toggle span { background: var(--navy); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: #fff;
  transition: transform 0.25s var(--ease-out), opacity 0.25s var(--ease-out), background 0.3s var(--ease-out);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.breadcrumb {
  padding: calc(var(--nav-h) + 22px) 0 12px;
  font-size: 12.5px;
  color: var(--navy-50);
}
.breadcrumb-inner { display: flex; align-items: center; gap: 8px; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb-sep { color: var(--navy-50); }
.breadcrumb-current { color: var(--navy-72); font-weight: 600; }

/* ==========================================================================
   Mobile nav
   ========================================================================== */

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: fixed;
    top: var(--nav-h); left: 0; right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    background: rgba(14, 42, 59, 0.97);
    backdrop-filter: blur(18px);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s var(--ease-out);
  }
  .nav-links.is-open { max-height: 320px; }
  .nav-links a {
    width: 100%;
    padding: 16px var(--container-pad);
    border-bottom: 1px solid rgba(244, 246, 247, 0.08);
  }
  .nav-links a.btn { margin: 16px var(--container-pad); width: calc(100% - 2 * var(--container-pad)); text-align: center; }
}

/* ==========================================================================
   Intro overlay (homepage only)
   ========================================================================== */

.intro-overlay {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease-out) 0.4s;
}
.intro-overlay.is-hidden { opacity: 0; pointer-events: none; }
.intro-logo-wrap {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 190px;
  transform: translate(-50%, -50%);
  transition: top 1.1s cubic-bezier(0.65,0,0.2,1), left 1.1s cubic-bezier(0.65,0,0.2,1), width 1.1s cubic-bezier(0.65,0,0.2,1);
}
.intro-logo-center, .intro-logo-side {
  display: block;
  width: 100%;
  height: auto;
  transition: opacity 0.45s ease 0.45s;
}
.intro-logo-center { opacity: 1; }
.intro-logo-side {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  opacity: 0;
}
.intro-overlay.is-shrinking .intro-logo-center { opacity: 0; }
.intro-overlay.is-shrinking .intro-logo-side { opacity: 1; }
.intro-tag {
  position: fixed;
  bottom: 46px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(244, 246, 247, 0.5);
  transition: opacity 0.5s ease;
}
.intro-overlay.is-shrinking .intro-tag { opacity: 0; }
body:not(.home) .intro-overlay { display: none; }

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: #fff;
}
.hero-media-wrap {
  position: absolute;
  inset: -6% -6%;
  will-change: transform;
}
.hero-video,
.hero-media-fallback {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  object-fit: cover;
  filter: grayscale(28%) brightness(1.03);
}
.hero-media-fallback { z-index: 0; }
.hero-video { z-index: 1; background: var(--gray-mid); }
.hero-media-wrap.video-failed .hero-video { display: none; }
.hero-gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(14, 42, 59, 0.35) 0%, rgba(14, 42, 59, 0.78) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: 96px;
  padding-top: calc(var(--nav-h) + 40px);
}
.hero-h1 {
  color: #fff;
  font-size: clamp(38px, 5.4vw, 92px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  max-width: 18ch;
  margin-bottom: 24px;
}
.hero-h1-page { color: var(--navy); font-size: clamp(32px, 4.4vw, 68px); }
.text-center .hero-h1 { margin-left: auto; margin-right: auto; }
.hero-h1-dark { color: var(--navy); }
.hero-lead { font-size: 17px; color: rgba(244, 246, 247, 0.8); max-width: 560px; margin-bottom: 32px; }
.hero-lead-dark { color: var(--navy-85); }
.hero-tagline { font-size: 19px; color: var(--teal-light); font-weight: 600; margin-bottom: 18px; }
.hero-managed { font-size: 12.5px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--light-65); margin: -12px 0 20px; }
.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-firm { min-height: 68vh; background-size: cover; background-position: center; align-items: center; }
.hero-flagship { min-height: 86vh; }

/* Homepage hero: a bright, real hallway video — dark text and a light
   scrim instead of the dark-navy treatment used on inner-page heroes. */
.hero-home {
  height: 118vh;
  min-height: 780px;
  align-items: center;
  background: var(--gray-light);
  color: var(--navy);
}
.hero-home .hero-media-wrap {
  top: -8%;
  left: 0;
  right: 0;
  bottom: auto;
  width: 100%;
  height: 116%;
}
.hero-home .hero-video,
.hero-home .hero-media-fallback {
  filter: grayscale(28%) brightness(1.05) saturate(0.9);
}
.hero-home .hero-gradient {
  background: linear-gradient(180deg, rgba(244, 246, 247, 0.18) 0%, rgba(244, 246, 247, 0) 42%, rgba(244, 246, 247, 0.62) 100%);
}
.hero-home .hero-content { padding-top: var(--nav-h); padding-bottom: 0; }

/* word-reveal spans */
.word-reveal-word {
  display: inline-block;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(0.5em);
  transition: opacity 0.75s var(--ease-out), transform 0.75s var(--ease-out), filter 0.75s var(--ease-out);
}
.word-reveal-word.is-in { opacity: 1; filter: blur(0); transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  .word-reveal-word { opacity: 1; filter: none; transform: none; transition: none; }
}

/* ==========================================================================
   Marquee
   ========================================================================== */

.marquee {
  overflow: hidden;
  background: var(--navy);
  padding: 20px 0;
  white-space: nowrap;
}
.band-light .marquee, .clients-band .marquee { background: var(--gray-light); }
.marquee-track {
  display: inline-flex;
  animation: marquee-scroll var(--marquee-duration, 36s) linear infinite;
}
.marquee-reverse { animation-direction: reverse; }
.marquee-group { display: inline-flex; align-items: center; }
.marquee-item {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(244, 246, 247, 0.75);
  padding: 0 20px;
}
.band-light .marquee-item, .clients-band .marquee-item { color: var(--navy-65); }
.marquee-dot {
  width: 6px; height: 6px;
  background: var(--amber);
  border-radius: 0;
  display: inline-block;
}

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

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; overflow-x: auto; }
}

/* ==========================================================================
   About / pillars / two-col
   ========================================================================== */

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 28px 0 40px;
}
.two-col p { color: var(--navy-65); }

.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 44px);
  max-width: 720px;
  margin: 44px 0 0;
  border-top: 1px solid rgba(14, 42, 59, 0.16);
  padding-top: 32px;
}
.pillar h3 { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 12px; font-family: var(--font-body); }
.pillar p { color: var(--navy-65); font-size: 14.5px; margin: 0; }

/* ==========================================================================
   About band (home) — content over a faded, fixed-width image on the right
   ========================================================================== */

.about-band { position: relative; overflow: hidden; }
.about-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 42%;
  height: 100%;
  will-change: transform;
}
.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(34%) brightness(1.06);
}
.about-media-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gray-light) 0%, rgba(231, 235, 237, 0.55) 42%, rgba(231, 235, 237, 0) 100%);
}
.about-content { position: relative; z-index: 1; max-width: 780px; }
.about-content .btn { margin-top: 38px; }

@media (max-width: 900px) {
  .about-media { display: none; }
}

/* ==========================================================================
   Hairline grid (divisions, locations, contact units)
   ========================================================================== */

.hairline-grid {
  display: grid;
  gap: 2px;
  background: var(--navy-14);
}
.hairline-cell {
  background: var(--bg);
  padding: 34px 30px;
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
  display: flex;
  flex-direction: column;
}
.hairline-cell:hover { background: #fff; transform: translateY(-4px); }

.division-grid { grid-template-columns: repeat(3, 1fr); }
.division-cell { position: relative; min-height: 200px; }
.division-num { font-family: var(--font-head); font-size: 14px; color: var(--amber); margin-bottom: 14px; }
.division-name { font-family: var(--font-head); font-size: 21px; color: var(--navy); margin-bottom: 10px; line-height: 1.2; }
.division-desc { font-size: 14px; color: var(--navy-65); flex: 1; }
.division-managed { font-size: 11.5px; font-weight: 600; letter-spacing: 0.04em; color: var(--navy-50); margin-top: 14px; }
.division-arrow { font-size: 18px; color: var(--navy-50); align-self: flex-end; transition: transform 0.25s var(--ease-out), color 0.25s; }
.division-cell:hover .division-arrow { transform: translateX(4px); color: var(--teal); }

.location-grid { grid-template-columns: repeat(2, 1fr); }
.location-division { font-size: 11.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal); margin-bottom: 14px; }
.location-address { font-size: 15px; line-height: 1.6; color: var(--navy-72); margin: 0 0 18px; }
.location-contact { font-size: 14.5px; color: var(--navy-72); margin: 0 0 4px; }
.location-email { font-size: 14.5px; margin: 0 0 20px; }
.location-email a:hover { color: var(--teal); }
.location-ctas { display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; }

.unit-grid { grid-template-columns: repeat(3, 1fr); }
.unit-division { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--amber); margin-bottom: 10px; }
.unit-name { font-family: var(--font-head); font-size: 19px; margin-bottom: 10px; }
.unit-address { font-size: 13.5px; color: var(--navy-65); margin-bottom: 14px; }
.unit-contacts { margin-bottom: 10px; }
.unit-contacts li { font-size: 13.5px; color: var(--navy-72); margin-bottom: 4px; }
.unit-email { font-size: 13.5px; margin-bottom: 16px; }
.unit-email a:hover { color: var(--teal); }
.unit-ctas { display: flex; gap: 8px; flex-wrap: wrap; margin-top: auto; }

/* ==========================================================================
   Story band
   ========================================================================== */

.story-band { text-align: center; }
.pull-quote {
  font-family: var(--font-head);
  font-size: clamp(24px, 3vw, 40px);
  line-height: 1.3;
  color: #fff;
  max-width: 18ch;
  margin: 0 auto 20px;
}
.story-body { max-width: 46ch; margin: 0 auto; }

.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 88px); align-items: center; }
.story-text .pull-quote,
.story-text .story-body { margin-left: 0; margin-right: 0; max-width: 22ch; }
.story-text .story-body { max-width: 40ch; }
.story-media { position: relative; height: clamp(320px, 32vw, 420px); }
.story-media-primary { position: absolute; top: 0; left: 0; width: 64%; height: 72%; overflow: hidden; }
.story-media-secondary { position: absolute; bottom: 0; right: 0; width: 52%; height: 56%; overflow: hidden; border: 8px solid var(--navy); }
.story-media-primary img, .story-media-secondary img { width: 100%; height: 100%; object-fit: cover; }
.statement-band .pull-quote-large { font-size: clamp(28px, 4vw, 54px); color: var(--navy); max-width: 20ch; }
.statement-band { background: var(--bg); }
.statement-band .divider { background: var(--teal); }

/* ==========================================================================
   Clients marquee band
   ========================================================================== */

.clients-band .marquee { padding: 16px 0; }

.logo-marquee { overflow: hidden; padding: 6px 0; }
.logo-marquee-track {
  display: inline-flex;
  animation: marquee-scroll 46s linear infinite;
}
.logo-marquee-reverse { animation-direction: reverse; }
.logo-marquee-group { display: inline-flex; align-items: center; }
.logo-cell {
  width: 200px;
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  flex: none;
}
.logo-cell img {
  max-width: 100%;
  max-height: 64px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.75;
  transition: opacity 0.25s;
}
.logo-cell:hover img { opacity: 1; }

@media (prefers-reduced-motion: reduce) {
  .logo-marquee-track { animation: none; overflow-x: auto; }
}

/* ==========================================================================
   Project slider
   ========================================================================== */

.project-slider {
  position: relative;
  height: min(640px, 78vh);
  overflow: hidden;
  background: var(--gray-mid);
}
.slider-track { position: relative; width: 100%; height: 100%; }
.slider-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
  display: flex;
  align-items: flex-end;
}
.slider-slide.is-active { opacity: 1; }
.slider-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(18%) brightness(1.02);
}
.slider-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(14,42,59,0.15) 0%, rgba(14,42,59,0.78) 100%);
}
.slider-caption { position: relative; z-index: 2; padding: 48px; color: #fff; max-width: 680px; }
.slider-caption-eyebrow { color: var(--amber); font-weight: 600; margin-bottom: 20px; }
.slider-caption h3 {
  color: #fff;
  font-size: clamp(26px, 3.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  margin: 0 0 20px;
}
.slider-caption p { font-size: 16px; line-height: 1.7; color: rgba(244, 246, 247, 0.78); margin: 0; }
.slider-controls {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 48px;
  z-index: 3;
}
.slider-dots { display: flex; gap: 10px; }
.slider-dot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: rgba(244, 246, 247, 0.4);
  border: none;
  padding: 0;
  transition: background 0.25s;
}
.slider-dot.is-active { background: var(--amber); }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrow {
  width: 42px; height: 42px;
  border: 1px solid rgba(244, 246, 247, 0.35);
  background: rgba(14, 42, 59, 0.3);
  color: #fff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, border-color 0.25s;
}
.slider-arrow:hover { background: var(--teal); border-color: var(--teal); }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.testimonial-slider { max-width: 760px; margin: 32px auto 0; text-align: center; }
.testimonial-slide { opacity: 0; transition: opacity 0.8s var(--ease-out); position: relative; }
.testimonial-slide.is-active { opacity: 1; }
.testimonial-quote { font-family: var(--font-head); font-size: clamp(19px, 2.2vw, 27px); line-height: 1.5; color: var(--navy); margin-bottom: 20px; }
.testimonial-author { font-weight: 600; font-size: 14px; color: var(--navy); }
.testimonial-author span { display: block; font-weight: 400; color: var(--navy-65); font-size: 13px; margin-top: 4px; }
.testimonial-slider .slider-dots { justify-content: center; margin-top: 24px; }
.testimonial-slider .slider-dot { background: rgba(14, 42, 59, 0.2); }
.testimonial-slider .slider-dot.is-active { background: var(--amber); }

/* ==========================================================================
   Process grid
   ========================================================================== */

.process-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 36px; }
.process-tile { position: relative; overflow: hidden; aspect-ratio: 4/5; background: var(--gray-mid); }
.process-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease-out); }
.process-tile:hover img { transform: scale(1.05); }
.process-tile span {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 20px;
  background: linear-gradient(180deg, transparent, rgba(14, 42, 59, 0.85));
  color: #fff;
  font-weight: 600;
  font-size: 14.5px;
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; margin-top: 32px; align-items: start; }
.contact-meta { margin-top: 24px; }
.contact-meta li { display: flex; flex-direction: column; gap: 2px; margin-bottom: 16px; font-size: 14.5px; }
.contact-meta li strong { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--navy-50); }
.contact-meta li a:hover { color: var(--teal); }

.contact-form-wrap { background: #fff; padding: 36px; border: 1px solid var(--navy-14); }
.form-row { margin-bottom: 20px; }
.form-row label { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; color: var(--navy-72); margin-bottom: 8px; }
.form-optional { text-transform: none; font-weight: 400; color: var(--navy-50); letter-spacing: 0; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%;
  border: 1px solid rgba(14, 42, 59, 0.22);
  background: var(--bg);
  padding: 13px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--navy);
  transition: border-color 0.2s;
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus { border-color: var(--teal); outline: none; }
.form-row textarea { resize: vertical; }
.form-error { color: #b8433a; font-size: 13.5px; margin-top: 14px; }
.contact-form-success { background: #fff; border: 1px solid var(--navy-14); padding: 60px 36px; text-align: center; }
.contact-form-success h3 { font-size: 24px; }

/* ==========================================================================
   Split panel / two panel (about page etc.)
   ========================================================================== */

.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split-media img, .full-band img { width: 100%; height: 100%; object-fit: cover; }
.full-band { height: min(480px, 50vh); overflow: hidden; }

.strip-image { margin-top: 40px; height: min(320px, 40vh); overflow: hidden; }
.strip-image img { width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   Who We Are (About page) — heading + copy over a faded right-side image
   ========================================================================== */

.who-band { position: relative; overflow: hidden; }
.who-media {
  position: absolute;
  top: 0;
  right: 0;
  width: 46%;
  height: 100%;
  will-change: transform;
}
.who-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: grayscale(30%) brightness(1.05);
}
.who-media-mask {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--gray-light) 0%, rgba(231, 235, 237, 0.6) 40%, rgba(231, 235, 237, 0.1) 100%);
}
.who-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(36px, 5vw, 72px);
  align-items: start;
}
.who-heading { margin: 0; }
.who-heading-accent { color: var(--teal); }
.who-text { display: flex; flex-direction: column; gap: 22px; max-width: 34em; }
.who-text p { margin: 0; color: var(--navy-72); }

@media (max-width: 900px) {
  .who-media { display: none; }
}
@media (max-width: 1100px) {
  .who-grid { grid-template-columns: 1fr; gap: 24px; }
}

/* ==========================================================================
   Vision / Mission (About page) — stacked, no imagery
   ========================================================================== */

.vision-stack { display: flex; flex-direction: column; gap: clamp(36px, 3.6vw, 52px); max-width: 780px; }
.vision-stack-item { border-top: 1px solid rgba(14, 42, 59, 0.16); padding-top: clamp(32px, 3vw, 44px); }

/* ==========================================================================
   Team
   ========================================================================== */

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
.team-grid-small { grid-template-columns: repeat(2, 1fr); max-width: 640px; }
.team-card { text-align: center; }
.team-card img {
  width: 50%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto 18px;
  filter: grayscale(20%);
}
.team-card h3 { font-size: 18px; margin-bottom: 4px; }
.team-role { display: block; font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }
.team-card p { font-size: 14px; color: var(--navy-65); margin: 0; }

/* ==========================================================================
   Stat grid
   ========================================================================== */

.stat-grid { display: grid; grid-template-columns: repeat(var(--stat-cols, 2), 1fr); gap: 2px; background: var(--navy-14); }
.stat-cell { background: var(--bg); padding: 28px; }
.stat-value { display: block; font-family: var(--font-head); font-size: clamp(28px, 3vw, 42px); color: var(--navy); }
.band-dark .stat-value { color: #fff; }
.stat-label { font-size: 12.5px; color: var(--navy-65); }
.band-dark .stat-label { color: var(--light-65); }

/* ==========================================================================
   Offerings (firm pages)
   ========================================================================== */

.section-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8px; flex-wrap: wrap; }

.offering-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.offering-card {
  position: relative;
  aspect-ratio: 3/4;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  transition: transform 0.35s var(--ease-out);
}
.offering-card:hover { transform: translateY(-6px); }
.offering-card span { color: #fff; font-weight: 600; font-size: 16px; line-height: 1.3; }

.offering-grid-detailed .offering-card-detailed { background: #fff; border: 1px solid var(--navy-14); aspect-ratio: auto; display: block; padding: 0; }
.offering-card-detailed .offering-card-media { aspect-ratio: 4/3; background-size: cover; background-position: center; }
.offering-card-detailed h3 { font-size: 18px; margin: 20px 22px 8px; }
.offering-card-detailed p { font-size: 14px; color: var(--navy-65); margin: 0 22px 22px; }

/* ==========================================================================
   Reach-out band
   ========================================================================== */

.reach-out { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.reach-intro { color: var(--light-65); max-width: 44ch; }
.reach-label { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--teal-light); display: block; margin-bottom: 10px; }
.reach-address { max-width: 40ch; margin-bottom: 14px; }
.reach-contacts { margin-bottom: 6px; }
.reach-contacts strong { color: #fff; margin-right: 6px; }
.reach-email a:hover { color: var(--teal-light); }
.reach-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }

/* ==========================================================================
   Projects page
   ========================================================================== */

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 20px; }
.filter-pill {
  border: 1px solid rgba(14, 42, 59, 0.2);
  background: var(--gray-light);
  color: var(--navy-72);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 11px 20px;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.filter-pill:hover { border-color: var(--teal); }
.filter-pill.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.filter-count { font-size: 13px; color: var(--navy-50); margin-bottom: 32px; }

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 28px;
}
.project-card { background: #fff; border: 1px solid var(--navy-14); display: none; }
.project-card.is-shown { display: block; }
.project-card-media { position: relative; aspect-ratio: 4/3; background-size: cover; background-position: center; }
.project-card-badge {
  position: absolute; top: 14px; left: 14px;
  background: var(--navy); color: #fff;
  font-size: 12px; font-weight: 700;
  padding: 6px 10px;
}
.project-card-body { padding: 22px; }
.project-card-body h3 { font-size: 18px; margin-bottom: 8px; }
.project-card-body p { font-size: 14px; color: var(--navy-65); margin-bottom: 18px; }
.project-card-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; border-top: 1px solid var(--navy-14); padding-top: 16px; }
.project-card-meta div { display: flex; flex-direction: column; gap: 3px; }
.project-card-meta strong { font-size: 10.5px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy-50); }
.project-card-meta span { font-size: 13px; color: var(--navy-72); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer { background: var(--navy); color: rgba(244, 246, 247, 0.7); padding: 72px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 44px; border-bottom: 1px solid rgba(244, 246, 247, 0.12); }
.footer-brand p { max-width: 34ch; font-size: 14px; margin-top: 16px; }
.footer-col h3 { color: #fff; font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; font-family: var(--font-body); margin-bottom: 18px; }
.footer-col li { margin-bottom: 11px; font-size: 14px; }
.footer-col a:hover { color: var(--teal-light); }
.footer-bottom { display: flex; justify-content: space-between; padding-top: 24px; font-size: 12.5px; color: rgba(244, 246, 247, 0.5); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
  .division-grid { grid-template-columns: repeat(2, 1fr); }
  .location-grid { grid-template-columns: repeat(2, 1fr); }
  .unit-grid { grid-template-columns: repeat(2, 1fr); }
  .offering-grid, .team-grid, .process-grid, .two-col { grid-template-columns: repeat(2, 1fr); }
  .split-panel, .contact-grid, .reach-out, .two-panel, .story-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 700px) {
  .division-grid, .location-grid, .unit-grid, .offering-grid, .team-grid, .process-grid, .two-col, .pillars, .stat-grid { grid-template-columns: 1fr; }
  .team-grid-small { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; }
  .slider-caption { padding: 28px; }
  .slider-controls { padding: 16px 20px; }
  .project-grid { grid-template-columns: 1fr; }
}
