/* Burger One — black, red & white design system
   Display: Big Shoulders · Body: Instrument Sans

   Token names are historical; the values are the source of truth:
     char = black · ember = red (actions) · toast = orange (accents)
     cream = white · ash = muted grey */

/* ===== Tokens ===== */
:root {
    --char: #0C0809;
    --char-deep: #060404;
    --smoke: #17100F;
    --smoke-2: #1F1615;
    --ember: #D01F28;
    --ember-hot: #E8402C;
    --toast: #F58220;
    --cream: #F7F5F4;
    --ash: #928C8A;
    --line: rgba(255, 255, 255, 0.12);

    /* Legacy aliases — referenced by injected JS styles and shared components */
    --primary-color: var(--ember);
    --secondary-color: var(--toast);
    --dark-color: var(--char);
    --light-color: var(--cream);
    --gray-color: var(--smoke);
    --text-color: #C9C4C2;

    --border-radius: 10px;
    --transition: all 0.3s ease;
    --box-shadow: 0 12px 32px rgba(0, 0, 0, 0.45);

    --font-display: 'Big Shoulders', 'Arial Narrow', sans-serif;
    --font-body: 'Instrument Sans', 'Segoe UI', sans-serif;
}

/* ===== Base ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--char);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 15px;
    color: var(--cream);
    text-transform: uppercase;
    letter-spacing: 0.01em;
}

p {
    margin-bottom: 15px;
    color: var(--text-color);
}

a {
    color: var(--toast);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--ember-hot);
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

img {
    max-width: 100%;
    height: auto;
}

button {
    font-family: var(--font-body);
}

:focus-visible {
    outline: 2px solid var(--toast);
    outline-offset: 2px;
    border-radius: 2px;
}

::selection {
    background: var(--ember);
    color: var(--char);
}

/* ===== Grid ===== */
.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -14px;
}

.row > [class*="col-"] {
    padding: 0 14px;
    width: 100%;
}

.align-items-center { align-items: center; }
.justify-content-center { justify-content: center; }
.text-center { text-align: center; }

@media (min-width: 768px) {
    .col-md-6 { width: 50%; }
    .col-md-12 { width: 100%; }
}

@media (min-width: 992px) {
    .col-lg-4 { width: 33.3333%; }
    .col-lg-6 { width: 50%; }
    .col-lg-8 { width: 66.6667%; }
    .col-lg-12 { width: 100%; }
}

/* ===== Section titles ===== */
.section-title {
    margin-bottom: 48px;
}

.section-title .subtitle {
    display: block;
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 600;
    color: var(--ember);
    margin-bottom: 12px;
    letter-spacing: 0.35em;
    text-transform: uppercase;
}

.section-title h2 {
    font-size: clamp(38px, 5vw, 58px);
    position: relative;
    padding-bottom: 18px;
    margin-bottom: 0;
}

.section-title h2:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 64px;
    height: 3px;
    background-color: var(--ember);
}

.section-title.text-center h2:after {
    left: 50%;
    transform: translateX(-50%);
}

/* ===== Preloader ===== */
.preloader {
    position: fixed;
    inset: 0;
    background-color: var(--char);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.5s ease;
}

.loader {
    width: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0%   { transform: scale(0.95); opacity: 0.7; }
    50%  { transform: scale(1);    opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.7; }
}

/* ===== Header ===== */
.header-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

.main-nav {
    /* breathing room above the mark, scaled by viewport height so short
       laptops don't lose the fold to it */
    padding: clamp(18px, 5.5vh, 52px) 0 clamp(10px, 2vh, 18px);
    transition: var(--transition);
}

.main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(12, 8, 9, 0.96);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    animation: slideDown 0.3s ease forwards;
}

@keyframes slideDown {
    from { transform: translateY(-100%); }
    to   { transform: translateY(0); }
}

