/* ==========================================================================
   Luci’s 2026 — “Market signage”
   All color comes from the tokens below; functions.php overrides them at
   runtime from the Customizer. Never hard-code a color in a component.
   ========================================================================== */

:root {
    --bg: #F7F0E4;
    --bg2: #EEE3D1;
    --surface: #FFFAF2;
    --ink: #2B221B;
    --muted: #6A5A4C;
    --accent: #A8420E;
    --signal: #DD601C;
    --on-accent: #FFFFFF;
    --sign-shadow: #2B221B;
    --fg-rgb: 43, 34, 27;
    --bg-rgb: 247, 240, 228;
    --logo-filter: none;

    --band-bg: #2B221B;
    --band-text: #F7F0E4;
    --band-muted: #BFAE9B;
    --band-accent: #F2793A;
    --band-shadow: #0F0B08;
    --band-fg-rgb: 247, 240, 228;

    --font-display: 'Bricolage Grotesque', sans-serif;
    --font-body: 'Figtree', sans-serif;
    --font-mono: 'DM Mono', monospace;

    /* Derived: redeclared inside .is-band because they depend on re-pointed inputs. */
    --rule: var(--ink);
    --hairline: rgba(var(--fg-rgb), .16);
    --accent-hover: color-mix(in srgb, var(--accent) 82%, #000);

    --radius: 2px;
    --gutter: clamp(16px, 4vw, 48px);
    --max: 1320px;
    --header-h: 84px;
    --section-y: clamp(80px, 11vw, 152px);
    --ease: cubic-bezier(.2, .7, .2, 1);
}

/* Inverted band: closing pitch + footer. Re-points the core tokens so
   everything inside flips without extra component CSS. */
.is-band {
    --bg: var(--band-bg);
    --ink: var(--band-text);
    --muted: var(--band-muted);
    --accent: var(--band-accent);
    --signal: var(--band-accent);
    --sign-shadow: var(--band-shadow);
    --fg-rgb: var(--band-fg-rgb);
    --on-accent: var(--band-bg);
    --rule: var(--band-text);
    --hairline: rgba(var(--band-fg-rgb), .18);
    --accent-hover: color-mix(in srgb, var(--band-accent) 84%, #fff);
    background: var(--bg);
    color: var(--ink);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */

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

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--ink);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--accent); }

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

h1, h2, h3, h4 {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.02em;
    font-variation-settings: 'opsz' 96;
    text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

figure { margin: 0; }

figcaption {
    margin-top: .75rem;
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--muted);
}

[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

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

.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(1px, 1px, 1px, 1px);
    white-space: nowrap;
}

.skip-link {
    position: absolute;
    left: 16px; top: -100px;
    z-index: 200;
    padding: .75rem 1rem;
    background: var(--ink);
    color: var(--bg);
}
.skip-link:focus { top: 16px; }

.lead { font-size: 1.25rem; color: var(--muted); max-width: 46ch; }

/* The logo’s 3D drop-shadow, stacked so it reads as a solid extrusion. */
.sign {
    color: var(--signal);
    text-transform: uppercase;
    text-shadow:
        .015em .015em 0 var(--sign-shadow),
        .03em .03em 0 var(--sign-shadow),
        .045em .045em 0 var(--sign-shadow),
        .06em .06em 0 var(--sign-shadow);
}

