/* ============================================
   The Velvet Leaf Lounge — Design Tokens
   ============================================ */
:root {
  /* Color: pulled from the brand logo (deep navy + antique gold foil) */
  --ink: #080d16;
  --navy: #0e1a2e;
  --navy-2: #16233c;
  --navy-3: #1f2f4d;
  --gold: #c9a24a;
  --gold-bright: #e8cd82;
  --ivory: #f3ecdd;
  --ivory-dim: #a9a191;
  --ember: #7a2331;
  --line: rgba(201, 162, 74, 0.22);

  /* Type */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-accent: 'EB Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing scale */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 140px;

  /* Motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --dur-fast: 200ms;
  --dur-med: 300ms;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Reset & Base
   ============================================ */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--navy);
  color: var(--ivory);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; margin: 0; }
p { margin: 0 0 var(--space-2); }
ul, ol { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

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

.eyebrow {
  font-family: var(--font-accent);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--gold);
  margin: 0 0 var(--space-2);
}

.section-head {
  max-width: 720px;
  margin: 0 auto var(--space-6);
  text-align: center;
  padding: 0 var(--space-3);
}
.section-head h2 { font-size: clamp(32px, 4.5vw, 48px); color: var(--ivory); }
.section-head--light h2 { color: var(--navy); }
.section-head--light .eyebrow { color: var(--ember); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  border-radius: 2px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: transform var(--dur-fast) var(--ease-out), background var(--dur-med) var(--ease-out), color var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  cursor: pointer;
  min-height: 48px;
}
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: var(--gold-bright); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--ivory); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold-bright); transform: translateY(-2px); }
.btn--full { width: 100%; }

/* ============================================
   Age Gate
   ============================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: radial-gradient(120% 120% at 50% 20%, #12203a 0%, var(--ink) 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.age-gate__grain {
  position: absolute;
  inset: 0;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.age-gate__content {
  position: relative;
  max-width: 480px;
  text-align: center;
}
.age-gate__mark { width: 100px; margin: 0 auto var(--space-3); opacity: 0.95; }
.age-gate__eyebrow { color: var(--gold); }
.age-gate__title { font-size: clamp(28px, 5vw, 40px); color: var(--ivory); margin-bottom: var(--space-2); }
.age-gate__body { color: var(--ivory-dim); margin-bottom: var(--space-4); }
.age-gate__actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; margin-bottom: var(--space-3); }
.age-gate__disclaimer { font-size: 12px; color: var(--ivory-dim); opacity: 0.7; }

.age-gate__block {
  position: fixed; inset: 0; z-index: 1001;
  background: var(--ink); color: var(--ivory-dim);
  display: flex; align-items: center; justify-content: center;
  text-align: center; padding: var(--space-3); font-family: var(--font-display); font-size: 20px;
}
.age-gate__block[hidden] { display: none; }

.js .site-root { visibility: hidden; }
.js .site-root.is-unlocked { visibility: visible; }

/* ============================================
   Nav
   ============================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  padding: var(--space-3) 0;
  transition: background var(--dur-med) var(--ease-out), padding var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(8, 13, 22, 0.92);
  backdrop-filter: blur(10px);
  padding: var(--space-2) 0;
  border-bottom-color: var(--line);
}
.nav__inner {
  max-width: 1280px; margin: 0 auto; padding: 0 var(--space-3);
  display: flex; align-items: center; justify-content: space-between;
}
.nav__brand { display: flex; align-items: center; gap: 12px; }
.nav__mark { width: 36px; height: 36px; object-fit: contain; }
.nav__wordmark {
  font-family: var(--font-display); font-size: 16px; letter-spacing: 0.04em; color: var(--ivory);
  display: flex; flex-direction: column; line-height: 1.1;
}
.nav__wordmark-sub { font-family: var(--font-accent); font-style: italic; font-size: 12px; color: var(--gold); }
.nav__links { display: flex; align-items: center; gap: var(--space-4); font-size: 14px; }
.nav__links a:not(.nav__cta) { color: var(--ivory-dim); transition: color var(--dur-fast); position: relative; }
.nav__links a:not(.nav__cta):hover { color: var(--ivory); }
.nav__links a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform var(--dur-med) var(--ease-out);
}
.nav__links a:not(.nav__cta):hover::after { transform: scaleX(1); }
.nav__cta {
  background: var(--gold); color: var(--ink); padding: 10px 20px; border-radius: 2px;
  font-weight: 600; font-size: 13px; text-transform: uppercase; letter-spacing: 0.03em;
  transition: background var(--dur-fast), transform var(--dur-fast);
}
.nav__cta:hover { background: var(--gold-bright); transform: translateY(-1px); }
.nav__toggle { display: none; background: none; border: none; width: 44px; height: 44px; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.nav__toggle span { width: 22px; height: 2px; background: var(--ivory); transition: transform var(--dur-fast), opacity var(--dur-fast); }
.nav__mobile { display: none; }
.nav__scrim {
  display: none;
  position: fixed; inset: 0; z-index: 150;
  background: rgba(4, 7, 12, 0.7);
}
.nav__scrim.is-open { display: block; }

/* ============================================
   Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100dvh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
  padding: calc(var(--space-8) + 40px) var(--space-3) var(--space-7);
  background: var(--ink);
}
.hero__photo { position: absolute; inset: 0; z-index: 0; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; opacity: 0.32; filter: grayscale(0.15) contrast(1.05); }
.hero__photo::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(80% 60% at 50% 10%, rgba(20,37,68,0.55) 0%, transparent 60%),
    linear-gradient(180deg, rgba(8,13,22,0.55) 0%, rgba(8,13,22,0.88) 65%, var(--ink) 100%);
}
.hero__smoke { position: absolute; inset: 0; pointer-events: none; z-index: 1; }
.hero__smoke-svg { width: 100%; height: 100%; opacity: 0.16; }
.smoke-path { fill: none; stroke: var(--gold); stroke-width: 2; stroke-linecap: round; }
.hero__inner { position: relative; max-width: 760px; text-align: center; z-index: 2; }
.hero__title { color: var(--ivory); margin-bottom: var(--space-3); }
.hero__title-line { display: block; font-size: clamp(42px, 7vw, 84px); }
.hero__title-line--italic { font-family: var(--font-accent); font-style: italic; font-weight: 500; color: var(--gold); }
.hero__sub { max-width: 560px; margin: 0 auto var(--space-4); color: var(--ivory-dim); font-size: 18px; }
.hero__actions { display: flex; gap: var(--space-2); justify-content: center; flex-wrap: wrap; }
.hero__scroll {
  position: absolute; bottom: var(--space-4); left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 1px solid var(--line); border-radius: 20px;
}
.hero__scroll span {
  position: absolute; top: 8px; left: 50%; width: 4px; height: 4px; margin-left: -2px;
  background: var(--gold); border-radius: 50%; animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0% { top: 8px; opacity: 1; }
  80% { opacity: 0; }
  100% { top: 26px; opacity: 0; }
}

/* ============================================
   Story
   ============================================ */
