/* ------------------------------------------------------------
   ROOT — Vintage Irani Café / South Indian Coffee House
   ------------------------------------------------------------ */
:root {
  --maroon: #6B1D1D;
  --maroon-dark: #4A1212;
  --maroon-light: #8B2A2A;
  --gold: #B8860B;
  --gold-light: #D4A030;
  --gold-pale: #E8D5A3;
  --cream: #F5EDE3;
  --cream-warm: #EDE2D0;
  --sepia: #D4C5A9;
  --bark: #2C1810;
  --bark-light: #4A2F1A;
  --ink: #1C1109;
  --ink-soft: #4A3728;
  --brass: #C49A2E;
  --tile-red: #8B2A2A;
  --tile-cream: #F5EDE3;
  --shadow-warm: rgba(44, 24, 16, 0.25);

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --display: 'Playfair Display', Georgia, serif;
  --sign: 'Oswald', 'Arial Narrow', sans-serif;

  --radius: 2px;
  --border-deco: 3px double var(--gold);
  --max: 1120px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

body {
  font-family: var(--serif);
  color: var(--ink);
  background: var(--cream);
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 40px, rgba(44,24,16,.015) 40px, rgba(44,24,16,.015) 41px),
    repeating-linear-gradient(90deg, transparent, transparent 40px, rgba(44,24,16,.012) 40px, rgba(44,24,16,.012) 41px);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

/* paper grain */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: .35;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3CfeColorMatrix values='0 0 0 0 0.16 0 0 0 0 0.10 0 0 0 0 0.07 0 0 0 0.06 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E");
}

#app { position: relative; z-index: 1; }
img { max-width: 100%; display: block; }
a { color: var(--maroon-light); text-decoration-thickness: 1px; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.01em;
  color: var(--bark);
}
h1 em, h2 em, h3 em, .hero-title em {
  font-style: italic;
  font-weight: 600;
  color: var(--maroon);
}
.em-chai em { color: var(--gold); }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 22px; }

/* ---- Signage / eyebrow ---- */
.eyebrow {
  font-family: var(--sign);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--maroon-dark);
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
  border-radius: 0;
  padding: 4px 14px;
  background: rgba(184, 134, 11, 0.08);
  box-shadow: inset 0 0 0 1px var(--gold-pale);
}
.eyebrow.green { color: var(--gold); border-color: var(--gold-light); }
.lead { font-size: 1.15rem; color: var(--ink-soft); max-width: 58ch; }

/* ---- Buttons (vintage) ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 0;
  border: 2px solid transparent;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  min-height: 48px;
}
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}
.btn-primary {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--gold);
  box-shadow: 4px 4px 0 0 var(--shadow-warm);
}
.btn-primary:hover { background: var(--maroon-dark); border-color: var(--gold-light); }
.btn:active { transform: translate(2px, 3px); box-shadow: none; }

.btn-ghost {
  border-color: var(--maroon);
  color: var(--maroon);
  background: transparent;
}
.btn-ghost:hover { background: var(--maroon); color: var(--cream); }

.btn-ghost.on-dark {
  border-color: rgba(245, 237, 227, .6);
  color: var(--cream);
}
.btn-ghost.on-dark:hover { background: var(--cream); color: var(--maroon); }

.btn-green {
  background: var(--gold);
  color: var(--bark);
  border-color: var(--gold-light);
}
.btn-green:hover { background: var(--gold-light); }

.btn-sm { padding: 9px 20px; min-height: 40px; font-size: .8rem; }
.btn-lg { padding: 18px 38px; font-size: 1rem; }

/* ------------------------------------------------------------
   REGION GATE (vintage)
   ------------------------------------------------------------ */
.gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  background: var(--bark);
  color: var(--cream);
}
.gate-head { text-align: center; padding: clamp(28px, 6vh, 64px) 22px 10px; }
.gate-head .brand-mark {
  font-family: var(--display);
  font-size: 1.6rem;
  letter-spacing: .04em;
  color: var(--gold);
}
.gate-head h1 { color: var(--cream); font-size: clamp(1.8rem, 4.5vw, 3rem); margin-top: 14px; }
.gate-head p { color: rgba(245, 237, 227, .7); margin-top: 10px; font-size: 1rem; }

