/*
Theme Name: HALDEN
Theme URI: https://halden.akucreative.com
Author: AKU Creative
Author URI: https://akucreative.com
Description: A quiet, editorial fashion store theme for WooCommerce and free Elementor. A lookbook-split hero with a fabric-curtain reveal, product cards that swap to an on-model photo, a sticky "how it is made" story, a shop-the-look image with hotspots and a woven care-label footer that holds the newsletter. Five colour presets with a live "Try colours" switcher, two-font picker, one-click demo import and a layout made for phones first.
Version: 1.0.0
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: halden
Tags: e-commerce, blog, one-column, grid-layout, custom-logo, custom-menu, featured-images, full-width-template, theme-options, translation-ready, wide-blocks
*/

/* ------------------------------------------------------------------ Tokens */
:root {
	--hd-bg: #f3eee6;
	--hd-surface: #fbf8f3;
	--hd-ink: #1e1b18;
	--hd-accent: #b0553a;
	--hd-accent-2: #6e7b5b;
	--hd-on-accent: #fff;
	--hd-muted: color-mix(in srgb, var(--hd-ink) 64%, var(--hd-bg));
	--hd-line: color-mix(in srgb, var(--hd-ink) 16%, transparent);
	--hd-tint: color-mix(in srgb, var(--hd-ink) 6%, var(--hd-bg));
	--hd-display: "Bodoni Moda", "Didot", Georgia, serif;
	--hd-text: "Jost", "Futura", "Helvetica Neue", Arial, sans-serif;
	--hd-wrap: 1440px;
	--hd-gutter: clamp(18px, 4vw, 56px);
	--hd-ease: cubic-bezier(.22, .61, .21, 1);
	--hd-ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--hd-slow: 1.1s;
	--hd-fs-hero: clamp(2.7rem, 1.4rem + 5.2vw, 6.4rem);
	--hd-fs-h2: clamp(2rem, 1.3rem + 2.6vw, 3.6rem);
	--hd-fs-h3: clamp(1.35rem, 1.1rem + .9vw, 1.9rem);
	--hd-fs-body: clamp(1rem, .96rem + .2vw, 1.0625rem);
	--hd-fs-small: .8125rem;
	--hd-header: 76px;
}
:root[data-preset="sage"] { --hd-bg: #ecefe7; --hd-surface: #f7f8f3; --hd-ink: #1f2a22; --hd-accent: #2f4a3a; --hd-accent-2: #c0703f; }
:root[data-preset="blush"] { --hd-bg: #f6ece8; --hd-surface: #fcf6f3; --hd-ink: #2b1a1f; --hd-accent: #8e3b4f; --hd-accent-2: #c98977; }
:root[data-preset="coast"] { --hd-bg: #eef1f3; --hd-surface: #f8fafb; --hd-ink: #18222d; --hd-accent: #1f3a5a; --hd-accent-2: #b8862f; }
:root[data-preset="noir"] { --hd-bg: #1b1916; --hd-surface: #24211d; --hd-ink: #f1ebe2; --hd-accent: #d8b98a; --hd-accent-2: #9aa585; --hd-on-accent: #1b1916; color-scheme: dark; }

/* ------------------------------------------------------------------ Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
body {
	margin: 0;
	background: var(--hd-bg);
	color: var(--hd-ink);
	font-family: var(--hd-text);
	font-size: var(--hd-fs-body);
	font-weight: 400;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	transition: background-color .6s var(--hd-ease), color .6s var(--hd-ease);
	overflow-x: clip;
}
img, video, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
a:hover { color: var(--hd-accent); }
:focus-visible { outline: 2px solid var(--hd-accent); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--hd-display); font-weight: 400; line-height: 1.06; letter-spacing: -.01em; margin: 0 0 .5em; text-wrap: balance; }
h1 em, h2 em, h3 em, .hd-italic { font-style: italic; color: var(--hd-accent); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
::selection { background: var(--hd-accent); color: var(--hd-on-accent); }
.screen-reader-text { border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute !important; width: 1px; word-wrap: normal !important; }
.skip-link:focus { clip: auto; clip-path: none; height: auto; width: auto; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: var(--hd-ink); color: var(--hd-bg); }
.hd-wrap { width: 100%; max-width: var(--hd-wrap); margin: 0 auto; padding: 0 var(--hd-gutter); }
.hd-kicker { font-size: var(--hd-fs-small); letter-spacing: .22em; text-transform: uppercase; color: var(--hd-muted); margin: 0 0 1.1em; display: inline-block; }
.hd-lead { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--hd-muted); max-width: 46ch; font-weight: 300; }
.hd-icon { width: 22px; height: 22px; flex: none; }

/* ------------------------------------------------------------------ Buttons */
.hd-btn, .hd-btn .elementor-button, .aku-form__submit, .aku-newsletter button, .woocommerce .button, .woocommerce button.button, .woocommerce a.button, .wp-block-button__link {
	display: inline-flex; align-items: center; justify-content: center; gap: .7em;
	min-height: 50px; padding: 0 30px;
	background: var(--hd-ink); color: var(--hd-bg);
	border: 1px solid var(--hd-ink); border-radius: 0;
	font-family: var(--hd-text); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; text-decoration: none;
	cursor: pointer; position: relative; overflow: hidden; isolation: isolate;
	transition: color .5s var(--hd-ease), border-color .5s var(--hd-ease);
}
.hd-btn .elementor-button { min-height: 0; padding: 0; border: 0; background: none; color: inherit; overflow: visible; }
.hd-btn::before, .aku-form__submit::before, .aku-newsletter button::before, .woocommerce .button::before {
	content: ""; position: absolute; inset: 0; z-index: -1;
	background: var(--hd-accent);
	transform: scaleY(0); transform-origin: 50% 100%;
	transition: transform .55s var(--hd-ease);
}
.hd-btn:hover, .aku-form__submit:hover, .aku-newsletter button:hover, .woocommerce .button:hover { color: var(--hd-on-accent); border-color: var(--hd-accent); }
.hd-btn:hover .elementor-button { color: var(--hd-on-accent); }
.hd-btn:hover::before, .aku-form__submit:hover::before, .aku-newsletter button:hover::before, .woocommerce .button:hover::before { transform: scaleY(1); }
.hd-btn--line, .hd-btn--line .elementor-button { background: transparent; color: var(--hd-ink); }
.hd-btn--line { border-color: color-mix(in srgb, var(--hd-ink) 40%, transparent); }
.hd-btn--text, .hd-btn--text .elementor-button { background: none; border: 0; padding: 0; min-height: 0; color: var(--hd-ink); }
.hd-btn--text::before { inset: auto 0 -4px; height: 1px; transform: scaleX(.3); transform-origin: 0 50%; background: currentColor; z-index: 0; }
.hd-btn--text:hover::before { transform: scaleX(1); }
.hd-btn--text:hover, .hd-btn--text:hover .elementor-button { color: var(--hd-accent); }

/* ------------------------------------------------------------------ Announcement bar */
.hd-bar { background: var(--hd-ink); color: var(--hd-bg); font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; overflow: hidden; position: relative; z-index: 51; }
.hd-bar__track { display: flex; width: max-content; animation: hd-marquee 42s linear infinite; }
.hd-bar__set { display: flex; margin: 0; padding: 9px 0; }
.hd-bar__set span { padding: 0 2.4em; position: relative; }
.hd-bar__set span::after { content: "✦"; position: absolute; right: -.45em; opacity: .5; font-size: .8em; }
.hd-bar:hover .hd-bar__track { animation-play-state: paused; }
@keyframes hd-marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------------------------ Header */
.hd-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--hd-bg) 0%, transparent); transition: background-color .5s var(--hd-ease), box-shadow .5s var(--hd-ease), transform .6s var(--hd-ease); }
.admin-bar .hd-header { top: 32px; }
.hd-header.is-solid { background: color-mix(in srgb, var(--hd-bg) 92%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--hd-line); }
.hd-header.is-hidden { transform: translateY(-110%); }
.hd-header__inner { max-width: var(--hd-wrap); margin: 0 auto; padding: 0 var(--hd-gutter); height: var(--hd-header); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 24px; }
.hd-nav__list { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(16px, 2.2vw, 34px); }
.hd-nav__list a { text-decoration: none; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; position: relative; padding: 6px 0; }
.hd-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: 100% 50%; transition: transform .5s var(--hd-ease); }
.hd-nav__list a:hover::after, .hd-nav__list .current-menu-item > a::after { transform: scaleX(1); transform-origin: 0 50%; }
.hd-nav__list a:hover { color: inherit; }
.hd-nav__list .sub-menu { display: none; }
.hd-brand { text-decoration: none; justify-self: center; display: inline-flex; }
.hd-brand:hover { color: inherit; }
.hd-brand__word { font-family: var(--hd-display); font-size: clamp(1.35rem, 1.1rem + .9vw, 1.9rem); letter-spacing: .42em; text-transform: uppercase; padding-left: .42em; line-height: 1; }
.hd-brand img { max-height: 44px; width: auto; }
.hd-header__end { display: flex; justify-content: flex-end; align-items: center; gap: 6px; }
.hd-icon-btn, .hd-cart { width: 44px; height: 44px; display: inline-grid; place-items: center; background: none; border: 0; padding: 0; cursor: pointer; text-decoration: none; position: relative; border-radius: 50%; transition: background-color .3s; }
.hd-icon-btn:hover, .hd-cart:hover { background: var(--hd-tint); color: inherit; }
.hd-cart__count { position: absolute; top: 5px; right: 3px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 9px; background: var(--hd-accent); color: var(--hd-on-accent); font-size: .65rem; line-height: 18px; text-align: center; font-weight: 500; }
.hd-burger { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 0; cursor: pointer; place-items: center; }
.hd-search { border-top: 1px solid var(--hd-line); background: var(--hd-bg); }
.hd-search__form { max-width: 760px; margin: 0 auto; padding: 22px var(--hd-gutter); display: flex; gap: 10px; }
.hd-search__form input { flex: 1; border: 0; border-bottom: 1px solid var(--hd-ink); background: transparent; padding: 10px 0; font-family: var(--hd-display); font-size: 1.6rem; }
.hd-search__form input:focus { outline: none; border-color: var(--hd-accent); }
.hd-search__form button { border: 0; background: none; cursor: pointer; width: 48px; }

