/*
 * Handkrit 2026 — design system.
 *
 * Translated from the nine design canvases: inline styles became classes and
 * every `style-hover` attribute became a real :hover rule.
 *
 * Three rules learned the hard way earlier in this project and applied here:
 *   1. The base link colour is wrapped in :where() so it carries ZERO
 *      specificity. Written as `.hk a` it beat every single-class component
 *      rule and painted button labels terracotta-on-terracotta.
 *   2. Wrappers use `overflow-x: clip`, never `hidden` — an ancestor with
 *      overflow:hidden becomes the scroll container and silently stops
 *      position:sticky from sticking.
 *   3. --hk-muted is darkened from the comp's #8A7862, which measured 3.95:1 on
 *      cream and failed AA for the 13px uppercase labels it drives.
 *
 * Sections marked PARENT restyle markup rendered by the parent theme
 * (.hcs-bulk-order, .hcs-min-qty-notice, WooCommerce core). Those are styled by
 * class only — never re-rendered — so minimum-order logic is untouched.
 */

/* ============================================================== tokens */

.hk,
body.hk {
	--hk-cream: #FBF6EE;
	--hk-cream-2: #F3E9DA;
	--hk-cream-3: #F6EEE2;
	--hk-panel: #FDFAF4;
	--hk-ink: #2E241D;
	--hk-ink-2: #3A2E25;
	--hk-ink-3: #4E3F33;
	--hk-accent: #B4552F;
	--hk-accent-dark: #9A4526;
	--hk-accent-link: #8E3F20;
	--hk-line: #E7DAC7;
	--hk-line-2: #E0D0BA;
	--hk-dash: #D9C7AF;
	--hk-body: #6C5B4B;
	--hk-muted: #786650;
	--hk-muted-2: #7A6753;
	--hk-soft: #A08D76;
	--hk-tan: #C6AE8E;
	--hk-gold: #E8A15C;
	--hk-sage: #7C8A6A;
	--hk-pill: #EFE3D2;
	--hk-error-bg: #F7E4DC;
	--hk-serif: 'Instrument Serif', Georgia, 'Times New Roman', serif;
	--hk-sans: Jost, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--hk-max: 1280px;
	--hk-max-narrow: 1180px;
	--hk-gutter: 32px;
	--hk-r-sm: 12px;
	--hk-r-md: 16px;
	--hk-r-lg: 22px;
	--hk-r-xl: 24px;
}

/* ================================ PARENT / PLUGIN DESIGN TOKENS =========
 *
 * The parent theme ships its own token system on `:root` — and its accent is
 * #E8A598, a pale pink. Its woocommerce.css applies those tokens with
 * `!important`, which is why the Add to cart button rendered salmon rather than
 * terracotta. The personalisation plugin reads the same tokens, which is why its
 * block rendered pink: its CSS is written as
 * `var(--color-accent-bg, #FDF0EC)` — theme tokens when available, pink
 * fallbacks otherwise.
 *
 * So the fix is to remap the tokens rather than fight them with more
 * `!important`. One block corrects the button, the personalisation panel, sale
 * badges, pagination and every other parent component at once.
 *
 * `:root:root` (0,2,0) is deliberate: the parent ALSO prints
 * `<style id="hcs-customizer-css">:root{…}` in wp_head at priority 99, after this
 * stylesheet. A plain `:root` here would lose to it on source order. The colour
 * tokens it controls are additionally set as theme mods, so the Customizer keeps
 * working; this block covers the ones it does not emit.
 */
:root:root {
	--color-bg: #FBF6EE;
	--color-surface: #FDFAF4;
	--color-accent: #B4552F;
	--color-accent-dark: #9A4526;
	--color-accent-light: #E7DAC7;
	--color-accent-bg: #FDFAF4;
	--color-border: #E0D0BA;
	--color-text: #2E241D;
	--color-text-muted: #786650;
	--color-btn-bg: #B4552F;
	--color-btn-bg-dark: #9A4526;
	--color-btn-text: #FBF6EE;
	--color-sale-bg: #B4552F;
	--color-sale-text: #FBF6EE;
	--color-hero-bg: #F6EADA;
	--color-menu-hover: #B4552F;
	--color-menu-hover-bg: #F3E9DA;
	--color-customizable-badge-bg: #2E241D;
	--color-customizable-badge-text: #FBF6EE;
	--color-error: #B3382C;
	--color-success: #7C8A6A;

	/* The personalisation plugin also reads these. */
	--radius-sm: 8px;
	--radius-md: 12px;
	--font-body: Jost, system-ui, -apple-system, 'Segoe UI', sans-serif;
	--font-heading: 'Instrument Serif', Georgia, 'Times New Roman', serif;
}

body.hk {
	margin: 0;
	background: var(--hk-cream);
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
	overflow-x: clip;
}

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

/* Zero-specificity base link — see note 1 at the top of this file. */
:where(body.hk a) {
	color: var(--hk-accent);
	text-decoration: none;
}

:where(body.hk a:hover) {
	color: var(--hk-accent-link);
}

body.hk img {
	max-width: 100%;
	height: auto;
}

/*
 * body.hk .hk-cover, not .hk-cover.
 *
 * `body.hk img { height: auto }` above is (0,1,1) and outscored a bare
 * `.hk-cover` at (0,1,0), so `height: 100%` was thrown away everywhere this
 * class is used. Images then took their natural height inside frames with a
 * fixed aspect-ratio and overflow: hidden — tall ones spilled out and were
 * clipped from the bottom, short ones left a band of empty card background
 * beneath them. On the shop grid only 1 card in 12 actually fitted.
 *
 * A frame with no definite height is unaffected: a percentage height cannot
 * resolve against it, so those images keep sizing themselves as before.
 */
