/*
 * Hakleri: what theme.json can't express (BRAND.md sections 3–6). Colours, sizes and shadows are theme.json's presets
 * (--wp--preset--*) and custom values (--wp--custom--*). Block styles are .is-style-<name> (functions.php).
 */

:root {
	--hk-ease: cubic-bezier(0.2, 0, 0, 1);
	--hk-glow-hover: 0 14px 28px -12px rgba(94, 163, 255, 1);
	--hk-dark-muted: var(--wp--preset--color--dark-text-muted);
	--hk-dark-subtle: #9AA5B3;
}

/* ------------------------------------------------------------------ page */

/* the pitch texture under every page, fixed and anchored top left as in the app, so the tile's edge stays below
   most viewports */
body {
	background: var(--wp--preset--color--background) url("../img/background.webp") 0 0 / auto fixed;
	-webkit-font-smoothing: antialiased;
}

/* the page's bands meet without gaps: header, the sections of the content, footer; on a short page the footer stays
   at the bottom of the window */
.wp-site-blocks { display: flex; flex-direction: column; min-height: 100vh; min-height: 100dvh; }
.wp-site-blocks > main { flex: 1 0 auto; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.wp-block-post-content > .alignfull,
main > .alignfull { margin-block-start: 0; margin-block-end: 0; }

/* Archivo's width axis: 100 for headlines, 112 for hero numerals (theme.json has no slot for it) */
h1, h2, .wp-block-post-title { font-variation-settings: "wdth" 100; }

/* ------------------------------------------------------------------ text styles */

.is-style-lead {
	font-size: var(--wp--preset--font-size--lead);
	line-height: 1.55;
	color: var(--wp--preset--color--ink-500);
}

/* Oznaka: the label above a title. Oznaka s točkom adds the pulsing dot that means "now". */
.is-style-eyebrow,
.is-style-eyebrow-live {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	line-height: 1;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-500);
}
.is-style-eyebrow-live::before {
	content: "";
	flex: none;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: currentColor;
	animation: hk-pulse 1.6s ease-in-out infinite;
}
@keyframes hk-pulse {
	0%, 100% { opacity: 1; transform: scale(1); }
	50% { opacity: 0.45; transform: scale(0.7); }
}
:is(.is-style-eyebrow, .is-style-eyebrow-live).has-text-align-center { justify-content: center; }

/* S logotipom: the heading's bold word as the wordmark with the ball (BRAND.md section 2). The ball's diameter is 1.2
   times the h's ascender (0.724em), a tenth of it below the baseline; the mark's file has 10 of 64 units around the
   ball, which the margins take back. */
.is-style-brand strong {
	font-weight: 800;
	font-variation-settings: "wdth" 112;
	letter-spacing: -0.02em;
	white-space: nowrap;
}
.is-style-brand strong::before {
	content: "";
	display: inline-block;
	width: 1.264em;
	height: 1.264em;
	margin: 0 0.02em 0 -0.2em;
	vertical-align: -0.27em;
	background: url("../img/hakleri-mark-plain.svg") center / contain no-repeat;
}
.is-style-floodlit .is-style-brand strong::before { background-image: url("../img/hakleri-mark-inverse.svg"); }

.is-style-step-number {
	font-family: var(--wp--preset--font-family--display);
	font-variation-settings: "wdth" 112;
	font-size: 2.5rem;
	font-weight: 800;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--wp--preset--color--blue);
}

.is-style-price {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 1.75rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

/* lists with the blue dot */
.is-style-checks {
	display: grid;
	gap: var(--wp--preset--spacing--30);
	margin-inline: 0;
	padding: 0;
	list-style: none;
	color: var(--wp--preset--color--ink-500);
}
.is-style-checks li { position: relative; padding-left: 24px; }
.is-style-checks li::before {
	content: "";
	position: absolute;
	left: 2px;
	top: 0.6em;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--wp--preset--color--blue);
}

/* ------------------------------------------------------------------ the floodlit surface (Reflektori) */

