/* =========================================================================
   Dewey Destin's — site theme (2026)
   Sand, navy & brass. Cormorant Garamond headings, Jost body.
   ========================================================================= */

:root {
    --ivory: #F7F2EA;
    --sand: #EEE4D4;
    --sand-deep: #E2D4BC;
    --navy: #1F3446;
    --navy-deep: #14212D;
    --brass: #B08D57;
    --brass-text: #7E6136;   /* brass for small text on light backgrounds */
    --brass-light: #C9A66B;  /* brass for text on navy */
    --ink: #34424F;
    --muted: #5B6670;
    --rule: rgba(31, 52, 70, .14);

    --serif: 'Cormorant Garamond', 'Cormorant', Garamond, 'Times New Roman', serif;
    --sans: 'Jost', 'Futura', 'Avenir Next', 'Segoe UI', Arial, sans-serif;

    --wrap: 1180px;
    --gutter: clamp(16px, 4vw, 40px);
    --header-h: 76px;
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 100%; -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 24px); }

body {
    background: var(--ivory);
    color: var(--ink);
    font: 400 1.0625rem/1.65 var(--sans);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--navy); text-decoration-color: var(--brass); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--brass-text); }

:focus-visible { outline: 2px solid var(--brass); outline-offset: 3px; border-radius: 2px; }

h1, h2, h3, h4 { font-family: var(--serif); color: var(--navy); font-weight: 500; line-height: 1.12; letter-spacing: .005em; }

p { max-width: 66ch; }

.skip-link {
    position: absolute; left: 16px; top: -60px; z-index: 100;
    background: var(--navy); color: var(--ivory); padding: 10px 16px; text-decoration: none;
}
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