/* --------------------------------------------------------------------------
   Buttons & links
   -------------------------------------------------------------------------- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: .6em;
    padding: .95rem 1.5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.1;
    text-decoration: none;
    transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease);
}
.btn::after {
    content: '→';
    font-family: var(--font-body);
    transition: transform .2s var(--ease);
}
.btn:hover::after { transform: translateX(3px); }

.btn--solid {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
}
.btn--solid:hover {
    background: var(--ink);
    border-color: var(--ink);
    color: var(--bg);
}

.btn--line { background: transparent; color: var(--ink); }
.btn--line:hover { background: var(--ink); color: var(--bg); }

.btn--sm { padding: .65rem 1.05rem; font-size: .9375rem; }
.btn--sm::after { display: none; }

.btn-row { display: flex; flex-wrap: wrap; gap: .875rem; }

.link-arrow {
    display: inline-flex;
    gap: .5em;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--accent);
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: .3em;
}
.link-arrow::after { content: '→'; font-family: var(--font-body); }
.link-arrow:hover { color: var(--ink); }

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg);
    border-bottom: 2px solid transparent;
    transition: border-color .25s var(--ease);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.site-header.is-scrolled { border-bottom-color: var(--rule); }

.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: var(--header-h);
}

.site-logo { display: block; flex-shrink: 0; text-decoration: none; }
.site-logo__img { width: auto; max-height: 58px; filter: var(--logo-filter); }
.site-logo__text { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; }

.site-nav { display: flex; align-items: center; gap: 2rem; }

.site-nav__list {
    display: flex;
    gap: 1.75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}
.site-nav__list a {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    text-decoration: none;
    padding-block: .35rem;
    background: linear-gradient(var(--accent), var(--accent)) left bottom / 0 2px no-repeat;
    transition: background-size .25s var(--ease), color .2s;
}
.site-nav__list a:hover,
.site-nav__list .current-menu-item > a {
    color: var(--accent);
    background-size: 100% 2px;
}
.site-nav__list .sub-menu { display: none; }

.nav-toggle {
    display: none;
    width: 48px; height: 48px;
    padding: 0;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    background: transparent;
    color: var(--ink);
    cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
    display: block;
    width: 20px; height: 2px;
    margin-inline: auto;
    background: currentColor;
    transition: transform .25s var(--ease), opacity .2s;
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -6px; }
.nav-toggle__bars::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 960px) {
    :root { --header-h: 72px; }
    .site-logo__img { max-height: 46px; }
    .nav-toggle { display: block; }
    .site-nav {
        position: fixed;
        inset: var(--header-h) 0 auto 0;
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem;
        padding: 1.5rem var(--gutter) 2rem;
        background: var(--bg);
        border-bottom: 2px solid var(--rule);
        transform: translateY(-8px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s;
    }
    .admin-bar .site-nav { top: calc(var(--header-h) + 46px); }
    .site-nav.is-open {
        transform: none;
        opacity: 1;
        visibility: visible;
        transition: opacity .2s var(--ease), transform .2s var(--ease);
    }
    .site-nav__list { flex-direction: column; gap: 0; }
    .site-nav__list a {
        display: block;
        padding-block: .8rem;
        border-bottom: 1px solid var(--hairline);
        font-size: 1.5rem;
        background: none;
    }
    .site-nav__cta { justify-content: center; }
}
@media (min-width: 783px) and (max-width: 960px) {
    .admin-bar .site-nav { top: calc(var(--header-h) + 32px); }
}

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

.hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); overflow: hidden; }

.hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.hero--no-media .hero__grid { grid-template-columns: 1fr; }

.hero__eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.hero__eyebrow::before {
    content: '';
    width: 48px;
    height: 2px;
    background: currentColor;
}

.hero__title {
    margin-bottom: 1.75rem;
    font-size: clamp(3.75rem, 10.5vw, 9.5rem);
    line-height: .86;
    letter-spacing: -.035em;
}
.hero__title:not(.sign) { color: var(--ink); }

.hero__text {
    max-width: 30ch;
    margin-bottom: 2.25rem;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.4;
}

.hero__media { position: relative; }
.hero__frame {
    position: relative;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 14px 14px 0 var(--ink);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    background: var(--bg2);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 55% 40%; }
.hero__media figcaption { margin-top: 1.5rem; }

@media (max-width: 860px) {
    .hero__grid { grid-template-columns: 1fr; }
    .hero__media { max-width: 520px; margin-right: 14px; }
    .hero__frame { aspect-ratio: 5 / 4; }
}

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

.section { padding-block: var(--section-y); }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }

.section-head {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 1.5rem clamp(32px, 6vw, 96px);
    align-items: end;
    margin-bottom: clamp(48px, 6vw, 80px);
    padding-top: 1.5rem;
    border-top: 2px solid var(--rule);
}
.section-head__title { font-size: clamp(2.75rem, 6.5vw, 5.75rem); line-height: .92; }
.section-head__text {
    margin: 0;
    max-width: 44ch;
    font-size: 1.1875rem;
    color: var(--muted);
}
@media (max-width: 1024px) {
    .section-head { grid-template-columns: 1fr; align-items: start; }
}

/* --------------------------------------------------------------------------
   Places
   -------------------------------------------------------------------------- */

.places__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(56px, 6vw, 88px) clamp(32px, 5vw, 72px);
    align-items: start;
}
@media (max-width: 899px) {
    .places__grid { grid-template-columns: 1fr; }
}

.venue { display: flex; flex-direction: column; }

.venue__meta {
    padding-bottom: .75rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--muted);
}

.venue__media {
    margin-bottom: 1.5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--bg2);
}
.venue__media a { display: block; height: 100%; }
.venue__media img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}
.venue:hover .venue__media img { transform: scale(1.025); }

