/* =====================================================================
   Lulu's Café & Cocktails — site stylesheet
   Light, airy, beach-inspired. Script display type + clean sans body,
   a fluid type scale, and a semantic section system (no magic vh /
   negative z-index hacks).
   ===================================================================== */

/* ---------------------------------------------------------------------
   1. Design tokens
   --------------------------------------------------------------------- */
:root {
  /* Brand palette */
  --deep-ocean: #07609B;
  --ocean-dark: #054e7f;
  --reflection: #9FBFFF;
  --sand-dollar: #FFF9EE;
  --shell: #FBEFDD;                /* warmer cream for alternating bands */
  --anemone: #FFC9BD;
  --lobster: #E57D60;
  --lobster-deep: #D2624A;
  --sea-grass: #DCE093;
  --kelp: #20382F;
  --canvas: #E9F1F8;               /* soft sky tint the flat panels float on */
  --page-pad: clamp(1.25rem, 3.5vw, 3rem);    /* homepage edge padding */
  --page-gap: clamp(0.85rem, 1.6vw, 1.4rem);  /* gap between panels */

  /* Ink */
  --ink: #07609B;
  --ink-soft: rgba(7, 96, 155, 0.72);

  /* Fonts */
  --font-title: "Adventures", "Brush Script MT", cursive;
  --font-sub: "Shantell Sans", "Comic Sans MS", sans-serif;
  --font-body: "Strawford", "Helvetica Neue", Arial, sans-serif;

  /* Fluid type scale */
  --fs-display: clamp(3.25rem, 1.6rem + 7.4vw, 8rem);
  --fs-h1: clamp(2.75rem, 1.6rem + 5vw, 6rem);
  --fs-h2: clamp(2.5rem, 1.8rem + 3.5vw, 5rem);
  --fs-h3: clamp(1.6rem, 1.2rem + 1.8vw, 2.6rem);
  --fs-lead: clamp(1.15rem, 1rem + 0.7vw, 1.6rem);
  --fs-body: clamp(1rem, 0.96rem + 0.25vw, 1.15rem);
  --fs-small: 0.85rem;
  --fs-eyebrow: clamp(0.95rem, 0.9rem + 0.4vw, 1.25rem);

  /* Spacing */
  --space-section: clamp(3.5rem, 2rem + 7vw, 8rem);
  --gutter: clamp(1.25rem, 0.5rem + 3vw, 4rem);
  --container: 1240px;

  /* Shape */
  /* Flat design — chunky rounded corners, no shadows */
  --radius: 24px;
  --radius-lg: 40px;
  --pill: 999px;

  /* Menu component (menus/menu.css reads these) */
  --menu-text: var(--deep-ocean);
  --menu-surface: var(--sand-dollar);
  --menu-accent: var(--lobster);
  --menu-font-heading: var(--font-title);
  --menu-font-body: var(--font-body);
}

/* ---------------------------------------------------------------------
   2. Fonts
   --------------------------------------------------------------------- */
