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

:root {
  --cream: #F5F0E8;
  --cream-dark: #EDE6D6;
  --espresso: #1A1108;
  --mahogany: #5C2E0E;
  --gold: #B8924A;
  --gold-light: #D4AD72;
  --sand: #C9B89A;
  --warm-gray: #9A8F82;
  --deep-red: #7A1E1E;
  --font-display: 'Cinzel', serif;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Jost', sans-serif;
  --font-script: 'Pinyon Script', cursive;
}

html { scroll-behavior: smooth; }

body {
  background: var(--espresso);
  color: var(--espresso);
  font-family: var(--font-body);
  font-weight: 300;
  overflow-x: hidden;
}

/* ── AGE GATE ── */
#age-gate {
  position: fixed;
  inset: 0;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.8s ease, visibility 0.8s ease;
}
#age-gate.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.age-gate-inner {
  text-align: center;
  padding: 3rem 2rem;
  max-width: 520px;
  width: 100%;
}

.age-gate-ornament {
  width: 48px;
  height: 48px;
  margin: 0 auto 2rem;
  opacity: 0.7;
}

.age-gate-eyebrow {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

/* Updated with Pinyon Script */
.age-gate-title {
  font-family: var(--font-script);
  font-size: clamp(3.5rem, 8vw, 5rem);
  font-weight: 400;
  color: var(--gold);
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.age-gate-subtitle {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 200;
  letter-spacing: 0.12em;
  color: var(--sand);
  margin-bottom: 3rem;
  line-height: 1.8;
}

.age-gate-question {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  color: var(--warm-gray);
  margin-bottom: 1.5rem;
  text-transform: uppercase;
}

.age-gate-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: nowrap;
}

.btn-age {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  white-space: nowrap;
  flex: 1;
  border: none;
  cursor: pointer;
  padding: 1rem 2.5rem;
  transition: all 0.3s ease;
}

.btn-age-yes {
  background: var(--gold);
  color: var(--espresso);
}
.btn-age-yes:hover { background: var(--gold-light); }

.btn-age-no {
  background: transparent;
  color: var(--warm-gray);
  border: 1px solid rgba(154,143,130,0.3);
}
.btn-age-no:hover { color: var(--cream); border-color: rgba(197,184,154,0.5); }

.age-gate-legal {
  margin-top: 2.5rem;
  font-size: 12px;
  color: rgba(154,143,130,0.6);
  letter-spacing: 0.08em;
  line-height: 1.8;
}

#age-denied {
  display: none;
  color: var(--deep-red);
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1rem;
  margin-top: 1.5rem;
}

/* ── NAV (Updated to CSS Grid for Centering) ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000; 
  
  /* 1. Change from flexbox to a perfectly balanced 3-column grid */
  display: grid;
  grid-template-columns: 1fr auto 1fr; 
  align-items: center;
  
  padding: 0 3rem;
  height: 120px; 
  
  background: linear-gradient(to bottom, 
    rgba(0, 0, 0, 0.9) 0%, 
    rgba(0, 0, 0, 0.4) 50%, 
    transparent 100%);
  
  transition: transform 0.3s ease;
}

/* You can keep or remove the .scrolled class. 
   If you want a blur effect only when moving, keep this: */
nav.scrolled {
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  justify-content: flex-start;
}

.nav-links a {
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,240,232,0.8);
  text-decoration: none;
  transition: color 0.3s;
}
.nav-links a:hover { color: var(--gold); }

/* Forces the middle logo to sit at the exact mathematical center of the screen */
.nav-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
}

.nav-logo img {
  filter: brightness(0) invert(1);
}

/* Forces the right-side reserve button to stick to the far right of its grid track */
.nav-reserve {
  justify-self: flex-end;
  font-family: var(--font-display);
  font-size: 14px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  text-decoration: none;
  border: 1px solid rgba(184, 146, 74, 0.4);
  padding: 0.6rem 1.4rem;
  transition: all 0.3s;
}

.nav-reserve:hover {
  background: var(--gold); color: var(--espresso); 
}

