/* Bo'Jangles theme — main styles */

:root {
	--ground: #16100C;
	--surface: #1E1611;
	--deep: #0F0B08;
	--text: #F3E9DC;
	--soft: #E6D9C8;
	--body: #D6C7B4;
	--muted: #BFAE9A;
	--accent: #E3B06E;
	--line: rgba(243, 233, 220, .14);
	--line-strong: rgba(243, 233, 220, .4);
	--serif: 'Bodoni Moda', Georgia, serif;
	--sans: 'Archivo', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--narrow: 'Archivo Narrow', 'Arial Narrow', sans-serif;
	--radius: 6px;
	--header-h: 96px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--ground); color: var(--text); font-family: var(--sans); font-size: 16px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--text); }
h1, h2, h3, h4 { margin: 0; font-weight: 500; }
p { margin: 0; }
em { font-style: italic; color: var(--accent); }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

.screen-reader-text, .hp { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--accent); color: var(--ground); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.accent { color: var(--accent); }

/* Type */
.eyebrow { margin: 0 0 16px; font-family: var(--narrow); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 13px; color: var(--accent); }
.h2 { font-family: var(--serif); font-size: clamp(36px, 4.4vw, 60px); line-height: 1.05; }
.page-title { font-family: var(--serif); font-size: clamp(48px, 7vw, 96px); line-height: 1; }
.lead { margin-top: 22px; max-width: 600px; font-size: 18px; line-height: 1.7; color: var(--soft); }
.body-lg { margin-top: 22px; font-size: 18px; line-height: 1.7; color: var(--body); }
.kicker { margin: 18px 0 6px; font-family: var(--narrow); letter-spacing: .16em; text-transform: uppercase; font-size: 12px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; margin-top: 20px; font-weight: 600; text-decoration: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; text-decoration: none; cursor: pointer; border: 1px solid transparent; transition: background .2s, filter .2s; }
.btn-lg { min-height: 52px; padding: 0 28px; font-size: 16px; }
.btn-solid { background: var(--accent); color: var(--ground); }
.btn-solid:hover { color: var(--ground); filter: brightness(1.08); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { color: var(--text); background: rgba(243, 233, 220, .08); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }
.btn-row.center { justify-content: center; }
.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(243, 233, 220, .22); color: var(--text); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.pill:hover { color: var(--text); background: rgba(243, 233, 220, .08); }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--ground); border-bottom: 1px solid var(--line); transition: background .25s, border-color .25s; }
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; }
.has-hero .site-header.is-scrolled, .nav-open .site-header { background: rgba(22, 16, 12, .96); border-color: var(--line); }
.admin-bar .site-header { top: 32px; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; }
.site-logo { width: 86px; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 32px; }
.nav-list { display: flex; flex-wrap: wrap; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { display: inline-flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; font-family: var(--narrow); font-weight: 600; font-size: 15px; letter-spacing: .12em; text-transform: uppercase; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--accent); }
.nav-list .sub-menu { display: none; }
.nav-toggle { display: none; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid var(--line-strong); border-radius: 999px; background: transparent; color: var(--text); cursor: pointer; }
.nav-toggle-close { display: none; }

@media (max-width: 960px) {
	:root { --header-h: 76px; }
	.site-logo { width: 66px; }
	.nav-toggle { display: inline-flex; }
	.primary-nav { display: none; position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 24px; padding: 32px 24px; background: var(--ground); overflow-y: auto; }
	.admin-bar .primary-nav { top: calc(var(--header-h) + 46px); }
	.nav-open .primary-nav { display: flex; }
	.nav-open .nav-toggle-open { display: none; }
	.nav-open .nav-toggle-close { display: inline; }
	.nav-list { flex-direction: column; gap: 0; }
	.nav-list a { width: 100%; min-height: 56px; font-size: 20px; border-bottom: 1px solid var(--line); }
	.nav-book { min-height: 52px; }
}
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* Hero */
.hero { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; }
.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(22,16,12,.75) 0%, rgba(22,16,12,.35) 38%, rgba(22,16,12,.93) 100%); }
.hero-inner { position: relative; padding-top: 160px; padding-bottom: 88px; }
.hero-title { font-family: var(--serif); font-size: clamp(56px, 9vw, 128px); line-height: .95; letter-spacing: -.01em; }
.hero .lead { font-size: 19px; max-width: 560px; }

