/* The Winslow: dark heritage gin house. Tokens from .factory/config/design-dna.json */
:root {
	--ink: #1c1714;
	--panel: #2b2522;
	--green: #1b3b2e;
	--gold: #b88d46;
	--gold-hi: #cda05a;
	--cream: #f5ecd9;
	--text: #f3eee6;
	--muted: #b9ada0;
	--line: rgba(184, 141, 70, .35);
	--display: "Zilla Slab", Georgia, serif;
	--body: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--radius: 2px;
	--wrap: 1200px;
	--gutter: clamp(16px, 4vw, 40px);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 17px/1.65 var(--body); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--gold-hi); text-underline-offset: 3px; }
a:hover { color: var(--cream); }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 600; line-height: 1.1; color: var(--cream); margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.4rem, 5.2vw, 4.2rem); text-transform: uppercase; }
h2 { font-size: clamp(1.7rem, 3vw, 2.5rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1.1em; }
:focus-visible { outline: 2px solid var(--gold-hi); outline-offset: 3px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--gold); color: var(--ink); padding: 10px 16px; z-index: 100; }
.skip-link:focus { left: 8px; top: 8px; }

.eyebrow, .label { font: 600 .78rem/1.4 var(--body); letter-spacing: .2em; text-transform: uppercase; color: var(--gold-hi); margin-bottom: 1rem; }
.section-title { text-transform: uppercase; letter-spacing: .02em; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 26px; border: 1px solid var(--gold); border-radius: var(--radius); font: 600 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; transition: background .2s, color .2s, border-color .2s; }
.btn--gold { background: var(--gold); color: #1c1714; }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: #1c1714; }
.btn--ghost { background: transparent; color: var(--cream); }
.btn--ghost:hover { background: rgba(184, 141, 70, .15); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.link-arrow { font: 600 .8rem/1.4 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--gold-hi); text-decoration: none; }
.link-arrow::after { content: " \2192"; }

/* Top bar + header */
.topbar { background: var(--green); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.topbar__inner { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.topbar a { color: var(--cream); text-decoration: none; }
.site-header { position: relative; z-index: 20; background: var(--ink); border-bottom: 1px solid var(--line); }
.site-header--over { position: absolute; left: 0; right: 0; background: linear-gradient(rgba(20, 16, 14, .75), rgba(20, 16, 14, 0)); border-bottom: 0; }
.site-header--over.is-scrolled { position: fixed; top: 0; background: rgba(28, 23, 20, .96); border-bottom: 1px solid var(--line); }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; min-height: 76px; gap: 24px; }
.brand { text-decoration: none; display: flex; flex-direction: column; line-height: 1; }
.brand__name { font: 700 1.6rem/1 var(--display); color: var(--cream); text-transform: uppercase; letter-spacing: .04em; margin: 0; }
.brand__tag { font: 600 .66rem/1 var(--body); letter-spacing: .3em; text-transform: uppercase; color: var(--gold-hi); margin-top: 6px; }
.primary-nav { display: flex; align-items: center; gap: 28px; }
.nav-list { list-style: none; display: flex; gap: 24px; margin: 0; padding: 0; }
.nav-list a { color: var(--text); text-decoration: none; font: 500 .8rem/1 var(--body); letter-spacing: .12em; text-transform: uppercase; padding: 10px 0; display: inline-block; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--gold-hi); }
.nav-list .sub-menu { display: none; }
.nav-cta { min-height: 42px; padding: 0 18px; }
.nav-toggle { display: none; width: 48px; height: 48px; background: none; border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; position: relative; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after { position: absolute; left: 13px; width: 20px; height: 2px; background: var(--cream); content: ""; transition: transform .2s; }
.nav-toggle__bar { top: 23px; }
.nav-toggle__bar::before { left: 0; top: -6px; }
.nav-toggle__bar::after { left: 0; top: 6px; }

/* Hero */
.hero { position: relative; min-height: min(92vh, 860px); display: flex; align-items: flex-end; overflow: hidden; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 16, 14, .85) 0%, rgba(20, 16, 14, 0) 32%), linear-gradient(90deg, rgba(20, 16, 14, .88) 0%, rgba(20, 16, 14, .55) 55%, rgba(20, 16, 14, .3) 100%), linear-gradient(0deg, rgba(20, 16, 14, .9) 0%, rgba(20, 16, 14, 0) 45%); }
.hero__inner { position: relative; z-index: 1; padding-top: 180px; padding-bottom: clamp(56px, 9vh, 110px); }
.hero__title { max-width: 14ch; }
.hero__sub { max-width: 52ch; font-size: 1.1rem; color: var(--text); margin-bottom: 1.8rem; }

