/* ==========================================================================
   Quay Head House
   Limestone paper, slate ink, juniper for actions. Evening falls on the facade.
   ========================================================================== */

:root {
	--qhh-paper: #dcd8cd;
	--qhh-paper-2: #e9e6de;
	--qhh-paper-3: #cfcabd;
	--qhh-ink: #1e2629;
	--qhh-ink-soft: #4b5558;
	--qhh-rule: #b3ad9f;

	--qhh-juniper: #2e5445;
	--qhh-juniper-dark: #213d32;
	--qhh-night: #1f2b2e;
	--qhh-night-2: #29373a;

	--qhh-brick: #8a3a2c;
	--qhh-brick-line: #6f2d22;
	--qhh-terracotta: #a65b3f;
	--qhh-stone: #d6ccb2;
	--qhh-stone-dark: #b3a88c;
	--qhh-slate: #3b4447;
	--qhh-slate-line: #2b3235;
	--qhh-door: #a1281f;
	--qhh-door-line: #771c16;
	--qhh-brass: #b48a35;
	--qhh-glow-c: #f2c96f;

	--qhh-era-before-1884: #4b6c78;
	--qhh-era-charity-offices: #8a3a2c;
	--qhh-era-missing-years: #8f8a7b;
	--qhh-era-squat: #6c4d74;
	--qhh-era-milk-thistle: #b48a35;
	--qhh-era-distillery: #2e5445;
	--qhh-era-not-sure: #8f8a7b;

	--qhh-display: "IM Fell English", "Iowan Old Style", Georgia, serif;
	--qhh-body: "Libre Franklin", "Helvetica Neue", Arial, sans-serif;

	--qhh-wrap: 76rem;
	--qhh-gutter: clamp(1.25rem, 4vw, 3rem);
	--qhh-radius: 2px;
}

/* Base ------------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
	margin: 0;
	background: var(--qhh-paper);
	color: var(--qhh-ink);
	font-family: var(--qhh-body);
	font-size: 1.0625rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--qhh-juniper); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { color: var(--qhh-juniper-dark); text-decoration-thickness: 2px; }

:focus-visible { outline: 3px solid var(--qhh-brass); outline-offset: 3px; }

h1, h2, h3, h4 {
	font-family: var(--qhh-display);
	font-weight: 400;
	line-height: 1.08;
	margin: 0 0 0.5em;
	letter-spacing: -0.005em;
}

p { margin: 0 0 1em; }

.qhh-visually-hidden {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(0 0 0 0); white-space: nowrap;
}

.qhh-skip {
	position: absolute; left: 1rem; top: -4rem; z-index: 100;
	background: var(--qhh-ink); color: var(--qhh-paper); padding: 0.6rem 1rem;
}
.qhh-skip:focus { top: 1rem; }

/* Buttons ---------------------------------------------------------------- */

