:root {
  --bg: #0e0f11;
  --bg2: #16181b;
  --card: #1a1d21;
  --text: #f2f2f2;
  --muted: #a2a6ad;
  --accent: #d8b36a;
  --gap: 12px;
  --radius: 6px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
img { display: block; }

/* ---------- nav ---------- */
header.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  transition: background .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
header.nav.scrolled {
  background: rgba(14,15,17,.9);
  backdrop-filter: blur(10px);
  border-bottom-color: #23262b;
}
.nav-inner {
  max-width: 1440px; margin: 0 auto;
  padding: 16px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
.brand { text-decoration: none; line-height: 1.2; }
.brand b { display: block; font-size: 16px; letter-spacing: .16em; text-transform: uppercase; }
.brand span { font-size: 10px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); }
.nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-links a {
  color: var(--muted); text-decoration: none;
  font-size: 12.5px; letter-spacing: .1em; text-transform: uppercase;
  padding: 8px 12px; border-radius: 6px;
}
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--accent); }

/* ---------- hero ---------- */
.hero {
  position: relative; height: 100svh; min-height: 560px;
  display: flex; align-items: flex-end;
  overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; transition: opacity 1.6s ease;
}
.hero-slide.on { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.06);
  animation: kb 9s ease-in-out infinite alternate;
}
@keyframes kb { from { transform: scale(1.06); } to { transform: scale(1.14); } }
.hero-shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.78) 0%, rgba(0,0,0,.25) 45%, rgba(0,0,0,.35) 100%);
}
.hero-copy {
  position: relative; z-index: 2;
  max-width: 1440px; margin: 0 auto; width: 100%;
  padding: 0 24px 84px;
}
.hero-kicker {
  font-size: 12px; letter-spacing: .34em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 14px;
}
.hero-copy h1 {
  font-size: clamp(40px, 7vw, 84px);
  font-weight: 700; letter-spacing: -.01em; line-height: 1.02;
  max-width: 14ch;
}
.hero-copy p {
  margin-top: 14px; color: #d7d9dc; font-size: clamp(15px, 2vw, 19px);
  max-width: 46ch;
}
.hero-cta { display: flex; gap: 12px; margin-top: 26px; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn.solid { background: var(--text); color: #111; font-weight: 600; }
.btn.ghost { border: 1px solid rgba(255,255,255,.4); color: var(--text); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); }
.hero-dots {
  position: absolute; z-index: 2; right: 26px; bottom: 90px;
  display: flex; flex-direction: column; gap: 8px;
}
.hero-dots button {
  width: 26px; height: 3px; border: none; border-radius: 2px;
  background: rgba(255,255,255,.28); cursor: pointer; padding: 0;
}
.hero-dots button.on { background: var(--accent); }
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 22px;
  transform: translateX(-50%);
  color: rgba(255,255,255,.65); font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  animation: bob 2.2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%,0); } 50% { transform: translate(-50%,8px); } }

/* ---------- sections ---------- */
.wrap { max-width: 1440px; margin: 0 auto; padding: 0 24px; }
section.block { padding: 84px 0 8px; }
.sec-head { margin-bottom: 28px; max-width: 760px; }
.sec-kicker {
  font-size: 11px; letter-spacing: .3em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 10px;
}
.sec-head h2 { font-size: clamp(26px, 3.4vw, 40px); font-weight: 650; letter-spacing: -.01em; }
.sec-head p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }

/* reveal on scroll */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.rv.in { opacity: 1; transform: none; }

/* ---------- masonry ---------- */
.masonry { columns: 2; column-gap: var(--gap); }
@media (min-width: 1100px) { .masonry { columns: 3; } }
.ph {
  break-inside: avoid; margin-bottom: var(--gap);
  position: relative; overflow: hidden; border-radius: var(--radius);
  background: var(--bg2); cursor: zoom-in;
}
.ph img {
  width: 100%; transition: transform .4s ease, opacity .35s ease; opacity: 0;
}
.ph img.loaded { opacity: 1; }
.ph:hover img { transform: scale(1.03); }
.ph .cap {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 30px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,.75));
  font-size: 13.5px; letter-spacing: .02em;
  opacity: 0; transition: opacity .25s;
}
.ph:hover .cap { opacity: 1; }

