/* =========================================================
   POCO LOCO
   Mobile-first CSS
   ========================================================= */

:root {
    --red: #9f1d12;
    --red-dark: #7d160e;
    --orange: #d84616;
    --mustard: #f6b84a;
    --yellow: #f2b705;
    --cream: #f7e5c7;
    --warm-white: #fff8ec;
    --ink: #241711;
    --green: #1f5a35;

    --header-height: 82px;
    --content-width: 1180px;

    --font-body:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    --font-display:
        "Arial Narrow",
        "Roboto Condensed",
        "Franklin Gothic Condensed",
        Impact,
        sans-serif;

    --shadow:
        0 24px 60px rgba(36, 23, 17, 0.18);

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 28px;
}

/* =========================================================
   RESET / GLOBAL
   ========================================================= */

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-height) + 16px);
}

body {
    margin: 0;
    min-width: 320px;
    background: var(--cream);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 66px;
}

body.nav-open {
    overflow: hidden;
}

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

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

a {
    color: inherit;
}

button,
input,
select,
textarea {
    font: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    border: 0;
}

section {
    scroll-margin-top: calc(var(--header-height) + 12px);
}

::selection {
    color: var(--warm-white);
    background: var(--red);
}

:focus-visible {
    outline: 3px solid var(--yellow);
    outline-offset: 4px;
}

.container {
    width: min(calc(100% - 36px), var(--content-width));
    margin-inline: auto;
}

/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.skip-link {
    position: fixed;
    z-index: 9999;
    top: 10px;
    left: 10px;
    padding: 12px 16px;
    color: var(--warm-white);
    background: var(--ink);
    transform: translateY(-160%);
}

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

.honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
}

/* =========================================================
   TYPOGRAPHY
   ========================================================= */

h1,
h2,
.section-heading h2,
.about-copy h2 {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.025em;
    line-height: 0.92;
}

.section-kicker,
.hero-eyebrow {
    margin-bottom: 10px;
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.section-heading {
    max-width: 760px;
    margin-bottom: 38px;
}

.section-heading-centered {
    margin-inline: auto;
    text-align: center;
}

.section-heading h2,
.about-copy h2 {
    margin-bottom: 18px;
    font-size: clamp(3rem, 12vw, 5.8rem);
}

.section-heading p:last-child {
    max-width: 640px;
    margin-bottom: 0;
}

.section-heading-centered p:last-child {
    margin-inline: auto;
}

/* =========================================================
   BUTTONS
   ========================================================= */

.button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;
    border: 2px solid transparent;

    font-size: 0.9rem;
    font-weight: 900;
    line-height: 1.2;
    letter-spacing: 0.035em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;

    cursor: pointer;
    transition:
        transform 160ms ease,
        background-color 160ms ease,
        color 160ms ease,
        border-color 160ms ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary,
.button-yellow {
    color: var(--ink);
    background: var(--mustard);
    border-color: var(--mustard);
}

.button-primary:hover,
.button-yellow:hover {
    background: var(--warm-white);
    border-color: var(--warm-white);
}

.button-light {
    color: var(--warm-white);
    background: transparent;
    border-color: rgba(255, 248, 236, 0.82);
}

.button-light:hover {
    color: var(--ink);
    background: var(--warm-white);
}

.button-red {
    color: var(--warm-white);
    background: var(--red);
    border-color: var(--red);
}

.button-red:hover {
    background: var(--red-dark);
    border-color: var(--red-dark);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-top: 12px;

    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.text-link-light {
    color: var(--mustard);
}

/* =========================================================
   HEADER
   ========================================================= */

.site-header {
    position: fixed;
    z-index: 1000;
    inset: 0 0 auto;
    height: var(--header-height);
    color: var(--warm-white);

    transition:
        background-color 180ms ease,
        box-shadow 180ms ease,
        backdrop-filter 180ms ease;
}

.site-header.is-scrolled,
body.nav-open .site-header {
    background: rgba(125, 22, 14, 0.96);
    box-shadow: 0 10px 35px rgba(36, 23, 17, 0.16);
    backdrop-filter: blur(12px);
}

.header-inner {
    position: relative;
    z-index: 2;

    display: flex;
    width: min(calc(100% - 30px), 1440px);
    height: 100%;
    align-items: center;
    justify-content: space-between;
    margin-inline: auto;
}

.brand {
    position: relative;
    z-index: 5;
    display: block;
    width: 84px;
}

.brand img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.35));
}

.nav-toggle {
    position: relative;
    z-index: 5;

    display: grid;
    width: 48px;
    height: 48px;
    place-content: center;
    gap: 5px;

    color: inherit;
    background: transparent;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 27px;
    height: 2px;
    background: currentColor;
    transition:
        transform 180ms ease,
        opacity 180ms ease;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.primary-nav {
    position: fixed;
    z-index: 4;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;

    padding: 100px 30px 80px;
    background: var(--red-dark);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);

    transition:
        opacity 180ms ease,
        visibility 180ms ease,
        transform 180ms ease;
}

.primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.primary-nav a {
    color: var(--warm-white);
    font-family: var(--font-display);
    font-size: clamp(2rem, 10vw, 3.5rem);
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
}

.primary-nav a:hover {
    color: var(--mustard);
}

.primary-nav .nav-reserve {
    padding: 10px 18px;
    color: var(--ink);
    background: var(--mustard);
}

/* =========================================================
   HERO
   ========================================================= */

.hero {
    position: relative;
    isolation: isolate;

    display: flex;
    min-height: 100svh;
    align-items: center;

    overflow: hidden;
    color: var(--warm-white);
    background: var(--ink);
}

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

.hero-media {
    z-index: -3;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-overlay {
    z-index: -2;
    background:
        linear-gradient(90deg,
            rgba(17, 8, 4, 0.76) 0%,
            rgba(17, 8, 4, 0.52) 52%,
            rgba(17, 8, 4, 0.4) 100%);
}

.hero::after {
    position: absolute;
    z-index: -1;
    inset: auto 0 0;
    height: 30%;
    content: "";
    background: linear-gradient(transparent, rgba(17, 8, 4, 0.3));
}

.hero-content {
    padding-block: 130px 100px;
    text-align: center;
}

.hero-eyebrow {
    color: var(--mustard);
}

.hero h1 {
    margin-bottom: 8px;
    font-size: clamp(5rem, 23vw, 11rem);
    line-height: 0.8;
    text-shadow: 0 8px 30px rgba(0, 0, 0, 0.38);
}

.hero-subtitle {
    margin-bottom: 30px;
    color: var(--mustard);
    font-family: var(--font-display);
    font-size: clamp(1.45rem, 6vw, 2.5rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    width: min(100%, 440px);
    margin-inline: auto;
}

.scroll-cue {
    position: absolute;
    bottom: 84px;
    left: 50%;
    transform: translateX(-50%);

    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;

    color: var(--warm-white);
    border: 1px solid rgba(255, 248, 236, 0.6);
    border-radius: 50%;

    font-size: 1.3rem;
    text-decoration: none;
}

/* =========================================================
   ABOUT
   ========================================================= */

.section-red {
    color: var(--cream);
    background:
        radial-gradient(circle at 90% 10%,
            rgba(216, 70, 22, 0.42),
            transparent 35%),
        var(--red);
}

.about {
    padding-block: 76px;
}

.about-grid {
    display: grid;
    gap: 42px;
}

.about-photo {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.about-photo img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.about-copy {
    align-self: center;
}

.about-copy .section-kicker,
.about-copy h2 {
    color: var(--mustard);
}

.about-copy p {
    max-width: 630px;
}

.about-lead {
    color: var(--warm-white);
    font-size: clamp(1.2rem, 4vw, 1.55rem);
    font-weight: 700;
}

/* =========================================================
   GALLERY
   ========================================================= */

.gallery {
    background: var(--ink);
}

.gallery-grid {
    display: grid;
}

.gallery figure {
    min-height: 320px;
    margin: 0;
    overflow: hidden;
}

.gallery img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
}

/* =========================================================
   MENU
   ========================================================= */

.menu-section {
    padding-block: 78px;
    background:
        radial-gradient(circle at 8% 20%,
            rgba(246, 184, 74, 0.28),
            transparent 22%),
        var(--cream);
}

.menu-section .section-kicker {
    color: var(--red);
}

.menu-section .section-heading h2 {
    color: var(--red);
}

.menu-toolbar,
.menu-bottom-action {
    display: flex;
    justify-content: center;
    margin-bottom: 34px;
}

.menu-bottom-action {
    margin-top: 34px;
    margin-bottom: 0;
}

.menu-categories {
    display: grid;
    gap: 14px;
    max-width: 960px;
    margin-inline: auto;
}

.menu-category {
    overflow: hidden;
    border: 2px solid rgba(159, 29, 18, 0.2);
    background: rgba(255, 248, 236, 0.55);
}

.menu-category summary {
    display: flex;
    min-height: 64px;
    align-items: center;
    justify-content: space-between;
    gap: 20px;

    padding: 16px 20px;

    color: var(--red);
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 6vw, 2.25rem);
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;

    cursor: pointer;
    list-style: none;
}

.menu-category summary::-webkit-details-marker {
    display: none;
}

.summary-icon {
    flex: 0 0 auto;
    font-family: var(--font-body);
    font-size: 1.8rem;
    transition: transform 180ms ease;
}

.menu-category[open] .summary-icon {
    transform: rotate(45deg);
}

.menu-category-content {
    padding: 4px 20px 24px;
}

.menu-category-content h3 {
    margin: 28px 0 12px;
    color: var(--green);
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 5vw, 2rem);
    text-transform: uppercase;
}

