/*
Theme Name: Espantapitas Capuchon
Theme URI: https://espantapitas.com/
Author: Espantapitas
Description: The keyboard on a white desk: sculpted keycaps, a grey keyboard tray, one apricot key to press.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.2
License: GPL-2.0-or-later
Text Domain: espantapitas-capuchon
*/

/* Faces: Rubik for legends and headings, Karla for reading. Latin subsets, shipped here. */
@font-face {
	font-family: "Rubik";
	src: url("assets/fonts/rubik-variable.woff2") format("woff2");
	font-weight: 300 900;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Karla";
	src: url("assets/fonts/karla-variable.woff2") format("woff2");
	font-weight: 200 800;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "Karla";
	src: url("assets/fonts/karla-italic-variable.woff2") format("woff2");
	font-weight: 200 800;
	font-style: italic;
	font-display: swap;
}

:root {
	--apricot: #ffb985;
	--apricot-wall: #e9975c;
	--desk: #f7f7f8;
	--white: #ffffff;
	--tray: #d9dbde;
	--tray-rim: #c2c6cc;
	--alpha-wall: #c9ccd1;
	--alpha-dish: #eef0f2;
	--graphite: #3a3f47;
	--graphite-wall: #1f2328;
	--ink: #1d2129;
	--muted: #4e5561;
	--link: #9a4a12;

	--legend: "Rubik", "Karla", system-ui, sans-serif;
	--read: "Karla", system-ui, sans-serif;

	/* 1.25 scale from an 18 px body */
	--s-1: 0.9rem;
	--s0: 1.125rem;
	--s1: 1.40625rem;
	--s2: 1.7578rem;
	--s3: 2.1973rem;
	--s4: 2.7466rem;

	--key-radius: 8px;
	--tray-radius: 12px;
	--wall: 6px;
	--travel: 3px;
	--edge: 2px;
	--measure: 64ch;
	--page: 72rem;
	--gutter: clamp(1rem, 4vw, 2.5rem);
}

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

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

