/* Z31PM Station — shack console theme */
:root {
	--bg: #0d1110;
	--bg-alt: #121816;
	--surface: #171f1c;
	--line: #26302c;
	--line-strong: #36423d;
	--text: #e7e3d8;
	--muted: #9aa39d;
	--faint: #6c7671;
	--amber: #f4a940;
	--amber-dim: #a8742c;
	--amber-glow: rgba(244, 169, 64, 0.16);
	--green: #7fd18b;
	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
	--wrap: 1160px;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--radius: 4px;
	--section-y: clamp(4rem, 9vw, 7.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 5rem; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--font-display);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--amber); text-underline-offset: 3px; }
a:hover { color: #ffc56e; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 3px; }
h1, h2, h3 { line-height: 1.1; margin: 0; font-weight: 700; font-stretch: 90%; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.mono { font-family: var(--font-mono); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap-wide { max-width: 1400px; }

.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: -999px; top: 0; z-index: 100; background: var(--amber); color: #111; padding: .6rem 1rem; }
.skip-link:focus { left: 1rem; top: 1rem; }

/* Header */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(13, 17, 16, 0.88);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--line);
}
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 64px; }
.brand { display: flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--text); }
.brand-logo { width: 36px; height: 36px; object-fit: contain; }
.brand-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px var(--amber-glow); }
.brand-call { font-family: var(--font-mono); font-weight: 600; font-size: 1.1rem; letter-spacing: .08em; }
.primary-nav { margin-left: auto; }
.primary-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; }
.primary-nav a {
	display: block; padding: .5rem .75rem; color: var(--muted); text-decoration: none;
	font-size: .95rem; border-radius: var(--radius);
}
.primary-nav a:hover, .primary-nav .current-menu-item > a { color: var(--text); background: var(--surface); }
.primary-nav .sub-menu { display: none; }
.clock {
	display: flex; align-items: baseline; gap: .45rem;
	font-family: var(--font-mono); font-size: .9rem;
	padding: .35rem .7rem; border: 1px solid var(--line-strong); border-radius: var(--radius);
}
.clock-label { color: var(--faint); font-size: .72rem; letter-spacing: .1em; }
.clock-utc { color: var(--amber); font-variant-numeric: tabular-nums; }
.nav-toggle { display: none; }

@media (max-width: 900px) {
	.header-inner { gap: .75rem; }
	.clock { margin-left: auto; order: 2; }
	.nav-toggle {
		display: inline-flex; order: 3; align-items: center; justify-content: center;
		width: 44px; height: 44px; background: none; border: 1px solid var(--line-strong);
		border-radius: var(--radius); color: var(--text); cursor: pointer;
	}
	.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
		display: block; width: 18px; height: 2px; background: currentColor; position: relative; content: "";
	}
	.nav-toggle-bars::before { position: absolute; top: -6px; }
	.nav-toggle-bars::after { position: absolute; top: 6px; }
	.primary-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--bg); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1rem;
	}
	.primary-nav.is-open { display: block; }
	.primary-nav ul { flex-direction: column; }
	.primary-nav a { padding: .8rem .5rem; font-size: 1.05rem; }
}

