/* ============================================================
   REAL ESTATE — Luxury Minimalist Design System
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Jost:wght@200;300;400&display=swap');

/* ── CSS Variables ── */
:root {
  --beige:        #d8d2c4;
  --beige-light:  #e8e3d8;
  --beige-dark:   #c4bdb0;
  --cream:        #f4f1eb;
  --white:        #fafaf8;
  --charcoal:     #2a2825;
  --gray-mid:     #7a766e;
  --gray-light:   #b0aba2;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', sans-serif;
  --transition:   all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --section-pad:  120px;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden;}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--black);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1.15;
  color: var(--black);
}

.label {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--black);
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(216, 210, 196, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(122, 118, 110, 0.15);
  padding: 0 40px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--black);
}

.nav__logo {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 1.05rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--charcoal);
  white-space: nowrap;
}

.nav__logo span { font-weight: 400; }

.nav__links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
  color: var(--black);
}

.nav__links a {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--black);
  opacity: 0.7;
  transition: opacity 0.3s ease;
  position: relative;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0; right: 0;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }

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

.nav__menu-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--charcoal);
  transition: var(--transition);
}

/* ── Hero Section ── */
.hero {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  margin-top: 0;
}

.hero__img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  filter: brightness(0.92) contrast(1.04);
}

.hero.loaded .hero__img { transform: scale(1); }

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(42, 40, 37, 0.08) 0%,
    transparent 40%,
    rgba(42, 40, 37, 0.15) 100%
  );
}

.hero__badge {
  position: absolute;
  bottom: 60px;
  left: 60px;
  color: var(--cream);
}

.hero__badge .label { color: rgba(244,241,235,0.7); margin-bottom: 8px; }

.hero__badge h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  font-weight: 300;
  letter-spacing: 0.08em;
}

.hero__scroll {
  position: absolute;
  bottom: 60px;
  right: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  color: var(--cream);
  opacity: 0.7;
}

.hero__scroll span {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: var(--cream);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; opacity: 1; }
  50%  { transform: scaleY(1); transform-origin: top; opacity: 1; }
  51%  { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}

/* ── Intro / Editorial Statement ── */
.intro {
  background: var(--beige);
  padding: var(--section-pad) 40px;
  text-align: center;
}

.intro__inner {
  max-width: 680px;
  margin: 0 auto;
}

.intro__heading {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 48px;
  line-height: 1.1;
}

.intro__heading em {
  display: block;
  font-style: italic;
  letter-spacing: 0.05em;
}

.intro__divider {
  width: 40px;
  height: 1px;
  background: var(--gray-mid);
  margin: 0 auto 40px;
}

.intro__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.95rem;
  line-height: 2;
  color: var(--gray-mid);
  max-width: 560px;
  margin: 0 auto;
}

/* ── Section wrapper ── */
.section {
  padding: var(--section-pad) 0;
}

.section--cream  { background: var(--cream); }
.section--beige  { background: var(--beige); }
.section--white  { background: var(--white); }
.section--dark   { background: var(--charcoal); }

/* ── Feature Split Section ── */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 70vh;
}

.split--reverse { direction: rtl; }
.split--reverse > * { direction: ltr; }

.split__image {
  position: relative;
  overflow: hidden;
  min-height: 480px;
}

.split__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.split__image:hover img { transform: scale(1.04); }

.split__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--cream);
}

.split__content--dark {
  background: var(--charcoal);
  color: var(--cream);
}

.split__content--beige { background: var(--beige); }

.split__label { margin-bottom: 28px; }

.split__heading {
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  margin-bottom: 32px;
  line-height: 1.2;
}

.split__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 2;
  color: var(--gray-mid);
  max-width: 400px;
}

.split__content--dark .split__text { color: rgba(244,241,235,0.6); }

.split__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 44px;
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--charcoal);
  border-bottom: 1px solid var(--charcoal);
  padding-bottom: 4px;
  transition: gap 0.3s ease, opacity 0.3s ease;
}

.split__link:hover { gap: 20px; opacity: 0.6; }
.split__content--dark .split__link { color: var(--cream); border-color: var(--cream); }

/* ── Full Width Image ── */
.full-img {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.full-img--tall { height: 80vh; min-height: 500px; }
.full-img--medium { height: 60vh; min-height: 400px; }
.full-img--short  { height: 45vh; min-height: 300px; }

.full-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s ease;
}

.full-img.parallax-img img {
  height: 120%;
  top: -10%;
  position: relative;
}

/* ── Quote Section ── */
.quote-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 60vh;
}

.quote-section__image {
  position: relative;
  overflow: hidden;
  min-height: 420px;
}

.quote-section__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.quote-section__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 72px;
  background: var(--beige);
}

.quote-section__mark {
  font-family: var(--font-serif);
  font-size: 6rem;
  line-height: 0.6;
  color: var(--gray-light);
  margin-bottom: 20px;
  font-weight: 300;
}

.quote-section__text {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  line-height: 1.55;
  color: var(--charcoal);
  font-weight: 300;
  margin-bottom: 36px;
}