.navbar {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Logo sits centred over the hero; the CTA is pinned to the right of it */
.navbar .header-btn {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* Logo_trans.png carries ~17% empty canvas (87px top / 70px bottom of 523),
   so only 70% of the box is artwork. The box is oversized to compensate and the
   negative margins hand the dead space back to the layout — they must stay at
   16.6% / 13.4% of the height, which is why all three values ramp together.
   Re-export the PNG cropped tight and this whole rule becomes
   `height: clamp(66px, calc(48px + 5.5vw), 118px)` with no margins. */
.navbar-brand img {
    height: clamp(94px, calc(69px + 7.81vw), 169px);
    width: auto;
    display: block;
    margin-top: clamp(-28.1px, calc(-11.48px - 1.299vw), -15.6px);
    margin-bottom: clamp(-22.6px, calc(-9.23px - 1.045vw), -12.6px);
}

.navbar-toggler {
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    padding: 10px;
}

.navbar-toggler-icon {
    width: 28px;
    height: 2px;
    background-color: var(--cream);
    display: block;
    position: relative;
    transition: var(--transition);
}

.navbar-toggler-icon:before,
.navbar-toggler-icon:after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--cream);
    transition: var(--transition);
}

.navbar-toggler-icon:before { top: -8px; }
.navbar-toggler-icon:after  { bottom: -8px; }

.navbar-toggler.active .navbar-toggler-icon { background-color: transparent; }
.navbar-toggler.active .navbar-toggler-icon:before { transform: rotate(45deg); top: 0; }
.navbar-toggler.active .navbar-toggler-icon:after  { transform: rotate(-45deg); bottom: 0; }

.navbar-collapse {
    display: flex;
    align-items: center;
    gap: 28px;
}

.navbar-nav {
    display: flex;
    align-items: center;
}

.nav-item {
    margin: 0 16px;
}

.nav-link {
    color: var(--cream);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.18em;
    padding: 10px 0;
    position: relative;
    text-transform: uppercase;
}

.nav-link:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 0;
    height: 2px;
    background-color: var(--ember);
    transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: var(--toast);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 100%;
}

.header-btn {
    display: flex;
    align-items: center;
}

.cart-icon {
    position: relative;
}

.cart-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--ember);
    color: var(--char);
    border-radius: 50%;
    transition: var(--transition);
}

.cart-btn:hover {
    background-color: var(--toast);
    color: var(--char);
}

.cart-count {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--cream);
    color: var(--char);
    font-size: 11px;
    font-weight: 700;
    border-radius: 10px;
    padding: 0 5px;
}

/* ===== Hero ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    background:
        /* one light source, not two — the orange core was a second colour
           doing what the red already does */
        radial-gradient(900px 600px at 78% 45%, rgba(208, 31, 40, 0.26), transparent 62%),
        var(--char);
    overflow: hidden;
}

/* .hero is a flex row, so the container would otherwise shrink to fit-content
   and never reach its 1240px max-width. */
.hero > .container {
    width: 100%;
}

.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    align-items: center;
    gap: 48px;
}

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--cream);
    margin-bottom: 28px;
}

.hero-eyebrow:before {
    content: '';
    width: 36px;
    height: 2px;
    background: var(--ember);
}

.hero h1 {
    /* capped at 88px: the text column tops out at ~634px, and the longest
       line ("Premium burgers,") needs 7.03x its font-size to stay on one line */
    font-size: clamp(38px, 6.6vw, 88px);
    line-height: 0.92;
    margin-bottom: 26px;
}

.hero h1 .accent {
    color: var(--ember);
}