.story {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-7);
  align-items: center;
  max-width: 1280px; margin: 0 auto; padding: var(--space-8) var(--space-3);
}
.story__media { position: relative; }
.story__media img { border-radius: 2px; width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.story__media-frame {
  position: absolute; top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 1px solid var(--gold); border-radius: 2px; z-index: -1;
}
.story__text h2 { color: var(--ivory); margin-bottom: var(--space-2); }
.story__lede { font-family: var(--font-accent); font-style: italic; font-size: 22px; color: var(--gold-bright); margin-bottom: var(--space-3); }
.story__text p { color: var(--ivory-dim); }
.story__marks { display: flex; flex-direction: column; gap: 10px; margin-top: var(--space-3); }
.story__marks li { color: var(--ivory); font-size: 14px; padding-left: 24px; position: relative; }
.story__marks li::before { content: ""; position: absolute; left: 0; top: 8px; width: 12px; height: 1px; background: var(--gold); }

/* ============================================
   Services
   ============================================ */
.services { padding: var(--space-8) var(--space-3); max-width: 1280px; margin: 0 auto; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-3); }
.service-card {
  background: var(--navy-2); border: 1px solid var(--line); border-radius: 2px;
  padding: var(--space-5) var(--space-3) var(--space-3);
  transition: transform var(--dur-med) var(--ease-out), border-color var(--dur-med) var(--ease-out);
}
.service-card:hover { transform: translateY(-6px); border-color: var(--gold); }
.service-card--feature { background: var(--navy-3); }
.service-card__number { font-family: var(--font-display); font-size: 14px; color: var(--gold); margin-bottom: var(--space-3); letter-spacing: 0.1em; }
.service-card h3 { color: var(--ivory); font-size: 24px; margin-bottom: var(--space-2); }
.service-card p { color: var(--ivory-dim); font-size: 15px; margin: 0; }

/* ============================================
   Gallery
   ============================================ */
.gallery { background: var(--ivory); color: var(--navy); padding: var(--space-8) var(--space-3); }
.gallery__grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: var(--space-2);
  grid-auto-flow: dense;
}
.gallery__item { overflow: hidden; border-radius: 2px; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 600ms var(--ease-out); }
.gallery__item:hover img { transform: scale(1.06); }
.gallery__item--tall { grid-row: span 2; }
.gallery__item--wide { grid-column: span 2; }

/* ============================================
   Service Area / Route
   ============================================ */
.area { padding: var(--space-8) var(--space-3); max-width: 1280px; margin: 0 auto; }
.area__intro { color: var(--ivory-dim); margin-top: var(--space-2); }
.route { position: relative; }
.route__svg { width: 100%; height: auto; margin-bottom: var(--space-4); }
.route__dashed {
  fill: none; stroke: var(--gold); stroke-width: 2; stroke-dasharray: 8 10; stroke-linecap: round;
  stroke-dashoffset: 1000; stroke-dasharray: 1000;
}
.route__pin { fill: var(--gold-bright); stroke: var(--ink); stroke-width: 2; }
.route__stops { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4); }
.route__stop { text-align: center; padding: 0 var(--space-2); }
.route__stop-index {
  display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px;
  border: 1px solid var(--gold); border-radius: 50%; font-family: var(--font-display); color: var(--gold);
  margin-bottom: var(--space-2);
}
.route__stop h3 { color: var(--ivory); font-size: 22px; margin-bottom: 8px; }
.route__stop p { color: var(--ivory-dim); font-size: 14px; margin: 0; }

