:root {
    color-scheme: light;
    --ink: #111512;
    --muted: #67706a;
    --line: rgba(17, 21, 18, .12);
    --paper: #f7f3ec;
    --accent: #b76536;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    margin: 0;
    color: var(--ink);
    background: var(--paper);
    font-family: "Plus Jakarta Sans", sans-serif;
}

a { color: inherit; }

.directory-header {
    position: sticky;
    top: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 76px;
    padding: 10px clamp(20px, 5vw, 72px);
    border-bottom: 1px solid var(--line);
    background: rgba(247, 243, 236, .94);
    backdrop-filter: blur(18px);
}

.directory-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    text-decoration: none;
}

.directory-brand img { border-radius: 50%; }

.directory-header nav { display: flex; gap: 24px; }
.directory-header nav a { font-size: .85rem; font-weight: 700; text-decoration: none; }

main {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding-bottom: 90px;
}

.directory-hero {
    max-width: 820px;
    padding: clamp(72px, 10vw, 130px) 0 58px;
}

.directory-hero > p {
    margin: 0 0 18px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .18em;
    text-transform: uppercase;
}

.directory-hero h1 {
    max-width: 760px;
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(3.3rem, 8vw, 6.7rem);
    line-height: .9;
}

.directory-hero > div {
    max-width: 700px;
    margin-top: 28px;
    color: var(--muted);
    font-size: clamp(1rem, 2vw, 1.18rem);
    line-height: 1.8;
}

.directory-hero > a {
    display: inline-flex;
    margin-top: 26px;
    font-weight: 800;
}

.directory-cities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 38px;
}

.directory-cities a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 16px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .58);
    font-size: .84rem;
    font-weight: 800;
    text-decoration: none;
}

.directory-cities span {
    display: grid;
    width: 24px;
    height: 24px;
    place-items: center;
    border-radius: 50%;
    color: white;
    background: var(--ink);
    font-size: .7rem;
}

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

.restaurant-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 28px;
    background: rgba(255, 255, 255, .7);
    box-shadow: 0 24px 60px rgba(63, 50, 38, .08);
}

.restaurant-card-media {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #183026, #c6875d);
    text-decoration: none;
}

.restaurant-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}

.restaurant-card:hover .restaurant-card-media img { transform: scale(1.035); }

.restaurant-card-media.has-placeholder {
    display: grid;
    place-items: center;
}

.restaurant-card-media.has-placeholder span {
    color: rgba(255, 255, 255, .9);
    font-family: "Cormorant Garamond", serif;
    font-size: 7rem;
    font-weight: 700;
}

.restaurant-card-body { padding: clamp(24px, 4vw, 38px); }

.restaurant-card-body > p {
    margin: 0 0 12px;
    color: var(--accent);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.restaurant-card h2 {
    margin: 0;
    font-family: "Cormorant Garamond", serif;
    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1;
}

.restaurant-card h2 a { text-decoration: none; }

.restaurant-card-body > div,
.restaurant-card address {
    margin-top: 18px;
    color: var(--muted);
    font-size: .92rem;
    font-style: normal;
    line-height: 1.7;
}

.restaurant-card-cta {
    display: inline-flex;
    margin-top: 24px;
    padding-bottom: 5px;
    border-bottom: 2px solid var(--ink);
    font-size: .82rem;
    font-weight: 800;
    text-decoration: none;
}

.directory-empty {
    display: grid;
    min-height: 60vh;
    place-items: center;
    align-content: center;
    padding: 32px;
    text-align: center;
}

.directory-empty h1,
.directory-empty h2 {
    font-family: "Cormorant Garamond", serif;
    font-size: 3rem;
}

.directory-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    padding: 34px clamp(20px, 5vw, 72px);
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: .82rem;
}

.directory-footer strong { color: var(--ink); }

@media (max-width: 720px) {
    .directory-header nav a:first-child { display: none; }
    .directory-grid { grid-template-columns: 1fr; }
    .directory-footer { flex-direction: column; }
}
