/* Brand tokens: keep in sync with BRAND.md */
:root {
	--color-primary: #F0B100;
	--color-primary-hover: #C89000;
	--color-highlight: #FFD34D;
	--color-dark: #0F0D04;
	--color-card-dark: #1C1A10;
	--color-light: #FFF8E1;
	--color-text: #4A4636;
	--color-on-dark: #FFFFFF;
	--color-border: #E8E4D6;

	--radius: 8px;
	--gap: 1.5rem;
	--max: 1600px; /* one content width for every section; everything below scales down from it */
	--pad: clamp(1rem, 3vw, 3rem);
	--max-narrow: 760px;
	--font-body: Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--font-display: "Instrument Serif", Georgia, "Times New Roman", serif;
	--font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

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

body {
	margin: 0;
	font: 1rem/1.7 var(--font-body);
	color: var(--color-text);
	background: #fff;
}

img, video, iframe { max-width: 100%; height: auto; }
h1, h2, h3, h4 { line-height: 1.25; color: var(--color-dark); }
h1, h2 { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
.card__title, .comments-title, .widget-title { font-family: var(--font-body); font-weight: 600; letter-spacing: 0; }

/* Links on light backgrounds: dark text, amber underline (amber text fails contrast on light). */
a { color: var(--color-dark); text-decoration-color: var(--color-primary); text-decoration-thickness: 2px; text-underline-offset: 3px; }
a:hover { text-decoration-color: var(--color-primary-hover); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
	outline: 3px solid var(--color-primary);
	outline-offset: 2px;
}

.screen-reader-text {
	position: absolute;
	width: 1px; height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}
.skip-link:focus {
	position: fixed; top: .5rem; left: .5rem; z-index: 100;
	width: auto; height: auto; clip-path: none;
	padding: .75rem 1rem; background: var(--color-primary); color: var(--color-dark);
}

.container { width: min(100% - 2 * var(--pad), var(--max)); margin-inline: auto; }
.container--narrow { width: min(100% - 2 * var(--pad), var(--max-narrow)); }
.site-main { padding-block: 2rem 4rem; min-height: 60vh; }
.section { padding-block: 2rem; }

/* ---------- Dark sections (shared) ---------- */
.section--dark, .hero, .site-header, .site-footer { background: var(--color-dark); color: var(--color-on-dark); }
.section--dark h1, .section--dark h2, .section--dark h3, .hero h1, .site-footer h2 { color: var(--color-on-dark); }
.section--dark a, .site-footer a { color: var(--color-on-dark); text-decoration-color: var(--color-primary); }
.section--dark a:hover, .site-footer a:hover { color: var(--color-highlight); }
.section--light { background: var(--color-light); }

/* ---------- Buttons ---------- */
.btn, button, input[type="submit"] {
	display: inline-block;
	padding: .7rem 1.4rem;
	font: inherit; font-weight: 600; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	border: 2px solid var(--color-primary);
	border-radius: var(--radius);
	background: var(--color-primary);
	color: var(--color-dark);
	transition: background-color .15s, border-color .15s;
}
.btn:hover, button:hover, input[type="submit"]:hover,
.btn:active, button:active, input[type="submit"]:active {
	background: var(--color-primary-hover);
	border-color: var(--color-primary-hover);
	color: var(--color-dark);
}
.btn--outline { background: transparent; color: var(--color-dark); }
/* Beat the dark-section link colour: buttons keep their own text colour. */
.section--dark a.btn, .site-footer a.btn, .section--dark a.btn:hover, .site-footer a.btn:hover { color: var(--color-dark); }
.section--dark a.btn--outline, .hero a.btn--outline { color: var(--color-on-dark); }
.section--dark a.btn--outline:hover, .hero a.btn--outline:hover { color: var(--color-dark); }

/* ---------- Header ---------- */
/* A dark strip behind the top of every page, so the glass header looks fully dark at the top instead of grey over the white page. */
body::before { content: ""; position: absolute; z-index: -1; top: 0; left: 0; right: 0; height: 8rem; background: var(--color-dark); }
/* Glass header: translucent near-black with a blur, sticky on every page so content blurs under it as you scroll. */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(15, 13, 4, .78); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); border-bottom: 3px solid var(--color-primary); transition: background-color .3s; }
/* Logged-in admins: sit the header below the WordPress admin bar (32 px; 46 px on tablets; on phones under 600 px the bar scrolls away, so no gap). */
.admin-bar .site-header, .admin-bar:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header, .admin-bar:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header, .admin-bar:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header { top: 0; } }
.site-header__inner { display: flex; align-items: center; justify-content: space-between; gap: var(--gap); padding-block: .75rem; flex-wrap: wrap; }
.site-logo, .custom-logo-link { display: inline-block; line-height: 0; }
.site-logo img, .custom-logo { height: 64px; width: auto; }
.site-logo--footer img { height: 72px; }

.site-branding, .site-nav__toggle { position: relative; z-index: 2; }
.site-nav { flex: 0 0 auto; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav a { display: block; text-decoration: none; color: var(--color-on-dark); font-weight: 500; }
.site-nav a:hover, .site-nav .current-menu-item > a { color: var(--color-primary); }
.site-nav__info { display: none; }

/* Menu icon: three lines that turn into a cross when the menu is open */
.site-nav__toggle, .site-nav__toggle:hover { display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--color-on-dark); }
.site-nav__toggle:hover { background: rgba(255, 255, 255, .12); }
.burger { position: relative; width: 1.6rem; height: 1.1rem; }
.burger i { position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor; transition: transform .35s cubic-bezier(.22, .61, .36, 1), top .35s cubic-bezier(.22, .61, .36, 1), opacity .2s; }
.burger i:nth-child(1) { top: 0; }
.burger i:nth-child(2) { top: calc(50% - 1px); }
.burger i:nth-child(3) { top: calc(100% - 2px); }
.site-nav__toggle[aria-expanded="true"] .burger i:nth-child(1) { top: calc(50% - 1px); transform: rotate(45deg); }
.site-nav__toggle[aria-expanded="true"] .burger i:nth-child(2) { opacity: 0; }
.site-nav__toggle[aria-expanded="true"] .burger i:nth-child(3) { top: calc(50% - 1px); transform: rotate(-45deg); }

