/* COLORS AND DEFAULTS */
:root {
    --cream: #fff8ec;
    --white: #ffffff;
    --charcoal: #20221f;
    --orange: #ff6b2c;
    --muted: #606259;
    --line: #ddd8ce;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 24px;
}

body {
    margin: 0;
    background: var(--cream);
    color: var(--charcoal);
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1,
h2,
h3 {
    line-height: 1.08;
}

a {
    color: inherit;
}

button,
input,
select {
    font: inherit;
}

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

:focus-visible {
    outline: 3px solid #a8390a;
    outline-offset: 5px;
}

/* DEMO BANNER */
.demo-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 10px 5%;
    background: var(--charcoal);
    color: var(--cream);
    font-size: 0.8rem;
}

.demo-banner p {
    margin: 0;
}

.demo-banner a {
    text-underline-offset: 4px;
}

/* HEADER */
.site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    max-width: 1280px;
    margin: auto;
    padding: 30px 5%;
}

.brand {
    font-size: clamp(1.4rem, 3vw, 2rem);
    font-weight: 900;
    letter-spacing: -0.06em;
    line-height: 1;
    text-decoration: none;
}

.brand span {
    display: block;
    margin-top: 10px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}

.site-header nav {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

.site-header nav a {
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
}

.site-header nav a:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
}

/* SHARED ELEMENTS */
.section {
    max-width: 1200px;
    margin: auto;
    padding: 80px 5%;
}

.eyebrow {
    margin-bottom: 18px;
    color: #a8390a;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.section-heading {
    max-width: 650px;
    margin-bottom: 35px;
}

.section-heading h2,
.order-intro h2,
.portfolio-cta h2 {
    margin-bottom: 20px;
    font-size: clamp(2rem, 4vw, 3.4rem);
    font-weight: 900;
    letter-spacing: -0.055em;
}

.section-heading > p:last-child,
.order-intro > p:not(.eyebrow),
.portfolio-cta > p:not(.eyebrow) {
    color: var(--muted);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 25px;
    border: 2px solid var(--charcoal);
    border-radius: 7px;
    background: var(--orange);
    color: var(--charcoal);
    font-size: 0.95rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 4px 4px 0 var(--charcoal);
    transition: transform 160ms ease, box-shadow 160ms ease;
}

.button:hover:not(:disabled) {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--charcoal);
}

.button:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.text-link {
    font-size: 0.9rem;
    font-weight: 700;
    text-underline-offset: 6px;
}

.small-note {
    margin-top: 20px;
    color: var(--muted);
    font-size: 0.8rem;
}

.demo-notice {
    padding: 16px 18px;
    border-left: 4px solid #a8390a;
    border-radius: 0 5px 5px 0;
    background: #ffead8;
    font-size: 0.85rem;
}

[data-icon] {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

[data-icon] svg {
    width: 22px;
    height: 22px;
}

/* HERO */
.hero {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: center;
    gap: 50px;
    max-width: 1280px;
    margin: 15px auto 0;
    padding: 20px 5% 75px;
}

.hero-content {
    padding: 20px 0;
}

.hero h1 {
    margin-bottom: 28px;
    font-size: clamp(2.8rem, 5.5vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.065em;
}

.hero h1 span {
    color: #a8390a;
}

.hero-content > p:not(.eyebrow):not(.small-note) {
    max-width: 450px;
    color: var(--muted);
}

.hero-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 25px;
    margin-top: 30px;
    margin-bottom: 25px;
}

.hero-visual {
    position: relative;
    min-height: 520px;
    overflow: hidden;
    border: 2px solid var(--charcoal);
    border-radius: 100px 12px 100px 12px;
    background: #e7c5a1;
    box-shadow: 10px 10px 0 var(--orange);
}

.hero-visual img {
    position: absolute;
    inset: 0;
}

.hero-badge {
    position: absolute;
    right: 22px;
    bottom: 25px;
    left: 22px;
    padding: 14px 18px;
    border: 2px solid var(--charcoal);
    border-radius: 5px;
    background: var(--cream);
    color: var(--charcoal);
    font-size: 0.75rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    text-align: center;
}

/* MENU */
.menu-section {
    border-top: 1px solid var(--line);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.menu-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--white);
}

.menu-photo {
    height: 240px;
    background: #e7d8c4;
}

.menu-card-content {
    padding: 25px;
}

.menu-category {
    margin-bottom: 12px;
    color: #a8390a;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.15em;
}

.menu-title-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
}

