/* ============================================================
   Wine & Spirit Convenience Market

   Direction: an island convenience store, not a wine boutique.
   Deep dusk-teal ground (the water at Palm Beach after sunset),
   one bold coral accent (hibiscus / sunset), marigold reserved
   for the premium-spirits tier, a thin lagoon turquoise for
   beach/water moments. Layout borrows the store's own logic: a
   real aisle directory instead of a feature-card grid, a
   boarding-pass ticket for visit details as a small nod to the
   tourist audience. Serif logotype only (matches the real shop
   sign); headlines run in a bold grotesk, body in a companion
   sans. Single visual world, no light/dark toggle: a market sign
   does not repaint itself for a browser setting.
   ============================================================ */

:root {
  --navy: #0e2e33;
  --navy-deep: #0a2226;
  --navy-line: rgba(245, 236, 215, 0.16);
  --sand: #f5ecd7;
  --sand-dim: #ecdfc0;
  --card: #fbf7ec;
  --coral: #ef5b3b;
  --coral-dark: #cf4527;
  --marigold: #eea430;
  --marigold-dark: #c9860f;
  --lagoon: #3e8e86;
  --ink: #16292b;
  --ink-soft: rgba(22, 41, 43, 0.72);
  --line: rgba(22, 41, 43, 0.16);
  --radius: 6px;
  --container: 1180px;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-display: "Bricolage Grotesque", "Archivo", ui-sans-serif, sans-serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* , *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--sand);
  color: var(--ink);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--coral);
}
.on-navy .eyebrow, .hero-panel .eyebrow { color: var(--marigold); }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.7rem, 3.3vw, 2.4rem); margin-top: 8px; }
h3 { font-size: 1.15rem; font-weight: 700; }

p { color: var(--ink-soft); max-width: 62ch; }

.section-head { max-width: 640px; margin-bottom: 44px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 15px 26px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.12s ease, background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

.btn-primary { background: var(--coral); color: var(--sand); }
.btn-primary:hover { background: var(--coral-dark); }

.btn-ghost { background: transparent; color: var(--sand); border-color: rgba(245, 236, 215, 0.55); }
.btn-ghost:hover { border-color: var(--sand); background: rgba(245, 236, 215, 0.08); }

.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--sand); }

.btn-small { padding: 11px 18px; font-size: 0.74rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy);
  border-bottom: 1px solid var(--navy-line);
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.wordmark { display: flex; flex-direction: column; line-height: 1; text-decoration: none; color: var(--sand); }
.wordmark .wm-main { font-family: var(--font-serif); font-size: 1.3rem; font-weight: 600; letter-spacing: 0.01em; }
.wordmark .wm-main .amp { color: var(--coral); font-style: italic; padding: 0 2px; }
.wordmark .wm-sub {
  font-family: var(--font-sans);
  font-size: 0.58rem; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase;
  color: rgba(245, 236, 215, 0.6); margin-top: 4px;
}

.nav-links { display: flex; gap: 30px; list-style: none; }
.nav-links a {
  text-decoration: none; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: rgba(245, 236, 215, 0.75);
}
.nav-links a:hover { color: var(--sand); }

.header-actions { display: flex; align-items: center; gap: 10px; }
.header-actions .btn-outline { background: transparent; color: var(--sand); border-color: rgba(245, 236, 215, 0.55); }
.header-actions .btn-outline:hover { background: rgba(245, 236, 215, 0.1); color: var(--sand); }

.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; color: var(--sand); }
.nav-toggle svg { width: 24px; height: 24px; }

.mobile-panel {
  display: none; position: fixed; inset: 76px 0 0 0; background: var(--navy); z-index: 99; padding: 28px 24px; overflow-y: auto;
}
.mobile-panel.open { display: block; }
.mobile-panel ul { list-style: none; display: flex; flex-direction: column; gap: 2px; margin-bottom: 26px; }
.mobile-panel a {
  display: block; padding: 18px 4px; border-bottom: 1px solid var(--navy-line); text-decoration: none;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--sand);
}
.mobile-panel .btn { width: 100%; margin-bottom: 12px; }

