/* ============================================================
   Pan & Kof.feé — Flagship Store
   Pure vanilla CSS. Fraunces display serif + Inter body.
   Palette: ivory / ink / stone / sage.
   Same production conventions as Boutique v4-minimal;
   adapted for a coffeeshop: radius softened to 6px,
   ochre accent replaced with sage, hover-image swaps on
   picks, slide-fill CTA button (Kokako-inspired).
   ============================================================ */

/* ── DESIGN TOKENS ─────────────────────────────────────────── */

:root {
  /* Core palette */
  --ivory:       #f2efe8;    /* warm off-white, matched to card */
  --ink:         #14110d;
  --wood:        #1c0e06;    /* very dark walnut — section backgrounds */
  --stone:       #8a7e6b;
  --espresso:    #5c3120;    /* deep coffee brown — buttons, CTAs, active states */
  --forest:      #4a6b52;    /* forest green — accents, flavor notes, story */
  --sage:        #4a6b52;    /* alias → forest (keeps existing references) */
  --sage-light:  #e2ebe4;    /* updated tint to match forest */
  --hairline:    rgba(20, 17, 13, 0.12);
  --hairline-2:  rgba(20, 17, 13, 0.06);

  /* Derived surfaces */
  --paper:       #ffffff;
  --fog:         rgba(247, 243, 235, 0.92);  /* header backdrop */

  /* Typography */
  --font-display: "Fraunces", "DM Serif Display", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* Shape */
  --radius:      0px;
  --radius-lg:   10px;
  --container:   1180px;
  --gutter:      clamp(1.5rem, 5vw, 4rem);

  /* Motion */
  --ease:        cubic-bezier(0.22, 1, 0.36, 1);
  --t-fast:      160ms;
  --t-base:      220ms;
  --t-slow:      450ms;

  /* Elevation */
  --shadow-1:    0 1px 3px rgba(20, 17, 13, 0.08);
  --shadow-2:    0 1px 3px rgba(20, 17, 13, 0.06), 0 8px 24px rgba(20, 17, 13, 0.10);
  --shadow-3:    0 1px 3px rgba(20, 17, 13, 0.08), 0 18px 48px rgba(20, 17, 13, 0.16);
}

/* ── RESET ──────────────────────────────────────────────────── */

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--ivory);
  font-feature-settings: "ss01", "cv11";
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, video {
  max-width: 100%;
  display: block;
}

button  { font: inherit; cursor: pointer; border: none; background: none; }
input,
select  { font: inherit; color: inherit; }
a       { color: inherit; text-decoration: none; }

h1, h2, h3, h4 {
  margin: 0;
  font-weight: 400;
  letter-spacing: -0.01em;
}

p  { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

/* ── SKIP LINK ──────────────────────────────────────────────── */

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 9999;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.625rem 0.875rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-family: var(--font-body);
  transition: top var(--t-base) var(--ease);
}

.skip-link:focus { top: 1rem; }

/* ── FOCUS VISIBLE ──────────────────────────────────────────── */

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

/* ── LAYOUT — CONTAINER ─────────────────────────────────────── */

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

main { display: block; }

/* ── GRAIN OVERLAY ──────────────────────────────────────────── */
/*
   Fixed noise texture — adds analogue warmth without weight.
   SVG feTurbulence, opacity kept at 0.04 so it reads as
   surface texture rather than dirt.
*/

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
}

/* ── VISUALLY HIDDEN (a11y utility) ─────────────────────────── */

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ─────────────────────────────────────────────────────────────
   HEADER
   Sticky, starts transparent if hero underlaps; solid on scroll
   (add .is-stuck via JS IntersectionObserver or scroll handler).
   ───────────────────────────────────────────────────────────── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition:
    background 300ms var(--ease),
    border-color 300ms var(--ease);
}

/* Solid header once user scrolls past hero */
.site-header.is-stuck {
  background: var(--fog);
  border-bottom-color: var(--hairline);
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 1rem;
  max-width: 100%;
}

