/* APRÈSPACE — Editorial neutral system */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  /* Bone — default */
  --bg: #F4F0EA;
  --bg-elev: #FAF7F2;
  --ink: #1A1816;
  --ink-2: #3A3633;
  --ink-3: #6B6560;
  --rule: #1A18161A;
  --accent: #1A1816;

  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --pad: clamp(20px, 4vw, 64px);
}

[data-palette="stone"] {
  --bg: #E8E8E3;
  --bg-elev: #F1F1EC;
  --ink: #1F2421;
  --ink-2: #3F4541;
  --ink-3: #6F7570;
  --rule: #1F24211F;
  --accent: #2D3530;
}

[data-palette="plaster"] {
  --bg: #EFE6DC;
  --bg-elev: #F7F0E6;
  --ink: #2A1F18;
  --ink-2: #4D3A2C;
  --ink-3: #806B5A;
  --rule: #2A1F1822;
  --accent: #8C4A2D;
}

[data-palette="oxblood"] {
  --bg: #1B1715;
  --bg-elev: #211C19;
  --ink: #EFE7DA;
  --ink-2: #C8BBA8;
  --ink-3: #8B8175;
  --rule: #EFE7DA22;
  --accent: #C8553D;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html, body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  letter-spacing: 0.01em;
}

img { display: block; max-width: 100%; }

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

.serif { font-family: var(--serif); font-weight: 400; letter-spacing: -0.01em; }
.mono { font-family: var(--mono); text-transform: uppercase; font-size: 11px; letter-spacing: 0.18em; }
.eyebrow { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-3); }

/* --- nav --- */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-wm { font-family: var(--serif); font-size: 22px; letter-spacing: 0.18em; font-weight: 500; }
.nav-wm i { font-style: normal; }
.nav-logo { display: block; height: 26px; width: auto; }
@media (max-width: 720px) { .nav-logo { height: 20px; } }
.nav-links { display: flex; gap: 36px; }
.nav-links a {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-2);
  position: relative; padding-bottom: 2px;
  transition: color 200ms ease;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: var(--ink);
}
.nav-meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-3); }
.nav-wm, .nav-meta { white-space: nowrap; }
@media (max-width: 1100px) { .nav-links { gap: 24px; } .nav-meta { display: none; } }
@media (max-width: 720px) { .nav { flex-wrap: wrap; row-gap: 12px; } .nav-links { gap: 16px; flex-wrap: wrap; } }

/* --- hero --- */
.hero {
  position: relative;
  height: calc(100vh - 70px);
  min-height: 720px;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0) 30%, rgba(0,0,0,0.55) 100%);
}
.hero-caption {
  position: absolute; left: var(--pad); right: var(--pad); bottom: 56px;
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: end;
  color: #FAF7F2;
}
.hero-caption h1 {
  font-family: var(--serif);
  font-size: clamp(56px, 9vw, 148px);
  line-height: 0.92;
  font-weight: 300;
  letter-spacing: -0.02em;
  max-width: 12ch;
}
.hero-caption h1 em { font-style: italic; font-weight: 300; }
.hero-meta { text-align: right; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; opacity: 0.85; }
.hero-meta div + div { margin-top: 6px; }
.hero-tag {
  position: absolute; top: 32px; left: var(--pad);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: #FAF7F2;
  display: flex; align-items: center; gap: 12px;
}
.hero-tag::before { content: ''; width: 18px; height: 1px; background: #FAF7F2; }

/* --- sections --- */
section { padding: clamp(80px, 10vh, 140px) var(--pad); }

.section-head {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 64px;
  align-items: end;
}
.section-head .num { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--ink-3); }
.section-head h2 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(38px, 5vw, 72px);
  line-height: 1.02; letter-spacing: -0.015em;
  max-width: 16ch;
}
.section-head h2 em { font-style: italic; }

/* philosophy */
.philosophy {
  background: var(--bg-elev);
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.philo-grid {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.philo-text p {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 32px);
  line-height: 1.35; font-weight: 300;
  color: var(--ink-2);
  text-wrap: pretty;
  max-width: 26ch;
}
.philo-text p + p { margin-top: 24px; font-size: 16px; font-family: var(--sans); color: var(--ink-3); max-width: 42ch; line-height: 1.65; }
.philo-image {
  aspect-ratio: 4/5;
  background: var(--bg);
  overflow: hidden;
}
.philo-image img { width: 100%; height: 100%; object-fit: cover; }

/* projects grid */
.projects {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 32px 24px;
}
.project { cursor: pointer; }
.project-img {
  aspect-ratio: 4/5; overflow: hidden; background: var(--bg-elev);
  position: relative;
}
.project-img.wide { aspect-ratio: 16/10; }
.project-img.tall { aspect-ratio: 3/4; }
.project-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.project:hover .project-img img { transform: scale(1.03); }
.project-info {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 16px; gap: 16px;
}
.project-info h3 {
  font-family: var(--serif); font-weight: 400;
  font-size: 24px; letter-spacing: -0.005em;
}
.project-info .meta { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-3); white-space: nowrap; }

