﻿/**
 * PDG Homepage CSS
 * Page-specific styles for the homepage redesign.
 * Requirements: 2.1, 2.2, 2.3, 2.4, 2.5, 2.6, 1.1-1.10, 11.1-11.6, 16.1-16.3, 13.1, 13.2, 13.4
 */

/* =============================================================
   SITE HEADER
   ============================================================= */
.site-menu {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--color-fg);
  color: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-8) var(--space-8);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition:
    opacity 0.4s var(--ease-cinematic),
    transform 0.4s var(--ease-cinematic);
}

.site-menu.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.site-menu__close {
  position: absolute;
  top: var(--space-6);
  right: var(--space-8);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-bg);
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-1) 0;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.site-menu__item {
  border-top: 1px solid rgba(249, 248, 246, 0.12);
  padding: var(--space-3) 0;
}

.site-menu__item:last-child {
  border-bottom: 1px solid rgba(249, 248, 246, 0.12);
}

.site-menu__parent {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-bg);
  display: block;
  margin-bottom: var(--space-2);
}

.site-menu__item > a {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-bg);
  text-decoration: none;
  display: block;
  transition: color 0.2s ease-out;
}

.site-menu__item > a:hover {
  color: var(--color-accent);
}

.site-menu__sub {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-1) var(--space-4);
}

.site-menu__sub a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(249, 248, 246, 0.65);
  text-decoration: none;
  transition: color 0.2s ease-out;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.site-menu__footer {
  margin-top: var(--space-8);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-4);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(249, 248, 246, 0.55);
}

.site-menu__footer a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

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

.site-menu__social {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

.site-menu__social span {
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
}

.site-menu__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: rgba(249, 248, 246, 0.65);
  transition: color 0.2s ease-out;
}

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

.site-menu__overlay {
  display: none;
}

/* Body lock when menu open */
body.menu-is-open {
  overflow: hidden;
}

/* =============================================================
   SECTION 1: HERO
   Requirements: 2.1, 2.3, 11.5
   ============================================================= */
.home-hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 32rem;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--color-fg);
}

.home-hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.home-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(26, 26, 26, 0.58) 0%, rgba(26, 26, 26, 0.12) 58%, rgba(26, 26, 26, 0.04) 100%);
  z-index: 1;
}

.home-hero__content {
  position: relative;
  z-index: 2;
  padding: clamp(2rem, 4vw, 3rem) clamp(1rem, 4vw, 2rem) clamp(2.5rem, 8vw, 4rem);
  max-width: min(40rem, 100%);
  width: 100%;
}

.home-hero__kicker {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
  display: block;
}

.home-hero__headline {
  font-family: var(--font-heading);
  font-size: clamp(2.9rem, 8vw, 7rem);
  font-weight: 700;
  line-height: 0.96;
  letter-spacing: -0.02em;
  color: #F9F8F6;
  margin-bottom: var(--space-4);
  max-width: 8ch;
  text-wrap: balance;
}

.home-hero__headline[data-focus-text] {
  transform-origin: left top;
}

.home-hero__kicker[data-focus-text],
.home-expertise__heading[data-focus-text],
.home-projects__heading[data-focus-text],
.home-projects__sub[data-focus-text],
.home-news__heading[data-focus-text],
.home-cta__eyebrow[data-focus-text],
.home-cta__headline[data-focus-text],
.home-stats__number[data-focus-text],
.home-stats__label[data-focus-text],
.home-intro__quote [data-focus-text],
.home-intro__text[data-focus-text] {
  transform-origin: left center;
}

.home-hero__kicker.is-focused,
.home-cta__eyebrow.is-focused {
  opacity: 1;
  transform: scale(1.03);
}

.home-hero__headline.is-focused,
.home-expertise__heading.is-focused,
.home-projects__heading.is-focused,
.home-news__heading.is-focused,
.home-cta__headline.is-focused {
  opacity: 1;
  transform: scale(1.055);
}

.home-intro__quote [data-focus-text].is-focused,
.home-stats__number.is-focused {
  opacity: 1;
  transform: scale(1.035);
}

.home-intro__text.is-focused,
.home-projects__sub.is-focused,
.home-stats__label.is-focused {
  opacity: 1;
  transform: scale(1.015);
}

.home-hero [data-focus-text].is-muted,
.home-stats [data-focus-text].is-muted,
.home-cta [data-focus-text].is-muted {
  opacity: 0.7;
}

.home-hero__divider {
  width: 3rem;
  height: 2px;
  background: var(--color-accent);
  margin-bottom: var(--space-4);
}

