:root {
  --bg: #0b0b0b;
  --surface: #161616;
  --ink: #ffffff;
  --muted: #a6a6a6;
  --line: #2b2b2b;
  --red: #e2231a;
  --red-ink: #b3150e;
  --green: #1f7a3a;
  --dark: #000000;
  --r-lg: 28px;
  --r-md: 18px;
  --max: 1240px;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--bg); line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1; margin: 0; letter-spacing: -0.03em; }
p { margin: 0; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.todo { background: #fff3a8; color: #5a4300; outline: 2px dashed #e0b400; border-radius: 4px; padding: 0 .25em; }

/* Buttons & chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: .98rem; text-decoration: none; transition: transform .2s ease, background .2s ease, color .2s ease; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: var(--red-ink); }
.btn-line { box-shadow: inset 0 0 0 1.5px currentColor; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(3px); }
.chip { display: inline-flex; align-items: center; gap: .5em; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: .86rem; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.18); }
.dot.off { background: #a8a29e; box-shadow: 0 0 0 4px rgba(168,162,158,.2); }
.label { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 60; padding: 12px 0; transition: background .25s, box-shadow .25s; }
.site-header.scrolled { background: rgba(11,11,11,.85); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 48px; height: 48px; }
.brand strong { font-family: var(--display); font-size: 1.25rem; letter-spacing: -0.02em; display: block; line-height: 1.05; }
.brand small { font-size: .78rem; color: var(--muted); font-weight: 600; }
.nav { display: flex; align-items: center; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 6px; border-radius: 999px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .92rem; padding: 9px 16px; border-radius: 999px; }
.nav a:hover { background: var(--bg); }
.nav .btn { padding: 10px 18px; }
.nav .btn:hover { background: var(--red-ink); }
.menu-toggle { display: none; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); font-size: 1.2rem; cursor: pointer; color: var(--ink); }
@media (max-width: 880px) {
  .menu-toggle { display: grid; place-items: center; }
  .nav { position: absolute; top: 70px; left: 16px; right: 16px; flex-direction: column; align-items: stretch; border-radius: var(--r-md); padding: 8px; box-shadow: 0 20px 40px rgba(0,0,0,.12); opacity: 0; pointer-events: none; transform: translateY(-8px); transition: .2s; }
  .nav.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav a { padding: 14px 16px; }
}

/* Hero */
.hero { padding: 28px 0 56px; }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(3.2rem, 8vw, 6.8rem); font-weight: 800; margin: 20px 0 24px; }
.hero h1 em { font-style: normal; color: var(--red); }
.hero .lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
.hero-media { position: relative; }
.hero-media .main { border-radius: var(--r-lg); aspect-ratio: 1/1; max-height: 620px; object-fit: cover; width: 100%; }
.sticker { position: absolute; width: 132px; height: 132px; left: -28px; bottom: 54px; display: grid; place-content: center; text-align: center; border-radius: 50%; background: var(--red); color: #fff; font-family: var(--display); font-weight: 800; font-size: 2.4rem; line-height: .9; transform: rotate(-10deg); box-shadow: 0 18px 40px rgba(226,35,26,.35); }
.sticker small { display: block; font-family: var(--body); font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-top: 6px; }
.addr-card { position: absolute; right: 18px; top: 18px; background: rgba(0,0,0,.72); border: 1px solid rgba(255,255,255,.12); backdrop-filter: blur(8px); border-radius: var(--r-md); padding: 14px 16px; font-size: .86rem; box-shadow: 0 10px 30px rgba(0,0,0,.12); color: var(--muted); }
.addr-card b { display: block; font-size: .98rem; color: var(--ink); }
@media (max-width: 880px) {
  .hero-grid { grid-template-columns: 1fr; gap: 30px; }
  .hero-media .main { aspect-ratio: 4/3.3; }
  .sticker { width: 104px; height: 104px; font-size: 1.9rem; left: auto; right: 14px; bottom: -22px; }
}

/* Marquee */
.marquee { background: var(--red); color: #000; overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scroll 36s linear infinite; font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: -0.02em; }
.marquee-track span { padding-right: 42px; }
.marquee-track span::after { content: "✦"; color: #000; margin-left: 42px; }
@keyframes scroll { to { transform: translateX(-50%); } }

section { padding: clamp(72px, 10vw, 130px) 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 44px; flex-wrap: wrap; }
.sec-head h2 { font-size: clamp(2.5rem, 6vw, 4.6rem); font-weight: 800; margin-top: 12px; }
.sec-head p { color: var(--muted); max-width: 420px; }

/* Bento about */
.bento { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: minmax(180px, auto); gap: 16px; }
.tile { border-radius: var(--r-lg); background: var(--surface); padding: 30px; position: relative; overflow: hidden; }
.tile.img { padding: 0; min-height: 220px; }
.tile.img img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; }
.tile h3 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 700; margin-bottom: 12px; }
.tile p { color: var(--muted); }
.tile.red { background: var(--red); color: #fff; }
.tile.red p { color: rgba(255,255,255,.88); }
.tile.dark { background: #000; color: #fff; border: 1px solid var(--line); }
.tile.dark p { color: rgba(255,255,255,.7); }
.big-num { font-family: var(--display); font-weight: 800; font-size: clamp(4rem, 7.4vw, 6.2rem); line-height: .85; letter-spacing: -0.05em; }
.t-story { grid-column: span 5; grid-row: span 2; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; }
.t-img1 { grid-column: span 4; grid-row: span 2; }
.t-36, .t-16 { grid-column: span 3; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; }
.t-img2, .t-walk, .t-img3 { grid-column: span 4; }
.t-walk { display: flex; flex-direction: column; justify-content: center; }
@media (max-width: 980px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .t-story, .t-img1, .t-img2, .t-walk, .t-img3 { grid-column: span 2; grid-row: auto; }
  .t-36, .t-16 { grid-column: span 1; }
  .t-img1, .t-img2, .t-img3 { min-height: 280px; }
}

/* Menu */
.menu-section { background: var(--surface); border-radius: 40px; margin: 0 12px; }
.filters { position: sticky; top: 72px; z-index: 20; display: flex; gap: 8px; padding: 12px 0; margin-bottom: 20px; overflow-x: auto; scrollbar-width: none; background: var(--surface); }
.filters::-webkit-scrollbar { display: none; }
.tab { border: 1px solid var(--line); background: var(--surface); padding: 10px 18px; border-radius: 999px; font: inherit; font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink); white-space: nowrap; transition: .15s; }
.tab:hover { border-color: var(--red); }
.tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.menu-cat { font-size: clamp(1.8rem, 3.4vw, 2.6rem); font-weight: 800; margin: 50px 0 6px; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.menu-cat.first { margin-top: 10px; }
.menu-cat span { font-family: var(--body); font-size: .9rem; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.menu-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 48px; }
.item { display: grid; grid-template-columns: 84px 1fr auto; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; transition: transform .5s ease; }
.item:hover img { transform: rotate(20deg) scale(1.06); }
.item .ph { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: 2rem; }
.item h3 { font-family: var(--body); font-size: 1.06rem; font-weight: 700; letter-spacing: -0.01em; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; line-height: 1.3; }
.item .no { color: var(--muted); font-weight: 600; font-size: .9rem; }
.item p { color: var(--muted); font-size: .9rem; margin-top: 4px; }
.item .price { font-family: var(--display); font-weight: 700; font-size: 1.2rem; white-space: nowrap; }
.badge { font-family: var(--body); font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; padding: 3px 8px; border-radius: 999px; background: #1f1f1f; color: #d4d4d4; border: 1px solid #333; }
.badge.hot { background: rgba(226,35,26,.16); color: #ff5a52; border-color: rgba(226,35,26,.4); }
.item[hidden], .menu-cat[hidden], .menu-list[hidden] { display: none; }
.menu-foot { margin-top: 40px; display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: .92rem; }
@media (max-width: 860px) {
  .menu-section { margin: 0; border-radius: 28px; }
  .menu-list { grid-template-columns: 1fr; }
  .item { grid-template-columns: 68px 1fr auto; gap: 14px; }
  .item img, .item .ph { width: 68px; height: 68px; }
}

/* Ingredients strip */
.ing-strip { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.ing { flex: 0 0 168px; scroll-snap-align: start; background: var(--surface); border-radius: var(--r-md); padding: 18px; text-align: center; }
.ing img { background: #fff; width: 116px; height: 116px; border-radius: 50%; object-fit: cover; margin: 0 auto 12px; }
.ing span { font-weight: 600; font-size: .9rem; }

/* Quote */
.quote { text-align: center; padding-top: 0; }
.quote blockquote { font-family: var(--display); font-weight: 700; font-size: clamp(2rem, 5.2vw, 4rem); line-height: 1.04; letter-spacing: -0.035em; margin: 0 auto 22px; max-width: 980px; }
.quote blockquote em { font-style: normal; color: var(--red); }
.quote p { color: var(--muted); max-width: 640px; margin: 0 auto; }

/* Visit */
.visit { background: var(--red); color: #fff; border-radius: 40px; margin: 0 12px; }
.visit .sec-head p { color: rgba(255,255,255,.85); }
.visit .label { color: #000; }
.visit .btn-red { background: #000; }
.visit .btn-red:hover { background: #222; }
.visit-grid { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 16px; }
.vcard { background: rgba(0,0,0,.22); border: 1px solid rgba(0,0,0,.15); border-radius: var(--r-lg); padding: 28px; }
.vcard h3 { font-size: 1.5rem; font-weight: 700; margin-bottom: 18px; }
.vcard .k { font-size: .76rem; text-transform: uppercase; letter-spacing: .12em; color: rgba(255,255,255,.7); font-weight: 700; margin-top: 16px; }
.vcard .k:first-of-type { margin-top: 0; }
.vcard .v { font-size: 1.06rem; font-weight: 600; margin-top: 4px; overflow-wrap: anywhere; }
.vcard .v a { text-decoration: none; }
.vcard .v a:hover { text-decoration: underline; }
.hours-big { font-family: var(--display); font-weight: 800; font-size: clamp(3rem, 5vw, 4.2rem); letter-spacing: -0.04em; line-height: 1; margin: 2px 0 8px; }
.vcard .note { color: rgba(255,255,255,.85); font-size: .92rem; margin-top: 18px; }
.map { border-radius: var(--r-lg); overflow: hidden; min-height: 320px; background: rgba(0,0,0,.25); }
.map iframe { width: 100%; height: 100%; min-height: 320px; border: 0; display: block; }
.visit-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.visit .btn-line { color: #fff; }
.sister { margin-top: 28px; color: rgba(255,255,255,.85); font-size: .92rem; }
.sister a { color: #fff; font-weight: 600; }
@media (max-width: 980px) { .visit-grid { grid-template-columns: 1fr 1fr; } .map { grid-column: span 2; } }
@media (max-width: 640px) { .visit-grid { grid-template-columns: 1fr; } .map { grid-column: auto; } .visit { margin: 0; border-radius: 28px; } }

/* Footer */
.site-footer { padding: 64px 0 40px; }
.foot-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line); }
.foot-big { font-family: var(--display); font-weight: 800; font-size: clamp(2.4rem, 7vw, 5.4rem); letter-spacing: -0.05em; line-height: .9; }
.foot-big em { font-style: normal; color: var(--red); }
.foot-links { display: flex; gap: 40px; flex-wrap: wrap; font-size: .94rem; }
.foot-links h4 { font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--muted); margin: 0 0 10px; }
.foot-links a, .foot-links span { text-decoration: none; display: block; padding: 3px 0; }
.foot-links a:hover { color: var(--red); }
.foot-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 22px; font-size: .84rem; color: var(--muted); }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 720px) {
  .action-bar { display: flex; gap: 8px; position: fixed; left: 12px; right: 12px; bottom: calc(12px + env(safe-area-inset-bottom)); z-index: 50; padding: 8px; background: rgba(0,0,0,.9); border: 1px solid #2b2b2b; backdrop-filter: blur(12px); border-radius: 999px; box-shadow: 0 14px 40px rgba(0,0,0,.25); }
  .action-bar .btn { flex: 1; padding: 13px; }
  .action-bar .btn-line { color: #fff; }
  body { padding-bottom: 92px; }
}

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---- Front page: menu preview ---- */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; display: flex; flex-direction: column; transition: transform .25s ease, border-color .25s ease; }
.feat:hover { transform: translateY(-4px); border-color: var(--red); }
.feat img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.feat:hover img { transform: scale(1.04); }
.feat-body { padding: 18px 20px 22px; }
.feat-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.feat h3 { font-size: 1.45rem; font-weight: 700; }
.feat .price { font-family: var(--display); font-weight: 700; font-size: 1.2rem; color: var(--red); white-space: nowrap; }
.feat p { color: var(--muted); font-size: .92rem; margin-top: 6px; }
.menu-cta { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 36px; color: var(--muted); font-weight: 600; }
.btn-big { padding: 18px 34px; font-size: 1.08rem; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .feat-grid { grid-template-columns: 1fr; }
  .menu-cta { flex-direction: column; }
  .menu-cta .btn { width: 100%; }
}

/* ---- Menu page ---- */
.nav a[aria-current="page"] { background: var(--line); }
.page-hero { padding: 36px 0 44px; }
.page-hero h1 { font-size: clamp(3rem, 8vw, 6.4rem); font-weight: 800; margin: 14px 0 20px; }
.page-hero h1 em { font-style: normal; color: var(--red); }
.page-hero .lead { color: var(--muted); max-width: 560px; font-size: 1.1rem; }
.back { display: inline-block; color: var(--muted); text-decoration: none; font-weight: 600; font-size: .92rem; margin-bottom: 26px; }
.back:hover { color: var(--red); }
.menu-section .filters { margin-top: -8px; }
.menu-visit { padding: 40px 0 0; }
.mini-visit { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; background: var(--red); border-radius: var(--r-lg); padding: 26px 30px; }
.mini-visit .k { font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: rgba(0,0,0,.65); }
.mini-visit .v { font-weight: 700; margin-top: 2px; }
.mini-visit .btn-red { background: #000; }
.mini-visit .btn-red:hover { background: #222; }
.page-hero + .menu-section { padding-top: 40px; }

/* v4: about tiles without photos, Margherita as main photo */
.hero-media .main { aspect-ratio: 3/2; max-height: none; }
.t-story { grid-column: span 6; grid-row: span 2; }
.t-36, .t-16 { grid-column: span 3; }
.t-walk { grid-column: span 6; }
@media (max-width: 980px) { .t-story, .t-walk { grid-column: span 2; } .t-36, .t-16 { grid-column: span 1; } }
.t-story { justify-content: flex-start; }

/* Extras, dips, salad, dessert */
.side-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 18px; }
.side-card { display: block; background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-md); padding: 22px; }
.side-card h4 { font-family: var(--display); font-size: 1.45rem; font-weight: 700; letter-spacing: -0.02em; margin: 0 0 12px; }
.side-card h4 small { display: block; font-family: var(--body); font-size: .8rem; font-weight: 500; color: var(--muted); letter-spacing: 0; margin-top: 2px; }
.side-card ul { list-style: none; margin: 0; padding: 0; }
.side-card li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-weight: 600; }
.side-card li:last-child { border-bottom: 0; }
.side-card li b { font-family: var(--display); color: var(--red); white-space: nowrap; }
.side-card[hidden] { display: none; }
@media (max-width: 980px) { .side-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .side-grid { grid-template-columns: 1fr; } }

/* Opening hours list */
.hrs { list-style: none; margin: 0; padding: 0; }
.hrs li { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(0,0,0,.18); }
.hrs li:last-child { border-bottom: 0; }
.hrs span { font-weight: 600; }
.hrs b { font-family: var(--display); font-weight: 800; font-size: 1.7rem; letter-spacing: -0.03em; white-space: nowrap; }
.t-story p + p { margin-top: 12px; }
.t-story a { color: var(--red); font-weight: 600; }
.tile.dark h3, .tile h3 + p { margin-top: 0; }
.t-story { gap: 4px; } .t-story h3 { margin-bottom: 14px; }

/* v6: about tiles with two photos */
.t-story { grid-column: span 5; grid-row: span 2; }
.t-img1 { grid-column: span 4; grid-row: span 2; }
.t-36, .t-16 { grid-column: span 3; }
.t-mv, .t-img3 { grid-column: span 4; }
.t-mv { display: flex; flex-direction: column; justify-content: flex-start; }
.t-mv h3 { margin-bottom: 12px; }
.menu-section + #om-os { padding-top: clamp(72px, 10vw, 130px); }
@media (max-width: 980px) {
  .t-story, .t-img1, .t-img3 { grid-column: span 2; grid-row: auto; }
  .t-36, .t-16, .t-mv { grid-column: span 1; }
  .t-img1, .t-img3 { min-height: 280px; }
}
@media (max-width: 520px) { .t-mv { grid-column: span 2; } }

/* ===== v7: more animation ===== */
.hero h1 .line { display: block; }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes imgIn { from { opacity: 0; transform: scale(.94) rotate(-1.5deg); } to { opacity: 1; transform: none; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }
@keyframes wobble { 0%,100% { transform: rotate(-10deg) scale(1); } 50% { transform: rotate(-4deg) scale(1.06); } }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(34,197,94,.18); } 50% { box-shadow: 0 0 0 8px rgba(34,197,94,.05); } }
.js .enter { opacity: 0; animation: rise .8s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: calc(var(--d) * 110ms + 100ms); }
.js .enter-img { opacity: 0; animation: imgIn 1s cubic-bezier(.2,.7,.2,1) .35s forwards; }
.hero-media { overflow: visible; }
.hero-media .main { animation: kenburns 14s ease-in-out infinite alternate; }
.hero-media { border-radius: var(--r-lg); }
.hero-media::before { content: ""; position: absolute; inset: 0; border-radius: var(--r-lg); overflow: hidden; pointer-events: none; }
.sticker { animation: wobble 4s ease-in-out infinite; }
.addr-card { animation: floaty 5s ease-in-out infinite; }
.dot:not(.off) { animation: pulse 2s ease-in-out infinite; }
/* keep hero image zoom inside its rounded frame */
.hero-media .main { clip-path: inset(0 round var(--r-lg)); }

/* Button shine */
.btn-red { position: relative; overflow: hidden; }
.btn-red::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-red:hover::after { left: 130%; }

/* Reveal variants */
.js .reveal { transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .item.reveal { transform: translateX(-18px); }
.js .item.reveal.in { transform: none; }
.js .feat.reveal { transform: translateY(30px) scale(.97); }
.js .feat.reveal.in { transform: none; }

/* ===== Menu facts ===== */
.facts { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.facts li { display: flex; gap: 12px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 16px; font-size: .88rem; color: var(--muted); }
.menu-section .facts li { background: var(--bg); }
.facts li span { font-size: 1.6rem; line-height: 1; }
.facts b { display: block; color: var(--ink); font-size: .98rem; }
.badge.fav { background: rgba(226,35,26,.16); color: #ff5a52; border-color: rgba(226,35,26,.4); }
.feat .badge.fav { display: inline-block; margin-top: 8px; }
@media (max-width: 900px) { .facts { grid-template-columns: 1fr 1fr; } }

/* ===== Story timeline ===== */
.timeline-sec { padding-top: 0; }
.timeline-sec h2 em, .shop-sec h2 em { font-style: normal; color: var(--red); }
.timeline { --progress: 0; list-style: none; margin: 0 auto; padding: 0; position: relative; max-width: 900px; }
.timeline::before, .timeline::after { content: ""; position: absolute; left: 50%; top: 0; width: 4px; margin-left: -2px; border-radius: 4px; }
.timeline::before { bottom: 0; background: var(--line); }
.timeline::after { height: calc(var(--progress) * 100%); background: linear-gradient(var(--red), #ff8a3d); transition: height .1s linear; }
.step { position: relative; display: grid; grid-template-columns: 1fr 64px 1fr; align-items: center; gap: 22px; padding: 18px 0; }
.step .num { grid-column: 2; grid-row: 1; z-index: 1; width: 56px; height: 56px; margin: 0 auto; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 1.5rem; box-shadow: 0 0 0 8px var(--bg); }
.step .ico { grid-row: 1; font-size: 2.6rem; text-align: center; }
.step > div { grid-row: 1; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); padding: 18px 22px; }
.step h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: .94rem; }
.step:nth-child(odd) > div { grid-column: 3; }
.step:nth-child(odd) .ico { grid-column: 1; justify-self: end; }
.step:nth-child(even) > div { grid-column: 1; text-align: right; }
.step:nth-child(even) .ico { grid-column: 3; justify-self: start; }
.js .step.reveal { transform: translateY(26px) scale(.96); }
.js .step.reveal.in { transform: none; }
.js .step.reveal .num { transform: scale(.4); transition: transform .5s cubic-bezier(.3,1.6,.5,1) .15s; }
.js .step.reveal.in .num { transform: scale(1); }
.step .ico { animation: floaty 3.6s ease-in-out infinite; }
.step:nth-child(2n) .ico { animation-delay: -1.8s; }
.result { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; margin: 40px auto 0; max-width: 900px; background: var(--red); border-radius: var(--r-lg); padding: 28px 34px; overflow: hidden; }
.result .eq { width: 70px; height: 70px; border-radius: 50%; background: #fff; color: var(--red); display: grid; place-items: center; font-family: var(--display); font-weight: 800; font-size: 2.6rem; }
.result .words { font-family: var(--display); font-weight: 800; font-size: clamp(2rem, 5vw, 3.4rem); line-height: .95; letter-spacing: -0.04em; display: flex; flex-wrap: wrap; gap: 0 .35em; }
.js .result.reveal .words span { display: inline-block; opacity: 0; transform: translateY(20px); transition: .6s cubic-bezier(.2,.7,.2,1); }
.js .result.reveal.in .words span { opacity: 1; transform: none; }
.js .result.reveal.in .words span:nth-child(2) { transition-delay: .15s; }
.js .result.reveal.in .words span:nth-child(3) { transition-delay: .3s; }
.result img { width: 190px; height: 190px; border-radius: 50%; object-fit: cover; animation: spin 40s linear infinite; box-shadow: 0 16px 40px rgba(0,0,0,.35); }
@media (max-width: 720px) {
  .timeline::before, .timeline::after { left: 28px; }
  .step { grid-template-columns: 56px 1fr; gap: 16px; }
  .step .num { grid-column: 1; }
  .step:nth-child(n) > div { grid-column: 2; text-align: left; }
  .step .ico { display: none; }
  .result { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .result img { width: 150px; height: 150px; }
}

/* ===== Shop photos ===== */
.shop-sec { padding-top: 0; }
.shop-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 16px; }
.shop { margin: 0; border-radius: var(--r-lg); overflow: hidden; min-height: 320px; position: relative; }
.shop img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.shop:hover img { transform: scale(1.06); }
@media (max-width: 820px) { .shop-grid { grid-template-columns: 1fr 1fr; } .shop.s1 { grid-column: span 2; } .shop { min-height: 240px; } }

@media (prefers-reduced-motion: reduce) {
  .js .enter, .js .enter-img { opacity: 1; animation: none; }
  .js .reveal, .js .item.reveal, .js .feat.reveal, .js .step.reveal { opacity: 1; transform: none; }
  .js .result.reveal .words span { opacity: 1; transform: none; }
  .timeline { --progress: 1; }
}

/* ===== v8: story first + interactive (dough slider, flip cards, pizza builder, menu button) ===== */
/* Animated menu button: mini pizza gets its toppings on hover */
.menu-btn { gap: .7em; }
.mini-pz { position: relative; width: 26px; height: 26px; border-radius: 50%; background: #e2a85c; box-shadow: inset 0 0 0 4px #e2a85c, inset 0 0 0 26px #c8371f; flex: none; transition: transform .6s cubic-bezier(.3,1.4,.5,1); }
.mini-pz i { position: absolute; width: 6px; height: 6px; border-radius: 50%; background: #fbf0d6; opacity: 0; transform: translateY(-14px) scale(.4); transition: opacity .25s, transform .4s cubic-bezier(.3,1.5,.5,1); }
.mini-pz i:nth-child(1) { left: 6px; top: 7px; }
.mini-pz i:nth-child(2) { left: 14px; top: 5px; background: #7e1f17; transition-delay: .06s; }
.mini-pz i:nth-child(3) { left: 14px; top: 14px; transition-delay: .12s; }
.mini-pz i:nth-child(4) { left: 6px; top: 15px; background: #2f8a3b; transition-delay: .18s; }
.mini-pz i:nth-child(5) { left: 10px; top: 10px; background: #7e1f17; width: 5px; height: 5px; transition-delay: .24s; }
.menu-btn:hover .mini-pz, .menu-btn:focus-visible .mini-pz { transform: rotate(200deg); }
.menu-btn:hover .mini-pz i, .menu-btn:focus-visible .mini-pz i { opacity: 1; transform: none; }
.js .menu-btn .mini-pz { animation: pzHint 3.2s ease-in-out 2.2s infinite; }
@keyframes pzHint { 0%, 80%, 100% { transform: rotate(0); } 88% { transform: rotate(-25deg) scale(1.12); } 94% { transform: rotate(15deg); } }

/* Full-screen transition to the menu */
.pz-overlay { position: fixed; inset: 0; z-index: 200; background: rgba(11,11,11,.94); display: grid; place-content: center; justify-items: center; gap: 18px; opacity: 0; visibility: hidden; transition: opacity .25s, visibility .25s; }
.pz-overlay.show { opacity: 1; visibility: visible; }
.pz-overlay p { font-family: var(--display); font-weight: 800; font-size: 1.6rem; }
.pz-mini svg { width: 170px; height: 170px; }
.pz-overlay.show .pz-mini svg { animation: spin 1.4s linear infinite; }
.pz-overlay .ov-t { opacity: 0; }
.pz-overlay.show .ov-t { animation: drop .45s cubic-bezier(.3,1.5,.5,1) both; }
.pz-overlay.show .ov-t:nth-child(4) { animation-delay: .08s } .pz-overlay.show .ov-t:nth-child(5) { animation-delay: .16s }
.pz-overlay.show .ov-t:nth-child(6) { animation-delay: .24s } .pz-overlay.show .ov-t:nth-child(7) { animation-delay: .32s }
.pz-overlay.show .ov-t:nth-child(8) { animation-delay: .40s } .pz-overlay.show .ov-t:nth-child(9) { animation-delay: .48s }
.pz-overlay.show .ov-t:nth-child(10) { animation-delay: .56s }
@keyframes drop { from { opacity: 0; transform: translateY(-60px) scale(1.6); } to { opacity: 1; transform: none; } }

/* Story hero */
.story-hero h1 .line { display: block; }

/* 36-hour dough slider */
.dough-sec { padding-top: clamp(64px, 8vw, 110px); }
.dough-box { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 36px); align-items: center; }
.dough-visual { position: relative; background: radial-gradient(circle at 50% 70%, #2a1512, #0b0b0b 70%); border-radius: var(--r-md); }
.dough-visual svg { width: 100%; height: auto; display: block; }
#dough-blob, #dough-bubbles circle { transition: all .25s ease; }
.dough-ready { position: absolute; top: 16px; left: 50%; transform: translate(-50%, -10px); background: var(--red); color: #fff; font-weight: 800; padding: 8px 16px; border-radius: 999px; opacity: 0; transition: .35s; white-space: nowrap; }
.dough-ready.show { opacity: 1; transform: translate(-50%, 0); }
.dough-time { display: flex; align-items: baseline; gap: 10px; font-family: var(--display); }
.dough-time b { font-size: clamp(4rem, 9vw, 6.5rem); font-weight: 800; line-height: .9; color: var(--red); font-variant-numeric: tabular-nums; min-width: 2ch; }
.dough-time span { font-weight: 700; font-size: 1.3rem; color: var(--muted); }
.dough-ctrl h3 { font-size: clamp(1.5rem, 2.6vw, 2.1rem); margin: 14px 0 8px; }
.dough-ctrl h3.pop { animation: rise .45s ease both; }
.dough-ctrl > p { color: var(--muted); min-height: 3.2em; }
#dough-range { --k: 0; -webkit-appearance: none; appearance: none; width: 100%; height: 10px; border-radius: 99px; margin: 26px 0 10px; background: linear-gradient(90deg, var(--red) calc(var(--k) * 100%), #2f2f2f 0); cursor: pointer; }
#dough-range::-webkit-slider-thumb { -webkit-appearance: none; width: 30px; height: 30px; border-radius: 50%; background: #f4dfb3; border: 4px solid var(--red); box-shadow: 0 4px 14px rgba(0,0,0,.5); }
#dough-range::-moz-range-thumb { width: 24px; height: 24px; border-radius: 50%; background: #f4dfb3; border: 4px solid var(--red); }
.dough-marks { display: flex; justify-content: space-between; }
.dough-marks button { background: none; border: 0; color: var(--muted); font: 700 .9rem var(--body); cursor: pointer; padding: 6px 4px; }
.dough-marks button:hover { color: #fff; }
.dough-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }
.dough-actions button.btn { border: 0; cursor: pointer; font-family: var(--body); }

/* Flip cards */
.why-sec { padding-top: 0; }
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.flip { perspective: 900px; background: none; border: 0; padding: 0; color: inherit; font: inherit; text-align: left; cursor: pointer; min-height: 230px; }
.flip-in { position: relative; display: block; height: 100%; min-height: 230px; transition: transform .7s cubic-bezier(.3,1.3,.5,1); transform-style: preserve-3d; }
.flip[aria-pressed="true"] .flip-in { transform: rotateY(180deg); }
.flip .front, .flip .back { position: absolute; inset: 0; border-radius: var(--r-lg); padding: 26px; backface-visibility: hidden; -webkit-backface-visibility: hidden; display: flex; flex-direction: column; }
.flip .front { background: var(--surface); border: 1px solid var(--line); justify-content: flex-end; gap: 6px; transition: border-color .2s; }
.flip:hover .front { border-color: var(--red); }
.flip .front .ico { font-size: 2.6rem; margin-bottom: auto; transition: transform .4s; }
.flip:hover .front .ico { transform: scale(1.15) rotate(-8deg); }
.flip .front b { font-family: var(--display); font-size: 1.6rem; line-height: 1.05; }
.flip .front small { color: var(--muted); font-weight: 600; }
.flip .back { background: var(--red); color: #fff; transform: rotateY(180deg); justify-content: center; font-weight: 500; line-height: 1.5; }
@media (max-width: 960px) { .why-grid { grid-template-columns: 1fr 1fr; } .dough-box { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .flip, .flip-in { min-height: 210px; } .flip .front, .flip .back { padding: 20px; } .flip .front b { font-size: 1.3rem; } .flip .back { font-size: .9rem; } }

/* Pizza builder */
.build-sec { background: linear-gradient(180deg, var(--bg), #140807 50%, var(--bg)); }
.builder { display: grid; grid-template-columns: 1fr 1.05fr; gap: 32px; align-items: start; }
.bp-stage { position: sticky; top: 96px; display: grid; justify-items: center; gap: 14px; }
#bp-svg { width: min(100%, 460px); height: auto; filter: drop-shadow(0 24px 40px rgba(0,0,0,.6)); }
#bp-svg.spin { animation: bpSpin .7s cubic-bezier(.3,1.3,.5,1); }
@keyframes bpSpin { from { transform: rotate(-120deg) scale(.9); } to { transform: none; } }
#bp-svg .tp { animation: drop .5s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * 35ms); }
#bp-svg .tp.burr { animation-duration: .7s; }
.bp-dips { display: flex; gap: 10px; min-height: 0; flex-wrap: wrap; justify-content: center; }
.dip { display: grid; justify-items: center; gap: 4px; animation: drop .45s cubic-bezier(.3,1.5,.5,1) both; animation-delay: calc(var(--i) * 80ms); }
.dip span { width: 46px; height: 46px; border-radius: 50%; background: radial-gradient(circle at 40% 35%, #fff8, transparent 45%), var(--c); box-shadow: 0 0 0 5px #2a2a2a, 0 8px 18px rgba(0,0,0,.5); }
.dip small { font-size: .72rem; color: var(--muted); font-weight: 600; }
.bp-label { text-align: center; max-width: 440px; }
.bp-label b { display: block; font-family: var(--display); font-size: 2rem; }
.bp-label span { color: var(--muted); font-size: .9rem; }
.bp-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(18px, 3vw, 30px); display: grid; gap: 22px; min-width: 0; }
.bp-step h4 { display: flex; align-items: center; gap: 10px; font: 800 1.15rem var(--display); margin: 0 0 12px; }
.bp-step h4 span { width: 28px; height: 28px; border-radius: 50%; background: var(--red); display: grid; place-items: center; font-size: .9rem; }
.bp-bases { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.bp-bases button, .bp-opts button { background: #0f0f0f; border: 1.5px solid var(--line); color: #fff; border-radius: 14px; padding: 10px 12px; cursor: pointer; font: 600 .88rem var(--body); text-align: left; transition: border-color .2s, background .2s, transform .15s; }
.bp-bases button:hover, .bp-opts button:hover { border-color: #555; transform: translateY(-2px); }
.bp-bases button b { display: block; font-weight: 700; line-height: 1.2; }
.bp-bases button span { color: var(--muted); font-size: .8rem; }
.bp-bases button[aria-checked="true"], .bp-opts button[aria-pressed="true"] { border-color: var(--red); background: rgba(226,35,26,.16); }
.bp-bases button[aria-checked="true"] span { color: #ffb3ad; }
.bp-opts { display: flex; flex-wrap: wrap; gap: 8px; }
.bp-opts button { display: inline-flex; align-items: center; gap: 8px; border-radius: 999px; padding: 9px 14px; }
.bp-opts button em { font-style: normal; color: var(--muted); font-size: .8rem; }
.bp-opts button[aria-pressed="true"] em { color: #ffb3ad; }
.bp-opts button[aria-pressed="true"]::after { content: "✓"; color: var(--red); font-weight: 800; }
.bp-opts .ic { font-size: 1.1rem; }
.dot-c { width: 14px; height: 14px; border-radius: 50%; border: 1px solid #555; }
.bp-total { display: grid; gap: 4px; padding-top: 18px; border-top: 1px dashed var(--line); }
.bp-total div { display: flex; justify-content: space-between; align-items: baseline; }
.bp-total span { font-weight: 700; color: var(--muted); }
.bp-total b { font-family: var(--display); font-size: 2.4rem; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.bp-total b.bump { animation: bump .35s ease; }
@keyframes bump { 50% { transform: scale(1.12); color: var(--red); } }
.bp-total small { color: var(--muted); }
.bp-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.bp-actions button.btn { background: none; color: #fff; border: 0; cursor: pointer; font-family: var(--body); }
.bp-note { color: var(--muted); font-size: .85rem; }
@media (max-width: 960px) { .builder { grid-template-columns: 1fr; } .bp-stage { position: static; } #bp-svg { width: min(100%, 340px); } }
@media (max-width: 520px) {
  .bp-bases { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 46%; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
  .bp-bases button { scroll-snap-align: start; }
  .bp-actions .btn { flex: 1 1 auto; padding: 13px 16px; }
}

/* "Tilpas" on menu items */
.item-end { display: grid; justify-items: end; gap: 8px; }
.build-btn { background: none; border: 1.5px solid var(--line); color: #fff; border-radius: 999px; padding: 6px 12px; font: 700 .8rem var(--body); cursor: pointer; white-space: nowrap; transition: border-color .2s, background .2s; }
.build-btn:hover { border-color: var(--red); background: var(--red); }

/* Reduced motion / battery saver: keep the feedback, swap movement for gentle fades */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) {
  .js .menu-btn .mini-pz, .pz-overlay.show .pz-mini svg { animation: none; }
  #bp-svg.spin { animation: fadeIn .4s ease; }
  #bp-svg .tp, .dip, .pz-overlay.show .ov-t { animation: fadeIn .35s ease both; animation-delay: calc(var(--i, 0) * 20ms); }
  .flip-in { transition: none; }
}
/* Phones (no hover): show the toppings on the menu button and keep it alive */
@media (hover: none) {
  .menu-btn .mini-pz i { opacity: 1; transform: none; }
  .js .menu-btn .mini-pz { animation: spin 6s linear infinite; }
  .menu-btn:active .mini-pz { transform: scale(1.2); }
}
@media (hover: none) and (prefers-reduced-motion: reduce) { .js .menu-btn .mini-pz { animation: none; } }
/* Safari-safe flip: swap faces with opacity too, in case 3D backfaces misbehave */
.flip .front, .flip .back { transition: opacity .25s ease .2s; }
.flip .back { opacity: 0; }
.flip[aria-pressed="true"] .front { opacity: 0; }
.flip[aria-pressed="true"] .back { opacity: 1; }
.flip-in { -webkit-transform-style: preserve-3d; }
/* Instant taps on phones */
button, .btn, .tab, .flip { touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.bp-panel { grid-template-columns: minmax(0, 1fr); }
.bp-step { min-width: 0; }
@media (max-width: 960px) { .builder { grid-template-columns: minmax(0, 1fr); } }
.sec-head h2 em { font-style: normal; color: var(--red); }

/* ===== v9: realistic pizza (real photos), steam, organic dough, single shop photo ===== */
/* Menu button: a real mini pizza */
.mini-pz { background: url("assets/cut/margherita.webp") center / cover no-repeat; box-shadow: 0 2px 6px rgba(0,0,0,.5); width: 30px; height: 30px; }
.mini-pz i { display: none; }

/* Builder plate */
.bp-plate { position: relative; width: min(100%, 470px); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 42%, #4a3322 0, #33231a 55%, #1e140d 72%, transparent 73%),
              repeating-radial-gradient(circle at 50% 50%, rgba(255,255,255,.025) 0 2px, transparent 2px 7px);
  box-shadow: 0 34px 60px -10px rgba(0,0,0,.75); }
.bp-plate::before { content: ""; position: absolute; inset: 0; border-radius: 50%; box-shadow: inset 0 0 0 7px #2a1c12, inset 0 6px 14px rgba(255,255,255,.06), inset 0 -10px 24px rgba(0,0,0,.5); pointer-events: none; }
.bp-photo { position: absolute; inset: 4%; width: 92%; height: 92%; border-radius: 50%; object-fit: cover; filter: drop-shadow(0 10px 14px rgba(0,0,0,.55)); }
.bp-photo.in { animation: peelIn .75s cubic-bezier(.2,.9,.3,1.12); }
@keyframes peelIn { 0% { transform: translateX(-75%) rotate(-55deg) scale(.82); opacity: 0; } 60% { opacity: 1; } 100% { transform: none; opacity: 1; } }
#bp-svg { position: absolute; inset: 4%; width: 92%; height: 92%; filter: none; overflow: visible; }
#bp-svg.spin { animation: none; }
/* toppings fall from above, land with a tiny bounce; cheese melts */
#bp-svg .tp { transform-box: fill-box; transform-origin: center; animation: tDrop .62s cubic-bezier(.3,.7,.35,1) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes tDrop { 0% { opacity: 0; transform: translateY(-110px) scale(1.55) rotate(-25deg); } 55% { opacity: 1; transform: translateY(3px) scale(.95); } 75% { transform: translateY(-2px) scale(1.02); } 100% { opacity: 1; transform: none; } }
#bp-svg .tp.melt { animation-name: tMelt; animation-duration: .9s; }
@keyframes tMelt { 0% { opacity: 0; transform: translateY(-70px) scale(.55); } 45% { opacity: 1; transform: translateY(0) scale(.8); } 75% { transform: scale(1.12, 1.04); } 100% { opacity: 1; transform: none; } }
#bp-svg .tp.burr { animation-name: tBurr; animation-duration: .85s; }
@keyframes tBurr { 0% { opacity: 0; transform: translateY(-140px) scale(1.3); } 55% { opacity: 1; transform: translateY(0) scale(1.1, .86); } 75% { transform: scale(.96, 1.05); } 100% { opacity: 1; transform: none; } }
#bp-extra g.lift { transition: opacity .25s, transform .25s; opacity: 0; transform: translateY(-20px); }
/* steam */
.steam { position: absolute; left: 50%; top: 18%; width: 0; height: 0; pointer-events: none; }
.steam i { position: absolute; left: -30px; top: -20px; width: 60px; height: 150px; border-radius: 50%; background: radial-gradient(ellipse at 50% 60%, rgba(255,255,255,.55), rgba(255,255,255,0) 65%); filter: blur(10px); opacity: 0; animation: steam 4.2s ease-in infinite; }
.steam i:nth-child(2) { left: -70px; animation-delay: 1.4s; }
.steam i:nth-child(3) { left: 10px; animation-delay: 2.8s; }
@keyframes steam { 0% { transform: translateY(40px) scaleX(.7); opacity: 0; } 30% { opacity: .55; } 100% { transform: translateY(-150px) scaleX(1.5) skewX(10deg); opacity: 0; } }
.bp-stage { gap: 18px; }
/* pizza picker with photo thumbnails */
.bp-bases button { display: flex; align-items: center; gap: 9px; padding: 7px 10px 7px 7px; }
.bp-bases button img { width: 40px; height: 40px; border-radius: 50%; flex: none; transition: transform .5s cubic-bezier(.3,1.4,.5,1); }
.bp-bases button:hover img, .bp-bases button[aria-checked="true"] img { transform: rotate(40deg) scale(1.08); }
.bp-bases .bt { min-width: 0; }
.bp-bases .bt b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
/* dips as real ramekins */
.dip span { width: 50px; height: 50px; background: radial-gradient(circle at 42% 38%, rgba(255,255,255,.7), transparent 30%), radial-gradient(circle, var(--c) 58%, color-mix(in srgb, var(--c), #000 25%) 70%); box-shadow: 0 0 0 5px #e9e4da, 0 0 0 6px #c9c2b5, 0 10px 18px rgba(0,0,0,.55); }

/* Menu transition: real pizza spinning with steam */
.pz-mini { position: relative; }
.pz-mini img { width: 190px; height: 190px; border-radius: 50%; filter: drop-shadow(0 18px 26px rgba(0,0,0,.7)); }
.pz-overlay.show .pz-mini img { animation: ovIn .55s cubic-bezier(.2,.9,.3,1.2) both, spin 2.4s linear .55s infinite; }
@keyframes ovIn { from { transform: translateY(40px) rotate(-90deg) scale(.6); opacity: 0; } to { transform: none; opacity: 1; } }
.pz-mini .steam { top: 10%; }

/* Dough breathes while rising */
#dough-g { transform-box: fill-box; transform-origin: 50% 100%; }
.dough-visual.playing #dough-g { animation: breathe 1.1s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.015, 1.035); } }
#dough-blob, #dough-flour, #dough-gloss, #dough-shadow, #dough-bubbles circle { transition: all .22s ease-out; }
.dough-visual { background: radial-gradient(circle at 50% 75%, #3a1c14, #120b09 65%, #0b0b0b); }

/* One clear shop photo */
.shop-one { position: relative; margin: 0; border-radius: var(--r-lg); overflow: hidden; }
.shop-one img { width: 100%; height: auto; max-height: 720px; object-fit: cover; object-position: 50% 60%; transition: transform 1.2s ease; }
.shop-one:hover img { transform: scale(1.03); }
.shop-one figcaption { position: absolute; left: 20px; bottom: 20px; background: rgba(11,11,11,.82); backdrop-filter: blur(6px); padding: 14px 18px; border-radius: 16px; display: grid; color: var(--muted); font-size: .9rem; }
.shop-one figcaption b { color: #fff; font-family: var(--display); font-size: 1.3rem; }

@media (max-width: 960px) { .bp-plate { width: min(100%, 360px); } }
@media (max-width: 520px) { .bp-bases { grid-auto-columns: 62%; } }
@media (prefers-reduced-motion: reduce) {
  .steam { display: none; }
  .bp-photo.in { animation: fadeIn .4s ease; }
  #bp-svg .tp, #bp-svg .tp.melt, #bp-svg .tp.burr { animation: fadeIn .35s ease both; animation-delay: calc(var(--i, 0) * 20ms); }
  .dough-visual.playing #dough-g { animation: none; }
  .pz-overlay.show .pz-mini img { animation: fadeIn .3s ease both; }
}

/* ===== v10: own oven photo ===== */
.shop-duo { display: grid; grid-template-columns: 1.55fr 1fr; gap: 16px; align-items: stretch; }
.shop-duo .shop-one img { height: 100%; max-height: 640px; }
.shop-one.oven img { object-position: 50% 55%; }
.page-hero-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; }
.page-hero-img { position: relative; margin: 0; }
.page-hero-img img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--r-lg); max-height: 520px; }
.page-hero-img .sticker { left: -22px; bottom: 30px; width: 110px; height: 110px; font-size: 1.6rem; }
@media (max-width: 860px) {
  .shop-duo { grid-template-columns: 1fr; }
  .shop-duo .shop-one img { height: auto; max-height: 520px; }
  .page-hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .page-hero-img img { aspect-ratio: 4/3; max-height: 380px; }
  .page-hero-img .sticker { left: auto; right: 14px; bottom: -18px; width: 96px; height: 96px; }
}

/* ===== v11: dough-opening video ===== */
.crumb-sec { padding: 60px 0 100px; }
.crumb-grid { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 64px; align-items: center; }
.crumb-vid { position: relative; margin: 0; border-radius: 28px; overflow: hidden; background: #1a1410; box-shadow: 0 40px 90px rgba(0,0,0,.55), 0 0 0 1px rgba(255,255,255,.06); max-width: 460px; justify-self: end; width: 100%; }
.crumb-vid video { display: block; width: 100%; aspect-ratio: 540/645; object-fit: cover; }
.crumb-vid::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 60%, rgba(0,0,0,.45)); pointer-events: none; }
.crumb-tag { position: absolute; left: 18px; bottom: 18px; z-index: 1; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: #fff; background: rgba(0,0,0,.45); backdrop-filter: blur(6px); padding: 7px 12px; border-radius: 999px; }
.crumb-tag { color: #fff; } .crumb-tag::first-letter { color: var(--red, #e0261f); }
.crumb-txt h2 { font-size: clamp(2.2rem, 5vw, 3.8rem); line-height: 1.02; margin: 10px 0 18px; }
.crumb-txt h2 em { color: var(--red, #e0261f); font-style: normal; }
.crumb-txt p { color: #b9b9b9; max-width: 46ch; line-height: 1.65; }
.crumb-facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; gap: 28px; flex-wrap: wrap; }
.crumb-facts b { display: block; font-size: 1.7rem; color: #fff; }
.crumb-facts span { color: #9a9a9a; font-size: .85rem; }
@media (max-width: 860px) {
  .crumb-sec { padding: 30px 0 70px; }
  .crumb-grid { grid-template-columns: 1fr; gap: 28px; }
  .crumb-vid { justify-self: center; max-width: 420px; border-radius: 22px; }
  .crumb-facts { gap: 20px; }
}

/* ===== v12: real photos for extras & dips ===== */
.side-card li.has-ph { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 12px; }
.side-card li.has-ph img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px #222, 0 4px 10px rgba(0,0,0,.4); }
.bp-opts .opt-ph { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; margin-left: -6px; box-shadow: 0 0 0 2px #222; }
.bp-opts button { padding-left: 10px; }
.dip span { background: radial-gradient(circle at 40% 32%, rgba(255,255,255,.45), transparent 32%), var(--img, none) center / cover, var(--c); }
.credits { margin-top: 18px; color: #8a8a8a; font-size: .78rem; }
.credits summary { cursor: pointer; width: max-content; }
.credits p { margin: 8px 0 0; max-width: 80ch; line-height: 1.55; }
