/* ─────────────────────────────────────────────────────────────
   Project detail pages — shared styles
   ───────────────────────────────────────────────────────────── */
* { margin: 0; padding: 0; box-sizing: border-box; }
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Instrument+Sans:wght@300;400;500;700&display=swap');

:root {
  --black: #0a0a0a;
  --white: #f5f3ef;
  --accent: #d4a843;
  --gray: #888;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, sans-serif;
}
html, body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  scroll-behavior: smooth;
}

/* ─── Custom Cursor ────────────────────────────────────── */
#cursor {
  position: fixed; width: 14px; height: 14px;
  background: var(--white); border-radius: 50%;
  pointer-events: none; z-index: 9999;
  transform: translate(-50%, -50%);
  transition: width .2s, height .2s, background .2s, opacity .2s;
}
#cursor-ring {
  position: fixed; width: 40px; height: 40px;
  border: 1px solid rgba(245,243,239,.15);
  border-radius: 50%; pointer-events: none; z-index: 9998;
  transform: translate(-50%, -50%);
  transition: width .35s cubic-bezier(.16,1,.3,1),
              height .35s cubic-bezier(.16,1,.3,1),
              border-color .2s, opacity .2s;
}
body:has(a:hover) #cursor { width: 10px; height: 10px; }
body:has(a:hover) #cursor-ring { width: 64px; height: 64px; border-color: rgba(212,168,67,.6); }

/* ─── Nav ──────────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.8rem 3rem;
  background: linear-gradient(to bottom, rgba(10,10,10,.85), rgba(10,10,10,0));
}
.nav-logo {
  display: inline-flex; align-items: flex-end; gap: 0;
  text-decoration: none; color: inherit;
  transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s ease;
}
.nav-logo:hover svg { transform: rotate(15deg) scale(1.08); opacity: .85; }
.nav-logo svg { transition: transform .4s cubic-bezier(.16,1,.3,1), opacity .3s; }
.nav-logo-text {
  font-family: 'Instrument Sans', sans-serif;
  font-size: .7rem; font-weight: 300;
  letter-spacing: .18em;
  color: rgba(245,243,239,.75);
  margin-left: -8px;
  padding-left: 10px;
  position: relative; z-index: 1;
  text-transform: capitalize;
}
.nav-links {
  display: flex; gap: 2.5rem; list-style: none;
}
.nav-links a {
  font-size: .72rem; letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,243,239,.65);
  text-decoration: none;
  transition: color .25s;
}
.nav-links a:hover { color: var(--accent); }

/* ─── Back Link ────────────────────────────────────────── */
.back-link {
  position: fixed; top: 1.8rem; left: 50%;
  transform: translateX(-50%); z-index: 100;
  font-size: .68rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,243,239,.45);
  text-decoration: none;
  display: none;
}
.back-link:hover { color: var(--accent); }

/* ─── Hero ──────────────────────────────────────────────── */
.proj-hero {
  min-height: 92vh;
  display: flex; flex-direction: column;
  justify-content: flex-end;
  padding: 8rem 3rem 4rem;
  position: relative; overflow: hidden;
}
.proj-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.proj-hero-bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: brightness(.55) saturate(.95);
}
.proj-hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, var(--black) 0%, rgba(10,10,10,.4) 40%, rgba(10,10,10,.6) 100%);
}
.proj-hero-content {
  position: relative; z-index: 2;
  max-width: 1200px;
  animation: fadeUp .9s .3s both;
}
.proj-eyebrow {
  font-size: .68rem; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.proj-eyebrow::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
}
.proj-title {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(3rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.015em;
  margin-bottom: 1.5rem;
}
.proj-title em {
  font-family: 'Instrument Sans', sans-serif;
  font-style: italic;
  color: var(--accent);
}
.proj-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.1rem, 1.8vw, 1.6rem);
  font-weight: 300;
  color: rgba(245,243,239,.7);
  max-width: 720px;
  line-height: 1.5;
}