/* Brand / logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.brand img {
  height: 96px;
  width: auto;
  display: block;
}

/* Brand text fallback (when no logo img) */
.brand-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  letter-spacing: -0.01em;
  color: var(--ink);
}

/* Primary nav */
.nav {
  display: none;                  /* hidden on mobile; shown ≥ 880px */
  align-items: center;
  gap: 2rem;
}

.nav a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.09em;
  color: rgba(247, 243, 235, 0.85);  /* ivory over hero */
  text-decoration: none;
  position: relative;
  padding-block: 4px;
  transition: color 300ms var(--ease), opacity var(--t-base) var(--ease);
}

/* Switch to ink once header is solid */
.site-header.is-stuck .nav a {
  color: var(--ink);
  opacity: 0.7;
}
.site-header.is-stuck .nav a:hover {
  opacity: 1;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
}

.nav a:hover       { opacity: 1; }
.nav a:hover::after { transform: scaleX(1); }

/* Hamburger toggle — visible on mobile only */
.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  padding: 0;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  height: 1px;
  background: rgba(247, 243, 235, 0.85); /* ivory over hero */
  border-radius: 1px;
  transition: transform var(--t-base) var(--ease),
              opacity var(--t-base) var(--ease),
              background 300ms var(--ease);
}

.site-header.is-stuck .nav-toggle span {
  background: var(--ink);
}

@media (min-width: 880px) {
  .nav        { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Mobile nav — slides down when .is-open */
@media (max-width: 879px) {

  .nav.is-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--ivory);
    border-bottom: 1px solid var(--hairline);
    padding: 1.25rem var(--gutter);
    gap: 1rem;
    z-index: 99;
  }

  .nav.is-open a {
    font-size: 1rem;
    opacity: 0.85;
  }
}

/* ─────────────────────────────────────────────────────────────
   BUTTONS
   Primary pattern: slide-fill (Kokako-inspired). The ::before
   pseudo-element slides in from the right on hover, filling
   the border-box with --sage. Text sits on z-index 1 above it.
   ───────────────────────────────────────────────────────────── */

.btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.7rem 1.5rem;
  border: 1px solid var(--espresso);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  background: transparent;
  border-radius: var(--radius);
  transition: color var(--t-slow) var(--ease);
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--espresso);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--t-slow) var(--ease);
  z-index: 0;
}

.btn:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn:hover { color: #fff; }

/* All direct children ride above the fill layer */
.btn span,
.btn > * {
  position: relative;
  z-index: 1;
}

/* Ink-fill variant — for use on light hero / section CTAs */
.btn-ink {
  border-color: rgba(247, 243, 235, 0.75);
  color: rgba(247, 243, 235, 0.9);
}

.btn-ink::before { background: var(--ivory); }
.btn-ink:hover   { color: var(--ink); }

/* ─────────────────────────────────────────────────────────────
   HERO
   Full-viewport crossfade slideshow. Slides swap via JS adding
   .is-active. Dark gradient overlay burns in from bottom so
   wordmark remains legible on any image.
   ───────────────────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  background: #111;
}

/* Slide container — fills the hero */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  z-index: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  display: block;
}

/* Double vignette: dark at top (nav legibility) + dark at bottom (wordmark).
   Clear window in the middle keeps the photo readable. */
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(20, 17, 13, 0.55) 0%,
    rgba(20, 17, 13, 0.0)  28%,
    rgba(20, 17, 13, 0.0)  52%,
    rgba(20, 17, 13, 0.72) 100%
  );
}

/* Slide 3 (second floor) — shift down to show the chairs */
.hero-slide:nth-child(3) img {
  object-position: center 72%;
}

/* Inner content: anchored to bottom */
.hero-inner {
  position: absolute;
  bottom: clamp(3rem, 8vw, 5rem);
  left: 0;
  right: 0;
  z-index: 2;
}

