/* ==========================================================
   The Turkish Grill — Rolleston & Lincoln
   ========================================================== */

:root {
    /* Brand — sampled from the logo */
    --brand-red: #fd2649;
    --brand-teal: #00c0c6;
    --brand-black: #0c0a0a;

    /* Surfaces (dark, like the logo) */
    --paper: var(--brand-black);      /* page background */
    --paper-2: #161313;               /* alternate sections, skeletons */
    --card: #1b1717;
    --char: #070606;                  /* footer */

    /* Text */
    --ink: #f5efe8;
    --ink-2: #d8d0c6;
    --muted: #a39a90;
    --on-char: var(--ink);
    --on-char-muted: var(--muted);

    --line: rgba(245, 239, 232, 0.11);
    --line-strong: rgba(245, 239, 232, 0.24);

    /* Accents: logo red for text/decoration; a deeper red behind white
       button text so it keeps AA contrast */
    --red: var(--brand-red);
    --red-btn: #d81b3c;
    --red-dark: #b3142f;
    --teal: var(--brand-teal);

    --serif: 'Fraunces', Georgia, 'Times New Roman', serif;
    --sans: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --display: 'Michroma', 'Instrument Sans', system-ui, sans-serif;   /* echoes the logo lettering */

    --wrap: 1200px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 72px;
    --radius: 4px;
}

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

html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 64px); }

body {
    margin: 0;
    background: var(--paper);
    color: var(--ink);
    font-family: var(--sans);
    font-size: 17px;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    color-scheme: dark;
}

::selection { background: var(--red); color: #fff; }

[hidden] { display: none !important; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3, h4 {
    font-family: var(--serif);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -0.01em;
    margin: 0;
    font-variation-settings: 'opsz' 96;
}

p { margin: 0; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.eyebrow {
    font-family: var(--display);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--teal);
}

.muted { color: var(--muted); }

.skip-link {
    position: absolute; left: -9999px; top: 8px; z-index: 200;
    background: var(--ink); color: var(--paper); padding: 8px 14px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 10px;
    min-height: 48px; padding: 0 24px;
    border: 1px solid transparent; border-radius: var(--radius);
    font-family: var(--sans); font-size: 15px; font-weight: 600; letter-spacing: 0.01em;
    text-decoration: none; cursor: pointer; white-space: nowrap;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.btn-primary { background: var(--red-btn); color: #fff; }
.btn-primary:hover { background: var(--red-dark); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: var(--paper); }
.btn-light { border-color: var(--line-strong); color: var(--on-char); background: transparent; }
.btn-light:hover { background: var(--on-char); color: var(--char); }
.btn-sm { min-height: 40px; padding: 0 18px; font-size: 14px; }

.link-btn, .text-link {
    background: none; border: 0; padding: 0; cursor: pointer;
    font-weight: 600; font-size: 15px; color: var(--red);
    text-decoration: none; display: inline-flex; gap: 6px; align-items: center;
}
.link-btn:hover, .text-link:hover { text-decoration: underline; text-underline-offset: 4px; }

/* ---------- Header ---------- */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: rgba(12, 10, 10, 0.9);
    backdrop-filter: saturate(1.2) blur(8px);
    -webkit-backdrop-filter: saturate(1.2) blur(8px);
    border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand-mark { height: 46px; width: 46px; }
.brand-word { height: 32px; width: auto; }
.header-order { gap: 0; }

.site-nav { display: flex; gap: 28px; margin-left: auto; }
.site-nav a {
    text-decoration: none; font-size: 15px; font-weight: 500; color: var(--ink-2);
    padding: 6px 0; border-bottom: 1.5px solid transparent;
}
.site-nav a:hover { color: var(--ink); border-bottom-color: var(--line-strong); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--red); }

.nav-toggle {
    display: none; margin-left: auto;
    width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: var(--radius);
    background: transparent; cursor: pointer; align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
    display: block; width: 18px; height: 1.5px; background: var(--ink); position: relative; content: '';
    transition: transform .2s ease;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 820px) {
    :root { --header-h: 64px; }
    .header-inner { gap: 12px; }
    .nav-toggle { display: inline-flex; order: 3; margin-left: 0; }
    .header-order { margin-left: auto; min-height: 42px; padding: 0 16px; font-size: 14px; }
    .site-nav {
        position: fixed; inset: var(--header-h) 0 auto 0;
        flex-direction: column; gap: 0; margin: 0;
        background: var(--paper); border-bottom: 1px solid var(--line);
        padding: 8px var(--gutter) 20px;
        transform: translateY(-8px); opacity: 0; visibility: hidden;
        transition: opacity .2s ease, transform .2s ease, visibility .2s;
    }
    .nav-open .site-nav { transform: none; opacity: 1; visibility: visible; }
    .site-nav a { font-family: var(--serif); font-size: 24px; padding: 12px 0; border-bottom: 1px solid var(--line); }
    .site-nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--red); }
}

@media (max-width: 520px) {
    .brand { gap: 8px; }
    .brand-mark { height: 34px; width: 34px; }
    .brand-word { height: 21px; }
    .header-order .hide-xs { display: none; }
    .header-order { padding: 0 14px; }
}

/* ---------- Hero ---------- */

.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(48px, 6vw, 72px); }
.hero-grid {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
    gap: clamp(32px, 6vw, 80px); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 20px; }
