/* ---------- Base ---------- */
:root {
  --black: #2C3843;
  --white: #ffffff;
  --accent: #E05708;
  --accent-dark: #C04B07;
  --accent-soft: #FBEBE1;
  --gray-50: #F8F6F3;
  --gray-100: #EDE8E2;
  --gray-400: #948E86;
  --gray-700: #4A443D;
  --shadow-sm: 0 4px 16px rgba(44, 56, 67, .06);
  --shadow-md: 0 14px 32px rgba(44, 56, 67, .09);
  --shadow-lg: 0 20px 50px rgba(44, 56, 67, .14);
  --radius: 10px;
  --container: 1400px;
  --ff: 'Poppins', sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* scroll-behavior intentionally omitted — Lenis (assets/js/main.js) owns smooth scrolling; the two fight and cause jank if both are active */
body {
  font-family: var(--ff);
  color: var(--black);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 500;
  text-wrap: balance;
}

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

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 500;
  font-size: .95rem;
  transition: all .3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.btn-pill {
  background: var(--accent);
  color: var(--white);
  padding: 10px 22px;
  font-size: 12.5px;
}

.btn-pill:hover {
  background: var(--accent-dark);
}

.btn-dark {
  background: var(--black);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--white);
  transform: translateY(-2px);
  color: var(--accent);
}

.btn-outline {
  border-color: var(--black);
  color: var(--black);
}

.btn-outline:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.btn.full {
  width: 100%;
}

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--gray-100);
  transition: box-shadow .3s ease, padding .3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 78px;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 62px;
  width: auto;
}

.footer-logo-badge {
  display: inline-flex;
  background: var(--white);
  padding: 10px 18px;
  border-radius: 8px;
}

.footer-logo-badge .logo-img {
  height: 38px;
}

.main-nav {
  display: flex;
  gap: 32px;
  margin-left: auto;
}

.main-nav a {
  font-size: 12.5px;
  font-weight: 400;
  position: relative;
  padding: 6px 0;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width .25s ease;
}

.main-nav a:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--black);
}

/* ---------- Hero v2 (centered, video reveal) ---------- */
.hero-v2 {
  padding: 76px 0 0;
  text-align: center;
  background: var(--white);
  overflow: hidden;
}

.hero-v2-title {
  max-width: 920px;
  margin: 0 auto;
}

.hero-v2-title .line {
  display: block;
  overflow: hidden;
  text-wrap: balance;
}

.hero-v2-title .line.light {
  font-size: clamp(1.1rem, 2.2vw, 1.4rem);
  font-weight: 400;
  color: var(--black);
  opacity: .7;
}

.hero-v2-title .line.bold {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 2.85rem);
  font-weight: 600;
  color: var(--black);
  line-height: 1.22;
  letter-spacing: -.01em;
}

.hero-v2-title .accent {
  color: var(--accent);
  font-style: normal;
}

.hero-v2-sub {
  max-width: 600px;
  margin: 22px auto 0;
  color: var(--black);
  opacity: .65;
  font-size: 1rem;
  line-height: 1.7;
}

.hero-v2-actions {
  margin-top: 30px;
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-video-wrap {
  position: relative;
  margin-top: 52px;
  width: 100%;
  height: 78vh;
  min-height: 420px;
  max-height: 680px;
  overflow: hidden;
  will-change: transform, border-radius;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(44, 56, 67, .55) 0%, rgba(44, 56, 67, .05) 45%, rgba(44, 56, 67, 0) 65%);
}

.hero-counter-row {
  padding: 56px 0;
  border-top: 1px solid rgba(44, 56, 67, .1);
}

.hero-counter-intro {
  max-width: 560px;
  margin: 0 auto 44px;
  text-align: center;
  color: var(--black);
  opacity: .55;
  font-size: .95rem;
  line-height: 1.7;
}