/* ---------- Buttons ---------- */

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: .5em;
    min-height: 48px; padding: .7em 1.6em;
    border: 1px solid var(--navy); border-radius: 2px;
    background: var(--navy); color: var(--ivory);
    font: 500 .95rem/1.2 var(--sans); letter-spacing: .06em;
    text-decoration: none; cursor: pointer;
    transition: background-color .2s, color .2s, border-color .2s;
}
.btn:hover, .btn:focus-visible { background: var(--navy-deep); border-color: var(--navy-deep); color: var(--ivory); }
.btn--brass { background: var(--brass); border-color: var(--brass); color: var(--navy-deep); }
.btn--brass:hover, .btn--brass:focus-visible { background: var(--brass-light); border-color: var(--brass-light); color: var(--navy-deep); }
.btn--ghost { background: transparent; color: var(--navy); }
.btn--ghost:hover, .btn--ghost:focus-visible { background: var(--navy); color: var(--ivory); }
.btn--light { background: transparent; border-color: rgba(247, 242, 234, .7); color: var(--ivory); }
.btn--light:hover, .btn--light:focus-visible { background: var(--ivory); border-color: var(--ivory); color: var(--navy); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* Older markup used .orderOnline for the Order Online button */
a.orderOnline {
    display: inline-flex; align-items: center; min-height: 44px; padding: .6em 1.4em; margin: .4em 0;
    background: var(--brass); color: var(--navy-deep); border-radius: 2px;
    font: 500 .9rem/1.2 var(--sans); letter-spacing: .06em; text-decoration: none;
}
a.orderOnline:hover, a.orderOnline:focus-visible { background: var(--brass-light); color: var(--navy-deep); }

/* ---------- Header & navigation ----------
   Slim bar, centered logo on an ivory tab that hangs into the hero.
   Scrolling shrinks the logo into the bar. */

.site-header {
    position: sticky; top: 0; z-index: 50;
    background: var(--ivory);
    border-bottom: 1px solid var(--brass);
}
.site-header .wrap {
    position: relative;
    display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
    height: var(--header-h);
}

/* Logo tab */
.brand {
    position: absolute; left: 50%; top: 0; z-index: 2;
    transform: translateX(-50%);
    display: flex; align-items: flex-start; justify-content: center;
    width: var(--tab-w); height: var(--tab-h);
    padding-top: var(--tab-pad);
    background: var(--ivory);
    border: 1px solid var(--brass); border-top: 0;
    border-radius: 0 0 50% 50% / 0 0 38% 38%;
    box-shadow: 0 10px 24px -14px rgba(20, 33, 45, .55);
    transition: height .3s ease, width .3s ease, padding .3s ease, box-shadow .3s ease, border-radius .3s ease;
}
.brand::after { /* second brass ring, echoing the logo's double circle */
    content: ""; position: absolute; left: 5px; right: 5px; top: -1px; bottom: 5px;
    border: 1px solid rgba(176, 141, 87, .55); border-top: 0;
    border-radius: inherit; pointer-events: none;
}
.brand img { width: var(--logo-w); height: auto; transition: width .3s ease; }

:root {
    --header-h: 58px;
    --tab-w: 168px; --tab-h: 104px; --tab-pad: 8px; --logo-w: 138px;
}
.is-scrolled .brand { --tab-pad: 6px; --logo-w: 92px; height: calc(var(--header-h) - 1px); box-shadow: none; border-color: transparent; background: transparent; }
.is-scrolled .brand::after { opacity: 0; }
.brand::after { transition: opacity .3s ease; }

/* Left: menu button (phones/tablets). Right: Find us (phones/tablets) */
.nav-toggle {
    grid-column: 1; justify-self: start;
    display: inline-flex; align-items: center; gap: 10px;
    min-height: 44px; padding: 0 12px 0 0;
    background: none; border: 0; color: var(--navy); cursor: pointer;
    font: 500 .9rem var(--sans); letter-spacing: .06em;
}
.nav-toggle .bars { position: relative; width: 24px; height: 16px; }
.nav-toggle .bars span { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .25s, opacity .2s, top .25s; }
.nav-toggle .bars span:nth-child(1) { top: 0; }
.nav-toggle .bars span:nth-child(2) { top: 7px; }
.nav-toggle .bars span:nth-child(3) { top: 14px; }
.nav-open .nav-toggle .bars span:nth-child(1) { top: 7px; transform: rotate(45deg); }
.nav-open .nav-toggle .bars span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle .bars span:nth-child(3) { top: 7px; transform: rotate(-45deg); }

.find-us {
    grid-column: 3; justify-self: end;
    display: inline-flex; align-items: center; gap: 6px; min-height: 44px;
    color: var(--navy); text-decoration: none; font: 500 .9rem var(--sans); letter-spacing: .06em;
}
.find-us svg { width: 20px; height: 20px; color: var(--brass-text); }

.main-nav ul { list-style: none; }
.main-nav a, .main-nav .sub-toggle { color: var(--navy); text-decoration: none; font: 400 1rem/1.3 var(--sans); }

/* Phone & tablet: full-screen panel under the bar */
@media (max-width: 1023px) {
    .main-nav {
        position: fixed; left: 0; right: 0; top: var(--header-h); bottom: 0; z-index: 1;
        background: var(--navy);
        overflow-y: auto; -webkit-overflow-scrolling: touch;
        padding: calc(var(--tab-h) - var(--header-h) + 20px) var(--gutter) 40px;
        visibility: hidden; opacity: 0; transform: translateY(-8px);
        transition: opacity .25s, transform .25s, visibility 0s .25s;
    }
    .nav-open .main-nav { visibility: visible; opacity: 1; transform: none; transition: opacity .25s, transform .25s; }
    .nav-open { overflow: hidden; }
    .main-nav li { border-bottom: 1px solid rgba(247, 242, 234, .14); }
    .main-nav .submenu li { border: 0; }
    .main-nav > ul > li > a,
    .main-nav .sub-toggle {
        display: flex; align-items: center; justify-content: space-between; width: 100%;
        min-height: 60px; padding: 8px 0;
        background: none; border: 0; text-align: left; cursor: default;
        color: var(--ivory); font: 400 1.65rem/1.2 var(--serif);
    }
    .main-nav .sub-toggle .chev { display: none; }
    .main-nav .submenu { padding: 0 0 16px 2px; }
    .main-nav .submenu a { display: block; padding: 10px 0; color: var(--sand); font-size: 1.05rem; }
    .main-nav .submenu a:hover { color: var(--brass-light); }
}
@media (max-width: 599px) {
    :root { --header-h: 54px; --tab-w: 136px; --tab-h: 86px; --tab-pad: 6px; --logo-w: 112px; }
    .is-scrolled .brand { --logo-w: 84px; }
    .nav-toggle .label, .find-us span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .nav-toggle { padding: 0 8px 0 0; }
}

/* Desktop: menu split either side of the logo */
@media (min-width: 1024px) {
    :root { --header-h: 64px; --tab-w: 220px; --tab-h: 132px; --tab-pad: 10px; --logo-w: 184px; }
    .is-scrolled .brand { --logo-w: 104px; }
    .nav-toggle, .find-us { display: none; }
    .main-nav { display: contents; }
    .main-nav .nav-left, .main-nav .nav-right { display: flex; align-items: center; gap: 8px; }
    .main-nav .nav-left { grid-column: 1; justify-self: end; margin-right: calc(var(--tab-w) / 2 + 28px); }
    .main-nav .nav-right { grid-column: 3; justify-self: start; margin-left: calc(var(--tab-w) / 2 + 28px); }
    .site-header .wrap { grid-template-columns: 1fr 0 1fr; }
    .main-nav li { position: relative; }
    .main-nav .nav-left > li > a, .main-nav .nav-right > li > a,
    .main-nav .sub-toggle {
        display: inline-flex; align-items: center; gap: 6px;
        min-height: 44px; padding: 0 16px;
        background: none; border: 0; cursor: pointer;
        font-size: .95rem; letter-spacing: .08em;
    }
    .main-nav a:hover, .main-nav .sub-toggle:hover, .main-nav [aria-current="page"] { color: var(--brass-text); }
    .main-nav .nav-left [aria-current="page"], .main-nav .nav-right > li > [aria-current="page"] { box-shadow: inset 0 -1px 0 var(--brass); }
    .main-nav .chev { width: 10px; height: 10px; transition: transform .2s; }
    .main-nav .open > .sub-toggle .chev { transform: rotate(180deg); }

    .main-nav .submenu {
        position: absolute; top: calc(100% + 10px); left: 0; min-width: 280px; z-index: 3;
        background: var(--ivory); border: 1px solid var(--rule); border-top: 2px solid var(--brass);
        box-shadow: 0 18px 40px -18px rgba(20, 33, 45, .35);
        padding: 8px 0;
        visibility: hidden; opacity: 0; transform: translateY(-4px);
        transition: opacity .18s, transform .18s, visibility 0s .18s;
    }
    .main-nav .submenu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
    .main-nav .open > .submenu { visibility: visible; opacity: 1; transform: none; transition: opacity .18s, transform .18s; }
    .main-nav .submenu a { display: block; padding: 10px 20px; font-size: .97rem; letter-spacing: 0; }
    .main-nav .submenu a:hover, .main-nav .submenu a:focus-visible { background: var(--sand); color: var(--navy); }
}

/* Give hero titles room below the hanging logo */
.hero .wrap { padding-top: calc(var(--tab-h) - var(--header-h) + 40px); }

/* ---------- Hero banner ---------- */

.hero {
    position: relative; isolation: isolate;
    display: flex; align-items: flex-end;
    min-height: clamp(300px, 52vh, 540px);
    color: var(--ivory);
    background: var(--navy);
    overflow: hidden;
}
.hero picture, .hero > img { position: absolute; inset: 0; z-index: -2; }
.hero picture img, .hero > img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
    content: ""; position: absolute; inset: 0; z-index: -1;
    background:
        linear-gradient(to top, rgba(20, 33, 45, .88) 0%, rgba(20, 33, 45, .45) 45%, rgba(20, 33, 45, .08) 80%),
        linear-gradient(to right, rgba(20, 33, 45, .35), rgba(20, 33, 45, 0) 60%);
}
.hero .wrap { padding-top: 48px; padding-bottom: clamp(28px, 5vw, 56px); }
.hero h1 {
    color: var(--ivory);
    font-weight: 400;
    font-size: clamp(2.4rem, 6.2vw, 4.6rem);
    line-height: 1.02;
    max-width: 16ch;
    text-wrap: balance;
}
.hero .hero-sub {
    margin-top: 12px;
    font: italic 400 clamp(1.15rem, 2.2vw, 1.5rem)/1.35 var(--serif);
    color: var(--sand);
}
.hero .hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero--tall { min-height: clamp(380px, 68vh, 660px); }

