:root {
    --ink: #203038;
    --muted: #665f59;
    --paper: #fff9ed;
    --surface: #ffffff;
    --coral: #df5140;
    --coral-dark: #a83529;
    --coral-soft: #ffe4dc;
    --teal: #28b69f;
    --teal-dark: #11675f;
    --teal-deep: #0f3d45;
    --corn: #f6d44f;
    --cream: #fff2ba;
    --chalk: #fffaf0;
    --border: rgba(32, 48, 56, 0.16);
    --shadow: 0 18px 44px rgba(68, 40, 35, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background:
        linear-gradient(90deg, rgba(40, 182, 159, 0.07) 1px, transparent 1px),
        linear-gradient(rgba(223, 81, 64, 0.08) 1px, transparent 1px),
        var(--paper);
    background-size: 42px 42px;
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.5;
}

.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 18px 0;
}

.brand-lockup {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    border: 3px solid var(--ink);
    border-radius: 50%;
    background: var(--corn);
    color: var(--coral-dark);
    font-weight: 900;
    box-shadow: 6px 6px 0 var(--teal);
}

.eyebrow,
.header-note {
    margin: 0;
    color: var(--teal-dark);
    font-size: 0.78rem;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-lockup h1 {
    margin: 2px 0 0;
    font-size: clamp(1.45rem, 3vw, 2.2rem);
    line-height: 1.05;
}

.header-note {
    max-width: 320px;
    text-align: right;
    color: var(--muted);
}

.demo-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.demo-nav a,
.text-link,
.button-link {
    color: var(--ink);
    font-weight: 900;
    text-decoration: none;
}

.demo-nav a {
    padding: 9px 13px;
    border: 2px solid rgba(32, 48, 56, 0.14);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.72);
}

.demo-nav a:hover,
.demo-nav a:focus-visible,
.demo-nav a[aria-current="page"] {
    background: var(--teal);
    border-color: var(--teal);
    color: #ffffff;
}

.hero-section {
    position: relative;
    min-height: 690px;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: #ffffff;
    border-top: 8px solid var(--corn);
    border-bottom: 8px solid var(--teal);
    background: var(--coral);
}

.hero-image,
.hero-overlay {
    position: absolute;
    inset: 0;
}

.hero-image {
    background-color: var(--coral);
    background-image: url("../Images/DemoTacoTruckHero.png");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: min(760px, 58vw) auto;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(32, 48, 56, 0.92) 0%, rgba(32, 48, 56, 0.76) 38%, rgba(32, 48, 56, 0.16) 66%, rgba(32, 48, 56, 0) 100%),
        linear-gradient(0deg, rgba(223, 81, 64, 0.24), rgba(223, 81, 64, 0));
}

.hero-content {
    position: relative;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 120px 0 58px;
}

.hero-content .eyebrow,
.subpage-hero .eyebrow {
    color: var(--corn);
}

.hero-content h2 {
    max-width: 670px;
    margin: 14px 0 18px;
    font-size: clamp(2.45rem, 7vw, 5.7rem);
    line-height: 0.97;
}

.hero-copy {
    max-width: 540px;
    margin: 0;
    font-size: clamp(1.05rem, 2vw, 1.35rem);
}

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

.hero-actions span {
    padding: 9px 13px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    border-radius: 999px;
    background: rgba(255, 250, 240, 0.14);
    color: #ffffff;
    font-weight: 900;
}

.menu-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    width: min(1180px, calc(100% - 32px));
    margin: -42px auto 0;
    position: relative;
    z-index: 2;
}

.menu-strip article,
.schedule-board,
.catering-form,
.story-panel,
.values-band article,
.menu-card,
.catering-callout {
    border: 1px solid var(--border);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    box-shadow: var(--shadow);
}

.menu-strip article {
    min-height: 190px;
    padding: 24px;
    border-top: 7px solid var(--teal);
}

.menu-strip article:nth-child(2) {
    border-top-color: var(--coral);
}

.menu-strip article:nth-child(3) {
    border-top-color: var(--corn);
}

.menu-icon {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--coral);
    color: #ffffff;
    font-weight: 900;
}

