/* ─────────────────────────────────────────
   PROJECT PAGE — Shared styles
   Visual language mirrors the main portfolio:
   white bg · Cormorant Garamond + Inter · minimal
───────────────────────────────────────── */

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

:root {
  --bg:    #ffffff;
  --text:  #111111;
  --muted: #aaaaaa;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --col-left:  200px;   /* mirrors main sidebar width */
  --col-right:  96px;
  --body-max:  700px;   /* max width of text content */
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-weight: 400;
}

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


/* ─────────────────────────────────────────
   BACK BUTTON — fixed top-left, nav-label style
───────────────────────────────────────── */
.back-btn {
  position: fixed;
  top: 48px;
  left: 36px;
  display: flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  z-index: 100;
  transition: opacity 0.2s var(--ease);
}
.back-btn:hover { opacity: 0.4; }
.back-btn .arrow { font-size: 0.75rem; }


/* ─────────────────────────────────────────
   PAGE WRAPPER
───────────────────────────────────────── */
.page {
  padding: 80px var(--col-right) 140px var(--col-left);
}


/* ─────────────────────────────────────────
   HEADER — category · year, title, lede
───────────────────────────────────────── */
.proj-eyebrow {
  font-family: var(--font-sans);
  font-size: 0.5625rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--muted);
  margin-bottom: 22px;
}

.proj-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.08;
  max-width: var(--body-max);
  margin-bottom: 28px;
}

.proj-lede {
  font-family: var(--font-serif);
  font-size: 1.125rem;
  font-weight: 300;
  font-style: italic;
  color: var(--muted);
  line-height: 1.8;
  max-width: var(--body-max);
  margin-bottom: 72px;
}


/* ─────────────────────────────────────────
   META GRID — Date / Type / Role / Feature
───────────────────────────────────────── */
.proj-meta {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 10px 32px;
  max-width: var(--body-max);
  margin-bottom: 72px;
}

.meta-label {
  font-size: 0.5625rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  padding-top: 1px;
}

.meta-value {
  font-size: 0.75rem;
  line-height: 1.75;
  color: var(--text);
  font-weight: 300;
}

.meta-value a {
  text-decoration: underline;
  text-underline-offset: 3px;
  color: var(--muted);
}


/* ─────────────────────────────────────────
   TEXT SECTIONS — Background / Method / etc.
───────────────────────────────────────── */
.proj-section {
  max-width: var(--body-max);
  margin-bottom: 52px;
}

.section-label {
  font-size: 0.5625rem;
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-body {
  font-size: 0.875rem;
  font-weight: 300;
  line-height: 2.1;
  color: var(--text);
}


/* ─────────────────────────────────────────
   IMAGES — tight editorial stack
───────────────────────────────────────── */
.proj-images {
  margin-top: 96px;
}

.proj-images img {
  width: 70%;          /* ← adjust this percentage to resize images */
  height: auto;
  display: block;
  margin-bottom: 3px;
}

.proj-images img:last-child { margin-bottom: 0; }


/* ─────────────────────────────────────────
   RESPONSIVE — narrow screens
───────────────────────────────────────── */
@media (max-width: 720px) {
  :root {
    --col-left:  32px;
    --col-right: 32px;
  }
  .back-btn { left: 20px; top: 24px; }
  .page { padding-top: 64px; }
}