@font-face { font-family:'Strawford'; src:url('fonts/Strawford-Regular.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Strawford'; src:url('fonts/Strawford-RegularItalic.woff2') format('woff2'); font-weight:400; font-style:italic; font-display:swap; }
@font-face { font-family:'Strawford'; src:url('fonts/Strawford-Medium.woff2') format('woff2'); font-weight:500; font-style:normal; font-display:swap; }
@font-face { font-family:'Strawford'; src:url('fonts/Strawford-Bold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Adventures'; src:url('fonts/AdventuresUnlimited-ScriptRg.woff2') format('woff2'); font-weight:400; font-style:normal; font-display:swap; }
@font-face { font-family:'Adventures'; src:url('fonts/AdventuresUnlimited-ScriptBold.woff2') format('woff2'); font-weight:700; font-style:normal; font-display:swap; }
@font-face { font-family:'Shantell Sans'; src:url('fonts/ShantellSans-Variable.woff2') format('woff2'); font-weight:300 800; font-style:normal; font-display:swap; }
@font-face { font-family:'Shantell Sans'; src:url('fonts/ShantellSans-Italic-Variable.woff2') format('woff2'); font-weight:300 800; font-style:italic; font-display:swap; }

/* ---------------------------------------------------------------------
   3. Base
   --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--sand-dollar);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--deep-ocean); }

/* --- Flat floating-panel layout (homepage) ---------------------------
   Each section below the hero becomes a rounded flat panel sitting on a
   soft sky canvas, with gaps between them. */
body:not(.subpage) { background: var(--sand-dollar); }
body:not(.subpage) main {
  display: flex;
  flex-direction: column;
  gap: var(--page-gap);
  padding: var(--page-pad);
}
body:not(.subpage) main > * {
  border-radius: var(--radius-lg);
  overflow: hidden;
}
/* Hero tucks its bottom corners into the canvas like a top card */
body:not(.subpage) .hero {
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
}

h1, h2, h3, h4 { margin: 0; line-height: 1.05; }

h1 { font-family: var(--font-title); font-size: var(--fs-h1); color: var(--deep-ocean); }
h2 { font-family: var(--font-title); font-size: var(--fs-h2); color: var(--deep-ocean); }
h3 { font-family: var(--font-body); font-weight: 700; font-size: var(--fs-h3); color: var(--deep-ocean); }
h4 { font-family: var(--font-body); font-weight: 700; font-size: 1.4rem; color: var(--deep-ocean); }

p { margin: 0 0 1rem; }

:focus-visible { outline: 3px solid var(--lobster); outline-offset: 3px; border-radius: 4px; }

/* ---------------------------------------------------------------------
   4. Utilities
   --------------------------------------------------------------------- */
.container {
  width: min(100% - (var(--gutter) * 2), var(--container));
  margin-inline: auto;
}

.eyebrow {
  font-family: var(--font-sub);
  font-weight: 600;
  font-size: var(--fs-eyebrow);
  letter-spacing: 0.02em;
  color: var(--lobster);
  margin: 0 0 0.75rem;
  display: inline-block;
}

.section-head { text-align: center; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.section-head p { max-width: 46ch; margin-inline: auto; color: var(--ink-soft); }

/* Buttons */
.btn {
  --btn-bg: var(--deep-ocean);
  --btn-fg: var(--sand-dollar);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  padding: 0.85em 2em;
  min-height: 44px;
  border-radius: var(--pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 2px solid var(--btn-bg);
  cursor: pointer;
  transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}
.btn:hover { transform: translateY(-3px); }
.btn--coral { --btn-bg: var(--lobster); border-color: var(--lobster); }
.btn--outline {
  background: transparent;
  color: var(--deep-ocean);
  border-color: var(--deep-ocean);
}
.btn--outline:hover { background: var(--deep-ocean); color: var(--sand-dollar); }
.btn--on-dark.btn--outline { color: var(--sand-dollar); border-color: var(--sand-dollar); }
.btn--on-dark.btn--outline:hover { background: var(--sand-dollar); color: var(--deep-ocean); }

/* ---------------------------------------------------------------------
   5. Header / navigation
   --------------------------------------------------------------------- */
.topnav-container {
  position: relative;
  z-index: 20;
  width: 100%;
  display: flex;
  align-items: center;
  padding: 1.25rem var(--gutter);
}

/* Subpages: nav sits on the cream header — no bar background */

/* Homepage: keep the header (and its mobile menu) above the hero content */
body:not(.subpage) .topnav-container { z-index: 50; }

.nav-logo { height: 46px; width: auto; }
/* Homepage already shows the big hero mark, so the small nav logo is redundant */
body:not(.subpage) .nav-logo { display: none; }

.topnav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2.5vw, 2.75rem);
}

.topnav a.nav-link {
  color: var(--sand-dollar);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.7rem, 1.3rem + 1vw, 2.6rem);
  line-height: 1;
  text-decoration: none;
  padding: 0;
  position: relative;
  transition: color 0.2s ease;
  text-shadow: 0 1px 6px rgba(0,0,0,0.25);
}
body.subpage .topnav a.nav-link { text-shadow: none; }

.topnav a.nav-link::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 100%; height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.topnav a.nav-link:hover { color: var(--lobster); }
.topnav a.nav-link:hover::after { transform: scaleX(1); }

.topnav a.nav-link-reserve {
  background: var(--lobster);
  color: var(--sand-dollar);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.6em 1.3em;
  border: 2px solid var(--lobster);
  border-radius: var(--pill);
  text-shadow: none;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.topnav a.nav-link-reserve::after { display: none; }
.topnav a.nav-link-reserve:hover { background: transparent; color: var(--lobster); }

/* Interior pages: dark text on the cream header + a deep-ocean Reservations
   pill. The mobile slide-in panel stays dark and is restored below. */
body.subpage .topnav a.nav-link { color: var(--deep-ocean); }
body.subpage .topnav a.nav-link:hover { color: var(--lobster); }
body.subpage .icon { color: var(--deep-ocean); }
/* …but once the slide-in menu is open, the X sits over the dark panel */
body.subpage .icon[aria-expanded="true"] { color: var(--sand-dollar); }
body.subpage .topnav a.nav-link-reserve {
  background: var(--deep-ocean);
  color: var(--sand-dollar);
  border-color: var(--deep-ocean);
}
body.subpage .topnav a.nav-link-reserve:hover {
  background: transparent;
  color: var(--deep-ocean);
  border-color: var(--deep-ocean);
}

/* Hamburger — hidden on desktop */
.icon {
  display: none;
  margin-left: auto;
  width: 44px; height: 44px;
  padding: 0;
  background: none;
  border: none;
  -webkit-appearance: none;
  appearance: none;
  color: var(--sand-dollar);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.icon svg { width: 34px; height: auto; overflow: visible; }

/* Wave → X when the menu is open */
.icon svg path {
  transition: transform 0.3s ease, opacity 0.2s ease;
  transform-box: fill-box;
  transform-origin: center;
}
.icon[aria-expanded="true"] svg path:nth-of-type(1) { transform: translateY(12px) rotate(45deg); }
.icon[aria-expanded="true"] svg path:nth-of-type(2) { opacity: 0; }
.icon[aria-expanded="true"] svg path:nth-of-type(3) { transform: translateY(-12px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   6. Hero
   --------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 98svh;
  display: flex;
  flex-direction: column;
  background-image: url(images/hero-bg.webp);
  background-size: cover;
  background-position: center;
}
/* Neutral, barely-there darkening only at top/bottom so the nav and scroll
   cue stay legible — no blue tint over the GIF. */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.32) 0%, rgba(0,0,0,0.15) 22%, rgba(0,0,0,0.15) 78%, rgba(0,0,0,0.28) 100%);
  border-bottom-left-radius: var(--radius-lg);
  border-bottom-right-radius: var(--radius-lg);
  z-index: 1;
}
.hero > * { position: relative; z-index: 2; }

.hero__content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem var(--gutter) 1rem;
}
.hero__mark {
  width: min(70vw, 640px);
  /* Layered shadow — a crisp printed edge over a soft cast, so the mark
     reads like it's sitting on the scene like a postcard. */
  filter:
    drop-shadow(0 2px 3px rgba(0,0,0,0.35))
    drop-shadow(0 16px 38px rgba(0,0,0,0.45));
}