/* ── HERO ── */
#hero {
  height: 100vh;
  background: var(--espresso); /* Keep this solid */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8vh;
  position: relative;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  /* This creates the localized glows without making the whole page light */
  background: 
    radial-gradient(ellipse at 30% 60%, rgba(92,46,14,0.5) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 40%, rgba(122,30,30,0.3) 0%, transparent 50%),
    var(--espresso); 
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    repeating-linear-gradient(45deg, var(--gold) 0, var(--gold) 1px, transparent 0, transparent 50%);
  background-size: 40px 40px;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 2rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 6.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.05;
  margin-bottom: 1.2rem;
  letter-spacing: 0.02em;
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: 15px;
  letter-spacing: 0.35em;
  color: var(--sand);
  text-transform: uppercase;
  margin-bottom: 3rem;
}

.hero-divider {
  position: absolute;
  bottom: -1px; /* Fastens tightly to prevent any underlying micro-gaps */
  left: 0;
  right: 0;
  height: 150px; /* Controls how long and gradual the fade is */
  
  /* CHANGES THE DESTINATION COLOR TO PURE BLACK */
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 4;
}

.btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  background: var(--gold);
  color: var(--espresso);
  padding: 1.1rem 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}
.btn-primary:hover { background: var(--gold-light); }

.hero-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 150px; /* Taller fade for a smoother look */
  /* This fades from transparent espresso into your body's cream color */
  background: linear-gradient(to bottom, transparent, var(--black));
  z-index: 1;
}

.hero-image-focus {
  position: absolute;
  inset: 0; /* Forces the image wrapper to touch all 4 corners of the hero screen */
  width: 100vw; /* Forces full viewport width */
  height: 100vh; /* Forces full viewport height */
  z-index: 1;
}

.hero-image-focus img {
  width: 100% !important;
  height: 100% !important;
  /* 'cover' cuts off the letterbox bars and stretches the image across the entire space */
  object-fit: cover !important; 
  /* 'center' ensures the main focal point stays balanced when cropping happens */
  object-position: center; 
}

.hero-overlay {
  position: absolute;
  inset: 0;
  /* Adds a subtle dark tint so the white text is readable */
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 70%);
  z-index: 2;
}

/* This ensures your text sits on top of the image */
.hero-content {
  position: relative;
  z-index: 3;
}

/* ── SECTIONS ── */
section { position: relative; }

/* ── INTRO ── */
/* --- Make Intro Section Black --- */
#intro {
  background: #000000 !important; /* Force background to black */
  padding: 8rem 0; /* Ensures consistent padding around content */
  position: relative;
}

.intro-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  align-items: center;
}

.intro-image-wrap {
  position: relative;
  display: flex;           /* Enables flexbox for centering */
  align-items: center;     /* Centers vertically */
  justify-content: center; /* Centers horizontally */
  padding: 3rem;           /* Added: Creates breathing room inside the gold box */
}

.intro-featured-image {
  max-width: 100%;          /* Ensures it stays within the box width */
  height: auto;            /* Maintains original aspect ratio */
  max-height: 400px;       /* Keeps it proportional to the text column */
  object-fit: contain;     /* Ensures no part of the crest is cropped */
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0,0,0,0.05)); /* Soft shadow for depth */
}

.intro-image-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(135deg, #3D2008 0%, #7A3A10 40%, #5C2E0E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.intro-image-placeholder svg {
  opacity: 0.2;
  width: 80px;
}

.intro-accent-line {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border: 1px solid rgba(184, 146, 74, 0.25);
  pointer-events: none;
  z-index: 1;
}

.intro-eyebrow {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

.intro-heading {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 300;
  line-height: 1.25;
  color: var(--espresso);
  margin-bottom: 2rem;
}

.intro-body {
  font-size: 15px;
  line-height: 1.9;
  color: #4A3728;
  margin-bottom: 1.5rem;
}

/* ── FULL BLEED ── */
#manifesto {
  background: var(--mahogany);
  padding: 10rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#manifesto::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    0deg, rgba(245,240,232,0.03) 0, rgba(245,240,232,0.03) 1px, transparent 1px, transparent 60px
  );
}

.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  color: var(--cream);
  line-height: 1.3;
  max-width: 820px;
  margin: 0 auto 2rem;
  position: relative;
  z-index: 1;
}

.manifesto-attr {
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.35em;
  color: var(--gold);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}

/* ── KREMAS FEATURE ── */
#kremas {
  background: var(--cream-dark);
  padding: 8rem 0 16rem;
}

