/* ============== RAVO KAFE — design tokens ============== */
:root {
  --forest: #1B3A26;
  --forest-2: #244D33;
  --moss: #2D5A3C;
  --sage: #DDE1BE;
  --sage-2: #C9D0A4;
  --cream: #F2EEDF;
  --paper: #FAF8F1;
  --coffee: #6B4332;
  --ember: #C97A48;
  --ink: #0E170F;
  --line: rgba(14, 23, 15, 0.12);
  --line-on-forest: rgba(242, 238, 223, 0.16);

  --font-display: "Bricolage Grotesque", "Familjen Grotesk", system-ui, sans-serif;
  --font-body: "Familjen Grotesk", "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", "Menlo", monospace;

  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 22px;
  --r-pill: 999px;

  --maxw: 1320px;
  --gut: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: 0; background: none; padding: 0; color: inherit; }

/* ============== Typography ============== */
.display {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.02em;
  line-height: 0.92;
  text-wrap: balance;
}
.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 500;
}
.label {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* ============== Wordmark logo ============== */
.wm {
  font-family: var(--font-display);
  font-weight: 800;
  font-stretch: 75%;
  letter-spacing: -0.04em;
  line-height: 0.85;
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}
.wm--row { flex-direction: row; align-items: baseline; gap: 0.18em; }
.wm__bean {
  display: inline-block;
  width: 0.62em;
  height: 0.62em;
  background: currentColor;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  position: relative;
  transform: rotate(-18deg);
  margin: 0 0.02em;
  vertical-align: -0.06em;
}
.wm__bean::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 46%, var(--paper) 47%, var(--paper) 53%, transparent 54%);
  mix-blend-mode: screen;
  opacity: 0.85;
}
.wm--onDark .wm__bean::after {
  background: linear-gradient(115deg, transparent 46%, var(--forest) 47%, var(--forest) 53%, transparent 54%);
  mix-blend-mode: multiply;
  opacity: 1;
}

/* ============== Layout ============== */
.shell { width: 100%; }
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ============== Announcement bar ============== */
.tickerbar {
  background: var(--forest);
  color: var(--cream);
  overflow: hidden;
  border-bottom: 1px solid var(--line-on-forest);
}
.tickerbar__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  animation: ticker 38s linear infinite;
  padding: 9px 0;
}
.tickerbar__item {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: inline-flex; align-items: center; gap: 14px;
}
.tickerbar__item::before {
  content: "✦";
  color: var(--sage-2);
}
@keyframes ticker {
  to { transform: translateX(-50%); }
}

/* ============== Nav ============== */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 72px;
  gap: 24px;
}
.nav__links { display: flex; gap: 28px; }
.nav__link {
  font-size: 14px;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0;
  position: relative;
}
.nav__link::after {
  content: "";
  position: absolute; left: 0; right: 100%; bottom: 0;
  height: 1.5px; background: var(--forest);
  transition: right 0.3s ease;
}
.nav__link:hover::after { right: 0; }
.nav__logo { justify-self: center; font-size: 22px; color: var(--forest); }
.nav__right { display: flex; gap: 14px; justify-self: end; align-items: center; }
.nav__cart {
  background: var(--forest); color: var(--cream);
  padding: 10px 16px;
  border-radius: var(--r-pill);
  font-size: 13px;
  display: inline-flex; gap: 10px; align-items: center;
  transition: background 0.2s;
}
.nav__cart:hover { background: var(--moss); }
.nav__cart__count {
  background: var(--ember); color: white;
  font-family: var(--font-mono); font-size: 10px;
  min-width: 18px; height: 18px; border-radius: 9px;
  padding: 0 5px;
  display: inline-flex; align-items: center; justify-content: center;
}
.nav__icon { width: 36px; height: 36px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s; }
.nav__icon:hover { background: var(--cream); }