/* ---------- Hero: asymmetric split ---------- */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  background: var(--navy);
}
.hero-panel {
  grid-column: 1; grid-row: 1;
  display: flex; align-items: center;
  padding: 88px 6vw 72px clamp(24px, 5vw, 64px);
}
.hero-panel-inner { max-width: 540px; }
.hero-panel h1 { font-size: clamp(2.1rem, 4vw, 3.1rem); color: var(--sand); margin-top: 14px; }
.hero-panel .lede { margin-top: 18px; font-size: 1.02rem; color: rgba(245, 236, 215, 0.82); max-width: 46ch; }

.hero-photo {
  grid-column: 2; grid-row: 1;
  position: relative;
  min-height: 420px;
  overflow: hidden;
  clip-path: polygon(7% 0, 100% 0, 100% 100%, 0 100%);
}
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 34, 38, 0.12), rgba(10, 34, 38, 0.35));
}

.status-pill {
  display: inline-flex; align-items: center; gap: 9px; margin-top: 26px;
  padding: 8px 16px 8px 12px; border-radius: var(--radius);
  background: rgba(245, 236, 215, 0.08); border: 1px solid rgba(245, 236, 215, 0.28);
  font-size: 0.8rem; font-weight: 700; color: var(--sand);
  font-variant-numeric: tabular-nums;
}
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #7fd39a; box-shadow: 0 0 0 3px rgba(127, 211, 154, 0.22); }
.status-pill.closed .status-dot { background: var(--marigold); box-shadow: 0 0 0 3px rgba(238, 164, 48, 0.22); }

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

.hero-facts {
  grid-column: 1 / -1; grid-row: 2;
  background: var(--navy-deep);
  border-top: 1px dashed var(--navy-line);
  display: grid; grid-template-columns: repeat(3, 1fr);
}
.hero-fact {
  display: flex; gap: 10px; align-items: center; font-size: 0.82rem; color: rgba(245, 236, 215, 0.88);
  padding: 18px clamp(24px, 5vw, 64px);
  border-left: 1px dashed var(--navy-line);
}
.hero-fact:first-child { border-left: none; }
.hero-fact svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--marigold); }

/* ---------- Proof / positioning ---------- */
.proof { padding: 96px 0; background: var(--sand); }
.proof-grid { display: grid; grid-template-columns: 1fr 0.85fr; gap: 60px; align-items: center; }
.proof-copy p { margin-top: 16px; font-size: 1.02rem; }
.proof-points { margin-top: 30px; display: flex; flex-direction: column; gap: 18px; }
.proof-point { display: flex; gap: 14px; align-items: flex-start; padding-top: 16px; border-top: 1px dashed var(--line); }
.proof-point:first-child { border-top: none; padding-top: 0; }
.proof-point svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.proof-point strong { display: block; font-family: var(--font-display); font-size: 1rem; font-weight: 700; color: var(--ink); }
.proof-point span { font-size: 0.88rem; color: var(--ink-soft); }

.proof-photos { display: grid; grid-template-columns: 1.2fr 1fr; gap: 12px; }
.proof-photos figure { position: relative; border: 1px solid var(--line); overflow: hidden; }
.proof-photos img { height: 100%; object-fit: cover; }
.proof-photos .tall { grid-row: span 2; aspect-ratio: 3/4; }
.proof-photos .wide { aspect-ratio: 4/3; }
figcaption {
  position: absolute; left: 10px; bottom: 10px;
  background: var(--navy); color: var(--sand);
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 3px;
}

/* ---------- Store directory ---------- */
.shop { padding: 96px 0 100px; background: var(--navy); }
.shop .section-head .eyebrow { color: var(--marigold); }
.shop h2 { color: var(--sand); }

.aisle-list { display: flex; flex-direction: column; }
.aisle-row {
  display: grid;
  grid-template-columns: 60px 1fr 128px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-top: 1px dashed var(--navy-line);
  position: relative;
}
.aisle-row:last-child { border-bottom: 1px dashed var(--navy-line); }
.aisle-row:not(.has-photo) { grid-template-columns: 60px 1fr; }

.aisle-badge {
  width: 52px; height: 52px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 1.3rem;
  background: var(--coral); color: var(--navy-deep);
  border-radius: 4px;
}
.aisle-row.premium .aisle-badge { background: var(--marigold); }

.aisle-text h3 { color: var(--sand); }
.aisle-text p { font-size: 0.9rem; color: rgba(245, 236, 215, 0.68); margin-top: 4px; }
.aisle-brands {
  margin-top: 10px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--marigold);
}

