/*
Theme Name: Tatskie Journal
Theme URI: https://tatskie.com
Author: Tatskie
Description: A typographic daily-journal theme. Full-screen name hero, day counter, typographic entry index and monthly volumes.
Version: 1.0.0
Requires at least: 6.3
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: tatskie
*/

:root {
	--bg: #EDEDEA;
	--ink: #0A0A0A;
	--text: #1F1F1F;
	--muted: #52524D;
	--rule: #C9C9C4;
	--ph: #C8C8C3;
	--accent: #C4380F;
	--mono: 'DM Mono', ui-monospace, Menlo, Consolas, monospace;
	--sans: 'Archivo', system-ui, sans-serif;
	--gap: 32px;
	--spine: 88px;
	--edge: 80px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 18px; line-height: 1.5; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--accent); }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px,1px,1px,1px); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 100; width: auto; height: auto; clip: auto; padding: 12px 16px; background: var(--ink); color: var(--bg); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.mono { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.accent { color: var(--accent); }
.display { font-stretch: 72%; text-transform: uppercase; letter-spacing: -0.02em; line-height: 0.88; margin: 0; }
.w900 { font-weight: 900; } .w800 { font-weight: 800; } .w300 { font-weight: 300; }
.grid12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); }

/* ---------- Nav ---------- */
.nav { display: flex; align-items: center; gap: 32px; list-style: none; margin: 0; padding: 0; }
.nav a { font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: var(--muted); text-decoration: none; padding: 12px 0; }
.nav a:hover, .nav .current-menu-item > a, .nav a[aria-current="page"] { color: var(--ink); }
.nav .current-menu-item > a, .nav a[aria-current="page"] { border-bottom: 2px solid var(--ink); padding-bottom: 3px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); padding: 0; cursor: pointer; align-items: center; justify-content: flex-end; }

/* ---------- Hero ---------- */
.hero { min-height: 100vh; min-height: 100svh; padding: 0 var(--edge); display: flex; flex-direction: column; border-bottom: 6px solid var(--ink); }
.hero-top { height: 96px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.hero-center { flex-grow: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px; text-align: center; padding: 40px 0; }
.hero-name { margin: 0; font-size: clamp(88px, 25vw, 320px); line-height: 0.8; font-weight: 900; font-stretch: 62%; letter-spacing: -0.03em; white-space: nowrap; text-transform: uppercase; }
/* Baybayin wordmark with a dictionary-style gloss beside it. */
@font-face { font-family: 'Tatskie Baybayin'; src: url('assets/fonts/baybayin.ttf') format('truetype'); font-display: block; }
.hero-mark { display: flex; align-items: center; justify-content: center; gap: clamp(28px, 4vw, 64px); }
.hero-name--baybayin { font-family: 'Tatskie Baybayin', var(--sans); font-weight: 400; font-stretch: normal; letter-spacing: 0; text-transform: none; font-size: clamp(80px, 16vw, 240px); line-height: 1.1; padding-bottom: 0.08em; }
.hero-name--baybayin [lang] { -webkit-text-stroke: 0.032em var(--ink); }
.hero-name--baybayin .accent { font-family: var(--sans); font-weight: 900; font-stretch: 62%; }
.hero-gloss { margin: 0; max-width: 230px; padding-left: 20px; border-left: 2px solid var(--ink); display: flex; flex-direction: column; gap: 8px; text-align: left; line-height: 1.5; }
.hero-gloss .g-word { font-family: var(--sans); font-size: 32px; line-height: 1; font-weight: 900; font-stretch: 62%; letter-spacing: -0.01em; text-transform: uppercase; color: var(--ink); }
.hero-gloss .g-def { text-transform: none; letter-spacing: 0; font-size: 13px; color: var(--text); }
.hero-gloss .g-pos { text-transform: none; }
.hero-gloss .g-script { color: var(--muted); font-size: 12px; }
.hero-tagline { margin: 0; font-family: var(--mono); font-size: 15px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.hero-bottom { height: 72px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; }
.hero-bottom a { display: flex; align-items: center; gap: 8px; min-height: 44px; text-decoration: none; color: var(--ink); }

/* ---------- Shell ---------- */
.shell { display: flex; }
.spine { width: var(--spine); flex-shrink: 0; display: flex; justify-content: center; padding-top: 40px; }
.spine::before { content: ""; width: 6px; background: var(--ink); }
.main { flex-grow: 1; min-width: 0; padding-right: var(--edge); display: flex; flex-direction: column; min-height: 100vh; }
.topbar { height: 96px; flex-shrink: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-bottom: 1px solid var(--ink); }
.brand { font-size: 26px; font-weight: 900; font-stretch: 72%; letter-spacing: 0.02em; text-decoration: none; text-transform: uppercase; color: var(--ink); }

/* ---------- Counter ---------- */
.counter { padding: 40px 0 56px; align-items: end; }
.counter-big { grid-column: span 6; display: flex; flex-direction: column; gap: 8px; }
.counter-num { font-size: clamp(140px, 23vw, 300px); line-height: 0.78; font-weight: 900; font-stretch: 62%; letter-spacing: -0.04em; color: var(--accent); }
.stats { grid-column: span 6; list-style: none; margin: 0; padding: 0; }
.stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ink); }
.stats li:last-child { border-bottom: 1px solid var(--ink); }
.stats b { font-size: clamp(40px, 5vw, 64px); line-height: 1; font-weight: 800; font-stretch: 72%; }

