/* jinemi.com — the single hand-written stylesheet. No framework, no build step.
 *
 * Tokens live in the :root blocks below and are defined THREE times, for the
 * three states a reader can be in: no preference (bare :root, light), a dark
 * OS (@media, guarded so an explicit light choice still wins), and an explicit
 * choice (data-theme). Never paste a raw hex into a rule — every surface takes
 * its color from a token so both schemes keep working.
 *
 * COLOUR IS SET BY THE BRAND BOOK (draft v0.2, 2026-08-18): coral #ee6c4d,
 * ink #241d18, paper #faf6f0, night #1c1714.
 *
 * Two deliberate additions, both forced by measured contrast — the brand
 * values are kept exactly where they are legible and adjusted only where they
 * are not:
 *
 *   --brand-coral  is #ee6c4d in BOTH themes and never changes. It is the
 *                  mark's roof and the fill behind buttons. The brand rule is
 *                  "never recolor the roof", so nothing may re-derive it.
 *   --accent       is the TEXT-SAFE coral. Brand coral on paper measures
 *                  2.83:1 — it fails even the large-text floor — so small
 *                  coral text on light uses #b5432a (5.13:1). On night, brand
 *                  coral already measures 5.83:1 and is used as-is.
 *
 * --muted is likewise darkened on light only: the book's #8a7f75 measures
 * 3.63:1 on paper, under the 4.5:1 body-text floor. #6f6459 is the same warm
 * grey at 5.35:1. The dark-mode #a89b8f is the book's value, unchanged.
 *
 * THERMOGRAPH ORANGE (#f0803c) MUST NOT APPEAR HERE. The brand book calls it a
 * sibling, "never mixed with coral in one layout". The product is named in the
 * copy; its colour stays on its own site. */

:root {
	/* Light — paper and ink, per the brand book. */
	--paper: #faf6f0;
	--surface: #ffffff;
	--surface-2: #f2ece4;
	--border: #e7ddd2;
	--border-strong: #d3c4b4;
	--ink: #241d18;
	--muted: #6f6459;
	--brand-coral: #ee6c4d;
	--accent: #b5432a;
	--accent-ink: #241d18;
	--accent-wash: #fbe9e2;
	--inverse-bg: #1c1714;
	--inverse-ink: #faf6f0;
	--inverse-muted: #a89b8f;
	--inverse-border: #3a302a;
	/* On the band's ground, not the page's. Light theme: band is night, so
	 * brand coral is legible (5.83:1). Dark theme: band is paper, where brand
	 * coral fails at 2.83:1 and the darkened coral is used instead. */
	--inverse-accent: #ee6c4d;

	--measure: 62ch;
	--gutter: clamp(1.25rem, 4vw, 2.5rem);
	--rule: 1px solid var(--border);

	--step--2: 0.6875rem;
	--step--1: 0.8125rem;
	/* The gap between --step--1 (labels) and --step-0 (body) is too wide for
	 * secondary prose, which lands unreadably small at the label size. */
	--step--0: 0.9375rem;
	--step-0: 1.0625rem;
	--step-1: 1.1875rem;
	--step-2: 1.4375rem;
	--step-3: 1.875rem;
	--step-4: 2.5rem;

	--sans: "IBM Plex Sans", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
	--display: "Archivo", "IBM Plex Sans", ui-sans-serif, system-ui, sans-serif;
	--mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		--paper: #1c1714;
		--surface: #241d18;
		--surface-2: #2c2420;
		--border: #3a302a;
		--border-strong: #4f4239;
		--ink: #faf6f0;
		--muted: #a89b8f;
		--brand-coral: #ee6c4d;
		--accent: #ee6c4d;
		--accent-ink: #241d18;
		--accent-wash: #33221c;
		--inverse-bg: #faf6f0;
		--inverse-ink: #241d18;
		--inverse-muted: #6f6459;
		--inverse-border: #e7ddd2;
		--inverse-accent: #b5432a;
	}
}

