/*
Theme Name: TSP Landing
Theme URI: https://transportationsafetyprofessionals.com
Author: Gorman Web
Author URI: https://www.gormanweb.com
Description: Temporary Coming Soon page for Transportation Safety Professionals, LLC, with the TSP logo and the message "There is no compromise on safety."
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tsp-landing
*/

/* ---------- Fonts (self-hosted, SIL Open Font License) ---------- */
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/barlow-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-style: normal; font-weight: 600; font-display: swap; src: url("assets/fonts/barlow-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 700; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-style: normal; font-weight: 800; font-display: swap; src: url("assets/fonts/barlow-condensed-latin-800-normal.woff2") format("woff2"); }

/* ---------- Brand tokens ---------- */
:root {
	--tsp-navy: #0B2550;
	--tsp-steel: #2A6E94;
	--tsp-sky: #A9D3EE;
	--tsp-gold: #E6B92E;
	--tsp-dark: #071A3A;
	--tsp-white: #FFFFFF;
	--tsp-head: "Barlow Condensed", "Arial Narrow", system-ui, sans-serif;
	--tsp-body: "Barlow", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- Page ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
	background-color: var(--tsp-navy);
	background-image:
		radial-gradient(900px 600px at 50% 30%, rgba(42, 110, 148, 0.55), transparent 70%),
		linear-gradient(170deg, var(--tsp-navy) 0%, var(--tsp-dark) 100%);
	color: var(--tsp-white);
	font-family: var(--tsp-body);
	font-size: 17px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--tsp-white); }
a:hover { color: var(--tsp-gold); }
:focus-visible { outline: 3px solid var(--tsp-gold); outline-offset: 3px; }

.tsp-soon {
	flex: 1;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 48px 24px 40px;
}
.tsp-soon-logo {
	width: min(420px, 80vw, 52vh);
	filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.35));
}
.tsp-soon h1 {
	margin: 28px 0 0;
	font-family: var(--tsp-head);
	font-weight: 800;
	font-size: clamp(48px, 15vw, 136px);
	line-height: 0.92;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--tsp-white);
}
.tsp-soon-stripe {
	width: 324px; /* five dashes */
	height: 6px;
	margin: 26px 0 24px;
	border-radius: 3px;
	background: repeating-linear-gradient(90deg, var(--tsp-gold) 0 44px, transparent 44px 70px);
}
@media (max-width: 360px) {
	.tsp-soon-stripe { width: 254px; } /* four dashes */
}
.tsp-soon-message {
	margin: 0;
	font-family: var(--tsp-head);
	font-weight: 700;
	font-size: clamp(26px, 3.4vw, 40px);
	line-height: 1.08;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	color: var(--tsp-white);
}
.tsp-soon-sub {
	margin: 12px 0 0;
	max-width: 620px;
	font-size: clamp(19px, 2vw, 23px);
	line-height: 1.35;
	font-weight: 600;
	color: var(--tsp-gold);
}

/* ---------- Footer ---------- */
.tsp-footer {
	padding: 18px 24px 22px;
	border-top: 1px solid rgba(169, 211, 238, 0.18);
	background: rgba(7, 26, 58, 0.6);
	color: #C4D3E3;
	font-size: 14px;
	text-align: center;
}
.tsp-footer p { margin: 0; }
.tsp-footer span { margin: 0 8px; color: var(--tsp-sky); }

@media (max-height: 700px) {
	.tsp-soon { padding-top: 28px; padding-bottom: 24px; }
	.tsp-soon-logo { width: min(420px, 80vw, 40vh); }
	.tsp-soon h1 { margin-top: 18px; }
	.tsp-soon-stripe { margin: 18px 0 16px; }
}
@media (max-width: 640px) {
	.tsp-soon { padding-left: 16px; padding-right: 16px; }
	.tsp-footer { padding: 16px; }
	.tsp-footer span { display: none; }
	.tsp-footer a { display: block; margin-top: 4px; }
}
