/* Brand colors + logos: red accent kit lives in assets/red accent logo/ */

@font-face {
  font-family: "Plus Jakarta Sans";
  src: url("../assets/fonts/plus-jakarta-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* logo hex from brand file */
  --brand-charcoal: #231f20;
  --rgb-charcoal: 35, 31, 32;

  /* red accent: matches assets/red accent logo */
  --brand-accent: #c41e28;
  --rgb-accent: 196, 30, 40;
  --accent: var(--brand-accent);
  --accent-hover: #e03a45;
  --accent-muted: rgba(196, 30, 40, 0.12);

  /* nav/footer: clearly lighter slate so the bar reads open */
  --bg-chrome: #8795ae;
  --bg-chrome-footer: #758599;
  --rgb-chrome: 135, 149, 174;
  --rgb-chrome-footer: 117, 133, 153;
  --border-chrome: rgba(255, 255, 255, 0.28);

  /* page floors: big step up from near-black; still cool charcoal */
  --bg-deep: #2a2624;
  --bg-panel: #34312e;
  --bg-elevated: #3f3c38;
  --border-subtle: rgba(255, 255, 255, 0.14);
  --text-primary: #faf8f6;
  --text-muted: #cbc6c1;
  --danger: #ff6b6b;
  --focus-ring: 2px solid var(--accent);
  --focus-offset: 2px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-soft: 0 20px 56px rgba(0, 0, 0, 0.28);
  --font-sans: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --container: min(1120px, calc(100% - 2.5rem));
  --header-h: 72px;
}

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

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-primary);
  background: var(--bg-deep);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* skip link: first tab stop */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 9999;
  padding: 0.75rem 1.25rem;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  left: 1rem;
  top: 1rem;
  width: auto;
  height: auto;
  overflow: visible;
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* screen-reader-only helper */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

:focus:not(:focus-visible) {
  outline: none;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

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

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

.container {
  width: var(--container);
  margin-inline: auto;
}

/* ----- header ----- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: block;
  border-bottom: 1px solid var(--border-chrome);
  background: linear-gradient(
    180deg,
    rgba(var(--rgb-chrome), 0.98) 0%,
    rgba(var(--rgb-chrome-footer), 0.99) 100%
  );
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.2);
}

.header-inner {
  width: var(--container);
  margin-inline: auto;
  align-items: center;
  gap: 1rem;
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 879px) {
  .header-inner {
    display: flex;
    justify-content: space-between;
  }

  .nav-desktop {
    display: none;
  }
}

@media (min-width: 880px) {
  /* Nav centered in the bar; logo + CTA stay at edges (grid equal-fr was still off when logo wider than CTA) */
  .header-inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  .nav-desktop {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    display: block;
    z-index: 1;
    white-space: nowrap;
  }

  .logo,
  .header-cta {
    position: relative;
    z-index: 2;
  }

  .header-cta {
    display: inline-flex;
  }
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.logo picture {
  display: block;
}

.site-logo {
  display: block;
  height: clamp(30px, 3.8vw, 38px);
  width: auto;
  max-width: min(220px, 58vw);
  object-fit: contain;
  object-position: left center;
  filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
}

.site-footer .site-logo {
  height: clamp(34px, 4vw, 42px);
  max-width: min(260px, 85vw);
}

.nav-desktop ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.25rem;
}

.nav-desktop a {
  display: block;
  padding: 0.5rem 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: var(--radius-sm);
}

.nav-desktop a:hover,
.nav-desktop a[aria-current="page"] {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.12);
}