.hero-counter-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.counter-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.counter-num {
  font-size: clamp(2.3rem, 4.6vw, 3.4rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1;
  letter-spacing: -.02em;
}

.counter-num .counter-suffix {
  color: var(--accent);
  font-style: normal;
  display: inline-block;
  transform-origin: left center;
}

.counter-item.static .counter-num {
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 700;
}

.counter-label {
  font-size: .9rem;
  color: var(--black);
  opacity: .55;
  font-weight: 500;
}

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--black);
  color: var(--white);
  padding: 48px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.stat-num {
  font-size: 2.2rem;
  font-weight: 600;
}

.stat-static .stat-num {
  font-size: 1.4rem;
}

.stat-label {
  font-size: .82rem;
  color: rgba(255, 255, 255, .65);
  letter-spacing: .02em;
}

/* ---------- Section basics ---------- */
.section {
  padding: 100px 0;
}

.section-alt {
  background: var(--gray-50);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  color: var(--black);
  font-weight: 600;
  font-size: .78rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.section h2 {
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  font-weight: 500;
  max-width: 700px;
  line-height: 1.25;
}

.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.eyebrow.center {
  display: flex;
  width: fit-content;
}

/* ---------- About intro: layered image stack + checklist ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-media-stack {
  position: relative;
}

.about-media-main {
  display: block;
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  transition: transform .6s cubic-bezier(.16,1,.3,1);
}

.about-media-stack:hover .about-media-main {
  transform: scale(1.04);
}

.about-media-inset {
  position: absolute;
  right: -28px;
  bottom: -28px;
  width: 48%;
  border: 6px solid var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transition: transform .4s ease, box-shadow .4s ease;
}

.about-media-stack:hover .about-media-inset {
  transform: translate(-10px, -10px);
  box-shadow: 0 26px 60px rgba(44, 56, 67, .28);
}

.about-media-inset img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .5s ease;
}

.about-media-stack:hover .about-media-inset img {
  transform: scale(1.08);
}

.about-copy p:not(.eyebrow) {
  color: var(--gray-700);
  margin-top: 16px;
  line-height: 1.8;
}

.check-list {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  position: relative;
  padding: 8px 12px 8px 34px;
  border-radius: var(--radius);
  font-size: .95rem;
  color: var(--gray-700);
  transition: background .25s ease, transform .25s ease;
}

.check-list li:hover {
  background: var(--gray-50);
  transform: translateX(6px);
}

.check-list li::before {
  content: '✓';
  position: absolute;
  left: 12px;
  top: 8px;
  width: 22px;
  height: 22px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .72rem;
  transition: transform .25s ease;
}

.check-list li:hover::before {
  transform: scale(1.15) rotate(-8deg);
}

/* ---------- About agency-style section (home) ---------- */
.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--black);
}

.pill-badge i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  display: block;
}

.about-agency-top {
  margin-top: 32px;
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 56px;
  align-items: start;
}

.about-agency-heading {
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  font-weight: 600;
  line-height: 1.28;
}

.about-agency-heading em {
  color: var(--accent);
  font-style: normal;
}

.about-agency-text {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.about-agency-text p {
  font-size: .92rem;
  line-height: 1.75;
  color: var(--black);
  opacity: .62;
}

.about-agency-link {
  grid-column: 1 / -1;
  margin-top: 8px;
}

.feature-panel {
  margin-top: 56px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.feature-col {
  position: relative;
  padding: 44px 36px;
}

.feature-col:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 18%;
  bottom: 18%;
  right: 0;
  width: 1px;
  background: var(--gray-100);
}

.feature-col-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 20px;
}

.feature-col-icon-dark {
  color: var(--black);
}

.feature-col h3 {
  font-size: 1.02rem;
  margin-bottom: 10px;
}

.feature-col p {
  font-size: .85rem;
  color: var(--black);
  opacity: .6;
  line-height: 1.6;
}

