:root {
  --bg: #07111a;
  --bg-2: #0d1b27;
  --text: #e8eef2;
  --muted: #8ea3b0;
  --accent: #4fc3d9;
  --line: rgba(255, 255, 255, 0.08);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;
  --pad: clamp(16px, 4vw, 48px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ── Header ─────────────────────────────────────────── */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px var(--pad);
  transition: background .3s, padding .3s;
}
.site-header.solid, .site-header.scrolled {
  background: rgba(7, 17, 26, 0.92);
  backdrop-filter: blur(8px);
  padding-block: 14px;
  border-bottom: 1px solid var(--line);
}
.brand { line-height: 1.1; }
.brand-name { font-family: var(--serif); font-size: 1.6rem; font-weight: 500; letter-spacing: .02em; }
.brand-tag { display: block; font-size: .68rem; letter-spacing: .32em; text-transform: uppercase; color: var(--muted); }

.nav { display: flex; gap: 34px; }
.nav a {
  font-size: .75rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--muted); position: relative; padding: 4px 0; transition: color .2s;
}
.nav a:hover, .nav a.active { color: var(--text); }
.nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 1px; background: var(--accent);
}
.menu-btn { display: none; background: none; border: 0; color: var(--text); cursor: pointer; padding: 6px; }
.menu-btn span { display: block; width: 24px; height: 1.5px; background: currentColor; margin: 6px 0; transition: .3s; }

@media (max-width: 760px) {
  .menu-btn { display: block; z-index: 2; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; align-items: center; justify-content: center;
    gap: 28px; background: rgba(7, 17, 26, 0.98);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  .nav a { font-size: .95rem; }
  body.menu-open .nav { opacity: 1; pointer-events: auto; }
  body.menu-open .menu-btn span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  body.menu-open .menu-btn span:nth-child(2) { opacity: 0; }
  body.menu-open .menu-btn span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

/* ── Hero slideshow ─────────────────────────────────── */
.hero { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: #000; }
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s ease, transform 7s ease-out;
}
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,.45) 0%, transparent 25%, transparent 60%, rgba(0,0,0,.6) 100%);
}
.hero-content {
  position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 12vh;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap;
}
.hero-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2.4rem, 6vw, 5rem); line-height: 1; }
.hero-caption { font-size: .8rem; letter-spacing: .12em; color: rgba(255,255,255,.75); margin-top: 14px; min-height: 1.3em; transition: opacity .6s; }
.hero-dots { display: flex; gap: 10px; }
.hero-dots button {
  width: 36px; height: 2px; border: 0; cursor: pointer;
  background: rgba(255,255,255,.3); transition: background .3s;
}
.hero-dots button.active { background: #fff; }
.hero-arrow {
  position: absolute; z-index: 3; top: 50%; transform: translateY(-50%);
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  color: #fff; background: rgba(7, 17, 26, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(4px);
  transition: background .25s, border-color .25s, transform .25s;
}
.hero-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.hero-arrow:hover { background: rgba(7, 17, 26, 0.7); border-color: #fff; }
.hero-prev { left: var(--pad); }
.hero-next { right: var(--pad); }
.hero-prev:hover { transform: translateY(-50%) translateX(-3px); }
.hero-next:hover { transform: translateY(-50%) translateX(3px); }
.hero-arrow:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
@media (max-width: 760px) {
  .hero-arrow { width: 42px; height: 42px; }
  .hero-arrow svg { width: 18px; height: 18px; }
  .hero-prev { left: 12px; }
  .hero-next { right: 12px; }
}
.scroll-cue {
  position: absolute; z-index: 2; left: 50%; bottom: 28px; transform: translateX(-50%);
  font-size: .65rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.6);
  animation: bob 2.4s ease-in-out infinite;
}
@keyframes bob { 50% { transform: translate(-50%, 6px); } }

/* ── Sections ───────────────────────────────────────── */
.section { padding: clamp(64px, 10vw, 120px) var(--pad); }
.page-top { padding-top: clamp(130px, 16vw, 180px); }
.eyebrow { font-size: .7rem; letter-spacing: .32em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-title { font-family: var(--serif); font-weight: 400; font-size: clamp(2rem, 4.5vw, 3.4rem); line-height: 1.1; }
.lede { color: var(--muted); max-width: 620px; margin-top: 18px; font-size: 1.05rem; }
.section-head { margin-bottom: clamp(36px, 5vw, 60px); }

/* ── Gallery tiles ──────────────────────────────────── */
.tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.tile { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: var(--bg-2); }
@media (max-width: 1100px) { .tiles { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 700px) {
  .tiles { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 3 / 2; }
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s ease, filter .6s; filter: brightness(.72); }
.tile:hover img { transform: scale(1.05); filter: brightness(.9); }
.tile-label { position: absolute; left: 20px; bottom: 20px; right: 20px; }
.tile-label h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(1.6rem, 2.2vw, 2rem); line-height: 1.1; margin-bottom: 6px; }
.tile-label p { font-size: .8rem; line-height: 1.45; color: rgba(255,255,255,.8); }
.tile-label .count { font-size: .68rem; letter-spacing: .25em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }

/* ── Location filter ───────────────────────────────── */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin: -18px 0 28px; }
.filters button {
  font: inherit; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--muted); background: transparent; cursor: pointer;
  border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px;
  transition: color .2s, border-color .2s, background .2s;
}
.filters button span { color: var(--accent); margin-left: 4px; letter-spacing: normal; }
.filters button:hover { color: var(--text); border-color: rgba(255,255,255,.3); }
.filters button.active { color: var(--bg); background: var(--text); border-color: var(--text); }
.filters button.active span { color: var(--bg); opacity: .6; }