.gate-doors { flex: 1; display: grid; grid-template-columns: 1fr 1fr; min-height: 0; }
.gate-door {
  position: relative;
  border: none;
  background: transparent;
  color: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  padding: clamp(22px, 5vw, 56px);
  text-align: left;
  overflow: hidden;
  transition: flex .3s ease;
}
.gate-door + .gate-door { border-left: 1px solid rgba(245, 237, 227, .12); }
.gate-door::before {
  content: "";
  position: absolute;
  inset: 0;
  transition: opacity .35s;
  opacity: .85;
}
.gate-door.door-in::before {
  background: radial-gradient(120% 90% at 30% 100%, rgba(184, 134, 11, .35), transparent 60%), linear-gradient(180deg, #241811, #33251A);
}
.gate-door.door-ae::before {
  background: radial-gradient(120% 90% at 70% 100%, rgba(139, 42, 42, .45), transparent 60%), linear-gradient(180deg, #241811, #2E1F15);
}
.gate-door:hover::before { opacity: 1; }
.gate-door > * { position: relative; }
.gate-door .door-kicker {
  font-family: var(--sign);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: rgba(245, 237, 227, .5);
  margin-bottom: 10px;
}
.gate-door .door-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 4vw, 2.6rem);
  line-height: 1.1;
}
.gate-door .door-sub { color: rgba(245, 237, 227, .7); margin-top: 10px; max-width: 34ch; font-size: .95rem; }
.gate-door .door-cta {
  margin-top: 20px;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .05em;
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--gold);
}
.gate-door:hover { cursor: pointer; }
.gate-door:hover .door-cta { text-decoration: underline; text-underline-offset: 5px; }
.gate-foot {
  text-align: center;
  padding: 16px;
  color: rgba(245, 237, 227, .45);
  font-size: .8rem;
  border-top: 1px solid rgba(245, 237, 227, .08);
}
.gate-foot button {
  background: none;
  border: none;
  color: rgba(245, 237, 227, .7);
  text-decoration: underline;
  font-size: .8rem;
}
@media (max-width: 680px) {
  .gate-doors { grid-template-columns: 1fr; overflow: auto; }
  .gate-door + .gate-door { border-left: none; border-top: 1px solid rgba(245, 237, 227, .12); }
  .gate-door { justify-content: center; min-height: 220px; }
}

/* ------------------------------------------------------------
   NAV — cafe signboard
   ------------------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 90;
  background: var(--cream);
  border-bottom: 6px double var(--gold);
  box-shadow: 0 2px 8px rgba(44, 24, 16, .15);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
  height: 70px;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 22px;
}
/* decorative corner tiles */
.nav-inner::before,
.nav-inner::after {
  content: "✦";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
  color: var(--gold);
}
.nav-inner::before { left: 4px; }
.nav-inner::after { right: 4px; }

.brand {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
  letter-spacing: .02em;
  flex-shrink: 0;
}
.brand .dot { color: var(--gold); }

.nav-links { display: flex; gap: 2px; margin-left: 6px; }
.nav-links a {
  font-family: var(--sign);
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: .85rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: 8px 14px;
  border-radius: 0;
  border-bottom: 2px solid transparent;
  transition: border-color .2s, color .2s;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--maroon);
  border-bottom-color: var(--gold);
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}
.region-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--gold);
  background: var(--cream-warm);
  padding: 6px 16px;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .75rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--maroon);
  text-decoration: none;
}
.region-pill:hover { border-color: var(--maroon); }

.nav-burger { display: none; background: none; border: none; width: 44px; height: 44px; position: relative; }
.nav-burger span {
  position: absolute; left: 10px; right: 10px; height: 2px;
  background: var(--maroon); transition: .2s;
}
.nav-burger span:nth-child(1) { top: 15px; }
.nav-burger span:nth-child(2) { top: 21px; }
.nav-burger span:nth-child(3) { top: 27px; }