body.hk .hk-cover {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hk-cover-empty {
	background: var(--hk-cream-2);
}

body.hk ul.hk-list,
body.hk .hk-nav-list,
body.hk .hk-footer-list,
body.hk .hk-drawer-list,
body.hk .hk-account-nav {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Keyboard focus — the comps had none. */
body.hk a:focus-visible,
body.hk button:focus-visible,
body.hk input:focus-visible,
body.hk select:focus-visible,
body.hk textarea:focus-visible,
body.hk [tabindex]:focus-visible {
	outline: 2px solid var(--hk-accent);
	outline-offset: 3px;
	border-radius: 4px;
}

.hk-dark a:focus-visible,
.hk-announce a:focus-visible {
	outline-color: var(--hk-gold);
}

.hk-skip {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100;
}

.hk-skip:focus {
	left: 12px;
	top: 12px;
	padding: 12px 20px;
	border-radius: 999px;
	background: var(--hk-ink);
	color: var(--hk-cream);
	font-size: 15px;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip-path: inset(50%);
	white-space: nowrap;
}

@keyframes hk-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes hk-spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }
@keyframes hk-rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ========================================================== typography */

.hk-h1 {
	font-family: var(--hk-serif);
	font-weight: 400;
	font-size: clamp(42px, 6vw, 82px);
	line-height: 0.98;
	letter-spacing: -0.015em;
	margin: 0;
	text-wrap: pretty;
}

.hk-h1 em,
.hk-h1 i {
	font-style: italic;
	color: var(--hk-accent);
}

/* Page headers use a slightly smaller display size than the homepage hero. */
.hk-h1-page { font-size: clamp(38px, 5vw, 68px); line-height: 1; }
.hk-h1-cart { font-size: clamp(38px, 4.6vw, 62px); line-height: 1; }

.hk-h2 {
	font-family: var(--hk-serif);
	font-weight: 400;
	font-size: clamp(32px, 4vw, 54px);
	line-height: 1.05;
	margin: 14px 0 0;
	text-wrap: pretty;
}

.hk-h2.is-light { color: var(--hk-cream); }
.hk-h2-sm { font-size: clamp(30px, 3.4vw, 46px); line-height: 1.08; }
.hk-h3 { font-family: var(--hk-serif); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 0; }
.hk-h4 { font-family: var(--hk-serif); font-weight: 400; font-size: 24px; line-height: 1.2; margin: 0; }

.hk-eyebrow {
	font-size: 13px;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--hk-accent);
}

.hk-eyebrow.is-light { color: #C98D68; }

.hk-lede {
	font-size: clamp(16.5px, 1.4vw, 18px);
	line-height: 1.65;
	color: var(--hk-body);
	margin: 16px 0 0;
	max-width: 560px;
}

.hk-text-link {
	font-size: 15px;
	border-bottom: 1px solid var(--hk-accent);
	padding-bottom: 3px;
}

/* ============================================================ layout */

.hk-wrap {
	max-width: var(--hk-max);
	margin: 0 auto;
	padding-left: var(--hk-gutter);
	padding-right: var(--hk-gutter);
}

.hk-wrap-narrow { max-width: var(--hk-max-narrow); }

.hk-section {
	max-width: var(--hk-max);
	margin: 0 auto;
	padding: 96px var(--hk-gutter) 0;
}

.hk-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 32px;
	flex-wrap: wrap;
}