/* Drawer (phones) */
.hd-drawer { position: fixed; inset: 0; z-index: 90; background: color-mix(in srgb, var(--hd-ink) 40%, transparent); }
.hd-drawer__panel { position: absolute; inset: 0 auto 0 0; width: min(420px, 88vw); background: var(--hd-bg); padding: 18px 26px 32px; display: flex; flex-direction: column; gap: 28px; animation: hd-drawer-in .55s var(--hd-ease); overflow-y: auto; }
@keyframes hd-drawer-in { from { transform: translateX(-100%); } }
.hd-drawer__head { display: flex; justify-content: space-between; align-items: center; }
.hd-drawer__list { list-style: none; margin: 0; padding: 0; }
.hd-drawer__list li { border-bottom: 1px solid var(--hd-line); }
.hd-drawer__list a { display: block; padding: 16px 0; text-decoration: none; font-family: var(--hd-display); font-size: 1.9rem; line-height: 1.1; }
.hd-drawer__list .sub-menu { list-style: none; padding: 0 0 12px 14px; }
.hd-drawer__list .sub-menu a { font-family: var(--hd-text); font-size: 1rem; padding: 6px 0; }
.hd-drawer__note { margin-top: auto; font-size: var(--hd-fs-small); letter-spacing: .14em; text-transform: uppercase; color: var(--hd-muted); }
body.hd-locked { overflow: hidden; }

