/*
Theme Name: Evkonut Parcel
Theme URI: https://evkonutproje.com/
Author: evkonutproje
Description: A survey-sheet editorial theme for Commercial & Residential Property News. Plaster, ink and surveyor's lime; ruled ledgers instead of boxed cards; a randomised Popular Topics plot grid on every page. Fully responsive, no jQuery, self-hosted fonts.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: evkonut-parcel
Tags: news, blog, one-column, two-columns, custom-logo, featured-images, threaded-comments, translation-ready, wide-blocks
*/

/* ---------- Fonts (self-hosted, SIL OFL) ---------- */
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Regular.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Instrument Serif"; src: url("assets/fonts/InstrumentSerif-Italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("assets/fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-style: normal; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/PlexMono-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex Mono"; src: url("assets/fonts/PlexMono-Medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
	--plaster: #EDE8DE;
	--paper: #F6F3EC;
	--sand: #DED7C8;
	--ink: #1B1A17;
	--ink-2: #2E2C28;
	--graphite: #5D5A52;
	--lime: #CFDC3E;
	--lime-deep: #A9B52A;
	--oxide: #A63D1F;
	--umber: #2B1B14;
	--line: rgba(27, 26, 23, .16);
	--line-strong: rgba(27, 26, 23, .55);
	--line-light: rgba(237, 232, 222, .16);

	--serif: "Instrument Serif", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
	--sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--mono: "Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--wrap: 1320px;
	--gutter: clamp(16px, 4vw, 40px);
	--chamfer: 26px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
	margin: 0;
	background: var(--plaster);
	color: var(--ink);
	font-family: var(--sans);
	font-size: 1rem;
	line-height: 1.6;
	font-stretch: 100%;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}
img, svg, video, iframe { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; }
p { margin: 0; }
button, input, textarea, select { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--oxide); outline-offset: 3px; }
::selection { background: var(--lime); color: var(--ink); }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.screen-reader-text, .searchform__label {
	position: absolute !important; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px); white-space: nowrap;
}
.skip {
	position: absolute; left: 12px; top: -60px; z-index: 100;
	background: var(--ink); color: var(--lime); padding: 10px 16px;
	font-family: var(--mono); font-size: .8rem; text-decoration: none;
}
.skip:focus { top: 12px; }

.eyebrow {
	font-family: var(--mono); font-size: .72rem; letter-spacing: .16em;
	text-transform: uppercase; color: var(--graphite);
	display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--oxide); }
.eyebrow--light { color: rgba(237, 232, 222, .7); }
.eyebrow--light::before { background: var(--lime); }

.dot { display: inline-block; width: 4px; height: 4px; background: currentColor; margin: 0 10px; vertical-align: middle; opacity: .5; transform: rotate(45deg); }

/* Category & tag links */
.cat {
	font-family: var(--mono); font-size: .7rem; font-weight: 500;
	letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	color: var(--oxide);
	display: inline-flex; align-items: center; gap: 8px;
}
.cat::before { content: ""; width: 10px; height: 10px; background: var(--lime); clip-path: polygon(0 30%, 70% 0, 100% 55%, 40% 100%, 6% 80%); }
.cat:hover { color: var(--ink); }
.cat--light { color: var(--lime); }
.cat--light:hover { color: var(--plaster); }

/* Marker sweep for headline links (post links carry no class; styled through parents) */
.lead__title a, .stack__title a, .row__title a, .plot__title a, .adjacent a .adjacent__title {
	text-decoration: none;
	background-image: linear-gradient(var(--lime), var(--lime));
	background-repeat: no-repeat;
	background-position: 0 88%;
	background-size: 0% .32em;
	transition: background-size .45s var(--ease);
}
.lead__title a:hover, .stack__title a:hover, .row__title a:hover, .plot__title a:hover,
.lead__title a:focus-visible, .row__title a:focus-visible, .stack__title a:focus-visible, .plot__title a:focus-visible,
.adjacent a:hover .adjacent__title { background-size: 100% .32em; }
.plot__title a { background-image: linear-gradient(var(--oxide), var(--oxide)); }

