/*
Theme Name: Myriadbits
Theme URI: https://www.myriadbits.com
Author: Myriadbits
Description: Portfolio theme for myriadbits.com: all projects on one page, a separate About page and the Myriadbits pixel logo.
Version: 1.4.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: myriadbits
*/

/* ---------- Fonts (self-hosted, no external requests) ---------- */
@font-face {
	font-family: "Space Grotesk";
	src: url("assets/fonts/SpaceGrotesk-Bold.ttf") format("truetype");
	font-weight: 700;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-Regular.ttf") format("truetype");
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: "Open Sans";
	src: url("assets/fonts/OpenSans-Semibold.ttf") format("truetype");
	font-weight: 600;
	font-display: swap;
}

/* ---------- Tokens (Myriadbits orange, black and white) ---------- */
:root {
	--paper: #ffffff;
	--mist: #f6f5f3;
	--card: #fbfaf8;
	--line: #e7e4df;
	--ink: #2b2b2a;
	--ink-strong: #111111;
	--muted: #66645f;
	--orange: #ff6a00;
	--orange-hover: #e85f00;
	--orange-ink: #b54700;
	--orange-soft: #fff1e6;
	--night: #121212;
	--night-2: #1b1b1b;
	--night-line: rgba(255, 255, 255, .09);
	--night-text: #c9c7c2;
	--night-muted: #95938d;
	--radius: 14px;
	--wrap: 1160px;
	--heading: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--body: "Open Sans", -apple-system, "Segoe UI", system-ui, sans-serif;
	--mono: ui-monospace, "Cascadia Mono", Consolas, monospace;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font: 400 17px/1.65 var(--body);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-ink); text-underline-offset: 3px; }
a:hover { color: var(--ink-strong); }
h1, h2, h3 {
	font-family: var(--heading);
	font-weight: 700;
	color: var(--ink-strong);
	line-height: 1.1;
	letter-spacing: -0.015em;
	margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.5rem, 6.2vw, 4.4rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
@media (min-width: 720px) { .wrap { padding: 0 32px; } }
.section { padding: 96px 0; }
@media (max-width: 719px) { .section { padding: 64px 0; } }
.section-head { max-width: 660px; margin-bottom: 48px; }
.section-head p { color: var(--muted); font-size: 1.1rem; }
.skip-link {
	position: absolute; left: -9999px; top: 8px;
	background: var(--ink-strong); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; }

/* The eyebrow uses three "pixels", a nod to the pixel M. */
.eyebrow {
	font: 700 0.8rem/1 var(--heading);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--orange-ink);
	margin-bottom: 16px;
	display: inline-flex;
	align-items: center;
	gap: 12px;
}
.eyebrow::before {
	content: "";
	width: 18px; height: 6px;
	background:
		linear-gradient(var(--orange), var(--orange)) 0 0 / 5px 6px no-repeat,
		linear-gradient(var(--orange), var(--orange)) 6.5px 0 / 5px 6px no-repeat,
		linear-gradient(var(--orange), var(--orange)) 13px 0 / 5px 6px no-repeat;
	opacity: .9;
}

/* ---------- Buttons ---------- */
.btn {
	display: inline-flex; align-items: center; gap: 10px;
	font: 600 1rem/1 var(--body);
	padding: 15px 24px;
	border-radius: 999px;
	text-decoration: none;
	transition: background-color .2s, color .2s, box-shadow .2s, transform .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--orange); color: #111; }
.btn-primary:hover { background: var(--orange-hover); color: #111; transform: translateY(-1px); }
.btn-dark { background: var(--ink-strong); color: #fff; }
.btn-dark:hover { background: #333; color: #fff; transform: translateY(-1px); }
.btn-ghost { color: var(--ink-strong); box-shadow: inset 0 0 0 1.5px var(--line); background: var(--paper); }
.btn-ghost:hover { color: var(--ink-strong); box-shadow: inset 0 0 0 1.5px var(--orange); }
.is-dark .btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.22); }
.is-dark .btn-ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--orange); }

