/* ============================================================
   Velvet Llama — ELEVATED
   Coffee meets art. Slow living, fast easing.
   Fraunces (display) · IBM Plex Sans (body) · IBM Plex Mono (labels)
   ============================================================ */
:root {
  --olive-text: #242a20;
  --cream:      #f5efe6;
  --cream-soft: #efe7da;
  --olive:      #607056;
  --olive-deep: #46523e;
  --mauve:      #c9a29b;
  --brown:      #3c302e;
  --ink:        #0c0b09;
  --ink-05:     rgba(12, 11, 9, 0.05);
  --ink-10:     rgba(12, 11, 9, 0.10);
  --caramel:    #b98c5b;
  --sage:       #e4e8e1;
  --white:      #ffffff;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans:  "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif;
  --mono:  "IBM Plex Mono", "SF Mono", monospace;

  --pad-x: clamp(24px, 5vw, 72px);
  --nav-h: 76px;

  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);

  --fraunces-display: "opsz" 72, "wght" 560, "SOFT" 100, "WONK" 0;
  --fraunces-heading: "opsz" 40, "wght" 580, "SOFT" 100, "WONK" 0;
}

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

html { -webkit-text-size-adjust: 100%; }
html:not(.has-lenis) { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--olive-text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

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

::selection { background: var(--mauve); color: var(--brown); }

/* Lenis recommended base styles */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-smooth [data-lenis-prevent] { overscroll-behavior: contain; }
.lenis.lenis-stopped { overflow: hidden; }

/* ---------- Icon row (generated hand-drawn set) ---------- */
.icon-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(36px, 7vw, 88px);
  padding: clamp(28px, 4vw, 48px) var(--pad-x);
}
.icon-row img {
  width: clamp(52px, 6vw, 76px);
  height: auto;
  opacity: 0.9;
  mix-blend-mode: multiply;
  filter: brightness(1.12);
  transition: transform 0.35s var(--ease-out);
}
.icon-row img:hover { transform: translateY(-6px) rotate(-4deg); }
.icon-row--tight { padding: 0 0 10px; gap: 0; }
.icon-row--tight img { width: 60px; }

/* ---------- Grain overlay ---------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 2000;
  pointer-events: none;
  opacity: 0.5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='240' height='240'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='linear' slope='0.045'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain-shift 1.2s steps(4) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  25%  { transform: translate(-2%, 3%); }
  50%  { transform: translate(3%, -2%); }
  75%  { transform: translate(-3%, -3%); }
  100% { transform: translate(0, 0); }
}

/* ---------- Custom cursor (fine pointers only) ---------- */
.cursor-dot, .cursor-ring { display: none; }
@media (hover: hover) and (pointer: fine) {
  html.has-cursor .cursor-dot,
  html.has-cursor .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    z-index: 3000;
    pointer-events: none;
    border-radius: 50%;
    will-change: transform;
  }
  html.has-cursor .cursor-dot {
    width: 8px; height: 8px;
    margin: -4px 0 0 -4px;
    background: var(--olive);
  }
  html.has-cursor .cursor-ring {
    width: 36px; height: 36px;
    margin: -18px 0 0 -18px;
    border: 1.5px solid rgba(96, 112, 86, 0.55);
    transition: width 0.28s var(--ease-out), height 0.28s var(--ease-out),
                margin 0.28s var(--ease-out), background-color 0.28s,
                border-color 0.28s, opacity 0.2s;
  }
  html.has-cursor .cursor-ring.is-hover {
    width: 56px; height: 56px;
    margin: -28px 0 0 -28px;
    background: rgba(201, 162, 155, 0.18);
    border-color: rgba(201, 162, 155, 0.9);
  }
  html.has-cursor .cursor-ring.is-drag::after {
    content: "drag";
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 10px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--brown);
  }
  html.has-cursor .cursor-ring.is-drag {
    width: 64px; height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(245, 239, 230, 0.85);
    border-color: var(--mauve);
  }
}

/* ---------- Preloader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  background: var(--olive-text);
  color: var(--cream);
}
html:not(.is-loading) .loader { display: none; }
.loader__word {
  font-family: var(--serif);
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(34px, 6vw, 64px);
  letter-spacing: -0.01em;
  overflow: hidden;
  display: flex;
  gap: 0.28em;
}
.loader__word span {
  display: inline-block;
  transform: translateY(110%);
}
.loader__cup {
  width: 54px;
  height: 54px;
  opacity: 0;
}
.loader__cup path { stroke: var(--cream); }
.loader__steam path { stroke: var(--mauve); }
.loader__tag {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(245, 239, 230, 0.6);
  opacity: 0;
}
/* While loading, keep the page beneath hidden to avoid a flash */
html.is-loading body { overflow: hidden; }

/* ---------- Page transition veil ---------- */
.veil {
  position: fixed;
  inset: 0;
  z-index: 4000;
  background: var(--olive-text);
  transform: scaleY(0);
  transform-origin: top;
  pointer-events: none;
}

/* ---------- Motion gating ----------
   Elements are visible by default (no-JS fallback).
   .has-motion  → GSAP handles reveals (JS sets initial states).
   .fallback-motion → IntersectionObserver + CSS transitions. */
html.fallback-motion [data-reveal] {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
html.fallback-motion [data-reveal].is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  html.fallback-motion [data-reveal] { opacity: 1; transform: none; transition: none; }
  .grain { animation: none; }
  * { scroll-behavior: auto !important; }
}