/* ink, two blue floodlights, mown-grass stripes, and the pitch drawing in the top right corner at 11 % */
.is-style-floodlit {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	color: #FFFFFF;
	background-color: var(--wp--preset--color--ink);
	background-image: var(--wp--preset--gradient--floodlit);
}
.is-style-floodlit::before {
	content: "";
	position: absolute;
	z-index: -1;
	right: -14%;
	top: -18%;
	width: min(60vw, 720px);
	aspect-ratio: 200 / 130;
	background: url("../img/pitch-lines.svg") center / contain no-repeat;
	opacity: 0.11;
	transform: rotate(-16deg);
	pointer-events: none;
}
.is-style-floodlit :is(.is-style-lead, .wp-block-post-excerpt) { color: var(--hk-dark-muted); }
.is-style-floodlit :is(.is-style-eyebrow, .is-style-eyebrow-live) { color: var(--wp--preset--color--blue-400); }
.is-style-floodlit a:where(:not(.wp-element-button)) { color: var(--wp--preset--color--blue-400); }
.is-style-floodlit code { font-family: var(--wp--preset--font-family--mono); font-size: 0.85em; color: var(--hk-dark-muted); white-space: nowrap; }

/* the opening band of Početna: a ball's lines in the bottom left corner, behind the text */
.hk-hero::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: -140px;
	bottom: -190px;
	width: 460px;
	aspect-ratio: 1;
	background: url("../img/hakleri-mark-inverse.svg") center / contain no-repeat;
	opacity: 0.05;
	transform: rotate(-14deg);
	pointer-events: none;
}

/* the closing band of Početna, the kickoff: the halfway line and the centre circle behind the call */
.is-style-floodlit.hk-kickoff {
	background-image:
		linear-gradient(90deg, transparent calc(50% - 0.5px), rgba(255, 255, 255, 0.09) 0 calc(50% + 0.5px), transparent 0),
		var(--wp--preset--gradient--floodlit);
}
.hk-kickoff::before { display: none; }   /* the corner drawing would be a second pitch */
.hk-kickoff::after {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: min(88vw, 520px);
	aspect-ratio: 1;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(47, 136, 245, 0.2), transparent);
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ------------------------------------------------------------------ Teren: the pitch behind a light section */

/* the pitch drawing in ink at 7 %, centred and wider than the section, so the halfway line and the centre circle sit
   behind the content and the penalty areas run off the sides */
.is-style-pitch {
	position: relative;
	isolation: isolate;
	overflow: hidden;
}
.is-style-pitch::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: max(1500px, 125%);
	aspect-ratio: 200 / 130;
	background: var(--wp--preset--color--ink);
	-webkit-mask: url("../img/pitch-lines.svg") center / contain no-repeat;
	mask: url("../img/pitch-lines.svg") center / contain no-repeat;
	opacity: 0.07;
	transform: translate(-50%, -50%);
	pointer-events: none;
}

/* ------------------------------------------------------------------ Pozornica: the panel for one or two phones */

/* light blue, with the floodlight from the top and the pitch drawing in blue; the phones stand at the top and run off
   the bottom edge, the second one lower */
.is-style-stage {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	aspect-ratio: 6 / 5;
	min-height: 0;
	box-sizing: border-box;
	padding: 9% 7% 0;
	border: 1px solid var(--wp--preset--color--ink-100);
	border-radius: var(--wp--custom--radius--xl);
	background:
		radial-gradient(ellipse at 50% -10%, rgba(94, 163, 255, 0.45), transparent 65%),
		linear-gradient(180deg, var(--wp--preset--color--blue-100), var(--wp--preset--color--surface));
}
.is-style-stage::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 58%;
	width: 150%;
	aspect-ratio: 200 / 130;
	background: var(--wp--preset--color--blue);
	-webkit-mask: url("../img/pitch-lines.svg") center / contain no-repeat;
	mask: url("../img/pitch-lines.svg") center / contain no-repeat;
	opacity: 0.16;
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.is-style-stage.is-layout-flex { gap: 7%; align-items: flex-start; }
.is-style-stage > .wp-block-image:is(.is-style-phone, .is-style-phone-live) {
	flex: 0 1 40%;
	min-width: 0;
	max-width: 240px;
	margin: 0;
}
.is-style-stage > .wp-block-image:is(.is-style-phone, .is-style-phone-live):only-child { flex-basis: 46%; max-width: 270px; }
.is-style-stage > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(2) { margin-top: 11%; }

/* ------------------------------------------------------------------ Početna: the demo card and the tournaments */