/* Hero CTA — matches the nav's Reservations pill */
.hero__cta {
  align-self: center;
  margin-bottom: 0.85rem;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.6em 1.3em;
  background: var(--lobster);
  color: var(--sand-dollar);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--lobster);
  border-radius: var(--pill);
  text-decoration: none;
  z-index: 2;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease;
}
.hero__cta:hover { background: transparent; color: var(--lobster); }

.hero__scroll {
  align-self: center;
  margin-bottom: 1.4rem;
  z-index: 2;
  color: var(--sand-dollar);
  font-family: var(--font-sub);
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  opacity: 0.9;
}
.hero__scroll span { font-size: 1.4rem; animation: bob 1.8s ease-in-out infinite; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* ---------------------------------------------------------------------
   7. Tagline band
   --------------------------------------------------------------------- */
.tagline {
  position: relative;
  background: var(--deep-ocean);
  color: var(--sand-dollar);
  padding: clamp(2rem, 1rem + 3vw, 4rem) var(--gutter);
  overflow: hidden;
}
.tagline__inner {
  position: relative;
  max-width: 1000px;
  margin-inline: auto;
  text-align: center;
}
.tagline h1 {
  color: var(--sand-dollar);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(2rem, 1rem + 5vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
}
.tagline__flourish {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -55%);
  width: clamp(180px, 45%, 380px);
  opacity: 0.85;
  z-index: 1;
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   8. Marquee
   --------------------------------------------------------------------- */
.marquee {
  background: none;
  color: var(--deep-ocean);
  padding: 0.9rem 0;
  overflow: hidden;
  white-space: nowrap;
  /* Fade the text in/out at both edges */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 10%, #000 90%, transparent 100%);
}
.marquee__track {
  display: inline-flex;
  gap: 3rem;
  padding-left: 3rem;
  will-change: transform;
  animation: marquee 28s linear infinite;
}
.marquee__track span {
  font-family: var(--font-sub);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.9rem + 1vw, 1.9rem);
  letter-spacing: 0.02em;
}
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__track { animation: none; } }