/* spans */
.span-3 { grid-column: span 3; }
.span-4 { grid-column: span 4; }
.span-5 { grid-column: span 5; }
.span-6 { grid-column: span 6; }
.span-7 { grid-column: span 7; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
.start-2 { grid-column-start: 2; }
.start-4 { grid-column-start: 4; }
.start-6 { grid-column-start: 6; }

/* press strip */
.press-strip {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 1px;
  background: var(--rule);
  border-block: 1px solid var(--rule);
}
.press-strip > div {
  background: var(--bg);
  padding: 36px 24px;
  text-align: center;
  font-family: var(--serif);
  font-style: italic; font-size: 22px; font-weight: 400;
  color: var(--ink-2);
}

/* footer */
.foot {
  background: var(--ink);
  color: var(--bg);
  padding: 100px var(--pad) 36px;
}
.foot-cta {
  font-family: var(--serif);
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 300; line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 80px;
}
.foot-cta em { font-style: italic; }
.foot-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px;
  padding-top: 40px; border-top: 1px solid #FAF7F222;
}
.foot-grid h4 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; margin-bottom: 14px; opacity: 0.6; }
.foot-grid p, .foot-grid a { color: var(--bg); opacity: 0.85; font-size: 14px; line-height: 1.7; }
.foot-grid a { display: block; }
.foot-grid a:hover { opacity: 1; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 60px; font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.2em; opacity: 0.55;
}

/* fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 900ms ease, transform 900ms cubic-bezier(0.2, 0.7, 0.2, 1); }
.reveal.in { opacity: 1; transform: none; }

/* Page wrapper for canvas artboards */
.page-frame {
  width: 100%;
  height: 100%;
  overflow-y: auto;
  background: var(--bg);
  position: relative;
}
.page-frame::-webkit-scrollbar { width: 8px; }
.page-frame::-webkit-scrollbar-track { background: transparent; }
.page-frame::-webkit-scrollbar-thumb { background: var(--rule); border-radius: 4px; }

/* generic block utilities */
.tag-row { display: flex; gap: 20px; align-items: center; }
.tag-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--ink-3); }

/* PORTFOLIO PAGE */
.port-hero {
  padding: 100px var(--pad) 64px;
  border-bottom: 1px solid var(--rule);
}
.port-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(64px, 10vw, 160px);
  line-height: 0.92; letter-spacing: -0.025em;
}
.port-hero h1 em { font-style: italic; }
.port-meta {
  display: flex; justify-content: space-between; align-items: end;
  margin-top: 40px; font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; color: var(--ink-3);
}
.port-filters { display: flex; gap: 24px; }
.port-filters span { cursor: pointer; padding-bottom: 4px; transition: color .2s; }
.port-filters span.active { color: var(--ink); border-bottom: 1px solid var(--ink); }

/* PROJECT DETAIL */
.proj-hero {
  position: relative;
  height: 88vh; min-height: 640px; overflow: hidden;
}
.proj-hero img { width: 100%; height: 100%; object-fit: cover; }
.proj-hero .crumb {
  position: absolute; top: 32px; left: var(--pad);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: #FAF7F2;
}
.proj-meta-bar {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px;
  padding: 36px var(--pad);
  border-bottom: 1px solid var(--rule);
  align-items: end;
}
.proj-meta-bar h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(42px, 6vw, 88px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.proj-meta-bar h1 em { font-style: italic; }
.proj-meta-bar .field h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-3); margin-bottom: 6px; }
.proj-meta-bar .field p { font-family: var(--serif); font-size: 18px; }

.proj-body {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px);
  padding: 100px var(--pad);
}
.proj-body .lede {
  font-family: var(--serif);
  font-size: clamp(24px, 2.4vw, 36px);
  line-height: 1.3; font-weight: 300;
  color: var(--ink-2);
}
.proj-body .lede em { font-style: italic; }
.proj-body .copy { color: var(--ink-2); font-size: 16px; line-height: 1.75; max-width: 52ch; }
.proj-body .copy p + p { margin-top: 18px; }

