:root {
  --bg: #f7f5f1;
  --paper: #ffffff;
  --ink: #161616;
  --mute: #6b6b6b;
  --line: #e6e2db;
  --accent: #1a1a1a;
  --max: 1280px;
  --nav: 72px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Figtree", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }

.skip { position: absolute; left: -999px; }
.skip:focus { left: 12px; top: 12px; z-index: 80; background: #000; color: #fff; padding: 8px 12px; }

.nav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: rgba(247,245,241,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: lowercase;
}
.logo span {
  font-family: var(--sans);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mute);
  margin-left: 12px;
  font-weight: 500;
}
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--mute);
}
.nav-links a:hover, .nav-links a.active { color: var(--ink); }
.nav-cta {
  border: 1px solid var(--ink);
  color: var(--ink) !important;
  padding: 8px 14px;
}
.nav-cta:hover { background: var(--ink); color: #fff !important; }
.menu-btn {
  display: none;
  background: none;
  border: 0;
  width: 40px;
  height: 40px;
  cursor: pointer;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; height: 1px; background: var(--ink); position: relative;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; right: 0; }
.menu-btn span::before { top: -7px; }
.menu-btn span::after { top: 7px; }

.hero-photo { width: 100%; height: min(86vh, 920px); overflow: hidden; background: #ddd; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-copy {
  width: min(var(--max), calc(100% - 80px));
  margin: 0 auto;
  padding: 64px 0 40px;
}
.eyebrow {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--mute);
  margin-bottom: 16px;
}
h1, .h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 7vw, 92px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin: 0 0 22px;
}
.lede { max-width: 640px; color: var(--mute); font-size: 18px; }
.actions { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  background: var(--ink);
  color: #fff;
  border: 1px solid var(--ink);
  cursor: pointer;
}
.btn:hover { background: #000; }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }

.wrap { width: min(var(--max), calc(100% - 80px)); margin: 0 auto; }
.section { padding: 96px 0; }
h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.05;
  margin: 0 0 16px;
}
h3 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin: 0 0 10px; }
.muted { color: var(--mute); }
.section-head { max-width: 720px; margin-bottom: 48px; }

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.stat { padding: 32px 24px; border-right: 1px solid var(--line); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font-family: var(--serif); font-size: 42px; font-weight: 500; }
.stat span { display: block; margin-top: 8px; color: var(--mute); font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: var(--paper); }
.card img { width: 100%; height: 260px; object-fit: cover; }
.card .body { padding: 22px 4px 8px; }
.tag { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--mute); margin-bottom: 8px; }

.work-card { position: relative; min-height: 460px; overflow: hidden; background: #ddd; display: flex; align-items: flex-end; }
.work-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s ease; }
.work-card:hover img { transform: scale(1.04); }
.work-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(22,22,22,.72), transparent 50%); }
.work-card .body { position: relative; z-index: 1; padding: 28px; color: #fff; }
.work-card .tag { color: #ddd; }
.work-card h3 { color: #fff; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.person img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.person figcaption { padding: 14px 2px; }
.person strong { display: block; font-family: var(--serif); font-size: 24px; font-weight: 500; }
.person em { font-style: normal; color: var(--mute); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; }

.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.step b { display: block; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 10px; }

.quotes { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.quote { background: var(--paper); padding: 36px; border: 1px solid var(--line); }
.quote p { font-family: var(--serif); font-size: 26px; line-height: 1.3; margin: 0 0 20px; }
.quote cite { font-style: normal; color: var(--mute); font-size: 13px; letter-spacing: 0.06em; }

.page-hero { padding: 72px 0 40px; }
.page-hero.photo { padding: 0 0 48px; }
.page-hero.photo .hero-photo { height: min(62vh, 640px); }

.meta-row { display: flex; gap: 36px; flex-wrap: wrap; margin-top: 24px; }
.meta-row span { display: block; color: var(--mute); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; }
.meta-row b { font-family: var(--serif); font-size: 24px; font-weight: 500; }

.form { display: grid; gap: 14px; }
label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--mute); }
input, select, textarea {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  color: var(--ink);
  padding: 14px;
  font-size: 16px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-status { min-height: 22px; font-size: 14px; }
.map { width: 100%; height: 300px; border: 1px solid var(--line); filter: grayscale(1); }

.list { padding: 0; margin: 0; list-style: none; }
.list li { padding: 10px 0; border-bottom: 1px solid var(--line); }
.list li::before { content: "— "; }
.prose { max-width: 720px; }
.prose p { color: #3a3a3a; }
.cta-band { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 80px 0; }

.footer {
  padding: 56px 0 28px;
  border-top: 1px solid var(--line);
  color: var(--mute);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 28px; margin-bottom: 40px; }
.footer .logo { display: inline-block; margin-bottom: 12px; color: var(--ink); }
.footer a:hover { color: var(--ink); }
.legal { border-top: 1px solid var(--line); padding-top: 18px; display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: 12px; }

@media (max-width: 980px) {
  .wrap, .hero-copy { width: min(var(--max), calc(100% - 36px)); }
  .nav { padding: 0 16px; }
  .nav-links {
    display: none;
    position: fixed;
    inset: var(--nav) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    padding: 28px;
    gap: 20px;
  }
  .nav-links.open { display: flex; }
  .menu-btn { display: grid; place-items: center; }
  .stats, .grid-2, .grid-3, .team-grid, .steps, .quotes, .footer-grid, .form-row { grid-template-columns: 1fr; }
  .stat { border-right: 0; }
  .work-card { min-height: 340px; }
  .section { padding: 72px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