.mobile-menu { display: none; }
@media (max-width: 920px) {
  .nav-links { display: none; }
  .nav-burger { display: block; }
  .mobile-menu.open {
    display: flex; flex-direction: column; position: fixed;
    top: 70px; left: 0; right: 0; bottom: 0; z-index: 89;
    background: var(--cream); padding: 18px 22px; gap: 4px; overflow: auto;
  }
  .mobile-menu a {
    font-family: var(--display);
    font-size: 1.6rem;
    color: var(--maroon);
    text-decoration: none;
    padding: 14px 0;
    border-bottom: 1px solid rgba(44,24,16,.1);
  }
  .mobile-menu .mm-cta { margin-top: 22px; }
}

/* ------------------------------------------------------------
   HERO — vintage signage
   ------------------------------------------------------------ */
.hero {
  position: relative;
  background: var(--bark);
  color: var(--cream);
  overflow: hidden;
  border-top: 8px solid var(--gold);
  border-bottom: 8px solid var(--gold);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(245,237,227,.02) 20px, rgba(245,237,227,.02) 21px);
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(64px, 11vh, 130px) 22px clamp(56px, 9vh, 110px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero-title {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.hero-title .line2 em { color: var(--gold); filter: brightness(1.3); }
.hero-title em { color: var(--maroon-light); }
.hero-sub {
  margin-top: 22px;
  font-size: 1.15rem;
  color: rgba(245, 237, 227, .78);
  max-width: 46ch;
}
.hero-ctas { margin-top: 34px; display: flex; gap: 16px; flex-wrap: wrap; }
.hero-note {
  margin-top: 26px;
  font-size: .85rem;
  color: rgba(245, 237, 227, .5);
}
.hero-note b { color: rgba(245, 237, 227, .85); }

/* ---- vintage cup illustration (kept but styled) ---- */
.hero-art { position: relative; display: flex; justify-content: center; }
.cups {
  position: relative;
  width: min(340px, 80%);
  aspect-ratio: 1/1;
}
.cup {
  position: absolute;
  bottom: 8%;
  width: 44%;
  border-radius: 0 0 60px 60px / 0 0 46px 46px;
  height: 34%;
}
.cup.coffee {
  left: 2%;
  background: #3A281B;
  box-shadow: inset 0 6px 0 rgba(0,0,0,.2), 4px 4px 0 0 rgba(0,0,0,.4);
}
.cup.chai {
  right: 2%;
  background: var(--maroon-dark);
  box-shadow: inset 0 6px 0 rgba(0,0,0,.15), 4px 4px 0 0 rgba(0,0,0,.4);
}
.cup::before {
  content: "";
  position: absolute; top: -7px; left: 6%; right: 6%; height: 14px;
  border-radius: 50%;
  background: rgba(245, 237, 227, .14);
}
.saucer {
  position: absolute; bottom: 4%; height: 10px; border-radius: 999px;
  background: rgba(245, 237, 227, .12);
}
.saucer.s1 { left: -2%; width: 52%; }
.saucer.s2 { right: -2%; width: 52%; }
.counterline {
  position: absolute; bottom: 0; left: -8%; right: -8%; height: 4px;
  background: linear-gradient(90deg, var(--maroon), var(--gold), var(--maroon-light));
  opacity: .9;
}
.steam {
  position: absolute; bottom: 44%; width: 3px; height: 70px;
  border-radius: 3px;
  background: linear-gradient(180deg, transparent, rgba(245,237,227,.45));
  filter: blur(1px);
  animation: steam 3.4s ease-in-out infinite;
  transform-origin: bottom;
}
@keyframes steam {
  0% { transform: translateY(0) scaleY(.6) translateX(0); opacity: 0; }
  30% { opacity: .8; }
  100% { transform: translateY(-46px) scaleY(1.15) translateX(6px); opacity: 0; }
}
.steam.a { left: 20%; }
.steam.b { left: 26%; animation-delay: .9s; }
.steam.c { right: 26%; animation-delay: .4s; }
.steam.d { right: 20%; animation-delay: 1.5s; }
@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; gap: 20px; padding-top: 56px; }
  .hero-art { order: -1; }
  .cups { width: min(240px, 66%); }
}

/* ------------------------------------------------------------
   MARQUEE — vintage ticker
   ------------------------------------------------------------ */