.gallery {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px;
  padding: 0 var(--pad) 100px;
}
.gallery .g-img { overflow: hidden; background: var(--bg-elev); }
.gallery .g-img img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4/5; }
.gallery .g-img.wide img { aspect-ratio: 16/10; }
.gallery .g-img.tall img { aspect-ratio: 2/3; }

/* ABOUT */
.about-hero {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5vw, 80px);
  padding: 100px var(--pad);
  align-items: center;
}
.about-hero h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(48px, 6vw, 96px);
  line-height: 1; letter-spacing: -0.02em;
}
.about-hero h1 em { font-style: italic; }
.about-hero img { aspect-ratio: 3/4; object-fit: cover; width: 100%; }
.about-bio {
  display: grid; grid-template-columns: 1fr 2fr; gap: clamp(40px, 5vw, 80px);
  padding: 80px var(--pad); border-top: 1px solid var(--rule);
}
.about-bio p { font-family: var(--serif); font-size: 22px; line-height: 1.5; font-weight: 300; color: var(--ink-2); }
.about-bio p + p { margin-top: 18px; }

.cred-list {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px 24px;
  padding: 60px var(--pad) 120px;
}
.cred-list .cred {
  grid-column: span 12;
  display: grid; grid-template-columns: 80px 1fr 2fr 1fr;
  gap: 24px; padding: 22px 0;
  border-top: 1px solid var(--rule);
  font-size: 14px;
  align-items: center;
}
.cred .yr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-3); }
.cred .role { font-family: var(--serif); font-size: 22px; font-weight: 400; }
.cred .where { color: var(--ink-2); }
.cred .loc { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-3); text-align: right; }

/* PRESS */
.press-list {
  padding: 60px var(--pad) 120px;
}
.press-row {
  display: grid; grid-template-columns: 80px 1fr 2fr 1fr 24px;
  gap: 32px; padding: 28px 0;
  border-top: 1px solid var(--rule); align-items: center;
  cursor: pointer; transition: padding .3s ease;
}
.press-row:hover { padding-left: 12px; }
.press-row:last-child { border-bottom: 1px solid var(--rule); }
.press-row .yr { font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; color: var(--ink-3); }
.press-row .pub { font-family: var(--serif); font-style: italic; font-size: 24px; }
.press-row .title { color: var(--ink-2); font-size: 15px; }
.press-row .proj { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.18em; color: var(--ink-3); text-transform: uppercase; }
.press-row .proj .firm { display: block; margin-top: 6px; color: var(--ink-2); }
.press-row .arr { font-family: var(--mono); font-size: 16px; color: var(--ink-3); transition: transform .3s; }
.press-row:hover .arr { transform: translateX(4px); color: var(--ink); }

/* CONTACT */
.contact-page {
  display: grid; grid-template-columns: 1.1fr 1fr;
  min-height: calc(100% - 70px);
}
.contact-left {
  padding: 80px var(--pad);
  display: flex; flex-direction: column; justify-content: space-between;
  border-right: 1px solid var(--rule);
}
.contact-left h1 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(56px, 7vw, 120px);
  line-height: 0.95; letter-spacing: -0.02em;
}
.contact-left h1 em { font-style: italic; }
.contact-info { margin-top: 60px; }
.contact-info .block { padding: 22px 0; border-top: 1px solid var(--rule); }
.contact-info .block:last-child { border-bottom: 1px solid var(--rule); }
.contact-info h5 { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.22em; color: var(--ink-3); margin-bottom: 8px; }
.contact-info p { font-family: var(--serif); font-size: 22px; }
.contact-right {
  padding: 80px var(--pad);
  display: flex; flex-direction: column; gap: 28px;
  background: var(--bg-elev);
}
.contact-right h2 { font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--ink-3); margin-bottom: 8px; }
.contact-right .field {
  display: flex; flex-direction: column; gap: 6px;
  border-bottom: 1px solid var(--rule); padding-bottom: 14px;
}
.contact-right .field label { font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; color: var(--ink-3); }
.contact-right .field input,
.contact-right .field textarea,
.contact-right .field select {
  background: transparent; border: none; outline: none;
  font-family: var(--serif); font-size: 22px; color: var(--ink);
  padding: 4px 0;
  resize: none;
  font-weight: 400;
}
.contact-right .field textarea { min-height: 100px; }
.contact-right .field input::placeholder,
.contact-right .field textarea::placeholder { color: var(--ink-3); font-style: italic; opacity: 0.7; }
.send-btn {
  margin-top: 24px;
  padding: 18px 28px;
  background: var(--ink); color: var(--bg);
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  border: none; cursor: pointer; text-transform: uppercase;
  display: flex; justify-content: space-between; align-items: center;
  transition: background 0.2s;
}
.send-btn:hover { background: var(--ink-2); }
.send-btn[disabled] { opacity: 0.5; cursor: default; }

