/*
Theme Name: The Blunt Agency
Theme URI: https://thebluntagency.com
Author: The Blunt Agency
Author URI: https://thebluntagency.com
Description: A futuristic, brutally honest theme built for The Blunt Agency. Dark, sharp, terminal-flavoured, and allergic to sugarcoating.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: blunt
Tags: one-column, custom-menu, featured-images, blog, dark, agency
*/

/* ==========================================================================
   0. TOKENS
   ========================================================================== */

:root {
	--bg:            #06060a;
	--bg-2:          #0b0b12;
	--surface:       #101019;
	--surface-2:     #16161f;
	--ink:           #f4f4f7;
	--ink-dim:       #b3b3c2;
	--muted:         #7c7c8f;
	--line:          rgba(255, 255, 255, 0.09);
	--line-strong:   rgba(255, 255, 255, 0.18);

	--acid:          #d6ff3f;   /* signal / truth */
	--flare:         #ff4326;   /* fire / warning */
	--cyan:          #46f0d4;   /* system / data */

	--font-display:  'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;
	--font-mono:     'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

	--maxw:          1240px;
	--gutter:        clamp(20px, 5vw, 56px);
	--section-y:     clamp(88px, 12vw, 168px);

	--ease:          cubic-bezier(0.22, 1, 0.36, 1);
	--dur:           0.6s;
}

/* ==========================================================================
   1. RESET / BASE
   ========================================================================== */

*, *::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(--font-display);
	font-size: 17px;
	line-height: 1.65;
	font-weight: 400;
	letter-spacing: -0.01em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

body.tba-nav-open { overflow: hidden; }

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

a { color: inherit; text-decoration: none; }

h1, h2, h3, h4, h5 {
	margin: 0;
	font-weight: 600;
	line-height: 1.02;
	letter-spacing: -0.035em;
}

p { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

::selection { background: var(--acid); color: #000; }

:focus-visible {
	outline: 2px solid var(--acid);
	outline-offset: 3px;
}

/* ==========================================================================
   2. GLOBAL FX / grid, noise, spotlight
   ========================================================================== */

.tba-fx {
	position: fixed;
	inset: 0;
	pointer-events: none;
	z-index: 0;
}

.tba-fx__grid {
	position: absolute;
	inset: -2px;
	background-image:
		linear-gradient(to right, rgba(255,255,255,0.035) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255,255,255,0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
	-webkit-mask-image: radial-gradient(ellipse 100% 70% at 50% 0%, #000 20%, transparent 78%);
}

.tba-fx__spot {
	position: absolute;
	width: 620px;
	height: 620px;
	left: 0; top: 0;
	margin: -310px 0 0 -310px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(214,255,63,0.09) 0%, rgba(70,240,212,0.05) 38%, transparent 68%);
	transform: translate3d(-9999px, -9999px, 0);
	transition: opacity 0.4s linear;
	will-change: transform;
}

.tba-fx__noise {
	position: absolute;
	inset: 0;
	opacity: 0.035;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ==========================================================================
   3. LAYOUT
   ========================================================================== */

.tba-site { position: relative; z-index: 1; }

.wrap {
	width: 100%;
	max-width: var(--maxw);
	margin: 0 auto;
	padding-inline: var(--gutter);
}

.wrap--narrow { max-width: 820px; }

.section { padding-block: var(--section-y); position: relative; }

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 999;
	background: var(--acid);
	color: #000;
	padding: 12px 20px;
	font-family: var(--font-mono);
	font-size: 13px;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ==========================================================================
   4. TYPE HELPERS
   ========================================================================== */

.eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--acid);
	margin-bottom: 26px;
}

.eyebrow::before {
	content: '';
	width: 26px;
	height: 1px;
	background: var(--acid);
	opacity: 0.7;
}

.eyebrow--flare { color: var(--flare); }
.eyebrow--flare::before { background: var(--flare); }

.eyebrow--cyan { color: var(--cyan); }
.eyebrow--cyan::before { background: var(--cyan); }

.h-xl {
	font-size: clamp(2.9rem, 8.2vw, 6.6rem);
	line-height: 0.93;
	letter-spacing: -0.045em;
	font-weight: 600;
}

.h-lg {
	font-size: clamp(2.1rem, 5.2vw, 3.9rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

.h-md {
	font-size: clamp(1.5rem, 2.8vw, 2.1rem);
	line-height: 1.12;
	letter-spacing: -0.03em;
}

.lede {
	font-size: clamp(1.05rem, 1.7vw, 1.32rem);
	line-height: 1.55;
	color: var(--ink-dim);
	max-width: 60ch;
	font-weight: 300;
}

.mono {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.02em;
	color: var(--muted);
}

.hl { color: var(--acid); }
.hl-flare { color: var(--flare); }
.hl-cyan { color: var(--cyan); }

.strike { text-decoration: line-through; text-decoration-thickness: 2px; opacity: 0.45; }

/* ==========================================================================
   5. BUTTONS
   ========================================================================== */

.btn {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 17px 30px;
	font-family: var(--font-mono);
	font-size: 12.5px;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	border: 1px solid var(--line-strong);
	background: transparent;
	color: var(--ink);
	cursor: pointer;
	overflow: hidden;
	transition: color 0.35s var(--ease), border-color 0.35s var(--ease), transform 0.35s var(--ease);
	will-change: transform;
}

.btn > span { position: relative; z-index: 2; }

.btn::after {
	content: '';
	position: absolute;
	inset: 0;
	background: var(--acid);
	transform: translateY(101%);
	transition: transform 0.45s var(--ease);
	z-index: 1;
}

.btn:hover { color: #000; border-color: var(--acid); }
.btn:hover::after { transform: translateY(0); }

.btn--solid {
	background: var(--acid);
	border-color: var(--acid);
	color: #000;
}
.btn--solid::after { background: var(--ink); }
.btn--solid:hover { color: #000; border-color: var(--ink); }

.btn--flare::after { background: var(--flare); }
.btn--flare:hover { color: #fff; border-color: var(--flare); }

.btn--sm { padding: 12px 20px; font-size: 11px; }

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 42px;
}

/* ==========================================================================
   6. HEADER
   ========================================================================== */

.tba-header {
	position: fixed;
	top: 0; left: 0; right: 0;
	z-index: 100;
	transition: background 0.4s var(--ease), border-color 0.4s var(--ease), backdrop-filter 0.4s;
	border-bottom: 1px solid transparent;
}

.tba-header.is-stuck {
	background: rgba(6, 6, 10, 0.82);
	backdrop-filter: blur(18px) saturate(140%);
	-webkit-backdrop-filter: blur(18px) saturate(140%);
	border-bottom-color: var(--line);
}

.tba-header.is-hidden { transform: translateY(-100%); }
.tba-header { transition: transform 0.45s var(--ease), background 0.4s var(--ease), border-color 0.4s var(--ease); }

.tba-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 78px;
}

/* Brand */
.brand {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex-shrink: 0;
}

.brand__mark {
	width: 32px;
	height: 32px;
	flex: 0 0 32px;
	border: 1px solid var(--acid);
	display: grid;
	place-items: center;
	font-family: var(--font-mono);
	font-size: 15px;
	font-weight: 700;
	color: var(--acid);
	position: relative;
	transition: background 0.3s var(--ease), color 0.3s var(--ease);
}

.brand:hover .brand__mark { background: var(--acid); color: #000; }

.brand__name {
	font-size: 15px;
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
}

.brand__name small {
	display: block;
	font-family: var(--font-mono);
	font-size: 9px;
	font-weight: 400;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
	margin-top: 2px;
}

.brand__logo img { max-height: 40px; width: auto; }

/* Nav */
.tba-nav ul {
	display: flex;
	align-items: center;
	gap: 34px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.tba-nav a {
	position: relative;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--ink-dim);
	padding: 6px 0;
	transition: color 0.25s var(--ease);
}

.tba-nav a::after {
	content: '';
	position: absolute;
	left: 0; bottom: 0;
	width: 100%;
	height: 1px;
	background: var(--acid);
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 0.35s var(--ease);
}

.tba-nav a:hover { color: var(--ink); }
.tba-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

.tba-nav .current-menu-item > a,
.tba-nav .current_page_item > a { color: var(--acid); }

.tba-header__cta { display: flex; align-items: center; gap: 14px; }

/* Burger */
.burger {
	display: none;
	width: 44px;
	height: 44px;
	border: 1px solid var(--line-strong);
	background: transparent;
	cursor: pointer;
	padding: 0;
	position: relative;
}

.burger span {
	position: absolute;
	left: 12px;
	width: 20px;
	height: 1.5px;
	background: var(--ink);
	transition: transform 0.35s var(--ease), opacity 0.2s linear;
}

.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 25px; }

body.tba-nav-open .burger span:nth-child(1) { transform: translateY(4px) rotate(45deg); }
body.tba-nav-open .burger span:nth-child(2) { transform: translateY(-4px) rotate(-45deg); }

/* Mobile drawer */
.tba-drawer {
	position: fixed;
	inset: 0;
	z-index: 99;
	background: var(--bg);
	padding: 110px var(--gutter) 48px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	clip-path: inset(0 0 100% 0);
	transition: clip-path 0.6s var(--ease);
	pointer-events: none;
}

body.tba-nav-open .tba-drawer { clip-path: inset(0 0 0 0); pointer-events: auto; }

.tba-drawer ul { list-style: none; margin: 0; padding: 0; }

.tba-drawer li { border-bottom: 1px solid var(--line); }

.tba-drawer a {
	display: block;
	padding: 22px 0;
	font-size: clamp(1.8rem, 8vw, 2.6rem);
	font-weight: 500;
	letter-spacing: -0.03em;
	transition: color 0.25s var(--ease), padding-left 0.35s var(--ease);
}

.tba-drawer a:hover { color: var(--acid); padding-left: 12px; }

.tba-drawer__foot {
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--muted);
	line-height: 2;
}

/* ==========================================================================
   7. HERO
   ========================================================================== */

.hero {
	position: relative;
	min-height: 100svh;
	display: flex;
	align-items: center;
	padding-block: 140px 90px;
	overflow: hidden;
}

.hero__glow {
	position: absolute;
	width: 900px; height: 900px;
	top: -30%; right: -18%;
	background: radial-gradient(circle, rgba(214,255,63,0.10), transparent 62%);
	filter: blur(30px);
	pointer-events: none;
}

.hero__glow--2 {
	top: auto; bottom: -35%; right: auto; left: -22%;
	width: 760px; height: 760px;
	background: radial-gradient(circle, rgba(255,67,38,0.09), transparent 62%);
}

.hero__inner { position: relative; z-index: 2; }

.hero__status {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 16px;
	border: 1px solid var(--line-strong);
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink-dim);
	margin-bottom: 34px;
	background: rgba(255,255,255,0.02);
}

.dot {
	width: 6px; height: 6px;
	border-radius: 50%;
	background: var(--acid);
	box-shadow: 0 0 0 0 rgba(214,255,63,0.6);
	animation: pulse 2.4s infinite;
}

@keyframes pulse {
	0%   { box-shadow: 0 0 0 0 rgba(214,255,63,0.55); }
	70%  { box-shadow: 0 0 0 9px rgba(214,255,63,0); }
	100% { box-shadow: 0 0 0 0 rgba(214,255,63,0); }
}

.hero__title { margin-bottom: 30px; max-width: 17ch; }

.hero__title .line { display: block; overflow: hidden; }

.hero__title .line > span {
	display: block;
	transform: translateY(105%);
	animation: riseIn 1.05s var(--ease) forwards;
}

.hero__title .line:nth-child(1) > span { animation-delay: 0.10s; }
.hero__title .line:nth-child(2) > span { animation-delay: 0.20s; }
.hero__title .line:nth-child(3) > span { animation-delay: 0.30s; }

@keyframes riseIn { to { transform: translateY(0); } }

.hero__sub {
	max-width: 56ch;
	font-size: clamp(1.02rem, 1.6vw, 1.24rem);
	color: var(--ink-dim);
	font-weight: 300;
	opacity: 0;
	animation: fadeUp 0.9s var(--ease) 0.55s forwards;
}

@keyframes fadeUp {
	from { opacity: 0; transform: translateY(18px); }
	to   { opacity: 1; transform: translateY(0); }
}

.hero .btn-row { opacity: 0; animation: fadeUp 0.9s var(--ease) 0.7s forwards; }

.hero__meta {
	margin-top: 78px;
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	opacity: 0;
	animation: fadeUp 0.9s var(--ease) 0.9s forwards;
}

.hero__meta div {
	background: var(--bg);
	padding: 24px 22px;
}

.hero__meta dt {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 10px;
}

.hero__meta dd {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 600;
	letter-spacing: -0.03em;
}

.scroll-cue {
	position: absolute;
	bottom: 30px;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: var(--muted);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	z-index: 2;
}

.scroll-cue i {
	width: 1px;
	height: 46px;
	background: linear-gradient(to bottom, var(--acid), transparent);
	animation: cue 2s var(--ease) infinite;
}

@keyframes cue {
	0%   { transform: scaleY(0); transform-origin: top; }
	45%  { transform: scaleY(1); transform-origin: top; }
	55%  { transform: scaleY(1); transform-origin: bottom; }
	100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ==========================================================================
   8. TICKER
   ========================================================================== */

.ticker {
	border-block: 1px solid var(--line);
	background: var(--bg-2);
	padding: 20px 0;
	overflow: hidden;
	white-space: nowrap;
	position: relative;
}

.ticker__track {
	display: inline-flex;
	align-items: center;
	gap: 34px;
	animation: marquee 42s linear infinite;
	will-change: transform;
}

.ticker:hover .ticker__track { animation-play-state: paused; }

.ticker__track span {
	font-family: var(--font-mono);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ink-dim);
	display: inline-flex;
	align-items: center;
	gap: 34px;
}

.ticker__track span::after {
	content: '◆';
	color: var(--acid);
	font-size: 8px;
}

@keyframes marquee {
	from { transform: translateX(0); }
	to   { transform: translateX(-50%); }
}

/* ==========================================================================
   9. SECTION HEADS
   ========================================================================== */

.sec-head {
	display: grid;
	grid-template-columns: 1fr;
	gap: 26px;
	margin-bottom: 68px;
	max-width: 900px;
}

.sec-head--split {
	grid-template-columns: 1.15fr 1fr;
	max-width: none;
	align-items: end;
	gap: 48px;
}

.sec-num {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--muted);
}

/* ==========================================================================
   10. PRINCIPLES
   ========================================================================== */

.principles {
	display: grid;
	/* min() lets the track shrink below its floor on narrow phones. A bare
	   minmax(300px, 1fr) forces the page wider than a 320px viewport. */
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.principle {
	position: relative;
	background: var(--bg);
	padding: 44px 36px 40px;
	overflow: hidden;
	transition: background 0.45s var(--ease);
}

.principle::before {
	content: '';
	position: absolute;
	left: 0; top: 0;
	width: 100%;
	height: 2px;
	background: var(--acid);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ease);
}

.principle:hover { background: var(--surface); }
.principle:hover::before { transform: scaleX(1); }

.principle__n {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.2em;
	color: var(--acid);
	margin-bottom: 28px;
	display: block;
}

.principle h3 {
	font-size: 1.42rem;
	margin-bottom: 16px;
	letter-spacing: -0.03em;
}

.principle p {
	color: var(--ink-dim);
	font-size: 0.97rem;
	font-weight: 300;
	line-height: 1.62;
}

.principle__ghost {
	position: absolute;
	right: -14px;
	bottom: -46px;
	font-size: 9rem;
	font-weight: 700;
	line-height: 1;
	color: rgba(255,255,255,0.028);
	pointer-events: none;
	font-family: var(--font-mono);
	transition: color 0.5s var(--ease), transform 0.6s var(--ease);
}

.principle:hover .principle__ghost {
	color: rgba(214,255,63,0.07);
	transform: translateY(-8px);
}

/* ==========================================================================
   11. TERMINAL
   ========================================================================== */

.terminal {
	border: 1px solid var(--line-strong);
	background: linear-gradient(180deg, var(--surface) 0%, var(--bg-2) 100%);
	position: relative;
	overflow: hidden;
	box-shadow: 0 40px 90px -50px rgba(0,0,0,0.9);
}

.terminal::after {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		to bottom,
		rgba(255,255,255,0.022) 0px,
		rgba(255,255,255,0.022) 1px,
		transparent 1px,
		transparent 3px
	);
	pointer-events: none;
}

.terminal__bar {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: rgba(0,0,0,0.35);
}

.terminal__bar i {
	width: 9px; height: 9px;
	border-radius: 50%;
	background: var(--line-strong);
	display: block;
}
.terminal__bar i:nth-child(1) { background: var(--flare); }
.terminal__bar i:nth-child(2) { background: #ffb020; }
.terminal__bar i:nth-child(3) { background: var(--acid); }

.terminal__bar b {
	margin-left: 12px;
	font-family: var(--font-mono);
	font-size: 11px;
	font-weight: 400;
	letter-spacing: 0.12em;
	color: var(--muted);
	text-transform: uppercase;
}

.terminal__body {
	padding: clamp(24px, 4vw, 44px);
	font-family: var(--font-mono);
	font-size: clamp(13px, 1.5vw, 15.5px);
	line-height: 2.05;
	min-height: 300px;
}

.terminal__line { display: block; }
.terminal__line .p { color: var(--cyan); }
.terminal__line .o { color: var(--ink); }
.terminal__line .c { color: var(--muted); }
.terminal__line .w { color: var(--flare); }
.terminal__line .g { color: var(--acid); }

.caret {
	display: inline-block;
	width: 9px;
	height: 1.05em;
	background: var(--acid);
	vertical-align: text-bottom;
	animation: blink 1.05s steps(2, start) infinite;
}

@keyframes blink { to { visibility: hidden; } }

/* ==========================================================================
   12. SPLIT / DO vs DON'T
   ========================================================================== */

.split {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

.split__col { background: var(--bg); padding: clamp(32px, 4vw, 52px); }

.split__col h3 {
	font-size: 1.3rem;
	margin-bottom: 30px;
	display: flex;
	align-items: center;
	gap: 12px;
}

.split__col ul { list-style: none; margin: 0; padding: 0; }

.split__col li {
	padding: 15px 0 15px 32px;
	border-bottom: 1px solid var(--line);
	position: relative;
	font-size: 0.98rem;
	color: var(--ink-dim);
	font-weight: 300;
	transition: color 0.3s var(--ease), padding-left 0.35s var(--ease);
}

.split__col li:last-child { border-bottom: 0; }
.split__col li:hover { color: var(--ink); padding-left: 38px; }

.split__col li::before {
	position: absolute;
	left: 0;
	top: 15px;
	font-family: var(--font-mono);
	font-size: 13px;
}

.split__col--yes li::before { content: '✓'; color: var(--acid); }
.split__col--no  li::before { content: '✕'; color: var(--flare); }

/* ==========================================================================
   13. PROCESS
   ========================================================================== */

.steps { display: grid; gap: 0; border-top: 1px solid var(--line); }

.step {
	display: grid;
	grid-template-columns: 90px 1fr 1.2fr;
	gap: 32px;
	padding: 38px 0;
	border-bottom: 1px solid var(--line);
	align-items: start;
	transition: background 0.4s var(--ease), padding-left 0.4s var(--ease);
}

.step:hover { background: rgba(255,255,255,0.017); padding-left: 16px; }

.step__n {
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.18em;
	color: var(--acid);
	padding-top: 6px;
}

.step h3 { font-size: 1.55rem; letter-spacing: -0.03em; }

.step p { color: var(--ink-dim); font-weight: 300; font-size: 0.98rem; margin: 0; }

/* ==========================================================================
   14. FIRE US
   ========================================================================== */

.fire {
	position: relative;
	border: 1px solid var(--flare);
	background:
		radial-gradient(ellipse 90% 130% at 50% 0%, rgba(255,67,38,0.13), transparent 62%),
		var(--bg-2);
	padding: clamp(48px, 7vw, 92px) clamp(28px, 5vw, 76px);
	overflow: hidden;
	text-align: center;
}

.fire::before {
	content: '';
	position: absolute;
	inset: 0;
	background: repeating-linear-gradient(
		45deg,
		transparent 0 14px,
		rgba(255,67,38,0.05) 14px 15px
	);
	pointer-events: none;
	opacity: 0.6;
}

.fire > * { position: relative; z-index: 1; }

.fire h2 { margin-bottom: 24px; }

.fire .lede { margin-inline: auto; }

/* Exactly four cells, so explicit tracks. A row is never left half-empty. */
.fire__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	background: rgba(255,67,38,0.22);
	border: 1px solid rgba(255,67,38,0.22);
	margin-top: 52px;
	text-align: left;
}

.fire__grid div { background: var(--bg-2); padding: 26px 24px; }

.fire__grid h4 {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--flare);
	margin-bottom: 12px;
	font-weight: 500;
}

.fire__grid p { font-size: 0.94rem; color: var(--ink-dim); font-weight: 300; margin: 0; }

/* ==========================================================================
   14b. ORIGIN / "why this exists"
   ========================================================================== */

/* Fixed 2-up rather than auto-fit: there are exactly four exhibits, and a
   3-across track would leave two empty cells showing the grid-gap colour. */
.origin {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
}

@media (max-width: 820px) {
	.origin { grid-template-columns: 1fr; }
}

/* Column layout so the disclosure toggle can sit flush at the bottom and line
   up across the row, whatever length the exhibits above it happen to be. */
.origin__item {
	background: var(--bg);
	padding: clamp(32px, 3.6vw, 46px);
	position: relative;
	display: flex;
	flex-direction: column;
	transition: background 0.45s var(--ease);
}

/* margin-top:auto can collapse to zero on a full card, so the gap above the
   rule is guaranteed by the paragraph below instead. */
.origin__item .more { margin-top: auto; }
.origin__item .origin__so { margin-bottom: 22px; }

.origin__item:hover { background: var(--surface); }

.origin__tag {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	display: block;
	margin-bottom: 26px;
}

.origin__saw {
	font-size: clamp(1.12rem, 1.7vw, 1.38rem);
	line-height: 1.38;
	letter-spacing: -0.025em;
	color: var(--ink);
	font-weight: 400;
	margin: 0 0 22px;
	padding-left: 20px;
	border-left: 2px solid var(--flare);
}

.origin__so {
	font-size: 0.96rem;
	font-weight: 300;
	line-height: 1.62;
	color: var(--ink-dim);
	margin: 0;
	padding-left: 20px;
	border-left: 2px solid var(--acid);
}

.origin__so b {
	display: block;
	font-family: var(--font-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--acid);
	margin-bottom: 9px;
}

/* ==========================================================================
   14c. PROGRESSIVE DISCLOSURE
   Every long paragraph on the page is one punchy line plus a <details>.
   Scanners read the line and move on. Anyone who wants the argument opens it.
   ========================================================================== */

.more {
	margin-top: 20px;
	border-top: 1px solid var(--line);
	padding-top: 16px;
}

.more > summary {
	list-style: none;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	font-weight: 500;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--muted);
	transition: color 0.25s var(--ease);
}