/* the demo card: text, and a phone that rises from the card's bottom edge */
.hk-demo.is-style-card {
	overflow: hidden;
	padding: var(--wp--preset--spacing--70) var(--wp--preset--spacing--70) 0;
	border-radius: var(--wp--custom--radius--xl);
	background:
		radial-gradient(ellipse at 85% 110%, rgba(94, 163, 255, 0.28), transparent 55%),
		var(--wp--preset--color--surface);
}
.hk-demo > .wp-block-columns > .wp-block-column:first-child { padding-bottom: var(--wp--preset--spacing--70); }
.hk-demo .wp-block-image.is-style-phone {
	max-width: 240px;
	margin-bottom: -150px;
}
@media (max-width: 781px) {
	.hk-demo.is-style-card { padding-inline: var(--wp--preset--spacing--50); }
	.hk-demo > .wp-block-columns > .wp-block-column:first-child { padding-bottom: 0; }
	.hk-demo .wp-block-image.is-style-phone { max-width: 200px; margin-bottom: -130px; }
}
/* a phone with the demo stands whole in the card, so the demo's bottom bar stays in view */
.hk-demo .wp-block-image.is-style-phone-live { margin-bottom: var(--wp--preset--spacing--70); }
@media (max-width: 781px) {
	.hk-demo .wp-block-image.is-style-phone-live { margin-bottom: var(--wp--preset--spacing--50); }
}

/* the tournaments: a large card with the bracket */
.hk-league.is-style-card {
	padding: clamp(24px, 1rem + 4vw, 64px);
	border-radius: var(--wp--custom--radius--xl);
}
.hk-league .wp-block-image img { display: block; width: 100%; height: auto; }

/* ------------------------------------------------------------------ buttons */

.wp-block-button__link,
.wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	transition: transform var(--wp--custom--motion--base) var(--hk-ease), box-shadow var(--wp--custom--motion--base) var(--hk-ease), background-color var(--wp--custom--motion--base) var(--hk-ease);
}
.wp-block-button__link:hover,
.wp-element-button:hover { transform: translateY(-1px); }
.wp-block-button:not([class*="is-style-"]) > .wp-block-button__link:hover { box-shadow: var(--hk-glow-hover); }

/* on the floodlit surface the buttons are the large ones */
.is-style-floodlit .wp-block-button__link { min-height: 52px; padding-inline: 28px; }

/* Obrub (WordPress's outline): white with a strong border, for the third action on light */
.wp-block-button.is-style-outline > .wp-block-button__link {
	padding: 13px 19px;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ink-200);
	box-shadow: none;
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { border-color: var(--wp--preset--color--ink-400); }

/* Tamni: the second action on light */
.wp-block-button.is-style-ink > .wp-block-button__link {
	color: #FFFFFF;
	background: var(--wp--preset--color--ink);
	box-shadow: none;
}
.wp-block-button.is-style-ink > .wp-block-button__link:hover { background: var(--wp--preset--color--ink-800); }

/* Bijeli: the primary action on the floodlit surface, with the glow (never a blue button there) */
.wp-block-button.is-style-white > .wp-block-button__link {
	color: var(--wp--preset--color--ink);
	background: #FFFFFF;
	box-shadow: var(--wp--preset--shadow--glow);
}
.wp-block-button.is-style-white > .wp-block-button__link:hover { box-shadow: var(--hk-glow-hover); }

/* Prozirni: the other actions on the floodlit surface, frosted */
.wp-block-button.is-style-ghost > .wp-block-button__link {
	padding-block: 13px;
	color: #FFFFFF;
	background: var(--wp--custom--dark--frost);
	border: 1px solid rgba(255, 255, 255, 0.55);
	box-shadow: none;
}
.is-style-floodlit .wp-block-button.is-style-ghost > .wp-block-button__link { padding-inline: 27px; }
.wp-block-button.is-style-ghost > .wp-block-button__link:hover { background: var(--wp--custom--dark--frost-hover); }

/* ------------------------------------------------------------------ cards */

.is-style-card {
	padding: var(--wp--preset--spacing--50);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ink-100);
	border-radius: var(--wp--custom--radius--lg);
	box-shadow: var(--wp--preset--shadow--card);
	color: var(--wp--preset--color--text);
}
.is-style-card > p:not([class*="is-style-"]) { color: var(--wp--preset--color--ink-500); }

/* ------------------------------------------------------------------ images: the phone frame and icons */