/* PORTFOLIO — sections & subsections */
.port-section {
  padding: 80px var(--pad);
}
.port-section + .port-section { border-top: 1px solid var(--rule); }
.port-section .sec-label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em;
  color: var(--ink-3); text-transform: uppercase; margin-bottom: 12px;
}
.port-section .sec-title {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(40px, 6vw, 88px); line-height: 0.98; letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.port-section .sec-title em { font-style: italic; }
.port-section .sec-note {
  color: var(--ink-2); font-size: 15px; line-height: 1.6;
  max-width: 52ch; margin-bottom: 56px;
}
.sub-group { margin-bottom: 72px; }
.sub-group:last-child { margin-bottom: 0; }
.sub-head {
  display: flex; align-items: baseline; gap: 16px;
  margin-bottom: 32px; padding-bottom: 16px; border-bottom: 1px solid var(--rule);
}
.sub-head .sub-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.22em; color: var(--ink-3);
}
.sub-head h3 {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(22px, 3vw, 38px); letter-spacing: -0.01em;
}
.card-loc { color: var(--ink-3); font-size: 13px; margin-top: 4px; }

/* Placeholder for projects whose photography isn't in yet */
.img-fallback {
  position: absolute; inset: 0; z-index: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 12px; padding: 24px; text-align: center;
  background: var(--bg-elev); border: 1px solid var(--rule);
}
.img-fallback .ph-name {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(20px, 2.4vw, 30px); color: var(--ink-2); letter-spacing: -0.01em;
}
.img-fallback .ph-note {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--ink-3);
}
.project-img img, .proj-hero img { position: relative; z-index: 1; }

/* ── No-crop presentation: show full photo with breathing room ── */
/* Cards: contain the cover inside the card box (whitespace, never cropped) */
.project-img.fit { background: var(--bg-elev); }
.project-img.fit img { object-fit: contain; }

/* Project hero: full image, centered, generous whitespace, no crop */
.proj-hero.fit {
  height: auto; min-height: 0; overflow: visible;
  background: var(--bg-elev);
  display: flex; justify-content: center; align-items: center;
  padding: 72px var(--pad) 32px;
}
.proj-hero.fit img {
  width: auto; max-width: 100%; max-height: 84vh; height: auto;
  object-fit: contain;
}
.proj-hero.fit .crumb { color: var(--ink-2); }

/* Project gallery: masonry of full images, lots of white space, no crop */
.gallery.fit {
  display: block; columns: 2; column-gap: 32px;
  padding: 48px var(--pad) 110px;
}
.gallery.fit .g-img {
  break-inside: avoid; margin: 0 0 32px;
  overflow: visible; background: transparent; grid-column: auto;
}
.gallery.fit .g-img img {
  width: 100%; height: auto; aspect-ratio: auto; object-fit: contain; display: block;
}
@media (max-width: 768px) { .gallery.fit { columns: 1; } }

/* ── Process (interior design stages) ── */
.process-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
}
.process-step {
  padding: 32px 0;
  border-top: 1px solid var(--rule);
}
.process-step .step-num {
  color: var(--ink-3); font-size: 12px; letter-spacing: 0.22em; margin-bottom: 14px;
}
.process-step .step-title {
  font-size: clamp(22px, 2.4vw, 30px); font-weight: 400;
  letter-spacing: -0.01em; margin-bottom: 12px;
}
.process-step .step-desc {
  color: var(--ink-2); font-size: 14px; line-height: 1.72; max-width: 46ch;
}
@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr; } }

