:root {
    --bg: #080706;
    --surface: #11100e;
    --surface-2: #181512;
    --ink: #fff2dc;
    --muted: #b0a38f;
    --red: #ff3b1f;
    --red-2: #b51610;
    --orange: #ff7a18;
    --glow: #ffb000;
    --stone: #2a241e;
    --border: rgba(255, 242, 220, .16);
    --border-strong: rgba(255, 242, 220, .32);
    --shadow-red: 0 0 50px rgba(255, 59, 31, .26);
    --shadow-fire: 0 0 80px rgba(255, 176, 0, .18);
    --font-display: "Bebas Neue", sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-hud: "Share Tech Mono", ui-monospace, monospace;
    --max: 1240px;
    --ease: cubic-bezier(.2, .8, .2, 1);
    color-scheme: dark;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
    overflow-x: hidden;
}

body.rnr-theme {
    min-width: 320px;
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background:
        radial-gradient(circle at 76% 4%, rgba(255, 59, 31, .24), transparent 28rem),
        radial-gradient(circle at 18% 34%, rgba(255, 176, 0, .09), transparent 20rem),
        linear-gradient(180deg, #080706, #0e0b09 44%, #080706);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.55;
}

body.rnr-theme::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .22;
    background-image:
        linear-gradient(rgba(255, 242, 220, .035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 242, 220, .025) 1px, transparent 1px);
    background-size: 88px 88px;
    mask-image: radial-gradient(circle at center, #000 0 48%, transparent 82%);
}

body.rnr-theme::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    opacity: .07;
    background:
        radial-gradient(circle at 20% 40%, #fff 0 1px, transparent 1.4px) 0 0 / 38px 38px,
        linear-gradient(transparent 0 48%, rgba(255,255,255,.13) 49% 51%, transparent 52% 100%) 0 0 / 100% 7px;
    mix-blend-mode: screen;
}

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

.rnr-theme a {
    color: inherit;
    text-decoration: none;
}

.rnr-theme button,
.rnr-theme input,
.rnr-theme textarea,
.rnr-theme select {
    font: inherit;
}

.rnr-theme button {
    cursor: pointer;
}

.rnr-theme :focus-visible {
    outline: 2px solid var(--glow);
    outline-offset: 4px;
}

.rnr-theme.body-lock,
.rnr-theme.rnr-cart-lock {
    overflow: hidden;
}

.page {
    position: relative;
    z-index: 2;
}

.rnr-skip-link {
    position: fixed;
    left: 1rem;
    top: 1rem;
    z-index: 5000;
    transform: translateY(-150%);
    background: var(--glow);
    color: #120906;
    padding: .85rem 1rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.rnr-skip-link:focus {
    transform: translateY(0);
}

.hud-progress {
    position: fixed;
    right: 18px;
    top: 112px;
    bottom: 28px;
    z-index: 30;
    width: 2px;
    background: rgba(255, 242, 220, .13);
}

.hud-progress span {
    display: block;
    width: 100%;
    height: calc(var(--progress, 0) * 100%);
    background: linear-gradient(var(--red), var(--glow));
    box-shadow: 0 0 24px rgba(255, 59, 31, .7);
    transform-origin: top;
}

.site-header {
    position: fixed;
    top: 18px;
    left: 50%;
    z-index: 40;
    width: min(var(--max), calc(100vw - 32px));
    transform: translateX(-50%);
    transition: transform .36s var(--ease), opacity .36s var(--ease);
}

.site-header.is-compact {
    transform: translateX(-50%) translateY(-8px);
}

.nav-shell {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 22px;
    align-items: center;
    min-height: 74px;
    padding: 10px;
    background: rgba(8, 7, 6, .84);
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,.26), inset 0 1px 0 rgba(255,255,255,.06);
    backdrop-filter: blur(18px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    padding-left: 4px;
}

.brand-mark {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    color: var(--ink);
    background: var(--red);
    border: 2px solid var(--glow);
    font-family: var(--font-hud);
    font-size: 13px;
    font-weight: 700;
    box-shadow: 0 0 0 4px rgba(255, 176, 0, .11);
}

.brand strong {
    display: block;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(24px, 2.2vw, 32px);
    line-height: .86;
    letter-spacing: .02em;
}

.brand small {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 11px;
    text-transform: uppercase;
}

.nav-links {
    justify-self: center;
    display: flex;
    align-items: center;
    gap: clamp(12px, 2vw, 28px);
}

.nav-links a,
.cart-trigger {
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
    color: rgba(255, 242, 220, .82);
    transition: color .28s var(--ease), transform .28s var(--ease);
}

.nav-links a:hover {
    color: var(--glow);
    transform: translateY(-1px);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.cart-trigger {
    position: relative;
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid var(--border);
    background: rgba(255, 242, 220, .04);
}

.cart-badge,
[data-rnr-cart-badge] {
    position: absolute;
    top: -9px;
    right: -9px;
    min-width: 22px;
    height: 22px;
    display: grid;
    place-items: center;
    padding: 0 6px;
    border-radius: 999px;
    color: #fff;
    background: #e53935;
    font-family: var(--font-hud);
    font-size: 11px;
    box-shadow: 0 0 0 4px var(--bg), 0 0 24px rgba(255, 59, 31, .7);
    transform-origin: center;
}

.cart-badge[hidden],
[data-rnr-cart-badge][hidden] {
    display: none;
}

.cart-badge.pop,
[data-rnr-cart-badge].pop {
    animation: badge-pop .36s var(--ease);
}

.cart-badge.is-removing,
[data-rnr-cart-badge].is-removing {
    animation: badge-out .24s var(--ease);
}

.cta,
.rnr-checkout-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 20px;
    border: 1px solid transparent;
    color: #130b05;
    background: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    box-shadow: 0 0 42px rgba(255, 176, 0, .22);
    transition: transform .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease), color .28s var(--ease);
}

.cta.red,
.rnr-checkout-btn {
    color: var(--ink);
    background: var(--red);
    box-shadow: var(--shadow-red);
}

.cta.ghost {
    color: var(--ink);
    background: transparent;
    border-color: var(--border-strong);
    box-shadow: none;
}

.cta:hover,
.rnr-checkout-btn:hover {
    transform: translateY(-2px);
}

.cta.is-pressed,
.cart-trigger.is-pressed,
.rnr-checkout-btn.is-pressed {
    transform: scale(.975);
}

.mobile-toggle {
    display: none;
    width: 52px;
    height: 52px;
    border: 1px solid var(--border);
    background: rgba(255, 242, 220, .04);
    color: var(--ink);
}

.mobile-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    margin: 5px auto;
    background: currentColor;
    transform-origin: center;
    transition: transform .28s var(--ease), opacity .28s var(--ease);
}

.mobile-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-open span:nth-child(2) {
    opacity: 0;
}

.mobile-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-panel {
    position: fixed;
    inset: 0;
    z-index: 35;
    display: grid;
    place-items: center;
    padding: 92px 20px 24px;
    pointer-events: none;
    opacity: 0;
    background: rgba(8, 7, 6, .92);
    backdrop-filter: blur(20px);
    transition: opacity .34s var(--ease);
}

.mobile-panel.is-open {
    pointer-events: auto;
    opacity: 1;
}

.mobile-panel nav {
    width: min(520px, 100%);
    display: grid;
    gap: 10px;
}

.mobile-panel a {
    min-height: 66px;
    display: flex;
    align-items: center;
    padding: 0 18px;
    border: 1px solid var(--border);
    background: rgba(255, 242, 220, .045);
    font-family: var(--font-display);
    font-size: clamp(36px, 12vw, 72px);
    line-height: .9;
    transform: translateY(18px);
    opacity: 0;
    transition: transform .42s var(--ease), opacity .42s var(--ease), color .28s var(--ease);
}

.mobile-panel.is-open a {
    transform: translateY(0);
    opacity: 1;
}

.mobile-panel.is-open a:nth-child(2) { transition-delay: 70ms; }
.mobile-panel.is-open a:nth-child(3) { transition-delay: 120ms; }
.mobile-panel.is-open a:nth-child(4) { transition-delay: 170ms; }
.mobile-panel a:hover { color: var(--glow); }