@media (max-width: 960px) {
	.hd-nav { display: none; }
	.hd-burger { display: inline-grid; }
	.hd-header__inner { grid-template-columns: auto 1fr auto; gap: 6px; height: 64px; }
	.hd-brand { justify-self: center; }
	.hd-account { display: none; }
	.admin-bar .hd-header { top: 46px; }
}
@media (max-width: 600px) { .admin-bar .hd-header { top: 0; } }

/* ------------------------------------------------------------------ Pages, journal */
.hd-main { min-height: 50vh; }
.hd-page { padding-top: clamp(40px, 6vw, 88px); padding-bottom: clamp(56px, 8vw, 120px); }
.hd-page__head { margin-bottom: clamp(28px, 4vw, 56px); }
.hd-page__title { font-size: var(--hd-fs-h2); }
.hd-page--text .hd-content, .hd-single .hd-content { max-width: 720px; }
.hd-content > * { max-width: 100%; }
.hd-content h2 { font-size: var(--hd-fs-h3); margin-top: 1.6em; }
.hd-content img { margin: 2em 0; }
.hd-content blockquote { margin: 2em 0; padding-left: 1.2em; border-left: 1px solid var(--hd-accent); font-family: var(--hd-display); font-size: 1.5rem; line-height: 1.3; font-style: italic; }
.hd-single { padding-top: clamp(40px, 6vw, 88px); padding-bottom: 96px; }
.hd-single__head { max-width: 880px; margin-bottom: 40px; }
.hd-single__media { margin: 0 0 48px; aspect-ratio: 16 / 9; overflow: hidden; }
.hd-single__media img { width: 100%; height: 100%; object-fit: cover; }
.hd-single__nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--hd-line); font-size: .9rem; }
.hd-meta, .aku-posts__meta { display: flex; gap: 14px; font-size: var(--hd-fs-small); letter-spacing: .14em; text-transform: uppercase; color: var(--hd-muted); margin: 0 0 .8em; }
.hd-meta span, .aku-posts__meta span { color: var(--hd-accent); }
.hd-posts, .aku-posts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.hd-post-card__media, .aku-posts__media { display: block; aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 18px; background: var(--hd-tint); }
.hd-post-card__media img, .aku-posts__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--hd-ease); }
.hd-post-card:hover img, .aku-posts__item:hover img { transform: scale(1.05); }
.hd-post-card__title, .aku-posts__title { font-size: var(--hd-fs-h3); margin: 0 0 .4em; }
.hd-post-card__title a, .aku-posts__title a { text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .6s var(--hd-ease); }
.hd-post-card__title a:hover, .aku-posts__title a:hover { background-size: 100% 1px; color: inherit; }
.hd-post-card__excerpt, .aku-posts__excerpt { color: var(--hd-muted); font-size: .95rem; margin: 0; }
.hd-404 { padding: clamp(80px, 14vw, 200px) var(--hd-gutter); text-align: center; }
.hd-404 .hd-lead { margin: 0 auto 2em; }
.nav-links { display: flex; gap: 8px; margin-top: 48px; }
.nav-links .page-numbers { min-width: 44px; height: 44px; display: inline-grid; place-items: center; border: 1px solid var(--hd-line); text-decoration: none; }
.nav-links .current { background: var(--hd-ink); color: var(--hd-bg); }
@media (max-width: 900px) { .hd-posts, .aku-posts { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .hd-posts, .aku-posts { grid-template-columns: 1fr; } }

/* ------------------------------------------------------------------ Forms */
.aku-form { display: grid; gap: 18px; }
.aku-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.aku-field { margin: 0; display: grid; gap: 6px; }
.aku-field label, .aku-pills legend { font-size: var(--hd-fs-small); letter-spacing: .16em; text-transform: uppercase; color: var(--hd-muted); }
.aku-field input, .aku-field textarea, .comment-form input, .comment-form textarea, .woocommerce form .form-row input.input-text, .woocommerce form .form-row textarea, .woocommerce form .form-row select, .select2-container .select2-selection {
	width: 100%; border: 0; border-bottom: 1px solid color-mix(in srgb, var(--hd-ink) 35%, transparent); background: transparent; padding: 12px 0; border-radius: 0; transition: border-color .3s;
}
.aku-field input:focus, .aku-field textarea:focus { outline: none; border-color: var(--hd-accent); }
.aku-pills { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.aku-pills legend { margin-bottom: 10px; }
.aku-pills label { position: relative; cursor: pointer; }
.aku-pills input { position: absolute; opacity: 0; }
.aku-pills span { display: inline-block; padding: 9px 18px; border: 1px solid var(--hd-line); font-size: .9rem; transition: all .3s var(--hd-ease); }
.aku-pills input:checked + span { background: var(--hd-ink); color: var(--hd-bg); border-color: var(--hd-ink); }
.aku-pills input:focus-visible + span { outline: 2px solid var(--hd-accent); outline-offset: 2px; }
.aku-newsletter { display: flex; flex-wrap: wrap; gap: 0; position: relative; }
.aku-newsletter input[type="email"] { flex: 1 1 220px; min-height: 52px; border: 1px solid color-mix(in srgb, var(--hd-ink) 30%, transparent); border-right: 0; background: var(--hd-surface); padding: 0 18px; border-radius: 0; }
.aku-newsletter input[type="email"]:focus { outline: none; border-color: var(--hd-accent); }
.aku-newsletter button { min-height: 52px; }
.aku-newsletter__note { flex-basis: 100%; margin: 10px 0 0; font-size: .9rem; color: var(--hd-accent); }
@media (max-width: 600px) { .aku-form__row { grid-template-columns: 1fr; } .aku-newsletter input[type="email"] { border-right: 1px solid color-mix(in srgb, var(--hd-ink) 30%, transparent); flex-basis: 100%; } .aku-newsletter button { width: 100%; margin-top: 8px; } }

/* ------------------------------------------------------------------ Footer: care label */
.hd-footer { padding: clamp(72px, 10vw, 140px) 0 28px; background: var(--hd-tint); margin-top: 0; }
.hd-label {
	position: relative; max-width: 760px; margin: 0 auto clamp(64px, 9vw, 120px);
	background: var(--hd-surface); padding: 14px;
	box-shadow: 0 30px 60px -40px color-mix(in srgb, var(--hd-ink) 45%, transparent);
	/* woven texture */
	background-image: repeating-linear-gradient(0deg, color-mix(in srgb, var(--hd-ink) 3%, transparent) 0 1px, transparent 1px 3px), repeating-linear-gradient(90deg, color-mix(in srgb, var(--hd-ink) 2.5%, transparent) 0 1px, transparent 1px 3px);
}
.hd-label::before, .hd-label::after { content: ""; position: absolute; top: 50%; width: 14px; height: 60%; transform: translateY(-50%); background: var(--hd-tint); }
.hd-label::before { left: -7px; clip-path: polygon(0 0, 100% 6%, 100% 94%, 0 100%); }
.hd-label::after { right: -7px; clip-path: polygon(0 6%, 100% 0, 100% 100%, 0 94%); }
.hd-label__tab { position: absolute; left: 50%; top: 0; transform: translate(-50%, -100%); background: var(--hd-accent); color: var(--hd-on-accent); font-family: var(--hd-display); letter-spacing: .4em; text-transform: uppercase; font-size: .8rem; padding: 10px 18px 8px 22px; clip-path: polygon(8% 0, 92% 0, 100% 100%, 0 100%); }
.hd-label__stitch { border: 1.5px dashed color-mix(in srgb, var(--hd-ink) 28%, transparent); padding: clamp(32px, 5vw, 56px) clamp(20px, 5vw, 64px); text-align: center; }
.hd-label__kicker { font-size: var(--hd-fs-small); letter-spacing: .26em; text-transform: uppercase; color: var(--hd-muted); margin-bottom: 14px; }
.hd-label__title { font-size: clamp(1.9rem, 1.3rem + 2.2vw, 3rem); margin-bottom: 26px; }
.hd-label__form { max-width: 520px; margin: 0 auto; }
.hd-label__note { font-size: .85rem; color: var(--hd-muted); margin: 14px 0 26px; }
.hd-label__care { list-style: none; margin: 0 auto; padding: 22px 0 0; border-top: 1px solid var(--hd-line); display: flex; justify-content: center; gap: clamp(14px, 3vw, 30px); color: var(--hd-muted); }
.hd-label__care .hd-icon { width: 30px; height: 30px; transition: transform .6s var(--hd-ease), color .3s; }
.hd-label__care li:hover .hd-icon { transform: translateY(-3px) rotate(-6deg); color: var(--hd-accent); }
.hd-label__fibre { margin: 18px 0 0; font-size: .7rem; letter-spacing: .3em; text-transform: uppercase; color: var(--hd-muted); }
.hd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 64px); padding-bottom: 48px; border-bottom: 1px solid var(--hd-line); }
.hd-brand--footer { justify-self: start; margin-bottom: 18px; }
.hd-footer__about p { color: var(--hd-muted); max-width: 34ch; }
.hd-footer__h { font-family: var(--hd-text); font-size: var(--hd-fs-small); letter-spacing: .22em; text-transform: uppercase; color: var(--hd-muted); font-weight: 500; margin-bottom: 18px; }
.hd-footer__list, .hd-footer__social { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.hd-footer__social { display: flex; gap: 18px; flex-wrap: wrap; }
.hd-footer__list a, .hd-footer__social a, .hd-footer__col a { text-decoration: none; }
.hd-footer__list a:hover, .hd-footer__col a:hover { text-decoration: underline; }
.hd-footer__col p { margin: 0 0 8px; }
.hd-footer__base { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; font-size: var(--hd-fs-small); color: var(--hd-muted); }
.hd-footer__base p { margin: 0; }
.hd-top { text-decoration: none; letter-spacing: .14em; text-transform: uppercase; }
@media (max-width: 900px) { .hd-footer__grid { grid-template-columns: 1fr 1fr; } .hd-footer__about { grid-column: 1 / -1; } }
@media (max-width: 520px) { .hd-label__care { flex-wrap: wrap; } .hd-footer__base { flex-direction: column; } }

/* ------------------------------------------------------------------ Colour switcher */
.hd-switcher { position: fixed; left: 18px; bottom: 18px; z-index: 80; font-size: .8rem; }
.hd-switcher__toggle { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 8px; border: 1px solid var(--hd-line); background: var(--hd-surface); color: var(--hd-ink); cursor: pointer; letter-spacing: .12em; text-transform: uppercase; font-size: .72rem; box-shadow: 0 14px 30px -18px rgba(0, 0, 0, .45); border-radius: 30px; }
.hd-switcher__swatch { width: 30px; height: 30px; border-radius: 50%; background: conic-gradient(var(--hd-accent) 0 50%, var(--hd-accent-2) 0 100%); box-shadow: inset 0 0 0 3px var(--hd-surface); animation: hd-spin 9s linear infinite; }
@keyframes hd-spin { to { transform: rotate(1turn); } }
.hd-switcher__list { position: absolute; left: 0; bottom: 58px; display: grid; gap: 4px; padding: 8px; background: var(--hd-surface); border: 1px solid var(--hd-line); min-width: 190px; box-shadow: 0 24px 40px -24px rgba(0, 0, 0, .45); border-radius: 14px; opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .35s var(--hd-ease); }
.hd-switcher.is-open .hd-switcher__list { opacity: 1; visibility: visible; transform: none; }
.hd-switcher__list button { display: flex; align-items: center; gap: 12px; width: 100%; padding: 9px 10px; border: 0; background: none; cursor: pointer; text-align: left; border-radius: 8px; color: var(--hd-ink); }
.hd-switcher__list button:hover, .hd-switcher__list button[aria-pressed="true"] { background: var(--hd-tint); }
.hd-switcher__dot { width: 26px; height: 26px; border-radius: 50%; flex: none; background: conic-gradient(var(--s-a) 0 50%, var(--s-b) 0 75%, var(--s-bg) 0 100%); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .12); }
.hd-switcher__list button[aria-pressed="true"] .hd-switcher__dot { box-shadow: 0 0 0 2px var(--hd-surface), 0 0 0 3px var(--hd-ink); }

/* ------------------------------------------------------------------ Motion */
.js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--hd-ease), transform 1.2s var(--hd-ease); transition-delay: var(--d, 0s); }
.js [data-reveal].is-in { opacity: 1; transform: none; }
.js [data-reveal="left"] { transform: translateX(-40px); }
.js [data-reveal="right"] { transform: translateX(40px); }
.js [data-reveal="zoom"] { transform: scale(.94); }
.js .hd-curtain { clip-path: inset(0 0 100% 0); transition: clip-path 1.4s var(--hd-ease-in-out); }
.js .hd-curtain.is-in { clip-path: inset(0 0 0 0); }
.hd-split .hd-w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.js .hd-split .hd-w > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--hd-ease); transition-delay: calc(var(--i) * 70ms + var(--d, 0s)); }
.js .hd-split.is-in .hd-w > span { transform: none; }
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
	[data-reveal], .hd-curtain, .hd-split .hd-w > span { opacity: 1; transform: none; clip-path: none; }
	.hd-bar__track { animation: none; }
}
@media (max-width: 782px) { .admin-bar .hd-drawer__panel { padding-top: 64px; } }