.menu-strip article:nth-child(2) .menu-icon {
    background: var(--teal);
}

.menu-strip article:nth-child(3) .menu-icon {
    background: var(--corn);
    color: var(--ink);
}

.menu-strip h3,
.schedule-board h3 {
    margin: 18px 0 8px;
    font-size: 1.35rem;
}

.menu-strip p,
.story-copy p,
.form-intro p,
footer p,
.story-panel p,
.values-band p,
.menu-card p,
.catering-callout p {
    margin: 0;
    color: var(--muted);
}

.story-band,
.form-section {
    width: min(1180px, calc(100% - 32px));
    margin: 84px auto 0;
}

.story-band {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(300px, 0.6fr);
    gap: 34px;
    align-items: center;
}

.story-copy h2,
.form-intro h2 {
    margin: 8px 0 16px;
    font-size: clamp(2rem, 4vw, 3.6rem);
    line-height: 1;
}

.story-copy p {
    max-width: 690px;
    font-size: 1.1rem;
}

.schedule-board {
    padding: 26px;
    background: var(--teal-deep);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.14);
}

.schedule-board h3 {
    margin-top: 0;
    color: var(--corn);
}

.schedule-board dl {
    display: grid;
    gap: 14px;
    margin: 0;
}

.schedule-board div {
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.schedule-board div:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.schedule-board dt {
    font-weight: 900;
}

.schedule-board dd {
    margin: 3px 0 0;
    color: var(--cream);
}

.form-section {
    display: grid;
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
    gap: 34px;
    align-items: start;
    margin-bottom: 72px;
}

.form-intro {
    position: sticky;
    top: 22px;
}

.form-stats {
    display: grid;
    gap: 10px;
    margin-top: 28px;
}

.form-stats span {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    padding: 13px 15px;
    border: 1px solid var(--border);
    border-left: 7px solid var(--teal);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.7);
    color: var(--muted);
}

.form-stats strong {
    color: var(--coral-dark);
    font-size: 1.2rem;
}

.catering-form {
    display: grid;
    gap: 22px;
    padding: clamp(22px, 4vw, 34px);
    border-top: 8px solid var(--coral);
}

.field-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.full-field {
    grid-column: 1 / -1;
}

label,
legend {
    color: var(--ink);
    font-weight: 900;
}

label {
    display: grid;
    gap: 8px;
}

input,
select,
textarea {
    width: 100%;
    border: 1px solid rgba(32, 48, 56, 0.24);
    border-radius: 6px;
    background: #ffffff;
    color: var(--ink);
    font: inherit;
}

input,
select {
    min-height: 48px;
    padding: 11px 12px;
}

textarea {
    min-height: 138px;
    padding: 12px;
    resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
    outline: 3px solid rgba(246, 212, 79, 0.52);
    border-color: var(--coral);
}

fieldset {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 18px;
    margin: 0;
    padding: 18px;
    border: 1px dashed rgba(32, 48, 56, 0.3);
    border-radius: 8px;
}

fieldset legend {
    padding: 0 8px;
}

fieldset label,
.consent-line {
    display: flex;
    align-items: center;
    gap: 9px;
    font-weight: 700;
}

input[type="radio"],
input[type="checkbox"] {
    width: 18px;
    min-width: 18px;
    height: 18px;
    min-height: 18px;
    accent-color: var(--teal);
}

button,
.button-link {
    background: var(--coral);
    color: #ffffff;
    box-shadow: 0 8px 0 var(--coral-dark);
}