.section,
.page-hero,
.local-row,
.menu-shell,
.cart-page-shell,
.booking-shell,
.checkout-shell,
.contact-split,
.success-card,
.system-shell {
    position: relative;
    width: min(var(--max), calc(100vw - 32px));
    margin-inline: auto;
}

.section {
    padding: clamp(72px, 11vw, 148px) 0;
}

.chapter {
    display: grid;
    grid-template-columns: 76px minmax(0, 1fr);
    gap: clamp(18px, 4vw, 52px);
    align-items: start;
}

.chapter-index {
    position: sticky;
    top: 122px;
    display: grid;
    gap: 8px;
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.chapter-index::after {
    content: "";
    width: 1px;
    height: 130px;
    background: linear-gradient(var(--red), transparent);
}

.section-title {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(52px, 8vw, 120px);
    line-height: .84;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.section-lead,
.page-hero p {
    max-width: 64ch;
    margin: 18px 0 0;
    color: rgba(255, 242, 220, .76);
    font-size: clamp(16px, 1.5vw, 20px);
}

.hud-box,
.system-card,
.system-shell,
.booking-shell > div,
.checkout-shell,
.success-card {
    position: relative;
    border: 1px solid var(--border);
    background: linear-gradient(135deg, rgba(255, 242, 220, .045), rgba(255, 59, 31, .04)), rgba(17, 16, 14, .9);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.07);
}

.hud-box::before,
.hud-box::after,
.corner::before,
.corner::after {
    content: "";
    position: absolute;
    width: 26px;
    height: 26px;
    pointer-events: none;
    border-color: var(--red);
}

.hud-box::before { left: -1px; top: -1px; border-left: 2px solid; border-top: 2px solid; }
.hud-box::after { right: -1px; bottom: -1px; border-right: 2px solid; border-bottom: 2px solid; }
.corner::before { right: -1px; top: -1px; border-right: 2px solid; border-top: 2px solid; }
.corner::after { left: -1px; bottom: -1px; border-left: 2px solid; border-bottom: 2px solid; }

.hero {
    min-height: 100dvh;
    display: grid;
    align-items: end;
    padding: 120px 0 42px;
}

.hero-grid {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
    gap: 28px;
    align-items: stretch;
}

.hero-copy {
    min-height: 620px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    padding: clamp(22px, 5vw, 56px);
}

.chapter-kicker {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    color: var(--red);
    font-family: var(--font-hud);
    font-size: 13px;
    text-transform: uppercase;
}

.chapter-kicker::before {
    content: "";
    width: 42px;
    height: 2px;
    background: currentColor;
}

.hero h1,
.page-hero h1,
.contact-info h2 {
    max-width: 9ch;
    margin: 18px 0 0;
    font-family: var(--font-display);
    font-size: clamp(76px, 11vw, 160px);
    line-height: .78;
    letter-spacing: .01em;
    text-transform: uppercase;
    text-wrap: balance;
}

.page-hero h1 {
    max-width: 11ch;
    font-size: clamp(56px, 8vw, 118px);
}

.contact-info h2 {
    max-width: 10ch;
    font-size: clamp(44px, 6vw, 88px);
}

.hero p {
    max-width: 52ch;
    margin: 22px 0 0;
    color: rgba(255, 242, 220, .76);
    font-size: clamp(17px, 1.5vw, 21px);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.hero-status {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 34px;
    background: var(--border);
}

.hero-status span {
    min-height: 78px;
    display: grid;
    align-content: center;
    padding: 12px;
    background: rgba(8, 7, 6, .84);
    color: var(--muted);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.hero-status b {
    display: block;
    color: var(--ink);
    font-size: 16px;
}

.pizza-stage {
    position: relative;
    min-height: 620px;
    overflow: hidden;
    background:
        radial-gradient(circle at 70% 22%, rgba(255, 176, 0, .38), transparent 12rem),
        radial-gradient(circle at 72% 72%, rgba(255, 59, 31, .22), transparent 16rem),
        #0a0908;
}

.pizza-stage::before {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .5;
    background:
        linear-gradient(110deg, rgba(255, 242, 220, .08), transparent 20% 70%, rgba(255, 59, 31, .1)),
        radial-gradient(circle at 32% 38%, rgba(0,0,0,.86), transparent 25rem);
}

.oven-flare {
    position: absolute;
    right: 8%;
    top: 7%;
    width: min(36vw, 450px);
    aspect-ratio: 1.25;
    border-radius: 50%;
    background:
        radial-gradient(ellipse at 64% 54%, #fff4b0 0 8%, #ffb000 9% 18%, #ff3b1f 20% 34%, transparent 55%),
        radial-gradient(ellipse at 25% 60%, #ff7a18 0 12%, transparent 38%);
    filter: blur(6px) saturate(1.2);
    transform: rotate(-20deg);
    opacity: .82;
    animation: flame-breathe 2.8s var(--ease) infinite alternate;
}

.pizza-disc {
    position: absolute;
    right: 4%;
    bottom: -11%;
    width: min(54vw, 760px);
    aspect-ratio: 1;
    border-radius: 50%;
    background:
        radial-gradient(circle at 50% 50%, rgba(255,255,255,.2) 0 4%, transparent 4.3%),
        radial-gradient(circle at 35% 42%, #164b24 0 3%, transparent 3.4%),
        radial-gradient(circle at 67% 38%, #164b24 0 2.8%, transparent 3.2%),
        radial-gradient(circle at 52% 66%, #164b24 0 3.2%, transparent 3.6%),
        radial-gradient(circle at 50% 48%, #f7d87c 0 22%, #e23b21 23% 54%, #c36d23 55% 63%, #f4b650 64% 76%, #7c3a19 77% 80%, transparent 81%);
    box-shadow: 0 0 110px rgba(255, 59, 31, .26), inset 0 0 60px rgba(0,0,0,.42);
    transform: rotate(-13deg);
    animation: pizza-load 900ms var(--ease) both;
}

.slice-hud {
    position: absolute;
    right: 34px;
    bottom: 34px;
    width: min(340px, calc(100% - 68px));
    padding: 22px;
    background: rgba(8, 7, 6, .82);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-red);
}

.slice-hud span,
.builder-total span,
.demo-tag,
.metric-label,
.data-line span {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.slice-hud strong {
    display: block;
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 48px;
    line-height: .86;
    text-transform: uppercase;
}

.slice-hud small {
    color: rgba(255, 242, 220, .72);
}

.scan-label {
    position: absolute;
    left: 28px;
    top: 28px;
    z-index: 2;
    display: grid;
    gap: 8px;
    color: rgba(255, 242, 220, .78);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.scan-label i {
    width: 180px;
    height: 2px;
    background: linear-gradient(90deg, var(--red), transparent);
    animation: scan 2.5s var(--ease) infinite;
}

.builder-layout {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
    gap: 24px;
    margin-top: 42px;
}

.loadout {
    display: grid;
    gap: 12px;
}

.option-row {
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 12px;
    align-items: stretch;
}

.option-label {
    display: grid;
    place-items: center;
    min-height: 86px;
    color: var(--muted);
    border: 1px solid var(--border);
    font-family: var(--font-hud);
    font-size: 11px;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.option-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(128px, 1fr));
    gap: 8px;
}

.builder-option {
    min-height: 86px;
    padding: 14px;
    text-align: left;
    color: var(--ink);
    background: rgba(255, 242, 220, .045);
    border: 1px solid var(--border);
    transition: transform .28s var(--ease), border-color .28s var(--ease), background .28s var(--ease), box-shadow .28s var(--ease);
}

.builder-option strong {
    display: block;
    font-family: var(--font-display);
    font-size: 26px;
    line-height: .9;
}

.builder-option small {
    display: block;
    margin-top: 8px;
    color: var(--muted);
    font-family: var(--font-hud);
    font-size: 11px;
}

.builder-option.is-selected,
.builder-option:hover {
    border-color: var(--glow);
    background: rgba(255, 176, 0, .13);
    box-shadow: 0 0 38px rgba(255, 176, 0, .14);
    transform: translateY(-2px);
}

.preview-panel {
    min-height: 600px;
    display: grid;
    grid-template-rows: 1fr auto;
    overflow: hidden;
}

.build-pizza {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 430px;
    background:
        radial-gradient(circle at 50% 50%, rgba(255, 176, 0, .16), transparent 20rem),
        linear-gradient(135deg, rgba(255, 59, 31, .08), transparent),
        #0b0908;
}

.build-pizza .pizza-disc {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(72%, 450px);
    animation: none;
    transition: filter .32s var(--ease), transform .32s var(--ease);
}

.build-pizza.heat-3 .pizza-disc {
    filter: saturate(1.35) contrast(1.1);
    box-shadow: 0 0 120px rgba(255, 59, 31, .44), inset 0 0 70px rgba(0,0,0,.46);
}

.builder-console {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 18px;
    align-items: end;
    padding: 22px;
    border-top: 1px solid var(--border);
    background: rgba(8, 7, 6, .86);
}

.builder-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.builder-summary b {
    padding: 6px 9px;
    color: rgba(255, 242, 220, .82);
    border: 1px solid var(--border);
    font-family: var(--font-hud);
    font-size: 11px;
    text-transform: uppercase;
}

.builder-total strong {
    display: block;
    font-family: var(--font-display);
    font-size: 48px;
    line-height: .9;
}

.story-track {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 18px;
    margin-top: 42px;
}

.story-main,
.story-side {
    min-height: 520px;
    padding: clamp(22px, 4vw, 44px);
    overflow: hidden;
}

.story-main {
    display: grid;
    align-content: end;
    background:
        radial-gradient(circle at 70% 30%, rgba(255, 176, 0, .18), transparent 18rem),
        radial-gradient(circle at 20% 80%, rgba(255, 59, 31, .18), transparent 20rem),
        var(--surface);
}

.story-main h3,
.slice-card h3,
.final-poster h2,
.theme-cta-inner h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 96px);
    line-height: .86;
    text-transform: uppercase;
}

.story-main p {
    max-width: 54ch;
    color: rgba(255, 242, 220, .74);
}

.metric-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    margin-top: 28px;
    background: var(--border);
}

.metric {
    padding: 16px;
    background: rgba(8, 7, 6, .7);
}

.metric b {
    display: block;
    font-family: var(--font-display);
    font-size: 34px;
    line-height: .9;
}

.story-side {
    display: grid;
    gap: 12px;
}

.mini-system {
    display: grid;
    align-content: end;
    padding: 24px;
    border: 1px solid var(--border);
    background: rgba(255, 242, 220, .045);
}

.mini-system span {
    color: var(--muted);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.mini-system strong {
    margin-top: 8px;
    font-family: var(--font-display);
    font-size: 40px;
    line-height: .9;
}

.slice-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin-top: 42px;
    perspective: 1200px;
}

.slice-card {
    min-height: 420px;
    display: grid;
    align-content: end;
    padding: clamp(18px, 3vw, 28px);
    transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease);
    overflow: hidden;
}

.slice-card::before {
    content: attr(data-code);
    position: absolute;
    right: 18px;
    top: 18px;
    color: rgba(255, 242, 220, .07);
    font-family: var(--font-display);
    font-size: 96px;
    line-height: 1;
}

.slice-card:hover {
    border-color: rgba(255, 176, 0, .44);
    box-shadow: 0 0 58px rgba(255, 59, 31, .18);
}

.slice-card p {
    min-height: 72px;
    color: rgba(255, 242, 220, .74);
}

.slice-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin: 18px 0;
    padding-top: 18px;
    border-top: 1px solid var(--border);
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.cart-lab {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(320px, .62fr);
    gap: 18px;
    margin-top: 42px;
}

.signal-board {
    min-height: 360px;
    display: grid;
    align-content: end;
    padding: clamp(22px, 4vw, 44px);
}

.signal-board strong {
    font-family: var(--font-display);
    font-size: clamp(48px, 7vw, 116px);
    line-height: .82;
    text-transform: uppercase;
}

.cart-demo {
    padding: 22px;
}

.cart-list {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.cart-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 242, 220, .045);
}

.cart-item strong,
.cart-item small {
    display: block;
}

.cart-item small {
    color: var(--muted);
}

.remove-btn {
    border: 0;
    color: var(--glow);
    background: transparent;
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.final {
    width: min(var(--max), calc(100vw - 32px));
    margin-inline: auto;
    padding: clamp(72px, 11vw, 148px) 0;
}

.final-poster,
.theme-cta-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
    gap: 24px;
    padding: clamp(24px, 5vw, 56px);
    background:
        radial-gradient(circle at 80% 18%, rgba(255, 59, 31, .24), transparent 22rem),
        linear-gradient(135deg, rgba(255, 176, 0, .06), transparent),
        rgba(17, 16, 14, .92);
}

.final-left p,
.theme-cta-inner p {
    max-width: 52ch;
    color: rgba(255, 242, 220, .74);
}

.final-right {
    display: grid;
    gap: 1px;
    align-content: start;
    background: var(--border);
}

.data-line {
    display: grid;
    gap: 6px;
    padding: 18px;
    background: rgba(8, 7, 6, .78);
}

.data-line strong {
    color: rgba(255, 242, 220, .86);
}

.page-hero {
    min-height: 430px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .36fr);
    gap: 18px;
    align-items: end;
    padding: 150px 0 42px;
}

.page-hero-panel {
    padding: 24px;
}

.page-hero-panel strong {
    display: block;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: .9;
    text-transform: uppercase;
}

.page-hero-panel span,
.back-link {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.back-link {
    display: inline-flex;
    margin-bottom: 18px;
}

.system-shell,
.checkout-shell,
.booking-shell,
.success-card {
    padding: clamp(18px, 4vw, 34px);
    margin-bottom: clamp(60px, 8vw, 100px);
}

.local-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: 14px;
    margin-bottom: 14px;
}

.local-card,
.fulfillment-card {
    padding: clamp(16px, 3vw, 24px);
}

.fulfillment-card {
    display: grid;
    align-content: center;
}

.menu-shell {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 14px;
    align-items: start;
    padding-bottom: clamp(72px, 9vw, 120px);
}

.menu-main {
    min-width: 0;
}

.category-bar {
    position: sticky;
    top: 104px;
    z-index: 24;
    margin-bottom: 14px;
    padding: 10px;
    overflow-x: auto;
    border: 1px solid var(--border);
    background: rgba(8, 7, 6, .86);
    backdrop-filter: blur(14px);
}

.category-bar ul,
.category-bar .nav,
.category-bar .nav-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    margin: 0;
    padding: 0;
    border: 0;
}

.category-bar li {
    list-style: none;
}

.category-bar a,
.category-bar .nav-link {
    white-space: nowrap;
    border: 0 !important;
    border-radius: 0 !important;
    color: rgba(255, 242, 220, .84) !important;
    background: rgba(255, 242, 220, .06) !important;
    padding: 13px 16px;
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.category-bar a.active,
.category-bar .nav-link.active,
.category-bar a:hover {
    color: #150905 !important;
    background: var(--glow) !important;
}

.menu-list .menu-items,
.menu-list .row {
    --bs-gutter-x: 14px;
    --bs-gutter-y: 14px;
}

.rnr-menu-card {
    position: relative;
    width: 100%;
    min-height: 100%;
    display: grid;
    grid-template-columns: 168px minmax(0, 1fr);
    gap: 16px;
    padding: 12px;
    text-align: left;
    color: var(--ink);
    background: rgba(255, 242, 220, .045);
    border: 1px solid var(--border);
    cursor: pointer;
    transform: translateZ(0);
    transition: transform .24s var(--ease), border-color .24s var(--ease), box-shadow .24s var(--ease), background .24s var(--ease);
}

.rnr-menu-card:hover,
.rnr-menu-card.is-adding {
    transform: translateY(-4px);
    border-color: rgba(255, 176, 0, .44);
    background: rgba(255, 176, 0, .08);
    box-shadow: 0 0 48px rgba(255, 59, 31, .16);
}

.rnr-menu-card.is-unavailable {
    opacity: .55;
    cursor: not-allowed;
}

.rnr-menu-media {
    position: relative;
    min-height: 138px;
    overflow: hidden;
    background: #0b0908;
    border: 1px solid var(--border);
}

.rnr-menu-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s var(--ease);
}

.rnr-menu-card:hover .rnr-menu-media img {
    transform: scale(1.06);
}

.rnr-menu-media .pizza-disc {
    position: absolute;
    width: 190px;
    right: -42px;
    bottom: -58px;
}

.rnr-menu-code {
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 6px 8px;
    color: #150905;
    background: var(--glow);
    font-family: var(--font-hud);
    font-size: 11px;
}

.rnr-menu-body {
    min-width: 0;
    display: flex;
    flex-direction: column;
    padding: 6px 4px 4px 0;
}

.rnr-menu-top {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px;
    align-items: start;
}

.rnr-menu-title {
    font-family: var(--font-display);
    font-size: clamp(26px, 2.4vw, 38px);
    line-height: .92;
    text-transform: uppercase;
}

.rnr-menu-price {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 14px;
    white-space: nowrap;
}

.rnr-menu-desc {
    margin-top: 8px;
    color: rgba(255, 242, 220, .66);
    font-size: .98rem;
}

.rnr-menu-footer {
    margin-top: auto;
    padding-top: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: var(--red);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.rnr-menu-footer i {
    width: 38px;
    height: 2px;
    background: currentColor;
}

.cart-rail {
    position: sticky;
    top: 104px;
    max-height: calc(100vh - 118px);
    overflow: auto;
}

.cart-close {
    display: none;
}

.rnr-cart-box {
    color: var(--ink);
    background: rgba(8, 7, 6, .94);
    border: 1px solid var(--border);
    box-shadow: 0 24px 70px rgba(0, 0, 0, .26);
}

.rnr-cart-head,
.rnr-cart-foot {
    padding: 18px;
}

.rnr-cart-head {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: start;
    border-bottom: 1px solid var(--border);
}

.rnr-cart-head h2 {
    margin: 4px 0 0;
    font-family: var(--font-display);
    font-size: 44px;
    line-height: .9;
    text-transform: uppercase;
}

.rnr-cart-head-link {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.rnr-cart-body {
    padding: 8px;
}

.rnr-cart-empty {
    padding: 28px 12px;
    text-align: center;
}

.rnr-cart-empty strong {
    display: block;
    font-family: var(--font-display);
    font-size: 34px;
    text-transform: uppercase;
}

.rnr-cart-empty p,
.rnr-cart-minimum {
    color: rgba(255, 242, 220, .72);
}

.rnr-cart-items ul {
    display: grid;
    gap: 10px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.rnr-cart-item {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 12px;
    align-items: center;
    padding: 14px;
    background: rgba(255, 242, 220, .06);
    border: 1px solid rgba(255, 242, 220, .1);
    transition: opacity .24s var(--ease), transform .24s var(--ease);
}

.rnr-cart-item.is-removing {
    opacity: .25;
    transform: translate3d(18px, 0, 0) scale(.98);
}

.rnr-cart-qty {
    display: grid;
    grid-template-columns: 32px;
    justify-items: center;
    gap: 4px;
}

.rnr-cart-qty-btn {
    width: 32px;
    height: 32px;
    border: 0;
    color: var(--ink);
    background: rgba(255, 242, 220, .13);
    font-weight: 900;
}

.rnr-cart-item-main {
    min-width: 0;
    text-align: left;
    color: var(--ink);
    background: transparent;
    border: 0;
    padding: 0;
}

.rnr-cart-item-main span {
    display: block;
    font-weight: 900;
    line-height: 1.1;
}

.rnr-cart-item-main small {
    color: rgba(255, 242, 220, .65);
}

.rnr-cart-item-price {
    display: grid;
    gap: 4px;
    justify-items: end;
}

.rnr-cart-item-price strong {
    color: var(--glow);
}

.rnr-cart-remove {
    border: 0;
    padding: 0;
    color: rgba(255, 242, 220, .72);
    background: transparent;
    font-family: var(--font-hud);
    font-size: 11px;
    text-transform: uppercase;
    text-decoration: underline;
}

.rnr-checkout-btn {
    width: 100%;
}

.rnr-checkout-btn.is-disabled {
    opacity: .48;
}

.rnr-cart-box.is-empty #cart-buttons,
.rnr-cart-box.is-empty #cart-totals,
.rnr-cart-box.is-empty .cart-totals,
.rnr-cart-box.is-empty [data-cart-control="checkout"] {
    display: none !important;
}

.rnr-mobile-cart-toggle {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    z-index: 28;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 58px;
    padding: 0 1rem;
    color: var(--ink);
    background: var(--red);
    box-shadow: 0 18px 48px rgba(255, 59, 31, .3);
    font-family: var(--font-hud);
    font-weight: 700;
    text-transform: uppercase;
}

.cart-page-shell {
    max-width: 820px;
    padding-bottom: 5rem;
}

.booking-shell {
    max-width: 920px;
}

.contact-split {
    display: grid;
    grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
    gap: 18px;
    padding-bottom: 5rem;
}

.contact-info {
    min-height: 560px;
    padding: clamp(24px, 5vw, 54px);
    background:
        radial-gradient(circle at 18% 12%, rgba(255, 59, 31, .26), transparent 20rem),
        rgba(8, 7, 6, .9);
}

.contact-info dl {
    display: grid;
    gap: 1px;
    margin: 32px 0 0;
    background: var(--border);
}

.contact-info dl div {
    padding: 18px 0;
    background: rgba(8, 7, 6, .9);
}

.contact-info dt {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.contact-info dd {
    margin: 6px 0 0;
    color: rgba(255, 242, 220, .82);
}

.contact-form {
    display: grid;
    gap: 18px;
    padding: clamp(18px, 3vw, 32px);
}

.map-signal {
    min-height: 220px;
    display: grid;
    place-content: center;
    gap: 12px;
    text-align: center;
    border: 1px solid var(--border);
    background:
        radial-gradient(circle at 50% 45%, rgba(255, 176, 0, .14), transparent 12rem),
        #0b0908;
}

.map-signal span {
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.map-signal strong {
    font-family: var(--font-display);
    font-size: 56px;
    line-height: .9;
}

.rnr-footer {
    position: relative;
    z-index: 2;
    color: rgba(255, 242, 220, .78);
    background: #0b0807;
    border-top: 1px solid var(--border);
}

.rnr-footer-grid {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.3fr .9fr .9fr .7fr;
    gap: clamp(24px, 4vw, 56px);
    padding: clamp(42px, 7vw, 88px) 0;
}

.footer-brand {
    display: inline-block;
    margin-bottom: 12px;
    color: var(--ink);
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 58px);
    line-height: .88;
    text-transform: uppercase;
}

.rnr-footer h2 {
    margin: 0 0 12px;
    color: var(--glow);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.rnr-footer p,
.rnr-footer a {
    display: block;
    margin: 4px 0;
    color: rgba(255, 242, 220, .72);
}

.theme-cta-inner {
    align-items: center;
}

.rnr-theme .card,
.rnr-theme .modal-content,
.rnr-theme .dropdown-menu,
.rnr-theme .list-group-item {
    color: var(--ink) !important;
    background: rgba(10, 9, 8, .96) !important;
    border: 1px solid var(--border) !important;
    border-radius: 0 !important;
    box-shadow: 0 24px 80px rgba(0,0,0,.25) !important;
}

.rnr-theme .card-body {
    padding: clamp(18px, 3vw, 28px) !important;
}

.rnr-theme .text-muted,
.rnr-theme .small,
.rnr-theme small {
    color: rgba(255, 242, 220, .68) !important;
}

.rnr-theme label,
.rnr-theme .form-label {
    color: var(--ink);
    font-family: var(--font-hud);
    font-size: 12px;
    text-transform: uppercase;
}

.rnr-theme .form-control,
.rnr-theme .form-select,
.rnr-theme select,
.rnr-theme textarea,
.rnr-theme input[type="text"],
.rnr-theme input[type="email"],
.rnr-theme input[type="password"],
.rnr-theme input[type="tel"],
.rnr-theme input[type="number"] {
    min-height: 52px;
    border: 1px solid rgba(255, 242, 220, .18) !important;
    border-radius: 0 !important;
    color: var(--ink) !important;
    background: rgba(255, 242, 220, .055) !important;
    box-shadow: none !important;
}

.rnr-theme .form-control::placeholder,
.rnr-theme textarea::placeholder,
.rnr-theme input::placeholder {
    color: rgba(255, 242, 220, .58) !important;
}

.rnr-theme .form-control:focus,
.rnr-theme .form-select:focus,
.rnr-theme select:focus,
.rnr-theme textarea:focus,
.rnr-theme input:focus {
    border-color: var(--glow) !important;
    box-shadow: 0 0 0 4px rgba(255, 176, 0, .13) !important;
}

.rnr-theme .btn,
.rnr-theme .btn-primary,
.rnr-theme .btn-success {
    min-height: 48px;
    border: 0 !important;
    border-radius: 0 !important;
    color: var(--ink) !important;
    background: var(--red) !important;
    font-family: var(--font-hud) !important;
    font-weight: 700 !important;
    text-transform: uppercase;
}

.rnr-theme .btn-outline-secondary,
.rnr-theme .btn-light {
    color: var(--ink) !important;
    background: rgba(255, 242, 220, .08) !important;
    border: 1px solid var(--border) !important;
}

.rnr-theme .alert {
    border-radius: 0;
    border: 1px solid var(--border);
    color: var(--ink);
    background: rgba(255, 242, 220, .06);
}

.rnr-theme .flatpickr-calendar {
    color: var(--ink);
    background: #0b0908;
    border: 1px solid var(--border);
    box-shadow: 0 24px 80px rgba(0,0,0,.32);
}

.rnr-theme .flatpickr-day {
    color: rgba(255, 242, 220, .78);
    border-radius: 0;
}

.rnr-theme .flatpickr-day.selected,
.rnr-theme .flatpickr-day.startRange,
.rnr-theme .flatpickr-day.endRange,
.rnr-theme .flatpickr-day:hover {
    color: #120906;
    background: var(--glow);
    border-color: var(--glow);
}

.rnr-theme .flatpickr-weekday,
.rnr-theme .flatpickr-current-month,
.rnr-theme .flatpickr-monthDropdown-months,
.rnr-theme .numInputWrapper input {
    color: var(--ink) !important;
}

#euCookieBanner {
    position: fixed !important;
    left: 1rem !important;
    right: 1rem !important;
    bottom: 1rem !important;
    z-index: 32 !important;
    width: min(720px, calc(100vw - 2rem)) !important;
    margin: 0 auto !important;
    color: rgba(255, 242, 220, .86) !important;
    background: rgba(8, 7, 6, .94) !important;
    border: 1px solid var(--border) !important;
    box-shadow: 0 22px 70px rgba(0,0,0,.32) !important;
    backdrop-filter: blur(16px);
}

#euCookieBanner .container {
    width: 100% !important;
    max-width: none !important;
    padding: .75rem !important;
}

#eu-cookie-message {
    color: rgba(255, 242, 220, .86) !important;
    font-size: .9rem;
}

#eu-cookie-message a {
    color: var(--glow) !important;
    font-weight: 900;
}

#eu-cookie-action {
    min-width: 48px;
    min-height: 44px;
    color: var(--ink) !important;
    background: var(--red) !important;
    border: 0 !important;
    border-radius: 0 !important;
    font-weight: 900 !important;
}

.rnr-js .reveal {
    opacity: 0;
    transform: translate3d(0, 26px, 0);
    transition: opacity .72s var(--ease), transform .72s var(--ease);
}

.rnr-js .reveal.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.particle,
.ingredient-burst {
    position: fixed;
    z-index: 60;
    pointer-events: none;
    border-radius: 50%;
    background: var(--red);
    box-shadow: 0 0 0 8px rgba(255, 59, 31, .18);
}

.particle {
    width: 18px;
    height: 18px;
}

.ingredient-burst {
    width: 9px;
    height: 9px;
    background: var(--glow);
}

@keyframes badge-pop {
    0% { transform: scale(.65); opacity: .4; }
    60% { transform: scale(1.22); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes badge-out {
    from { transform: scale(1); opacity: 1; }
    to { transform: scale(.35); opacity: .1; }
}

@keyframes flame-breathe {
    from { opacity: .68; transform: rotate(-20deg) scale(.98); }
    to { opacity: .94; transform: rotate(-17deg) scale(1.04); }
}

@keyframes pizza-load {
    from { opacity: 0; transform: translate3d(80px, 80px, 0) rotate(-20deg) scale(.92); }
    to { opacity: 1; transform: translate3d(0, 0, 0) rotate(-13deg) scale(1); }
}

@keyframes scan {
    0% { transform: translateX(-22px); opacity: .4; }
    50% { opacity: 1; }
    100% { transform: translateX(42px); opacity: .4; }
}

@media (max-width: 1180px) {
    .nav-links {
        display: none;
    }

    .mobile-toggle {
        display: inline-grid;
        place-items: center;
    }

    .nav-shell {
        grid-template-columns: auto 1fr;
    }

    .nav-actions {
        justify-self: end;
    }
}

@media (max-width: 1040px) {
    .hero-grid,
    .builder-layout,
    .story-track,
    .slice-grid,
    .cart-lab,
    .final-poster,
    .theme-cta-inner,
    .page-hero,
    .local-row,
    .menu-shell,
    .contact-split,
    .rnr-footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .pizza-stage {
        min-height: auto;
    }

    .pizza-stage {
        min-height: 560px;
    }

    .cart-rail {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        z-index: 45;
        width: min(430px, 94vw);
        max-height: none;
        padding: 16px;
        overflow: auto;
        background: #0b0706;
        transform: translate3d(102%, 0, 0);
        transition: transform .28s var(--ease);
    }

    .cart-rail.is-open {
        transform: translate3d(0, 0, 0);
    }

    .cart-close {
        display: inline-flex;
        margin: 0 0 12px auto;
        border: 1px solid var(--border);
        color: var(--ink);
        background: transparent;
        padding: 10px 13px;
        font-family: var(--font-hud);
        font-size: 12px;
        text-transform: uppercase;
    }
}

@media (max-width: 720px) {
    .hud-progress {
        display: none;
    }

    .site-header {
        top: 10px;
        width: min(100% - 18px, var(--max));
    }

    .nav-shell {
        min-height: 66px;
        gap: 10px;
        padding: 7px;
    }

    .brand-mark {
        width: 44px;
        height: 44px;
    }

    .brand strong {
        font-size: 24px;
    }

    .brand small,
    .cart-trigger span:first-child {
        display: none;
    }

    .nav-order {
        min-height: 44px;
        padding: 0 12px;
        font-size: 11px;
    }

    .cart-trigger {
        width: 44px;
        min-height: 44px;
        padding: 0;
    }

    .cart-trigger::before {
        content: "C";
    }

    .hero {
        min-height: auto;
        padding-top: 94px;
    }

    .hero-grid,
    .section,
    .page-hero,
    .local-row,
    .menu-shell,
    .cart-page-shell,
    .booking-shell,
    .checkout-shell,
    .contact-split,
    .success-card,
    .system-shell,
    .final,
    .rnr-footer-grid {
        width: min(100% - 20px, var(--max));
    }

    .chapter {
        grid-template-columns: 1fr;
    }

    .chapter-index {
        position: relative;
        top: auto;
        grid-template-columns: auto 1fr;
        align-items: center;
    }

    .chapter-index::after {
        width: 100%;
        height: 1px;
        background: linear-gradient(90deg, var(--red), transparent);
    }

    .hero h1,
    .page-hero h1 {
        font-size: clamp(56px, 17vw, 84px);
        max-width: 9ch;
    }

    .section-title {
        font-size: clamp(46px, 15vw, 76px);
    }

    .hero-copy {
        padding: 18px;
    }

    .hero-status,
    .metric-strip {
        grid-template-columns: 1fr;
    }

    .pizza-stage {
        min-height: 440px;
    }

    .pizza-stage .pizza-disc {
        width: 560px;
        right: -140px;
    }

    .slice-hud {
        right: 16px;
        bottom: 16px;
        width: calc(100% - 32px);
    }

    .option-row {
        grid-template-columns: 1fr;
    }

    .option-label {
        min-height: auto;
        padding: 10px;
        writing-mode: horizontal-tb;
        transform: none;
    }

    .builder-console {
        grid-template-columns: 1fr;
    }

    .rnr-menu-card,
    .rnr-cart-item {
        grid-template-columns: 1fr;
    }

    .rnr-menu-media {
        min-height: 210px;
    }

    .rnr-menu-top {
        grid-template-columns: 1fr;
    }

    .rnr-cart-item-price {
        justify-items: start;
    }

    .category-bar {
        top: 86px;
    }
}

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

    .rnr-js .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Customer-ready premium pass, 2026-07-06 */
:root {
    --bg: #0d0b09;
    --surface: #15110e;
    --surface-2: #211913;
    --ink: #fff8ed;
    --muted: #cdbcaa;
    --red: #e63d24;
    --red-2: #a92517;
    --orange: #e63d24;
    --glow: #fff1dc;
    --basil: #6f9a55;
    --stone: #2a211b;
    --border: rgba(255, 248, 237, .13);
    --border-strong: rgba(255, 248, 237, .28);
    --shadow-red: 0 18px 54px rgba(230, 61, 36, .24);
    --shadow-fire: 0 24px 80px rgba(0, 0, 0, .32);
    --font-display: "Oswald", "Arial Narrow", sans-serif;
    --font-body: "Manrope", system-ui, sans-serif;
    --font-hud: "Manrope", system-ui, sans-serif;
    --max: 1180px;
    --ease: cubic-bezier(.22, .72, 0, 1);
}

html {
    background: var(--bg);
}

body.rnr-theme {
    color: var(--ink);
    background:
        radial-gradient(circle at 80% -10%, rgba(230, 61, 36, .22), transparent 31rem),
        radial-gradient(circle at 10% 26%, rgba(111, 154, 85, .1), transparent 24rem),
        linear-gradient(180deg, #0d0b09 0%, #120d0a 42%, #0d0b09 100%);
    font-family: var(--font-body);
    line-height: 1.62;
}

body.rnr-theme::before,
body.rnr-theme::after,
.hud-progress,
.hud-box::before,
.hud-box::after,
.corner::before,
.corner::after,
.scan-label,
.oven-flare {
    display: none !important;
}

.page {
    overflow: hidden;
}

.site-header {
    top: clamp(10px, 1.6vw, 22px);
    width: min(var(--max), calc(100vw - 32px));
}

.site-header.is-compact {
    transform: translateX(-50%) translateY(-5px);
}

.nav-shell {
    min-height: 72px;
    padding: 8px;
    gap: clamp(14px, 2.4vw, 32px);
    border-radius: 8px;
    border: 1px solid rgba(255, 248, 237, .15);
    background: rgba(13, 11, 9, .88);
    box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
    backdrop-filter: blur(18px);
}

.brand {
    gap: 12px;
}

.brand-mark {
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 8px;
    color: var(--ink);
    background: var(--red);
    font-family: var(--font-display);
    font-size: 25px;
    box-shadow: none;
}

.brand strong {
    font-family: var(--font-display);
    font-size: clamp(22px, 2.05vw, 31px);
    line-height: 1;
    letter-spacing: .01em;
}

.brand small,
.nav-links a,
.cart-trigger,
.cta,
.rnr-checkout-btn,
.chapter-kicker,
.chapter-index,
.metric-label,
.rnr-menu-footer,
.category-bar a,
.category-bar .nav-link,
.back-link,
.rnr-footer h2 {
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: .08em;
}

.brand small {
    color: rgba(255, 248, 237, .66);
    font-size: 10px;
}

.nav-links {
    gap: clamp(16px, 2.7vw, 36px);
}

.nav-links a,
.cart-trigger {
    color: rgba(255, 248, 237, .78);
    font-size: 11px;
}

.nav-links a:hover,
.nav-links a:focus-visible {
    color: var(--ink);
}

.cart-trigger {
    min-height: 48px;
    border-radius: 8px;
    background: rgba(255, 248, 237, .055);
}

.cta,
.rnr-checkout-btn {
    min-height: 48px;
    border-radius: 8px;
    padding-inline: 20px;
    font-size: 11px;
    color: #180906;
    background: var(--ink);
    box-shadow: none;
}

.cta.red,
.rnr-checkout-btn {
    color: #fff;
    background: var(--red);
    box-shadow: var(--shadow-red);
}

.cta.ghost {
    color: var(--ink);
    border-color: rgba(255, 248, 237, .22);
    background: rgba(255, 248, 237, .045);
}

.cta:hover,
.rnr-checkout-btn:hover,
.cart-trigger:hover {
    transform: translate3d(0, -2px, 0);
}

.mobile-toggle {
    border-radius: 8px;
}

.hero {
    min-height: min(900px, 100dvh);
    align-items: center;
    padding: clamp(108px, 13vw, 156px) 0 clamp(38px, 6vw, 78px);
}

.hero-grid {
    grid-template-columns: minmax(0, .86fr) minmax(420px, 1.14fr);
    gap: clamp(18px, 3vw, 34px);
}

.hud-box,
.system-card,
.system-shell,
.booking-shell > div,
.checkout-shell,
.success-card {
    border-radius: 8px;
    border: 1px solid var(--border);
    background: rgba(21, 17, 14, .78);
    box-shadow: none;
}

.hero-copy {
    min-height: 610px;
    justify-content: center;
    padding: clamp(22px, 4.2vw, 54px);
    border-color: rgba(255, 248, 237, .1);
    background:
        linear-gradient(135deg, rgba(230, 61, 36, .16), transparent 42%),
        rgba(21, 17, 14, .7);
}

.chapter-kicker {
    color: var(--red);
    font-size: 11px;
    text-transform: uppercase;
}

.chapter-kicker::before {
    width: 34px;
    height: 1px;
}

.hero h1,
.page-hero h1,
.contact-info h2 {
    max-width: 10.5ch;
    margin-top: 18px;
    font-family: var(--font-display);
    font-size: clamp(58px, 8.2vw, 104px);
    line-height: .9;
    letter-spacing: -.015em;
    text-transform: uppercase;
}

.page-hero h1 {
    max-width: 12ch;
    font-size: clamp(46px, 6.5vw, 82px);
}

.contact-info h2 {
    font-size: clamp(34px, 4vw, 56px);
}

.hero p,
.section-lead,
.page-hero p,
.story-main p,
.final-poster p {
    color: rgba(255, 248, 237, .76);
    font-size: clamp(16px, 1.25vw, 19px);
}

.hero-actions {
    gap: 10px;
    margin-top: 28px;
}

.hero-status {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 34px;
    background: transparent;
}

.hero-status span {
    min-height: 76px;
    border-radius: 8px;
    border: 1px solid rgba(255, 248, 237, .1);
    background: rgba(255, 248, 237, .045);
    color: rgba(255, 248, 237, .65);
    font-size: 12px;
    text-transform: none;
}

.hero-status b {
    color: var(--ink);
    font-family: var(--font-display);
    font-size: 30px;
    line-height: .95;
}

.pizza-stage {
    min-height: 610px;
    overflow: hidden;
    border-color: rgba(255, 248, 237, .11);
    background: #090705;
}

.pizza-stage::before {
    display: block !important;
    z-index: 1;
    width: auto !important;
    height: auto !important;
    border: 0 !important;
    opacity: 1;
    background:
        linear-gradient(180deg, rgba(0,0,0,.08), rgba(0,0,0,.56)),
        radial-gradient(circle at 70% 20%, rgba(230, 61, 36, .14), transparent 19rem);
}

.pizza-stage img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
}

.slice-hud {
    z-index: 2;
    right: 24px;
    bottom: 24px;
    width: min(360px, calc(100% - 48px));
    border-radius: 8px;
    background: rgba(13, 11, 9, .84);
    border-color: rgba(255, 248, 237, .18);
    box-shadow: 0 20px 70px rgba(0,0,0,.34);
}

.slice-hud span,
.demo-tag,
.builder-total span,
.data-line span {
    color: var(--basil);
    font-family: var(--font-body);
    font-weight: 900;
    letter-spacing: .08em;
}

.slice-hud strong {
    font-family: var(--font-display);
    font-size: clamp(34px, 4vw, 52px);
    letter-spacing: -.01em;
}

.section {
    padding: clamp(62px, 8.5vw, 112px) 0;
}

.chapter {
    grid-template-columns: minmax(90px, 138px) minmax(0, 1fr);
}

.chapter-index {
    top: 118px;
    color: rgba(255, 248, 237, .42);
    font-size: 11px;
}

.chapter-index::after {
    height: 82px;
    background: linear-gradient(var(--red), transparent);
}

.section-title {
    max-width: 12ch;
    font-family: var(--font-display);
    font-size: clamp(42px, 6.4vw, 84px);
    line-height: .96;
    letter-spacing: -.012em;
}

.section-lead {
    max-width: 60ch;
}

.signature-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(320px, .72fr);
    gap: clamp(18px, 3vw, 34px);
    margin-top: clamp(28px, 4vw, 48px);
    align-items: stretch;
}

.signature-photo,
.craft-photo {
    position: relative;
    min-height: 520px;
    margin: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #090705;
}

.signature-photo img,
.craft-photo img,
.gallery-strip img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.signature-photo figcaption {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 14px 16px;
    border-radius: 8px;
    color: rgba(255, 248, 237, .82);
    background: rgba(13, 11, 9, .76);
}

.signature-list {
    display: grid;
    gap: 12px;
    align-content: center;
}

.signature-card,
.review-card {
    border-radius: 8px;
    border: 1px solid rgba(255, 248, 237, .11);
    background: rgba(255, 248, 237, .045);
}

.signature-card {
    padding: clamp(18px, 2.4vw, 28px);
}

.signature-card span {
    color: var(--red);
    font-weight: 900;
    font-size: 12px;
}

.signature-card h3,
.story-main h3,
.final-poster h2,
.theme-cta-inner h2 {
    margin: 8px 0 0;
    font-family: var(--font-display);
    font-size: clamp(28px, 3.8vw, 54px);
    line-height: .98;
    letter-spacing: -.01em;
    text-transform: uppercase;
}

.signature-card p {
    margin: 10px 0 0;
    color: rgba(255, 248, 237, .7);
}

.story-track {
    grid-template-columns: minmax(0, .86fr) minmax(360px, 1.14fr);
    gap: clamp(18px, 3vw, 34px);
}

.story-main,
.story-side {
    min-height: 540px;
    border-radius: 8px;
}

.story-main {
    justify-content: end;
    background:
        linear-gradient(135deg, rgba(230, 61, 36, .16), transparent 46%),
        rgba(21, 17, 14, .72);
}

.story-main h3 {
    max-width: 10ch;
    font-size: clamp(42px, 5.5vw, 74px);
}

.metric-strip {
    gap: 10px;
    background: transparent;
}

.metric {
    border-radius: 8px;
    border: 1px solid rgba(255, 248, 237, .1);
    background: rgba(255, 248, 237, .045);
}

.metric b {
    font-family: var(--font-display);
    font-size: clamp(30px, 3vw, 42px);
}

.proof-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: clamp(28px, 4vw, 44px);
}

.review-card {
    padding: clamp(20px, 2.6vw, 30px);
}

.review-card strong {
    display: block;
    color: var(--red);
    font-family: var(--font-display);
    font-size: clamp(44px, 5vw, 76px);
    line-height: .9;
}

.review-card span {
    display: block;
    margin-top: 8px;
    color: var(--ink);
    font-weight: 900;
}

.review-card p {
    color: rgba(255, 248, 237, .68);
}

.gallery-strip {
    display: grid;
    grid-template-columns: 1.15fr .85fr 1fr;
    gap: 12px;
    margin-top: 12px;
}

.gallery-strip img {
    min-height: 260px;
    max-height: 390px;
    border-radius: 8px;
}

.final {
    width: min(var(--max), calc(100vw - 32px));
    margin: 0 auto clamp(42px, 6vw, 78px);
}

.final-poster {
    grid-template-columns: minmax(0, 1fr) minmax(300px, .42fr);
    gap: clamp(18px, 3vw, 34px);
    padding: clamp(24px, 5vw, 56px);
    background:
        radial-gradient(circle at 80% 20%, rgba(230, 61, 36, .16), transparent 20rem),
        rgba(21, 17, 14, .78);
}

.final-poster h2 {
    max-width: 11ch;
    font-size: clamp(44px, 6vw, 84px);
}

.page-hero {
    grid-template-columns: minmax(0, .96fr) minmax(260px, .36fr);
    gap: clamp(18px, 3vw, 30px);
    align-items: end;
    padding: clamp(118px, 14vw, 170px) 0 clamp(34px, 6vw, 70px);
}

.page-hero-panel {
    border-radius: 8px;
    padding: clamp(20px, 3vw, 30px);
    background: rgba(255, 248, 237, .05);
}

.page-hero-panel strong {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.8vw, 48px);
    letter-spacing: -.01em;
}

.page-hero-panel span,
.back-link {
    color: rgba(255, 248, 237, .62);
}

.system-shell,
.checkout-shell,
.booking-shell,
.success-card,
.cart-page-shell {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(230, 61, 36, .08), transparent 42%),
        rgba(255, 248, 237, .04);
}

