/*
Theme Name: Luxray
Theme URI: https://mkvdigitaluxurygazette.com
Author: MKV Digital
Description: A minimalist luxury editorial theme: full-bleed hero slider, editor's letter, latest stories, areas of interest mosaic and a private-list sign-up.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: luxray
*/

/* ---------- Tokens ---------- */
:root {
	--ivory: #f7f3ec;
	--paper: #efe8dc;
	--ink: #15120e;
	--ink-2: #2b261f;
	--muted: #6e655a;
	--line: #ddd3c3;
	--gold: #7d6134;
	--gold-line: #b39567;
	--gold-soft: #cbb184;
	--serif: "Cormorant Garamond", "Times New Roman", serif;
	--sans: "Jost", "Helvetica Neue", Arial, sans-serif;
	--container: 1240px;
	--gutter: clamp(20px, 5vw, 64px);
	--section: clamp(88px, 11vw, 168px);
	--header-h: 96px;
	--ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	overflow-x: clip;
	background: var(--ivory);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 17px;
	font-weight: 300;
	line-height: 1.75;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; transition: color .35s var(--ease), opacity .35s var(--ease); }
a:hover { color: var(--gold); }
:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }
::selection { background: var(--gold-soft); color: var(--ink); }
h1, h2, h3, h4, h5, h6 { margin: 0 0 .5em; font-family: var(--serif); font-weight: 400; line-height: 1.1; }
p { margin: 0 0 1.2em; }
button, input, textarea, select { font: inherit; color: inherit; }

.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	clip: auto; clip-path: none;
	width: auto; height: auto;
	top: 12px; left: 12px; z-index: 100;
	padding: 12px 20px;
	background: var(--ink); color: var(--ivory);
}

.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: calc(740px + var(--gutter) * 2); }
.container--wide { max-width: calc(1480px + var(--gutter) * 2); }

/* ---------- Type ---------- */
.eyebrow {
	display: inline-flex; align-items: center; gap: 16px;
	margin: 0 0 24px;
	color: var(--muted);
	font-family: var(--sans); font-size: 11px; font-weight: 400;
	letter-spacing: .34em; text-transform: uppercase;
	line-height: 1.6;
}
.eyebrow--gold { color: var(--gold); }
.eyebrow--lined::before { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }
.section-head .eyebrow--lined::after,
.page-header .eyebrow--lined::after,
.entry-header .eyebrow--lined::after,
.subscribe .eyebrow--lined::after,
.banner .eyebrow--lined::after { content: ""; width: 36px; height: 1px; background: currentColor; opacity: .7; }

.display { margin-bottom: 28px; font-size: clamp(38px, 4.6vw, 64px); font-weight: 300; line-height: 1.06; letter-spacing: -.005em; }
.lead { color: var(--ink-2); font-family: var(--serif); font-size: clamp(21px, 2vw, 26px); font-weight: 400; line-height: 1.5; }

.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 12px;
	min-height: 54px; padding: 0 38px;
	border: 1px solid var(--ink); border-radius: 0;
	background: transparent; color: var(--ink);
	font-family: var(--sans); font-size: 11px; font-weight: 400;
	letter-spacing: .3em; text-transform: uppercase;
	cursor: pointer;
	transition: background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn:hover { background: var(--ink); color: var(--ivory); }

.link-arrow {
	display: inline-flex; align-items: center; gap: 16px;
	color: var(--ink);
	font-size: 11px; font-weight: 400; letter-spacing: .3em; text-transform: uppercase;
}
.link-arrow::after { content: ""; width: 28px; height: 1px; background: var(--gold-line); transition: width .45s var(--ease); }
.link-arrow:hover { color: var(--ink); }
.link-arrow:hover::after { width: 52px; }

