/* APS website. Dark command-center look from the Base44 design, APS shield colors. */
:root {
  --bg: #0B0D11;
  --bg-alt: #0F1218;
  --surface: #151A22;
  --surface-2: #1B212B;
  --line: rgba(255, 255, 255, .10);
  --line-strong: rgba(255, 255, 255, .22);
  --ink: #F2F5F9;
  --muted: #9AA6B5;
  --sky: #00BFFF;
  --brand: #005B96;
  --brand-2: #00AAFF;
  --red: #E0414F;
  --red-deep: #A6192E;
  --green: #4CB862;
  --green-deep: #1B5E20;
  --tone: var(--sky);
  --display: "Saira", "Segoe UI", system-ui, sans-serif;
  --body: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --radius: 14px;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); -webkit-font-smoothing: antialiased; }
img, video { max-width: 100%; display: block; }
a { color: var(--sky); }
a:hover { color: var(--ink); }
:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--display); line-height: 1.1; margin: 0; text-wrap: balance; }
h1 { font-size: clamp(2.3rem, 6.4vw, 4.4rem); font-weight: 900; text-transform: uppercase; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; }
h4 { font-size: 1rem; font-weight: 700; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.narrow-wrap { max-width: 860px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--sky); color: #000; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.kicker { font: 600 .74rem var(--display); letter-spacing: .3em; text-transform: uppercase; color: var(--tone); }
.kicker.small { letter-spacing: .18em; margin-top: 14px; }
.lead { color: #C9D2DD; font-size: 1.12rem; max-width: 62ch; }
.muted { color: var(--muted); }
.center { text-align: center; }
.center .lead, .lead.center, .narrow { margin-left: auto; margin-right: auto; }
.narrow { max-width: 760px; margin-top: 28px; }
.fine { color: var(--muted); font-size: .88rem; text-align: center; margin-top: 30px; max-width: 80ch; margin-left: auto; margin-right: auto; }
.ic { flex: none; }

/* Tones per branch */
.tone-sky { --tone: var(--sky); }
.tone-red { --tone: var(--red); }
.tone-green { --tone: var(--green); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border-radius: 10px; font: 700 .98rem var(--body); text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: transform .15s, box-shadow .2s, background .2s; }
.btn-primary { background: linear-gradient(90deg, var(--brand), var(--brand-2)); color: #fff; box-shadow: 0 10px 28px -10px rgba(0, 150, 255, .6); }
.btn-primary:hover { color: #fff; transform: translateY(-1px); box-shadow: 0 14px 34px -10px rgba(0, 170, 255, .75); }
.btn-ghost { border-color: var(--line-strong); color: var(--ink); background: rgba(255, 255, 255, .02); }
.btn-ghost:hover { background: rgba(255, 255, 255, .07); color: var(--ink); }
.btn-sm { padding: 9px 16px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.btn-row.center { justify-content: center; }

/* Top bar */
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11, 13, 17, .86); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.topbar-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand span { display: grid; line-height: 1.05; }
.brand b { font: 800 1rem var(--display); text-transform: uppercase; letter-spacing: .02em; }
.brand small { font: 600 .68rem var(--display); color: var(--sky); text-transform: uppercase; letter-spacing: .16em; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a:not(.btn) { color: #C9D2DD; text-decoration: none; font-weight: 600; font-size: .93rem; padding: 8px 11px; border-radius: 8px; }
.nav a:not(.btn):hover, .nav a[aria-current="page"] { background: rgba(255, 255, 255, .08); color: #fff; }
.nav .btn { margin-left: 8px; }
.menu-btn { display: none; background: transparent; color: var(--ink); border: 1px solid var(--line-strong); border-radius: 8px; padding: 8px 14px; font: 600 .9rem var(--body); }
@media (max-width: 1020px) {
  .menu-btn { display: inline-block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; align-items: stretch; padding: 10px max(20px, env(safe-area-inset-left)) 18px; background: var(--bg); border-bottom: 1px solid var(--line); }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: 12px; }
  .nav .btn { margin: 8px 0 0; justify-content: center; }
}

/* Heroes */
.grid-bg { position: absolute; inset: 0; background-image: linear-gradient(rgba(0, 191, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 191, 255, .06) 1px, transparent 1px); background-size: 46px 46px; mask-image: radial-gradient(ellipse at 50% 40%, #000 30%, transparent 75%); pointer-events: none; }
.hero, .page-hero { position: relative; overflow: hidden; background: radial-gradient(ellipse at 50% -10%, rgba(0, 91, 150, .38), transparent 60%), var(--bg); }
.hero-in { position: relative; text-align: center; padding-block: clamp(70px, 12vw, 140px); display: grid; justify-items: center; gap: 18px; }
.hero-in .lead { margin: 0 auto; }
.hero-in .btn-row { justify-content: center; margin-top: 12px; }
.hero-logo { width: 150px; height: auto; filter: drop-shadow(0 0 26px rgba(0, 120, 255, .45)); }
.hero-logo.sm { width: 96px; margin: 0 auto 14px; }
.grad { background: linear-gradient(90deg, var(--sky), #2F8FD8 60%, var(--brand)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.page-hero { padding-block: clamp(64px, 10vw, 110px) clamp(48px, 7vw, 80px); border-bottom: 1px solid var(--line); }
.page-hero .wrap { position: relative; display: grid; gap: 16px; }
.page-hero.center .wrap, .page-hero .wrap.center { justify-items: center; text-align: center; }
.page-hero.tone-red { background: radial-gradient(ellipse at 20% -10%, rgba(166, 25, 46, .35), transparent 60%), var(--bg); }
.page-hero.tone-green { background: radial-gradient(ellipse at 20% -10%, rgba(27, 94, 32, .45), transparent 60%), var(--bg); }
.has-video .bg-video, .team-hero .bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.team-hero { min-height: 46vh; display: grid; align-items: end; }
.team-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(11, 13, 17, .5), var(--bg)); }
.team-hero .wrap { z-index: 1; }

/* Sections */
.sec { padding-block: clamp(56px, 8vw, 96px); }
.sec-alt { background: var(--bg-alt); border-block: 1px solid var(--line); }
.sec-head { text-align: center; display: grid; gap: 12px; justify-items: center; margin-bottom: 40px; }
.sec-head .lead { margin: 0 auto; }

/* Cards */
.cards { display: grid; gap: 18px; }
.cards-3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.cards-4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.cards.tight { gap: 12px; margin-top: 20px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; min-width: 0; }
.card.plain { background: transparent; }
.pillar { display: grid; gap: 10px; align-content: start; }
.pillar .ic { color: var(--tone); width: 44px; height: 44px; padding: 9px; border-radius: 10px; background: rgba(0, 191, 255, .1); border: 1px solid rgba(0, 191, 255, .3); }
.pillar p, .card > p { color: var(--muted); }
.card.mini { padding: 16px; background: var(--surface-2); }
.card.mini h4 { color: var(--tone); margin-bottom: 4px; }
.card.mini p { font-size: .92rem; color: var(--muted); }
.branch { display: grid; gap: 14px; align-content: start; transition: border-color .2s, transform .2s; }
.branch:hover { border-color: var(--line-strong); transform: translateY(-3px); }
.branch-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; color: var(--tone); }
.tag { font: 600 .66rem var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--tone); text-align: right; }
.branch h3 { font-size: 1.45rem; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.ticks li { position: relative; padding-left: 22px; color: #C9D2DD; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .55em; width: 8px; height: 8px; border-radius: 2px; background: var(--tone); transform: rotate(45deg); }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; text-decoration: none; color: var(--tone); margin-top: 4px; }

.video-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #000; max-width: 980px; margin: 0 auto; aspect-ratio: 16 / 9; }
.video-frame video { width: 100%; height: 100%; object-fit: cover; }

.cta-band { padding-block: clamp(56px, 8vw, 90px); background: linear-gradient(120deg, rgba(0, 91, 150, .35), rgba(11, 13, 17, 1) 70%); border-top: 1px solid var(--line); }
.cta-band.tone-red { background: linear-gradient(120deg, rgba(166, 25, 46, .3), rgba(11, 13, 17, 1) 70%); }
.cta-in { display: grid; gap: 16px; justify-items: center; text-align: center; }
.cta-in .lead { margin: 0 auto; }
.cta-in .btn-row { justify-content: center; margin-top: 4px; }

/* Tabs */
.tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 34px; }
.tab { font: 700 .82rem var(--display); letter-spacing: .12em; text-transform: uppercase; padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line-strong); background: var(--surface); color: var(--muted); cursor: pointer; }
.tab[aria-selected="true"] { color: #fff; border-color: var(--tone); background: color-mix(in srgb, var(--tone) 22%, var(--surface)); }
.panel-head { text-align: center; display: grid; gap: 10px; justify-items: center; margin-bottom: 30px; }
.panel-head .lead { margin: 0 auto; }
.cards-svc { grid-template-columns: repeat(auto-fit, minmax(min(100%, 330px), 1fr)); }
.svc { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.svc img { width: 100%; height: 200px; object-fit: cover; object-position: top; border-bottom: 1px solid var(--line); }
.svc-body { padding: 22px 24px 26px; display: grid; gap: 12px; align-content: start; flex: 1; }
.svc-body .btn { justify-self: start; margin-top: 6px; }
.price { display: flex; align-items: baseline; gap: 8px; }
.price b { font: 800 1.8rem var(--display); color: var(--tone); font-variant-numeric: tabular-nums; }
.price span { color: var(--muted); font-size: .9rem; }

/* Fleet page */
.timeline { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.timeline li { border-top: 3px solid var(--red); background: var(--surface); border-radius: 0 0 var(--radius) var(--radius); padding: 22px; display: grid; gap: 8px; }
.timeline .step { font: 700 .72rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: var(--red); }
.timeline p { color: var(--muted); }
.callout { border: 1px solid rgba(224, 65, 79, .45); background: rgba(166, 25, 46, .12); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; }
.callout > p { color: #D9C7CA; }
.table-title { margin-bottom: 12px; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); margin-bottom: 22px; }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
th, td { text-align: left; padding: 14px 18px; border-bottom: 1px solid var(--line); vertical-align: top; font-size: .95rem; }
thead th { font: 700 .74rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); background: var(--surface-2); }
tbody th { color: #fff; white-space: nowrap; }
td { color: #C9D2DD; }
tbody tr:last-child > * { border-bottom: 0; }
.two-col { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 360px), 1fr)); }
.two-col .card { display: grid; gap: 12px; align-content: start; }
.ret { margin: 0; display: grid; gap: 10px; }
.ret div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; }
.ret dt { font-weight: 700; color: var(--sky); }
.ret dd { margin: 0; color: #C9D2DD; }
.badge { display: inline-flex; align-items: center; gap: 8px; font: 700 .76rem var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--sky); border: 1px solid rgba(0, 191, 255, .4); border-radius: 999px; padding: 7px 14px; justify-self: start; }
.suite { position: relative; display: grid; gap: 10px; align-content: start; }
.suite.premier { border-color: rgba(0, 191, 255, .55); background: linear-gradient(180deg, rgba(0, 91, 150, .25), var(--surface)); }
.ribbon { position: absolute; top: 18px; right: 18px; font: 700 .64rem var(--display); letter-spacing: .14em; text-transform: uppercase; background: var(--sky); color: #001520; padding: 4px 10px; border-radius: 999px; }

/* About / Team */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); }
.steps li { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; font: 800 1.35rem var(--display); text-transform: uppercase; display: grid; gap: 4px; }
.steps span { font-size: .8rem; color: var(--sky); letter-spacing: .2em; }
.founder { display: grid; gap: 40px; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.founder > img { border-radius: var(--radius); border: 1px solid var(--line); width: 100%; height: auto; }
.founder > div { display: grid; gap: 16px; }
.founder h2 { font-size: clamp(2rem, 4.5vw, 3rem); text-transform: uppercase; }
@media (max-width: 820px) { .founder { grid-template-columns: minmax(0, 1fr); } }
.chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { font: 700 .72rem var(--display); letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line-strong); padding: 6px 12px; border-radius: 999px; color: #C9D2DD; }
.founder .btn { justify-self: start; }
.quote { font-family: Georgia, "Times New Roman", serif; font-style: italic; color: #C9D2DD; margin-top: 14px; }
.quote.big { font-size: 1.25rem; margin: 0; }
.purpose { display: grid; gap: 16px; text-align: center; justify-items: center; }
.purpose p { color: #C9D2DD; max-width: 64ch; }
.purpose .motto { font: 700 1.2rem Georgia, serif; color: #fff; border-top: 1px solid var(--line); padding-top: 18px; }

/* Forms */
.form { display: grid; gap: 18px; }
.fields { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
label { display: grid; gap: 6px; font: 600 .78rem var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
input, select, textarea { font: 400 1rem var(--body); color: var(--ink); background: var(--bg); border: 1px solid var(--line-strong); border-radius: 10px; padding: 11px 13px; text-transform: none; letter-spacing: 0; width: 100%; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--sky); box-shadow: 0 0 0 3px rgba(0, 191, 255, .2); }
input[aria-invalid="true"], textarea[aria-invalid="true"] { border-color: var(--red); }
textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-note { color: var(--muted); font-size: .88rem; }
.form-note.ok { color: var(--green); }
.form-note.err { color: var(--red); }
.contact-grid { display: grid; gap: 28px; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: start; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: minmax(0, 1fr); } }
.contact-info { display: grid; gap: 14px; }
.info { display: flex; gap: 14px; align-items: flex-start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 16px 18px; min-width: 0; }
.info .ic { color: var(--sky); margin-top: 2px; }
.info > div { min-width: 0; overflow-wrap: anywhere; }
.info .label { font: 700 .7rem var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.cal-frame { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: #fff; max-width: 1000px; margin: 0 auto 14px; }
.cal-frame iframe { display: block; width: 100%; height: 720px; border: 0; }

/* Footer */
.footer { background: #07090C; border-top: 1px solid var(--line); padding-block: 56px 30px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); }
@media (max-width: 820px) { .footer-grid { grid-template-columns: minmax(0, 1fr); } }
.footer-grid > div { display: grid; gap: 10px; align-content: start; min-width: 0; }
.foot-brand { font: 800 1.1rem var(--display); text-transform: uppercase; }
.foot-h { font: 700 .74rem var(--display); letter-spacing: .2em; text-transform: uppercase; color: #fff; }
.foot-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.foot-list li { display: flex; gap: 8px; align-items: center; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.foot-list a { color: var(--muted); text-decoration: none; }
.foot-list a:hover { color: #fff; }
.disclosure { margin-top: 40px; padding-top: 24px; border-top: 1px solid var(--line); display: grid; gap: 10px; color: #7D8896; font-size: .84rem; }
.copy { margin-top: 8px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .branch { transition: none; }
  .bg-video { display: none; }
}