.menu-category-content h3:first-child {
    margin-top: 12px;
}

.menu-item {
    padding: 13px 0;
    border-bottom: 1px dashed rgba(36, 23, 17, 0.24);
}

.menu-item:last-child {
    border-bottom: 0;
}

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

.menu-item h4 {
    margin: 0;
    font-size: 1rem;
    line-height: 1.35;
}

.menu-item strong {
    color: var(--red);
    white-space: nowrap;
}

.menu-item p {
    margin: 4px 0 0;
    color: rgba(36, 23, 17, 0.75);
    font-size: 0.91rem;
    line-height: 1.45;
}

/* =========================================================
   INFO
   ========================================================= */

.info-section {
    position: relative;
    overflow: hidden;
    padding-block: 78px;
    background: var(--mustard);
}

.info-section::before {
    position: absolute;
    top: -80px;
    right: -70px;

    width: 260px;
    height: 260px;

    content: "";
    border: 30px solid rgba(159, 29, 18, 0.08);
    border-radius: 50%;
}

.info-section .section-kicker,
.info-section .section-heading h2 {
    color: var(--red);
}

.info-grid {
    display: grid;
    gap: 44px;
}

.info-list {
    display: grid;
    gap: 28px;
}

.info-item {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 17px;
}

.info-symbol {
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;

    color: var(--mustard);
    background: var(--red);
    border-radius: 50%;

    font-weight: 900;
}

.info-item h3 {
    margin-bottom: 2px;
    color: var(--red);
    font-family: var(--font-display);
    font-size: 1.25rem;
    text-transform: uppercase;
}

.info-item p,
.info-item address {
    margin: 0;
    font-style: normal;
}

.info-item a {
    font-weight: 800;
}

.info-item .info-note {
    margin-top: 4px;
    font-size: 0.92rem;
    opacity: 0.78;
}

.location-card {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    min-height: 390px;
    align-items: flex-end;

    padding: 28px;
    color: var(--cream);
    background: var(--red);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow);
}

.location-card::before,
.location-card::after {
    position: absolute;
    z-index: -1;
    content: "";
    border-radius: 50%;
}

.location-card::before {
    top: -50px;
    right: -60px;

    width: 220px;
    height: 220px;

    border: 28px solid rgba(246, 184, 74, 0.2);
}

.location-card::after {
    right: 70px;
    bottom: -90px;

    width: 200px;
    height: 200px;

    background: rgba(216, 70, 22, 0.42);
}

.location-label {
    margin-bottom: 8px;
    color: var(--mustard);
    font-weight: 900;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.location-card h3 {
    margin-bottom: 12px;
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 10vw, 4rem);
    text-transform: uppercase;
}

.location-card p {
    margin-bottom: 22px;
}

/* =========================================================
   RESERVATION
   ========================================================= */

.reservation-section {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    padding-block: 78px 90px;
    color: var(--cream);
    background: #a82312;
}

.reservation-section::before {
    position: absolute;
    z-index: -1;
    top: -130px;
    left: -120px;

    width: 360px;
    height: 360px;

    content: "";
    border: 45px solid rgba(242, 183, 5, 0.09);
    border-radius: 50%;
}

.reservation-section::after {
    position: absolute;
    z-index: -1;
    right: -130px;
    bottom: -150px;

    width: 400px;
    height: 400px;

    content: "";
    background: rgba(216, 70, 22, 0.32);
    border-radius: 50%;
}

.section-heading-light h2 {
    color: var(--mustard);
}

.reservation-notice {
    max-width: 850px;
    margin: 0 auto 26px;
    padding: 14px 18px;

    color: var(--cream);
    background: rgba(36, 23, 17, 0.28);
    border-left: 4px solid var(--mustard);

    font-size: 0.94rem;
}

.reservation-form {
    max-width: 940px;
    margin-inline: auto;
}

.form-grid {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 7px;
}

.form-field label {
    font-size: 0.82rem;
    font-weight: 900;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    min-height: 52px;

    padding: 12px 14px;

    color: var(--ink);
    background: var(--cream);
    border: 2px solid transparent;
    border-radius: 3px;

    outline: none;
}

.form-field textarea {
    min-height: 130px;
    resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--mustard);
    box-shadow: 0 0 0 3px rgba(246, 184, 74, 0.22);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: rgba(36, 23, 17, 0.6);
}

.form-privacy {
    max-width: 820px;
    margin: 18px auto 0;
    color: rgba(247, 229, 199, 0.88);
    font-size: 0.82rem;
}