.aisle-thumb { width: 128px; height: 92px; overflow: hidden; border: 1px solid var(--navy-line); border-radius: 3px; }
.aisle-thumb img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Visit / boarding pass ---------- */
.visit { padding: 96px 0; background: var(--sand); }
.visit-grid { display: grid; grid-template-columns: 1fr 0.95fr; gap: 50px; align-items: start; }

.ticket {
  display: grid;
  grid-template-columns: 176px 28px 1fr;
  background: var(--card);
  border: 1px solid var(--line);
}
.ticket-stub {
  padding: 26px 20px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--navy);
  color: var(--sand);
}
.ticket-stub .eyebrow { color: var(--marigold); }
.ticket-hours { font-family: var(--font-display); font-size: 1.7rem; font-weight: 800; margin-top: 8px; font-variant-numeric: tabular-nums; }
.ticket-note { font-size: 0.76rem; margin-top: 6px; color: rgba(245, 236, 215, 0.65); }

.ticket-perf { position: relative; border-left: 2px dashed var(--line); }
.ticket-perf::before, .ticket-perf::after {
  content: ""; position: absolute; left: -11px; width: 20px; height: 20px; border-radius: 50%; background: var(--sand);
}
.ticket-perf::before { top: -11px; }
.ticket-perf::after { bottom: -11px; }

.ticket-main { padding: 26px 30px; }
.visit-row { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.visit-row:last-of-type { border-bottom: none; }
.visit-row svg { width: 20px; height: 20px; color: var(--coral); flex-shrink: 0; margin-top: 2px; }
.visit-row h4 { font-family: var(--font-sans); font-size: 0.72rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink); margin-bottom: 4px; }
.visit-row p { font-size: 0.9rem; margin: 0; }
.ticket .btn { margin-top: 20px; width: 100%; }

.map-wrap { border: 1px solid var(--line); overflow: hidden; aspect-ratio: 4/5; }
.map-wrap iframe { width: 100%; height: 100%; border: 0; }
.storefront-note {
  margin-top: 14px; display: flex; gap: 14px; align-items: center;
  background: var(--card); border: 1px solid var(--line); padding: 14px;
}
.storefront-note img { width: 92px; height: 92px; object-fit: cover; flex-shrink: 0; border-radius: 3px; }
.storefront-note p { font-size: 0.83rem; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--sand-dim); border-top: 1px solid var(--line); }
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; }
.faq-item { background: var(--card); border: 1px solid var(--line); border-top: none; padding: 4px 24px; }
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-item summary {
  cursor: pointer; list-style: none; padding: 20px 0;
  font-family: var(--font-display); font-size: 1.02rem; font-weight: 700;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .plus { flex-shrink: 0; width: 20px; height: 20px; color: var(--coral); position: relative; }
.faq-item summary .plus::before, .faq-item summary .plus::after { content: ""; position: absolute; background: currentColor; border-radius: 1px; }
.faq-item summary .plus::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-item summary .plus::after { width: 2px; height: 14px; top: 3px; left: 9px; transition: transform 0.2s ease; }
.faq-item[open] summary .plus::after { transform: rotate(90deg); }
.faq-item p { padding-bottom: 22px; font-size: 0.94rem; }

/* ---------- Closing CTA ---------- */
.closer { padding: 96px 0; text-align: left; background: var(--navy); color: var(--sand); }
.closer .container { max-width: 780px; }
.closer h2 { color: var(--sand); }
.closer p { color: rgba(245, 236, 215, 0.75); margin-top: 14px; }
.closer-ctas { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(245, 236, 215, 0.72); padding: 60px 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px dashed var(--navy-line); }
.footer-brand .wordmark { color: var(--sand); }
.footer-brand p { margin-top: 14px; font-size: 0.86rem; max-width: 32ch; color: rgba(245, 236, 215, 0.55); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 36px; height: 36px; border-radius: 4px; display: flex; align-items: center; justify-content: center; background: rgba(245, 236, 215, 0.08); transition: background 0.15s ease; }
.footer-social a:hover { background: rgba(245, 236, 215, 0.18); }
.footer-social svg { width: 17px; height: 17px; }
.footer-col h4 { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--marigold); margin-bottom: 16px; font-weight: 700; }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 0.88rem; }
.footer-col a { text-decoration: none; color: rgba(245, 236, 215, 0.78); }
.footer-col a:hover { color: var(--sand); }
.footer-bottom { padding-top: 22px; display: flex; justify-content: space-between; align-items: center; font-size: 0.76rem; color: rgba(245, 236, 215, 0.42); flex-wrap: wrap; gap: 10px; }