.local-row {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
    gap: 12px;
}

.local-card,
.fulfillment-card {
    border-radius: 8px;
    background: rgba(255, 248, 237, .055);
}

.menu-shell {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 360px);
    gap: 16px;
}

.category-bar {
    top: 104px;
    border-radius: 8px;
    background: rgba(13, 11, 9, .88);
}

.category-bar a,
.category-bar .nav-link {
    border-radius: 8px !important;
    color: rgba(255, 248, 237, .78) !important;
    background: rgba(255, 248, 237, .055) !important;
}

.category-bar a.active,
.category-bar .nav-link.active,
.category-bar a:hover {
    color: #fff !important;
    background: var(--red) !important;
}

.rnr-menu-card {
    min-height: 100%;
    grid-template-columns: 156px minmax(0, 1fr);
    border-radius: 8px;
    border-color: rgba(255, 248, 237, .12);
    background: rgba(255, 248, 237, .045);
}

.rnr-menu-card:hover,
.rnr-menu-card.is-adding {
    border-color: rgba(230, 61, 36, .5);
    background: rgba(230, 61, 36, .08);
    box-shadow: 0 18px 52px rgba(0,0,0,.28);
}

.rnr-menu-media {
    min-height: 144px;
    border: 0;
    border-radius: 8px;
    background: #090705;
}

