/* ============================================================
   joan-lee.com — main stylesheet
   Palette: gallery black-green + cream + Miró red
   ============================================================ */

:root {
  --bg-dark: #0E2520;
  --bg-deepest: #07140F;
  --bg-cream: #F4ECDC;
  --bg-cream-warm: #EDE3CF;
  --text-cream: #F4ECDC;
  --text-dark: #0E2520;
  --text-muted-dark: #5A8170;
  --text-muted-cream: #4A4A40;
  --text-cream-muted: #B5C2BB;
  --accent-red: #C5391E;
  --accent-yellow: #E5B53C;
  --hairline-cream: rgba(14, 37, 32, 0.12);
  --hairline-dark: rgba(244, 236, 220, 0.12);
  --serif: 'Cormorant Garamond', 'EB Garamond', Georgia, serif;
  --sans: 'Inter', -apple-system, 'Helvetica Neue', sans-serif;
  --mono: 'JetBrains Mono', 'SF Mono', monospace;
  --max: 1280px;
  --gutter: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-cream);
  color: var(--text-dark);
  font-family: var(--sans);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
em { font-style: italic; }

/* ----- custom cursor ----- */
.cursor {
  position: fixed;
  top: 0; left: 0;
  width: 22px; height: 22px;
  pointer-events: none;
  z-index: 9999;
  color: var(--accent-red);
  transform: translate(-50%, -50%);
  transition: transform 0.18s ease, opacity 0.2s ease;
  opacity: 0;
  mix-blend-mode: normal;
}
.cursor.visible { opacity: 1; }
.cursor.hover { transform: translate(-50%, -50%) scale(1.4); }
@media (hover: none), (max-width: 768px) { .cursor { display: none; } }

/* ----- nav ----- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px var(--gutter);
  background: rgba(14, 37, 32, 0.0);
  backdrop-filter: blur(0);
  transition: background 0.4s ease, backdrop-filter 0.4s ease, padding 0.4s ease;
}
.nav.scrolled {
  background: rgba(14, 37, 32, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  padding: 12px var(--gutter);
}
.nav-name {
  font-family: var(--serif);
  font-size: 17px;
  color: var(--text-cream);
  letter-spacing: 0.01em;
}
.nav-legal {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-muted-dark);
  text-transform: uppercase;
  margin-left: 2px;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.06em;
}
.nav-links a {
  color: var(--text-cream-muted);
  opacity: 0.85;
  transition: color 0.2s ease, opacity 0.2s ease;
}
.nav-links a:hover { color: var(--accent-red); opacity: 1; }
@media (max-width: 720px) {
  .nav-links { display: none; }
  .nav { padding: 14px var(--gutter); }
}

/* ----- hero ----- */
.hero {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  color: var(--text-cream);
  padding: 28vh var(--gutter) 12vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-watermark {
  position: absolute;
  top: -40px;
  right: -40px;
  font-family: var(--serif);
  font-size: clamp(220px, 28vw, 460px);
  line-height: 0.85;
  font-weight: 400;
  letter-spacing: -0.05em;
  color: rgba(90, 129, 112, 0.12);
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  width: 100%;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--text-muted-dark);
  margin-bottom: 36px;
}
.hero h1 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(64px, 11vw, 140px);
  line-height: 0.92;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}
.break { display: block; }
.hero-legal {
  display: block;
  font-family: var(--sans);
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 400;
  font-style: normal;
  letter-spacing: 0.32em;
  color: var(--text-muted-dark);
  margin-top: 18px;
}
.hero-tag {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  color: var(--text-cream);
  opacity: 0.9;
  max-width: 720px;
  margin-top: 32px;
  line-height: 1.4;
}
.ast {
  display: inline-block;
  width: 16px;
  height: 16px;
  color: var(--accent-red);
  vertical-align: -2px;
  margin: 0 6px;
}
.ast svg { width: 100%; height: 100%; }
.hero-divider {
  width: 80px;
  height: 1px;
  background: var(--text-muted-dark);
  margin: 36px 0 28px;
}
.hero-body {
  font-family: var(--sans);
  font-size: clamp(14px, 1.2vw, 16px);
  color: var(--text-cream-muted);
  max-width: 540px;
  line-height: 1.75;
  font-weight: 300;
}
.hero-scroll {
  position: absolute;
  bottom: 36px;
  left: var(--gutter);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted-dark);
  opacity: 0.8;
  transition: opacity 0.2s, color 0.2s;
}
.hero-scroll:hover { color: var(--accent-red); opacity: 1; }