/* ---------- Media (chamfered corner, never empty) ---------- */
.lead__media, .row__media, .plot__media, .story__figure {
	position: relative; overflow: hidden; background: var(--sand);
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.media__img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; }
.lead:hover .media__img, .row:hover .media__img, .plot:hover .media__img { transform: scale(1.04); }
.media__fallback {
	display: grid; place-items: center; width: 100%; height: 100%;
	background:
		repeating-linear-gradient(-45deg, rgba(27, 26, 23, .22) 0 1px, transparent 1px 10px),
		var(--lime);
	font-family: var(--serif); font-style: italic; color: var(--ink);
	font-size: clamp(3rem, 7vw, 6rem); line-height: 1;
}
.media__fallback--1 { background: repeating-linear-gradient(45deg, rgba(27, 26, 23, .2) 0 1px, transparent 1px 8px), var(--sand); }
.media__fallback--2 { background: repeating-linear-gradient(90deg, rgba(237, 232, 222, .18) 0 1px, transparent 1px 12px), var(--oxide); color: var(--plaster); }
.media__fallback span { transform: translateY(-4%); }

/* ---------- Progress ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 4px; z-index: 60; pointer-events: none; }
.progress__bar { display: block; height: 100%; width: 100%; background: var(--oxide); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- Masthead ---------- */
.mast {
	position: relative;
	background-color: var(--paper);
	background-image: radial-gradient(rgba(27, 26, 23, .14) 1px, transparent 1.2px);
	background-size: 22px 22px;
}
.mast__strip {
	display: flex; justify-content: space-between; gap: 16px;
	font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase;
	color: var(--graphite);
	padding-block: 10px; border-bottom: 1px solid var(--line);
}
.mast__main {
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	padding-block: clamp(18px, 3vw, 34px);
}
.mast__brand { margin: 0; line-height: 0; font-size: 1rem; }
.brand { display: inline-block; text-decoration: none; }
.brand__img { width: clamp(210px, 32vw, 430px); height: auto; }
.mast__tools { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.mast__jump {
	font-family: var(--mono); font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
	text-decoration: none; padding-bottom: 3px;
	border-bottom: 2px solid var(--lime);
}
.mast__jump:hover { border-color: var(--oxide); }
.mast__search {
	display: inline-flex; align-items: center; gap: 10px;
	background: var(--ink); color: var(--lime); border: 0; cursor: pointer;
	padding: 12px 16px;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
	font-family: var(--mono); font-size: .76rem; letter-spacing: .1em; text-transform: uppercase;
	transition: background .2s;
}
.mast__search:hover, .mast__search[aria-expanded="true"] { background: var(--oxide); color: var(--plaster); }

/* Surveyor's ruler under the header */
.ruler {
	height: 16px;
	background:
		linear-gradient(var(--ink), var(--ink)) 0 100% / 100% 2px no-repeat,
		repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 100px) 0 100% / 100% 16px no-repeat,
		repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 20px) 0 100% / 100% 9px no-repeat,
		repeating-linear-gradient(90deg, var(--line-strong) 0 1px, transparent 1px 5px) 0 100% / 100% 5px no-repeat;
}

.seek { background: var(--lime); padding-block: clamp(20px, 4vw, 40px); }
.seek[hidden] { display: none; }