/* ---------------------------------------------------------------------
   9. Feature split (Menu / Private Events)
   --------------------------------------------------------------------- */
.features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(0.85rem, 1.6vw, 1.4rem);
  background: none;
}
.feature {
  position: relative;
  min-height: clamp(360px, 55vh, 620px);
  display: flex;
  align-items: flex-end;
  padding: clamp(1.25rem, 2.5vw, 2rem);
  text-decoration: none;
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.3s ease;
}
.feature:hover { transform: translateY(-6px); }
.feature__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.feature:hover .feature__bg { transform: scale(1.05); }
/* Dark gradient scrim so the cream text stays readable over any photo */
.feature::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65) 0%, rgba(0, 0, 0, 0.3) 35%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}
/* Cream text overlaid directly on the photo (no box) */
.feature__body {
  position: relative;
  z-index: 2;
  max-width: 36ch;
  color: var(--sand-dollar);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.5);
}
.feature__body h2 { color: var(--sand-dollar); margin-bottom: 0.4rem; }
.feature__body p { color: var(--sand-dollar); margin-bottom: 0.85rem; }
.feature__cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.9rem;
  color: var(--sand-dollar);
}
.feature__cta::after { content: "→"; transition: transform 0.25s ease; }
.feature:hover .feature__cta::after { transform: translateX(5px); }
.feature-menu .feature__bg { background-image: url(images/menu-feature.webp?v=2); }
.feature-events .feature__bg { background-image: url(images/events-feature.webp?v=2); }

/* ---------------------------------------------------------------------
   10. Statement band
   --------------------------------------------------------------------- */
.statement {
  position: relative;
  background: var(--reflection);
  color: var(--deep-ocean);
  padding: clamp(2.5rem, 2rem + 4vw, 5rem) var(--gutter);
  overflow: hidden;
}
.statement__inner { max-width: var(--container); margin-inline: auto; }
.statement p {
  font-family: var(--font-sub);
  font-weight: 700;
  /* Scales with viewport width so the line always fits on one row */
  font-size: min(3.25rem, 3.5vw);
  line-height: 1.1;
  max-width: none;
  white-space: nowrap;
  margin: 0;
}
.statement__art {
  position: absolute;
  right: clamp(-40px, -2vw, 0px);
  bottom: 0;
  width: clamp(150px, 26vw, 360px);
  pointer-events: none;
}

/* ---------------------------------------------------------------------
   11. Order (Pickup / Delivery / Catering)
   --------------------------------------------------------------------- */