.hero h1 {
    font-size: clamp(44px, 6.4vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.025em;
    font-weight: 450;
}
.hero h1 em { font-style: italic; color: var(--red); font-weight: 400; }
.hero-lede { margin-top: 24px; max-width: 34em; font-size: 18.5px; color: var(--ink-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.hero-media { position: relative; aspect-ratio: 5 / 5.2; }
.hero-media .main {
    position: absolute; inset: 0 0 12% 14%;
    overflow: hidden; border-radius: var(--radius);
}
.hero-media .main img { width: 100%; height: 100%; object-fit: cover; }
.hero-media .inset {
    position: absolute; left: 0; bottom: 0; width: 40%; aspect-ratio: 3 / 4;
    overflow: hidden; border-radius: var(--radius);
    border: 8px solid var(--paper);
}
.hero-media .inset img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; }
    .hero-media { aspect-ratio: 4 / 3.4; max-width: 640px; }
}

/* ---------- Branch bar (under hero) ---------- */

.branch-bar { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--paper-2); }
.branch-bar-item h3 { color: var(--ink); }
.branch-bar-grid { display: grid; grid-template-columns: 1fr 1fr; }
.branch-bar-item {
    display: grid; grid-template-columns: auto 1fr auto; gap: 4px 20px; align-items: center;
    padding: 22px 0;
}
.branch-bar-item + .branch-bar-item { border-left: 1px solid var(--line); padding-left: clamp(20px, 4vw, 48px); }
.branch-bar-item:first-child { padding-right: clamp(20px, 4vw, 48px); }
.branch-bar-item h3 { font-size: 26px; grid-column: 1; grid-row: 1 / span 2; min-width: 110px; }
.branch-bar-item .line { font-size: 15px; color: var(--muted); grid-column: 2; line-height: 1.45; }
.branch-bar-item .line a { text-decoration: none; }
.branch-bar-item .line a:hover { text-decoration: underline; }
.branch-bar-item .line strong { color: var(--ink); font-weight: 600; }
.branch-bar-item .btn { grid-column: 3; grid-row: 1 / span 2; }

@media (max-width: 900px) {
    .branch-bar-grid { grid-template-columns: 1fr; }
    .branch-bar-item + .branch-bar-item { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
    .branch-bar-item:first-child { padding-right: 0; }
}
@media (max-width: 520px) {
    .branch-bar-item { grid-template-columns: 1fr auto; }
    .branch-bar-item h3 { grid-row: auto; grid-column: 1 / -1; }
    .branch-bar-item .line { grid-column: 1; }
    .branch-bar-item .btn { grid-row: 2 / span 2; grid-column: 2; }
}

/* ---------- Sections ---------- */

.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 12px; }
.section-head p:not(.eyebrow) { max-width: 30em; color: var(--muted); margin-top: 14px; }

/* "View full menu" sits after the dishes on phones; the heading link covers desktop */
.section-foot { display: none; margin-top: 36px; }