/* Header widget area (printed right after </header>) */
.hw { max-width: var(--wrap); margin: 18px auto 0; padding-inline: var(--gutter); text-align: center; }
.hw:last-of-type { margin-bottom: 4px; }
.hw__title { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.hw img, .hw iframe { margin-inline: auto; }

/* ---------- Search form ---------- */
.searchform__line { display: flex; align-items: flex-end; gap: 16px; border-bottom: 2px solid var(--ink); }
.searchform__input {
	flex: 1; min-width: 0; border: 0; background: transparent; padding: 8px 0 10px;
	font-family: var(--serif); font-size: clamp(1.6rem, 4vw, 2.8rem); line-height: 1.1;
	-webkit-appearance: none; appearance: none;
}
.searchform__input::placeholder { color: rgba(27, 26, 23, .42); font-style: italic; }
.searchform__input:focus { outline: none; }
.searchform__line:focus-within { border-color: var(--oxide); }
.searchform__go {
	border: 0; cursor: pointer; background: var(--ink); color: var(--plaster);
	font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
	padding: 12px 18px; margin-bottom: 10px;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}
.searchform__go:hover { background: var(--oxide); }

/* ---------- Front ---------- */
.front {
	display: grid; grid-template-columns: repeat(12, minmax(0, 1fr));
	column-gap: clamp(20px, 3vw, 44px);
	padding-block: clamp(28px, 5vw, 64px) clamp(40px, 6vw, 84px);
}
.lead { grid-column: 1 / span 8; position: relative; }
.lead__media { aspect-ratio: 14 / 9; --chamfer: 56px; }
.lead__text {
	position: relative; margin-top: clamp(-120px, -8vw, -48px); margin-right: 14%;
	background: var(--plaster); padding: clamp(18px, 2.4vw, 30px) clamp(18px, 2.4vw, 30px) 0 0;
}
.lead__meta { display: flex; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: .72rem; color: var(--graphite); margin-bottom: 14px; }
.lead__title { font-family: var(--serif); font-size: clamp(2.2rem, 4.8vw, 4.4rem); line-height: .98; letter-spacing: -.01em; }
.lead__dek { margin-top: 18px; font-size: 1.1rem; line-height: 1.55; color: var(--ink-2); max-width: 56ch; }
.lead__by { margin-top: 18px; font-family: var(--mono); font-size: .74rem; color: var(--graphite); text-transform: uppercase; letter-spacing: .08em; }

.stack { grid-column: 9 / span 4; list-style: none; margin: 0; padding: 0 0 0 clamp(20px, 2.4vw, 32px); border-left: 1px solid var(--line); counter-reset: none; }
.stack__item { display: grid; grid-template-columns: 54px minmax(0, 1fr); gap: 14px; padding-block: 22px; border-bottom: 1px solid var(--line); }
.stack__item:first-child { padding-top: 0; }
.stack__item:last-child { border-bottom: 0; }
.stack__no {
	font-family: var(--serif); font-size: 3.4rem; line-height: .8;
	color: transparent; -webkit-text-stroke: 1px var(--ink);
}
.stack__item:hover .stack__no { color: var(--lime); }
.stack__meta { margin-bottom: 8px; }
.stack__title { font-family: var(--serif); font-size: clamp(1.35rem, 1.8vw, 1.7rem); line-height: 1.08; }
.stack__date { margin-top: 10px; font-family: var(--mono); font-size: .7rem; color: var(--graphite); }

/* ---------- Popular Topics (survey sheet) ---------- */
.popular {
	background: var(--ink); color: var(--plaster);
	padding-block: clamp(56px, 8vw, 112px);
	position: relative;
}
.popular::before {
	content: ""; position: absolute; inset: 0 0 auto 0; height: 12px;
	background:
		repeating-linear-gradient(90deg, var(--lime) 0 1px, transparent 1px 20px) 0 0 / 100% 12px no-repeat,
		repeating-linear-gradient(90deg, rgba(207, 220, 62, .45) 0 1px, transparent 1px 5px) 0 0 / 100% 5px no-repeat;
}
.popular__head {
	display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 360px); align-items: end;
	gap: 12px 40px; margin-bottom: clamp(36px, 5vw, 64px);
}
.popular__head .eyebrow { grid-column: 1 / -1; }
.popular__title { font-family: var(--serif); font-size: clamp(3rem, 9vw, 8rem); line-height: .86; letter-spacing: -.02em; }
.popular__title em { color: var(--lime); }
.popular__lede { color: rgba(237, 232, 222, .72); font-size: 1rem; max-width: 36ch; padding-bottom: 10px; }

