/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black:      #000000;
  --white:      #ffffff;
  --off-white:  #e8e4dc;
  --dim:        #888888;
  --accent:     #c8b89a;
  --gap:        clamp(10px, 1.5vw, 18px);
  --col-count:  3;
}

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

body {
  background: var(--black);
  color: var(--off-white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  cursor: crosshair;
}

/* ===== HEADER ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 1.8rem 3rem 1.4rem;
  display: flex;
  align-items: baseline;
  gap: 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: baseline;
  gap: 2.2rem;
  flex-wrap: wrap;
}

.logo {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.22em;
  color: var(--white);
  text-decoration: none;
  text-transform: lowercase;
  transition: color 0.3s;
}
.logo:hover { color: var(--accent); }

.tagline {
  font-size: clamp(0.6rem, 1.2vw, 0.72rem);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 200;
  white-space: nowrap;
}

/* ===== MAIN / GALLERY ===== */
main {
  flex: 1;
  padding: clamp(1.5rem, 4vw, 3.5rem) clamp(1rem, 4vw, 3rem);
}

/* Masonry via CSS columns */
.masonry-grid {
  columns: var(--col-count);
  column-gap: var(--gap);
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: var(--gap);
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease,
              opacity 0.4s ease;
  filter: grayscale(8%) brightness(0.92);
  opacity: 0;
}

.masonry-item img.loaded {
  opacity: 1;
}

.masonry-item:hover img {
  transform: scale(1.03);
  filter: grayscale(0%) brightness(1);
}

/* ===== EMPTY STATE ===== */
.empty-state {
  text-align: center;
  padding: 8rem 2rem;
  color: var(--dim);
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.97);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.lightbox-img-wrap {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-img-wrap img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  display: block;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.8rem;
  cursor: pointer;
  transition: color 0.2s;
  line-height: 1;
  padding: 0.5rem;
  z-index: 1001;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { color: var(--white); }

.lightbox-close { top: 1.5rem; right: 2rem; font-size: 2.2rem; }
.lightbox-prev  { left: 2rem;  top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 2rem; top: 50%; transform: translateY(-50%); }

/* ===== FOOTER ===== */
footer {
  padding: 2rem 3rem;
  text-align: center;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.2);
  border-top: 1px solid rgba(255,255,255,0.05);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  :root { --col-count: 2; }
  header { padding: 1.4rem 1.5rem; }
  .tagline { display: none; }
}

@media (max-width: 520px) {
  :root { --col-count: 1; }
}


/* ===== AGE GATE ===== */
.age-gate {
    position: fixed;
    inset: 0;
    background: var(--black);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease;
}

.age-gate-hide {
    opacity: 0;
    pointer-events: none;
}

.age-gate-box {
    text-align: center;
    max-width: 480px;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
}

.age-gate-logo {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 300;
    font-size: 2.2rem;
    letter-spacing: 0.22em;
    color: var(--white);
    text-transform: lowercase;
    margin-bottom: 0.5rem;
}

.age-gate-title {
    font-size: 0.7rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--dim);
    font-weight: 200;
}

.age-gate-sub {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.15rem;
    font-weight: 300;
    color: var(--off-white);
    line-height: 1.8;
    border-top: 1px solid rgba(255,255,255,0.08);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding: 1.4rem 0;
}

.age-gate-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    width: 100%;
    max-width: 320px;
}

.age-btn {
    width: 100%;
    padding: 0.9rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 300;
    cursor: pointer;
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
    background: transparent;
}

.age-btn-enter {
    color: var(--white);
    border-color: rgba(255,255,255,0.35);
}

.age-btn-enter:hover {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.6);
}

.age-btn-exit {
    color: var(--dim);
    border-color: rgba(255,255,255,0.08);
}

.age-btn-exit:hover {
    color: var(--off-white);
    border-color: rgba(255,255,255,0.2);
}

.age-gate-note {
    font-size: 0.58rem;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    line-height: 1.8;
    max-width: 340px;
}


/* ===== NAVIGATION ===== */
.nav {
  display: flex;
  gap: 2rem;
  align-items: baseline;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  font-weight: 200;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  text-decoration: none;
  transition: color 0.3s;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--off-white);
}

/* ===== PAGE CONTENT ===== */
.page-content {
  flex: 1;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem);
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
}

.page-header {
  margin-bottom: 4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding-bottom: 2rem;
}

.page-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(2rem, 5vw, 3.5rem);
  letter-spacing: 0.12em;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.page-subtitle {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 200;
}

/* ===== GEAR PAGE ===== */
.gear-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
}

.gear-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  margin-bottom: 1.2rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.gear-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.gear-list li {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--off-white);
  font-weight: 300;
  padding-left: 1rem;
  position: relative;
}

.gear-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 3px;
  background: var(--accent);
  border-radius: 50%;
}

/* ===== ABOUT PAGE ===== */
.about-layout {
  max-width: 640px;
}

.about-layout .page-title {
  margin-bottom: 2.5rem;
}

.about-body {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.15rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--off-white);
  margin-bottom: 1.6rem;
}

/* ===== CONTACT PAGE ===== */
.contact-wrap {
  max-width: 560px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.form-label {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dim);
  font-weight: 300;
}

.form-input,
.form-textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  color: var(--off-white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  padding: 0.7rem 0;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.form-input::placeholder,
.form-textarea::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-input:focus,
.form-textarea:focus {
  border-bottom-color: var(--accent);
}

.form-textarea {
  resize: vertical;
  min-height: 120px;
}

.form-submit {
  align-self: flex-start;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-weight: 300;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: all 0.3s;
  margin-top: 0.5rem;
}

.form-submit:hover {
  background: rgba(255,255,255,0.05);
  border-color: rgba(255,255,255,0.5);
}

.form-status {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-top: 0.5rem;
}

.form-status.success { color: #7eb89a; }
.form-status.error   { color: #c97a7a; }

@media (max-width: 700px) {
  .header-inner { flex-direction: column; gap: 1rem; align-items: flex-start; }
  .nav { gap: 1.5rem; }
  .page-content { padding: 2rem 1.5rem; }
}


/* ===== GEAR SECTIONS ===== */
.gear-section {
  margin-bottom: 4rem;
}

.gear-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: clamp(1.4rem, 3vw, 2rem);
  letter-spacing: 0.16em;
  color: var(--white);
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