/* ============== Hero — full-bleed product showcase ============== */
.hero {
  position: relative;
  width: 100%;
  min-height: clamp(620px, 88vh, 920px);
  overflow: hidden;
  isolation: isolate;
  color: var(--paper);
  background: #1a0e18;
}

/* Stage: cross-fading image layers */
.hero__stage {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero__layer {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: right center;
  opacity: 0;
  transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), transform 8s ease-out;
  transform: scale(1.04);
}
.hero__layer.is-active {
  opacity: 1;
  transform: scale(1);
}

/* Left-side darkening veil so headline reads */
.hero__veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg,
      rgba(8, 4, 12, 0.78) 0%,
      rgba(8, 4, 12, 0.55) 24%,
      rgba(8, 4, 12, 0.20) 44%,
      rgba(8, 4, 12, 0.00) 60%),
    linear-gradient(180deg,
      rgba(8, 4, 12, 0.18) 0%,
      rgba(8, 4, 12, 0.00) 28%,
      rgba(8, 4, 12, 0.00) 60%,
      rgba(8, 4, 12, 0.55) 100%);
  pointer-events: none;
}
.hero__grain {
  position: absolute; inset: 0;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='180' height='180' viewBox='0 0 180 180'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 0.18 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  opacity: 0.45;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Content over image */
.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(28px, 5vw, 64px);
  padding-top: clamp(48px, 7vw, 96px);
  padding-bottom: 160px; /* room for rail */
  height: clamp(620px, 88vh, 920px);
  align-content: flex-start;
}
.hero__lhs {
  padding-bottom: 0;
  max-width: 640px;
  animation: heroFade 0.7s ease both;
}
@keyframes heroFade {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero__rhs-spacer { /* keeps grid */ }

.hero__kicker {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 7px 16px 7px 7px;
  border-radius: var(--r-pill);
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.18);
  backdrop-filter: blur(8px);
  color: var(--paper);
  margin-bottom: 22px;
}
.hero__kicker__dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: var(--sage);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--forest);
}
.hero__kicker .eyebrow { color: var(--paper); opacity: 0.92; }

.hero__origin {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 18px;
}
.hero__origin__pin {
  color: var(--ember);
  font-size: 8px;
  filter: drop-shadow(0 0 8px var(--ember));
}

.hero__title {
  font-size: clamp(56px, 9.5vw, 148px);
  color: var(--paper);
  margin: 0 0 28px;
  display: flex; 
  flex-direction: column;
  gap: 6px;
  height: fit-content;
}
.hero__title__line--small {
  font-size: 0.22em;
  font-weight: 600;
  font-stretch: 100%;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  font-family: var(--font-mono);
  margin-bottom: 4px;
  line-height: 1;
  height: auto;
}
.hero__title__big {
  font-style: italic;
  font-weight: 800;
  font-stretch: 75%;
  color: var(--paper);
  text-shadow: 0 4px 40px rgba(0,0,0,0.4);
  line-height: 1;
  text-wrap: balance;
  max-width: 520px;
}
.hero__title__big::after { content: "."; color: var(--ember); }

.hero__sub {
  font-size: 17px;
  color: rgba(255,255,255,0.82);
  margin-bottom: 32px;
  max-width: 460px;
  line-height: 1.55;
}
.hero__sub em { font-style: normal; color: var(--sage); font-weight: 500; }

.hero__cta { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; }

.btn--ghost-light {
  border: 1.5px solid rgba(255,255,255,0.35);
  color: var(--paper);
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(6px);
}
.btn--ghost-light:hover { background: var(--paper); color: var(--forest); border-color: var(--paper); }

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: clamp(28px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
  max-width: 520px;
}
.hero__stat__lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.16em;
  color: rgba(255,255,255,0.55);
  margin-bottom: 6px;
}
.hero__stat__val {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 75%;
  font-size: 28px;
  letter-spacing: -0.03em;
  color: var(--paper);
  line-height: 1;
}
.hero__stat__dots {
  display: inline-flex; gap: 4px; padding-top: 6px;
}
.hero__stat__dots i {
  width: 18px; height: 5px; border-radius: 3px;
  background: rgba(255,255,255,0.22);
  display: inline-block;
}
.hero__stat__dots i.on { background: var(--ember); }