:root[data-theme="dark"] {
	--paper: #1c1714;
	--surface: #241d18;
	--surface-2: #2c2420;
	--border: #3a302a;
	--border-strong: #4f4239;
	--ink: #faf6f0;
	--muted: #a89b8f;
	--brand-coral: #ee6c4d;
	--accent: #ee6c4d;
	--accent-ink: #241d18;
	--accent-wash: #33221c;
	--inverse-bg: #faf6f0;
	--inverse-ink: #241d18;
	--inverse-muted: #6f6459;
	--inverse-border: #e7ddd2;
	--inverse-accent: #b5432a;
}

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

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

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: var(--sans);
	font-size: var(--step-0);
	line-height: 1.55;
	font-synthesis-weight: none;
}

h1,
h2,
h3 {
	font-family: var(--display);
	font-weight: 700;
	font-variation-settings: "wdth" 116;
	letter-spacing: -0.022em;
	line-height: 1.05;
	text-wrap: balance;
	margin: 0;
}

p {
	margin: 0;
	max-width: var(--measure);
}

a {
	color: inherit;
}

/* Focus must stay visible on both grounds — it takes the accent, which is
 * token-defined in each scheme. */
:focus-visible {
	outline: 2px solid var(--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---- shared furniture ---------------------------------------------------- */

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

/* Eyebrows are mono and letterspaced — the page's utility voice. They name the
 * section; they are not decoration. */
.eyebrow {
	font-family: var(--mono);
	font-size: var(--step--2);
	font-weight: 500;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
	margin: 0;
}

.section {
	padding-block: clamp(3.5rem, 8vw, 6rem);
	border-top: var(--rule);
}

.section__head {
	display: flex;
	flex-direction: column;
	gap: 0.9rem;
	margin-bottom: 2.75rem;
}

.section__head h2 {
	font-size: var(--step-3);
}

.lede {
	color: var(--muted);
	font-size: var(--step-1);
	max-width: 56ch;
}

/* ---- header -------------------------------------------------------------- */

.masthead {
	position: sticky;
	top: 0;
	z-index: 10;
	background: color-mix(in oklab, var(--paper) 88%, transparent);
	backdrop-filter: saturate(1.4) blur(10px);
	border-bottom: var(--rule);
}

.masthead__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	min-height: 64px;
	flex-wrap: wrap;
	padding-block: 0.6rem;
}

/* The mark is "Jieut, open" — the Hangul ㅈ, whose legs echo 人 (people) and
 * whose coral bar is the roof over them. Brand rules that this CSS enforces:
 * one roof-thickness of clear space on all sides (the roof is 24 units in a
 * 140-unit box, so ~17% — the gap below exceeds it at every size); minimum
 * 16px; never rotate, stretch, close the seam, recolor the roof, or add
 * elements. Legs and wordmark take currentColor so the mark sits correctly on
 * paper and on night, which are its only two permitted grounds. */
.wordmark {
	display: inline-flex;
	align-items: center;
	gap: 0.62rem;
	color: var(--ink);
	text-decoration: none;
	/* One roof-thickness of clear space, kept even when a neighbour crowds in. */
	padding: 0.3rem 0.35rem;
	margin-inline-start: -0.35rem;
}

.mark {
	width: 30px;
	height: 30px;
	flex: none;
	overflow: visible;
}

.mark__leg {
	fill: none;
	stroke: currentColor;
	stroke-width: 24;
	stroke-linecap: round;
}

/* Never re-derived from --accent: the roof is brand coral on both grounds. */
.mark__roof {
	fill: none;
	stroke: var(--brand-coral);
	stroke-width: 24;
	stroke-linecap: round;
}

.wordmark__type {
	height: 20px;
	width: auto;
	flex: none;
}

.wordmark__type .wm-stroke {
	fill: none;
	stroke: currentColor;
	stroke-width: 28;
	stroke-linecap: round;
}

.wordmark__type .wm-dot {
	fill: currentColor;
}

.nav {
	display: flex;
	align-items: center;
	gap: clamp(1rem, 2.5vw, 2rem);
	font-family: var(--mono);
	font-size: var(--step--1);
	letter-spacing: 0.02em;
}

.nav a {
	text-decoration: none;
	color: var(--muted);
	padding-block: 0.35rem;
	border-bottom: 1px solid transparent;
	transition: color 0.15s ease, border-color 0.15s ease;
}

.nav a:hover {
	color: var(--ink);
	border-bottom-color: var(--brand-coral);
}

.nav a.nav__cta {
	color: var(--ink);
	border-bottom-color: var(--brand-coral);
}

/* On a phone the section links wrap to a second row, and a sticky header two
 * rows tall costs ~15% of the viewport. Drop them and keep the one action that
 * matters; the sections are still reachable by scrolling a single page. */
@media (max-width: 719px) {
	.nav a:not(.nav__cta) {
		display: none;
	}
}

/* ---- hero ---------------------------------------------------------------- */

.hero {
	padding-block: clamp(3.5rem, 9vw, 7rem) clamp(3rem, 7vw, 5.5rem);
}

/* One column. The hero used to carry a dev/main/release readout beside the
 * headline — accurate, and completely opaque to a first-time reader, which is
 * the opposite of what the first screen is for. It became the delivery
 * timeline further down the page. */
.hero__lede {
	max-width: 46rem;
}

/* The headline now names the offering rather than making a claim, so it is
 * longer and takes a smaller top end — at the old 4rem it ran to four lines
 * and stopped being scannable, which defeats the point of leading with it. */
.hero h1 {
	font-size: clamp(1.95rem, 4.4vw, 3rem);
	font-variation-settings: "wdth" 112;
	margin-block: 1.4rem 1.5rem;
}

.hero__sub {
	font-size: var(--step-1);
	color: var(--muted);
	max-width: 58ch;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin-top: 2.25rem;
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--mono);
	font-size: var(--step--1);
	font-weight: 500;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	text-decoration: none;
	padding: 0.8rem 1.25rem;
	border: 1px solid var(--brand-coral);
	transition: background 0.15s ease, color 0.15s ease;
}

