@import url('https://fonts.googleapis.com/css2?family=DM+Mono:wght@400;500&family=Manrope:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

:root { --ink: #1a1a18; --muted: #6c6c65; --paper: #f6f4ef; --line: #dcd9d1; --accent: #c45e38; }
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Manrope, Arial, sans-serif; }
.site-header { min-height: 92px; padding: 22px clamp(24px, 6vw, 100px); display: flex; align-items: center; border-bottom: 1px solid var(--line); }
.brand img { display: block; width: min(250px, 66vw); height: 54px; object-fit: contain; object-position: left center; }
.tagline, .eyebrow, .section-heading span, .overlay span { font-family: 'DM Mono', monospace; letter-spacing: .06em; text-transform: uppercase; }
.tagline { color: var(--muted); font-size: 10px; }
main { max-width: 1440px; margin: 0 auto; padding: 0 clamp(24px, 6vw, 100px); }
.intro { padding: clamp(74px, 12vw, 172px) 0 clamp(64px, 9vw, 120px); max-width: 760px; }
.eyebrow { margin: 0 0 22px; color: var(--accent); font-size: 11px; font-weight: 500; }
h1 { margin: 0; font: 500 clamp(46px, 7.5vw, 108px)/.99 'Playfair Display', Georgia, serif; letter-spacing: -.055em; }
.intro > p:last-child { max-width: 450px; margin: 34px 0 0; color: var(--muted); line-height: 1.75; font-size: 15px; }
.gallery-section { padding: clamp(48px, 8vw, 100px) 0 110px; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 20px; padding-top: 18px; border-top: 1px solid var(--ink); }
h2 { margin: 0; font-size: 14px; font-weight: 700; }
.section-heading span { color: var(--muted); font-size: 10px; }
.gallery { columns: 5 180px; column-gap: 12px; }
.project-card { display: block; break-inside: avoid; width: 100%; position: relative; border: 0; margin: 0 0 12px; padding: 0; overflow: hidden; background: #dedbd3; cursor: zoom-in; animation: appear .55s both; animation-delay: var(--delay); }
.project-card img { display: block; width: 100%; height: auto; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.project-card:hover img { transform: scale(1.045); }.project-card:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.overlay { position: absolute; inset: auto 0 0; padding: 42px 22px 20px; text-align: left; color: white; background: linear-gradient(transparent, rgba(0,0,0,.62)); opacity: 0; transition: opacity .3s; }.project-card:hover .overlay { opacity: 1; }
.overlay span { display: block; font-size: 9px; opacity: .76; margin-bottom: 5px; }.overlay strong { font-size: 14px; text-transform: capitalize; }
.empty-state { padding: 96px 20px; border: 1px dashed var(--line); text-align: center; color: var(--muted); }.empty-state span { color: var(--accent); font-size: 20px; }.empty-state h2 { margin: 16px 0 7px; color: var(--ink); }.empty-state p { margin: 0; font-size: 13px; }.empty-state code { color: var(--ink); }
.lightbox { width: min(1000px, 92vw); max-height: 92vh; margin: auto; padding: 0; border: 0; background: transparent; color: white; }.lightbox::backdrop { background: rgba(12,12,10,.92); }.lightbox img { display: block; width: 100%; max-height: 84vh; object-fit: contain; }.lightbox p { margin: 12px 0; text-align: center; font-size: 13px; }.close { position: fixed; top: 20px; right: 28px; border: 0; color: white; background: transparent; font-size: 42px; cursor: pointer; }
footer { padding: 28px clamp(24px, 6vw, 100px); border-top: 1px solid var(--line); color: var(--muted); font: 10px 'DM Mono', monospace; }
@keyframes appear { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media (max-width: 680px) { .site-header { min-height: 78px; }.gallery { columns: 2 135px; column-gap: 8px; }.project-card { margin-bottom: 8px; }.overlay { opacity: 1; padding: 35px 14px 13px; } }