/* Mobitel: a screenshot of the demo in a 9:16 frame with a 6 px ink border and the float shadow */
.wp-block-image:is(.is-style-phone, .is-style-phone-live) {
	max-width: 260px;
	margin-inline: auto;
}
.wp-block-image:is(.is-style-phone, .is-style-phone-live) img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	background: #FFFFFF;
	border: var(--wp--custom--phone--border) solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--phone);
	box-shadow: var(--wp--preset--shadow--float);
}
.is-style-floodlit .wp-block-image:is(.is-style-phone, .is-style-phone-live) img {
	border-color: var(--wp--preset--color--ink-800);
	box-shadow: 0 0 0 1px var(--wp--custom--dark--border), var(--wp--preset--shadow--float), 0 30px 60px -30px rgba(94, 163, 255, 0.5);
}
.wp-block-image:is(.is-style-phone, .is-style-phone-live) figcaption {
	margin-top: var(--wp--preset--spacing--40);
	text-align: center;
	font-size: var(--wp--preset--font-size--medium);
	font-weight: 700;
	color: var(--wp--preset--color--text);
}
/* the lightbox's own frame: the frame's corners stay round */
.wp-block-image:is(.is-style-phone, .is-style-phone-live) .wp-lightbox-container { border-radius: var(--wp--custom--radius--phone); }

/* Mobitel s demom: the image is the poster and its link the demo page, which assets/js/live-phone.js lays over it on
   wide screens (.hk-live, the frame without the shadow: the poster's shows around it). The frame is wider there, so
   the demo's text stays readable; the script plays it only from 280 px of screen. */
.wp-block-image.is-style-phone-live { position: relative; }
.wp-block-image.is-style-phone-live > a { display: block; text-decoration: none; }
@media (min-width: 782px) {
	.wp-block-image.is-style-phone-live { max-width: 320px; }
}
.hk-live {
	position: absolute;
	top: 0;
	left: 0;
	box-sizing: border-box;
	width: 100%;
	aspect-ratio: 9 / 16;
	overflow: hidden;
	background: #FFFFFF;
	border: var(--wp--custom--phone--border) solid var(--wp--preset--color--ink);
	border-radius: var(--wp--custom--radius--phone);
	opacity: 0;
	pointer-events: none;
	transition: opacity var(--wp--custom--motion--slow) var(--hk-ease);
}
.is-style-floodlit .hk-live { border-color: var(--wp--preset--color--ink-800); }
.is-live > .hk-live { opacity: 1; pointer-events: auto; }
.hk-live__screen {
	position: absolute;
	inset: 0;
	overflow: hidden;
	border-radius: calc(var(--wp--custom--radius--phone) - var(--wp--custom--phone--border));
}
.hk-live__screen iframe {
	display: block;
	border: 0;
	transform-origin: 0 0;
}
/* while the page scrolls, the wheel passes through the demo (the script sets hk-scrolling until the mouse moves) */
.hk-scrolling .hk-live__screen iframe { pointer-events: none; }
/* the line under the phone (Oznaka s točkom): Otvori demo on the poster, a link; the hint to click once it plays */
.hk-live__hint { margin-top: var(--wp--preset--spacing--40); }
.wp-block-image.is-style-phone-live > a:hover .hk-live__hint { color: var(--wp--preset--color--blue); }

/* the hero's phones: fanned out on the centre circle, the middle one bigger, higher and in front; two on phones */
.hk-phones {
	position: relative;
	isolation: isolate;
	align-items: flex-end;
	padding-block: var(--wp--preset--spacing--60);
}
.hk-phones::before {
	content: "";
	position: absolute;
	z-index: -1;
	left: 50%;
	top: 50%;
	width: min(100%, 470px);
	aspect-ratio: 1;
	border: 1px solid var(--wp--custom--dark--border);
	border-radius: 50%;
	background: radial-gradient(closest-side, rgba(47, 136, 245, 0.32), rgba(47, 136, 245, 0.06) 70%, transparent);
	transform: translate(-50%, -50%);
	pointer-events: none;
}
.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live) {
	flex: 1 1 0;
	min-width: 0;
	max-width: 160px;
	margin: 0;
}
.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(1) { margin-right: -36px; transform: rotate(-7deg); }
.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(2) {
	z-index: 1;
	flex-grow: 1.2;
	max-width: 200px;
	margin-bottom: var(--wp--preset--spacing--70);
}
.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(3) { margin-left: -36px; transform: rotate(7deg); }
@media (max-width: 599px) {
	.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(3) { display: none; }
	.hk-phones > .wp-block-image:is(.is-style-phone, .is-style-phone-live):nth-child(2) { margin-bottom: var(--wp--preset--spacing--50); }
}