/* Picture wrappers fill their frames so photos crop neatly (works with photos uploaded on the admin page) */
.map picture, .gallery picture, .loc-card .photo picture, .locations-grid .photo picture { display: block; width: 100%; height: 100%; }
.history figure picture { display: block; }

/* Parallax (computers only, switched on by navigation.js) */
.has-parallax > picture, .has-parallax .photo picture { will-change: transform; }
.history-hero .photo { overflow: hidden; }

/* Brass horizon line under each hero — the one decorative device, echoing the logo's rings */
.horizon { height: 7px; background: var(--ivory); border-top: 1px solid var(--brass); position: relative; }
.horizon::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--brass); }

/* ---------- Page sections ---------- */

.section { padding: clamp(40px, 7vw, 88px) 0; }
.section--sand { background: var(--sand); }

.lede { font-family: var(--serif); font-size: clamp(1.35rem, 2.4vw, 1.7rem); line-height: 1.4; color: var(--navy); max-width: 34ch; }
.prose p { margin-bottom: 1.1em; }
.prose p:last-child { margin-bottom: 0; }

.section-title { font-size: clamp(2rem, 4vw, 2.9rem); margin-bottom: 28px; }

.text-link { font-weight: 500; letter-spacing: .02em; }

/* ---------- Home ---------- */