/* ----- section base ----- */
.section {
  padding: clamp(80px, 12vh, 160px) var(--gutter);
  position: relative;
}
.section-dark { background: var(--bg-dark); color: var(--text-cream); }
.section-cream { background: var(--bg-cream); color: var(--text-dark); }
.section-deepest { background: var(--bg-deepest); color: var(--text-cream); padding-bottom: 120px; }

.num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  margin-bottom: 24px;
}
.section-dark .num { color: var(--text-muted-dark); }
.section-cream .num { color: var(--text-dark); opacity: 0.6; }

.section h2, .section-h {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 5.5vw, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  max-width: 880px;
}
.muted { color: var(--text-muted-dark); }

.body {
  font-family: var(--sans);
  font-size: clamp(14px, 1.1vw, 16px);
  font-weight: 300;
  line-height: 1.75;
  max-width: 580px;
  margin-bottom: 16px;
}
.section-dark .body { color: var(--text-cream-muted); }

.pullquote {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(20px, 2.2vw, 28px);
  line-height: 1.45;
  max-width: 640px;
  margin: 0 0 32px;
  font-weight: 400;
}
.section-dark .pullquote { color: var(--text-cream); opacity: 0.92; }

/* ----- asymmetric grid layout ----- */
.grid-asym {
  display: grid;
  grid-template-columns: 1fr 2.5fr;
  gap: clamp(36px, 6vw, 96px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
.col-side { padding-top: 8px; }
.col-main { max-width: 760px; }
@media (max-width: 800px) {
  .grid-asym { grid-template-columns: 1fr; gap: 28px; }
}

/* ----- practice section with portrait photo ----- */
.practice-layout {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  max-width: var(--max);
  margin: 0 auto;
}
.practice-portrait {
  position: sticky;
  top: 96px;
}
.portrait-photo {
  width: 100%;
  display: block;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: center 18%;
  filter: contrast(1.02) saturate(0.98);
}
.portrait-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-muted-cream);
  margin-top: 10px;
  text-transform: uppercase;
}
@media (max-width: 920px) {
  .practice-layout { grid-template-columns: 1fr; }
  .practice-portrait { position: static; max-width: 380px; }
}

.dot-mark {
  display: inline-block;
  width: 14px;
  height: 14px;
  background: var(--accent-red);
  border-radius: 50%;
  margin-top: 12px;
}
.ast-mark {
  display: inline-block;
  width: 28px;
  height: 28px;
  color: var(--accent-red);
  margin-top: 12px;
}
.ast-mark svg { width: 100%; height: 100%; }
.ast-inline {
  display: inline-block;
  width: 0.7em;
  height: 0.7em;
  vertical-align: 0.05em;
  margin: 0 0.15em;
  color: var(--accent-red);
}

/* ----- works section (videos — portrait drone footage) ----- */
.works-grid {
  display: flex;
  flex-direction: column;
  gap: clamp(56px, 8vw, 96px);
  margin-top: 48px;
  max-width: var(--max);
}
.work {
  display: block;
}
.work-link {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  color: inherit;
}
.work-media {
  position: relative;
  background: #1A3329;
  width: 300px;
  aspect-ratio: 720 / 1564;  /* actual drone video ratio */
  overflow: hidden;
}
.work-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.04) saturate(0.96);
  transition: filter 0.6s ease, transform 6s ease;
}
.work:hover .work-video { transform: scale(1.025); }
.work-sound {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(14, 37, 32, 0.7);
  border: 1px solid rgba(244, 236, 220, 0.3);
  color: var(--text-cream);
  font-family: var(--mono);
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.work-sound:hover { background: var(--accent-red); border-color: var(--accent-red); }
.work-info {
  padding: 12px 0;
}
.work-name {
  font-family: var(--serif);
  font-size: clamp(22px, 2.8vw, 36px);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 12px;
}
.work-meta {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--text-muted-dark);
  margin-bottom: 0;
  text-transform: uppercase;
}
.work-desc {
  font-family: var(--sans);
  font-size: 14.5px;
  line-height: 1.7;
  color: var(--text-cream-muted);
  margin-bottom: 20px;
  max-width: 520px;
}
.work-stat {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--text-cream-muted);
  display: flex;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid var(--hairline-dark);
}
.work-stat span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  min-width: 70px;
}
.work-arrow {
  display: inline-block;
  margin-left: 8px;
  color: var(--accent-red);
  transition: transform 0.4s cubic-bezier(.2,.6,.2,1);
}
.work:hover .work-arrow {
  transform: translateX(8px);
}
@media (max-width: 760px) {
  .work-link { grid-template-columns: 1fr; }
  .work-media { width: 100%; max-width: 260px; margin: 0 auto; }
}
.studio-card-link {
  display: block;
  color: inherit;
}
.studio-arrow {
  color: var(--accent-red);
  margin-left: 6px;
  display: inline-block;
  transition: transform 0.3s cubic-bezier(.2,.6,.2,1);
  opacity: 0;
}
.studio-card:hover .studio-arrow {
  opacity: 1;
  transform: translateX(4px);
}
.heritage-link {
  display: block;
  color: inherit;
}