.hk-wash {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background:
		radial-gradient(110% 120% at 8% 0%, #F6EADA 0%, rgba(246, 234, 218, 0) 60%),
		radial-gradient(70% 90% at 96% 10%, #EFE3E0 0%, rgba(239, 227, 224, 0) 58%);
}

/* ========================================================== buttons */

.hk-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 16px 30px;
	border-radius: 999px;
	border: 0;
	font-family: var(--hk-sans);
	font-size: 16px;
	line-height: 1;
	letter-spacing: 0.02em;
	cursor: pointer;
	text-align: center;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.hk-btn-solid {
	background: var(--hk-accent);
	color: var(--hk-cream);
	box-shadow: 0 12px 26px rgba(180, 85, 47, 0.24);
}

.hk-btn-solid:hover { background: var(--hk-accent-dark); color: var(--hk-cream); }

.hk-btn-outline {
	background: transparent;
	border: 1px solid var(--hk-ink);
	color: var(--hk-ink);
}

.hk-btn-outline:hover { background: var(--hk-ink); color: var(--hk-cream); }

.hk-btn-ghost {
	background: transparent;
	border: 1px solid var(--hk-dash);
	color: var(--hk-body);
	font-size: 13.5px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 11px 18px;
}

.hk-btn-ghost:hover { background: var(--hk-ink); color: var(--hk-cream); border-color: var(--hk-ink); }

.hk-btn-sm { padding: 13px 24px; font-size: 14.5px; }
.hk-btn-block { width: 100%; }
.hk-btn[disabled] { opacity: 0.55; cursor: not-allowed; }

.hk-chip {
	padding: 11px 20px;
	border-radius: 999px;
	border: 1px solid var(--hk-dash);
	background: transparent;
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	font-size: 14.5px;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.hk-chip:hover { border-color: var(--hk-ink); }
.hk-chip.is-active { background: var(--hk-ink); color: var(--hk-cream); border-color: var(--hk-ink); }

.hk-pill {
	display: inline-block;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid var(--hk-line-2);
	background: var(--hk-cream-3);
	font-size: 13.5px;
	color: var(--hk-body);
}

/* ========================================================== forms */

.hk-field { display: block; }

.hk-label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hk-muted);
	margin-bottom: 8px;
}

body.hk .hk-input,
body.hk .hk-form input[type="text"],
body.hk .hk-form input[type="email"],
body.hk .hk-form input[type="tel"],
body.hk .hk-form input[type="url"],
body.hk .hk-form input[type="number"],
body.hk .hk-form input[type="password"],
body.hk .hk-form input[type="date"],
body.hk .hk-form input[type="search"],
body.hk .hk-form textarea,
body.hk .hk-form select {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 18px;
	border-radius: var(--hk-r-sm);
	border: 1px solid var(--hk-dash);
	background: var(--hk-cream);
	font-family: var(--hk-sans);
	font-size: 16px;
	color: var(--hk-ink);
	outline: none;
}

body.hk .hk-form textarea { resize: vertical; font-size: 15.5px; }

body.hk .hk-form select {
	appearance: none;
	padding-right: 40px;
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--hk-body) 50%),
		linear-gradient(135deg, var(--hk-body) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

body.hk .hk-form input:focus,
body.hk .hk-form textarea:focus,
body.hk .hk-form select:focus {
	border-color: var(--hk-accent);
}

.hk-check {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 15px;
	color: var(--hk-ink);
	cursor: pointer;
}

.hk-check input[type="checkbox"] {
	width: 16px;
	height: 16px;
	accent-color: var(--hk-accent);
	flex-shrink: 0;
}

.hk-grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.hk-span-2 { grid-column: span 2; }

.hk-notice-error {
	padding: 12px 16px;
	border-radius: var(--hk-r-sm);
	background: var(--hk-error-bg);
	color: var(--hk-accent-link);
	font-size: 14px;
}

.hk-notice-soft {
	padding: 13px 18px;
	border-radius: var(--hk-r-sm);
	background: var(--hk-cream-3);
	border: 1px solid var(--hk-line);
	font-size: 14.5px;
	color: var(--hk-body);
}

/* ===================================================== announcement */

.hk-announce {
	background: var(--hk-ink);
	color: var(--hk-cream-2);
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	gap: 40px;
	padding: 10px 24px;
	flex-wrap: wrap;
}

.hk-announce-sep { opacity: 0.45; }

/* ========================================================== header */

.hk-header {
	background: rgba(251, 246, 238, 0.92);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid var(--hk-line);
}

.hk-header.is-sticky {
	position: sticky;
	top: 0;
	z-index: 50;
}

.hk-header-inner {
	max-width: var(--hk-max);
	margin: 0 auto;
	padding: 14px var(--hk-gutter);
	display: flex;
	align-items: center;
	gap: 32px;
}

.hk-logo { display: flex; align-items: center; flex-shrink: 0; }
.hk-logo img { width: auto; display: block; }

/*
 * Optical alignment: pull the wordmark out to the container edge.
 *
 * The logo PNG carries 37px of fully transparent pixels down its left side —
 * 12.3% of its 300px width — so even with its box aligned perfectly to the
 * container, the visible ink starts well inside it and reads as indented next
 * to the breadcrumb and heading below.
 *
 * The trim scales with the logo, because the dead space does too: the file is
 * 300x92, so at height H the rendered width is H x 3.261 and the transparent
 * strip is 0.1233 x that — 0.402 x H. Expressing it against --hk-logo-h (set
 * inline beside the height, by the same option) keeps it correct at any size
 * rather than baking in a pixel value that only suits today's 58px.
 *
 * The factor belongs to THIS artwork. Replacing the logo with a tightly cropped
 * file is the permanent fix; set --hk-logo-trim to 0 then.
 */
.hk-logo-img,
.hk-footer-logo {
	--hk-logo-trim: 0.402;
	margin-left: calc(var(--hk-logo-h, 46px) * var(--hk-logo-trim) * -1);
}
.hk-logo-text { font-family: var(--hk-serif); font-size: 28px; color: var(--hk-ink); }

.hk-nav { display: flex; align-items: center; margin-left: auto; }

.hk-nav-list {
	display: flex;
	align-items: center;
	gap: 28px;
	font-size: 15px;
}

.hk-nav-list a { color: var(--hk-ink); }
.hk-nav-list a:hover { color: var(--hk-accent); }

.hk-nav-list .current-menu-item > a,
.hk-nav-list .current-menu-parent > a,
.hk-nav-list .current-product-cat > a {
	color: var(--hk-accent);
}

.hk-header-actions { display: flex; align-items: center; gap: 14px; margin-left: 4px; }

.hk-icon-btn {
	position: relative;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid var(--hk-line-2);
	background: transparent;
	color: var(--hk-ink);
	cursor: pointer;
	display: grid;
	place-items: center;
	flex-shrink: 0;
	transition: background-color 0.18s ease;
}

.hk-icon-btn:hover { background: var(--hk-cream-2); color: var(--hk-ink); }
.hk-icon-btn.is-current { border-color: var(--hk-accent); color: var(--hk-accent); }

.hk-cart-count {
	position: absolute;
	top: -5px;
	right: -5px;
	min-width: 19px;
	height: 19px;
	padding: 0 5px;
	border-radius: 999px;
	background: var(--hk-accent);
	color: #fff;
	font-size: 11px;
	font-weight: 500;
	display: grid;
	place-items: center;
}

.hk-cart-count.is-empty { display: none; }

.hk-burger { display: none; }
.hk-burger-bars { display: grid; gap: 4px; }
.hk-burger-bars i { display: block; width: 16px; height: 1.6px; background: currentColor; }

.hk-search { border-top: 1px solid var(--hk-line); background: var(--hk-cream); }
.hk-search-inner { max-width: var(--hk-max); margin: 0 auto; padding: 16px var(--hk-gutter); }
.hk-search form { display: flex; gap: 10px; }

body.hk .hk-search input[type="search"] {
	flex: 1;
	padding: 13px 18px;
	border-radius: 999px;
	border: 1px solid var(--hk-line-2);
	background: #fff;
	font-family: var(--hk-sans);
	font-size: 15px;
	color: var(--hk-ink);
}

.hk-search button {
	padding: 13px 26px;
	border-radius: 999px;
	border: 0;
	background: var(--hk-ink);
	color: var(--hk-cream);
	font-family: var(--hk-sans);
	font-size: 14px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	cursor: pointer;
}

/* -------------------------------------------------------------------------
 * Mobile drawer — off-canvas panel over a scrim.
 *
 * Fixed to the viewport rather than flowing inside <header>. The previous
 * version expanded the header, which left the catalogue behind it scrollable
 * and the menu itself clipped once it grew past the fold.
 * ---------------------------------------------------------------------- */
.hk-drawer {
	position: fixed;
	inset: 0;
	z-index: 1000;
}

.hk-drawer[hidden] { display: none; }

/*
 * Page behind the drawer is frozen.
 *
 * position: fixed rather than overflow: hidden — iOS Safari ignores the latter
 * on <body> and happily scrolls the page under an open panel. theme.js stores
 * the scroll offset and restores it on close, otherwise fixing the body jumps
 * the shopper back to the top of the catalogue.
 */
body.hk-locked {
	position: fixed;
	inset: 0 0 auto;
	width: 100%;
	overflow: hidden;
}

.hk-drawer-scrim {
	position: absolute;
	inset: 0;
	background: rgba(28, 22, 18, 0.42);
	opacity: 0;
	transition: opacity 0.22s ease;
}

.hk-drawer.is-open .hk-drawer-scrim { opacity: 1; }

.hk-drawer-panel {
	position: absolute;
	inset: 0 0 0 auto;
	width: min(88vw, 380px);
	display: grid;
	/* head / body / foot — only the body scrolls, so the close button and the
	   cart link stay reachable however long the menu is. */
	grid-template-rows: auto 1fr auto;
	background: var(--hk-cream);
	box-shadow: -18px 0 44px rgba(46, 36, 29, 0.18);
	transform: translateX(100%);
	transition: transform 0.26s cubic-bezier(0.22, 0.61, 0.36, 1);
	max-height: 100%;
}

.hk-drawer.is-open .hk-drawer-panel { transform: translateX(0); }

@media (prefers-reduced-motion: reduce) {
	.hk-drawer-scrim,
	.hk-drawer-panel { transition: none; }
}

.hk-drawer-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 16px var(--hk-gutter);
	border-bottom: 1px solid var(--hk-line);
}