.intro-grid { display: grid; gap: 28px 64px; }
@media (min-width: 900px) { .intro-grid { grid-template-columns: 5fr 7fr; align-items: start; } }

.locations-grid { list-style: none; display: grid; gap: 20px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 600px) { .locations-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; } }

.loc-card {
    position: relative; display: flex; flex-direction: column;
    background: var(--ivory);
    border: 1px solid var(--sand-deep);
    transition: border-color .25s, box-shadow .25s;
}
.loc-card:hover { border-color: var(--brass); box-shadow: 0 14px 30px -20px rgba(20, 33, 45, .45); }
.loc-card .photo { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--sand-deep); border-bottom: 2px solid var(--brass); }
.loc-card .photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.loc-card:hover .photo img { transform: scale(1.04); }

.loc-card .body { display: flex; flex-direction: column; flex: 1; padding: 20px 22px 18px; }
.loc-card h3 { font: inherit; }
.loc-card h3 a { text-decoration: none; color: var(--navy); }
.loc-card .where { display: block; font: 400 .85rem var(--sans); color: var(--brass-text); letter-spacing: .05em; }
.loc-card .name { display: block; margin-top: 2px; font: 500 1.6rem/1.15 var(--serif); color: var(--navy); }
.loc-card h3 a:hover .name { color: var(--brass-text); }
.loc-card .desc { margin-top: 10px; font-size: .95rem; line-height: 1.55; color: var(--ink); }
.loc-card .today {
    margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--rule);
    font: 500 .9rem var(--sans); color: var(--navy);
}
.loc-card .today::before {
    content: ""; display: inline-block; width: 7px; height: 7px; margin: 0 8px 1px 0; border-radius: 50%;
    background: var(--brass); vertical-align: middle;
}
.loc-card .addr { margin-top: 2px; font-size: .9rem; color: var(--muted); }
.loc-card .card-links {
    display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: auto; padding-top: 16px;
}
.loc-card .card-links a { font: 500 .9rem var(--sans); color: var(--navy); text-underline-offset: 4px; min-height: 32px; display: inline-flex; align-items: center; }
.loc-card .card-links a:hover { color: var(--brass-text); }
.loc-card .card-links a.order { color: var(--brass-text); }
@media (max-width: 599px) {
    .loc-card { display: grid; grid-template-columns: minmax(0, 38%) minmax(0, 1fr); }
    .loc-card .photo { aspect-ratio: auto; height: 100%; min-height: 170px; border-bottom: 0; border-right: 2px solid var(--brass); }
    .loc-card .body { padding: 14px 14px 12px 16px; }
    .loc-card .name { font-size: 1.35rem; }
    .loc-card .desc { display: none; }
    .loc-card .today { margin-top: 8px; padding-top: 8px; font-size: .8rem; letter-spacing: -.005em; }
    .loc-card .addr { font-size: .85rem; }
    .loc-card .card-links { gap: 2px 14px; padding-top: 8px; }
    .loc-card .card-links a { font-size: .85rem; min-height: 36px; }
}
@media (min-width: 1000px) {
    .locations-grid { gap: 28px; }
    .loc-card { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 1fr); }
    .loc-card .photo { aspect-ratio: auto; height: 100%; min-height: 280px; border-bottom: 0; border-right: 2px solid var(--brass); }
    .loc-card .body { padding: 26px 28px 22px; }
}

/* ---------- Location pages ---------- */