.meta-line {
	display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px;
	margin-bottom: 14px;
	color: var(--muted);
	font-size: 11px; letter-spacing: .26em; text-transform: uppercase;
}
.meta-line__cat { color: var(--gold); }
.meta-line__cat + span::before { content: ""; display: inline-block; width: 18px; height: 1px; margin-right: 18px; background: var(--line); vertical-align: middle; }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(247, 243, 236, .94);
	border-bottom: 1px solid var(--line);
	color: var(--ink);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	transition: background .5s var(--ease), border-color .5s var(--ease), color .5s var(--ease);
}
.has-hero .site-header { position: fixed; left: 0; right: 0; background: transparent; border-color: transparent; color: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
.has-hero .site-header.is-scrolled,
.has-hero.menu-open .site-header { background: rgba(247, 243, 236, .94); border-color: var(--line); color: var(--ink); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

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

.wordmark { display: inline-flex; flex-direction: column; align-items: flex-start; color: inherit; line-height: 1; white-space: nowrap; }
.wordmark:hover { color: inherit; opacity: .75; }
.wordmark__small { margin-bottom: 9px; padding-left: .12em; font-family: var(--sans); font-size: 9.5px; font-weight: 400; letter-spacing: .55em; text-transform: uppercase; opacity: .85; }
.wordmark__main { font-family: var(--serif); font-size: 29px; font-weight: 400; letter-spacing: .16em; text-transform: uppercase; }
.custom-logo { max-height: 56px; width: auto; }

.primary-nav .menu { display: flex; gap: 46px; margin: 0; padding: 0; list-style: none; }
.primary-nav .menu > li { position: relative; }
.primary-nav a { position: relative; display: inline-block; padding: 8px 0; font-size: 11px; font-weight: 400; letter-spacing: .32em; text-transform: uppercase; }
.primary-nav a:hover { color: inherit; }
.primary-nav .menu > li > a::after {
	content: ""; position: absolute; left: 0; bottom: 2px;
	width: 100%; height: 1px; background: currentColor;
	transform: scaleX(0); transform-origin: right;
	transition: transform .5s var(--ease);
}
.primary-nav .menu > li > a:hover::after,
.primary-nav .current-menu-item > a::after,
.primary-nav .current-menu-parent > a::after { transform: scaleX(1); transform-origin: left; }

.primary-nav .sub-menu {
	position: absolute; top: 100%; left: -28px; min-width: 240px;
	margin: 0; padding: 22px 28px;
	list-style: none;
	background: var(--ivory); border: 1px solid var(--line);
	color: var(--ink);
	opacity: 0; visibility: hidden; transform: translateY(10px);
	transition: opacity .4s var(--ease), transform .4s var(--ease), visibility .4s;
}
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: none; }
.primary-nav .sub-menu a { display: block; padding: 7px 0; letter-spacing: .24em; }
.primary-nav .sub-menu a:hover { color: var(--gold); }

.site-header__actions { display: flex; align-items: center; gap: 6px; margin-right: -10px; }
.icon-btn { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: none; color: inherit; cursor: pointer; }
.icon-btn svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.icon-btn:hover { opacity: .65; }

.menu-toggle { display: none; flex-direction: column; justify-content: center; align-items: center; gap: 8px; }
.menu-toggle span { display: block; width: 26px; height: 1px; background: currentColor; transition: transform .45s var(--ease); }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 40;
	padding: calc(var(--header-h) + 56px) var(--gutter) 56px;
	overflow-y: auto;
	background: var(--ivory); color: var(--ink);
	opacity: 0; visibility: hidden;
	transition: opacity .5s var(--ease), visibility .5s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; }
.mobile-menu .menu, .mobile-menu .sub-menu { margin: 0; padding: 0; list-style: none; }
.mobile-menu .menu > li > a { font-family: var(--serif); font-size: 40px; font-weight: 300; line-height: 1.5; }
.mobile-menu .sub-menu { margin: 4px 0 18px; }
.mobile-menu .sub-menu a { font-size: 11px; letter-spacing: .3em; text-transform: uppercase; line-height: 2.6; color: var(--muted); }