@media (min-width: 769px) {
  #kremas {
    padding: 14rem 0 16rem;
  }
}

/* ── KREMAS FEATURE IMAGE ── */
.kremas-feature-image {
  padding: 9rem 0 0rem;
}

.kremas-feature-image img {
  width: 100%;
  height: 60vh;
  object-fit: cover;
  object-position: center;
  display: block;
}

.kremas-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4rem;
}

.kremas-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 5rem;
  border-bottom: 1px solid rgba(26,17,8,0.12);
  padding-bottom: 1.5rem;
}

.kremas-title {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--warm-gray);
}

.kremas-coming {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--gold);
}

.kremas-hero-text {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 300;
  line-height: 1.15;
  color: var(--espresso);
  max-width: 700px;
  margin-bottom: 5rem;
}

.kremas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
}

.kremas-card {
  border-top: 1px solid rgba(26,17,8,0.15);
  padding-top: 2rem;
}

.kremas-card-num {
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 300;
  color: rgba(26,17,8,0.08);
  line-height: 1;
  margin-bottom: 1rem;
}

.kremas-card-title {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--espresso);
  margin-bottom: 1rem;
}

.kremas-card-body {
  font-size: 15px;
  line-height: 1.85;
  color: #5A4232;
}

/* ── SPECS / DETAILS ── */
#details {
  background: #2A1A0A;
  padding: 10rem 4rem;
}

.details-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8rem;
  align-items: center;
}

.details-visual {
  position: relative;
}

.bottle-silhouette {
  width: 100%;
  max-width: 320px;
  margin: 0 auto;
  display: block;
}

.details-content .section-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 3rem;
}

.details-table {
  width: 100%;
  border-collapse: collapse;
}

.details-table tr {
  border-bottom: 1px solid rgba(245,240,232,0.08);
}

.details-table td {
  padding: 1.2rem 0;
  font-size: 13px;
  letter-spacing: 0.06em;
}

.details-table td:first-child {
  color: var(--warm-gray);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

.details-table td:last-child {
  color: var(--cream);
  text-align: right;
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-style: italic;
}

/* ── RESERVE ── */
#reserve {
  background: var(--cream-dark);
  padding: 10rem 4rem;
  text-align: center;
}

.reserve-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 2rem;
}

.reserve-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  font-style: italic;
  color: var(--espresso);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.reserve-sub {
  font-size: 16px;
  font-weight: 200;
  letter-spacing: 0.1em;
  color: var(--warm-gray);
  margin-bottom: 3rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.reserve-form {
  display: flex;
  gap: 0;
  max-width: 480px;
  margin: 0 auto;
  border: 1px solid rgba(26,17,8,0.2);
}

.reserve-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.06em;
  border: none;
  outline: none;
  background: transparent;
  color: var(--espresso);
}

.reserve-form input::placeholder { color: var(--warm-gray); }

.reserve-form button {
  padding: 1rem 2rem;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  font-family: var(--font-display);
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.3s;
  white-space: nowrap;
}
.reserve-form button:hover { background: var(--mahogany); }

/* ── FOOTER ── */
footer {
  background: var(--espresso);
  padding: 8rem 4rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 5rem;
}

/* ── TOP ROW: meta + links on left, logo center, newsletter right ── */
.footer-top {
  display: grid;
  grid-template-columns: auto auto 1fr 350px;
  gap: 5rem;
  align-items: center;
}

.footer-meta {
  font-size: 12px;
  letter-spacing: 0.08em;
  line-height: 2;
  color: var(--warm-gray);
  text-align: left;
}

.footer-meta p {
  text-transform: uppercase;
}

.footer-links {
  list-style: none;
  text-align: left;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--warm-gray);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}
.footer-links a:hover { color: var(--gold); }

/* ── DESKTOP LOGO (inside grid) ── */
.desktop-footer-logo {
  width: 100%;
  align-self: center;
  text-align: center;
  justify-self: center;
}

/* ── BOTTOM ROW: logo centered (mobile) ── */
.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1rem;
}

/* ── hide bottom logo on desktop, hide desktop logo on mobile ── */
@media (min-width: 769px) {
  .footer-bottom {
    display: none;
  }
}

