/* Individual project pages. Tokens, nav, buttons, reveal and footer live in global.css.
   Per-project accent: set --accent in the page's head_extra (falls back to driftwood). */
:root {
	--text-muted: #6a6560;
	--text-mid: #5a5550;
}

/* HERO */
.hero { margin-top: var(--nav-h); height: calc(100vh - var(--nav-h)); min-height: 640px; position: relative; overflow: hidden; display: flex; align-items: flex-end; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 25%; display: block; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to top, rgba(8,6,4,.88) 0%, rgba(8,6,4,.3) 48%, rgba(8,6,4,.15) 70%); }
.hero-content { position: relative; z-index: 10; padding: 0 80px 88px; width: 100%; display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.hero-label { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--accent, var(--driftwood)); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.hero-label::before { content: ''; display: block; width: 28px; height: 1px; background: var(--accent, var(--driftwood)); }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(44px, 6vw, 82px); font-weight: 400; line-height: 1.06; color: rgba(255,255,255,.97); letter-spacing: -.01em; margin-bottom: 20px; }
.hero-title em { font-style: italic; color: var(--accent, var(--soft-sand)); }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.5); font-weight: 300; }
.hero-meta { flex-shrink: 0; text-align: right; }
.hero-meta-item { margin-bottom: 18px; }
.hero-meta-item:last-child { margin-bottom: 0; }
.meta-label { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 5px; }
.meta-value { font-size: 18px; color: rgba(255,255,255,.72); font-weight: 300; line-height: 1.5; }
.scroll-ind { position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); z-index: 10; display: flex; flex-direction: column; align-items: center; gap: 9px; }
.scroll-ind span { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: rgba(255,255,255,.3); }
.scroll-line { width: 1px; height: 42px; background: rgba(255,255,255,.12); position: relative; overflow: hidden; }
.scroll-line::after { content: ''; position: absolute; top: -60%; left: 0; width: 100%; height: 60%; background: rgba(255,255,255,.5); animation: scrollDrop 2s ease infinite; }
@keyframes scrollDrop {
	0% { top: -60%; }
	100% { top: 110%; }
}

/* INTRO + SIDEBAR */
.intro-wrap { padding: 120px 80px 100px; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 300px; gap: 100px; align-items: start; }
.intro-body { font-size: 20px; line-height: 1.9; color: var(--text-mid); font-weight: 300; }
.intro-body p { margin-bottom: 26px; }
.intro-body p:last-child { margin-bottom: 0; }
.project-sidebar { position: sticky; top: calc(var(--nav-h) + 32px); }
.sidebar-block { padding-bottom: 26px; border-bottom: 1px solid var(--fog-gray); margin-bottom: 26px; }
.sidebar-block:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.sidebar-label { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--driftwood); margin-bottom: 11px; }
.sidebar-value { font-size: 18px; color: var(--charcoal-ink); font-weight: 300; line-height: 1.6; }
.sidebar-note { font-size: 18px; font-weight: 300; line-height: 1.7; color: var(--text-muted); }
.sidebar-list { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.sidebar-list li { font-size: 18px; color: var(--text-muted); font-weight: 300; display: flex; align-items: flex-start; gap: 10px; }
.sidebar-list li::before { content: '—'; color: var(--driftwood); opacity: .7; flex-shrink: 0; }

/* IMAGE BLOCKS */
.full-bleed { width: 100%; overflow: hidden; position: relative; }
.full-bleed img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fh-screen { height: 100vh; min-height: 600px; }
.fh-tall { height: 88vh; min-height: 560px; }
.fh-med { height: 72vh; min-height: 460px; }
.fh-short { height: 58vh; min-height: 380px; }
.eg-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.eg-2-asym { display: grid; grid-template-columns: 1.2fr .8fr; gap: 10px; }
.eg-2-asym-r { display: grid; grid-template-columns: .8fr 1.2fr; gap: 10px; }
.eg-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
.eg-cell { overflow: hidden; position: relative; }
.eg-cell img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; transition: transform .85s cubic-bezier(.4,0,.2,1); }
.eg-cell:hover img { transform: scale(1.03); }
.h-460 { height: 460px; } .h-520 { height: 520px; } .h-580 { height: 580px; }
.h-640 { height: 640px; } .h-700 { height: 700px; } .h-760 { height: 760px; } .h-820 { height: 820px; }
.caption { padding: 18px 80px 0; font-size: 16px; letter-spacing: .06em; font-style: italic; color: var(--text-muted); font-weight: 300; }

/* NARRATIVE */
.narrative { padding: 100px 80px; }
.narrative-warm { background: var(--warm-white); }
.n-left .n-inner { max-width: 660px; margin-right: auto; }
.n-right .n-inner { max-width: 660px; margin-left: auto; }
.n-eyebrow { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--oxidized-bronze); margin-bottom: 28px; display: flex; align-items: center; gap: 14px; }
.n-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--oxidized-bronze); }
.n-heading { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 44px); font-weight: 400; color: var(--deep-evergreen); line-height: 1.22; margin-bottom: 32px; }
.n-body { font-size: 20px; line-height: 1.9; color: var(--text-mid); font-weight: 300; }
.n-body p { margin-bottom: 26px; }
.n-body p:last-child { margin-bottom: 0; }
.narrative-dark { padding: 100px 80px; background: var(--charcoal-ink); }
.narrative-dark .n-inner { max-width: 660px; margin-right: auto; }
.narrative-dark .n-eyebrow { color: var(--accent, var(--driftwood)); }
.narrative-dark .n-eyebrow::before { background: var(--accent, var(--driftwood)); }
.narrative-dark .n-heading { color: rgba(255,255,255,.92); }
.narrative-dark .n-body { color: rgba(255,255,255,.52); }