.rnr-menu-media .pizza-disc {
    inset: 0;
    right: auto;
    bottom: auto;
    width: 100%;
    height: 100%;
    border-radius: 0;
    background: url("/themes/assets/images/papas-margherita.jpg") center / cover no-repeat;
    box-shadow: none;
    transform: none;
}

.menu-items > *:nth-child(3n+2) .rnr-menu-media .pizza-disc,
.menu-list .row > *:nth-child(3n+2) .rnr-menu-media .pizza-disc {
    background-image: url("/themes/assets/images/papas-hero-fire.jpg");
}

.menu-items > *:nth-child(3n+3) .rnr-menu-media .pizza-disc,
.menu-list .row > *:nth-child(3n+3) .rnr-menu-media .pizza-disc {
    background-image: url("/themes/assets/images/papas-dough.jpg");
}

.rnr-menu-code {
    border-radius: 999px;
    color: #fff;
    background: var(--red);
}

.rnr-menu-title {
    font-family: var(--font-display);
    font-size: clamp(24px, 2.2vw, 34px);
    line-height: 1;
    letter-spacing: -.01em;
}

.rnr-menu-price {
    color: var(--ink);
    font-weight: 900;
}

.rnr-menu-desc {
    color: rgba(255, 248, 237, .66);
    font-size: .94rem;
}