.plots {
	list-style: none; margin-block: 0; padding-block: 0;
	display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
	row-gap: clamp(36px, 4vw, 56px);
}
.plot {
	position: relative; display: flex; flex-direction: column;
	padding-inline: clamp(14px, 1.6vw, 24px);
	border-left: 1px solid var(--line-light);
}
.plot:nth-child(4n + 1) { border-left: 0; padding-left: 0; }
.plot:nth-child(4n) { padding-right: 0; }
.plot__no {
	font-family: var(--mono); font-size: .7rem; letter-spacing: .12em; color: var(--lime);
	display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
}
.plot__no::after { content: ""; flex: 1; height: 1px; background: var(--line-light); }
.plot__media { aspect-ratio: 36 / 25; background: var(--ink-2); --chamfer: 22px; }
.plot__media::after {
	content: ""; position: absolute; inset: 0; background: var(--lime);
	mix-blend-mode: multiply; opacity: 0; transition: opacity .4s;
}
.plot:hover .plot__media::after { opacity: .55; }
.plot__body { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; flex: 1; }
.plot__body .cat { position: relative; z-index: 2; align-self: flex-start; }
.plot__title { font-family: var(--serif); font-size: clamp(1.3rem, 1.6vw, 1.55rem); line-height: 1.1; }
.plot__title a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.plot__date { margin-top: auto; font-family: var(--mono); font-size: .68rem; color: rgba(237, 232, 222, .55); letter-spacing: .06em; }

/* ---------- Ledger (lists) ---------- */
.ledger { padding-block: clamp(40px, 6vw, 84px); }
.ledger__title {
	font-family: var(--serif); font-size: clamp(2.4rem, 5vw, 4.2rem); line-height: 1;
	padding-bottom: 18px; margin-bottom: 6px;
	border-bottom: 2px solid var(--ink);
}
.ledger__title em { color: var(--oxide); }
.row {
	display: grid; grid-template-columns: 56px minmax(140px, 240px) minmax(0, 1fr) 110px;
	grid-template-areas: "no media body time";
	gap: clamp(16px, 2.4vw, 32px); align-items: start;
	padding-block: clamp(20px, 2.6vw, 32px);
	border-bottom: 1px solid var(--line);
	position: relative;
}
.row__no { grid-area: no; font-family: var(--mono); font-size: .78rem; color: var(--graphite); padding-top: 4px; }
.row:hover .row__no { color: var(--oxide); }
.row__media { grid-area: media; aspect-ratio: 7 / 5; --chamfer: 18px; }
.row__body { grid-area: body; }
.row__meta { display: flex; align-items: center; flex-wrap: wrap; font-family: var(--mono); font-size: .7rem; color: var(--graphite); margin-bottom: 10px; }
.row__title { font-family: var(--serif); font-size: clamp(1.5rem, 2.4vw, 2.1rem); line-height: 1.06; }
.row__excerpt { margin-top: 10px; color: var(--ink-2); max-width: 70ch; }
.row__time { grid-area: time; justify-self: end; font-family: var(--mono); font-size: .7rem; color: var(--graphite); white-space: nowrap; padding-top: 4px; }

/* Pagination */
.pager { display: flex; flex-wrap: wrap; gap: 6px; margin-top: clamp(28px, 4vw, 48px); font-family: var(--mono); font-size: .8rem; }
.pager .page-numbers {
	display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 12px;
	text-decoration: none; border-bottom: 2px solid var(--line);
}
.pager a.page-numbers:hover { border-color: var(--oxide); color: var(--oxide); }
.pager .current { background: var(--ink); color: var(--lime); border-color: var(--ink); }
.pager .dots { border: 0; }