.more > summary::-webkit-details-marker { display: none; }

.more > summary::before {
	content: '+';
	display: grid;
	place-items: center;
	width: 17px;
	height: 17px;
	border: 1px solid currentColor;
	font-size: 12px;
	line-height: 1;
	flex: 0 0 17px;
}

/* Plain ASCII hyphen on purpose. No dash characters anywhere on this site. */
.more[open] > summary::before { content: '-'; }

.more > summary:hover { color: var(--acid); }

.more__body {
	font-size: 0.93rem;
	font-weight: 300;
	line-height: 1.62;
	color: var(--muted);
	margin-top: 16px;
	animation: moreIn 0.45s var(--ease);
}

.more__body p { margin-bottom: 0.9em; }

@keyframes moreIn {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

/* Founder note */
.note {
	border: 1px solid var(--line-strong);
	background: var(--bg-2);
	padding: clamp(30px, 4vw, 52px);
	margin-top: 1px;
	display: grid;
	grid-template-columns: auto 1fr;
	gap: clamp(20px, 3vw, 38px);
	align-items: start;
}

.note__mark {
	width: 46px;
	height: 46px;
	flex: 0 0 46px;
	border: 1px solid var(--acid);
	display: grid;
	place-items: center;
	font-family: var(--font-mono);
	font-size: 19px;
	font-weight: 700;
	color: var(--acid);
}

.note p {
	font-size: clamp(1rem, 1.5vw, 1.15rem);
	line-height: 1.6;
	font-weight: 300;
	color: var(--ink-dim);
}

.note p strong { color: var(--ink); font-weight: 500; }

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

/* ==========================================================================
   15. QUOTE
   ========================================================================== */

.quote {
	border-left: 2px solid var(--acid);
	padding: 8px 0 8px clamp(24px, 4vw, 44px);
	max-width: 900px;
}

.quote blockquote {
	margin: 0;
	font-size: clamp(1.35rem, 3.2vw, 2.25rem);
	line-height: 1.24;
	letter-spacing: -0.035em;
	font-weight: 400;
}

.quote cite {
	display: block;
	margin-top: 24px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	font-style: normal;
}

/* ==========================================================================
   16. CTA
   ========================================================================== */

.cta {
	text-align: center;
	position: relative;
	padding-block: clamp(96px, 14vw, 190px);
	border-top: 1px solid var(--line);
	background: radial-gradient(ellipse 70% 90% at 50% 100%, rgba(214,255,63,0.07), transparent 65%);
}

.cta h2 { margin-bottom: 28px; }
.cta .lede { margin-inline: auto; }
.cta .btn-row { justify-content: center; }

.cta__note {
	margin-top: 34px;
	font-family: var(--font-mono);
	font-size: 11.5px;
	letter-spacing: 0.12em;
	color: var(--muted);
	text-transform: uppercase;
}

/* ==========================================================================
   17. FOOTER
   ========================================================================== */

.tba-footer {
	border-top: 1px solid var(--line);
	background: var(--bg-2);
	padding-block: 72px 34px;
	position: relative;
	z-index: 1;
}

.tba-footer__top {
	display: grid;
	grid-template-columns: 1.6fr 1fr 1fr;
	gap: 48px;
	padding-bottom: 56px;
	border-bottom: 1px solid var(--line);
}

.tba-footer h4 {
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 22px;
	font-weight: 500;
}

.tba-footer ul { list-style: none; margin: 0; padding: 0; }

.tba-footer li { margin-bottom: 12px; }

.tba-footer li a {
	font-size: 0.95rem;
	color: var(--ink-dim);
	transition: color 0.25s var(--ease), padding-left 0.3s var(--ease);
	display: inline-block;
}

.tba-footer li a:hover { color: var(--acid); padding-left: 6px; }

.tba-footer__blurb {
	max-width: 42ch;
	color: var(--muted);
	font-size: 0.95rem;
	font-weight: 300;
	margin-top: 20px;
}

.tba-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	justify-content: space-between;
	align-items: center;
	padding-top: 28px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.1em;
	color: var(--muted);
	text-transform: uppercase;
}