.hk-drawer-title {
	font-size: 12px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hk-ink-soft, #7a6a5d);
}

.hk-drawer-close {
	width: 44px;
	height: 44px;
	margin-right: -10px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hk-ink);
	cursor: pointer;
}

.hk-drawer-body {
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	overscroll-behavior: contain; /* Stop the page behind scrolling at the ends. */
	padding: 14px var(--hk-gutter) 18px;
}

.hk-drawer-search {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	padding: 0 12px;
	border: 1px solid var(--hk-line-2);
	border-radius: 999px;
	background: var(--hk-cream-2);
	color: var(--hk-ink-soft, #7a6a5d);
}

.hk-drawer-search input[type="search"] {
	flex: 1 1 auto;
	min-width: 0;
	border: 0;
	background: transparent;
	/* 16px min, or iOS Safari zooms the whole page when the field is focused. */
	font-size: 16px;
	padding: 12px 0;
	color: var(--hk-ink);
}

.hk-drawer-search input[type="search"]:focus { outline: none; }
.hk-drawer-search:focus-within { border-color: var(--hk-accent); }

.hk-drawer-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 0; }

.hk-drawer-item {
	position: relative;
	display: flex;
	align-items: center;
	border-bottom: 1px dashed var(--hk-dash);
}

.hk-drawer-item > a {
	flex: 1 1 auto;
	display: block;
	/* 52px of height: comfortably above the ~44px minimum touch target. */
	padding: 15px 0;
	color: var(--hk-ink);
	font-size: 17px;
	text-decoration: none;
}

.hk-drawer-item.is-current > a { color: var(--hk-accent); }

.hk-drawer-toggle {
	flex: 0 0 auto;
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--hk-ink-soft, #7a6a5d);
	cursor: pointer;
}

.hk-drawer-toggle svg { transition: transform 0.2s ease; }
.hk-drawer-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }

.hk-drawer-sub {
	margin: 0;
	padding: 0 0 8px 14px;
	list-style: none;
	grid-column: 1 / -1;
	width: 100%;
}

.hk-drawer-sub[hidden] { display: none; }

.hk-drawer-item.is-child { border-bottom: 0; }

.hk-drawer-item.is-child > a {
	padding: 11px 0;
	font-size: 15.5px;
	color: var(--hk-ink-soft, #7a6a5d);
}

/* has-children wraps so its submenu can sit on a second line. */
.hk-drawer-item.has-children { flex-wrap: wrap; }

.hk-drawer-foot {
	display: grid;
	gap: 8px;
	padding: 14px var(--hk-gutter);
	/* Keep the CTA clear of the iOS home indicator. */
	padding-bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	border-top: 1px solid var(--hk-line);
	background: var(--hk-cream-2);
}

.hk-drawer-cta {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	padding: 14px 18px;
	border-radius: 999px;
	background: var(--hk-accent);
	color: var(--hk-cream);
	font-size: 15px;
	letter-spacing: 0.04em;
	text-decoration: none;
}

.hk-drawer-help {
	text-align: center;
	padding: 6px;
	color: var(--hk-ink-soft, #7a6a5d);
	font-size: 14px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* The header badge is absolutely positioned; inside the CTA it sits inline. */
.hk-drawer-cta .hk-cart-badge {
	position: static;
	transform: none;
	margin-left: 2px;
}

/* Minimal checkout chrome. */
.hk-header-min { border-bottom: 1px solid var(--hk-line); background: var(--hk-cream); }

.hk-header-min-inner {
	/*
	 * The same container as everything else, not a hardcoded 1200px.
	 *
	 * .hk-wrap and .hk-header-inner both use --hk-max (1280px), so an 80px
	 * narrower rail here pushed the checkout logo 40px right of the breadcrumb
	 * and heading directly beneath it — visibly indented on any screen wide
	 * enough for the cap to bite. Sharing the variable means the logo cannot
	 * drift from the page content again if the container width is ever retuned.
	 */
	max-width: var(--hk-max);
	margin: 0 auto;
	padding: 16px var(--hk-gutter);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
}

.hk-steps {
	display: flex;
	align-items: center;
	gap: 14px;
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hk-muted);
}

.hk-steps .is-current { color: var(--hk-accent); }
.hk-steps-sep { color: var(--hk-tan); }

/* ====================================================== breadcrumbs */

.hk-crumbs {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hk-muted);
}

.hk-crumbs .hk-crumb { color: var(--hk-muted); }
.hk-crumbs .hk-crumb:hover { color: var(--hk-accent); }
.hk-crumbs .hk-crumb.is-current { color: var(--hk-accent); }
.hk-crumb-sep { margin: 0 8px; color: var(--hk-tan); }

/* ============================================================ seal */

.hk-seal {
	position: relative;
	border-radius: 999px;
	background: var(--hk-ink);
	color: var(--hk-cream-2);
	display: grid;
	place-items: center;
	box-shadow: 0 16px 32px rgba(46, 36, 29, 0.24);
	flex-shrink: 0;
}

.hk-seal-spin { position: absolute; inset: 0; animation: hk-spin 22s linear infinite; }
.hk-seal-spin svg { width: 100%; height: 100%; }

.hk-seal-spin text {
	fill: #E8D9C2;
	font-family: var(--hk-sans);
	font-size: 10.5px;
	letter-spacing: 3.2px;
}

.hk-seal-mark { font-family: var(--hk-serif); font-style: italic; font-size: 27px; color: var(--hk-cream); }

/* ========================================================= dot list */

.hk-dots { display: flex; flex-direction: column; gap: 10px; }
.hk-dot-row { display: flex; gap: 10px; align-items: flex-start; }

.hk-dot {
	width: 6px;
	height: 6px;
	border-radius: 999px;
	background: var(--hk-accent);
	margin-top: 8px;
	flex-shrink: 0;
}

.hk-dot-text { font-size: 14.5px; line-height: 1.55; color: var(--hk-body); }

.hk-stars { color: var(--hk-gold); letter-spacing: 3px; font-size: 15px; }

/* ====================================================== stats strip */

.hk-stats {
	display: flex;
	gap: 38px;
	margin-top: 46px;
	padding-top: 26px;
	border-top: 1px dashed var(--hk-dash);
	flex-wrap: wrap;
	/*
	 * Bottom-aligned, so a stat with no figure above it still shares a baseline
	 * with the ones that have. Without this, "Hand Crafted with Perfection" rode
	 * up level with the big numbers beside it and read as a dropped element.
	 */
	align-items: flex-end;
}

/*
 * A label-only stat. Given the label's own size rather than the serif figure
 * size: a whole phrase set at 30px would outweigh the numbers it stands next to
 * and stop the row reading as one set of three.
 */
.hk-stat.is-plain .hk-stat-label {
	margin-top: 0;
	/*
	 * Wrap the phrase rather than let it widen the row.
	 * Unconstrained it measured 233px on one line, which took the strip over its
	 * 614px and bumped the star rating onto a second row — three tidy columns
	 * became a ragged stack. Wrapping to two lines keeps all three abreast, and
	 * flex-end above keeps the extra line growing upward off a shared baseline.
	 */
	max-width: 11em;
}

.hk-stat-value { font-family: var(--hk-serif); font-size: 30px; line-height: 1; }

.hk-stat-label {
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--hk-muted);
	margin-top: 6px;
}

