/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PAPER SHADOW — style.css
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* ─── TOKENS ─────────────────────────────────────────── */
:root {
  --bg-light:    #F4F2EE;
  --bg-dark:     #0E0D0B;
  --bg-marble:   #141210;
  --ink:         #111111;
  --ink-soft:    #6E6A64;
  --paper:       #FFFFFF;
  --line:        #DDD9D2;
  --accent:      #B2542C;
  --radius-pill: 999px;

  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --pad-x:  clamp(20px, 4vw, 56px);
  --max-w:  1440px;
  --hdr-h:  88px;
}

/* ─── RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; } /* Lenis handles smooth scroll */
body {
  background: var(--bg-light);
  color: var(--ink);
  font-family: 'Inter Tight', sans-serif;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
ul { list-style: none; }
address { font-style: normal; }
button { background: none; border: none; cursor: pointer; color: inherit; font: inherit; padding: 0; }

/* ─── UTILITIES ──────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
}

/* ─── PILL BUTTON ────────────────────────────────────── */
.pill-btn {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding: 0 20px;
  border: 1px solid var(--ink);
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: background 0.35s var(--ease), color 0.35s var(--ease);
  white-space: nowrap;
  cursor: pointer;
}
.pill-btn:hover { background: var(--ink); color: var(--paper); }

.pill-btn--dark  { border-color: rgba(255,255,255,0.3); color: var(--paper); }
.pill-btn--dark:hover  { background: var(--paper); color: var(--ink); border-color: var(--paper); }

.pill-btn--white { border-color: var(--paper); color: var(--paper); }
.pill-btn--white:hover { background: var(--paper); color: var(--ink); }

/* ─── ARROW BUTTON ───────────────────────────────────── */
.arrow-btn {
  width: 42px; height: 42px;
  border: none; background: none;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
}
.arrow-btn svg circle { transition: fill 0.3s var(--ease); fill: transparent; }
.arrow-btn svg path  { transition: stroke 0.3s var(--ease); }
.arrow-btn:hover svg circle { fill: var(--ink); }
.arrow-btn:hover svg path   { stroke: var(--paper); }
.arrow-btn.is-disabled { opacity: 0.25; pointer-events: none; }

.arrow-btn--light { color: rgba(255,255,255,0.85); }
.arrow-btn--light:hover svg circle { fill: rgba(255,255,255,0.9); }
.arrow-btn--light:hover svg path   { stroke: var(--ink); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HEADER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--hdr-h);
  background: var(--bg-light);
  border-bottom: 1px solid var(--line);
  transition:
    height    0.4s var(--ease),
    transform 0.4s var(--ease);
}
.header.is-scrolled { height: 64px; }
.header.is-hidden   { transform: translateY(-100%); }

.header__inner {
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--pad-x);
  height: 100%;
  display: flex; align-items: center; justify-content: space-between;
}

.header__logo { display: flex; align-items: center; }
.header__logo svg { height: 20px; width: auto; }
.header__logo-img { height: 65px; width: auto; display: block; }

