/* =========================================================
   Cafe Nookie: cosy, illustrated and lively.
   Their green, warm cream, mustard and terracotta, their mascot,
   a swinging "open" sign, falling coffee beans. No textures.
   ========================================================= */
:root {
  --green: #2f6b4f;
  --green-deep: #1f4a37;
  --green-soft: #e5efe6;
  --cream: #fbf6ea;
  --paper: #fffcf4;
  --sand: #f3ead9;
  --mustard: #e8b84a;
  --mustard-soft: #f4d995;
  --terra: #d9825b;
  --choc: #3b2a20;
  --muted: #6e6157;
  --wood: #b9794a;

  --display: "Fredoka", system-ui, sans-serif;
  --sans: "Figtree", system-ui, sans-serif;
  --script: "Caveat Brush", cursive;

  --ease: cubic-bezier(.22, .61, .36, 1);
  --spring: cubic-bezier(.34, 1.56, .64, 1);
  --shadow: 0 18px 40px -20px rgba(59, 42, 32, .35);
  --shadow-lg: 0 40px 80px -34px rgba(59, 42, 32, .5);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--choc); font: 400 17px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .45em; font-family: var(--display); font-weight: 600; line-height: 1.04; letter-spacing: -.01em; }
h1 em, h2 em { font-style: normal; color: var(--terra); }
p { margin: 0 0 1em; }
section { scroll-margin-top: 76px; }
.wrap { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 22px; }
.script { font: 400 1.75rem/1 var(--script); color: var(--terra); margin: 0 0 12px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 15px 26px; border-radius: 999px; border: 2px solid transparent; cursor: pointer; white-space: nowrap;
  font: 700 1rem/1.2 var(--sans);
  transition: transform .5s var(--spring), box-shadow .4s var(--ease), background-color .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-3px) scale(1.04); }
.btn:active { transform: scale(.96); transition-duration: .15s; }
.btn:focus-visible { outline: 3px solid var(--mustard); outline-offset: 3px; }
.btn .ico { width: 18px; height: 18px; transition: transform .5s var(--spring); }
.btn:hover .ico { transform: translateX(3px); }
.btn--sm { padding: 10px 20px; font-size: .95rem; }
.btn--mustard { background: var(--mustard); color: var(--choc); }
.btn--mustard:hover { box-shadow: 0 16px 30px -12px rgba(232,184,74,.7); }
.btn--ghost { color: var(--cream); border-color: rgba(251,246,234,.5); }
.btn--ghost:hover { border-color: var(--cream); background: rgba(251,246,234,.08); }
.btn--green { background: var(--green); color: var(--cream); }
.btn--green:hover { background: var(--green-deep); box-shadow: 0 16px 30px -12px rgba(47,107,79,.6); }
.btn--line { color: var(--green); border-color: var(--green); }
.btn--line:hover { background: var(--green-soft); }