.hero-sub {
    max-width: 440px;
    font-size: 17px;
    color: var(--ash);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.btn-order {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background-color: var(--ember);
    /* white on this red is 5.0:1 — black would be 4.3:1 and fail AA */
    color: var(--cream);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: var(--transition);
}

.btn-order:hover {
    background-color: var(--toast);
    color: var(--char);
    transform: translateY(-2px);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 28px;
    border: 1px solid var(--line);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: var(--transition);
}

.btn-ghost:hover {
    border-color: var(--toast);
    color: var(--toast);
}

.hero-meta {
    margin-top: 30px;
    display: flex;
    gap: 36px;
    flex-wrap: wrap;
    font-size: 13px;
    color: var(--ash);
    letter-spacing: 0.08em;
}

.hero-meta i {
    color: var(--ember);
    margin-right: 8px;
}

/* Signature: the ember disc */
.ember-disc {
    position: relative;
    width: min(100%, 520px);
    aspect-ratio: 1;
    margin-left: auto;
    border-radius: 50%;
    overflow: hidden;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 90px rgba(208, 31, 40, 0.42),
        0 30px 80px rgba(0, 0, 0, 0.55);
    animation: emberGlow 5.5s ease-in-out infinite;
}

.ember-disc img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@keyframes emberGlow {
    0%, 100% { box-shadow: 0 0 0 1px rgba(255,255,255,0.16), 0 0 70px rgba(208,31,40,0.38), 0 30px 80px rgba(0,0,0,0.6); }
    50%      { box-shadow: 0 0 0 1px rgba(255,255,255,0.26), 0 0 130px rgba(208,31,40,0.62), 0 30px 80px rgba(0,0,0,0.6); }
}

/* ===== The count: the disc now holds the number, burger dimmed behind it ===== */
.counter-disc {
    position: relative;
    width: min(100%, 460px);
    aspect-ratio: 1;
    margin-left: auto;
    border-radius: 50%;
    overflow: hidden;
    display: grid;
    place-items: center;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.16),
        0 0 90px rgba(208, 31, 40, 0.38),
        0 30px 80px rgba(0, 0, 0, 0.55);
    animation: emberGlow 5.5s ease-in-out infinite;
}

.counter-disc img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
    /* the shot still carries warm bun and fries; pulling the saturation down
       keeps it as texture instead of a second accent colour competing with the red */
    filter: saturate(0.3) contrast(1.15);
}

.counter {
    position: relative;
    text-align: center;
}

.counter-num {
    display: block;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(88px, 15vw, 176px);
    line-height: 0.78;
    color: var(--cream);
    font-variant-numeric: tabular-nums;
}

.counter-num.tick {
    animation: tickDown 0.45s ease-out;
}

@keyframes tickDown {
    from { transform: translateY(-0.12em); opacity: 0; }
    to   { transform: none; opacity: 1; }
}

.counter-label {
    display: block;
    margin-top: 14px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: var(--ash);
    text-indent: 0.32em;
}

/* ===== House rules ===== */
.rules {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    max-width: 460px;
    border-top: 1px solid var(--line);
}

.rules li {
    padding: 13px 0;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    color: var(--ash);
}

.rules strong {
    color: var(--cream);
    font-weight: 600;
}

/* ===== Waitlist ===== */
.join-fields {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    max-width: 460px;
    margin-bottom: 14px;
}

.join input {
    width: 100%;
    height: 48px;
    padding: 0 14px;
    font: 15px var(--font-body);
    color: var(--cream);
    background-color: var(--smoke);
    border: 1px solid var(--line);
    border-radius: 8px;
}

.join input::placeholder { color: var(--ash); }
.join input:focus { border-color: var(--ember); outline: none; }
.join button { border: none; cursor: pointer; font-family: var(--font-body); }

.join-note {
    margin: 12px 0 0;
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--ash);
}

/* ===== The issued number ===== */
.issued-label,
.issued-note {
    display: block;
    font-size: 12px;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--ash);
}

.issued-id {
    display: block;
    margin: 10px 0 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(56px, 8vw, 88px);
    line-height: 0.82;
    color: var(--cream);
    font-variant-numeric: tabular-nums;
}

.issued-note { margin-bottom: 24px; letter-spacing: 0.06em; text-transform: none; font-size: 13px; }