.home-hero__cta {
  display: inline-flex;
  align-items: center;
  padding: 0.875rem 2rem;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-fg);
  background: #F9F8F6;
  border: 1px solid #F9F8F6;
  text-decoration: none;
  transition: background 0.2s ease-out, color 0.2s ease-out, border-color 0.2s ease-out;
  min-height: 44px;
}

.home-hero__cta:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-fg);
}

/* =============================================================
   SECTION 2: BRAND INTRO
   Requirements: 2.2, 2.4
   ============================================================= */
.home-intro {
  padding: var(--space-20) 0;
}

.home-intro__inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--space-12);
  align-items: start;
}

.home-intro__quote {
  position: sticky;
  top: var(--space-8);
}

.home-intro__quote blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-style: italic;
  font-weight: 400;
  line-height: 1.3;
  color: var(--color-fg);
  letter-spacing: -0.01em;
  text-wrap: balance;
}

.home-intro__body {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.home-intro__text {
  font-family: var(--font-body);
  font-size: var(--text-lg);
  line-height: var(--leading-relaxed);
  color: var(--color-fg-muted);
  text-wrap: pretty;
}

.home-intro__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-fg);
  text-decoration: none;
  margin-top: var(--space-2);
  min-height: 44px;
  transition: color 0.2s ease-out;
}

.home-intro__link:hover {
  color: var(--color-accent);
}

/* =============================================================
   SECTION 3: STATS
   Requirements: 2.6
   ============================================================= */
.home-stats {
  background: var(--color-fg);
  padding: var(--space-16) 0;
}

.home-stats__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.home-stats__item {
  text-align: center;
  padding: var(--space-6) var(--space-4);
  border-right: 1px solid rgba(249, 248, 246, 0.1);
}

.home-stats__item:last-child {
  border-right: none;
}

.home-stats__number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.0;
  color: var(--color-accent);
  letter-spacing: -0.02em;
  margin-bottom: var(--space-2);
}

.home-stats__number--text {
  font-size: clamp(1.75rem, 3.5vw, 3rem);
}

.home-stats__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: rgba(249, 248, 246, 0.55);
}

.home-stats__label.is-focused {
  color: #F9F8F6;
}

/* =============================================================
   SECTION 4: EXPERTISE
   Requirements: 1.9, 16.1
   ============================================================= */
.home-expertise {
  padding: var(--space-20) 0;
}

.home-expertise__header {
  margin-bottom: var(--space-8);
}

.home-expertise__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-fg);
  margin-top: var(--space-2);
  max-width: 12ch;
  text-wrap: balance;
}

.home-expertise__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-8) var(--space-8);
}

.home-expertise__card {
  border-top: 2px solid var(--color-border);
  padding-top: var(--space-6);
  cursor: pointer;
  background: transparent;
  transition: border-top-color 0.2s ease-out;
}

.home-expertise__card:hover,
.home-expertise__card:focus-within {
  border-top-color: var(--color-accent);
}

.home-expertise__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
}

.home-expertise__card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.home-expertise__card-image .pdg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-expertise__card-body {
  padding: 0;
}

.home-expertise__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: var(--space-2);
  transition: color 0.2s ease-out;
  text-wrap: balance;
}

.home-expertise__card:hover .home-expertise__card-title,
.home-expertise__card:focus-within .home-expertise__card-title {
  color: var(--color-accent);
}

.home-expertise__card-desc {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-fg-muted);
  margin-bottom: var(--space-3);
}

.home-expertise__card-cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-fg);
  transition: color 0.2s ease-out;
}

.home-expertise__card:hover .home-expertise__card-cta,
.home-expertise__card:focus-within .home-expertise__card-cta {
  color: var(--color-accent);
}

/* =============================================================
   SECTION 5: SELECTED WORKS / PROJECTS
   Requirements: 1.9, 2.2
   ============================================================= */
.home-projects {
  padding: var(--space-20) 0;
  background: var(--color-surface);
}

.home-projects__header {
  margin-bottom: var(--space-8);
}

.home-projects__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-fg);
  margin-top: var(--space-2);
  margin-bottom: var(--space-3);
  max-width: 12ch;
  text-wrap: balance;
}

.home-projects__sub {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
  color: var(--color-fg-muted);
  max-width: 640px;
}

.home-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.home-projects__card {
  border-top: 1px solid var(--color-border);
  background: transparent;
  transition: border-top-color 0.2s ease-out;
}

.home-projects__card:hover,
.home-projects__card:focus-within {
  border-top-color: var(--color-accent);
}

.home-projects__card--lead {
  grid-column: span 1;
}

.home-projects__card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  padding-top: var(--space-4);
}

.home-projects__card-image {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  margin-bottom: var(--space-4);
}