/* ── NEWSLETTER ── */
.footer-newsletter {
  justify-self: end;
  max-width: 500px;
  width: 100%;
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--warm-gray);
  margin-bottom: 1.2rem;
  text-align: left;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.newsletter-input {
  flex: 1;
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(154, 143, 130, 0.4);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--cream);
  text-transform: uppercase;
  padding-bottom: 0.5rem;
}

.newsletter-input::placeholder {
  color: rgba(154, 143, 130, 0.5);
}

.newsletter-submit {
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  cursor: pointer;
  padding: 0.9rem 1.5rem;
  width: 100%;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.newsletter-submit:hover {
  background: var(--gold);
  color: var(--espresso);
  border-color: var(--gold);
}

.logo {
  font-family: 'Pinyon Script', cursive !important;
  color: #c5a059 !important;
  font-size: 48px;
  text-align: center;
  line-height: 1.2;
  display: block;
}

.logo .tm-logo {
  font-family: 'Jost', sans-serif !important;
  font-weight: 400;
  font-size: 14px;
  color: #c5a059;
  vertical-align: super;
  margin-left: 2px;
}

/* ── ORNAMENT SVG ── */
.ornament {
  display: block;
  margin: 0 auto 1.5rem;
}

/* ── SCROLL REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .intro-inner, .details-inner { grid-template-columns: 1fr; gap: 3rem; }
  .kremas-grid { grid-template-columns: 1fr; }
  nav { padding: 0 1.5rem; }
  #manifesto, #details, #reserve { padding: 6rem 2rem; }
  .intro-inner, .kremas-inner { padding: 0 2rem; }
}

/* --- LOGO FIX --- */
.nav-logo img {
  height: 150px; /* Adjust this to fit your nav bar */
  width: auto;
  display: block;
  /* This filter turns the black logo into a gold/cream color */
  filter: brightness(0) invert(1) sepia(0.5) saturate(2);
}

/* ── INTRO IMAGE STYLING ── */
/* ==========================================================================
   FIXES: GRADIENT FADE AND ISOLATED BLACK INTRO SECTION
   ========================================================================== */

/* 1. Update the divider gradient to fade from transparent to solid black */
.hero-divider {
  position: absolute;
  bottom: -2px; /* Pull down slightly to eliminate any hairline cream cracks */
  left: 0;
  right: 0;
  height: 150px; 
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000000 100%) !important;
  z-index: 4;
}

#hero {
  height: 100vh;
  width: 100vw; /* Ensures the container fills the screen edge-to-edge */
  max-width: 100%;
  position: relative;
  overflow: hidden;
  background: #000000; /* Changes any remaining structural backdrop to absolute black */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8vh;
}

/* 2. REMOVED #intro from the transparent rule below so it can accept the color black */
#reserve {
background-color: var(--cream);
}

/* 3. Explicitly isolate the black background layout onto the intro section only */
#intro {
  background: #000000 !important;
  position: relative;
  z-index: 3;
  padding: 8rem 0;
}

/* 4. Force the typography containers inside the intro wrapper to use high-contrast light colors */
#intro .intro-heading {
  color: var(--cream) !important;
}

#intro .intro-body {
  color: var(--sand) !important;
}

#intro .intro-eyebrow {
  color: var(--gold-light) !important;
}

/* 5. Clean layout adjustment for the featured crest image on a dark background */
#intro .intro-featured-image {
  border: 1px solid rgba(184, 146, 74, 0.3) !important;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.8) !important;
}

/* Keep these sections solid for that luxury contrast */
#manifesto { background: var(--mahogany); }
#details { background: #2A1A0A; } /* Deep espresso/brown */
#kremas { background: var(--cream-dark); }

/* --- Global Cursor Eraser --- */
*, *::before, *::after, body, html, a, button, input, select, textarea {
  cursor: none !important;
}

/* --- Custom Cursor Logic --- */
#cursor {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate3d(0, 0, 0);
}

#cursorRing {
  position: fixed;
  width: 38px;
  height: 38px;
  border: 1px solid var(--gold);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100000;
  transform: translate3d(0, 0, 0);
}

/* Hide custom cursor on all touch devices (mobile + tablet) */
@media (pointer: coarse), (hover: none) {
  #cursor, #cursorRing {
    display: none !important;
  }
}