/* ---------- Why Choose Us ---------- */
.why-us-head h2 {
  margin-top: 18px;
  max-width: 640px;
}

.why-us-head h2 em {
  color: var(--accent);
  font-style: normal;
}

.why-us-grid {
  margin-top: 44px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.05fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}

.why-us-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-md);
}

.why-us-card-wide {
  grid-column: 1 / 3;
}

.why-us-card-accent {
  grid-column: 3;
  grid-row: 1 / 3;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
}

.why-us-card .why-us-icon {
  width: 30px;
  height: 30px;
  color: var(--accent);
  margin-bottom: 20px;
}

.why-us-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
}

.why-us-card p {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.why-us-card-accent p {
  color: rgba(255, 255, 255, .75);
  flex: 1;
}

.why-us-card-accent .btn-pill {
  align-self: flex-start;
  gap: 8px;
  margin-top: 8px;
}

.why-us-vendor {
  display: block;
  margin-top: 20px;
  font-size: .72rem;
  color: rgba(255, 255, 255, .5);
}

@media (max-width: 900px) {
  .why-us-grid {
    grid-template-columns: 1fr 1fr;
  }

  .why-us-card-wide {
    grid-column: 1 / 3;
  }

  .why-us-card-accent {
    grid-column: 1 / 3;
    grid-row: auto;
  }
}

@media (max-width: 640px) {
  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-card-wide,
  .why-us-card-accent {
    grid-column: 1;
  }
}

/* ---------- Capabilities accordion (Capabilities page) ---------- */
.cap-accordion {
  margin-top: 44px;
  border-top: 1px solid var(--gray-100);
}

.cap-accordion-item {
  border-bottom: 1px solid var(--gray-100);
}

.cap-accordion-head {
  all: unset;
  box-sizing: border-box;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 4px;
  cursor: pointer;
}

.cap-accordion-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: var(--gray-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, color .25s ease;
}

.cap-accordion-icon .icon {
  width: 22px;
  height: 22px;
}

.cap-accordion-title {
  flex: 1;
  font-weight: 600;
  font-size: 1.05rem;
}

.cap-accordion-chevron {
  flex-shrink: 0;
  color: var(--gray-400);
  transition: transform .3s ease, color .3s ease;
}

.cap-accordion-item.is-open .cap-accordion-chevron {
  transform: rotate(90deg);
  color: var(--accent);
}

.cap-accordion-item.is-open .cap-accordion-icon {
  background: var(--accent);
  color: var(--white);
}

.cap-accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s ease;
}

.cap-accordion-item.is-open .cap-accordion-body {
  grid-template-rows: 1fr;
}

.cap-accordion-body > div {
  overflow: hidden;
}

.cap-accordion-body p {
  padding: 0 4px 24px 68px;
  color: var(--gray-700);
  font-size: .92rem;
  line-height: 1.7;
  max-width: 640px;
}

/* ---------- Capabilities showcase (home): unified rotating carousel — first card = featured (full-bleed) ---------- */
.capabilities-showcase {
  margin-top: 44px;
  position: relative;
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
  padding-left: max(24px, calc((100vw - var(--container)) / 2 + 24px));
  padding-right: 24px;
}

.showcase-nav-pill {
  position: absolute;
  top: 50%;
  left: calc(max(24px, (100vw - var(--container)) / 2 + 24px) + 400px);
  transform: translate(-50%, -50%);
  z-index: 5;
  display: flex;
  gap: 4px;
  background: var(--accent);
  border-radius: 999px;
  padding: 6px;
  box-shadow: var(--shadow-md);
}

.showcase-nav-pill button {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: transparent;
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease;
}

.showcase-nav-pill button:hover {
  background: rgba(255, 255, 255, .2);
}

.showcase-nav-pill button:first-child .icon {
  transform: rotate(180deg);
}

.showcase-carousel-wrap {
  overflow: hidden;
}