/* ---------- Sheet heading (archives, search) ---------- */
.sheet-head { padding-top: clamp(36px, 6vw, 80px); }
.sheet-head__title { font-family: var(--serif); font-size: clamp(3rem, 9vw, 7.6rem); line-height: .9; letter-spacing: -.02em; margin-top: 16px; overflow-wrap: anywhere; }
.sheet-head__title em { color: var(--oxide); }
.sheet-head__desc { margin-top: 18px; max-width: 62ch; font-size: 1.1rem; color: var(--ink-2); }
.sheet-head__count { margin-top: 20px; font-family: var(--mono); font-size: .74rem; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); }
.sheet-head__search { margin-top: 28px; max-width: 760px; }
.sheet-head + .ledger { padding-top: clamp(20px, 3vw, 36px); }
.sheet-head + .ledger .ledger__rows { border-top: 2px solid var(--ink); }

/* ---------- Article ---------- */
.story__head { padding-top: clamp(32px, 6vw, 80px); padding-bottom: clamp(24px, 4vw, 48px); }
.story__head > * { max-width: 1040px; }
.story__cats { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-bottom: 20px; }
.story__title { font-family: var(--serif); font-size: clamp(2.4rem, 6vw, 5.4rem); line-height: .96; letter-spacing: -.015em; overflow-wrap: break-word; }
.story__dek { margin-top: 22px; font-size: clamp(1.1rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--ink-2); max-width: 62ch; }
.story__meta {
	display: flex; flex-wrap: wrap; gap: 8px 0; margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line);
	font-family: var(--mono); font-size: .74rem; letter-spacing: .04em; color: var(--graphite);
}
.story__meta > span + span::before { content: "/"; margin: 0 12px; color: var(--oxide); }
.story__meta strong { color: var(--ink); font-weight: 500; }

.story__figure {
	margin: 0 auto; max-width: 1480px; --chamfer: clamp(28px, 5vw, 72px);
	clip-path: none; background: none; overflow: visible;
}
.story__figure .media__img, .story__figure .media__fallback {
	aspect-ratio: 16 / 9; height: auto;
	clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--chamfer)), calc(100% - var(--chamfer)) 100%, 0 100%);
}
.story__figure figcaption {
	max-width: var(--wrap); margin: 12px auto 0; padding-inline: var(--gutter);
	font-family: var(--mono); font-size: .72rem; color: var(--graphite);
	display: flex; gap: 10px;
}
.story__figure figcaption::before { content: ""; flex: 0 0 18px; height: 2px; margin-top: .7em; background: var(--lime-deep); }

.story__grid {
	display: grid; grid-template-columns: 220px minmax(0, 46rem);
	column-gap: clamp(32px, 6vw, 110px); justify-content: center;
	padding-block: clamp(32px, 5vw, 64px) clamp(48px, 7vw, 96px);
}
.story__rail { display: flex; flex-direction: column; gap: 18px; align-self: start; position: sticky; top: 24px; }
.facts { margin: 0; border-top: 2px solid var(--ink); }
.facts > div { padding-block: 12px; border-bottom: 1px solid var(--line); }
.facts dt, .facts__label { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); }
.facts dd { margin: 4px 0 0; font-size: .95rem; }
.share { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 16px; }
.share__link { font-family: var(--mono); font-size: .76rem; text-decoration: none; border-bottom: 1px solid var(--line-strong); }
.share__link::after { content: " \2197"; color: var(--oxide); }
.share__link:hover { border-color: var(--oxide); }
.rail-widget { font-size: .92rem; }
.rail-widget__title, .below-widget__title { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--graphite); margin-bottom: 8px; }