/* Intro */
.intro { padding: clamp(64px, 9vw, 120px) 0; }
.intro__grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.intro__text p { color: var(--muted); max-width: 60ch; }
.intro__hours { background: var(--panel); border-top: 2px solid var(--gold); padding: 28px; }
.hours { margin: 0; }
.hours div { display: flex; justify-content: space-between; gap: 16px; padding: 7px 0; }
.hours div + div { border-top: 1px solid rgba(243, 238, 230, .08); }
.hours dt { font-weight: 500; }
.hours dd { margin: 0; color: var(--muted); }
.hours .is-today dt, .hours .is-today dd { color: var(--gold-hi); }

/* Doors: one big + two stacked */
.doors { padding-bottom: clamp(64px, 9vw, 120px); }
.doors__grid { display: grid; grid-template-columns: 1.15fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.door { position: relative; display: block; overflow: hidden; text-decoration: none; color: var(--text); min-height: 300px; border-radius: var(--radius); }
.door--big { grid-row: span 2; min-height: 620px; }
.door img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.door::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 14, .96) 0%, rgba(20, 16, 14, .78) 38%, rgba(20, 16, 14, .3) 75%, rgba(20, 16, 14, .2) 100%); }
.door__title, .door__body p { text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.door:hover img { transform: scale(1.04); }
.door__body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 28px; }
.door__body p { color: var(--text); max-width: 42ch; margin-bottom: .8em; }
.door__title { text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 2rem); }

/* Gin club tastings */
.ginclub { padding-bottom: clamp(64px, 9vw, 120px); }
.ginclub__grid { display: grid; grid-template-columns: 1.1fr 1fr; align-items: stretch; background: var(--green); border-radius: var(--radius); overflow: hidden; }
.ginclub__img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; }
.ginclub__text { padding: clamp(32px, 5vw, 64px); align-self: center; }
.ginclub__text > p:not(.eyebrow):not(.ginclub__note) { color: var(--text); max-width: 46ch; margin-bottom: 1.6em; }
.ginclub__note { margin: 18px 0 0; font-size: .9rem; }
.ginclub__note a { color: var(--cream); }
@media (max-width: 960px) { .ginclub__grid { grid-template-columns: 1fr; } .ginclub__img { min-height: 260px; } }

/* 3D tour */
.tour { padding-bottom: clamp(64px, 9vw, 120px); }
.tour__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 24px; }
.tour__head p { color: var(--muted); margin: 0; }
.tour__frame { position: relative; aspect-ratio: 16 / 9; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.tour__frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.45) sepia(.3); }
.tour__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.tour__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); cursor: pointer; }
@media (max-width: 600px) { .tour__frame { aspect-ratio: 4 / 5; } }

/* Weekly list */
.week { background: var(--panel); padding: clamp(64px, 8vw, 110px) 0; }
.week__list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.week__list a { display: grid; grid-template-columns: 110px 1fr; grid-template-areas: "day what" "day when"; column-gap: 20px; padding: 22px 24px; background: var(--ink); border-left: 2px solid var(--gold); text-decoration: none; color: var(--text); min-height: 100%; align-content: start; transition: background .2s; }
.week__list a:hover { background: #241e1b; }
.week__day { grid-area: day; font: 600 .78rem/1.4 var(--body); letter-spacing: .16em; text-transform: uppercase; color: var(--gold-hi); padding-top: 6px; }
.week__what { grid-area: what; font: 600 1.35rem/1.2 var(--display); color: var(--cream); }
.week__when { grid-area: when; color: var(--muted); font-size: .95rem; }

/* Feature band */
.feature { position: relative; padding: clamp(80px, 12vw, 160px) 0; overflow: hidden; }
.feature__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: sepia(.8) saturate(1.1) brightness(.62) contrast(1.05); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(28, 23, 20, .7), rgba(60, 40, 20, .35)); }
.feature__inner { position: relative; z-index: 1; }
.feature__panel { max-width: 560px; background: rgba(28, 23, 20, .92); border-top: 2px solid var(--gold); padding: clamp(28px, 4vw, 48px); }
.feature__panel p { color: var(--text); }