/* Split-text lines get masked */
.split-line { display: block; overflow: hidden; }
.split-line > span { display: inline-block; will-change: transform; }

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-decoration: none;
  border: 0;
  border-radius: 100px;
  padding: 13px 28px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  transition: color 0.3s var(--ease-out), transform 0.3s var(--ease-out),
              box-shadow 0.3s var(--ease-out);
  will-change: transform;
}
.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: currentColor;
  opacity: 0;
  transform: translateY(101%);
  transition: transform 0.35s var(--ease-out), opacity 0.35s;
}
.btn > span { position: relative; display: inline-block; transition: transform 0.3s var(--ease-out); }
.btn--primary   { background: var(--olive); color: var(--white); }
.btn--secondary { background: var(--ink-05); color: var(--ink); box-shadow: inset 0 0 0 1px rgba(12,11,9,0.08); }
.btn--shop      { background: var(--mauve); color: var(--brown); padding: 9px 22px; }
.btn--primary::before   { background: var(--olive-deep); opacity: 1; }
.btn--secondary::before { background: var(--olive-text); opacity: 1; }
.btn--shop::before      { background: var(--brown); opacity: 1; }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn--secondary:hover, .btn--secondary:focus-visible { color: var(--cream); }
.btn--shop:hover, .btn--shop:focus-visible { color: var(--cream); }
.btn:hover { box-shadow: 0 10px 24px -12px rgba(12, 11, 9, 0.45); }
.btn:active { transform: scale(0.97); }

/* ---------- Link underline wipe ---------- */
.u-link {
  position: relative;
  text-decoration: none;
}
.u-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -3px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease-out);
}
.u-link:hover::after, .u-link:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ---------- Taglines / labels ---------- */
.tagline {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.tagline::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--mauve);
}
.bean__grid .tagline, .merch__head .tagline { color: rgba(245,239,230,0.8); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad-x);
  background: rgba(245, 239, 230, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: box-shadow 0.4s, background-color 0.4s;
}
.nav.is-scrolled { box-shadow: 0 1px 0 rgba(12,11,9,0.07), 0 12px 32px -20px rgba(12,11,9,0.25); }
.nav__logo { display: inline-flex; align-items: center; text-decoration: none; }
.nav__logo img { height: 44px; width: auto; transition: transform 0.4s var(--ease-out); }
.nav__logo:hover img { transform: rotate(-6deg) scale(1.05); }
.nav__links {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-right: auto;
  margin-left: 44px;
}
.nav__link {
  position: relative;
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 400;
  color: var(--olive-text);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 0;
}
.nav__link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1.5px;
  background: var(--olive);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.32s var(--ease-out);
}
.nav__link:hover::after, .nav__link:focus-visible::after, .nav__link.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.nav__more svg { width: 11px; height: 7px; transition: transform 0.3s var(--ease-out); }
.nav__dd:hover .nav__more svg,
.nav__menu.is-open ~ .nav__more svg { transform: rotate(180deg); }

.nav__dd { position: relative; }
.nav__menu {
  position: absolute;
  top: 100%;
  left: -14px;
  margin-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 216px;
  padding: 10px;
  background: var(--cream);
  border: 1px solid rgba(12,11,9,0.06);
  border-radius: 16px;
  box-shadow: 0 24px 48px -16px rgba(12, 11, 9, 0.22);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px) scale(0.98);
  transform-origin: top left;
  transition: opacity 0.25s var(--ease-out), transform 0.25s var(--ease-out), visibility 0.25s;
  z-index: 60;
}
.nav__dd:hover .nav__menu,
.nav__dd:focus-within .nav__menu,
.nav__menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
.nav__menu a {
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--olive-text);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
  transition: background-color 0.2s, padding-left 0.25s var(--ease-out);
}
.nav__menu a:hover { background: var(--ink-05); padding-left: 20px; }