.qhh-button {
	display: inline-flex; align-items: center; justify-content: center;
	gap: 0.5em;
	padding: 0.7em 1.25em;
	border: 1px solid transparent;
	border-radius: var(--qhh-radius);
	font-family: var(--qhh-body);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.qhh-button--large { padding: 0.95em 1.6em; font-size: 1.02rem; }
.qhh-button--primary { background: var(--qhh-juniper); color: var(--qhh-paper-2); }
.qhh-button--primary:hover { background: var(--qhh-juniper-dark); color: #fff; }
.qhh-button--quiet { background: transparent; color: var(--qhh-ink); border-color: var(--qhh-ink); }
.qhh-button--quiet:hover { background: var(--qhh-ink); color: var(--qhh-paper); }
.qhh-button--light { background: var(--qhh-paper-2); color: var(--qhh-ink); }
.qhh-button--light:hover { background: #fff; color: var(--qhh-ink); }

.qhh-link { font-weight: 600; font-size: 0.95rem; }

/* Header ----------------------------------------------------------------- */

.qhh-header { border-bottom: 1px solid var(--qhh-rule); background: var(--qhh-paper); position: relative; z-index: 20; }
.qhh-header__inner {
	max-width: var(--qhh-wrap); margin: 0 auto; padding: 1rem var(--qhh-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
}
.qhh-wordmark { text-decoration: none; color: var(--qhh-ink); display: grid; line-height: 1.1; }
.qhh-wordmark:hover { color: var(--qhh-ink); }
.qhh-wordmark__name { font-family: var(--qhh-display); font-size: 1.6rem; }
.qhh-wordmark__place { font-family: var(--qhh-display); font-style: italic; font-size: 0.95rem; color: var(--qhh-ink-soft); }
.qhh-wordmark__logo { max-height: 56px; width: auto; }

.qhh-nav { display: flex; align-items: center; gap: 2rem; }
.qhh-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.75rem; }
.qhh-nav__list a { color: var(--qhh-ink); text-decoration: none; font-weight: 500; }
.qhh-nav__list a:hover, .qhh-nav__list .current-menu-item > a { text-decoration: underline; text-decoration-color: var(--qhh-brass); text-decoration-thickness: 2px; }

.qhh-nav-toggle { display: none; background: none; border: 0; padding: 0.5rem; cursor: pointer; color: var(--qhh-ink); }
.qhh-nav-toggle__bars, .qhh-nav-toggle__bars::before, .qhh-nav-toggle__bars::after {
	display: block; width: 24px; height: 2px; background: currentColor; position: relative; content: "";
}
.qhh-nav-toggle__bars::before { position: absolute; top: -7px; }
.qhh-nav-toggle__bars::after { position: absolute; top: 7px; }

@media (max-width: 860px) {
	.qhh-nav-toggle { display: block; }
	.qhh-nav {
		display: none; position: absolute; left: 0; right: 0; top: 100%;
		background: var(--qhh-paper); border-bottom: 1px solid var(--qhh-rule);
		flex-direction: column; align-items: stretch; gap: 1rem; padding: 1rem var(--qhh-gutter) 1.5rem;
	}
	.qhh-nav.is-open { display: flex; }
	.qhh-nav__list { flex-direction: column; gap: 0.75rem; }
	.qhh-nav__list a { font-size: 1.15rem; }
}

/* Hero ------------------------------------------------------------------- */

.qhh-hero {
	max-width: var(--qhh-wrap); margin: 0 auto;
	padding: clamp(2.5rem, 6vw, 5rem) var(--qhh-gutter) clamp(2.5rem, 5vw, 4rem);
	display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.qhh-hero__title { font-size: clamp(2.5rem, 5.4vw, 4.5rem); line-height: 1.02; margin-bottom: 0.45em; max-width: 15ch; }
.qhh-hero__intro { font-size: 1.15rem; max-width: 34rem; color: var(--qhh-ink-soft); margin-bottom: 2rem; }
.qhh-hero__actions { display: flex; flex-wrap: wrap; gap: 0.9rem; }

.qhh-hero__art {
	background: linear-gradient(180deg, #33474b 0%, var(--qhh-night) 70%);
	border-radius: var(--qhh-radius);
	padding: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2.5rem) 0;
}

@media (max-width: 860px) {
	.qhh-hero { grid-template-columns: 1fr; }
	.qhh-hero__art { order: -1; max-width: 34rem; }
}

/* Facade illustration */
.qhh-facade { width: 100%; height: auto; display: block; }
.qhh-facade .qhh-glass { fill: #16201f; }
.qhh-facade .qhh-glow { fill: var(--qhh-glow-c); opacity: 0; animation: qhh-light 0.9s ease-out forwards; animation-delay: var(--d, 0s); }
.qhh-facade .qhh-glow--vault { fill: #e8a952; }
.qhh-facade .qhh-bars { stroke: var(--qhh-stone); stroke-width: 3; fill: none; }
.qhh-facade .qhh-crest { fill: var(--qhh-stone); stroke: var(--qhh-brick-line); stroke-width: 1.5; }
.qhh-facade .qhh-door { fill: var(--qhh-door); }
.qhh-facade .qhh-bell { fill: var(--qhh-brass); }

@keyframes qhh-light {
	0% { opacity: 0; }
	40% { opacity: 0.55; }
	55% { opacity: 0.35; }
	100% { opacity: 0.88; }
}

@media (prefers-reduced-motion: reduce) {
	.qhh-facade .qhh-glow { animation: none; opacity: 0.88; }
	* { scroll-behavior: auto !important; }
}

/* Section scaffolding ---------------------------------------------------- */

.qhh-section { max-width: var(--qhh-wrap); margin: 0 auto; padding: clamp(3rem, 6vw, 5rem) var(--qhh-gutter); }
.qhh-section__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; margin-bottom: 2rem; border-bottom: 1px solid var(--qhh-rule); padding-bottom: 0.75rem; }
.qhh-section__head .qhh-section-title { margin: 0; }
.qhh-section-title { font-size: clamp(1.8rem, 3.2vw, 2.6rem); }

/* Six lives -------------------------------------------------------------- */

.qhh-lives { max-width: var(--qhh-wrap); margin: 0 auto; padding: 0 var(--qhh-gutter) clamp(3rem, 6vw, 5rem); }
.qhh-lives .qhh-section-title { margin-bottom: 1.5rem; }
.qhh-lives__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); }
.qhh-lives__list li {
	border-top: 6px solid var(--era, var(--qhh-ink));
	padding: 1rem 1.1rem 0 0;
	display: grid; gap: 0.3rem; align-content: start;
}
.qhh-lives__list li + li { padding-left: 1.1rem; border-left: 1px solid var(--qhh-rule); }
.qhh-lives__year { font-family: var(--qhh-display); font-size: 2rem; line-height: 1; }
.qhh-lives__name { font-weight: 600; }
.qhh-lives__note { font-size: 0.92rem; color: var(--qhh-ink-soft); line-height: 1.45; }
.qhh-lives__list .qhh-era--missing-years { border-top-style: dashed; }
.qhh-lives__list .qhh-era--missing-years .qhh-lives__year,
.qhh-lives__list .qhh-era--missing-years .qhh-lives__name { font-style: italic; color: var(--qhh-ink-soft); }

@media (max-width: 980px) {
	.qhh-lives__list { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 2rem; }
	.qhh-lives__list li:nth-child(4) { border-left: 0; padding-left: 0; }
}
@media (max-width: 560px) {
	.qhh-lives__list { grid-template-columns: 1fr 1fr; column-gap: 1.25rem; }
	.qhh-lives__list li { border-left: 0 !important; padding-left: 0 !important; }
}

.qhh-era--before-1884 { --era: var(--qhh-era-before-1884); }
.qhh-era--charity-offices { --era: var(--qhh-era-charity-offices); }
.qhh-era--missing-years { --era: var(--qhh-era-missing-years); }
.qhh-era--squat { --era: var(--qhh-era-squat); }
.qhh-era--milk-thistle { --era: var(--qhh-era-milk-thistle); }
.qhh-era--distillery { --era: var(--qhh-era-distillery); }
.qhh-era--not-sure { --era: var(--qhh-era-not-sure); }

/* The missing years ------------------------------------------------------ */

.qhh-gap { background: var(--qhh-night); color: var(--qhh-paper-2); }
.qhh-gap__inner {
	max-width: var(--qhh-wrap); margin: 0 auto;
	padding: clamp(3.5rem, 8vw, 6.5rem) var(--qhh-gutter);
	display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 5rem);
	grid-template-areas: "head ledger" "questions ledger";
}
.qhh-gap__head { grid-area: head; }
.qhh-gap__title { font-size: clamp(3.4rem, 9vw, 7.5rem); line-height: 0.92; margin-bottom: 0.3em; color: var(--qhh-glow-c); }
.qhh-gap__text { font-size: 1.15rem; max-width: 32rem; color: #d3d6cf; margin-bottom: 2rem; }
.qhh-gap__ledger { grid-area: ledger; align-self: center; }
.qhh-gap__line { display: grid; grid-template-columns: 7.5rem 1fr; align-items: end; gap: 1rem; padding: 0.95rem 0 0.35rem; border-bottom: 1px solid rgba(220, 216, 205, 0.18); }
.qhh-gap__line span { font-family: var(--qhh-display); font-style: italic; font-size: 1.2rem; color: #9aa29e; }
.qhh-gap__line i { display: block; height: 1px; border-bottom: 2px dashed rgba(242, 201, 111, 0.45); margin-bottom: 0.4rem; }
.qhh-gap__questions { grid-area: questions; list-style: none; margin: 0; padding: 0; display: grid; gap: 0.85rem; max-width: 32rem; }
.qhh-gap__questions li { padding-left: 1.4rem; position: relative; color: #d3d6cf; }
.qhh-gap__questions li::before { content: "?"; position: absolute; left: 0; top: -0.05em; font-family: var(--qhh-display); font-size: 1.3rem; color: var(--qhh-glow-c); }

.qhh-gap__line.is-found { border-bottom-color: rgba(242, 201, 111, 0.6); }
.qhh-gap__line.is-found span { color: var(--qhh-glow-c); }
.qhh-gap__line.is-found a, .qhh-gap__line.is-found em { color: var(--qhh-glow-c); font-family: var(--qhh-display); font-size: 1.2rem; padding-bottom: 0.2rem; }
.qhh-gap__line.is-found a:hover { color: #fff; }

@media (max-width: 860px) {
	.qhh-gap__inner { grid-template-columns: 1fr; grid-template-areas: "head" "ledger" "questions"; }
}

/* Photo mounts ----------------------------------------------------------- */

.qhh-mount { margin: 0; position: relative; background: var(--qhh-paper-2); padding: 0.6rem; box-shadow: 0 1px 0 var(--qhh-rule); }
.qhh-mount img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; filter: saturate(0.92); }
.qhh-mount figcaption { font-size: 0.85rem; color: var(--qhh-ink-soft); padding-top: 0.5rem; font-style: italic; }
.qhh-mount--print { padding: 0.5rem 0.5rem 1.4rem; }

.qhh-mount--empty { aspect-ratio: 4 / 3; display: grid; place-items: center; padding: 0; background: var(--qhh-paper-3); }
.qhh-mount--empty::before { content: ""; position: absolute; inset: 0.6rem; border: 1px dashed var(--qhh-ink-soft); opacity: 0.55; }
.qhh-mount__text { font-family: var(--qhh-display); font-style: italic; font-size: 1.1rem; color: var(--qhh-ink-soft); padding: 1rem; text-align: center; position: relative; }
.qhh-mount__corner { position: absolute; width: 18px; height: 18px; z-index: 1; }
.qhh-mount__corner::before { content: ""; position: absolute; inset: 0; background: var(--qhh-ink); }
.qhh-mount__corner--tl { top: 0.6rem; left: 0.6rem; } .qhh-mount__corner--tl::before { clip-path: polygon(0 0, 100% 0, 0 100%); }
.qhh-mount__corner--tr { top: 0.6rem; right: 0.6rem; } .qhh-mount__corner--tr::before { clip-path: polygon(0 0, 100% 0, 100% 100%); }
.qhh-mount__corner--bl { bottom: 0.6rem; left: 0.6rem; } .qhh-mount__corner--bl::before { clip-path: polygon(0 0, 0 100%, 100% 100%); }
.qhh-mount__corner--br { bottom: 0.6rem; right: 0.6rem; } .qhh-mount__corner--br::before { clip-path: polygon(100% 0, 0 100%, 100% 100%); }

/* Stories ---------------------------------------------------------------- */

.qhh-stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.5rem, 3vw, 2.5rem); }
.qhh-story__link { color: inherit; text-decoration: none; display: block; }
.qhh-story__link:hover { color: inherit; }
.qhh-story__link:hover .qhh-story__title { text-decoration: underline; text-decoration-color: var(--qhh-brass); text-decoration-thickness: 2px; text-underline-offset: 0.15em; }
.qhh-story .qhh-mount { margin-bottom: 1rem; }
.qhh-story__era { font-family: var(--qhh-display); font-style: italic; color: var(--qhh-ink-soft); margin: 0 0 0.25rem; font-size: 1rem; }
.qhh-story__era a { color: inherit; }
.qhh-story__title { font-size: 1.6rem; margin-bottom: 0.4rem; }
.qhh-story__excerpt { color: var(--qhh-ink-soft); font-size: 0.98rem; margin: 0; }

@media (max-width: 900px) { .qhh-stories { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .qhh-stories { grid-template-columns: 1fr; } }

/* Memories wall ---------------------------------------------------------- */

.qhh-section--memories { padding-top: 0; }
.qhh-memories { display: grid; grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr)); gap: 1.75rem; align-items: start; }
.qhh-memory__link { display: block; text-decoration: none; color: inherit; }
.qhh-memory:nth-child(3n+1) .qhh-mount--print { transform: rotate(-0.8deg); }
.qhh-memory:nth-child(3n+2) .qhh-mount--print { transform: rotate(0.6deg); }
.qhh-memory__note { background: var(--qhh-paper-2); padding: 1rem 1.1rem; border-left: 4px solid var(--era, var(--qhh-brass)); }
.qhh-mount--print + .qhh-memory__note { background: transparent; padding: 0.75rem 0 0; border: 0; }
.qhh-memory__title { font-size: 1.3rem; margin-bottom: 0.3rem; }
.qhh-memory__excerpt { font-size: 0.95rem; color: var(--qhh-ink-soft); }
.qhh-memory__meta { font-size: 0.88rem; color: var(--qhh-ink-soft); margin: 0; font-style: italic; }

.qhh-memories--empty { grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: center; }
.qhh-memories__invite p { font-family: var(--qhh-display); font-size: 1.35rem; line-height: 1.3; }
@media (max-width: 900px) {
	.qhh-memories--empty { grid-template-columns: 1fr 1fr; }
	.qhh-memories--empty .qhh-mount:nth-child(3) { display: none; }
	.qhh-memories__invite { grid-column: 1 / -1; }
}

/* Closing CTA ------------------------------------------------------------ */

.qhh-cta { background: var(--qhh-juniper); color: var(--qhh-paper-2); }
.qhh-cta__inner { max-width: 46rem; margin: 0 auto; padding: clamp(3.5rem, 7vw, 6rem) var(--qhh-gutter); text-align: center; }
.qhh-cta__title { font-size: clamp(2.4rem, 5vw, 3.8rem); }
.qhh-cta__text { font-size: 1.15rem; color: #dfe6df; }
.qhh-cta__list { list-style: none; padding: 0; margin: 1.75rem auto 2.25rem; display: grid; gap: 0.5rem; max-width: 30rem; text-align: left; }
.qhh-cta__list li { padding-left: 1.6rem; position: relative; }
.qhh-cta__list li::before { content: ""; position: absolute; left: 0; top: 0.5em; width: 0.7rem; height: 0.7rem; border: 2px solid var(--qhh-glow-c); }
.qhh-cta__small { font-size: 0.9rem; color: #c3d0c7; margin: 1rem 0 0; }

/* Page heads ------------------------------------------------------------- */

.qhh-page-head { max-width: var(--qhh-wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--qhh-gutter) 1rem; }
.qhh-page-head__title { font-size: clamp(2.6rem, 6vw, 4.6rem); line-height: 1; }
.qhh-page-head__intro, .qhh-page-head__intro p { font-size: 1.15rem; max-width: 40rem; color: var(--qhh-ink-soft); }

/* Timeline ledger -------------------------------------------------------- */

.qhh-timeline-wrap { max-width: var(--qhh-wrap); margin: 0 auto; padding: 1rem var(--qhh-gutter) clamp(3rem, 6vw, 5rem); }
.qhh-ledger { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--qhh-ink); }

.qhh-ledger__era { padding: 2.75rem 0 0.75rem; border-bottom: 1px solid var(--qhh-rule); }
.qhh-ledger__era h2 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0; display: flex; align-items: center; gap: 0.75rem; }
.qhh-ledger__era h2::before { content: ""; width: 1.1rem; height: 1.1rem; background: var(--era); flex: none; }

.qhh-ledger__row {
	display: grid; grid-template-columns: 10rem minmax(0, 1fr) minmax(0, 18rem);
	gap: 0 2.5rem; padding: 1.75rem 0 1.75rem 1.25rem;
	border-bottom: 1px solid var(--qhh-rule);
	border-left: 4px solid var(--era, var(--qhh-ink));
}
.qhh-ledger__row:not(:has(.qhh-ledger__photo)) { grid-template-columns: 10rem minmax(0, 1fr); }
.qhh-ledger__row:not(:has(.qhh-ledger__photo)) .qhh-ledger__body { max-width: 44rem; }
.qhh-ledger__date { font-family: var(--qhh-display); font-size: 2.1rem; line-height: 1.05; }
.qhh-ledger__title { font-size: 1.55rem; margin-bottom: 0.4rem; }
.qhh-ledger__text p:last-child { margin-bottom: 0.6rem; }
.qhh-ledger__source { font-size: 0.85rem; color: var(--qhh-ink-soft); font-style: italic; margin: 0; }
.qhh-ledger__photo { align-self: start; }

.qhh-ledger__row.is-gap {
	border-left-style: dashed;
	background-image: repeating-linear-gradient(180deg, transparent 0 31px, rgba(30, 38, 41, 0.05) 31px 32px);
	background-color: var(--qhh-paper-3);
}
.qhh-ledger__row.is-gap .qhh-ledger__date { font-style: italic; color: var(--qhh-ink-soft); font-size: 1.6rem; }
.qhh-ledger__row.is-gap .qhh-button { margin-top: 0.4rem; }

.qhh-ledger__row.is-next { border-left: 4px solid var(--qhh-juniper); background: var(--qhh-paper-2); }
.qhh-ledger__row.is-next .qhh-ledger__date { font-style: italic; color: var(--qhh-juniper); }

@media (max-width: 760px) {
	.qhh-ledger__row, .qhh-ledger__row:not(:has(.qhh-ledger__photo)) { grid-template-columns: 1fr; gap: 0.4rem; padding-left: 1rem; }
	.qhh-ledger__date { font-size: 1.7rem; }
	.qhh-ledger__photo { margin-top: 1rem; max-width: 22rem; }
}

/* Articles --------------------------------------------------------------- */

.qhh-article { max-width: 46rem; margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--qhh-gutter); }
.qhh-article__title { font-size: clamp(2.4rem, 5.5vw, 3.9rem); line-height: 1.02; }
.qhh-article__standfirst { font-size: 1.25rem; color: var(--qhh-ink-soft); line-height: 1.5; }
.qhh-article__photo { margin: 2rem 0; }
.qhh-article__photo img { aspect-ratio: auto; }
.qhh-article__credit { font-size: 0.88rem; font-style: italic; color: var(--qhh-ink-soft); }

.qhh-prose { font-size: 1.1rem; line-height: 1.7; }
.qhh-prose h2 { font-size: 1.9rem; margin-top: 2.25rem; }
.qhh-prose h3 { font-size: 1.45rem; margin-top: 1.75rem; }
.qhh-prose img { margin: 1.5rem 0; }
.qhh-prose .wp-block-image { margin: 2.25rem 0; background: var(--qhh-paper-2); padding: 0.6rem 0.6rem 0.8rem; }
.qhh-prose .wp-block-image img { margin: 0; width: 100%; }
.qhh-prose .wp-block-image figcaption { margin: 0.6rem 0.2rem 0; text-align: left; }
.qhh-prose blockquote { margin: 2rem 0; padding: 0 0 0 1.5rem; border-left: 3px solid var(--qhh-brass); font-family: var(--qhh-display); font-size: 1.4rem; line-height: 1.4; }
.qhh-prose .wp-block-image figcaption { font-size: 0.88rem; font-style: italic; color: var(--qhh-ink-soft); }

.qhh-ask, .qhh-prose .qhh-ask {
	background: var(--qhh-paper-2); border-left: 4px solid var(--qhh-juniper);
	padding: 1.1rem 1.3rem; font-weight: 500; margin: 2rem 0;
}
.qhh-sources, .qhh-prose .qhh-sources { font-size: 0.88rem; color: var(--qhh-ink-soft); border-top: 1px solid var(--qhh-rule); padding-top: 1rem; margin-top: 2.5rem; line-height: 1.55; }

.qhh-article__nav { display: flex; justify-content: space-between; gap: 1.5rem; margin-top: 3rem; padding-top: 1.25rem; border-top: 1px solid var(--qhh-rule); font-size: 0.95rem; }
.qhh-article__nav span:last-child { text-align: right; margin-left: auto; }

.qhh-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr)); gap: 1.25rem; margin: 2rem 0 0.75rem; }
.qhh-gallery img { aspect-ratio: auto; }