.quick-actions {
    display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); gap: 1px;
    background: var(--rule); border-bottom: 1px solid var(--rule);
}
.quick-actions a {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
    min-height: 74px; padding: 10px 4px;
    background: var(--ivory); color: var(--navy); text-decoration: none;
    font: 500 .82rem/1.1 var(--sans); letter-spacing: .04em; text-align: center;
}
.quick-actions a:hover { background: var(--sand); color: var(--navy); }
.quick-actions svg { width: 22px; height: 22px; color: var(--brass-text); }
.quick-actions .qa-order { background: var(--navy); color: var(--ivory); }
.quick-actions .qa-order svg { color: var(--brass-light); }
.quick-actions .qa-order:hover { background: var(--navy-deep); color: var(--ivory); }
@media (min-width: 900px) { .quick-actions { display: none; } }

.location-grid { display: grid; gap: 40px; }
@media (min-width: 900px) {
    .location-grid { grid-template-columns: minmax(0, 1fr) 380px; gap: 64px; align-items: start; }
    .visit-card { position: sticky; top: calc(var(--header-h) + 24px); }
}

.visit-card {
    background: var(--sand);
    padding: 32px 28px;
    outline: 1px solid var(--brass); outline-offset: -8px;   /* double brass ring */
    border: 1px solid var(--brass);
}
.visit-card h2 { font-size: 1.9rem; margin-bottom: 18px; }
.visit-card dl { display: grid; gap: 18px; }
.visit-card dt { font: 500 .8rem var(--sans); letter-spacing: .08em; color: var(--brass-text); margin-bottom: 2px; }
.visit-card dd { color: var(--navy); line-height: 1.55; }
.visit-card dd a { color: var(--navy); }
.visit-card .actions { display: grid; gap: 10px; margin-top: 26px; }
.visit-card .actions .btn { width: 100%; }

/* Photo strip on location pages */
.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 32px; }
.gallery figure { margin: 0; aspect-ratio: 4 / 5; overflow: hidden; background: var(--sand-deep); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 599px) {
    .gallery {
        grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 68%;
        overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
        margin-right: calc(-1 * var(--gutter)); padding-right: var(--gutter); scrollbar-width: none;
    }
    .gallery::-webkit-scrollbar { display: none; }
    .gallery figure { scroll-snap-align: start; }
}

.map-link { display: block; margin-top: 32px; border: 1px solid var(--rule); overflow: hidden; max-width: 560px; }
.map-link img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .6s ease; }
.map-link:hover img { transform: scale(1.03); }
.map-caption { display: block; padding: 10px 14px; background: var(--ivory); font-size: .9rem; color: var(--muted); }

.block-title { font-size: 1.9rem; margin: 40px 0 14px; }
.reservations #sr-res-root { margin-top: 6px; }

/* SinglePlatform menu widget (Harborside) — keep it readable inside the theme */
.widget-menu { margin-top: 8px; background: #fff; border: 1px solid var(--rule); padding: 8px; }

/* ---------- Locations & Hours page ---------- */

.loc-list { display: grid; gap: 56px 48px; }
@media (min-width: 760px) { .loc-list { grid-template-columns: 1fr 1fr; } }
.loc-item { display: grid; grid-template-rows: auto 1fr; }
.loc-item .map-link { margin-top: 0; max-width: none; }
.loc-item h2 { font-size: clamp(1.7rem, 3vw, 2.1rem); margin: 22px 0 10px; }
.loc-item h2 a { color: var(--navy); text-decoration: none; }
.loc-item h2 a:hover { color: var(--brass-text); }
.loc-item .details { color: var(--ink); line-height: 1.7; }
.loc-item .details a { font-weight: 500; }
.loc-item .links { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 14px; align-items: center; }

/* ---------- Location pages: intro + visit card, photos, matching info cards ---------- */

.loc-intro { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .loc-intro { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 64px; } }
.loc-intro .intro p { font-size: 1.15rem; line-height: 1.8; color: var(--ink); max-width: 58ch; }
@media (min-width: 900px) { .loc-intro { align-items: center; } }
.loc-intro .intro-title { font-size: clamp(1.9rem, 3.4vw, 2.6rem); margin-bottom: 18px; }

/* Shared card look (same as the Locations & Hours cards) */
.info-card {
    display: flex; flex-direction: column;
    background: var(--ivory);
    border: 1px solid rgba(176, 141, 87, .35);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(20, 33, 45, .05), 0 12px 28px -18px rgba(20, 33, 45, .35);
    padding: 26px;
    overflow: hidden;
}
.info-card h2 { font-size: clamp(1.5rem, 2.4vw, 1.8rem); line-height: 1.15; }
.info-card .today {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin-top: 12px; padding: 5px 12px;
    background: var(--sand); border-radius: 999px;
    font: 500 .88rem var(--sans); color: var(--navy);
}
.info-card .today::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }
.info-card .rows { margin-top: 18px; }
.info-card .rows > div { display: grid; grid-template-columns: 104px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-top: 1px solid var(--rule); }
.info-card .rows > div:last-child { border-bottom: 1px solid var(--rule); }
.info-card dt { display: flex; align-items: center; gap: 8px; align-self: start; font: 500 .82rem/1.6 var(--sans); letter-spacing: .06em; color: var(--brass-text); }
.info-card dt svg { width: 18px; height: 18px; flex: none; }
.info-card dd { color: var(--navy); line-height: 1.6; }
.info-card dd a, .panel p a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(176, 141, 87, .6); }
.info-card dd a:hover, .panel p a:hover { color: var(--brass-text); }
.info-card .btn { border-radius: 6px; min-height: 46px; padding: .6em 1em; }
.info-card .actions { display: grid; gap: 10px; margin-top: 20px; }
.info-card .pair { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.info-card .actions.pair { display: grid; }
/* Visit us card: labels above values so long hours lines fit */
.visit .rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 11px 0; }
.visit dd { padding-left: 26px; }