/* ============================================
   Process
   ============================================ */
.process { background: var(--ivory); color: var(--navy); padding: var(--space-8) var(--space-3); }
.process__list {
  max-width: 1000px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
  counter-reset: step;
}
.process__step { text-align: center; position: relative; padding: 0 var(--space-2); }
.process__num { display: block; font-family: var(--font-display); font-size: 40px; color: var(--ember); margin-bottom: var(--space-2); }
.process__step h3 { font-size: 22px; margin-bottom: 8px; }
.process__step p { color: #5a5142; font-size: 15px; margin: 0; }

/* ============================================
   Inquiry Form
   ============================================ */
.inquire {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: var(--space-7);
  max-width: 1280px; margin: 0 auto; padding: var(--space-8) var(--space-3);
}
.inquire__intro h2 { color: var(--ivory); margin-bottom: var(--space-2); }
.inquire__intro p { color: var(--ivory-dim); }
.inquire__direct a { color: var(--gold); border-bottom: 1px solid var(--gold); }
.inquire__form {
  background: var(--navy-2); border: 1px solid var(--line); border-radius: 2px; padding: var(--space-4);
  display: flex; flex-direction: column; gap: var(--space-2);
}
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 13px; color: var(--ivory-dim); letter-spacing: 0.02em; }
.field input, .field select, .field textarea {
  background: var(--navy); border: 1px solid var(--line); border-radius: 2px; color: var(--ivory);
  padding: 12px 14px; font-size: 15px; min-height: 44px; transition: border-color var(--dur-fast);
}
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--gold); outline: none; }
.inquire__note { font-size: 13px; color: var(--gold-bright); min-height: 18px; margin: 0; }

/* ============================================
   Footer
   ============================================ */
.footer { background: var(--ink); padding: var(--space-7) var(--space-3) var(--space-4); }
.footer__top { text-align: center; margin-bottom: var(--space-6); }
.footer__mark { width: 64px; margin: 0 auto var(--space-2); opacity: 0.9; }
.footer__tagline { font-family: var(--font-accent); font-style: italic; color: var(--gold); font-size: 18px; }
.footer__links {
  max-width: 900px; margin: 0 auto var(--space-6); display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-4);
  text-align: center;
}
.footer__links h4 { color: var(--ivory); font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: var(--space-2); font-family: var(--font-body); font-weight: 600; }
.footer__links a, .footer__links p { display: block; color: var(--ivory-dim); font-size: 14px; margin-bottom: 8px; }
.footer__links a:hover { color: var(--gold); }
.footer__bottom { text-align: center; border-top: 1px solid var(--line); padding-top: var(--space-3); }
.footer__bottom p { color: var(--ivory-dim); font-size: 12px; margin-bottom: 6px; }
.footer__disclaimer { max-width: 560px; margin: 0 auto; opacity: 0.7; }

/* ============================================
   Reveal states (GSAP targets)
   ============================================ */
.reveal, .reveal-left, .reveal-right, .reveal-up { opacity: 0; }
.reveal { transform: translateY(16px); }
.reveal-left { transform: translateX(-24px); }
.reveal-right { transform: translateX(24px); }
.reveal-up { transform: translateY(28px); }
.no-js .reveal, .no-js .reveal-left, .no-js .reveal-right, .no-js .reveal-up { opacity: 1; transform: none; }

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 1024px) {
  .story { grid-template-columns: 1fr; gap: var(--space-5); }
  .story__media { max-width: 420px; margin: 0 auto; }
  .services__grid { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .gallery__item--wide { grid-column: span 2; }
  .route__stops { grid-template-columns: 1fr; gap: var(--space-3); }
  .process__list { grid-template-columns: 1fr; gap: var(--space-5); }
  .inquire { grid-template-columns: 1fr; gap: var(--space-4); }
  .footer__links { grid-template-columns: 1fr; gap: var(--space-3); }
}

@media (max-width: 860px) {
  .nav__links { display: none; }
  .nav__toggle { display: flex; }
  .nav__mobile.is-open {
    display: flex; flex-direction: column; gap: var(--space-2);
    padding: var(--space-3); background: var(--ink); border-top: 1px solid var(--line);
    position: relative; z-index: 1;
  }
  .nav__mobile a { padding: 10px 0; font-size: 15px; color: var(--ivory-dim); }
  .nav__mobile .nav__cta { text-align: center; color: var(--ink); }
}

@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }
  .gallery__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
  .gallery__item--tall { grid-row: span 2; }
  .hero__title-line { font-size: clamp(36px, 11vw, 56px); }
  .section-head h2 { font-size: clamp(28px, 8vw, 36px); }
}
