/* ─── MEDAA, Global Styles ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --ink:        #1a1714;
  --ink-mid:    #5a5550;
  --ink-light:  #9a9590;
  --paper:      #f8f5f0;
  --paper-2:    #f0ece5;
  --gold:       #b8966a;
  --gold-light: #d4b88a;
  --white:      #ffffff;
  --nav-h:      64px;
  --serif: 'Cormorant Garamond', 'Times New Roman', serif;
  --sans:  'Zen Kaku Gothic New', sans-serif;
  --max-w: 1200px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-weight: 300;
  color: var(--ink);
  background: var(--paper);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

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

/* ─── NAV ──────────────────────────────────────────────────────── */
.site-nav {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--nav-h);
  background: rgba(248,245,240,0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(26,23,20,0.07);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.nav-logo {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: var(--ink);
  flex-shrink: 0;
}
.nav-logo span {
  display: block;
  font-size: 0.5rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--ink-mid);
  font-family: var(--sans);
  font-weight: 300;
  margin-top: -1px;
}

.nav-links {
  display: flex; gap: clamp(1rem, 2.5vw, 2.5rem);
  list-style: none; align-items: center;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mid);
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--ink); }
.nav-links .nav-shop a {
  color: var(--gold);
  border: 1px solid var(--gold-light);
  padding: 6px 16px;
  transition: background 0.2s, color 0.2s;
}
.nav-links .nav-shop a:hover { background: var(--gold); color: var(--white); }

.hamburger {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span {
  display: block; width: 22px; height: 1px;
  background: var(--ink); transition: all 0.3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0; bottom: 0;
  background: var(--paper);
  z-index: 99;
  flex-direction: column;
  padding: 2.5rem clamp(1.5rem, 6vw, 3rem);
  gap: 0;
  overflow-y: auto;
}
.mobile-menu.is-open { display: flex; }
.mobile-menu a {
  font-size: 1.4rem;
  font-family: var(--serif);
  font-weight: 300;
  letter-spacing: 0.08em;
  color: var(--ink-mid);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(26,23,20,0.08);
  transition: color 0.2s;
}
.mobile-menu a:hover { color: var(--ink); }
.mobile-menu a.nav-shop-m { color: var(--gold); border-bottom: none; margin-top: 1rem; }

@media (max-width: 760px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
}

/* ─── PAGE WRAPPER ─────────────────────────────────────────────── */
.page-body { margin-top: var(--nav-h); }

/* ─── SECTION BASE ─────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 10vw, 8rem) clamp(1.5rem, 6vw, 5rem);
}
.section--dark { background: var(--ink); color: var(--paper); }
.section--white { background: var(--white); }
.section--paper2 { background: var(--paper-2); }

.section-inner { max-width: var(--max-w); margin: 0 auto; }

.section-label {
  font-size: 0.6rem; letter-spacing: 0.42em;
  text-transform: uppercase; color: var(--gold);
  margin-bottom: 0.85rem;
}
.section--dark .section-label { color: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 300;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 1.4rem;
}
.section--dark .section-title { color: var(--paper); }

.section-rule {
  width: 36px; height: 1px;
  background: var(--gold);
  margin-bottom: 2rem;
}

/* ─── BUTTONS ──────────────────────────────────────────────────── */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 0.66rem; letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 13px 30px;
  transition: all 0.22s;
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary { background: var(--ink); color: var(--white); }
.btn-primary:hover { background: var(--ink-mid); }
.btn-outline { border: 1px solid var(--ink-mid); color: var(--ink-mid); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-gold { border: 1px solid var(--gold); color: var(--gold); }
.btn-gold:hover { background: var(--gold); color: var(--white); }
.btn-ghost { border: 1px solid rgba(240,236,229,0.35); color: rgba(240,236,229,0.8); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ─── GALLERY GRID ─────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 3px;
}
.gallery-grid--tight {
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

.gallery-item {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--paper-2);
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(.25,.46,.45,.94);
}
.gallery-item:hover img,
.gallery-item:focus img { transform: scale(1.05); outline: none; }
.gallery-item:focus { outline: 2px solid var(--gold); outline-offset: 2px; }

.gallery-caption {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(20,18,16,0.65));
  color: rgba(248,245,240,0.9);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 2rem 0.85rem 0.85rem;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-caption,
.gallery-item:focus .gallery-caption { opacity: 1; }

/* ─── LIGHTBOX ─────────────────────────────────────────────────── */
.lightbox {
  display: none;
  position: fixed; inset: 0;
  background: rgba(20,18,16,0.94);
  z-index: 500;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.is-open { display: flex; }
.lightbox-img {
  max-width: min(90vw, 1000px);
  max-height: 90svh;
  object-fit: contain;
  width: auto; height: auto;
}
.lightbox-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  background: none; border: none;
  color: rgba(240,236,229,0.6);
  font-size: 1.8rem; cursor: pointer; line-height: 1;
  transition: color 0.2s;
}
.lightbox-close:hover { color: var(--gold-light); }
.lightbox-caption {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  color: rgba(240,236,229,0.45);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  white-space: nowrap;
}
.lb-nav {
  position: fixed;
  top: 50%; transform: translateY(-50%);
  background: none; border: none;
  color: rgba(240,236,229,0.4);
  font-size: 2rem; cursor: pointer;
  padding: 1rem;
  transition: color 0.2s;
  line-height: 1;
}
.lb-nav:hover { color: var(--gold-light); }
.lb-prev { left: 0.5rem; }
.lb-next { right: 0.5rem; }

/* ─── PAGE HEADER ──────────────────────────────────────────────── */
.page-header {
  padding: clamp(3.5rem, 8vw, 6rem) clamp(1.5rem, 6vw, 5rem) 0;
  max-width: var(--max-w);
  margin: 0 auto;
}

/* ─── FOOTER ───────────────────────────────────────────────────── */
.site-footer {
  background: var(--ink);
  color: rgba(240,236,229,0.45);
  padding: 3rem clamp(1.5rem, 6vw, 5rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.footer-logo {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  letter-spacing: 0.14em;
  color: rgba(240,236,229,0.75);
}
.footer-meta {
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  line-height: 2.2;
  text-align: right;
}
.footer-meta a {
  color: rgba(240,236,229,0.35);
  transition: color 0.2s;
}
.footer-meta a:hover { color: var(--gold-light); }

/* ─── UTILITIES ────────────────────────────────────────────────── */
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap;
}
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--ink-mid); }
.text-serif  { font-family: var(--serif); }
.mt-sm { margin-top: 1rem; }
.mt-md { margin-top: 2rem; }
.mt-lg { margin-top: 3rem; }

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-meta { text-align: left; }
}