/* ===== Nothing left ===== */
body.sold-out .join,
body.sold-out .rules,
body.sold-out .issued .btn-order { display: none; }

.gone { display: none; }

body.sold-out .gone {
    display: block;
    max-width: 460px;
    margin: 0;
    padding-top: 24px;
    border-top: 1px solid var(--line);
    font-size: 17px;
    color: var(--cream);
}

.sr-only {
    position: absolute;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ===== Footer ===== */
.site-footer {
    border-top: 1px solid var(--line);
    padding: 40px 0 32px;
    font-size: 13px;
    color: var(--ash);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 32px;
}

.site-footer h2 {
    font-family: var(--font-body);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.24em;
    text-transform: uppercase;
    /* grey: these are scaffolding, the links under them are the content */
    color: var(--ash);
    margin-bottom: 12px;
}

.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 7px; line-height: 1.45; }
.site-footer a { color: var(--cream); }
.site-footer a:hover { color: var(--toast); }

.footer-wipe {
    background: none;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    margin-top: 4px;
    font: 600 12px var(--font-body);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--cream);
    cursor: pointer;
    transition: var(--transition);
}

.footer-wipe:hover { border-color: var(--ember); color: var(--toast); }
.footer-wipe[disabled] { opacity: 0.55; cursor: default; border-color: var(--line); }

.footer-bar {
    border-top: 1px solid var(--line);
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

@media (max-width: 767px) {
    .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 991px) {
    /* The number is the whole premise — it leads on small screens
       instead of landing below the form. */
    .counter-disc { order: -1; margin: 0 auto 8px; }
}

@media (max-width: 767px) {
    .join-fields { grid-template-columns: 1fr; }
    .counter-disc { width: min(100%, 300px); }
}

.hero-content .subtitle,
.hero-content .title,
.hero-content .btn-order {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
}

.hero .fade-stagger > * {
    animation: fadeIn 0.7s ease forwards;
    opacity: 0;
}

.hero .fade-stagger > *:nth-child(1) { animation-delay: 0.15s; }
.hero .fade-stagger > *:nth-child(2) { animation-delay: 0.3s; }
.hero .fade-stagger > *:nth-child(3) { animation-delay: 0.45s; }
.hero .fade-stagger > *:nth-child(4) { animation-delay: 0.6s; }
.hero .fade-stagger > *:nth-child(5) { animation-delay: 0.75s; }

/* ===== Grill truths ===== */
.truths-section {
    padding: 72px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--char-deep);
}

.truths {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.truth {
    border-left: 2px solid var(--ember);
    padding-left: 22px;
}

.truth .label {
    display: block;
    font-size: 12px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--ash);
    margin-bottom: 8px;
}

.truth .value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 30px;
    text-transform: uppercase;
    color: var(--cream);
    line-height: 1.1;
}

/* ===== Menu section ===== */
.menu-section {
    padding: 110px 0 80px;
    background-color: var(--char);
}

.menu-filter {
    display: flex;
    justify-content: center;
    margin-bottom: 44px;
}