/* Photos + cards band */
.loc-more .gallery--wide { margin: 0 0 28px; gap: 16px; }
.loc-more .gallery--wide figure { aspect-ratio: 1 / 1; border-radius: 10px; }
@media (max-width: 599px) { .loc-more .gallery--wide figure { aspect-ratio: 4 / 5; } }

.panels { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.panel .panel-head { display: flex; align-items: center; gap: 10px; }
.panel .panel-head svg { width: 24px; height: 24px; color: var(--brass-text); flex: none; }
.panel p { margin-top: 10px; color: var(--ink); line-height: 1.6; }
.panel > .actions, .panel .panel-body > .actions { margin-top: auto; padding-top: 20px; }
.panel .actions .btn { width: 100%; }
.panel--wide { grid-column: 1 / -1; }
.panel--wide .actions.pair { max-width: 520px; }
.panel--map { padding: 0; }
.panel--map .map { display: block; position: relative; aspect-ratio: 16 / 8; overflow: hidden; background: #AADAFF; }
.panel--map .map img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .6s ease; }
.panel--map .map:hover img { transform: scale(1.04); }
.panel--map .map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); }
.panel--map .panel-body { display: flex; flex-direction: column; flex: 1; padding: 22px 26px 26px; }
@media (min-width: 900px) {
    .panels { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    /* Pages with two cards: the map card spans two columns, map beside the details */
    .panels--two .panel--map { grid-column: span 2; flex-direction: row; }
    .panels--two .panel--map .map { flex: 0 0 56%; aspect-ratio: auto; min-height: 240px; }
    .panels--two .panel--map .map img { position: absolute; inset: 0; }
    .panels--two .panel--map .map::after { left: auto; top: 0; right: 0; bottom: 0; width: 2px; height: auto; }
    .panels--two .panel--map .panel-body { justify-content: center; }
    .panels--two .panel--map .panel-body > .actions { margin-top: 0; }
}
.panel--accent { background: var(--navy); border-color: var(--navy); color: var(--sand); }
.panel--accent h2 { color: var(--ivory); }
.panel--accent p { color: var(--sand); }
.panel--accent .panel-head svg { color: var(--brass-light); }
.panel .reservations { justify-items: start; }
.panel .widget-menu { margin-top: 16px; border-radius: 6px; }

@media (max-width: 520px) {
    .info-card { padding: 20px 18px; }
    .panel--map { padding: 0; }
    .panel--map .panel-body { padding: 18px; }
    .info-card .rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
    .info-card dd { padding-left: 26px; }
}

/* ---------- Locations & Hours: contact cards ---------- */

.contact-grid { display: grid; gap: 24px; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 760px) { .contact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; } }

.contact-card {
    display: flex; flex-direction: column;
    background: var(--ivory);
    border: 1px solid rgba(176, 141, 87, .35);
    border-radius: 10px;
    box-shadow: 0 1px 2px rgba(20, 33, 45, .05), 0 12px 28px -18px rgba(20, 33, 45, .35);
    overflow: hidden;
}
.contact-card .map { display: block; position: relative; aspect-ratio: 16 / 7; overflow: hidden; background: #AADAFF; }
.contact-card .map img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%; transition: transform .6s ease; }
.contact-card .map:hover img { transform: scale(1.04); }
.contact-card .map::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--brass); }