.tba-footer__wordmark {
	font-size: clamp(2.6rem, 13vw, 9.5rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.85;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255,255,255,0.11);
	margin-block: 56px 34px;
	text-align: center;
	user-select: none;
	white-space: nowrap;
}

/* ==========================================================================
   18. BLOG / ARCHIVE
   ========================================================================== */

.page-hero {
	padding-block: clamp(150px, 18vw, 220px) clamp(50px, 7vw, 80px);
	position: relative;
	border-bottom: 1px solid var(--line);
	/* Clips .hero__glow. Without this the glow pushes the document wider
	   than the viewport and the whole page scrolls sideways. */
	overflow: hidden;
}

.page-hero h1 { margin-bottom: 24px; }

.filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 42px;
}

.filters a {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 9px 16px;
	border: 1px solid var(--line-strong);
	color: var(--ink-dim);
	transition: all 0.3s var(--ease);
}

.filters a:hover, .filters a.is-active {
	background: var(--acid);
	border-color: var(--acid);
	color: #000;
}

/* Featured */
.feature {
	display: grid;
	grid-template-columns: 1.1fr 1fr;
	gap: 0;
	border: 1px solid var(--line);
	margin-bottom: 1px;
	background: var(--bg);
	transition: border-color 0.4s var(--ease);
}