/* ----- complex / park grids (10 official projects) ----- */
.complex-grid, .parks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 2.5vw, 36px);
  margin-top: 56px;
  max-width: var(--max);
}
@media (max-width: 980px) { .complex-grid, .parks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .complex-grid, .parks-grid { grid-template-columns: 1fr; } }

.complex-card, .park-card {
  display: block;
  color: inherit;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.complex-card:hover, .park-card:hover { transform: translateY(-4px); }

.complex-img, .park-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  margin-bottom: 18px;
  background: var(--bg-deepest);
}
.section-cream .park-img { background: var(--bg-cream-warm); border: 1px solid var(--hairline-cream); }
.complex-img img, .park-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.6,.2,1), filter 0.5s ease;
  filter: saturate(0.92);
}
.complex-card:hover .complex-img img,
.park-card:hover .park-img img {
  transform: scale(1.04);
  filter: saturate(1);
}

.complex-num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--accent-red);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.complex-status {
  font-family: var(--mono);
  font-size: 9.5px;
  letter-spacing: 0.16em;
  padding: 3px 8px;
  border-radius: 2px;
  text-transform: uppercase;
  font-weight: 400;
}
.status-built {
  background: rgba(197, 57, 30, 0.0);
  border: 1px solid rgba(197, 57, 30, 0.6);
  color: var(--accent-red);
}
.status-plan {
  background: transparent;
  border: 1px solid rgba(90, 129, 112, 0.5);
  color: var(--text-muted-dark);
}
.section-cream .status-plan { border-color: rgba(14, 37, 32, 0.3); color: rgba(14, 37, 32, 0.65); }

/* ----- bare fact lists (replaces aphorism prose) ----- */
.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  border-top: 1px solid var(--hairline-dark);
}
.section-cream .fact-list { border-top-color: var(--hairline-cream); }
.fact-list li {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-dark);
  font-size: 14px;
  line-height: 1.6;
  align-items: baseline;
}
.section-cream .fact-list li { border-bottom-color: var(--hairline-cream); }
.fact-key {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.section-dark .fact-key { color: var(--accent-red); }
.section-cream .fact-key { color: var(--text-muted-cream); opacity: 0.7; }
.fact-val {
  font-family: var(--sans);
  font-weight: 300;
}
.section-dark .fact-val { color: var(--text-cream-muted); }
.section-cream .fact-val { color: var(--text-dark); }
.fact-val a { border-bottom: 1px solid currentColor; }
@media (max-width: 600px) {
  .fact-list li { grid-template-columns: 1fr; gap: 4px; }
}
.complex-name {
  font-family: var(--serif);
  font-size: clamp(17px, 1.6vw, 21px);
  font-weight: 500;
  line-height: 1.25;
  margin-bottom: 4px;
  letter-spacing: -0.005em;
}
.complex-cn {
  font-family: var(--serif);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.4;
  margin-bottom: 8px;
}
.section-dark .complex-cn { color: var(--text-cream-muted); }
.section-cream .complex-cn { color: var(--text-muted-cream); }
.complex-meta {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.5;
  margin: 0;
}
.section-dark .complex-meta { color: var(--text-muted-dark); }
.section-cream .complex-meta { color: rgba(14, 37, 32, 0.55); }

.complex-desc {
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.65;
  margin-top: 10px;
  font-weight: 300;
}
.section-dark .complex-desc { color: var(--text-cream-muted); }
.section-cream .complex-desc { color: rgba(14, 37, 32, 0.58); }

/* ----- studios grid ----- */
.studios-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(16px, 2vw, 28px);
  margin-top: 56px;
  max-width: var(--max);
}
@media (max-width: 1080px) {
  .studios-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .studios-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .studios-grid { grid-template-columns: 1fr; }
}
.studio-card {
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease;
}
.studio-card:hover { transform: translateY(-4px); }
.studio-img {
  aspect-ratio: 4 / 3;
  background: var(--bg-cream-warm);
  overflow: hidden;
  margin-bottom: 16px;
  border: 1px solid var(--hairline-cream);
}
.studio-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.2,.6,.2,1), filter 0.5s ease;
  filter: saturate(0.85);
}
.studio-card:hover .studio-img img {
  transform: scale(1.06);
  filter: saturate(1);
}
.studio-firm {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 500;
  margin-bottom: 2px;
}
.studio-loc {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-dark);
  opacity: 0.5;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.studio-project {
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.45;
  color: var(--text-muted-cream);
  margin-bottom: 6px;
}
.studio-year {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--accent-red);
  letter-spacing: 0.12em;
}