/* Gallery */
.gallery { padding: clamp(64px, 9vw, 120px) 0; }
.gallery__head { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.gallery__grid img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); }

/* Visit */
.visit { padding: 0 0 clamp(64px, 9vw, 120px); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.visit__addr { font: 600 1.5rem/1.3 var(--display); color: var(--cream); }
.visit__grid p { color: var(--muted); }
.visit__map { width: 100%; height: 380px; border: 1px solid var(--line); border-radius: var(--radius); filter: grayscale(.4) brightness(.85); }

/* Inner pages */
.page-hero { position: relative; min-height: 380px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero--plain { min-height: 0; padding: 72px 0 24px; border-bottom: 1px solid var(--line); }
.page-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero:not(.page-hero--plain)::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 16, 14, .92), rgba(20, 16, 14, .35)); }
.page-hero__inner { position: relative; z-index: 1; padding-top: 120px; padding-bottom: 40px; }
.page-hero__title { max-width: 22ch; font-size: clamp(2rem, 4.4vw, 3.4rem); }
.prose { max-width: 820px; padding-top: 48px; padding-bottom: 96px; }
.prose p, .prose li { color: #e6dfd4; }
.prose h2 { margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose img { border-radius: var(--radius); margin: 1.5em 0; }
.prose figure { margin: 1.5em 0; }
.prose table { width: 100%; border-collapse: collapse; margin: 1.5em 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid rgba(243, 238, 230, .1); }
.prose th { color: var(--gold-hi); font-weight: 600; }
.prose blockquote { border-left: 2px solid var(--gold); margin: 1.5em 0; padding: 4px 0 4px 20px; color: var(--cream); }
.prose .wp-block-button__link { background: var(--gold); color: var(--ink); border-radius: var(--radius); text-transform: uppercase; letter-spacing: .12em; font-size: .82rem; font-weight: 600; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; padding-top: 48px; padding-bottom: 48px; }
.post-card__img { display: block; background: var(--panel); border-radius: var(--radius); overflow: hidden; }
.post-card__img img { aspect-ratio: 16 / 10; object-fit: contain; width: 100%; background: #15110f; }
.pager .nav-links { display: flex; gap: 8px; flex-wrap: wrap; }
.pager .page-numbers { display: inline-flex; min-width: 44px; min-height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); color: var(--cream); text-decoration: none; border-radius: var(--radius); }
.pager .page-numbers.current, .pager .page-numbers:hover { background: var(--gold); color: var(--ink); border-color: var(--gold); }
.post-card__date { color: var(--muted); font-size: .85rem; margin: 14px 0 6px; }
.post-card__title { font-size: 1.3rem; }
.post-card__title a { color: var(--cream); text-decoration: none; }
.pager { padding-bottom: 80px; }


/* Inner page layout */
.crumbs { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.crumbs a { color: var(--gold-hi); text-decoration: none; }
.page-hero__lede { max-width: 60ch; color: var(--text); font-size: 1.08rem; margin: 0; }
.page-hero__meta { color: var(--muted); margin: 0; }
.page-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(32px, 5vw, 72px); align-items: start; }
.page-layout--post { grid-template-columns: minmax(0, 780px); justify-content: center; }
.page-layout .prose { max-width: none; padding-top: 56px; padding-bottom: 80px; }
.page-aside { position: sticky; top: 24px; padding-top: 56px; padding-bottom: 40px; }
.aside-card { background: var(--panel); border-top: 2px solid var(--gold); padding: 28px; }
.aside-card a { color: var(--cream); text-decoration: none; }
.aside-card__addr { font: 600 1.15rem/1.35 var(--display); }
.aside-card .hours { font-size: .92rem; margin: 18px 0 22px; }
.aside-card__ctas { display: grid; gap: 10px; }
.prose > *:first-child { margin-top: 0; }
.prose h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.prose a { color: var(--gold-hi); }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold); }
.prose strong { color: var(--cream); }
.prose .wp-block-columns { display: flex; gap: 28px; margin: 1.5em 0; flex-wrap: wrap; }
.prose .wp-block-column { flex: 1 1 260px; min-width: 0; }
.prose .wp-block-image img { width: 100%; height: auto; }
.prose .wp-block-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.prose .wp-block-gallery figure { margin: 0; }
.prose .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; margin: 0; }
.prose figcaption { color: var(--muted); font-size: .85rem; margin-top: 8px; }
.prose hr, .prose .wp-block-separator { border: 0; border-top: 1px solid var(--line); margin: 2.5em 0; }
.prose details { background: var(--panel); border-left: 2px solid var(--gold); margin: 0 0 10px; }
.prose summary { cursor: pointer; padding: 16px 44px 16px 20px; font-weight: 600; color: var(--cream); list-style: none; position: relative; }
.prose summary::-webkit-details-marker { display: none; }
.prose summary::after { content: "+"; position: absolute; right: 20px; top: 12px; font-size: 1.4rem; color: var(--gold-hi); }
.prose details[open] summary::after { content: "\2212"; }
.prose details > *:not(summary) { padding: 0 20px; }
.prose details > *:last-child { padding-bottom: 16px; }
.prose .wp-block-button__link { display: inline-flex; min-height: 48px; align-items: center; padding: 0 26px; text-decoration: none; }