.contact-card .body { display: flex; flex-direction: column; flex: 1; padding: 24px 26px 26px; }
.contact-card h2 { font-size: clamp(1.55rem, 2.6vw, 1.9rem); line-height: 1.15; }
.contact-card h2 a { color: var(--navy); text-decoration: none; }
.contact-card h2 a:hover { color: var(--brass-text); }

.contact-card .today {
    display: inline-flex; align-items: center; gap: 8px; align-self: flex-start;
    margin-top: 12px; padding: 5px 12px;
    background: var(--sand); border-radius: 999px;
    font: 500 .88rem var(--sans); color: var(--navy);
}
.contact-card .today::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--brass); }

.contact-card .rows { margin-top: 20px; display: grid; gap: 0; }
.contact-card .rows > div {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px;
    padding: 12px 0; border-top: 1px solid var(--rule);
}
.contact-card .rows > div:last-child { border-bottom: 1px solid var(--rule); }
.contact-card dt { display: flex; align-items: center; gap: 8px; align-self: start; font: 500 .82rem/1.6 var(--sans); letter-spacing: .06em; color: var(--brass-text); }
.contact-card dt svg { width: 18px; height: 18px; flex: none; }
.contact-card dd { color: var(--navy); line-height: 1.6; }
.contact-card dd a { color: var(--navy); text-decoration: none; border-bottom: 1px solid rgba(176, 141, 87, .6); }
.contact-card dd a:hover { color: var(--brass-text); }

.contact-card .actions { margin-top: auto; padding-top: 22px; display: grid; gap: 10px; }
.contact-card .actions .primary { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.contact-card .actions .secondary { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-card .actions .secondary:empty { display: none; }
.contact-card .actions .secondary .btn { flex: 1 1 140px; }
.contact-card .btn { border-radius: 6px; min-height: 46px; padding: .6em 1em; }

@media (max-width: 520px) {
    .contact-card .body { padding: 20px 18px 20px; }
    .contact-card .map { aspect-ratio: 16 / 8; }
    .contact-card .rows > div { grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; }
    .contact-card dd { padding-left: 26px; }
}

/* ---------- History ---------- */

/* Full, uncropped historic photo in a frame instead of a cropped banner */
.history-hero { background: var(--navy-deep); color: var(--ivory); }
.history-hero .wrap {
    display: grid; gap: 28px; align-items: center;
    padding-top: calc(var(--tab-h) - var(--header-h) + 32px); padding-bottom: clamp(32px, 5vw, 56px);
}
.history-hero h1 { color: var(--ivory); font-weight: 400; font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; }
.history-hero .hero-sub { margin-top: 12px; font: italic 400 clamp(1.15rem, 2.2vw, 1.5rem)/1.35 var(--serif); color: var(--sand); }
.history-hero .photo { margin: 0; padding: 8px; border: 1px solid var(--brass); background: rgba(247, 242, 234, .04); }
.history-hero .photo img { width: 100%; height: auto; outline: 1px solid rgba(201, 166, 107, .5); outline-offset: 3px; }
/* Computers: the photo becomes a full-width banner showing as much of it as the screen allows */
@media (min-width: 900px) {
    .history-hero { position: relative; }
    .history-hero .wrap { display: block; max-width: none; padding: 0; }
    .history-hero .photo {
        margin: 0; padding: 0; border: 0; background: none;
        height: min(calc(100vw * 634 / 958), calc(100vh - var(--header-h)));
        min-height: 520px;
    }
    .history-hero .photo picture, .history-hero .photo img { display: block; width: 100%; height: 100%; }
    .history-hero .photo img { object-fit: cover; object-position: 50% 40%; outline: 0; }
    .history-hero .text {
        position: absolute; left: 0; bottom: 0; z-index: 1;
        width: min(100%, 980px);
        padding: 140px 0 44px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter)));
        background: radial-gradient(ellipse at 0% 100%, rgba(20, 33, 45, .88) 0%, rgba(20, 33, 45, .55) 38%, rgba(20, 33, 45, 0) 70%);
        pointer-events: none;
    }
    .history-hero .text > * { max-width: 520px; }
    .history-hero h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, .35); }
}