/* ─── Meta Strip ───────────────────────────────────────── */
.proj-meta {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding: 3rem 3rem;
  border-bottom: 1px solid rgba(245,243,239,.08);
  max-width: 1400px; margin: 0 auto;
}
.proj-meta-item label {
  display: block;
  font-size: .58rem; letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245,243,239,.4);
  margin-bottom: .8rem;
}
.proj-meta-item p {
  font-size: .95rem;
  color: var(--white);
  line-height: 1.5;
  font-weight: 400;
}

/* ─── Content Section ──────────────────────────────────── */
.proj-section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 6rem 3rem;
}
.proj-section-label {
  font-size: .68rem; letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: 1rem;
}
.proj-section-label::before {
  content: ''; display: inline-block;
  width: 32px; height: 1px;
  background: var(--accent);
  opacity: .6;
}
.proj-section h2 {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 500;
  line-height: 1.15;
  margin-bottom: 2rem;
  max-width: 900px;
  letter-spacing: -.01em;
}
.proj-section h2 em {
  font-family: 'Instrument Sans', sans-serif;
  font-style: italic;
  color: var(--accent);
}
.proj-section p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(245,243,239,.8);
  max-width: 760px;
  margin-bottom: 1.5rem;
}
.proj-section p + p { margin-top: 1rem; }

/* two-column layout */
.proj-two-col {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 4rem;
  align-items: start;
}
.proj-two-col h2 { margin-bottom: 0; }
.proj-two-col p { margin: 0; }
@media (max-width: 800px) {
  .proj-two-col { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* image showcase */
.proj-image {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem 3rem;
}
.proj-image img, .proj-image-full img {
  width: 100%; height: auto;
  display: block;
  border-radius: 4px;
}
.proj-image-full {
  width: 100%;
  padding: 2rem 0 4rem;
}
.proj-image-full img { border-radius: 0; }
.proj-image-caption {
  font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,243,239,.4);
  margin-top: 1rem;
  padding: 0 3rem;
  max-width: 1400px; margin-left: auto; margin-right: auto;
}

/* ─── Next Project ──────────────────────────────────────── */
.next-project {
  padding: 8rem 3rem;
  border-top: 1px solid rgba(245,243,239,.08);
  text-align: center;
}
.next-project-label {
  font-size: .68rem; letter-spacing: .24em;
  text-transform: uppercase;
  color: rgba(245,243,239,.4);
  margin-bottom: 1.5rem;
}
.next-project a {
  font-family: 'Instrument Sans', sans-serif;
  font-size: clamp(2rem, 4.5vw, 4rem);
  font-weight: 400;
  letter-spacing: -.01em;
  color: var(--white);
  text-decoration: none;
  display: inline-flex;
  align-items: center; gap: 1.5rem;
  transition: color .3s ease, gap .4s cubic-bezier(.16,1,.3,1);
}
.next-project a:hover { color: var(--accent); gap: 2.5rem; }
.next-project a span.arrow {
  display: inline-block;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
}
.next-project a:hover span.arrow { transform: translateX(8px); }

/* ─── Footer ─────────────────────────────────────────────── */
.footer-strip {
  display: flex; justify-content: space-between;
  padding: 2.4rem 3rem;
  border-top: 1px solid rgba(245,243,239,.06);
  font-size: .66rem; letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(245,243,239,.4);
}

/* ─── Animations ─────────────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ─── Quote block ────────────────────────────────────────── */
.proj-quote {
  max-width: 1000px; margin: 0 auto;
  padding: 4rem 3rem;
  text-align: center;
}
.proj-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.6rem, 3.2vw, 2.6rem);
  line-height: 1.4;
  font-weight: 300;
  color: rgba(245,243,239,.9);
  position: relative;
}
.proj-quote blockquote::before,
.proj-quote blockquote::after {
  color: var(--accent);
  font-size: 2em;
  line-height: 0;
}
.proj-quote blockquote::before { content: '“'; margin-right: .2em; vertical-align: -.15em; }
.proj-quote blockquote::after  { content: '”'; margin-left: .2em;  vertical-align: -.45em; }