.rnr-menu-footer {
    color: var(--red);
    font-size: 11px;
}

.cart-rail {
    border-radius: 8px;
}

.rnr-cart-box {
    border-radius: 8px;
    color: var(--ink);
    background: rgba(13, 11, 9, .94);
}

.rnr-cart-head h2,
.rnr-cart-empty strong {
    font-family: var(--font-display);
    font-size: clamp(32px, 3.4vw, 46px);
    letter-spacing: -.01em;
}

.rnr-cart-item {
    border-radius: 8px;
    background: rgba(255, 248, 237, .055);
}

.rnr-cart-qty-btn,
.rnr-cart-remove {
    border-radius: 8px;
}

.booking-shell,
.contact-split,
.checkout-shell,
.cart-page-shell {
    margin-bottom: clamp(54px, 7vw, 90px);
}

.contact-info {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(230, 61, 36, .14), transparent 45%),
        rgba(21, 17, 14, .78);
}

.contact-info dl {
    gap: 10px;
    background: transparent;
}

.contact-info dl div {
    border-radius: 8px;
    border: 1px solid rgba(255, 248, 237, .1);
    padding: 16px;
    background: rgba(255, 248, 237, .045);
}

.contact-form,
.map-signal {
    border-radius: 8px;
}

.rnr-theme .card,
.rnr-theme .modal-content,
.rnr-theme .dropdown-menu,
.rnr-theme .list-group-item {
    border-radius: 8px !important;
    color: var(--ink) !important;
    background: rgba(13, 11, 9, .96) !important;
}

