/* ── Reset & Base ─────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --color-bg:     #ffffff;
  --color-text:   #1a1a1a;
  --color-muted:  #888888;
  --color-border: #e8e8e8;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;
  --font-serif:   'Playfair Display', Georgia, serif;
  --nav-height:   64px;
  --max-width:    1200px;
  --gap:          clamp(16px, 3vw, 32px);
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
p  { max-width: 65ch; }

/* ── Layout ───────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--gap);
}

/* ── Header / Nav ─────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
  z-index: 100;
  display: flex;
  align-items: center;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-branding {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.main-nav ul { display: flex; gap: 2.5rem; }

.main-nav a {
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-muted);
  transition: color 0.2s;
}
.main-nav a:hover,
.main-nav a.active { color: var(--color-text); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--color-text);
  transition: transform 0.25s, opacity 0.25s;
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Footer ───────────────────────────────────────────────── */
.site-main { padding-top: var(--nav-height); }

.site-footer {
  border-top: 1px solid var(--color-border);
  padding: 2.5rem 0;
  margin-top: 5rem;
  text-align: center;
  font-size: 0.8125rem;
  color: var(--color-muted);
}

/* ── Home — Hero ──────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - var(--nav-height));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem var(--gap);
}

/* Slideshow layers (behind content) */
.hero__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero__slide.is-active { opacity: 1; }

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.42);
  z-index: 1;
}

/* Content sits above the slideshow */
.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero__eyebrow {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

.hero__title { color: #fff; }

.hero__sub {
  font-size: 1.0625rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.25rem;
}

.hero__cta {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  border: 1px solid rgba(255,255,255,0.8);
  color: #fff;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s;
}
.hero__cta:hover { background: #fff; color: var(--color-text); }

/* Slideshow dots */
.slideshow-dots {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  gap: 0.5rem;
}

.slideshow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}
.slideshow-dot.is-active {
  background: #fff;
  transform: scale(1.3);
}

/* ── Home — Featured strip ────────────────────────────────── */
.featured-strip { padding: 4rem 0 6rem; }

.featured-strip__heading {
  text-align: center;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.featured-grid__item {
  background: var(--color-bg);
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.featured-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-grid__item:hover img { transform: scale(1.03); }

/* ── Placeholder ──────────────────────────────────────────── */
.photo-placeholder {
  width: 100%;
  height: 100%;
  background: #f3f3f3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ccc;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ── Gallery page ─────────────────────────────────────────── */
.page-header {
  padding: 4rem 0 2.5rem;
  border-bottom: 1px solid var(--color-border);
  margin-bottom: 3rem;
}
.page-header__sub {
  font-size: 0.9375rem;
  color: var(--color-muted);
  margin-top: 0.4rem;
}

/* Gallery hub — two category cards */
.gallery-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 5rem;
}

.gallery-hub__card {
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3f3f3;
  display: flex;
  align-items: flex-end;
}

.gallery-hub__card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-hub__card:hover img { transform: scale(1.04); }

.gallery-hub__label {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: 1.5rem 1.75rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.65));
  color: #fff;
}
.gallery-hub__label h2 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: #fff;
}
.gallery-hub__label span {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* Back link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 2rem;
  transition: color 0.2s;
}
.back-link:hover { color: var(--color-text); }

/* Section divider within a gallery page */
.gallery-section { margin-bottom: 4rem; }

.gallery-section__heading {
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--color-border);
}

/* Horizontal photo grid */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2px;
}

.gallery-grid__item {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #f3f3f3;
  cursor: pointer;
}

/* Vertical photo grid */
.gallery-grid--vertical {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery-grid--vertical .gallery-grid__item {
  aspect-ratio: 2 / 3;
}

.gallery-grid__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.gallery-grid__item:hover img { transform: scale(1.04); }

/* ── Lightbox ─────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 200;
  align-items: center;
  justify-content: center;
}
.lightbox.is-open { display: flex; }
.lightbox__img { max-width: 92vw; max-height: 92vh; object-fit: contain; }
.lightbox__close {
  position: absolute;
  top: 1.25rem; right: 1.5rem;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

/* ── About page ───────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
  padding: 3rem 0 5rem;
}

.about-portrait {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #f3f3f3;
}
.about-portrait img { width: 100%; height: 100%; object-fit: cover; }

.about-content { padding-top: 1rem; }
.about-content h1 { margin-bottom: 1.5rem; }
.about-content p  { color: var(--color-muted); margin-bottom: 1rem; }

/* ── Contact page ─────────────────────────────────────────── */
.contact-layout {
  max-width: 560px;
  margin: 3rem auto 6rem;
}
.contact-layout h1 { margin-bottom: 0.75rem; }
.contact-intro { color: var(--color-muted); margin-bottom: 2.5rem; }

.form-field { margin-bottom: 1.5rem; }
.form-field label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--color-muted);
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.75rem 0;
  border: none;
  border-bottom: 1px solid var(--color-border);
  background: transparent;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}
.form-field input:focus,
.form-field textarea:focus { border-bottom-color: var(--color-text); }

.form-submit {
  display: inline-block;
  padding: 0.75rem 2.5rem;
  background: var(--color-text);
  color: var(--color-bg);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: opacity 0.2s;
}
.form-submit:hover { opacity: 0.75; }

/* ── Gallery hub — 3-card layout ─────────────────────────── */
.gallery-hub {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  margin-bottom: 5rem;
}

/* Third card (NSFW) spans full width below the two main cards */
.gallery-hub__card--full {
  grid-column: 1 / -1;
  aspect-ratio: 5 / 2;
}

/* ── Age gate ─────────────────────────────────────────────── */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: #0d0d0d;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--gap);
}

.age-gate__box {
  max-width: 480px;
  width: 100%;
  text-align: center;
}

.age-gate__warning {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  border: 1px solid #333;
  padding: 0.3rem 0.8rem;
  margin-bottom: 2rem;
}

.age-gate__box h2 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400;
  color: #fff;
  margin-bottom: 1rem;
}

.age-gate__box p {
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 2.5rem;
  max-width: 38ch;
  margin-inline: auto;
}

.age-gate__actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  align-items: center;
}

.age-gate__confirm {
  padding: 0.75rem 2.5rem;
  background: #fff;
  color: #0d0d0d;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}
.age-gate__confirm:hover { opacity: 0.85; }

.age-gate__decline {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: color 0.2s;
}
.age-gate__decline:hover { color: #999; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .main-nav {
    display: none;
    position: fixed;
    inset: var(--nav-height) 0 0 0;
    background: var(--color-bg);
    flex-direction: column;
    padding: 2.5rem var(--gap);
  }
  .main-nav.is-open { display: flex; }
  .main-nav ul { flex-direction: column; gap: 1.5rem; }
  .main-nav a  { font-size: 1rem; }

  .featured-grid { grid-template-columns: 1fr; }
  .about-layout  { grid-template-columns: 1fr; }
  .about-portrait { aspect-ratio: 4 / 3; }
}

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