/* Hamburger */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.nav__burger span {
  display: block;
  width: 24px;
  height: 2px;
  border-radius: 2px;
  background: var(--olive-text);
  transition: transform 0.3s var(--ease-out), opacity 0.2s;
}
.nav__burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav__burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav__burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  z-index: 99;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 20px var(--pad-x) 32px;
  background: var(--cream);
  box-shadow: 0 24px 40px -20px rgba(12, 11, 9, 0.2);
  border-bottom: 1px solid rgba(12,11,9,0.06);
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__link {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "wght" 520, "SOFT" 100, "WONK" 0;
  font-size: 26px;
  color: var(--olive-text);
  text-decoration: none;
  padding: 10px 0;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out), padding-left 0.3s var(--ease-out);
}
.mobile-menu__link:hover { padding-left: 10px; color: var(--olive); }
.mobile-menu.is-open .mobile-menu__link { opacity: 1; transform: none; }
.mobile-menu.is-open .mobile-menu__link:nth-child(1) { transition-delay: 0.03s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(2) { transition-delay: 0.07s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(3) { transition-delay: 0.11s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(4) { transition-delay: 0.15s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(5) { transition-delay: 0.19s; }
.mobile-menu.is-open .mobile-menu__link:nth-child(6) { transition-delay: 0.23s; }
.mobile-menu__shop { align-self: flex-start; margin-top: 14px; }
@media (prefers-reduced-motion: reduce) {
  .mobile-menu__link { opacity: 1; transform: none; transition: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--cream);
  overflow: clip;
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  min-height: calc(100vh - var(--nav-h));
  min-height: calc(100svh - var(--nav-h));
}
.hero__content {
  padding: 48px var(--pad-x);
  max-width: 700px;
  position: relative;
  z-index: 2;
}
.hero__kicker {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--olive);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
}
.hero__kicker svg { width: 14px; height: 14px; }
.hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(46px, 6vw, 84px);
  line-height: 1.04;
  letter-spacing: -0.015em;
  color: var(--olive-text);
  margin-bottom: 28px;
}
.hero__title em {
  font-style: italic;
  font-variation-settings: "opsz" 72, "wght" 480, "SOFT" 100, "WONK" 1;
  color: var(--olive);
}
.hero__sub {
  font-size: 18px;
  line-height: 1.6;
  color: rgba(36, 42, 32, 0.85);
  max-width: 470px;
  margin-bottom: 36px;
}
.hero__actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero__media {
  position: relative;
  height: 100%;
  min-height: 540px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__media img {
  width: min(620px, 100%);
  height: auto;
  will-change: transform;
  cursor: pointer;
}
/* steam wisps above the cup */
.hero__steam {
  position: absolute;
  width: 74px;
  height: 110px;
  left: 27%;
  top: 27%;
  transform: none;
  pointer-events: none;
  z-index: 3;
}
.hero__steam path {
  fill: none;
  stroke: rgba(96, 112, 86, 0.5);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 42 80;
  animation: steam-rise 4.5s linear infinite;
  opacity: 0.85;
}
.hero__steam path:nth-child(2) { animation-delay: -1.6s; stroke: rgba(201, 162, 155, 0.55); }
.hero__steam path:nth-child(3) { animation-delay: -3.1s; }
@keyframes steam-rise {
  from { stroke-dashoffset: 122; }
  to   { stroke-dashoffset: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__steam path { animation: none; } }
/* floating decorations */
.hero__deco {
  position: absolute;
  pointer-events: none;
  color: var(--mauve);
  opacity: 0.9;
}
.hero__deco--star { top: 14%; left: 6%; width: 26px; }
.hero__deco--star2 { bottom: 20%; right: 7%; width: 18px; color: var(--olive); opacity: 0.6; }
.hero__deco--cloud { top: 12%; right: 16%; width: 74px; color: var(--olive); opacity: 0.35; }
.hero__scrollhint {
  position: absolute;
  bottom: 26px;
  left: var(--pad-x);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(36,42,32,0.55);
  z-index: 2;
}
.hero__scrollhint::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--olive), transparent);
  animation: hint-drip 2s var(--ease-soft) infinite;
  transform-origin: top;
}
@keyframes hint-drip {
  0% { transform: scaleY(0); }
  45% { transform: scaleY(1); }
  100% { transform: scaleY(1); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .hero__scrollhint::after { animation: none; } }

/* ---------- Marquee ---------- */
.marquee {
  overflow: clip;
  border-top: 1px solid rgba(12,11,9,0.1);
  border-bottom: 1px solid rgba(12,11,9,0.1);
  padding: 18px 0;
  background: var(--cream);
}
.marquee__inner {
  display: flex;
  width: max-content;
  gap: 0;
  will-change: transform;
  animation: marquee-scroll 28s linear infinite;
}
.marquee:hover .marquee__inner { animation-play-state: paused; }
.marquee__group {
  display: flex;
  align-items: center;
  gap: 44px;
  padding-right: 44px;
  flex: none;
}
.marquee__group span {
  font-family: var(--serif);
  font-variation-settings: "opsz" 30, "wght" 500, "SOFT" 100, "WONK" 0;
  font-size: 20px;
  white-space: nowrap;
  color: var(--olive-text);
}
.marquee__group svg { width: 16px; height: 16px; color: var(--mauve); flex: none; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee__inner { animation: none; }
}

/* ---------- Video section ---------- */
.video { padding: clamp(64px, 9vw, 128px) var(--pad-x); }
.video__lightbox {
  position: relative;
  display: block;
  height: clamp(420px, 70vh, 680px);
  overflow: hidden;
  cursor: pointer;
  border-radius: clamp(20px, 3vw, 36px);
}
.video__lightbox img {
  width: 100%;
  height: 115%;
  margin-top: -7.5%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.8s var(--ease-out);
}
.video__lightbox:hover img { transform: scale(1.03); }
.video__ambient {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.quote__ambient {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
@media (prefers-reduced-motion: reduce) {
  .video__ambient, .quote__ambient { display: none; }
}
.video__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 92px;
  height: 92px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  color: var(--olive-text);
  border-radius: 50%;
  transition: transform 0.3s var(--ease-out), background-color 0.3s;
  will-change: transform;
}
.video__play::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(245, 239, 230, 0.8);
  animation: play-pulse 2.4s var(--ease-soft) infinite;
}
@keyframes play-pulse {
  0%   { transform: scale(0.9); opacity: 1; }
  70%  { transform: scale(1.35); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) { .video__play::before { animation: none; } }
.video__play svg { width: 32px; height: 32px; margin-left: 3px; }
.video__lightbox:hover .video__play { background: var(--mauve); }
.video__caption {
  margin-top: 20px;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(36,42,32,0.55);
  text-align: center;
}

/* ---------- Roasts ---------- */
.roasts { padding: clamp(80px, 10vw, 140px) 0 clamp(72px, 9vw, 120px); }
.roasts__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  padding: 0 var(--pad-x);
  margin-bottom: 56px;
}
.roasts__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(40px, 4.6vw, 64px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: var(--olive-text);
  margin-bottom: 18px;
}
.roasts__sub { font-size: 18px; line-height: 1.55; color: rgba(36,42,32,0.8); max-width: 480px; }
.roasts__viewall { flex: none; }
.roasts__track {
  display: flex;
  gap: clamp(24px, 3vw, 44px);
  padding: 12px var(--pad-x) 28px;
  overflow-x: auto;
  scrollbar-width: none;
  cursor: grab;
}
.roasts__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.roasts__track::-webkit-scrollbar { display: none; }
.roast-card {
  flex: 0 0 clamp(270px, 24vw, 332px);
  will-change: transform;
}
.roast-card a {
  text-decoration: none;
  color: var(--olive-text);
  display: block;
}
.roast-card__media {
  position: relative;
  border-radius: 170px 170px 26px 26px; /* arched window — artisanal */
  overflow: hidden;
  aspect-ratio: 332 / 399;
  margin-bottom: 24px;
  background: var(--cream-soft);
  transition: border-radius 0.5s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.roast-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.roast-card a:hover .roast-card__media {
  border-radius: 26px;
  box-shadow: 0 30px 50px -30px rgba(12,11,9,0.4);
}
.roast-card a:hover .roast-card__media img { transform: scale(1.07) rotate(0.5deg); }
.roast-card__num {
  position: absolute;
  top: auto;
  bottom: 14px;
  left: 18px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--cream);
  background: rgba(12,11,9,0.4);
  backdrop-filter: blur(4px);
  padding: 5px 10px;
  border-radius: 100px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.35s var(--ease-out), transform 0.35s var(--ease-out);
}
.roast-card a:hover .roast-card__num { opacity: 1; transform: none; }
.roast-card__name {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-bottom: 6px;
}
.roast-card__name > span:first-child {
  font-family: var(--serif);
  font-variation-settings: "opsz" 26, "wght" 560, "SOFT" 100, "WONK" 0;
  font-size: 22px;
}
.roast-card__roast {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(36,42,32,0.55);
}
.roast-card__price { font-size: 17px; font-weight: 500; }
.roast-card__price::before { content: "$"; font-size: 13px; vertical-align: top; margin-right: 1px; color: rgba(36,42,32,0.6); }

/* ---------- Bean (olive band — scrubbed word reveal) ---------- */
.bean {
  background: var(--olive);
  color: var(--white);
  padding: clamp(96px, 12vw, 170px) 0;
  position: relative;
  overflow: clip;
}
.bean::after {
  content: "☕";
  content: "";
  position: absolute;
  right: -60px;
  bottom: -80px;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  border: 1px solid rgba(245,239,230,0.12);
  pointer-events: none;
}
.bean__grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 6vw, 88px);
  padding: 0 var(--pad-x);
  align-items: start;
}
.bean__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  position: sticky;
  top: calc(var(--nav-h) + 32px);
}
.bean__text {
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "wght" 440, "SOFT" 100, "WONK" 0;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.55;
  color: var(--white);
}
.bean__text .w { opacity: 1; transition: none; }
html.has-motion .bean__text .w { opacity: 0.22; }