.showcase-track {
  display: flex;
  gap: 20px;
  width: max-content;
}

.showcase-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .3);
  z-index: 0;
  transition: background .4s ease;
}

.showcase-card {
  position: relative;
  flex: 0 0 230px;
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 24px;
  color: var(--white);
  transition: flex-basis .6s cubic-bezier(.65, 0, .35, 1);
}

.showcase-card > * {
  position: relative;
  z-index: 1;
}

.showcase-card > .showcase-overlay {
  position: absolute;
  z-index: 0;
}

.showcase-label {
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1.3;
  max-width: 100%;
  transition: font-size .6s cubic-bezier(.65, 0, .35, 1), max-width .6s cubic-bezier(.65, 0, .35, 1);
}

.showcase-detail {
  position: absolute;
  left: 24px;
  right: 24px;
  top: 78px;
  max-width: 300px;
  font-size: .9rem;
  line-height: 1.6;
  color: rgba(255,255,255,.85);
  opacity: 0;
  transition: opacity .3s ease;
}

.showcase-arrow-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease, background .25s ease, color .25s ease, transform .25s ease;
}

.showcase-card:hover .showcase-arrow-btn {
  background: var(--white);
  color: var(--black);
  transform: rotate(45deg);
}

/* Whichever card is first in DOM order becomes the featured card — pure CSS, no JS toggling needed.
   Hovering any other card expands it the same way, so its detail text becomes readable. */
.showcase-card:first-child,
.showcase-card:hover {
  flex-basis: 400px;
  padding-bottom: 96px;
}

.showcase-card:first-child .showcase-overlay,
.showcase-card:hover .showcase-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, .35) 0%, rgba(0, 0, 0, .3) 35%, rgba(0, 0, 0, .75) 100%);
}

.showcase-card:first-child .showcase-label,
.showcase-card:hover .showcase-label {
  font-size: 1.5rem;
  max-width: 260px;
}

.showcase-card:first-child .showcase-detail,
.showcase-card:first-child .showcase-arrow-btn,
.showcase-card:hover .showcase-detail,
.showcase-card:hover .showcase-arrow-btn {
  opacity: 1;
  transition-delay: .2s;
}

.showcase-card:first-child .showcase-arrow-btn,
.showcase-card:hover .showcase-arrow-btn {
  pointer-events: auto;
}

/* ---------- Clients ---------- */
.quote-block {
  margin-top: 28px;
  padding: 32px;
  background: var(--gray-50);
  border-left: 4px solid var(--accent);
  border-radius: 6px;
  font-size: 1.05rem;
  color: var(--gray-700);
  max-width: 900px;
}

.client-chips-intro {
  margin-top: 28px;
  color: var(--gray-700);
  font-size: .92rem;
}

