/* Homepage polish — Compunnel-inspired depth, motion (respects prefers-reduced-motion) */

body.home-page {
  --home-radius: 6px;
}

/* ——— Premium hero ——— */

.hero.hero--premium {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: min(88vh, 820px);
  display: flex;
  flex-direction: column;
  justify-content: stretch;
  background: #070d18;
  /* Prevent 1px seam or photo “bleed” between hero and next section */
  margin-bottom: -2px;
  padding-bottom: 2px;
  box-sizing: border-box;
}

.hero__mesh {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
  background: radial-gradient(ellipse 100% 80% at 15% 20%, rgba(30, 143, 90, 0.35), transparent 55%),
    radial-gradient(ellipse 90% 70% at 85% 10%, rgba(199, 92, 40, 0.28), transparent 50%),
    radial-gradient(ellipse 60% 50% at 50% 100%, rgba(22, 67, 110, 0.4), transparent 55%);
  animation: iqMeshPulse 22s ease-in-out infinite alternate;
}

@keyframes iqMeshPulse {
  0% {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(1.06) translate(-1%, 1%);
    opacity: 0.65;
  }
}

.hero__grid-noise {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.hero.hero--premium .hero__inner.hero-carousel {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0 0 4.5rem;
  min-height: min(88vh, 820px);
}

.hero.hero--premium .hero-slide {
  display: none;
  position: relative;
  flex: 1;
  align-items: center;
  align-self: stretch;
  width: 100%;
  min-height: min(88vh, 820px);
  overflow: hidden;
  isolation: isolate;
}

.hero.hero--premium .hero-slide.is-active {
  display: flex;
}

.hero-slide__bg {
  position: absolute;
  inset: -4px;
  z-index: 0;
  background-size: cover;
  background-position: center;
  background-color: #0c1526;
  transform-origin: center center;
  backface-visibility: hidden;
}

/* Shimmer while WebP hero is loading */
.hero-slide__bg:not([data-bg-loaded]) {
  background-size: 200% 100%;
  background-image: linear-gradient(
    105deg,
    #121c2e 0%,
    #1c2d4a 35%,
    #243a5c 50%,
    #1c2d4a 65%,
    #121c2e 100%
  );
  animation: iqShimmer 2.2s ease-in-out infinite;
}

@keyframes iqShimmer {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.hero-slide__bg[data-bg-loaded] {
  transform: scale(1.02);
  animation: iqKenBurns 24s ease-in-out infinite alternate;
}

.hero-slide:not(.is-active) .hero-slide__bg[data-bg-loaded] {
  animation-play-state: paused;
}

.hero-slide.is-active .hero-slide__bg[data-bg-loaded] {
  animation-play-state: running;
}

@keyframes iqKenBurns {
  0% {
    transform: scale(1.03) translate(0, 0);
  }
  100% {
    transform: scale(1.1) translate(-1.5%, -0.5%);
  }
}

.hero-slide__scrim {
  position: absolute;
  inset: -2px;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
      to bottom,
      transparent 0%,
      transparent 42%,
      rgba(6, 11, 22, 0.88) 82%,
      rgba(4, 8, 16, 0.98) 100%
    ),
    linear-gradient(
      105deg,
      rgba(6, 11, 22, 0.94) 0%,
      rgba(6, 11, 22, 0.72) 42%,
      rgba(15, 36, 52, 0.45) 72%,
      rgba(30, 143, 90, 0.12) 100%
    ),
    linear-gradient(180deg, rgba(6, 11, 22, 0.35) 0%, rgba(6, 11, 22, 0.92) 100%);
}

.hero-slide__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: min(44rem, 100%);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 1rem;
}

.hero.hero--premium .hero-eyebrow {
  color: #ffb088;
  letter-spacing: 0.14em;
}

.hero.hero--premium h1 {
  max-width: 42rem;
  font-size: clamp(2rem, 4.5vw, 3.05rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.08;
  text-shadow: 0 2px 40px rgba(0, 0, 0, 0.35);
}

.hero.hero--premium .hero-lead {
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  max-width: 38rem;
  line-height: 1.65;
}

.hero-carousel__controls {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: 1.25rem;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.65rem;
  width: 100%;
  max-width: var(--max-width);
  padding: 0 1.25rem;
  pointer-events: none;
}

.hero-carousel__controls > * {
  pointer-events: auto;
}

@media (min-width: 768px) {
  .hero-carousel__controls {
    bottom: 1.75rem;
  }
}

.hero-arrow {
  width: 2.5rem;
  height: 2.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: background 0.2s, border-color 0.2s;
}

.hero-arrow:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.45);
}