/* ----- Services ----- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); }
.svc-grid .svc { background: var(--bg); padding: 40px 28px; }
@media (max-width: 900px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px) { .svc-grid { grid-template-columns: 1fr; } }

/* ----- Project slideshow (one photo at a time) ----- */
.slideshow { padding: 0 var(--pad) 80px; }
.slide-stage {
  position: relative; height: min(80vh, 820px);
  background: var(--bg-elev);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.slide-stage img { width: 100%; height: 100%; object-fit: contain; animation: slideFade 400ms ease; }
@keyframes slideFade { from { opacity: 0; } to { opacity: 1; } }
.slide-arrow {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 52px; height: 52px; border-radius: 50%;
  border: 1px solid var(--rule); background: color-mix(in oklab, var(--bg) 85%, transparent);
  color: var(--ink); font-size: 20px; cursor: pointer;
  transition: background 200ms ease;
}
.slide-arrow:hover { background: var(--bg); }
.slide-arrow.prev { left: 20px; }
.slide-arrow.next { right: 20px; }
.slide-count { margin-top: 16px; text-align: center; color: var(--ink-3); letter-spacing: 0.2em; font-size: 11px; }
@media (max-width: 768px) {
  .slide-stage { height: 60vh; }
  .slide-arrow { width: 40px; height: 40px; font-size: 16px; }
  .slide-arrow.prev { left: 8px; } .slide-arrow.next { right: 8px; }
}

/* ----- Past Lives → Project List ----- */
.past-list { margin-top: 80px; }
.past-row { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; padding-block: 40px; border-bottom: 1px solid var(--rule); align-items: start; }
.past-imgs { display: flex; flex-direction: column; gap: 16px; }
.past-img { background: var(--bg-elev); }
.past-img.empty { flex: 1 1 auto; min-height: 200px; border: 1px solid var(--rule); }
.past-imgs.logo { justify-content: center; align-items: center; min-height: 240px; }
.past-imgs.logo .past-img { background: transparent; }
.past-imgs.logo .past-img img { width: auto; max-width: 60%; margin: 0 auto; }
.past-imgs.fill .past-img { flex: 1 1 auto; position: relative; min-height: 240px; }
.past-imgs.fill .past-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.past-img img { width: 100%; height: auto; display: block; }
.past-row { align-items: stretch; }
.past-text { display: flex; flex-direction: column; }
.past-side { flex: 1 1 auto; position: relative; min-height: 240px; margin-top: 28px; }
.past-side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; object-position: right bottom; }
.past-text h4 { font-family: var(--serif); font-weight: 400; font-size: 32px; margin-bottom: 12px; }
.past-meta { color: var(--ink-3); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 20px; }
.past-credit { margin-top: 20px; color: var(--ink-3); font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; }
.past-text p { color: var(--ink-2); font-size: 15px; line-height: 1.7; max-width: 52ch; }
@media (max-width: 768px) {
  .past-row { grid-template-columns: 1fr; gap: 20px; }
  .past-side { min-height: 0; }
  .past-side img { position: static; height: auto; }
}

/* Press groups (Aprèspace Press / Past Lives Press) */
.press-list + .press-list { padding-top: 0; }
.press-list:has(+ .press-list) { padding-bottom: 60px; }
.press-group { border-bottom: 0; margin-bottom: 8px; }

/* ----- Services → Project Types ----- */
.type-list { border-top: 1px solid var(--rule); }
.type-row { display: grid; grid-template-columns: 60px minmax(0, 1fr) minmax(0, 1.4fr); gap: 32px; align-items: baseline; padding: 28px 0; border-bottom: 1px solid var(--rule); }
.type-num { color: var(--ink-3); font-size: 11px; letter-spacing: 0.18em; }
.type-title { font-family: var(--serif); font-size: 28px; font-weight: 400; }
.type-desc { color: var(--ink-2); font-size: 15px; line-height: 1.6; }
@media (max-width: 768px) { .type-row { grid-template-columns: 40px 1fr; gap: 8px 16px; } .type-desc { grid-column: 2; } }

/* Past Lives intro statement */
.port-section .sec-statement {
  font-family: var(--serif); font-weight: 300;
  font-size: clamp(24px, 2.8vw, 38px); line-height: 1.3; letter-spacing: -0.005em;
  max-width: 44ch; margin: 8px 0 24px; color: var(--ink);
}
.port-section .sec-statement-note {
  font-family: var(--serif); font-style: italic; font-weight: 300;
  font-size: clamp(18px, 1.8vw, 24px); line-height: 1.4; color: var(--ink-2);
  max-width: 44ch; margin-bottom: 64px;
}

/* Project cards and the logo are real links: keep them looking like before */
a.project, a.nav-wm { display: block; color: inherit; text-decoration: none; }

/* Adding ?export=1 to a page address shows every section at once, for exporting
   full-page images to share. It has no effect on the normal site. */
html.export .reveal, html.export .reveal.in { opacity: 1 !important; transform: none !important; }
/* In export mode the window is as tall as the whole page, so sections sized to
   the screen height are pinned to a normal screen's worth instead. */
html.export .hero { height: 830px; }
html.export .proj-hero { height: 760px; min-height: 0; }
html.export .proj-hero.fit img { max-height: 700px; }
html.export .slide-stage { height: 760px; }
html.export section { padding-block: 100px; }