.hero-text {
  display: inline-block;
  background: radial-gradient(ellipse at 40% 50%, rgba(14, 11, 8, 0.18) 0%, transparent 70%);
  padding: 1.5rem 2rem 1.75rem;
}

.hero-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.75);
  margin-bottom: 1rem;
}

.hero-wordmark {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 400;
  line-height: 0.95;
  color: #f7f3eb;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

/* Slightly lighter sage for contrast on the dark-gradient hero */
.hero-wordmark .accent { color: var(--sage-light); }

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: rgba(247, 243, 235, 0.8);
  margin-top: 0.75rem;
  letter-spacing: 0.03em;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

/* Slide pagination dots */
.hero-dots {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.hero-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(247, 243, 235, 0.4);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s ease,
              transform 0.3s ease;
}

.hero-dot.is-active {
  background: #f7f3eb;
  transform: scale(1.2);
}

.hero-dot:hover { background: rgba(247, 243, 235, 0.7); }

/* ─────────────────────────────────────────────────────────────
   SHARED SECTION PRIMITIVES
   Wide-tracking eyebrow label (Onyx-inspired), display-serif
   title, italic lede. Consistent across all content sections.
   ───────────────────────────────────────────────────────────── */

section {
  padding-block: clamp(2rem, 4vw, 3.5rem);
}

/* Eyebrow label — wide tracked uppercase, stone colour */
.section-eyebrow {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

/* Display-weight section heading */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.4rem;
}

/* Lede — sits below title, stays out of heading's way */
.section-lede {
  font-family: var(--font-display);
  font-size: clamp(0.8rem, 1vw, 0.9rem);
  color: var(--stone);
  margin-bottom: 1.5rem;
  max-width: 56ch;
}

/* Section head — eyebrow + title + optional link in one row */
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: clamp(1rem, 2vh, 1.5rem);
}

.section-head .section-meta { flex: 1; }

/* ─────────────────────────────────────────────────────────────
   CHEF'S PICKS
   4-up product grid with dual-image hover swap. Responsive:
   4 → 2 → 1 col. Cards lift 3px on hover.
   ───────────────────────────────────────────────────────────── */

.picks {
  background: var(--wood);
}

.picks .section-eyebrow {
  color: rgba(247, 243, 235, 0.5);
}

.picks .section-title {
  color: var(--ivory);
}

.picks .section-lede {
  color: rgba(247, 243, 235, 0.6);
}

.picks-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  margin-inline: calc(-1 * var(--gutter));
}


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

/* Individual pick card — image fills the whole card, no background */
.pick-card {
  border-radius: var(--radius);
  overflow: hidden;
}

/* Image container — landscape, compact */
.pick-media {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--sage-light);
}

/* Dark gradient at bottom for name legibility */
.pick-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(20,17,13,0.72) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

/* Name overlay — sits above the gradient */
.pick-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.1rem;
  z-index: 2;
}

.pick-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 400;
  color: #f7f3eb;
  line-height: 1.2;
}

/* Avocado card (3rd) default image — shift down to show full dish */
.pick-card:nth-child(2) .pick-img-default {
  object-position: center 60%;
}

.pick-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.5s ease;
}

.pick-img-default { opacity: 1; }
.pick-img-hover   { opacity: 0; }

/* Swap images on card hover */
.pick-card:hover .pick-img-default { opacity: 0; }
.pick-card:hover .pick-img-hover   { opacity: 1; }


/* ─────────────────────────────────────────────────────────────
   STORY STRIP
   Full-bleed two-column: wide image + copy. Flips to stacked
   on mobile, image above copy.
   ───────────────────────────────────────────────────────────── */

.story {
  overflow: hidden;
  padding-block: 0;
}

.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

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

.story-copy {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #f2efe8;
}

/* Photos directly under tagline */
.story-copy-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 220px;
  margin-top: 1.25rem;
}