.filter-btns {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.filter-btns li {
    padding: 10px 22px;
    background-color: transparent;
    border: 1px solid var(--line);
    color: var(--ash);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btns li.active,
.filter-btns li:hover {
    background-color: var(--ember);
    border-color: var(--ember);
    color: var(--char);
}

.menu-items {
    margin-bottom: 40px;
}

.menu-item {
    margin-bottom: 28px;
}

.menu-card {
    background-color: var(--smoke);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    height: 100%;
}

.menu-card:hover {
    transform: translateY(-6px);
    border-color: rgba(245, 130, 32, 0.45);
    box-shadow: var(--box-shadow);
}

.menu-image {
    position: relative;
    overflow: hidden;
}

.menu-image img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.menu-card:hover .menu-image img {
    transform: scale(1.07);
}

.menu-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12, 8, 9, 0.85), rgba(12, 8, 9, 0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.menu-card:hover .menu-overlay {
    opacity: 1;
}

.click-details {
    color: var(--char);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background-color: var(--toast);
    padding: 9px 18px;
    border-radius: 999px;
}

.menu-content {
    padding: 22px;
}

.menu-content h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.menu-content p {
    font-size: 14px;
    color: var(--ash);
    margin-bottom: 18px;
    min-height: 44px;
}

.menu-price-cart {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.price {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 800;
    color: var(--toast);
}

.add-to-cart {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: var(--ember);
    color: var(--char);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: none;
    border-radius: 999px;
    cursor: pointer;
    transition: var(--transition);
}

.add-to-cart:hover {
    background-color: var(--toast);
}

.add-to-cart.success {
    animation: addToCartSuccess 0.5s ease;
    background-color: #4CAF50;
    color: #fff;
}

@keyframes addToCartSuccess {
    0%   { transform: scale(1); }
    50%  { transform: scale(1.15); }
    100% { transform: scale(1); }
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 34px;
    border: 1px solid var(--line);
    color: var(--cream);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: var(--transition);
}

.btn-view-all:hover {
    border-color: var(--toast);
    color: var(--toast);
    transform: translateY(-2px);
}

/* ===== Craft band ===== */
.craft-band {
    position: relative;
    padding: 140px 0;
    background-image: url('../images/backgrounds/01.jpg');
    background-size: cover;
    background-position: center;
}

.craft-band:before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(12, 8, 9, 0.95) 25%, rgba(12, 8, 9, 0.55) 70%, rgba(12, 8, 9, 0.75));
}

.craft-inner {
    position: relative;
    max-width: 640px;
}

.craft-inner .subtitle {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: var(--toast);
    letter-spacing: 0.35em;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.craft-inner h2 {
    font-size: clamp(40px, 6vw, 72px);
    margin-bottom: 20px;
}

.craft-inner h2 .accent {
    color: var(--ember);
}

.craft-inner p {
    font-size: 17px;
    color: var(--text-color);
    max-width: 520px;
}

/* ===== Promo section ===== */
.promo-section {
    padding: 100px 0 70px;
    background-color: var(--char);
}

.promo-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    margin-bottom: 28px;
    border: 1px solid var(--line);
    min-height: 320px;
    display: flex;
}

.promo-image {
    position: absolute;
    inset: 0;
}

.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.promo-card:hover .promo-image img {
    transform: scale(1.05);
}

.promo-content {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 32px;
    background: linear-gradient(to top, rgba(16, 11, 7, 0.92) 15%, rgba(16, 11, 7, 0.25) 65%, transparent);
}

.promo-content .subtitle {
    font-size: 12px;
    font-weight: 600;
    color: var(--toast);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.promo-content .title {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--cream);
    text-transform: uppercase;
    margin-bottom: 10px;
    line-height: 1;
}

.promo-content .price {
    font-size: 22px;
    margin-bottom: 18px;
}

.btn-shop {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    background-color: var(--ember);
    color: var(--char);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 999px;
    transition: var(--transition);
    max-width: fit-content;
}

.btn-shop:hover {
    background-color: var(--toast);
    color: var(--char);
    transform: translateY(-2px);
}

/* ===== Page title band (checkout / payment pages) ===== */
.page-title {
    position: relative;
    padding: 170px 0 70px;
    background:
        radial-gradient(700px 400px at 70% 30%, rgba(208, 31, 40, 0.2), transparent 65%),
        var(--char-deep);
    border-bottom: 1px solid var(--line);
}

.page-title h2 {
    font-size: clamp(48px, 7vw, 88px);
    margin-bottom: 6px;
}

.breadcrumb-list {
    display: flex;
    gap: 10px;
    font-size: 13px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--ash);
}

.breadcrumb-list a {
    color: var(--ash);
}

.breadcrumb-list a:hover {
    color: var(--toast);
}

.breadcrumb-list .current {
    color: var(--toast);
}