.feature:hover { border-color: var(--line-strong); }

.feature__media {
	position: relative;
	overflow: hidden;
	min-height: 340px;
	background: var(--surface);
}

.feature__media img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
	filter: grayscale(1) contrast(1.08);
}

.feature:hover .feature__media img { transform: scale(1.05); filter: grayscale(0) contrast(1); }

.feature__body {
	padding: clamp(30px, 4vw, 56px);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.feature__body h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.7rem);
	margin-block: 18px 18px;
	letter-spacing: -0.038em;
	line-height: 1.05;
}

.feature__body h2 a { transition: color 0.3s var(--ease); }
.feature__body h2 a:hover { color: var(--acid); }

/* Post grid */
/* The post count is variable, so the usual "grid-gap as hairlines" trick is
   wrong here: an incomplete last row would paint the container colour into
   the empty cells. Each card draws its own 1px ring instead. The rings meet
   inside the 1px gap and read as a single shared line. */
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
	gap: 1px;
}

.card {
	box-shadow: 0 0 0 1px var(--line);
	background: var(--bg);
	padding: 0;
	display: flex;
	flex-direction: column;
	position: relative;
	transition: background 0.45s var(--ease);
	overflow: hidden;
}

.card:hover { background: var(--surface); }

.card::before {
	content: '';
	position: absolute;
	top: 0; left: 0;
	width: 100%; height: 2px;
	background: var(--acid);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.5s var(--ease);
	z-index: 3;
}