/* Entry typography */
.entry { font-size: clamp(1.06rem, 1.2vw, 1.15rem); line-height: 1.75; }
.entry > * + * { margin-top: 1.25em; }
.entry > p:first-of-type::first-letter {
	float: left; font-family: var(--serif); font-size: 4.9em; line-height: .78;
	padding: .06em .12em 0 0; color: var(--oxide);
}
.entry--page > p:first-of-type::first-letter { all: unset; }
.entry h2 { font-family: var(--serif); font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: 1.08; margin-top: 1.8em; }
.entry h3 { font-weight: 700; font-stretch: 112%; font-size: 1.28rem; line-height: 1.25; margin-top: 1.7em; }
.entry h4, .entry h5, .entry h6 { font-weight: 700; font-size: 1.06rem; margin-top: 1.5em; }
.entry a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--oxide); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
.entry a:hover { background: var(--lime); }
.entry strong { font-weight: 650; }
.entry ul, .entry ol { padding-left: 1.3em; }
.entry li + li { margin-top: .4em; }
.entry ul li::marker { color: var(--oxide); }
.entry ol li::marker { font-family: var(--mono); font-size: .85em; color: var(--oxide); }
.entry blockquote, .entry .wp-block-quote {
	margin: 2em 0; padding: 0 0 0 clamp(36px, 5vw, 64px); border: 0; position: relative;
	font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.2;
}
.entry blockquote::before { content: "\201C"; position: absolute; left: 0; top: -.08em; font-size: 3.2em; line-height: 1; color: var(--lime-deep); font-style: normal; }
.entry blockquote cite, .entry blockquote p + p { display: block; margin-top: 12px; font-family: var(--mono); font-style: normal; font-size: .76rem; color: var(--graphite); }
.entry .wp-block-pullquote { border-block: 2px solid var(--ink); padding: 1.4em 0; text-align: left; }
.entry figure { margin-inline: 0; }
.entry figcaption, .entry .wp-element-caption { font-family: var(--mono); font-size: .72rem; color: var(--graphite); margin-top: 8px; }
.entry img { height: auto; }
.entry table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.entry th { font-family: var(--mono); font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; text-align: left; border-bottom: 2px solid var(--ink); padding: 10px 8px; }
.entry td { border-bottom: 1px solid var(--line); padding: 10px 8px; vertical-align: top; }
.entry .wp-block-table { overflow-x: auto; }
.entry hr { border: 0; height: 16px; background: repeating-linear-gradient(90deg, var(--ink) 0 1px, transparent 1px 12px) 0 50% / 100% 9px no-repeat; margin-block: 2.4em; }
.entry pre, .entry code { font-family: var(--mono); font-size: .88em; }
.entry pre { background: var(--ink); color: var(--plaster); padding: 18px 20px; overflow-x: auto; }
.entry .alignwide { margin-inline: clamp(-120px, -8vw, 0px); max-width: none; }
.entry .alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.entry .alignleft { float: left; margin: .4em 1.6em 1em 0; max-width: 50%; }
.entry .alignright { float: right; margin: .4em 0 1em 1.6em; max-width: 50%; }
.entry .aligncenter { margin-inline: auto; }
.entry iframe, .entry .wp-block-embed { max-width: 100%; }
.page-links { font-family: var(--mono); font-size: .8rem; display: flex; gap: 12px; }

.story__tags { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 16px; margin-top: 40px; padding-top: 16px; border-top: 1px solid var(--line); }
.story__tags .facts__label { margin-right: 6px; }
.tag { font-family: var(--mono); font-size: .8rem; text-decoration: none; }
.tag::before { content: "#"; color: var(--oxide); margin-right: 1px; }
.tag:hover { background: var(--lime); }
.below-widgets { margin-top: 40px; }

.adjacent { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.adjacent a { display: flex; flex-direction: column; gap: 8px; padding-top: 14px; border-top: 2px solid var(--ink); text-decoration: none; }
.adjacent a[rel="next"] { text-align: right; grid-column: 2; }
.adjacent__label { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--oxide); }
.adjacent__title { font-family: var(--serif); font-size: 1.4rem; line-height: 1.12; }

.story--page .story__head { padding-bottom: clamp(16px, 3vw, 32px); border-bottom: 0; }
.entry--page { max-width: 46rem; padding-block: clamp(24px, 4vw, 48px) clamp(48px, 7vw, 96px); }