@media (max-width: 700px) {
    .section-head { flex-direction: column; align-items: start; }
    .section-head .head-link { display: none; }
    .section-foot { display: flex; justify-content: center; }
    .section-foot .btn { width: 100%; max-width: 360px; }
}

/* ---------- Featured dishes ---------- */

.dish-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 40px 24px; }
.dish-card { display: flex; flex-direction: column; }
.dish-card-img { aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.dish-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }

/* SIPO menu photos have dashed square-crop guides baked in (roughly the centre
   square of each landscape photo). Show only that square, zoomed ~10%, so the
   guides sit outside the frame. Clean photos crop just as well. */
.api-img { aspect-ratio: 1 / 1; overflow: hidden; }
.api-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); }
.dish-card:hover .api-img img { transform: scale(1.15); }
.dish-card-body { padding-top: 18px; display: flex; flex-direction: column; flex: 1; }
.dish-card-body .eyebrow { color: var(--teal); font-size: 11px; }
.dish-card h3 { font-size: 22px; margin-top: 6px; }
.dish-card-desc { color: var(--muted); font-size: 15px; margin-top: 8px; }
.dish-card-foot {
    display: flex; justify-content: space-between; align-items: center;
    margin-top: auto; padding-top: 14px;
}
.dish-card .price { font-family: var(--serif); font-size: 20px; font-variant-numeric: lining-nums; }

.dish-grid.is-placeholder .dish-card-img { animation: pulse 1.6s ease-in-out infinite; }
.ph-line { height: 14px; background: var(--paper-2); border-radius: 2px; margin-top: 12px; }
.ph-line.w60 { width: 60%; } .ph-line.w40 { width: 40%; height: 22px; }
@keyframes pulse { 50% { opacity: .55; } }

@media (max-width: 1000px) { .dish-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .dish-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 16px; } .dish-card h3 { font-size: 19px; } }
@media (max-width: 340px) { .dish-grid { grid-template-columns: 1fr; } }

/* ---------- Story (dark) ---------- */

.story { background: var(--paper-2); color: var(--on-char); position: relative; overflow: hidden; }
.story::before {
    content: ''; position: absolute; right: -140px; top: -120px; width: 560px; height: 560px;
    background: url('../images/brand/logo-mark.png') center / contain no-repeat;
    opacity: .06; pointer-events: none;
}
.story .wrap { position: relative; }
.story-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 96px); align-items: center; }
.story-media { position: relative; }
.story-media img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius); }
.story .eyebrow { color: var(--teal); }
.story h2 { font-size: clamp(34px, 4.4vw, 54px); margin-top: 14px; }
.story-lede { margin-top: 20px; color: var(--on-char-muted); font-size: 18px; max-width: 32em; }

.story-list { margin: 40px 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.story-list li {
    display: grid; grid-template-columns: 180px 1fr; gap: 20px;
    padding: 18px 0; border-bottom: 1px solid var(--line);
}
.story-list h3 { font-size: 21px; color: var(--red); }
.story-list p { color: var(--on-char-muted); font-size: 15.5px; }
.story .btn { margin-top: 36px; }

@media (max-width: 900px) {
    .story-grid { grid-template-columns: 1fr; }
    .story-media img { aspect-ratio: 4 / 5; }
}
@media (max-width: 520px) {
    .story-list li { grid-template-columns: 1fr; gap: 4px; }
}

/* ---------- Locations ---------- */

.locations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.location {
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    display: flex; flex-direction: column; overflow: hidden;
}
.location-img { aspect-ratio: 16 / 9; overflow: hidden; background: var(--paper-2); }
.location-img img { width: 100%; height: 100%; object-fit: cover; }
.location-body { padding: clamp(22px, 3vw, 34px); display: flex; flex-direction: column; flex: 1; }
.location-top { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; flex-wrap: wrap; }
.location h3 { font-size: 34px; }
.rating { font-size: 14px; color: var(--muted); }
.rating a { text-decoration: none; }
.rating a:hover { text-decoration: underline; }
.rating::before { content: '★ '; color: #f2b632; }

.info-list { margin: 22px 0 0; padding: 0; list-style: none; }
.info-list li {
    display: grid; grid-template-columns: 88px 1fr; gap: 16px;
    padding: 12px 0; border-top: 1px solid var(--line); font-size: 16px;
}
.info-list li:last-child { border-bottom: 1px solid var(--line); }
.info-list .label { font-size: 12px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); padding-top: 3px; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; text-underline-offset: 3px; }
.location-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }

@media (max-width: 900px) { .locations-grid { grid-template-columns: 1fr; } }

/* ---------- Gallery ---------- */

.gallery-wrap { padding-bottom: clamp(64px, 9vw, 120px); }

.gallery { display: grid; grid-template-columns: 1.2fr 1fr 1fr; grid-template-rows: 260px 260px; gap: 12px; }
.gallery figure { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--paper-2); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g1 { grid-row: span 2; }
.gallery .g4 { grid-column: span 2; }

@media (max-width: 760px) {
    .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 180px 180px; }
    .gallery .g1 { grid-row: auto; grid-column: span 2; }
    .gallery .g4 { grid-column: span 2; }
}

/* ---------- CTA band ---------- */

.cta-band { background: var(--red-btn); color: #fff; }
.cta-band .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; padding-top: 56px; padding-bottom: 56px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(30px, 3.6vw, 44px); }
.cta-band p { color: rgba(255,255,255,.85); margin-top: 8px; }
.cta-band .btn { background: #fff; color: var(--red-dark); }
.cta-band .btn:hover { background: var(--brand-black); color: #fff; }

/* ---------- Page head (menu / contact) ---------- */

.page-head { padding: clamp(44px, 6vw, 72px) 0 clamp(28px, 4vw, 40px); }
.page-head h1 { font-size: clamp(48px, 7vw, 88px); letter-spacing: -0.025em; font-weight: 450; margin-top: 12px; }
.page-head p:not(.eyebrow) { color: var(--muted); max-width: 36em; margin-top: 16px; font-size: 18px; }

/* ---------- Menu page ---------- */

.menu-controls { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 20px 32px; }

.branch-tabs {
    display: inline-flex; padding: 4px; gap: 4px;
    background: var(--paper-2); border: 1px solid var(--line); border-radius: 6px;
}
.branch-tab {
    border: 0; background: transparent; cursor: pointer;
    padding: 10px 22px; border-radius: var(--radius);
    display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2;
    text-align: left; min-width: 150px;
}
.branch-tab strong { font-family: var(--serif); font-size: 21px; font-weight: 500; }
.branch-tab span { font-size: 13px; color: var(--muted); }
.branch-tab:hover { background: rgba(255,255,255,.05); }
.branch-tab.is-active { background: var(--red-btn); color: #fff; }
.branch-tab.is-active span { color: rgba(255,255,255,.8); }

.menu-branch-info { font-size: 15px; color: var(--muted); display: flex; flex-wrap: wrap; gap: 6px 18px; align-items: center; }
.menu-branch-info a { text-decoration: none; }
.menu-branch-info a:hover { text-decoration: underline; }
.menu-branch-info strong { color: var(--ink); font-weight: 600; }

.cat-bar {
    position: sticky; top: var(--header-h); z-index: 40;
    background: rgba(12, 10, 10, 0.95);
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
    margin-top: 32px;
}
.cat-bar-inner { display: flex; align-items: center; gap: 16px; }
.menu-cats {
    display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none;
    padding: 10px 0; flex: 1; min-width: 0;
    mask-image: linear-gradient(90deg, #000 92%, transparent);
    -webkit-mask-image: linear-gradient(90deg, #000 92%, transparent);
}
.menu-cats::-webkit-scrollbar { display: none; }
.cat-link {
    flex: none; text-decoration: none; font-size: 14.5px; font-weight: 500;
    padding: 7px 14px; border-radius: 999px; color: var(--ink-2); white-space: nowrap;
}
.cat-link:hover { background: var(--paper-2); }
.cat-link.is-active { background: var(--teal); color: var(--brand-black); }
.cat-bar .btn { flex: none; }

@media (max-width: 700px) {
    .cat-bar .btn { display: none; }
    .branch-tabs { width: 100%; }
    .branch-tab { flex: 1; min-width: 0; padding: 10px 14px; }
}

.menu-body { padding-top: 16px; padding-bottom: 96px; }
.menu-sections { max-width: 920px; }
.menu-sections.is-loading { opacity: .45; transition: opacity .2s; pointer-events: none; }

.menu-section { padding-top: 56px; }
.menu-section-head { display: flex; flex-direction: column; gap: 8px; padding-bottom: 16px; border-bottom: 2px solid var(--line-strong); }
.menu-section-head h2::after { content: ''; display: block; width: 40px; height: 3px; background: var(--red); margin-top: 14px; }
.menu-section-head h2 { font-size: clamp(30px, 3.4vw, 40px); }
.menu-section-head p { color: var(--muted); max-width: 40em; }

.dish, .size-row {
    display: grid; align-items: center; gap: 16px;
    text-decoration: none; padding: 14px 0; border-bottom: 1px solid var(--line);
    transition: background-color .15s ease;
}
.dish:hover, .size-row:hover { background: rgba(255,255,255,.035); }
.dish:hover .dish-name, .size-row:hover .dish-name { color: var(--red); }
.dish { grid-template-columns: auto minmax(0, 1fr) auto; }
.dish:not(:has(.dish-thumb)) { grid-template-columns: minmax(0, 1fr) auto; }

.dish-thumb { width: 56px; height: 56px; border-radius: 3px; overflow: hidden; background: var(--paper-2); flex: none; }
.dish-thumb img { width: 100%; height: 100%; object-fit: cover; }
.dish-thumb.is-empty { background: transparent; }

.dish-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.dish-name { font-weight: 600; font-size: 16.5px; }
.dish-desc { color: var(--muted); font-size: 14.5px; line-height: 1.45; }
.dish-price, .size-price { font-family: var(--serif); font-size: 18px; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }

.size-grid-head, .size-row { grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 92px); }
.size-grid-head {
    display: grid; gap: 16px; padding: 14px 0 10px; border-bottom: 1px solid var(--line-strong);
    font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted);
}
.size-grid-head span, .size-price { text-align: right; }
.dish-main { display: flex; align-items: center; gap: 16px; min-width: 0; }
.na { color: var(--line-strong); }

.menu-empty { padding: 64px 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }

.menu-note { margin-top: 48px; font-size: 14px; color: var(--muted); max-width: 44em; }

@media (max-width: 600px) {
    .size-grid-head, .size-row { grid-template-columns: minmax(0, 1fr) repeat(var(--cols), 64px); gap: 8px; }
    .size-grid-head { font-size: 10.5px; letter-spacing: .06em; }
    .size-price, .dish-price { font-size: 16px; }
    .dish-thumb { width: 46px; height: 46px; }
    .dish-main { gap: 12px; }
    .size-row .dish-thumb { display: none; }
    .dish-thumb.is-empty { display: none; }
    .dish:has(.dish-thumb.is-empty) { grid-template-columns: minmax(0, 1fr) auto; }
}

/* ---------- Contact page ---------- */

.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-bottom: 96px; }
.contact-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; }
.contact-map { aspect-ratio: 16 / 10; background: var(--paper-2); }
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; filter: saturate(.8); }
.contact-body { padding: clamp(22px, 3vw, 36px); display: flex; flex-direction: column; flex: 1; }
.contact-body h2 { font-size: 38px; }
.contact-body h3 { font-family: var(--sans); font-size: 12px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 28px 0 8px; }