/* ---------- gallery cards ---------- */
.cards {
  display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
.card {
  position: relative; display: block; text-decoration: none;
  border-radius: var(--radius); overflow: hidden;
  background: var(--card); aspect-ratio: 4/3;
  transition: transform .25s ease;
}
.card:hover { transform: translateY(-4px); }
.card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.card:hover img { transform: scale(1.05); }
.card .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.82) 0%, rgba(0,0,0,.15) 55%, transparent 100%);
}
.card .meta { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px; }
.card .meta h3 { font-size: 20px; font-weight: 650; letter-spacing: .02em; }
.card .meta p { color: #cfd2d6; font-size: 13px; margin-top: 4px; }
.card .count {
  position: absolute; top: 12px; right: 12px;
  background: rgba(0,0,0,.55); backdrop-filter: blur(4px);
  font-size: 11.5px; letter-spacing: .08em;
  padding: 5px 11px; border-radius: 999px; color: #e8e8e8;
}
/* large category cards (homepage) */
.cards-lg { grid-template-columns: 1fr; }
@media (min-width: 860px) { .cards-lg { grid-template-columns: 1fr 1fr; } }
.card-lg { aspect-ratio: 16/10; }
.card-lg .meta h3 { font-size: 30px; }
.card-lg .meta p { font-size: 14.5px; max-width: 44ch; }

/* ---------- gallery page hero ---------- */
.g-hero {
  position: relative; min-height: 46vh;
  display: flex; align-items: flex-end;
  overflow: hidden; border-radius: 0 0 12px 12px;
}
.g-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.g-hero .shade {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,11,13,.92) 0%, rgba(10,11,13,.25) 60%, rgba(10,11,13,.35) 100%);
}
.g-hero .copy { position: relative; z-index: 2; padding: 120px 24px 40px; max-width: 1440px; margin: 0 auto; width: 100%; }
.g-hero h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 700; letter-spacing: -.01em; }
.g-hero p { color: #d7d9dc; margin-top: 8px; max-width: 60ch; font-size: 15.5px; }
.g-hero .count { color: var(--accent); font-size: 12px; letter-spacing: .24em; text-transform: uppercase; }
.pg-nav {
  display: flex; justify-content: space-between; gap: 12px;
  padding: 44px 0 10px; flex-wrap: wrap;
}
.pg-nav a {
  text-decoration: none; font-size: 13px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--muted); padding: 10px 4px;
}
.pg-nav a:hover { color: var(--accent); }

/* ---------- about ---------- */
.about-grid { display: grid; gap: 28px; }
@media (min-width: 860px) { .about-grid { grid-template-columns: 1.4fr 1fr; align-items: start; } }
.about-grid p { color: #d4d7db; font-size: 16px; white-space: pre-line; }
.insta-card {
  background: var(--card); border-radius: var(--radius);
  padding: 28px; text-align: center;
}
.insta-card .handle { font-size: 20px; font-weight: 650; margin-bottom: 6px; }
.insta-card p { color: var(--muted); font-size: 13.5px; margin-bottom: 18px; }
.insta-card a {
  display: inline-block; padding: 12px 30px; border-radius: 999px;
  background: var(--accent); color: #141414; font-weight: 650;
  font-size: 13px; letter-spacing: .1em; text-transform: uppercase; text-decoration: none;
  transition: transform .2s;
}
.insta-card a:hover { transform: translateY(-2px); }

footer {
  border-top: 1px solid #23262b; margin-top: 90px;
  padding: 28px 24px; text-align: center;
  color: var(--muted); font-size: 12px; letter-spacing: .1em;
}

/* ---------- lightbox ---------- */
#lb {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(0,0,0,.95);
  display: none; align-items: center; justify-content: center;
}
#lb.open { display: flex; }
#lb img { max-width: 94vw; max-height: 86vh; object-fit: contain; border-radius: 4px; }
#lb .t {
  position: absolute; bottom: 20px; left: 0; right: 0; text-align: center;
  color: var(--text); font-size: 14px; letter-spacing: .04em;
}
#lb .x, #lb .prev, #lb .next {
  position: absolute; background: none; border: none; color: #fff;
  font-size: 32px; cursor: pointer; padding: 14px; line-height: 1; opacity: .7;
}
#lb .x:hover, #lb .prev:hover, #lb .next:hover { opacity: 1; }
#lb .x { top: 6px; right: 12px; }
#lb .prev { left: 4px; top: 50%; transform: translateY(-50%); }
#lb .next { right: 4px; top: 50%; transform: translateY(-50%); }
</style>