/* ----- heritage section ----- */
.heritage-img {
  margin-top: 64px;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}
.heritage-img img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}
.cap {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted-dark);
  margin-top: 12px;
}

.stat-list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  border-top: 1px solid var(--hairline-dark);
}
.section-cream .stat-list { border-top-color: var(--hairline-cream); }
.stat-list li {
  font-family: var(--sans);
  font-size: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--hairline-dark);
  display: flex;
  gap: 18px;
  line-height: 1.5;
}
.section-cream .stat-list li { border-bottom-color: var(--hairline-cream); }
.stat-list span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--accent-red);
  min-width: 130px;
}
.section-dark .stat-list li { color: var(--text-cream-muted); }

/* ----- miro feature ----- */
.miro-feature {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(36px, 5vw, 80px);
  margin-top: 80px;
  max-width: var(--max);
  align-items: center;
}
@media (max-width: 880px) {
  .miro-feature { grid-template-columns: 1fr; gap: 48px; }
}
.miro-canvas {
  background: var(--bg-cream-warm);
  border: 1px solid var(--hairline-cream);
  aspect-ratio: 3 / 2;
  overflow: hidden;
}
.miro-canvas svg { width: 100%; height: 100%; display: block; }
.miro-label {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--accent-red);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.miro-meta h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 400;
  line-height: 1.25;
  margin-bottom: 16px;
}

/* ----- press list ----- */
.press-list {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  border-top: 1px solid var(--hairline-dark);
  max-width: var(--max);
}
.press-list li {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--hairline-dark);
  align-items: baseline;
  transition: padding 0.3s ease;
}
.press-list li:hover { padding-left: 14px; }
.press-list .src {
  font-family: var(--serif);
  font-size: clamp(18px, 1.8vw, 22px);
  font-weight: 500;
}
.press-list .src-meta {
  font-family: var(--sans);
  font-size: 13.5px;
  color: var(--text-cream-muted);
  line-height: 1.5;
}
@media (max-width: 720px) {
  .press-list li { grid-template-columns: 1fr; gap: 6px; }
}

/* ----- contact ----- */
.ast-large {
  display: inline-block;
  width: 36px;
  height: 36px;
  color: var(--accent-red);
  margin-bottom: 28px;
}
.ast-large svg { width: 100%; height: 100%; }
.contact-h {
  font-size: clamp(48px, 7vw, 88px);
  margin-bottom: 36px;
  max-width: 880px;
}
.contact-line {
  font-family: var(--serif);
  font-size: clamp(18px, 1.6vw, 22px);
  margin-bottom: 6px;
  color: var(--text-cream);
}
.contact-line a {
  color: var(--text-cream);
  border-bottom: 1px solid var(--text-muted-dark);
  transition: color 0.2s, border-color 0.2s;
}
.contact-line a:hover { color: var(--accent-red); border-bottom-color: var(--accent-red); }