/* Phones: the menu opens as a full-screen panel with big links and the company details at the bottom */
@media (max-width: 767px) {
	.site-nav__panel { display: none; }
	.site-nav.is-open .site-nav__panel { position: fixed; inset: 0; z-index: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding: 7rem var(--pad) 2rem; overflow-y: auto; background: var(--color-dark); }
	.site-nav a { padding: .35rem 0; font-family: var(--font-display); font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.2; font-weight: 400; }
	.site-nav__info { display: grid; gap: 1.25rem; padding-top: 1.5rem; border-top: 1px solid rgba(232, 228, 214, .25); font-size: .95rem; color: var(--color-border); }
	.site-nav__info small { display: block; margin-bottom: .2rem; font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
	.site-nav__info a, .site-nav__info address { padding: 0; font-family: var(--font-body); font-size: 1rem; font-style: normal; }
	html.menu-open { overflow: hidden; }
	html.menu-open .wa-float { display: none; }
}
@media (min-width: 768px) {
	.site-nav__toggle { display: none; }
	.site-nav ul { display: flex; gap: .25rem; }
	.site-nav a { padding: .6rem .85rem; }
}
/* While the menu is open the header is plain dark with no blur: a blur would trap the full-screen panel inside the header bar. */
.site-header:has(.site-nav.is-open), body:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header:has(.site-nav.is-open) { background: var(--color-dark); border-bottom-color: var(--color-primary); -webkit-backdrop-filter: none; backdrop-filter: none; }


/* Front page: header floats transparent over the hero, turns solid once the hero has scrolled past (main.js adds .is-solid). */
body:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; background: transparent; border-bottom-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transition: background-color .3s; }
body:has(.scrub, .hx, .ab-hero, .ct-hero) .site-header.is-solid { background: rgba(15, 13, 4, .78); border-bottom-color: var(--color-primary); -webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%); }
.home .site-main { padding-top: 0; }

/* ---------- Hero ---------- */
.hero { padding-block: 5rem; margin-top: -2rem; margin-bottom: 2rem; }
.hero__title { margin: 0; font-size: clamp(2rem, 5vw, 3.5rem); }
.hero__lead { margin: .75rem 0 0; font-size: 1.2rem; color: var(--color-border); max-width: 40rem; }
.hero__actions { margin-top: 1.5rem; display: flex; gap: .75rem; flex-wrap: wrap; }

/* ---------- Scroll-scrubbed frame sequence (hero) ---------- */
.scrub { height: 450vh; margin-bottom: 2rem; background: var(--color-dark); }
/* Dark scrim so the white logo and menu stay readable over the bright video. */
.scrub__stage::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 11rem; z-index: 1; pointer-events: none; background: linear-gradient(to bottom, rgba(15, 13, 4, .8), rgba(15, 13, 4, 0)); }
/* lvh = tallest viewport (phone address bar hidden). svh left a black gap at the bottom once the bar slid away. */
.scrub__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; overflow: hidden; }
.scrub__poster, .scrub__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.scrub__poster { object-fit: cover; }
.scrub__canvas { opacity: 0; transition: opacity .3s; }
.scrub.is-ready .scrub__canvas { opacity: 1; }
.scrub__cue {
	position: absolute; left: 50%; bottom: 1.5rem; margin: 0; transform: translateX(-50%);
	padding: .4rem 1rem; border-radius: 999px; background: var(--color-dark); color: var(--color-on-dark);
	font-size: .8rem; letter-spacing: .15em; text-transform: uppercase; transition: opacity .3s;
}
.scrub__cue::after { content: ""; display: block; width: 2px; height: 1.25rem; margin: .4rem auto 0; background: var(--color-primary); }
.scrub.is-scrolled .scrub__cue { opacity: 0; }
.scrub__bar { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; height: 4px; background: var(--color-primary); transform: scaleX(0); transform-origin: left; }
@media (max-aspect-ratio: 1/1) {
	.scrub { height: 350vh; }
}
@media (prefers-reduced-motion: reduce) {
	.scrub, .scrub.is-static { height: auto; }
	.scrub__stage { position: relative; height: min(100svh, 56.25vw); }
	.scrub__cue { display: none; }
}