/* This will ONLY apply to the reserve button when it's on the kremas page */
.kremas-page .nav-reserve {
    background-color: #C5A059 !important; /* Elegant, muted Caribbean gold */
    color: #FFFFFF !important;            /* Keeps text white for a premium look */
    border-color: #C5A059 !important;     /* Matches the border to the muted gold */
    transition: background-color 0.3s ease, border-color 0.3s ease; /* Smooth fade effect */
}

/* Sophisticated darker hover state */
.kremas-page .nav-reserve:hover {
    background-color: #A68242 !important; /* Richer, darker gold for contrast */
    border-color: #A68242 !important;     /* Darkens the border to match */
    color: #FFFFFF !important;            /* Ensures text stays crisp white */
}

/* Privacy Page */

.privacy-page {
  background: #1A1108; /* --espresso */
  color: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

/* â”€â”€ HEADER HERO AREA â”€â”€ */
.privacy-main {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 2.5rem 8rem;
}

.privacy-header {
  padding: 180px 0 5rem;
  text-align: center;
}

.privacy-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #B8924A;
  margin-bottom: 1.5rem;
}

.privacy-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 300;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin-bottom: 2.5rem;
}

/* â”€â”€ BODY CONTENT â”€â”€ */
.privacy-body {
  padding-top: 2rem;
}

/* â”€â”€ SECTION â”€â”€ */
.policy-section {
  margin-bottom: 0;
  padding: 0.5rem 0 1.8rem;
}

.policy-section-title {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.2rem;
}

.policy-section p {
  font-size: 15px;
  line-height: 1.95;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 300;
  letter-spacing: 0.03em;
  margin-bottom: 1.2rem;
}

.policy-section p:last-child {
  margin-bottom: 0;
}

/* â”€â”€ LIST â”€â”€ */
.policy-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
  border-left: 1px solid rgba(184, 146, 74, 0.3);
  padding-left: 1.8rem;
}

.policy-list li {
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  margin-bottom: 0.8rem;
  font-weight: 300;
}

.policy-list li:last-child {
  margin-bottom: 0;
}

.policy-label {
  font-family: 'Cinzel', serif;
  font-size: 10px;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 0.6rem;
}

/* â”€â”€ INLINE EMPHASIS â”€â”€ */
.policy-em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.05em;
  color: rgba(255, 255, 255, 0.9);
}

/* â”€â”€ DIVIDER â”€â”€ */
.policy-divider {
  display: none;
}

/* â”€â”€ CONTACT BLOCK â”€â”€ */
.policy-contact-block {
  margin-top: 1.8rem;
  padding: 2rem 2.5rem;
  border: 1px solid rgba(184, 146, 74, 0.2);
  display: inline-block;
}

.policy-contact-name {
  font-family: 'Cinzel', serif !important;
  font-style: normal !important;
  font-size: 13px !important;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: #B8924A !important;
  margin-bottom: 0.5rem !important;
}

.policy-contact-block p {
  margin-bottom: 0.3rem !important;
}

.policy-link {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 146, 74, 0.3);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

.policy-link:hover {
  color: #B8924A;
  border-color: #B8924A;
}

/* â”€â”€ NAV OVERRIDE for espresso background â”€â”€ */
.privacy-page #main-nav {
  background: linear-gradient(to bottom,
    rgba(26, 17, 8, 0.98) 0%,
    rgba(26, 17, 8, 0.7) 60%,
    transparent 100%);
}

/* â”€â”€ RESPONSIVE â”€â”€ */
@media (max-width: 700px) {
  .privacy-header {
    padding: 140px 0 4rem;
  }
  .policy-contact-block {
    display: block;
  }
}

/* ── CONCIERGE PAGE ── */

.concierge-page {
  background: #1A1108;
  color: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-weight: 300;
}

.concierge-page #main-nav {
  background: linear-gradient(to bottom,
    rgba(26, 17, 8, 0.98) 0%,
    rgba(26, 17, 8, 0.7) 60%,
    transparent 100%);
}

/* ── LAYOUT ── */
.concierge-main {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 2.5rem 7rem;
}

/* ── HEADER ── */
.concierge-header {
  /* Increased bottom padding from 2.5rem to 4.5rem to create more separation */
  padding: 160px 0 7.5rem; 
  text-align: center;
}