/* ===== Checkout ===== */
.checkout-section {
    padding: 80px 0 100px;
    background-color: var(--char);
}

.checkout-form-wrapper,
.checkout-summary {
    background-color: var(--smoke);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    padding: 32px;
}

.checkout-summary {
    position: sticky;
    top: 110px;
}

.checkout-title {
    font-size: 26px;
    padding-bottom: 14px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--cream);
}

.form-control {
    width: 100%;
    height: 50px;
    background-color: var(--char);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 0 16px;
    font-size: 15px;
    font-family: var(--font-body);
    color: var(--cream);
    transition: border-color 0.3s ease;
}

textarea.form-control {
    height: auto;
    padding: 14px 16px;
    resize: vertical;
}

.form-control:focus {
    border-color: var(--ember);
    outline: none;
}

.form-control::placeholder {
    color: var(--ash);
}

.payment-methods {
    margin-top: 34px;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    background: var(--char);
}

.payment-method.active,
.payment-method:hover {
    border-color: var(--ember);
}

.payment-method label {
    color: var(--cream);
}

.payment-method label p {
    margin: 0;
    font-size: 14px;
    color: var(--ash);
}

.payment-method-logo {
    width: 74px;
    height: auto;
    margin-left: auto;
    background: #fff;
    border-radius: 6px;
    padding: 6px;
}

.poli-info {
    margin-top: 18px;
    padding: 16px;
    background-color: var(--char);
    border: 1px solid var(--line);
    border-radius: 8px;
    font-size: 14px;
    color: var(--ash);
}

.poli-info p { margin-bottom: 10px; color: var(--ash); }
.poli-info p:last-child { margin-bottom: 0; }
.poli-info strong { color: var(--cream); }

.checkout-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
}

.checkout-item:last-child { border-bottom: none; }

.checkout-item-name { color: var(--cream); font-size: 15px; }

.checkout-item-price {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--toast);
    white-space: nowrap;
}

.checkout-totals {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
}

.checkout-total-row,
.checkout-final-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.checkout-total-label { color: var(--ash); }
.checkout-total-value { color: var(--cream); font-weight: 600; }

.checkout-final-row {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid var(--line);
}

.checkout-final-label {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--cream);
}

.checkout-final-value {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 800;
    color: var(--toast);
}

.btn-pay {
    width: 100%;
    height: 54px;
    background-color: var(--ember);
    color: var(--char);
    border: none;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
    margin-top: 22px;
}

.btn-pay:hover { background-color: var(--toast); }

.btn-pay:disabled {
    background-color: var(--smoke-2);
    color: var(--ash);
    cursor: not-allowed;
}

/* ===== Payment result pages ===== */
.result-section {
    padding: 80px 0 110px;
    background-color: var(--char);
}

.result-wrapper {
    background-color: var(--smoke);
    border: 1px solid var(--line);
    border-radius: var(--border-radius);
    padding: 48px 40px;
    text-align: center;
}

.result-icon {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 28px;
    font-size: 42px;
    color: var(--char);
    background-color: var(--toast);
    box-shadow: 0 0 60px rgba(208, 31, 40, 0.4);
}

.result-icon.failure {
    background-color: #C74A3B;
    color: var(--cream);
    box-shadow: 0 0 60px rgba(199, 74, 59, 0.35);
}

.result-title {
    font-size: clamp(34px, 5vw, 52px);
}

.result-message {
    font-size: 17px;
    color: var(--ash);
    max-width: 520px;
    margin: 0 auto 32px;
}

.order-details {
    background-color: var(--char);
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 26px;
    margin-bottom: 30px;
    text-align: left;
}

.order-details h3 {
    font-size: 22px;
    margin-bottom: 18px;
}

.order-detail-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 13px;
    padding-bottom: 13px;
    border-bottom: 1px solid var(--line);
}

.order-detail-row:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.order-detail-label { color: var(--ash); font-weight: 600; }
.order-detail-value { color: var(--cream); }