.strip { background: var(--surface); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.strip-inner { display: flex; flex-wrap: wrap; gap: 8px 48px; padding-top: 14px; padding-bottom: 14px; }
.strip a { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; color: var(--soft); text-decoration: none; font-size: 15px; }
.strip a:hover { color: var(--text); }
.strip strong { color: var(--text); }
.strip .icon { color: var(--accent); flex: none; }

/* Sections */
.section { padding-top: 120px; padding-bottom: 120px; }
.band { background: var(--surface); }
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 64px; align-items: center; }
.split.top { align-items: start; }
.section-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 48px; }
.pills { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin: 32px 0 0; padding: 0; }
.pills li { padding: 10px 16px; border-radius: 999px; border: 1px solid rgba(243,233,220,.22); font-size: 14px; }
.photo-stack { position: relative; padding-bottom: 48px; }
.photo-stack img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; border-radius: var(--radius); }
.photo-stack .photo-inset { position: absolute; left: -24px; bottom: 0; width: 46%; aspect-ratio: 16 / 10; border: 6px solid var(--ground); }
@media (max-width: 600px) { .photo-stack .photo-inset { left: 12px; } }
.square { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--radius); }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 28px; }
.card-grid.three { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.dish-card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.dish-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.dish-head h3 { font-family: var(--serif); font-size: 26px; line-height: 1.2; }
.price { flex: none; color: var(--accent); font-weight: 600; }
.dish-card p:last-child { margin-top: 8px; font-size: 15px; color: var(--body); }
.bar-card { display: block; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--text); text-decoration: none; transition: border-color .2s; }
.bar-card:hover { color: var(--text); border-color: var(--line-strong); }
.bar-card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.bar-card div { padding: 24px; }
.bar-card h3 { font-family: var(--serif); font-size: 26px; }
.bar-card p { margin-top: 10px; font-size: 15px; color: var(--body); }

.event-list { list-style: none; margin: 36px 0 0; padding: 0; border-top: 1px solid var(--line); }
.event-list li { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.event-list li span:first-child { font-family: var(--serif); font-size: 24px; }
.event-list li span:last-child { font-family: var(--narrow); letter-spacing: .14em; text-transform: uppercase; font-size: 13px; color: var(--muted); }
.event-list li span.accent { color: var(--accent); }

.video-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 24px; }
.videos-after { margin-top: 72px; }
.video { margin: 0; }
.video-play, .video iframe { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border: 0; padding: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; }
.video-play img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-play:hover img { transform: scale(1.03); }
.video-icon { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(22,16,12,.35); color: var(--text); }
.video-icon svg { stroke-width: 1; }
.video figcaption { margin-top: 14px; font-weight: 600; }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 12px; }
.gallery-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 4px; }
.gallery-grid.large { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
.gallery-link { display: block; overflow: hidden; border-radius: 4px; }
.gallery-link img { transition: transform .4s; }
.gallery-link:hover img { transform: scale(1.04); }
.gallery-content { margin-bottom: 48px; }
.lightbox { max-width: 92vw; max-height: 92vh; padding: 0; border: 0; background: transparent; }
.lightbox::backdrop { background: rgba(10, 7, 5, .92); }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; border-radius: 4px; }
.lightbox-close { position: fixed; top: 16px; right: 16px; width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: 999px; border: 1px solid var(--line-strong); background: var(--ground); color: var(--text); cursor: pointer; }

.cta { position: relative; overflow: hidden; text-align: center; }
.cta::before { content: ''; position: absolute; inset: 0; background: rgba(22,16,12,.82); z-index: 1; }
.cta-inner { position: relative; z-index: 2; max-width: 860px; padding-top: 120px; padding-bottom: 120px; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* Inner page hero */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: rgba(22,16,12,.8); z-index: 1; }
.page-hero-inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 80px; }
.page-hero.short .page-hero-inner { padding-top: 72px; padding-bottom: 56px; }

/* Menu page */
.menu-tabs { position: sticky; top: var(--header-h); z-index: 40; background: var(--ground); border-bottom: 1px solid var(--line); }
.admin-bar .menu-tabs { top: calc(var(--header-h) + 32px); }
.menu-tabs-inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 12px; padding-bottom: 12px; scrollbar-width: thin; }
.menu-tabs .pill { flex: none; }
.menu-body { padding-top: 24px; padding-bottom: 120px; }
.menu-intro { margin-top: 40px; }
.menu-group { margin-top: 80px; padding-bottom: 16px; font-family: var(--narrow); font-weight: 600; letter-spacing: .22em; text-transform: uppercase; font-size: 15px; color: var(--accent); border-bottom: 1px solid var(--accent); }
.menu-group + .muted { margin-top: 16px; }
.menu-section { padding-top: 56px; }
.menu-section.compact { padding-top: 0; margin-bottom: 48px; }
.menu-section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 8px 16px; margin-bottom: 20px; }
.menu-section-head h3 { font-family: var(--serif); font-size: clamp(30px, 3.6vw, 44px); line-height: 1.1; }
.compact .menu-section-head h3 { font-size: 30px; }
.menu-items { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); column-gap: 64px; }
.compact .menu-items { grid-template-columns: 1fr; }
.food-item { padding: 16px 0; border-top: 1px solid rgba(243,233,220,.1); }
.food-item-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.food-item h4 { font-family: var(--narrow); font-weight: 600; font-size: 17px; letter-spacing: .05em; text-transform: uppercase; }
.food-item .price { text-align: right; max-width: 55%; font-size: 15px; }
.food-item p { margin-top: 6px; font-size: 15px; color: var(--body); }