.concierge-eyebrow {
  font-family: 'Cinzel', serif;
  font-size: 11px;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: #B8924A;
  margin-bottom: 1.2rem;
}

.concierge-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 300;
  font-style: italic;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: 0.02em;
  margin: 0;
}

/* ── BODY ── */
.concierge-body {
  text-align: center;
  padding-top: 1rem;
}

.concierge-intro {
  /* 1. Sets it to the clean Jost font used in your policy pages */
  font-family: 'Jost', sans-serif; 
  font-weight: 300;
  
  /* 2. Overrides and removes any inherited ALL CAPS rules */
  text-transform: none !important; 
  
  /* Keeping your existing perfect line dimensions */
  font-size: 16px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 0.03em;
  margin-bottom: 0.6rem;
}

/* Adds an elegant padding block strictly beneath the paragraph containing the email */
.concierge-body .concierge-intro:last-of-type {
  margin-bottom: 3.5rem; /* Adjust this value to get your desired spacing */
}

.concierge-link {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(184, 146, 74, 0.45);
  padding-bottom: 1px;
  transition: color 0.3s, border-color 0.3s;
}

.concierge-link:hover {
  color: #B8924A;
  border-color: #B8924A;
}

.concierge-rule {
  width: 40px;
  height: 1px;
  background: rgba(184, 146, 74, 0.4);
  margin: 2.5rem auto;
}

/* ── FORM ── */
.concierge-form {
  text-align: left;
}

.concierge-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.concierge-field {
  display: flex;
  flex-direction: column;
  margin-bottom: 1.4rem;
}

.concierge-label {
  font-family: 'Cinzel', serif;
  font-size: 9px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 0.6rem;
}

.concierge-input {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
  font-family: 'Jost', sans-serif;
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.03em;
  padding: 0.5rem 0;
  outline: none;
  transition: border-color 0.3s;
  width: 100%;
}

.concierge-input::placeholder {
  color: rgba(255, 255, 255, 0.329);
  font-family: 'Cinzel', serif;
  font-size: 12px;
}

.concierge-input:focus {
  border-bottom-color: #B8924A;
}

.concierge-textarea {
  resize: none;
  line-height: 1.8;
}

/* ── SUBMIT ── */
.concierge-submit {
  margin-top: 0.8rem;
  background: transparent !important;
  border: 1px solid rgba(184, 146, 74, 0.5) !important;
  color: #B8924A !important;
  font-family: 'Cinzel', serif;
  font-size: 13px;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  padding: 0.9rem 2.5rem;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  display: block;
  margin-left: 0;
  margin-right: auto;
}

.concierge-submit:hover {
  background: var(--gold) !important;       /* Matches the solid gold fill */
  color: var(--espresso) !important;       /* Flips text to crisp dark espresso */
  border-color: var(--gold) !important;
}

.concierge-submit:disabled {
  opacity: 0.5;
  cursor: default;
}

/* ── CONFIRMATION ── */
.concierge-confirm {
  display: none;
  text-align: center;
  margin-top: 1.5rem;
  font-size: 15px;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.5);
  
  /* 1. Kept the clean Jost font look */
  font-family: 'Jost', sans-serif;
  font-weight: 300;
  text-transform: none !important;
  
  /* 2. Added the italic property */
  font-style: italic;
}

/* ── RESPONSIVE ── */
@media (max-width: 600px) {
  .concierge-row {
    grid-template-columns: 1fr;
  }
  .concierge-header {
    padding: 130px 0 2rem;
  }
}

/* ==========================================================================
   MOBILE & TABLET OPTIMIZATION (ALL SCREEN SIZES)
   ========================================================================== */

@media (max-width: 1024px) {
  /* ── NAVIGATION ── */
  nav {
    height: 90px;
    padding: 0 1.5rem;
    grid-template-columns: auto 1fr auto; /* Shifts layout balance for smaller widths */
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .nav-links a {
    font-size: 11px;
    letter-spacing: 0.2em;
  }
  
  .nav-logo img {
    height: 100px; /* Scales down the central brand asset */
  }

  .nav-reserve {
    font-size: 11px;
    padding: 0.5rem 1rem;
    letter-spacing: 0.15em;
  }

  /* ── HERO ── */
  #hero {
    padding-bottom: 6vh;
  }
}

