:root {
    --paper: #fffdf9;
    --ink: #22282a;
    --muted: #5b6468;
    --line: #d8d9da;
    --brand: #dd6530;
    --brand-deep: #bc4f21;
    --accent: #0f766e;
    --danger: #b42318;
    --card-shadow: 0 12px 30px rgba(26, 31, 33, 0.08);
    --radius-lg: 20px;
    --radius-md: 14px;
}

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

body {
    font-family: 'Manrope', sans-serif;
    color: var(--ink);
    background: linear-gradient(180deg, #fff9f1 0%, #f6f7f8 50%, #f3f4f5 100%);
    line-height: 1.6;
}

main {
    padding-bottom: 2.5rem;
}

.container {
    width: min(1120px, 100% - 2.4rem);
    margin: 0 auto;
}

.hero {
    position: relative;
    overflow: hidden;
    padding: 4.2rem 0 3.2rem;
    background: linear-gradient(135deg, #e57c45 0%, #db4d68 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.hero-glow {
    position: absolute;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    pointer-events: none;
    opacity: 0.28;
}

.hero-glow-left {
    background: #ffd39a;
    top: -150px;
    left: -140px;
}

.hero-glow-right {
    background: #ffc9c1;
    top: -170px;
    right: -130px;
}

.hero-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    display: grid;
    justify-items: center;
    gap: 1rem;
}

h1,
h2,
h3 {
    font-family: 'Fraunces', serif;
    line-height: 1.12;
}

.hero h1 {
    max-width: 760px;
    color: #fff8ee;
    font-size: clamp(2.05rem, 4.6vw, 3.7rem);
    letter-spacing: -0.02em;
}

.hero-connection {
    display: inline-block;
    max-width: 100%;
    overflow-x: auto;
    white-space: nowrap;
    padding: 0.6rem 0.9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fffdf8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
}

.section-gap {
    margin-top: 2.9rem;
}

.section-heading {
    text-align: center;
    margin-bottom: 1.2rem;
}

.section-kicker {
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: var(--brand-deep);
    font-weight: 700;
}

.section-heading h2 {
    margin-top: 0.45rem;
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    letter-spacing: -0.015em;
}

.notice {
    border-radius: var(--radius-md);
    padding: 0.9rem 1rem;
    font-size: 0.92rem;
}

.notice-error {
    background: #fff1f0;
    border: 1px solid #efc6c1;
    color: var(--danger);
}

.restaurant-grid,
.food-grid,
.schema-grid {
    display: grid;
    gap: 1rem;
}

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

.restaurant-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    box-shadow: var(--card-shadow);
    padding: 1rem;
}

.restaurant-top {
    display: flex;
    justify-content: space-between;
    gap: 0.6rem;
    align-items: flex-start;
}

.restaurant-top h3 {
    font-size: 1.35rem;
}

.rating {
    white-space: nowrap;
    font-size: 0.74rem;
    font-weight: 700;
    color: var(--accent);
    background: #daf4f0;
    border-radius: 999px;
    padding: 0.32rem 0.52rem;
}

.muted {
    color: var(--muted);
    font-size: 0.9rem;
}

.restaurant-meta {
    margin-top: 0.85rem;
    display: flex;
    gap: 0.45rem;
    flex-wrap: wrap;
}

.restaurant-meta span {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 0.28rem 0.55rem;
    font-size: 0.77rem;
    background: #fff3e3;
}

.hours {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: var(--muted);
}

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

.food-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid rgba(34, 40, 42, 0.13);
    background: #fff;
    box-shadow: var(--card-shadow);
    transition: transform 0.25s ease;
}

.food-card:hover {
    transform: translateY(-3px);
}

.food-image-wrap {
    position: relative;
    height: 210px;
}

.food-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.food-chip {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.28rem 0.55rem;
    border-radius: 999px;
    font-size: 0.74rem;
    color: #fff;
    background: rgba(27, 32, 34, 0.82);
}

.food-body {
    padding: 0.95rem;
}

.food-body h3 {
    font-size: 1.2rem;
}

.food-body p {
    color: var(--muted);
    font-size: 0.88rem;
}

.food-bottom {
    margin-top: 0.72rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.45rem;
}

.price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--brand-deep);
}

.availability {
    border-radius: 999px;
    font-size: 0.74rem;
    font-weight: 700;
    padding: 0.22rem 0.5rem;
}

.is-open {
    background: #d9f8e3;
    color: #0e5d2c;
}

.is-closed {
    background: #ffe0e0;
    color: #8a1f1f;
}

.restaurant-name {
    margin-top: 0.62rem;
    font-size: 0.8rem;
    color: var(--ink);
    font-weight: 600;
}

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

.schema-table {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    padding: 0.95rem;
}

.schema-table h3 {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.88rem;
    margin-bottom: 0.44rem;
    color: var(--brand-deep);
}

.schema-table p {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.78rem;
    color: #3c4448;
    padding: 0.12rem 0;
}

.key {
    font-weight: 700;
}

.pk {
    color: var(--brand);
}

.fk {
    color: var(--accent);
}

footer {
    margin-top: 3rem;
    border-top: 1px solid rgba(34, 40, 42, 0.1);
    padding: 1.2rem 0 1.5rem;
}

.footer-inner {
    text-align: center;
    font-size: 0.82rem;
    color: #697275;
}

@media (max-width: 980px) {
    .restaurant-grid,
    .food-grid,
    .schema-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        width: min(1120px, 100% - 1.3rem);
    }

    .hero {
        padding-top: 3.4rem;
        padding-bottom: 2.7rem;
    }

    .hero-connection {
        font-size: 0.72rem;
    }

    .section-gap {
        margin-top: 2.3rem;
    }

    .restaurant-grid,
    .food-grid,
    .schema-grid {
        grid-template-columns: 1fr;
    }
}