body {
	margin: 0;
	background: var(--desk);
	color: var(--ink);
	font-family: var(--read);
	font-size: var(--s0);
	line-height: 1.6;
	font-kerning: normal;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
body > * {
	flex-shrink: 0;
}
body > main {
	flex-grow: 1;
}
.table-scroll:focus-visible {
	border-radius: var(--key-radius);
}

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

a {
	color: var(--link);
	text-decoration-thickness: 1.5px;
	text-underline-offset: 0.18em;
}
a:hover {
	text-decoration-thickness: 2.5px;
}

:focus-visible {
	outline: 3px solid var(--apricot);
	outline-offset: 2px;
	box-shadow: 0 0 0 7px var(--graphite);
	border-radius: 4px;
}

h1,
h2,
h3,
h4 {
	font-family: var(--legend);
	font-weight: 600;
	line-height: 1.15;
	letter-spacing: -0.01em;
	margin: 0 0 0.6em;
	text-wrap: balance;
}

p {
	margin: 0 0 1em;
}

.skip {
	position: absolute;
	left: 0.75rem;
	top: -4rem;
	z-index: 20;
	padding: 0.6rem 0.9rem;
	background: var(--graphite);
	color: var(--white);
	font-family: var(--legend);
	font-weight: 600;
	border-radius: var(--key-radius);
	text-decoration: none;
}
.skip:focus {
	top: 0.75rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

.frame {
	width: min(100% - 2 * var(--gutter), var(--page));
	margin-inline: auto;
}

/* ── The keycap: a top face on a crisp solid wall. Every control is one. ── */
.keycap {
	--cap: var(--white);
	--cap-wall: var(--alpha-wall);
	--cap-ink: var(--ink);
	--lift: var(--wall);
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
	text-align: left;
	color: var(--cap-ink);
	background: var(--cap);
	border: var(--edge) solid var(--graphite);
	border-radius: var(--key-radius);
	box-shadow:
		inset 0 -4px 0 0 rgb(29 33 41 / 0.05),
		0 var(--lift) 0 0 var(--cap-wall),
		0 var(--lift) 0 var(--edge) var(--graphite);
	margin-bottom: calc(var(--wall) + var(--edge));
	font-family: var(--legend);
	font-weight: 600;
	text-decoration: none;
	transition: transform 70ms ease-out, box-shadow 70ms ease-out;
}
.keycap--accent {
	--cap: var(--apricot);
	--cap-wall: var(--apricot-wall);
}
.keycap--mod {
	--cap: var(--graphite);
	--cap-wall: var(--graphite-wall);
	--cap-ink: var(--white);
}
a.keycap:hover {
	text-decoration: none;
}
a.keycap:active,
.keycap.is-down,
.keycap[aria-current="page"] {
	--lift: calc(var(--wall) - var(--travel));
	transform: translateY(var(--travel));
}
a.keycap:focus-visible {
	outline: 3px solid var(--apricot);
	outline-offset: 3px;
	box-shadow:
		0 var(--lift) 0 0 var(--cap-wall),
		0 var(--lift) 0 var(--edge) var(--graphite),
		0 0 0 8px var(--graphite);
	border-radius: var(--key-radius);
}

/* The keyboard tray that frames the main action */
.keybed {
	background: var(--tray);
	border: var(--edge) solid var(--tray-rim);
	border-radius: var(--tray-radius);
	padding: clamp(0.9rem, 2.6vw, 1.6rem);
}

/* ── Header: one row of keycaps on the tray ── */
.deck {
	background: var(--tray);
	border-bottom: var(--edge) solid var(--tray-rim);
}
.deck__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.25rem;
	padding-block: 0.85rem 0.65rem;
}
.deck__logo {
	display: block;
	line-height: 0;
	border-radius: var(--key-radius);
}
.deck__logo img {
	display: block;
	height: 44px;
	width: auto;
}
.deck__logo:active {
	transform: translateY(var(--travel));
}
.keys {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}
.keys a {
	min-height: 48px;
	min-width: 5.5rem;
	padding: 0.35rem 0.85rem 1rem 0.65rem;
	font-size: 0.95rem;
	line-height: 1.2;
	margin-bottom: calc(var(--wall) + var(--edge));
}
.keys .current-menu-item > a,
.keys .current-category-ancestor > a,
.keys .current-post-ancestor > a {
	--lift: calc(var(--wall) - var(--travel));
	transform: translateY(var(--travel));
	--cap: var(--alpha-dish);
}

/* ── Home ── */
.prompt {
	padding-block: clamp(2.2rem, 6vw, 4.5rem) clamp(1.6rem, 4vw, 2.8rem);
	display: grid;
	gap: 1.5rem 2.5rem;
	align-items: center;
}
.prompt h1 {
	font-size: clamp(2.5rem, 1.35rem + 4.6vw, 4.9rem);
	font-weight: 700;
	line-height: 1.02;
	letter-spacing: -0.025em;
	max-width: 15ch;
	margin: 0;
}
.prompt__art {
	width: min(80%, 30rem);
	justify-self: end;
}
@media (min-width: 52rem) {
	.prompt {
		grid-template-columns: 1.1fr 1fr;
	}
}

.offer {
	margin-bottom: clamp(2.2rem, 5vw, 3.5rem);
}
.question-card {
	width: 100%;
	padding: clamp(1.1rem, 3vw, 1.8rem) clamp(1.1rem, 3vw, 2rem) clamp(1.4rem, 3.4vw, 2.2rem);
	gap: 0.6rem;
}
.question-card__title {
	font-size: clamp(1.55rem, 1.1rem + 2vw, 2.45rem);
	font-weight: 600;
	line-height: 1.12;
	letter-spacing: -0.015em;
	max-width: 26ch;
}
.question-card__line {
	font-family: var(--read);
	font-weight: 400;
	font-size: var(--s0);
	line-height: 1.5;
	max-width: 52ch;
	margin: 0;
}
.question-card__go {
	align-self: flex-end;
	margin-top: 0.4rem;
	padding: 0.3rem 1.1rem 0.9rem 0.65rem;
	min-width: 7.5rem;
	font-size: 0.95rem;
	--wall: 5px;
	margin-bottom: 0;
}
.question-card:active .question-card__go {
	transform: none;
}
.keybed .stack {
	display: grid;
	gap: 1.1rem;
}

.reading {
	max-width: var(--measure);
}
.home-text {
	padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.home-text h2 {
	font-size: var(--s2);
}

/* ── Ad slots: a plain grey tray, labelled, apart from the keys ── */
.barra-espaciadora {
	display: block;
	margin: 2rem 0;
	padding: 0.6rem 0.75rem 0.85rem;
	background: #eceef1;
	border: 1px solid var(--alpha-wall);
	border-radius: 6px;
	max-width: 100%;
	overflow: hidden;
}
.barra-espaciadora iframe {
	display: block;
	max-width: 100%;
	margin-inline: auto;
	border: 0;
}
.grabado {
	display: block;
	margin: 0 0 0.45rem;
	font-family: var(--legend);
	font-size: 0.78rem;
	font-weight: 500;
	letter-spacing: 0.02em;
	color: var(--muted);
}
.slot-tray {
	background: var(--tray);
	border-top: var(--edge) solid var(--tray-rim);
	padding-block: 1.25rem;
}
.slot-tray .barra-espaciadora {
	margin: 0;
	background: var(--desk);
}

/* ── Reading pages: about, contact, policies ── */
.sheet {
	padding-block: clamp(2rem, 5vw, 3.5rem) clamp(2.5rem, 6vw, 4rem);
}
.sheet__head {
	display: grid;
	gap: 1rem 2rem;
	align-items: end;
	margin-bottom: clamp(1.6rem, 4vw, 2.6rem);
}
.sheet__head img {
	width: clamp(7rem, 22vw, 10.5rem);
}
@media (min-width: 46rem) {
	.sheet__head {
		grid-template-columns: auto 1fr;
	}
}
.sheet__head h1 {
	font-size: clamp(2.1rem, 1.3rem + 3.2vw, 3.4rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}
.sheet__head p {
	margin: 0.6rem 0 0;
	color: var(--muted);
	max-width: 52ch;
}
.prose {
	max-width: var(--measure);
}
.prose h2 {
	font-size: var(--s2);
	margin-top: 2em;
}
.prose h3 {
	font-size: var(--s1);
	margin-top: 1.6em;
}
.prose ul {
	list-style: none;
	padding-left: 0;
}
.prose ul > li {
	position: relative;
	padding-left: 1.7rem;
	margin-bottom: 0.5em;
}
.prose ul > li::before {
	content: "";
	position: absolute;
	left: 0.1rem;
	top: 0.42em;
	width: 0.8rem;
	height: 0.7rem;
	background: var(--white);
	border: 1.5px solid var(--graphite);
	border-radius: 3px;
	box-shadow: 0 2px 0 0 var(--alpha-wall), 0 2px 0 1.5px var(--graphite);
}
.prose ol {
	padding-left: 1.4rem;
}
.prose ol > li {
	margin-bottom: 0.5em;
	padding-left: 0.3rem;
}
.prose ol > li::marker {
	font-family: var(--legend);
	font-weight: 600;
}
.prose strong {
	font-weight: 700;
}
.prose blockquote,
.prose aside {
	margin: 1.6em 0;
	padding: 1rem 1.2rem 1.2rem;
	background: var(--white);
	border: var(--edge) solid var(--graphite);
	border-radius: var(--key-radius);
	box-shadow: 0 5px 0 0 var(--alpha-wall), 0 5px 0 var(--edge) var(--graphite);
}
.prose blockquote > :last-child,
.prose aside > :last-child {
	margin-bottom: 0;
}
.prose table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 1rem;
	margin: 1.4em 0;
	background: var(--white);
	border: var(--edge) solid var(--graphite);
	border-radius: var(--key-radius);
	overflow: hidden;
}
.table-scroll {
	overflow-x: auto;
	margin: 1.4em 0;
}
.table-scroll table {
	margin: 0;
	min-width: 32rem;
}
.prose th {
	font-family: var(--legend);
	font-weight: 600;
	text-align: left;
	background: var(--tray);
}
.prose th,
.prose td {
	padding: 0.6rem 0.8rem;
	border-bottom: 1px solid var(--alpha-wall);
	vertical-align: top;
}
.prose tr:last-child td {
	border-bottom: 0;
}
.prose code {
	font-family: var(--legend);
	font-size: 0.92em;
	font-weight: 500;
	padding: 0.05em 0.35em;
	background: var(--white);
	border: 1px solid var(--alpha-wall);
	border-radius: 4px;
}
.prose details {
	margin: 1em 0;
	padding: 0.8rem 1rem;
	background: var(--white);
	border: 1px solid var(--alpha-wall);
	border-radius: var(--key-radius);
}
.prose summary {
	font-family: var(--legend);
	font-weight: 600;
	cursor: pointer;
}
.prose figure {
	margin: 1.8em 0;
}
.prose figcaption {
	font-size: 0.95rem;
	color: var(--muted);
	margin-top: 0.5rem;
}
.prose dl dt {
	font-family: var(--legend);
	font-weight: 600;
}
.prose dl dd {
	margin: 0 0 0.8em;
}

/* The team note on the about page */
.team {
	display: grid;
	grid-template-columns: 3.5rem 1fr;
	gap: 0.9rem;
	align-items: start;
	max-width: var(--measure);
	margin-top: 2.4rem;
	padding: 1rem 1.1rem 1.2rem;
	background: var(--white);
	border: var(--edge) solid var(--graphite);
	border-radius: var(--key-radius);
	box-shadow: 0 5px 0 0 var(--alpha-wall), 0 5px 0 var(--edge) var(--graphite);
}
.team img {
	width: 3.5rem;
}
.team strong {
	display: block;
	font-family: var(--legend);
	font-weight: 600;
}
.team p {
	margin: 0.2rem 0 0;
	font-size: 1rem;
}

/* ── Archive and search: key cards on the tray ── */
.label-cap {
	width: 100%;
	padding: 1rem 1.2rem 1.4rem;
	margin-top: clamp(1.8rem, 5vw, 3rem);
	gap: 0.4rem;
	cursor: default;
}
.label-cap h1 {
	font-size: clamp(2rem, 1.3rem + 3vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0;
}
.label-cap p {
	font-family: var(--read);
	font-weight: 400;
	margin: 0;
	max-width: 56ch;
	color: var(--muted);
}
.listing {
	margin-block: 1.6rem 2rem;
}
.listing .stack {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}
.post-card {
	width: 100%;
	padding: 1rem 1.2rem 1.3rem;
	gap: 0.35rem;
	margin-bottom: 0;
}
.post-card__title {
	font-size: clamp(1.3rem, 1rem + 1.2vw, 1.75rem);
	line-height: 1.15;
}
.post-card__line {
	font-family: var(--read);
	font-weight: 400;
	margin: 0;
	max-width: 60ch;
}
.post-card__kind {
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--muted);
}
.keycap--accent .post-card__kind {
	color: var(--ink);
}
.empty-note {
	margin: 0;
}
.pager {
	display: flex;
	gap: 0.8rem;
	flex-wrap: wrap;
	margin-top: 1.2rem;
}
.pager a {
	padding: 0.3rem 0.9rem 0.9rem 0.6rem;
	font-size: 0.95rem;
	min-height: 44px;
}

/* Missing page */
.socket {
	display: grid;
	gap: 1.2rem 2.4rem;
	align-items: center;
	padding-block: clamp(2.4rem, 6vw, 4.5rem);
}
.socket img {
	width: clamp(9rem, 28vw, 13rem);
}
.socket h1 {
	font-size: clamp(2.2rem, 1.3rem + 3.6vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	margin: 0 0 0.4rem;
}
.socket .keycap {
	display: inline-flex;
	padding: 0.35rem 1.1rem 0.95rem 0.7rem;
	margin-top: 1rem;
}
@media (min-width: 46rem) {
	.socket {
		grid-template-columns: auto 1fr;
	}
}

/* ── Footer: a light tray with small flat keys ── */
.base {
	background: var(--tray);
	border-top: var(--edge) solid var(--tray-rim);
	padding-block: 1.8rem 2.2rem;
	font-size: 0.98rem;
}
.base__grid {
	display: grid;
	gap: 1.4rem 2.5rem;
}
@media (min-width: 52rem) {
	.base__grid {
		grid-template-columns: minmax(16rem, 1fr) 1.4fr;
		align-items: start;
	}
}
.base__brand {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 0.2rem 0.85rem;
	align-items: center;
}
.base__brand img {
	width: 3rem;
	grid-row: span 2;
}
.base__name {
	font-family: var(--legend);
	font-weight: 700;
	font-size: 1.15rem;
	line-height: 1.1;
}
.base__tag {
	color: var(--muted);
	line-height: 1.35;
}
.base__publisher {
	margin: 1rem 0 0;
}
.flat-keys {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.55rem 0.6rem;
}
.flat-keys a {
	display: inline-flex;
	align-items: flex-start;
	min-height: 44px;
	padding: 0.4rem 0.75rem 0.8rem 0.55rem;
	font-family: var(--legend);
	font-weight: 500;
	font-size: 0.9rem;
	line-height: 1.2;
	color: var(--ink);
	background: var(--white);
	border: 1.5px solid var(--graphite);
	border-radius: 6px;
	box-shadow: 0 3px 0 0 var(--alpha-wall), 0 3px 0 1.5px var(--graphite);
	margin-bottom: 4.5px;
	text-decoration: none;
	transition: transform 70ms ease-out, box-shadow 70ms ease-out;
}
.flat-keys a:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 0 var(--alpha-wall), 0 1px 0 1.5px var(--graphite);
}
.flat-keys .current-menu-item > a {
	background: var(--alpha-dish);
}

/* ── The measurement notice: a quiet wrist rest at the foot of the window ── */
.reposamunecas {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 30;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.4rem 0.7rem;
	padding: 0.5rem max(var(--gutter), env(safe-area-inset-left)) calc(0.45rem + env(safe-area-inset-bottom));
	background: var(--desk);
	border-top: 1px solid var(--alpha-wall);
	color: var(--ink);
	font-family: var(--read);
	font-size: 0.85rem;
	line-height: 1.38;
}
/* while the notice shows, the end of the page can still scroll clear of it */
body:has(.reposamunecas) {
	padding-bottom: 9.5rem;
}
@media (min-width: 46rem) {
	body:has(.reposamunecas) {
		padding-bottom: 4.5rem;
	}
}
.reposamunecas p {
	flex: 1 1 26rem;
	margin: 0;
}
.reposamunecas a {
	color: var(--link);
}
.reposamunecas button,
.pulsador button {
	appearance: none;
	min-height: 44px;
	min-width: 6.5rem;
	padding: 0.3rem 0.9rem 0.6rem 0.6rem;
	font-family: var(--legend);
	font-weight: 600;
	font-size: 0.92rem;
	line-height: 1.2;
	text-align: left;
	color: var(--ink);
	background: var(--white);
	border: 1.5px solid var(--graphite);
	border-radius: 6px;
	box-shadow: 0 3px 0 0 var(--alpha-wall), 0 3px 0 1.5px var(--graphite);
	margin-bottom: 4.5px;
	cursor: pointer;
	transition: transform 70ms ease-out, box-shadow 70ms ease-out;
}
.reposamunecas button:active,
.pulsador button:active {
	transform: translateY(2px);
	box-shadow: 0 1px 0 0 var(--alpha-wall), 0 1px 0 1.5px var(--graphite);
}
.reposamunecas button:focus-visible,
.pulsador button:focus-visible {
	outline: 3px solid var(--apricot);
	outline-offset: 2px;
	box-shadow: 0 3px 0 0 var(--alpha-wall), 0 3px 0 1.5px var(--graphite), 0 0 0 7px var(--graphite);
}
.recorrido {
	font-family: var(--legend);
	font-weight: 500;
	font-size: 0.95rem;
	color: var(--muted);
}

/* The measurement choice on the cookies page */
.prose .pulsador {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.7rem;
	margin: 1.2rem 0 1.6rem;
	padding: 1rem;
	background: var(--tray);
	border: var(--edge) solid var(--tray-rim);
	border-radius: var(--tray-radius);
}
.prose .pulsador p {
	flex: 1 1 100%;
	margin: 0;
}

/* ── Question screen (its own compact layout) ── */
.solo {
	min-height: 100vh;
	min-height: 100svh;
	display: grid;
	grid-template-rows: auto 1fr auto;
	background: var(--white);
}
.solo__top {
	padding-block: 1rem 0.5rem;
}
.solo__top a {
	display: inline-block;
	line-height: 0;
	border-radius: var(--key-radius);
}
.solo__top img {
	height: 34px;
	width: auto;
}
.solo__main {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding-block: clamp(1rem, 4vh, 3rem) clamp(1.5rem, 5vh, 3.5rem);
}

.solo .pulsador {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	margin: 0;
	padding: 0;
	border: 0;
	min-width: 0;
}
.solo .pulsador legend {
	float: left;
	flex: 0 0 100%;
	width: 100%;
	padding: 0;
	margin: 0 0 0.9rem;
	font-family: var(--legend);
	font-weight: 600;
	font-size: clamp(2rem, 1.25rem + 3.6vw, 3.7rem);
	line-height: 1.06;
	letter-spacing: -0.022em;
	padding-inline-end: max(0px, calc(100% - 22ch));
	text-wrap: balance;
}
.solo .pulsador [id$="-description"] {
	flex: 0 0 100%;
	margin: 0 0 1.4rem;
	padding-inline-end: max(0px, calc(100% - 52ch));
	color: var(--muted);
	font-size: var(--s0);
	line-height: 1.5;
}

/* The tray: each answer's paragraph is one stretch of it, so the keys sit on one grey bed */
.solo .pulsador > p:has(> button) {
	display: flex;
	flex: 1 1 100%;
	margin: 0;
	padding: 0.45rem clamp(0.7rem, 2.4vw, 1.1rem);
	background: var(--tray);
	border-inline: var(--edge) solid var(--tray-rim);
}
.solo .pulsador > :is(legend, [id$="-description"]) + p:has(> button) {
	padding-top: clamp(0.8rem, 2.4vw, 1.1rem);
	border-top: var(--edge) solid var(--tray-rim);
	border-radius: var(--tray-radius) var(--tray-radius) 0 0;
}
.solo .pulsador > p:has(> button):has(+ [role="status"]),
.solo .pulsador > p:has(> button):last-child {
	padding-bottom: clamp(0.8rem, 2.4vw, 1.1rem);
	border-bottom: var(--edge) solid var(--tray-rim);
	border-radius: 0 0 var(--tray-radius) var(--tray-radius);
}

.solo .pulsador button {
	--cap: var(--white);
	--cap-wall: var(--alpha-wall);
	--lift: var(--wall);
	position: relative;
	flex: 1 1 auto;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
	min-height: 68px;
	min-width: 0;
	width: 100%;
	padding: 0.65rem 1rem 1.6rem 0.85rem;
	font-size: clamp(1.1rem, 1rem + 0.5vw, 1.3rem);
	font-weight: 600;
	line-height: 1.2;
	background: var(--cap);
	color: var(--ink);
	border: var(--edge) solid var(--graphite);
	border-radius: var(--key-radius);
	box-shadow:
		inset 0 -5px 0 0 rgb(29 33 41 / 0.05),
		0 var(--lift) 0 0 var(--cap-wall),
		0 var(--lift) 0 var(--edge) var(--graphite);
	margin: 0 0 calc(var(--wall) + var(--edge));
	animation: lift 7s ease-in-out 2s 3 both;
}
.solo .pulsador > p:nth-child(4) button {
	animation-delay: 2.4s;
}
.solo .pulsador > p:nth-child(5) button {
	animation-delay: 2.8s;
}
.solo .pulsador > p:nth-child(6) button {
	animation-delay: 3.2s;
}
/* the homing bar, raised on the chosen key */
.solo .pulsador button::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0.6rem;
	width: 1.8rem;
	height: 0.32rem;
	margin-left: -0.9rem;
	border-radius: 0.2rem;
	background: var(--graphite);
	opacity: 0;
}
.solo .pulsador button:hover {
	--cap: #fbfbfc;
}
.solo .pulsador button:focus-visible {
	--lift: calc(var(--wall) + 2px);
	transform: translateY(-2px);
	outline: 3px solid var(--apricot);
	outline-offset: 3px;
	box-shadow:
		0 var(--lift) 0 0 var(--cap-wall),
		0 var(--lift) 0 var(--edge) var(--graphite),
		0 0 0 8px var(--graphite);
	animation: none;
}
.solo .pulsador button:active,
.solo .pulsador button[aria-busy="true"] {
	--lift: calc(var(--wall) - var(--travel));
	transform: translateY(var(--travel));
	animation: none;
}
.solo .pulsador button[aria-busy="true"] {
	--cap: var(--apricot);
	--cap-wall: var(--apricot-wall);
	cursor: progress;
}
.solo .pulsador button[aria-busy="true"]::after {
	opacity: 1;
	animation: homing 1.4s ease-in-out infinite;
}
.solo .pulsador button:disabled {
	color: var(--ink);
	cursor: default;
}
.solo .pulsador [role="status"] {
	flex: 0 0 100%;
	min-height: 1.6em;
	margin: 0.9rem 0 0;
	font-family: var(--legend);
	font-weight: 500;
	font-size: 1rem;
	color: var(--ink);
}
@media (min-width: 56rem) {
	.solo .pulsador > p:has(> button) {
		flex: 1 1 0;
		padding: 1.1rem 0.5rem;
		border-inline: 0;
		border-block: var(--edge) solid var(--tray-rim);
		border-radius: 0;
	}
	.solo .pulsador > :is(legend, [id$="-description"]) + p:has(> button) {
		padding: 1.1rem 0.5rem 1.1rem 1.1rem;
		border-left: var(--edge) solid var(--tray-rim);
		border-radius: var(--tray-radius) 0 0 var(--tray-radius);
	}
	.solo .pulsador > p:has(> button):has(+ [role="status"]),
	.solo .pulsador > p:has(> button):last-child {
		padding: 1.1rem 1.1rem 1.1rem 0.5rem;
		border-right: var(--edge) solid var(--tray-rim);
		border-radius: 0 var(--tray-radius) var(--tray-radius) 0;
	}
	.solo .pulsador button {
		min-height: 7.5rem;
		font-size: 1.3rem;
	}
}

@keyframes lift {
	0%,
	88%,
	100% {
		transform: translateY(0);
	}
	93% {
		transform: translateY(-2px);
	}
}
@keyframes homing {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0.35;
	}
}