@media (max-width: 960px) {
	:root { --header-h: 78px; }
	.primary-nav { display: none; }
	.menu-toggle { display: flex; }
	.wordmark__main { font-size: 23px; }
	.wordmark__small { font-size: 8.5px; margin-bottom: 7px; }
}
@media (max-width: 420px) {
	.wordmark__main { font-size: 20px; letter-spacing: .12em; }
	.wordmark__small { letter-spacing: .45em; }
}

/* ---------- Search overlay ---------- */
.search-overlay {
	position: fixed; inset: 0; z-index: 60;
	display: flex; align-items: center;
	background: var(--ivory); color: var(--ink);
	opacity: 0; visibility: hidden;
	transition: opacity .5s var(--ease), visibility .5s;
}
.search-overlay.is-open { opacity: 1; visibility: visible; }
.search-overlay__close { position: absolute; top: 24px; right: var(--gutter); }
.search-form { display: flex; align-items: center; gap: 16px; border-bottom: 1px solid var(--ink); }
.search-form__input {
	flex: 1; min-width: 0;
	padding: 14px 0;
	border: 0; background: transparent; outline: none;
	color: var(--ink);
	font-family: var(--serif); font-size: clamp(30px, 4.4vw, 54px); font-weight: 300;
	-webkit-appearance: none; appearance: none;
}
.search-form__input::placeholder { color: #b3a68f; }
.search-form__submit { padding: 8px 0; border: 0; background: none; color: var(--ink); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; }
.search-form__submit:hover { color: var(--gold); }
.empty-state .search-form__input, .error-404 .search-form__input { font-size: 26px; }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section--alt { background: var(--paper); }
.section-head { max-width: 760px; margin: 0 auto clamp(56px, 7vw, 96px); text-align: center; }
.section-head .display { margin-bottom: 0; }
.section-cta { margin-top: clamp(64px, 7vw, 104px); text-align: center; }

/* ---------- Hero ---------- */
.hero {
	position: relative;
	height: 100vh; height: 100svh;
	min-height: 620px; max-height: 1200px;
	overflow: hidden;
	background: var(--ink); color: #fff;
}
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.8s var(--ease); }
.hero__slide.is-active { z-index: 1; opacity: 1; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 9s linear; }
.hero__slide.is-active .hero__img { transform: scale(1); }
.hero__slide::after {
	content: ""; position: absolute; inset: 0;
	background: linear-gradient(180deg, rgba(12, 10, 8, .5) 0%, rgba(12, 10, 8, .05) 30%, rgba(12, 10, 8, .1) 55%, rgba(12, 10, 8, .62) 100%);
}
.hero__content { position: absolute; left: 0; right: 0; bottom: clamp(140px, 19vh, 220px); z-index: 2; }
.hero .eyebrow { color: rgba(255, 255, 255, .88); }
.hero__title { max-width: 13ch; margin: 0; font-family: var(--serif); font-size: clamp(46px, 7.4vw, 112px); font-weight: 300; line-height: 1; letter-spacing: -.01em; }
.hero__content > * { opacity: 0; transform: translateY(26px); transition: opacity 1.3s var(--ease), transform 1.3s var(--ease); }
.hero__slide.is-active .hero__content > * { opacity: 1; transform: none; }
.hero__slide.is-active .hero__content > :nth-child(1) { transition-delay: .5s; }
.hero__slide.is-active .hero__content > :nth-child(2) { transition-delay: .75s; }