.client-chips {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.client-chip {
  padding: 10px 18px;
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  background: var(--gray-50);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  transition: border-color .25s ease, color .25s ease, background .25s ease;
}

.client-chip:hover {
  border-color: var(--accent);
  color: var(--black);
  background: var(--white);
}

.client-marquee {
  margin-top: 44px;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.client-track {
  display: flex;
  gap: 52px;
  width: max-content;
  animation: marquee 28s linear infinite;
}

.client-track span {
  white-space: nowrap;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--gray-400);
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* ---------- Projects timeline ---------- */
.timeline {
  position: relative;
  max-width: 760px;
  margin: 44px auto 0;
}

.timeline-line {
  position: absolute;
  left: 5px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--gray-100);
}

.timeline-line-fill {
  width: 100%;
  height: 0;
  background: var(--accent);
}

.timeline-year {
  margin: 36px 0 18px 32px;
}

.timeline-year:first-child {
  margin-top: 0;
}

.timeline-year-badge {
  display: inline-block;
  background: var(--black);
  color: var(--white);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 16px;
  border-radius: 999px;
}

.timeline-item {
  position: relative;
  margin-left: 32px;
  padding-bottom: 20px;
}

.timeline-dot {
  position: absolute;
  left: -32px;
  top: 10px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
}

.timeline-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 20px 24px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.timeline-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.timeline-card h3 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.timeline-place {
  font-size: .82rem;
  color: var(--gray-400);
  margin-bottom: 8px;
}

.timeline-job {
  font-size: .9rem;
  color: var(--gray-700);
}

@media (max-width:600px) {
  .timeline-card h3 {
    font-size: .95rem;
  }
}

/* ---------- Gallery ---------- */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.filter-pill {
  all: unset;
  box-sizing: border-box;
  padding: 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--gray-100);
  font-family: var(--ff);
  font-size: .85rem;
  font-weight: 500;
  color: var(--gray-700);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.filter-pill:hover {
  border-color: var(--accent);
  color: var(--black);
}

.filter-pill.is-active {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.gallery-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 260px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
}

.gallery-item.span-2 {
  grid-column: span 2;
}

.gallery-item.span-big {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 16px;
  background: linear-gradient(0deg, rgba(0, 0, 0, .75), transparent);
  color: var(--white);
  font-size: .82rem;
  transform: translateY(100%);
  transition: transform .35s ease;
}

.gallery-item:hover figcaption {
  transform: translateY(0);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 40px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 6px;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 32px;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.4rem;
  cursor: pointer;
  line-height: 1;
}

/* ---------- Resources ---------- */
.resource-note {
  margin-top: 18px;
  font-size: .82rem;
  color: var(--gray-400);
  font-style: italic;
}

/* ---------- Resources toggle (Equipment / Manpower spec cards) ---------- */
.res-toggle-wrap {
  text-align: center;
  margin-top: 32px;
}

.res-toggle {
  display: inline-flex;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: 999px;
  padding: 6px;
  gap: 4px;
}

.res-toggle-btn {
  all: unset;
  box-sizing: border-box;
  padding: 12px 28px;
  border-radius: 999px;
  font-family: var(--ff);
  font-size: .9rem;
  font-weight: 600;
  color: var(--gray-700);
  cursor: pointer;
  transition: background .25s ease, color .25s ease;
}

.res-toggle-btn.is-active {
  background: var(--black);
  color: var(--white);
}

.res-panel {
  display: none;
  margin-top: 44px;
}

.res-panel.is-active {
  display: block;
}

.res-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.res-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 24px;
  transition: box-shadow .3s ease, transform .3s ease;
}

.res-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.res-card-qty {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent);
  margin-bottom: 10px;
}

.res-card h3 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.res-card p {
  font-size: .8rem;
  color: var(--gray-400);
}

@media (max-width:960px) {
  .res-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .res-toggle {
    flex-direction: column;
    width: 100%;
  }
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-section p:not(.eyebrow) {
  color: var(--gray-700);
  margin-top: 14px;
  max-width: 480px;
}

.contact-list {
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-list li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 14px;
  font-size: .9rem;
  padding: 10px;
  border-radius: var(--radius);
  transition: background .25s ease;
}

.contact-list li:hover {
  background: var(--gray-50);
}

/* ---------- Trust strip (Contact) ---------- */
.trust-strip {
  background: var(--gray-50);
  border-bottom: 1px solid var(--gray-100);
  padding: 28px 0;
}

.trust-strip-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: .88rem;
  font-weight: 500;
  color: var(--gray-700);
}

.trust-item .icon {
  width: 20px;
  height: 20px;
  color: var(--accent);
  flex-shrink: 0;
}

.contact-list li>div {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-top: 8px;
}

.contact-list strong {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--accent);
}

.contact-list a:hover {
  color: var(--accent);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  background: var(--gray-50);
  padding: 36px;
  border-radius: var(--radius);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--gray-100);
  border-radius: 6px;
  font-family: var(--ff);
  font-size: .92rem;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-soft);
}