/* Bottom carousel rail */
.hero__rail {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 3;
  background: linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.35) 100%);
  padding: 18px 0 22px;
}
.hero__rail__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
}
.hero__rail__lbl {
  display: flex; flex-direction: column;
  gap: 4px;
  color: rgba(255,255,255,0.85);
}
.hero__rail__lbl .eyebrow { color: rgba(255,255,255,0.6); }
.hero__rail__count {
  font-family: var(--font-display);
  font-weight: 800; font-stretch: 75%;
  font-size: 26px;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.hero__rail__dots {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  flex: 1;
  max-width: 720px;
}
.hero__dot {
  position: relative;
  text-align: left;
  padding: 14px 16px 16px;
  border-radius: var(--r-md);
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  color: rgba(255,255,255,0.7);
  transition: background 0.25s, border-color 0.25s, color 0.25s;
  overflow: hidden;
  display: flex; flex-direction: column; gap: 2px;
  min-height: 76px;
}
.hero__dot:hover { background: rgba(255,255,255,0.12); color: var(--paper); }
.hero__dot.is-active {
  background: rgba(255,255,255,0.95);
  color: var(--forest);
  border-color: var(--paper);
}
.hero__dot__n {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  opacity: 0.7;
}
.hero__dot.is-active .hero__dot__n { opacity: 1; color: var(--ember); }
.hero__dot__name {
  font-family: var(--font-display);
  font-weight: 700; font-stretch: 75%;
  font-size: 19px;
  letter-spacing: -0.02em;
  line-height: 1.05;
}
.hero__dot__origin {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  opacity: 0.7;
  margin-top: 2px;
}
.hero__dot__bar {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--ember);
  transform-origin: left center;
  transition: transform 0.08s linear;
}

/* ============== Buttons ============== */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px;
  border-radius: var(--r-pill);
  font-size: 14px; font-weight: 500;
  transition: transform 0.15s ease, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--forest); color: var(--cream); }
.btn--primary:hover { background: var(--moss); }
.btn--ghost { border: 1.5px solid var(--forest); color: var(--forest); }
.btn--ghost:hover { background: var(--forest); color: var(--cream); }
.btn--light { background: var(--cream); color: var(--forest); }
.btn--light:hover { background: var(--sage); }

/* ============== Section header ============== */
.section { padding: clamp(64px, 9vw, 120px) 0; }
.sec-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 32px; margin-bottom: 48px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}
.sec-head__title { font-size: clamp(36px, 5vw, 64px); color: var(--forest); margin: 8px 0 0; }
.sec-head__nav { display: flex; gap: 10px; }
.sec-head__btn {
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--forest); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  transition: background 0.2s, color 0.2s;
}
.sec-head__btn:hover { background: var(--forest); color: var(--cream); }

/* ============== Shop section ============== */
.shop { padding-top: clamp(64px, 9vw, 120px); padding-bottom: clamp(64px, 9vw, 120px); }