.marquee {
  background: var(--maroon-dark);
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
  overflow: hidden;
  padding: 10px 0;
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: mq 40s linear infinite;
}
.marquee span {
  color: rgba(245, 237, 227, .6);
  font-family: var(--sign);
  font-size: .8rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee i { font-style: normal; color: var(--gold); }
@keyframes mq { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------
   SECTIONS
   ------------------------------------------------------------ */
.section { padding: clamp(56px, 9vh, 104px) 0; }
.section.tint { background: var(--cream-warm); }
.section.dark {
  background: var(--bark);
  color: var(--cream);
}
.section.dark h2,
.section.dark h3 { color: var(--cream); }
.section.dark .lead { color: rgba(245, 237, 227, .7); }

.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 38px;
  flex-wrap: wrap;
}
.sec-head h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  max-width: 22ch;
}

/* ---- Cards (tiles) ---- */
.grid { display: grid; gap: 24px; }
.grid.c3 { grid-template-columns: repeat(3, 1fr); }
.grid.c2 { grid-template-columns: repeat(2, 1fr); }
.grid.c4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .grid.c3, .grid.c4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid.c3, .grid.c2, .grid.c4 { grid-template-columns: 1fr; } }

.tile {
  background: var(--cream);
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: 26px;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  position: relative;
  box-shadow: 2px 2px 0 var(--shadow-warm);
}
.tile::after {
  content: "✦";
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 1.2rem;
  color: var(--gold);
  opacity: .6;
}
.section.tint .tile { background: var(--cream); }
.tile:hover {
  transform: translateY(-4px);
  box-shadow: 4px 6px 0 var(--shadow-warm);
  border-color: var(--gold);
}
.tile h3 { font-family: var(--display); font-size: 1.3rem; }
.tile p { color: var(--ink-soft); font-size: .95rem; }
.tile .tile-go {
  margin-top: auto;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--maroon);
}
.tile .glyph {
  width: 48px;
  height: 48px;
  border-radius: 0;
  display: grid;
  place-items: center;
  background: var(--cream-warm);
  border: 2px solid var(--sepia);
  font-size: 1.4rem;
  color: var(--maroon);
}
.tile.green .tile-go { color: var(--gold); }