/* ---------- Skip link ---------- */
.skip-link { position: absolute; left: -999px; top: 0; background: var(--coral); color: var(--sand); padding: 12px 18px; z-index: 999; }
.skip-link:focus { left: 0; }

/* ---------- Scroll reveal (progressive enhancement, JS-driven) ---------- */
[data-reveal] { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
[data-reveal].is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-actions .btn-outline { display: none; }
  .proof-grid { grid-template-columns: 1fr; gap: 40px; }
  .proof-photos { order: -1; }
  .visit-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

@media (max-width: 760px) {
  /* Tighter hero: less air before the headline and CTA, photo trimmed down */
  .hero { grid-template-columns: 1fr; }
  .hero-panel { grid-column: 1; grid-row: 2; padding: 32px 20px 40px; }
  .hero-panel h1 { margin-top: 10px; }
  .hero-panel .lede { margin-top: 10px; font-size: 0.95rem; }
  .hero-photo { grid-column: 1; grid-row: 1; min-height: 34vh; clip-path: none; }
  .status-pill { margin-top: 16px; }
  .hero-ctas { margin-top: 18px; }
  .hero-ctas .btn { flex: 1 1 0; }

  /* Feature facts become a horizontally scrollable chip row instead of
     three stacked full-width lines: same information, a fraction of the height */
  .hero-facts {
    grid-row: 3;
    grid-template-columns: none;
    display: flex;
    align-items: center;
    overflow-x: auto;
    gap: 10px;
    padding: 12px 16px;
    border-top: 1px dashed var(--navy-line);
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
  }
  .hero-fact {
    flex: 0 0 auto;
    border-left: none;
    border: 1px solid var(--navy-line);
    border-radius: 999px;
    padding: 9px 14px;
    scroll-snap-align: start;
  }

  .section-head { margin-bottom: 26px; }

  /* Store directory: nine stacked rows become a compact photo/icon tile
     grid, two across, so the whole assortment reads at a glance */
  .aisle-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
  .aisle-row, .aisle-row:not(.has-photo) {
    grid-template-columns: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: 0;
    min-height: 148px;
    padding: 14px;
    border: 1px solid var(--navy-line);
    border-top: 1px solid var(--navy-line);
    border-radius: 6px;
    background: rgba(245, 236, 215, 0.04);
    overflow: hidden;
  }
  .aisle-row:last-child { border-bottom: 1px solid var(--navy-line); grid-column: 1 / -1; }
  .aisle-badge { width: 34px; height: 34px; font-size: 0.92rem; margin-bottom: 10px; flex-shrink: 0; }
  .aisle-text h3 { font-size: 0.92rem; }
  .aisle-text p {
    font-size: 0.76rem; margin-top: 3px;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .aisle-text p.aisle-brands { display: none; }

  .aisle-row.has-photo { color: var(--sand); }
  .aisle-row.has-photo .aisle-thumb {
    display: block; position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; border: none; border-radius: 0; z-index: 0;
  }
  .aisle-row.has-photo::before {
    content: ""; position: absolute; inset: 0; z-index: 1;
    background: linear-gradient(180deg, rgba(10, 34, 38, 0.05) 35%, rgba(10, 34, 38, 0.92) 100%);
  }
  .aisle-row.has-photo .aisle-badge, .aisle-row.has-photo .aisle-text { position: relative; z-index: 2; }
  .aisle-row.has-photo .aisle-text p { color: rgba(245, 236, 215, 0.85); }

  .ticket { grid-template-columns: 1fr; }
  .ticket-perf { display: none; }
  .ticket-stub { flex-direction: row; align-items: baseline; gap: 12px; flex-wrap: wrap; padding: 20px; }
}

@media (max-width: 640px) {
  .container { padding: 0 18px; }
  .site-header .container { height: 64px; }
  .mobile-panel { inset: 64px 0 0 0; }
  .proof, .shop, .visit, .faq, .closer { padding: 48px 0; }
  .proof-photos { grid-template-columns: 1fr 1fr; }
  .proof-points { gap: 14px; margin-top: 22px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .footer-brand { grid-column: span 1; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