.hero__controls { position: absolute; left: 0; right: 0; bottom: 52px; z-index: 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero__count { display: flex; align-items: center; gap: 14px; margin: 0; font-size: 12px; letter-spacing: .3em; }
.hero__count-sep { width: 28px; height: 1px; background: rgba(255, 255, 255, .6); }
.hero__dots { display: flex; gap: 14px; }
.hero__dot { position: relative; width: 56px; height: 24px; padding: 0; border: 0; background: none; cursor: pointer; }
.hero__dot::before, .hero__dot::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; }
.hero__dot::before { background: rgba(255, 255, 255, .35); }
.hero__dot::after { background: #fff; transform: scaleX(0); transform-origin: left; }
.hero__dot.is-active::after { transform: scaleX(1); transition: transform 6.5s linear; }
.hero.is-static .hero__dot.is-active::after { transition: none; }

/* ---------- Editor's letter ---------- */
.intro__grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(56px, 9vw, 140px); align-items: center; }
.intro__media { position: relative; margin: 0 32px 32px 0; }
.intro__media::before { content: ""; position: absolute; inset: 32px -32px -32px 32px; border: 1px solid var(--gold-line); }
.intro__media img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.intro__body { max-width: 52ch; color: var(--muted); }
.signature { margin: 32px 0 44px; color: var(--ink-2); font-family: var(--serif); font-size: 26px; font-style: italic; }
.signature::before { content: "\2014\00a0"; color: var(--gold); }
@media (max-width: 900px) {
	.intro__grid { grid-template-columns: 1fr; }
	.intro__media { max-width: 520px; }
}

/* ---------- Feature + cards ---------- */
.feature {
	display: grid; grid-template-columns: 7fr 5fr; gap: clamp(36px, 6vw, 96px); align-items: center;
	margin-bottom: clamp(72px, 8vw, 120px); padding-bottom: clamp(72px, 8vw, 120px);
	border-bottom: 1px solid var(--line);
}
.feature__media { display: block; overflow: hidden; background: var(--line); }
.feature__media img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; transition: transform 1.6s var(--ease); }
.feature:hover .feature__media img { transform: scale(1.04); }
.feature__title { margin-bottom: 22px; font-size: clamp(34px, 3.8vw, 54px); font-weight: 300; line-height: 1.08; }
.feature__title a:hover, .card__title a:hover { color: var(--gold); }
.feature__excerpt { margin-bottom: 34px; color: var(--muted); font-size: 18px; }
@media (max-width: 900px) { .feature { grid-template-columns: 1fr; } }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(56px, 6vw, 88px) clamp(24px, 3.2vw, 48px); }
@media (max-width: 1024px) { .card-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .card-grid { grid-template-columns: 1fr; } }
.card__media { display: block; aspect-ratio: 3 / 2; margin-bottom: 28px; overflow: hidden; background: var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.card:hover .card__media img { transform: scale(1.05); }
.card__title { margin-bottom: 14px; font-size: clamp(25px, 2.2vw, 31px); font-weight: 400; line-height: 1.15; }
.card__excerpt { margin-bottom: 24px; color: var(--muted); font-size: 16px; line-height: 1.7; }

/* ---------- Banner ---------- */
.banner {
	position: relative;
	display: flex; align-items: center; justify-content: center;
	min-height: clamp(460px, 78vh, 820px);
	background: var(--ink) var(--banner-image) center / cover no-repeat fixed;
	color: #fff; text-align: center;
}
.banner::before { content: ""; position: absolute; inset: 0; background: rgba(12, 10, 8, .34); }
.banner__inner { position: relative; }
.banner .eyebrow { color: rgba(255, 255, 255, .9); }
.banner__title { max-width: 15ch; margin: 0 auto; font-family: var(--serif); font-size: clamp(42px, 6vw, 88px); font-style: italic; font-weight: 300; line-height: 1.04; }
@media (hover: none), (max-width: 960px) { .banner { background-attachment: scroll; } }

/* ---------- Areas of interest ---------- */
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(240px, 24vw, 350px); gap: clamp(16px, 2vw, 28px); }
.mosaic__item { position: relative; display: block; overflow: hidden; background: var(--ink-2); color: #fff; }
.mosaic__item:first-child { grid-column: span 2; grid-row: span 2; }
.mosaic__item:hover { color: #fff; }
.mosaic__item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.6s var(--ease); }
.mosaic__item:hover img { transform: scale(1.06); }
.mosaic__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 8, 0) 45%, rgba(12, 10, 8, .62) 100%); transition: opacity .6s var(--ease); }
.mosaic__label { position: absolute; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(18px, 2.2vw, 32px); z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.mosaic__name { font-family: var(--serif); font-size: clamp(25px, 2.4vw, 34px); font-weight: 400; line-height: 1.1; }
.mosaic__item:first-child .mosaic__name { font-size: clamp(32px, 3.6vw, 52px); font-weight: 300; }
.mosaic__count { order: -1; font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; white-space: nowrap; opacity: .85; }
@media (max-width: 760px) {
	.mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 210px; }
	.mosaic__item:first-child { grid-row: span 1; }
	.mosaic__item:last-child:nth-child(even) { grid-column: span 2; }
	.mosaic__count { display: none; }
}