.header__nav { display: flex; gap: 32px; }
.header__nav-link {
  font-size: 23px; font-weight: 500; letter-spacing: 0.02em;
  position: relative;
}
.header__nav-link::after {
  content: '';
  position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 1px;
  background: var(--ink);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.header__nav-link:hover::after { transform: scaleX(1); }

.header__hamburger {
  display: none; flex-direction: column; gap: 6px;
  width: 28px; padding: 4px 0;
}
.header__hamburger span {
  display: block; width: 100%; height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

/* ─── MOBILE MENU ────────────────────────────────────── */
.mobile-menu {
  position: fixed; inset: 0; z-index: 200;
  background: var(--bg-dark);
  display: flex; flex-direction: column; justify-content: center;
  padding: var(--pad-x);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.mobile-menu.is-open { opacity: 1; pointer-events: all; }

.mobile-menu__close {
  position: absolute; top: 28px; right: var(--pad-x);
  width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
}
.mobile-menu__close span {
  position: absolute; width: 22px; height: 1px; background: var(--paper);
}
.mobile-menu__close span:first-child { transform: rotate(45deg); }
.mobile-menu__close span:last-child  { transform: rotate(-45deg); }

.mobile-menu__nav { display: flex; flex-direction: column; }

.mobile-menu__link {
  font-size: clamp(36px, 8vw, 56px);
  font-weight: 500; letter-spacing: -0.02em;
  color: var(--paper); display: block;
  padding: 10px 0; border-bottom: 1px solid rgba(255,255,255,0.08);
  opacity: 0; transform: translateY(36px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: translateY(0); }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.08s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.16s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.24s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.32s; }
.mobile-menu__link:hover { opacity: 0.7 !important; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   HERO
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  overflow: hidden;
  display: flex; align-items: flex-end;
  padding-bottom: clamp(48px, 8vh, 96px);
}

.hero__media {
  position: absolute; inset: 0;
  will-change: transform;
}
.hero__bg {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, #332e28 0%, #1e1b17 40%, #0e0d0b 100%);
  background-size: cover; background-position: center;
}
.hero__img, .hero__video {
  width: 100%; height: 100%; object-fit: cover;
}

/* gradient veil */
.hero__veil {
  position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(0,0,0,0.65) 0%,
    rgba(0,0,0,0.15) 50%,
    rgba(0,0,0,0.0) 100%);
  pointer-events: none;
}

.hero__content {
  position: relative; z-index: 2;
  max-width: var(--max-w); margin-inline: auto;
  padding-inline: var(--pad-x); width: 100%;
}

.hero__eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 22px;
  opacity: 0;
}

.hero__title {
  font-size: clamp(40px, 6vw, 88px);
  font-weight: 500; line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--paper);
}

/* Each line is an overflow:hidden mask */
.line-mask { display: block; overflow: hidden; }
.line-inner { display: block; transform: translateY(110%); }

/* Hero slides — stacked, crossfade via opacity */
.hero__slide {
  position: absolute; inset: 0;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__slide.is-active { opacity: 1; }
.hero__slide .hero__img {
  width: 100%; height: 100%; object-fit: cover;
}

/* Prev / next arrows */
.hero__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}
.hero__arrow--prev { left: var(--pad-x); }
.hero__arrow--next { right: var(--pad-x); }

/* Dot navigation */
.hero__dots {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px;
  z-index: 3;
}
.hero__dot {
  width: 20px; height: 2px;
  background: rgba(255,255,255,0.35);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.35s, width 0.35s;
}
.hero__dot.is-active {
  width: 34px;
  background: rgba(255,255,255,0.9);
}

.hero__scroll-hint {
  position: absolute; right: var(--pad-x); bottom: 0;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10px; font-weight: 500; letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  opacity: 0;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   INTRO — scroll-darkening statement
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.intro {
  padding-top: clamp(90px, 12vw, 160px);
  padding-bottom: clamp(40px, 5vw, 70px);
}

.intro__inner {
  max-width: 1180px;
  margin-inline: auto;
  text-align: center;
}

.intro__eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

.intro__text {
  font-size: clamp(20px, 2.6vw, 32px);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -0.01em;
  text-align: justify;
  text-align-last: center;
}

.intro__word {
  color: #DAD6CE;
  display: inline-block;
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECTS SLIDER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.projects {
  padding-top: clamp(50px, 6vw, 90px);
  padding-bottom: clamp(80px, 10vw, 140px);
}

.projects__header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(16px, 2.5vw, 40px);
  margin-bottom: clamp(32px, 4vw, 52px);
}

.projects__title {
  flex: 0 0 auto;
  font-size: 52px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.15;
  color: var(--ink);
  opacity: 0; transform: translateY(40px);
}

.projects__header-content {
  flex: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-width: 0;
}

.projects__blurb {
  flex: 1;
  min-width: 160px;
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  opacity: 0; transform: translateY(40px);
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: clamp(20px, 3vw, 48px);
  row-gap: clamp(40px, 5vw, 64px);
}

.projects__more {
  display: flex;
  justify-content: center;
  margin-top: clamp(40px, 5vw, 64px);
}

.project-card {
  min-width: 0;
  opacity: 0; transform: translateY(40px);
}

.project-card__media {
  aspect-ratio: 4 / 3; overflow: hidden;
  background: #ccc8c0;
  position: relative;
  border-radius: 10px;
}
.project-card__media > * {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block;
}
.project-card__media img {
  transform: scale(1) translateZ(0);
  transition: transform 0.6s var(--ease);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.project-card:hover .project-card__media img { transform: scale(1.05) translateZ(0); }

.project-card__placeholder {
  width: 100%; height: 100%;
}

.project-card__info {
  padding-top: 14px;
  font-size: 15px; font-weight: 400; line-height: 1.4;
  color: var(--ink);
  display: flex; align-items: baseline; gap: 10px;
}
.project-card__info strong {
  font-weight: 500;
  color: var(--accent);
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROCESS
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.process {
  background: var(--bg-dark);
  position: relative;
  padding: clamp(80px, 10vw, 140px) 0;
}

/* subtle marble texture via CSS */
.process::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    repeating-linear-gradient(108deg, transparent 0 80px, rgba(255,255,255,0.013) 80px 81px),
    repeating-linear-gradient(72deg,  transparent 0 120px, rgba(255,255,255,0.009) 120px 121px);
  mix-blend-mode: overlay;
}

.process__title {
  font-size: clamp(40px, 6vw, 76px);
  font-weight: 700; letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: clamp(40px, 6vw, 72px);
  opacity: 0; transform: translateY(32px);
}

.process__content {
  display: flex;
  flex-direction: column;
  gap: clamp(32px, 5vw, 56px);
  margin-bottom: clamp(28px, 4vw, 48px);
}

.process__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 48px);
}