.venue__name { font-size: clamp(2rem, 3.4vw, 2.875rem); line-height: .98; }
.venue__name a { text-decoration: none; }
.venue__name a:hover { color: var(--accent); text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: .12em; }

.venue__kind {
    margin: .6rem 0 1rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.0625rem;
    color: var(--accent);
}
.venue__text { color: var(--muted); }
.venue__text p:last-child { margin-bottom: 0; }

.venue__links {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem 1.5rem;
    margin: 1.25rem 0 0;
    padding: 0;
    list-style: none;
}
.venue__links a {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: .9375rem;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-decoration-color: var(--accent);
    text-underline-offset: .3em;
}
.venue__links a[target="_blank"]::after { content: ' ↗'; font-family: var(--font-body); }

/* --------------------------------------------------------------------------
   Story
   -------------------------------------------------------------------------- */

.story { background: var(--bg2); border-block: 2px solid var(--ink); }

.story__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 2rem clamp(32px, 6vw, 96px);
    align-items: start;
}
.story__title {
    font-size: clamp(3rem, 7vw, 6.25rem);
    line-height: .9;
    position: sticky;
    top: calc(var(--header-h) + 32px);
}
.story__body { max-width: 58ch; }
.story__body p { color: var(--muted); }
.story__body .story__lead {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.45;
    color: var(--ink);
}
.story__body .btn { margin-top: 1rem; }

.story__media { margin-top: clamp(48px, 7vw, 96px); }
.story__media img {
    width: 100%;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
}
@media (max-width: 900px) {
    .story__grid { grid-template-columns: 1fr; }
    .story__title { position: static; }
}

/* --------------------------------------------------------------------------
   Happenings
   -------------------------------------------------------------------------- */

.happenings__grid {
    display: grid;
    grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
}
@media (max-width: 1024px) { .happenings__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .happenings__grid { grid-template-columns: 1fr; } }

.callout {
    display: flex;
    flex-direction: column;
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
}
.callout__media {
    aspect-ratio: 3 / 2;
    border-bottom: 2px solid var(--ink);
    overflow: hidden;
    background: var(--bg2);
}
.callout__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.callout__body { display: flex; flex-direction: column; flex: 1; padding: clamp(24px, 2.5vw, 32px); }
.callout__label {
    margin-bottom: .75rem;
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--accent);
}
.callout__title { margin-bottom: 1rem; font-size: clamp(1.625rem, 2.4vw, 2.125rem); line-height: 1.02; }
.callout__text { color: var(--muted); }
.callout__text p:last-child { margin-bottom: 0; }
.callout .link-arrow { margin-top: auto; padding-top: 1.5rem; align-self: flex-start; }

/* --------------------------------------------------------------------------
   News rows (homepage + archives)
   -------------------------------------------------------------------------- */

.news__list { margin: 0; padding: 0; list-style: none; border-top: 2px solid var(--rule); }

.post-row { border-bottom: 1px solid var(--hairline); }
.post-row__link {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr) auto 96px;
    gap: 1.5rem;
    align-items: center;
    padding-block: 1.5rem;
    text-decoration: none;
}
.post-row__date, .post-row__cat {
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--muted);
}
.post-row__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    line-height: 1.15;
    letter-spacing: -.01em;
}
.post-row__link:hover .post-row__title { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.post-row__thumb { grid-column: 4; width: 96px; aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--hairline); }
.post-row__thumb img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 760px) {
    .post-row__link { grid-template-columns: minmax(0, 1fr) 80px; gap: .35rem 1rem; }
    .post-row__date { grid-row: 1; grid-column: 1; }
    .post-row__title { grid-row: 2; grid-column: 1; }
    .post-row__cat { grid-row: 3; grid-column: 1; }
    .post-row__thumb { grid-row: 1 / span 3; grid-column: 2; width: 80px; }
}

.news__more { margin-top: 2.5rem; }

.pagination { margin-top: 2.5rem; font-family: var(--font-display); font-weight: 700; }
.pagination .nav-links { display: flex; gap: 1rem; flex-wrap: wrap; }
.pagination .current { color: var(--accent); }

/* --------------------------------------------------------------------------
   Closing pitch
   -------------------------------------------------------------------------- */

.cta { padding-block: clamp(88px, 12vw, 168px); }
.cta__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
    gap: 2.5rem clamp(32px, 6vw, 96px);
    align-items: end;
}
.cta__title { font-size: clamp(3.25rem, 9vw, 8.25rem); line-height: .88; letter-spacing: -.035em; }
.cta__side p { font-size: 1.25rem; color: var(--muted); max-width: 34ch; }
.cta__side .btn { margin-top: .75rem; }
@media (max-width: 900px) { .cta__inner { grid-template-columns: 1fr; } }

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