.header-cta {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.25rem;
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-family: inherit;
  line-height: 1.2;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

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

.btn-ghost {
  background: transparent;
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-ghost:hover {
  border-color: rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.04);
}

/* mobile nav: hamburger only <880px; a global display:inline-flex here was overriding the desktop breakpoint */
.nav-toggle {
  display: none;
}

@media (max-width: 879px) {
  .nav-toggle {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-subtle);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 2;
  }

  .nav-toggle-icon {
    width: 22px;
    height: 16px;
    position: relative;
  }

  .nav-toggle-icon span {
    display: block;
    height: 2px;
    background: currentColor;
    border-radius: 1px;
    position: absolute;
    left: 0;
    right: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }

  .nav-toggle-icon span:nth-child(1) {
    top: 0;
  }

  .nav-toggle-icon span:nth-child(2) {
    top: 7px;
  }

  .nav-toggle-icon span:nth-child(3) {
    bottom: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] .nav-toggle-icon span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
}

.mobile-drawer {
  position: fixed;
  top: var(--header-h);
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100dvh - var(--header-h));
  background: linear-gradient(
    165deg,
    rgba(var(--rgb-chrome), 0.99) 0%,
    rgba(var(--rgb-chrome-footer), 1) 100%
  );
  backdrop-filter: blur(14px);
  padding: 1.25rem;
  padding-bottom: max(1.25rem, env(safe-area-inset-bottom, 0px));
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.25s ease, visibility 0.25s;
  z-index: 150;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.mobile-drawer[data-open="true"] {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

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

.mobile-drawer a {
  display: block;
  padding: 1rem 0.75rem;
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 1px solid var(--border-chrome);
}

.mobile-drawer a[aria-current="page"] {
  color: var(--accent);
}

.mobile-drawer .btn {
  margin-top: 1.25rem;
  width: 100%;
}

@media (min-width: 880px) {
  .mobile-drawer {
    display: none;
  }
}

/* ----- hero / sections ----- */
.hero {
  position: relative;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(4rem, 10vw, 7rem);
  overflow: hidden;
}

.hero:not(.hero--media)::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(196, 30, 40, 0.15), transparent 55%),
    radial-gradient(ellipse 55% 45% at 12% 100%, rgba(255, 255, 255, 0.07), transparent 50%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: var(--container);
  margin-inline: auto;
  z-index: 1;
}

.hero--media {
  min-height: min(88vh, 880px);
  padding: clamp(5rem, 14vw, 9rem) 0 clamp(4rem, 10vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-visual picture,
.hero-visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-visual img {
  object-fit: cover;
  object-position: center;
}

.hero-visual__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    188deg,
    rgba(var(--rgb-charcoal), 0.28) 0%,
    rgba(var(--rgb-charcoal), 0.42) 42%,
    rgba(var(--rgb-charcoal), 0.65) 76%,
    rgba(var(--rgb-charcoal), 0.74) 100%
  );
}

.hero--media .hero-lead {
  color: rgba(215, 222, 236, 0.94);
}

.hero--media .stat span {
  color: rgba(176, 184, 204, 0.92);
}

.hero-stats {
  margin-top: 2.5rem;
  padding: 1.2rem 1.25rem 1.2rem;
  border-radius: var(--radius-md);
  background: rgba(var(--rgb-charcoal), 0.28);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.09);
}

/* even columns + centered type: auto-fit grid was leaving odd gutters */
.hero-stats .stat-row {
  margin: 0;
  padding: 1.15rem 0 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  text-align: center;
  align-items: start;
}

.hero-stats .stat {
  padding: 0.35rem 0.35rem;
}

@media (max-width: 640px) {
  .hero-stats .stat-row {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 0.35rem;
  }

  .hero-stats .stat {
    padding: 0.65rem 0;
  }

  .hero-stats .stat:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.trust-strip {
  margin: clamp(1.35rem, 3vw, 1.85rem) 0 0;
  padding: 0.65rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.5;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.25rem;
  max-width: 62rem;
  color: rgba(210, 218, 232, 0.9);
}

.hero--media .trust-strip {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.45);
}

.trust-strip__item {
  white-space: nowrap;
}

.trust-strip__sep {
  color: rgba(255, 255, 255, 0.35);
  user-select: none;
}

@media (max-width: 520px) {
  .trust-strip__item {
    white-space: normal;
  }
}

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