/* ---------- Demo banner + header ---------- */
.demo-banner { background: var(--green-deep); color: #c5ddcc; font-size: .8rem; text-align: center; padding: 7px 16px; }
.demo-banner strong { color: #fff; font-weight: 600; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(255,252,244,.9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .4s, box-shadow .4s; }
.header.is-scrolled { border-color: #eee3cc; box-shadow: 0 10px 30px -24px rgba(59,42,32,.6); }
.header__inner { display: flex; align-items: center; gap: 26px; height: 78px; transition: height .4s var(--ease); }
.header.is-scrolled .header__inner { height: 66px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand__logo { display: block; transition: transform .6s var(--spring); }
.brand__logo img { width: 64px; height: auto; }
.brand:hover .brand__logo { transform: rotate(-12deg) scale(1.06); }
.brand__name { font: 600 1.45rem var(--display); color: var(--green); }
.nav { display: flex; gap: 4px; }
.nav a { padding: 8px 16px; border-radius: 999px; font-weight: 600; transition: background-color .3s, color .3s, transform .45s var(--spring); }
.nav a:hover { background: var(--green-soft); color: var(--green); transform: translateY(-2px); }
.nav a.is-active { background: var(--green); color: var(--cream); }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--green); background: none; position: relative; cursor: pointer; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2.5px; border-radius: 2px; background: var(--green); transition: transform .4s var(--spring), top .3s; }
.burger span:first-child { top: 18px; } .burger span:last-child { top: 26px; }
.burger.is-open span:first-child { top: 22px; transform: rotate(45deg); }
.burger.is-open span:last-child { top: 22px; transform: rotate(-45deg); }

/* ---------- Falling beans, leaves and hearts ---------- */
[data-falling] { position: relative; isolation: isolate; }
.falling { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.fall { position: absolute; top: -50px; opacity: 0; animation: fall var(--dur) linear var(--delay) infinite; }
.fall svg { display: block; width: 100%; height: 100%; }
@keyframes fall {
  0%   { transform: translate3d(0, 0, 0) rotate(0deg); opacity: 0; }
  10%  { opacity: var(--o); }
  50%  { transform: translate3d(calc(var(--dx) * .5), calc(var(--h, 900px) * .5), 0) rotate(calc(var(--rot) * .5)); }
  90%  { opacity: var(--o); }
  100% { transform: translate3d(var(--dx), var(--h, 900px), 0) rotate(var(--rot)); opacity: 0; }
}

/* ---------- Hero ---------- */
.hero { overflow: hidden; background: var(--green); color: var(--cream); padding: 60px 0 170px; }
.hero::before { content: ""; position: absolute; z-index: -2; right: -200px; top: -220px; width: 820px; height: 820px; background: radial-gradient(closest-side, rgba(244,217,149,.18), transparent); }
.hero__grid { display: grid; grid-template-columns: 1.02fr .98fr; gap: 50px; align-items: center; }
.hero .script { color: var(--mustard-soft); }
.hero__title { font-size: clamp(3.6rem, 8.4vw, 7rem); font-weight: 700; line-height: .95; letter-spacing: -.02em; margin-bottom: 0; }
.hero__title span { color: var(--mustard); }
.hero__lead { font-size: 1.15rem; max-width: 520px; color: rgba(251,246,234,.86); margin-top: 22px; }
.hero__lead strong { display: block; margin-bottom: 6px; font: 600 1.45rem/1.2 var(--display); color: var(--mustard-soft); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 32px 0 26px; }
.chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 16px; border-radius: 999px; background: rgba(251,246,234,.1); border: 1px solid rgba(251,246,234,.2); font-size: .92rem; }
.chips svg { width: 17px; height: 17px; color: var(--mustard); }
.chips b { font-weight: 700; }

/* Collage */
.collage { position: relative; height: 610px; }
.window { position: absolute; right: 56px; top: 40px; width: 360px; height: 480px; padding: 12px; border-radius: 30px 30px 16px 16px; background: var(--cream); box-shadow: var(--shadow-lg); }
.window > img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; border-radius: 20px 20px 8px 8px; }
.sign { position: absolute; top: -40px; left: 50%; width: 176px; margin-left: -88px; z-index: 4; transform-origin: 50% 0; animation: swing 4.6s ease-in-out infinite; }
.sign::before { content: ""; position: absolute; top: -6px; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: var(--choc); box-shadow: 0 2px 4px rgba(0,0,0,.3); }
.sign__strings { display: block; height: 44px; background:
  linear-gradient(to top left, transparent calc(50% - 1.5px), var(--choc) calc(50% - 1.5px), var(--choc) calc(50% + 1.5px), transparent calc(50% + 1.5px)) 18px 0 / 70px 100% no-repeat,
  linear-gradient(to top right, transparent calc(50% - 1.5px), var(--choc) calc(50% - 1.5px), var(--choc) calc(50% + 1.5px), transparent calc(50% + 1.5px)) 88px 0 / 70px 100% no-repeat; }
.sign__board { display: block; padding: 8px 12px 10px; border-radius: 12px; text-align: center; color: var(--cream);
  background: linear-gradient(180deg, #c58a58, var(--wood)); border: 3px solid #8e5a35; box-shadow: 0 14px 20px -10px rgba(0,0,0,.5); transition: background .4s; }
.sign__board small { display: block; font: 700 .68rem var(--sans); text-transform: uppercase; letter-spacing: .14em; opacity: .9; }
.sign__board b { display: block; font: 700 1.75rem/1 var(--display); letter-spacing: .08em; }
.sign.is-closed .sign__board { background: linear-gradient(180deg, #8f8478, #75695e); border-color: #5c5148; }
@keyframes swing { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }

.polaroid { position: relative; margin: 0; padding: 9px 9px 40px; background: #fff; border-radius: 4px; box-shadow: var(--shadow-lg); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--spring); }
.polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.polaroid figcaption { position: absolute; left: 0; right: 0; bottom: 8px; text-align: center; font: 400 1.4rem/1 var(--script); color: var(--green); }
.polaroid:hover { transform: rotate(0) scale(1.05); z-index: 6; }
.polaroid--hero { position: absolute; left: 0; bottom: 20px; z-index: 3; width: 196px; --r: -7deg; }
.badge { position: absolute; left: 30px; top: 0; z-index: 2; width: 150px; height: 150px; animation: spin 28s linear infinite; }
.badge__bg { fill: var(--mustard); }
.badge text { font: 700 15px var(--sans); letter-spacing: 3px; fill: var(--choc); }
.badge__mascot { position: absolute; left: 63px; top: 44px; z-index: 3; width: 84px; height: auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.mascot { position: absolute; right: 0; bottom: 34px; z-index: 5; width: 150px; filter: drop-shadow(0 12px 14px rgba(0,0,0,.35)); animation: bob 4s ease-in-out infinite; }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(-3deg); } 50% { transform: translateY(-10px) rotate(3deg); } }
.steam { position: absolute; color: rgba(251,246,234,.55); }
.steam--1 { left: 210px; top: 210px; width: 22px; height: 44px; animation: steamy 3.6s ease-in-out infinite; }
@keyframes steamy { 0%, 100% { opacity: .2; transform: translateY(6px); } 50% { opacity: .9; transform: translateY(-6px); } }
.spark { position: absolute; animation: twinkle 2.8s ease-in-out infinite; }
.spark--1 { right: 18px; top: 10px; width: 30px; height: 30px; color: var(--mustard); }
.spark--2 { left: 150px; bottom: 0; width: 30px; height: 28px; color: var(--terra); animation-delay: -1.4s; }
@keyframes twinkle { 0%, 100% { transform: scale(.75) rotate(0); opacity: .6; } 50% { transform: scale(1.12) rotate(14deg); opacity: 1; } }
.hero__edge { position: absolute; left: 0; bottom: -1px; width: 100%; height: 100px; fill: var(--mustard); }

/* ---------- Ticker ---------- */
.ticker { background: var(--mustard); color: var(--choc); overflow: hidden; padding: 8px 0 20px; }
/* Two identical groups, each wider than the screen, so -50% lands exactly on a copy: a seamless, never-ending loop */
.ticker__track { display: flex; width: max-content; will-change: transform; animation: ticker 60s linear infinite; }
.ticker__group { display: flex; align-items: center; flex-shrink: 0; }
.ticker__group > * { margin-right: 28px; }
.ticker span { font: 600 1.45rem var(--display); white-space: nowrap; }
.ticker i { width: 12px; height: 12px; border-radius: 50%; background: var(--green); flex-shrink: 0; }
@keyframes ticker { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }

/* ---------- Section heads ---------- */
.head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.head h2, .story h2 { font-size: clamp(2.4rem, 5vw, 3.8rem); color: var(--green); }
.head__squiggle { display: block; width: 120px; height: 30px; margin: 0 auto; color: var(--mustard); }
.head__sub { color: var(--muted); font-size: 1.06rem; max-width: 580px; margin: 6px auto 0; }
.head--light h2 { color: var(--cream); }
.head--light h2 em { color: var(--mustard); }
.head--light .script { color: var(--mustard-soft); }
.head--light .head__sub { color: rgba(251,246,234,.8); }

/* ---------- Menu ---------- */
.menu { background: var(--cream); padding: 120px 0 110px; }
.tabs { position: relative; display: flex; gap: 4px; width: fit-content; max-width: 100%; margin: 0 auto 40px; padding: 6px; border-radius: 999px; background: var(--green); overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { position: relative; z-index: 1; border: 0; background: none; cursor: pointer; white-space: nowrap; padding: 12px 26px; border-radius: 999px; font: 700 1rem var(--sans); color: rgba(251,246,234,.78); transition: color .35s; }
.tab:hover { color: var(--cream); }
.tab.is-active { color: var(--green); }
.tab:focus-visible { outline: 3px solid var(--mustard); outline-offset: -3px; }
.tabs__pill { position: absolute; top: 6px; bottom: 6px; left: 6px; width: 0; border-radius: 999px; background: var(--cream); transition: left .55s var(--spring), width .55s var(--spring); }
.panel { display: none; }
.panel.is-active { display: block; animation: rise .55s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.banner { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 34px 44px; border-radius: 32px; margin-bottom: 30px; color: var(--cream); box-shadow: var(--shadow); overflow: hidden; }
.banner h3 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 6px; }
.banner p { margin: 0; opacity: .88; }
.banner svg { width: 120px; height: 120px; flex-shrink: 0; color: var(--cream); --fill: rgba(255,255,255,.18); animation: bob 4.5s ease-in-out infinite; }
.banner--green { background: var(--green); }
.banner--matcha { background: #6f9459; }
.banner--terra { background: var(--terra); }
.banner--mustard { background: var(--mustard); color: var(--choc); }
.banner--mustard svg { color: var(--choc); --fill: rgba(255,255,255,.35); }
.items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; }
.items li { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; padding: 18px 4px; border-bottom: 2px dashed rgba(47,107,79,.18); transition: padding .45s var(--ease); }
.items li:hover { padding-left: 12px; }
.items h4 { font-size: 1.25rem; color: var(--green); margin: 0 0 2px; transition: color .3s; }
.items li:hover h4 { color: var(--terra); }
.items p { margin: 0; color: var(--muted); font-size: .93rem; line-height: 1.5; }
.items b { font: 600 1.2rem var(--display); color: var(--terra); white-space: nowrap; }
.menu__foot { text-align: center; color: var(--muted); margin: 34px 0 0; }
.menu__foot a { color: var(--green); font-weight: 700; border-bottom: 2px solid var(--mustard); }

/* ---------- Story ---------- */
.story { background: var(--paper); padding: 120px 0; overflow: hidden; }
.story__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 70px; align-items: center; }
.story__art { position: relative; height: 480px; }
.story__circle { position: absolute; left: 50%; top: 50%; width: 400px; height: 400px; margin: -200px 0 0 -200px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, var(--mustard-soft), var(--mustard)); box-shadow: var(--shadow-lg); }
.story__mascot { position: absolute; left: 50%; top: 50%; width: 300px; margin: -126px 0 0 -150px; filter: drop-shadow(0 16px 16px rgba(0,0,0,.25)); animation: bob 4.6s ease-in-out infinite; }
.story__cup { position: absolute; left: 4%; top: 6%; width: 90px; height: 90px; color: var(--green); --fill: #fff; animation: bob 5s ease-in-out infinite; animation-delay: -1.5s; }
.story__croissant { position: absolute; right: 2%; bottom: 6%; width: 100px; height: 100px; color: var(--choc); --fill: var(--mustard-soft); animation: bob 5.4s ease-in-out infinite; animation-delay: -2.6s; }
.story__spark { position: absolute; right: 12%; top: 4%; width: 34px; height: 34px; color: var(--terra); animation: twinkle 2.6s ease-in-out infinite; }
.story__heart { position: absolute; left: 10%; bottom: 10%; width: 32px; height: 30px; color: var(--terra); animation: twinkle 3s ease-in-out infinite; animation-delay: -1s; }
.story__copy > p:not(.script) { color: var(--muted); font-size: 1.06rem; }
.loves { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 14px; }
.loves li { display: grid; grid-template-columns: 60px 1fr; column-gap: 18px; align-items: center; padding: 14px 20px; border-radius: 22px; background: #fff; border: 1px solid var(--sand); transition: transform .5s var(--spring), box-shadow .4s, border-color .3s; }
.loves li:hover { transform: translateX(8px); box-shadow: var(--shadow); border-color: var(--mustard); }
.loves__ic { grid-row: span 2; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--green-soft); color: var(--green); transition: background-color .3s, color .3s, transform .6s var(--spring); }
.loves__ic svg { width: 34px; height: 34px; --bean-line: var(--green-soft); --fill: none; }
.loves li:hover .loves__ic { background: var(--green); color: var(--cream); transform: rotate(-10deg); }
.loves li:hover .loves__ic svg { --bean-line: var(--green); }
.loves strong { font: 600 1.18rem var(--display); color: var(--green); }
.loves small { color: var(--muted); font-size: .93rem; }

/* ---------- Reviews ---------- */
.reviews { background: var(--green-soft); padding: 120px 0 150px; overflow: hidden; }
.score { display: inline-flex; align-items: center; gap: 12px; margin-top: 10px; padding: 10px 22px; border-radius: 999px; background: #fff; box-shadow: var(--shadow); }
.score__num { font: 700 1.8rem/1 var(--display); color: var(--green); }
.score__stars { color: var(--mustard); letter-spacing: 2px; }
.score__text { color: var(--muted); font-size: .92rem; }
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 28px; }
.qcard { position: relative; margin: 0; padding: 34px 26px 22px; border-radius: 22px; background: #fff; box-shadow: var(--shadow); transform: rotate(var(--r, 0deg)); transition: transform .6s var(--spring), box-shadow .5s; }
.qcard::before { content: ""; position: absolute; top: -12px; left: 50%; width: 88px; height: 26px; transform: translateX(-50%) rotate(-3deg); background: rgba(232,184,74,.6); border-radius: 3px; }
.qcard::after { content: "\201C"; position: absolute; right: 18px; top: 6px; font: 700 4rem/1 var(--display); color: var(--green-soft); }
.qcard:nth-child(3n+1) { --r: -1.5deg; }
.qcard:nth-child(3n+2) { --r: 1.2deg; }
.qcard:nth-child(3n+2)::before { background: rgba(217,130,91,.5); transform: translateX(-50%) rotate(3deg); }
.qcard:nth-child(3n) { --r: -.6deg; }
.qcard:hover { transform: rotate(0) translateY(-8px); box-shadow: var(--shadow-lg); z-index: 2; }
.qcard blockquote { position: relative; z-index: 1; margin: 0; font-size: 1.02rem; line-height: 1.55; }
.qcard figcaption { margin-top: 14px; font: 400 1.35rem/1 var(--script); color: var(--green); }

/* ---------- Catering ---------- */
.catering { background: var(--green); color: var(--cream); padding: 150px 0 130px; overflow: hidden; }
.catering__edge { position: absolute; left: 0; top: -1px; width: 100%; height: 80px; fill: var(--green-soft); z-index: 1; }
.catering .wrap { position: relative; z-index: 2; }
.cater { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cater__card { padding: 38px 30px 32px; border-radius: 30px; background: var(--cream); color: var(--choc); text-align: center; box-shadow: var(--shadow-lg); transition: transform .6s var(--spring); }
.cater__card:hover { transform: translateY(-10px) rotate(-1deg); }
.cater__ic { display: grid; place-items: center; width: 100px; height: 100px; margin: 0 auto 18px; border-radius: 50%; background: var(--mustard-soft); color: var(--green); transition: transform .6s var(--spring); }
.cater__ic svg { width: 60px; height: 60px; --fill: #fff; }
.cater__card:hover .cater__ic { transform: rotate(-12deg) scale(1.08); }
.cater__card h3 { font-size: 1.7rem; color: var(--green); }
.cater__card p { margin: 0; color: var(--muted); }
.cater__cta { display: flex; align-items: center; justify-content: center; gap: 20px; flex-wrap: wrap; margin-top: 44px; text-align: center; }
.cater__cta p { margin: 0; color: rgba(251,246,234,.85); font-size: 1.06rem; }

/* ---------- Visit ---------- */
.visit { background: var(--cream); padding: 130px 0 160px; }
.visit__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 44px; align-items: center; }
.signcard { position: relative; padding: 50px 42px 38px; border-radius: 32px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--sand); }
.signcard__logo { position: absolute; top: -46px; right: 30px; width: 104px; height: 104px; padding: 14px 12px 10px; border-radius: 50%; background: var(--cream); border: 3px solid var(--mustard); box-shadow: var(--shadow); object-fit: contain; transform: rotate(8deg); transition: transform .6s var(--spring); }
.signcard:hover .signcard__logo { transform: rotate(-6deg) scale(1.06); }
.signcard h2 { font-size: clamp(2.3rem, 4.4vw, 3.3rem); color: var(--green); }
.signcard__list { list-style: none; margin: 12px 0 30px; padding: 0; }
.signcard__list li { display: flex; gap: 16px; align-items: flex-start; padding: 14px 0; border-bottom: 2px dashed var(--sand); }
.signcard__list svg { width: 24px; height: 24px; flex-shrink: 0; color: var(--green); margin-top: 3px; }
.signcard__list small { display: block; font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--terra); }
.signcard__list a { font-weight: 700; color: var(--green); }
.signcard__list a:hover { color: var(--terra); }
.status { display: inline-block; margin-top: 8px; padding: 4px 12px; border-radius: 999px; background: var(--green-soft); color: var(--green); font-style: normal; font-weight: 700; font-size: .85rem; }
.status.is-closed { background: #f6e2d8; color: #a4573a; }
.signcard__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.map { height: 500px; overflow: hidden; border-radius: 32px; border: 8px solid #fff; box-shadow: var(--shadow-lg); }
.map iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { position: relative; background: var(--green-deep); color: rgba(251,246,234,.78); padding: 80px 0 32px; text-align: center; }
.footer__edge { position: absolute; left: 0; top: -79px; width: 100%; height: 80px; fill: var(--green-deep); }
.footer__mascot { width: 130px; margin: -10px auto 8px; animation: bob 4.4s ease-in-out infinite; filter: drop-shadow(0 10px 10px rgba(0,0,0,.3)); }
.footer__name { margin: 0; font: 700 clamp(2.6rem, 6vw, 4rem)/1 var(--display); color: var(--cream); }
.footer__tag { font: 400 1.7rem var(--script); color: var(--mustard); margin: 6px 0 40px; }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; max-width: 760px; margin: 0 auto; }
.footer a:hover { color: var(--mustard); }
.footer__bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-top: 50px; padding-top: 22px; border-top: 1px solid rgba(251,246,234,.14); font-size: .85rem; }

.mobile-bar { display: none; }

/* ---------- Scroll reveal (translate, so rotations stay) ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .9s var(--ease), translate .9s var(--ease); }
.js .reveal.is-in { opacity: 1; translate: 0 0; }
.js .reveal[data-d="1"] { transition-delay: .1s; }
.js .reveal[data-d="2"] { transition-delay: .2s; }
.js .reveal[data-d="3"] { transition-delay: .3s; }
.js .reveal[data-d="4"] { transition-delay: .4s; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1080px) {
  .window { width: 320px; height: 440px; right: 40px; }
  .collage { height: 580px; }
}
@media (max-width: 980px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; gap: 4px; padding: 12px 22px 22px; background: var(--paper); border-bottom: 1px solid #eee3cc; opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .3s, transform .4s var(--ease), visibility .3s; }
  .nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .nav a { padding: 12px 16px; font-size: 1.05rem; }
  .hero { padding: 50px 0 150px; }
  .hero__grid, .story__grid, .visit__grid { grid-template-columns: 1fr; gap: 56px; }
  .collage { max-width: 520px; width: 100%; margin: 0 auto; }
  .story__art { max-width: 480px; width: 100%; margin: 0 auto; }
  .items { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr 1fr; }
  .cater { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
}
@media (max-width: 760px) {
  .mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,252,244,.95); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-top: 1px solid #eee3cc; transform: translateY(110%); transition: transform .5s var(--ease); }
  .mobile-bar.is-visible { transform: none; }
  body { padding-bottom: 76px; }
  .footer__cols { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header__inner { height: 70px; }
  .brand__name { font-size: 1.25rem; }
  .brand__logo img { width: 54px; }
  .hero__title { font-size: clamp(3rem, 15vw, 4.2rem); }
  .hero__actions .btn { flex: 1 1 100%; }
  .collage { height: 470px; }
  .window { width: 64%; height: 360px; right: 4%; top: 46px; padding: 8px; }
  .sign { width: 140px; margin-left: -70px; }
  .sign__strings { height: 36px; background-size: 56px 100%, 56px 100%; background-position: 14px 0, 70px 0; }
  .sign__board b { font-size: 1.35rem; }
  .polaroid--hero { width: 140px; padding: 7px 7px 32px; }
  .polaroid figcaption { font-size: 1.1rem; }
  .badge { width: 104px; height: 104px; left: 6px; }
  .badge__mascot { left: 30px; top: 32px; width: 58px; }
  .mascot { width: 100px; bottom: 30px; }
  .steam--1 { display: none; }
  .banner { padding: 24px 24px; border-radius: 24px; }
  .banner svg { width: 76px; height: 76px; }
  .tab { padding: 11px 18px; font-size: .94rem; }
  .story__art { height: 360px; }
  .story__circle { width: 290px; height: 290px; margin: -145px 0 0 -145px; }
  .story__mascot { width: 220px; margin: -92px 0 0 -110px; }
  .story__cup { width: 64px; height: 64px; } .story__croissant { width: 72px; height: 72px; }
  .cards { grid-template-columns: 1fr; }
  .signcard { padding: 54px 24px 30px; }
  .signcard__logo { width: 80px; height: 80px; top: -36px; right: 22px; }
  .map { height: 340px; }
}

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