.form-error {
  color: #d0342c;
  font-size: .82rem;
  margin-top: -8px;
}

.form-status-success {
  background: #e6f4ea;
  color: #1e7e34;
  padding: 12px 16px;
  border-radius: 6px;
  font-size: .9rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, .8);
  padding: 64px 0 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.footer-col h4 {
  color: var(--white);
  font-size: .92rem;
  font-weight: 600;
  margin-bottom: 18px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand p {
  margin-top: 12px;
  max-width: 280px;
  font-size: .85rem;
  color: rgba(255, 255, 255, .5);
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-nav a {
  font-size: .88rem;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  font-size: .8rem;
  color: rgba(255, 255, 255, .4);
}

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

.footer-credit a {
  color: rgba(255, 255, 255, .7);
  text-decoration: none;
  transition: color .25s ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: var(--accent);
}

@media (max-width:700px) {
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

/* ---------- Reveal base state: content shows immediately, no scroll fade-in animation ---------- */

.hero-v2-title .line {
  opacity: 0;
  transform: translateY(30px);
}

/* ---------- Responsive ---------- */
@media (max-width:960px) {

  .contact-grid,
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-media-main {
    height: 380px;
  }

  .showcase-nav-pill {
    display: none;
  }

  .showcase-card:first-child {
    flex-basis: 300px;
  }

  .showcase-carousel-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .about-agency-top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .feature-panel {
    grid-template-columns: 1fr;
  }

  .feature-col:not(:last-child)::after {
    top: auto;
    bottom: 0;
    right: 18%;
    left: 18%;
    width: auto;
    height: 1px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.span-2 {
    grid-column: span 2;
  }

  .gallery-item.span-big {
    grid-column: span 2;
    grid-row: span 1;
  }

  .hero-counter-grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 32px;
  }
}

@media (max-width:720px) {
  .about-media-inset {
    right: -12px;
    bottom: -12px;
    width: 52%;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(80vw, 320px);
    background: var(--white);
    flex-direction: column;
    padding: 100px 32px;
    gap: 24px;
    transform: translateX(100%);
    transition: transform .35s ease;
    box-shadow: -10px 0 40px rgba(44, 56, 67, .14);
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .nav-toggle {
    display: flex;
  }

  .btn-pill {
    display: none;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }

  .gallery-item.span-2 {
    grid-column: span 1;
  }

  .gallery-item.span-big {
    grid-column: span 1;
    grid-row: span 1;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .hero-v2 {
    padding: 56px 0 0;
  }

  .hero-video-wrap {
    margin-top: 36px;
    height: 52vh;
    min-height: 280px;
  }

  .about-agency-text {
    grid-template-columns: 1fr;
  }

}

/* ---------- Icons ---------- */
.icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

.icon-sm {
  width: 18px;
  height: 18px;
}

.icon-lg {
  width: 32px;
  height: 32px;
}

/* ---------- Nav active state ---------- */
.main-nav a.active {
  color: var(--accent);
}

.main-nav a.active::after {
  width: 100%;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background-color: var(--black);
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgb(37 48 54 / 68%), rgb(37 48 54 / 63%));
}

.page-banner::after {
  content: '';
  position: absolute;
  top: -140px;
  right: -140px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(224, 87, 8, .16), rgba(224, 87, 8, 0) 70%);
}

.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  align-items: center;
  font-size: .82rem;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 16px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.page-banner h1 {
  position: relative;
  z-index: 1;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
}

.page-banner p {
  position: relative;
  z-index: 1;
  color: rgba(255, 255, 255, .7);
  margin-top: 12px;
  max-width: 620px;
}

/* ---------- Section head row (title + view-all link) ---------- */
.section-head-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  flex-wrap: wrap;
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  font-weight: 500;
  font-size: .9rem;
  white-space: nowrap;
}

.section-link .icon {
  transition: transform .25s ease;
}

.section-link:hover .icon {
  transform: translateX(4px);
}

/* ---------- Values row (About): editorial numbered seam-grid ---------- */
.value-row {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.value-item {
  background: var(--white);
  padding: 36px 28px;
  transition: background .3s ease;
}

.value-num {
  display: block;
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--gray-100);
  margin-bottom: 18px;
  transition: color .3s ease;
}

.value-item-icon {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 14px;
}

.value-item h3 {
  font-size: 1.02rem;
  margin-bottom: 8px;
}

.value-item p {
  font-size: .85rem;
  color: var(--gray-700);
  line-height: 1.6;
}

.value-item:hover {
  background: var(--gray-50);
}

.value-item:hover .value-num {
  color: var(--accent-soft);
}

/* ---------- Credential cards (About: Licenses & Certifications) ---------- */
.credential-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.credential-card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  transition: box-shadow .3s ease, transform .3s ease;
}

.credential-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.credential-seal {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.credential-seal .icon {
  width: 28px;
  height: 28px;
}

.credential-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.credential-card p {
  font-size: .88rem;
  color: var(--gray-700);
  line-height: 1.6;
}

/* ---------- Process steps ---------- */
.process-grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

.process-line-fill {
  position: absolute;
  top: 56px;
  left: 12.5%;
  width: 0;
  height: 2px;
  background: var(--accent);
  z-index: 0;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 56px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: var(--gray-100);
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 12px;
}

.process-num {
  font-size: .78rem;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: .1em;
  margin-bottom: 10px;
}

.process-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.process-step h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.process-step p {
  font-size: .85rem;
  color: var(--gray-700);
}

.industries-heading em {
  color: var(--accent);
  font-style: normal;
}

/* ---------- Industries panel: numbered list (Capabilities) ---------- */
.industries-panel {
  margin-top: 44px;
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  overflow: hidden;
}

.industries-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.industries-list-col {
  display: flex;
  flex-direction: column;
}

.industries-list-col:first-child {
  border-right: 1px solid var(--gray-100);
}

.industries-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 28px;
  font-weight: 500;
  border-bottom: 1px solid var(--gray-100);
  transition: background .25s ease;
}

.industries-list-col > .industries-row:last-child {
  border-bottom: none;
}

.industries-row:hover {
  background: var(--gray-50);
}

.industries-num {
  color: var(--accent);
  font-weight: 700;
  font-size: .85rem;
  flex-shrink: 0;
}

/* ---------- Stat icon ---------- */
.stat-icon {
  color: var(--accent);
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
}

/* ---------- Track Record (Home): tab list + preview card ---------- */
.track-panel {
  margin-top: 44px;
  background: var(--gray-50);
  border: 1px solid var(--gray-100);
  border-radius: calc(var(--radius) + 8px);
  padding: 20px;
}

.track-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 24px;
  align-items: stretch;
}