/* red-on-photo was washing out; keep the accent as a stripe, not the fill color */
.hero--media .hero-eyebrow {
  color: rgba(245, 247, 252, 0.97);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.85),
    0 0 18px rgba(0, 0, 0, 0.35);
  padding-left: 0.65rem;
  border-left: 3px solid var(--accent);
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  max-width: 18ch;
  text-wrap: balance;
}

.hero-lead {
  margin: 0 0 2rem;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-muted);
  max-width: 52ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.stat {
  padding: 0.75rem 0;
}

.stat strong {
  display: block;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.stat span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.section {
  padding: clamp(3.75rem, 7.5vw, 5.75rem) 0;
}

.section-alt {
  background: var(--bg-panel);
  border-block: 1px solid var(--border-subtle);
}

/* “What we do”: same floor as the page so it doesn’t read like a random gray ribbon after the hero */
.section-what {
  background: var(--bg-deep);
  border-block: none;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  padding-top: clamp(4rem, 9vw, 6rem);
  padding-bottom: clamp(3.5rem, 7vw, 5.5rem);
}

/* one column: intro + cards share width so edges line up (720px cap was fighting the grid) */
.section-what-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(1.15rem, 2.4vw, 1.65rem);
}

.section-what .section-head {
  margin-bottom: 0;
  max-width: none;
  width: 100%;
}

.section-what .section-head p {
  max-width: 62ch;
}

.section-what .card-grid {
  width: 100%;
  margin-inline: 0;
}

.section-what .card {
  background: rgba(62, 58, 55, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-left: 3px solid rgba(196, 30, 40, 0.55);
  box-shadow:
    0 12px 36px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

@media (prefers-reduced-motion: no-preference) {
  .section-what .card:hover {
    transform: translateY(-2px);
    border-top-color: rgba(255, 255, 255, 0.14);
    border-right-color: rgba(255, 255, 255, 0.14);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    border-left-color: rgba(196, 30, 40, 0.9);
    box-shadow:
      0 18px 44px rgba(0, 0, 0, 0.38),
      inset 0 1px 0 rgba(255, 255, 255, 0.05),
      0 0 0 1px rgba(196, 30, 40, 0.06);
  }

  .section-what .card:focus-within {
    border-top-color: rgba(255, 255, 255, 0.14);
    border-right-color: rgba(255, 255, 255, 0.14);
    border-bottom-color: rgba(255, 255, 255, 0.14);
    border-left-color: rgba(196, 30, 40, 0.9);
  }
}

.section-head {
  width: var(--container);
  margin-inline: auto;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  max-width: 720px;
}

.section-head h2 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.section-kicker {
  margin: 0 0 0.45rem;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.section-head p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.section-stack {
  width: var(--container);
  margin-inline: auto;
}

.section-head--wide {
  max-width: none;
  width: 100%;
}

.card-grid--balanced {
  align-items: stretch;
}

.card-grid--balanced .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-grid--balanced .card p:last-of-type {
  flex-grow: 1;
}

.card-grid--dense {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.card-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

/* fixed 2×2 (override auto-fit: avoids 3+1 ragged rows with four cards) */
.card-grid.card-grid--2x2 {
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .card-grid.card-grid--2x2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow-soft);
}

@media (prefers-reduced-motion: no-preference) {
  .card {
    transition:
      transform 0.22s ease,
      border-color 0.22s ease,
      box-shadow 0.22s ease;
  }

  .card:hover {
    transform: translateY(-4px);
    border-color: rgba(196, 30, 40, 0.28);
    box-shadow:
      0 28px 64px rgba(0, 0, 0, 0.55),
      0 0 0 1px rgba(196, 30, 40, 0.08);
  }

  .card:focus-within {
    border-color: rgba(196, 30, 40, 0.35);
  }
}

.card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.card-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.9rem;
}

/* toned-down inline links on dark cards: global `a` is full accent */
.section-what a.card-link {
  color: var(--text-muted);
  text-decoration: none;
  border-bottom: 1px solid rgba(196, 30, 40, 0.35);
  text-underline-offset: 0;
}

.section-what a.card-link:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
}

.section-what a.card-link:focus-visible {
  outline: var(--focus-ring);
  outline-offset: 3px;
  border-radius: 2px;
}

/* placeholder “photo coming later” blocks */
.media-placeholder {
  aspect-ratio: 16 / 10;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.04), transparent),
    var(--bg-elevated);
  display: grid;
  place-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  text-align: center;
  padding: 1rem;
}