.hours-table { border-top: 1px solid var(--line); }
.hours-row { display: flex; justify-content: space-between; gap: 16px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; }
.hours-row .time { text-align: right; font-variant-numeric: tabular-nums; }
.hours-row.is-today { font-weight: 600; }
.hours-row.is-today .day::after { content: 'Today'; margin-left: 10px; font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--red); }
.hours-row .closed { color: var(--muted); }

@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .contact-map { aspect-ratio: 4 / 3; } }

/* ---------- Footer ---------- */

.site-footer { background: var(--char); color: var(--on-char-muted); font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 0.8fr; gap: 40px; padding-top: 72px; padding-bottom: 56px; }
.footer-logo { width: 190px; height: auto; }
.footer-about { margin-top: 18px; max-width: 22em; }
.site-footer h4 { font-family: var(--serif); font-size: 21px; color: var(--on-char); margin-bottom: 14px; font-weight: 500; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.site-footer a { text-decoration: none; color: var(--on-char-muted); }
.site-footer a:hover { color: var(--on-char); text-decoration: underline; text-underline-offset: 3px; }
.footer-branch p + p { margin-top: 6px; }
.footer-bottom .credits { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.footer-bottom .credits a { color: var(--on-char); font-weight: 600; }
.footer-bottom .credits a:hover { color: var(--red); }
.footer-bottom {
    border-top: 1px solid var(--line);
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px;
    padding-top: 22px; padding-bottom: 28px; font-size: 13.5px;
}

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ---------- Order modal ---------- */

.order-modal {
    position: fixed; inset: 0; z-index: 100;
    display: flex; align-items: center; justify-content: center; padding: 16px;
    background: rgba(0, 0, 0, .72);
    opacity: 0; visibility: hidden; transition: opacity .2s ease, visibility .2s;
}
.order-modal.is-open { opacity: 1; visibility: visible; }
.order-dialog {
    background: var(--paper-2); width: 100%; max-width: 560px; border-radius: 6px;
    border: 1px solid var(--line);
    padding: clamp(24px, 4vw, 36px); position: relative;
    transform: translateY(12px); transition: transform .25s ease;
    max-height: calc(100vh - 32px); overflow: auto;
}
.order-modal.is-open .order-dialog { transform: none; }
.order-dialog h2 { font-size: 32px; }
.order-dialog > p { color: var(--muted); margin-top: 8px; }
.order-close {
    position: absolute; top: 14px; right: 14px; width: 40px; height: 40px;
    border: 0; background: transparent; cursor: pointer; border-radius: 50%;
    font-size: 26px; line-height: 1; color: var(--muted);
}
.order-close:hover { background: var(--card); color: var(--ink); }
.order-options { display: grid; gap: 12px; margin-top: 24px; }
.order-option {
    display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 4px 16px;
    padding: 18px 20px; text-decoration: none;
    background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
    transition: border-color .15s ease, box-shadow .15s ease;
}
.order-option:hover { border-color: var(--teal); box-shadow: 0 0 0 1px var(--teal); }
.order-option strong { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.order-option .meta { grid-column: 1; font-size: 14.5px; color: var(--muted); }
.order-option .arrow {
    grid-row: 1 / span 3; grid-column: 2;
    width: 40px; height: 40px; border-radius: 50%; background: var(--red-btn); color: #fff;
    display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.order-note { margin-top: 18px; font-size: 13.5px; color: var(--muted); }
body.modal-open { overflow: hidden; }

/* ---------- Floating order button ---------- */

.fab-order {
    position: fixed; z-index: 90;
    right: max(20px, env(safe-area-inset-right));
    bottom: max(20px, env(safe-area-inset-bottom));
    display: inline-flex; align-items: center; gap: 10px;
    height: 56px; padding: 0 24px 0 20px;
    border: 0; border-radius: 999px; cursor: pointer;
    background: var(--red-btn); color: #fff;
    font-family: var(--sans); font-size: 15px; font-weight: 600;
    box-shadow: 0 10px 28px rgba(0, 0, 0, .45), 0 0 0 1px rgba(255, 255, 255, .06) inset;
    transition: background-color .2s ease, transform .2s ease;
}
.fab-order:hover { background: var(--red-dark); transform: translateY(-2px); }
.fab-order svg { flex: none; }
.modal-open .fab-order { opacity: 0; pointer-events: none; }

@media (max-width: 820px) {
    .fab-order { width: 56px; padding: 0; justify-content: center; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); }
    .fab-order svg { width: 24px; height: 24px; }
    .footer-bottom { padding-bottom: 92px; }   /* keep the last line clear of the button */
    .fab-label {
        position: absolute; width: 1px; height: 1px; overflow: hidden;
        clip: rect(0 0 0 0); white-space: nowrap;
    }
}

/* ---------- Reveal ---------- */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
    .reveal { opacity: 1; transform: none; }
}