/* Ikona: a feature's line icon, 28 px on a light blue tile */
.wp-block-image.is-style-icon {
	display: grid;
	place-items: center;
	width: 52px;
	height: 52px;
	margin: 0;
	border-radius: var(--wp--custom--radius--md);
	background: var(--wp--preset--color--blue-100);
}
.wp-block-image.is-style-icon img { display: block; width: 28px; height: 28px; }

/* Slika lijevo: columns whose image is on the left on wide screens; on phones the text comes first */
@media (min-width: 782px) {
	.wp-block-columns.is-style-flip { flex-direction: row-reverse; }
}

/* ------------------------------------------------------------------ tables */

/* every table: white, 16 px radius, the header row as eyebrows on the page background, tabular numerals */
.wp-block-table table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	overflow: hidden;
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ink-100);
	border-radius: var(--wp--custom--radius--lg);
	font-variant-numeric: tabular-nums;
}
.wp-block-table thead { border-bottom: 0; }
.wp-block-table th {
	padding: 14px 16px;
	text-align: left;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--eyebrow);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: var(--wp--custom--tracking--eyebrow);
	text-transform: uppercase;
	color: var(--wp--preset--color--ink-500);
	background: var(--wp--preset--color--background);
	border: 0;
	border-bottom: 2px solid var(--wp--preset--color--ink-100);
}
.wp-block-table td {
	padding: 12px 16px;
	vertical-align: top;
	border: 0;
	border-bottom: 1px solid var(--wp--preset--color--ink-100);
	overflow-wrap: break-word;
	hyphens: auto;
}
.wp-block-table tbody tr:last-child td { border-bottom: 0; }
.wp-block-table figcaption { margin-top: var(--wp--preset--spacing--20); }
@media (max-width: 599px) {
	.wp-block-table th,
	.wp-block-table td { padding-inline: 12px; }
}
.wp-block-table td:first-child { width: 32%; font-weight: 600; }   /* the labels keep their words whole on a phone */
@media (max-width: 599px) {
	.wp-block-table th, .wp-block-table td { padding: 10px; }
}

/* the legal texts: smaller headings, at the 640 px measure (setup/content/pages/uvjeti.html, privatnost.html) */
.hk-legal h2 { font-size: var(--wp--preset--font-size--h-3); margin-block-start: var(--wp--preset--spacing--70); }
.hk-legal h3 { font-size: var(--wp--preset--font-size--h-4); margin-block-start: var(--wp--preset--spacing--50); }
.hk-legal :is(h2, h3) + * { margin-block-start: var(--wp--preset--spacing--30); }
.hk-legal ul { padding-left: 1.25em; }
.hk-legal li + li { margin-top: 6px; }

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

.hk-header {
	background: var(--wp--preset--color--surface);
	border-bottom: 1px solid var(--wp--preset--color--ink-100);
}
.hk-header-in { min-height: 48px; }   /* 72 px with the header's padding */
.hk-header .wp-block-site-logo img { width: auto; height: 32px; }
.hk-header-in > .wp-block-navigation { margin-left: auto; }   /* the nav, not its list: the menu and the button at the right */
.hk-header .wp-block-buttons { margin-left: var(--wp--preset--spacing--30); }
.hk-header .wp-block-navigation a { color: var(--wp--preset--color--text); text-decoration: none; }
.hk-header .wp-block-navigation a:hover,
.hk-header .wp-block-navigation .current-menu-item > a { color: var(--wp--preset--color--blue); }