.media-placeholder:focus-within {
  outline: var(--focus-ring);
  outline-offset: 4px;
}

/* real photos: sits where placeholders used to */
.media-frame {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow:
    var(--shadow-soft),
    0 0 0 1px rgba(255, 255, 255, 0.06);
}

.media-frame img {
  width: 100%;
  height: auto;
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .media-frame img {
    transition: transform 0.4s ease;
  }

  .split-media:hover .media-frame img {
    transform: scale(1.025);
  }
}

.split {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1fr 1fr;
    gap: 3.5rem;
  }

  .split.reverse .split-copy {
    order: 2;
  }

  .split.reverse .split-media {
    order: 1;
  }
}

.section-industries {
  width: var(--container);
  margin-inline: auto;
}

.section-industries .section-head {
  max-width: none;
  width: 100%;
  margin-bottom: clamp(1.35rem, 3vw, 2rem);
}

.section-industries .section-head p {
  max-width: 62ch;
}

.section-industries .industry-strip {
  width: 100%;
  margin-inline: 0;
}

.industry-strip {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.07);
  color: rgba(244, 243, 242, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: no-preference) {
  .chip:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(196, 30, 40, 0.5);
  }
}

.cta-band {
  padding: clamp(3rem, 6vw, 4.5rem) 0;
  background:
    linear-gradient(135deg, rgba(196, 30, 40, 0.09) 0%, transparent 42%),
    linear-gradient(118deg, var(--bg-elevated) 0%, #4a4743 48%, #54514c 100%);
  border-block: 1px solid var(--border-subtle);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cta-inner {
  width: var(--container);
  margin-inline: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}

.cta-inner h2 {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2rem);
  max-width: 20ch;
  text-wrap: balance;
}

.cta-inner p {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
  max-width: 46ch;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

.cta-inner .cta-actions {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .cta-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-inner .cta-actions {
    width: 100%;
  }

  .cta-inner .cta-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- footer ----- */
.site-footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--border-chrome);
  background: linear-gradient(
    180deg,
    rgba(var(--rgb-chrome-footer), 0.94) 0%,
    rgba(var(--rgb-chrome-footer), 1) 55%,
    rgba(96, 108, 126, 1) 100%
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.footer-grid {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.footer-brand p {
  margin: 0.75rem 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

@media (max-width: 639px) {
  .site-footer {
    text-align: center;
  }

  .footer-grid {
    justify-items: center;
  }

  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-inline: 0.35rem;
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
  }

  .footer-brand .logo {
    justify-content: center;
  }

  .footer-brand .site-logo {
    height: clamp(38px, 11vw, 46px);
    max-width: min(288px, 92vw);
    margin-inline: auto;
    object-position: center center;
  }

  .footer-brand p {
    max-width: 34rem;
    margin-inline: auto;
    text-wrap: balance;
  }

  .footer-col {
    width: 100%;
    max-width: 26rem;
    margin-inline: auto;
  }

  .footer-col ul {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .footer-col li {
    width: 100%;
    text-align: center;
  }

  .footer-col a {
    display: inline-block;
  }

  .footer-col .footer-address,
  .footer-mailing {
    text-align: center;
  }

  .footer-bottom {
    align-items: center;
    text-align: center;
    padding-inline: 0.5rem;
  }

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

  .footer-bottom__compliance {
    justify-content: center;
    text-align: center;
  }
}

.footer-col h3 {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

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

.footer-col li {
  margin-bottom: 0.45rem;
}

.footer-col a {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
}

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

.footer-bottom {
  width: var(--container);
  margin-inline: auto;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-chrome);
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: rgba(228, 232, 240, 0.88);
}

.footer-bottom__primary {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-bottom__compliance {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(228, 232, 240, 0.92);
}

.footer-bottom__compliance a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-bottom__compliance a:hover {
  color: #fff;
}

.footer-bottom__sep {
  opacity: 0.55;
}

/* ----- inner pages ----- */
.page-hero {
  padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-panel);
}

.page-hero-inner {
  width: var(--container);
  margin-inline: auto;
}

.page-hero h1 {
  margin: 0 0 0.75rem;
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  letter-spacing: -0.02em;
  text-wrap: balance;
}

.page-hero p {
  margin: 0;
  color: var(--text-muted);
  max-width: 62ch;
  font-size: 1.05rem;
}

.page-hero--media {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-bottom: 1px solid var(--border-subtle);
  background: var(--bg-panel);
  min-height: clamp(300px, 44vw, 460px);
  display: flex;
  align-items: flex-end;
}

.page-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.page-hero__visual picture,
.page-hero__visual img {
  width: 100%;
  height: 100%;
  display: block;
}

.page-hero__visual img {
  object-fit: cover;
  object-position: center;
}

/* contact hero: office photo is sky-heavy at center; bias toward ground/building */
.contact-page .page-hero__visual img {
  object-position: center 78%;
}

@media (max-width: 639px) {
  .contact-page .page-hero__visual img {
    object-position: center 82%;
  }
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    rgba(var(--rgb-charcoal), 0.76) 18%,
    rgba(var(--rgb-charcoal), 0.44) 58%,
    rgba(var(--rgb-charcoal), 0.22) 100%
  );
}

.page-hero--media .page-hero-inner {
  position: relative;
  z-index: 1;
  padding: clamp(3rem, 8vw, 5rem) 0 clamp(2.25rem, 5vw, 3.5rem);
}

.service-detail {
  width: var(--container);
  margin-inline: auto;
  max-width: 720px;
}

.service-detail + .service-detail {
  margin-top: 3rem;
  padding-top: 3rem;
  border-top: 1px solid var(--border-subtle);
}

.service-detail h2 {
  margin: 0 0 0.75rem;
  font-size: 1.45rem;
}

.service-detail p {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.service-detail ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--text-muted);
}

.service-detail li + li {
  margin-top: 0.35rem;
}

/* ----- photos page: editorial showcase (bento grid) ----- */
.photos-page .page-hero,
.photos-page .page-hero--photos-intro {
  border-bottom: none;
}

.photos-page .page-hero--photos-intro {
  background: linear-gradient(180deg, var(--bg-panel) 0%, #1c1917 100%);
}

.photos-showcase {
  padding: 0 0 clamp(3rem, 8vw, 5.5rem);
  background: #0f0e0d;
}

.photos-showcase__shell {
  position: relative;
  width: min(1180px, calc(100% - clamp(1.25rem, 5vw, 2.5rem)));
  margin-inline: auto;
  padding: clamp(2.25rem, 5vw, 3.75rem) clamp(1.25rem, 4vw, 2.25rem);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.07);
  background:
    radial-gradient(ellipse 95% 65% at 88% -5%, rgba(var(--rgb-accent), 0.14), transparent 52%),
    radial-gradient(ellipse 75% 55% at 5% 105%, rgba(var(--rgb-accent), 0.07), transparent 50%),
    linear-gradient(168deg, #171514 0%, #11100f 48%, #0c0b0a 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.055),
    0 36px 96px rgba(0, 0, 0, 0.48);
  overflow: hidden;
}

/* soft vignette + depth — keeps the red glow from reading flat */
.photos-showcase__shell::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse 110% 85% at 50% 120%, rgba(0, 0, 0, 0.55), transparent 58%),
    radial-gradient(ellipse 90% 70% at 50% -15%, rgba(255, 255, 255, 0.04), transparent 42%);
  pointer-events: none;
  z-index: 0;
}

.photos-showcase__intro {
  position: relative;
  z-index: 1;
  margin: 0 0 clamp(1.85rem, 4.5vw, 2.75rem);
  max-width: 44rem;
}

.photos-showcase__eyebrow {
  margin: 0 0 0.45rem;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(var(--rgb-accent), 0.95);
}

.photos-showcase__intro h2 {
  margin: 0 0 0.65rem;
  font-size: clamp(1.7rem, 3.8vw, 2.45rem);
  font-weight: 750;
  letter-spacing: -0.035em;
  line-height: 1.12;
  color: var(--text-primary);
}

.photos-showcase__lede {
  margin: 0;
  font-size: clamp(1rem, 1.9vw, 1.08rem);
  line-height: 1.62;
  color: #a8a29e;
  max-width: 42ch;
}

.photos-showcase__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(0.7rem, 2vw, 1rem);
  grid-template-columns: 1fr;
}

.showcase-card {
  position: relative;
  margin: 0;
  padding: 0;
  border: none;
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms),
    transform 0.62s cubic-bezier(0.22, 1, 0.36, 1) var(--reveal-delay, 0ms);
}

