:root {
  --bg: #080808;
  --surface: #111;
  --border: #1e1e1e;
  --text: #d8d8d8;
  --muted: #666;
  --accent: #fff;
  --nav-h: 58px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 0.04em;
  -webkit-font-smoothing: antialiased;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(8,8,8,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2.5rem;
  z-index: 200;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  white-space: nowrap;
}

.logo-mark {
  width: 32px;
  height: 32px;
  object-fit: contain;
  opacity: 0.85;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-name {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--accent);
}

.logo-sub {
  font-size: 9px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: color 0.2s;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}

.nav-links a:hover { color: var(--accent); }
.nav-links a.active { color: var(--accent); border-bottom-color: var(--accent); }

.hamburger {
  display: none;
  background: none;
  border: none;
  color: var(--accent);
  font-size: 22px;
  cursor: pointer;
  padding: 4px;
  line-height: 1;
}

@media (max-width: 860px) {
  .hamburger { display: block; }
  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h); left: 0; right: 0; bottom: 0;
    background: rgba(8,8,8,0.98);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
  }
  .nav-links.open { display: flex; }
  .nav-links a { font-size: 14px; letter-spacing: 0.3em; }
}

/* ── MAIN ── */
main { padding-top: var(--nav-h); min-height: 100vh; }

/* ── HERO (index) ── */
.hero {
  width: 100%;
  height: calc(100vh - var(--nav-h));
  overflow: hidden;
  position: relative;
}

.hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  display: block;
}

.hero-caption {
  position: absolute;
  bottom: 2.5rem;
  right: 2.5rem;
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* ── GALLERY ── */
.gallery-header {
  padding: 1.8rem 2.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  gap: 1rem;
}

.gallery-header h1 {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
}

.gallery-count {
  font-size: 10px;
  color: var(--border);
  letter-spacing: 0.1em;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 2px;
  padding: 2px;
  background: var(--border);
}

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

@media (max-width: 360px) {
  .gallery-grid { grid-template-columns: 1fr; }
}

.gallery-item {
  aspect-ratio: 1;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.35s ease, transform 0.5s ease;
  display: block;
}

.gallery-item:hover img {
  opacity: 1;
  transform: scale(1.06);
}

/* ── LIGHTBOX ── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(5,5,5,0.97);
  z-index: 999;
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lb-img-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 92vw;
  max-height: 88vh;
}

.lightbox-img {
  max-width: 88vw;
  max-height: 86vh;
  object-fit: contain;
  user-select: none;
  display: block;
}

.lb-btn {
  position: fixed;
  background: none;
  border: none;
  color: var(--muted);
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  font-weight: 200;
}

.lb-btn:hover { color: var(--accent); }

#lb-close { top: 1.2rem; right: 1.5rem; font-size: 26px; }
#lb-prev   { left: 1rem; top: 50%; transform: translateY(-50%); font-size: 44px; padding: 1rem; }
#lb-next   { right: 1rem; top: 50%; transform: translateY(-50%); font-size: 44px; padding: 1rem; }

.lb-counter {
  position: fixed;
  bottom: 1.2rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 0.3em;
}

/* ── INFO PAGE ── */
.info-wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 5rem;
  align-items: start;
}

@media (max-width: 700px) {
  .info-wrap { grid-template-columns: 1fr; gap: 3rem; }
}

.info-photo img {
  width: 100%;
  max-width: 260px;
  display: block;
  filter: grayscale(15%) contrast(1.05);
}

.info-text { line-height: 1; }

.info-text h2 {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.info-text p {
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 1.5rem;
  font-size: 13px;
}

.info-text a { color: var(--muted); transition: color 0.2s; }
.info-text a:hover { color: var(--accent); }

.clients-section {
  grid-column: 1 / -1;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

.clients-section h2 {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.clients-list {
  color: var(--muted);
  line-height: 2.2;
  font-size: 12px;
  letter-spacing: 0.03em;
}

/* ── LEGAL PAGES ── */
.legal-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2.5rem;
}

.legal-wrap h1 {
  font-size: 10px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.legal-wrap p, .legal-wrap li {
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 1rem;
  font-size: 13px;
}

.legal-wrap a { color: var(--muted); }
.legal-wrap a:hover { color: var(--accent); }

.legal-wrap h2 {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 2rem 0 0.8rem;
}

/* ── FOOTER ── */
footer {
  border-top: 1px solid var(--border);
  padding: 1.5rem 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

footer span { color: var(--muted); font-size: 10px; letter-spacing: 0.2em; }

.footer-links { display: flex; gap: 1.5rem; }

footer a {
  color: var(--muted);
  text-decoration: none;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition: color 0.2s;
}

footer a:hover { color: var(--accent); }