/* ---------- Counters strip ---------- */
.stats {
  padding: clamp(64px, 8vw, 104px) var(--pad-x);
  border-bottom: 1px solid rgba(12,11,9,0.08);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
}
.stat__num {
  font-family: var(--serif);
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(56px, 6vw, 92px);
  line-height: 1;
  color: var(--olive-text);
  margin-bottom: 10px;
}
.stat__num sup { font-size: 0.4em; color: var(--mauve); font-style: italic; }
.stat__label {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(36,42,32,0.6);
}

/* ---------- Quote banner (pinned scrub) ---------- */
.quote { position: relative; }
.quote__banner {
  position: relative;
  height: 100vh;
  height: 100svh;
  overflow: clip;
  display: flex;
  align-items: center;
  justify-content: center;
}
.quote__banner img {
  position: absolute;
  inset: -12% 0;
  width: 100%;
  height: 124%;
  object-fit: cover;
  will-change: transform;
}
.quote__overlay { position: absolute; inset: 0; background: rgba(12, 11, 9, 0.52); }
.quote__text {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(38px, 6vw, 88px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  color: var(--white);
  text-align: center;
  max-width: 900px;
  padding: 0 var(--pad-x);
  will-change: transform, opacity;
}
.quote__text em {
  font-style: italic;
  font-variation-settings: "opsz" 72, "wght" 460, "SOFT" 100, "WONK" 1;
  color: var(--mauve);
}
.quote__mark {
  position: absolute;
  z-index: 1;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.65);
}

/* ---------- Storytelling ---------- */
.story { padding: clamp(88px, 11vw, 150px) 0; overflow: clip; }
.story__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: 0 var(--pad-x);
}
.story__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(36px, 3.8vw, 56px);
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--olive-text);
  margin-bottom: 26px;
}
.story__lead { font-size: 18px; line-height: 1.6; margin-bottom: 40px; max-width: 536px; color: rgba(36,42,32,0.85); }
.story__feats { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-bottom: 44px; }
.story__feats p {
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(36,42,32,0.8);
  padding-top: 16px;
  border-top: 1px solid rgba(12,11,9,0.14);
}
.story__actions { display: flex; align-items: center; gap: 28px; }
.story__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--olive-text);
}
.story__link svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.story__link:hover svg { transform: translateX(5px); }
.story__media {
  position: relative;
}
.story__media img {
  width: 100%;
  aspect-ratio: 0.92;
  object-fit: cover;
  border-radius: 300px 300px 30px 30px;
  will-change: transform;
}
.story__media::after {
  content: "";
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid rgba(96,112,86,0.4);
  border-radius: 300px 300px 30px 30px;
  z-index: -1;
}

/* ---------- Merch gallery ---------- */
.merch {
  background: var(--olive);
  color: var(--white);
  padding: clamp(88px, 11vw, 150px) 0;
  overflow: clip;
}
.merch__head { text-align: center; padding: 0 var(--pad-x); margin-bottom: 60px; }
.merch__head .tagline::before { background: rgba(245,239,230,0.5); }
.merch__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(38px, 4.4vw, 62px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 18px;
}
.merch__sub { font-size: 18px; line-height: 1.5; color: rgba(245,239,230,0.85); }
.merch__track {
  display: flex;
  gap: clamp(16px, 2.4vw, 32px);
  padding: 0 var(--pad-x);
  will-change: transform;
}
.merch__track img {
  flex: 0 0 clamp(280px, 33vw, 480px);
  width: clamp(280px, 33vw, 480px);
  height: clamp(280px, 33vw, 480px);
  object-fit: cover;
  border-radius: 24px;
  transition: transform 0.5s var(--ease-out), filter 0.5s;
  filter: saturate(0.92);
}
.merch__track img:hover { transform: scale(0.975); filter: saturate(1.1); }
.merch__cta { text-align: center; margin-top: 52px; }
.merch__cta .btn--secondary { background: rgba(245,239,230,0.12); color: var(--cream); box-shadow: inset 0 0 0 1px rgba(245,239,230,0.25); }
.merch__cta .btn--secondary::before { background: var(--cream); }
.merch__cta .btn--secondary:hover { color: var(--olive-text); }

