/* ==========================================================================
   SkyTrade Aviation - Base
   Resets + typography, using tokens from variables.css. No layout/grid
   rules here - that's layout.css.
   ========================================================================== */

/**
 * The `hidden` attribute must always win, regardless of what `display`
 * value any other rule sets on the same element. Without `!important`
 * here, any component CSS that sets `display: flex/block/grid/...` on an
 * element silently defeats `hidden` — standard CSS behavior, since
 * [hidden]'s UA rule has no way to out-specificity author styles otherwise.
 */
[hidden] {
	display: none !important;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
	}
}

body {
	margin: 0;
	background-color: var(--st-color-background);
	color: var(--st-text-body-large-color);
	font-family: var(--st-font-body);
	font-size: var(--st-text-body-large-size);
	font-weight: var(--st-text-body-large-weight);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--st-font-display);
	color: var(--st-white);
	margin: 0 0 var(--st-space-md);
	line-height: 1.15;
}

h1 {
	font-size: var(--st-text-display-large-size);
	font-weight: var(--st-text-display-large-weight);
}

h2 {
	font-size: var(--st-text-headline-large-size);
	font-weight: var(--st-text-headline-large-weight);
}

h3 {
	font-size: var(--st-text-headline-medium-size);
	font-weight: var(--st-text-headline-medium-weight);
}

h4 {
	font-size: 20px;
	font-weight: 600;
}

p {
	margin: 0 0 var(--st-space-md);
}

a {
	color: var(--st-gold);
	text-decoration: none;
	transition: color 0.15s ease;
}

a:hover,
a:focus {
	color: var(--st-gold-light);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid var(--st-gold);
	outline-offset: 2px;
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

ul, ol {
	margin: 0 0 var(--st-space-md);
	padding-left: var(--st-space-lg);
}

blockquote {
	margin: 0 0 var(--st-space-md);
	padding-left: var(--st-space-md);
	border-left: 2px solid var(--st-gold);
	color: var(--st-white-60);
	font-style: italic;
}

hr {
	border: none;
	border-top: 1px solid var(--st-divider-color);
	margin: var(--st-space-xl) 0;
}

.eyebrow {
	color: var(--st-gold);
	font-family: var(--st-font-body);
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}

.text-muted {
	color: var(--st-white-60);
}

.text-dim {
	color: var(--st-white-20);
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