/* ----- Featured product spread ----- */
.featured {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  margin-bottom: 28px;
  cursor: pointer;
  position: relative;
  border: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.featured:hover { box-shadow: 0 30px 80px rgba(27,58,38,0.18); }
.featured__media {
  position: relative;
  aspect-ratio: 1/1;
  background: var(--tone, #B26233);
  overflow: hidden;
}
.featured__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.featured:hover .featured__media img { transform: scale(1.03); }
.featured__badge {
  position: absolute; top: 22px; left: 22px;
  background: var(--paper); color: var(--forest);
  padding: 8px 14px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
}
.featured__body {
  padding: clamp(28px, 4vw, 56px);
  display: flex; flex-direction: column;
  gap: 20px;
}
.featured__meta {
  display: flex; justify-content: space-between;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.featured__name {
  font-size: clamp(40px, 5vw, 72px);
  color: var(--forest);
  margin: 0;
}
.featured__blurb {
  font-size: 16px; line-height: 1.55;
  color: color-mix(in srgb, var(--ink) 75%, transparent);
  margin: 0;
  max-width: 460px;
}
.featured__notes { display: flex; flex-direction: column; gap: 10px; }
.featured__notes .eyebrow { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.featured__chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  padding: 6px 14px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13px;
  color: var(--forest);
  background: var(--paper);
}
.featured__roast {
  display: flex; align-items: center; gap: 14px;
  padding-top: 8px;
}
.featured__roast .label { color: color-mix(in srgb, var(--ink) 55%, transparent); }
.featured__foot {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: flex-end;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.featured__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-stretch: 75%;
  font-size: 40px;
  color: var(--forest);
  letter-spacing: -0.03em;
  line-height: 1;
  margin-top: 4px;
}

/* ----- Roast indicator ----- */
.roast {
  display: inline-flex; align-items: center; gap: 5px;
}
.roast__seg {
  width: 22px; height: 5px; border-radius: 3px;
  background: var(--line);
}
.roast__seg.on { background: var(--coffee); }
.roast__lbl {
  margin-left: 10px;
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.12em;
  color: color-mix(in srgb, var(--ink) 65%, transparent);
}

/* ----- Bean grid cards ----- */
.beans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.bean {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  position: relative;
  cursor: pointer;
  border: 1px solid var(--line);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.bean:hover { transform: translateY(-4px); box-shadow: 0 22px 48px rgba(27,58,38,0.15); }
.bean__media {
  aspect-ratio: 1/1;
  background: var(--tone, var(--sage));
  position: relative;
  overflow: hidden;
}
.bean__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.bean:hover .bean__media img { transform: scale(1.04); }
.bean__badge {
  position: absolute; top: 16px; left: 16px;
  background: var(--paper); color: var(--forest);
  padding: 6px 12px; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.12em;
  z-index: 2;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.bean__quick {
  position: absolute; bottom: 16px; right: 16px;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--paper); color: var(--forest);
  display: inline-flex; align-items: center; justify-content: center;
  opacity: 0; transform: translateY(6px);
  transition: opacity 0.2s, transform 0.2s, background 0.2s, color 0.2s;
  z-index: 2;
  box-shadow: 0 6px 18px rgba(0,0,0,0.2);
}
.bean:hover .bean__quick { opacity: 1; transform: translateY(0); }
.bean__quick:hover { background: var(--forest); color: var(--cream); }
.bean__body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 10px; }
.bean__row { display: flex; justify-content: space-between; align-items: baseline; }
.bean__origin {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.bean__price {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 700; font-stretch: 75%;
  color: var(--forest); letter-spacing: -0.02em;
}
.bean__name {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 700;
  color: var(--forest); margin: 0;
  letter-spacing: -0.02em;
  line-height: 1;
}
.bean__sub {
  font-size: 13px;
  color: color-mix(in srgb, var(--ink) 60%, transparent);
}
.bean__notes {
  display: flex; gap: 6px; flex-wrap: wrap;
  margin-top: 4px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.bean__notes span {
  font-size: 11px;
  padding: 4px 10px;
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  color: color-mix(in srgb, var(--ink) 70%, transparent);
  background: var(--paper);
}

/* ============== Manifesto strip ============== */
.manifesto {
  background: var(--forest);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.manifesto::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/ravo-kafe-bg-beans.webp");
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.manifesto::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--forest) 35%, transparent) 0%, color-mix(in srgb, var(--forest) 55%, transparent) 100%);
  pointer-events: none;
}
.manifesto__grid {
  position: relative;
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 6vw, 80px); align-items: center;
}
.manifesto__title {
  font-size: clamp(40px, 6vw, 88px);
  color: var(--sage);
  margin: 16px 0 28px;
}
.manifesto__body {
  font-size: 17px; line-height: 1.55;
  color: color-mix(in srgb, var(--cream) 80%, transparent);
  margin-bottom: 32px;
  max-width: 480px;
}
.manifesto__stats {
  display: grid; grid-template-columns: repeat(3,1fr); gap: 20px;
  padding-top: 32px; border-top: 1px solid var(--line-on-forest);
}
.manifesto__stat__num {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px); font-weight: 800; font-stretch: 75%;
  letter-spacing: -0.04em; color: var(--sage); line-height: 0.9;
}
.manifesto__stat__lbl {
  font-family: var(--font-mono); font-size: 11px;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--sage-2);
  margin-top: 8px;
}
.manifesto__visual {
  aspect-ratio: 4/5;
  background: var(--moss);
  border-radius: var(--r-lg);
  position: relative; overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column;
  gap: 24px;
}
.manifesto__visual__wm {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  font-size: clamp(72px, 10vw, 140px); color: var(--sage);
  letter-spacing: -0.04em; line-height: 0.85;
  text-align: center;
  opacity: 0.95;
}