button {
    min-height: 54px;
    border: 0;
    border-radius: 6px;
    cursor: pointer;
    font: inherit;
    font-size: 1.05rem;
    font-weight: 900;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

button:hover,
button:focus-visible,
.button-link:hover,
.button-link:focus-visible {
    background: var(--teal-dark);
    transform: translateY(3px);
    box-shadow: 0 5px 0 var(--teal-deep);
}

footer {
    padding: 28px 16px;
    border-top: 1px solid var(--border);
    background: var(--teal-deep);
    text-align: center;
}

footer p {
    color: var(--chalk);
}

.text-link {
    display: inline-flex;
    margin-top: 18px;
    color: var(--coral-dark);
}

.text-link:hover,
.text-link:focus-visible {
    color: var(--teal-dark);
    text-decoration: underline;
}

.subpage-hero {
    position: relative;
    display: grid;
    align-items: end;
    min-height: 430px;
    padding: 74px max(16px, calc((100vw - 1180px) / 2)) 58px;
    overflow: hidden;
    color: #ffffff;
    border-top: 8px solid var(--corn);
    border-bottom: 8px solid var(--teal);
    background:
        linear-gradient(90deg, rgba(32, 48, 56, 0.92) 0%, rgba(32, 48, 56, 0.76) 42%, rgba(32, 48, 56, 0.12) 72%, rgba(32, 48, 56, 0) 100%),
        url("../Images/DemoTacoTruckHero.png") right center / min(610px, 52vw) auto no-repeat,
        var(--coral);
}

.menu-hero {
    background-position: left top, right center, center;
}

.subpage-hero div {
    position: relative;
    width: min(760px, calc(100% - 32px));
}

.subpage-hero h2 {
    margin: 12px 0 16px;
    font-size: clamp(2.35rem, 6vw, 5rem);
    line-height: 0.98;
}

.subpage-hero p:last-child {
    margin: 0;
    max-width: 650px;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.content-grid,
.values-band,
.menu-page-grid,
.catering-callout {
    width: min(1180px, calc(100% - 32px));
    margin: 72px auto 0;
}

.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
    gap: 22px;
}

.story-panel {
    padding: clamp(24px, 4vw, 36px);
}

.large-panel {
    border-top: 8px solid var(--teal);
}

.story-panel:not(.large-panel) {
    border-top: 8px solid var(--corn);
}

.story-panel h3,
.values-band h3,
.menu-card h3,
.catering-callout h2 {
    margin: 8px 0 12px;
    font-size: clamp(1.45rem, 3vw, 2.25rem);
    line-height: 1.05;
}

.check-list {
    display: grid;
    gap: 10px;
    margin: 20px 0 0;
    padding: 0;
    list-style: none;
}

.check-list li {
    padding-left: 26px;
    position: relative;
    font-weight: 800;
}

.check-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--teal);
}

.values-band {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-bottom: 72px;
}

.values-band article,
.menu-card {
    padding: 24px;
}

.values-band article:nth-child(1),
.menu-card:nth-child(1) {
    border-top: 7px solid var(--teal);
}

.values-band article:nth-child(2),
.menu-card:nth-child(2) {
    border-top: 7px solid var(--coral);
}

.values-band article:nth-child(3),
.menu-card:nth-child(3) {
    border-top: 7px solid var(--corn);
}

.menu-page-grid {
    display: grid;
}

.menu-card {
    min-height: 240px;
}

.menu-card:nth-child(4) {
    border-top: 7px solid var(--teal-deep);
}

.menu-price {
    display: inline-grid;
    place-items: center;
    min-width: 54px;
    height: 44px;
    margin: 0 0 12px;
    border-radius: 999px;
    background: var(--corn);
    color: var(--coral-dark);
    font-weight: 900;
}

.menu-card span {
    display: inline-flex;
    margin-top: 14px;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(40, 182, 159, 0.14);
    color: var(--teal-dark);
    font-weight: 900;
}

.catering-callout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    margin-bottom: 72px;
    padding: clamp(24px, 4vw, 36px);
    border-top: 8px solid var(--coral);
}

.catering-callout div {
    max-width: 720px;
}

.button-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 0 18px;
    border-radius: 6px;
    white-space: nowrap;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

@media (max-width: 980px) {
    .hero-image {
        background-position: center 44px;
        background-size: min(620px, 88vw) auto;
        opacity: 0.9;
    }

    .hero-overlay {
        background:
            linear-gradient(0deg, rgba(32, 48, 56, 0.92) 0%, rgba(32, 48, 56, 0.72) 48%, rgba(32, 48, 56, 0.08) 100%);
    }

    .hero-content {
        padding-top: 360px;
    }
}