/* CTA band */
.cta-band { background: var(--green); padding: clamp(48px, 7vw, 88px) 0; }
.cta-band__inner { display: flex; justify-content: space-between; align-items: center; gap: 28px 48px; flex-wrap: wrap; }
.cta-band h2 { margin-bottom: .3em; }
.cta-band p { margin: 0; max-width: 56ch; color: var(--text); }


/* Landing sections (built from core blocks) */
.page-hero--tall { min-height: min(72vh, 640px); }
.page-hero__ctas { margin-top: 26px; }
.landing { overflow-x: clip; }
.w-sec { padding: clamp(56px, 8vw, 104px) var(--gutter); margin: 0; }
.w-sec > * { max-width: calc(var(--wrap) - 2 * var(--gutter)); margin-left: auto !important; margin-right: auto !important; }
.w-sec h2 { text-transform: uppercase; letter-spacing: .02em; margin-bottom: .6em; }
.w-sec p, .w-sec li { color: #e6dfd4; max-width: 68ch; }
.w-sec a:not(.wp-block-button__link) { color: var(--gold-hi); }
.w-sec .wp-block-list { padding-left: 1.2em; }
.w-sec li::marker { color: var(--gold); }
.w-sec strong { color: var(--cream); }
.w-split .wp-block-columns { gap: clamp(28px, 5vw, 72px); align-items: center; margin: 0; }
.w-split .wp-block-image { margin: 0; }
.w-split .wp-block-image img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.w-split + .w-split, .w-text { background: var(--panel); }
.w-facts { background: var(--green); padding-top: 48px; padding-bottom: 48px; }
.w-facts h2 { font-size: 1.1rem; letter-spacing: .16em; color: var(--gold-hi); }
.w-facts__row { gap: 24px; margin: 0; }
.w-facts__row .wp-block-column { border-left: 2px solid var(--gold); padding-left: 18px; }
.w-fact__value { font: 700 clamp(1.8rem, 3.4vw, 2.6rem)/1.05 var(--display); color: var(--cream) !important; margin: 0 0 6px; }
.w-fact__label { font-size: .9rem; color: var(--text) !important; margin: 0; letter-spacing: .04em; }
.w-list__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 28px !important; }
.w-list__grid > .wp-block-group { margin: 0 !important; max-width: none; }
.w-card { background: var(--panel); border-top: 2px solid var(--gold); padding: 24px; }
.w-card h3 { font-size: 1.25rem; margin-bottom: .4em; }
.w-card p { margin: 0; font-size: .97rem; max-width: none; }