.qhh-pagination { margin-top: 3rem; }
.qhh-pagination .nav-links { display: flex; gap: 0.75rem; flex-wrap: wrap; }
.qhh-pagination .page-numbers { padding: 0.4rem 0.8rem; border: 1px solid var(--qhh-rule); text-decoration: none; color: var(--qhh-ink); }
.qhh-pagination .current { background: var(--qhh-ink); color: var(--qhh-paper); border-color: var(--qhh-ink); }

.qhh-empty { font-style: italic; color: var(--qhh-ink-soft); }

/* Share page and form ---------------------------------------------------- */

.qhh-share {
	max-width: var(--qhh-wrap); margin: 0 auto; padding: clamp(2.5rem, 6vw, 4.5rem) var(--qhh-gutter);
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: clamp(2rem, 6vw, 5rem); align-items: start;
}
.qhh-share__aside { position: sticky; top: 1.5rem; }
.qhh-share__aside > p { font-size: 1.12rem; color: var(--qhh-ink-soft); }
.qhh-share__tips { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--qhh-rule); }
.qhh-share__tips h2 { font-size: 1.5rem; }
.qhh-share__tips ul { padding-left: 1.1rem; margin: 0 0 1rem; }
.qhh-share__tips li { margin-bottom: 0.35rem; }
.qhh-share__tips p { font-size: 0.95rem; color: var(--qhh-ink-soft); }
@media (max-width: 860px) {
	.qhh-share { grid-template-columns: 1fr; }
	.qhh-share__aside { position: static; }
}