.showcase-card.is-revealed {
  opacity: 1;
  transform: translateY(0);
}

.showcase-card__inner {
  position: relative;
  z-index: 0;
  height: 100%;
  border-radius: clamp(11px, 1.4vw, 15px);
  border: 1px solid rgba(255, 255, 255, 0.11);
  background: linear-gradient(165deg, rgba(255, 255, 255, 0.045) 0%, rgba(255, 255, 255, 0.012) 100%);
  box-shadow:
    0 16px 40px rgba(0, 0, 0, 0.38),
    inset 0 1px 0 rgba(255, 255, 255, 0.09);
  overflow: hidden;
  transition:
    box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.4s ease,
    transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.showcase-card__media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #1a1816;
}

.showcase-card--hero .showcase-card__media {
  aspect-ratio: 16 / 11;
  min-height: clamp(260px, 42vw, 460px);
}

.showcase-card--wide .showcase-card__media {
  aspect-ratio: 21 / 9;
  min-height: clamp(180px, 22vw, 240px);
}

.showcase-card__media picture {
  display: block;
  height: 100%;
  line-height: 0;
}

.showcase-card__media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform: scale(1.001);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  vertical-align: bottom;
}

.showcase-card__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      195deg,
      rgba(0, 0, 0, 0.08) 0%,
      transparent 42%,
      transparent 58%,
      rgba(0, 0, 0, 0.72) 100%
    ),
    radial-gradient(ellipse 95% 75% at 18% 108%, rgba(var(--rgb-accent), 0.14), transparent 58%);
  opacity: 0.97;
  transition: opacity 0.45s ease;
}