.card:hover::before { transform: scaleX(1); }

.card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--surface-2);
	border-bottom: 1px solid var(--line);
}

.card__media img {
	position: absolute;
	inset: 0;
	width: 100%; height: 100%;
	object-fit: cover;
	filter: grayscale(1) contrast(1.05);
	transition: transform 0.85s var(--ease), filter 0.55s var(--ease);
}

.card:hover .card__media img { transform: scale(1.06); filter: grayscale(0); }

.card__media--empty {
	display: grid;
	place-items: center;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.24em;
	text-transform: uppercase;
	color: rgba(255,255,255,0.14);
	background:
		linear-gradient(135deg, rgba(214,255,63,0.05), transparent 55%),
		repeating-linear-gradient(45deg, transparent 0 10px, rgba(255,255,255,0.02) 10px 11px);
}

.card__body {
	padding: 30px 28px 34px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.card__meta {
	display: flex;
	align-items: center;
	gap: 10px;
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 18px;
	flex-wrap: wrap;
}

.card__meta .sep { color: var(--line-strong); }
.card__meta .cat { color: var(--acid); }

.card h3 {
	font-size: 1.3rem;
	line-height: 1.2;
	letter-spacing: -0.03em;
	margin-bottom: 14px;
}

.card h3 a { transition: color 0.3s var(--ease); }
.card:hover h3 a { color: var(--acid); }

.card__excerpt {
	color: var(--muted);
	font-size: 0.94rem;
	font-weight: 300;
	line-height: 1.6;
	margin-bottom: 24px;
	flex: 1;
}

.card__more {
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ink);
	display: inline-flex;
	align-items: center;
	gap: 8px;
	transition: gap 0.3s var(--ease), color 0.3s var(--ease);
	align-self: flex-start;
}

.card:hover .card__more { gap: 14px; color: var(--acid); }

/* Pagination */
.pagination {
	margin-top: 64px;
	display: flex;
	justify-content: center;
}

.pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	align-items: center;
}

.pagination .page-numbers {
	min-width: 46px;
	height: 46px;
	display: grid;
	place-items: center;
	padding-inline: 14px;
	border: 1px solid var(--line-strong);
	font-family: var(--font-mono);
	font-size: 12px;
	color: var(--ink-dim);
	transition: all 0.3s var(--ease);
}

.pagination .page-numbers:hover,
.pagination .page-numbers.current {
	background: var(--acid);
	border-color: var(--acid);
	color: #000;
}