/* ---------- Subscribe + footer ---------- */
.subscribe { padding-block: clamp(96px, 11vw, 160px); background: var(--ink); color: var(--ivory); text-align: center; }
.subscribe .eyebrow { color: var(--gold-soft); }
.subscribe__text { max-width: 44ch; margin-inline: auto; color: rgba(247, 243, 236, .62); }
.subscribe__form { display: flex; max-width: 560px; margin: 48px auto 0; border-bottom: 1px solid rgba(247, 243, 236, .32); transition: border-color .4s var(--ease); }
.subscribe__form:focus-within { border-color: var(--gold-soft); }
.subscribe__form input[type="email"] { flex: 1; min-width: 0; padding: 18px 2px; border: 0; background: transparent; color: var(--ivory); font-size: 16px; font-weight: 300; outline: none; }
.subscribe__form input::placeholder { color: rgba(247, 243, 236, .42); }
.subscribe__form button { padding: 0 2px 0 24px; border: 0; background: none; color: var(--gold-soft); font-size: 11px; letter-spacing: .3em; text-transform: uppercase; cursor: pointer; }
.subscribe__form button:hover { color: #fff; }
.form-note { margin: 22px 0 0; color: var(--gold); font-size: 15px; }
.subscribe .form-note { color: var(--gold-soft); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.site-footer { padding-block: 72px 40px; background: var(--ink); border-top: 1px solid rgba(247, 243, 236, .1); color: rgba(247, 243, 236, .62); }
.site-footer .wordmark { color: var(--ivory); }
.site-footer__top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 56px; }
.footer-nav .menu { display: flex; flex-wrap: wrap; gap: 14px 38px; margin: 0; padding: 0; list-style: none; }
.footer-nav a { font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.footer-nav a:hover { color: var(--gold-soft); }
.site-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; padding-top: 32px; border-top: 1px solid rgba(247, 243, 236, .1); font-size: 13px; letter-spacing: .04em; }
.site-footer__bottom p { margin: 0; }

/* ---------- Listings + pages ---------- */
.page-header { padding: clamp(80px, 11vw, 150px) 0 clamp(56px, 6vw, 88px); text-align: center; }
.page-title { margin: 0; font-size: clamp(46px, 6.4vw, 92px); font-weight: 300; line-height: 1.02; letter-spacing: -.01em; }
.page-header__desc { max-width: 56ch; margin: 26px auto 0; color: var(--muted); font-size: 18px; }
.page-header__desc p { margin: 0; }
.cat-filter { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 34px; margin: 48px 0 0; padding: 0; list-style: none; }
.cat-filter a { padding-bottom: 6px; border-bottom: 1px solid transparent; color: var(--muted); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.cat-filter a:hover, .cat-filter .is-current a { border-color: var(--gold); color: var(--ink); }
.listing { padding-bottom: var(--section); }
.empty-state { max-width: 640px; margin: 0 auto; text-align: center; }

.pagination { margin-top: clamp(72px, 8vw, 112px); }
.pagination .nav-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.page-numbers { display: inline-grid; place-items: center; min-width: 46px; height: 46px; padding: 0 14px; border: 1px solid transparent; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; }
.page-numbers.current { border-color: var(--ink); }
a.page-numbers:hover { border-color: var(--line); color: var(--ink); }

/* ---------- Single story ---------- */
.entry-header { padding: clamp(72px, 10vw, 140px) 0 clamp(48px, 5vw, 72px); text-align: center; }
.entry-title { margin: 0 0 28px; font-size: clamp(42px, 5.8vw, 84px); font-weight: 300; line-height: 1.04; letter-spacing: -.01em; }
.entry-standfirst { max-width: 40ch; margin: 0 auto 36px; color: var(--ink-2); font-family: var(--serif); font-size: clamp(21px, 2vw, 25px); font-style: italic; line-height: 1.45; }
.entry-meta { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 10px 18px; margin: 0; color: var(--muted); font-size: 11px; letter-spacing: .28em; text-transform: uppercase; }
.entry-meta__sep { width: 22px; height: 1px; background: var(--line); }
.entry-hero { margin: 0 auto clamp(64px, 7vw, 104px); }
.entry-hero img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (max-width: 640px) { .entry-hero { padding-inline: 0; } .entry-hero img { aspect-ratio: 4 / 3; } }

.prose { color: var(--ink-2); font-size: 19px; line-height: 1.85; }
.prose > :first-child { margin-top: 0; }
.prose h2 { margin: 2em 0 .6em; font-size: clamp(31px, 3vw, 40px); font-weight: 400; }
.prose h3 { margin: 1.8em 0 .5em; font-size: 28px; }
.prose a { border-bottom: 1px solid var(--gold-soft); color: var(--ink); }
.prose a:hover { border-color: var(--gold); color: var(--gold); }
.prose blockquote, .prose .wp-block-quote, .prose .wp-block-pullquote blockquote {
	margin: 2.4em 0; padding: 4px 0 4px 34px;
	border-left: 1px solid var(--gold-line);
	color: var(--ink);
	font-family: var(--serif); font-size: clamp(27px, 2.7vw, 35px); font-style: italic; font-weight: 300; line-height: 1.32;
}
.prose blockquote p { margin: 0; }
.prose blockquote cite { display: block; margin-top: 16px; color: var(--muted); font-family: var(--sans); font-size: 11px; font-style: normal; letter-spacing: .28em; text-transform: uppercase; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li { margin-bottom: .5em; }
.prose li::marker { color: var(--gold); }
.prose hr, .prose .wp-block-separator { width: 120px; height: 1px; margin: 3.2em auto; border: 0; background: var(--line); }
.prose figure, .prose .wp-block-image { margin: 2.6em 0; }
.prose figcaption, .wp-caption-text { margin-top: 14px; color: var(--muted); font-size: 13px; letter-spacing: .04em; text-align: center; }
.prose .alignwide { margin-inline: calc(-1 * min(10vw, 160px)); max-width: none; }
.prose .alignfull { width: 100vw; max-width: 100vw; margin-inline: calc(50% - 50vw); }
.prose .lead, .entry--page .prose > p:first-child { color: var(--ink); font-family: var(--serif); font-size: clamp(23px, 2.2vw, 28px); line-height: 1.5; }
.single .entry-content > p:first-of-type::first-letter {
	float: left;
	padding: 10px 16px 0 0;
	color: var(--gold);
	font-family: var(--serif); font-size: 5.6em; font-weight: 300; line-height: .78;
}
.alignleft { float: left; margin: .4em 2em 1em 0; }
.alignright { float: right; margin: .4em 0 1em 2em; }
.aligncenter { margin-inline: auto; }
.sticky, .bypostauthor, .gallery-caption { }

.entry-footer { margin-top: 72px; padding-top: 40px; border-top: 1px solid var(--line); }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; list-style: none; }
.tag-list a { display: inline-block; padding: 8px 16px; border: 1px solid var(--line); font-size: 10.5px; letter-spacing: .26em; text-transform: uppercase; }
.tag-list a:hover { border-color: var(--gold); color: var(--ink); }

.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: clamp(72px, 8vw, 112px); margin-bottom: clamp(72px, 8vw, 112px); padding-block: 44px; border-block: 1px solid var(--line); }
.post-nav__link { display: flex; flex-direction: column; gap: 10px; }
.post-nav__link--next { grid-column: 2; text-align: right; }
.post-nav__label { color: var(--gold); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.post-nav__title { font-family: var(--serif); font-size: clamp(21px, 2vw, 27px); line-height: 1.25; }
.post-nav__link:hover { color: var(--ink); }
.post-nav__link:hover .post-nav__title { color: var(--gold); }
@media (max-width: 640px) { .post-nav { grid-template-columns: 1fr; } .post-nav__link--next { grid-column: 1; } }

/* ---------- Forms + comments ---------- */
.comments { padding-block: clamp(72px, 8vw, 112px); }
.comments__title { margin-bottom: 32px; font-size: clamp(30px, 3vw, 40px); font-weight: 300; }
.comment-list, .comment-list .children { margin: 0 0 56px; padding: 0; list-style: none; }
.comment-list .children { margin: 0 0 0 clamp(20px, 4vw, 48px); }
.comment-body { padding: 28px 0; border-bottom: 1px solid var(--line); }
.comment-author { display: flex; align-items: center; gap: 14px; font-family: var(--serif); font-size: 21px; }
.comment-author .avatar { border-radius: 50%; }
.comment-author .says { display: none; }
.comment-metadata { margin: 6px 0 12px; color: var(--muted); font-size: 11px; letter-spacing: .2em; text-transform: uppercase; }
.reply a { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--gold); }

.comment-form label, .contact-form label { display: block; margin-bottom: 2px; color: var(--muted); font-size: 10.5px; letter-spacing: .3em; text-transform: uppercase; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea,
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form textarea {
	width: 100%; padding: 12px 0;
	border: 0; border-bottom: 1px solid var(--line); border-radius: 0;
	background: transparent; color: var(--ink);
	font-size: 17px; font-weight: 300;
	outline: none; transition: border-color .4s var(--ease);
	-webkit-appearance: none; appearance: none;
}
.comment-form input:focus, .comment-form textarea:focus, .contact-form input:focus, .contact-form textarea:focus { border-color: var(--ink); }
.comment-form textarea, .contact-form textarea { resize: vertical; min-height: 140px; }
.comment-form p, .contact-form .field { margin-bottom: 30px; }
.comment-form .comment-form-cookies-consent { display: flex; gap: 12px; align-items: flex-start; }
.comment-form .comment-form-cookies-consent label { margin: 0; letter-spacing: .1em; text-transform: none; font-size: 14px; }
.comment-notes, .logged-in-as { color: var(--muted); font-size: 15px; }
.contact-form { padding-block: 24px var(--section); }
.contact-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
@media (max-width: 640px) { .contact-form__row { grid-template-columns: 1fr; } }

/* ---------- 404 ---------- */
.error-404 { padding-block: var(--section); text-align: center; }
.error-404__code { margin: 0 0 8px; color: var(--gold); font-family: var(--serif); font-size: clamp(96px, 14vw, 180px); font-weight: 300; line-height: 1; }
.error-404 .lead { margin: 28px auto 48px; max-width: 34ch; }
.error-404 .search-form { margin-bottom: 56px; }

/* ---------- Reveal ---------- */
.js-reveal .reveal { opacity: 0; transform: translateY(30px); transition: opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.js-reveal .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
	.hero__img { transform: none !important; }
}
