/* ==========================================================================
   Zeste — specialty coffee shop landing page
   Plain CSS, no build step. Sections in order:
   1. Tokens  2. Reset  3. Utilities  4. Buttons  5. Header
   6. Hero  7. Ticker  8. Story  9. Menu  10. Signature
   11. Gallery  12. Quotes  13. Visit  14. Footer  15. Motion & responsive
   ========================================================================== */

/* ── 1. Tokens ─────────────────────────────────────────────────────────── */
:root {
  /* Palette: dark espresso, warm cream, citrus accent */
  --espresso:   #1c1310;
  --espresso-2: #2a1d18;
  --coffee:     #5b3c2e;
  --cream:      #fbf6ee;
  --cream-2:    #f3e9db;
  --sand:       #e6d5bf;
  --citrus:     #e8833a;
  --citrus-dk:  #c9662a;
  --leaf:       #4d6b4f;

  --surface:      var(--cream);
  --surface-alt:  var(--cream-2);
  --ink:          var(--espresso);
  --ink-soft:     #6b544a;
  --ink-faint:    #9c8578;
  --line:         rgba(28, 19, 16, .12);

  --font-display: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-body:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --shell: 1180px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 18px;
  --radius-lg: 28px;

  --shadow-sm: 0 1px 2px rgba(28, 19, 16, .06), 0 4px 12px rgba(28, 19, 16, .05);
  --shadow-md: 0 2px 6px rgba(28, 19, 16, .07), 0 18px 40px -12px rgba(28, 19, 16, .18);
  --shadow-lg: 0 30px 70px -20px rgba(28, 19, 16, .35);

  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ── 2. Reset ──────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: clamp(1rem, .95rem + .2vw, 1.0625rem);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { display: block; max-width: 100%; }
button { font: inherit; color: inherit; }
a { color: inherit; }

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.015em;
  margin: 0 0 .6em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.01em; }
p  { margin: 0 0 1.1em; max-width: 62ch; }

/* ── 3. Utilities ──────────────────────────────────────────────────────── */
.shell {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: clamp(4.5rem, 10vw, 8.5rem); }

.section-head { max-width: 46rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-head .section-lede { color: var(--ink-soft); font-size: 1.075rem; }

.eyebrow {
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--citrus-dk);
  margin-bottom: 1.1rem;
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  background: var(--espresso); color: var(--cream);
  padding: .75rem 1.1rem; border-radius: 0 0 10px 10px;
  text-decoration: none; font-weight: 600;
}
.skip-link:focus-visible { top: 0; }

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

/* ── 4. Buttons ────────────────────────────────────────────────────────── */
.btn {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-size: .95rem;
  font-weight: 600;
  letter-spacing: -.005em;
  text-decoration: none;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s var(--ease),
              border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  --btn-bg: var(--espresso);
  --btn-fg: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { --btn-bg: var(--coffee); box-shadow: var(--shadow-md); }

.btn-ghost { border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); background: rgba(28, 19, 16, .04); }

.btn-lg { padding: 1rem 1.75rem; font-size: 1rem; }

/* ── 5. Header ─────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 246, 238, .86); /* fallback for no color-mix() */
  background: color-mix(in srgb, var(--cream) 82%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background-color .3s var(--ease);
}
.site-header.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(251, 246, 238, .96);
  background: color-mix(in srgb, var(--cream) 94%, transparent);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  text-decoration: none;
  color: var(--espresso);
}
.brand-mark { width: 30px; height: 30px; flex: none; }
.brand-text {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -.03em;
}