/* ---- Recipe cards ---- */
.rcard {
  background: var(--cream);
  border: 2px solid var(--sepia);
  border-radius: 0;
  overflow: hidden;
  text-decoration: none;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform .2s, box-shadow .2s;
  box-shadow: 2px 2px 0 var(--shadow-warm);
}
.rcard:hover {
  transform: translateY(-4px);
  box-shadow: 4px 6px 0 var(--shadow-warm);
}
.rphoto {
  aspect-ratio: 4/2.55;
  position: relative;
  display: grid;
  place-items: center;
  color: rgba(245, 237, 227, .9);
}
.rphoto svg { width: 58px; height: 58px; opacity: .92; }
.rphoto .ph-tag { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.rphoto.p-coffee { background: radial-gradient(120% 100% at 20% 0%, #5A3B24, #2E1F14); }
.rphoto.p-chai { background: radial-gradient(120% 100% at 20% 0%, #66794F, #3B4A31); }
.rphoto.p-cold { background: radial-gradient(120% 100% at 20% 0%, #4E5A6B, #28303B); }
.rphoto.p-gold { background: radial-gradient(120% 100% at 20% 0%, #A9832E, #5C4413); }

.rbody { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rbody h3 { font-family: var(--display); font-size: 1.25rem; }
.rbody .hook { color: var(--ink-soft); font-size: .93rem; flex: 1; }

.badges { display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-family: var(--sign);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 0;
  background: var(--cream-warm);
  border: 1px solid var(--sepia);
  color: var(--ink-soft);
}
.badge.clay { background: rgba(139, 42, 42, .08); color: var(--maroon); border-color: rgba(139, 42, 42, .2); }
.badge.green { background: rgba(184, 134, 11, .1); color: var(--gold); border-color: rgba(184, 134, 11, .3); }
.badge.gold { background: rgba(184, 134, 11, .12); color: var(--gold); border-color: rgba(184, 134, 11, .4); }
.badge.dark { background: var(--bark); color: var(--cream); border-color: var(--bark); }

.equip-ics { display: flex; gap: 8px; color: var(--ink-soft); font-size: .78rem; flex-wrap: wrap; }
.equip-ics span {
  border: 1px solid var(--sepia);
  border-radius: 0;
  padding: 3px 10px;
  background: var(--cream-warm);
}

/* ---- Filters ---- */
.filterbar {
  position: sticky; top: 70px; z-index: 60;
  background: var(--cream);
  border-bottom: 2px solid var(--gold);
  padding: 14px 0;
}
.filter-groups { display: flex; flex-direction: column; gap: 10px; }
.fgroup {
  display: flex; align-items: baseline; gap: 12px;
  flex-wrap: nowrap; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none;
}
.fgroup::-webkit-scrollbar { display: none; }
.fgroup .flabel {
  font-family: var(--sign);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-shrink: 0;
  min-width: 74px;
}
.chip {
  border: 2px solid var(--sepia);
  background: var(--cream);
  border-radius: 0;
  padding: 7px 16px;
  font-family: var(--sign);
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: .15s;
  min-height: 36px;
}
.chip:hover { border-color: var(--maroon); color: var(--maroon); }
.chip.on {
  background: var(--maroon);
  color: var(--cream);
  border-color: var(--maroon);
}
.chip.on.g { background: var(--gold); border-color: var(--gold); color: var(--bark); }
.filter-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  font-size: .85rem;
  color: var(--ink-soft);
}
.filter-meta button {
  background: none;
  border: none;
  font-family: var(--sign);
  color: var(--maroon);
  font-weight: 600;
  font-size: .8rem;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.searchbox {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 2px solid var(--sepia);
  background: var(--cream);
  padding: 4px 6px 4px 18px;
  max-width: 420px;
  margin-bottom: 14px;
}
.searchbox input {
  border: none;
  background: transparent;
  flex: 1;
  font-family: var(--serif);
  font-size: .95rem;
  padding: 9px 0;
  color: var(--ink);
}
.searchbox input:focus { outline: none; }

/* ---- Recipe page ---- */
.rhero {
  background: var(--bark);
  color: var(--cream);
  padding: clamp(44px, 8vh, 84px) 0;
  border-top: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}
.rhero .crumbs {
  font-size: .8rem;
  color: rgba(245, 237, 227, .5);
  margin-bottom: 16px;
}
.rhero .crumbs a { color: rgba(245, 237, 227, .7); text-decoration: none; }
.rhero h1 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  max-width: 18ch;
}
.rhero .lead { color: rgba(245, 237, 227, .7); margin-top: 14px; }
.rhero .badges { margin-top: 20px; }
.rhero .badge {
  background: rgba(245, 237, 227, .08);
  border-color: rgba(245, 237, 227, .2);
  color: rgba(245, 237, 227, .85);
}
.rhero-cta { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.skillbar {
  display: flex;
  background: var(--cream-warm);
  border: 2px solid var(--sepia);
  padding: 4px;
  gap: 2px;
  width: max-content;
  max-width: 100%;
}
.skillbar button {
  border: none;
  background: transparent;
  border-radius: 0;
  padding: 9px 18px;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .8rem;
  color: var(--ink-soft);
  min-height: 40px;
}
.skillbar button.on {
  background: var(--maroon);
  color: var(--cream);
}
.rlayout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 44px;
  align-items: start;
}
@media (max-width: 920px) { .rlayout { grid-template-columns: 1fr; } }
.rsection { margin-top: 44px; }
.rsection h2 { font-family: var(--display); font-size: 1.7rem; margin-bottom: 18px; }
.stepslist { display: flex; flex-direction: column; gap: 0; counter-reset: step; }
.step {
  display: flex;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 2px solid var(--sepia);
}
.step:last-child { border-bottom: none; }
.step .snum {
  counter-increment: step;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 0;
  border: 2px solid var(--maroon);
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}
.step .snum::before { content: counter(step); }
.step .stime {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--sign);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .06em;
  color: var(--maroon);
  text-transform: uppercase;
  margin-top: 6px;
}
.sidecard {
  background: var(--cream-warm);
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: 24px;
  position: sticky;
  top: 96px;
}
.sidecard h3 { font-family: var(--display); font-size: 1.1rem; margin-bottom: 14px; }
.sidecard ul { list-style: none; display: flex; flex-direction: column; gap: 9px; font-size: .94rem; }
.sidecard li {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 1px dashed var(--sepia);
  padding-bottom: 8px;
}
.sidecard li b { font-weight: 600; }
.sidecard .qty { color: var(--ink-soft); white-space: nowrap; }
.servings {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 6px 0 18px;
}
.servings button {
  width: 38px;
  height: 38px;
  border-radius: 0;
  border: 2px solid var(--maroon);
  background: transparent;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon);
}
.servings .scount {
  font-family: var(--display);
  font-size: 1.2rem;
  min-width: 74px;
  text-align: center;
}
.levelup {
  background: linear-gradient(135deg, rgba(184, 134, 11, .08), rgba(139, 42, 42, .06));
  border: 2px solid rgba(184, 134, 11, .3);
  border-radius: 0;
  padding: 24px 26px;
}
.levelup h3 {
  display: flex;
  gap: 10px;
  align-items: center;
  font-family: var(--display);
  font-size: 1.15rem;
  margin-bottom: 10px;
}
.faq { border-bottom: 2px solid var(--sepia); }
.faq summary {
  cursor: pointer;
  padding: 16px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: 1.06rem;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--maroon);
  flex-shrink: 0;
}
.faq[open] summary::after { content: "–"; }
.faq p { padding: 0 0 18px; color: var(--ink-soft); max-width: 64ch; }
.aff-note { font-size: .78rem; color: var(--ink-soft); margin-top: 12px; font-style: italic; }
.aff-link { font-size: .8rem; font-weight: 700; }

/* ---- Guided brew ---- */
.brew {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--bark);
  color: var(--cream);
  display: flex;
  flex-direction: column;
}
.brew-top {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
}
.brew-top .bprog {
  flex: 1;
  height: 6px;
  border-radius: 0;
  background: rgba(245, 237, 227, .15);
  overflow: hidden;
}
.brew-top .bprog i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transition: width .35s ease;
}
.brew-top .bstep {
  font-family: var(--sign);
  font-size: .8rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(245, 237, 227, .5);
  white-space: nowrap;
}
.brew-close {
  background: none;
  border: 2px solid rgba(245, 237, 227, .3);
  color: var(--cream);
  border-radius: 0;
  width: 44px;
  height: 44px;
  font-size: 1.1rem;
}
.brew-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
  overflow: auto;
}
.brew-main .bglyph {
  width: 88px;
  height: 88px;
  border-radius: 0;
  background: rgba(245, 237, 227, .06);
  border: 2px solid rgba(245, 237, 227, .15);
  display: grid;
  place-items: center;
  margin-bottom: 26px;
}
.brew-main .bglyph svg { width: 44px; height: 44px; }
.brew-main h2 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  max-width: 22ch;
}
.brew-main .btext {
  margin-top: 16px;
  font-size: clamp(1rem, 2.6vw, 1.25rem);
  color: rgba(245, 237, 227, .75);
  max-width: 52ch;
}
.timer {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.timer .tdisp {
  font-family: var(--display);
  font-size: clamp(3rem, 11vw, 4.8rem);
  font-variant-numeric: tabular-nums;
}
.timer .tdisp.done { color: var(--gold); }
.timer .tring {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: conic-gradient(var(--gold) calc(var(--p,0)*1%), rgba(245,237,227,.12) 0);
}
.timer .tring .tinner {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  background: var(--bark);
  display: grid;
  place-items: center;
}
.brew-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 18px 20px calc(18px + env(safe-area-inset-bottom));
}
.brew-nav .btn {
  min-height: 60px;
  font-size: 1rem;
  border-radius: 0;
}
.brew-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.brew-done .cheer {
  font-family: var(--sign);
  font-size: .8rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold);
}

/* ---- Quiz ---- */
.quiz-shell { max-width: 680px; margin: 0 auto; }
.qprog {
  height: 6px;
  border-radius: 0;
  background: var(--sepia);
  overflow: hidden;
  margin-bottom: 34px;
}
.qprog i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--maroon), var(--gold));
  transition: width .3s;
}
.qq h2 {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  margin-bottom: 26px;
}
.qopts { display: flex; flex-direction: column; gap: 12px; }
.qopt {
  text-align: left;
  border: 2px solid var(--sepia);
  background: var(--cream);
  border-radius: 0;
  padding: 18px 22px;
  font-family: var(--serif);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  display: flex;
  gap: 14px;
  align-items: center;
  transition: .15s;
  min-height: 60px;
}
.qopt:hover {
  border-color: var(--maroon);
  transform: translateX(4px);
}
.qopt .qic { font-size: 1.4rem; }
.qback {
  background: none;
  border: none;
  font-family: var(--sign);
  color: var(--ink-soft);
  font-weight: 600;
  margin-top: 22px;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.qresult-hero {
  background: var(--bark);
  color: var(--cream);
  border-radius: 0;
  padding: 34px;
  margin-bottom: 22px;
  border: 4px double var(--gold);
}
.qresult-hero .eyebrow { color: var(--gold); }
.qresult-hero h2 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
}

