/* ============================================================
   MAARG STUDIO — style.css
   Editorial Architecture Portfolio
   ============================================================ */

/* ── CUSTOM PROPERTIES ── */
:root {
  --off-white:   #F5F3EF;
  --cream:       #EDE9E1;
  --sand:        #D6CFC3;
  --warm-gray:   #9E9890;
  --stone:       #6B6560;
  --ink:         #1C1917;
  --ink-soft:    #2D2926;
  --accent:      #8B7355;
  --light-line:  rgba(28,25,23,0.12);

  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans:  'Jost', system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);

  --nav-h: 64px;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--off-white);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }


/* ── SELECTION ── */
::selection { background: var(--sand); color: var(--ink); }


/* ── SCROLL REVEAL STATES ── */
.reveal-up,
.reveal-right {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.9s var(--ease-out) var(--delay, 0s),
              transform 0.9s var(--ease-out) var(--delay, 0s);
}
.reveal-right {
  transform: translateX(32px);
}
.revealed {
  opacity: 1 !important;
  transform: none !important;
}


/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(24px, 4vw, 64px);
  height: var(--nav-h);
  transition: background 0.5s var(--ease-out),
              box-shadow 0.5s var(--ease-out);
}
.nav.scrolled {
  background: rgba(245, 243, 239, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--light-line);
}
.nav__logo-text {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  gap: clamp(24px, 3vw, 48px);
}
.nav__link {
  font-family: var(--sans);
  font-size: 0.7rem;
  font-weight: 300;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color 0.3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.nav__link:hover { color: var(--ink); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__menu-btn span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
}


/* ── MOBILE NAV ── */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(40px, 8vw, 80px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.mobile-nav.open {
  opacity: 1;
  pointer-events: all;
}
.mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.mobile-nav__link {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8vw, 4rem);
  font-weight: 300;
  color: var(--off-white);
  letter-spacing: 0.04em;
  transition: color 0.3s;
}
.mobile-nav__link:hover { color: var(--sand); }
.mobile-nav__footer {
  position: absolute;
  bottom: clamp(40px, 6vw, 64px);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  text-transform: uppercase;
}


/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
}
.hero__img-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__img {
  position: absolute;
  inset: -5%;
  background-size: cover;
  background-position: center;
  /* FALLBACK GRADIENT when no image is placed */
  background-color: #2a2420;
  background-image: linear-gradient(160deg, #1C1917 0%, #3D352E 60%, #5B4E43 100%);
  transition: transform 8s var(--ease-out);
}
.hero__img.loaded { transform: scale(1.04); }
.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,25,23,0.72) 0%,
    rgba(28,25,23,0.2) 50%,
    transparent 100%
  );
}
.hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(24px, 5vw, 80px) clamp(80px, 12vh, 140px);
}
.hero__eyebrow {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.55);
  margin-bottom: 20px;
}
.hero__title {
  font-family: var(--serif);
  font-size: clamp(4.5rem, 12vw, 11rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--off-white);
  display: flex;
  flex-direction: column;
}
.hero__title-line { display: block; }
.hero__title-line--italic { font-style: italic; }
.hero__tagline {
  margin-top: 28px;
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.5);
}
.hero__meta {
  position: absolute;
  bottom: clamp(32px, 5vh, 60px);
  right: clamp(24px, 4vw, 64px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.hero__scroll-hint {
  font-size: 0.6rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.4);
  writing-mode: vertical-lr;
}
.hero__scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(245,243,239,0.2);
  position: relative;
  overflow: hidden;
}
.hero__scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(245,243,239,0.6);
  animation: scrollLine 2s var(--ease-in-out) infinite;
}
@keyframes scrollLine {
  0% { top: -100%; }
  100% { top: 100%; }
}
.hero__index {
  position: absolute;
  bottom: clamp(32px, 5vh, 60px);
  left: clamp(24px, 4vw, 64px);
  z-index: 2;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
}


/* ═══════════════════════════════════════════════
   MARQUEE
═══════════════════════════════════════════════ */
.marquee-wrap {
  border-top: 1px solid var(--light-line);
  border-bottom: 1px solid var(--light-line);
  overflow: hidden;
  padding: 18px 0;
  background: var(--cream);
}
.marquee { overflow: hidden; }
.marquee__track {
  display: flex;
  gap: 0;
  white-space: nowrap;
  animation: marqueeScroll 28s linear infinite;
  width: max-content;
}
.marquee__track span {
  font-family: var(--serif);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--stone);
  padding: 0 28px;
  font-style: italic;
}
.marquee__dot {
  color: var(--sand) !important;
  font-style: normal !important;
  padding: 0 4px !important;
}
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ═══════════════════════════════════════════════
   STATEMENT