/* ---------- Latest ---------- */
.latest { border-top: 6px solid var(--ink); padding: 40px 0 88px; align-items: start; }
.latest-text { grid-column: span 8; display: flex; flex-direction: column; gap: 28px; }
.latest-title { font-size: clamp(48px, 8.7vw, 112px); font-weight: 900; }
.latest-title a { text-decoration: none; }
.latest-excerpt { margin: 0; font-size: clamp(19px, 2vw, 26px); line-height: 1.45; color: var(--text); max-width: 640px; }
.latest-excerpt p { margin: 0; }
.latest-fig { grid-column: span 4; display: flex; flex-direction: column; gap: 10px; padding-top: 44px; margin: 0; }
.latest-fig img, .ph { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--ph); }
.ph { display: flex; align-items: center; justify-content: center; font-family: var(--mono); font-size: 12px; color: var(--muted); text-transform: uppercase; }
.btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 12px; min-height: 56px; padding: 0 28px; background: var(--ink); color: var(--bg); text-decoration: none; font-size: 18px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.04em; border: 0; }
.btn:hover { background: var(--accent); color: #fff; }

/* ---------- Four columns (homepage) ---------- */
.cols4 { padding: 40px 0 88px; display: flex; flex-direction: column; gap: 32px; }
.cols4-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cols4-head .mono { padding-bottom: 10px; }
.cols4-all { min-height: 44px; display: inline-flex; align-items: flex-end; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ink); padding-bottom: 4px !important; }
.cols4-all:hover { color: var(--accent); border-color: var(--accent); }
.cols4-title { font-size: clamp(56px, 10vw, 128px); font-weight: 900; line-height: 0.85; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); border-top: 6px solid var(--ink); }
.card > a { display: flex; flex-direction: column; gap: 14px; height: 100%; padding-top: 24px; text-decoration: none; color: var(--ink); }
.card-fig { margin: 0; overflow: hidden; }
.card-fig img, .card-fig .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ph); transition: transform .4s ease; }
.card a:hover .card-fig img { transform: scale(1.04); }
.card-title { margin: 0; font-size: clamp(26px, 2.4vw, 34px); line-height: 0.95; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.card a:hover .card-title { color: var(--accent); }
.card-excerpt { margin: 0; font-size: 16px; line-height: 1.5; color: var(--text); }
.card-date { margin-top: auto; padding-top: 12px; border-top: 1px solid var(--rule); }

.card--today { padding-top: 24px; }
.today { height: 100%; display: flex; flex-direction: column; gap: 20px; padding: 24px; background: var(--ink); color: var(--bg); }
.today .mono { color: #A3A39C; }
.today-day { display: flex; flex-direction: column; gap: 4px; }
.today-num { font-size: clamp(96px, 9vw, 150px); line-height: 0.78; font-weight: 900; font-stretch: 62%; letter-spacing: -0.04em; color: var(--accent); }
.today-stats { list-style: none; margin: 0; padding: 0; }
.today-stats li { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 10px 0; border-top: 1px solid #3A3A37; }
.today-stats b { font-size: 34px; line-height: 1; font-weight: 800; font-stretch: 72%; }
.today-btn { margin-top: auto; display: flex; font-size: 15px; white-space: nowrap; align-items: center; justify-content: space-between; gap: 12px; min-height: 48px; padding: 0 16px; background: var(--bg); color: var(--ink); text-decoration: none; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.04em; }
.today-btn:hover { background: var(--accent); color: #fff; }
.today-cal { display: flex; flex-direction: column; gap: 10px; }
.cal-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 5px; width: 100%; max-width: 300px; }
.cal-grid li { aspect-ratio: 1; background: #232321; border-radius: 2px; }
.cal-grid li.on { background: var(--accent); }
.cal-grid li.is-today { outline: 2px solid var(--bg); outline-offset: 1px; }
.card-excerpt { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* Desktop: the Latest section is exactly one screen tall. */
@media (min-width: 1201px) {
	/* Fixed to the screen height; the cards (and their images) stretch to fill it. */
	.cols4 { height: 100vh; height: 100svh; min-height: 620px; gap: clamp(16px, 3svh, 32px); padding: clamp(24px, 4svh, 48px) 0; }
	.cards { flex: 1 1 auto; min-height: 0; grid-template-rows: minmax(0, 1fr); }
	.card, .card > a { min-height: 0; }
	.card-fig { flex: 1 1 auto; min-height: 120px; }
	.card-fig img, .card-fig .ph { height: 100% !important; }
	.cols4-title { font-size: clamp(48px, 11svh, 112px); }
	.card > a { gap: clamp(8px, 1.4svh, 14px); padding-top: clamp(14px, 2.4svh, 24px); }
	.card--today { padding-top: clamp(14px, 2.4svh, 24px); }
	.card-fig img, .card-fig .ph { aspect-ratio: auto; height: clamp(120px, 26svh, 300px); }
	.card-title { font-size: clamp(22px, min(2.2vw, 3.6svh), 34px); }
	.today { gap: clamp(10px, 2svh, 20px); }
	.today-num { font-size: clamp(64px, 13svh, 150px); }
	.today-cal { margin: auto 0; }
	.cal-grid { max-width: min(100%, 30svh); gap: clamp(3px, 0.6svh, 5px); }
	@media (max-height: 760px) { .cal-grid { max-width: min(100%, 24svh); } .today-num { font-size: 11svh; } .today-stats li { padding: 6px 0; } }
	.admin-bar .cols4 { height: calc(100svh - 32px); }
}

/* ---------- Two columns (homepage) ---------- */
.cols2 { border-top: 6px solid var(--ink); padding: 40px 0 88px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 2fr); gap: var(--gap); }
.cols2 .col2--quote { padding-left: var(--gap); border-left: 1px solid var(--rule); }
.rewind { display: flex; flex-direction: column; gap: 12px; text-decoration: none; color: var(--ink); }
.rewind-fig { display: block; overflow: hidden; }
.rewind-fig img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--ph); filter: grayscale(0.35); transition: filter .3s ease, transform .4s ease; }
.rewind:hover .rewind-fig img { filter: none; transform: scale(1.03); }
.rewind-t { font-size: clamp(22px, 2vw, 30px); line-height: 0.95; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.rewind:hover .rewind-t { color: var(--accent); }
.rewind-more { color: var(--ink); padding-top: 10px; border-top: 1px solid var(--ink); }
.col2 { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.col2-title { font-size: clamp(40px, 4vw, 72px); font-weight: 900; }
.list2 { list-style: none; margin: 0; padding: 0; }
.list2 a { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 14px 0; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.list2 li:last-child a { border-bottom: 1px solid var(--ink); }
.list2 .n { font-size: clamp(24px, 2.6vw, 36px); line-height: 1; font-weight: 300; font-stretch: 72%; text-transform: uppercase; }
.list2 li:first-child .n { font-weight: 800; }
.list2 a:hover .n { color: var(--accent); }

.quote { margin: 0; display: flex; flex-direction: column; gap: 20px; }
.quote-mark { display: block; height: 0.5em; font-size: clamp(140px, 14vw, 220px); line-height: 0.85; font-weight: 900; color: var(--accent); }
.quote-text { margin: 0; padding: 0; border: 0; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; font-weight: 800; font-stretch: 72%; text-transform: uppercase; color: var(--ink); }
.quote figcaption { padding-top: 14px; border-top: 1px solid var(--ink); }
.quote figcaption a { color: var(--ink); }

/* ---------- One column (homepage) ---------- */
.one { border-top: 6px solid var(--ink); padding: 40px 0 24px; display: flex; flex-direction: column; gap: 28px; }
.one-title { font-size: clamp(48px, 8.7vw, 112px); font-weight: 900; max-width: 14ch; }
.one-main { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.one--now { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); gap: 40px clamp(32px, 5vw, 80px); align-items: start; }

/* "Now" card: the right third of About. */
.now { background: #F6F5F1; border: 1px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 28px 28px 12px; display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.now-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 14px; border-bottom: 2px solid var(--ink); }
.now-title { font-size: clamp(44px, 4vw, 64px); font-weight: 900; line-height: 0.85; margin: 0; }
.now-list { list-style: none; margin: 0; padding: 0; }
.now-list li { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 14px; align-items: start; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.now-list li:last-child { border-bottom: 0; }
.now-ico { width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: var(--bg); display: inline-flex; align-items: center; justify-content: center; }
.now-ico svg { width: 18px; height: 18px; stroke-width: 2; }
.now-list li:nth-child(2) .now-ico { background: var(--accent); }
.now-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.now-val { font-size: 22px; line-height: 1.05; font-weight: 800; font-stretch: 72%; text-transform: uppercase; overflow-wrap: anywhere; }
.now-sub { font-size: 15px; font-style: italic; color: var(--muted); }
.now-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.now-tags span { display: inline-flex; align-items: center; min-height: 30px; padding: 0 12px; border: 1px solid var(--ink); border-radius: 999px; font-size: 14px; font-weight: 600; }
.now-tags span::before { content: "→"; margin-right: 6px; color: var(--accent); }

.one-text { font-size: clamp(19px, 2vw, 26px); line-height: 1.45; color: var(--text); max-width: 760px; }
.one-text p { margin: 0 0 18px; }
.one-text p:last-child { margin: 0; }

/* ---------- Journal (/journal/) ---------- */
.jr-hero .brand { font-size: 26px; }
.jr-head { flex-grow: 1; display: grid; grid-template-columns: minmax(0, 1fr) minmax(220px, 320px); align-items: end; gap: clamp(32px, 5vw, 80px); padding: 40px 0 32px; }
.jr-lead { display: flex; flex-direction: column; align-items: flex-start; gap: 24px; min-width: 0; }
.jr-title { font-size: clamp(40px, 6vw, 96px); font-weight: 900; line-height: 0.9; letter-spacing: -0.02em; max-width: 16ch; text-wrap: balance; }
.jr-title a { color: inherit; text-decoration: none; }
.jr-title a:hover { color: var(--accent); }
.jr-btn { margin-top: 4px; }

/* Latest entry's image behind the hero, darkened toward the text (journal + homepage). */
.jr-hero, .home-hero { position: relative; isolation: isolate; }
.jr-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: var(--ink); }
.jr-bg img { width: 100%; height: 100%; object-fit: cover; }
.jr-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0.55) 45%, rgba(10, 10, 10, 0.3) 100%); }
.home-hero .jr-bg::after { background: radial-gradient(ellipse at center, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.72) 70%), linear-gradient(to top, rgba(10, 10, 10, 0.6), transparent 40%); }

/* Homepage hero over a photo: light text, and the sheen re-tinted light so it still reads. */
.home-hero.has-img, .home-hero.has-img a, .home-hero.has-img .menu-toggle, .home-hero.has-img .g-word { color: #F4F3EF; }
.home-hero.has-img .mono, .home-hero.has-img .nav a, .home-hero.has-img .hero-tagline { color: rgba(244, 243, 239, 0.75); }
.home-hero.has-img .nav a:hover, .home-hero.has-img .nav a[aria-current="page"], .home-hero.has-img .nav .current-menu-item > a { color: #F4F3EF; border-color: #F4F3EF; }
.home-hero.has-img .hero-gloss { border-color: rgba(244, 243, 239, 0.6); }
.home-hero.has-img .hero-gloss .g-def { color: rgba(244, 243, 239, 0.88); }
.home-hero.has-img .hero-gloss .g-script { color: rgba(244, 243, 239, 0.65); }
.home-hero.has-img .accent { color: #FF7A4D; }
.home-hero.has-img .hero-name { color: #F4F3EF; -webkit-text-fill-color: #F4F3EF; background-image: linear-gradient(100deg, #E8E5DE 0 46%, #FFFFFF 49%, #FFD9C7 50%, #FFFFFF 51%, #E8E5DE 54% 100%); }
@supports ( -webkit-background-clip: text ) or ( background-clip: text ) {
	.home-hero.has-img .hero-name { color: transparent; -webkit-text-fill-color: transparent; }
}
.home-hero.has-img .hero-name--baybayin [lang] { -webkit-text-stroke-color: #E8E5DE; }
.home-hero.has-img .hero-name .accent { color: var(--accent); -webkit-text-fill-color: var(--accent); }
.home-hero.has-img .hero-credit { color: rgba(244, 243, 239, 0.75); text-decoration: none; text-transform: uppercase; }
.home-hero.has-img .hero-credit:hover { color: #F4F3EF; }
.jr-hero.has-img, .jr-hero.has-img a, .jr-hero.has-img .brand, .jr-hero.has-img .menu-toggle, .jr-hero.has-img .list2 a, .jr-hero.has-img .jr-title { color: #F4F3EF; }
.jr-hero.has-img .mono, .jr-hero.has-img .nav a { color: rgba(244, 243, 239, 0.72); }
.jr-hero.has-img .nav a:hover, .jr-hero.has-img .nav a[aria-current="page"], .jr-hero.has-img .nav .current-menu-item > a { color: #F4F3EF; border-color: #F4F3EF; }
.jr-hero.has-img .jr-intro { color: rgba(244, 243, 239, 0.86); }
.jr-hero.has-img .list2 a { border-color: rgba(244, 243, 239, 0.4); }
.jr-hero.has-img .jr-title a:hover, .jr-hero.has-img .list2 a:hover .n { color: #FF7A4D; }
.jr-hero.has-img .jr-btn { background: #F4F3EF; color: var(--ink); }
.jr-hero.has-img .jr-btn:hover { background: var(--accent); color: #fff; }
.jr-hero.has-img .accent { color: #FF7A4D; }
.jr-hero.has-img .brand .accent { color: var(--accent); }
.jr-count { letter-spacing: 0.24em; }
.jr-side { display: flex; flex-direction: column; gap: 14px; }
.jr-side .list2 .n { font-size: clamp(22px, 2vw, 28px); }
.jr-intro { margin: 0; max-width: 620px; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.6; color: var(--text); }
.jr-intro p { margin: 0; }
.jr-list { margin-top: 56px !important; }
.jr-elsewhere { color: var(--muted); }
.jr-intro a { color: var(--ink); font-weight: 600; text-decoration-color: var(--rule); }
.jr-intro a:hover { color: var(--accent); text-decoration-color: currentColor; }
.jr-list { list-style: none; margin: 0; padding: 0; border-bottom: 1px solid var(--rule); }
.jr-item { display: grid; grid-template-columns: minmax(0, 11rem) minmax(0, 1fr) minmax(200px, 360px); gap: var(--gap); align-items: baseline; align-content: center; min-height: 22svh; padding: 36px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink); transition: border-color .25s ease; }
.jr-item:hover { border-top-color: var(--accent); }
.jr-meta { display: flex; flex-direction: column; gap: 6px; font-size: 12px; letter-spacing: 0.2em; }
.jr-body { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.jr-t { font-size: clamp(30px, 3.6vw, 48px); line-height: 0.95; font-weight: 800; font-stretch: 72%; text-transform: uppercase; text-wrap: balance; max-width: 22ch; transition: color .25s ease; }
.jr-item:hover .jr-t { color: var(--accent); }
.jr-fig { align-self: center; overflow: hidden; }
.jr-fig img, .jr-fig .ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: var(--ph); filter: grayscale(0.35); transition: filter .3s ease, transform .4s ease; }
.jr-fig .ph { display: flex; align-items: center; justify-content: center; font: 900 48px/1 var(--sans); font-stretch: 62%; color: var(--muted); }
.jr-item:hover .jr-fig img { filter: none; transform: scale(1.03); }
.jr-x { max-width: 62ch; font-size: 16px; line-height: 1.55; color: var(--text); }
@media (max-width: 900px) {
	.jr-head { grid-template-columns: 1fr; gap: 32px; padding: 24px 0 20px; }
	.jr-hero .hero-bottom { justify-content: flex-end; }
	.sp-hero.jr-hero .jr-head { gap: 16px; }
	.sp-hero .sp-date { padding-left: 14px; }
	.sp-hero .sp-day { font-size: 64px; }
	.sp-hero .sp-my { font-size: 18px; }
	.single .post-body { padding-top: 32px; }
	.jr-hero.has-img .nav-wrap.is-open .nav a, .home-hero.has-img .nav-wrap.is-open .nav a { color: var(--ink); }
	.home-hero.has-img .hero-credit { display: none; }
	.jr-hero.has-img .nav-wrap.is-open .nav a[aria-current="page"] { border-color: var(--ink); }
	.jr-list { margin-top: 32px !important; }
	.jr-item { grid-template-columns: 1fr; gap: 14px; min-height: 0; padding: 28px 0; }
	.jr-fig { order: -1; align-self: stretch; }
	.jr-meta { flex-direction: row; flex-wrap: wrap; gap: 4px 14px; }
}
@media (max-width: 1100px) and (min-width: 901px) { .jr-item { grid-template-columns: minmax(0, 9rem) minmax(0, 1fr) 220px; } }
@media (prefers-reduced-motion: reduce) { .jr-item, .jr-t, .jr-fig img { transition: none; } }

/* ---------- Homepage status glimpse (dark panel above About) ---------- */
.glimpse { margin: 8px 0 72px; padding: 28px 32px; background: var(--ink); color: var(--bg); display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 24px clamp(24px, 4vw, 56px); }
.glimpse .mono { color: #A3A39C; }
.glimpse-call { display: flex; flex-direction: column; gap: 10px; }
.glimpse-word { display: flex; align-items: center; gap: 14px; font-size: clamp(36px, 3.6vw, 52px); line-height: 0.9; font-weight: 900; font-stretch: 62%; text-transform: uppercase; white-space: nowrap; }
.glimpse .st-chip { width: 0.5em; }
.glimpse-stats { list-style: none; margin: 0; padding: 0 0 0 clamp(24px, 4vw, 56px); border-left: 1px solid #3A3A37; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 24px; }
.glimpse-stats li { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.glimpse-ico { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border: 1px solid #3A3A37; border-radius: 50%; color: var(--bg); margin-bottom: 6px; }
.glimpse-ico svg { width: 17px; height: 17px; stroke-width: 2; }
.glimpse.st-green .glimpse-stats li:first-child .glimpse-ico { color: #4CC274; border-color: #2F8F4E; }
.glimpse.st-yellow .glimpse-stats li:first-child .glimpse-ico { color: #F2BE3B; border-color: #D49A12; }
.glimpse.st-red .glimpse-stats li:first-child .glimpse-ico { color: #FF7A4D; border-color: #C4380F; }
.glimpse-stats b { font-size: clamp(30px, 3vw, 44px); line-height: 0.9; font-weight: 800; font-stretch: 72%; }
.glimpse-stats small { font-size: 0.42em; font-weight: 600; margin-left: 3px; color: #A3A39C; }
.glimpse-btn { display: inline-flex; align-items: center; gap: 12px; min-height: 52px; padding: 0 22px; background: var(--bg); color: var(--ink); text-decoration: none; font-size: 16px; font-weight: 800; font-stretch: 80%; text-transform: uppercase; letter-spacing: 0.04em; white-space: nowrap; }
.glimpse-btn:hover { background: var(--accent); color: #fff; }
@media (max-width: 1200px) {
	.glimpse { grid-template-columns: auto minmax(0, 1fr); }
	.glimpse-btn { grid-column: 1 / -1; justify-self: start; }
}
@media (max-width: 900px) {
	.glimpse { grid-template-columns: 1fr; padding: 24px 20px; margin-bottom: 48px; }
	.glimpse-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); padding: 20px 0 0; border-left: 0; border-top: 1px solid #3A3A37; }
}

/* ---------- Single entry: image hero with the date on the side ---------- */
.sp-hero .jr-head { grid-template-columns: minmax(0, 1fr) auto; }
.sp-hero .jr-title { max-width: 18ch; }
.sp-date { display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 4px; padding-left: 28px; border-left: 2px solid currentColor; }
.sp-day { font-size: clamp(88px, 12vw, 180px); line-height: 0.8; font-weight: 900; font-stretch: 62%; letter-spacing: -0.03em; }
.sp-my { font-size: clamp(22px, 2.4vw, 34px); line-height: 1; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.sp-hero.has-img .sp-date { color: #F4F3EF; border-color: rgba(244, 243, 239, 0.6); }
.sp-hero .jr-count a { text-decoration: none; }
.single .post-body { padding-top: 56px; }

/* ---------- Status (/status/) ---------- */
.st-head { padding: 56px 0 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.st-title { font-size: clamp(56px, 10vw, 140px); font-weight: 900; line-height: 0.85; }
.st-head .mono { padding-bottom: 10px; letter-spacing: 0.2em; }
.st-call { border-top: 6px solid var(--ink); padding: 32px 0 48px; display: flex; flex-direction: column; gap: 18px; }
.st-verdict { display: flex; align-items: center; gap: 20px; }
.st-chip { width: clamp(40px, 5vw, 72px); aspect-ratio: 1; border-radius: 50%; flex-shrink: 0; }
.st-green .st-chip { background: #2F8F4E; }
.st-yellow .st-chip { background: #D49A12; }
.st-red .st-chip { background: #C4380F; }
.st-word { font-size: clamp(56px, 9vw, 128px); font-weight: 900; line-height: 0.85; }
.st-sentence { margin: 0; max-width: 760px; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; color: var(--text); }
.st-stale { margin: 0; padding: 12px 16px; border: 1px solid var(--ink); align-self: flex-start; color: var(--ink); text-transform: none; letter-spacing: 0; }
.st-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.st-tile { display: flex; flex-direction: column; gap: 8px; padding: 22px 20px 26px 0; border-bottom: 1px solid var(--rule); }
.st-tile + .st-tile { padding-left: 20px; }
.st-tile:nth-child(4n + 1) { padding-left: 0; }
.st-tile:not(:nth-child(4n)) { border-right: 1px solid var(--rule); }
.st-num { font-size: clamp(40px, 4.4vw, 64px); line-height: 0.9; font-weight: 800; font-stretch: 72%; }
.st-num small { font-size: 0.4em; font-weight: 600; margin-left: 4px; color: var(--muted); }
.st-sub { font-size: 11px; text-transform: none; letter-spacing: 0; }
.st-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 20px; }
.st-h2 { font-size: clamp(40px, 5vw, 72px); font-weight: 900; }
.st-charts { padding: 72px 0 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px var(--gap); position: relative; }
.st-charts .st-sec-head { grid-column: 1 / -1; padding-bottom: 0; }
.st-card { margin: 0; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid var(--ink); padding-top: 14px; }
.st-card figcaption { display: flex; flex-direction: column; gap: 4px; }
.st-card-t { font-size: 22px; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.st-card figcaption .mono { font-size: 11px; text-transform: none; letter-spacing: 0; }
.st-plot { position: relative; height: 160px; padding-left: 52px; }
.st-svg { display: block; width: 100%; height: 100%; overflow: visible; }
.st-ax { position: absolute; left: 0; font-size: 10px; }
.st-ax--top { top: -6px; }
.st-ax--bot { bottom: -6px; }
.st-x { display: flex; justify-content: space-between; padding-left: 52px; font-size: 10px; }
.st-band { fill: rgba(10, 10, 10, 0.07); }
.st-ref { stroke: var(--muted); stroke-width: 1; stroke-dasharray: 4 4; }
.st-line { fill: none; stroke: var(--ink); stroke-width: 2; stroke-linejoin: round; }
.st-dot { stroke: var(--ink); stroke-width: 8; stroke-linecap: round; }
.st-bar { fill: #52524D; }
.st-bar--green { fill: #2F8F4E; }
.st-bar--yellow { fill: #D49A12; }
.st-bar--red { fill: #C4380F; }
.st-bar--short { fill: transparent; stroke: #52524D; stroke-width: 1.5; vector-effect: non-scaling-stroke; }
.st-hit { fill: transparent; cursor: crosshair; }
.st-hit.is-on { fill: rgba(10, 10, 10, 0.08); }
.st-tip { position: absolute; z-index: 30; transform: translate(-50%, -100%); padding: 6px 10px; background: var(--ink); color: var(--bg); font-size: 11px; white-space: nowrap; pointer-events: none; }
.st-week { padding: 88px 0 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 24px var(--gap); }
.st-week .st-sec-head { grid-column: 1 / -1; padding-bottom: 0; }
.st-strain { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.st-strain li { display: grid; grid-template-columns: 48px minmax(0, 1fr) 86px; align-items: center; gap: 14px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.st-strain-bar { height: 10px; background: rgba(10, 10, 10, 0.07); border-radius: 2px; overflow: hidden; }
.st-strain-bar i { display: block; height: 100%; background: var(--ink); border-radius: 0 2px 2px 0; }
.st-strain b { font-weight: 700; font-size: 15px; text-align: right; }
.st-workouts { display: flex; flex-direction: column; gap: 12px; }
.st-workouts ul { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.st-workouts li { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; padding: 12px 0; border-bottom: 1px solid var(--rule); }
.st-workouts b { font-size: 20px; font-weight: 800; font-stretch: 72%; text-transform: uppercase; }
.st-about { padding: 88px 0 24px; display: flex; flex-direction: column; gap: 24px; }
.st-about-text { max-width: 720px; font-size: 18px; line-height: 1.6; color: var(--text); }
.st-about-text p { margin: 0 0 16px; }
.st-table summary { cursor: pointer; color: var(--ink); min-height: 44px; display: flex; align-items: center; }
.st-table-wrap { overflow-x: auto; margin-top: 12px; }
.st-table table { width: 100%; border-collapse: collapse; font-size: 15px; }
.st-table th, .st-table td { text-align: left; padding: 10px 14px 10px 0; border-bottom: 1px solid var(--rule); white-space: nowrap; }
.st-table th { font-family: var(--mono); font-size: 11px; font-weight: 400; text-transform: uppercase; color: var(--muted); }
@media (max-width: 1100px) {
	.st-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-tile:nth-child(4n + 1) { padding-left: 20px; }
	.st-tile:nth-child(2n + 1) { padding-left: 0; }
	.st-tile:not(:nth-child(4n)) { border-right: 0; }
	.st-tile:nth-child(2n + 1) { border-right: 1px solid var(--rule); }
}
@media (max-width: 900px) {
	.st-head { padding: 32px 0 24px; }
	.st-charts, .st-week { grid-template-columns: 1fr; }
	.st-charts { padding-top: 48px; }
	.st-week, .st-about { padding-top: 56px; }
	.st-plot { height: 130px; padding-left: 44px; }
	.st-x { padding-left: 44px; }
}

/* ---------- Index (month / archive lists) ---------- */
.index { border-top: 6px solid var(--ink); padding: 40px 0 0; display: flex; flex-direction: column; gap: 32px; }
.index-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.index-head .mono { padding-bottom: 10px; }
.index-title { font-size: clamp(56px, 10vw, 128px); font-weight: 900; line-height: 0.85; }
.filters { display: flex; flex-wrap: wrap; border: 1px solid var(--ink); align-self: flex-start; }
.filters button, .filters a { min-height: 44px; padding: 0 18px; border: 0; border-left: 1px solid var(--ink); background: transparent; color: var(--ink); font: 400 13px var(--mono); text-transform: uppercase; cursor: pointer; display: inline-flex; align-items: center; text-decoration: none; }
.filters > :first-child { border-left: 0; }
.filters [aria-pressed="true"], .filters .is-active { background: var(--ink); color: var(--bg); }
.rows { list-style: none; margin: 0; padding: 0; }
.row a { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: baseline; padding: 22px 0; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.rows .row:last-child a { border-bottom: 1px solid var(--ink); }
.row .no { grid-column: span 1; }
.row .t { grid-column: span 8; font-size: clamp(26px, 4.7vw, 60px); line-height: 0.95; font-weight: 300; font-stretch: 72%; text-transform: uppercase; }
.row.is-latest .t { font-weight: 800; }
.row.is-latest .no { color: var(--accent); }
.row .c { grid-column: span 2; }
.row .d { grid-column: span 1; justify-self: end; }
.row a:hover .t { color: var(--accent); }
.row[hidden] { display: none; }
.more { align-self: flex-start; min-height: 44px; display: flex; align-items: center; }

/* ---------- Volumes ---------- */
.volumes { padding: 88px 0 0; display: flex; flex-direction: column; }
.volumes .mono { padding-bottom: 16px; }
.vol { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 12px 0 8px; border-top: 1px solid var(--ink); text-decoration: none; color: var(--ink); }
.vol:first-of-type { border-top-width: 6px; }
.vol:last-of-type { border-bottom: 1px solid var(--ink); }
.vol .n { font-size: clamp(64px, 11vw, 140px); line-height: 0.9; font-weight: 300; font-stretch: 62%; text-transform: uppercase; letter-spacing: -0.02em; }
.vol:first-of-type .n { font-weight: 900; }
.vol:hover .n { color: var(--accent); }

/* ---------- Single ---------- */
.post-head { padding: 56px 0 32px; align-items: end; border-bottom: 6px solid var(--ink); }
.post-no { grid-column: span 5; font-size: clamp(120px, 16vw, 220px); line-height: 0.76; font-weight: 900; font-stretch: 62%; letter-spacing: -0.04em; color: var(--accent); }
.post-meta { grid-column: span 7; list-style: none; margin: 0; padding: 0 0 8px; display: flex; flex-direction: column; gap: 6px; }
.post-body { padding-top: 40px; }
.post-aside { grid-column: span 3; display: flex; flex-direction: column; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.post-aside .label { color: var(--muted); padding-bottom: 12px; }
.post-aside a { display: flex; gap: 12px; padding: 10px 0; border-top: 1px solid var(--rule); text-decoration: none; color: var(--muted); }
.post-aside a.is-current { border-top-color: var(--ink); color: var(--ink); }
.post-aside a.is-current span:first-child { color: var(--accent); }
.post-aside .all { border-top: 1px solid var(--rule); padding-top: 14px; color: var(--ink); }
.post-article { grid-column: span 9; min-width: 0; display: flex; flex-direction: column; }
.post-title { font-size: clamp(52px, 9.7vw, 124px); font-weight: 900; line-height: 0.86; }
.post-figure { margin: 48px 0 0; display: flex; flex-direction: column; gap: 10px; }
.post-figure img { width: 100%; max-height: 640px; object-fit: cover; }

.entry-content { padding-top: 40px; font-size: 20px; line-height: 1.7; color: var(--text); }
.entry-content > * { max-width: 640px; margin: 0 0 26px; }
.entry-content > p:first-child { font-size: clamp(24px, 2.5vw, 32px); line-height: 1.3; font-weight: 500; font-stretch: 90%; color: var(--ink); max-width: 700px; }
.entry-content > .wp-block-image, .entry-content > figure, .entry-content > .wp-block-gallery, .entry-content > .alignwide, .entry-content > .alignfull { max-width: none; margin: 48px 0; }
.entry-content figcaption, .wp-caption-text { font-family: var(--mono); font-size: 12px; text-transform: uppercase; color: var(--muted); margin-top: 10px; }
.entry-content blockquote, .entry-content .wp-block-quote, .entry-content .wp-block-pullquote { max-width: none; margin: 56px 0; padding: 28px 0; border: 0; border-top: 6px solid var(--ink); border-bottom: 1px solid var(--ink); font-size: clamp(36px, 6vw, 76px); line-height: 0.92; font-weight: 900; font-stretch: 72%; text-transform: uppercase; color: var(--ink); text-align: left; }
.entry-content blockquote p { margin: 0; }
.entry-content blockquote p::before { content: "\201C"; color: var(--accent); }
.entry-content blockquote p::after { content: "\201D"; color: var(--accent); }
.entry-content blockquote cite { display: block; margin-top: 16px; font: 400 13px var(--mono); color: var(--muted); }
.entry-content h2, .entry-content h3 { font-stretch: 72%; text-transform: uppercase; font-weight: 900; line-height: 0.95; color: var(--ink); margin-top: 48px; }
.entry-content h2 { font-size: clamp(36px, 4.5vw, 56px); }
.entry-content h3 { font-size: clamp(28px, 3vw, 36px); }
.entry-content a { color: var(--accent); }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }

.place { margin-top: 44px; border: 1px solid var(--ink); padding: 24px; display: flex; align-items: center; gap: 16px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; }
.place a { margin-left: auto; min-height: 44px; display: inline-flex; align-items: center; }
.filed { margin-top: 40px; display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.chip { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid var(--ink); font-family: var(--mono); font-size: 13px; text-transform: uppercase; text-decoration: none; color: var(--ink); }
.chip:hover { background: var(--ink); color: var(--bg); }
.post-nav { margin-top: 64px; border-top: 6px solid var(--ink); padding-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.post-nav a, .post-nav div { display: flex; flex-direction: column; gap: 10px; text-decoration: none; color: var(--ink); }
.post-nav .next { align-items: flex-end; text-align: right; }
.post-nav .t { font-size: clamp(28px, 4vw, 52px); line-height: 0.92; font-weight: 900; font-stretch: 72%; text-transform: uppercase; }
.post-nav .t.pending { font-weight: 300; color: var(--muted); }
.signature { font-size: 28px; font-weight: 900; font-stretch: 72%; }

/* ---------- Page / archive / misc ---------- */
.page-head { padding: 56px 0 32px; border-bottom: 6px solid var(--ink); display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.page-title { font-size: clamp(56px, 11vw, 140px); font-weight: 900; line-height: 0.85; }
.pagination { display: flex; gap: 8px; padding: 32px 0; font-family: var(--mono); font-size: 13px; }
.pagination .page-numbers { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--ink); text-decoration: none; padding: 0 12px; }
.pagination .current { background: var(--ink); color: var(--bg); }
.empty { padding: 64px 0; font-size: 22px; }
.comments { margin-top: 88px; border-top: 6px solid var(--ink); padding-top: 32px; }
.replies { display: flex; flex-direction: column; gap: 16px; margin-bottom: 72px; }
.reply-list, .reply-list .children { list-style: none; margin: 0; padding: 0; }
.reply-list .children { margin-left: 32px; border-left: 2px solid var(--ink); padding-left: 20px; }
.reply { padding: 20px 0; border-top: 1px solid var(--ink); }
.reply-head { display: flex; justify-content: space-between; gap: 16px; }
.reply-name { color: var(--ink); font-weight: 500; }
.reply-head a { color: var(--muted); text-decoration: none; }
.reply-text { font-size: 19px; line-height: 1.6; color: var(--text); max-width: 640px; }
.reply-text p { margin: 12px 0 0; }
.reply-link a { color: var(--accent); }
.comment-respond { max-width: 760px; }
.comment-reply-title { font-size: clamp(44px, 6vw, 80px); font-weight: 900; margin-bottom: 12px; }
.comment-reply-title small, .comment-reply-title .cancel { display: block; margin-top: 12px; font-size: 13px; letter-spacing: 0.02em; }
.comment-notes { margin: 0 0 28px; }
.comment-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px var(--gap); }
.comment-form > p { margin: 0; display: flex; flex-direction: column; gap: 8px; }
.comment-form .comment-notes, .comment-form .comment-form-comment, .comment-form .comment-form-url, .comment-form .comment-form-cookies-consent, .comment-form .form-submit { grid-column: 1 / -1; }
.comment-form label { font-family: var(--mono); font-size: 13px; letter-spacing: 0.02em; text-transform: uppercase; color: var(--muted); }
.comment-form .required { color: var(--accent); }
.comment-form input[type="text"], .comment-form input[type="email"], .comment-form input[type="url"], .comment-form textarea { width: 100%; font: inherit; font-size: 18px; padding: 14px 16px; border: 0; border-bottom: 2px solid var(--ink); background: rgba(10, 10, 10, 0.04); color: var(--ink); border-radius: 0; }
.comment-form textarea { border: 2px solid var(--ink); min-height: 160px; resize: vertical; }
.comment-form input:focus, .comment-form textarea:focus { outline: none; background: #fff; border-color: var(--accent); }
.comment-form .comment-form-cookies-consent { flex-direction: row; align-items: center; gap: 10px; }
.comment-form .comment-form-cookies-consent input { width: 20px; height: 20px; accent-color: var(--ink); margin: 0; flex-shrink: 0; }
.comment-form .comment-form-cookies-consent label { text-transform: none; font-size: 12px; }
.comment-form .form-submit { margin-top: 8px; }
.comment-form .btn { cursor: pointer; font-family: inherit; }

/* ---------- Footer ---------- */
.site-footer { margin-top: auto; padding: 72px 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.site-footer .social { display: flex; gap: 24px; list-style: none; margin: 0; padding: 0; }

/* ---------- Responsive ---------- */
@media (max-width: 1200px) {
	.cards { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
	.cols2 { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 56px; }
	.cols2 .col2--quote { grid-column: 1 / -1; padding-left: 0; border-left: 0; }
}
@media (max-width: 600px) {
	.cards { grid-template-columns: 1fr; }
	.cols4 { padding-bottom: 56px; }
	.cols2 { grid-template-columns: 1fr; row-gap: 56px; padding-bottom: 56px; }
	.cols2 .col2--quote { padding-left: 0; border-left: 0; }
	.one--now { grid-template-columns: 1fr; }
	.now { box-shadow: 6px 6px 0 var(--ink); padding: 22px 20px 8px; }
}
@media (prefers-reduced-motion: reduce) {
	.card-fig img { transition: none; }
}
@media (max-width: 900px) {
	:root { --spine: 28px; --edge: 20px; --gap: 16px; }
	.spine { padding-top: 24px; }
	.spine::before { width: 4px; }
	.hero-top, .topbar { height: 68px; }
	.menu-toggle { display: inline-flex; }
	.nav-wrap .nav { display: none; }
	.nav-wrap.is-open .nav { display: flex; position: absolute; right: 20px; top: 60px; z-index: 20; flex-direction: column; align-items: flex-start; gap: 0; padding: 8px 20px; background: var(--bg); border: 1px solid var(--ink); }
	.nav-wrap { position: relative; }
	.hide-sm { display: none !important; }
	.hero-tagline { font-size: 12px; letter-spacing: 0.14em; }
	.hero-mark { flex-direction: column; gap: 20px; }
	.hero-gloss { max-width: 280px; padding: 14px 0 0; border-left: 0; border-top: 2px solid var(--ink); align-items: center; text-align: center; }
	.hero-bottom { justify-content: center; }
	.counter, .latest, .post-head, .post-body { display: flex; flex-direction: column; align-items: stretch; gap: 24px; }
	.filters { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; }
	.filters button { flex-shrink: 0; }
	.latest { padding-bottom: 48px; }
	.latest-fig { padding-top: 0; order: -1; }
	.latest-fig img, .latest-fig .ph { aspect-ratio: 4 / 3; }
	.row a { grid-template-columns: 36px 1fr; }
	.row .t { grid-column: 2; }
	.row .no { grid-column: 1; }
	.row .c, .row .d { display: none; }
	.post-aside { order: 2; margin-top: 48px; }
	.post-head { flex-direction: row; align-items: flex-end; gap: 20px; padding-top: 32px; }
	.post-no { font-size: 96px; flex-shrink: 0; }
	.post-meta { padding-bottom: 4px; gap: 4px; min-width: 0; }
	.comment-form { grid-template-columns: 1fr; }
	.entry-content { font-size: 18px; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .next { align-items: flex-start; text-align: left; }
	.site-footer { padding-top: 48px; flex-direction: column; align-items: flex-start; }
}