.menu-title-row h3 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    letter-spacing: -0.035em;
}

.price {
    font-size: 1.1rem;
    font-weight: 900;
    white-space: nowrap;
}

.menu-card-content > p:not(.menu-category) {
    color: var(--muted);
    font-size: 0.9rem;
}

.food-tag {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    padding: 6px 10px;
    border-radius: 5px;
    background: #f4f0e8;
    font-size: 0.72rem;
    font-weight: 700;
}

.food-tag svg {
    width: 17px;
    height: 17px;
}

/* SAMPLE LOCATIONS */
.locations-section {
    border-top: 1px solid var(--line);
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 28px;
}

.location-card {
    padding: 28px;
    border: 1px solid var(--line);
    border-radius: 10px;
    background: var(--white);
}

.location-card > [data-icon] {
    width: 46px;
    height: 46px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: #ffead8;
    color: #a8390a;
}

.location-card .day {
    margin-bottom: 12px;
    color: var(--muted);
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.08em;
}

.location-card h3 {
    font-size: 1.35rem;
}

.location-card > p:not(.day):not(.hours) {
    color: var(--muted);
    font-size: 0.9rem;
}

.location-card .hours {
    margin-bottom: 0;
    font-size: 0.9rem;
    font-weight: 800;
}

/* ORDER PREVIEW */
.order-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 65px;
    border-top: 1px solid var(--line);
}

#order-form {
    min-width: 0;
    padding: 30px;
    border: 2px solid var(--charcoal);
    border-radius: 12px;
    background: var(--white);
    box-shadow: 7px 7px 0 #e7d8c4;
}

#order-form h3 {
    margin-bottom: 28px;
    font-size: 1.5rem;
    letter-spacing: -0.035em;
}

.order-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 18px 0;
    border-bottom: 1px solid var(--line);
}

.order-item label {
    font-size: 0.9rem;
    font-weight: 700;
}

.order-item label span {
    display: block;
    margin-top: 4px;
    color: var(--muted);
    font-size: 0.78rem;
    font-weight: 400;
}

.order-item select {
    flex-shrink: 0;
    width: 72px;
    min-height: 46px;
    padding: 8px;
    border: 1px solid #8c8d84;
    border-radius: 5px;
    background: var(--white);
    color: var(--charcoal);
    font-size: 1rem;
}

.order-total {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 28px;
    font-size: 1.15rem;
    font-weight: 900;
}

#order-form > .small-note {
    margin-top: 8px;
}

#order-form .button {
    width: 100%;
    margin-top: 12px;
}

#order-status {
    margin: 0;
    overflow-wrap: anywhere;
}

#order-status:not(:empty) {
    margin-top: 25px;
    padding: 16px;
    border: 1px solid #52725a;
    border-radius: 5px;
    background: #edf5ee;
    color: #23482c;
    font-size: 0.9rem;
}

#order-status[data-state="error"] {
    border-color: #a8390a;
    background: #fff0e5;
    color: #82300d;
}

/* TECH2RELAY LINK */
.portfolio-cta {
    border-top: 1px solid var(--line);
    text-align: center;
}

.portfolio-cta > p:not(.eyebrow) {
    max-width: 550px;
    margin-right: auto;
    margin-left: auto;
}

.portfolio-cta .button {
    margin-top: 15px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    padding: 30px 5%;
    background: var(--charcoal);
    color: var(--cream);
    font-size: 0.75rem;
}

.site-footer p {
    margin: 0;
}

/* TABLETS */
@media (max-width: 1000px) {
    .hero {
        gap: 30px;
    }

    .hero-visual {
        min-height: 460px;
    }

    .menu-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

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

    .order-section {
        gap: 35px;
    }
}

/* PHONES */
@media (max-width: 700px) {
    .demo-banner {
        flex-direction: column;
        align-items: flex-start;
        gap: 3px;
    }

    .site-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 24px;
    }

    .site-header nav {
        gap: 14px 20px;
    }

    .hero {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-bottom: 55px;
    }

    .hero-visual {
        min-height: 400px;
        margin-right: 10px;
    }

    .section {
        padding-top: 55px;
        padding-bottom: 55px;
    }

    .menu-grid,
    .order-section {
        grid-template-columns: 1fr;
    }

    .menu-photo {
        height: 260px;
    }

    #order-form {
        padding: 25px 20px;
        margin-right: 7px;
    }

    .site-footer {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 400px) {
    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }
}

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

    .button {
        transition: none;
    }

    .button:hover:not(:disabled) {
        transform: none;
    }
}