/*
Theme Name: Bodach's Vault
Theme URI: https://bodachsgames.com/
Author: Bodach's Games
Description: Custom dark theme for Bodach's Games, the St. Louis game store inside an old bank. Weekly events and store info are editable under the "Bodach's Games" menu in wp-admin.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: bodachs-vault
*/

:root {
	--bg: #0b0a09;
	--bg-2: #12100d;
	--surface: #181511;
	--surface-2: #201c16;
	--line: rgba(217, 174, 95, .16);
	--line-2: rgba(217, 174, 95, .32);
	--brass: #d9ae5f;
	--brass-hi: #f3d692;
	--brass-lo: #8a6a2e;
	--text: #efe9df;
	--muted: #a79e90;
	--dim: #6f685d;
	--vault-red: #b3262f;

	--g-magic: #ef7d3c;
	--g-pokemon: #f5c518;
	--g-lorcana: #a88bff;
	--g-riftbound: #35c6cf;
	--g-dnd: #e5484f;
	--g-tabletop: #93a8bd;
	--g-video: #5fd07a;
	--g-other: #c9c1b3;

	--f-display: "Cinzel", "Trajan Pro", Georgia, serif;
	--f-label: "Barlow Condensed", "Arial Narrow", sans-serif;
	--f-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

	--r: 14px;
	--wrap: 1200px;
	--shadow: 0 20px 50px -20px rgba(0, 0, 0, .8);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font: 400 17px/1.65 var(--f-body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brass-hi); text-decoration: none; }