.site-nav { display: flex; align-items: center; gap: 2rem; }
.site-nav ul {
  display: flex;
  gap: 1.85rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-nav a {
  position: relative;
  font-size: .95rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s var(--ease);
}
.site-nav ul a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -5px;
  width: 100%; height: 1.5px;
  background: var(--citrus);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover { color: var(--ink); }
.site-nav ul a:hover::after,
.site-nav ul a.is-current::after { transform: scaleX(1); }
.site-nav ul a.is-current { color: var(--ink); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle span {
  display: block;
  width: 18px; height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ── 6. Hero ───────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-block: clamp(3rem, 7vw, 6rem) clamp(4rem, 8vw, 7rem);
  overflow: hidden;
}
.hero-glow {
  position: absolute;
  inset: -30% -10% auto auto;
  width: 60vw; height: 60vw;
  max-width: 780px; max-height: 780px;
  background: radial-gradient(circle at 60% 40%,
    rgba(232, 131, 58, .22), rgba(232, 131, 58, .06) 45%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--citrus-dk);
}
.hero-lede {
  font-size: clamp(1.0625rem, 1rem + .35vw, 1.2rem);
  color: var(--ink-soft);
  max-width: 34rem;
}

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

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin: clamp(2.75rem, 6vw, 4rem) 0 0;
  padding-top: 1.75rem;
  border-top: 1px solid var(--line);
}
.hero-stats dt {
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: .3rem;
}
.hero-stats dd {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: -.02em;
}

/* Hero visual — CSS cup */
.hero-visual { position: relative; display: grid; place-items: center; }

.cup-card {
  position: relative;
  width: min(100%, 400px);
  padding: 2.5rem 2rem 1.75rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(120% 90% at 50% 0%, #3a2822 0%, var(--espresso) 55%, #150e0c 100%);
  box-shadow: var(--shadow-lg);
  color: var(--cream);
  overflow: hidden;
}
.cup-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(115deg, rgba(255,255,255,.035) 0 1px, transparent 1px 7px);
  pointer-events: none;
}

.cup-scene { position: relative; height: 190px; display: grid; place-items: end center; }

.cup { position: relative; width: 132px; }
.cup-body {
  position: relative;
  height: 96px;
  border-radius: 10px 10px 52% 52% / 10px 10px 34% 34%;
  background: linear-gradient(175deg, #fdfaf5, #e4dacb 70%, #cabca8);
  box-shadow: inset 0 -14px 22px -12px rgba(28,19,16,.35);
}
.crema {
  position: absolute;
  inset: 7px 8px auto;
  height: 17px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 35% 40%, #c98a4e, #8a4f28 55%, #5d3218);
  box-shadow: inset 0 2px 3px rgba(255,255,255,.35);
}
.cup-handle {
  position: absolute;
  right: -26px; top: 24px;
  width: 34px; height: 40px;
  border: 8px solid #eee4d5;
  border-left-color: transparent;
  border-radius: 0 50% 50% 0;
}
.saucer {
  position: absolute;
  bottom: -12px; left: 50%;
  translate: -50% 0;
  width: 196px; height: 18px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f1e7d8, #cbbca7);
  box-shadow: 0 12px 26px -8px rgba(0,0,0,.6);
}

.steam {
  position: absolute;
  bottom: 108px; left: 50%;
  translate: -50% 0;
  width: 70px; height: 70px;
}
.steam span {
  position: absolute;
  bottom: 0;
  width: 5px; height: 44px;
  border-radius: 999px;
  background: linear-gradient(to top, rgba(251,246,238,.5), transparent);
  animation: steam 3.6s ease-in-out infinite;
}
.steam span:nth-child(1) { left: 12px; animation-delay: 0s; }
.steam span:nth-child(2) { left: 32px; height: 56px; animation-delay: .7s; }
.steam span:nth-child(3) { left: 52px; animation-delay: 1.4s; }

@keyframes steam {
  0%   { opacity: 0; transform: translateY(6px) scaleY(.7); }
  30%  { opacity: .9; }
  100% { opacity: 0; transform: translateY(-34px) scaleY(1.15) translateX(6px); }
}

.cup-caption {
  position: relative;
  display: grid;
  gap: .15rem;
  margin-top: 2.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(251,246,238,.16);
  font-size: .9rem;
  color: rgba(251,246,238,.72);
}
.cup-caption-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--citrus);
}
.cup-caption strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--cream);
}