/* ---------- Header ---------- */
.site-header {
	position: sticky; top: 0; z-index: 50;
	background: color-mix(in srgb, var(--paper) 86%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	-webkit-backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: 1px solid transparent;
	transition: border-color .2s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; position: relative; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 16px; }
.brand { display: block; flex: none; }
.brand img { height: 38px; width: auto; }
.site-nav ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; }
.site-nav a {
	display: block; padding: 9px 14px; border-radius: 999px;
	color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
}
.site-nav a:hover { background: var(--mist); color: var(--ink-strong); }
.site-nav a[aria-current="page"] { color: var(--ink-strong); box-shadow: inset 0 0 0 1.5px var(--line); }
.site-nav a.nav-cta { background: var(--ink-strong); color: #fff; }
.site-nav a.nav-cta:hover { background: var(--orange); color: #111; }
@media (max-width: 599px) {
	.header-inner { height: 64px; }
	.brand img { height: 26px; }
	.site-nav a { padding: 8px 10px; font-size: 0.9rem; }
	.site-nav li.nav-hide-small { display: none; }
}

/* ---------- Hero ---------- */
.hero {
	position: relative;
	padding: 64px 0 96px;
	background:
		linear-gradient(to bottom, transparent 70%, var(--paper)),
		linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
		linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px;
	background-color: var(--paper);
}
.hero::before {
	content: ""; position: absolute; inset: 0;
	background: radial-gradient(70% 80% at 20% 30%, var(--paper) 30%, transparent 75%);
	pointer-events: none;
}
.hero > .wrap { position: relative; }
.hero-grid { display: grid; gap: 48px; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.1fr 0.9fr; gap: 64px; } }
.hero h1 span { color: var(--orange); }
.hero-lead { font-size: 1.2rem; color: var(--muted); max-width: 31em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 12px 32px; margin: 40px 0 0; padding: 0; list-style: none; }
.hero-stats li { color: var(--muted); font-size: 0.95rem; }
.hero-stats strong { display: block; font: 700 1.6rem/1.1 var(--heading); color: var(--ink-strong); }

/* The LED matrix with the pixel M. Cells are lit by assets/js/matrix.js. */
.matrix {
	--n: 16;
	--gap: 5px;
	position: relative;
	display: grid;
	grid-template-columns: repeat(var(--n), 1fr);
	gap: var(--gap);
	padding: clamp(18px, 4vw, 30px);
	border-radius: 24px;
	background: radial-gradient(120% 90% at 50% 0%, #222 0%, #0d0d0d 100%);
	box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), 0 40px 80px -40px rgba(0,0,0,.65);
	max-width: 520px;
	width: 100%;
	margin: 0 auto;
}
.matrix i {
	aspect-ratio: 1;
	border-radius: 2px;
	background: rgba(255,255,255,.055);
	transition: background-color .5s ease, box-shadow .5s ease;
}
.matrix i.m { background: var(--orange); box-shadow: 0 0 12px rgba(255,106,0,.55); }
.matrix i.m.hollow { background: transparent; box-shadow: inset 0 0 0 1.5px var(--orange); }
.matrix i.spark { background: rgba(255,170,90,.55); box-shadow: 0 0 10px rgba(255,140,40,.45); }
.matrix-caption {
	display: flex; justify-content: space-between; gap: 12px;
	max-width: 520px; margin: 14px auto 0;
	font: 600 0.8rem/1.3 var(--mono); color: var(--muted);
}

/* ---------- Project index ---------- */
.index-section { padding: 0 0 24px; }
.project-index {
	display: grid; gap: 12px;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr));
	list-style: none; margin: 0; padding: 0;
}
.project-index a {
	display: flex; flex-direction: column; gap: 6px; height: 100%;
	padding: 20px 22px;
	border-radius: var(--radius);
	background: var(--card);
	box-shadow: inset 0 0 0 1px var(--line);
	color: var(--ink); text-decoration: none;
	transition: box-shadow .2s, transform .2s, background-color .2s;
}
.project-index a:hover { background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--orange), 0 18px 36px -24px rgba(0,0,0,.35); transform: translateY(-2px); }
.project-index strong { font: 700 1.1rem/1.2 var(--heading); color: var(--ink-strong); display: flex; justify-content: space-between; gap: 10px; }
.project-index strong::after { content: "↓"; color: var(--orange-ink); font-family: var(--body); }
.project-index span { color: var(--muted); font-size: 0.93rem; line-height: 1.5; }
.tag {
	display: inline-flex; align-items: center; gap: 6px;
	font: 600 0.75rem/1 var(--body); letter-spacing: .02em;
	padding: 6px 10px; border-radius: 999px;
	background: var(--orange-soft); color: var(--orange-ink);
	width: max-content;
}
.tag.is-archived { background: var(--mist); color: var(--muted); }
.tag.is-live::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #2fa44f; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }

/* ---------- Project sections ---------- */
.projects { margin-top: 72px; }
.project { padding: 96px 0; border-top: 1px solid var(--line); }
@media (max-width: 719px) { .project { padding: 64px 0; } }
.project.is-tinted { background: var(--mist); }
.project.is-dark { background: var(--night); color: var(--night-text); border-top-color: var(--night); }
.project.is-dark h2, .project.is-dark h3, .project.is-dark strong { color: #fff; }
.project.is-dark .eyebrow { color: #ff9a52; }
.project.is-dark .project-lead { color: #e2e0db; }
.project.is-dark .tag { background: rgba(255,106,0,.14); color: #ffb27a; }
.project.is-dark .tag.is-archived { background: rgba(255,255,255,.08); color: var(--night-muted); }
.project.is-dark a:not(.btn) { color: #ffb27a; }
.project-grid { display: grid; gap: 44px; align-items: start; }
@media (min-width: 940px) {
	.project-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 64px; }
	.project.is-flipped .project-media { order: -1; }
	.project-media { position: sticky; top: 108px; }
}
/* Project text, written in the block editor */
.project-body p { color: inherit; }
.project-body > :last-child { margin-bottom: 0; }
.project-body .is-style-lead, .project-lead { font-size: 1.15rem; color: var(--ink); }
.project.is-dark .is-style-lead { color: #e2e0db; }

/* Top-level lists are feature lists with orange "pixels" */
.project-body > ul { list-style: none; padding: 0; margin: 24px 0; display: grid; gap: 10px; }
.project-body > ul > li { position: relative; padding-left: 22px; }
.project-body > ul > li::before {
	content: ""; position: absolute; left: 0; top: 8px; width: 10px; height: 10px;
	background: var(--orange); border-radius: 2px;
}
.project-body > ul ul { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 6px; }
.project-body > ul ul li { position: relative; padding-left: 16px; color: var(--muted); font-size: 0.95rem; }
.is-dark .project-body > ul ul li { color: var(--night-muted); }
.project-body > ul ul li::before {
	content: ""; position: absolute; left: 0; top: 9px; width: 6px; height: 6px;
	border-radius: 2px; box-shadow: inset 0 0 0 1.5px var(--orange);
}
.project-body del { opacity: .7; }
.project-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }

/* Paragraph style "Note": a small box */
.project-body .is-style-note, .note {
	font-size: 0.93rem; color: var(--muted);
	padding: 14px 16px; border-radius: 12px;
	background: var(--card); box-shadow: inset 0 0 0 1px var(--line);
	margin: 24px 0 0;
}
.is-dark .project-body .is-style-note { background: rgba(255,255,255,.04); box-shadow: inset 0 0 0 1px var(--night-line); color: var(--night-muted); }
.is-tinted .project-body .is-style-note { background: var(--paper); }

/* Paragraph style "Small print" */
.is-style-fine { font-size: .88rem; color: var(--muted); }
.is-dark .is-style-fine { color: var(--night-muted); }

/* Details blocks: expandable "+" panels */
.project-body details { margin-top: 14px; border-radius: 12px; box-shadow: inset 0 0 0 1px var(--line); background: var(--paper); font-size: 0.97rem; }
.project-body > ul + details, .project-body > p + details { margin-top: 24px; }
.project-body details + details { margin-top: 14px; }
.is-dark .project-body details { background: rgba(255,255,255,.03); box-shadow: inset 0 0 0 1px var(--night-line); }
.project-body summary {
	cursor: pointer; list-style: none;
	display: flex; justify-content: space-between; align-items: center; gap: 12px;
	padding: 14px 18px;
	font: 700 1rem/1.3 var(--heading); color: var(--ink-strong);
}
.is-dark .project-body summary { color: #fff; }
.project-body summary::-webkit-details-marker { display: none; }
.project-body summary::after { content: "+"; font: 600 1.3rem/1 var(--body); color: var(--orange); transition: transform .2s; }
.project-body details[open] summary::after { transform: rotate(45deg); }
.project-body details > :not(summary) { margin-left: 18px; margin-right: 18px; }
.project-body details > :last-child { margin-bottom: 18px; }
.project-body details ul { padding-left: 1.2em; margin-top: 0; }
.project-body details li { margin-bottom: .35em; }

/* Media */
.project-media { display: grid; gap: 14px; }
.shot {
	margin: 0;
	border-radius: 18px; overflow: hidden;
	background: var(--paper);
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,.45);
}
.is-dark .shot { box-shadow: 0 0 0 1px var(--night-line), 0 30px 60px -30px rgba(0,0,0,.9); background: #000; }
.shot img { width: 100%; }
.shot.is-photo img { aspect-ratio: 16 / 10; object-fit: cover; }
.shot figcaption { padding: 10px 14px; font-size: 0.85rem; color: var(--muted); border-top: 1px solid var(--line); background: var(--card); }
.is-dark .shot figcaption { color: var(--night-muted); border-top-color: var(--night-line); background: var(--night-2); }
.shot-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.shot-row .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; }
@media (min-width: 560px) { .shot-row:has(> :nth-child(3)) { grid-template-columns: repeat(3, 1fr); } }
.shot > a { display: block; cursor: zoom-in; }
.shot.is-portrait { width: 100%; max-width: 300px; margin: 0 auto; }
.shot-row .shot.is-portrait { max-width: none; }

/* Illustrated "window" mock-ups for projects without screenshots */
.mock {
	border-radius: 18px; overflow: hidden;
	background: #fff;
	box-shadow: 0 0 0 1px var(--line), 0 30px 60px -36px rgba(0,0,0,.45);
	font: 500 0.85rem/1.5 var(--mono);
	color: #2b2b2a;
}
.mock-bar {
	display: flex; align-items: center; gap: 8px;
	padding: 10px 14px; background: var(--mist); border-bottom: 1px solid var(--line);
	font: 600 0.8rem/1 var(--body); color: var(--muted);
}
.mock-bar i { width: 10px; height: 10px; border-radius: 50%; background: #d9d6d0; }
.mock-bar i:first-child { background: var(--orange); }
.mock-bar span { margin-left: 8px; }
.mock-body { padding: 16px 18px; }
.mxf-tree { list-style: none; margin: 0; padding: 0; }
.mxf-tree li { display: flex; gap: 10px; align-items: center; padding: 3px 0; white-space: nowrap; overflow: hidden; }
.mxf-tree li[data-d="1"] { padding-left: 20px; }
.mxf-tree li[data-d="2"] { padding-left: 40px; }
.mxf-tree b { flex: none; width: 10px; height: 10px; border-radius: 2px; }
.mxf-tree em { font-style: normal; color: #8b8984; margin-left: auto; padding-left: 12px; }
@media (max-width: 479px) { .mxf-tree em { display: none; } }
.mxf-legend { display: flex; flex-wrap: wrap; gap: 6px 14px; padding: 12px 18px; border-top: 1px solid var(--line); background: var(--card); font: 600 0.75rem/1.3 var(--body); color: var(--muted); }
.mxf-legend span { display: inline-flex; align-items: center; gap: 6px; }
.mxf-legend b { width: 9px; height: 9px; border-radius: 2px; }

.phone {
	width: min(270px, 100%); margin: 0 auto;
	aspect-ratio: 9 / 17;
	border-radius: 40px; padding: 12px;
	background: #111;
	box-shadow: 0 0 0 1px #000, 0 40px 70px -36px rgba(0,0,0,.55);
}
.phone-screen {
	position: relative; height: 100%; border-radius: 30px; overflow: hidden;
	background: #f7f6f3; display: flex; flex-direction: column;
}
.phone-notch { position: absolute; top: 10px; left: 50%; width: 34%; height: 22px; transform: translateX(-50%); background: #111; border-radius: 12px; z-index: 2; }
.cam-view {
	flex: 1; display: grid; place-items: center; padding: 40px 18px 18px;
	background:
		repeating-linear-gradient(transparent 0 27px, #cfe0f3 27px 28px),
		#fdfcf7;
}
.cam-sum {
	position: relative;
	font: 400 1.7rem/1 "Segoe Print", "Comic Sans MS", cursive; color: #1c2b4a;
	padding: 18px 14px;
	border: 2px solid var(--orange); border-radius: 10px;
	box-shadow: 0 0 0 6px rgba(255,106,0,.12);
}
.cam-sum::before, .cam-sum::after { content: ""; position: absolute; width: 14px; height: 14px; border: 3px solid var(--orange); }
.cam-sum::before { left: -9px; top: -9px; border-right: 0; border-bottom: 0; }
.cam-sum::after { right: -9px; bottom: -9px; border-left: 0; border-top: 0; }
.cam-answer {
	margin: 0; padding: 16px 18px 22px; background: #111; color: #fff;
	font: 700 1.6rem/1.2 var(--heading); text-align: center;
}
.cam-answer small { display: block; font: 600 0.75rem/1.4 var(--body); color: #9a9892; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 4px; }
.cam-answer span { color: var(--orange); }

.vibe-screen { flex: 1; padding: 46px 16px 16px; display: flex; flex-direction: column; gap: 12px; }
.vibe-head { font: 700 1.05rem/1.2 var(--heading); color: #111; }
.vibe-head small { display: block; font: 600 0.75rem/1.4 var(--body); color: #8b8984; }
.vibe-goal { padding: 12px; border-radius: 14px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); font: 600 0.8rem/1.4 var(--body); color: #444; }
.vibe-goal strong { display: block; font: 700 0.95rem/1.3 var(--heading); color: #111; margin-bottom: 8px; }
.vibe-stars { display: flex; gap: 4px; font-size: 1.15rem; line-height: 1; }
.vibe-stars .r { color: #e2463d; }
.vibe-stars .o { color: #e3e0da; }
.vibe-reward { margin-top: auto; padding: 12px; border-radius: 14px; background: var(--orange); color: #111; font: 700 0.9rem/1.3 var(--heading); }
.vibe-reward small { display: block; font: 600 0.72rem/1.4 var(--body); opacity: .75; }


/* ---------- Contact ---------- */
.contact-section { background: var(--night); color: var(--night-text); }
.contact-section h2 { color: #fff; }
.contact-section .eyebrow { color: #ff9a52; }
.contact-card { display: grid; gap: 32px; align-items: center; }
@media (min-width: 860px) { .contact-card { grid-template-columns: 1.2fr 0.8fr; } }
.contact-card p { color: var(--night-muted); font-size: 1.1rem; max-width: 34em; }
.contact-mail {
	display: block; padding: 28px; border-radius: 20px;
	background: var(--night-2); box-shadow: inset 0 0 0 1px var(--night-line);
	text-decoration: none; color: #fff;
	transition: box-shadow .2s, transform .2s;
}
.contact-mail:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--orange); transform: translateY(-2px); }
.contact-mail small { display: block; color: var(--night-muted); font-size: 0.9rem; margin-bottom: 6px; }
.contact-mail strong { font: 700 clamp(1.3rem, 3vw, 1.7rem)/1.2 var(--heading); word-break: break-word; }
.contact-mail strong::after { content: " →"; color: var(--orange); }
.contact-side { display: grid; gap: 20px; }
.contact-business { margin: 0 0 0 28px; font-style: normal; font-size: 0.95rem; line-height: 1.6; color: var(--night-muted); }
/* ---------- About page ---------- */
.about-hero { padding: 72px 0 40px; }
.about-intro { display: grid; gap: 32px; align-items: center; }
@media (min-width: 760px) { .about-intro { grid-template-columns: auto 1fr; gap: 44px; } }
.portrait {
	position: relative; width: 168px; height: 168px; flex: none;
}
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 28px; position: relative; z-index: 1; }
.portrait::before {
	content: ""; position: absolute; inset: -10px -10px 10px 10px; border-radius: 28px; z-index: 0;
	background:
		linear-gradient(var(--orange) 1px, transparent 1px) 0 0 / 12px 12px,
		linear-gradient(90deg, var(--orange) 1px, transparent 1px) 0 0 / 12px 12px;
	opacity: .35;
}
.about-intro h1 { margin-bottom: 0.3em; }
.about-intro .hero-lead { margin: 0; }
.about-layout { display: grid; gap: 48px; padding-bottom: 96px; }
@media (min-width: 940px) { .about-layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 72px; } }
.about-text { font-size: 1.08rem; max-width: 680px; }
.about-text blockquote, .quote-card {
	margin: 2em 0; padding: 26px 28px; border-radius: 18px;
	background: var(--orange-soft); color: #4a2a12;
	font-style: italic;
}
.about-text blockquote p:last-child { margin-bottom: 0; }
.about-side { display: grid; gap: 16px; align-content: start; }
@media (min-width: 940px) { .about-side { position: sticky; top: 108px; } }
.side-card { padding: 24px; border-radius: 18px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); }
.side-card h2 { font-size: 1.05rem; margin-bottom: 14px; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.chips li { padding: 7px 12px; border-radius: 999px; background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); font: 600 0.85rem/1 var(--body); }
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.timeline li { position: relative; padding-left: 22px; font-size: 0.95rem; color: var(--muted); }
.timeline li::before { content: ""; position: absolute; left: 0; top: 7px; width: 9px; height: 9px; border-radius: 2px; background: var(--orange); }
.timeline li::after { content: ""; position: absolute; left: 4px; top: 22px; bottom: -14px; width: 1px; background: var(--line); }
.timeline li:last-child::after { display: none; }
.timeline strong { display: block; color: var(--ink-strong); font-weight: 600; }

/* ---------- Regular pages (privacy policy etc.) ---------- */
.page-main { padding: 64px 0 96px; }
.prose { max-width: 720px; margin: 0 auto; }
.prose h1 { font-size: clamp(2.1rem, 5vw, 3rem); }
.prose h2 { font-size: 1.35rem; margin-top: 2em; }
.prose h3 { margin-top: 1.6em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .4em; }
.prose .page-meta { color: var(--muted); margin-bottom: 2em; }
.prose blockquote, .prose .summary {
	margin: 0 0 1.5em; padding: 14px 18px;
	border-left: 3px solid var(--orange);
	background: var(--card);
	border-radius: 0 12px 12px 0;
}

/* ---------- Footer ---------- */
.site-footer { background: var(--night); color: var(--night-text); padding: 64px 0 40px; font-size: 0.95rem; border-top: 1px solid var(--night-line); }
.footer-grid { display: flex; flex-wrap: wrap; gap: 32px 56px; justify-content: space-between; align-items: flex-start; }
.footer-brand img { height: 32px; width: auto; margin-bottom: 14px; }
.footer-brand p { color: var(--night-muted); max-width: 26em; margin: 0; }
.footer-cols { display: flex; flex-wrap: wrap; gap: 32px 56px; }
.site-footer h2 { font: 700 0.8rem/1 var(--heading); letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #e9e7e2; text-decoration: none; }
.site-footer a:hover { color: var(--orange); }
.footer-bottom { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--night-line); color: var(--night-muted); font-size: 0.85rem; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
