:root {
  --bg: #11130f;
  --panel: #191c16;
  --panel-soft: #20241d;
  --text: #f6f2e8;
  --muted: #b8b5aa;
  --soft: #817e75;
  --line: #2e3429;
  --accent: #d6a15f;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  height: auto;
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(246, 242, 232, 0.08);
  background: rgba(17, 19, 15, 0.88);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 0.88rem;
  font-weight: 650;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 0.86rem;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.hero {
  min-height: 68vh;
  display: grid;
  align-items: end;
  position: relative;
  background:
    linear-gradient(180deg, rgba(17, 19, 15, 0.2), rgba(17, 19, 15, 0.88)),
    var(--hero-image) center / cover no-repeat;
}

.hero-inner {
  padding: 112px 0 72px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 18px;
  font-size: clamp(3rem, 9vw, 7.2rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.lede {
  max-width: 610px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.section {
  padding: 72px 0;
}

.section + .section {
  border-top: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

.section-head p {
  max-width: 420px;
  margin-bottom: 0;
  color: var(--muted);
}

.text-link {
  color: var(--accent);
  font-size: 0.9rem;
  font-weight: 700;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.featured-grid img,
.gallery-card img,
.gallery-preview img,
.photo-grid img {
  background: var(--panel-soft);
}

.featured-grid a {
  min-height: 190px;
  overflow: hidden;
  background: var(--panel);
}

.featured-grid a:nth-child(1),
.featured-grid a:nth-child(6) {
  grid-column: span 2;
}

.featured-grid img {
  height: 100%;
  min-height: 190px;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.featured-grid a:hover img,
.gallery-card:hover img,
.gallery-link:hover img,
.photo-item:hover img {
  transform: scale(1.035);
}

.gallery-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.gallery-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-card:hover {
  border-color: rgba(214, 161, 95, 0.5);
  transform: translateY(-2px);
}

.gallery-card figure,
.gallery-preview,
.photo-item {
  margin: 0;
  overflow: hidden;
}

.gallery-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.card-copy {
  padding: 18px;
}

.card-copy h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
}

.card-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.page {
  padding: 92px 0 72px;
}

.page-kicker {
  display: inline-flex;
  margin-bottom: 24px;
  color: var(--accent);
  font-size: 0.82rem;
  font-weight: 700;
}

.page-title {
  max-width: 760px;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 8vw, 5.6rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
}

.page-desc {
  max-width: 660px;
  margin-bottom: 38px;
  color: var(--muted);
  font-size: 1.12rem;
}

.gallery-list {
  display: grid;
  gap: 18px;
}

.gallery-link {
  display: grid;
  grid-template-columns: minmax(260px, 44%) 1fr;
  min-height: 260px;
  border: 1px solid var(--line);
  background: var(--panel);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.gallery-link:hover {
  border-color: rgba(214, 161, 95, 0.5);
  transform: translateY(-2px);
}

.gallery-preview img {
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.gallery-info {
  display: grid;
  align-content: center;
  padding: clamp(24px, 5vw, 48px);
}

.gallery-info h2 {
  margin-bottom: 12px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
  letter-spacing: -0.04em;
}

.gallery-info p {
  max-width: 440px;
  margin-bottom: 22px;
  color: var(--muted);
}

.view-link {
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 700;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.photo-item {
  cursor: zoom-in;
  border: 1px solid rgba(246, 242, 232, 0.06);
  background: var(--panel);
}

.photo-item img {
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.photo-item.portrait img {
  aspect-ratio: 3 / 4;
}

.photo-item.wide {
  grid-column: span 2;
}

.photo-item.wide img {
  aspect-ratio: 16 / 9;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(8, 9, 7, 0.94);
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  width: auto;
  max-width: min(100%, 1180px);
  max-height: 86vh;
  object-fit: contain;
  box-shadow: var(--shadow);
}

.lightbox button {
  position: fixed;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(246, 242, 232, 0.22);
  border-radius: 999px;
  background: rgba(17, 19, 15, 0.82);
  color: var(--text);
  cursor: pointer;
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 1.4rem;
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
}

.lightbox-prev {
  left: 24px;
}

.lightbox-next {
  right: 24px;
}

.site-footer {
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
  color: var(--soft);
  font-size: 0.84rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}

@media (max-width: 900px) {
  .featured-grid,
  .gallery-cards,
  .photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-link {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .shell {
    width: min(var(--max), calc(100% - 28px));
  }

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 0;
  }

  .hero {
    min-height: 64vh;
  }

  .hero-inner {
    padding: 82px 0 48px;
  }

  .section,
  .page {
    padding: 52px 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .featured-grid,
  .gallery-cards,
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .featured-grid a:nth-child(1),
  .featured-grid a:nth-child(6),
  .photo-item.wide {
    grid-column: auto;
  }

  .footer-inner {
    flex-direction: column;
  }
}