.story-copy-photos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.story-tiles-img {
  width: 100%;
  flex: 1;
  min-height: 0;
  object-fit: cover;
  display: block;
  margin-top: 2px;
}

@media (max-width: 480px) {
  .story-copy-photos { height: 160px; }
}

/* Roastery as inline 3rd column */
.story-roastery-col {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--ivory);
  border-left: 1px solid var(--hairline);
}

.roastery-bag-img {
  width: 75%;
  margin: 0 auto 1.5rem;
  object-fit: contain;
  display: block;
}

.story-title {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 1.8vw, 1.4rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 0.75rem;
}

.story-body {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--stone);
  margin-bottom: 1rem;
  max-width: 48ch;
}

.story-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.85rem;
  color: var(--sage);
  margin-bottom: 1rem;
}

/* ─────────────────────────────────────────────────────────────
   BEHIND THE COUNTER
   Left thumbnail strip + large main image. Thumbnails are
   equal-height flex children; main image fills remaining width.
   Auto-advances every 3s via JS.
   ───────────────────────────────────────────────────────────── */

.counter {
  background: var(--wood);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: 0;
}

.counter .section-title {
  color: var(--ivory);
}

.counter .section-lede {
  color: rgba(247, 243, 235, 0.6);
}

/* Dock magnification — fixed-height wrapper prevents layout shift */
.dock-wrapper {
  height: 260px; /* matches JS MAX_H — never changes, Events never shakes */
  position: relative;
  overflow: hidden;
  margin-top: 2.5rem;
}

.dock-row {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: flex-end;
  gap: 2px;
  user-select: none;
}

.dock-item {
  flex: 0 0 var(--dock-w, 12.5%);
  height: var(--dock-h, 110px);
  overflow: hidden;
  will-change: flex-basis, height;
  transition: flex-basis 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              height 0.14s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.dock-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 640px) {
  .dock-wrapper { height: 110px; }
  .dock-item { transition: none; }
}

/* ─────────────────────────────────────────────────────────────
   FROM THE MENU
   3-col portrait grid — taller crops feel editorial.
   Collapses to 1 col on mobile.
   ───────────────────────────────────────────────────────────── */

.menu-more {
  background: var(--ivory);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2.5rem;
}

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

.menu-item {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;        /* portrait — feels magazine */
  background: var(--sage-light);
}

.menu-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.menu-item:hover img { transform: scale(1.03); }

/* ─────────────────────────────────────────────────────────────
   VISIT US + FROM THE MENU (combined)
   Left: 3 menu photos (1 wide + 2 equal). Right: visit info.
   ───────────────────────────────────────────────────────────── */

.visit {
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(1rem, 2vw, 1.5rem);
}

/* Visit info — centered single column */
.visit-content {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}

.visit-lede {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.4rem);
  color: var(--ink);
  margin-bottom: 2.5rem;
  line-height: 1.35;
}

/* Two sub-columns inside visit (address + hours) */
.visit-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  text-align: left;
}

@media (max-width: 520px) {
  .visit-cols { grid-template-columns: 1fr; }
}

.visit-col-heading {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  font-weight: 400;
  margin-bottom: 1rem;
}

/* Address block */
.visit-address {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.8;
  color: var(--stone);
}

/* Hours table — custom flex rows, not a <table> */
.hours-table {
  width: 100%;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--hairline);
  font-size: 1rem;
}

.hours-row:last-of-type { border-bottom: none; }

.hours-row .day  { color: var(--ink); }
.hours-row .time { color: var(--stone); font-variant-numeric: tabular-nums; }

/* Small print below hours */
.visit-note {
  font-size: 0.85rem;
  color: var(--stone);
  margin-top: 1rem;
  font-style: italic;
  line-height: 1.55;
}

/* ─────────────────────────────────────────────────────────────
   FOOTER
   Dark ink background. Three-column top (brand + 2 link cols),
   hashtag / copyright bottom bar.
   ───────────────────────────────────────────────────────────── */