.result-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer-area {
    background-color: var(--char-deep);
    border-top: 1px solid var(--line);
    padding-top: 72px;
}

.footer-widget {
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 20px;
}

.footer-logo img {
    max-height: 52px;
}

.footer-widget > p {
    color: var(--ash);
    font-size: 15px;
    max-width: 320px;
}

.widget-title {
    font-size: 20px;
    margin-bottom: 24px;
    position: relative;
    padding-bottom: 10px;
}

.widget-title:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 2px;
    background-color: var(--ember);
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links li a {
    color: var(--ash);
    transition: var(--transition);
}

.footer-links li a:hover {
    color: var(--toast);
    padding-left: 5px;
}

.contact-info li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    color: var(--ash);
}

.contact-info li i {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--smoke);
    border: 1px solid var(--line);
    color: var(--toast);
    border-radius: 50%;
    margin-right: 14px;
    flex-shrink: 0;
    font-size: 13px;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--smoke);
    border: 1px solid var(--line);
    color: var(--cream);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--ember);
    border-color: var(--ember);
    color: var(--char);
    transform: translateY(-3px);
}

.footer-bottom {
    padding: 20px 0;
    border-top: 1px solid var(--line);
    margin-top: 32px;
}

.copyright p {
    margin: 0;
    text-align: center;
    color: var(--ash);
    font-size: 14px;
}

/* ===== Scroll-to-top (styled here; element injected by main.js) ===== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 100px;
    width: 42px;
    height: 42px;
    background-color: var(--smoke-2);
    border: 1px solid var(--line);
    color: var(--toast);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.scroll-to-top.active {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    background-color: var(--ember);
    color: var(--char);
    transform: translateY(-4px);
}

/* ===== Scroll reveal helpers (used by main.js) ===== */
.fade-up    { opacity: 0; transform: translateY(20px);  transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-left  { opacity: 0; transform: translateX(-20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-right { opacity: 0; transform: translateX(20px);  transition: opacity 0.6s ease, transform 0.6s ease; }

.fade-up.active,
.fade-left.active,
.fade-right.active {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Responsive ===== */
/* ponytail: no h1 override here — the base clamp already fits every column
   width from 992px up; an 8vw rule overflowed the text column around 1100px. */

@media (max-width: 991px) {
    .navbar-toggler { display: block; }

    .navbar-collapse {
        position: fixed;
        top: 0;
        left: -320px;
        width: 300px;
        height: 100%;
        background-color: var(--char-deep);
        border-right: 1px solid var(--line);
        z-index: 999;
        padding: 90px 30px 30px;
        transition: left 0.3s ease;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }

    .navbar-collapse.show { left: 0; }

    .navbar-nav {
        flex-direction: column;
        align-items: flex-start;
        width: 100%;
    }

    .nav-item { margin: 0; width: 100%; }

    .nav-link {
        padding: 14px 0;
        display: block;
        border-bottom: 1px solid var(--line);
        width: 100%;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ember-disc {
        margin: 0 auto;
        width: min(80vw, 420px);
    }

    .truths { grid-template-columns: 1fr; gap: 28px; }

    .checkout-summary { position: static; margin-top: 30px; }
}

@media (max-width: 767px) {
    .hero { padding: 120px 0 60px; }
    /* 11.4vw keeps "Premium burgers," on one line down to 320px */
    .hero h1 { font-size: clamp(30px, 11.4vw, 60px); }
    .hero-meta { gap: 18px; }
    .menu-section, .promo-section { padding: 70px 0 50px; }
    .craft-band { padding: 90px 0; }
    .scroll-to-top { right: 24px; bottom: 90px; }
    .result-wrapper { padding: 34px 22px; }
}

/* ===== Reduced motion ===== */
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .ember-disc { animation: none; }
    .hero .fade-stagger > * { opacity: 1; animation: none; }
    .fade-up, .fade-left, .fade-right { opacity: 1; transform: none; }
}