═══════════════════════════════════════════════ */
.statement {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.statement__grid {
  display: grid;
  grid-template-columns: 80px 1fr 42%;
  grid-template-rows: auto;
  gap: 0;
  align-items: start;
}
.statement__number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--warm-gray);
  padding-top: 8px;
}
.statement__text-col {
  padding-right: clamp(40px, 5vw, 80px);
  padding-top: 0;
}
.statement__heading {
  font-family: var(--serif);
  font-size: clamp(2.8rem, 5.5vw, 5.5rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.statement__heading em { font-style: italic; color: var(--accent); }
.statement__body {
  font-size: 0.9rem;
  line-height: 1.9;
  color: var(--stone);
  max-width: 420px;
  margin-bottom: 40px;
}
.statement__link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 4px;
  transition: gap 0.3s var(--ease-out), color 0.3s;
}
.statement__link:hover { gap: 20px; color: var(--accent); }
.statement__img-col {
  position: relative;
}
.statement__img-frame {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.statement__img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  /* FALLBACK */
  background-color: var(--sand);
  background-image: linear-gradient(135deg, #C4BAB0 0%, #A89E94 100%);
  transition: transform 0.8s var(--ease-out);
}
.statement__img-frame:hover .statement__img { transform: scale(1.04); }
.statement__caption {
  margin-top: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
  text-align: right;
}


/* ═══════════════════════════════════════════════
   WORK / PROJECTS
═══════════════════════════════════════════════ */
.work {
  padding: 0 clamp(24px, 5vw, 80px) clamp(80px, 12vw, 160px);
}
.work__header {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  align-items: baseline;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-line);
  margin-bottom: 32px;
}
.work__header-number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--warm-gray);
}
.work__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.01em;
}
.work__year {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
}

/* PROJECT GRID */
.work__grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: clamp(16px, 2vw, 32px);
  row-gap: clamp(32px, 5vw, 80px);
}

/* PROJECT CARD BASE */
.project { position: relative; }
.project__link {
  display: block;
  cursor: pointer;
}
.project__img-wrap {
  overflow: hidden;
  position: relative;
}
.project__img {
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  background-image: linear-gradient(135deg, #DDD8D0 0%, #C4BAB0 100%);
  transition: transform 0.9s var(--ease-out);
}
.project__img-wrap:hover .project__img { transform: scale(1.05); }

/* LAYOUT VARIANTS */
.project--large {
  grid-column: 1 / 8;
  grid-row: 1;
}
.project--large .project__img-wrap { aspect-ratio: 4/3; }

.project--offset {
  grid-column: 8 / 13;
  grid-row: 1;
  margin-top: clamp(80px, 12vw, 190px);
}
.project--offset .project__img-wrap { aspect-ratio: 3/4; }

.project--full {
  grid-column: 1 / 8;
  grid-row: 2;
}
.project--full .project__img-wrap { aspect-ratio: 4/3; }

.project--small {
  grid-column: 8 / 13;
  grid-row: 2;
  margin-top: clamp(80px, 12vw, 190px);
}
.project--small.project--right {
  grid-column: 8 / 13;
  margin-top: clamp(80px,12vw, 190px);
}
.project--small .project__img-wrap { aspect-ratio: 3/4; }

/* PROJECT INFO */
.project__info {
  margin-top: 18px;
}
.project__meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 8px;
}
.project__category {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
  line-height: 1.5;
}
.project__num {
  font-size: 0.6rem;
  letter-spacing: 0.15em;
  color: var(--sand);
  flex-shrink: 0;
}
.project__title {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
  font-weight: 300;
  letter-spacing: 0.01em;
  margin-bottom: 4px;
  transition: color 0.3s;
}
.project__link:hover .project__title { color: var(--accent); }
.project__sub {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--warm-gray);
}


