:root {
  --bg: #0A0907;
  --text: #E8E5DC;
  --text-muted: #767369;
  --text-faint: #4A4842;
  --hairline: #1F1E1A;
  --hover: #C9C3B0;
  --accent: #C8402E;  /* warm red — used only for the wordmark's back-to-home hover */
  --font-mono: 'Geist Mono', ui-monospace, 'SF Mono', monospace;
  --font-serif: 'Fraunces', Georgia, serif;
  --max-width: 1680px;
  --pad-h: clamp(1rem, 1.8vw, 2.5rem);
}

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

html {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-mono);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  min-height: 100vh;
  line-height: 1.5;
  overflow-x: hidden;
}

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

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--pad-h);
}

/* ─── TOP NAV ─────────────────────────── */
nav.top {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  gap: 2rem;
  opacity: 0;
  animation: fade-in 1.2s ease 0.3s forwards;
}

nav.top .left,
nav.top .right {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-muted);
}

nav.top .right {
  text-align: right;
  align-self: start;
  font-size: 0.52rem;
  letter-spacing: 0.18em;
  line-height: 1;
  padding-top: 0.25rem;
}

nav.top a {
  color: var(--text-muted);
  transition: color 0.4s ease;
}

nav.top a:hover { color: var(--text); }

h1.name {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-size: clamp(1.5rem, 3.8vw, 3rem);
  font-weight: 300;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-align: center;
  color: var(--text);
  line-height: 1;
  white-space: nowrap;
}

h1.name a {
  color: inherit;
  transition: color 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* On non-home pages the wordmark links home — signal it on hover:
   true Fraunces italic + warm red. */
h1.name a:hover {
  color: var(--accent);
  font-style: italic;
}

/* ─── HAIRLINE ────────────────────────── */
.hairline {
  height: 1px;
  background: var(--hairline);
  transform-origin: left center;
  transform: scaleX(0);
  animation: draw-line 1.6s cubic-bezier(0.65, 0, 0.35, 1) 0.8s forwards;
}

/* ─── TOP NAV SEPARATOR ───────────────── */
nav.top .right .sep {
  color: var(--text-faint);
  margin: 0 0.5em;
}

/* ─── HOME MAIN LAYOUT ────────────────── */
main.home {
  padding-top: 2.5rem;
  padding-bottom: 5rem;
}

/* ─── CATEGORY NAV (horizontal row) ───── */
aside.categories {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fade-in 1.2s ease 1.4s forwards;
}

aside.categories ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

aside.categories li {
  margin: 0;
}

aside.categories a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

aside.categories a:hover,
aside.categories a.active {
  color: var(--text);
}

/* ─── PROJECT GRID ────────────────────── */
.grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem 1.5rem;
}

/* Home-only entrance choreography for project tiles — the NEXT strip
   on detail pages skips this and fades in as a unit instead. */
main.home .project {
  opacity: 0;
  animation: fade-in 1s ease forwards;
}

main.home .project:nth-child(1)  { animation-delay: 1.9s; }
main.home .project:nth-child(2)  { animation-delay: 2.0s; }
main.home .project:nth-child(3)  { animation-delay: 2.1s; }
main.home .project:nth-child(4)  { animation-delay: 2.2s; }
main.home .project:nth-child(5)  { animation-delay: 2.35s; }
main.home .project:nth-child(6)  { animation-delay: 2.45s; }
main.home .project:nth-child(7)  { animation-delay: 2.55s; }
main.home .project:nth-child(8)  { animation-delay: 2.65s; }
main.home .project:nth-child(9)  { animation-delay: 2.8s; }
main.home .project:nth-child(10) { animation-delay: 2.9s; }
main.home .project:nth-child(11) { animation-delay: 3.0s; }
main.home .project:nth-child(12) { animation-delay: 3.1s; }

.project a {
  display: block;
  color: var(--text);
}

.project .label {
  display: grid;
  grid-template-columns: 2.2rem 1fr;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
  font-size: 0.66rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.project .label .num {
  color: var(--text-faint);
}

.project .label .title {
  color: var(--text);
  transition: color 0.3s ease;
}

.project .label .meta {
  grid-column: 2;
  color: var(--text-muted);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  margin-top: 0.1rem;
}

.project a:hover .label .title { color: var(--hover); }
.project a:hover .thumb-inner { filter: brightness(1.12); }

/* ─── THUMBNAILS (placeholder gradients) ──────── */
.thumb {
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
  background: #161410;
}

.thumb-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transition: filter 0.4s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.thumb-inner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, transparent 25%, rgba(0,0,0,0.45) 100%);
  pointer-events: none;
}