/* ---------- Comments ---------- */
.discuss-wrap { padding-block: clamp(48px, 7vw, 96px); }
.discuss { max-width: 46rem; margin-inline: auto; }
.discuss__title { font-family: var(--serif); font-size: clamp(1.8rem, 3vw, 2.6rem); padding-bottom: 14px; border-bottom: 2px solid var(--ink); margin-bottom: 24px; }
.discuss__list, .discuss__list .children { list-style: none; margin: 0; padding: 0; }
.discuss__list .children { padding-left: clamp(16px, 4vw, 44px); border-left: 1px solid var(--line); }
.discuss__list .comment-body { padding-block: 20px; border-bottom: 1px solid var(--line); }
.comment-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font-family: var(--mono); font-size: .74rem; color: var(--graphite); margin-bottom: 10px; }
.comment-author { display: flex; align-items: center; gap: 10px; }
.comment-author .avatar { clip-path: polygon(0 0, 100% 0, 100% 70%, 70% 100%, 0 100%); }
.comment-author .fn { font-family: var(--sans); font-weight: 600; font-size: .95rem; color: var(--ink); font-style: normal; }
.comment-author .says { display: none; }
.comment-metadata a, .comment-author a { text-decoration: none; }
.reply a, .comment-reply-link { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--oxide); text-decoration: none; }
.comment-respond { margin-top: 40px; }
.comment-form { display: grid; gap: 16px; }
.comment-form label { display: block; font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--graphite); margin-bottom: 6px; }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea {
	width: 100%; border: 0; border-bottom: 2px solid var(--ink); background: transparent; padding: 10px 0; font-size: 1rem;
}
.comment-form textarea { min-height: 140px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; border-color: var(--oxide); }
.comment-form-cookies-consent { display: flex; gap: 10px; align-items: flex-start; }
.comment-form-cookies-consent label { text-transform: none; letter-spacing: 0; font-family: var(--sans); font-size: .9rem; }
.form-submit .searchform__go { margin: 0; }

/* ---------- Nothing / 404 ---------- */
.nothing { padding-block: clamp(32px, 5vw, 64px); max-width: 760px; }
.nothing__mark { font-family: var(--serif); font-size: 5rem; line-height: 1; color: var(--oxide); }
.nothing__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3rem); margin: 8px 0 12px; }
.nothing .searchform { margin-top: 28px; }

.lost { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; padding-block: clamp(48px, 8vw, 120px); }
.lost__code { font-family: var(--serif); font-size: clamp(7rem, 22vw, 20rem); line-height: .8; color: transparent; -webkit-text-stroke: 2px var(--ink); background: repeating-linear-gradient(-45deg, var(--lime) 0 2px, transparent 2px 12px); -webkit-background-clip: text; background-clip: text; }
.lost__title { font-family: var(--serif); font-size: clamp(2rem, 4vw, 3.4rem); line-height: 1.02; margin-bottom: 16px; }
.lost__text > * + * { margin-top: 18px; }
.btn-line { font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; text-decoration: none; border-bottom: 2px solid var(--lime-deep); padding-bottom: 3px; }