/* ---------- Home hero: pinned scene. Title splits apart, photos fan out along a line, then stack (scene runs in hero-intro.js) ---------- */
.hx { background: var(--color-dark); color: var(--color-on-dark); }
.hx__stage { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 100svh; padding: 7rem var(--pad) 5rem; overflow: hidden; }
.hx-line { position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(255, 255, 255, .28); transform-origin: center; }
.hx-title { position: relative; z-index: 3; display: flex; gap: .28em; align-items: baseline; justify-content: center; margin: 0; color: inherit; font-size: clamp(3.2rem, 8.5vw, 9rem); line-height: 1; letter-spacing: -.02em; white-space: nowrap; }
.hx-title em { color: var(--color-primary); padding-right: .08em; }
.hx-lead { position: absolute; z-index: 3; left: 50%; top: calc(50% + clamp(3.5rem, 8vw, 7rem)); transform: translateX(-50%); width: min(30rem, 100% - 2 * var(--pad)); margin: 0; text-align: center; font-size: .95rem; line-height: 1.7; color: rgba(255, 255, 255, .75); }
.hx-cards { z-index: 2; display: flex; gap: var(--gap); margin: 3rem 0 0; padding: 0; list-style: none; }
.hx-card { width: clamp(5.5rem, 8vw, 10rem); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 4px; background: #d8d8d8; box-shadow: 0 18px 40px rgba(0, 0, 0, .45); }
.hx-card img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.hx-step, .hx-tag, .hx-cue, .hx-prog, .hx-ring { display: none; }

/* With scripting and motion allowed the section becomes tall and the stage is pinned while the scene plays. */
.hx.is-live { height: 480vh; }
.hx.is-live .hx__stage { position: sticky; top: 0; height: 100vh; height: 100lvh; padding: 0; }
.hx.is-live .hx-cards { position: absolute; inset: 0; display: block; margin: 0; }
.hx.is-live .hx-card { position: absolute; left: 50%; top: 50%; }
.hx.is-live .hx-step, .hx.is-live .hx-tag, .hx.is-live .hx-cue, .hx.is-live .hx-prog { display: block; }
.hx-step, .hx-tag, .hx-cue { position: absolute; z-index: 3; margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .7); }
.hx-step { left: var(--pad); bottom: 1.5rem; }
.hx-step i { font: italic 1rem/1 var(--font-display); letter-spacing: 0; color: var(--color-primary); margin-right: .4rem; }
.hx-tag { right: var(--pad); bottom: 1.5rem; }
.hx-cue { left: 50%; bottom: 1.25rem; transform: translateX(-50%); text-align: center; }
.hx-cue::after { content: ""; display: block; width: 1px; height: 1.6rem; margin: .5rem auto 0; background: var(--color-primary); }
.hx-prog { position: absolute; z-index: 3; right: var(--pad); top: 50%; transform: translateY(-50%); display: none; text-align: center; font-family: var(--font-mono); font-size: .6rem; letter-spacing: .1em; color: rgba(255, 255, 255, .6); }
.hx.is-live .hx-prog { display: grid; justify-items: center; gap: .6rem; }
.hx-prog b { position: relative; display: block; width: 1px; height: clamp(5rem, 22vh, 14rem); background: rgba(255, 255, 255, .25); }
.hx-prog u { position: absolute; inset: 0; background: var(--color-primary); transform: scaleY(0); transform-origin: top; }
.hx-prog small { font-size: inherit; }
.hx-ring { position: fixed; z-index: 45; left: 0; top: 0; width: 1.9rem; height: 1.9rem; margin: -.95rem 0 0 -.95rem; border: 1px solid rgba(255, 255, 255, .7); border-radius: 50%; pointer-events: none; opacity: 0; transition: opacity .3s; }
@media (hover: hover) and (pointer: fine) { .hx.is-live .hx-ring { display: block; } }
@media (max-width: 700px) {
	.hx-title { flex-direction: column; align-items: center; gap: 0; }
	.hx-tag { display: none !important; }
}