.form-status {
    min-height: 26px;
    margin-top: 13px;
    text-align: center;
    font-weight: 800;
}

.form-status.is-success {
    color: var(--mustard);
}

.form-status.is-error {
    color: var(--warm-white);
}

.form-submit {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

.button-submit {
    min-width: min(100%, 320px);
}

/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
    padding-block: 60px 90px;
    color: var(--cream);
    background: var(--ink);
}

.footer-grid {
    display: grid;
    gap: 42px;
}

.footer-logo {
    width: 110px;
    margin-bottom: 16px;
}

.footer-grid>div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-title {
    margin-bottom: 12px;
    color: var(--mustard);
    font-family: var(--font-display);
    font-size: 1.45rem;
    text-transform: uppercase;
}

.footer-grid a {
    min-height: 34px;
    color: var(--cream);
    text-decoration: none;
}

.footer-grid a:hover {
    color: var(--mustard);
}

.legal {
    margin-top: 45px;
    padding-top: 25px;
    border-top: 1px solid rgba(247, 229, 199, 0.18);
}

.legal details {
    border-bottom: 1px solid rgba(247, 229, 199, 0.14);
}

.legal summary {
    padding: 13px 0;
    color: var(--mustard);
    font-weight: 800;
    cursor: pointer;
}

.legal-copy {
    max-width: 850px;
    padding-bottom: 14px;
    color: rgba(247, 229, 199, 0.8);
    font-size: 0.88rem;
}

.copyright {
    margin: 22px 0 0;
    color: rgba(247, 229, 199, 0.6);
    font-size: 0.82rem;
}

/* =========================================================
   MOBILE ACTION BAR
   ========================================================= */

.mobile-actions {
    position: fixed;
    z-index: 950;
    inset: auto 0 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    min-height: 66px;

    color: var(--warm-white);
    background: var(--red-dark);
    box-shadow: 0 -7px 25px rgba(36, 23, 17, 0.2);
}

.mobile-actions a {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: center;
    gap: 5px;

    padding: 8px 5px;

    border-right: 1px solid rgba(255, 255, 255, 0.14);

    font-size: 0.76rem;
    font-weight: 800;
    text-decoration: none;
}

.mobile-actions a:last-child {
    color: var(--ink);
    background: var(--mustard);
    border-right: 0;
}

/* =========================================================
   TABLET — 768px+
   ========================================================= */

@media (min-width: 48rem) {
    body {
        padding-bottom: 0;
    }

    .container {
        width: min(calc(100% - 64px), var(--content-width));
    }

    .hero-actions {
        flex-direction: row;
        justify-content: center;
        width: auto;
    }

    .about,
    .menu-section,
    .info-section,
    .reservation-section {
        padding-block: 105px;
    }

    .about-grid {
        grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
        align-items: center;
        gap: 65px;
    }

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

    .gallery figure {
        min-height: 520px;
    }

    .info-grid {
        grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
        align-items: stretch;
        gap: 70px;
    }

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

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

    .footer-grid {
        grid-template-columns: 1.2fr 0.8fr 1fr;
    }

    .mobile-actions {
        display: none;
    }

    .site-footer {
        padding-bottom: 60px;
    }
}

/* =========================================================
   DESKTOP — 1024px+
   ========================================================= */

@media (min-width: 64rem) {
    :root {
        --header-height: 92px;
    }

    .brand {
        width: 96px;
    }

    .nav-toggle {
        display: none;
    }

    .primary-nav {
        position: static;

        flex-direction: row;
        justify-content: flex-end;
        gap: 35px;

        padding: 0;
        background: transparent;

        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .primary-nav a {
        padding: 10px 0;

        font-family: var(--font-body);
        font-size: 0.84rem;
        font-weight: 900;
        letter-spacing: 0.04em;
    }

    .primary-nav .nav-reserve {
        padding: 10px 19px;
        border: 2px solid var(--mustard);
    }

    .hero {
        min-height: 780px;
    }

    .hero-content {
        padding-block: 160px 110px;
    }

    .hero h1 {
        font-size: clamp(7rem, 13vw, 12rem);
    }

    .scroll-cue {
        bottom: 35px;
    }

    .menu-category summary {
        padding-inline: 28px;
    }

    .menu-category-content {
        padding-inline: 28px;
    }
}

/* =========================================================
   LARGE DESKTOP — 1280px+
   ========================================================= */

@media (min-width: 80rem) {
    .header-inner {
        width: min(calc(100% - 70px), 1440px);
    }

    .hero h1 {
        font-size: 12.5rem;
    }

    .about-grid {
        gap: 90px;
    }
}

/* =========================================================
   REDUCED MOTION
   ========================================================= */

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

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