.rnr-theme .form-control,
.rnr-theme .form-select,
.rnr-theme select,
.rnr-theme textarea,
.rnr-theme input[type="text"],
.rnr-theme input[type="email"],
.rnr-theme input[type="password"],
.rnr-theme input[type="tel"],
.rnr-theme input[type="number"],
.rnr-theme .btn,
.rnr-theme .btn-primary,
.rnr-theme .btn-success,
#eu-cookie-action {
    border-radius: 8px !important;
}

.rnr-footer {
    background: #0a0807;
}

.rnr-footer-grid {
    grid-template-columns: 1.25fr .85fr .85fr .65fr;
}

.footer-brand {
    font-family: var(--font-display);
    font-size: clamp(30px, 3.4vw, 48px);
}

@media (max-width: 1040px) {
    .hero-grid,
    .signature-layout,
    .story-track,
    .proof-grid,
    .gallery-strip,
    .final-poster,
    .page-hero,
    .local-row,
    .menu-shell,
    .contact-split,
    .rnr-footer-grid {
        grid-template-columns: 1fr;
    }

    .hero-copy,
    .pizza-stage,
    .signature-photo,
    .story-main,
    .story-side {
        min-height: 480px;
    }
}

@media (max-width: 720px) {
    .site-header {
        width: min(100% - 18px, var(--max));
    }

    .nav-shell {
        min-height: 64px;
        border-radius: 8px;
    }

    .brand-mark {
        width: 42px;
        height: 42px;
        font-size: 22px;
    }

    .brand strong {
        font-size: 18px !important;
        white-space: nowrap;
    }

    .brand-copy {
        max-width: 118px;
        overflow: hidden;
    }

    .nav-order {
        min-height: 42px;
        padding: 0 11px;
    }

    .cart-trigger {
        width: 54px;
    }

    .cart-trigger::before {
        content: "Korb";
        font-weight: 900;
        font-size: 10px;
    }

    .hero {
        padding-top: 92px;
    }

    .hero-grid,
    .section,
    .page-hero,
    .local-row,
    .menu-shell,
    .cart-page-shell,
    .booking-shell,
    .checkout-shell,
    .contact-split,
    .success-card,
    .system-shell,
    .final,
    .rnr-footer-grid {
        width: min(100% - 20px, var(--max));
    }

    .chapter {
        grid-template-columns: 1fr;
    }

    .chapter-index {
        position: static;
        display: block;
    }

    .chapter-index::after {
        display: none;
    }

    .hero h1,
    .page-hero h1 {
        max-width: 11ch;
        font-size: clamp(42px, 13vw, 62px);
    }

    .section-title {
        max-width: 12ch;
        font-size: clamp(38px, 11.5vw, 56px);
    }

    .hero-copy,
    .pizza-stage,
    .signature-photo,
    .story-main,
    .story-side {
        min-height: auto;
    }

    .pizza-stage {
        min-height: 390px;
    }

    .signature-photo,
    .craft-photo {
        min-height: 330px;
    }

    .hero-status,
    .metric-strip {
        grid-template-columns: 1fr;
    }

    .slice-hud {
        right: 14px;
        bottom: 14px;
        width: calc(100% - 28px);
        padding: 16px;
    }

    .rnr-menu-card {
        grid-template-columns: 1fr;
    }

    .rnr-menu-media {
        min-height: 220px;
    }

    .category-bar {
        top: 84px;
    }
}