/* ---- Forms ---- */
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  text-align: left;
}
.field label {
  font-family: var(--sign);
  font-weight: 600;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.field input, .field select {
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: 14px 16px;
  font-family: var(--serif);
  font-size: 1rem;
  background: var(--cream);
  color: var(--ink);
  min-height: 52px;
}
.field input:focus, .field select:focus { border-color: var(--maroon); outline: none; }
.formcard {
  background: var(--cream);
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: clamp(26px, 4vw, 40px);
  box-shadow: 3px 3px 0 var(--shadow-warm);
  max-width: 520px;
}
.counter-line {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--sign);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink-soft);
}
.counter-line .pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 134, 11, .5); }
  50% { box-shadow: 0 0 0 8px rgba(184, 134, 11, 0); }
}
.perks { display: flex; flex-direction: column; gap: 16px; }
.perk { display: flex; gap: 16px; }
.perk .pn {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.4rem;
  color: var(--maroon);
  flex-shrink: 0;
  width: 30px;
}
.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(20px);
  background: var(--bark);
  color: var(--cream);
  padding: 14px 28px;
  border-radius: 0;
  font-family: var(--sign);
  font-weight: 600;
  box-shadow: 4px 4px 0 var(--shadow-warm);
  opacity: 0;
  transition: .3s;
  z-index: 400;
  pointer-events: none;
  max-width: 90vw;
  text-align: center;
  border: 2px solid var(--gold);
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ---- Learn ---- */
.path-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.progress-note {
  font-family: var(--sign);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.lesson-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px;
  border: 2px solid var(--sepia);
  border-radius: 0;
  background: var(--cream);
  margin-bottom: 10px;
  cursor: pointer;
  transition: .15s;
}
.lesson-row:hover {
  border-color: var(--maroon);
  transform: translateX(4px);
}
.lesson-row .ln {
  font-family: var(--display);
  font-style: italic;
  color: var(--maroon);
  font-size: 1.1rem;
  width: 34px;
  flex-shrink: 0;
  padding-top: 2px;
}
.lesson-row.green .ln { color: var(--gold); }
.lesson-row h4 { font-family: var(--display); font-size: 1.08rem; }
.lesson-row p { color: var(--ink-soft); font-size: .9rem; margin-top: 3px; }
.lesson-body {
  padding: 6px 18px 22px 68px;
  color: var(--ink-soft);
  display: none;
  font-size: .96rem;
  max-width: 66ch;
}
.lesson-body.open { display: block; }
.lesson-body ul { padding-left: 18px; margin-top: 8px; }