/* ═══════════════════════════════════════════════
   PROJECT OVERLAY
═══════════════════════════════════════════════ */
.overlay-backdrop {
  position: fixed;
  inset: 0;
  z-index: 199;
  background: rgba(28,25,23,0.5);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s var(--ease-out);
}
.overlay-backdrop.active {
  opacity: 1;
  pointer-events: all;
}
.project-overlay {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  z-index: 200;
  width: min(900px, 92vw);
  background: var(--off-white);
  overflow-y: auto;
  transform: translateX(100%);
  transition: transform 0.7s var(--ease-out);
  overscroll-behavior: contain;
}
.project-overlay.active { transform: translateX(0); }
.overlay__close {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  background: var(--off-white);
  border: none;
  cursor: pointer;
  padding: 20px clamp(24px, 4vw, 48px);
  font-family: var(--sans);
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--stone);
  width: 100%;
  justify-content: flex-end;
  transition: color 0.3s;
  border-bottom: 1px solid var(--light-line);
}
.overlay__close:hover { color: var(--ink); }
.overlay__inner {
  padding: 48px clamp(24px, 4vw, 64px) clamp(80px, 10vw, 120px);
}
.overlay__header { margin-bottom: 40px; }
.overlay__meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.overlay__title {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1.05;
}
.overlay__hero-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  margin-bottom: 48px;
}
.overlay__hero-img > div {
  width: 100%; height: 100%;
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  background-image: linear-gradient(135deg, #DDD8D0 0%, #C4BAB0 100%);
}
.overlay__body {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  margin-bottom: 48px;
}
.overlay__description p {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 16px;
}
.overlay__specs {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 160px;
  border-left: 1px solid var(--light-line);
  padding-left: 28px;
}
.spec {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.spec span:first-child {
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--warm-gray);
}
.spec span:last-child {
  font-size: 0.85rem;
  color: var(--ink);
}
.overlay__gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.overlay__gallery-img {
  background-size: cover;
  background-position: center;
  background-color: var(--cream);
  background-image: linear-gradient(135deg, #DDD8D0 0%, #C4BAB0 100%);
  aspect-ratio: 4/3;
}
.overlay__gallery-img--tall { aspect-ratio: 3/4; }
.overlay__gallery-img--wide { grid-column: 1 / -1; aspect-ratio: 16/7; }


/* ═══════════════════════════════════════════════
   DIVIDER / QUOTE
═══════════════════════════════════════════════ */
.divider-section {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 40px;
  padding: clamp(30px, 4vw, 60px) clamp(24px, 5vw, 80px);
}
.divider-section__line {
  height: 1px;
  background: var(--light-line);
}
.divider-section__quote {
  font-family: var(--serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  color: var(--stone);
  white-space: nowrap;
}
.divider-section__quote cite {
  display: block;
  margin-top: 10px;
  font-style: normal;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--warm-gray);
}


/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
  background: var(--cream);
}
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(48px, 6vw, 96px);
  align-items: start;
}
.about__left { position: relative; }
.about__number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--warm-gray);
  margin-bottom: 40px;
}
.about__img-group {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.about__img {
  background-size: cover;
  background-position: center;
  background-color: var(--sand);
  background-image: linear-gradient(135deg, #C4BAB0 0%, #A89E94 100%);
}
.about__img--main {
  aspect-ratio: 3/4;
  grid-column: 1;
}
.about__img--accent {
  aspect-ratio: 1/1;
  grid-column: 2;
  margin-top: clamp(5px, 9vw, 115px);
}
.about__right {
  padding-top: clamp(40px, 5vw, 80px);
}
.about__heading {
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.2rem);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin-bottom: 36px;
}
.about__heading em { font-style: italic; color: var(--accent); }
.about__body {
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--stone);
  margin-bottom: 20px;
  max-width: 400px;
}
.about__credentials {
  display: flex;
  gap: 40px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--light-line);
}
.credential { display: flex; flex-direction: column; gap: 4px; }
.credential__val {
  font-family: var(--serif);
  font-size: 2.6rem;
  font-weight: 300;
  color: var(--ink);
  line-height: 1;
}
.credential__label {
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--warm-gray);
}


