@font-face {
  font-family: "RetroAccent";
  src:
    url("fonts/retro-accent.woff2") format("woff2"),
    url("fonts/retro-accent.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5f3ee;
  --surface: #fffcf7;
  --text: #111111;
  --muted: #5b5b5b;
  --line: rgba(17, 17, 17, 0.14);
  --shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
code {
  background: rgba(17, 17, 17, 0.06);
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
}

.page {
  width: min(calc(100% - 2rem), var(--max));
  margin: 0 auto;
}

.site-header,
.section,
.site-footer {
  border-top: 1px solid var(--line);
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  padding: 1.2rem 0 1.6rem;
}
.site-header h1,
.hero h2,
.section h3,
.lightbox h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
.site-header h1 { font-size: clamp(1.15rem, 1.6vw, 1.45rem); }

.retro-accent,
.site-header h1,
.top-nav a,
.eyebrow,
.lightbox-kicker {
  font-family: "RetroAccent", "Courier New", monospace;
  letter-spacing: 0.02em;
}

.site-header h1 {
  line-height: 1.1;
}

.top-nav a,
.eyebrow,
.lightbox-kicker {
  font-size: 0.78rem;
}

.tagline, .eyebrow, .section-head p, .card-meta span, .lightbox-kicker, .lightbox-facts, .site-footer {
  color: var(--muted);
}
.top-nav {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.top-nav a {
  text-decoration: none;
  padding-bottom: 0.15rem;
}
.top-nav a:hover,
.contact-links a:hover,
.site-footer a:hover { text-decoration: underline; }

.hero {
  padding: 7rem 0 4rem;
}
.eyebrow {
  margin: 0 0 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
}
.hero h2 {
  font-size: clamp(2.2rem, 7vw, 5.8rem);
  line-height: 0.94;
  max-width: 10ch;
}
.intro {
  max-width: 58ch;
  margin: 1.4rem 0 0;
  font-size: clamp(1rem, 1.4vw, 1.12rem);
}

.section {
  padding: 1.4rem 0 3rem;
}
.section-head,
.two-col {
  display: grid;
  grid-template-columns: minmax(160px, 220px) 1fr;
  gap: 1rem 2rem;
  align-items: start;
}
.section-head { margin-bottom: 1.2rem; }

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.card {
  background: transparent;
}
.card-button {
  width: 100%;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
}
.card img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
  background: #e8e4dc;
  box-shadow: var(--shadow);
  transition: transform 160ms ease, filter 160ms ease;
}
.card-button:hover img {
  transform: translateY(-3px);
  filter: contrast(1.02);
}
.card-meta {
  display: block;
  padding: 0.75rem 0.2rem 0;
}
.card-meta strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 600;
}
.card-meta span { font-size: 0.92rem; }
.empty-state {
  padding: 1.25rem;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.35);
}

.about-block p:first-of-type { margin-top: 0; }
.portrait-wrap {
  max-width: 240px;
  margin: 0 0 1.2rem;
}
.portrait {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: var(--shadow);
  background: #e8e4dc;
}

.contact-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}
.contact-links a,
.site-footer a { text-decoration: none; }
.site-footer {
  padding: 1rem 0 2rem;
  font-size: 0.92rem;
}

.lightbox {
  width: min(1120px, calc(100% - 1.5rem));
  border: 0;
  border-radius: 24px;
  padding: 0;
  background: var(--surface);
  color: var(--text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.22);
}
.lightbox::backdrop {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}
.lightbox-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr;
  gap: 0;
}
.lightbox-image-wrap {
  background: #101010;
  min-height: min(70vh, 820px);
}
.lightbox-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.lightbox-text {
  padding: 2rem;
}
.lightbox-kicker {
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 0.78rem;
  margin: 0 0 0.75rem;
}
.lightbox h4 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  margin-bottom: 0.8rem;
}
.lightbox-facts {
  margin: 0 0 1rem;
}
.lightbox-close-wrap {
  position: absolute;
  right: 1rem;
  top: 1rem;
  z-index: 3;
}
.lightbox-close {
  border: 0;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 999px;
  cursor: pointer;
  font-size: 1.4rem;
  background: rgba(255,255,255,0.88);
}

@media (max-width: 900px) {
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .lightbox-grid { grid-template-columns: 1fr; }
  .lightbox-image-wrap { min-height: 50vh; }
}

@media (max-width: 720px) {
  .page { width: min(calc(100% - 1.2rem), var(--max)); }
  .site-header { align-items: start; flex-direction: column; }
  .hero { padding: 4rem 0 2.5rem; }
  .section-head,
  .two-col { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .portrait-wrap { max-width: 180px; }
}

@media (max-width: 720px) {
  .site-header h1 { font-size: 1rem; }
  .top-nav a, .eyebrow, .lightbox-kicker { font-size: 0.72rem; }
}
