/* ===== TOKENS ===== */
:root {
  --bg: #1C1410;
  --panel: #2A1F17;
  --panel-light: #3A2C1F;
  --gold: #C9A227;
  --ember: #B24A2C;
  --cream: #EFE6D8;
  --muted: #8A7A66;
  --display: 'Fraunces', serif;
  --body: 'Public Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

h1, h2 { font-family: var(--display); font-weight: 600; line-height: 1.1; }

.eyebrow {
  font-family: var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.accent { color: var(--gold); font-style: italic; font-weight: 500; }

/* ===== AGE GATE ===== */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 999;
  background: rgba(10, 7, 5, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.age-gate[hidden] { display: none; }
.age-gate-panel {
  max-width: 460px;
  width: 100%;
  background: var(--panel);
  border: 1px solid var(--panel-light);
  border-radius: 4px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
}
.age-gate-panel {
  box-shadow: 0 0 0 1px rgba(201,162,39,0.25), 0 20px 60px rgba(0,0,0,0.6);
}
.gate-frame-corner {
  position: absolute;
  width: 22px; height: 22px;
  border: 1.5px solid var(--gold);
}
.gate-frame-corner.tl { top: 8px; left: 8px; border-width: 1.5px 0 0 1.5px; }
.gate-frame-corner.tr { top: 8px; right: 8px; border-width: 1.5px 1.5px 0 0; }
.gate-frame-corner.bl { bottom: 8px; left: 8px; border-width: 0 0 1.5px 1.5px; }
.gate-frame-corner.br { bottom: 8px; right: 8px; border-width: 0 1.5px 1.5px 0; }
.gate-seal {
  width: 48px; height: 48px;
  margin: 0 auto 1.2rem;
  border: 1.5px solid var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--mono);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gold);
  box-shadow: 0 0 14px rgba(201,162,39,0.35), inset 0 0 8px rgba(201,162,39,0.15);
}
.age-gate-copy { color: var(--muted); margin: 1rem 0 1.6rem; font-size: 0.95rem; }
.age-gate-actions { display: flex; flex-direction: column; gap: 0.75rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  border-radius: 3px;
  font-family: var(--mono);
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: transform 0.15s ease, opacity 0.15s ease;
  border: 1px solid transparent;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--gold); color: #1C1410; font-weight: 600; }
.btn-primary:hover { opacity: 0.9; }
.btn-ghost { border-color: var(--muted); color: var(--muted); }
.btn-ghost:hover { border-color: var(--cream); color: var(--cream); }

/* ===== GLASS CTA (hero signature) ===== */
.btn-leaf {
  position: relative;
  padding: 1.05rem 2.2rem;
  border-radius: 6px;
  color: var(--cream);
  font-weight: 600;
  background: linear-gradient(135deg, rgba(201,162,39,0.22), rgba(90,97,42,0.18));
  border: 1px solid rgba(201,162,39,0.4);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}
.btn-leaf::before {
  /* glass shine sweep */
  content: '';
  position: absolute;
  top: 0; left: -60%;
  width: 40%;
  height: 100%;
  background: linear-gradient(115deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.5s ease;
}
.btn-leaf:hover {
  transform: translateY(-2px);
  border-color: rgba(201,162,39,0.7);
  box-shadow: 0 12px 28px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.2);
}
.btn-leaf:hover::before { left: 120%; }

/* ===== NAV ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem 1.6rem;
  background: none;
  border: none;
  overflow: visible;
  isolation: isolate;
}
.site-nav::after {
  /* the blur/tint itself, masked so it dissolves at the bottom instead of stopping in a hard line */
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background: rgba(28, 20, 16, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
  mask-image: linear-gradient(to bottom, black 0%, black 55%, transparent 100%);
}
.site-nav::before {
  /* smoke layer: soft drifting blobs, tied to scroll via --smoke-x / --smoke-o custom properties */
  content: '';
  position: absolute;
  inset: -40% -10% -60%;
  z-index: -1;
  background:
    radial-gradient(ellipse 40% 70% at 20% 50%, rgba(201,162,39,0.16), transparent 65%),
    radial-gradient(ellipse 35% 60% at 60% 40%, rgba(90,97,42,0.14), transparent 65%),
    radial-gradient(ellipse 45% 80% at 85% 60%, rgba(28,20,16,0.5), transparent 70%);
  filter: blur(18px);
  opacity: var(--smoke-o, 0.7);
  transform: translateX(var(--smoke-x, 0px)) scaleX(1.1);
  transition: opacity 0.4s ease;
  animation: smoke-drift 22s ease-in-out infinite;
  -webkit-mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
  mask-image: linear-gradient(to bottom, black 0%, black 40%, transparent 85%);
}
@keyframes smoke-drift {
  0%   { background-position: 0% 0%, 0% 0%, 0% 0%; }
  50%  { background-position: 6% -4%, -5% 5%, -4% 3%; }
  100% { background-position: 0% 0%, 0% 0%, 0% 0%; }
}
@media (prefers-reduced-motion: reduce) {
  .site-nav::before { animation: none; }
}
.nav-logo { height: 52px; }
.nav-links { display: flex; align-items: center; gap: 1.8rem; }
.nav-links a {
  font-family: var(--mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--cream);
  opacity: 0.85;
}
.nav-links a:hover { opacity: 1; color: var(--gold); }
.nav-cta {
  border: 1px solid var(--gold);
  padding: 0.5rem 1rem;
  border-radius: 3px;
  color: var(--gold) !important;
}
.nav-cta-alt { border-color: var(--muted); color: var(--muted) !important; }
.nav-cta:hover { background: var(--gold); color: var(--bg) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--cream); }

