:root {
  --bg: #f6f4ef;
  --paper: #fffefa;
  --ink: #1c1c1a;
  --muted: #74706a;
  --line: rgba(28,28,26,.13);
  --soft: rgba(28,28,26,.07);
  --shadow: 0 22px 70px rgba(0,0,0,.10);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.45;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(circle at 16% 20%, rgba(0,0,0,.055), transparent 28%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 100%);
}
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 1rem clamp(1.2rem, 4vw, 3.5rem);
  background: rgba(246,244,239,.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand {
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  font-weight: 700;
}
.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: transparent;
  border-radius: 999px;
  padding: .55rem .8rem;
}
.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: .55rem;
}
.nav-links a {
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: .48rem .75rem;
  font-size: .78rem;
  color: var(--muted);
  transition: background .2s ease, color .2s ease, transform .2s ease;
}
.nav-links a:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-1px);
}
.hero-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: auto;
  padding: 7rem 0 6rem;
}
.eyebrow, .section-kicker {
  margin: 0 0 1.1rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: .2em;
  font-size: .72rem;
  font-weight: 700;
}
h1 {
  max-width: 980px;
  margin: 0;
  font-size: clamp(3.2rem, 8.5vw, 8.8rem);
  line-height: .92;
  letter-spacing: -.075em;
  font-weight: 760;
}
.lead {
  max-width: 680px;
  margin: 2rem 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.28rem);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}
.primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  padding: .8rem 1.05rem;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.primary {
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.secondary {
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}
.primary:hover, .secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: .65rem;
  margin-top: 2.2rem;
}
.stat {
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: rgba(255,255,255,.48);
  padding: .8rem 1rem;
  min-width: 132px;
}
.stat strong { display: block; font-size: 1.2rem; }
.stat span { color: var(--muted); font-size: .8rem; }
.gallery-root {
  width: min(1480px, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 4rem 0 7rem;
}
.section {
  scroll-margin-top: 95px;
  padding: 4rem 0 4.6rem;
  border-bottom: 1px solid var(--line);
}
.section-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2rem;
  align-items: end;
  margin-bottom: 1.25rem;
}
.section h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 4.4rem);
  letter-spacing: -.055em;
  line-height: 1;
}
.count {
  color: var(--muted);
  font-size: .9rem;
  white-space: nowrap;
}
.grid {
  columns: 4 260px;
  column-gap: 1rem;
}
.card {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 1rem;
  break-inside: avoid;
  border: 0;
  border-radius: 1.1rem;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  cursor: zoom-in;
  transition: transform .24s ease, box-shadow .24s ease, filter .24s ease;
  padding: 0;
}
.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  filter: saturate(1.02);
}
.card img {
  display: block;
  width: 100%;
  height: auto;
}
.card .number {
  position: absolute;
  left: .75rem;
  bottom: .75rem;
  color: #fff;
  background: rgba(0,0,0,.38);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: .34rem .55rem;
  font-size: .72rem;
  letter-spacing: .05em;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.card:hover .number {
  opacity: 1;
  transform: translateY(0);
}
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(12,12,11,.94);
  color: #fff;
  padding: 1rem;
}
.lightbox.open { display: flex; }
.lightbox figure {
  margin: 0;
  width: min(92vw, 1600px);
  height: min(88vh, 1000px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.lightbox img {
  max-width: 100%;
  max-height: calc(88vh - 42px);
  object-fit: contain;
  border-radius: .45rem;
  box-shadow: 0 24px 90px rgba(0,0,0,.45);
}
.lightbox figcaption {
  margin-top: .9rem;
  color: rgba(255,255,255,.74);
  font-size: .9rem;
}
.close, .arrow {
  position: absolute;
  border: 1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  backdrop-filter: blur(16px);
  transition: background .2s ease, transform .2s ease;
}
.close:hover, .arrow:hover { background: rgba(255,255,255,.18); }
.close {
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  font-size: 1.8rem;
  line-height: 1;
}
.arrow {
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 62px;
  border-radius: 999px;
  font-size: 2.2rem;
}
.arrow:hover { transform: translateY(-50%) scale(1.05); }
.prev { left: 1rem; }
.next { right: 1rem; }
.footer {
  padding: 2.4rem clamp(1.2rem, 4vw, 3.5rem);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  color: var(--muted);
  font-size: .86rem;
}
.footer p { margin: 0; }
.muted { color: var(--muted); }
@media (max-width: 760px) {
  .topbar { align-items: flex-start; }
  .menu-toggle { display: inline-flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    padding: 1rem 1.2rem;
    background: rgba(246,244,239,.96);
    border-bottom: 1px solid var(--line);
    justify-content: flex-start;
  }
  .nav-links.open { display: flex; }
  .section-header { grid-template-columns: 1fr; gap: .6rem; }
  .grid { columns: 2 160px; column-gap: .65rem; }
  .card { margin-bottom: .65rem; border-radius: .8rem; }
  .hero-inner { padding-top: 5rem; }
  .footer { flex-direction: column; }
  .arrow { width: 42px; height: 54px; }
}