.track-tabs {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.track-tab {
  all: unset;
  box-sizing: border-box;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px 18px 28px;
  border-bottom: 1px solid var(--gray-100);
  font-family: var(--ff);
  font-size: .95rem;
  font-weight: 500;
  color: var(--black);
  cursor: pointer;
  border-radius: var(--radius);
  transition: background .25s ease, box-shadow .25s ease, color .25s ease, transform .25s ease, border-color .25s ease;
}

.track-tab:last-child {
  border-bottom: none;
}

.track-tab::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 50%;
  width: 3px;
  height: 0;
  border-radius: 3px;
  background: var(--accent);
  transform: translateY(-50%);
  transition: height .3s ease;
}

.track-tab:hover {
  background: rgba(255, 255, 255, .6);
}

.track-tab-index {
  flex-shrink: 0;
  font-size: .78rem;
  font-weight: 700;
  color: var(--gray-400);
  transition: color .25s ease;
}

.track-tab-title {
  flex: 1;
  color: var(--gray-400);
  transition: color .25s ease;
}

.track-tab .icon {
  flex-shrink: 0;
  opacity: 0;
  transform: translateX(-4px);
  transition: opacity .25s ease, transform .25s ease;
}

.track-tab.is-active {
  background: var(--white);
  box-shadow: var(--shadow-md);
  border-bottom-color: transparent;
  transform: translateX(4px);
}