.history .prose { max-width: 68ch; }
.history .prose p { font-size: 1.1rem; line-height: 1.8; }
.history .prose p:first-child::first-letter {
    float: left; font: 400 4.6rem/.8 var(--serif); color: var(--navy);
    margin: .08em .1em 0 0;
}
.history figure { margin: 56px auto 0; max-width: 900px; }
.history figure img { width: 100%; border: 1px solid var(--rule); }
.history figcaption { margin-top: 10px; font: italic 1.05rem var(--serif); color: var(--muted); text-align: center; }

/* ---------- Menu pages ---------- */

.menu-bar { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin-bottom: 40px; }

.menu { color: var(--ink); }
.menu .link { display: none; } /* replaced by .menu-bar buttons */
@media (min-width: 900px) {
    .menu { column-count: 2; column-gap: 72px; }
    .menu > div { break-inside: avoid; }
}
.menu > div { padding-bottom: 44px; }
.menu h3 {
    font: 500 2rem/1.1 var(--serif); color: var(--navy); text-transform: none;
    padding-bottom: 10px; margin-bottom: 4px; border-bottom: 1px solid var(--brass);
}
.menu > div > i.descr { display: block; margin-top: 8px; font: italic 1.05rem/1.4 var(--serif); color: var(--muted); }
.menu ul { list-style: none; margin-top: 12px; }
.menu li {
    display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 16px;
    padding: 10px 0; border-bottom: 1px dotted rgba(31, 52, 70, .22);
}
.menu li:last-child { border-bottom: 0; }
.menu .title, .menu li h4 {
    grid-column: 1; font: 500 1rem/1.35 var(--sans); color: var(--navy); text-transform: none; letter-spacing: .01em;
}
.menu .upper { text-transform: none; }
.menu .descr { grid-column: 1; font-style: italic; font-family: var(--serif); font-size: 1.05rem; color: var(--muted); line-height: 1.35; }
.menu .price { grid-column: 2; grid-row: 1 / span 3; justify-self: end; font: 500 .98rem var(--sans); color: var(--navy); font-style: normal; white-space: nowrap; text-align: right; }
.menu li .price + .price { grid-row: auto; font-size: .9rem; color: var(--muted); }
.menu .topped { margin-top: 6px; padding-top: 12px; border-top: 1px solid var(--rule); }
.menu li.topped { display: block; border-bottom: 0; }
.menu > div.topped { column-span: all; border-top: 1px solid var(--brass); padding-top: 18px; }
.menu > div.topped .descr { font-size: .98rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: #D9CDB8; }
.site-footer .rings { height: 7px; border-top: 1px solid var(--brass); position: relative; background: var(--navy-deep); }
.site-footer .rings::after { content: ""; position: absolute; left: 0; right: 0; top: 3px; border-top: 1px solid var(--brass); }
.site-footer .wrap { padding-top: clamp(44px, 6vw, 72px); padding-bottom: 32px; }
.footer-grid { display: grid; gap: 40px; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); gap: 48px; } }
.site-footer h3 { font: 400 1.5rem/1.2 var(--serif); margin-bottom: 12px; color: var(--sand); }
.site-footer h3 a { color: var(--ivory); text-decoration: none; }
.site-footer h3 a:hover { color: var(--brass-light); }
.site-footer p { font-size: .97rem; line-height: 1.75; }
.site-footer a { color: var(--brass-light); text-decoration: none; }
.site-footer a:hover { color: var(--ivory); }
.site-footer a.orderOnline { margin-top: 14px; color: var(--navy-deep); }
.site-footer a.orderOnline:hover { color: var(--navy-deep); }
.footer-base {
    display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px;
    margin-top: 52px; padding-top: 22px; border-top: 1px solid rgba(201, 166, 107, .3);
    font-size: .88rem; color: #A99F8E;
}
.footer-base a { color: #A99F8E; }

/* ---------- Sticky order bar (Navarre pages, phones only) ---------- */

.orderSticky { display: none; }
@media (max-width: 767px) {
    .orderSticky {
        display: flex; align-items: center; justify-content: center;
        position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
        min-height: 58px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
        background: var(--navy); color: var(--ivory);
        border-top: 2px solid var(--brass);
        font: 500 1rem var(--sans); letter-spacing: .08em; text-decoration: none;
    }
    .orderSticky:hover, .orderSticky:active { background: var(--navy-deep); color: var(--ivory); }
    body:has(.orderSticky) { padding-bottom: 58px; }
}

/* ---------- Motion preferences ---------- */

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { transition: none !important; animation: none !important; }
}
