:root {
  --bg: #0d0d10;
  --bg-raised: #16161b;
  --bg-card: #1a1a21;
  --ink: #e8e6e1;
  --ink-dim: #9b988f;
  --accent: #4fd48a;
  --accent-dim: rgba(79, 212, 138, 0.35);
  --border: #26262e;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", "Segoe UI", sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--body);
  font-weight: 300;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

.accent { color: var(--accent); }

/* ---------- Header / hero ---------- */

.site-header {
  position: relative;
  border-bottom: 1px solid var(--border);
  background:
    radial-gradient(ellipse 80% 60% at 50% -10%, rgba(79, 212, 138, 0.08), transparent),
    var(--bg);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  position: sticky;
  top: 0;
}

.nav-brand {
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.6rem;
  letter-spacing: 0.05em;
}

.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-left: 2rem;
  transition: color 0.2s;
}

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

.hero {
  max-width: 780px;
  margin: 0 auto;
  padding: 5rem 2rem 6rem;
  text-align: center;
}

.hero-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.45em;
  color: var(--accent);
  margin-bottom: 1.2rem;
}

.hero-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(4rem, 12vw, 8rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.hero-sub {
  margin-top: 1rem;
  color: var(--ink-dim);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-blurb {
  margin: 2rem auto 0;
  max-width: 560px;
  color: var(--ink-dim);
  font-size: 1.02rem;
}

.hero-cta {
  display: inline-block;
  margin-top: 2.6rem;
  padding: 0.8rem 2.2rem;
  border: 1px solid var(--accent-dim);
  border-radius: 999px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  transition: background 0.25s, box-shadow 0.25s;
}

.hero-cta:hover {
  background: rgba(79, 212, 138, 0.08);
  box-shadow: 0 0 24px rgba(79, 212, 138, 0.15);
}

/* ---------- Gallery ---------- */

.gallery-section { padding: 4rem 2rem; max-width: 1600px; margin: 0 auto; }

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.section-head h2, .about-section h2 {
  font-family: var(--display);
  font-weight: 600;
  font-size: 2.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.count { color: var(--ink-dim); font-size: 0.85rem; letter-spacing: 0.1em; }

.masonry {
  column-count: 4;
  column-gap: 1.1rem;
}

@media (max-width: 1400px) { .masonry { column-count: 3; } }
@media (max-width: 900px)  { .masonry { column-count: 2; } }
@media (max-width: 560px)  { .masonry { column-count: 1; } }

.tile {
  display: block;
  width: 100%;
  margin-bottom: 1.1rem;
  break-inside: avoid;
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  cursor: zoom-in;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.tile.seen { opacity: 1; transform: none; }

.tile img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.45s ease, filter 0.45s ease;
}

.tile:hover img { transform: scale(1.035); filter: brightness(1.06); }

.tile .tile-title {
  position: absolute;
  inset: auto 0 0 0;
  padding: 2.2rem 0.9rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.tile:hover .tile-title { opacity: 1; }

/* ---------- About / footer ---------- */

.about-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 4rem 2rem 5rem;
  border-top: 1px solid var(--border);
}

.about-section h2 { margin-bottom: 1.4rem; }
.about-section p { color: var(--ink-dim); margin-bottom: 1rem; }

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 2rem;
  text-align: center;
  color: var(--ink-dim);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

/* ---------- Lightbox ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(8, 8, 10, 0.94);
  backdrop-filter: blur(6px);
}

.lightbox.open { display: flex; }

.lb-figure {
  max-width: min(92vw, 1200px);
  max-height: 92vh;
  text-align: center;
}

.lb-figure img {
  max-width: 100%;
  max-height: 84vh;
  border-radius: 4px;
  box-shadow: 0 10px 60px rgba(0, 0, 0, 0.7);
}

.lb-figure figcaption {
  margin-top: 0.9rem;
  color: var(--ink-dim);
  font-size: 0.9rem;
  letter-spacing: 0.08em;
}

.lb-close, .lb-nav {
  position: fixed;
  background: none;
  border: none;
  color: var(--ink-dim);
  font-size: 2.6rem;
  line-height: 1;
  cursor: pointer;
  padding: 0.5rem 1rem;
  transition: color 0.2s;
  user-select: none;
}

.lb-close:hover, .lb-nav:hover { color: var(--accent); }

.lb-close { top: 1rem; right: 1.2rem; }
.lb-prev { left: 0.6rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 0.6rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 560px) {
  .lb-prev { left: 0; }
  .lb-next { right: 0; }
}
