:root {
  --bg: #0b0b0b;
  --surface: #151515;
  --text: #f5f5f2;
  --muted: #a5a5a0;
  --line: #2a2a2a;
  --max: 1440px;
  --pad: clamp(18px, 4vw, 64px);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

.site-header {
  position: sticky;
  z-index: 30;
  top: 0;
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px var(--pad);
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(11,11,11,.9);
  backdrop-filter: blur(14px);
}

.brand img {
  width: min(230px, 52vw);
  max-height: 44px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: .9rem;
}

.main-nav a:hover,
.text-link:hover,
.contact-links a:hover,
.site-footer a:hover {
  opacity: .65;
}

.menu-button {
  display: none;
  border: 0;
  background: none;
  color: var(--text);
  font: inherit;
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  overflow: hidden;
}

.hero-media,
.hero-media img {
  width: 100%;
  min-height: calc(100vh - 76px);
}

.hero-media img {
  object-fit: cover;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.18) 64%, rgba(0,0,0,.1) 100%),
    linear-gradient(0deg, rgba(0,0,0,.55), transparent 50%);
}

.hero-copy {
  position: absolute;
  z-index: 2;
  left: var(--pad);
  bottom: clamp(38px, 8vh, 110px);
  max-width: 760px;
}

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

h1, h2 {
  margin: 0;
  max-width: 1000px;
  line-height: .95;
  letter-spacing: -.055em;
}

h1 {
  font-size: clamp(3.2rem, 10vw, 9rem);
}

h2 {
  font-size: clamp(2.6rem, 7vw, 6rem);
}

.hero-copy p:not(.eyebrow) {
  max-width: 570px;
  margin: 22px 0;
  color: #ddd;
  font-size: clamp(1rem, 2vw, 1.25rem);
}

.text-link {
  display: inline-block;
  padding-bottom: 4px;
  border-bottom: 1px solid currentColor;
  font-weight: 700;
}

.section {
  width: min(100%, var(--max));
  margin-inline: auto;
  padding: clamp(68px, 10vw, 150px) var(--pad);
}

.section-heading {
  display: flex;
  margin-bottom: 44px;
  align-items: end;
  justify-content: space-between;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 10px;
}

.gallery-card {
  position: relative;
  grid-column: span 6;
  overflow: hidden;
  min-height: 460px;
  background: var(--surface);
}

.gallery-card:nth-child(3n) {
  grid-column: span 12;
}

.gallery-card img {
  width: 100%;
  height: 100%;
  min-height: 460px;
  object-fit: cover;
  transition: transform .45s ease, opacity .45s ease;
}

.gallery-card:hover img {
  transform: scale(1.015);
  opacity: .82;
}

.gallery-card-copy {
  position: absolute;
  inset: auto 0 0;
  padding: 28px;
  background: linear-gradient(transparent, rgba(0,0,0,.88));
}

.gallery-card-copy p {
  margin: 0 0 7px;
  color: #ccc;
  font-size: .75rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.gallery-card-copy h3 {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2.5rem);
  line-height: 1;
}

.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 8vw, 120px);
  border-top: 1px solid var(--line);
}

.about-copy {
  max-width: 620px;
  color: #c8c8c4;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
}

.contact {
  min-height: 65vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: 1px solid var(--line);
}

.contact-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 36px;
  margin-top: 44px;
  font-size: clamp(1.1rem, 2.5vw, 1.8rem);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 30px var(--pad);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: .78rem;
}

.site-footer div {
  display: flex;
  gap: 20px;
}

.gallery-header {
  padding-bottom: 44px;
}

.gallery-description {
  max-width: 680px;
  color: var(--muted);
}

.gallery-section {
  padding-top: 0;
}

.photo-grid {
  columns: 3 340px;
  column-gap: 8px;
}

.photo-button {
  display: block;
  width: 100%;
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  background: none;
  cursor: zoom-in;
  break-inside: avoid;
}

.photo-button img {
  width: 100%;
  height: auto;
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  padding: 0;
  border: 0;
  background: rgba(0,0,0,.96);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox::backdrop {
  background: rgba(0,0,0,.96);
}

.lightbox img {
  max-width: 94vw;
  max-height: 90vh;
  object-fit: contain;
}

.lightbox-close {
  position: fixed;
  z-index: 2;
  top: 15px;
  right: 20px;
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

.empty-state {
  padding: 35px;
  border: 1px solid var(--line);
  color: var(--muted);
}

.legal {
  max-width: 820px;
}

.legal h1 {
  margin-bottom: 40px;
  font-size: clamp(2.8rem, 7vw, 6rem);
}

.legal h2 {
  margin-top: 50px;
  font-size: 1.6rem;
  letter-spacing: -.02em;
}

.legal p,
.legal li {
  color: #c6c6c2;
}

@media (max-width: 760px) {
  .menu-button {
    display: block;
  }

  .main-nav {
    position: absolute;
    top: 75px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px var(--pad) 20px;
    border-bottom: 1px solid var(--line);
    background: var(--bg);
  }

  .main-nav.visible {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
  }

  .gallery-card,
  .gallery-card:nth-child(3n) {
    grid-column: span 12;
    min-height: 330px;
  }

  .gallery-card img {
    min-height: 330px;
  }

  .about {
    grid-template-columns: 1fr;
  }

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

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