.hk-stats-sm { gap: 30px; margin-top: 30px; padding-top: 22px; }
.hk-stats-sm .hk-stat-value { font-size: 27px; }
.hk-stats-sm .hk-stat-label { font-size: 12.5px; margin-top: 5px; }

/* ========================================================= homepage */

.hk-hero { position: relative; padding: 76px var(--hk-gutter) 60px; }

.hk-hero-inner {
	position: relative;
	max-width: var(--hk-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	gap: 64px;
	align-items: center;
}

.hk-hero-copy { animation: hk-rise 0.7s ease both; }

.hk-badge {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 7px 16px 7px 12px;
	border: 1px solid var(--hk-line-2);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.6);
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hk-muted-2);
}

.hk-badge-dot { width: 7px; height: 7px; border-radius: 999px; background: var(--hk-accent); }

.hk-hero .hk-h1 { margin-top: 26px; }
.hk-hero-sub { font-size: 19px; line-height: 1.65; color: var(--hk-body); max-width: 480px; margin: 24px 0 0; }
.hk-cta-row { display: flex; gap: 14px; margin-top: 34px; flex-wrap: wrap; }

.hk-hero-art { position: relative; height: 640px; }

.hk-hero-arch {
	position: absolute;
	top: 0;
	right: 0;
	width: 74%;
	height: 78%;
	border-radius: 260px 260px 24px 24px;
	overflow: hidden;
	box-shadow: 0 34px 70px rgba(46, 36, 29, 0.18);
}

.hk-hero-inset {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 50%;
	height: 46%;
	border-radius: 20px;
	overflow: hidden;
	border: 8px solid var(--hk-cream);
	box-shadow: 0 24px 46px rgba(46, 36, 29, 0.16);
}

.hk-hero-art .hk-seal { position: absolute; left: 44%; bottom: 12%; }

/* Split art used on the category and contact headers. */
.hk-split-art { position: relative; height: 360px; }

.hk-split-art .hk-split-main {
	position: absolute;
	top: 0;
	right: 5%;
	width: 63%;
	height: 100%;
	border-radius: 205px 205px 20px 20px;
	overflow: hidden;
	box-shadow: 0 28px 56px rgba(46, 36, 29, 0.18);
}

.hk-split-art .hk-split-inset {
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 46%;
	height: 57%;
	border-radius: 18px;
	overflow: hidden;
	border: 8px solid var(--hk-cream);
	box-shadow: 0 20px 40px rgba(46, 36, 29, 0.16);
}

.hk-split-art .hk-seal { position: absolute; right: 0; bottom: 3%; }

/* ========================================================== marquee */

.hk-marquee {
	border-top: 1px solid var(--hk-line);
	border-bottom: 1px solid var(--hk-line);
	background: var(--hk-cream-2);
	overflow: hidden;
	padding: 15px 0;
}

.hk-marquee-track {
	display: flex;
	width: max-content;
	animation-name: hk-marquee;
	animation-timing-function: linear;
	animation-iteration-count: infinite;
	font-family: var(--hk-serif);
	font-size: 23px;
	color: var(--hk-muted);
}

.hk-marquee-set { display: flex; gap: 44px; padding-right: 44px; }
.hk-marquee-accent { font-style: italic; color: var(--hk-accent); }
.hk-marquee-star { color: var(--hk-tan); }

/* ====================================================== collections */

.hk-collections { padding-bottom: 20px; }

.hk-collection-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-top: 46px;
}

.hk-collection-card {
	position: relative;
	display: block;
	border-radius: 18px;
	overflow: hidden;
	aspect-ratio: 3 / 4.1;
	transition: transform 0.25s ease;
}

.hk-collection-card.is-offset { margin-top: 34px; }
.hk-collection-card:hover { transform: translateY(-6px); }

.hk-collection-scrim {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(38, 28, 22, 0.72) 0%, rgba(38, 28, 22, 0.05) 52%);
}