.order {
  background: none;
  padding: 0;
}
.order__grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  grid-template-rows: repeat(2, clamp(150px, 19vw, 230px));
  gap: clamp(0.85rem, 1.6vw, 1.4rem);
}
/* Delivery — vertical card spanning both rows on the left */
.order-card:nth-child(2) { grid-column: 1; grid-row: 1 / span 2; }
.order-card:nth-child(2) .order-card__img { flex: 1; aspect-ratio: auto; }
/* Pickup (top) + Catering (bottom) — horizontal cards, right */
.order-card:nth-child(1) { grid-column: 2; grid-row: 1; }
.order-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.order-card:nth-child(1),
.order-card:nth-child(3) { flex-direction: row; align-items: stretch; }
.order-card:nth-child(1) .order-card__img,
.order-card:nth-child(3) .order-card__img { flex: 0 0 40%; aspect-ratio: auto; }
.order-card:nth-child(1) .order-card__body,
.order-card:nth-child(3) .order-card__body { flex: 1; display: flex; flex-direction: column; justify-content: center; }

.order-card {
  background: var(--deep-ocean);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  color: var(--sand-dollar);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
}
.order-card:hover { transform: translateY(-6px); }
.order-card__img { aspect-ratio: 4 / 3; overflow: hidden; }
.order-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.order-card:hover .order-card__img img { transform: scale(1.05); }
.order-card__body { padding: clamp(1.1rem, 2vw, 1.75rem); }
.order-card__body h3 { font-family: var(--font-title); font-weight: 400; font-size: clamp(1.6rem, 1.1rem + 2vw, 3rem); line-height: 1.05; margin-bottom: 0.4rem; color: var(--sand-dollar); }
.order-card__body hr { border: none; border-top: 2px solid rgba(255, 249, 238, 0.4); margin: 0 0 0.65rem; }
.order-card__body p { margin: 0; font-size: clamp(0.9rem, 0.8rem + 0.4vw, 1.05rem); line-height: 1.45; color: rgba(255, 249, 238, 0.85); }

/* Card lift shouldn't be clipped by the (transparent) section wrapper */
body:not(.subpage) .order { overflow: visible; }

/* --- Deep-ocean "second act" zone (statement + order) ---------------
   Full-bleed band; the cream above curves down into it like the hero. */
.ocean-zone {
  background: var(--deep-ocean);
  color: var(--sand-dollar);
  display: flex;
  flex-direction: column;
  gap: clamp(1.5rem, 3vw, 3rem);
  padding: clamp(2.5rem, 4vw, 4.5rem) var(--page-pad);
}
body:not(.subpage) .ocean-zone {
  position: relative;
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding-top: calc(clamp(2.5rem, 4vw, 4.5rem) + var(--radius-lg));
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  /* override the main > * clip so the cream cap can overlap the top seam */
  overflow: visible;
}
/* Cream cap with a rounded bottom = the "white" curving into the ocean */
body:not(.subpage) .ocean-zone::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;                                 /* overlap up to hide the subpixel seam on mobile */
  height: calc(var(--radius-lg) + 1px);
  background: var(--sand-dollar);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 1;
}
.ocean-zone .statement {
  background: transparent;
  color: var(--sand-dollar);
  padding: 0;
  overflow: visible;
}
.ocean-zone .statement__inner { margin-inline: 0; }
.ocean-zone .statement p { color: var(--sand-dollar); }
.ocean-zone .order { padding: 0; overflow: visible; }
/* Inverted order cards — cream on the ocean */
.ocean-zone .order-card { background: var(--sand-dollar); color: var(--deep-ocean); }
.ocean-zone .order-card__body h3 { color: var(--deep-ocean); }
.ocean-zone .order-card__body hr { border-top-color: rgba(7, 96, 155, 0.3); }
.ocean-zone .order-card__body p { color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   12. Contact
   --------------------------------------------------------------------- */
.contact {
  padding: var(--space-section) var(--gutter);
}
.contact__grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}
.contact__art img { width: 100%; max-width: 460px; margin-inline: auto; }
.contact__info { text-align: center; }
.contact__info img { width: 100%; max-width: 360px; margin: 0 auto 1.5rem; }
.contact__lines { display: flex; flex-direction: column; gap: 0.5rem; }
.contact__lines a {
  color: var(--deep-ocean);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: clamp(1.25rem, 1rem + 1.5vw, 2rem);
  text-decoration: none;
  transition: color 0.2s ease;
}
.contact__lines a:hover { color: var(--lobster); }
.contact__address { margin-top: 1rem; color: var(--ink-soft); font-style: normal; }