.hero-arrow svg {
  width: 1.1rem;
  height: 1.1rem;
  display: block;
}

.hero.hero--premium .hero-dots {
  margin-right: auto;
  align-items: center;
  padding-left: 0;
}

.hero.hero--premium .hero-dots button {
  width: 0.45rem;
  height: 0.45rem;
  opacity: 0.55;
  transition: opacity 0.2s, transform 0.2s;
}

.hero.hero--premium .hero-dots button[aria-selected="true"] {
  opacity: 1;
  transform: scale(1.35);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.15);
}

@media (prefers-reduced-motion: reduce) {
  .hero__mesh,
  .hero-slide__bg,
  .hero-slide__bg:not([data-bg-loaded]),
  .hero-slide__bg[data-bg-loaded],
  .hero-slide.is-active .hero-slide__bg {
    animation: none !important;
  }

  .hero-slide__bg[data-bg-loaded] {
    transform: none;
  }
}

/* ——— Value proposition band ——— */

.value-prop {
  position: relative;
  z-index: 2;
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-border);
  /* Pull up over any subpixel gap under hero */
  margin-top: -2px;
  padding-top: calc(3.25rem + 2px);
}

.value-prop__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem 3.5rem;
  text-align: center;
}

.value-prop__label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: 0.75rem;
}

.value-prop h2 {
  margin: 0 auto 1rem;
  max-width: 52rem;
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--color-hero);
}

.value-prop p {
  margin: 0 auto;
  max-width: 46rem;
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.65;
}

/* ——— Stat strip premium ——— */

.stat-strip.stat-strip--premium {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-color: var(--color-border);
}

.stat-strip.stat-strip--premium .stat-strip__inner {
  gap: 1.5rem 1rem;
  padding: 2rem 1.25rem;
}

.stat-item--rich {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  padding: 0.25rem 0;
}

.stat-item__icon {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--home-radius);
  background: linear-gradient(145deg, rgba(30, 143, 90, 0.12), rgba(30, 143, 90, 0.04));
  border: 1px solid rgba(30, 143, 90, 0.2);
  color: var(--color-accent-green);
}

.stat-item__icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.stat-item__text strong {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.stat-item__text span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}

/* ——— Delivery pillars (Total-Experience style) ——— */

.section--pillars {
  background: var(--color-surface-alt);
}

.pillars-grid {
  display: grid;
  gap: 1rem;
}

@media (min-width: 768px) {
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pillars-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.pillar-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--home-radius);
  padding: 1.5rem 1.35rem;
  box-shadow: 0 4px 24px rgba(15, 23, 41, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.2s;
}

.pillar-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 23, 41, 0.1);
  border-color: rgba(30, 143, 90, 0.35);
}

.pillar-card__icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--home-radius);
  background: var(--color-surface-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--color-hero);
}

.pillar-card__icon svg {
  width: 1.35rem;
  height: 1.35rem;
}

.pillar-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
}

.pillar-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

/* ——— Logo marquee ——— */

.logo-marquee-wrap {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.logo-marquee-wrap__head {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.logo-marquee {
  display: flex;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.logo-marquee__track {
  display: flex;
  align-items: center;
  gap: 3rem;
  padding: 1.25rem 1.25rem 1.75rem;
  animation: iqMarquee 36s linear infinite;
  white-space: nowrap;
}

@keyframes iqMarquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.logo-marquee__item {
  font-size: 0.95rem;
  font-weight: 700;
  color: #9aa3b2;
  letter-spacing: 0.04em;
}

@media (prefers-reduced-motion: reduce) {
  .logo-marquee__track {
    animation: none;
    justify-content: center;
    flex-wrap: wrap;
    white-space: normal;
    transform: none;
  }
}

/* ——— Case carousel ——— */

.section-head--row {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

@media (min-width: 768px) {
  .section-head--row {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
  }
}

.case-carousel {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 0.5rem;
  align-items: center;
}

.case-carousel__viewport {
  overflow: hidden;
  border-radius: var(--home-radius);
}

.case-carousel__track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 0.25rem 0 1rem;
  scrollbar-width: thin;
}

.case-card {
  flex: 0 0 min(100%, 340px);
  scroll-snap-align: start;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--home-radius);
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 41, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.case-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 48px rgba(15, 23, 41, 0.12);
}

.case-card__media {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.case-card__body {
  padding: 1.25rem 1.25rem 1.35rem;
}

.case-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.3;
}

.case-card__body h3 a {
  color: var(--color-text);
  text-decoration: none;
}

.case-card__body h3 a:hover {
  color: var(--color-accent-green);
}

.case-card__body p {
  margin: 0;
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.case-carousel__nav {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--home-radius);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  flex-shrink: 0;
}

.case-carousel__nav:hover {
  border-color: var(--color-accent-green);
  color: var(--color-accent-green);
}

.case-carousel__nav svg {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 640px) {
  .case-carousel {
    grid-template-columns: 1fr;
  }

  .case-carousel__nav {
    display: none;
  }

  .case-carousel__viewport {
    grid-column: 1;
  }
}

/* ——— Insights ——— */

.insight-card {
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--home-radius);
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 24px rgba(15, 23, 41, 0.05);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.insight-card:hover {
  border-color: rgba(30, 143, 90, 0.35);
  box-shadow: 0 12px 40px rgba(15, 23, 41, 0.1);
}

.insight-card__media {
  height: 160px;
  background-size: cover;
  background-position: center;
}

.insight-card__body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.insight-card__tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-green);
  margin-bottom: 0.35rem;
}