.qhh-form { background: var(--qhh-paper-2); padding: clamp(1.5rem, 4vw, 2.75rem); border-top: 6px solid var(--qhh-juniper); }
.qhh-form__group { border: 0; padding: 0; margin: 0 0 2.25rem; }
.qhh-form__group legend { font-family: var(--qhh-display); font-size: 1.75rem; padding: 0; margin-bottom: 1rem; }
.qhh-field { margin-bottom: 1.25rem; }
.qhh-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 600px) { .qhh-field-row { grid-template-columns: 1fr; } }

.qhh-field label, .qhh-label { display: block; font-weight: 600; margin-bottom: 0.4rem; font-size: 0.98rem; }
.qhh-form input[type="text"], .qhh-form input[type="email"], .qhh-form select, .qhh-form textarea {
	width: 100%; font: inherit; color: var(--qhh-ink);
	background: #f6f4ef; border: 1px solid #8f897b; border-radius: var(--qhh-radius);
	padding: 0.7rem 0.8rem;
}
.qhh-form textarea { resize: vertical; min-height: 10rem; line-height: 1.55; }
.qhh-form input:focus, .qhh-form select:focus, .qhh-form textarea:focus { outline: 3px solid var(--qhh-brass); outline-offset: 0; border-color: var(--qhh-ink); }
.qhh-hint { font-size: 0.88rem; color: var(--qhh-ink-soft); margin: 0.4rem 0 0; }