.track-tab.is-active::before {
  height: 55%;
}

.track-tab.is-active .track-tab-index,
.track-tab.is-active .track-tab-title {
  color: var(--black);
}

.track-tab.is-active .track-tab-index {
  color: var(--accent);
}

.track-tab.is-active .icon {
  opacity: 1;
  transform: translateX(0);
  color: var(--accent);
}

.track-preview {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  min-height: 420px;
}

.track-preview-img {
  background-size: cover;
  background-position: center;
  transition: opacity .25s ease;
}

.track-preview-body {
  padding: 48px 44px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 14px;
  transition: opacity .25s ease;
}

.track-preview-body .tag {
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.track-preview-body h3 {
  font-size: 1.5rem;
}

.track-preview-body p {
  font-size: .95rem;
  color: var(--gray-700);
  line-height: 1.7;
}

.track-preview-body .section-link {
  margin-top: 4px;
}

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: var(--white);
  padding: 96px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 560px;
  height: 560px;
  transform: translateY(-50%);
  border-radius: 50%;
  background: repeating-radial-gradient(circle, transparent 0, transparent 32px, rgba(255, 255, 255, .12) 33px, rgba(255, 255, 255, .12) 34px);
  pointer-events: none;
}

.cta-banner::before {
  left: -280px;
}

.cta-banner::after {
  right: -280px;
}

.cta-banner .container {
  position: relative;
  z-index: 1;
}

.cta-banner h2 {
  color: var(--white);
  margin: 0 auto 16px;
}

.cta-banner-sub {
  max-width: 560px;
  margin: 0 auto 34px;
  color: rgba(255, 255, 255, .85);
  font-size: 1rem;
  line-height: 1.7;
}

.cta-banner .actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-cta-primary {
  background: var(--white);
  color: var(--accent);
  gap: 8px;
}

.btn-cta-primary:hover {
  background: var(--black);
  color: var(--white);
  transform: translateY(-2px);
}

.cta-banner .btn-outline {
  border-color: rgba(255, 255, 255, .5);
  color: var(--white);
  gap: 8px;
}

.cta-banner .btn-outline:hover {
  background: var(--white);
  color: var(--accent);
}

/* ---------- Contact icon list ---------- */
.contact-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: var(--gray-50);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---------- Map embed ---------- */
.map-embed {
  margin-top: 40px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-embed iframe {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

/* ---------- Footer quick contact ---------- */
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: .85rem;
  color: rgba(255, 255, 255, .6);
}

.footer-contact .icon {
  color: var(--accent);
}

/* ---------- Gallery zoom overlay ---------- */
.gallery-item .zoom-icon {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(4px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(.8);
  transition: all .3s ease;
}

.gallery-item:hover .zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* ---------- Lightbox close icon ---------- */
.lightbox-close .icon {
  width: 28px;
  height: 28px;
}

@media (max-width:960px) {

  .value-row,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .track-grid {
    grid-template-columns: 1fr;
  }

  .track-preview {
    grid-template-columns: 1fr;
  }

  .track-preview-img {
    min-height: 240px;
  }

  .process-grid::before,
  .process-line-fill {
    display: none;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:720px) {

  .value-row,
  .process-grid,
  .credential-grid {
    grid-template-columns: 1fr;
  }

  .industries-list {
    grid-template-columns: 1fr;
  }

  .industries-list-col:first-child {
    border-right: none;
    border-bottom: 1px solid var(--gray-100);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .section-head-row {
    flex-direction: column;
    align-items: flex-start;
  }
}