.site-footer {
    padding-block: clamp(56px, 7vw, 88px) 2rem;
    background: var(--bg2);
    border-top: 2px solid var(--ink);
}

.site-footer__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
    gap: 2.5rem clamp(24px, 4vw, 64px);
}
.site-footer__logo { display: inline-block; margin-bottom: 1.5rem; }
.site-footer__logo img { width: auto; max-height: 72px; }
.site-footer__brand p { max-width: 38ch; color: var(--muted); font-size: 1rem; }

.site-footer__heading {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0;
    color: var(--accent);
}
.site-footer ul { margin: 0; padding: 0; list-style: none; }
.site-footer li { margin-bottom: .55rem; }
.site-footer li a { text-decoration: none; }
.site-footer li a:hover { color: var(--accent); text-decoration: underline; }

.site-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-top: clamp(48px, 6vw, 72px);
    padding-top: 1.5rem;
    border-top: 1px solid var(--hairline);
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--muted);
}
.site-footer__bottom p { margin: 0; }
.site-footer__bottom a { text-decoration: none; }
.site-footer__bottom a:hover { color: var(--accent); }

@media (max-width: 960px) {
    .site-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .site-footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
    .site-footer__grid { grid-template-columns: 1fr; }
}

/* --------------------------------------------------------------------------
   Pages & posts
   -------------------------------------------------------------------------- */

.page-head { padding-block: clamp(48px, 7vw, 96px) clamp(32px, 4vw, 56px); }
.page-head .container { border-bottom: 2px solid var(--rule); padding-bottom: clamp(24px, 3vw, 40px); }
.page-head__title { font-size: clamp(2.75rem, 7vw, 6rem); line-height: .92; max-width: 18ch; }
.page-head__meta {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
    font-family: var(--font-mono);
    font-size: .875rem;
    color: var(--muted);
}
.page-head__meta a { color: var(--accent); }
.page-head--post .page-head__title { font-size: clamp(2.25rem, 5vw, 4.25rem); max-width: 22ch; }

.page-entry { padding-bottom: var(--section-y); }

.prose { max-width: 72ch; font-size: 1.125rem; }
.prose > * + * { margin-top: 1.1em; }
.prose p { margin: 0; }
.prose h2 { font-size: clamp(1.875rem, 3vw, 2.5rem); margin-top: 2em; }
.prose h3 { font-size: 1.5rem; margin-top: 1.75em; }
.prose a { color: var(--accent); }
.prose a:hover { color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.25em; }
.prose blockquote {
    margin-inline: 0;
    padding-left: 1.25rem;
    border-left: 3px solid var(--signal);
    font-size: 1.25rem;
}
.prose img { border-radius: var(--radius); }
.prose iframe { max-width: 100%; }
.prose .wp-block-embed iframe, .prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }

.prose-media { margin-bottom: 2.5rem; max-width: 960px; }
.prose-media img { width: 100%; border: 2px solid var(--ink); border-radius: var(--radius); }

.post-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: clamp(56px, 7vw, 96px);
}
.post-nav__link {
    padding-top: 1.25rem;
    border-top: 2px solid var(--rule);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
    line-height: 1.2;
    text-decoration: none;
}
.post-nav__link span {
    display: block;
    margin-bottom: .5rem;
    font-family: var(--font-mono);
    font-weight: 400;
    font-size: .8125rem;
    color: var(--muted);
}
.post-nav__link--next { grid-column: 2; text-align: right; }
@media (max-width: 640px) {
    .post-nav { grid-template-columns: 1fr; }
    .post-nav__link--next { grid-column: 1; text-align: left; }
}

/* Elementor-built pages control their own widths. */
.page-entry__builder { width: 100%; }

/* Gravity Forms: match the theme’s buttons. */
.gform_wrapper .gform_button,
.gform_wrapper input[type="submit"] {
    padding: .95rem 1.5rem !important;
    border: 2px solid var(--accent) !important;
    border-radius: var(--radius) !important;
    background: var(--accent) !important;
    color: var(--on-accent) !important;
    font-family: var(--font-display) !important;
    font-weight: 700 !important;
    cursor: pointer;
}
.gform_wrapper .gform_button:hover,
.gform_wrapper input[type="submit"]:hover { background: var(--ink) !important; border-color: var(--ink) !important; color: var(--bg) !important; }