/* Fill and border are BRAND coral, not --accent. --accent is the darkened
 * text-safe coral for small type on paper; using it as a fill renders the
 * primary call to action a muddy maroon. Ink on brand coral is 5.45:1. */
.btn--solid {
	background: var(--brand-coral);
	color: var(--accent-ink);
}

.btn--solid:hover {
	background: transparent;
	color: var(--ink);
}

.btn--ghost {
	border-color: var(--border-strong);
	color: var(--ink);
}

.btn--ghost:hover {
	border-color: var(--accent);
	background: var(--accent-wash);
}

/* ---- the readout plate --------------------------------------------------- */

/* An operator's status plate. Everything in it is a real property of the
 * estate we run — it is evidence, not chrome. */
.plate {
	border: 1px solid var(--border-strong);
	background: var(--surface);
	font-family: var(--mono);
	font-size: var(--step--1);
}

.plate__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.7rem 1rem;
	border-bottom: 1px solid var(--border-strong);
	background: var(--surface-2);
	font-size: var(--step--2);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.plate__live {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	color: var(--accent);
}

.plate__led {
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--brand-coral);
}

.plate__body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 1.15rem;
}

.chain {
	width: 100%;
	border-collapse: collapse;
	font-variant-numeric: tabular-nums;
	text-align: left;
	font-size: var(--step--2);
}

.chain__cap {
	text-align: left;
	padding-bottom: 0.7rem;
	font-size: var(--step--2);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--muted);
}

.chain th,
.chain td {
	padding: 0.45rem 0.85rem 0.45rem 0;
	border-bottom: 1px dotted var(--border);
	vertical-align: baseline;
	white-space: nowrap;
}