.site-footer {
  background: var(--wood);
  color: var(--ivory);
  padding-block: clamp(3rem, 6vw, 5rem);
}

/* Top grid: brand (2fr) + 2 link columns (1fr each) */
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(247, 243, 235, 0.12);
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Brand column wrapper */
.footer-identity { display: flex; flex-direction: column; }

.footer-brand {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 0.8rem;
  color: rgba(247, 243, 235, 0.5);
  line-height: 1.6;
  max-width: 30ch;
}

/* Link columns */
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 243, 235, 0.45);
  margin-bottom: 1rem;
  font-weight: 400;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-col a {
  font-size: 0.875rem;
  color: rgba(247, 243, 235, 0.7);
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.footer-col a svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
}

.footer-col a:hover { color: var(--ivory); }

/* Bottom bar */
.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-hashtags {
  font-size: 0.75rem;
  color: rgba(247, 243, 235, 0.4);
  letter-spacing: 0.05em;
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(247, 243, 235, 0.35);
}

/* Reveal motion intentionally omitted — no scroll animations per spec */

/* ─────────────────────────────────────────────────────────────
   UTILITY SUPPLEMENTS
   ───────────────────────────────────────────────────────────── */

/* Hairline rule — used as decorative divider */
.rule {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

/* Sage pill tag — e.g. seasonal / limited */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: var(--sage-light);
  color: var(--sage);
  font-weight: 500;
}

/* Dot separator — used in pick-notes between pipe items */
.pipe {
  color: var(--sage-light);
  margin-inline: 0.3em;
  font-weight: 300;
}

/* ─────────────────────────────────────────────────────────────
   RESPONSIVE SAFEGUARDS
   Container and section padding tighten gracefully at each
   breakpoint. Grid columns already declared inline above;
   this block handles any overrides that didn't fit there.
   ───────────────────────────────────────────────────────────── */

/* picks footer — centered CTA below the grid */
.picks-footer {
  margin-top: 2.5rem;
  display: flex;
  justify-content: center;
}

/* 768 — story + footer already handled; nav hides */
@media (max-width: 768px) {
  section { padding-block: clamp(3rem, 6vw, 5rem); }
  .story  { padding-block: 0; } /* re-assert full-bleed after section override */
}

/* 1024 — picks drop to 2-col */
@media (max-width: 1024px) {
  .picks-grid { grid-template-columns: repeat(2, 1fr); }
}

/* 520 — picks go 1-col */
@media (max-width: 520px) {
  .picks-grid { grid-template-columns: 1fr; }
  .counter-grid { grid-template-columns: repeat(2, 1fr); }

  .hero-wordmark { letter-spacing: -0.03em; }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   PICKS — 4-COLUMN OVERRIDE + BREAKFAST NOTE
   ───────────────────────────────────────────────────────────── */

.picks-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: rgba(247, 243, 235, 0.55);
  letter-spacing: 0.04em;
  font-style: italic;
  margin-bottom: 1.5rem;
}

.picks-grid--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .picks-grid--4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .picks-grid--4 { grid-template-columns: 1fr; }
}

/* ─────────────────────────────────────────────────────────────
   SOCIAL STRIP
   Compact follow-button row between picks and merch.
   ───────────────────────────────────────────────────────────── */

.social-strip {
  background: var(--ivory);
  padding-block: 1.25rem;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.social-strip .container {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.social-strip-label {
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  white-space: nowrap;
  flex-shrink: 0;
}

.social-strip-buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  align-items: center;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--hairline);
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  background: transparent;
}

.social-btn svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.75;
}