.showcase-card__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  margin: 0;
  padding: 1.25rem 1rem 0.9rem;
  border-radius: 0 0 clamp(11px, 1.4vw, 15px) clamp(11px, 1.4vw, 15px);
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.78) 0%,
    rgba(0, 0, 0, 0.35) 55%,
    transparent 100%
  );
}

.showcase-card__caption-text {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
  transform: translateY(0);
  opacity: 1;
  transition:
    transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.45s ease;
}

@media (min-width: 640px) {
  .photos-showcase__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .showcase-card--hero {
    grid-column: 1 / -1;
  }

  .showcase-card--wide {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1024px) {
  .photos-showcase__grid {
    grid-template-columns: repeat(8, minmax(0, 1fr));
    grid-auto-rows: minmax(0, auto);
    gap: 0.95rem;
    align-items: stretch;
  }

  .showcase-card {
    grid-column: span 2;
  }

  .showcase-card--hero {
    grid-column: 1 / span 4;
    grid-row: span 2;
  }

  .showcase-card--wide {
    grid-column: span 4;
  }
}

@media (hover: hover) and (pointer: fine) {
  .showcase-card.is-revealed .showcase-card__inner {
    transition:
      box-shadow 0.5s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.4s ease,
      transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .showcase-card.is-revealed:hover .showcase-card__inner,
  .showcase-card.is-revealed:focus-within .showcase-card__inner {
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow:
      0 28px 64px rgba(0, 0, 0, 0.52),
      0 0 0 1px rgba(var(--rgb-accent), 0.22),
      inset 0 1px 0 rgba(255, 255, 255, 0.11);
    transform: translateY(-3px);
  }

  .showcase-card.is-revealed:hover .showcase-card__media img,
  .showcase-card.is-revealed:focus-within .showcase-card__media img {
    transform: scale(1.035);
  }

  .showcase-card.is-revealed:hover .showcase-card__overlay,
  .showcase-card.is-revealed:focus-within .showcase-card__overlay {
    opacity: 1;
  }

  .showcase-card.is-revealed:hover .showcase-card__caption-text,
  .showcase-card.is-revealed:focus-within .showcase-card__caption-text {
    transform: translateY(-2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-card {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .showcase-card__media img {
    transform: none !important;
    transition: none;
  }

  .showcase-card__inner {
    transition: box-shadow 0.25s ease !important;
  }

  .showcase-card__caption-text {
    transition: none;
  }

  @media (hover: hover) and (pointer: fine) {
    .showcase-card.is-revealed:hover .showcase-card__inner,
    .showcase-card.is-revealed:focus-within .showcase-card__inner {
      transform: none;
    }

    .showcase-card.is-revealed:hover .showcase-card__caption-text,
    .showcase-card.is-revealed:focus-within .showcase-card__caption-text {
      transform: none;
    }
  }
}

/* ----- contact form ----- */
.form-layout {
  width: var(--container);
  margin-inline: auto;
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 880px) {
  .form-layout {
    grid-template-columns: 1fr 1.1fr;
    align-items: start;
  }
}

.contact-panel {
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.contact-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.25rem;
}

.contact-panel dl {
  margin: 0;
}

.contact-panel dt {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 1rem;
}

.contact-panel dt:first-child {
  margin-top: 0;
}

.contact-panel dd {
  margin: 0.25rem 0 0;
}

.contact-panel a {
  word-break: break-word;
}

.contact-address {
  font-style: normal;
  margin: 0;
  color: var(--text-primary);
  font-size: 1rem;
  line-height: 1.5;
}

.maps-link {
  margin: 0.75rem 0 0;
}

.maps-link a {
  font-size: 0.92rem;
}

.footer-col .footer-address {
  color: var(--text-primary);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-mailing {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-chrome);
  font-size: 0.95rem;
  line-height: 1.45;
}

.footer-mailing__label {
  display: block;
  margin-bottom: 0.35rem;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
}

.form-fields {
  display: grid;
  gap: 1rem;
}

label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

input,
textarea,
select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-family: inherit;
  font-size: 1rem;
}

input:hover,
textarea:hover,
select:hover {
  border-color: rgba(255, 255, 255, 0.18);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.field-error {
  margin-top: 0.35rem;
  font-size: 0.85rem;
  color: var(--danger);
  display: none;
}

.field-error[data-visible="true"] {
  display: block;
}

.form-status {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  display: none;
}

.form-status[data-live] {
  display: block;
}

.form-status.success {
  background: rgba(80, 200, 120, 0.15);
  border: 1px solid rgba(80, 200, 120, 0.35);
  color: #b8f0c8;
}

.form-status.error {
  background: rgba(255, 80, 80, 0.12);
  border: 1px solid rgba(255, 107, 107, 0.35);
  color: #ffc9c9;
}

/* prose helpers so we’re not sprinkling inline styles in markup */
.copy-muted {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.copy-muted:last-child {
  margin-bottom: 0;
}

.flush-top {
  margin-top: 0;
}

.placeholder-hint {
  display: block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
}

.stat-row {
  margin: 2.5rem 0 0;
  padding: 2rem 0 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.industry-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