.insight-card__body h3 {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
}

.insight-card__body p {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--color-text-muted);
  flex: 1;
  line-height: 1.5;
}

.insight-card__body a {
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: none;
}

.insight-card__body a:hover {
  text-decoration: underline;
}

/* ——— Services section headline ——— */

.section--services-home .section-head h2 {
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

.section--services-home .section-head {
  max-width: 38rem;
}

/* Service card photography layer */
.service-card:has(.service-card__photo)::after {
  display: none;
}

.service-card__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
  pointer-events: none;
}

.service-card:hover .service-card__photo {
  transform: scale(1.06);
}

.service-card:has(.service-card__photo)::before {
  background: linear-gradient(155deg, rgba(10, 18, 32, 0.82) 0%, rgba(10, 18, 32, 0.55) 45%, rgba(10, 18, 32, 0.88) 100%);
  z-index: 1;
}

.service-card--ai .service-card__photo {
  background-image: url("https://images.unsplash.com/photo-1620712943543-bcc4688e7485?auto=format&fit=crop&w=1400&q=80");
}

.service-card--dt .service-card__photo {
  background-image: url("https://images.unsplash.com/photo-1451187580459-43490279c0fa?auto=format&fit=crop&w=1400&q=80");
}

.service-card--staff .service-card__photo {
  background-image: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?auto=format&fit=crop&w=1400&q=80");
}

/* Industries visual cards */
.industry-card.industry-card--visual {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0;
  border: none;
  box-shadow: 0 12px 48px rgba(15, 23, 41, 0.12);
  border-radius: var(--home-radius);
}

.industry-card--visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.55s ease;
  z-index: 0;
}

.industry-card--visual:hover::before {
  transform: scale(1.05);
}

.industry-card--visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 20%, rgba(10, 15, 28, 0.92) 100%);
  z-index: 1;
}

.industry-card--visual .industry-card__content {
  position: relative;
  z-index: 2;
  padding: 1.75rem;
}

.industry-card--visual h3 {
  color: #fff;
  font-size: 1.35rem;
}

.industry-card--visual p {
  color: rgba(255, 255, 255, 0.88);
}

.industry-card--public::before {
  background-image: url("https://images.unsplash.com/photo-1569163139394-de4798aa62b7?auto=format&fit=crop&w=1200&q=80");
}

.industry-card--commercial::before {
  background-image: url("https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?auto=format&fit=crop&w=1200&q=80");
}

/* Partners strip with logos */
.partners-strip--logos .partners-strip__inner {
  flex-direction: column;
  gap: 1.25rem;
  padding: 2rem 1.25rem;
}

.partners-strip__label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.partners-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 3rem;
}

.partner-logo {
  height: 32px;
  width: auto;
  max-width: 160px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.72;
  transition: opacity 0.2s, filter 0.2s;
}

.partner-logo:hover {
  filter: grayscale(0);
  opacity: 1;
}

/* CTA band gradient */
.cta-band.cta-band--premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, #0a1629 0%, #132a4a 45%, #1a5c45 100%);
}

.cta-band.cta-band--premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 90% 20%, rgba(255, 255, 255, 0.08), transparent 55%);
  pointer-events: none;
}

.cta-band.cta-band--premium .cta-band__inner {
  position: relative;
  z-index: 1;
}