.social-btn--ig     { background: #C13584; border-color: #C13584; color: #fff; }
.social-btn--ig:hover { background: #a0296d; border-color: #a0296d; color: #fff; }

.social-btn--tiktok { background: #010101; border-color: #010101; color: #fff; }
.social-btn--tiktok:hover { background: #2a2a2a; border-color: #2a2a2a; color: #fff; }

.social-btn--fb     { background: #1877F2; border-color: #1877F2; color: #fff; }
.social-btn--fb:hover { background: #1465d3; border-color: #1465d3; color: #fff; }

@media (max-width: 600px) {
  .social-strip .container { gap: 1rem; }
  .social-strip-label { width: 100%; }
}

/* ─────────────────────────────────────────────────────────────
   MERCH STRIP
   Text-only editorial row. Quiet, no photos.
   ───────────────────────────────────────────────────────────── */

.merch {
  background: var(--ivory);
  padding-block: 1.25rem;
  border-bottom: 1px solid var(--hairline);
}

.merch-eyebrow {
  text-align: center;
  margin-bottom: 0.75rem;
}

.merch-items {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.merch-item {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink);
  letter-spacing: 0.01em;
}

.merch-divider {
  color: var(--stone);
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────
   ORDERS
   Two-block grid: individual vs large orders. Ivory bg.
   ───────────────────────────────────────────────────────────── */

.orders {
  background: var(--ivory);
  padding-block: 0;
}

.orders-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

@media (max-width: 768px) {
  .orders-layout { grid-template-columns: 1fr; }
  .orders-photo  { display: none; }
}

.orders-body {
  padding: clamp(1.5rem, 4vw, 2.5rem);
}

.orders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-top: 1rem;
}

@media (max-width: 480px) {
  .orders-grid { grid-template-columns: 1fr; gap: 0.75rem; }
}

.orders-block {
  padding: 1.1rem 1.25rem;
  border: 1px solid var(--hairline);
}

.orders-block-head {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.orders-rule {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0 0 0.75rem;
}

.orders-block-detail {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone);
}

.orders-block-detail strong {
  color: var(--ink);
  font-weight: 500;
}

.orders-note {
  font-family: var(--font-body);
  font-size: 0.78rem;
  color: var(--stone);
  font-style: italic;
  margin-top: 1rem;
}

.orders-whatsapp {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  white-space: nowrap;
}

.orders-photo {
  overflow: hidden;
  align-self: start;
}

.orders-photo img {
  width: 100%;
  height: 450px;
  object-fit: cover;
  object-position: center 35%;
  display: block;
}

/* ─────────────────────────────────────────────────────────────
   SPACE — TWO FLOORS
   Dark wood bg. Hover-swap photos per floor.
   ───────────────────────────────────────────────────────────── */

.space {
  background: var(--wood);
}

.space .section-eyebrow { color: rgba(247, 243, 235, 0.5); }
.space .section-title   { color: var(--ivory); }

.space-floors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (max-width: 768px) {
  .space-floors { grid-template-columns: 1fr; }
}

.space-floor {
  display: flex;
  flex-direction: column;
}

.space-floor-media {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: rgba(247, 243, 235, 0.06);
}

.space-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

.space-img-default { opacity: 1; }
.space-img-hover   { opacity: 0; }

.space-floor-media:hover .space-img-default { opacity: 0; }
.space-floor-media:hover .space-img-hover   { opacity: 1; }

.space-floor-copy {
  padding: 1.25rem 0 0;
}

.space-floor-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--sage-light);
  margin-bottom: 0.4rem;
}

.space-floor-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--ivory);
  margin-bottom: 0.5rem;
}

.space-floor-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: rgba(247, 243, 235, 0.55);
}

.space-amenities {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: rgba(247, 243, 235, 0.35);
  text-align: center;
  margin-top: 2rem;
}

/* ─────────────────────────────────────────────────────────────
   ROASTERY
   Ivory bg. Left-aligned copy + origins row + CTA.
   ───────────────────────────────────────────────────────────── */

.roastery {
  background: var(--ivory);
}

.roastery-inner {
  max-width: 560px;
}

/* Roastery content merged inside the story section */
.story-roastery {
  background: var(--ivory);
  padding: clamp(2rem, 4vw, 3rem) 0 clamp(2.5rem, 5vw, 4rem);
  border-top: 1px solid var(--hairline);
}

.roastery-body {
  font-family: var(--font-body);
  font-size: 0.875rem;
  line-height: 1.75;
  color: var(--stone);
  margin: 0.75rem 0 1.5rem;
  max-width: 52ch;
}

.roastery-origins {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.roastery-origin {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--ink);
}

.roastery-origin-sep {
  color: var(--stone);
  font-size: 0.8rem;
}

/* ─────────────────────────────────────────────────────────────
   EVENTS
   Dark wood bg. Ivory cards inside.
   ───────────────────────────────────────────────────────────── */

.events {
  background: var(--wood);
}

.events .section-eyebrow { color: rgba(247, 243, 235, 0.5); }
.events .section-title   { color: var(--ivory); }

.events-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

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

.event-card {
  background: var(--ivory);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.event-card-status {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  font-weight: 500;
  width: fit-content;
}

.event-card-status--upcoming {
  background: var(--sage-light);
  color: var(--sage);
}

.event-card-status--past {
  background: rgba(20, 17, 13, 0.06);
  color: var(--stone);
}

.event-card-name {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
}

.event-card-date {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--stone);
  letter-spacing: 0.04em;
}

.event-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
}