/* ===== HERO ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(28,20,16,0.35) 0%, rgba(28,20,16,0.55) 55%, rgba(28,20,16,0.97) 100%);
}
.hero-content {
  position: relative;
  padding: 3rem 2rem 5rem;
  max-width: 720px;
}
.hero-title { font-size: clamp(2.6rem, 6vw, 4.6rem); margin-bottom: 1.2rem; }
.hero-sub { color: var(--cream); opacity: 0.85; max-width: 460px; margin-bottom: 2rem; font-size: 1.05rem; }

/* ===== GRAIN DIVIDER (signature, full-bleed) ===== */
.paper-band {
  position: relative;
  width: 100%;
  height: 4px;
  overflow: hidden;
  background-image: url('assets/images/divider-grain-tile.webp');
  background-repeat: repeat-x;
  background-size: 1400px 100%;
  background-position: left center;
  opacity: 0.85;
}
.paper-band::before {
  /* fade the hairline into the background at both page edges, tinted olive */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--bg) 0%, transparent 8%, transparent 92%, var(--bg) 100%);
}
.paper-band::after {
  /* olive-green cast + a slow one-time gradient sweep on load */
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(90, 97, 42, 0.55) 0%,
    rgba(139, 128, 58, 0.35) 25%,
    rgba(90, 97, 42, 0.55) 50%,
    rgba(139, 128, 58, 0.35) 75%,
    rgba(90, 97, 42, 0.55) 100%);
  background-size: 220% 100%;
  mix-blend-mode: color;
  animation: band-shift 6s ease-out 1;
}
@keyframes band-shift {
  0%   { background-position: 0% 0%; opacity: 0; }
  15%  { opacity: 1; }
  100% { background-position: 100% 0%; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .paper-band::after { animation: none; }
}
.paper-band-mark {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%) rotate(45deg);
  width: 5px; height: 5px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(201,162,39,0.6);
  z-index: 1;
}

/* ===== SECTIONS ===== */
.section { padding: 5.5rem 2rem; }
.section-dark { background: var(--panel); }
.section-inner { max-width: 780px; margin: 0 auto; }
.section-lead { font-size: 1.15rem; color: var(--cream); opacity: 0.88; max-width: 620px; }
.section-note { color: var(--muted); font-size: 0.9rem; margin-top: 1.2rem; }

h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); margin-bottom: 1rem; }

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.two-col.reverse .col-image { order: 2; }
.two-col.reverse .col-text { order: 1; }
.col-text p { margin-bottom: 1rem; color: var(--cream); opacity: 0.85; }
.col-image img { border-radius: 4px; }

.gallery {
  max-width: 1100px;
  margin: 3rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.gallery img { border-radius: 4px; aspect-ratio: 4/5; object-fit: cover; }

.info-card {
  background: var(--bg);
  border: 1px solid var(--panel-light);
  border-left: 3px solid var(--gold);
  padding: 1.2rem 1.5rem;
  border-radius: 3px;
  margin: 1.2rem 0;
}
.info-label { font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.06em; font-size: 0.85rem; color: var(--gold); display: flex; align-items: center; gap: 0.4rem; }
.info-detail { font-size: 1.1rem; margin-top: 0.3rem; }

.info-card-link { display: block; transition: border-color 0.15s ease, transform 0.15s ease; cursor: pointer; }
.info-card-link:hover { border-color: var(--gold); transform: translateX(2px); }
.info-arrow { transition: transform 0.15s ease; }
.info-card-link:hover .info-arrow { transform: translateX(3px); }

.contact-inner { text-align: center; margin: 0 auto; max-width: 480px; }
.contact-inner .form-status { margin-top: 0.5rem; }

.contact-form { text-align: left; margin-top: 2rem; display: flex; flex-direction: column; gap: 1.1rem; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-row { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row label {
  font-family: var(--mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold);
}
.form-row input,
.form-row textarea {
  background: var(--bg);
  border: 1px solid var(--panel-light);
  border-radius: 3px;
  padding: 0.75rem 0.9rem;
  color: var(--cream);
  font-family: var(--body);
  font-size: 0.95rem;
  resize: vertical;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--gold);
}
.contact-form .btn { align-self: flex-start; border: none; cursor: pointer; }
.form-status { font-family: var(--mono); font-size: 0.85rem; min-height: 1.2em; }
.form-status.ok { color: var(--gold); }
.form-status.err { color: var(--ember); }
.inline-link { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* ===== FOOTER ===== */
.site-footer {
  text-align: center;
  padding: 3rem 2rem;
  color: var(--muted);
  font-size: 0.85rem;
}
.footer-logo { height: 46px; margin: 0 auto 1rem; opacity: 0.75; }

/* ===== RESPONSIVE ===== */
@media (max-width: 820px) {
  .two-col, .two-col.reverse { grid-template-columns: 1fr; }
  .two-col.reverse .col-image, .two-col.reverse .col-text { order: initial; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed;
    top: 64px; right: 0;
    flex-direction: column;
    background: var(--panel);
    padding: 1.5rem;
    gap: 1rem;
    transform: translateX(100%);
    transition: transform 0.25s ease;
    border-left: 1px solid var(--panel-light);
    height: calc(100vh - 64px);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

:focus-visible { outline: 2px solid var(--gold); outline-offset: 2px; }
