/* Naturalmente · Aceite de Oliva de España — base design system.
   Palette «Piedra y oro» (owner-approved 2026-10-01). */

@font-face { font-family: "AOE Cardo"; src: url("../fonts/cardo-normal-400.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "AOE Cardo"; src: url("../fonts/cardo-italic-400.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "AOE Cardo"; src: url("../fonts/cardo-normal-700.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "AOE Instrument Sans"; src: url("../fonts/instrument-sans.woff2") format("woff2"); font-weight: 400 700; font-style: normal; font-display: swap; }

@layer reset, tokens, base, layout, components, utilities;

@layer tokens {
	:root {
		--stone: #f2f0ec;
		--stone-2: #e9e6e0;
		--paper: #faf9f6;
		--white: #fff;
		--ink: #141414;
		--ink-2: #2b2a28;
		--graphite: #6b6862; /* AA on stone for body copy (5.0:1) */
		--graphite-soft: #7d7a73;
		--gold: #b08d57;
		--gold-ink: #7a5f33; /* AA on stone and paper (5.6:1) */
		--gold-soft: #e9dcc6;
		--leaf: #6e7f5e;
		--leaf-ink: #4f5d42;
		--leaf-soft: #e4e8dc;
		--line: #dedad3;
		--line-strong: #cbc5ba;
		--danger: #9b2c1f;
		--ok: #3f6b3a;

		--font-serif: "AOE Cardo", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
		--font-sans: "AOE Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

		--step--1: clamp(.82rem, .8rem + .1vw, .88rem);
		--step-0: clamp(1rem, .97rem + .15vw, 1.08rem);
		--step-1: clamp(1.18rem, 1.1rem + .35vw, 1.38rem);
		--step-2: clamp(1.45rem, 1.3rem + .7vw, 1.9rem);
		--step-3: clamp(1.85rem, 1.55rem + 1.4vw, 2.75rem);
		--step-4: clamp(2.35rem, 1.8rem + 2.6vw, 4rem);
		--step-5: clamp(2.8rem, 2rem + 3.8vw, 5.4rem);

		--space-1: .25rem; --space-2: .5rem; --space-3: .75rem; --space-4: 1rem; --space-5: 1.5rem;
		--space-6: 2rem; --space-7: 3rem; --space-8: 4.5rem; --space-9: clamp(4rem, 3rem + 5vw, 8rem);

		--radius-s: 8px;
		--radius: 14px;
		--radius-l: 22px;
		--radius-pill: 999px;
		--shadow-1: 0 1px 2px rgb(20 20 20 / .04), 0 2px 8px rgb(20 20 20 / .04);
		--shadow-2: 0 2px 6px rgb(20 20 20 / .05), 0 18px 40px -18px rgb(20 20 20 / .18);
		--ease: cubic-bezier(.22, .61, .36, 1);
		--container: 1280px;
		--gutter: clamp(16px, 4vw, 40px);
		--header-h: 88px;
	}
}

@layer reset {
	*, *::before, *::after { box-sizing: border-box; }
	* { margin: 0; }
	html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
	body { min-height: 100vh; line-height: 1.6; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
	img, picture, svg, video { display: block; max-width: 100%; height: auto; }
	input, button, textarea, select { font: inherit; color: inherit; }
	button { cursor: pointer; background: none; border: 0; padding: 0; }
	p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
	ul[class], ol[class] { list-style: none; padding: 0; }
	a { color: inherit; }
	table { border-collapse: collapse; width: 100%; }
	@media (prefers-reduced-motion: reduce) {
		html { scroll-behavior: auto; }
		*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
	}
}

@layer base {
	body {
		font-family: var(--font-sans);
		font-size: var(--step-0);
		color: var(--ink);
		background: var(--stone);
		overflow-x: hidden;
	}
	h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; color: var(--ink); }
	h1 { font-size: var(--step-4); }
	h2 { font-size: var(--step-3); }
	h3 { font-size: var(--step-2); }
	h4 { font-size: var(--step-1); }
	em { font-style: italic; }
	h1 em, h2 em, h3 em { color: var(--gold-ink); }
	a { text-decoration-thickness: 1px; text-underline-offset: .2em; transition: color .2s var(--ease); }
	a:hover { color: var(--gold-ink); }
	:focus-visible { outline: 2px solid var(--gold-ink); outline-offset: 3px; border-radius: 4px; }
	::selection { background: var(--gold-soft); color: var(--ink); }
	hr { border: 0; border-top: 1px solid var(--line); margin: var(--space-6) 0; }
	small { font-size: var(--step--1); }
	strong, b { font-weight: 600; }
	.screen-reader-text, .sr-only {
		position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; border: 0; padding: 0; margin: -1px;
	}
	.skip-link:focus { position: fixed; top: 12px; left: 12px; z-index: 1000; width: auto; height: auto; clip: auto; margin: 0; padding: .75rem 1rem; background: var(--ink); color: var(--white); border-radius: var(--radius-s); }
}

@layer layout {
	.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
	.container--narrow { width: min(100% - 2 * var(--gutter), 780px); margin-inline: auto; }
	.section { padding-block: var(--space-9); }
	.section--tight { padding-block: var(--space-8); }
	.section--paper { background: var(--paper); }
	.section--ink { background: var(--ink); color: var(--stone); }
	.section--ink h2, .section--ink h3 { color: var(--white); }
	.section--ink h2 em, .section--ink h3 em { color: var(--gold); }
	.site-main { min-height: 50vh; }
	.grid { display: grid; gap: var(--space-6); }
	.cluster { display: flex; flex-wrap: wrap; gap: var(--space-3); align-items: center; }
	.stack > * + * { margin-top: var(--space-4); }
}

@layer components {
	/* ---------- Eyebrow, headings ---------- */
	.eyebrow {
		font-family: var(--font-sans); font-size: var(--step--1); font-weight: 600; letter-spacing: .16em; text-transform: uppercase;
		color: var(--gold-ink); display: inline-flex; align-items: center; gap: .6em;
	}
	.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
	.section--ink .eyebrow { color: var(--gold); }
	.section-head { max-width: 760px; margin-bottom: var(--space-7); }
	.section-head.is-center { margin-inline: auto; text-align: center; }
	.section-head.is-center .eyebrow { justify-content: center; }
	.section-title { margin-top: var(--space-3); }
	.section-lead { margin-top: var(--space-4); color: var(--graphite); font-size: var(--step-1); line-height: 1.55; }
	.section--ink .section-lead { color: #c9c4ba; }
	.divider { display: flex; align-items: center; gap: var(--space-4); color: var(--gold); margin-block: var(--space-6); }
	.divider span { flex: 1; height: 1px; background: var(--line); }

	/* ---------- Buttons ---------- */
	.btn, .button, button.button, a.button, input[type="submit"].button {
		--btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink);
		display: inline-flex; align-items: center; justify-content: center; gap: .55em;
		min-height: 48px; padding: .8em 1.5em; border-radius: var(--radius-pill);
		border: 1px solid var(--btn-bd); background: var(--btn-bg); color: var(--btn-fg);
		font-family: var(--font-sans); font-size: .95rem; font-weight: 600; letter-spacing: .01em; line-height: 1.1;
		text-decoration: none; cursor: pointer; white-space: nowrap;
		transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .2s var(--ease);
	}
	.btn:hover, .button:hover { --btn-bg: var(--gold); --btn-bd: var(--gold); --btn-fg: var(--ink); color: var(--btn-fg); }
	.btn:active, .button:active { transform: translateY(1px); }
	.btn .icon { transition: transform .25s var(--ease); }
	.btn:hover .icon-arrow { transform: translateX(3px); }
	.btn--ghost { --btn-bg: transparent; --btn-fg: var(--ink); --btn-bd: var(--line-strong); }
	.btn--ghost:hover { --btn-bg: var(--ink); --btn-fg: var(--white); --btn-bd: var(--ink); }
	.btn--light { --btn-bg: var(--stone); --btn-fg: var(--ink); --btn-bd: var(--stone); }
	.btn--small { min-height: 40px; padding: .6em 1.1em; font-size: .88rem; }
	.btn--block { width: 100%; }
	.btn[disabled], .button.disabled, .button:disabled { opacity: .45; pointer-events: none; }
	.link-arrow { display: inline-flex; align-items: center; gap: .45em; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; }
	.link-arrow:hover { border-color: var(--gold-ink); }
	.icon-btn {
		display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: var(--radius-pill);
		color: var(--ink); position: relative; transition: background-color .2s var(--ease);
	}
	.icon-btn:hover { background: var(--stone-2); color: var(--ink); }

	/* ---------- Badges / seals ---------- */
	.seal {
		display: inline-flex; align-items: center; gap: .4em; padding: .32em .7em; border-radius: var(--radius-pill);
		font-size: .74rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; line-height: 1.2;
		background: var(--white); color: var(--ink-2); border: 1px solid var(--line);
	}
	.seal .icon { width: 14px; height: 14px; }
	.seal--eco { background: var(--leaf-soft); color: var(--leaf-ink); border-color: transparent; }
	.seal--gold { background: var(--gold-soft); color: var(--gold-ink); border-color: transparent; }
	.seal--ink { background: var(--ink); color: var(--white); border-color: var(--ink); }

	/* ---------- Top bar & header ---------- */
	.topbar { background: var(--ink); color: #d9d4ca; font-size: .8rem; letter-spacing: .02em; }
	.topbar .container { display: flex; justify-content: center; align-items: center; gap: .6em; min-height: 36px; text-align: center; padding-block: 6px; }
	.topbar span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
	.topbar .icon { color: var(--gold); flex: none; }
	.site-header {
		position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--stone) 88%, transparent);
		backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px);
		border-bottom: 1px solid transparent; transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
	}
	.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 24px -18px rgb(0 0 0 / .25); }
	.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: var(--space-5); min-height: var(--header-h); }
	.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; color: var(--ink); }
	.brand:hover { color: var(--ink); }
	.brand-mark { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--gold); color: var(--gold-ink); }
	.brand-text { display: grid; line-height: 1; }
	.brand-kicker { font-family: var(--font-serif); font-style: italic; font-size: .95rem; color: var(--gold-ink); }
	.brand-name { font-family: var(--font-serif); font-size: 1.32rem; letter-spacing: .01em; margin-top: 2px; }
	.brand-logo { max-height: 52px; width: auto; }
	.primary-nav { justify-self: center; }
	.primary-nav .nav-list, .primary-nav ul { display: flex; gap: clamp(.9rem, 1.8vw, 2rem); }
	.primary-nav a {
		position: relative; font-size: .93rem; font-weight: 500; text-decoration: none; padding: .5rem 0; color: var(--ink-2);
	}
	.primary-nav a::after {
		content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--gold);
		transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease);
	}
	.primary-nav a:hover::after, .primary-nav a[aria-current="page"]::after, .primary-nav .current-menu-item > a::after { transform: scaleX(1); }
	.header-actions { display: flex; align-items: center; gap: 2px; }
	.cart-count {
		position: absolute; top: 4px; right: 2px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px;
		background: var(--gold); color: var(--ink); font-size: .68rem; font-weight: 700; display: grid; place-items: center; line-height: 1;
	}
	.cart-count[hidden] { display: none; }
	.menu-toggle { display: none; }
	@media (max-width: 1024px) {
		.primary-nav { display: none; }
		.menu-toggle { display: inline-grid; margin-left: -10px; }
		.header-inner { grid-template-columns: minmax(0, 1fr) auto; gap: var(--space-3); }
		.header-inner > .cluster { flex-wrap: nowrap; gap: var(--space-2); min-width: 0; }
		.brand { justify-self: start; min-width: 0; }
	}
	@media (max-width: 480px) {
		.brand-mark { display: none; }
		.brand-kicker { font-size: .82rem; }
		.brand-name { font-size: 1.12rem; }
		.header-actions .hide-xs { display: none; }
	}

	/* ---------- Search overlay ---------- */
	.search-panel { border-top: 1px solid var(--line); background: var(--paper); }
	.search-panel[hidden] { display: none; }
	.search-form { display: flex; gap: var(--space-3); padding-block: var(--space-5); }
	.search-form input[type="search"] { flex: 1; }

	/* ---------- Drawers (menu + mini cart) ---------- */
	.drawer { position: fixed; inset: 0; z-index: 100; visibility: hidden; }
	.drawer.is-open { visibility: visible; }
	.drawer-backdrop { position: absolute; inset: 0; background: rgb(20 20 20 / .42); opacity: 0; transition: opacity .3s var(--ease); }
	.drawer.is-open .drawer-backdrop { opacity: 1; }
	.drawer-panel {
		position: absolute; top: 0; bottom: 0; width: min(420px, 92vw); background: var(--paper); display: flex; flex-direction: column;
		transition: transform .38s var(--ease); box-shadow: var(--shadow-2);
	}
	.drawer--right .drawer-panel { right: 0; transform: translateX(100%); }
	.drawer--left .drawer-panel { left: 0; transform: translateX(-100%); }
	.drawer.is-open .drawer-panel { transform: none; }
	.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: var(--space-4) var(--space-5); border-bottom: 1px solid var(--line); }
	.drawer-head h2 { font-size: var(--step-2); }
	.drawer-body { flex: 1; overflow-y: auto; padding: var(--space-5); overscroll-behavior: contain; }
	.drawer-foot { padding: var(--space-5); border-top: 1px solid var(--line); display: grid; gap: var(--space-3); background: var(--white); }
	.mobile-nav ul { display: grid; gap: 0; }
	.mobile-nav a { display: flex; justify-content: space-between; align-items: center; padding: 1rem 0; border-bottom: 1px solid var(--line); text-decoration: none; font-family: var(--font-serif); font-size: 1.45rem; }
	.mobile-nav .mobile-meta { margin-top: var(--space-6); display: grid; gap: var(--space-3); font-size: .95rem; color: var(--graphite); }
	.mobile-nav .mobile-meta a { font-family: var(--font-sans); font-size: .95rem; border: 0; padding: 0; justify-content: flex-start; gap: .5rem; }

	.mini-cart-items { display: grid; gap: var(--space-4); }
	.mini-item { display: grid; grid-template-columns: 72px 1fr auto; gap: var(--space-3); align-items: start; }
	.mini-item img { width: 72px; height: 72px; object-fit: contain; background: var(--white); border-radius: var(--radius-s); border: 1px solid var(--line); }
	.mini-item-name { font-weight: 600; font-size: .92rem; line-height: 1.3; text-decoration: none; }
	.mini-item-meta { font-size: .8rem; color: var(--graphite); margin-top: 2px; }
	.mini-item-price { font-weight: 600; font-size: .92rem; white-space: nowrap; }
	.mini-item-remove { font-size: .78rem; color: var(--graphite); text-decoration: underline; margin-top: 4px; }
	.mini-total { display: flex; justify-content: space-between; font-size: 1.05rem; }
	.mini-total strong { font-size: 1.2rem; }
	.mini-note { font-size: .8rem; color: var(--graphite); }
	.mini-empty { text-align: center; padding: var(--space-7) 0; color: var(--graphite); display: grid; gap: var(--space-4); justify-items: center; }

	/* ---------- Toast ---------- */
	.toast {
		position: fixed; left: 50%; bottom: 24px; z-index: 120; transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
		background: var(--ink); color: var(--white); padding: .85rem 1.2rem; border-radius: var(--radius-pill); font-size: .92rem;
		display: flex; gap: .6rem; align-items: center; box-shadow: var(--shadow-2); transition: opacity .3s var(--ease), transform .3s var(--ease);
	}
	.toast.is-visible { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
	.toast .icon { color: var(--gold); }
	.toast a { color: var(--gold); font-weight: 600; }

	/* ---------- Forms (base) ---------- */
	input[type="text"], input[type="email"], input[type="tel"], input[type="password"], input[type="search"], input[type="number"], input[type="url"], textarea, select {
		width: 100%; min-height: 48px; padding: .7em 1em; border: 1px solid var(--line-strong); border-radius: var(--radius-s);
		background: var(--white); color: var(--ink); font-size: 1rem; transition: border-color .2s var(--ease), box-shadow .2s var(--ease);
	}
	textarea { min-height: 140px; resize: vertical; }
	input:focus, textarea:focus, select:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px var(--gold-soft); }
	label { font-size: .9rem; font-weight: 500; }
	select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%23141414' stroke-width='1.5'%3E%3Cpath d='m1 1.5 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1em center; padding-right: 2.5em; }

	/* ---------- Breadcrumbs ---------- */
	.crumbs { font-size: .82rem; color: var(--graphite); padding-block: var(--space-4); }
	.crumbs a { text-decoration: none; color: var(--graphite); }
	.crumbs a:hover { color: var(--ink); }
	.crumbs .separator { margin-inline: .35em; }

	/* ---------- Trust strip ---------- */
	.trust { display: grid; grid-template-columns: repeat(4, 1fr); border-block: 1px solid var(--line); }
	.trust-item { display: flex; gap: .8rem; align-items: center; padding: var(--space-5) var(--space-4); }
	.trust-item + .trust-item { border-left: 1px solid var(--line); }
	.trust-item .icon { color: var(--gold-ink); flex: none; }
	.trust-item strong { display: block; font-size: .92rem; }
	.trust-item span { font-size: .82rem; color: var(--graphite); }
	@media (max-width: 900px) {
		.trust { grid-template-columns: repeat(2, 1fr); }
		.trust-item:nth-child(3) { border-left: 0; }
		.trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
	}
	@media (max-width: 480px) { .trust-item { padding: var(--space-4) var(--space-2); gap: .55rem; } .trust-item span { display: none; } }

	/* ---------- Footer ---------- */
	.site-footer { background: var(--ink); color: #c9c4ba; padding-top: var(--space-8); font-size: .92rem; }
	.site-footer a { color: #e7e2d8; text-decoration: none; }
	.site-footer a:hover { color: var(--gold); }
	.footer-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--space-7); padding-bottom: var(--space-8); border-bottom: 1px solid #2f2d2a; }
	.footer-brand .brand { color: var(--white); }
	.footer-brand .brand-mark { border-color: var(--gold); color: var(--gold); }
	.footer-brand .brand-kicker { color: var(--gold); }
	.footer-claim { font-family: var(--font-serif); font-size: var(--step-2); line-height: 1.2; color: var(--white); margin-top: var(--space-5); max-width: 22ch; }
	.footer-claim em { color: var(--gold); }
	.footer-col h2 { font-family: var(--font-sans); font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin-bottom: var(--space-4); }
	.footer-col .link-list { display: grid; gap: .6rem; }
	.footer-contact { display: grid; gap: .7rem; font-style: normal; }
	.footer-contact a, .footer-contact p { display: flex; gap: .6rem; align-items: flex-start; }
	.footer-contact .icon { color: var(--gold); flex: none; margin-top: 2px; }
	.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); padding-block: var(--space-5); font-size: .8rem; color: #9b968c; }
	.footer-bottom .link-list { display: flex; flex-wrap: wrap; gap: .4rem 1.2rem; }
	.footer-bottom a { color: #b9b4aa; }
	.pay-badges { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: var(--space-5); }
	.pay-badges li { border: 1px solid #3a3835; border-radius: 6px; padding: .3em .6em; font-size: .72rem; font-weight: 600; letter-spacing: .03em; color: #d9d4ca; }
	.footer-legal-id { font-size: .8rem; color: #9b968c; margin-top: var(--space-4); line-height: 1.5; }
	@media (max-width: 960px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
	@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; gap: var(--space-6); } }

	/* ---------- Notices (WooCommerce + generic) ---------- */
	.woocommerce-notices-wrapper:empty { display: none; }
	.woocommerce-message, .woocommerce-info, .woocommerce-error, .notice-box {
		list-style: none; display: flex; flex-wrap: wrap; gap: .75rem 1rem; align-items: center; justify-content: space-between;
		padding: 1rem 1.2rem; margin: 0 0 var(--space-5); border-radius: var(--radius); background: var(--white); border: 1px solid var(--line); border-left: 3px solid var(--gold); font-size: .95rem;
	}
	.woocommerce-error { border-left-color: var(--danger); }
	.woocommerce-error li { list-style: none; }
	.woocommerce-message .button, .woocommerce-info .button { order: 2; min-height: 40px; }

	/* ---------- Pagination ---------- */
	.pagination, .woocommerce-pagination { margin-top: var(--space-7); display: flex; justify-content: center; }
	.pagination .nav-links, .woocommerce-pagination ul { display: flex; gap: .4rem; list-style: none; padding: 0; flex-wrap: wrap; }
	.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .6rem; border-radius: var(--radius-pill); text-decoration: none; border: 1px solid var(--line); background: var(--white); font-weight: 500; }
	.page-numbers.current { background: var(--ink); color: var(--white); border-color: var(--ink); }
	a.page-numbers:hover { border-color: var(--ink); color: var(--ink); }

	/* ---------- Reveal on scroll ---------- */
	.reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
	.reveal.is-in { opacity: 1; transform: none; }
	.no-js .reveal { opacity: 1; transform: none; }

	/* ---------- Page hero (inner pages) ---------- */
	.page-hero { padding-block: var(--space-7) var(--space-6); border-bottom: 1px solid var(--line); }
	.page-hero h1 { max-width: 18ch; }
	.page-hero .section-lead { max-width: 60ch; }
}

@layer utilities {
	.u-center { text-align: center; }
	.u-muted { color: var(--graphite); }
	.u-mt-0 { margin-top: 0 !important; }
	.u-hide { display: none !important; }
	.tnum { font-variant-numeric: tabular-nums; }
}

@layer components {
	/* Historic logo (transparent WebP, 569×128 at 2×). */
	.brand { flex: none; line-height: 0; }
	.brand-logo { display: block; height: 64px; width: auto; max-width: none; }
	.site-header--focus .brand-logo { height: 52px; }
	.drawer-head .brand-logo { height: 44px; }
	.footer-brand .brand-logo { height: 76px; }
	@media (max-width: 1180px) { .primary-nav .nav-list, .primary-nav ul { gap: clamp(.8rem, 1.4vw, 1.4rem); } }
	@media (max-width: 1024px) { :root { --header-h: 72px; } .brand-logo { height: 50px; } }
	@media (max-width: 480px) { .brand-logo { height: 42px; } .footer-brand .brand-logo { height: 64px; } }
	@media (max-width: 360px) { .brand-logo { height: 36px; } }
}