@media (max-width: 768px) {
  /* --- Global Cursor Reset for Touch Devices --- */
  /* Prevents transparent/hidden tap targets on mobile phones */
  *, *::before, *::after, body, html, a, button, input, select, textarea {
    cursor: auto !important;
  }
  #cursor, #cursorRing {
    display: none !important; /* Hides desktop custom hardware-accelerated cursor */
  }

.age-gate-legal {
    font-size: 9px;
    letter-spacing: 0.04em;
  }

/* ── HERO TITLE MOBILE ── */
  .hero-title {
    font-size: clamp(2.5rem, 4vw, 3.25rem);
  }

  /* ── NAV STRUCTURAL COLLAPSE ── */
  nav {
    height: 80px;
    padding: 0 1rem;
    grid-template-columns: 1fr auto; /* Drops the link column track entirely */
  }

  .nav-links {
    display: none; /* Hides desktop links. Ready for a mobile menu toggle if added later */
  }

  .nav-logo {
    justify-self: start;
  }

  .nav-logo img {
    height: 85px;
  }

.concierge-main {
    padding: 0 3.0rem 3rem;
  }

  /* ── INTRO SECTION ── */
  #intro {
    padding: 5rem 0;
  }

  .intro-inner {
    grid-template-columns: 1fr; /* Collapses text and image columns into a stack */
    gap: 3.5rem;
    padding: 0 1.5rem;
  }

  .intro-image-wrap {
    padding: 1.5rem;
    order: 2; /* Pushes the image block underneath the primary copy flow */
  }

  /* ── KREMAS GRID ── */
  #kremas {
    padding: 11rem 0;
  }

  .kremas-inner {
    padding: 0 1.5rem;
  }

  .kremas-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 3.5rem;
  }

  .kremas-hero-text {
    margin-bottom: 3.5rem;
  }

  .kremas-grid {
    grid-template-columns: 1fr; /* Stack card configurations vertically */
    gap: 2.5rem;
  }

  /* ── DETAILS TABLE ── */
  #details {
    padding: 6rem 1.5rem;
  }

  .details-inner {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .bottle-silhouette {
    max-width: 240px; /* Restricts scaling width on small profile Viewports */
  }

  /* ── RESERVE BLOCK ── */
  #reserve {
    padding: 6rem 1.5rem;
  }

  .reserve-title {
    font-size: clamp(1.6rem, 7vw, 2.2rem);
  }

  .reserve-form {
    flex-direction: column; /* Stacks the email input field and CTA button vertically */
    border: none;
    gap: 1rem;
    width: 100%;
  }

  .reserve-form input {
    border: 1px solid rgba(26,17,8,0.2);
    width: 100%;
    padding: 1.1rem 1.5rem;
    text-align: center;
  }

  .reserve-form button {
    width: 100%;
    padding: 1.1rem 2rem;
  }

  /* ── FOOTER STRUCTURAL COLLAPSE ── */
  footer {
    padding: 7rem 2rem;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .desktop-footer-logo {
    display: none;
  }

  .footer-meta,
  .footer-links {
    text-align: center;
  }

  .footer-newsletter {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 100%;
    padding-top: 2rem;
  }

  .newsletter-title {
    text-align: center;
  }
}

@media (max-width: 480px) {
  /* ── FINE-TUNED TYPOGRAPHY SCALING FOR SMALL SCREENS ── */
  .hero-tagline {
    font-size: 12px;
    letter-spacing: 0.25em;
  }

  .reserve-sub {
    font-size: 14px;
    line-height: 1.7;
  }

  .policy-contact-block {
    padding: 1.5rem;
    width: 100%;
  }
}

/* ==========================================================================
   MOBILE-ONLY RESPONSIVE SYSTEM (Triggered under 768px viewports only)
   ========================================================================== */

/* Safely hide mobile structural elements from Desktop rendering blocks */
.mobile-menu-toggle,
.mobile-logo-only,
.mobile-menu-drawer {
  display: none !important;
}