/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services {
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px);
}
.services__header {
  display: grid;
  grid-template-columns: 80px 1fr;
  align-items: baseline;
  margin-bottom: 64px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--light-line);
}
.services__number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: var(--warm-gray);
}
.services__heading {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 300;
}
.services__list { display: flex; flex-direction: column; }
.service__item {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  align-items: start;
  gap: 24px;
  padding: 36px 0;
  border-bottom: 1px solid var(--light-line);
  cursor: default;
  transition: background 0.3s;
}
.service__item:hover .service__arrow { opacity: 1; transform: translateX(0); }
.service__num {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  color: var(--warm-gray);
  padding-top: 4px;
}
.service__title {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  font-weight: 300;
  margin-bottom: 10px;
}
.service__desc {
  font-size: 0.82rem;
  line-height: 1.8;
  color: var(--stone);
  max-width: 480px;
}
.service__arrow {
  color: var(--accent);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.3s, transform 0.4s var(--ease-out);
  margin-top: 4px;
}


/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}
.contact__bg {
  position: absolute;
  inset: 0;
}
.contact__bg-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-color: #1C1917;
  background-image: linear-gradient(145deg, #1C1917 0%, #2D2520 50%, #3D302A 100%);
}
.contact__bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(28,25,23,0.88) 0%,
    rgba(28,25,23,0.5) 50%,
    rgba(28,25,23,0.3) 100%
  );
}
.contact__content {
  position: relative;
  z-index: 2;
  padding: clamp(80px, 12vw, 160px) clamp(24px, 5vw, 80px) clamp(48px, 6vw, 80px);
}
.contact__number {
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: rgba(245,243,239,0.35);
  margin-bottom: 32px;
}
.contact__heading {
  font-family: var(--serif);
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  letter-spacing: -0.01em;
  color: var(--off-white);
  margin-bottom: 60px;
}
.contact__heading em { font-style: italic; }
.contact__details {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__email {
  font-family: var(--serif);
  font-size: clamp(1.2rem, 2.5vw, 1.8rem);
  font-weight: 300;
  color: var(--off-white);
  border-bottom: 1px solid rgba(245,243,239,0.3);
  padding-bottom: 4px;
  display: inline-block;
  transition: border-color 0.3s, color 0.3s;
}
.contact__email:hover {
  color: var(--sand);
  border-color: rgba(245,243,239,0.7);
}
.contact__location {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.4);
}
.contact__social {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.35);
}
.contact__social-link {
  transition: color 0.3s;
}
.contact__social-link:hover { color: var(--off-white); }

.footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  padding: 24px clamp(24px, 5vw, 80px);
  border-top: 1px solid rgba(245,243,239,0.1);
  font-size: 0.6rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(245,243,239,0.25);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  .hero {
    min-height: 720px;
  }
  .hero__content {
    padding-bottom: clamp(96px, 14vh, 140px);
  }
  .hero__meta {
    right: 20px;
  }

  .statement__grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
  }
  .statement__number { display: none; }
  .statement__text-col {
    padding-right: 0;
  }
  .statement__img-col { margin-top: 40px; }
  .statement__img-frame { aspect-ratio: 4/3; }

  .work__header {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }
  .work__header-number {
    grid-column: 1 / -1;
  }

  .work__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    row-gap: 40px;
  }
  .project--large,
  .project--offset,
  .project--full,
  .project--small,
  .project--small.project--right {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0;
  }
  .project--large .project__img-wrap,
  .project--offset .project__img-wrap,
  .project--full .project__img-wrap,
  .project--small .project__img-wrap {
    aspect-ratio: 4 / 3;
  }

  .about__grid { grid-template-columns: 1fr; }
  .about__left { order: 2; }
  .about__right { order: 1; }
  .about__img-group { max-width: 500px; }
  .about__right {
    padding-top: 0;
  }

  .services__header {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .services__number {
    margin-bottom: 0;
  }

  .overlay__body { grid-template-columns: 1fr; }
  .overlay__specs { border-left: none; border-top: 1px solid var(--light-line); padding-left: 0; padding-top: 24px; flex-direction: row; flex-wrap: wrap; gap: 24px; }
}