.quote-section__attribution {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
}

/* ── Stats / Numbers Strip ── */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--charcoal);
  padding: 72px 60px;
  gap: 0;
}

.stat {
  text-align: center;
  padding: 0 30px;
  position: relative;
}

.stat + .stat::before {
  content: '';
  position: absolute;
  left: 0;
  top: 20%;
  bottom: 20%;
  width: 1px;
  background: rgba(216,210,196,0.15);
}

.stat__number {
  font-family: var(--font-serif);
  font-size: clamp(2.4rem, 4vw, 3.8rem);
  font-weight: 300;
  color: var(--beige-light);
  letter-spacing: 0.04em;
  line-height: 1;
  margin-bottom: 14px;
}

.stat__label {
  color: rgba(216,210,196,0.5);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

/* ── Fade In Animation ── */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.25s; }
.fade-in-delay-3 { transition-delay: 0.4s; }
.fade-in-delay-4 { transition-delay: 0.55s; }

/* ── Projects Grid ── */
.page-header {
  background: var(--beige);
  padding: 160px 60px 80px;
  text-align: center;
}

.page-header__title {
  font-size: clamp(2.8rem, 6vw, 5rem);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.page-header__sub {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  color: var(--gray-mid);
  letter-spacing: 0.08em;
  max-width: 480px;
  margin: 0 auto;
  line-height: 1.9;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--beige-dark);
  padding: 0;
}

.project-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  background: var(--charcoal);
}

.project-card__img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.project-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.85);
  transition: filter 0.6s ease;
}

.project-card:hover .project-card__img { transform: scale(1.06); }
.project-card:hover .project-card__img img { filter: brightness(0.65); }

.project-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(42,40,37,0.7) 0%, transparent 55%);
  z-index: 1;
}

.project-card__info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 36px 32px;
  z-index: 2;
  color: var(--cream);
  transform: translateY(8px);
  transition: transform 0.5s ease;
}

.project-card:hover .project-card__info { transform: translateY(0); }

.project-card__name {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.project-card__location {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.62rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(244,241,235,0.6);
}

.project-card__cta {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--beige-light);
  border-bottom: 1px solid rgba(216,210,196,0.4);
  padding-bottom: 3px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.5s ease 0.1s, transform 0.5s ease 0.1s;
}

.project-card:hover .project-card__cta { opacity: 1; transform: translateY(0); }

/* ── Gallery ── */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 40px;
  padding: 48px 60px;
  background: var(--cream);
  border-bottom: 1px solid var(--beige-dark);
}

.filter-btn {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  background: none;
  border: none;
  cursor: pointer;
  padding-bottom: 4px;
  position: relative;
  transition: color 0.3s ease;
}

.filter-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0; right: 0;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.filter-btn:hover,
.filter-btn.active { color: var(--charcoal); }
.filter-btn.active::after { transform: scaleX(1); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--beige-dark);
}

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

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

.gallery-item__inner {
  width: 100%;
  height: 100%;
  min-height: 320px;
}

.gallery-item--tall .gallery-item__inner { min-height: 640px; }
.gallery-item--wide .gallery-item__inner { min-height: 320px; }

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

.gallery-item:hover img {
  transform: scale(1.05);
  filter: brightness(0.8);
}

.gallery-item__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  background: linear-gradient(to top, rgba(42,40,37,0.7), transparent);
  color: var(--cream);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.gallery-item:hover .gallery-item__caption {
  opacity: 1;
  transform: translateY(0);
}

.gallery-item__caption-text {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
}

/* ── Lightbox ── */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(42,40,37,0.96);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.open { opacity: 1; pointer-events: all; }

.lightbox__content {
  max-width: 90vw;
  max-height: 90vh;
  position: relative;
}

.lightbox__content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  display: block;
}

.lightbox__close {
  position: absolute;
  top: -48px;
  right: 0;
  background: none;
  border: none;
  color: var(--beige-light);
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.lightbox__close:hover { opacity: 1; }

/* ── About Page ── */
.about-intro {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 80vh;
}

.about-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 100px 80px;
}

.about-intro__content .label { margin-bottom: 32px; }

.about-intro__heading {
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  line-height: 1.25;
  margin-bottom: 36px;
}

.about-intro__text {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.9rem;
  line-height: 2.1;
  color: var(--gray-mid);
  max-width: 420px;
}

.about-intro__image {
  position: relative;
  overflow: hidden;
}

/* ── Team Grid ── */
.team-section {
  padding: var(--section-pad) 60px;
  background: var(--cream);
}

.team-section__heading {
  text-align: center;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 72px;
}

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

.team-member__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  margin-bottom: 20px;
}

.team-member__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.7s ease;
  filter: grayscale(20%);
}

.team-member:hover .team-member__img img {
  transform: scale(1.04);
}

.team-member__name {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  margin-bottom: 4px;
}

.team-member__role { font-size: 0.62rem; color: var(--gray-mid); }