/* ============== Brewing journal ============== */
.brew { background: var(--cream); }
.brew__tabs {
  display: flex; gap: 8px;
  border: 1px solid var(--line);
  padding: 6px;
  border-radius: var(--r-pill);
  background: var(--paper);
  width: fit-content;
  margin-bottom: 36px;
}
.brew__tab {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 13px; font-weight: 500;
  transition: background 0.2s, color 0.2s;
}
.brew__tab.is-active { background: var(--forest); color: var(--cream); }
.brew__grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px;
  align-items: start;
}
.brew__lhs { display: flex; flex-direction: column; gap: 28px; }
.brew__h { font-size: clamp(40px, 5vw, 64px); color: var(--forest); margin: 0; }
.brew__lede { font-size: 17px; color: color-mix(in srgb, var(--ink) 75%, transparent); max-width: 480px; }
.brew__specs {
  display: grid; grid-template-columns: repeat(3,1fr);
  border-top: 1px solid var(--line);
}
.brew__spec { padding: 18px 0; border-bottom: 1px solid var(--line); }
.brew__spec__lbl { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.brew__spec__val { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--forest); margin-top: 4px; letter-spacing: -0.02em; }
.brew__steps { display: flex; flex-direction: column; gap: 14px; }
.brew__step {
  display: grid; grid-template-columns: 56px 1fr auto;
  gap: 20px; align-items: center;
  padding: 18px 20px;
  background: var(--paper);
  border-radius: var(--r-md);
  border: 1px solid var(--line);
}
.brew__step__n {
  font-family: var(--font-display); font-weight: 800; font-stretch: 75%;
  font-size: 32px; color: var(--forest); letter-spacing: -0.04em;
}
.brew__step__title { font-size: 16px; font-weight: 600; margin: 0; }
.brew__step__desc { font-size: 13px; color: color-mix(in srgb, var(--ink) 65%, transparent); margin: 2px 0 0; }
.brew__step__time { font-family: var(--font-mono); font-size: 12px; color: var(--coffee); }