/* Real Vimeo poster frame (used when a project has a `poster`). */
.thumb-inner.thumb-img {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Shared placeholder gradients — used by .thumb-inner on home tiles
   AND .hero-poster on detail pages (so a project's identity gradient
   is consistent across surfaces). */
.t1  { background: linear-gradient(135deg, #2a261e 0%, #0e0c08 100%); }
.t2  { background: linear-gradient(160deg, #1a2228 0%, #08090c 100%); }
.t3  { background: linear-gradient(120deg, #2e2218 0%, #100a06 100%); }
.t4  { background: linear-gradient(180deg, #1c1a18 0%, #0a0908 100%); }
.t5  { background: linear-gradient(145deg, #2c2616 0%, #14110a 100%); }
.t6  { background: linear-gradient(155deg, #18242a 0%, #0a0e12 100%); }
.t7  { background: linear-gradient(125deg, #2a201a 0%, #120e0a 100%); }
.t8  { background: linear-gradient(170deg, #1e1a28 0%, #0c0a14 100%); }
.t9  { background: linear-gradient(140deg, #28201c 0%, #100a08 100%); }
.t10 { background: linear-gradient(150deg, #1c2a26 0%, #0a100e 100%); }
.t11 { background: linear-gradient(135deg, #2a2422 0%, #0e0c0a 100%); }
.t12 { background: linear-gradient(165deg, #1e1c28 0%, #0a0a12 100%); }

/* ─── FOOTER ──────────────────────────── */
footer {
  border-top: 1px solid var(--hairline);
  padding: 2.5rem 0 1.5rem;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: center;
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  opacity: 0;
  animation: fade-in 1.2s ease 3.4s forwards;
}

footer .monogram {
  font-family: var(--font-serif);
  font-weight: 300;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
}

footer .right { text-align: right; }

footer a {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

footer a:hover { color: var(--text); }

.from-not-for {
  text-align: center;
  padding-bottom: 1.5rem;
  font-size: 0.55rem;
  color: var(--text-faint);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 1.2s ease 3.7s forwards;
}

/* ─── ANIMATIONS ──────────────────────── */
@keyframes fade-in {
  to { opacity: 1; }
}

@keyframes draw-line {
  to { transform: scaleX(1); }
}

/* ─── RESPONSIVE ──────────────────────── */
@media (max-width: 1100px) {
  aside.categories ul {
    gap: 0.5rem 1.25rem;
  }
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 720px) {
  nav.top {
    grid-template-columns: 1fr 2fr 1fr;
    gap: 1rem;
  }
  nav.top .left,
  nav.top .right {
    font-size: 0.58rem;
    letter-spacing: 0.14em;
  }
  h1.name {
    font-size: 1.05rem;
    letter-spacing: 0.06em;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }
  .project .label {
    grid-template-columns: 1.8rem 1fr;
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }
  .project .label .meta {
    font-size: 0.55rem;
  }
  footer {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 1rem;
  }
  footer .right { text-align: center; }
}

/* ─── REDUCED MOTION ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0s !important;
    transition-duration: 0.01ms !important;
  }
  .hairline { transform: scaleX(1); }
  nav.top, aside.categories, .project, footer, .from-not-for {
    opacity: 1;
  }
}

/* ════════════════════════════════════════════════════════
   PROJECT DETAIL PAGE
   ════════════════════════════════════════════════════════ */

.project-page {
  padding-top: 2rem;
  padding-bottom: 5rem;
}

/* Narrow text column — width-matched to the default 16:9 hero so title,
   format and credits align with the video edges. Description stays at
   62ch (left-aligned within this wider column) for reading comfort. */
.project-narrow {
  max-width: calc(88vh * 16 / 9);
  margin: 0 auto;
}

/* ─── DETAIL: ← INDEX NAV LINK ─────────── */
nav.top .left a {
  color: var(--text-muted);
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color 0.3s ease;
}
nav.top .left a:hover { color: var(--text); }

/* ─── TITLE BLOCK ────────────────────────── */
/* Title block sits ABOVE the hero as a small mono "credit" — reads as
   a restrained film title card before the work plays. */
.project-header {
  display: grid;
  grid-template-columns: 2.2rem auto 1fr auto;
  gap: 0.3rem 1rem;
  align-items: baseline;
  margin-bottom: 1.5rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 0.5s ease 0.4s forwards;
}

.project-header .num {
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.16em;
}

.project-header .project-title {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin: 0;
}

.project-header .year {
  grid-column: 4;
  font-size: 0.62rem;
  color: var(--text-muted);
  letter-spacing: 0.2em;
}

.project-header .meta {
  grid-column: 2 / -1;
  font-size: 0.6rem;
  color: var(--text-muted);
  letter-spacing: 0.18em;
  margin-top: 0.1rem;
}

/* ─── HERO ───────────────────────────────── */
/* Hero leads the page and fills the container, capped at 88vh*16/9
   so the metadata below stays in comfortable scroll range while the
   video reads as edge-to-edge cinematic on typical displays. */
.project-hero {
  position: relative;
  width: 100%;
  max-width: calc(88vh * 16 / 9);
  aspect-ratio: 16 / 9;
  margin: 0 auto 4rem;
  border: 1px solid transparent;
  animation: hero-frame 0.6s cubic-bezier(0.65, 0, 0.35, 1) 0.6s forwards;
}

.project-hero[data-aspect="2.39:1"] {
  aspect-ratio: 2.39 / 1;
  max-width: calc(88vh * 2.39 / 1);
}
.project-hero[data-aspect="4:3"] {
  aspect-ratio: 4 / 3;
  max-width: calc(88vh * 4 / 3);
}
.project-hero[data-aspect="1:1"] {
  aspect-ratio: 1 / 1;
  max-width: calc(88vh * 1 / 1);
}

@keyframes hero-frame {
  to { border-color: var(--hairline); }
}

.project-hero .hero-media {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: fade-in 0.8s ease 1.0s forwards;
}

.project-hero iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg);
}

/* Hero poster takes its gradient from the project's `thumb` field
   (via the .t1–.t12 classes), so projects without a vimeoId yet still
   show the same warm gradient as their home tile. */
.project-hero .hero-poster {
  position: absolute;
  inset: 0;
}

/* ─── ALTERNATE CUTS (secondary video under the hero) ─── */
/* Inset narrower than the full hero so it reads as secondary. */
.project-cut {
  max-width: calc(60vh * 16 / 9);
  margin: 0 auto 4rem;
}

.cut-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--hairline);
}

.cut-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 1px solid var(--hairline);
}

.cut-frame[data-aspect="2.39:1"] { aspect-ratio: 2.39 / 1; }
.cut-frame[data-aspect="4:3"]    { aspect-ratio: 4 / 3; }
.cut-frame[data-aspect="1:1"]    { aspect-ratio: 1 / 1; }

.cut-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  background: var(--bg);
}

/* ─── DESCRIPTION ────────────────────────── */
/* ─── BODY: description + meta sidebar ──── */
.project-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 22rem);
  gap: 4rem;
  align-items: start;
  opacity: 0;
  animation: fade-in 0.5s ease 1.4s forwards;
}

/* Body collapses to a single column when there's no meta sidebar
   (no format and no credits in frontmatter). Prevents the 352px empty
   column to the right of the description on projects without metadata. */
.project-body.project-body--solo {
  grid-template-columns: 1fr;
}

.project-description {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

.project-description p + p {
  margin-top: 1.2rem;
}

.project-meta-side {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* ─── FORMAT / CREDITS BLOCKS ────────────── */
.project-meta-block {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.7rem 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin: 0;
}

.project-meta-block dt {
  color: var(--text-muted);
}

.project-meta-block dd {
  color: var(--text);
  margin: 0;
}

/* ─── DETAIL PAGE RESPONSIVE ─────────────── */
@media (max-width: 900px) {
  .project-body {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 720px) {
  .project-page {
    padding-top: 2rem;
    padding-bottom: 3rem;
  }
  .project-hero {
    margin: 0 auto 2rem;
  }
  .project-header {
    grid-template-columns: 2rem 1fr;
  }
  .project-header .year {
    grid-column: 2;
    margin-top: 0.3rem;
    align-self: start;
  }
  .project-header .meta {
    grid-column: 1 / -1;
  }
  .project-meta-block {
    grid-template-columns: 5rem 1fr;
    font-size: 0.6rem;
  }
}

/* ════════════════════════════════════════════════════════
   STILLS / BTS GALLERY
   ════════════════════════════════════════════════════════ */

.project-stills {
  max-width: calc(88vh * 16 / 9);
  margin: 0 auto 5rem;
  opacity: 0;
  animation: fade-in 0.6s ease 0.6s forwards;
}

.stills-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

.stills-label .stills-count {
  color: var(--text-faint);
  letter-spacing: 0.2em;
}

.stills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.still {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #161410;
  border: 1px solid var(--hairline);
  cursor: zoom-in;
}

.still img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.4s ease, transform 0.6s cubic-bezier(0.65, 0, 0.35, 1);
  opacity: 0.92;
}

.still:hover img {
  opacity: 1;
  transform: scale(1.02);
}

@media (max-width: 1000px) {
  .stills-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .stills-grid { grid-template-columns: 1fr; }
}

/* ─── LIGHTBOX ────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 3vw, 3rem);
}

.lightbox[aria-hidden="false"] {
  display: flex;
  animation: fade-in 0.25s ease forwards;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 9, 7, 0.97);
  cursor: zoom-out;
}

.lightbox-figure {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  max-height: 100%;
}

.lightbox-image {
  max-width: 100%;
  max-height: 82vh;
  object-fit: contain;
  display: block;
  border: 1px solid var(--hairline);
}

.lightbox-caption {
  display: flex;
  align-items: baseline;
  gap: 1.5rem;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

.lightbox-counter {
  color: var(--text-faint);
}

.lightbox-alt {
  color: var(--text-muted);
}

.lightbox-btn {
  position: absolute;
  z-index: 2;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text-muted);
  font-family: var(--font-serif);
  font-weight: 300;
  cursor: pointer;
  width: 3rem;
  height: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  line-height: 1;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.lightbox-btn:hover {
  color: var(--text);
  border-color: var(--text-muted);
}

.lightbox-prev { left: clamp(1rem, 3vw, 3rem); }
.lightbox-next { right: clamp(1rem, 3vw, 3rem); }
.lightbox-close {
  top: clamp(1rem, 3vw, 3rem);
  right: clamp(1rem, 3vw, 3rem);
  font-family: var(--font-mono);
  font-size: 1rem;
}

@media (max-width: 600px) {
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }
  .lightbox-btn { width: 2.4rem; height: 2.4rem; }
  .lightbox-caption {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .still img,
  .lightbox-btn {
    transition: none;
  }
  .lightbox[aria-hidden="false"] {
    animation: none;
  }
}

/* ════════════════════════════════════════════════════════
   NEXT STRIP — project-to-project navigation
   ════════════════════════════════════════════════════════ */

.project-next {
  max-width: calc(88vh * 16 / 9);
  margin: 5rem auto 0;
  opacity: 0;
  animation: fade-in 0.6s ease 1.6s forwards;
}

.next-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

.next-label .next-all {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.next-label .next-all:hover {
  color: var(--text);
}

.next-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem 1.5rem;
}

@media (max-width: 1000px) {
  .next-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .next-grid { grid-template-columns: 1fr; }
  .project-next { margin-top: 3rem; }
}

/* ════════════════════════════════════════════════════════
   /ABOUT PAGE — statement-led (Option D)
   ════════════════════════════════════════════════════════ */

/* Small identity block: ABOUT label above, roles line below. */
.page-about .page-header {
  display: block;
  margin-bottom: 5rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 0.5s ease 0.4s forwards;
}

.page-about .page-header .label {
  display: block;
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.18em;
  margin-bottom: 0.75rem;
}

.page-about .page-header .roles {
  font-size: 0.85rem;
  color: var(--text);
  letter-spacing: 0.2em;
  text-align: center;
}

/* ─── The mission statement (Fraunces, larger) ─── */
.page-mission {
  margin-bottom: 5rem;
  opacity: 0;
  animation: fade-in 0.7s ease 0.8s forwards;
}

/* ─── Bio + portrait (2-col like project detail body) ── */
.page-bio {
  margin-bottom: 5rem;
  opacity: 0;
  animation: fade-in 0.6s ease 1.2s forwards;
}

/* /about needs its own .project-body timing (the shared rule below
   assumes the project-detail choreography which lands later). */
.page-about .page-bio .project-body {
  animation: none;
  opacity: 1;
}

.mission-statement {
  font-family: var(--font-serif);
  font-optical-sizing: auto;
  font-variation-settings: "opsz" 144;
  font-weight: 300;
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  line-height: 1.55;
  letter-spacing: 0.005em;
  color: var(--text);
  max-width: 62ch;
  margin: 0 auto;
  text-align: center;
}

/* ─── "Let's Collaborate" block ───────────── */
.page-contact-block {
  margin-top: 5rem;
  opacity: 0;
  animation: fade-in 0.5s ease 1.6s forwards;
}

.collaborate-line {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--text);
  max-width: 52ch;
  margin: 0 0 2rem;
}

.collaborate-cta {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--text);
  border: 1px solid var(--text-muted);
  padding: 0.9rem 1.8rem;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.collaborate-cta:hover {
  color: var(--hover);
  border-color: var(--text);
}

/* Direct alternatives (email + social) sit quieter, below the CTA. */
.contact-direct {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
}

.contact-direct .contact-email-link {
  margin-bottom: 0;
}

.contact-direct .contact-social {
  margin-top: 1.25rem;
  padding-top: 0;
  border-top: none;
}

/* .contact-email-link and .contact-social styling reused from the
   /contact CSS block below. If those change, /about follows. */

/* ─── /about responsive tweaks ─────────────── */
@media (max-width: 720px) {
  .page-about .page-header {
    margin-bottom: 3rem;
  }
  .page-mission {
    margin-bottom: 3.5rem;
  }
  .mission-statement {
    font-size: 1.05rem;
    line-height: 1.55;
  }
}

/* ─── Portrait ─────────────────────────────── */
.page-portrait-side .portrait {
  margin: 0;
}

.page-portrait-side .portrait img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--hairline);
  background: #161410;
}

.page-portrait-side figcaption {
  font-family: var(--font-mono);
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.6rem;
}

/* ─── Section label — used by /about collaborate block + stills ─── */
.section-label {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--hairline);
}

/* ════════════════════════════════════════════════════════
   /CONTACT PAGE
   ════════════════════════════════════════════════════════ */

.page-contact .page-header {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 0.3rem 1rem;
  align-items: baseline;
  margin-bottom: 2rem;
  font-family: var(--font-mono);
  text-transform: uppercase;
  opacity: 0;
  animation: fade-in 0.5s ease 0.4s forwards;
}

.page-contact .page-header .label {
  font-size: 0.62rem;
  color: var(--text-faint);
  letter-spacing: 0.16em;
}

.page-contact .page-header .name {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--text);
  letter-spacing: 0.16em;
  line-height: 1.4;
  margin: 0;
}

/* Contact column: left-aligned to the hero edge, narrower than the
   full hero width — forms read as more intimate when constrained. */
.contact-content {
  max-width: 640px;
  opacity: 0;
  animation: fade-in 0.6s ease 0.6s forwards;
}

.contact-intro {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 1.5rem;
}

.contact-intro p + p {
  margin-top: 1rem;
}

.contact-email-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 3rem;
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 0.2rem;
}

.contact-email-link:hover {
  color: var(--hover);
  border-bottom-color: var(--text-muted);
}

/* ─── FORM ────────────────────────────────── */
.contact-form .field {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  background: transparent;
  border: 1px solid var(--hairline);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.8rem 0.9rem;
  transition: border-color 0.3s ease;
  border-radius: 0;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form input:hover,
.contact-form select:hover,
.contact-form textarea:hover {
  border-color: var(--text-faint);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--text-muted);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-faint);
}

.contact-form textarea {
  resize: vertical;
  min-height: 8rem;
  line-height: 1.55;
}

/* Select uses a small SVG arrow indicator since we strip the native UI */
.contact-form select {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1.5l5 5 5-5' stroke='%23767369' stroke-width='1.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.5rem;
}

.form-foot {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin-top: 1rem;
}

.contact-form .submit-btn {
  background: transparent;
  border: 1px solid var(--text-muted);
  color: var(--text);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  padding: 0.9rem 1.8rem;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease, background 0.3s ease;
}

.contact-form .submit-btn:hover {
  border-color: var(--text);
  color: var(--hover);
}

.form-status {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
}

/* ─── SOCIAL LINKS ────────────────────────── */
.contact-social {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--hairline);
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
}

.contact-social a {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.contact-social a:hover {
  color: var(--text);
}

/* ─── /CONTACT RESPONSIVE ─────────────────── */
@media (max-width: 600px) {
  .contact-content {
    max-width: 100%;
  }
  .form-foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
  .contact-email-link {
    font-size: 1rem;
  }
}