.bean {
  position: absolute;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: linear-gradient(140deg, #6b4530, #3b241a);
  box-shadow: var(--shadow-sm);
}
.bean::after {
  content: "";
  position: absolute;
  inset: 12% 46%;
  border-radius: 999px;
  background: rgba(28,19,16,.55);
}
.bean-1 { width: 34px; height: 24px; top: 4%;  left: -2%;  rotate: -22deg; }
.bean-2 { width: 26px; height: 19px; bottom: 8%; right: 2%; rotate: 34deg; }
.bean-3 { width: 20px; height: 15px; top: 46%; right: -3%; rotate: 12deg; }

/* ── 7. Ticker ─────────────────────────────────────────────────────────── */
.ticker {
  background: var(--espresso);
  color: var(--cream);
  padding-block: 1rem;
  overflow: hidden;
  border-block: 1px solid rgba(251,246,238,.08);
}
.ticker-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  width: max-content;
  animation: ticker 34s linear infinite;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.ticker-track span:nth-child(even) { color: var(--citrus); font-size: .8rem; }
@keyframes ticker { to { transform: translateX(-50%); } }

/* ── 8. Story ──────────────────────────────────────────────────────────── */
.story { background: var(--surface); }
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.story-media {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  padding-bottom: 3rem;
}
.story-media .photo-tall { aspect-ratio: 4 / 5; }
.story-media .photo-small {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 46%;
  aspect-ratio: 1;
  border: 6px solid var(--surface);
}

/* Shared "photo" component. Until you have photography, each figure holds a
   .photo-ph placeholder (tinted panel + line icon). Swap that <span> for an
   <img> and the cropping below handles any aspect ratio. */
.photo {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--espresso-2);
  box-shadow: var(--shadow-md);
  aspect-ratio: 4 / 3;
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo::after {
  content: attr(data-caption);
  position: absolute;
  inset: auto 0 0;
  padding: 2.5rem 1.1rem .95rem;
  font-size: .82rem;
  font-weight: 500;
  color: rgba(251,246,238,.9);
  background: linear-gradient(to top, rgba(21,14,12,.8), transparent);
}

.photo-ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(150deg, #3a2620, #1d1310);
  color: rgba(251, 246, 238, .5);
}
.photo-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(118deg, rgba(255,255,255,.03) 0 1px, transparent 1px 8px);
}
.photo-ph svg {
  width: 38%;
  max-width: 104px;
  height: auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* Tonal variants, so a grid of placeholders has rhythm. */
.photo-ph.tone-sand   { background: linear-gradient(150deg, #ecdcc6, #c9ad8d); color: rgba(58, 38, 28, .42); }
.photo-ph.tone-citrus { background: linear-gradient(150deg, #e9a869, #c06f2b); color: rgba(38, 19, 6, .42); }
.photo-ph.tone-coffee { background: linear-gradient(150deg, #7c5439, #3f2719); color: rgba(251, 246, 238, .46); }
.photo-ph.tone-leaf   { background: linear-gradient(150deg, #5e7457, #2c3c2a); color: rgba(240, 246, 235, .46); }

.feature-list {
  list-style: none;
  margin: 2.25rem 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
}
.feature-list li { display: flex; gap: 1rem; }
.feature-list p { margin: .2rem 0 0; color: var(--ink-soft); font-size: .96rem; }
.feature-list strong { font-size: 1.02rem; }

.feature-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--sand);
  color: var(--coffee);
}
.feature-icon svg { width: 22px; height: 22px; }

.signature-line {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--ink-faint);
  margin: 0;
}

/* ── 9. Menu ───────────────────────────────────────────────────────────── */
.menu { background: var(--surface-alt); }

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3rem);
  padding: .4rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(251,246,238,.7);
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: .65rem 1.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: .92rem;
  font-weight: 600;
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease);
}
.tab:hover { color: var(--ink); }
.tab.is-active {
  background: var(--espresso);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}

.menu-panel[hidden] { display: none; }
.menu-panel.is-active { animation: fade-up .5s var(--ease) both; }

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.75rem clamp(2rem, 5vw, 4rem);
}
.menu-list > li { padding-bottom: 1.4rem; border-bottom: 1px dashed var(--line); }
.menu-list p { margin: .35rem 0 0; color: var(--ink-soft); font-size: .92rem; max-width: 40ch; }

.menu-item { display: flex; align-items: baseline; gap: .6rem; }
.menu-item h3 { margin: 0; white-space: nowrap; }
.menu-item .dots {
  flex: 1;
  height: 1px;
  min-width: 1rem;
  border-bottom: 1px dotted var(--ink-faint);
  translate: 0 -.2rem;
}
.menu-item .price {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  white-space: nowrap;
}

.tag {
  display: inline-block;
  margin-left: .5rem;
  padding: .15rem .5rem;
  border-radius: 999px;
  background: var(--citrus);
  color: #fff;
  font-family: var(--font-body);
  font-size: .62rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  vertical-align: middle;
}

@keyframes fade-up {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: none; }
}

/* ── 10. Signature ─────────────────────────────────────────────────────── */
.signature {
  background: var(--espresso);
  color: var(--cream);
}
.signature .eyebrow { color: var(--citrus); }
.signature p { color: rgba(251,246,238,.72); }

.signature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.recipe {
  list-style: none;
  counter-reset: step;
  margin: 2rem 0 2.5rem;
  padding: 0;
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}
.recipe li {
  display: flex;
  gap: 1rem;
  align-items: baseline;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(251,246,238,.12);
  color: rgba(251,246,238,.86);
  font-size: .98rem;
}
.recipe li:last-child { border-bottom: 0; padding-bottom: 0; }
.recipe span {
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--citrus);
  letter-spacing: .05em;
}
.signature .btn-primary {
  --btn-bg: var(--cream);
  --btn-fg: var(--espresso);
}
.signature .btn-primary:hover { --btn-bg: #fff; }

/* Signature visual — CSS espresso tonic */
.signature-visual { display: grid; place-items: center; }

.glass {
  position: relative;
  width: 150px;
  height: 270px;
  border-radius: 10px 10px 22px 22px;
  background: linear-gradient(100deg, rgba(255,255,255,.16), rgba(255,255,255,.05));
  border: 2px solid rgba(255,255,255,.28);
  box-shadow:
    inset 0 0 30px rgba(255,255,255,.08),
    0 40px 60px -30px rgba(0,0,0,.8);
  overflow: hidden;
  backdrop-filter: blur(2px);
}
.glass-liquid {
  position: absolute;
  inset: 22% 0 0;
  background: linear-gradient(180deg, #f3c98f, #d78a3c 40%, #a45a1c);
  opacity: .92;
}
.glass-shot {
  position: absolute;
  inset: 22% 0 58%;
  background: linear-gradient(180deg, #4a2a12, rgba(74,42,18,0));
  animation: pour 6s var(--ease) infinite;
}
.glass-ice {
  position: absolute;
  border-radius: 5px;
  background: linear-gradient(140deg, rgba(255,255,255,.55), rgba(255,255,255,.14));
  box-shadow: inset 0 0 8px rgba(255,255,255,.5);
}
.ice-1 { width: 54px; height: 48px; top: 27%; left: 12%; rotate: -12deg; }
.ice-2 { width: 46px; height: 44px; top: 46%; left: 44%; rotate: 18deg; }
.ice-3 { width: 50px; height: 42px; top: 66%; left: 16%; rotate: 6deg; }
.glass-peel {
  position: absolute;
  top: 25%; right: 10%;
  width: 22px; height: 76px;
  border-radius: 999px;
  background: linear-gradient(160deg, #ffb545, #e07a12);
  rotate: 14deg;
  box-shadow: inset -3px 0 6px rgba(255,255,255,.5);
}
.glass-shine {
  position: absolute;
  inset: 0 auto 0 14%;
  width: 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.05));
  filter: blur(1px);
}
@keyframes pour {
  0%, 12%  { opacity: 0; transform: translateY(-14px); }
  30%, 70% { opacity: 1; transform: none; }
  100%     { opacity: .55; transform: translateY(6px); }
}

/* ── 11. Gallery ───────────────────────────────────────────────────────── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(.75rem, 2vw, 1.25rem);
}
.gallery-grid .photo { aspect-ratio: 1; }
.gallery-grid .span-2 { grid-column: span 2; aspect-ratio: 2 / 1; }

/* ── 12. Quotes (DB-driven carousel) ───────────────────────────────────── */
.quotes { padding-block: 0 clamp(4.5rem, 10vw, 8.5rem); }

.quote-carousel { --slides: 3; --quote-gap: clamp(1rem, 2.5vw, 1.75rem); }

/* One scroll container; the buttons just scroll it. Works without JS. */
.quote-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (var(--slides) - 1) * var(--quote-gap)) / var(--slides));
  gap: var(--quote-gap);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  /* Room for the focus ring and card shadows, without a clipped edge. */
  padding: 4px;
  margin: -4px;
  scrollbar-width: none;
}
.quote-track::-webkit-scrollbar { display: none; }
.quote-track:focus-visible { outline: 2px solid var(--citrus); outline-offset: 2px; border-radius: var(--radius); }