.pagination .dots { border-color: transparent; }
.pagination .dots:hover { background: transparent; color: var(--muted); }

/* ==========================================================================
   19. BLOG / SINGLE
   ========================================================================== */

.progress {
	position: fixed;
	top: 0; left: 0;
	height: 2px;
	width: 100%;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--acid), var(--cyan));
	z-index: 200;
	will-change: transform;
}

.post-hero {
	padding-block: clamp(150px, 17vw, 210px) clamp(40px, 5vw, 60px);
	position: relative;
	overflow: hidden; /* clips .hero__glow, see .page-hero */
}

.post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 28px;
}

.post-hero__meta a { color: var(--acid); }

.post-hero h1 {
	font-size: clamp(2.2rem, 5.6vw, 4.2rem);
	line-height: 1.02;
	letter-spacing: -0.042em;
	max-width: 20ch;
	margin-bottom: 28px;
}

.post-hero__excerpt {
	font-size: clamp(1.05rem, 1.7vw, 1.3rem);
	color: var(--ink-dim);
	font-weight: 300;
	max-width: 62ch;
	line-height: 1.55;
}

.post-cover {
	margin-bottom: clamp(44px, 6vw, 72px);
	border: 1px solid var(--line);
	overflow: hidden;
	position: relative;
}

.post-cover img { width: 100%; display: block; }

/* Prose */
.prose {
	font-size: 1.09rem;
	line-height: 1.78;
	color: var(--ink-dim);
	font-weight: 300;
}

.prose > * + * { margin-top: 1.35em; }

.prose h2 {
	font-size: clamp(1.6rem, 3vw, 2.15rem);
	color: var(--ink);
	margin-top: 2.2em;
	margin-bottom: 0.55em;
	letter-spacing: -0.035em;
	line-height: 1.12;
}

.prose h3 {
	font-size: clamp(1.25rem, 2.2vw, 1.55rem);
	color: var(--ink);
	margin-top: 1.9em;
	margin-bottom: 0.5em;
	letter-spacing: -0.03em;
}

.prose h4 { font-size: 1.15rem; color: var(--ink); margin-top: 1.7em; }

.prose a {
	color: var(--acid);
	text-decoration: underline;
	text-underline-offset: 4px;
	text-decoration-thickness: 1px;
	transition: opacity 0.25s var(--ease);
}
.prose a:hover { opacity: 0.7; }

.prose strong { color: var(--ink); font-weight: 600; }

.prose ul, .prose ol { padding-left: 22px; }
.prose li { margin-bottom: 0.6em; }
.prose li::marker { color: var(--acid); }

.prose blockquote {
	margin: 2.2em 0;
	padding: 4px 0 4px 28px;
	border-left: 2px solid var(--acid);
	font-size: 1.28rem;
	line-height: 1.42;
	color: var(--ink);
	font-weight: 400;
	letter-spacing: -0.02em;
}

.prose blockquote p:last-child { margin-bottom: 0; }

.prose img, .prose figure { margin-block: 2.2em; }

.prose figcaption {
	font-family: var(--font-mono);
	font-size: 11.5px;
	color: var(--muted);
	margin-top: 12px;
	text-align: center;
}

.prose code {
	font-family: var(--font-mono);
	font-size: 0.86em;
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 2px 7px;
	color: var(--cyan);
}

.prose pre {
	background: var(--surface);
	border: 1px solid var(--line);
	padding: 24px;
	overflow-x: auto;
	font-family: var(--font-mono);
	font-size: 13.5px;
	line-height: 1.7;
}

.prose pre code { background: none; border: 0; padding: 0; color: var(--ink-dim); }

.prose hr { border: 0; border-top: 1px solid var(--line); margin-block: 3em; }

.prose table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.prose th, .prose td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; }
.prose th { background: var(--surface); color: var(--ink); font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }

/* Post footer */
.post-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 56px;
	padding-top: 34px;
	border-top: 1px solid var(--line);
}

.post-tags a {
	font-family: var(--font-mono);
	font-size: 10.5px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	padding: 8px 14px;
	border: 1px solid var(--line-strong);
	color: var(--muted);
	transition: all 0.3s var(--ease);
}

.post-tags a:hover { color: #000; background: var(--acid); border-color: var(--acid); }

.post-nav {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1px;
	background: var(--line);
	border: 1px solid var(--line);
	margin-top: 78px;
}

.post-nav a {
	background: var(--bg);
	padding: 34px 30px;
	transition: background 0.4s var(--ease);
	display: block;
}

.post-nav a:hover { background: var(--surface); }

.post-nav span {
	display: block;
	font-family: var(--font-mono);
	font-size: 10px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--muted);
	margin-bottom: 14px;
}

.post-nav strong {
	font-size: 1.15rem;
	font-weight: 500;
	letter-spacing: -0.025em;
	line-height: 1.25;
	display: block;
}

.post-nav a:hover strong { color: var(--acid); }

.post-nav .is-next { text-align: right; }

.post-nav .is-empty { background: var(--bg); opacity: 0.35; padding: 34px 30px; }

/* Share */
.share {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-top: 34px;
	font-family: var(--font-mono);
	font-size: 11px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--muted);
}

.share a, .share button {
	border: 1px solid var(--line-strong);
	padding: 9px 15px;
	color: var(--ink-dim);
	background: transparent;
	font: inherit;
	cursor: pointer;
	transition: all 0.3s var(--ease);
}

