:root {
  --ink: #0c0c0c;
  --char: #161616;
  --paper: #f4efe6;
  --sand: #e4d8c4;
  --clay: #b8955a;
  --gold: #d4a017;
  --muted: #6a645a;
  --line: rgba(12, 12, 12, 0.12);
  --max: 1120px;
  --header: 84px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.wrap {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--ink);
  border-bottom: 3px solid var(--gold);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header);
  gap: 24px;
}
.brand img {
  height: 52px;
  width: auto;
}
.nav {
  display: flex;
  gap: 8px 22px;
  align-items: center;
}
.nav a {
  color: #f3eee4;
  text-decoration: none;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover,
.nav a.is-active {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid #444;
  color: #fff;
  padding: 8px 12px;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  min-height: 62vh;
  display: grid;
  align-items: end;
  color: #fff;
  background: #111;
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.72) 100%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 72px 0 56px;
}
.kicker {
  display: inline-block;
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.78rem;
  margin: 0 0 12px;
}
h1, h2, .display {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 0.95;
  margin: 0 0 16px;
}
h1 { font-size: clamp(2.8rem, 7vw, 5.4rem); }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); }
.lede {
  max-width: 38rem;
  font-size: 1.15rem;
  color: #ece6da;
}

/* Sections */
.section { padding: 72px 0; }
.section.alt { background: #efe7d8; }
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.prose p { margin: 0 0 1rem; color: #2b2925; font-size: 1.05rem; }
.prose strong { color: var(--ink); }

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 36px;
}
.stat {
  background: var(--ink);
  color: #f3eee4;
  padding: 22px 20px;
}
.stat b {
  display: block;
  font-family: "Barlow Condensed", sans-serif;
  font-size: 2rem;
  color: var(--gold);
  line-height: 1;
}
.stat span { font-size: 0.92rem; color: #c9c2b5; }

.mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.mosaic img,
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.photo-frame {
  overflow: hidden;
  border: 8px solid #fff;
  box-shadow: 0 16px 40px rgba(0,0,0,.12);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}
.btn {
  display: inline-block;
  text-decoration: none;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 13px 22px;
  border: 2px solid var(--gold);
}
.btn.ghost {
  background: transparent;
  color: #fff;
  border-color: #fff;
}
.btn.dark {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.btn:hover { filter: brightness(1.08); }

/* Video */
.video-shell {
  background: #000;
  box-shadow: 0 20px 50px rgba(0,0,0,.25);
}
.video-shell video {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #000;
}

/* Projects */
.project-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 28px;
}
.project-nav a {
  text-decoration: none;
  padding: 8px 14px;
  border: 1px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 0.92rem;
}
.project-nav a.is-active {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.gallery-hero {
  background: #111;
  min-height: 360px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
}
.gallery-hero img {
  width: 100%;
  max-height: 520px;
  object-fit: contain;
  background: #111;
}
.caption {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 18px;
}
.thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 8px;
}
.thumbs button {
  padding: 0;
  border: 3px solid transparent;
  background: #d7cbb6;
  cursor: pointer;
}
.thumbs button.is-active,
.thumbs button:hover { border-color: var(--gold); }
.thumbs img {
  width: 100%;
  height: 78px;
  object-fit: cover;
}

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  display: none;
  place-items: center;
  z-index: 80;
  padding: 24px;
}
.lightbox.is-open { display: grid; }
.lightbox img { max-width: min(1100px, 100%); max-height: 86vh; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  color: #fff;
  background: transparent;
  border: 0;
  font-size: 2rem;
  cursor: pointer;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
}
form label {
  display: block;
  font-weight: 600;
  margin: 0 0 6px;
  font-size: 0.92rem;
}
form input,
form textarea {
  width: 100%;
  margin-bottom: 14px;
  padding: 12px 12px;
  border: 1px solid #c9c0b0;
  background: #fff;
  font: inherit;
}
form textarea { min-height: 140px; resize: vertical; }
.hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.notice {
  padding: 12px 14px;
  margin-bottom: 16px;
  background: #d9ead3;
  border-left: 4px solid #3d7a2e;
}
.notice.err {
  background: #f6d6d6;
  border-left-color: #a33;
}
.vcard p { margin: 0 0 8px; }
.vcard a { color: #6b4e10; font-weight: 700; }

/* Footer */
.site-footer {
  background: var(--ink);
  color: #cfc8bb;
  padding: 40px 0;
  font-size: 0.92rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.1fr;
  gap: 28px 40px;
}
.site-footer p { margin: 0 0 8px; }
.site-footer strong {
  display: block;
  color: #f3eee4;
  font-weight: 600;
  margin-bottom: 2px;
}
.footer-brand {
  font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
  font-size: 1.35rem;
  letter-spacing: 0.02em;
  color: #f3eee4;
  margin-bottom: 4px;
}
.site-footer a { color: var(--gold); text-decoration: none; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    top: var(--header);
    background: #111;
    flex-direction: column;
    padding: 16px 20px 22px;
    border-bottom: 3px solid var(--gold);
  }
  .nav.is-open { display: flex; }
  .grid-2,
  .contact-grid,
  .stats,
  .footer-grid { grid-template-columns: 1fr; }
  .hero { min-height: 52vh; }
}