/* ---- Shop ---- */
.tiercard {
  background: var(--cream);
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tiercard h3 { font-family: var(--display); font-size: 1.25rem; }
.tiercard .tprice {
  font-family: var(--display);
  font-style: italic;
  color: var(--maroon);
  font-size: 1.05rem;
}
.gear {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed var(--sepia);
  font-size: .94rem;
  align-items: baseline;
}
.gear:last-of-type { border-bottom: none; }
.gear .gname { font-weight: 600; }
.gear .gwhy {
  color: var(--ink-soft);
  font-size: .84rem;
  display: block;
}
.blend-hero {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 44px;
  align-items: center;
}
@media (max-width: 860px) { .blend-hero { grid-template-columns: 1fr; } }
.blend-tin {
  aspect-ratio: 1/1.2;
  border-radius: 0;
  background: radial-gradient(110% 100% at 30% 0%, var(--maroon-light), var(--maroon-dark));
  display: grid;
  place-items: center;
  color: var(--cream);
  position: relative;
  overflow: hidden;
  box-shadow: 4px 4px 0 var(--shadow-warm);
  border: 4px double var(--gold);
}
.blend-tin .tin-label {
  background: var(--cream);
  color: var(--bark);
  padding: 22px 28px;
  border-radius: 0;
  text-align: center;
  transform: rotate(-2deg);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  border: 2px solid var(--gold);
}
.blend-tin .tin-label .tl-brand {
  font-family: var(--display);
  font-size: 1.4rem;
  font-weight: 700;
}
.blend-tin .tin-label .tl-name {
  font-family: var(--sign);
  font-size: .7rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  margin-top: 6px;
  color: var(--maroon);
  font-weight: 700;
}
.onorder {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(184, 134, 11, .12);
  border: 2px solid rgba(184, 134, 11, .3);
  color: var(--gold);
  font-family: var(--sign);
  font-weight: 600;
  font-size: .75rem;
  border-radius: 0;
  padding: 6px 16px;
  letter-spacing: .04em;
  text-transform: uppercase;
}

/* ---- Story / ritual ---- */
.ritual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 3px;
  background: var(--gold);
  border: 4px double var(--bark);
}
@media (max-width: 860px) { .ritual { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .ritual { grid-template-columns: 1fr; } }
.rit {
  background: var(--bark);
  padding: 30px 24px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.05 0'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}
.rit .rn {
  font-family: var(--display);
  font-style: italic;
  font-size: 1.6rem;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 2px solid var(--gold);
  transform: rotate(-4deg);
}
.rit h3 {
  margin: 12px 0 8px;
  font-family: var(--display);
  font-size: 1.2rem;
  color: var(--cream);
}
.rit p { color: rgba(245, 237, 227, .7); font-size: .92rem; }

/* ---- Footer ---- */
footer {
  background: var(--bark);
  color: var(--cream);
  padding: 64px 0 34px;
  border-top: 6px double var(--gold);
}
.foot-cap {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 44px;
  padding-bottom: 44px;
  border-bottom: 2px solid rgba(245, 237, 227, .1);
}
@media (max-width: 820px) { .foot-cap { grid-template-columns: 1fr; } }
.foot-cap h2 {
  color: var(--cream);
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.4vw, 2.4rem);
}
.foot-form {
  display: flex;
  gap: 10px;
  margin-top: 20px;
  flex-wrap: wrap;
}
.foot-form input {
  flex: 1;
  min-width: 220px;
  border: 2px solid rgba(245, 237, 227, .2);
  background: rgba(245, 237, 227, .05);
  border-radius: 0;
  padding: 14px 22px;
  color: var(--cream);
  font-family: var(--serif);
  font-size: 1rem;
  min-height: 52px;
}
.foot-form input::placeholder { color: rgba(245, 237, 227, .4); }
.foot-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 38px 0;
}
@media (max-width: 620px) { .foot-links { grid-template-columns: 1fr 1fr; } }
.foot-links h4 {
  color: rgba(245, 237, 227, .4);
  font-family: var(--sign);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.foot-links a {
  display: block;
  color: rgba(245, 237, 227, .75);
  text-decoration: none;
  padding: 5px 0;
  font-size: .94rem;
}
.foot-links a:hover { color: var(--cream); }
.foot-base {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(245, 237, 227, .4);
  font-size: .8rem;
  padding-top: 22px;
  border-top: 2px solid rgba(245, 237, 227, .08);
}

/* ---- Utility ---- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.notice {
  background: var(--cream-warm);
  border: 2px solid var(--sepia);
  border-radius: 0;
  padding: 16px 20px;
  font-size: .9rem;
  color: var(--ink-soft);
}
.region-pill .fi {
  border-radius: 0;
  width: 1.3em;
  height: 1em;
  background-size: cover;
  display: inline-block;
  text-decoration: none;
}