.footer {
  margin-top: 120px;
  padding-top: 28px;
  border-top: 1px solid var(--hairline-dark);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  color: var(--text-muted-dark);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer .practising {
  font-size: 10px;
  opacity: 0.7;
  text-align: right;
  max-width: 420px;
}
@media (max-width: 720px) {
  .footer { flex-direction: column; }
  .footer .practising { text-align: left; }
}

/* ----- scroll-triggered reveal ----- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 1s cubic-bezier(.2,.6,.2,1), transform 1s cubic-bezier(.2,.6,.2,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal:nth-child(1) { transition-delay: 0s; }
.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .cursor { display: none; }
  html { scroll-behavior: auto; }
  .work-video { transition: none; }
}

/* ============================================================
   project detail pages
   ============================================================ */
.proj-back {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  color: var(--text-muted-dark);
  display: inline-block;
  margin-bottom: 36px;
  transition: color 0.2s;
}
.proj-back:hover { color: var(--accent-red); }

.proj-hero {
  background: var(--bg-dark);
  color: var(--text-cream);
  padding: 18vh var(--gutter) clamp(60px, 10vh, 120px);
  border-bottom: 1px solid var(--hairline-dark);
}
.proj-hero-inner { max-width: var(--max); margin: 0 auto; }
.proj-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  color: var(--accent-red);
  margin-bottom: 18px;
}
.proj-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 7vw, 96px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin-bottom: 24px;
  max-width: 1080px;
}
.proj-deck {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.45;
  color: var(--text-cream);
  opacity: 0.9;
  max-width: 720px;
  margin-bottom: 36px;
}
.proj-meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px 32px;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 28px;
  max-width: 960px;
}
.proj-meta-item {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--text-cream-muted);
}
.proj-meta-item .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  color: var(--text-muted-dark);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.proj-section {
  padding: clamp(60px, 10vh, 120px) var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
}
.proj-narrative {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
  max-width: var(--max);
}
@media (max-width: 800px) { .proj-narrative { grid-template-columns: 1fr; gap: 24px; } }
.proj-narrative .num { color: var(--text-muted-dark); }
.proj-narrative h2 {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  margin-bottom: 20px;
  max-width: 720px;
}
.proj-narrative p {
  font-family: var(--sans);
  font-size: clamp(14px, 1.1vw, 16px);
  line-height: 1.75;
  font-weight: 300;
  margin-bottom: 16px;
  max-width: 640px;
  color: var(--text-cream-muted);
}
.section-cream .proj-narrative p { color: var(--text-muted-cream); }

/* gallery */
.proj-gallery {
  display: grid;
  gap: clamp(16px, 2vw, 28px);
  margin-top: 48px;
}
.proj-gallery img {
  width: 100%;
  display: block;
  border: 1px solid var(--hairline-dark);
}
.section-cream .proj-gallery img { border-color: var(--hairline-cream); }
.proj-gallery-2 { grid-template-columns: 1fr 1fr; }
.proj-gallery-3 { grid-template-columns: repeat(3, 1fr); }
.proj-gallery-1 { grid-template-columns: 1fr; }
.proj-gallery .full { grid-column: 1 / -1; }
.proj-gallery .img-cap {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--text-muted-dark);
  margin-top: 8px;
  text-transform: uppercase;
}
.section-cream .proj-gallery .img-cap { color: rgba(14, 37, 32, 0.55); }

@media (max-width: 800px) {
  .proj-gallery-2, .proj-gallery-3 { grid-template-columns: 1fr; }
}

.proj-video-wrap {
  background: #000;
  display: flex;
  justify-content: center;
  margin-top: 40px;
  border: 1px solid var(--hairline-dark);
}
.proj-video-wrap video {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
}

/* studios block on project pages */
.proj-studios {
  margin-top: 56px;
  border-top: 1px solid var(--hairline-dark);
  padding-top: 36px;
}
.section-cream .proj-studios { border-top-color: var(--hairline-cream); }
.proj-studios-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-top: 18px;
  list-style: none;
  padding: 0;
}
.proj-studios-list li {
  padding: 18px 20px;
  border: 1px solid var(--hairline-dark);
}
.section-cream .proj-studios-list li { border-color: var(--hairline-cream); }
.proj-studios-list .firm {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 4px;
}
.proj-studios-list .role {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  color: var(--accent-red);
  text-transform: uppercase;
}

/* next/prev */
.proj-nav {
  border-top: 1px solid var(--hairline-dark);
  padding: 60px var(--gutter);
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.section-cream + .proj-nav { border-top-color: var(--hairline-cream); }
.proj-nav-link {
  font-family: var(--serif);
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 400;
  display: block;
  transition: color 0.2s;
}
.proj-nav-link:hover { color: var(--accent-red); }
.proj-nav-link .label {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  display: block;
  color: var(--text-muted-dark);
  margin-bottom: 10px;
  text-transform: uppercase;
}
.proj-nav-link.next { text-align: right; }
@media (max-width: 600px) {
  .proj-nav { grid-template-columns: 1fr; gap: 28px; }
  .proj-nav-link.next { text-align: left; }
}