@media (max-width: 768px) {
  /* --- Hide Original Desktop Elements --- */
  .nav-links,
  .nav-reserve,
  .desktop-logo-only {
    display: none !important;
  }

  /* --- Activate Mobile structural setups --- */
  nav {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem !important;
    height: 90px !important; /* Provides optimal breathing room for the expanded logo layout */
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
  }

  /* --- Mobile Logo: Positioned Absolute Center & Increased Size by 100% --- */
  .mobile-logo-only {
    display: flex !important;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }

  .mobile-logo-only img {
    height: 125px !important; /* Exactly doubled from your original mobile template constraints to stand out elegantly */
    width: auto;
    display: block;
  }

  /* --- Hamburger Trigger (Justified Left) --- */
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1100; /* Stays fixed cleanly on top of drawer layers */
    padding: 0;
  }

  .mobile-menu-toggle span {
    width: 100%;
    height: 1.5px;
    background-color: var(--gold);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    transform-origin: left center;
  }

  /* Transformation transitions morphing lines into a premium 'X' close indicator */
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(1px, -1px);
  }
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
  }
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(1px, 1px);
  }

  /* --- Fullscreen Mobile Drawer Overlay Menu --- */
  .mobile-menu-drawer {
    display: flex !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--espresso); /* Premium dark tone backplane container */
    z-index: 1050;
    transform: translateX(-100%); /* Kept cleanly hidden out left of viewports by default */
    transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    align-items: center;
    justify-content: center;
  }

  .mobile-menu-drawer.open {
    transform: translateX(0); /* Smooth slide performance rightwards onto display */
  }

  .mobile-nav-links {
    list-style: none;
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }

  .mobile-nav-links a {
    font-family: var(--font-display);
    color: var(--cream);
    font-size: 22px;
    text-decoration: none;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    transition: color 0.2s ease;
  }

  .mobile-nav-links a:active,
  .mobile-nav-links a:hover {
    color: var(--gold);
  }
}

/* ── WELCOME PAGE HERO ── */
.welcome-hero {
  min-height: 100vh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
 
.welcome-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
 
.welcome-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center middle;
}
 
.welcome-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.88) 0%,
    rgba(0,0,0,0.5) 50%,
    rgba(0,0,0,0.25) 100%
  );
  z-index: 2;
}
 
.welcome-hero-content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding: 160px 3rem 8rem;
  max-width: 780px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}
 
.welcome-eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.45em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(16px);
  animation: fadeUp 0.9s ease forwards 0.3s;
}
 
.welcome-headline {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 4vw, 3.5rem);
  font-weight: 300;
  font-style: italic;
  text-align: center;
  color: var(--cream);
  line-height: 1.2;
  letter-spacing: 0.02em;
  margin-bottom: 1.8rem;
  white-space: normal;
  word-break: break-word;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease forwards 0.5s;
}
 
.welcome-rule {
  width: 48px;
  height: 1px;
  background: var(--gold);
  margin: 0 auto 2rem;
  opacity: 0;
  animation: fadeIn 0.8s ease forwards 0.75s;
}
 
.welcome-subtext {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.81);
  line-height: 1.9;
  margin-bottom: 2.8rem;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards 0.85s;
}
 
.welcome-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  opacity: 0;
  transform: translateY(14px);
  animation: fadeUp 0.9s ease forwards 1.05s;
}
 
.welcome-btn-primary {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  background: var(--gold);
  color: var(--espresso);
  padding: 1rem 2.4rem;
  transition: background 0.3s ease;
  white-space: nowrap;
}
.welcome-btn-primary:hover {
  background: var(--gold-light);
}
 
/* ── ANIMATIONS ── */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes fadeIn {
  to { opacity: 1; }
}
 
/* ── MOBILE ── */
@media (max-width: 768px) {
  .welcome-hero-content {
    padding: 120px 2rem 6rem;
  }
 
  .welcome-headline {
    font-size: clamp(1.6rem, 6vw, 2.8rem);
  }
 
  .welcome-subtext {
    font-size: 16px;
    letter-spacing: 0.04em;
    font-weight: 300;

  }
 
  .welcome-actions {
    flex-direction: column;
    align-items: center;
  }
 
  .welcome-btn-primary {
    width: 100%;
    max-width: 280px;
    text-align: center;
    display: block;
    margin: 0 auto;
  }
}
 
@media (max-width: 480px) {
  .welcome-hero-content {
    padding: 110px 1.5rem 5rem;
  }
 
  .welcome-headline {
    font-size: clamp(1.9rem, 5.5vw, 2.5rem);  }
 
  .welcome-subtext {
    font-size: 15px;
  }
}