/* the menu's own copy of the button: only in the phone menu, where the header's button is hidden */
.hk-header .wp-block-navigation__responsive-container:not(.is-menu-open) .hk-nav-cta { display: none; }
.hk-header .is-menu-open .hk-nav-cta { margin-top: var(--wp--preset--spacing--40); }
.hk-header .is-menu-open .hk-nav-cta > a.wp-block-navigation-item__content {   /* outranks the menu's padding: 0 */
	padding: 14px 20px;
	border-radius: var(--wp--custom--radius--sm);
	font-weight: 700;
	color: #FFFFFF;
	background: var(--wp--preset--color--blue);
	box-shadow: var(--wp--preset--shadow--glow);
}
.hk-header .is-menu-open .hk-nav-cta > a:hover { color: #FFFFFF; background: var(--wp--preset--color--blue-700); }
@media (max-width: 599px) {
	.hk-header .wp-block-buttons { display: none; }
}

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

.hk-footer {
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--ink-500);
	background: var(--wp--preset--color--surface);
	border-top: 1px solid var(--wp--preset--color--ink-100);
}
.hk-footer a { color: inherit; text-decoration: none; }
.hk-footer a:hover { color: var(--wp--preset--color--blue); }
.hk-footer .wp-block-navigation { font-weight: 400; }
@media (max-width: 781px) {   /* stacked under the brand: left, like the lines around it */
	.hk-footer .wp-block-navigation.items-justified-center {   /* the nav and its list both carry the class */
		--navigation-layout-justify: flex-start;
		--navigation-layout-justification-setting: flex-start;
		justify-content: flex-start;
	}
}
.hk-footer-brand { font-weight: 700; color: var(--wp--preset--color--text); }
.hk-footer-brand .wp-block-image img { display: block; width: 20px; height: 20px; }
.hk-footer-meta a { text-decoration: underline; text-underline-offset: 2px; }

/* ------------------------------------------------------------------ the contact form (Contact Form 7) */

.wpcf7-form { display: grid; gap: var(--wp--preset--spacing--40); }
.wpcf7-form p { margin: 0; }
.wpcf7-form label { display: grid; gap: 6px; font-weight: 500; }
.wpcf7-form :is(input[type="text"], input[type="email"], textarea) {
	box-sizing: border-box;
	width: 100%;
	padding: 12px 14px;
	font: inherit;
	font-weight: 400;
	color: var(--wp--preset--color--text);
	background: var(--wp--preset--color--surface);
	border: 1px solid var(--wp--preset--color--ink-200);
	border-radius: var(--wp--custom--radius--xs);
}
.wpcf7-form textarea { min-height: 9rem; resize: vertical; }
.wpcf7-form :is(input, textarea).wpcf7-not-valid { border-color: var(--wp--preset--color--error); }
.wpcf7-form :is(input, textarea):focus-visible {
	outline: none;
	border-color: var(--wp--preset--color--blue-500);
	box-shadow: 0 0 0 3px rgba(47, 136, 245, 0.45);
}
.wpcf7-form .wpcf7-acceptance label { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--wp--preset--color--ink-500); }
.wpcf7-form .wpcf7-acceptance input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--wp--preset--color--blue); }
.wpcf7-form .wpcf7-list-item { margin: 0; }
.wpcf7-form .wpcf7-submit {
	justify-self: start;
	min-height: 44px;
	padding: 0 20px;
	font: inherit;
	font-weight: 700;
	color: #FFFFFF;
	background: var(--wp--preset--color--blue);
	border: 0;
	border-radius: var(--wp--custom--radius--sm);
	box-shadow: var(--wp--preset--shadow--glow);
	cursor: pointer;
}
.wpcf7-form .wpcf7-submit:hover { background: var(--wp--preset--color--blue-700); box-shadow: var(--hk-glow-hover); }
.wpcf7-form .wpcf7-submit:focus-visible { outline: 3px solid var(--wp--preset--color--blue-500); outline-offset: 2px; }
.wpcf7-not-valid-tip { margin-top: 4px; font-size: var(--wp--preset--font-size--small); color: var(--wp--preset--color--error); }
.wpcf7 form .wpcf7-response-output {
	margin: 0;
	padding: 12px 16px;
	border: 1px solid var(--wp--preset--color--ink-200);
	border-left-width: 4px;
	border-radius: var(--wp--custom--radius--xs);
	font-size: var(--wp--preset--font-size--small);
}
/* sent in the brand blue; anything to fix or retry in the error red */
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--wp--preset--color--blue);
	background: var(--wp--preset--color--blue-100);
}
.wpcf7 form:is(.invalid, .unaccepted, .payment-required, .failed, .aborted, .spam) .wpcf7-response-output {
	border-color: var(--wp--preset--color--error);
}

/* ------------------------------------------------------------------ motion */

@media (prefers-reduced-motion: reduce) {
	.wp-block-button__link:hover,
	.wp-element-button:hover { transform: none; }
	.is-style-eyebrow-live::before { animation: none; }
	.wp-block-button__link, .wp-element-button { transition: none; }
	.hk-live { transition: none; }
}