.process__item {
  border-top: 1px solid rgba(255,255,255,0.1);
  cursor: pointer; overflow: hidden;
  opacity: 0.35;
  transition: opacity 0.4s var(--ease);
}
.process__item.is-active { opacity: 1; }

.process__item-row {
  display: flex; flex-direction: column; align-items: flex-start; gap: 14px;
  padding: clamp(18px, 2.5vw, 28px) 0;
  height: 100%;
}

.process__item-main {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
}
.process__num {
  font-size: 11px; font-weight: 500; letter-spacing: 0.1em;
  color: rgba(255,255,255,0.3);
}
.process__item-name {
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 500; color: var(--paper);
  line-height: 1.1; letter-spacing: -0.02em;
}
.process__item-desc {
  font-size: 13px; color: rgba(255,255,255,0.45);
  line-height: 1.55;
}

.process__media { position: relative; width: 100%; }

.process__img-frame {
  height: clamp(320px, 32vw, 460px);
  min-height: 260px;
  overflow: hidden; position: relative;
  border-radius: 4px;
  background: var(--bg-marble);
}
.process__img {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.06);
  transition:
    opacity   0.6s var(--ease),
    transform 0.6s var(--ease);
}
.process__img.is-active { opacity: 1; transform: scale(1); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   MARQUEE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.marquee-strip {
  display: block;
  background: var(--bg-light);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
  padding: clamp(18px, 2.5vw, 28px) 0;
  text-decoration: none;
}

.marquee__track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-strip:hover .marquee__track { animation-duration: 56s; }

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.marquee__inner {
  display: flex; align-items: center;
  gap: clamp(28px, 3.5vw, 48px);
  padding-right: clamp(28px, 3.5vw, 48px);
  white-space: nowrap;
}

.marquee__sans {
  font-size: clamp(20px, 2.5vw, 34px);
  font-weight: 500; color: var(--ink); letter-spacing: -0.01em;
}
.marquee__serif {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(20px, 2.5vw, 34px);
  color: var(--ink-soft);
}
.marquee__sep { font-size: 20px; color: var(--accent); font-weight: 700; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   NEWS & INSIGHT
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.news { padding: clamp(80px, 10vw, 140px) 0; }

.news__header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: clamp(36px, 5vw, 60px);
  flex-wrap: wrap; gap: 16px;
}
.news__title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 600; letter-spacing: -0.02em;
  opacity: 0; transform: translateY(40px);
}
.news__blurb {
  font-size: 14px; color: var(--ink-soft); margin-top: 8px;
  opacity: 0; transform: translateY(40px);
}

.news__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1.1fr;
  gap: 20px;
  align-items: start;
}