.chain td:last-child,
.chain th:last-child {
	padding-right: 0;
}

.chain tbody tr:last-child th,
.chain tbody tr:last-child td {
	border-bottom: 0;
}

/* Row labels — the utility voice, same as .eyebrow. */
.chain tbody th {
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	width: 1%;
	padding-right: 1.1rem;
}

/* Column heads are the branch names: the thing the chain is *of*. */
.chain thead th {
	font-weight: 500;
	color: var(--ink);
	font-size: var(--step--1);
	border-bottom: 1px solid var(--border-strong);
	padding-bottom: 0.5rem;
}

/* The arrow carries the progression, so it sits between the stages rather
 * than being drawn as a separate graphic. */
.chain thead th.has-arrow::before {
	content: "→";
	color: var(--muted);
	margin-right: 0.5rem;
}

.chain td {
	color: var(--ink);
}

.chain .is-dim {
	color: var(--muted);
}

.chain .is-accent {
	color: var(--accent);
}

.plate__scroll {
	overflow-x: auto;
}

.facts {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	border-top: 1px solid var(--border);
	padding-top: 1rem;
	margin: 0;
}

.facts div {
	display: flex;
	justify-content: space-between;
	gap: 1.5rem;
}

.facts dt {
	color: var(--muted);
	font-size: var(--step--2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.facts dd {
	margin: 0;
	text-align: right;
	font-variant-numeric: tabular-nums;
}

/* ---- services grid ------------------------------------------------------- */

/* Hairline plate grid, not floating cards: the cells share rules the way a
 * datasheet's do. */
.grid {
	display: grid;
	gap: 1px;
	background: var(--border);
	border: 1px solid var(--border);
}

@media (min-width: 720px) {
	.grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 1050px) {
	.grid--three {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.cell {
	background: var(--surface);
	padding: clamp(1.4rem, 2.6vw, 2rem);
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

/* Seven services do not fill a three-column grid, and the grid draws its
 * hairlines as a 1px gap over a border-coloured background — so an empty slot
 * is not blank, it is a solid block of border colour. The last cell spans the
 * row instead, which reads as a deliberate closing row rather than a gap.
 *
 * This is keyed to the COUNT being odd. Add an eighth service and the span
 * becomes wrong: move the class, or drop it if the grid fills evenly. */
.cell--wide {
	grid-column: 1 / -1;
}

.cell h3 {
	font-size: var(--step-2);
	font-variation-settings: "wdth" 110;
}

.cell p {
	color: var(--muted);
	font-size: var(--step-0);
}

.cell__tag {
	font-family: var(--mono);
	font-size: var(--step--2);
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--accent);
}

/* ---- inverted band (the platform package) -------------------------------- */

.band {
	background: var(--inverse-bg);
	color: var(--inverse-ink);
	border-top: var(--rule);
}

.band .eyebrow,
.band .lede {
	color: var(--inverse-muted);
}

/* The band draws its own top edge, so its inner .section must not add one.
 * This was an inline style until the production CSP (script-src 'none',
 * no 'unsafe-inline') silently refused to apply it — locally, served without
 * the CSP, it worked, so the page rendered differently in production than in
 * any local check. */
.section--flush {
	border-top: 0;
}

/* Second and subsequent paragraphs in a lede stack. Also formerly inline. */
.lede + .lede {
	margin-top: 1.1rem;
}

/* The package section builds its head from bare siblings rather than
 * .section__head, so it has to restate that component's spacing — it lost the
 * margins when the band treatment moved to Services. */
.split h2 {
	font-size: var(--step-3);
	margin-top: 0.9rem;
	margin-bottom: 1.3rem;
}

.split {
	display: grid;
	gap: clamp(2.25rem, 5vw, 3.5rem);
	align-items: start;
}

@media (min-width: 950px) {
	.split {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

/* Everything inside the band takes its colour from the --inverse-* set, because
 * the band's ground is the opposite of the page's and flips with the theme.
 * A child styled from the normal tokens renders one theme's text on the
 * other's ground — the exact bug the three-block token system exists to stop. */
.band .grid {
	background: var(--inverse-border);
	border-color: var(--inverse-border);
}

.band .cell {
	background: var(--inverse-bg);
}

.band .cell h3 {
	color: var(--inverse-ink);
}

.band .cell p {
	color: var(--inverse-muted);
}

/* Three classes, deliberately. `.cell__tag` is itself a <p>, so `.band .cell p`
 * above (0,2,1) outranks a two-class selector and the tag silently rendered as
 * muted body text instead of coral. */
.band .cell .cell__tag {
	color: var(--inverse-accent);
}

.stack-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	border-top: var(--rule);
}

.stack-list li {
	display: grid;
	grid-template-columns: minmax(0, 8.5rem) minmax(0, 1fr);
	gap: 0.5rem 1.25rem;
	padding: 0.8rem 0;
	border-bottom: var(--rule);
	font-size: var(--step--0);
}

.stack-list b {
	font-family: var(--mono);
	font-weight: 500;
	font-size: var(--step--2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
	padding-top: 0.15rem;
}

.stack-list span {
	color: var(--ink);
}

/* ---- explainer ----------------------------------------------------------- */

.explain__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 3.5rem);
	align-items: start;
}

@media (min-width: 900px) {
	.explain__grid {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}
}

.explain__body p {
	color: var(--muted);
}

.explain__body p + p {
	margin-top: 1rem;
}

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

.inline-link {
	color: var(--accent);
	text-decoration: none;
	border-bottom: 1px solid var(--brand-coral);
}

.inline-link:hover {
	color: var(--ink);
}

.eyebrow--spaced {
	margin-bottom: 1rem;
}

/* Numbered because this IS a sequence — one call, in the order it happens.
 * The numerals carry information; they are not ornament. */
.stages {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: stage;
	border-top: var(--rule);
}

.stages li {
	display: grid;
	grid-template-columns: 2.1rem minmax(0, 1fr);
	gap: 0.85rem;
	padding: 0.85rem 0;
	border-bottom: var(--rule);
	font-size: var(--step--0);
	color: var(--muted);
	line-height: 1.55;
}

.stages li::before {
	counter-increment: stage;
	content: counter(stage, decimal-leading-zero);
	font-family: var(--mono);
	font-size: var(--step--2);
	letter-spacing: 0.1em;
	color: var(--accent);
	padding-top: 0.2rem;
}

.stages b {
	display: block;
	color: var(--ink);
	font-weight: 600;
	font-size: var(--step-0);
	margin-bottom: 0.15rem;
}

/* ---- work / proof -------------------------------------------------------- */

.work {
	display: flex;
	flex-direction: column;
	border-top: var(--rule);
}

.work__item {
	display: grid;
	gap: 0.75rem 2.5rem;
	padding-block: clamp(1.75rem, 3.5vw, 2.5rem);
	border-bottom: var(--rule);
	align-items: start;
}

@media (min-width: 860px) {
	.work__item {
		grid-template-columns: minmax(0, 15rem) minmax(0, 1fr);
	}
}

.work__name {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
}

.work__name h3 {
	font-size: var(--step-2);
	font-variation-settings: "wdth" 112;
}

.work__meta {
	font-family: var(--mono);
	font-size: var(--step--2);
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--muted);
}

.work__body p + p {
	margin-top: 0.85rem;
}

.work__body p {
	color: var(--muted);
}

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

/* ---- delivery timeline --------------------------------------------------- */

/* A real sequence, so it is numbered and ordered. Horizontal on desktop so the
 * whole engagement is legible at a glance; stacked below that, where five
 * columns would be four words wide. */
.timeline {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1.75rem;
	counter-reset: step;
}

@media (min-width: 900px) {
	.timeline {
		grid-template-columns: repeat(5, minmax(0, 1fr));
		gap: 0;
	}
}

.timeline li {
	position: relative;
	border-top: 2px solid var(--border);
	padding-top: 1.5rem;
	padding-right: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
}

/* The dot sits ON the rule, which is what makes the row read as a timeline
 * rather than as five stacked cards. */
.timeline li::before {
	counter-increment: step;
	content: "";
	position: absolute;
	top: -6px;
	left: 0;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--brand-coral);
}

.timeline b {
	font-family: var(--display);
	font-variation-settings: "wdth" 108;
	font-weight: 700;
	font-size: var(--step-1);
	letter-spacing: -0.01em;
	color: var(--ink);
}

.timeline span {
	color: var(--muted);
	font-size: var(--step--0);
	line-height: 1.55;
}

/* ---- principles ---------------------------------------------------------- */

.principles {
	display: grid;
	gap: 2rem clamp(2rem, 4vw, 3.5rem);
	counter-reset: none;
}

@media (min-width: 760px) {
	.principles {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.principle {
	display: flex;
	flex-direction: column;
	gap: 0.6rem;
	padding-top: 1.1rem;
	border-top: 2px solid var(--brand-coral);
}

.principle h3 {
	font-size: var(--step-1);
	font-variation-settings: "wdth" 108;
	letter-spacing: -0.01em;
}

.principle p {
	color: var(--muted);
	font-size: var(--step--0);
	line-height: 1.6;
}

/* ---- notice -------------------------------------------------------------- */

/* A standing clarification rather than an alert, so it takes the coral rule the
 * brand book uses for emphasis and not a warning colour — there is nothing
 * wrong here, it is simply a thing people ask. */
.notice {
	border-left: 3px solid var(--brand-coral);
	background: var(--surface);
	border-top: var(--rule);
	border-right: var(--rule);
	border-bottom: var(--rule);
	padding: clamp(1.1rem, 2.5vw, 1.5rem);
}

.notice p {
	color: var(--muted);
	font-size: var(--step--0);
	line-height: 1.6;
	max-width: none;
}

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

.notice__plain {
	font-family: var(--mono);
	font-size: 0.95em;
	color: var(--ink);
}

/* ---- contact ------------------------------------------------------------- */

.contact__grid {
	display: grid;
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

@media (min-width: 860px) {
	.contact__grid {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
	}
}

.contact h2 {
	font-size: var(--step-4);
	font-variation-settings: "wdth" 110;
	margin-bottom: 1.25rem;
}

.contact__mail {
	font-family: var(--mono);
	font-size: clamp(1.05rem, 2.6vw, 1.45rem);
	text-decoration: none;
	border-bottom: 2px solid var(--brand-coral);
	padding-bottom: 0.15rem;
	display: inline-block;
	margin-top: 1.75rem;
	word-break: break-all;
}

.contact__mail:hover {
	color: var(--accent);
}

.qualify {
	border: 1px solid var(--border);
	background: var(--surface);
	padding: clamp(1.4rem, 3vw, 1.9rem);
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.qualify ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	font-size: var(--step--0);
	color: var(--muted);
}

.qualify li {
	display: grid;
	grid-template-columns: 1.1rem 1fr;
	gap: 0.7rem;
	align-items: start;
}

.qualify li::before {
	content: "—";
	color: var(--accent);
	font-family: var(--mono);
}

/* ---- footer -------------------------------------------------------------- */

.foot {
	border-top: var(--rule);
	padding-block: 2.5rem 3.5rem;
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 2rem;
	justify-content: space-between;
	align-items: baseline;
	font-family: var(--mono);
	font-size: var(--step--2);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--muted);
}

.foot a {
	color: var(--muted);
	text-decoration: none;
	border-bottom: 1px solid transparent;
}

.foot a:hover {
	color: var(--ink);
	border-bottom-color: var(--accent);
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