.quote {
  margin: 0;
  padding: 2rem 1.75rem 1.75rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-alt);
  scroll-snap-align: start;
}

/* ── Carousel controls ─────────────────────────────────────────────────── */
.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}
.carousel-controls[hidden] { display: none; }

.carousel-btn {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease),
              color .25s var(--ease), transform .25s var(--ease);
}
.carousel-btn:hover:not(:disabled) {
  background: var(--espresso);
  border-color: var(--espresso);
  color: var(--cream);
  transform: translateY(-1px);
}
.carousel-btn svg {
  width: 20px; height: 20px;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

.carousel-dots { display: flex; align-items: center; gap: .5rem; }
.carousel-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ink-faint);
  opacity: .45;
  cursor: pointer;
  transition: opacity .25s var(--ease), background .25s var(--ease), width .25s var(--ease);
}
.carousel-dot:hover { opacity: .75; }
.carousel-dot.is-active { width: 26px; border-radius: 999px; background: var(--citrus); opacity: 1; }
.quote p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  line-height: 1.45;
  letter-spacing: -.01em;
  margin-bottom: 1.5rem;
  max-width: none;
}
.quote footer { display: grid; gap: .1rem; font-size: .85rem; color: var(--ink-faint); }
.quote footer strong { color: var(--ink); font-size: .95rem; }