/* ============== Cafés ============== */
.cafes { background: var(--paper); }
.cafe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.cafe {
  background: var(--cream);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
}
.cafe__media {
  aspect-ratio: 4/3;
  background: var(--forest);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--r-lg) var(--r-lg) 0 0;
}
.cafe__media__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.cafe__media__tag {
  position: relative; z-index: 2;
  background: var(--paper); color: var(--forest);
  font-family: var(--font-mono); font-size: 10px;
  text-transform: uppercase; letter-spacing: 0.14em;
  padding: 6px 10px; border-radius: var(--r-pill);
}
.cafe__body { padding: 22px; }
.cafe__city { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--ink) 60%, transparent); margin-bottom: 6px; }
.cafe__name { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: var(--forest); margin: 0 0 14px; letter-spacing: -0.02em; }
.cafe__addr { font-size: 14px; color: color-mix(in srgb, var(--ink) 70%, transparent); margin-bottom: 14px; }
.cafe__hours { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 11px; padding-top: 14px; border-top: 1px solid var(--line); }
.cafe__hours strong { color: var(--forest); }
.cafe__hours .dot { width: 6px; height: 6px; border-radius: 50%; background: #4CAF50; display: inline-block; margin-right: 6px; vertical-align: middle; box-shadow: 0 0 0 3px rgba(76,175,80,0.18); }

/* ============== Press strip ============== */
.press {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.press__row { display: flex; justify-content: space-between; align-items: center; gap: 32px; flex-wrap: wrap; }
.press__lbl { font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.press__name { font-family: var(--font-display); font-weight: 700; font-size: 22px; color: var(--forest); letter-spacing: -0.02em; opacity: 0.7; transition: opacity 0.2s; }
.press__name:hover { opacity: 1; }

/* ============== Newsletter / footer ============== */
.footer {
  background: var(--forest);
  color: var(--cream);
  padding: clamp(64px, 8vw, 96px) 0 32px;
  position: relative; overflow: hidden;
}
.footer::before {
  content: "";
  position: absolute; inset: 0;
  background-image: url("assets/ravo-kafe-bg-beans.webp");
  background-size: cover;
  background-position: center;
  opacity: 1;
}
.footer::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, color-mix(in srgb, var(--forest) 30%, transparent) 0%, color-mix(in srgb, var(--forest) 60%, transparent) 100%);
  pointer-events: none;
}
.footer__inner { position: relative; }
.footer__top {
  display: grid; grid-template-columns: 1.2fr 0.8fr;
  gap: 56px; padding-bottom: 56px;
  border-bottom: 1px solid var(--line-on-forest);
  align-items: end;
}
.footer__h { font-size: clamp(40px, 6vw, 80px); color: var(--sage); margin: 0 0 20px; }
.footer__lede { font-size: 16px; max-width: 440px; color: color-mix(in srgb, var(--cream) 78%, transparent); }
.footer__form {
  display: flex; gap: 8px;
  background: var(--moss);
  padding: 8px;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-on-forest);
}
.footer__form input {
  flex: 1; background: transparent; border: 0; outline: 0;
  color: var(--cream); font-family: inherit; font-size: 14px;
  padding: 0 16px;
}
.footer__form input::placeholder { color: color-mix(in srgb, var(--cream) 55%, transparent); }
.footer__form button {
  background: var(--sage); color: var(--forest);
  padding: 12px 22px; border-radius: var(--r-pill);
  font-size: 13px; font-weight: 600;
  transition: background 0.2s;
}
.footer__form button:hover { background: var(--paper); }

.footer__cols {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 32px; padding: 56px 0 32px;
}
.footer__col h5 {
  font-family: var(--font-mono); font-size: 11px; text-transform: uppercase; letter-spacing: 0.14em;
  color: var(--sage-2);
  margin: 0 0 18px;
}
.footer__col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__col li a {
  font-size: 14px; color: color-mix(in srgb, var(--cream) 82%, transparent);
  transition: color 0.2s;
}
.footer__col li a:hover { color: var(--sage); }
.footer__brand .wm { font-size: 48px; color: var(--sage); margin-bottom: 16px; }
.footer__brand p { font-size: 13px; color: color-mix(in srgb, var(--cream) 65%, transparent); max-width: 280px; margin: 0; }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 24px; border-top: 1px solid var(--line-on-forest);
  font-family: var(--font-mono); font-size: 11px;
  color: color-mix(in srgb, var(--cream) 60%, transparent);
  letter-spacing: 0.12em; text-transform: uppercase;
}