.share a:hover, .share button:hover { color: #000; background: var(--acid); border-color: var(--acid); }

/* Related */
.related { border-top: 1px solid var(--line); }

/* Comments */
.comments { margin-top: 80px; padding-top: 48px; border-top: 1px solid var(--line); }
.comments h2 { font-size: 1.5rem; margin-bottom: 30px; }
.comments ol { list-style: none; margin: 0; padding: 0; }
.comments .children { list-style: none; padding-left: 28px; }
.comments .comment-body { border: 1px solid var(--line); padding: 24px; margin-bottom: 16px; background: var(--bg-2); }
.comments .comment-meta { font-family: var(--font-mono); font-size: 11px; color: var(--muted); margin-bottom: 12px; letter-spacing: 0.1em; }
.comments .comment-author img { border-radius: 0; margin-right: 10px; }
.comment-respond { margin-top: 40px; }
.comment-respond label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.comment-respond input[type="text"],
.comment-respond input[type="email"],
.comment-respond input[type="url"],
.comment-respond textarea {
	width: 100%;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	color: var(--ink);
	padding: 13px 15px;
	font-family: var(--font-mono);
	font-size: 14px;
	margin-bottom: 18px;
}
.comment-respond input:focus, .comment-respond textarea:focus { outline: none; border-color: var(--acid); }
.comment-respond .submit {
	background: var(--acid);
	border: 1px solid var(--acid);
	color: #000;
	padding: 15px 28px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s var(--ease);
}
.comment-respond .submit:hover { background: transparent; color: var(--acid); }

/* ==========================================================================
   20. SEARCH / 404 / MISC
   ========================================================================== */

.search-form { display: flex; gap: 0; max-width: 480px; margin-top: 30px; }
.search-form input[type="search"] {
	flex: 1;
	background: var(--surface);
	border: 1px solid var(--line-strong);
	border-right: 0;
	color: var(--ink);
	padding: 14px 16px;
	font-family: var(--font-mono);
	font-size: 13px;
}
.search-form input[type="search"]:focus { outline: none; border-color: var(--acid); }
.search-form button {
	background: var(--acid);
	border: 1px solid var(--acid);
	color: #000;
	padding: 14px 22px;
	font-family: var(--font-mono);
	font-size: 12px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	cursor: pointer;
	font-weight: 600;
}

.error-404 { text-align: center; padding-block: clamp(160px, 20vw, 240px); }
.error-404 .code {
	font-size: clamp(5rem, 22vw, 15rem);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 0.82;
	color: transparent;
	-webkit-text-stroke: 1px var(--line-strong);
	margin-bottom: 24px;
}

.empty-state {
	border: 1px dashed var(--line-strong);
	padding: clamp(40px, 6vw, 76px);
	text-align: center;
}

.empty-state h2 { font-size: 1.6rem; margin-bottom: 16px; }
.empty-state p { color: var(--muted); max-width: 48ch; margin-inline: auto; }

/* WP core alignment classes */
.alignleft { float: left; margin: 0.4em 1.6em 1.2em 0; }
.alignright { float: right; margin: 0.4em 0 1.2em 1.6em; }
.aligncenter { margin-inline: auto; display: block; }
.alignwide { width: min(1100px, 92vw); margin-inline: auto; }
.alignfull { width: 100vw; margin-left: calc(50% - 50vw); max-width: none; }
.wp-caption { max-width: 100%; }
.screen-reader-text {
	position: absolute !important;
	width: 1px; height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}
.sticky, .gallery-caption, .bypostauthor { display: block; }

/* ==========================================================================
   21. REVEAL ANIMATION
   ========================================================================== */

[data-reveal] {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
}

[data-reveal].is-in { opacity: 1; transform: none; }

[data-reveal][data-d="1"] { transition-delay: 0.08s; }
[data-reveal][data-d="2"] { transition-delay: 0.16s; }
[data-reveal][data-d="3"] { transition-delay: 0.24s; }
[data-reveal][data-d="4"] { transition-delay: 0.32s; }
[data-reveal][data-d="5"] { transition-delay: 0.40s; }

/* ==========================================================================
   22. RESPONSIVE
   ========================================================================== */

@media (max-width: 1080px) {
	.sec-head--split { grid-template-columns: 1fr; align-items: start; }
	.tba-footer__top { grid-template-columns: 1fr 1fr; }
	.feature { grid-template-columns: 1fr; }
	.feature__media { min-height: 260px; }
	.fire__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
	.tba-nav, .tba-header__cta .btn { display: none; }
	.burger { display: block; }
	.step { grid-template-columns: 1fr; gap: 14px; padding: 30px 0; }
	.step__n { padding-top: 0; }
	.post-nav { grid-template-columns: 1fr; }
	.post-nav .is-next { text-align: left; }
	.hero { min-height: auto; padding-block: 130px 80px; }
	.hero__meta { grid-template-columns: repeat(2, 1fr); }
	.scroll-cue { display: none; }
}

@media (max-width: 600px) {
	body { font-size: 16px; }
	.tba-footer__top { grid-template-columns: 1fr; gap: 34px; }
	.hero__meta { grid-template-columns: repeat(2, 1fr); }
	.fire__grid { grid-template-columns: 1fr; }
	.btn { width: 100%; }
	.btn-row { flex-direction: column; }
	.terminal__body { line-height: 1.85; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	[data-reveal] { opacity: 1; transform: none; }
	.hero__title .line > span { transform: none; }
	.hero__sub, .hero .btn-row, .hero__meta { opacity: 1; }
}

/* Admin bar offset */
body.admin-bar .tba-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .tba-header { top: 46px; } }