/* --------------------------------------------------------------------------
   404
   -------------------------------------------------------------------------- */

.error-page { padding-block: clamp(64px, 10vw, 140px) var(--section-y); }
.error-page__code {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(6rem, 22vw, 16rem);
    line-height: .8;
    letter-spacing: -.04em;
}
.error-page__code:not(.sign) { color: var(--signal); }
.error-page__title { font-size: clamp(2.25rem, 5vw, 4rem); margin-bottom: 1.25rem; }
.error-page .lead { margin-bottom: 2rem; }
.error-page__places {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 2rem;
    margin: clamp(48px, 6vw, 72px) 0 0;
    padding: 1.5rem 0 0;
    list-style: none;
    border-top: 2px solid var(--rule);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
}

/* --------------------------------------------------------------------------
   Motion: one quiet fade per element.
   -------------------------------------------------------------------------- */

.js .reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================================
   Holiday Order Page (template-holiday-order.php)
   ========================================================================== */

.ho-hero { padding-block: clamp(40px, 6vw, 88px) clamp(56px, 7vw, 96px); overflow: hidden; }
.ho-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
    gap: clamp(32px, 5vw, 80px);
    align-items: center;
}
.ho-hero__head { margin-bottom: clamp(32px, 4vw, 56px); }
/* Full width so long single words ("Thanksgiving") fit; sized to the viewport. */
.ho-hero__title {
    margin: 0;
    font-size: clamp(2.25rem, 10vw, 8.5rem);
    line-height: .86;
    letter-spacing: -.035em;
    overflow-wrap: break-word;
}
.ho-hero__title:not(.sign) { color: var(--ink); }
.ho-hero__media { position: relative; margin-right: 14px; }
.ho-hero__frame {
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 14px 14px 0 var(--ink);
    overflow: hidden;
    aspect-ratio: 9 / 7;
    background: var(--bg2);
}
.ho-hero__frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; }
.ho-tag {
    position: absolute;
    left: -14px;
    bottom: 28px;
    margin: 0;
    padding: .7rem 1.1rem;
    background: var(--signal);
    color: var(--ink);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(.95rem, 1.4vw, 1.125rem);
    line-height: 1.15;
    transform: rotate(-3deg);
}
@media (max-width: 900px) {
    .ho-hero__grid { grid-template-columns: 1fr; }
    .ho-hero__media { order: -1; max-width: 640px; }
    .ho-tag { left: 12px; bottom: 16px; }
}

/* Key dates: the orange strip, as a 3-step timeline. */
.ho-dates { background: var(--signal); color: var(--ink); border-block: 2px solid var(--ink); }
.ho-dates__list {
    display: grid;
    grid-template-columns: repeat(var(--count, 3), minmax(0, 1fr));
    margin: 0;
    padding: 0;
    list-style: none;
}
.ho-dates__item {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding: clamp(28px, 3.5vw, 44px) clamp(16px, 3vw, 40px);
    border-left: 2px solid var(--ink);
}
.ho-dates__item:first-child { border-left: 0; padding-left: 0; }
.ho-dates__step { font-family: var(--font-display); font-size: 1.0625rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.ho-dates__value {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: .95;
    letter-spacing: -.025em;
}
.ho-dates__detail { font-family: var(--font-display); font-weight: 700; font-size: 1.1875rem; line-height: 1.3; }
.ho-dates__pickup {
    display: flex;
    flex-wrap: wrap;
    gap: .25rem 1rem;
    margin: 0;
    padding-block: 1.1rem;
    border-top: 2px solid var(--ink);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1875rem;
}
.ho-dates__pickup span { font-family: var(--font-mono); font-weight: 500; font-size: .9375rem; align-self: center; }
.ho-dates__pickup a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .2em; }
.ho-dates__pickup a:hover { color: var(--ink); text-decoration-thickness: 3px; }
@media (max-width: 760px) {
    .ho-dates__list { grid-template-columns: 1fr; }
    .ho-dates__item { border-left: 0; border-top: 2px solid var(--ink); padding-inline: 0; }
    .ho-dates__item:first-child { border-top: 0; }
}

/* Intro */
.ho-intro__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    gap: 2rem clamp(32px, 6vw, 96px);
    align-items: start;
    padding-top: 1.5rem;
    border-top: 2px solid var(--rule);
}
.ho-intro__title {
    font-size: clamp(2.5rem, 5.4vw, 4.75rem);
    line-height: .94;
    position: sticky;
    top: calc(var(--header-h) + 32px);
}
.ho-intro__body { max-width: 60ch; color: var(--muted); font-size: 1.125rem; }
.ho-intro__body > p:first-child { font-size: clamp(1.25rem, 1.8vw, 1.5rem); line-height: 1.45; color: var(--ink); }
@media (max-width: 900px) {
    .ho-intro__grid { grid-template-columns: 1fr; }
    .ho-intro__title { position: static; }
}