/* ---------- Footer ---------- */
.foot { background: var(--umber); color: var(--plaster); position: relative; }
.foot::before {
	content: ""; display: block; height: 14px;
	background:
		repeating-linear-gradient(90deg, var(--oxide) 0 1px, transparent 1px 100px) 0 0 / 100% 14px no-repeat,
		repeating-linear-gradient(90deg, rgba(237, 232, 222, .35) 0 1px, transparent 1px 10px) 0 0 / 100% 6px no-repeat;
}
.foot__grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 40px clamp(32px, 6vw, 96px); padding-block: clamp(48px, 7vw, 88px) clamp(32px, 4vw, 48px); }
.foot .brand__img { width: clamp(220px, 30vw, 400px); }
.foot__desc { margin-top: 22px; max-width: 44ch; color: rgba(237, 232, 222, .7); }
.foot__pages .eyebrow { margin-bottom: 18px; }
.fpages { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 32px; }
.fpages li { break-inside: avoid; border-top: 1px solid var(--line-light); }
.fpages a { display: block; padding: 11px 0; text-decoration: none; font-size: 1rem; transition: color .2s, padding .3s var(--ease); }
.fpages a:hover { color: var(--lime); padding-left: 8px; }
.foot__base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 20px 28px; border-top: 1px solid var(--line-light); font-family: var(--mono); font-size: .72rem; color: rgba(237, 232, 222, .6); }
.foot__top { text-decoration: none; color: var(--lime); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.lead { grid-column: 1 / -1; }
	.stack { grid-column: 1 / -1; border-left: 0; padding-left: 0; margin-top: 40px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-top: 2px solid var(--ink); }
	.stack__item, .stack__item:first-child { padding-top: 22px; }
	.stack__item:nth-last-child(-n + 2) { border-bottom: 0; }
	.plots { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.plot, .plot:nth-child(4n), .plot:nth-child(4n + 1) { padding-inline: clamp(14px, 2vw, 24px); border-left: 1px solid var(--line-light); }
	.plot:nth-child(2n + 1) { border-left: 0; padding-left: 0; }
	.plot:nth-child(2n) { padding-right: 0; }
	.story__grid { grid-template-columns: 180px minmax(0, 1fr); }
	.entry .alignwide { margin-inline: 0; }
}

@media (max-width: 860px) {
	.mast__desk { display: none; }
	.popular__head { grid-template-columns: 1fr; }
	.row { grid-template-columns: minmax(0, 1fr) 132px; grid-template-areas: "body media" "time media"; row-gap: 8px; }
	.row__no { display: none; }
	.row__time { justify-self: start; padding-top: 0; }
	.row__excerpt { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
	.story__grid { grid-template-columns: minmax(0, 1fr); }
	.story__rail { position: static; order: 2; margin-top: 48px; }
	.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
	.lost { grid-template-columns: 1fr; }
	.foot__grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
	:root { --chamfer: 16px; }
	.mast__strip { font-size: .64rem; }
	.mast__main { gap: 12px; }
	.mast__jump, .mast__search-label { display: none; }
	.mast__search { padding: 11px 12px; }
	.brand__img { width: min(62vw, 260px); }
	.lead__text { margin-right: 0; margin-top: -28px; padding-right: 14px; }
	.lead__media { --chamfer: 28px; aspect-ratio: 4 / 3; }
	.stack { grid-template-columns: 1fr; }
	.stack__item:nth-last-child(2) { border-bottom: 1px solid var(--line); }
	.plots { grid-template-columns: 1fr; row-gap: 0; }
	.plot, .plot:nth-child(n) {
		display: grid; grid-template-columns: 108px minmax(0, 1fr); column-gap: 16px;
		padding: 18px 0; border-left: 0; border-top: 1px solid var(--line-light);
	}
	.plot__no { grid-column: 1 / -1; margin-bottom: 10px; }
	.plot__media { aspect-ratio: 1 / 1; --chamfer: 14px; }
	.plot__body { padding-top: 0; gap: 6px; }
	.plot__title { font-size: 1.2rem; }
	.row { grid-template-columns: minmax(0, 1fr) 96px; }
	.row__title { font-size: 1.35rem; }
	.adjacent { grid-template-columns: 1fr; }
	.adjacent a[rel="next"] { grid-column: 1; text-align: left; }
	.entry .alignleft, .entry .alignright { float: none; margin-inline: 0; max-width: 100%; }
	.fpages { columns: 1; }
	.searchform__line { flex-wrap: wrap; }
	.searchform__go { margin-bottom: 10px; }
}

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

@media print {
	.mast__tools, .ruler, .popular, .foot, .progress, .story__rail, .hw, .discuss-wrap { display: none !important; }
	body { background: #fff; }
}