.spirits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr)); gap: 48px 64px; margin-top: 40px; }
.spirits-table h3 { font-family: var(--serif); font-size: 28px; margin-bottom: 12px; }
.spirits-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.spirits-table th, .spirits-table td { padding: 10px 0; border-top: 1px solid rgba(243,233,220,.1); text-align: right; vertical-align: top; }
.spirits-table thead th { border-top: 0; padding-top: 0; font-family: var(--narrow); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 600; }
.spirits-table tbody th { text-align: left; font-weight: 500; padding-right: 12px; }
.spirits-table td { width: 76px; color: var(--accent); font-weight: 600; white-space: nowrap; }
.spirits-table td + td { width: 92px; }

.wine-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); gap: 56px; margin-top: 48px; align-items: start; }
.wine-wrap > img { position: sticky; top: calc(var(--header-h) + 90px); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 800px) { .wine-wrap > img { position: static; aspect-ratio: 16 / 10; } }

/* Visit page */
.visit-top { padding-bottom: 64px; }
.visit-top .page-title em { font-style: italic; }
.contact-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 16px; margin-top: 48px; }
.contact-card { display: flex; flex-direction: column; gap: 8px; padding: 24px; min-height: 130px; border-radius: var(--radius); border: 1px solid rgba(243,233,220,.22); color: var(--text); text-decoration: none; }
.contact-card:hover { color: var(--text); border-color: var(--line-strong); }
.contact-card .icon { color: var(--accent); }
.contact-card strong { font-size: 18px; }
.contact-card span { font-size: 15px; color: var(--body); word-break: break-word; }
.contact-card.primary { background: var(--accent); border-color: var(--accent); color: var(--ground); }
.contact-card.primary .icon, .contact-card.primary span { color: var(--ground); }
.branch-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 24px; padding-bottom: 96px; }
.branch { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.branch img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.branch-body { padding: 28px; }
.branch-body .eyebrow { margin-bottom: 8px; }
.branch h2 { font-family: var(--serif); font-size: 34px; }
.branch-body > p:not(.eyebrow) { margin-top: 10px; color: var(--body); }
.branch .hours { display: flex; gap: 10px; align-items: flex-start; }
.branch .hours .icon { color: var(--accent); flex: none; margin-top: 4px; }
.branch .btn { margin-top: 22px; }

.contact-form { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 18px; }
.contact-form label { display: flex; flex-direction: column; gap: 8px; font-size: 14px; font-weight: 500; }
.contact-form .full { grid-column: 1 / -1; }
.contact-form input, .contact-form select, .contact-form textarea { min-height: 48px; padding: 0 14px; border-radius: 4px; border: 1px solid rgba(243,233,220,.3); background: var(--ground); color: var(--text); }
.contact-form textarea { padding: 14px; resize: vertical; }
.contact-form input::placeholder { color: #9A8A78; }
.notice { padding: 16px 18px; border-radius: 4px; margin-bottom: 24px; }
.notice.success { background: rgba(120, 180, 120, .15); border: 1px solid rgba(140, 200, 140, .5); }
.notice.error { background: rgba(220, 120, 90, .15); border: 1px solid rgba(230, 140, 110, .55); }

/* Generic content */
.entry-content { font-size: 17px; line-height: 1.75; color: var(--body); }
.entry-content > * + * { margin-top: 1.1em; }
.entry-content h2, .entry-content h3 { font-family: var(--serif); color: var(--text); margin-top: 1.6em; }
.entry-content h2 { font-size: 36px; }
.entry-content h3 { font-size: 26px; }
.entry-content img { border-radius: var(--radius); }
.entry-content .wp-block-gallery { gap: 12px; }
.entry-content .wp-block-button__link { background: var(--accent); color: var(--ground); border-radius: 999px; }
.post-summary { padding: 32px 0; border-bottom: 1px solid var(--line); }
.post-summary h2 { font-family: var(--serif); font-size: 30px; }
.post-summary h2 a { color: var(--text); text-decoration: none; }

/* Footer */
.site-footer { background: var(--deep); padding-top: 80px; padding-bottom: 40px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr)); gap: 40px 48px; }
.footer-logo { width: 140px; }
.site-footer .eyebrow { font-size: 13px; letter-spacing: .18em; }
.site-footer p { font-size: 15px; line-height: 1.7; color: var(--body); }
.site-footer p + p { margin-top: 10px; }
.social-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 20px 0 0; padding: 0; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 56px; padding-top: 24px; border-top: 1px solid rgba(243,233,220,.12); font-size: 14px; color: var(--muted); }

/* Floating WhatsApp button */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 60; width: 58px; height: 58px; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: var(--accent); color: var(--ground); box-shadow: 0 8px 24px rgba(0,0,0,.4); }
.wa-float:hover { color: var(--ground); filter: brightness(1.08); }

@media (max-width: 700px) {
	.section { padding-top: 80px; padding-bottom: 80px; }
	.hero-inner { padding-bottom: 64px; }
	.cta-inner { padding-top: 88px; padding-bottom: 88px; }
	.lead, .body-lg { font-size: 17px; }
}

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

/* Anchor offsets under the sticky header + menu tabs */
.menu-group, .menu-section { scroll-margin-top: 180px; }
@media (max-width: 960px) { .menu-group, .menu-section { scroll-margin-top: 150px; } }