.home-projects__card-image .pdg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-projects__card-body {
  padding: 0;
}

.home-projects__card-kicker {
  margin-bottom: var(--space-2);
}

.home-projects__card-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  color: var(--color-fg);
  margin-bottom: var(--space-2);
  transition: color 0.2s ease-out;
  text-wrap: balance;
}

.home-projects__card:hover .home-projects__card-title,
.home-projects__card:focus-within .home-projects__card-title {
  color: var(--color-accent);
}

.home-projects__card-excerpt {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-normal);
  color: var(--color-fg-muted);
  margin-bottom: var(--space-3);
}

.home-projects__card-cta {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-fg);
  transition: color 0.2s ease-out;
}

.home-projects__card:hover .home-projects__card-cta,
.home-projects__card:focus-within .home-projects__card-cta {
  color: var(--color-accent);
}

.home-projects__footer {
  margin-top: var(--space-8);
}

/* =============================================================
   SECTION 6: LATEST NEWS
   Requirements: 2.2
   ============================================================= */
.home-news {
  padding: var(--space-20) 0;
  background: #F2F0ED;
}

.home-news__inner {
  /* uses .container class on the element */
}

.home-news__header {
  margin-bottom: var(--space-8);
}

.home-news__heading {
  font-family: var(--font-heading);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-fg);
  margin-top: var(--space-2);
  max-width: 12ch;
  text-wrap: balance;
}

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

.home-news__item {
  border-top: 1px solid var(--color-border);
  padding: var(--space-6) 0;
}

.home-news__item:last-child {
  border-bottom: 1px solid var(--color-border);
}

.home-news__item--lead article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-8);
  align-items: center;
}

.home-news__item-image {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.home-news__item-image .pdg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-news__item-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.home-news__item-title {
  font-family: var(--font-heading);
  font-size: var(--text-lg);
  font-weight: 700;
  line-height: var(--leading-tight);
  color: var(--color-fg);
  text-wrap: balance;
}

.home-news__item--lead .home-news__item-title {
  font-size: var(--text-xl);
}

.home-news__item-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: var(--color-fg);
  text-decoration: none;
  min-height: 44px;
  transition: color 0.2s ease-out;
}

.home-news__item-link:hover {
  color: var(--color-accent);
}

.home-news__footer {
  margin-top: var(--space-8);
}

/* =============================================================
   SECTION 7: CTA DARK
   ============================================================= */
.home-cta {
  background: var(--color-fg);
  padding: var(--space-24) 0;
  text-align: center;
  color: #F9F8F6;
}

.home-cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}

.home-cta__eyebrow {
  color: var(--color-accent);
}

.home-cta__headline {
  font-family: var(--font-heading);
  font-size: clamp(1.75rem, 4vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: #F9F8F6;
  max-width: 14ch;
  text-wrap: balance;
}

.home-cta__divider {
  width: 3rem;
  height: 2px;
  background: var(--color-accent);
}

.home-cta__link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: var(--tracking-wide);
  text-transform: uppercase;
  color: #F9F8F6;
  text-decoration: none;
  min-height: 44px;
  transition: color 0.2s ease-out;
}

.home-cta__link:hover {
  color: var(--color-accent);
}

.home-cta__play {
  flex-shrink: 0;
}

/* =============================================================
   FOOTER
   ============================================================= */
#site-footer {
  background: var(--color-fg);
  color: rgba(249, 248, 246, 0.65);
  padding-top: var(--space-16);
}

.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: var(--space-12);
  padding-bottom: var(--space-12);
  border-bottom: 1px solid rgba(249, 248, 246, 0.1);
}

.site-footer__logo {
  width: 56px;
  height: auto;
  color: #F9F8F6;
  margin-bottom: var(--space-4);
}

.site-footer__address {
  font-style: normal;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  line-height: var(--leading-relaxed);
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
  margin-bottom: var(--space-4);
}