/* Hero */
.hero {
	position: relative; overflow: hidden;
	padding: clamp(4rem, 10vw, 8rem) 0 0;
	border-bottom: 1px solid var(--line);
	background:
		radial-gradient(60% 80% at 75% 10%, rgba(244, 169, 64, 0.08), transparent 60%),
		linear-gradient(var(--bg), var(--bg-alt));
}
.hero::before {
	content: ""; position: absolute; inset: 0; pointer-events: none;
	background-image:
		linear-gradient(to right, rgba(255,255,255,0.025) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,0.025) 1px, transparent 1px);
	background-size: 48px 48px;
	mask-image: linear-gradient(to bottom, #000 30%, transparent 95%);
}
.hero-spectrum { position: absolute; left: 0; right: 0; bottom: 92px; height: 160px; opacity: .55; pointer-events: none; }
.hero-spectrum svg { width: 100%; height: 100%; }
.trace { fill: none; stroke: var(--amber); stroke-width: 1.4; vector-effect: non-scaling-stroke; filter: drop-shadow(0 0 6px rgba(244,169,64,.5)); }
.hero-inner { position: relative; padding-bottom: clamp(3.5rem, 8vw, 6rem); }
.eyebrow {
	display: inline-flex; align-items: center; gap: .6rem; margin: 0 0 1.25rem;
	font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
}
.tx-led { width: 8px; height: 8px; border-radius: 50%; background: #e2513c; box-shadow: 0 0 10px #e2513c; animation: blink 2.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: .25; } }
.hero-call {
	font-family: var(--font-display);
	font-size: clamp(4.5rem, 17vw, 13rem);
	font-weight: 800; font-stretch: 112%;
	letter-spacing: -0.035em; line-height: .85;
	color: var(--text);
}
.call-digit { color: var(--amber); }
.hero-tagline { margin: 1.5rem 0 .5rem; font-size: clamp(1.15rem, 2.2vw, 1.5rem); color: var(--text); max-width: 40ch; }
.hero-note { color: var(--muted); max-width: 56ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.hero-small .hero-inner { padding-bottom: clamp(4rem, 10vw, 8rem); }

.btn {
	display: inline-flex; align-items: center; min-height: 46px; padding: .7rem 1.25rem;
	font: 600 .95rem/1 var(--font-display); text-decoration: none; border-radius: var(--radius);
	border: 1px solid transparent; cursor: pointer; transition: background .15s, color .15s, border-color .15s;
}
.btn-primary { background: var(--amber); color: #15110a; }
.btn-primary:hover { background: #ffc56e; color: #15110a; }
.btn-ghost { border-color: var(--line-strong); color: var(--text); }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

.readout {
	position: relative; margin: 0;
	display: grid; grid-template-columns: repeat(5, 1fr);
	border-top: 1px solid var(--line);
}
.readout > div { padding: 1.1rem 1rem 1.3rem; border-left: 1px solid var(--line); }
.readout > div:first-child { border-left: 0; padding-left: 0; }
.readout dt { font: 500 .7rem/1 var(--font-mono); letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: .55rem; }
.readout dd { margin: 0; font: 600 1.35rem/1 var(--font-mono); color: var(--amber); font-variant-numeric: tabular-nums; }
@media (max-width: 760px) {
	.readout { grid-template-columns: repeat(2, 1fr); }
	.readout > div { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; }
	.readout > div:nth-child(-n+2) { border-top: 0; }
	.readout > div:last-child { grid-column: span 2; }
}

/* Sections */
.section { padding: var(--section-y) 0; border-bottom: 1px solid var(--line); }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 2.5rem; }
.section-head h2 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
.kicker { font-size: .78rem; letter-spacing: .14em; color: var(--amber); margin: 0 0 .75rem; text-transform: uppercase; }
.lead { color: var(--muted); margin-top: 1rem; max-width: 46ch; }
.grid-2 { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 6vw, 5rem); align-items: start; }
.grid-2 .section-head { margin-bottom: 0; position: sticky; top: 6rem; }
@media (max-width: 860px) {
	.grid-2 { grid-template-columns: 1fr; gap: 2rem; }
	.grid-2 .section-head { position: static; }
}

.prose { max-width: 68ch; }
.prose > * + * { margin-top: 1em; }
.prose p { margin: 0; }
.prose p:first-child { font-size: 1.2rem; }
.prose h2, .prose h3 { margin-top: 2em; }
.prose img, .prose figure { border-radius: var(--radius); }
.prose blockquote { margin: 1.5em 0; padding-left: 1.25rem; border-left: 2px solid var(--amber); color: var(--muted); }
.prose table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.prose th, .prose td { text-align: left; padding: .6rem .75rem; border-bottom: 1px solid var(--line); }
.prose th { font: 500 .75rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.station-photo { margin-bottom: 1.5rem; border-radius: var(--radius); }

.facts { list-style: none; padding: 0; margin: 2rem 0 0; border-top: 1px solid var(--line); }
.facts li { display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.facts span { flex: 0 0 7rem; font: 500 .75rem/1.9 var(--font-mono); letter-spacing: .12em; text-transform: uppercase; color: var(--faint); }

/* Equipment */
.gear { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); }
.gear-col h3 { font-size: .8rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--faint); margin-bottom: 1rem; }
.gear-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-strong); }
.gear-list li { display: flex; flex-direction: column; gap: .2rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.gear-list strong { font-size: 1.15rem; font-weight: 600; }
.gear-list span { color: var(--muted); font-size: .95rem; }
@media (max-width: 700px) { .gear { grid-template-columns: 1fr; } }

/* Bands */
.bandplan {
	list-style: none; margin: 0; padding: 0;
	display: grid; grid-template-columns: repeat(auto-fill, minmax(92px, 1fr)); gap: 6px;
}
.band {
	position: relative; padding: 1rem .85rem 1.1rem;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--faint);
}
.band::after {
	content: ""; position: absolute; left: .85rem; right: .85rem; bottom: .55rem; height: 3px;
	background: var(--line-strong); border-radius: 2px;
}
.band-name { display: block; font-weight: 700; font-size: 1.3rem; font-stretch: 95%; }
.band-mhz { font-size: .75rem; }
.band-mhz::after { content: " MHz"; }
.band.is-on { color: var(--text); border-color: var(--amber-dim); background: linear-gradient(180deg, var(--amber-glow), var(--surface) 70%); }
.band.is-on .band-mhz { color: var(--amber); }
.band.is-on::after { background: var(--amber); box-shadow: 0 0 8px rgba(244,169,64,.6); }
.modes { list-style: none; margin: 1.75rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.modes li { padding: .45rem .85rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .85rem; letter-spacing: .06em; }

/* QSL */
.qsl-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.qsl {
	display: grid; grid-template-columns: 1fr auto; gap: .15rem 1rem;
	padding: 1.1rem 1.2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--faint);
}
.qsl-name { font-weight: 700; font-size: 1.2rem; }
.qsl-desc { grid-column: 1; font-size: .88rem; }
.qsl-state { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; padding: .3rem .55rem; border: 1px solid var(--line-strong); border-radius: 3px; }
.qsl.is-yes { color: var(--text); }
.qsl.is-yes .qsl-desc { color: var(--muted); }
.qsl.is-yes .qsl-state { color: var(--green); border-color: rgba(127,209,139,.4); }
@media (max-width: 560px) { .qsl-grid { grid-template-columns: 1fr; } }