.qhh-check, .qhh-radio { display: flex; gap: 0.65rem; align-items: flex-start; margin-bottom: 0.6rem; cursor: pointer; }
.qhh-check input, .qhh-radio input { width: 1.15rem; height: 1.15rem; margin-top: 0.22rem; accent-color: var(--qhh-juniper); flex: none; }
.qhh-field .qhh-radio { display: flex; font-weight: 400; margin-bottom: 0.6rem; }
.qhh-radios { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
@media (max-width: 600px) { .qhh-radios { grid-template-columns: 1fr; } }

.qhh-drop { position: relative; border: 2px dashed #8f897b; background: #f6f4ef; padding: 1.75rem 1.25rem; text-align: center; margin-bottom: 1.25rem; transition: border-color 0.15s, background-color 0.15s; }
.qhh-drop.is-dragging { border-color: var(--qhh-juniper); background: #eef2ec; }
.qhh-drop input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; }
.qhh-drop input[type="file"]:focus-visible + .qhh-drop__label { outline: 3px solid var(--qhh-brass); outline-offset: 4px; }
.qhh-drop__label { display: grid; gap: 0.3rem; pointer-events: none; }
.qhh-drop__title { font-family: var(--qhh-display); font-size: 1.45rem; }
.qhh-drop__sub { font-size: 0.9rem; color: var(--qhh-ink-soft); }
.qhh-drop__list { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; }
.qhh-drop__list li { width: 84px; font-size: 0.75rem; color: var(--qhh-ink-soft); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.qhh-drop__list img { width: 84px; height: 84px; object-fit: cover; border: 4px solid #fff; box-shadow: 0 1px 0 var(--qhh-rule); margin-bottom: 0.2rem; }
.qhh-drop__list .is-error { color: var(--qhh-door); width: auto; white-space: normal; }

.qhh-form__small { font-size: 0.88rem; color: var(--qhh-ink-soft); }

.qhh-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.qhh-notice { padding: 1.25rem 1.5rem; margin-bottom: 1.5rem; border-left: 5px solid; }
.qhh-notice--ok { background: #e3ece5; border-color: var(--qhh-juniper); }
.qhh-notice--ok h3 { font-size: 1.8rem; }
.qhh-notice--error { background: #f3e1dd; border-color: var(--qhh-door); }
.qhh-notice p:last-child { margin: 0; }

/* Footer ----------------------------------------------------------------- */

.qhh-footer { background: var(--qhh-ink); color: #c9ccc5; font-size: 0.95rem; }
.qhh-footer a { color: var(--qhh-paper-2); }
.qhh-footer__inner { max-width: var(--qhh-wrap); margin: 0 auto; padding: 3.5rem var(--qhh-gutter) 2rem; display: grid; grid-template-columns: 1.4fr 1fr; gap: 2rem; }
.qhh-footer__name { font-family: var(--qhh-display); font-size: 1.8rem; color: var(--qhh-paper-2); margin-bottom: 0.4rem; }
.qhh-footer__about p { max-width: 30rem; }
.qhh-footer__links { display: flex; gap: 3rem; flex-wrap: wrap; }
.qhh-footer__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.5rem; align-content: start; }
.qhh-footer__small { max-width: var(--qhh-wrap); margin: 0 auto; padding: 1.25rem var(--qhh-gutter) 2rem; border-top: 1px solid rgba(220, 216, 205, 0.14); font-size: 0.85rem; color: #949a95; }
@media (max-width: 700px) { .qhh-footer__inner { grid-template-columns: 1fr; } }

/* WordPress core alignment helpers --------------------------------------- */

.alignwide { margin-left: -4rem; margin-right: -4rem; }
.alignfull { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); }
@media (max-width: 900px) { .alignwide { margin-left: 0; margin-right: 0; } }
.aligncenter { margin-left: auto; margin-right: auto; }
.wp-caption-text, .wp-element-caption { font-size: 0.88rem; font-style: italic; color: var(--qhh-ink-soft); }