@media (max-width: 640px) {
  :root {
    --nav-h: 72px;
  }

  .nav {
    padding: 0 20px;
  }
  .nav__links { display: none; }
  .nav__menu-btn { display: flex; }
  .nav__logo-text {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }

  .hero {
    min-height: 100svh;
  }
  .hero__content {
    padding: 0 20px 92px;
  }
  .hero__eyebrow {
    margin-bottom: 16px;
    font-size: 0.58rem;
    letter-spacing: 0.18em;
  }
  .hero__title {
    font-size: clamp(3.8rem, 18vw, 5.4rem);
    line-height: 0.92;
  }
  .hero__tagline {
    margin-top: 20px;
    max-width: 280px;
    font-size: 0.72rem;
    line-height: 1.6;
    letter-spacing: 0.16em;
  }
  .hero__meta {
    bottom: 28px;
    right: 20px;
  }
  .hero__index {
    left: 20px;
    bottom: 28px;
  }

  .statement,
  .work,
  .about,
  .services {
    padding-left: 20px;
    padding-right: 20px;
  }
  .statement {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .statement__heading {
    font-size: clamp(2.6rem, 13vw, 4rem);
    margin-bottom: 24px;
  }
  .statement__body {
    max-width: none;
    font-size: 0.88rem;
    line-height: 1.85;
    margin-bottom: 28px;
  }
  .statement__img-col {
    margin-top: 12px;
  }
  .statement__caption {
    text-align: left;
  }

  .work {
    padding-bottom: 72px;
  }
  .work__header {
    grid-template-columns: 1fr;
    gap: 10px;
    align-items: start;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  .work__heading {
    font-size: clamp(2.2rem, 12vw, 3rem);
    line-height: 1;
  }
  .work__year,
  .work__header-number {
    font-size: 0.72rem;
  }
  .work__grid {
    grid-template-columns: 1fr;
    gap: 28px;
    row-gap: 40px;
  }
  .project--large, .project--offset, .project--full,
  .project--small, .project--small.project--right {
    grid-column: 1 / -1;
    grid-row: auto;
    margin-top: 0;
  }
  .project__info {
    margin-top: 14px;
  }
  .project__meta {
    align-items: flex-start;
  }
  .project__category {
    max-width: calc(100% - 42px);
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  .project__title {
    font-size: clamp(1.05rem, 8vw, 2rem);
    line-height: 1.08;
    margin-bottom: 6px;
  }
  .project__sub {
    font-size: 0.82rem;
    letter-spacing: 0.08em;
  }

  .divider-section { grid-template-columns: 1fr; gap: 20px; }
  .divider-section__line:last-child { display: none; }
  .divider-section__quote { white-space: normal; font-size: 1.1rem; }

  .about {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .about__heading {
    font-size: clamp(2.4rem, 12vw, 3.6rem);
    margin-bottom: 24px;
  }
  .about__body {
    max-width: none;
  }
  .about__img-group {
    grid-template-columns: 1fr;
    max-width: none;
  }
  .about__img--accent {
    grid-column: 1;
    margin-top: 0;
    aspect-ratio: 4 / 3;
  }
  .about__credentials {
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 36px;
    padding-top: 24px;
  }

  .services {
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .services__header {
    margin-bottom: 36px;
    padding-bottom: 24px;
  }
  .service__item {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 24px 0;
  }
  .service__num {
    padding-top: 0;
  }
  .service__title {
    font-size: clamp(1.6rem, 9vw, 2.1rem);
    margin-bottom: 8px;
  }
  .service__desc {
    max-width: none;
  }
  .service__arrow { display: none; }

  .project-overlay {
    width: 100vw;
  }
  .overlay__close {
    padding: 18px 20px;
  }
  .overlay__inner {
    padding: 32px 20px 64px;
  }
  .overlay__header {
    margin-bottom: 28px;
  }
  .overlay__meta {
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
  }
  .overlay__hero-img {
    margin-bottom: 32px;
    aspect-ratio: 4 / 3;
  }
  .overlay__body {
    gap: 28px;
    margin-bottom: 32px;
  }
  .overlay__gallery { grid-template-columns: 1fr; }
  .overlay__gallery-img--wide { grid-column: 1; aspect-ratio: 4/3; }

  .contact {
    min-height: 78vh;
  }
  .contact__content {
    padding: 72px 20px 40px;
  }
  .contact__heading {
    margin-bottom: 36px;
    font-size: clamp(2.8rem, 15vw, 4.6rem);
    line-height: 0.96;
  }
  .contact__email {
    font-size: clamp(1.1rem, 7vw, 1.5rem);
  }
  .contact__location,
  .contact__social {
    letter-spacing: 0.14em;
  }
  .footer {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
    padding: 20px;
  }
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--sand); border-radius: 3px; }