a:hover { color: #fff; }
h1, h2, h3 { margin: 0; line-height: 1.1; text-wrap: balance; }
p { margin: 0 0 1em; text-wrap: pretty; }
.ico { width: 1.15em; height: 1.15em; flex: none; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; top: 10px; left: 10px; z-index: 100; background: var(--brass); color: #000; padding: 8px 14px; border-radius: 8px; }
:focus-visible { outline: 2px solid var(--brass-hi); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: 820px; }

.eyebrow {
	font: 600 15px/1 var(--f-label);
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--brass);
	margin: 0 0 16px;
	display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

h1, h2 { font-family: var(--f-display); font-weight: 700; letter-spacing: .01em; }
h2 { font-size: clamp(30px, 4.2vw, 48px); margin-bottom: 18px; }
h3 { font-family: var(--f-label); font-weight: 700; font-size: 25px; letter-spacing: .02em; text-transform: uppercase; }
.big { font-size: 1.22em; color: var(--text); line-height: 1.5; }

/* Buttons */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 14px 24px;
	font: 700 17px/1 var(--f-label);
	letter-spacing: .12em; text-transform: uppercase;
	border-radius: 999px;
	transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
	white-space: nowrap;
}
.btn .ico { width: 18px; height: 18px; }
.btn-brass {
	color: #1a1307;
	background: linear-gradient(180deg, var(--brass-hi), var(--brass) 55%, #b88c3e);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 10px 30px -10px rgba(217, 174, 95, .55);
}
.btn-brass:hover { color: #000; transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 16px 36px -12px rgba(217, 174, 95, .75); }
.btn-ghost { color: var(--text); border: 1px solid var(--line-2); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { color: #fff; border-color: var(--brass); background: rgba(217, 174, 95, .08); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font: 700 16px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; margin-top: 4px; }
.text-link .ico { transition: transform .2s; }
.text-link:hover .ico { transform: translateX(4px); }

/* Announcement */
.announce { background: var(--vault-red); color: #fff; text-align: center; padding: 9px 16px; font: 600 16px/1.3 var(--f-label); letter-spacing: .08em; text-transform: uppercase; }

/* Header */
.site-head {
	position: sticky; top: 0; z-index: 50;
	background: rgba(11, 10, 9, .72);
	backdrop-filter: blur(14px) saturate(1.2);
	-webkit-backdrop-filter: blur(14px) saturate(1.2);
	border-bottom: 1px solid transparent;
	transition: border-color .3s, background .3s;
}
.site-head.is-scrolled { border-bottom-color: var(--line); background: rgba(11, 10, 9, .9); }
.admin-bar .site-head { top: 32px; }
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }
.brand img { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
	color: var(--muted);
	font: 600 17px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase;
	padding: 10px 12px; border-radius: 8px;
}
.site-nav a:not(.btn):hover { color: var(--text); background: rgba(255, 255, 255, .04); }
.nav-cta { margin-left: 10px; padding: 12px 20px; }
.nav-toggle { display: none; background: none; border: 1px solid var(--line-2); color: var(--text); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; }
.nav-toggle .ico { width: 22px; height: 22px; }

/* Hero */
.hero { position: relative; overflow: hidden; padding: clamp(56px, 8vw, 110px) 0 clamp(64px, 8vw, 120px); isolation: isolate; }
.hero-bg {
	position: absolute; inset: 0; z-index: -2;
	background-size: cover; background-position: center 40%;
	filter: saturate(.8) brightness(.38);
	transform: scale(1.06);
}
.hero::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 70% at 78% 45%, rgba(217, 174, 95, .22), transparent 65%),
		linear-gradient(90deg, rgba(11, 10, 9, .96) 0%, rgba(11, 10, 9, .82) 40%, rgba(11, 10, 9, .4) 100%),
		linear-gradient(0deg, var(--bg) 0%, transparent 30%);
}
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(24px, 4vw, 56px); }
.hero-copy { container-type: inline-size; }
.hero h1 {
	font-size: clamp(34px, 4.4vw, 58px);
	font-size: clamp(34px, 10.2cqi, 60px);
	text-wrap: wrap;
	font-weight: 800; line-height: 1.02; letter-spacing: -.005em;
	margin-bottom: 22px;
	background: linear-gradient(180deg, #fff 0%, #f6e6c2 55%, var(--brass) 100%);
	-webkit-background-clip: text; background-clip: text; color: transparent;
	text-shadow: 0 2px 30px rgba(217, 174, 95, .12);
}
.lede { font-size: clamp(17px, 1.6vw, 20px); color: #d6cfc3; max-width: 36em; }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 14px; }
.cta-note { font-size: 14.5px; color: var(--muted); margin: 0 0 30px; }
.callout { font-size: 15px !important; color: #d6cfc3 !important; padding: 12px 14px; border-radius: 10px; background: rgba(217, 174, 95, .08); border: 1px solid var(--line-2); }
.callout b { color: var(--brass-hi); }
.tonight { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-top: 22px; border-top: 1px solid var(--line); }
.tonight-label { display: inline-flex; align-items: center; gap: 8px; font: 600 15px/1 var(--f-label); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
.chip {
	--c: var(--g-other);
	display: inline-flex; align-items: center; gap: 8px;
	padding: 8px 14px; border-radius: 999px;
	background: color-mix(in srgb, var(--c) 14%, transparent);
	border: 1px solid color-mix(in srgb, var(--c) 45%, transparent);
	font: 600 16px/1 var(--f-label); letter-spacing: .06em; color: #fff;
}
.chip b { color: var(--c); font-weight: 700; }

.hero-portal { position: relative; aspect-ratio: 1; width: 100%; max-width: 620px; justify-self: center; }
.hero-portal img {
	position: absolute; inset: 9%; width: 82%; height: 82%;
	object-fit: cover; border-radius: 50%;
	box-shadow: 0 0 0 6px #0b0a09, 0 0 0 7px var(--line-2), 0 40px 80px -20px rgba(0, 0, 0, .9), 0 0 120px -10px rgba(217, 174, 95, .35);
}
.dial {
	position: absolute; inset: 0; width: 100%; height: 100%;
	stroke: var(--brass); opacity: .6;
	will-change: transform;
	animation: spin 90s linear infinite;
	animation-play-state: paused;
}
.dial-2 { stroke: var(--brass-hi); opacity: .85; animation-duration: 140s; animation-direction: reverse; }
.hero.is-live .dial { animation-play-state: running; }
.nw { white-space: nowrap; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Pillars */
.pillars { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.pillar-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.pillar { display: flex; gap: 14px; align-items: flex-start; padding: 28px 22px; border-left: 1px solid var(--line); }
.pillar:first-child { border-left: 0; padding-left: 0; }
.pillar .ico { width: 30px; height: 30px; color: var(--brass); margin-top: 2px; }
.pillar b { display: block; font: 700 19px/1.2 var(--f-label); letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.pillar span { display: block; font-size: 15px; color: var(--muted); line-height: 1.5; }

/* Sections */
.section { padding: clamp(72px, 9vw, 128px) 0; position: relative; }
.sec-head { max-width: 720px; margin-bottom: clamp(36px, 5vw, 56px); }
.sec-head > p:last-child { color: var(--muted); font-size: 18px; }

/* Cards */
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
	background: linear-gradient(180deg, var(--surface), var(--bg-2));
	border: 1px solid var(--line); border-radius: var(--r); overflow: hidden;
	transition: transform .35s, border-color .35s, box-shadow .35s;
}
.card:hover { transform: translateY(-6px); border-color: var(--line-2); box-shadow: var(--shadow); }
.card-img { aspect-ratio: 4 / 3; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s; }
.card:hover .card-img img { transform: scale(1.05); }
.card-body { padding: 24px 24px 28px; }
.card-body h3 { margin-bottom: 10px; }
.card-body p { color: var(--muted); font-size: 16px; }

/* Mana Vault */
.vault {
	background:
		radial-gradient(50% 60% at 20% 40%, rgba(179, 38, 47, .16), transparent 70%),
		radial-gradient(40% 50% at 90% 80%, rgba(217, 174, 95, .1), transparent 70%),
		var(--bg-2);
	border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.vault-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.vault-photos { position: relative; padding: 0 0 18% 0; }
.vault-photos img { border-radius: var(--r); box-shadow: var(--shadow); }
.vp-main { width: 86%; aspect-ratio: 1200 / 1069; object-fit: cover; border: 1px solid var(--line-2); }
.vp-inset { position: absolute; right: 0; bottom: 0; width: 56%; aspect-ratio: 16 / 9; object-fit: cover; border: 6px solid var(--bg-2); outline: 1px solid var(--line-2); }
.vault-copy h2 { font-size: clamp(40px, 5.6vw, 68px); background: linear-gradient(180deg, #fff, var(--brass)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vault-copy p { color: #cfc7ba; }
.rivets { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
.rivets li { position: relative; padding-left: 30px; font: 600 18px/1.35 var(--f-label); letter-spacing: .05em; text-transform: uppercase; }
.rivets li::before {
	content: ""; position: absolute; left: 0; top: .25em; width: 14px; height: 14px; border-radius: 50%;
	background: radial-gradient(circle at 35% 30%, #fff6dc, var(--brass) 45%, var(--brass-lo) 100%);
	box-shadow: 0 0 0 3px rgba(217, 174, 95, .15);
}

/* Events */
.week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 12px; }
.day {
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--r);
	padding: 16px 12px 14px; display: flex; flex-direction: column; gap: 8px; min-height: 190px;
}
.day.is-today { border-color: var(--brass); box-shadow: 0 0 0 1px var(--brass), 0 20px 50px -25px rgba(217, 174, 95, .6); background: linear-gradient(180deg, #221c12, var(--surface)); }
.day-head { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 0 4px 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; }
.day-name { font: 700 18px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; }
.today-tag { font: 700 12px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; background: var(--brass); color: #1a1307; padding: 5px 7px; border-radius: 6px; }
.ev {
	--c: var(--g-other);
	position: relative; padding: 10px 10px 10px 13px; border-radius: 10px;
	background: color-mix(in srgb, var(--c) 10%, var(--surface-2));
	border-left: 3px solid var(--c);
	display: flex; flex-direction: column; gap: 3px;
}
.ev-time { font: 700 14px/1 var(--f-label); letter-spacing: .1em; text-transform: uppercase; color: var(--c); }
.ev-title { font: 600 16.5px/1.2 var(--f-label); letter-spacing: .02em; color: #fff; }
.ev-note { font-size: 13px; line-height: 1.35; color: var(--muted); }
.ev.is-open { background: transparent; border-left-style: dashed; padding-top: 7px; padding-bottom: 7px; }
.ev.is-open .ev-title { font-size: 15px; color: #d9d2c6; }
.ev.is-featured { background: color-mix(in srgb, var(--c) 22%, var(--surface-2)); box-shadow: 0 0 0 1px color-mix(in srgb, var(--c) 55%, transparent); }
.ev.is-featured::after { content: "★"; position: absolute; top: 8px; right: 9px; color: var(--c); font-size: 13px; }
.ev-empty { color: var(--dim); font-size: 14px; padding: 4px; }
.daily { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; margin: 0 0 16px; padding: 14px 16px; border-radius: var(--r); background: var(--surface); border: 1px dashed var(--line-2); }
.daily-label { font: 700 14px/1 var(--f-label); letter-spacing: .2em; text-transform: uppercase; color: var(--brass); margin-right: 6px; }
.daily-ev { --c: var(--g-other); display: inline-flex; align-items: baseline; gap: 8px; padding: 9px 14px; border-radius: 999px; background: color-mix(in srgb, var(--c) 12%, transparent); border: 1px solid color-mix(in srgb, var(--c) 40%, transparent); font: 600 16px/1.1 var(--f-label); letter-spacing: .03em; color: #fff; }
.daily-ev b { white-space: nowrap; font-size: 12.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--c); }
.daily-ev em { font-style: normal; color: var(--muted); font-size: 14px; }
.legend { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.legend li { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font: 600 15px/1 var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.legend li::before { content: ""; width: 10px; height: 10px; border-radius: 3px; background: var(--c, var(--g-other)); }

.events-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 420px); gap: 28px clamp(32px, 5vw, 72px); align-items: stretch; margin-bottom: clamp(36px, 5vw, 56px); }
.events-head .sec-head { margin-bottom: 0; }
.fb-callout {
	display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
	padding: 20px 24px; border-radius: 18px;
	background: linear-gradient(145deg, rgba(24, 119, 242, .18), rgba(217, 174, 95, .05) 65%), var(--surface);
	border: 1px solid var(--line-2); box-shadow: var(--shadow);
}
.fb-row { display: flex; align-items: center; gap: 10px; }
.fb-row .ico { width: 24px; height: 24px; color: #6ea8ff; }
.fb-callout b { display: block; font: 700 19px/1.2 var(--f-label); letter-spacing: .06em; text-transform: uppercase; }
.fb-callout span { color: var(--muted); font-size: 15px; line-height: 1.45; }
.fb-callout .btn { margin-top: 8px; padding: 11px 18px; font-size: 15px; }
.game-magic { --c: var(--g-magic); }
.game-pokemon { --c: var(--g-pokemon); }
.game-lorcana { --c: var(--g-lorcana); }
.game-riftbound { --c: var(--g-riftbound); }
.game-dnd { --c: var(--g-dnd); }
.game-tabletop { --c: var(--g-tabletop); }
.game-video { --c: var(--g-video); }
.game-other { --c: var(--g-other); }

/* We Buy */
.buy { padding-top: 0; }
.buy-grid {
	display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px 56px; align-items: center;
	padding: clamp(32px, 5vw, 56px); border-radius: 22px;
	background:
		linear-gradient(135deg, rgba(217, 174, 95, .14), rgba(217, 174, 95, .02) 60%),
		var(--surface);
	border: 1px solid var(--line-2);
	position: relative; overflow: hidden;
}
.buy-grid::after {
	content: ""; position: absolute; right: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%;
	border: 2px dashed rgba(217, 174, 95, .18);
}
.buy-grid h2 { font-size: clamp(28px, 3.6vw, 42px); }
.buy-grid p { color: #cfc7ba; }
.buy-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.buy-list li {
	display: flex; align-items: center; justify-content: center; text-align: center; min-height: 64px;
	padding: 12px; border-radius: 12px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2);
	font: 700 18px/1.15 var(--f-label); letter-spacing: .08em; text-transform: uppercase; color: var(--brass-hi);
}
.buy-foot { grid-column: 1 / -1; margin: 0; font-size: 16px; color: var(--muted) !important; }

/* Bodach */
.bodach-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.bodach-photos { position: relative; padding-bottom: 12%; padding-right: 14%; }
.bodach-photos img { border-radius: var(--r); box-shadow: var(--shadow); }
.bp-a { width: 100%; aspect-ratio: 1; object-fit: cover; border: 1px solid var(--line-2); }
.bp-b { position: absolute; right: 0; bottom: 0; width: 42%; aspect-ratio: 4 / 5; object-fit: cover; border: 6px solid var(--bg); outline: 1px solid var(--line-2); transform: rotate(3deg); }
.bodach-grid p { color: #cfc7ba; }
.bodach-grid .btn { margin-top: 10px; }

/* Facebook feed */
.feed { background: var(--bg-2); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.feed-grid { display: grid; grid-template-columns: 1fr 520px; gap: clamp(36px, 6vw, 80px); align-items: start; }
.feed-copy { position: sticky; top: 120px; }
.feed-copy p { color: #cfc7ba; }
.feed-copy .btn { margin-top: 10px; }
.fb-frame {
	position: relative; width: 100%; max-width: 520px; min-height: 620px;
	padding: 10px; border-radius: 22px;
	background: linear-gradient(180deg, #2a241b, #15120e);
	border: 1px solid var(--line-2); box-shadow: var(--shadow);
	display: flex; justify-content: center;
}
.fb-frame iframe { display: block; border: 0; border-radius: 14px; background: #fff; max-width: 100%; position: relative; z-index: 1; }
.fb-fallback { position: absolute; inset: 10px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 30px; color: var(--muted); border-radius: 14px; background: var(--surface); }
.fb-fallback .small { font-size: 14px; max-width: 26em; }
.fb-frame.is-loaded .fb-fallback { display: none; }

/* Private room */
.room { padding-bottom: 0; }
.room-card {
	display: flex; align-items: center; justify-content: space-between; gap: 32px;
	padding: clamp(32px, 5vw, 52px); border-radius: 22px;
	background: radial-gradient(80% 140% at 0% 0%, rgba(179, 38, 47, .28), transparent 60%), var(--surface);
	border: 1px solid var(--line);
}
.room-card > div { max-width: 680px; }
.room-card h2 { font-size: clamp(26px, 3.2vw, 38px); }
.room-card p { color: #cfc7ba; margin: 0; }

/* Visit */
.visit-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: stretch; }
.info-list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 22px; }
.info-list li { display: flex; gap: 16px; }
.info-list .ico { width: 26px; height: 26px; color: var(--brass); margin-top: 2px; }
.info-list b { display: block; font: 700 21px/1.25 var(--f-label); letter-spacing: .04em; }
.info-list b a { color: var(--text); }
.info-list b a:hover { color: var(--brass-hi); }
.info-list span { display: block; color: var(--muted); font-size: 16px; }
.info-list div > a { display: inline-block; margin-top: 6px; font: 700 15px/1 var(--f-label); letter-spacing: .12em; text-transform: uppercase; }
.map { border-radius: 18px; overflow: hidden; border: 1px solid var(--line-2); min-height: 380px; box-shadow: var(--shadow); background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.6) brightness(.95) contrast(.9); }

/* Footer */
.site-foot { margin-top: clamp(72px, 9vw, 120px); border-top: 1px solid var(--line); background: #080706; padding: 56px 0 26px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 36px; }
.foot-mark { width: 240px; margin-bottom: 12px; }
.foot-tag { color: var(--muted); font-size: 15px; }
.site-foot h3 { font-size: 16px; letter-spacing: .2em; color: var(--brass); margin-bottom: 14px; }
.site-foot p { margin: 0 0 8px; color: var(--muted); font-size: 15px; }
.site-foot a { color: var(--text); }
.site-foot a:hover { color: var(--brass-hi); }
.foot-base { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--dim); font-size: 14px; }
.foot-base a { color: var(--muted); }

/* Generic pages */
.page-main { padding: 72px 0 0; }
.entry { padding-bottom: 48px; margin-bottom: 48px; border-bottom: 1px solid var(--line); }
.entry-title { font-size: clamp(32px, 4.5vw, 52px); margin-bottom: 14px; }
.entry-title a { color: var(--text); }
.entry-meta { color: var(--muted); font: 600 15px/1 var(--f-label); letter-spacing: .14em; text-transform: uppercase; }
.entry-body { color: #d6cfc3; }
.entry-body img { border-radius: 10px; }

/* Reveal */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); }
.reveal.in { opacity: 1; transform: none; }
.cards3 .card:nth-child(2), .week .day:nth-child(2) { transition-delay: .06s; }
.cards3 .card:nth-child(3), .week .day:nth-child(3) { transition-delay: .12s; }
.week .day:nth-child(4) { transition-delay: .18s; }
.week .day:nth-child(5) { transition-delay: .24s; }
.week .day:nth-child(6) { transition-delay: .3s; }
.week .day:nth-child(7) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
	.dial { animation: none; }
	html { scroll-behavior: auto; }
	.card, .card-img img, .btn { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
	.site-nav a:not(.btn) { padding: 10px 8px; letter-spacing: .08em; }
	.week { grid-template-columns: repeat(7, minmax(160px, 1fr)); overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 12px; margin: 0 -24px; padding-left: 24px; padding-right: 24px; scrollbar-width: thin; scrollbar-color: var(--brass-lo) transparent; }
	.day { scroll-snap-align: start; }
	.feed-grid { grid-template-columns: 1fr 460px; }
}

@media (max-width: 960px) {
	.nav-toggle { display: inline-flex; }
	.site-nav {
		position: absolute; top: 100%; left: 0; right: 0; z-index: 49;
		flex-direction: column; align-items: stretch; gap: 0;
		padding: 12px 24px 24px; background: rgba(11, 10, 9, .98); border-bottom: 1px solid var(--line);
		transform: translateY(-120%); visibility: hidden; transition: transform .3s, visibility .3s;
	}
	.nav-open .site-nav { transform: none; visibility: visible; }
	.site-nav a:not(.btn) { padding: 16px 4px; font-size: 20px; border-bottom: 1px solid var(--line); border-radius: 0; }
	.nav-cta { margin: 18px 0 0; justify-content: center; }

	.hero-grid { grid-template-columns: 1fr; }
	.hero-portal { order: -1; max-width: 360px; margin-bottom: -8px; }
	.hero::before { background: radial-gradient(70% 45% at 50% 18%, rgba(217, 174, 95, .2), transparent 70%), linear-gradient(0deg, var(--bg) 0%, rgba(11, 10, 9, .85) 55%, rgba(11, 10, 9, .6) 100%); }

	.pillar-row { grid-template-columns: 1fr 1fr; }
	.pillar { border-left: 0; padding: 22px 0; border-top: 1px solid var(--line); }
	.pillar:nth-child(-n+2) { border-top: 0; }
	.pillar:nth-child(even) { padding-left: 20px; border-left: 1px solid var(--line); }

	.cards3 { grid-template-columns: 1fr; max-width: 560px; }
	.vault-grid, .bodach-grid, .visit-grid, .feed-grid { grid-template-columns: 1fr; }
	.events-head { grid-template-columns: 1fr; }
	.feed-copy { position: static; }
	.fb-frame { margin: 0 auto; }
	.buy-grid { grid-template-columns: 1fr; }
	.room-card { flex-direction: column; align-items: flex-start; }
	.foot-grid { grid-template-columns: 1fr 1fr; }
	.foot-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 782px) {
	.admin-bar .site-head { top: 46px; }
}
@media (max-width: 600px) {
	.admin-bar .site-head { top: 0; }
}

@media (max-width: 560px) {
	body { font-size: 16px; }
	.wrap { padding: 0 16px; }
	.head-row { height: 68px; }
	.site-nav { padding: 8px 16px 20px; }
	.brand img { height: 38px; }
	.hero-portal { max-width: 300px; }
	.cta-row .btn { flex: 1 1 100%; justify-content: center; }
	.pillar-row { grid-template-columns: 1fr; }
	.pillar, .pillar:nth-child(even) { padding: 18px 0; border-left: 0; border-top: 1px solid var(--line); }
	.pillar:first-child { border-top: 0; }
	.week { margin: 0 -16px; padding-left: 16px; padding-right: 16px; grid-template-columns: repeat(7, 78%); }
	.buy-list { grid-template-columns: 1fr; }
	.vault-copy h2 { font-size: 36px; }
	.bodach-photos { padding-right: 18%; }
	.foot-grid { grid-template-columns: 1fr; }
	.fb-frame { padding: 6px; border-radius: 16px; }
}