.w-gallery .wp-block-gallery { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.w-gallery .wp-block-gallery figure.wp-block-image { width: 100% !important; margin: 0 !important; }
.w-gallery .wp-block-gallery img { aspect-ratio: 1; object-fit: cover; width: 100%; height: 100% !important; border-radius: var(--radius); }
.w-faq { background: var(--panel); }
.w-faq .wp-block-details { max-width: 900px; margin-left: 0 !important; }
.w-faq .wp-block-details, .w-faq h2 { margin-left: max(0px, calc((100% - (var(--wrap) - 2 * var(--gutter))) / 2)) !important; }
.w-split + .w-list, .w-list + .w-split, .w-split + .w-gallery, .w-gallery + .w-split, .w-list + .w-gallery, .w-gallery + .w-list, .w-text + .w-faq, .w-faq + .w-text, .w-split + .w-split + .w-text { padding-top: 0; }

.w-faq .wp-block-details { background: var(--ink); border-left: 2px solid var(--gold); margin: 0 auto 10px !important; padding: 0; }
.w-faq summary { cursor: pointer; padding: 18px 48px 18px 22px; font-weight: 600; color: var(--cream); list-style: none; position: relative; }
.w-faq summary::-webkit-details-marker { display: none; }
.w-faq summary::after { content: "+"; position: absolute; right: 22px; top: 13px; font-size: 1.5rem; color: var(--gold-hi); }
.w-faq details[open] summary::after { content: "\2212"; }
.w-faq details p { padding: 0 22px 18px; margin: 0; }
.w-cta { background: linear-gradient(rgba(20, 16, 14, .82), rgba(20, 16, 14, .82)), var(--green); text-align: center; border-top: 1px solid var(--line); }
.w-cta > * { max-width: 720px; }
.w-cta p { margin-left: auto; margin-right: auto; }
.w-cta .wp-block-buttons { justify-content: center; gap: 14px; }
.wp-block-button__link { background: var(--gold); color: var(--ink); border: 1px solid var(--gold); border-radius: var(--radius); min-height: 48px; padding: 0 26px; display: inline-flex; align-items: center; font: 600 .82rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; text-decoration: none; }
.wp-block-button__link:hover { background: var(--gold-hi); color: var(--ink); }
.is-style-outline .wp-block-button__link { background: transparent; color: var(--cream); }
.is-style-outline .wp-block-button__link:hover { background: rgba(184, 141, 70, .15); color: var(--cream); }
@media (max-width: 780px) {
	.w-split.is-flipped .wp-block-columns { flex-direction: column-reverse; }
	.w-facts__row { display: grid !important; grid-template-columns: 1fr 1fr; }
	.w-facts__row > .wp-block-column:nth-child(3):last-child { grid-column: span 2; }
	.w-gallery .wp-block-gallery { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-right: calc(var(--gutter) * -1) !important; padding-right: var(--gutter); }
	.w-gallery .wp-block-gallery::-webkit-scrollbar { display: none; }
	.w-gallery .wp-block-gallery figure.wp-block-image { scroll-snap-align: start; }
	.w-gallery .wp-block-gallery img { aspect-ratio: 4 / 5; }
}

/* Menu images: full, uncropped, one per row */
.w-gallery--menu .wp-block-gallery { display: grid !important; grid-template-columns: 1fr !important; grid-auto-flow: row !important; overflow: visible !important; max-width: 820px; margin: 0 auto !important; gap: 24px; padding: 0 !important; }
.w-gallery--menu .wp-block-gallery figure.wp-block-image { display: block !important; height: auto !important; flex: none !important; }
.w-gallery .wp-block-gallery.w-menu-imgs img, .w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img, .w-gallery--menu .wp-block-gallery img { aspect-ratio: auto !important; height: auto !important; width: 100% !important; object-fit: contain !important; flex: none !important; }

/* Event request layout */
.w-er-intro { text-align: center; }
@media (max-width: 600px) { .w-er-intro { text-align: left; } .w-er-intro .wp-block-buttons { justify-content: flex-start; } }
.w-er-intro > * { max-width: 760px; }
.w-er-intro p { margin-left: auto; margin-right: auto; font-size: 1.1rem; }
.w-er-intro .wp-block-buttons { justify-content: center; margin: 24px auto !important; }
.w-er-note { font-size: .95rem !important; color: var(--muted) !important; }
.w-er-spaces { padding-top: clamp(32px, 5vw, 56px); }
.w-er-spaces .wp-block-columns { gap: 20px; align-items: stretch; }
.w-er-spaces .wp-block-column { background: var(--panel); border-top: 2px solid var(--gold); }
.w-er-spaces .wp-block-image { margin: 0; }
.w-er-spaces .wp-block-image { background: #fff; }
.w-er-spaces .wp-block-image img { width: 100%; height: auto; display: block; }
.w-er-spaces .wp-block-column > h2 { font-size: 1.4rem; padding: 22px 24px 0; margin: 0 0 .4em; }
.w-er-spaces .wp-block-column > p { padding: 0 24px; font-size: .96rem; }
.w-er-book { background: var(--panel); }
.w-er-book .wp-block-columns { gap: clamp(28px, 5vw, 64px); align-items: flex-start; }
.w-er-form-col { background: var(--cream); color: #241e1b; padding: clamp(24px, 3vw, 40px); border-top: 3px solid var(--gold); scroll-margin-top: 90px; }
.w-er-form-col h2 { color: #1c1714; }
.w-er-form-col input, .w-er-form-col select, .w-er-form-col textarea { background: #fff; color: #1c1714; border-color: #cbbfa9; }
.w-er-form-col label { color: #241e1b; }
.w-er-form-col a { color: #6b4f22; }
.w-er-info h2 { font-size: 1.4rem; }
.w-er-info p { font-size: .97rem; color: #e6dfd4; }
.w-er-info strong, .w-er-info em { font-weight: 400; font-style: normal; color: inherit; }
.w-er-form-col h1 { display: none; }
.w-er-form-col input[type="checkbox"], .w-er-form-col input[type="radio"], input[type="checkbox"], input[type="radio"] { width: auto; min-height: 0; display: inline-block; margin-right: 8px; vertical-align: middle; }
.w-er-form-col select { min-width: 90px; }
#h-schedule-your-event { scroll-margin-top: 90px; }

/* Imported legacy content safety net */
.prose .wp-block-embed, .prose iframe { max-width: 100%; }
.prose .wp-block-embed iframe, .prose iframe[src*="youtube"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
.prose .has-black-color, .prose [class*="has-"][class*="-color"]:not(.wp-block-button__link) { color: inherit !important; }
.prose .has-background:not(.wp-block-button__link) { background: var(--panel) !important; }
.mai-toc, .mai-toc__showhide { display: none !important; }
.prose .mai-grid .entries-wrap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.prose .mai-grid img { aspect-ratio: 4 / 3; object-fit: cover; margin: 0 0 8px; }
.prose img { max-height: 720px; width: auto; }
.prose p:empty { display: none; }
@media (max-width: 600px) { .prose .mai-grid .entries-wrap { grid-template-columns: 1fr 1fr; } }

/* Forms (event request, contact) */
input, select, textarea { width: 100%; background: var(--panel); color: var(--text); border: 1px solid rgba(243, 238, 230, .2); border-radius: var(--radius); padding: 12px 14px; font: inherit; min-height: 48px; }
input:focus, select:focus, textarea:focus { border-color: var(--gold); outline: none; }
button[type="submit"], input[type="submit"] { width: auto; background: var(--gold); color: var(--ink); border: 0; padding: 0 28px; text-transform: uppercase; letter-spacing: .14em; font-weight: 600; cursor: pointer; }

/* Footer */
.site-footer { background: #15110f; border-top: 1px solid var(--line); padding-top: 64px; font-size: .95rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.2fr 1.2fr 1fr .8fr; gap: 40px; }
.site-footer a { color: var(--text); text-decoration: none; }
.site-footer a:hover { color: var(--gold-hi); }
.site-footer__addr { margin-top: 14px; }
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links li { padding: 4px 0; }
.giftcard { display: inline-block; margin-top: 10px; text-decoration: none; }
.giftcard img { width: 220px; border-radius: 6px; border: 1px solid var(--line); margin-bottom: 10px; transition: transform .2s; }
.giftcard:hover img { transform: translateY(-2px); }
.site-footer__base { border-top: 1px solid rgba(243, 238, 230, .08); margin-top: 48px; padding-top: 20px; padding-bottom: 28px; color: var(--muted); font-size: .82rem; }
.site-footer__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px 24px; }
.site-footer__base p { margin: 0; }
.legal-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: var(--muted); }
.legal-links a:hover { color: var(--gold-hi); }
.legal h2 { font-size: 1.4rem; text-transform: none; }

/* Responsive */
@media (max-width: 1080px) {
	.nav-list { gap: 16px; }
	.site-footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); background: var(--ink); flex-direction: column; align-items: flex-start; padding: 96px 28px 28px; gap: 24px; transform: translateX(100%); transition: transform .25s ease; border-left: 1px solid var(--line); z-index: 30; }
	.primary-nav { visibility: hidden; }
	.nav-open .primary-nav { transform: none; visibility: visible; }
	.nav-toggle { z-index: 40; }
	.nav-open .nav-toggle__bar { background: transparent; }
	.nav-open .nav-toggle__bar::before { transform: translateY(6px) rotate(45deg); }
	.nav-open .nav-toggle__bar::after { transform: translateY(-6px) rotate(-45deg); }
	.nav-list { flex-direction: column; gap: 4px; }
	.nav-list a { font-size: .95rem; padding: 12px 0; }
	.intro__grid, .visit__grid { grid-template-columns: 1fr; }
	.doors__grid { grid-template-columns: none; grid-template-rows: none; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.doors__grid::-webkit-scrollbar { display: none; }
	.door, .door--big { grid-row: auto; min-height: 440px; scroll-snap-align: start; }
	.week__list { grid-template-columns: 1fr; }
	.post-grid { grid-template-columns: 1fr 1fr; }
	.page-layout { grid-template-columns: 1fr; }
	.page-aside { position: static; padding-top: 0; }
}
@media (max-width: 600px) {
	body { font-size: 16px; }
	.topbar__inner { font-size: .72rem; }
	.hero__inner { padding-top: 140px; padding-right: 24px; }
	.hero .eyebrow { letter-spacing: .14em; }
	.visit__map { height: 260px; }
	.nav-open::after { content: ""; position: fixed; inset: 0; background: rgba(10, 8, 7, .6); z-index: 25; }
	.nav-open .site-header { z-index: 50; }
	.door, .door--big { min-height: 420px; }
	.week__list a { grid-template-columns: 1fr; grid-template-areas: "day" "what" "when"; }
	.gallery__grid { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 78%; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gutter); margin: 0 calc(var(--gutter) * -1); padding: 0 var(--gutter) 10px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
	.gallery__grid::-webkit-scrollbar { display: none; }
	.gallery__grid img { scroll-snap-align: start; aspect-ratio: 4 / 5; }
	.post-grid { grid-template-columns: 1fr; }
	.site-footer__grid { grid-template-columns: 1fr; gap: 28px; }
	.btn-row .btn { flex: 1 1 100%; }
}
/* Mobile quick-action bar */
.mobile-bar { display: none; }
@media (max-width: 960px) {
	.mobile-bar { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 22; padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(21, 17, 15, .97); border-top: 1px solid var(--line); }
	.mobile-bar .btn { min-height: 48px; padding: 0 12px; }
	.mobile-bar .btn--ghost { background: var(--ink); }
	.site-footer { padding-bottom: 76px; }
	.nav-cta { display: none; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* Menu images: true proportions (fixes extra space under lazy-loaded pages) and a tighter gap */
.w-gallery--menu .wp-block-gallery { gap: 12px !important; }
.w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img.wp-image-153, .w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img.wp-image-154 { aspect-ratio: 1214 / 2000 !important; }
.w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img.wp-image-155 { aspect-ratio: 1545 / 1999 !important; }
.w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img.wp-image-156, .w-gallery--menu .wp-block-gallery.is-cropped figure.wp-block-image img.wp-image-157 { aspect-ratio: 1294 / 2000 !important; }