/* ── 13. Visit ─────────────────────────────────────────────────────────── */
.visit { background: var(--surface-alt); }
.visit-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2.5rem, 6vw, 4.5rem);
}

.hours {
  margin: 1.75rem 0 2.25rem;
  border-top: 1px solid var(--line);
}
.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--line);
  font-size: .98rem;
}
.hours-row span:last-child { font-variant-numeric: tabular-nums; font-weight: 500; }
.hours-row.is-muted { color: var(--ink-faint); }

.contact-list {
  list-style: none;
  margin: 0 0 2rem;
  padding: 0;
  display: grid;
  gap: 1.25rem;
}
.contact-list li { display: flex; gap: 1rem; }
.contact-list div { display: grid; gap: .1rem; }
.contact-list span:last-child { color: var(--ink-soft); font-size: .9rem; }
.contact-list a { text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-list a:hover { border-bottom-color: var(--citrus); }

.contact-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  border-radius: 11px;
  background: var(--sand);
  color: var(--coffee);
}
.contact-icon svg { width: 20px; height: 20px; }

.socials { display: flex; gap: .6rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease),
              background-color .25s var(--ease), transform .25s var(--ease);
}
.socials a:hover {
  color: var(--cream);
  background: var(--espresso);
  border-color: var(--espresso);
  transform: translateY(-2px);
}
.socials svg { width: 20px; height: 20px; }

.visit-side { display: grid; gap: 1.25rem; align-content: start; }

.map-card {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--espresso-2);
  aspect-ratio: 16 / 11;
}
.map-card iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(.35) sepia(.12) contrast(1.02);
}