/* Awards */
.awards-layout { display: grid; grid-template-columns: 7fr 4fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.awards { list-style: none; counter-reset: aw; margin: 0; padding: 0; columns: 2; column-gap: 2.5rem; }
.awards li {
	counter-increment: aw; break-inside: avoid;
	display: flex; gap: 1rem; padding: .85rem 0; border-bottom: 1px solid var(--line);
}
.awards li::before { content: counter(aw, decimal-leading-zero); font: 500 .8rem/1.9 var(--font-mono); color: var(--amber); }
.activity { padding: 1.75rem; border: 1px solid var(--amber-dim); border-radius: var(--radius); background: linear-gradient(160deg, var(--amber-glow), transparent 60%); }
.activity h3 { font-size: 1.6rem; margin-bottom: .75rem; }
.activity p:not(.kicker) { color: var(--muted); }
@media (max-width: 900px) { .awards-layout { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .awards { columns: 1; } }

/* Propagation */
.solar { margin: 0; }
.solar a { display: inline-block; padding: 1rem; background: #fff; border-radius: var(--radius); }
.solar img { width: 460px; max-width: 100%; }
.solar figcaption { margin-top: .75rem; font-size: .78rem; color: var(--faint); }

/* Contact */
.contact { text-align: left; }
.contact-inner h2 { font-size: clamp(2.5rem, 7vw, 5rem); font-stretch: 105%; }

/* Inner pages */
.page-head { padding: clamp(3.5rem, 8vw, 6rem) 0 2.5rem; border-bottom: 1px solid var(--line); background: var(--bg-alt); }
.page-title { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-content { padding-top: 3rem; padding-bottom: var(--section-y); }
.page-content-full { max-width: 1400px; }
.page-photo { margin-top: 3rem; border-radius: var(--radius); }
.page-list { padding-left: 1.2rem; }
.search-form { display: flex; gap: .5rem; max-width: 30rem; }
.search-form input {
	flex: 1; min-height: 46px; padding: 0 1rem; background: var(--surface); color: var(--text);
	border: 1px solid var(--line-strong); border-radius: var(--radius); font: inherit;
}

/* Block editor alignment */
.alignwide { max-width: 1100px; }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-button__link { background: var(--amber); color: #15110a; border-radius: var(--radius); }
.wp-block-separator { border: 0; border-top: 1px solid var(--line); }

/* Footer */
.site-footer { padding: 3rem 0; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; }
.footer-sign { display: flex; align-items: baseline; gap: 1rem; }
.footer-call { font-weight: 800; font-size: 1.6rem; font-stretch: 110%; letter-spacing: -0.02em; }
.footer-note { color: var(--muted); font-family: var(--font-mono); font-size: .9rem; }
.footer-nav ul { list-style: none; display: flex; flex-wrap: wrap; gap: 1.25rem; margin: 0; padding: 0; }
.footer-nav a { color: var(--muted); text-decoration: none; }
.footer-nav a:hover { color: var(--text); }
.footer-meta { margin: 0; color: var(--faint); font-size: .8rem; letter-spacing: .06em; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.tx-led { animation: none; }
}

@media (max-width: 760px) {
	.hero-spectrum { bottom: 230px; height: 70px; opacity: .4; }
}

/* ---------- v2: multipage ---------- */
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* Dropdown menus */
.primary-nav li { position: relative; }
.primary-nav .is-section > a, .primary-nav .current-menu-ancestor > a, .primary-nav .current-page-ancestor > a { color: var(--text); }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; margin-left: .4rem; width: 5px; height: 5px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-3px) rotate(45deg); opacity: .7; }
@media (min-width: 901px) {
	.primary-nav .sub-menu {
		display: block; position: absolute; top: 100%; left: 0; min-width: 11rem; padding: .4rem;
		background: var(--bg-alt); border: 1px solid var(--line-strong); border-radius: var(--radius);
		flex-direction: column; opacity: 0; visibility: hidden; transform: translateY(4px);
		transition: opacity .15s, transform .15s, visibility .15s;
	}
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
	.primary-nav .sub-menu a { font-family: var(--font-mono); font-size: .85rem; letter-spacing: .06em; }
}
@media (max-width: 900px) {
	.primary-nav .sub-menu { display: flex; padding-left: 1rem; border-left: 1px solid var(--line); margin-left: .5rem; }
	.primary-nav .sub-menu a { padding: .55rem .5rem; font-family: var(--font-mono); font-size: .9rem; }
	.primary-nav { max-height: calc(100vh - 64px); overflow-y: auto; }
}

/* Page head */
.page-head .lead { margin-bottom: 0; }
.crumbs a { color: var(--amber); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.crumbs span { color: var(--faint); margin: 0 .35rem; }
.page-content-tight { padding-top: 3rem; padding-bottom: 0; }
.page-content-tight + .section { border-top: 0; }

/* Explore tiles */
.explore { padding: clamp(3rem, 6vw, 4.5rem) 0; }
.tiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.tile {
	position: relative; display: flex; flex-direction: column; gap: .35rem; height: 100%;
	padding: 1.5rem 1.4rem 1.6rem; text-decoration: none; color: var(--text);
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	transition: border-color .15s, background .15s;
}
.tile:hover { border-color: var(--amber-dim); background: linear-gradient(160deg, var(--amber-glow), var(--surface) 70%); color: var(--text); }
.tile-num { font-size: .75rem; color: var(--amber); letter-spacing: .1em; }
.tile-title { font-size: 1.5rem; font-weight: 700; font-stretch: 95%; margin-top: .6rem; }
.tile-sub { color: var(--muted); font-size: .95rem; }
.tile-arrow { position: absolute; top: 1.3rem; right: 1.4rem; color: var(--faint); transition: transform .15s, color .15s; }
.tile:hover .tile-arrow { color: var(--amber); transform: translateX(3px); }
@media (max-width: 900px) { .tiles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .tiles { grid-template-columns: 1fr; } }

.section-head-row { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem; }

/* Mode tabs */
.gallery-intro { margin-bottom: 2rem; }
.mode-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 2rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.mode-tab {
	display: inline-flex; align-items: center; gap: .6rem; min-height: 44px; padding: .55rem 1.1rem;
	border: 1px solid var(--line-strong); border-radius: 999px; color: var(--text); text-decoration: none;
	font-weight: 600; font-size: .95rem;
}
.mode-tab .mono { font-size: .75rem; color: var(--faint); font-weight: 500; }
.mode-tab:hover { border-color: var(--amber); color: var(--amber); }
.mode-tab.is-active { background: var(--amber); border-color: var(--amber); color: #15110a; }
.mode-tab.is-active .mono { color: rgba(21,17,10,.65); }

/* QSL card grid */
.qsl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1.25rem; }
.qsl-card-btn {
	display: flex; flex-direction: column; width: 100%; height: 100%; padding: 0; text-align: left;
	background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
	color: var(--text); font: inherit; cursor: zoom-in; overflow: hidden;
	transition: border-color .15s, transform .15s;
}
.qsl-card-btn:hover { border-color: var(--amber-dim); transform: translateY(-2px); }
.qsl-card-btn:disabled { cursor: default; transform: none; }
.qsl-card-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 14 / 9; background: #0a0d0c; padding: .6rem; }
.qsl-card-img img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.45); }
.qsl-card-blank { color: var(--faint); font-size: 1.2rem; letter-spacing: .1em; }
.qsl-card-info { display: flex; flex-direction: column; gap: .15rem; padding: .9rem 1rem 1rem; border-top: 1px solid var(--line); }
.qsl-card-call { font-weight: 600; font-size: 1.1rem; letter-spacing: .06em; color: var(--amber); }
.qsl-card-country { font-size: .95rem; }
.qsl-card-meta { font-size: .75rem; color: var(--faint); letter-spacing: .05em; }
.qsl-empty { padding: 3rem 1.5rem; text-align: center; border: 1px dashed var(--line-strong); border-radius: var(--radius); color: var(--muted); }
.qsl-empty p { margin-bottom: 1rem; }
.pager { margin-top: 2.5rem; display: flex; gap: .35rem; flex-wrap: wrap; }
.pager .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 .75rem; border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); text-decoration: none; font-family: var(--font-mono); }
.pager .current { background: var(--amber); border-color: var(--amber); color: #15110a; }

/* Lightbox */
.lightbox { width: min(1100px, 94vw); max-height: 94vh; padding: 0; border: 1px solid var(--line-strong); border-radius: var(--radius); background: var(--bg-alt); color: var(--text); }
.lightbox::backdrop { background: rgba(5, 7, 6, .86); backdrop-filter: blur(3px); }
.lightbox-img { width: 100%; max-height: 74vh; object-fit: contain; background: #0a0d0c; }
.lightbox-cap { display: flex; flex-wrap: wrap; align-items: baseline; gap: .4rem 1rem; padding: 1rem 1.25rem 1.2rem; }
.lightbox-title { color: var(--amber); font-size: 1.2rem; letter-spacing: .06em; }
.lightbox-meta { color: var(--muted); font-size: .9rem; }
.lightbox-note { flex-basis: 100%; margin: .25rem 0 0; color: var(--muted); font-size: .95rem; }
.lightbox-note:empty { display: none; }
.lightbox-close { position: absolute; top: .6rem; right: .6rem; width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(13,17,16,.8); color: var(--text); font-size: 1.6rem; line-height: 1; cursor: pointer; }
.lightbox-close:hover { color: var(--amber); }
.gallery { padding-top: clamp(2.5rem, 5vw, 3.5rem); }

/* ---------- v2.1: awards gallery ---------- */
.award-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 1.25rem; }
.award-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s; }
.award-card:hover { border-color: var(--amber-dim); }
.award-card-btn { display: block; width: 100%; padding: 0; border: 0; background: none; font: inherit; color: inherit; cursor: zoom-in; }
.award-card-btn.is-empty { cursor: default; }
.award-card-img {
	position: relative; display: flex; align-items: center; justify-content: center;
	aspect-ratio: 11 / 8.5; padding: .75rem;
	background: radial-gradient(70% 70% at 50% 40%, rgba(244,169,64,.10), transparent 70%), #0a0d0c;
}
.award-card-img img { width: 100%; height: 100%; object-fit: contain; box-shadow: 0 6px 18px rgba(0,0,0,.45); transition: transform .2s; }
.award-card-btn.js-zoom:hover img { transform: scale(1.02); }
.award-seal svg { width: 72px; height: 72px; fill: none; stroke: var(--amber-dim); stroke-width: 1.6; stroke-linejoin: round; }
.award-seal-num { position: absolute; bottom: .9rem; left: 0; right: 0; text-align: center; font-size: .8rem; color: var(--faint); letter-spacing: .08em; }
.award-card-info { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1rem 1.1rem 1.15rem; border-top: 1px solid var(--line); }
.award-card-title { font-size: 1.12rem; font-weight: 700; font-stretch: 95%; line-height: 1.25; }
.award-card-meta { margin: 0; font-size: .75rem; color: var(--faint); letter-spacing: .04em; }
.award-endorse { list-style: none; margin: .1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.award-endorse li { padding: .2rem .5rem; font-size: .7rem; border: 1px solid var(--line-strong); border-radius: 3px; color: var(--muted); }
.award-link { margin-top: auto; padding-top: .35rem; font-size: .85rem; font-weight: 600; text-decoration: none; align-self: flex-start; }
.award-link:hover { text-decoration: underline; }
.awards-layout-single { grid-template-columns: minmax(0, 560px); }
#activity { border-bottom: 1px solid var(--line); }
.primary-nav .sub-menu a { white-space: nowrap; }

/* ---------- v3: editable home page ---------- */
.home-block[hidden] { display: none; }
.hero.has-photo .hero-photo { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: .28; filter: grayscale(.35); }
.hero.has-photo .hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(13,17,16,.35), var(--bg) 92%); }
@media (min-width: 901px) {
	.tiles-4, .tiles-7, .tiles-8 { grid-template-columns: repeat(4, 1fr); }
	.tiles-7 li:last-child, .tiles-5 li:last-child { grid-column: span 2; }
	.tiles-2 { grid-template-columns: 1fr 1fr; }
	.tiles-1 { grid-template-columns: 1fr; }
}
.explore .section-head { margin-bottom: 1.75rem; }
.home-text .prose p:first-child { font-size: 1.15rem; }
.muted { color: var(--muted); }