/* Final viewport correction: keep the hero premium, but not oversized. */
html.h-100,
body.rnr-theme.h-100 {
    height: auto !important;
    min-height: 100dvh !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
}

body.rnr-theme.d-flex {
    display: block !important;
}

.page {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
}

#page-wrapper.page {
    overflow: visible !important;
}

.rnr-menu-page .category-bar {
    top: 112px !important;
}

.local-card .card,
.fulfillment-card .card,
.local-card .panel,
.fulfillment-card .panel,
.local-card .list-group-item,
.fulfillment-card .list-group-item {
    color: var(--ink) !important;
    background: rgba(13, 11, 9, .78) !important;
    border-color: rgba(255, 248, 237, .12) !important;
}

.local-card .panel-local {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.local-card .panel-local > img {
    opacity: 0;
}

.local-card .panel-local::before {
    content: "";
    position: absolute;
    left: 24px;
    top: 24px;
    width: min(320px, 42%);
    height: 160px;
    border-radius: 8px;
    background: url("/themes/assets/images/papas-hero-fire.jpg") center / cover no-repeat;
}

.rnr-menu-page input[type="search"],
.menu-list .form-control[type="search"] {
    color: var(--ink) !important;
    background: rgba(255, 248, 237, .06) !important;
    border: 1px solid rgba(255, 248, 237, .14) !important;
    box-shadow: none !important;
}

.rnr-menu-page input[type="search"]::placeholder,
.menu-list .form-control[type="search"]::placeholder {
    color: rgba(255, 248, 237, .56) !important;
}

.hero {
    min-height: 720px !important;
    padding: 104px 0 28px !important;
}

.hero-copy,
.pizza-stage {
    height: clamp(460px, 48vw, 560px) !important;
    min-height: 0 !important;
}

.hero h1 {
    max-width: 12ch !important;
    font-size: clamp(44px, 5.8vw, 74px) !important;
    line-height: .96 !important;
    text-transform: none !important;
}

.hero-status {
    margin-top: 20px !important;
}

.hero-status span {
    min-height: 58px !important;
}

.hero-status b {
    font-size: 26px !important;
}

.page-hero h1,
.section-title,
.contact-info h2,
.signature-card h3,
.story-main h3,
.final-poster h2,
.theme-cta-inner h2,
.rnr-cart-head h2,
.rnr-cart-empty strong {
    text-transform: none !important;
}

@media (max-width: 1040px) {
    .hero {
        min-height: auto !important;
    }

    .hero-copy,
    .pizza-stage {
        height: auto !important;
        min-height: 430px !important;
    }
}

@media (max-width: 720px) {
    .hero {
        padding-top: 88px !important;
    }

    .hero-copy {
        min-height: auto !important;
    }

    .pizza-stage {
        min-height: 340px !important;
    }
}
