/*
Theme Name: Hawk Line Holding
Theme URI: https://pluginslab.com/pl-hawkline-holding
Author: Pluginslab
Author URI: https://pluginslab.com
Description: Minimal block-based holding theme for the Hawk Line group (parent / Resellers / ITAD). One shared token system; per-brand identity via style variations. Phase 1 placeholder presence; the foundation Phase 2 builds on. Ships a full template set (front-page holding screen plus index/page/single/search/archive/404) so simple content can be published whenever the client is ready.
Version: 0.2.0
Requires at least: 6.7
Requires PHP: 8.2
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: pl-hawkline-holding
Tags: full-site-editing, block-styles, custom-colors, custom-typography, one-column
*/

/* ============================================================
   Holding screen
   The logo and accent default to the parent brand here; the
   Resellers and ITAD style variations override the logo image
   (and theme.json overrides the accent token). Layout is shared.
   ============================================================ */

.hl-holding {
	min-height: 100vh;
	min-height: 100svh;
	text-align: center;
}

/* Brand logo — background image so style variations can swap it.
   A visually-hidden <h1> carries the brand name for a11y + SEO. */
.hl-logo {
	width: min(86vw, 340px);
	height: 92px;
	margin-inline: auto;
	background-image: url(/wp-content/themes/pl-hawkline-holding/assets/logos/hawkline-negative.svg);
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
}

.hl-eyebrow {
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	font-weight: 600;
	color: var(--wp--custom--brand--accent, #00ffd5);
}

.hl-eyebrow::before {
	content: "";
	display: block;
	width: 40px;
	height: 3px;
	margin: 0 auto var(--wp--preset--spacing--5x, 20px);
	border-radius: var(--wp--custom--border-radius--pill, 9999px);
	background: var(--wp--custom--brand--accent, #00ffd5);
}

.hl-tagline {
	max-width: 34ch;
	margin-inline: auto;
	color: var(--wp--preset--color--purple-100);
}

.hl-contact a {
	text-underline-offset: 0.2em;
}

.hl-copyright {
	margin-bottom: 0;
	color: var(--wp--preset--color--purple-200);
}

/* Visually hidden but available to screen readers + crawlers. */
.hl-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

/* Accessibility — focus rings on the dark purple surface. */
a:focus-visible,
button:focus-visible {
	outline: 2px solid var(--wp--preset--color--teal-400);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
	}
}

/* ============================================================
   Content chrome — header, footer, and simple content pages.
   Shares the purple brand surface; lets the client publish
   real pages/posts on top of the Phase 1 foundation.
   ============================================================ */

.hl-header {
	border-bottom: 1px solid var(--wp--preset--color--purple-400);
	gap: var(--wp--preset--spacing--6x);
}

.hl-brandmark a,
.hl-brandmark {
	font-weight: 700;
	letter-spacing: -0.01em;
	text-decoration: none;
	color: var(--wp--preset--color--white);
}

/* Header navigation (core/page-list renders a <ul>). */
.hl-nav,
.hl-nav .wp-block-page-list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: var(--wp--preset--spacing--6x);
	margin: 0;
	padding: 0;
	list-style: none;
}

.hl-nav a {
	color: var(--wp--preset--color--purple-100);
	text-decoration: none;
	font-weight: 600;
}

.hl-nav a:hover,
.hl-nav .current-menu-item > a {
	color: var(--wp--custom--brand--accent, #00ffd5);
}

/* Content column — readable measure on the brand surface. */
.hl-main {
	min-height: 60vh;
}

.hl-main :where(p, li) {
	color: var(--wp--preset--color--purple-100);
}

.hl-main a {
	color: var(--wp--preset--color--white);
	text-underline-offset: 0.2em;
}

.hl-main a:hover {
	color: var(--wp--custom--brand--accent, #00ffd5);
}

.hl-meta {
	color: var(--wp--preset--color--purple-200);
}

/* Search field — legible on the dark surface. */
.hl-search .wp-block-search__input {
	color: var(--wp--preset--color--gray-900);
	background: var(--wp--preset--color--white);
	border: 0;
}

.hl-search .wp-block-search__button {
	background: var(--wp--custom--brand--accent, #00ffd5);
	color: var(--wp--preset--color--purple-900);
	border: 0;
	font-weight: 700;
}

.hl-footer {
	border-top: 1px solid var(--wp--preset--color--purple-400);
}

.hl-footer .hl-copyright {
	color: var(--wp--preset--color--purple-200);
}