/* ---------- v3: blog ---------- */
.post-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.post-cards-list { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .post-cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-cards, .post-cards-list { grid-template-columns: 1fr; } }
.post-card { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .15s, transform .15s; }
.post-card:hover { border-color: var(--amber-dim); transform: translateY(-2px); }
.post-card-img { display: block; text-decoration: none; aspect-ratio: 16 / 9; background: radial-gradient(70% 80% at 30% 30%, var(--amber-glow), transparent 70%), #0a0d0c; overflow: hidden; }
.post-card-img img { width: 100%; height: 100%; object-fit: cover; }
.post-card-ph { display: flex; align-items: center; justify-content: center; height: 100%; font-size: 1.6rem; font-weight: 600; letter-spacing: .1em; color: var(--amber-dim); text-transform: uppercase; }
.post-card-page .post-card-body { padding-top: 1.2rem; }
.post-card-body { display: flex; flex-direction: column; gap: .5rem; flex: 1; padding: 1rem 1.15rem 1.2rem; }
.post-meta { margin: 0; font-size: .75rem; letter-spacing: .05em; color: var(--faint); }
.post-meta a { color: var(--amber); text-decoration: none; }
.post-pin { color: var(--amber); }
.post-card-title { font-size: 1.3rem; font-stretch: 95%; }
.post-card-title a { color: var(--text); text-decoration: none; }
.post-card-title a:hover { color: var(--amber); }
.post-card-excerpt { margin: 0; color: var(--muted); font-size: .95rem; }
.post-card-more { margin-top: auto; padding-top: .35rem; font-size: .9rem; }

.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(2rem, 5vw, 4rem); padding-top: 3rem; padding-bottom: var(--section-y); align-items: start; }
@media (max-width: 960px) { .blog-layout { grid-template-columns: 1fr; } }
.blog-side { display: flex; flex-direction: column; gap: 2rem; position: sticky; top: 6rem; }
@media (max-width: 960px) { .blog-side { position: static; } }
.widget-title { margin-bottom: .85rem; }
.widget ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.widget li { display: flex; justify-content: space-between; gap: .75rem; padding: .6rem 0; border-bottom: 1px solid var(--line); font-size: .95rem; }
.widget li a { color: var(--text); text-decoration: none; }
.widget li a:hover { color: var(--amber); }
.widget li .mono { color: var(--faint); font-size: .8rem; }
.widget .search-form { flex-direction: column; }
.widget .search-form input { width: 100%; }
.tag-list { display: flex; flex-wrap: wrap; gap: .4rem; margin: 2rem 0 0; }
.tag-list a { padding: .25rem .6rem; border: 1px solid var(--line-strong); border-radius: 999px; font: .8rem var(--font-mono); color: var(--muted); text-decoration: none; }
.tag-list a:hover { border-color: var(--amber); color: var(--amber); }
.widget .tag-list { margin: 0; }