/* ---------------------------------------------------------------------
   13. Footer
   --------------------------------------------------------------------- */
.footer {
  background: var(--deep-ocean);
  color: var(--sand-dollar);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  padding: clamp(2.5rem, 5vw, 4rem) var(--gutter);
  text-align: center;
}
.f-socials { display: flex; gap: 1.75rem; align-items: center; }
.f-socials a { display: inline-flex; }
.f-socials svg { width: 30px; height: 30px; color: var(--sand-dollar); transition: color 0.2s ease, transform 0.2s ease; }
.f-socials a:hover svg { color: var(--anemone); transform: translateY(-2px); }
.f-hours { margin: 0; font-weight: 700; font-size: 1.1rem; }
.f-meta { margin: 0; font-size: 0.9rem; color: rgba(255,249,238,0.75); }
.f-meta a { color: inherit; }

/* ---------------------------------------------------------------------
   14. Subpage — shared header block
   --------------------------------------------------------------------- */
.header-block {
  background: var(--sand-dollar);
  text-align: center;
  padding: clamp(3rem, 6vw, 6rem) var(--gutter) clamp(2rem, 4vw, 3.5rem);
}
.header-block h1 { font-size: var(--fs-display); margin-bottom: 1rem; }
.header-block p {
  font-family: var(--font-sub);
  color: var(--ink-soft);
  max-width: 52ch;
  margin: 0 auto 1.75rem;
}
.header-buttons { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; }
.header-buttons a {
  color: var(--deep-ocean);
  border: 2px solid var(--deep-ocean);
  border-radius: var(--pill);
  padding: 0.7em 1.6em;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-family: var(--font-body);
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.header-buttons a:hover { background: var(--deep-ocean); color: var(--sand-dollar); }

/* ---------------------------------------------------------------------
   15. Events — spaces
   --------------------------------------------------------------------- */
.spaces {
  position: relative;
  background: var(--deep-ocean);
  color: var(--sand-dollar);
}
/* Cream cap with rounded bottom corners = the header block curving down with
   the colour panels tucked underneath */
.spaces::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -1px;                                 /* overlap up to hide the subpixel seam on mobile */
  height: calc(var(--radius-lg) + 1px);
  background: var(--sand-dollar);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 3;
}

/* Two 50/50 panels, edge to edge, tucked directly under the cap. At the centre
   the reflection panel's rounded corner reveals the sea-grass beneath it. */
.spaces-options-cards { display: flex; align-items: stretch; gap: 0; }
.spaces-options-opt1, .spaces-options-opt2 {
  position: relative;
  flex: 1 1 50%;
  min-width: 0;
  /* top padding clears the cream cap; tight vertical padding around the text */
  padding: calc(clamp(0.85rem, 2vw, 1.4rem) + var(--radius-lg)) clamp(1.5rem, 4vw, 3rem) clamp(0.85rem, 2vw, 1.4rem);
}
/* Left panel — on top, both bottom corners rounded */
.spaces-options-opt1 {
  background: var(--lobster);
  color: var(--sand-dollar);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  z-index: 2;
}
/* Right panel — tucks its inner edge under the left panel's rounded corner so
   the sea-grass peeks out beneath the curve at the centre; outer corner rounded */
.spaces-options-opt2 {
  background: var(--sea-grass);
  color: var(--kelp);
  border-radius: 0 0 var(--radius-lg) 0;
  margin-left: calc(-1 * var(--radius-lg));
  padding-left: calc(clamp(1.5rem, 4vw, 3rem) + var(--radius-lg));
  z-index: 1;
}
.spaces-options-opt1 h3, .spaces-options-opt2 h3 {
  font-family: var(--font-sub);
  font-size: clamp(1.35rem, 1rem + 1.4vw, 1.8rem);
  margin: 0 0 0.25rem;
  color: inherit;
}
.spaces-options-opt1 p, .spaces-options-opt2 p { margin: 0; }