@media (max-width: 860px) {
    .site-header,
    .story-band,
    .form-section {
        grid-template-columns: 1fr;
    }

    .site-header {
        display: grid;
    }

    .demo-nav {
        justify-content: flex-start;
    }

    .header-note {
        text-align: left;
    }

    .hero-section {
        min-height: 640px;
    }

    .menu-strip,
    .field-grid,
    fieldset,
    .content-grid,
    .values-band,
    .menu-page-grid,
    .catering-callout {
        grid-template-columns: 1fr;
    }

    .form-intro {
        position: static;
    }

    .subpage-hero {
        min-height: 520px;
        padding-top: 250px;
        background:
            linear-gradient(0deg, rgba(32, 48, 56, 0.94) 0%, rgba(32, 48, 56, 0.72) 54%, rgba(32, 48, 56, 0.12) 100%),
            url("../Images/DemoTacoTruckHero.png") center 24px / min(420px, 86vw) auto no-repeat,
            var(--coral);
    }

    .catering-callout {
        display: grid;
    }

    .button-link {
        width: 100%;
    }
}

@media (max-width: 560px) {
    .brand-mark {
        width: 50px;
        height: 50px;
    }

    .hero-image {
        background-size: min(430px, 96vw) auto;
        background-position: center 30px;
    }

    .hero-content {
        padding-top: 300px;
        padding-bottom: 36px;
    }

    .hero-actions span {
        width: 100%;
        text-align: center;
    }

    .menu-strip {
        margin-top: 18px;
    }
}

/* ============================================
   MOBILE RESPONSIVE SAFETY NET
   ============================================ */
html,
body {
    max-width: 100%;
    overflow-x: hidden;
}

img,
picture,
video,
canvas,
svg,
iframe {
    max-width: 100%;
}

.site-header,
.brand-lockup,
.demo-nav,
.hero-content,
.menu-strip,
.story-band,
.form-section,
.content-grid,
.values-band,
.menu-page-grid,
.catering-callout,
.catering-form,
.story-panel,
.menu-card,
.schedule-board {
    min-width: 0;
}

h1,
h2,
h3,
p,
a,
button,
label,
li,
span,
strong,
dd,
dt {
    overflow-wrap: anywhere;
}

@media (max-width: 860px) {
    .site-header {
        width: min(100% - 24px, 1180px);
        gap: 14px;
        padding: 14px 0;
    }

    .brand-lockup {
        max-width: 100%;
    }

    .header-note {
        max-width: 100%;
    }

    .demo-nav {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        width: 100%;
    }

    .demo-nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        text-align: center;
    }

    .hero-section {
        min-height: auto;
    }

    .hero-content,
    .menu-strip,
    .story-band,
    .form-section,
    .content-grid,
    .values-band,
    .menu-page-grid,
    .catering-callout {
        width: min(100% - 24px, 1180px);
    }

    .menu-strip,
    .field-grid,
    fieldset,
    .story-band,
    .form-section,
    .content-grid,
    .values-band,
    .menu-page-grid,
    .catering-callout {
        grid-template-columns: 1fr !important;
    }

    .form-intro {
        position: static;
    }

    .catering-callout {
        align-items: stretch;
    }

    .button-link,
    button {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 560px) {
    .brand-lockup {
        gap: 10px;
    }

    .brand-lockup h1 {
        font-size: clamp(1.25rem, 7vw, 1.7rem);
    }

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

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

    .hero-content {
        padding-top: 280px;
    }

    .hero-content h2,
    .subpage-hero h2 {
        font-size: clamp(2rem, 13vw, 3rem);
        line-height: 1.02;
    }

    .hero-copy,
    .subpage-hero p:last-child {
        font-size: 1rem;
    }

    .hero-actions,
    .form-stats span,
    .consent-line {
        display: grid;
        grid-template-columns: 1fr;
    }

    .story-panel,
    .values-band article,
    .menu-card,
    .catering-callout,
    .catering-form {
        padding: 20px;
    }

    .subpage-hero {
        min-height: auto;
        padding-top: 220px;
        padding-bottom: 42px;
    }

    footer {
        padding-inline: 12px;
    }
}