/* ---------- Footer ---------- */
.footer {
  background: var(--olive-text);
  color: var(--cream);
  padding: clamp(72px, 9vw, 110px) var(--pad-x) 0;
  position: relative;
  overflow: clip;
}
.footer__top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 72px;
}
.footer__news-title {
  font-family: var(--serif);
  font-variation-settings: "opsz" 26, "wght" 500, "SOFT" 100, "WONK" 0;
  font-size: 22px;
  line-height: 1.4;
  max-width: 400px;
  margin-bottom: 26px;
}
.footer__form { display: flex; gap: 12px; margin-bottom: 14px; max-width: 440px; }
.footer__form input {
  flex: 1;
  padding: 13px 18px;
  border: 1px solid rgba(245, 239, 230, 0.28);
  border-radius: 100px;
  background: transparent;
  color: var(--cream);
  font-family: var(--sans);
  font-size: 15px;
  transition: border-color 0.3s, background-color 0.3s;
}
.footer__form input:focus {
  outline: none;
  border-color: var(--mauve);
  background: rgba(245,239,230,0.05);
}
.footer__form input::placeholder { color: rgba(245, 239, 230, 0.55); }
.footer__subscribe { background: var(--mauve); color: var(--brown); }
.footer__subscribe::before { background: var(--cream); }
.footer__subscribe:hover { color: var(--olive-text); }
.footer__consent { font-size: 12px; color: rgba(245, 239, 230, 0.5); }
.footer__col { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.footer__col-title {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: rgba(245,239,230,0.5);
  margin-bottom: 6px;
}
.footer__col a { color: var(--cream); text-decoration: none; font-size: 15px; }
.footer__wordmark {
  font-family: var(--serif);
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(58px, 11.5vw, 200px);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-align: center;
  color: rgba(245,239,230,0.14);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
  margin-bottom: -0.14em;
  will-change: transform;
}
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 0 30px;
  border-top: 1px solid rgba(245, 239, 230, 0.14);
  font-size: 13.5px;
  color: rgba(245,239,230,0.7);
}
.footer__legal { display: flex; gap: 24px; }
.footer__legal a { color: rgba(245,239,230,0.7); }

/* ---------- Bean rain (easter egg) ---------- */
.bean-drop {
  position: fixed;
  top: -30px;
  z-index: 4500;
  width: 14px;
  height: 20px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  background: var(--brown);
  pointer-events: none;
  will-change: transform;
}
.bean-drop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 15%;
  bottom: 15%;
  width: 1.5px;
  margin-left: -0.75px;
  border-radius: 2px;
  background: var(--cream);
  opacity: 0.55;
}
@keyframes bean-fall {
  from { transform: translateY(0) rotate(var(--r0, 0deg)); }
  to   { transform: translateY(110vh) rotate(var(--r1, 340deg)); }
}
@keyframes llama-wiggle {
  0%, 100% { transform: rotate(0deg) scale(1); }
  20% { transform: rotate(-4deg) scale(1.03); }
  40% { transform: rotate(4deg) scale(1.03); }
  60% { transform: rotate(-3deg) scale(1.02); }
  80% { transform: rotate(2deg) scale(1.01); }
}
.is-wiggling { animation: llama-wiggle 0.9s var(--ease-out); }

/* ============================================================
   Subpages
   ============================================================ */
.a-section { padding: clamp(80px, 10vw, 130px) 0; }
.a-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
  padding: 0 var(--pad-x);
}
.a-grid--top { align-items: start; }
.a-intro { padding: clamp(72px, 9vw, 120px) 0 clamp(48px, 6vw, 72px); }
.a-title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(44px, 5.4vw, 76px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--olive-text);
}
.a-title em {
  font-style: italic;
  font-variation-settings: "opsz" 72, "wght" 470, "SOFT" 100, "WONK" 1;
  color: var(--olive);
}
.a-lead { font-size: 19px; line-height: 1.6; color: rgba(36,42,32,0.85); align-self: end; }
.a-h2 {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(34px, 3.8vw, 54px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  color: var(--olive-text);
  margin-bottom: 24px;
}
.a-h2--sm { font-size: clamp(30px, 3vw, 42px); }
.a-body { font-size: 18px; line-height: 1.6; color: rgba(36,42,32,0.85); }
.a-media { position: relative; }
.a-media img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 24px;
  will-change: transform;
}
.a-media--arch img { border-radius: 300px 300px 24px 24px; }
.a-grid--img-left .a-media { order: -1; }
.a-sage { background: var(--sage); }
.a-features { list-style: none; margin-top: 28px; display: grid; gap: 14px; }
.a-features li {
  position: relative;
  padding-left: 30px;
  font-size: 16px;
  line-height: 1.55;
  color: rgba(36,42,32,0.85);
}
.a-features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  background: var(--olive);
}