/* "Spaces" — header for the image gallery below */
.spaces-options-Section { padding: clamp(2rem, 4vw, 3rem) var(--gutter) 0; }
.spaces-options-Section h2 {
  color: var(--sand-dollar);
  text-align: left;
  margin: 0;
}

/* Desktop: three equal images filling the width (mobile scroller below) */
.space-scroll {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(0.85rem, 1.6vw, 1.4rem);
  padding: clamp(1.5rem, 4vw, 2.5rem) var(--gutter);
  background: var(--deep-ocean);
}
.space-scroll-item {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
}
/* Bottom scrim so the cream labels stay readable over any photo */
.space-scroll-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.15) 42%, rgba(0, 0, 0, 0) 72%);
  pointer-events: none;
}
.space-scroll-item h3, .space-scroll-item p { position: relative; z-index: 1; margin: 0; }
.space-scroll-item h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.5rem);
  align-self: flex-start;
  color: var(--sand-dollar);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.6);
}
.space-scroll-item:nth-child(1) { background-image: url(images/indoor-bar.webp); }
.space-scroll-item:nth-child(2) { background-image: url(images/side-bar.webp); }
.space-scroll-item:nth-child(3) { background-image: url(images/patio.webp); }

/* ---------------------------------------------------------------------
   16. Events — drinks packages
   --------------------------------------------------------------------- */
.drinks { background: var(--deep-ocean); color: var(--sand-dollar); padding: var(--space-section) var(--gutter); border-radius: 0 0 var(--radius-lg) var(--radius-lg); margin-top: -1px; }
.drinks h2 { color: var(--sand-dollar); text-align: center; margin-bottom: clamp(2rem, 4vw, 3rem); }
.drinks-grid {
  max-width: var(--container);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
}
.drink-item { text-align: center; }
.drink-item img { width: clamp(70px, 12vw, 110px); margin: 0 auto 1rem; }
.drink-item h3 { color: var(--sand-dollar); margin-bottom: 0.5rem; }
.drink-item p { color: rgba(255,249,238,0.85); margin: 0; }

/* ---------------------------------------------------------------------
   18. Events — bites
   --------------------------------------------------------------------- */
.bites { background: var(--sand-dollar); padding: var(--space-section) var(--gutter) clamp(2rem,4vw,3rem); text-align: center; }
.bites h2 { margin-bottom: clamp(1.5rem, 3vw, 2.5rem); }
.bites-grid {
  max-width: 720px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem 1.5rem;
}
.bites-grid-section {
  grid-column: 1 / -1;
  margin-top: 1rem;
}
.bites-grid-section p { font-family: var(--font-title); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem); margin: 0; }
.bites-grid-item p { margin: 0.35rem 0; color: var(--ink); }

/* ---------------------------------------------------------------------
   19. Events — prix-fixe menu tabs
   --------------------------------------------------------------------- */
.menu-wrapper {
  width: min(100% - (var(--gutter) * 2), 1000px);
  margin: clamp(2rem, 5vw, 4rem) auto;
  padding: clamp(1.75rem, 3.5vw, 3rem);
  background: var(--shell);
  border-radius: var(--radius-lg);
}
.menu-tabs { display: flex; justify-content: center; margin-bottom: 2rem; flex-wrap: wrap; gap: 0.5rem; }
.tab {
  background: transparent;
  border: 2px solid var(--deep-ocean);
  color: var(--deep-ocean);
  padding: 0.6em 1.4em;
  border-radius: var(--pill);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab.active { background: var(--deep-ocean); color: var(--sand-dollar); }
.menu-grid { display: none; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
.menu-grid.active { display: grid; }
.menu-grid h2 {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--anemone);
  font-size: clamp(1.75rem, 1.2rem + 2vw, 2.75rem);
}
.menu-item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.15rem; margin: 0 0 0.25rem; }
.menu-item p { margin: 0; font-size: 0.95rem; color: var(--ink-soft); }

/* ---------------------------------------------------------------------
   20. Helpers
   --------------------------------------------------------------------- */
.no-scroll { overflow: hidden; }

/* ---------------------------------------------------------------------
   21. Responsive
   --------------------------------------------------------------------- */