.news-card { display: block; opacity: 0; transform: translateY(48px); }
.news-card__media { overflow: hidden; background: #ccc8c0; }
.news-card:nth-child(1) .news-card__media,
.news-card:nth-child(2) .news-card__media,
.news-card:nth-child(3) .news-card__media { aspect-ratio: 3 / 4; }

.news-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card__media img { transform: scale(1.05); }

/* ensure aspect-ratio container is respected for both img and placeholder */
.news-card__media { position: relative; }
.news-card__media > * { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

.news-card__placeholder { width: 100%; height: 100%; display: block; }

.news-card__body { padding-top: 14px; }
.news-card__meta {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--ink-soft);
  display: flex; align-items: center; gap: 8px;
  margin-bottom: 8px;
}
.news-card__meta-read {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  text-transform: none; letter-spacing: 0;
  font-size: 13px;
}
.news-card__title {
  font-size: clamp(14px, 1.2vw, 16px);
  font-weight: 600; line-height: 1.4; letter-spacing: -0.01em;
}
.news-card:hover .news-card__title { text-decoration: underline; text-underline-offset: 3px; }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   FOOTER
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.footer {
  background: var(--bg-dark);
  padding-top: clamp(80px, 10vw, 120px);
  padding-bottom: 40px;
}

.footer__main {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
  padding-bottom: clamp(60px, 8vw, 96px);
  opacity: 0; transform: translateY(40px);
}

.footer__title {
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 500; color: var(--paper);
  letter-spacing: -0.02em; line-height: 1.05;
}

.footer__label { color: rgba(255,255,255,0.35); }

.footer__mid {
  display: flex; flex-direction: column; gap: 10px;
  font-size: 27px; color: rgba(255,255,255,0.65); line-height: 1.7;
}
.footer__mid a:hover { color: var(--paper); }

.footer__right {
  display: flex; flex-direction: column; gap: 24px; align-items: flex-start;
}
.footer__socials { display: flex; gap: 10px; }
.footer__social-icon {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.2); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.55);
  transition: border-color 0.3s, color 0.3s;
}
.footer__social-icon:hover { border-color: var(--paper); color: var(--paper); }

.footer__divider { border: none; border-top: 1px solid rgba(255,255,255,0.1); margin-bottom: 24px; }