/* PULL QUOTE */
.pq-band { padding: 100px 80px; background: var(--deep-evergreen); }
.pq-inner { max-width: 780px; margin: 0 auto; text-align: center; }
.pq-text { font-family: 'Playfair Display', serif; font-size: clamp(22px, 3vw, 38px); font-weight: 400; font-style: italic; line-height: 1.55; color: rgba(255,255,255,.92); margin-bottom: 36px; }
.pq-attr { font-size: 14px; letter-spacing: .2em; text-transform: uppercase; color: var(--accent, var(--driftwood)); }

/* CALLOUTS */
.callouts-section { background: var(--warm-white); padding: 100px 80px; }
.callouts-head { max-width: 1400px; margin: 0 auto 56px; }
.c-eyebrow { font-size: 10px; letter-spacing: .22em; text-transform: uppercase; color: var(--oxidized-bronze); margin-bottom: 18px; display: flex; align-items: center; gap: 14px; }
.c-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--oxidized-bronze); }
.c-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 44px); font-weight: 400; color: var(--deep-evergreen); line-height: 1.2; }
.callout-grid { max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--fog-gray); border: 1px solid var(--fog-gray); }
.callout-item { background: var(--warm-white); padding: 48px 38px 52px; position: relative; }
.callout-item::after { content: ''; position: absolute; bottom: 0; left: 38px; width: 0; height: 2px; background: var(--driftwood); transition: width .4s ease; }
.callout-item:hover::after { width: calc(100% - 76px); }
.cl-label { font-size: 16px; letter-spacing: .2em; text-transform: uppercase; color: var(--driftwood); margin-bottom: 18px; }
.cl-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 400; color: var(--deep-evergreen); margin-bottom: 14px; line-height: 1.3; }
.cl-desc { font-size: 18px; line-height: 1.72; color: var(--text-muted); font-weight: 300; }

/* CLOSING */
.closing-wrap { padding: 120px 80px; max-width: 1400px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.cl2-eyebrow { font-size: 14px; letter-spacing: .22em; text-transform: uppercase; color: var(--oxidized-bronze); margin-bottom: 22px; display: flex; align-items: center; gap: 14px; }
.cl2-eyebrow::before { content: ''; display: block; width: 28px; height: 1px; background: var(--oxidized-bronze); }
.cl2-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3vw, 44px); font-weight: 400; color: var(--deep-evergreen); line-height: 1.22; margin-bottom: 28px; }
.cl2-body { font-size: 20px; line-height: 1.88; color: var(--text-mid); font-weight: 300; }
.cl2-body p + p { margin-top: 22px; }
.cl2-img { overflow: hidden; aspect-ratio: 3/4; }
.cl2-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* NEXT PROJECT */
.next-project { background: var(--charcoal-ink); padding: 80px; display: flex; justify-content: space-between; align-items: center; transition: background .4s; }
.next-project:hover { background: #2a2a28; }
.next-label { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 12px; }
.next-name { font-family: 'Playfair Display', serif; font-size: clamp(28px, 3.5vw, 48px); font-weight: 400; color: rgba(255,255,255,.88); line-height: 1.2; }
.next-arrow { font-size: 36px; color: var(--accent, var(--driftwood)); transition: transform .3s; text-decoration: none; }
.next-project:hover .next-arrow { transform: translateX(12px); }

/* RESPONSIVE */
@media (max-width: 900px) {
	.hero-content { padding: 0 28px 60px; flex-direction: column; align-items: flex-start; gap: 20px; }
	.hero-meta { text-align: left; }
	.intro-wrap { grid-template-columns: 1fr; gap: 48px; padding: 72px 28px 60px; }
	.project-sidebar { position: static; }
	.narrative, .narrative-dark { padding: 72px 28px; }
	.n-right .n-inner { margin-left: 0; }
	.caption { padding: 14px 28px 0; }
	.fh-screen { height: 70vh; } .fh-tall { height: 62vh; } .fh-med { height: 52vh; } .fh-short { height: 44vh; }
	.eg-2, .eg-2-asym, .eg-2-asym-r, .eg-3 { grid-template-columns: 1fr; }
	.h-460, .h-520, .h-580, .h-640, .h-700, .h-760, .h-820 { height: 75vw; min-height: 280px; }
	.pq-band { padding: 72px 28px; }
	.callouts-section { padding: 72px 28px; }
	.callout-grid { grid-template-columns: 1fr; }
	.closing-wrap { grid-template-columns: 1fr; padding: 72px 28px; gap: 40px; }
	.next-project { padding: 48px 28px; }
}