@media (max-width: 860px) {
  .contact__grid { grid-template-columns: 1fr; }
  .contact__art { order: 2; }

  /* Drinks packages: icon on the left, heading + description on the right */
  .drinks h2 { text-align: left; max-width: 460px; margin-inline: auto; }
  .drinks-grid { grid-template-columns: 1fr; max-width: 460px; gap: clamp(1.25rem, 4vw, 2rem); }
  .drink-item {
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "img h3"
      "img p";
    align-items: center;
    column-gap: 1.25rem;
    text-align: left;
  }
  .drink-item img { grid-area: img; margin: 0; }
  .drink-item h3 { grid-area: h3; margin: 0 0 0.15rem; }
  .drink-item p { grid-area: p; }
}

@media (max-width: 760px) {
  /* Extra breathing room above the first section on mobile */
  body:not(.subpage) main { padding-top: max(var(--page-pad), 5svh); }

  .features { grid-template-columns: repeat(2, 1fr); }
  .feature { min-height: clamp(240px, 42vw, 360px); }
  .bites-grid { grid-template-columns: repeat(2, 1fr); }

  /* Spaces gallery becomes a horizontal scroller on mobile */
  .space-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: clamp(1.5rem, 4vw, 2.5rem);
    padding: clamp(1.5rem, 4vw, 2.5rem) 0;
    -webkit-overflow-scrolling: touch;
  }
  .space-scroll::-webkit-scrollbar { height: 0; }
  /* leading/trailing spacers keep the first & last images inset */
  .space-scroll::before,
  .space-scroll::after {
    content: "";
    flex: 0 0 calc(clamp(1.5rem, 4vw, 2.5rem) - 1rem);
  }
  .space-scroll-item { flex: 0 0 min(80vw, 520px); scroll-snap-align: start; }

  /* Order section keeps its desktop layout: 1 vertical card + 2 horizontal */

  /* Mobile nav */
  .icon { display: inline-flex; z-index: 40; }

  /* Tint + blur the rest of the page behind the open menu panel.
     Always present but transparent, so opacity/blur fade in on the same
     0.3s timing as the menu slide. */
  body::before {
    content: "";
    position: fixed;
    inset: 0;
    background: rgba(7, 96, 155, 0.28);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 15;
  }
  body.no-scroll::before {
    opacity: 1;
    pointer-events: auto;
  }
  .topnav {
    position: fixed;
    inset: 0 -100% 0 auto;
    width: min(85vw, 360px);
    height: 100dvh;
    flex-direction: column;
    justify-content: flex-start;
    gap: 2.4rem;
    padding: 6.5rem 2rem 2.5rem;
    background: rgba(7, 96, 155, 0.96);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-lg) 0 0 var(--radius-lg);
    margin-left: 0;
    transition: right 0.3s ease;
    z-index: 30;
  }
  .topnav.show { right: 0; }
  .topnav a.nav-link { font-size: 3.5rem; text-shadow: none; min-height: 44px; display: inline-flex; align-items: center; }
  .topnav a.nav-link-reserve {
    margin-top: auto;            /* pushed to the bottom of the panel */
    font-size: 1.2rem;
    padding: 0.75em 2em;
    background: var(--sand-dollar);
    color: var(--deep-ocean);
    border-color: var(--sand-dollar);
  }
  .topnav a.nav-link-reserve:hover {
    background: transparent;
    color: var(--sand-dollar);
    border-color: var(--sand-dollar);
  }

  /* Subpages: the slide-in panel is still the dark ocean overlay, so keep its
     links and Reservations pill light (overrides the desktop dark treatment) */
  body.subpage .topnav a.nav-link { color: var(--sand-dollar); }
  body.subpage .topnav a.nav-link-reserve {
    background: var(--sand-dollar);
    color: var(--deep-ocean);
    border-color: var(--sand-dollar);
  }
  body.subpage .topnav a.nav-link-reserve:hover {
    background: transparent;
    color: var(--sand-dollar);
    border-color: var(--sand-dollar);
  }
}

@media (max-width: 420px) {
  .bites-grid { grid-template-columns: 1fr; }
}