/* Locations */
.a-contact { background: #a1ae98; }
.a-contact__btn { margin-top: 28px; }
.a-map {
  position: relative;
  height: 516px;
  border-radius: 24px;
  background:
    linear-gradient(0deg, rgba(96,112,86,0.08), rgba(96,112,86,0.08)),
    repeating-linear-gradient(0deg, #eef0ea 0 39px, #e3e7dd 39px 40px),
    repeating-linear-gradient(90deg, #eef0ea 0 39px, #e3e7dd 39px 40px);
  overflow: hidden;
}
.a-map__pin {
  position: absolute;
  top: 45%;
  left: 50%;
  width: 22px;
  height: 22px;
  transform: translate(-50%, -100%);
  background: var(--olive);
  border-radius: 50% 50% 50% 0;
  rotate: -45deg;
  box-shadow: 0 6px 12px rgba(12,11,9,0.25);
  animation: pin-bob 2.6s var(--ease-soft) infinite;
}
@keyframes pin-bob {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -8px; }
}
@media (prefers-reduced-motion: reduce) { .a-map__pin { animation: none; } }

/* Testimonials */
.a-testimonial { text-align: center; padding-left: var(--pad-x); padding-right: var(--pad-x); }
.a-testimonial__title { margin-bottom: 44px; }
.a-testimonial__stars {
  color: var(--caramel);
  letter-spacing: 6px;
  margin-bottom: 28px;
  font-size: 20px;
}
.a-testimonial__stars span { display: inline-block; }
.a-testimonial__quote {
  font-family: var(--serif);
  font-weight: 500;
  font-variation-settings: "opsz" 44, "wght" 500, "SOFT" 100, "WONK" 0;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.3;
  max-width: 800px;
  margin: 0 auto 36px;
  color: var(--olive-text);
}
.a-testimonial__person { display: inline-flex; align-items: center; gap: 16px; }
.a-testimonial__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 35% 35%, var(--mauve), var(--olive) 90%);
}
.a-testimonial__person > div { text-align: left; }
.a-testimonial__name { font-weight: 600; }
.a-testimonial__role { font-size: 14px; color: rgba(36,42,32,0.65); }

/* CTA */
.a-cta__actions { display: flex; gap: 16px; margin-top: 32px; flex-wrap: wrap; }
.a-cta__media img { aspect-ratio: 536 / 302; }

/* ---------- Contact page ---------- */
.c-methods { list-style: none; margin-top: 36px; display: grid; gap: 18px; }
.c-methods li { display: flex; align-items: center; gap: 14px; font-size: 16px; }
.c-methods a { color: var(--olive-text); }
.c-methods__ico {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 50%;
  background: var(--ink-05);
  transition: background-color 0.3s, transform 0.3s var(--ease-out);
}
.c-methods li:hover .c-methods__ico { background: var(--mauve); transform: rotate(-8deg) scale(1.08); }
.c-form { display: grid; gap: 22px; }
.c-form label { display: grid; gap: 8px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; font-weight: 500; color: rgba(36,42,32,0.7); }
.c-form input[type="text"],
.c-form input[type="email"],
.c-form textarea {
  padding: 14px 18px;
  border: 1px solid rgba(12, 11, 9, 0.18);
  border-radius: 14px;
  background: transparent;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--olive-text);
  transition: border-color 0.3s, box-shadow 0.3s, background-color 0.3s;
}
.c-form input:focus, .c-form textarea:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(96,112,86,0.14);
  background: rgba(255,255,255,0.5);
}
.c-form textarea { resize: vertical; }
.c-form__check { display: flex !important; flex-direction: row; align-items: center; gap: 10px; font-weight: 400; }
.c-form__check input { width: 18px; height: 18px; accent-color: var(--olive); }
.c-form .btn { justify-self: start; }

.c-loc__head { padding: 0 var(--pad-x); margin-bottom: 52px; }
.c-loc__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding: 0 var(--pad-x); }
.c-loc__card .a-map { height: 300px; margin-bottom: 26px; }
.c-loc__name {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 30, "wght" 560, "SOFT" 100, "WONK" 0;
  font-size: 26px;
  margin-bottom: 8px;
}
.c-loc__addr { font-size: 16px; margin-bottom: 16px; color: rgba(36,42,32,0.8); }
.c-loc__dir {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: var(--olive-text);
}
.c-loc__dir svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.c-loc__dir:hover svg { transform: translateX(5px); }

@media (max-width: 767px) {
  .c-loc__grid { grid-template-columns: 1fr; }
}

/* ---------- FAQ ---------- */
.faq__head { text-align: center; padding: 0 var(--pad-x); margin-bottom: 56px; max-width: 768px; margin-left: auto; margin-right: auto; }
.faq__list { max-width: 800px; margin: 0 auto; padding: 0 var(--pad-x); }
.faq__item {
  border-bottom: 1px solid rgba(12, 11, 9, 0.14);
  transition: background-color 0.3s;
}
.faq__q {
  width: 100%;
  background: none;
  border: 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 26px 4px;
  font-family: var(--serif);
  font-variation-settings: "opsz" 24, "wght" 540, "SOFT" 100, "WONK" 0;
  font-size: 21px;
  text-align: left;
  color: var(--olive-text);
  transition: color 0.25s, padding-left 0.3s var(--ease-out);
}
.faq__q:hover { color: var(--olive); padding-left: 12px; }
.faq__icon {
  position: relative;
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(12,11,9,0.2);
  transition: background-color 0.35s var(--ease-out), border-color 0.35s, transform 0.45s var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  translate: -50% -50%;
  transition: rotate 0.4s var(--ease-out), background-color 0.3s;
}
.faq__icon::after { rotate: 90deg; }
.faq__item.is-open .faq__icon {
  background: var(--olive);
  border-color: var(--olive);
  transform: rotate(135deg);
}
.faq__item.is-open .faq__icon::before,
.faq__item.is-open .faq__icon::after { background: var(--cream); }
.faq__a {
  overflow: hidden;
  height: 0;
  transition: height 0.45s var(--ease-out);
}
.faq__a p {
  padding: 2px 4px 28px;
  font-size: 16px;
  line-height: 1.65;
  max-width: 660px;
  color: rgba(36,42,32,0.85);
}
html.no-js .faq__a { height: auto; }
.faq__cta { text-align: center; margin-top: 80px; padding: 0 var(--pad-x); }
.faq__cta-title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 36, "wght" 560, "SOFT" 100, "WONK" 0;
  font-size: 30px;
  margin-bottom: 12px;
  color: var(--olive-text);
}
.faq__cta .btn { margin-top: 22px; }