/* Order section: form + sticky notes card */
.ho-order { background: var(--bg2); border-top: 2px solid var(--ink); }
.ho-order__grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(24px, 4vw, 56px);
    align-items: start;
}
.ho-note {
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding: clamp(24px, 2.5vw, 32px);
    background: var(--ink);
    color: var(--bg);
    border-radius: var(--radius);
}
.ho-note__title { margin-bottom: 1.25rem; font-size: 1.75rem; color: var(--signal); }
.ho-note ul { margin: 0; padding: 0; list-style: none; }
.ho-note li {
    padding-block: .9rem;
    border-top: 1px solid rgba(var(--bg-rgb), .2);
    font-size: 1rem;
    line-height: 1.5;
}
.ho-note li:first-child { border-top: 0; padding-top: 0; }
.ho-note b, .ho-note strong { color: var(--signal); font-weight: 700; }
@media (max-width: 1024px) {
    .ho-order__grid { grid-template-columns: 1fr; }
    .ho-note { position: static; order: -1; }
}

/* Thank-you logo row */
.ho-thanks { padding-block: clamp(72px, 9vw, 128px); text-align: center; }
.ho-thanks__title {
    max-width: 16ch;
    margin: 0 auto clamp(40px, 5vw, 64px);
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: .95;
}
.ho-thanks__logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: clamp(28px, 4vw, 56px) clamp(32px, 5vw, 72px);
    margin: 0;
    padding: clamp(28px, 4vw, 48px) 0 0;
    list-style: none;
    border-top: 2px solid var(--rule);
}
.ho-thanks__logos img { width: auto; max-height: 64px; max-width: 160px; }

/* --------------------------------------------------------------------------
   Gravity Forms inside .ho-form: the menu board.
   -------------------------------------------------------------------------- */

.ho-form {
    padding: clamp(24px, 4vw, 56px);
    background: var(--surface);
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    font-family: var(--font-body);
}
.ho-form .gform_wrapper.gravity-theme { margin: 0; }
.ho-form .gform_wrapper.gravity-theme .gform_fields { row-gap: 0; }

/* Section titles: "Mains", "A’la Carte Items"… */
.ho-form .gform_wrapper.gravity-theme .gsection {
    margin-top: clamp(40px, 5vw, 64px);
    padding: 1rem 0 .5rem;
    border-bottom: 0;
    border-top: 2px solid var(--ink);
}
.ho-form .gform_wrapper.gravity-theme .gfield:first-child.gsection { margin-top: 0; }
.ho-form .gform_wrapper.gravity-theme .gsection_title {
    margin: 0;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.875rem, 3vw, 2.5rem);
    letter-spacing: -.02em;
    line-height: 1;
}

/* Product rows: name + description on the left, price + qty on the right. */
.ho-form .gform_wrapper.gravity-theme .gfield--type-product {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "name buy" "desc buy";
    column-gap: clamp(16px, 3vw, 40px);
    align-items: start;
    padding-block: 1.25rem;
    border-bottom: 1px solid var(--hairline);
}
.ho-form .gform_wrapper.gravity-theme .gfield--type-product > .gfield_label {
    grid-area: name;
    margin: 0;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
    line-height: 1.15;
}
.ho-form .gform_wrapper.gravity-theme .gfield--type-product > .gfield_description {
    grid-area: desc;
    padding-top: .5rem;
    font-size: 1rem;
    color: var(--muted);
}
.ho-form .gfield--type-product .gfield_description ul { margin: .5rem 0 0; padding-left: 1.1em; }
.ho-form .gfield--type-product .gfield_description li { margin-bottom: .2rem; }
.ho-form .gfield--type-product .gfield_description li::marker { color: var(--accent); }
.ho-form .gfield--type-product .gfield_description b { color: var(--ink); }
.ho-form .gpi-available-inventory-message {
    padding-bottom: .5rem !important;
    font-family: var(--font-mono);
    font-size: .8125rem;
    color: var(--accent);
}