/* ── Masonry photo grid ─────────────────────────────── */
.masonry { columns: 5 240px; column-gap: 6px; }
@media (max-width: 600px) { .masonry { columns: 2; column-gap: 4px; } .masonry figure { margin-bottom: 4px; } }
.masonry figure { break-inside: avoid; margin-bottom: 6px; position: relative; overflow: hidden; cursor: zoom-in; background: var(--bg-2); }
.masonry img { width: 100%; height: auto; transition: transform .9s ease, opacity .6s; opacity: 0; }
.masonry img.loaded { opacity: 1; }
.masonry figure:hover img { transform: scale(1.03); }
.masonry figcaption {
  position: absolute; inset: auto 0 0 0; padding: 40px 16px 14px;
  font-size: .8rem; letter-spacing: .04em;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  opacity: 0; transition: opacity .4s;
}
.masonry figure:hover figcaption { opacity: 1; }

.gallery-nav { display: flex; justify-content: space-between; gap: 16px; margin-top: 56px; padding-top: 28px; border-top: 1px solid var(--line); }
.gallery-nav a { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gallery-nav a:hover { color: var(--accent); }

/* ── Lightbox ───────────────────────────────────────── */
.lightbox {
  position: fixed; inset: 0; z-index: 100; background: rgba(3, 8, 12, .97);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 82vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.lb-caption { margin-top: 18px; font-size: .85rem; color: var(--muted); letter-spacing: .05em; text-align: center; padding: 0 16px; }
.lb-caption:empty { display: none; }
.lb-meta { margin-top: 12px; font-size: .74rem; letter-spacing: .08em; color: var(--muted); text-align: center; padding: 0 16px; line-height: 1.5; }
.lb-line { display: block; }
.lb-line:first-child { text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; }
.lb-line + .lb-line { margin-top: 2px; }
.lb-gear { opacity: .85; }
.lb-btn {
  position: absolute; background: none; border: 0; color: rgba(255,255,255,.7);
  font-size: 2.2rem; cursor: pointer; padding: 16px; line-height: 1; transition: color .2s;
}
.lb-btn:hover { color: #fff; }
.lb-close { top: 10px; right: 14px; font-size: 1.8rem; }
.lb-prev { left: 6px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 6px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 24px; left: 24px; font-size: .7rem; letter-spacing: .25em; color: var(--muted); }

/* ── About ──────────────────────────────────────────── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.about { max-width: 1100px; margin-inline: auto; }
.about-img { aspect-ratio: 2 / 3; object-fit: cover; object-position: 50% 50%; width: 100%; }
.about .section-title { font-size: clamp(2.4rem, 5vw, 4rem); }
.about .facts { margin-top: 44px; padding-top: 32px; }
.about .facts b { font-size: clamp(2.2rem, 4vw, 3rem); line-height: 1.1; }
.about p { color: var(--muted); margin-top: 18px; }
.gear { margin-top: 40px; padding-top: 28px; border-top: 1px solid var(--line); }
.gear .eyebrow { font-weight: 400; margin-bottom: 18px; }
.gear dl { display: grid; gap: 14px; }
.gear dl div { display: grid; grid-template-columns: 110px 1fr; align-items: baseline; gap: 16px; }
.gear dt { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.gear dd { font-family: var(--serif); font-size: 1.35rem; color: var(--text); line-height: 1.3; }
@media (max-width: 480px) { .gear dl div { grid-template-columns: 1fr; gap: 2px; } }
.about p strong { color: var(--text); font-weight: 400; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.facts b { display: block; font-family: var(--serif); font-size: 2.2rem; font-weight: 400; color: var(--text); }
.facts span { font-size: .7rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
@media (max-width: 860px) { .about { grid-template-columns: 1fr; } }

/* ── Contact ────────────────────────────────────────── */
.contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 90px); }
.contact-details p { color: var(--muted); margin-top: 18px; }
.contact-details a { color: var(--accent); }
.form { display: grid; gap: 18px; }
.form label { font-size: .7rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); display: grid; gap: 8px; }
.form input, .form textarea, .form select {
  font: inherit; color: var(--text); background: transparent;
  border: 0; border-bottom: 1px solid rgba(255,255,255,.2);
  padding: 10px 0; outline: none; transition: border-color .2s;
  text-transform: none; letter-spacing: normal; font-size: 1rem;
}
.form select option { background: var(--bg); }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--accent); }
.form textarea { min-height: 130px; resize: vertical; }
.btn {
  justify-self: start; margin-top: 10px;
  font: inherit; font-size: .75rem; letter-spacing: .25em; text-transform: uppercase;
  color: var(--bg); background: var(--text); border: 0; padding: 16px 34px; cursor: pointer;
  transition: background .2s;
}
.btn:hover { background: var(--accent); }
.btn-ghost { display: inline-block; color: var(--text); background: transparent; border: 1px solid rgba(255,255,255,.4); }
.btn-ghost:hover { background: var(--text); color: var(--bg); }
.btn:disabled { opacity: .5; cursor: default; }
.btn:disabled:hover { background: var(--text); }
.hp { position: absolute; left: -9999px; }
.form-status { font-size: .9rem; color: var(--muted); min-height: 1.4em; }
.form-status.ok { color: var(--accent); }
.form-status.error { color: #f0a08c; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }

/* ── Intro band (home) ──────────────────────────────── */
.intro { text-align: center; max-width: 760px; margin: 0 auto; }
.intro .lede { margin-inline: auto; }
.intro .btn { margin-top: 32px; }

/* ── Footer ─────────────────────────────────────────── */
.site-footer {
  padding: 40px var(--pad); border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: .75rem; color: var(--muted); letter-spacing: .08em;
}
.site-footer a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 22px; }

/* Fade-in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s ease, transform .9s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .hero-slide { transition: none; transform: none; }
  .scroll-cue { animation: none; }
}