/* ---------- Shop grid ---------- */
.shop { background: var(--caramel); color: var(--white); padding: clamp(88px, 11vw, 140px) 0; }
.shop__head { padding: 0 var(--pad-x); margin-bottom: 60px; }
.shop__head .tagline { color: rgba(255,255,255,0.85); }
.shop__head .tagline::before { background: rgba(255,255,255,0.5); }
.shop__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: clamp(38px, 4.4vw, 60px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--white);
  margin-bottom: 16px;
}
.shop__sub { font-size: 18px; color: rgba(255,255,255,0.9); }
.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 64px 44px;
  padding: 0 var(--pad-x);
}
.p-card { text-decoration: none; color: var(--white); display: block; }
.p-card__media {
  aspect-ratio: 352 / 422;
  overflow: hidden;
  margin-bottom: 20px;
  border-radius: 170px 170px 22px 22px;
  transition: border-radius 0.5s var(--ease-out), box-shadow 0.45s var(--ease-out);
}
.p-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.p-card:hover .p-card__media { border-radius: 22px; box-shadow: 0 30px 50px -28px rgba(12,11,9,0.5); }
.p-card:hover .p-card__media img { transform: scale(1.07); }
.p-card__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.p-card__name {
  font-family: var(--serif);
  font-variation-settings: "opsz" 26, "wght" 560, "SOFT" 100, "WONK" 0;
  font-size: 21px;
}
.p-card__price { font-size: 17px; font-weight: 500; }
.p-card__roast {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 4px;
  display: inline-block;
}

/* ---------- Coffee plans ---------- */
.plans__head { text-align: center; padding: 0 var(--pad-x); margin-bottom: 52px; }
.plans__toggle {
  position: relative;
  display: inline-flex;
  margin-top: 28px;
  border: 1px solid rgba(12, 11, 9, 0.14);
  border-radius: 100px;
  padding: 4px;
  background: rgba(255,255,255,0.4);
}
.plans__toggle::before {
  content: "";
  position: absolute;
  top: 4px;
  bottom: 4px;
  left: 4px;
  width: calc(50% - 4px);
  border-radius: 100px;
  background: var(--olive);
  transition: transform 0.4s var(--ease-out);
}
.plans__toggle.is-yearly::before { transform: translateX(100%); }
.plans__toggle button {
  position: relative;
  border: 0;
  background: none;
  cursor: pointer;
  padding: 9px 28px;
  border-radius: 100px;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 500;
  color: var(--olive-text);
  transition: color 0.3s;
  min-width: 110px;
}
.plans__toggle button.is-active { color: var(--white); }
.plans__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--pad-x);
}
.plan {
  position: relative;
  border: 1px solid rgba(12, 11, 9, 0.13);
  border-radius: 26px;
  padding: 44px;
  background: rgba(255,255,255,0.25);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
}
.plan:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 54px -34px rgba(12,11,9,0.35);
  border-color: rgba(96,112,86,0.4);
}
.plan--featured { background: #ece5d4; }
.plan--featured::after {
  content: "Most poured";
  position: absolute;
  top: -13px;
  right: 28px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--mauve);
  color: var(--brown);
  padding: 6px 14px;
  border-radius: 100px;
}
.plan__name { font-family: var(--mono); font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; font-weight: 500; margin-bottom: 16px; color: rgba(36,42,32,0.75); }
.plan__price {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-heading);
  font-size: 52px;
  color: var(--olive-text);
  margin-bottom: 28px;
}
.plan__price span { display: inline-block; }
.plan__cta { width: 100%; margin-bottom: 28px; }
.plan__feats { list-style: none; display: grid; gap: 14px; }
.plan__feats li { position: relative; padding-left: 28px; font-size: 16px; color: rgba(36,42,32,0.85); }
.plan__feats li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--olive);
  font-weight: 600;
}

@media (max-width: 767px) {
  .shop__grid { grid-template-columns: 1fr 1fr; gap: 36px 18px; }
  .plans__grid { grid-template-columns: 1fr; }
  .plan { padding: 32px; }
}

/* ---------- Gear (merch) page ---------- */
.g-hero {
  position: relative;
  height: min(800px, 92vh);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.g-hero img {
  position: absolute;
  inset: -10% 0;
  width: 100%;
  height: 120%;
  object-fit: cover;
  will-change: transform;
}
.g-hero__scrim { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(12,11,9,0.62) 20%, rgba(12,11,9,0.25)); }
.g-hero__content { position: relative; z-index: 1; max-width: 680px; padding: 0 var(--pad-x); color: var(--white); }
.g-hero__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: var(--fraunces-display);
  font-size: clamp(42px, 5.4vw, 74px);
  line-height: 1.06;
  letter-spacing: -0.015em;
  color: var(--white);
  margin-bottom: 24px;
}
.g-hero__sub { font-size: 18px; line-height: 1.6; color: rgba(253, 253, 241, 0.9); max-width: 520px; }

