@font-face { font-family: "Cormorant Garamond"; font-style: normal; font-weight: 300 700; font-display: swap;
  src: url("fonts/CormorantGaramond.ttf") format("truetype"); }
@font-face { font-family: "Cormorant Garamond"; font-style: italic; font-weight: 300 700; font-display: swap;
  src: url("fonts/CormorantGaramond-Italic.ttf") format("truetype"); }
:root {
  --cream: #F2EDE4; --paper: #F7F3EC; --ink: #2A2925; --muted: #8C8679;
  --green: #5D6A4C; --line: #D9D1C3;
  --serif: "Cormorant Garamond", Georgia, serif; --sans: "Inter", "Segoe UI", Arial, sans-serif;
  --pad: clamp(16px, 5vw, 80px);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.kicker { font-size: 12px; letter-spacing: .32em; text-transform: uppercase; color: rgba(255,255,255,.88); }
.kicker.dark { color: var(--green); }

/* nav */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 20; display: flex; align-items: center; justify-content: space-between;
       padding: 22px var(--pad); color: #fff; transition: background .3s, color .3s, padding .3s; }
.nav.solid { background: rgba(247,243,236,.96); color: var(--ink); padding-top: 14px; padding-bottom: 14px; box-shadow: 0 1px 0 var(--line); }
.brand { font-family: var(--serif); letter-spacing: .45em; font-size: 24px; font-weight: 300; }
.nav nav { display: flex; gap: 36px; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; }
.nav nav a:hover { opacity: .7; }
.menu-btn { display: none; background: none; border: 0; width: 32px; height: 24px; position: relative; cursor: pointer; }
.menu-btn span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s; }
.menu-btn span:first-child { top: 7px; } .menu-btn span:last-child { top: 16px; }
.nav .menu-btn { color: inherit; }

/* hero */
.hero, .phero { position: relative; min-height: 100vh; background-size: cover; background-position: center; display: flex; align-items: flex-end; }
.phero { min-height: 78vh; }
.shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,18,14,.7) 0%, rgba(20,18,14,.25) 45%, rgba(20,18,14,.15) 100%); }
.hero-txt { position: relative; color: #fff; padding: 0 var(--pad) clamp(56px, 10vh, 120px); max-width: 980px; }
.hero h1, .phero h1 { font-family: var(--serif); font-weight: 300; font-size: clamp(52px, 9vw, 128px); line-height: .95; margin: 18px 0 22px; }
.phero h1 { font-size: clamp(44px, 7vw, 96px); }
.hero p { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.4vw, 30px); font-weight: 300; opacity: .92; }
.phero .ptype { font-size: 17px; font-weight: 300; opacity: .9; }
.phero .credit { font-family: var(--serif); font-style: italic; font-size: clamp(19px, 2vw, 24px); margin-top: 10px; opacity: .92; }
.btn { display: inline-block; margin-top: 36px; border: 1px solid rgba(255,255,255,.8); padding: 14px 30px; border-radius: 40px;
       font-size: 12px; letter-spacing: .26em; text-transform: uppercase; transition: background .2s, color .2s; }
.btn:hover { background: #fff; color: var(--ink); }

/* about */
.about { display: grid; grid-template-columns: 1fr 1fr; background: var(--paper); }
.about-img img { width: 100%; height: 100%; object-fit: cover; min-height: 520px; }
.about-txt { padding: clamp(48px, 9vw, 140px) var(--pad); align-self: center; }
.about h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 5vw, 76px); line-height: 1; margin: 22px 0 36px; }
.about p { font-size: 18px; line-height: 1.75; color: #4a4740; margin-bottom: 20px; font-weight: 300; max-width: 620px; }
.pillars { list-style: none; display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }
.pillars li { border: 1px solid var(--green); color: var(--green); padding: 11px 20px; border-radius: 40px; font-size: 12px; letter-spacing: .18em; text-transform: uppercase; }

/* work grid */
.work { background: var(--cream); padding: clamp(64px, 9vw, 130px) var(--pad); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 26px 0 44px; }
.filters button { background: none; border: 1px solid var(--line); color: var(--ink); padding: 10px 18px; border-radius: 40px;
                  font: 400 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.filters button.on, .filters button:hover { background: var(--green); border-color: var(--green); color: #fff; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 380px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.card { display: block; }
.card.hide { display: none; }
.ci { aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform .5s; }
.card { overflow: hidden; }
.card:hover .ci { transform: scale(1.03); }
.ct { padding: 18px 2px 8px; position: relative; background: var(--cream); }
.cs { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--green); }
.ct h3 { font-family: var(--serif); font-weight: 400; font-size: 30px; margin: 6px 0 4px; }
.ct p { font-size: 14px; color: var(--muted); font-weight: 300; }

/* project gallery */
.gallery { columns: 2 520px; column-gap: 20px; padding: clamp(40px, 6vw, 90px) var(--pad); }
.gi { display: block; break-inside: avoid; margin-bottom: 20px; cursor: zoom-in; }
.gi.fit { background: #EDE7DC; }
.gi img { width: 100%; height: auto; }
.pnav { display: flex; justify-content: space-between; gap: 16px; padding: 0 var(--pad) 80px; font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--green); }
.pnav a:hover { text-decoration: underline; }

/* footer / contact */
.foot { background: var(--ink); color: #fff; text-align: center; padding: clamp(80px, 12vw, 150px) var(--pad) 60px; }
.foot .logo { font-family: var(--serif); letter-spacing: .45em; font-size: clamp(40px, 5vw, 64px); font-weight: 300; }
.foot h2 { font-family: var(--serif); font-weight: 300; font-size: clamp(44px, 6vw, 88px); margin: 34px 0 60px; }
.contact-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 36px 64px; font-size: 18px; font-weight: 300; }
.contact-grid span { display: block; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #a9b59a; margin-bottom: 10px; }
.contact-grid a:hover { color: #d7dfcc; }
.foot-end { margin-top: 90px; font-family: var(--serif); font-size: 22px; letter-spacing: .12em; color: #bdb6a8; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 50; background: rgba(18,17,14,.95); display: none; align-items: center; justify-content: center; }
.lb.on { display: flex; }
.lb img { max-width: 92vw; max-height: 88vh; }
.lb button { position: absolute; background: none; border: 0; color: #fff; font-size: 48px; cursor: pointer; padding: 10px 18px; opacity: .8; }
.lb button:hover { opacity: 1; }
.lb-x { top: 10px; right: 14px; } .lb-p { left: 6px; } .lb-n { right: 6px; }

@media (max-width: 820px) {
  .menu-btn { display: block; }
  .nav nav { position: fixed; inset: 0; background: var(--paper); color: var(--ink); flex-direction: column; align-items: center; justify-content: center;
             gap: 34px; font-size: 16px; opacity: 0; pointer-events: none; transition: opacity .25s; }
  body.open .nav nav { opacity: 1; pointer-events: auto; }
  body.open .nav { color: var(--ink); }
  body.open .menu-btn { z-index: 2; }
  body.open .menu-btn span:first-child { transform: translateY(4.5px) rotate(45deg); }
  body.open .menu-btn span:last-child { transform: translateY(-4.5px) rotate(-45deg); }
  .about { grid-template-columns: 1fr; }
  .about-img img { min-height: 0; aspect-ratio: 4 / 3; }
  .hero { min-height: 88vh; }
  .phero { min-height: 62vh; }
  .pnav { flex-direction: column; align-items: center; }
  .contact-grid { flex-direction: column; gap: 28px; }
}