.hk-collection-meta {
	position: absolute;
	left: 20px;
	right: 20px;
	bottom: 18px;
	color: var(--hk-cream);
	display: block;
}

.hk-collection-title { display: block; font-family: var(--hk-serif); font-size: 27px; line-height: 1.1; }

.hk-collection-count {
	display: block;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	opacity: 0.82;
	margin-top: 4px;
}

/* ===================================================== product grid */

.hk-products {
	display: grid;
	grid-template-columns: repeat(var(--hk-cols, 3), minmax(0, 1fr));
	gap: 36px 26px;
	margin-top: 34px;
	list-style: none;
	padding: 0;
}

.hk-product { display: flex; flex-direction: column; }

.hk-product-media {
	position: relative;
	display: block;
	border-radius: var(--hk-r-md);
	overflow: hidden;
	background: var(--hk-cream-2);
	/*
	 * 1:1, because that is what the catalogue actually is: of 43 product
	 * photos, 27 are square and only 2 are the 4:5 the design assumed. A
	 * square frame lets the majority fill it with no crop at all, and gives
	 * the tall and landscape minority an even centre crop instead of the
	 * top-anchored clipping and empty gaps they had before.
	 */
	aspect-ratio: 1 / 1;
}

.hk-product-badge {
	position: absolute;
	top: 14px;
	left: 14px;
	padding: 6px 12px;
	border-radius: 999px;
	background: var(--hk-cream);
	font-size: 11px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hk-accent);
}

.hk-product-row {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	align-items: baseline;
	margin-top: 16px;
}

.hk-product-title {
	font-family: var(--hk-serif);
	font-size: 21px;
	line-height: 1.2;
	color: var(--hk-ink);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.hk-product-title:hover { color: var(--hk-accent); }
.hk-product-price { font-size: 17px; color: var(--hk-body); white-space: nowrap; }
.hk-product-price del { opacity: 0.55; margin-right: 6px; }
.hk-product-price ins { text-decoration: none; color: var(--hk-accent); }
.hk-product-meta { font-size: 13.5px; color: var(--hk-muted); margin: 6px 0 14px; }
.hk-product-action { margin-top: auto; }

/*
 * PARENT / WooCommerce — the loop add-to-cart output is used as rendered so
 * behaviour stays correct; only its appearance is changed here.
 */
body.hk .hk-product-action .button,
body.hk .hk-product-action .added_to_cart {
	display: block;
	width: 100%;
	padding: 12px 18px;
	border-radius: 999px;
	border: 1px solid var(--hk-dash);
	background: transparent;
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

body.hk .hk-product-action .button:hover,
body.hk .hk-product-action .added_to_cart:hover {
	background: var(--hk-ink);
	color: var(--hk-cream);
	border-color: var(--hk-ink);
}

body.hk .hk-product-action .added_to_cart { margin-top: 8px; border-style: dashed; }
body.hk .hk-product-action .button.loading { opacity: 0.6; pointer-events: none; }

.hk-product .star-rating { color: var(--hk-gold); font-size: 13px; }

/* ================================================= archive / shop */

.hk-archive-head { position: relative; padding: 54px var(--hk-gutter) 44px; border-bottom: 1px solid var(--hk-line); }

.hk-archive-head-inner {
	position: relative;
	max-width: var(--hk-max);
	margin: 0 auto;
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.hk-archive-body {
	max-width: var(--hk-max);
	margin: 0 auto;
	padding: 36px var(--hk-gutter) 96px;
	display: grid;
	grid-template-columns: 250px minmax(0, 1fr);
	gap: 48px;
	align-items: start;
}

.hk-archive-body.is-full { grid-template-columns: minmax(0, 1fr); }

.hk-sidebar { position: sticky; top: 96px; display: flex; flex-direction: column; gap: 30px; min-width: 0; }

.hk-sidebar-title {
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--hk-muted);
	padding-bottom: 12px;
	border-bottom: 1px dashed var(--hk-dash);
}

.hk-facets { display: flex; flex-direction: column; gap: 2px; margin-top: 12px; }

.hk-facet {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	width: 100%;
	padding: 11px 14px;
	border: 0;
	border-radius: 10px;
	background: transparent;
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	font-size: 15px;
	text-align: left;
	cursor: pointer;
}

.hk-facet:hover { background: var(--hk-cream-2); }
.hk-facet.is-active { background: var(--hk-pill); color: var(--hk-accent); }
.hk-facet-count { color: var(--hk-soft); font-size: 13px; }

.hk-promo { border-radius: 18px; background: var(--hk-cream-2); padding: 24px 22px; }
.hk-promo-title { font-family: var(--hk-serif); font-size: 24px; line-height: 1.15; }
.hk-promo-text { font-size: 14.5px; line-height: 1.6; color: var(--hk-body); margin: 10px 0 16px; }

.hk-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	padding-bottom: 18px;
	border-bottom: 1px dashed var(--hk-dash);
}

.hk-count { font-size: 15px; color: var(--hk-body); }
.hk-count strong { color: var(--hk-ink); font-weight: 400; }

.hk-sort { display: flex; align-items: center; gap: 12px; }

.hk-sort-label {
	font-size: 13px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--hk-muted);
}