/* ---------- Cards ---------- */
.post-grid { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.card { background: #fff; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem; }
.card__thumb img { width: 100%; border-radius: var(--radius); display: block; }
.card__title { margin: .75rem 0 .25rem; font-size: 1.2rem; }
.card__title a { text-decoration: none; }
.card__title a:hover { text-decoration: underline; text-decoration-color: var(--color-primary); }
.card__date { font-size: .875rem; }
.card--dark { background: var(--color-card-dark); border-color: var(--color-card-dark); color: var(--color-on-dark); }
.card--dark .card__title, .card--dark .card__title a { color: var(--color-on-dark); }

/* ---------- Entries ---------- */
.entry-title, .page-title { margin-top: 0; }
.entry-thumb { border-radius: var(--radius); }
.page-header { margin-bottom: 2rem; }

/* ---------- Inner pages ---------- */
.page-hero { background: var(--color-dark); padding-block: 3.5rem; margin-top: -2rem; border-bottom: 3px solid var(--color-primary); }
.page-hero__title { margin: 0; color: var(--color-on-dark); font-size: clamp(2rem, 5vw, 3rem); }
.page-hero + .section { padding-top: 3rem; }
.entry-content > *:first-child { margin-top: 0; }

.product-card img { width: 100%; height: auto; border-radius: var(--radius); display: block; aspect-ratio: 16 / 9; object-fit: cover; }
.product-card .btn { margin-top: .5rem; }

.catalogue-cta { margin-block: 1.5rem 3rem; }
.catalogue-list { list-style: none; margin: 0; padding: 0; display: grid; gap: var(--gap); }
.catalogue-list li { display: grid; gap: 1rem; align-items: center; border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1rem; }
.catalogue-list img { width: 100%; height: auto; border-radius: var(--radius); aspect-ratio: 16 / 9; object-fit: cover; }
.catalogue-list h3 { margin-top: 0; }
@media (min-width: 768px) {
	.catalogue-list li { grid-template-columns: 280px 1fr; }
}

.contact-layout { display: grid; gap: 2.5rem; }
@media (min-width: 900px) {
	.contact-layout { grid-template-columns: 1fr 1.2fr; align-items: start; }
}
.form { background: var(--color-light); border: 1px solid var(--color-border); border-radius: var(--radius); padding: 1.5rem; }
.form h2 { margin-top: 0; }
.form label { display: block; margin-bottom: .25rem; font-weight: 600; color: var(--color-dark); }
.form select { width: 100%; padding: .6rem .75rem; font: inherit; border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff; color: var(--color-dark); }
.form__trap { position: absolute; left: -9999px; }
.notice { padding: .75rem 1rem; border-radius: var(--radius); border: 1px solid var(--color-border); background: #fff; color: var(--color-dark); }
.notice--ok { border-left: 4px solid var(--color-primary); }
.notice--error { border-left: 4px solid var(--color-dark); font-weight: 600; }

/* ---------- About page (editorial layout) ---------- */
.site-main:has(.about) { padding-block: 0; }
.ab-sec { padding-block: clamp(4rem, 9vw, 8rem); }
.ab-light { background: var(--color-light); }
.ab-center { text-align: center; }

/* Type: serif display with italic accent, mono labels */
.ab-title, .ab-display, .ab-statement, .ab-giant { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }
.ab-title { margin: 0 0 clamp(2rem, 5vw, 3.5rem); max-width: 24ch; font-size: clamp(2.4rem, 6vw, 4.5rem); line-height: 1.02; }
.ab-title em, .ab-display em { font-style: italic; color: var(--color-primary-hover); }
.section--dark .ab-title em, .ab-hero .ab-display em { color: var(--color-primary); }
.ab-eyebrow { display: flex; gap: .75rem; align-items: center; margin: 0 0 1.25rem; font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-text); }
.ab-eyebrow span { padding: .15rem .5rem; border: 1px solid currentColor; border-radius: 999px; }
.section--dark .ab-eyebrow { color: var(--color-border); }

/* Split headings (site-motion.js wraps each word; the mask hides it until it rises) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .14em; margin-bottom: -.14em; }
.wi { display: inline-block; will-change: transform; }
.ws { display: inline-block; }
.js-motion [data-split] { visibility: hidden; animation: ab-failsafe 0s 3s forwards; }
.js-motion [data-split].is-split { visibility: visible; animation: none; }
@keyframes ab-failsafe { to { visibility: visible; } }

/* Pills and links */
.pill { display: inline-flex; align-items: center; gap: .6rem; padding: .85rem 1.5rem; border: 1px solid var(--color-primary); border-radius: 999px; background: var(--color-primary); color: var(--color-dark); font-weight: 600; text-decoration: none; transition: background-color .2s, gap .2s; }
.pill::after { content: "\2192"; }
.pill:hover { background: var(--color-primary-hover); border-color: var(--color-primary-hover); color: var(--color-dark); gap: .9rem; }
.pill--dark { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.pill--dark:hover { background: var(--color-card-dark); border-color: var(--color-card-dark); color: var(--color-on-dark); }
.pill--ghost { background: transparent; border-color: var(--color-dark); color: var(--color-dark); }
.pill--ghost:hover { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.ab-link { font-weight: 600; text-decoration: underline; text-decoration-color: var(--color-primary); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.glass { background: rgba(15, 13, 4, .55); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255, 255, 255, .18); border-radius: 14px; color: var(--color-on-dark); }

/* Image frames and placeholders (marcos_image) */
.media-frame { position: relative; margin: 0; overflow: hidden; border-radius: 14px; width: 100%; }
.media-frame > * { display: block; width: 100%; height: 100%; object-fit: cover; }
.media--placeholder { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .35rem; padding: 1rem; text-align: center; border: 2px dashed var(--color-primary); border-radius: inherit; color: var(--color-text);
	background: repeating-linear-gradient(45deg, var(--color-light), var(--color-light) 14px, #fff 14px, #fff 28px); }
.media--placeholder span { font-weight: 600; color: var(--color-dark); }
.media--placeholder small { font-family: var(--font-mono); font-size: .75rem; }
.section--dark .media--placeholder { color: var(--color-border); background: repeating-linear-gradient(45deg, var(--color-card-dark), var(--color-card-dark) 14px, var(--color-dark) 14px, var(--color-dark) 28px); }
.section--dark .media--placeholder span { color: var(--color-on-dark); }

/* 01 Hero */
.ab-hero { position: relative; display: flex; min-height: min(92vh, 56rem); overflow: hidden; }
.ab-hero__bg { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto !important; height: 100%; }
.ab-hero__bg .media--placeholder { align-items: flex-end; justify-content: flex-start; border-radius: 0; }
.ab-hero__shade { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(15, 13, 4, .7), rgba(15, 13, 4, 0) 22%), linear-gradient(to top, rgba(15, 13, 4, .85), rgba(15, 13, 4, .15) 60%); pointer-events: none; }
.ab-hero__inner { position: relative; z-index: 1; align-self: flex-end; display: grid; gap: 2rem; padding-block: 3rem 8rem; }
.ab-display { margin: 0; max-width: 11ch; font-size: clamp(3.2rem, 10vw, 8rem); line-height: .95; color: var(--color-on-dark); }
.ab-hero__side { max-width: 22rem; font-size: 1.05rem; }
.ab-hero__side p { margin: 0 0 1.25rem; color: var(--color-border); }
.ab-hero__card { position: absolute; z-index: 2; left: max(var(--pad), calc((100vw - var(--max)) / 2)); bottom: 1.5rem; display: flex; gap: .85rem; align-items: center; max-width: 21rem; padding: .6rem .9rem .6rem .6rem; text-decoration: none; }
.ab-hero__card:hover { color: var(--color-on-dark); }
.ab-hero__card img { width: 4.5rem; height: 3.25rem; object-fit: cover; border-radius: 8px; }
.ab-hero__card small { display: block; font-family: var(--font-mono); font-size: .65rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.ab-hero__card span { font-size: .9rem; line-height: 1.3; }
@media (min-width: 900px) {
	.ab-hero__inner { grid-template-columns: 1fr auto; align-items: end; }
}

/* 02 Story */
.ab-story { display: grid; gap: 2.5rem; align-items: end; }
.ab-story__text { max-width: 30rem; font-size: 1.1rem; }
@media (min-width: 900px) {
	.ab-story { grid-template-columns: 5fr 4fr; gap: 5rem; }
}

/* 03 Carousel */
.ab-row { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: flex-end; justify-content: space-between; }
.ab-arrows { display: flex; gap: .6rem; align-items: center; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.ab-arrows .ab-link { margin-right: .75rem; }
.ab-round { width: 2.75rem; height: 2.75rem; padding: 0; border-radius: 50%; background: transparent; border: 1px solid var(--color-dark); color: var(--color-dark); font-size: 1.1rem; line-height: 1; }
.ab-round:hover { background: var(--color-dark); border-color: var(--color-dark); color: var(--color-on-dark); }
.ab-track { display: flex; gap: 1.5rem; padding: 0 max(var(--pad), calc((100vw - var(--max)) / 2)) 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(var(--pad), calc((100vw - var(--max)) / 2)); scrollbar-width: none; }
.ab-track::-webkit-scrollbar { display: none; }
.ab-card { flex: 0 0 min(82%, 24rem); scroll-snap-align: start; }
.ab-card img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; display: block; }
.ab-card h3 { margin: 1rem 0 .35rem; font-size: 1.1rem; }
.ab-card p { margin: 0; font-size: .95rem; }

/* Shared two-column layout */
.ab-split { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 900px) {
	.ab-split { grid-template-columns: 1fr 1fr; gap: 6rem; }
}

/* 04 Materials rows */
.ab-rows { margin: 2rem 0 0; padding: 0; list-style: none; }
.ab-rows > div, .ab-rows li { display: grid; gap: .25rem 2rem; padding: 1.1rem 0; border-top: 1px solid rgba(232, 228, 214, .3); }
.ab-rows > div:last-child, .ab-rows li:last-child { border-bottom: 1px solid rgba(232, 228, 214, .3); }
.ab-rows dt { font-family: var(--font-mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--color-primary); }
.ab-rows dd { margin: 0; }
.ab-light .ab-rows > div, .ab-light .ab-rows li { border-color: var(--color-border); }
.ab-light .ab-rows li:last-child { border-bottom-color: var(--color-border); }
@media (min-width: 600px) {
	.ab-rows > div { grid-template-columns: 9rem 1fr; }
}

/* 05 Grid */
.ab-grid { display: grid; border-top: 1px solid var(--color-dark); border-left: 1px solid var(--color-dark); }
.ab-cell { display: flex; flex-direction: column; justify-content: space-between; gap: 1rem; min-height: 15rem; padding: 1.5rem; border-right: 1px solid var(--color-dark); border-bottom: 1px solid var(--color-dark); }
.ab-cell h3 { margin: 0 0 .4rem; font-size: 1.15rem; }
.ab-cell p { margin: 0; }
.ab-num { font-family: var(--font-display); font-size: clamp(3rem, 6vw, 4.5rem); line-height: 1; color: var(--color-primary-hover); }
.ab-cell--dark { background: var(--color-dark); color: var(--color-on-dark); justify-content: flex-end; }
.ab-cell--dark p { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.15; }
.ab-cell--dark .ab-link { color: var(--color-primary); }
@media (min-width: 900px) {
	.ab-grid { grid-template-columns: repeat(3, 1fr); }
	.ab-cell--dark { grid-column: 3; grid-row: 1 / span 2; }
}
.ab-wide { margin-top: clamp(2rem, 5vw, 3.5rem); }

/* 06 Philosophy */
.ab-statement { margin: 0 auto 4rem; max-width: 22ch; font-size: clamp(2rem, 5.5vw, 4rem); line-height: 1.1; }
.ab-philo { position: relative; }
.ab-philo .ab-wide { margin-top: 0; }
.ab-philo__card { position: absolute; left: 1.5rem; bottom: 1.5rem; display: grid; gap: .85rem; padding: 1.1rem 1.4rem; max-width: calc(100% - 3rem); }
.ab-philo__card div { display: grid; }
.ab-philo__card strong { font-family: var(--font-display); font-size: 1.5rem; font-weight: 400; }
.ab-philo__card span { font-size: .85rem; color: var(--color-border); }
@media (min-width: 700px) {
	.ab-philo__card { grid-template-columns: repeat(3, auto); gap: 2rem; }
}

/* 07 list */
.ab-rows--list li { padding: .9rem 0; font-size: 1.05rem; }
.ab-rows--list { margin-bottom: 2rem; }

/* 08 CTA */
.ab-cta { padding-block: clamp(5rem, 12vw, 10rem); background: var(--color-primary); color: var(--color-dark); text-align: center; }
.ab-giant { margin: 0 auto 2.5rem; max-width: 14ch; font-family: var(--font-body); font-weight: 600; font-size: clamp(2.6rem, 9vw, 7.5rem); line-height: .95; letter-spacing: -.04em; text-transform: uppercase; color: var(--color-dark); }
.ab-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.ab-cta .ab-actions { justify-content: center; }

/* Buttons that sit inside dark sections keep their own text colour (beats ".section--dark a"). */
.section--dark a.pill, .section--dark a.pill:hover { color: var(--color-dark); }
.section--dark a.pill--dark, .section--dark a.pill--dark:hover { color: var(--color-on-dark); }
/* ---------- Contact page ---------- */
.site-main:has(.contact), .site-main:has(.products) { padding-block: 0; }
.ab-light .ab-rows dt { color: var(--color-text); }
.ct-hero { padding-block: calc(6rem + clamp(3rem, 7vw, 5rem)) clamp(3rem, 6vw, 5rem); } /* 6rem = the fixed header floating over the hero */
.ct-hero--photo { background-size: cover; background-position: center; }
.ct-title { max-width: 16ch; margin-bottom: 2rem; font-size: clamp(2.6rem, 8vw, 6.5rem); }
.ct-lead { margin: 0; max-width: 32rem; font-size: 1.1rem; color: var(--color-border); }
.ct-grid { display: grid; gap: 3rem; align-items: start; }
.ct-rows { margin-top: 0; }
.ct-rows address { margin-bottom: .6rem; font-style: normal; font-size: 1.1rem; }
.ct-phone { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 2.75rem); text-decoration: none; }
.ct-phone:hover { text-decoration: underline; text-decoration-color: var(--color-primary); }
.ct-map { aspect-ratio: 4 / 3; overflow: hidden; border: 1px solid var(--color-border); border-radius: 14px; background: var(--color-border); }
.ct-map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 900px) {
	.ct-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; }
}

/* ---------- Catalogue page ---------- */
.cat-cover { justify-self: center; margin: 0; width: min(100%, 24rem); }
.cat-cover img { display: block; width: 100%; height: auto; border-radius: 6px; box-shadow: 0 30px 60px -20px rgba(15, 13, 4, .5); }
.ab-cards { display: grid; gap: var(--gap); grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }

/* "Photo needed" tile for categories without a photo yet (marcos_cat_image) */
.cat-ph { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .3rem; aspect-ratio: 16 / 9; border: 2px dashed var(--color-primary); border-radius: 14px; text-align: center;
	background: repeating-linear-gradient(45deg, var(--color-light), var(--color-light) 14px, #fff 14px, #fff 28px); }
.cat-ph span { font-weight: 600; color: var(--color-dark); }
.cat-ph small { font-family: var(--font-mono); font-size: .72rem; color: var(--color-text); }
.product-card .cat-ph { border-radius: var(--radius); }

/* ---------- Home page sections (below the hero) ---------- */
.site-main:has(.hm) { padding-bottom: 0; }
.hm-sec { padding-block: clamp(4rem, 9vw, 8rem); }
.hm-light { background: var(--color-light); }

.hm-statement__text { margin: 0 0 2rem; max-width: 24ch; font-family: var(--font-display); font-size: clamp(2.1rem, 6vw, 5rem); line-height: 1.05; letter-spacing: -.015em; }

/* Collection grid: photo cards, 4 per row on desktop (2 on phones), caption rule underneath, amber VIEW cursor on hover */
.hm-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem 1rem; width: min(100% - 2 * var(--pad), var(--max)); margin: clamp(1.5rem, 4vw, 3rem) auto 0; padding: 0; list-style: none; }
@media (min-width: 700px) {
	.hm-grid { grid-template-columns: repeat(3, 1fr); gap: 2.5rem 1.25rem; }
}
@media (min-width: 1100px) {
	.hm-grid { grid-template-columns: repeat(4, 1fr); gap: 3rem 1.5rem; }
}
.hm-card a { display: block; color: var(--color-dark); text-decoration: none; }
.hm-card__img { display: block; overflow: hidden; aspect-ratio: 3 / 4; border-radius: 8px; background: var(--color-border); }
.hm-card__img img, .hm-card__img .cat-ph { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22, .61, .36, 1); }
.hm-card__img .cat-ph { aspect-ratio: auto; border-radius: 0; border-width: 0; }
.hm-card a:hover .hm-card__img img, .hm-card a:focus-visible .hm-card__img img { transform: scale(1.06); }
.hm-card__cap { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; gap: .25rem 1rem; margin-top: .75rem; padding-top: .7rem; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.hm-card__cap::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--color-border); }
.hm-card__cap::after { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: var(--color-primary-hover); transform: scaleX(0); transform-origin: left; transition: transform .6s cubic-bezier(.22, .61, .36, 1); }
.hm-card a:hover .hm-card__cap::after, .hm-card a:focus-visible .hm-card__cap::after { transform: scaleX(1); }
.hm-card__t i { margin-right: .4rem; font-style: normal; color: var(--color-primary-hover); }
.hm-card__n { color: var(--color-text); opacity: .7; }
.hm-cursor { position: fixed; left: 0; top: 0; z-index: 45; display: grid; place-items: center; width: 4.5rem; height: 4.5rem; border-radius: 50%; background: var(--color-primary); color: var(--color-dark); font-family: var(--font-mono); font-size: .7rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; pointer-events: none; opacity: 0; }
@media (hover: none), (pointer: coarse) { .hm-cursor { display: none; } }

/* Ruled rows on a white/cream background (the default .ab-rows is styled for dark sections) */
.hm-rows-light > div { border-color: var(--color-border); }
.hm-rows-light > div:last-child { border-bottom-color: var(--color-border); }
.hm-rows-light dt { color: var(--color-text); }

/* Design inspiration / applications */
.hm-head { display: grid; gap: 1.5rem; align-items: end; margin-bottom: clamp(2rem, 5vw, 3.5rem); }
.hm-head .ab-title { margin-bottom: 0; }
.hm-head p { max-width: 30rem; margin: 0 0 1rem; color: var(--color-border); }
@media (min-width: 900px) {
	.hm-head { grid-template-columns: 1.3fr 1fr; gap: 4rem; }
}
.hm-apps { display: grid; gap: 2.5rem; }
@media (min-width: 700px) {
	.hm-apps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
	.hm-app:nth-child(2) { margin-top: 3rem; }
}
.hm-app { margin: 0; }
.hm-app__img { display: block; overflow: hidden; border-radius: 12px; }
.hm-app__img .media-frame { border-radius: 0; transition: transform 1.1s cubic-bezier(.22, .61, .36, 1); }
.hm-app:hover .hm-app__img .media-frame { transform: scale(1.05); }
.hm-app figcaption { display: grid; gap: .35rem; padding-top: 1rem; }
.hm-app figcaption small { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; color: var(--color-primary); }
.hm-app h3 { margin: 0; font-family: var(--font-display); font-size: clamp(1.6rem, 2.6vw, 2.2rem); font-weight: 400; color: var(--color-on-dark); transition: transform .5s cubic-bezier(.22, .61, .36, 1); }
.hm-app:hover h3 { transform: translateX(.6rem); }
.hm-app p { margin: 0; font-size: .95rem; color: var(--color-border); }

/* Page enter: the content fades in on every page (only when motion is allowed, see .js-motion in functions.php) */
@keyframes pg-in { from { opacity: 0; } }
.js-motion .site-main, .js-motion .ab-cta, .js-motion .site-footer { animation: pg-in .6s ease backwards; }

/* Floating WhatsApp button (functions.php: marcos_whatsapp_button) */
.wa-float { position: fixed; z-index: 60; right: max(1rem, env(safe-area-inset-right)); bottom: max(1rem, env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 0; height: 3.5rem; min-width: 3.5rem; padding: 0 .85rem; border-radius: 999px; background: #25D366; color: #fff; text-decoration: none; box-shadow: 0 8px 24px rgba(15, 13, 4, .3); transition: transform .3s cubic-bezier(.22, .61, .36, 1), box-shadow .3s, gap .3s; }
.wa-float svg { flex: none; }
.wa-float__label { max-width: 0; overflow: hidden; white-space: nowrap; font-weight: 600; font-size: .95rem; color: var(--color-dark); transition: max-width .4s cubic-bezier(.22, .61, .36, 1); }
.wa-float:hover, .wa-float:focus-visible { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(15, 13, 4, .38); gap: .6rem; color: #fff; }
.wa-float:hover .wa-float__label, .wa-float:focus-visible .wa-float__label { max-width: 9rem; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25D366; opacity: 0; animation: wa-pulse 2.6s ease-out infinite; pointer-events: none; }
@keyframes wa-pulse { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.5); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .wa-float::before { animation: none; } }
@media (min-width: 900px) { .wa-float { right: 1.75rem; bottom: 1.75rem; } }

/* Preloader: the logo fills with colour from the bottom as the percent climbs, then an amber circle grows and the panel slides up. */
.preloader { display: none; }
html.is-loading { overflow: hidden; }
.is-loading .preloader { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; overflow: hidden; background: var(--color-dark); animation: pre-failsafe 0s 8s forwards; }
@keyframes pre-failsafe { to { visibility: hidden; pointer-events: none; } }
.pre-logo-wrap { position: relative; width: min(17rem, 58vw); }
.pre-logo { display: block; width: 100%; height: auto; }
.pre-logo--base { opacity: .16; filter: grayscale(1); }
.pre-logo--fill { position: absolute; inset: 0; clip-path: inset(100% 0 0 0); }
.pre-meter { position: absolute; left: var(--pad); bottom: var(--pad); margin: 0; font-family: var(--font-display); font-size: clamp(3.5rem, 11vw, 8rem); line-height: .85; color: var(--color-on-dark); }
.pre-pct { margin-left: .1em; font-size: .35em; color: var(--color-primary); vertical-align: top; }
.pre-tag { position: absolute; right: var(--pad); bottom: var(--pad); margin: 0; font-family: var(--font-mono); font-size: .7rem; letter-spacing: .16em; text-transform: uppercase; color: var(--color-border); text-align: right; }
.pre-circle { position: absolute; z-index: 3; left: 50%; top: 50%; width: 10rem; height: 10rem; margin: -5rem 0 0 -5rem; border-radius: 50%; background: var(--color-primary); transform: scale(0); }

/* Product page cards (same look as the home collection grid, but not one big link) */
.hm-card:hover .hm-card__img img { transform: scale(1.06); }
.hm-card:hover .hm-card__cap::after { transform: scaleX(1); }
.hm-card__d { margin: .85rem 0 .5rem; font-size: .95rem; }
.hm-card > .ab-link { display: inline-block; }

/* Footer: tagline + button, links, details, giant wordmark */
.site-footer { padding-block: clamp(2.5rem, 5vw, 4rem) 0; overflow: hidden; }
.site-footer a { text-decoration: none; }
.ft-top { display: grid; gap: 2.5rem; }
.ft-tagline { margin: 0 0 1.5rem; font-size: clamp(1.4rem, 2.4vw, 2rem); line-height: 1.2; }
.ft-btn { display: inline-block; padding: .8rem 1.5rem; border: 1px solid rgba(255, 255, 255, .45); border-radius: 8px; color: var(--color-on-dark); transition: background-color .25s, color .25s, border-color .25s; }
.site-footer a.ft-btn:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-dark); }
.ft-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem; }
.ft-links ul { margin: 0; padding: 0; list-style: none; }
.ft-links a { display: inline-block; padding: .15rem 0; font-size: 1.05rem; line-height: 1.4; transition: transform .25s, color .25s; }
.ft-links a:hover { transform: translateX(4px); }
.ft-links a span[aria-hidden] { margin-left: .15em; font-size: .75em; vertical-align: super; }
.ft-meta { display: grid; gap: .75rem; margin-top: clamp(3rem, 8vw, 7rem); font-size: .95rem; }
.ft-meta address { font-style: normal; max-width: 22rem; }
.ft-meta p { margin: 0; color: var(--color-border); }
.ft-word { display: block; width: 100%; height: auto; margin-top: clamp(1.5rem, 4vw, 3rem); fill: url(#ft-fade); font-family: var(--font-body); font-weight: 800; font-size: 285px; letter-spacing: -.06em; }
.ft-meta__lead { display: grid; gap: .6rem; justify-items: start; }
.ft-phone { font-size: 1.35rem; font-weight: 600; }
.ft-credit { margin: 0; font-family: var(--font-mono); font-size: .72rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.site-footer .ft-credit a { color: var(--color-on-dark); text-decoration: underline; text-decoration-color: var(--color-primary); text-underline-offset: 3px; }
.site-footer .ft-credit a:hover { color: var(--color-highlight); }
@media (min-width: 900px) {
	.ft-top { grid-template-columns: 1fr 1fr; align-items: start; }
	.ft-links { grid-template-columns: 1.3fr 1fr; justify-self: end; width: min(100%, 34rem); }
	.ft-meta { grid-template-columns: 1fr auto; align-items: end; }
}

/* ---------- WooCommerce: single product (sp-*) and product category (pc-*) pages ---------- */
.sp { display: grid; gap: clamp(2rem, 5vw, 4rem); }
.sp-main { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; max-height: 80vh; max-height: 80svh; border-radius: var(--radius); background: var(--color-border); } /* the cap keeps the photo inside a laptop screen */
.sp-main img { display: block; width: 100%; height: 100%; object-fit: contain; } /* whole photo, never cropped */
.sp-main .cat-ph { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-main .cat-ph { border-width: 0; border-radius: 0; aspect-ratio: auto; }
.sp-zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lb { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; padding: 3.5rem 1rem; background: rgba(15, 13, 4, .94); animation: lb-in .25s ease; }
.lb__img { display: block; max-width: min(100%, 1400px); max-height: calc(100vh - 7rem); max-height: calc(100svh - 7rem); width: auto; height: auto; object-fit: contain; border-radius: 4px; } /* a percentage max-height does not work in a grid cell, so the limit is the screen height */
.lb__close, .lb__nav { position: absolute; display: grid; place-items: center; width: 3rem; height: 3rem; padding: 0 0 .15rem; border: 1px solid rgba(255, 255, 255, .35); border-radius: 50%; background: rgba(15, 13, 4, .6); color: #fff; font-size: 1.8rem; line-height: 1; cursor: pointer; transition: background-color .2s, border-color .2s; }
.lb__close:hover, .lb__nav:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-dark); }
.lb__close { top: 1rem; right: 1rem; }
.lb__nav { top: 50%; transform: translateY(-50%); }
.lb__nav--prev { left: 1rem; }
.lb__nav--next { right: 1rem; }
html.lb-open { overflow: hidden; }
html.lb-open .wa-float { display: none; }
@keyframes lb-in { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .lb { animation: none; } }
.sp-thumbs { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: .75rem; }
.sp-thumb { width: 4.5rem; aspect-ratio: 1; padding: 0; overflow: hidden; border: 2px solid transparent; border-radius: 6px; background: var(--color-border); cursor: pointer; }
.sp-thumb[aria-current="true"] { border-color: var(--color-primary); }
.sp-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.sp-info .ab-eyebrow { margin-bottom: .75rem; }
.sp-price { margin: 0 0 1rem; font-family: var(--font-display); font-size: 2rem; line-height: 1.1; color: var(--color-dark); }
.sp-short { margin: 0 0 1.5rem; font-size: 1.05rem; }
.sp-short > :last-child { margin-bottom: 0; }
.sp-specs { margin: 0 0 2rem; border-top: 1px solid var(--color-border); }
.sp-specs > div { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 0; border-bottom: 1px solid var(--color-border); }
.sp-specs dt { font-family: var(--font-mono); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; }
.sp-specs dd { margin: 0; font-weight: 600; text-align: right; color: var(--color-dark); }
.sp-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin: 0; }
.sp-desc { max-width: 48rem; margin-top: clamp(3rem, 7vw, 5rem); }
.sp-desc .ab-title { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.pr-single .ab-eyebrow a, .pr-cat .ab-eyebrow a { color: inherit; text-decoration-color: var(--color-primary); }
@media (min-width: 900px) {
	.sp { grid-template-columns: 1.1fr 1fr; align-items: start; }
	.sp-info { position: sticky; top: 7rem; }
}

/* ---------- Pagination / comments / forms ---------- */
.pagination, .post-navigation { margin-top: 2rem; }
.pagination .nav-links, .post-navigation .nav-links { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: space-between; }
.page-numbers { padding: .25rem .6rem; border-radius: var(--radius); }
.page-numbers.current { background: var(--color-primary); color: var(--color-dark); }
.comments { margin-top: 3rem; }
.comment-list { padding-left: 1.25rem; }
input[type="text"], input[type="email"], input[type="url"], input[type="search"], textarea {
	width: 100%; padding: .6rem .75rem; font: inherit; color: var(--color-dark);
	border: 1px solid var(--color-border); border-radius: var(--radius); background: #fff;
}

/* ---------- Footer ---------- */

@media (prefers-reduced-motion: reduce) {
	* { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