.footer__bottom-row {
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 12px;
}
.footer__copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer__part-of {
  display: flex; align-items: center; gap: 10px;
  font-size: 12px; color: rgba(255,255,255,0.25);
}
.footer__brand {
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__brand:hover { color: var(--paper); }


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   RESPONSIVE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (max-width: 1024px) {
  .process__list       { grid-template-columns: repeat(2, 1fr); }
  .process__img-frame  { height: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .footer__main   { grid-template-columns: 1fr 1fr; }
  .footer__left   { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header__nav       { display: none; }
  .header__hamburger { display: flex; }

  .process__list { grid-template-columns: 1fr; }

  .projects__grid { grid-template-columns: 1fr; row-gap: 40px; }

  .news__grid { grid-template-columns: 1fr; }
  .news-card:nth-child(1) .news-card__media,
  .news-card:nth-child(2) .news-card__media,
  .news-card:nth-child(3) .news-card__media { aspect-ratio: 4 / 3; }

  .footer__main  { grid-template-columns: 1fr; }
  .footer__left  { grid-column: auto; }
}

@media (max-width: 640px) {
  .projects__title         { flex: 0 0 100%; }
  .projects__header-content { flex: 0 0 100%; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   REDUCED MOTION
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
@media (prefers-reduced-motion: reduce) {
  .marquee__track { animation: none; }
  .line-inner { transform: none !important; }
  * {
    transition-duration:  0.01ms !important;
    animation-duration:   0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECTS PAGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */

/* Active nav link on projects page */
.header__nav-link[aria-current="page"] { color: var(--accent); }

/* Page title */
.page-title-section {
  padding-top: calc(var(--hdr-h) + clamp(48px, 7vw, 96px));
  padding-bottom: clamp(24px, 4vw, 48px);
}
.page-title {
  font-size: clamp(40px, 6vw, 80px);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.02;
}
.page-subtitle {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-size: clamp(16px, 1.6vw, 22px);
  color: var(--ink-soft);
  margin-top: 12px;
}

/* Filter bar */
.projects-filter-bar {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: clamp(40px, 6vw, 72px);
}
.projects-filter-bar__inner {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
  padding-block: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 0;
  font-size: 15px;
}
.filter-btn {
  color: var(--ink-soft);
  transition: color 0.2s;
  padding: 4px 0;
  letter-spacing: 0.01em;
}
.filter-btn + .filter-btn::before {
  content: '·';
  margin: 0 10px;
  color: var(--line);
  pointer-events: none;
}
.filter-btn.is-active { color: var(--accent); font-weight: 500; }
.filter-btn:hover:not(.is-active) { color: var(--ink); }

/* 2-column project grid */
.projects-page-section {
  padding-bottom: clamp(80px, 12vw, 160px);
}
.pg-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(24px, 4vw, 48px) clamp(16px, 2vw, 32px);
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.pg-card a { display: block; }
.pg-card .project-card__media { aspect-ratio: 4 / 3; }
.pg-card .project-card__info {
  padding-top: 18px;
  padding-bottom: 6px;
  font-size: 16px;
}
.pg-card .project-card__info strong { font-size: 17px; }

@media (max-width: 640px) {
  .pg-grid { grid-template-columns: 1fr; }
  .page-title-section { padding-top: calc(var(--hdr-h) + 32px); }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   ABOUT PAGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.about-hero {
  height: 60vh;
  min-height: 420px;
  max-height: 640px;
  overflow: hidden;
}
.about-hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.about-intro {
  padding-top: clamp(64px, 8vw, 96px);
  padding-bottom: clamp(56px, 7vw, 88px);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: clamp(32px, 5vw, 64px);
}
.about-intro__title {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.about-intro__text p {
  font-size: 20px;
  line-height: 1.75;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.about-intro__text p:last-child { margin-bottom: 0; }

.about-team {
  padding-bottom: clamp(80px, 12vw, 160px);
}
.about-team__title {
  font-size: clamp(28px, 2.6vw, 36px);
  font-weight: 500;
  letter-spacing: -0.01em;
  margin-bottom: clamp(28px, 4vw, 44px);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(24px, 3vw, 40px) clamp(20px, 2.5vw, 32px);
}
.team-card { opacity: 0; transform: translateY(30px); }
.team-card__media {
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 4px;
  background: #ccc8c0;
}
.team-card__media img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  filter: grayscale(1);
  transition: transform 0.5s var(--ease);
}
.team-card:hover .team-card__media img { transform: scale(1.05); }
.team-card__info {
  padding-top: 14px;
  font-size: 15px; font-weight: 500;
  color: var(--ink);
}

@media (max-width: 768px) {
  .about-intro { grid-template-columns: 1fr; }
  .team-grid   { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .team-grid { grid-template-columns: 1fr; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   PROJECT DETAIL
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.pd-hero {
  height: 70vh;
  min-height: 460px;
  max-height: 720px;
  overflow: hidden;
}
.pd-hero__img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}

.pd-header {
  padding-top: clamp(40px, 5vw, 64px);
  padding-bottom: clamp(48px, 6vw, 80px);
  display: grid;
  grid-template-columns: minmax(200px, 320px) 1fr;
  gap: clamp(24px, 4vw, 64px);
}
.pd-header__title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  letter-spacing: -0.01em;
}
.pd-header__location {
  font-size: 14px;
  color: var(--ink-soft);
  margin-top: 4px;
}
.pd-header__desc p {
  font-size: 20px;
  line-height: 1.75;
  color: #000;
  margin-bottom: 16px;
}
.pd-header__desc p:last-child { margin-bottom: 0; }

.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: clamp(16px, 2vw, 24px);
  padding-bottom: clamp(80px, 10vw, 140px);
}
.pd-gallery > div { opacity: 0; transform: translateY(30px); }
.pd-gallery img {
  width: 100%; display: block; object-fit: cover;
  border-radius: 4px;
}
.pd-gallery__large img { aspect-ratio: 16 / 10; }
.pd-gallery__pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(16px, 2vw, 24px);
}
.pd-gallery__pair img { aspect-ratio: 4 / 5; height: 100%; }
.pd-gallery__full img { aspect-ratio: 16 / 9; }

.pd-related {
  padding-bottom: clamp(80px, 12vw, 160px);
}
.pd-related__title {
  font-size: clamp(24px, 2.2vw, 30px);
  font-weight: 500;
  margin-bottom: clamp(24px, 3vw, 36px);
}

@media (max-width: 768px) {
  .pd-header        { grid-template-columns: 1fr; }
  .pd-gallery__pair { grid-template-columns: 1fr; }
  .pd-gallery__pair img { aspect-ratio: 4 / 3; }
}


/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   CONTACT PAGE
   ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
.contact-hero {
  position: relative;
  height: 50vh;
  min-height: 380px;
  max-height: 560px;
  overflow: hidden;
}
.contact-hero__img { width: 100%; height: 100%; object-fit: cover; display: block; }
.contact-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,13,11,0.25) 0%, rgba(14,13,11,0.6) 100%);
}
.contact-hero__content {
  position: absolute; left: 0; right: 0; bottom: clamp(28px, 5vw, 56px);
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 20px;
  padding-inline: var(--pad-x);
}
.contact-hero__eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  margin-bottom: 14px;
}
.contact-hero__title {
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 500;
  color: var(--paper);
  letter-spacing: -0.01em;
  line-height: 1;
}
.contact-hero__crumb {
  display: inline-flex; align-items: center; gap: 8px;
  height: 38px; padding: 0 18px;
  background: var(--paper);
  border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 500; color: var(--ink-soft);
  white-space: nowrap;
}
.contact-hero__crumb a:hover { color: var(--accent); }
.contact-hero__crumb span { color: var(--ink); }

/* ── intro + form ── */
.contact-section {
  padding-top: clamp(64px, 9vw, 112px);
  padding-bottom: clamp(56px, 8vw, 96px);
  display: grid;
  grid-template-columns: 1fr 0.82fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.contact-eyebrow {
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 20px;
}
.contact-section__title {
  font-size: clamp(30px, 3.4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.15;
  margin-bottom: 20px;
  max-width: 14ch;
}
.contact-section__blurb {
  font-size: 16px; line-height: 1.75; color: var(--ink-soft);
  max-width: 46ch;
  margin-bottom: clamp(36px, 5vw, 52px);
}

.contact-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
}
.contact-details__group h3 {
  font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.contact-details__group p,
.contact-details__group a { font-size: 16px; line-height: 1.6; display: block; }
.contact-details__group a:hover { color: var(--accent); }
.contact-details__socials { display: flex; gap: 10px; margin-top: 2px; }
.contact-details__social-icon {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.3s var(--ease), border-color 0.3s var(--ease), color 0.3s var(--ease);
}
.contact-details__social-icon:hover { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.contact-form {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: clamp(28px, 4vw, 44px);
}
.contact-form__title { font-size: 22px; font-weight: 500; margin-bottom: 8px; }
.contact-form__note { font-size: 14px; color: var(--ink-soft); line-height: 1.6; margin-bottom: 28px; }
.contact-form .field { position: relative; margin-bottom: 22px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  border: none; border-bottom: 1px solid var(--line);
  background: transparent;
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 8px 2px 10px;
  transition: border-color 0.3s var(--ease);
}
.contact-form textarea { resize: vertical; min-height: 64px; }
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: var(--ink-soft); opacity: 0.65; }
.contact-form input:focus,
.contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form__submit { margin-top: 6px; }
.contact-form__status {
  font-size: 13px; margin-top: 16px; color: var(--accent);
  opacity: 0; height: 0; overflow: hidden;
  transition: opacity 0.3s var(--ease);
}
.contact-form__status.is-visible { opacity: 1; height: auto; }

/* ── map ── */
.contact-map { padding-bottom: clamp(28px, 4vw, 48px); }
.contact-map__frame {
  width: 100%; height: clamp(360px, 42vw, 520px);
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.contact-map__frame iframe { width: 100%; height: 100%; border: 0; display: block; filter: grayscale(0.25) contrast(1.02); }
.contact-map__link {
  display: inline-block;
  margin-top: 18px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-soft);
}
.contact-map__link:hover { color: var(--accent); }

@media (max-width: 900px) {
  .contact-section { grid-template-columns: 1fr; }
  .contact-hero__content { flex-direction: column; align-items: flex-start; gap: 16px; }
}
@media (max-width: 480px) {
  .contact-details { grid-template-columns: 1fr; }
}