/* ── Timeline ── */
.timeline {
  padding: var(--section-pad) 80px;
  background: var(--beige);
  max-width: 900px;
  margin: 0 auto;
}

.timeline__heading {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 64px;
  text-align: center;
}

.timeline__item {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 0 40px;
  padding-bottom: 56px;
  position: relative;
}

.timeline__item:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 39px;
  top: 24px;
  bottom: 0;
  width: 1px;
  background: var(--beige-dark);
}

.timeline__year {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--gray-mid);
  padding-top: 2px;
}

.timeline__content h4 {
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.timeline__content p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--gray-mid);
}

/* ── Footer ── */
.footer {
  background: var(--cream);
  border-top: 1px solid var(--beige-dark);
  padding: 56px 60px 40px;
  color: #000;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 48px;
}

.footer__brand .nav__logo { font-size: 0.95rem; }

.footer__brand p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.8rem;
  line-height: 1.9;
  color: var(--gray-mid);
  margin-top: 16px;
  max-width: 240px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.footer__links a {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(black);
  transition: color 0.3s ease;
  line-height: 2.4;
}

.footer__links a:hover { color: var(--charcoal); }

.footer__contact p {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 0.82rem;
  color: var(--gray-mid);
  line-height: 2.1;
}

.footer__bottom {
  border-top: 1px solid var(--beige-dark);
  padding-top: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer__copy, .footer__legal {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--gray-light);
  text-transform: uppercase;
}

.footer__legal { display: flex; gap: 24px; }
.footer__legal a { transition: color 0.3s ease; }
.footer__legal a:hover { color: var(--charcoal); }

/* ── Utility / Page Nav ── */
.page-nav {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding: 56px 60px;
  background: var(--beige);
  border-top: 1px solid var(--beige-dark);
}

.page-nav a {
  font-family: var(--font-sans);
  font-weight: 200;
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gray-mid);
  padding-bottom: 4px;
  position: relative;
  transition: color 0.3s ease;
}

.page-nav a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: var(--charcoal);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.page-nav a:hover { color: var(--charcoal); }
.page-nav a:hover::after,
.page-nav a.active::after { transform: scaleX(1); }
.page-nav a.active { color: var(--charcoal); }

/* ── Mobile Nav Overlay ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: var(--beige);
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease;
}

.mobile-nav.open { opacity: 1; pointer-events: all; }

.mobile-nav a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 300;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--charcoal);
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.mobile-nav a:hover { opacity: 1; }

/* ── Responsive ── */
@media (max-width: 1100px) {
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 0; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid rgba(216,210,196,0.15); }
  .stats .stat:nth-child(1),
  .stats .stat:nth-child(2) { border-top: none; }
  .stat:nth-child(2n)::before { display: block; }
}

@media (max-width: 900px) {
  :root { --section-pad: 80px; }

  .nav { padding: 0 24px; }
  .nav__links { display: none; }
  .nav__menu-toggle { display: flex; }

  .hero__badge { left: 32px; bottom: 40px; }
  .hero__scroll { right: 32px; bottom: 40px; }

  .split { grid-template-columns: 1fr; }
  .split--reverse { direction: ltr; }
  .split__content { padding: 60px 40px; }
  .split__text { max-width: 100%; }
  .split__image { min-height: 360px; }
  .split__image:first-child { order: -1; }

  .quote-section { grid-template-columns: 1fr; }
  .quote-section__image { min-height: 340px; }
  .quote-section__content { padding: 60px 40px; }

  .projects-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item--tall { grid-row: span 1; }
  .gallery-item--wide { grid-column: span 2; }
  .gallery-item__inner { min-height: 280px; }
  .gallery-item--wide .gallery-item__inner { min-height: 280px; }

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

  .footer__inner { grid-template-columns: 1fr; gap: 40px; }
  .footer__links { grid-template-columns: repeat(2, 1fr); }

  .about-intro { grid-template-columns: 1fr; }
  .about-intro__content { padding: 72px 40px; }

  .stats { padding: 56px 32px; }

  .page-header { padding: 140px 32px 64px; }

  .timeline { padding: 60px 32px; }
}

@media (max-width: 600px) {
  :root { --section-pad: 64px; }
  .nav { height: 60px; }
  .intro { padding: 72px 28px; }
  .split__content { padding: 48px 28px; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item--wide { grid-column: span 1; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: 1fr; }
  .stat + .stat::before { display: none; }
  .stat { border-top: 1px solid rgba(216,210,196,0.15); }
  .stats .stat:first-child { border-top: none; }
  .footer { padding: 48px 28px 32px; }
  .footer__bottom { flex-direction: column; gap: 16px; text-align: center; }
  .gallery-filters { gap: 20px; flex-wrap: wrap; padding: 36px 28px; }
  .page-nav { gap: 16px; flex-wrap: wrap; padding: 40px 28px; }
  .hero__badge h1 { font-size: 1.6rem; }
  .quote-section__content { padding: 48px 28px; }
  .about-intro__content { padding: 56px 28px; }
}