.event-card-desc {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--stone);
}

.event-card-desc a {
  color: var(--sage);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ─────────────────────────────────────────────────────────────
   PLAYLISTS
   Minimal centered section. Ivory bg.
   ───────────────────────────────────────────────────────────── */

.playlists {
  background: var(--ivory);
  border-top: 1px solid var(--hairline);
  padding-block: clamp(1.25rem, 3vw, 2rem);
}

.playlists-inner {
  max-width: 480px;
}

.playlists-body {
  font-family: var(--font-body);
  font-size: 0.8rem;
  line-height: 1.6;
  color: var(--stone);
  margin: 0.35rem 0 1rem;
}

.playlists-btn {
  gap: 0.6rem;
}

.playlists-btn svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

/* Playlist cards — 4-col grid, each links to Spotify */
.playlists-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.85rem;
}

@media (max-width: 700px) {
  .playlists-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.playlist-card {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 0.85rem 0.8rem;
  border: 1px solid var(--hairline);
  text-decoration: none;
  color: var(--ink);
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  background: transparent;
}

/* Per-playlist hover colors */
/* Faded color at rest, full color on hover */
.playlist-card:nth-child(1) { background: rgba(200,130,58,0.12); border-color: rgba(200,130,58,0.25); }
.playlist-card:nth-child(2) { background: rgba(168,75,53,0.12);  border-color: rgba(168,75,53,0.25); }
.playlist-card:nth-child(3) { background: rgba(61,78,122,0.12);  border-color: rgba(61,78,122,0.25); }
.playlist-card:nth-child(4) { background: rgba(79,114,85,0.12);  border-color: rgba(79,114,85,0.25); }

.playlist-card:nth-child(1):hover { background: #C8823A; border-color: #C8823A; color: #fff; }
.playlist-card:nth-child(2):hover { background: #A84B35; border-color: #A84B35; color: #fff; }
.playlist-card:nth-child(3):hover { background: #3D4E7A; border-color: #3D4E7A; color: #fff; }
.playlist-card:nth-child(4):hover { background: #4F7255; border-color: #4F7255; color: #fff; }

.playlist-card-icon {
  width: 14px;
  height: 14px;
  stroke-width: 1.5;
  color: var(--stone);
  transition: color var(--t-base) var(--ease);
}

.playlist-card:hover .playlist-card-icon {
  color: rgba(255, 255, 255, 0.6);
}

.playlist-card-name {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 400;
  line-height: 1.2;
  flex: 1;
}

.playlist-card-cta {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--stone);
  transition: color var(--t-base) var(--ease);
}

.playlist-card:hover .playlist-card-cta {
  color: rgba(255, 255, 255, 0.65);
}

/* ─────────────────────────────────────────────────────────────
   VISIT — INSTAGRAM LINK
   ───────────────────────────────────────────────────────────── */

.visit-instagram {
  margin-top: 2rem;
  padding-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.visit-ig-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
  text-decoration: none;
  transition: color var(--t-base) var(--ease);
}

.visit-ig-link svg {
  width: 16px;
  height: 16px;
  stroke-width: 1.75;
}

.visit-ig-link:hover { color: var(--sage); }

/* ─────────────────────────────────────────────────────────────
   NAV — SOCIAL ICON BUTTONS
   Round icon-only buttons; match .social-btn sizing but styled
   for use on both transparent (hero) and solid (scrolled) header.
   ───────────────────────────────────────────────────────────── */

.nav-socials {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid rgba(247, 243, 235, 0.4);
  border-radius: 50%;
  color: rgba(247, 243, 235, 0.85);
  text-decoration: none;
  flex-shrink: 0;
  transition: background var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease),
              color var(--t-base) var(--ease);
  background: transparent;
}

.nav-social-btn svg {
  width: 13px;
  height: 13px;
  stroke-width: 1.75;
}

/* Switch to ink tones once header is solid */
.site-header.is-stuck .nav-social-btn {
  border-color: var(--hairline);
  color: var(--ink);
  opacity: 0.7;
}

.site-header.is-stuck .nav-social-btn:hover {
  opacity: 1;
  background: var(--hairline-2);
  border-color: rgba(20, 17, 13, 0.2);
}

.nav-social-btn:hover {
  border-color: rgba(247, 243, 235, 0.8);
  color: #fff;
  opacity: 1;
}

/* ─────────────────────────────────────────────────────────────
   SOCIAL WIDGETS
   Four-col grid. Facebook Page Plugin, TripAdvisor card,
   Instagram and TikTok follow cards.
   ───────────────────────────────────────────────────────────── */

.social-widgets {
  background: var(--ivory);
  padding-block: clamp(1rem, 2vw, 1.5rem);
}

.social-widgets-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
  align-items: start;
}

@media (max-width: 900px) {
  .social-widgets-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 520px) {
  .social-widgets-grid { grid-template-columns: 1fr; }
}

.social-widget-block {
  display: flex;
  flex-direction: column;
}

.social-widget-label {
  font-family: var(--font-body);
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 0.75rem;
}

.social-widget-block--fb .fb-page { max-width: 100%; overflow: hidden; }

.tripadvisor-card {
  border: 1px solid var(--hairline);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.tripadvisor-logo {
  font-size: 1.4rem;
  color: #00aa6c;
  margin-bottom: 0.25rem;
}

.tripadvisor-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--ink);
}

.tripadvisor-location {
  font-family: var(--font-body);
  font-size: 0.8rem;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.tripadvisor-link { margin-top: 0.5rem; }

.social-follow-card {
  border: 1px solid var(--hairline);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.social-follow-icon {
  width: 28px;
  height: 28px;
  stroke-width: 1.5;
  color: var(--stone);
  margin-bottom: 0.5rem;
}

.social-follow-handle {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink);
  letter-spacing: 0.01em;
}

/* ── Language toggle ── */
.lang-toggle {
  background: none;
  border: 1px solid rgba(247,243,235,0.45);
  color: rgba(247,243,235,0.85);
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  padding: 4px 10px;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 200ms, color 200ms, background 200ms;
  white-space: nowrap;
}
.lang-toggle:hover {
  border-color: rgba(247,243,235,0.9);
  color: rgba(247,243,235,1);
}
.site-header.is-stuck .lang-toggle {
  border-color: rgba(20,17,13,0.35);
  color: rgba(20,17,13,0.7);
}
.site-header.is-stuck .lang-toggle:hover {
  border-color: rgba(20,17,13,0.8);
  color: rgba(20,17,13,1);
}
.lang-toggle .lang-active {
  font-weight: 600;
}