.shop--light { background: var(--cream); color: var(--olive-text); }
.shop--light .shop__title { color: var(--olive-text); }
.shop--light .shop__sub { color: rgba(36,42,32,0.8); }
.shop--light .shop__head .tagline { color: var(--olive); }
.shop--light .shop__head .tagline::before { background: var(--mauve); }
.shop--light .p-card { color: var(--olive-text); }
.shop--light .p-card__roast { color: rgba(36, 42, 32, 0.55); }
.shop--4col .shop__grid { grid-template-columns: repeat(4, 1fr); gap: 52px 32px; }
.p-card__media--sq { aspect-ratio: 1; border-radius: 22px; }
.shop--light .p-card:hover .p-card__media { box-shadow: 0 26px 44px -26px rgba(12,11,9,0.35); }

.a-feat-olive { background: var(--olive); }
.a-h2--white { color: var(--white); }
.a-body--white { color: rgba(245,239,230,0.88); }
.a-feat-olive .tagline { color: rgba(245,239,230,0.8); }
.a-feat-olive .tagline::before { background: rgba(245,239,230,0.5); }

@media (max-width: 991px) {
  .shop--4col .shop__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767px) {
  .g-hero { height: 560px; }
  .shop--4col .shop__grid { grid-template-columns: 1fr 1fr; gap: 28px 18px; }
}

/* ---------- Field Notes (blog) ---------- */
.blog__head { padding: 0 var(--pad-x); margin-bottom: 60px; }
.blog__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 36px; padding: 0 var(--pad-x); }
.post { text-decoration: none; color: var(--olive-text); display: flex; flex-direction: column; }
.post__media {
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 22px;
}
.post__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
  will-change: transform;
}
.post:hover .post__media img { transform: scale(1.06); }
.post__meta { display: flex; gap: 14px; align-items: center; font-size: 13px; margin-bottom: 14px; color: rgba(36,42,32,0.65); }
.post__cat {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: var(--ink-05);
  color: var(--olive-text);
  padding: 5px 13px;
  border-radius: 100px;
  font-weight: 500;
  transition: background-color 0.3s, color 0.3s;
}
.post:hover .post__cat { background: var(--olive); color: var(--cream); }
.post__title {
  font-family: var(--serif);
  font-weight: 600;
  font-variation-settings: "opsz" 32, "wght" 560, "SOFT" 100, "WONK" 0;
  font-size: 25px;
  line-height: 1.22;
  margin-bottom: 12px;
  transition: color 0.3s;
}
.post:hover .post__title { color: var(--olive); }
.post__excerpt { font-size: 15.5px; line-height: 1.55; color: rgba(36,42,32,0.8); margin-bottom: 20px; flex: 1; }
.post__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; }
.post__more svg { width: 16px; height: 16px; transition: transform 0.3s var(--ease-out); }
.post:hover .post__more svg { transform: translateX(5px); }

.blog-cta { text-align: center; background: var(--sage); }
.blog-cta__inner { max-width: 660px; margin: 0 auto; padding: 0 var(--pad-x); }
.blog-cta__form { display: flex; gap: 12px; justify-content: center; margin-top: 30px; }
.blog-cta__form input {
  flex: 1;
  max-width: 340px;
  padding: 13px 18px;
  border: 1px solid rgba(12, 11, 9, 0.18);
  border-radius: 100px;
  background: rgba(255,255,255,0.6);
  font-family: var(--sans);
  font-size: 15px;
  color: var(--olive-text);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.blog-cta__form input:focus {
  outline: none;
  border-color: var(--olive);
  box-shadow: 0 0 0 4px rgba(96,112,86,0.14);
}

@media (max-width: 991px) { .blog__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 767px) {
  .blog__grid { grid-template-columns: 1fr; }
  .blog-cta__form { flex-direction: column; align-items: center; }
  .blog-cta__form input { max-width: none; width: 100%; }
}

/* ---------- Nav collapse ---------- */
@media (max-width: 991px) {
  .nav__links,
  .nav > .btn--shop { display: none; }
  .nav__burger { display: flex; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .hero__grid { grid-template-columns: 1fr; min-height: auto; }
  .hero__content { padding: 56px var(--pad-x) 8px; max-width: none; }
  .hero__media { min-height: auto; padding: 12px 0 64px; }
  .hero__media img { width: 100%; height: auto; }
  .hero__steam { top: 22%; width: 70px; }
  .hero__scrollhint { display: none; }
  .hero__deco--cloud { top: 2%; right: 5%; width: 56px; }
  .hero__deco--star { top: 9%; left: 4%; width: 18px; }
  .bean__grid { grid-template-columns: 1fr; gap: 28px; }
  .bean__title { position: static; }
  .stats__grid { grid-template-columns: 1fr; gap: 44px; }
  .roasts__head { flex-direction: column; align-items: flex-start; }
  .quote__banner { height: 82svh; }
  .story__grid { grid-template-columns: 1fr; gap: 48px; }
  .story__feats { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 16px; }
  .footer__legal { flex-wrap: wrap; }
  .video { padding-left: 12px; padding-right: 12px; }
  .a-grid { grid-template-columns: 1fr; gap: 36px; }
  .a-grid--img-left .a-media { order: 0; }
  .a-map { height: 360px; }
  .merch__track img { border-radius: 18px; }
}

/* ============================================================
   Bespoke textures (Higgsfield-generated) — kept last so they
   win over section background shorthands.
   ============================================================ */
.tex-rings {
  background-color: var(--cream);
  background-image:
    linear-gradient(rgba(245, 239, 230, 0.78), rgba(245, 239, 230, 0.78)),
    url("assets/generated/texture-rings.jpg");
  background-size: auto, 900px;
  background-blend-mode: normal, multiply;
}
.a-sage.tex-topo, .blog-cta.tex-topo {
  background-color: var(--sage);
  background-image:
    linear-gradient(rgba(228, 232, 225, 0.72), rgba(228, 232, 225, 0.72)),
    url("assets/generated/texture-topo.jpg");
  background-size: auto, 760px;
  background-blend-mode: normal, multiply;
}