body.hk .hk-sort select {
	appearance: none;
	padding: 11px 38px 11px 18px;
	border-radius: 999px;
	border: 1px solid var(--hk-dash);
	background: var(--hk-cream);
	font-family: var(--hk-sans);
	font-size: 14.5px;
	color: var(--hk-ink);
	cursor: pointer;
	background-image: linear-gradient(45deg, transparent 50%, var(--hk-body) 50%),
		linear-gradient(135deg, var(--hk-body) 50%, transparent 50%);
	background-position: calc(100% - 20px) calc(50% + 2px), calc(100% - 15px) calc(50% + 2px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
}

.hk-archive-foot {
	margin-top: 56px;
	padding-top: 26px;
	border-top: 1px dashed var(--hk-dash);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 14.5px;
	color: var(--hk-muted);
}

.hk-empty { text-align: center; padding: 80px 20px; }
.hk-empty-title { font-family: var(--hk-serif); font-size: 32px; }
.hk-empty-text { font-size: 16px; color: var(--hk-body); margin: 10px 0 22px; }

/* PARENT — load-more button injected by the parent's archive JS. */
body.hk .hcs-load-more { margin-top: 40px; text-align: center; }

body.hk .hcs-load-more__btn {
	padding: 15px 30px;
	border-radius: 999px;
	border: 1px solid var(--hk-ink);
	background: transparent;
	color: var(--hk-ink);
	font-family: var(--hk-sans);
	font-size: 15px;
	cursor: pointer;
}

body.hk .hcs-load-more__btn:hover { background: var(--hk-ink); color: var(--hk-cream); }
body.hk .hcs-load-more__end { font-size: 14.5px; color: var(--hk-muted); }

/* ============================================== why / numbered grid */

.hk-num-grid {
	display: grid;
	grid-template-columns: repeat(var(--hk-num-cols, 4), minmax(0, 1fr));
	margin-top: 52px;
	border-top: 1px dashed var(--hk-dash);
}

.hk-num-item { padding: 32px 28px 8px; border-right: 1px dashed var(--hk-dash); }
.hk-num-item:first-child { padding-left: 0; }
.hk-num-item:last-child { padding-right: 0; border-right: 0; }
.hk-num { font-family: var(--hk-serif); font-size: 20px; color: var(--hk-tan); }
.hk-num-title { font-family: var(--hk-serif); font-size: 27px; margin-top: 10px; }
.hk-num-text { font-size: 15.5px; line-height: 1.6; color: var(--hk-body); margin: 10px 0 0; }

/* ===================================================== testimonials */

.hk-dark {
	background: var(--hk-ink);
	color: var(--hk-cream-2);
	padding: 96px var(--hk-gutter);
	margin-top: 110px;
}

.hk-dark-inner { max-width: var(--hk-max); margin: 0 auto; }
.hk-dark-note { font-size: 15px; color: #C0AE97; max-width: 300px; margin: 0; }

.hk-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 48px; }

.hk-review {
	background: var(--hk-ink-2);
	border-radius: 20px;
	padding: 34px 32px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
}

.hk-review-quote {
	font-family: var(--hk-serif);
	font-size: 22px;
	line-height: 1.4;
	color: var(--hk-cream-2);
	margin: 0;
	text-wrap: pretty;
}

.hk-review-by { display: flex; align-items: center; gap: 12px; margin-top: auto; }

.hk-avatar {
	width: 38px;
	height: 38px;
	border-radius: 999px;
	display: grid;
	place-items: center;
	font-size: 15px;
	flex-shrink: 0;
}

.hk-avatar-a { background: var(--hk-accent); color: var(--hk-cream); }
.hk-avatar-b { background: var(--hk-sage); color: var(--hk-cream); }
.hk-avatar-c { background: #C99B6A; color: var(--hk-ink); }
.hk-review-name { display: block; font-size: 15px; }
.hk-review-place { display: block; font-size: 13px; color: #A9967F; }

/* =========================================================== split */

.hk-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.hk-split-media { border-radius: var(--hk-r-xl); overflow: hidden; min-height: 380px; position: relative; }

.hk-split-panel {
	border-radius: var(--hk-r-xl);
	background: var(--hk-cream-2);
	padding: 60px 54px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hk-split-text { font-size: 17px; line-height: 1.65; color: var(--hk-body); margin: 18px 0 0; }

/* ========================================================== footer */

.hk-footer { background: var(--hk-cream-2); border-top: 1px solid var(--hk-line); padding: 66px var(--hk-gutter) 30px; }

.hk-footer-inner {
	max-width: var(--hk-max);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 40px;
}

.hk-footer-logo { width: auto; display: block; }

.hk-footer-tagline {
	font-family: var(--hk-serif);
	font-style: italic;
	font-size: 21px;
	line-height: 1.4;
	color: var(--hk-body);
	margin: 18px 0 0;
	max-width: 260px;
}

.hk-footer-subline { font-size: 14px; color: var(--hk-muted); margin: 8px 0 0; }

.hk-footer-col-title {
	font-size: 13px;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--hk-muted);
	margin-bottom: 15px;
}

.hk-footer-list { display: flex; flex-direction: column; gap: 11px; }
.hk-footer-list a { color: var(--hk-ink); font-size: 15px; }
.hk-footer-list a:hover { color: var(--hk-accent); }

.hk-footer-base {
	max-width: var(--hk-max);
	margin: 46px auto 0;
	padding-top: 22px;
	border-top: 1px dashed var(--hk-dash);
	display: flex;
	justify-content: space-between;
	gap: 20px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: var(--hk-muted);
}

.hk-footer-min { background: var(--hk-cream-2); border-top: 1px solid var(--hk-line); padding: 40px var(--hk-gutter) 34px; }

.hk-footer-min-inner {
	max-width: 1200px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	flex-wrap: wrap;
	font-size: 13.5px;
	color: var(--hk-muted);
}

.hk-footer-min-links { display: flex; gap: 22px; flex-wrap: wrap; }
.hk-footer-min-links a { color: var(--hk-body); }
.hk-footer-min-links a:hover { color: var(--hk-accent); }

/* ==================================================== float + toast */

.hk-float {
	position: fixed;
	right: 26px;
	bottom: 26px;
	z-index: 60;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 13px 20px;
	border-radius: 999px;
	background: var(--hk-ink);
	color: var(--hk-cream);
	font-size: 15px;
	box-shadow: 0 14px 30px rgba(46, 36, 29, 0.28);
}

.hk-float:hover { background: var(--hk-accent); color: var(--hk-cream); }

.hk-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	transform: translateX(-50%);
	z-index: 70;
	padding: 13px 26px;
	border-radius: 999px;
	background: var(--hk-accent);
	color: var(--hk-cream);
	font-family: var(--hk-sans);
	font-size: 15px;
	letter-spacing: 0.04em;
	box-shadow: 0 14px 30px rgba(180, 85, 47, 0.3);
	animation: hk-rise 0.25s ease both;
}

.hk-toast.is-out { opacity: 0; transition: opacity 0.26s ease; }

/* ================================================== responsive ====
 * Added here — the source comps were drawn desktop-only.
 */

@media (max-width: 1180px) {
	.hk-nav-list { gap: 20px; font-size: 14px; }
	.hk-hero-art { height: 540px; }
	.hk-split-panel { padding: 48px 40px; }
	.hk-archive-body { grid-template-columns: 220px minmax(0, 1fr); gap: 34px; }
}

@media (max-width: 1024px) {
	.hk, body.hk { --hk-gutter: 24px; }

	.hk-nav { display: none; }
	/* .hk-nav carried the margin-left:auto that pushed the actions right. */
	.hk-header-actions { margin-left: auto; }
	.hk-burger { display: grid; }

	.hk-hero-inner { grid-template-columns: 1fr; gap: 44px; }

	.hk-hero-art {
		height: auto;
		display: grid;
		grid-template-columns: 1.2fr 1fr;
		gap: 16px;
		align-items: end;
	}

	.hk-hero-arch,
	.hk-hero-inset {
		position: static;
		width: auto;
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.hk-hero-inset { aspect-ratio: 1 / 1; border-width: 6px; }
	.hk-hero-art .hk-seal { display: none; }

	.hk-split-art { height: auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 14px; align-items: end; }

	.hk-split-art .hk-split-main,
	.hk-split-art .hk-split-inset {
		position: static;
		width: auto;
		height: auto;
		aspect-ratio: 3 / 4;
	}

	.hk-split-art .hk-split-inset { aspect-ratio: 1 / 1; border-width: 6px; }
	.hk-split-art .hk-seal { display: none; }

	.hk-collection-grid { grid-template-columns: repeat(2, 1fr); }
	.hk-products { --hk-cols: 2 !important; }
	.hk-num-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.hk-num-item { padding: 28px 24px; border-bottom: 1px dashed var(--hk-dash); }
	.hk-num-item:nth-child(2n) { padding-right: 0; border-right: 0; }
	.hk-num-item:nth-child(2n + 1) { padding-left: 0; }
	.hk-review-grid { grid-template-columns: 1fr; }
	.hk-split { grid-template-columns: 1fr; }
	/*
	 * min-height REMOVED, not reduced.
	 *
	 * 260px alongside aspect-ratio: 16/10 was a contradiction the box resolved by
	 * growing sideways: height clamped up to 260, the ratio then demanded a width
	 * of 416px, and because a grid item does not shrink below min-width: auto it
	 * overflowed the 342px column and ran off the right of the screen, cutting its
	 * own rounded corner. The ratio alone gives 342x257 — the height that was
	 * wanted, without the fight.
	 *
	 * 4/3 rather than 16/10 because the source photos here are portrait; a
	 * letterbox crop of a tall image is nearly all background.
	 */
	.hk-split-media { min-height: 0; aspect-ratio: 4 / 3; }

	/*
	 * Make the image actually fill its frame.
	 *
	 * `body.hk img { height: auto }` (0,1,1) outscores `.hk-cover { height: 100% }`
	 * (0,1,0), so the image kept
	 * its natural height — 440px inside a 257px frame — and the frame's
	 * overflow: hidden clipped it from the TOP, leaving a blurred backdrop on
	 * screen and the flowers sliced off at the bottom edge.
	 *
	 * object-position favours the lower part of the frame because that is where
	 * the subject sits in these photographs; the top is out-of-focus backdrop.
	 */
	.hk-split-media img {
		/*
		 * The RATIO lives on the image, not on percentages.
		 *
		 * height: 100% never resolved here — the frame's height comes from its
		 * own aspect-ratio, which Chrome treats as indefinite for percentage
		 * resolution, so the declaration was dropped (width: 100% resolved
		 * fine; height silently fell back to the natural 440px and the frame
		 * clipped the subject off the bottom). Giving the image the ratio and
		 * letting height stay auto sidesteps percentages altogether.
		 *
		 * object-position favours the lower part of the frame: in these photos
		 * the subject sits low and the top is out-of-focus backdrop.
		 */
		width: 100%;
		height: auto;
		aspect-ratio: 4 / 3;
		object-fit: cover;
		object-position: center 70%;
	}
	.hk-footer-inner { grid-template-columns: 1fr 1fr; gap: 34px; }

	.hk-archive-body { grid-template-columns: minmax(0, 1fr); }
	.hk-sidebar { position: static; flex-direction: row; flex-wrap: wrap; gap: 20px; }
	.hk-sidebar > * { flex: 1 1 240px; }
}

@media (max-width: 720px) {
	.hk-announce { gap: 14px; font-size: 11.5px; letter-spacing: 0.06em; }
	.hk-announce-sep { display: none; }

	.hk-hero { padding-top: 48px; padding-bottom: 40px; }
	.hk-section { padding-top: 64px; }
	.hk-dark { margin-top: 64px; padding-top: 64px; padding-bottom: 64px; }
	.hk-archive-head { padding-top: 34px; padding-bottom: 30px; }
	.hk-archive-body { padding-top: 26px; padding-bottom: 64px; }

	.hk-hero-sub { font-size: 17px; }
	.hk-btn { padding: 14px 24px; font-size: 15px; }
	.hk-stats { gap: 24px; margin-top: 34px; }

	.hk-collection-grid { gap: 14px; }
	.hk-collection-card.is-offset { margin-top: 0; }
	.hk-collection-title { font-size: 22px; }

	.hk-products { --hk-cols: 1 !important; gap: 30px; }
	.hk-num-grid { grid-template-columns: 1fr; }
	.hk-num-item,
	.hk-num-item:nth-child(2n) { padding: 24px 0; border-right: 0; }

	.hk-split-panel { padding: 36px 26px; }
	.hk-review { padding: 28px 24px; }
	.hk-review-quote { font-size: 20px; }
	.hk-grid-2 { grid-template-columns: 1fr; }
	.hk-span-2 { grid-column: auto; }
	.hk-footer-inner { grid-template-columns: 1fr; gap: 30px; }
	.hk-footer-base { margin-top: 32px; }
	.hk-float { right: 16px; bottom: 16px; padding: 12px 16px; font-size: 14px; }
	.hk-sidebar { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
	.hk-marquee-track,
	.hk-seal-spin,
	.hk-hero-copy {
		animation: none !important;
	}

	.hk-collection-card:hover { transform: none; }
}