.newsletter {
  padding: 1.75rem;
  border-radius: var(--radius);
  background: var(--espresso);
  color: var(--cream);
}
.newsletter h3 { color: var(--cream); margin-bottom: .35rem; font-size: 1.3rem; }
.newsletter > p { color: rgba(251,246,238,.66); font-size: .92rem; margin-bottom: 1.25rem; }

.field { display: flex; gap: .5rem; flex-wrap: wrap; }
.field input {
  flex: 1 1 12rem;
  min-width: 0;
  padding: .8rem 1.1rem;
  border: 1px solid rgba(251,246,238,.22);
  border-radius: 999px;
  background: rgba(251,246,238,.06);
  color: var(--cream);
  font: inherit;
  font-size: .95rem;
}
.field input::placeholder { color: rgba(251,246,238,.4); }
.field input:focus-visible { outline-color: var(--citrus); border-color: var(--citrus); }
.newsletter .btn-primary { --btn-bg: var(--citrus); --btn-fg: #2a1408; }
.newsletter .btn-primary:hover { --btn-bg: #f4934a; }

.form-note {
  margin: .85rem 0 0;
  min-height: 1.25rem;
  font-size: .85rem;
  color: var(--citrus);
}
.form-note.is-error { color: #ff9f8a; }

/* ── 14. Footer ────────────────────────────────────────────────────────── */
.site-footer {
  padding-block: 3rem 2.5rem;
  background: var(--espresso);
  color: rgba(251,246,238,.62);
  font-size: .9rem;
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2rem;
}
.footer-brand .brand-text { color: var(--cream); display: block; }
.footer-brand p { margin: .1rem 0 0; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer-nav a { text-decoration: none; transition: color .2s var(--ease); }
.footer-nav a:hover { color: var(--cream); }
.footer-legal { margin: 0; flex: 1 1 100%; padding-top: 1.5rem; border-top: 1px solid rgba(251,246,238,.12); font-size: .82rem; }

/* ── 15. Motion & responsive ───────────────────────────────────────────── */
/* Scoped to .js so content is never hidden without the script that reveals it. */
.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .hero-inner,
  .story-grid,
  .signature-grid,
  .visit-grid { grid-template-columns: minmax(0, 1fr); }

  /* Headline leads on narrow screens; the cup card follows it. */
  .hero-visual { margin-top: 1rem; }
  .cup-card { width: min(100%, 360px); }
  .story-media { padding-bottom: 0; }
  .story-media .photo-small { position: static; width: 100%; aspect-ratio: 16 / 9; border: 0; }
  .quote-carousel { --slides: 2; }
}

@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    inset: 76px 0 auto;
    display: grid;
    justify-items: start;
    gap: 0;
    padding: 1.25rem var(--gutter) 2rem;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    transform: translateY(-130%);
    visibility: hidden;
    transition: transform .4s var(--ease), visibility .4s;
  }
  .site-nav.is-open { transform: none; visibility: visible; }
  .site-nav ul { flex-direction: column; gap: 0; width: 100%; }
  .site-nav ul li { border-bottom: 1px solid var(--line); }
  .site-nav ul a { display: block; padding: .9rem 0; font-size: 1.05rem; }
  .site-nav ul a::after { display: none; }
  .nav-cta { margin-top: 1.25rem; }
  .nav-toggle { display: block; }
}

@media (max-width: 720px) {
  .quote-carousel { --slides: 1; }
  .menu-list { grid-template-columns: minmax(0, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery-grid .span-2 { grid-column: span 2; }
  .tabs { width: 100%; overflow-x: auto; flex-wrap: nowrap; border-radius: 16px; }
  .hero-stats { gap: 1.5rem 2rem; }
  .hero-stats > div { flex: 1 1 30%; }
}

@media (max-width: 460px) {
  .hero-actions .btn { flex: 1 1 100%; }
  .field .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .nav-toggle, .ticker, .map-card, .newsletter, .hero-visual,
  .signature-visual { display: none !important; }
  body { background: #fff; color: #000; }
  .js .reveal { opacity: 1; transform: none; }
}