.solo__foot {
	padding-block: 0.9rem 1.2rem;
	border-top: 1px solid var(--alpha-wall);
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--muted);
}
.solo__foot p {
	margin: 0 0 0.3rem;
}
.solo__foot a {
	color: var(--ink);
}
.line-links {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.15rem 1rem;
}
.line-links a {
	display: inline-block;
	padding-block: 0.35rem;
}

/* ── An article, should one be published (default variant) ── */
.post-head {
	padding-block: clamp(2rem, 5vw, 3.2rem) 1.4rem;
}
.post-head .keycap {
	display: inline-flex;
	padding: 0.25rem 0.75rem 0.75rem 0.55rem;
	font-size: 0.9rem;
	margin-bottom: 1.2rem;
}
.post-head h1 {
	font-size: clamp(2.1rem, 1.3rem + 3.4vw, 3.6rem);
	font-weight: 700;
	letter-spacing: -0.02em;
	max-width: 22ch;
}
.post-head__excerpt {
	font-size: var(--s1);
	line-height: 1.45;
	max-width: 46ch;
	color: var(--muted);
}
.byline {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	font-size: 0.95rem;
}
.byline img {
	width: 2.4rem;
}
.byline strong {
	font-family: var(--legend);
	font-weight: 600;
}
.post-body {
	background: var(--white);
	border-top: var(--edge) solid var(--tray-rim);
	padding-block: 2rem 3rem;
}

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

@media (max-width: 30rem) {
	.deck__logo img {
		height: 38px;
	}
	.keys a {
		min-width: 0;
	}
}