.post-title { max-width: 22ch; }
.page-head .post-meta { margin-top: 1.25rem; font-size: .8rem; }
.post-hero { margin: 0 0 2rem; }
.post-hero img { width: 100%; border-radius: var(--radius); }
.post-content { max-width: 70ch; }
.post-content p:first-child { font-size: 1.2rem; }
.post-content img { height: auto; }
.post-content figcaption { font-size: .85rem; color: var(--faint); margin-top: .5rem; }
.post-navigation { margin-top: 3rem; border-top: 1px solid var(--line); }
.post-navigation .nav-links { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.post-navigation a { display: flex; flex-direction: column; gap: .35rem; padding: 1.25rem 0; text-decoration: none; color: var(--text); }
.post-navigation a:hover .nav-title { color: var(--amber); }
.post-navigation .nav-next { text-align: right; grid-column: 2; }
.post-navigation .nav-title { font-weight: 600; font-size: 1.05rem; }
.post-navigation .kicker { margin: 0; }
.pager { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 2.5rem; }
.pager .nav-links { display: flex; flex-wrap: wrap; gap: .4rem; }
.pager .page-numbers.current { background: var(--amber); border-color: var(--amber); color: #15110a; }

/* Comments */
.comments { margin-top: 3rem; padding-top: 2.5rem; border-top: 1px solid var(--line); }
.comments-title, .comment-reply-title { font-size: 1.6rem; margin-bottom: 1.5rem; }
.comment-list, .comment-list .children { list-style: none; margin: 0; padding: 0; }
.comment-list .children { margin-left: clamp(1rem, 4vw, 2.5rem); }
.comment-body { padding: 1.25rem 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: .65rem; font-weight: 600; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { font: .75rem var(--font-mono); margin: .35rem 0 .75rem; }
.comment-metadata a { color: var(--faint); text-decoration: none; }
.comment-content p { margin: 0 0 .75em; }
.reply a { font-size: .85rem; font-weight: 600; text-decoration: none; }
.comment-respond { margin-top: 2rem; }
.comment-form { display: grid; gap: 1rem; }
.comment-form label { display: block; font: 500 .75rem var(--font-mono); letter-spacing: .1em; text-transform: uppercase; color: var(--faint); margin-bottom: .35rem; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; padding: .75rem .9rem; background: var(--bg-alt); border: 1px solid var(--line-strong); border-radius: var(--radius); color: var(--text); font: inherit;
}
.comment-form input:focus, .comment-form textarea:focus { border-color: var(--amber); outline: none; }
.comment-form-cookies-consent { display: flex; gap: .5rem; align-items: center; }
.comment-form-cookies-consent label { margin: 0; text-transform: none; letter-spacing: 0; font: .9rem var(--font-display); color: var(--muted); }
.comment-form .submit { cursor: pointer; border: 0; }

/* Block editor content inside posts */
.prose .wp-block-image img { border-radius: var(--radius); }
.prose .wp-block-quote, .prose blockquote { margin-left: 0; }
.prose pre, .prose code { font-family: var(--font-mono); font-size: .9em; background: var(--bg-alt); border-radius: 3px; }
.prose pre { padding: 1rem; overflow-x: auto; border: 1px solid var(--line); }
.prose code { padding: .1em .35em; }
.prose ul, .prose ol { padding-left: 1.3rem; }
.alignwide { max-width: none; }
.sticky .post-card { border-color: var(--amber-dim); }
