/*
Theme Name: AEROSPECIAL
Theme URI: https://www.aerospecial.com
Author: AEROSPECIAL
Description: Lightweight block theme in the AEROSPECIAL house style. No page builder needed.
Version: 1.0.0
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: aerospecial
*/

/* Signature: the double vertical stripe from the business card */
.as-stripe { position: relative; }
.as-stripe::after {
	content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 20px; z-index: 2; pointer-events: none;
	background: linear-gradient(to right, #A3BBD0 0 6px, #1C3162 6px 20px);
}
.as-stripe.has-navy-background-color::after { background: linear-gradient(to right, #A3BBD0 0 6px, #14244A 6px 20px); }

.as-eyebrow { font-size: 13px !important; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: #1C6EB5; margin: 0; }
.has-navy-background-color .as-eyebrow, .has-navy-dark-background-color .as-eyebrow { color: #A3BBD0; }
.as-lead { font-size: 19px; color: #3A4256; }

/* Header */
.as-header { border-bottom: 1px solid #E3E6EC; }
.as-brand { display: flex; flex-direction: column; gap: 6px; width: 230px; text-decoration: none; }
.as-brand img { width: 230px; height: auto; display: block; }
.as-tagline { display: flex; justify-content: space-between; font-size: 9.5px; letter-spacing: .05em; color: #346BB4; line-height: 1; }
.as-header .wp-block-navigation { font-size: 15px; font-weight: 700; }
.as-header .wp-block-navigation a { text-decoration: none; }
.as-header .wp-block-button__link { padding: 10px 18px; font-size: 15px; }

/* Buttons */
.is-style-outline .wp-block-button__link { border: 2px solid #1C3162; color: #1C3162; background: transparent; }
.is-style-outline .wp-block-button__link:hover { border-color: #1C6EB5; color: #1C6EB5; background: transparent; }
.as-btn-light .wp-block-button__link { background: #FFFFFF; color: #1C3162; }
.as-btn-light .wp-block-button__link:hover { background: #A3BBD0; color: #1C3162; }

/* Hero image */
.as-hero-img img { border-radius: 6px; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* Stats */
.as-stat { margin: 0; }
.as-stat strong { display: block; font-size: 38px; line-height: 1; margin-bottom: 6px; }
.as-stat span { font-size: 15px; color: #C9D6E6; }

/* Grids of cards */
.as-grid { display: grid !important; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.as-grid > * { margin: 0 !important; }
.as-grid-sm { grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr)); gap: 12px; }
.as-card { border-radius: 6px; padding: 28px; height: 100%; box-sizing: border-box; }
.as-card > * { margin-top: 0; }
.as-card-line { border: 1px solid #E3E6EC; }
.as-card-top { border-top: 4px solid #1C3162; }
.as-card p, .as-card li { font-size: 15px; color: #4A5368; }
.as-card ul { padding-left: 18px; }
.as-card h3 { margin-bottom: 8px; }
.as-num { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 6px; background: #1C3162; color: #FFFFFF !important; font-weight: 700; font-size: 16px !important; margin-bottom: 14px; }
.as-logo-tile { min-height: 72px; border: 1px solid #E3E6EC; border-radius: 6px; display: flex; align-items: center; justify-content: center; padding: 10px; }
.as-logo-tile img { max-height: 44px; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .8; }
.as-logo-tile:hover img { filter: none; opacity: 1; }
.as-pills { display: flex; flex-wrap: wrap; gap: 10px 12px; align-items: center; }
.as-pills p { margin: 0; }
.as-pill { font-size: 15px; font-weight: 700; padding: 6px 14px; border: 1px solid #C9D2DF; border-radius: 999px; background: #FFFFFF; }

/* Team */
.as-person { display: grid; grid-template-columns: 72px minmax(0, 1fr); column-gap: 16px; align-items: center; min-height: 88px; margin-bottom: 16px; }
.as-person img, .as-initials { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; }
.as-initials { display: flex; align-items: center; justify-content: center; background: #A3BBD0; color: #1C3162; font-weight: 700; font-size: 22px; margin: 0; }
.as-person h3 { margin: 0; font-size: 20px; }
.as-person p { margin: 0; font-size: 14px; }
.as-role { color: #1C6EB5 !important; font-weight: 700; }

/* Navy bands */
.has-navy-background-color, .has-navy-dark-background-color { color: #FFFFFF; }
.has-navy-background-color :where(h1, h2, h3), .has-navy-dark-background-color :where(h1, h2, h3) { color: #FFFFFF; }
.has-navy-background-color a:where(:not(.wp-block-button__link)) { color: #FFFFFF; }
.has-navy-background-color a:where(:not(.wp-block-button__link)):hover { color: #A3BBD0; }
.as-muted { color: #C9D6E6; }
.as-quote { font-size: 28px; line-height: 1.35; font-weight: 700; }
.as-founder-img img { border-radius: 6px; }

/* Footer */
.as-footer { font-size: 14px; color: #C9D6E6; }
.as-footer img { width: 200px; height: auto; }
.as-footer a { color: #C9D6E6; }

@media (max-width: 820px) {
	.as-header .wp-block-navigation__container { display: none; }
	.as-stripe::after { width: 12px; background: linear-gradient(to right, #A3BBD0 0 4px, #1C3162 4px 12px); }
	.as-quote { font-size: 22px; }
}
.as-narrow { max-width: 760px; }
.as-mission { font-size: 22px; line-height: 1.4; color: #111111; }
.as-mission strong { color: #1C3162; }
.as-body18 { font-size: 18px; color: #333A48; }
.as-grey { color: #767573 !important; }
.as-footnote { font-size: 13px; color: #767573; margin-top: 24px; }
.as-border-bottom { border-bottom: 1px solid #E3E6EC; }
.as-person figure { margin: 0; width: 72px; height: 72px; }
.as-person > .wp-block-group > * { margin-top: 0; margin-bottom: 0; }
.as-logo-tile figure { margin: 0; }
.as-logo-tile figure img { display: block; }
.as-card-top { background: #FFFFFF; }
html { scroll-behavior: smooth; }
:where(section[id], .wp-block-group[id]) { scroll-margin-top: 24px; }
.as-logo-white { filter: brightness(0) invert(1); }
/* header logo already contains the tagline */
.as-brand .as-tagline { display: none; }