.ho-form .gform_wrapper.gravity-theme .gfield--type-product > .ginput_container {
    grid-area: buy;
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 0;
}
.ho-form .gform_wrapper.gravity-theme .ginput_product_price_wrapper { display: block; margin: 0; }
.ho-form .gform_wrapper.gravity-theme .ginput_product_price_label { display: none; }
.ho-form .gform_wrapper.gravity-theme .ginput_product_price {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 1.9vw, 1.5rem);
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}
.ho-form .gform_wrapper.gravity-theme .ginput_quantity_label {
    margin: 0;
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--muted);
}
.ho-form .gform_wrapper.gravity-theme input.ginput_quantity {
    width: 4.75rem;
    padding: .6rem .5rem;
    text-align: center;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Sold-out product: the container holds only the words "Sold Out". */
.ho-form .gform_wrapper.gravity-theme .gfield--type-product > .ginput_container:not(.ginput_container_singleproduct) {
    padding: .45rem .8rem;
    border: 2px solid var(--muted);
    border-radius: var(--radius);
    color: var(--muted);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: .9375rem;
    text-transform: uppercase;
    letter-spacing: .06em;
    transform: rotate(-4deg);
}
.ho-form .gfield--type-product:has(> .ginput_container:not(.ginput_container_singleproduct)) > .gfield_label { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }

/* General fields */
.ho-form .gform_wrapper.gravity-theme .gfield:not(.gsection):not(.gfield--type-product) { margin-top: 1.5rem; }
.ho-form .gform_wrapper.gravity-theme .gfield_label,
.ho-form .gform_wrapper.gravity-theme legend.gfield_label {
    margin-bottom: .5rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.0625rem;
}
.ho-form .gform_wrapper.gravity-theme .gfield_required { color: var(--accent); font-family: var(--font-mono); font-size: .75rem; font-weight: 400; }
.ho-form .gform_wrapper.gravity-theme .gform-field-label--type-sub,
.ho-form .gform_wrapper.gravity-theme .ginput_complex label {
    font-family: var(--font-mono);
    font-size: .75rem;
    color: var(--muted);
}

.ho-form .gform_wrapper.gravity-theme input[type="text"],
.ho-form .gform_wrapper.gravity-theme input[type="email"],
.ho-form .gform_wrapper.gravity-theme input[type="tel"],
.ho-form .gform_wrapper.gravity-theme input[type="number"],
.ho-form .gform_wrapper.gravity-theme select,
.ho-form .gform_wrapper.gravity-theme textarea,
.ho-form .gform_wrapper.gravity-theme .StripeElement {
    padding: .8rem .9rem;
    background: var(--bg);
    color: var(--ink);
    border: 2px solid rgba(var(--fg-rgb), .3);
    border-radius: var(--radius);
    font-family: var(--font-body);
    font-size: 1.0625rem;
    line-height: 1.3;
    transition: border-color .15s, background-color .15s;
}
.ho-form .gform_wrapper.gravity-theme input:focus,
.ho-form .gform_wrapper.gravity-theme select:focus,
.ho-form .gform_wrapper.gravity-theme textarea:focus,
.ho-form .gform_wrapper.gravity-theme .StripeElement--focus {
    outline: none;
    border-color: var(--accent);
    background: var(--surface);
}

/* Totals */
.ho-form .gform_wrapper.gravity-theme .gfield--type-total,
.ho-form .gform_wrapper.gravity-theme .gfield--type-tax,
.ho-form .gform_wrapper.gravity-theme .gfield--type-subtotal { margin-top: 1rem; }
.ho-form .gform_wrapper.gravity-theme .ginput_total,
.ho-form .gform_wrapper.gravity-theme .gfield--type-total .ginput_container {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    color: var(--accent);
    font-variant-numeric: tabular-nums;
}

/* Errors */
.ho-form .gform_wrapper.gravity-theme .gfield_error input,
.ho-form .gform_wrapper.gravity-theme .gfield_error select { border-color: #B3261E; }
.ho-form .gform_wrapper.gravity-theme .gform_validation_errors {
    border: 2px solid #B3261E;
    border-radius: var(--radius);
    box-shadow: none;
    background: var(--surface);
}

/* Submit */
.ho-form .gform_wrapper.gravity-theme .gform_footer { margin-top: 2rem; padding: 0; }
.ho-form .gform_wrapper .gform_button {
    width: 100%;
    padding: 1.15rem 1.5rem !important;
    font-size: 1.25rem !important;
}
@media (max-width: 560px) {
    .ho-form .gform_wrapper.gravity-theme .gfield--type-product {
        grid-template-columns: 1fr;
        grid-template-areas: "name" "desc" "buy";
        row-gap: .75rem;
    }
}

/* ==========================================================================
   About Page (template-about.php)
   ========================================================================== */

.about-hero { padding-block: clamp(40px, 6vw, 88px) clamp(64px, 8vw, 112px); overflow: hidden; }
.about-hero__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: clamp(32px, 6vw, 96px);
    align-items: center;
}
.about-hero__grid--solo { grid-template-columns: 1fr; }
.about-hero__title {
    margin-bottom: 2rem;
    font-size: clamp(2.75rem, 7vw, 6.5rem);
    line-height: .88;
    letter-spacing: -.03em;
}
.about-hero__title:not(.sign) { color: var(--ink); }
.about-hero__lead {
    max-width: 38ch;
    margin: 0;
    font-size: clamp(1.25rem, 1.9vw, 1.625rem);
    line-height: 1.4;
}
.about-hero__media { margin-right: 14px; }
.about-hero__media .hero__frame { aspect-ratio: 5 / 6; }
@media (max-width: 860px) {
    .about-hero__grid { grid-template-columns: 1fr; }
    .about-hero__media { max-width: 480px; }
}

.about-story > p:first-child {
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.45;
    color: var(--ink);
}

.mini-places {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 32px);
    margin: 0;
    padding: 0;
    list-style: none;
}
@media (max-width: 1024px) { .mini-places { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .mini-places { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { .mini-places { grid-template-columns: 1fr; } }

.mini-place__link { display: flex; flex-direction: column; gap: .35rem; text-decoration: none; }
.mini-place__media {
    display: block;
    margin-bottom: .75rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3 / 2;
    background: var(--bg2);
}
.mini-place__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.mini-place__link:hover .mini-place__media img { transform: scale(1.03); }
.mini-place__name {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.05;
    letter-spacing: -.01em;
    color: var(--ink);
}
a.mini-place__link:hover .mini-place__name { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
.mini-place__kind { font-family: var(--font-display); font-weight: 600; font-size: .9375rem; color: var(--accent); }

/* ==========================================================================
   News Page (template-news.php)
   ========================================================================== */

.news-head { padding-block: clamp(48px, 7vw, 96px) clamp(40px, 5vw, 64px); }
.news-head__inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
    gap: 1.5rem clamp(32px, 6vw, 96px);
    align-items: end;
}
.news-head__title {
    margin: 0;
    font-size: clamp(2.75rem, 8vw, 7rem);
    line-height: .88;
    letter-spacing: -.03em;
}
.news-head__title:not(.sign) { color: var(--ink); }
.news-head__lead { margin: 0; max-width: 40ch; font-size: 1.25rem; color: var(--muted); }
@media (max-width: 900px) { .news-head__inner { grid-template-columns: 1fr; } }

.news-page__body { padding-bottom: var(--section-y); }

.news-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: clamp(24px, 4vw, 56px);
    align-items: center;
    padding-top: clamp(24px, 3vw, 40px);
    border-top: 2px solid var(--rule);
    text-decoration: none;
}
.news-feature__media {
    display: block;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    box-shadow: 12px 12px 0 var(--ink);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg2);
    margin-right: 12px;
}
.news-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-feature:hover .news-feature__media img { transform: scale(1.025); }
.news-feature__body { display: flex; flex-direction: column; gap: 1rem; align-items: flex-start; }
.news-feature__title {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: clamp(2rem, 3.6vw, 3.25rem);
    line-height: .98;
    letter-spacing: -.02em;
    color: var(--ink);
}
.news-feature:hover .news-feature__title { color: var(--accent); }
@media (max-width: 860px) { .news-feature { grid-template-columns: 1fr; } }

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(40px, 5vw, 64px) clamp(24px, 3vw, 40px);
    margin: clamp(64px, 8vw, 112px) 0 0;
    padding: clamp(32px, 4vw, 48px) 0 0;
    list-style: none;
    border-top: 2px solid var(--rule);
}
@media (max-width: 960px) { .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .news-grid { grid-template-columns: 1fr; } }

.news-card { display: flex; flex-direction: column; gap: .6rem; text-decoration: none; }
.news-card__media {
    display: block;
    margin-bottom: .5rem;
    border: 2px solid var(--ink);
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16 / 10;
    background: var(--bg2);
}
.news-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.news-card:hover .news-card__media img { transform: scale(1.03); }
.news-card__meta { font-family: var(--font-mono); font-size: .8125rem; color: var(--muted); }
.news-card__title {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: clamp(1.25rem, 1.8vw, 1.5rem);
    line-height: 1.15;
    letter-spacing: -.01em;
    color: var(--ink);
}
.news-card:hover .news-card__title { color: var(--accent); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .15em; }