/* ============== Cart drawer ============== */
.drawer-bg {
  position: fixed; inset: 0;
  background: rgba(14,23,15,0.5);
  z-index: 60;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s;
}
.drawer-bg.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0;
  width: min(420px, 100vw);
  background: var(--paper);
  z-index: 61;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.7,0,0.2,1);
  display: flex; flex-direction: column;
}
.drawer.open { transform: translateX(0); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 24px; border-bottom: 1px solid var(--line); }
.drawer__title { font-family: var(--font-display); font-weight: 800; font-stretch: 75%; font-size: 28px; color: var(--forest); margin: 0; letter-spacing: -0.02em; }
.drawer__close { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; }
.drawer__body { flex: 1; overflow-y: auto; padding: 16px 24px; }
.drawer__empty { text-align: center; padding: 48px 16px; color: color-mix(in srgb, var(--ink) 55%, transparent); }
.drawer__empty__bean { font-size: 64px; margin-bottom: 16px; }
.drawer__item { display: grid; grid-template-columns: 64px 1fr auto; gap: 14px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: center; }
.drawer__item__media { aspect-ratio: 1; background: var(--cream); border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 800; font-stretch: 75%; color: var(--forest); font-size: 11px; letter-spacing: -0.02em; line-height: 0.9; text-align: center; padding: 4px; }
.drawer__item__name { font-weight: 600; font-size: 14px; margin: 0; }
.drawer__item__meta { font-family: var(--font-mono); font-size: 11px; color: color-mix(in srgb, var(--ink) 55%, transparent); margin: 2px 0 6px; }
.drawer__qty { display: inline-flex; align-items: center; gap: 8px; background: var(--cream); padding: 4px 8px; border-radius: var(--r-pill); font-family: var(--font-mono); font-size: 12px; }
.drawer__qty button { padding: 0 4px; }
.drawer__item__price { font-family: var(--font-display); font-weight: 700; color: var(--forest); }
.drawer__foot { padding: 20px 24px; border-top: 1px solid var(--line); background: var(--cream); }
.drawer__total { display: flex; justify-content: space-between; margin-bottom: 16px; font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--forest); letter-spacing: -0.02em; }
.drawer__foot button { width: 100%; justify-content: center; }
.drawer__note { font-family: var(--font-mono); font-size: 10px; text-transform: uppercase; letter-spacing: 0.12em; color: color-mix(in srgb, var(--ink) 50%, transparent); text-align: center; margin-top: 12px; }

/* ============== Toast ============== */
.toast {
  position: fixed; bottom: 24px; left: 50%;
  transform: translate(-50%, 20px);
  background: var(--ink); color: var(--paper);
  padding: 14px 22px; border-radius: var(--r-pill);
  display: flex; gap: 12px; align-items: center;
  font-size: 14px; z-index: 70;
  opacity: 0; pointer-events: none;
  transition: opacity 0.25s, transform 0.25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast .bean-dot { width: 18px; height: 18px; background: var(--sage); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--forest); font-size: 11px; }

/* ============== Responsive ============== */
@media (max-width: 1024px) {
  .beans { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .cafe-grid { grid-template-columns: 1fr; }
  .hero__content { grid-template-columns: 1fr; padding-bottom: 220px; }
  .hero__layer { background-position: 70% center; }
  .hero__veil {
    background:
      linear-gradient(180deg,
        rgba(8,4,12,0.20) 0%,
        rgba(8,4,12,0.55) 30%,
        rgba(8,4,12,0.78) 75%);
  }
  .hero__rail__dots { grid-template-columns: repeat(4, 1fr); }
  .hero__dot { padding: 10px 12px 12px; min-height: 64px; }
  .hero__dot__name { font-size: 15px; }
  .manifesto__grid { grid-template-columns: 1fr; }
  .brew__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__top, .footer__cols { grid-template-columns: 1fr; }
  .nav__links { display: none; }
}
@media (max-width: 640px) {
  .beans { grid-template-columns: 1fr; }
  .hero__rail__dots { grid-template-columns: repeat(2, 1fr); }
  .hero__rail__inner { flex-direction: column; align-items: stretch; }
}