.site-footer__address a {
  color: rgba(249, 248, 246, 0.65);
  text-decoration: none;
  transition: color 0.2s ease-out;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.site-footer__social {
  display: flex;
  gap: var(--space-3);
  margin-top: var(--space-3);
}

.site-footer__social a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: rgba(249, 248, 246, 0.55);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

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

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.site-footer__nav-col {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}

.site-footer__nav-col a {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: rgba(249, 248, 246, 0.55);
  text-decoration: none;
  transition: color 0.2s ease-out;
  min-height: 44px;
  display: flex;
  align-items: center;
}

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

.site-footer__bottom {
  padding: var(--space-4) 0;
}

.site-footer__copy {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  color: rgba(249, 248, 246, 0.35);
}

.site-footer__copy a {
  color: rgba(249, 248, 246, 0.35);
  text-decoration: none;
  transition: color 0.2s ease-out;
}

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

/* =============================================================
   RESPONSIVE: TABLET (768px)
   Requirements: 16.1, 16.2, 16.3
   ============================================================= */
@media (max-width: 1023px) {
  .home-hero__content {
    max-width: 32rem;
  }

  .home-intro__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .home-intro__quote {
    position: static;
  }

  .home-expertise__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .home-projects__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-6);
  }

  .home-projects__card--lead {
    grid-column: span 2;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }

  .site-footer__nav {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* =============================================================
   RESPONSIVE: MOBILE (< 768px)
   Requirements: 16.1, 16.2, 16.3, 16.5
   ============================================================= */
@media (max-width: 767px) {
  .home-hero__content {
    padding: var(--space-8) var(--space-4) var(--space-10);
    max-width: 26rem;
  }

  .home-hero__headline.is-focused,
  .home-expertise__heading.is-focused,
  .home-projects__heading.is-focused,
  .home-news__heading.is-focused,
  .home-cta__headline.is-focused {
    transform: scale(1.02);
  }

  .home-intro__quote [data-focus-text].is-focused,
  .home-stats__number.is-focused {
    transform: scale(1.015);
  }

  .home-hero {
    min-height: 30rem;
  }

  .home-hero__bg {
    object-position: 58% center;
  }

  .home-hero__headline {
    font-size: clamp(2.65rem, 14vw, 4.5rem);
  }

  .home-intro {
    padding: var(--space-12) 0;
  }

  .home-intro__inner {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-stats__inner {
    grid-template-columns: 1fr;
  }

  .home-stats__item {
    border-right: none;
    border-bottom: 1px solid rgba(249, 248, 246, 0.1);
    padding: var(--space-6) var(--space-4);
  }

  .home-stats__item:last-child {
    border-bottom: none;
  }

  .home-expertise {
    padding: var(--space-12) 0;
  }

  .home-expertise__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-expertise__card-image {
    aspect-ratio: 5 / 4;
  }

  .home-projects {
    padding: var(--space-12) 0;
  }

  .home-projects__grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
  }

  .home-projects__card--lead {
    grid-column: span 1;
  }

  .home-projects__card-image {
    aspect-ratio: 5 / 4;
  }

  .home-news {
    padding: var(--space-12) 0;
  }

  .home-news__item--lead article {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .home-news__item-image {
    aspect-ratio: 5 / 4;
  }

  .home-cta {
    padding: var(--space-16) 0;
  }

  .site-footer__nav {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
  }

  .site-menu {
    padding: var(--space-16) var(--space-4) var(--space-8);
    overflow-y: auto;
  }

  .site-menu__close {
    right: var(--space-4);
  }

  .site-menu__footer {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
  }
}

@media (max-width: 479px) {
  .home-hero {
    min-height: 27rem;
  }

  .home-hero__content {
    padding: 5.5rem 1rem 1.75rem;
    max-width: 22rem;
  }

  .home-hero__headline {
    font-size: clamp(2.2rem, 13vw, 3.35rem);
    max-width: 7ch;
  }

  .home-intro__quote blockquote p {
    font-size: clamp(1.35rem, 8vw, 2rem);
  }

  .home-stats__item {
    padding: var(--space-5) var(--space-3);
  }

  .home-expertise__card-image,
  .home-projects__card-image,
  .home-news__item-image {
    aspect-ratio: 6 / 5;
  }

  .home-news__item {
    padding: var(--space-5) 0;
  }

  .site-footer__nav {
    grid-template-columns: 1fr;
  }
}

/* =============================================================
   RESPONSIVE: LARGE DESKTOP (1536px+)
   ============================================================= */
@media (min-width: 1536px) {
  .home-projects__grid {
    gap: var(--space-8);
  }

  .home-expertise__grid {
    gap: var(--space-12) var(--space-8);
  }
}

/* =============================================================
   REDUCED MOTION
   ============================================================= */
@media (prefers-reduced-motion: reduce) {
  .home-hero__bg,
  .site-menu {
    transition: none;
  }

  .home-hero__headline.is-focused,
  .home-expertise__heading.is-focused,
  .home-projects__heading.is-focused,
  .home-news__heading.is-focused,
  .home-cta__headline.is-focused,
  .home-intro__quote [data-focus-text].is-focused,
  .home-stats__number.is-focused,
  .home-intro__text.is-focused,
  .home-projects__sub.is-focused,
  .home-stats__label.is-focused,
  .home-hero__kicker.is-focused,
  .home-cta__eyebrow.is-focused {
    transform: none;
  }
}