/* ——— Scroll reveal ——— */

[data-reveal] {
  opacity: 0;
  transform: translateY(1.75rem);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ——— Awards strip ——— */

.awards-strip {
  background: linear-gradient(180deg, #fafbfc 0%, #ffffff 100%);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.awards-strip__inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem;
}

.awards-strip__head {
  text-align: center;
  max-width: 40rem;
  margin: 0 auto 2rem;
}

.awards-strip__head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-hero);
}

.awards-strip__head p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.awards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 900px) {
  .awards-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.award-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--home-radius);
  padding: 1.35rem 1.15rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(15, 23, 41, 0.04);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.award-card:hover {
  border-color: rgba(30, 143, 90, 0.35);
  box-shadow: 0 12px 36px rgba(15, 23, 41, 0.08);
  transform: translateY(-2px);
}

.award-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.25rem;
  padding: 0.35rem 0.5rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(145deg, rgba(30, 143, 90, 0.15), rgba(30, 143, 90, 0.05));
  border: 1px solid rgba(30, 143, 90, 0.25);
  color: var(--color-accent-green);
  margin-bottom: 0.75rem;
}

.award-card h3 {
  margin: 0 0 0.35rem;
  font-size: 0.95rem;
  font-weight: 700;
}

.award-card p {
  margin: 0;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}

/* ——— Mega footer (homepage) ——— */

.site-footer--mega {
  background: #060a12;
  color: #a8b0bc;
  font-size: 0.875rem;
}

.site-footer--mega a {
  color: #e8ecf2;
  text-decoration: none;
}

.site-footer--mega a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer__mega-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 3rem 1.25rem 2.5rem;
  display: grid;
  gap: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

@media (min-width: 960px) {
  .site-footer__mega-inner {
    grid-template-columns: minmax(14rem, 1.1fr) minmax(0, 3fr);
    align-items: start;
  }
}

.site-footer__brand-col {
  max-width: 22rem;
}

.site-footer__brand-mark {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  color: #fff;
  margin-bottom: 1rem;
}

.site-footer__brand-mark:hover {
  text-decoration: none;
  color: #fff;
  opacity: 0.9;
}

.site-footer__brand-name {
  display: block;
  font-family: var(--font-wordmark);
  font-weight: 700;
  font-size: 1.15rem;
}

.site-footer__brand-sub {
  display: block;
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  color: #8b95a5;
}

.site-footer__brand-copy {
  margin: 0 0 1.25rem;
  line-height: 1.55;
  color: #9aa3b2;
}

.site-footer__social {
  display: flex;
  gap: 0.75rem;
}

.site-footer__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--home-radius);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e8ecf2;
}

.site-footer__social-link:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  color: #fff;
}

.site-footer__mega-cols {
  display: grid;
  gap: 1.75rem 1.5rem;
  grid-template-columns: repeat(2, 1fr);
}

@media (min-width: 640px) {
  .site-footer__mega-cols {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1100px) {
  .site-footer__mega-cols {
    grid-template-columns: repeat(5, 1fr);
  }
}

.site-footer__mega-col h3 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 1rem;
}

.site-footer__mega-col ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__mega-col li {
  margin-bottom: 0.55rem;
}

.site-footer__mega-col--contact .site-footer__contact-line {
  margin: 0 0 0.45rem;
  font-size: 0.85rem;
}

.site-footer__mega-cta {
  margin-top: 1rem;
  width: 100%;
  text-align: center;
}

@media (min-width: 1100px) {
  .site-footer__mega-cta {
    width: auto;
    display: inline-flex;
  }
}

.site-footer__locations {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__locations-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 2rem 1.25rem;
  display: grid;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .site-footer__locations-inner {
    grid-template-columns: 1fr 1fr;
  }
}

.site-footer__locations h3 {
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
}

.site-footer__locations p {
  margin: 0;
  line-height: 1.55;
  color: #9aa3b2;
}

.site-footer__legal {
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer__legal-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.25rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .site-footer__legal-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.site-footer__legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer__legal-links a {
  font-size: 0.8rem;
  color: #c5ccd6;
}

.site-footer__legal-copy {
  margin: 0;
  font-size: 0.75rem;
  color: #6b7585;
  max-width: 28rem;
}

.site-footer__bottom--mega {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1rem 1.25rem 2.25rem;
  border-top: none;
}

.site-footer__bottom--mega p {
  margin: 0;
  font-size: 0.78rem;
  color: #6b7585;
}

