/* Pinnacle Avionics: site styles. Everything is scoped to .pa-site so it cannot disturb the Squarespace template. */
@import url("https://fonts.googleapis.com/css2?family=Oswald:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600&family=IBM+Plex+Mono:wght@500&display=swap");

.pa-site {
  --pa-ink: #0f1a2c;
  --pa-ink-2: #16233b;
  --pa-paper: #ffffff;
  --pa-alum: #eef1f5;
  --pa-text: #141c2b;
  --pa-steel: #566173;
  --pa-accent: #24478c;
  --pa-accent-dark: #1a3670;
  --pa-sky: #8fb2ea;
  --pa-line: #d6dce5;
  --pa-line-dark: #2b3a57;
  --pa-max: 1120px;

  width: 100vw;
  margin-left: calc(50% - 50vw);
  font-family: "IBM Plex Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.55;
  color: var(--pa-text);
  background: var(--pa-paper);
  -webkit-font-smoothing: antialiased;
  text-align: left;
}
.pa-site *, .pa-site *::before, .pa-site *::after { box-sizing: border-box; }
.pa-site h1, .pa-site h2, .pa-site h3, .pa-site h4 {
  font-family: "Oswald", "IBM Plex Sans", sans-serif;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.005em;
  margin: 0;
  color: inherit;
  text-transform: none;
}
.pa-site p { margin: 0 0 1em; max-width: 62ch; }
.pa-site a { color: inherit; text-decoration: none; }
.pa-site ul, .pa-site ol { margin: 0; padding: 0; }
.pa-site :focus-visible { outline: 2px solid var(--pa-sky); outline-offset: 3px; }

.pa-wrap { max-width: var(--pa-max); margin: 0 auto; padding: 0 28px; }
@media (max-width: 600px) { .pa-wrap { padding: 0 18px; } }

/* ---------- buttons ---------- */
.pa-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 22px; font-size: 0.95rem; font-weight: 600;
  border-radius: 3px; border: 1px solid transparent; cursor: pointer;
  font-family: "IBM Plex Sans", sans-serif; line-height: 1.2;
}
.pa-btn--primary { background: var(--pa-accent); color: #fff !important; }
.pa-btn--primary:hover { background: var(--pa-accent-dark); }
.pa-btn--ghost { border-color: currentColor; color: inherit; background: transparent; }
.pa-btn--ghost:hover { background: rgba(127,140,160,.12); }
.pa-dark .pa-btn--primary { background: #fff; color: var(--pa-ink) !important; }
.pa-dark .pa-btn--primary:hover { background: #dfe7f5; }

/* ---------- section bands ---------- */
.pa-band { padding: 84px 0; }
.pa-band--alum { background: var(--pa-alum); }
.pa-dark { background: var(--pa-ink); color: #fff; }
@media (max-width: 700px) { .pa-band { padding: 60px 0; } }

.pa-kicker {
  display: block; margin-bottom: 10px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.78rem;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--pa-accent);
}
.pa-dark .pa-kicker { color: var(--pa-sky); }
.pa-head { max-width: 64ch; margin-bottom: 44px; }
.pa-head h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); }
.pa-head p { margin-top: 14px; color: var(--pa-steel); font-size: 1.05rem; }
.pa-dark .pa-head p { color: #b6c0cf; }

/* ---------- hero ---------- */
.pa-hero { background: var(--pa-ink); color: #fff; overflow: hidden; }
.pa-hero .pa-wrap {
  display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center;
  padding-top: 80px; padding-bottom: 72px;
}
.pa-hero__eyebrow {
  font-family: "IBM Plex Mono", monospace; font-size: 0.76rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--pa-sky); margin-bottom: 18px; display: block;
}
.pa-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 16ch; color: #fff; }
.pa-hero__lede { color: #b6c0cf; font-size: 1.12rem; max-width: 46ch; margin-top: 20px; }
.pa-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.pa-hero__tagline {
  margin-top: 34px; font-family: "IBM Plex Mono", monospace; font-size: 0.74rem;
  letter-spacing: 0.22em; text-transform: uppercase; color: #7d8aa0;
}
.pa-hero--compact .pa-wrap { grid-template-columns: 1fr; padding-top: 70px; padding-bottom: 56px; }
.pa-hero--compact h1 { max-width: 24ch; font-size: clamp(2rem, 4vw, 2.8rem); }

/* instrument-bezel photo frame: the one signature element */
.pa-bezel { position: relative; padding: 10px; border: 1px solid #33456a; border-radius: 6px; background: #0b1424; }
.pa-bezel::before, .pa-bezel::after {
  content: ""; position: absolute; width: 18px; height: 18px; border-color: var(--pa-sky); border-style: solid;
}
.pa-bezel::before { top: -1px; left: -1px; border-width: 2px 0 0 2px; border-top-left-radius: 6px; }
.pa-bezel::after { bottom: -1px; right: -1px; border-width: 0 2px 2px 0; border-bottom-right-radius: 6px; }
.pa-bezel .pa-img { border-radius: 3px; }
.pa-bezel figcaption {
  font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; letter-spacing: 0.06em;
  color: #8d9ab0; padding: 10px 4px 2px;
}
@media (max-width: 860px) {
  .pa-hero .pa-wrap { grid-template-columns: 1fr; gap: 36px; padding-top: 56px; padding-bottom: 52px; }
}

/* ---------- photo helper (images are CSS backgrounds so Squarespace URLs live in one place) ---------- */
.pa-img { display: block; width: 100%; aspect-ratio: 4 / 3; background-size: cover; background-position: center; background-color: #1d2a44; }
.pa-img--wide { aspect-ratio: 16 / 10; }

/* ---------- dataplate strip ---------- */
.pa-member-band { background: #fff; border-bottom: 1px solid var(--pa-line); }
.pa-member-band .pa-wrap { display: flex; align-items: center; gap: 28px; padding-top: 22px; padding-bottom: 22px; }
.pa-member-band__logo { flex: 0 0 165px; height: 55px; background-size: contain; background-repeat: no-repeat; background-position: left center; display: block; }
.pa-member-band p { margin: 0; color: var(--pa-steel); font-size: 0.96rem; max-width: 70ch; }
.pa-member-band strong { color: var(--pa-ink); }
@media (max-width: 640px) { .pa-member-band .pa-wrap { flex-direction: column; align-items: flex-start; gap: 12px; } }
.pa-plate { background: var(--pa-ink-2); border-top: 1px solid var(--pa-line-dark); color: #fff; }
.pa-plate .pa-wrap { display: grid; grid-template-columns: repeat(4, 1fr); }
.pa-plate__item { padding: 24px 20px; border-left: 1px solid var(--pa-line-dark); }
.pa-plate__item:first-child { border-left: 0; padding-left: 0; }
.pa-plate__num { font-family: "Oswald", sans-serif; font-weight: 600; font-size: 1.7rem; line-height: 1.1; }
.pa-plate__label {
  font-family: "IBM Plex Mono", monospace; font-size: 0.7rem; letter-spacing: 0.08em;
  text-transform: uppercase; color: #8d9ab0; margin-top: 6px;
}
@media (max-width: 780px) {
  .pa-plate .pa-wrap { grid-template-columns: 1fr 1fr; }
  .pa-plate__item { border-left: 0; border-top: 1px solid var(--pa-line-dark); padding-left: 0; }
  .pa-plate__item:nth-child(-n+2) { border-top: 0; }
}

/* ---------- service grid ---------- */
.pa-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pa-line); border: 1px solid var(--pa-line); }
.pa-card { background: var(--pa-paper); padding: 28px 26px; }
.pa-band--alum .pa-card { background: #fff; }
.pa-card h3 { font-size: 1.12rem; margin-bottom: 10px; }
.pa-card p { color: var(--pa-steel); font-size: 0.96rem; margin: 0; }
.pa-card ul { list-style: none; margin-top: 12px; }
.pa-card li { font-size: 0.93rem; color: var(--pa-steel); padding: 5px 0 5px 16px; position: relative; }
.pa-card li::before { content: ""; position: absolute; left: 0; top: 0.95em; width: 7px; height: 1px; background: var(--pa-accent); }
@media (max-width: 900px) { .pa-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pa-grid { grid-template-columns: 1fr; } }

.pa-more { margin-top: 28px; }
.pa-link { color: var(--pa-accent) !important; font-weight: 600; border-bottom: 1px solid currentColor; }
.pa-dark .pa-link { color: var(--pa-sky) !important; }

/* ---------- split layout ---------- */
.pa-split { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 60px; align-items: center; }
.pa-split--top { align-items: start; }
.pa-split p { color: var(--pa-steel); }
.pa-dark .pa-split p { color: #b6c0cf; }
.pa-split h2 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); margin-bottom: 16px; }
@media (max-width: 860px) { .pa-split { grid-template-columns: 1fr; gap: 36px; } }

/* ---------- work strip / gallery ---------- */
.pa-work { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pa-work figure, .pa-gallery figure { margin: 0; }
.pa-work figcaption, .pa-gallery figcaption { font-size: 0.9rem; color: var(--pa-steel); margin-top: 10px; }
.pa-dark .pa-work figcaption { color: #b6c0cf; }
.pa-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 28px; }
.pa-gallery figure:first-child { grid-column: 1 / -1; }
.pa-gallery figure:first-child .pa-img { aspect-ratio: 16 / 9; }
@media (max-width: 780px) { .pa-work, .pa-gallery { grid-template-columns: 1fr; } }

/* ---------- process steps (a real sequence, so it is numbered) ---------- */
.pa-steps { list-style: none; counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--pa-line-dark); border: 1px solid var(--pa-line-dark); }
.pa-steps li { counter-increment: step; background: var(--pa-ink); padding: 26px 24px 28px; }
.pa-steps li::before {
  content: counter(step, decimal-leading-zero); display: block; margin-bottom: 14px;
  font-family: "IBM Plex Mono", monospace; font-size: 0.8rem; color: var(--pa-sky);
}
.pa-steps h3 { font-size: 1.08rem; margin-bottom: 8px; color: #fff; }
.pa-steps p { color: #b6c0cf; font-size: 0.94rem; margin: 0; }
@media (max-width: 900px) { .pa-steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pa-steps { grid-template-columns: 1fr; } }

/* ---------- audience list ---------- */
.pa-chips { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; margin-top: 22px; }
.pa-chips li { border: 1px solid var(--pa-line); background: #fff; padding: 8px 14px; border-radius: 3px; font-size: 0.93rem; }

/* ---------- facts list ---------- */
.pa-facts { list-style: none; }
.pa-facts li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-top: 1px solid var(--pa-line); font-size: 0.95rem; }
.pa-facts li:last-child { border-bottom: 1px solid var(--pa-line); }
.pa-facts .k { color: var(--pa-steel); }
.pa-facts .v { font-weight: 600; text-align: right; }

/* ---------- team ---------- */
.pa-lead { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }
.pa-lead + .pa-lead { margin-top: 56px; padding-top: 56px; border-top: 1px solid var(--pa-line); }
.pa-lead h3 { font-size: 1.7rem; }
.pa-role { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.78rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--pa-accent); margin: 8px 0 18px; }
.pa-lead p { color: var(--pa-steel); }
.pa-portrait {
  aspect-ratio: 4 / 5; background: var(--pa-alum); border: 1px solid var(--pa-line);
  display: flex; align-items: flex-end; justify-content: flex-start; padding: 16px;
  background-size: cover; background-position: center;
}
.pa-portrait span { font-family: "IBM Plex Mono", monospace; font-size: 0.72rem; color: var(--pa-steel); }
.pa-team { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 56px; }
.pa-member { background: #fff; border: 1px solid var(--pa-line); padding: 26px; }
.pa-member h3 { font-size: 1.3rem; }
.pa-member p { color: var(--pa-steel); margin: 0 0 12px; font-size: 0.96rem; }
.pa-member p:last-child { margin-bottom: 0; }
@media (max-width: 860px) { .pa-lead, .pa-team { grid-template-columns: 1fr; gap: 28px; } .pa-portrait { max-width: 320px; } }

/* ---------- sister-company band ---------- */
.pa-sister { border: 1px solid var(--pa-line); background: #fff; display: grid; grid-template-columns: 220px 1fr auto; gap: 32px; align-items: center; padding: 28px 32px; }
.pa-sister__logo { display:block; aspect-ratio: 2.2 / 1; background-size: contain; background-repeat: no-repeat; background-position: center; }
.pa-sister h3 { font-size: 1.25rem; margin-bottom: 6px; }
.pa-sister p { color: var(--pa-steel); margin: 0; font-size: 0.96rem; }
@media (max-width: 780px) { .pa-sister { grid-template-columns: 1fr; gap: 18px; } .pa-sister__logo { max-width: 200px; } }

/* ---------- FAQ ---------- */
.pa-faq { border-top: 1px solid var(--pa-line); max-width: 820px; }
.pa-faq details { border-bottom: 1px solid var(--pa-line); }
.pa-faq summary {
  cursor: pointer; list-style: none; padding: 20px 40px 20px 0; position: relative;
  font-family: "Oswald", sans-serif; font-weight: 500; font-size: 1.12rem;
}
.pa-faq summary::-webkit-details-marker { display: none; }
.pa-faq summary::after { content: "+"; position: absolute; right: 6px; top: 16px; font-size: 1.4rem; color: var(--pa-accent); font-family: "IBM Plex Sans", sans-serif; }
.pa-faq details[open] summary::after { content: "\2212"; }
.pa-faq details p { color: var(--pa-steel); padding: 0 0 18px; margin: 0; }

/* ---------- CTA band ---------- */
.pa-cta { background: var(--pa-accent); color: #fff; padding: 56px 0; }
.pa-cta .pa-wrap { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.pa-cta h2 { font-size: clamp(1.5rem, 2.6vw, 1.9rem); max-width: 24ch; color: #fff; }
.pa-cta p { margin: 8px 0 0; color: #d3def2; }
.pa-cta .pa-btn--ghost { border-color: #fff; color: #fff; }
.pa-cta .pa-btn--ghost:hover { background: rgba(255,255,255,.14); }
.pa-cta__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.pa-cta .pa-btn--primary { background: #fff; color: var(--pa-accent) !important; }

/* ---------- contact ---------- */
.pa-contact { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 64px; }
@media (max-width: 860px) { .pa-contact { grid-template-columns: 1fr; gap: 40px; } }
.pa-cblock { border-top: 1px solid var(--pa-line); padding: 18px 0; }
.pa-cblock .k { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--pa-steel); margin-bottom: 6px; }
.pa-cblock .v { font-size: 1.12rem; font-weight: 600; }
.pa-cblock a.v:hover { color: var(--pa-accent); }
.pa-hours { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.pa-hours td { padding: 4px 0; }
.pa-hours td:last-child { text-align: right; font-weight: 500; }
.pa-form-note { font-size: 0.88rem; color: var(--pa-steel); }
.pa-contact--info { grid-template-columns: 1fr; }
.pa-contact--info > div { display: grid; grid-template-columns: repeat(2, 1fr); column-gap: 56px; }
@media (max-width: 700px) { .pa-contact--info > div { grid-template-columns: 1fr; } }

/* preview-only stand-in for the Squarespace form block */
.pa-form { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.pa-form .full { grid-column: 1 / -1; }
.pa-form label { display: block; font-family: "IBM Plex Mono", monospace; font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--pa-steel); margin-bottom: 6px; }
.pa-form input, .pa-form textarea, .pa-form select {
  width: 100%; border: 1px solid var(--pa-line); border-radius: 3px; padding: 12px 13px;
  font: inherit; font-size: 0.97rem; background: #fff; color: var(--pa-text);
}
.pa-form textarea { min-height: 120px; resize: vertical; }
@media (max-width: 600px) { .pa-form { grid-template-columns: 1fr; } }

/* ---------- footer (paste into the Squarespace footer as a code block) ---------- */
.pa-foot { background: var(--pa-ink); color: #9aa6b8; padding: 56px 0 30px; font-size: 0.9rem; }
.pa-foot__top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 30px; border-bottom: 1px solid var(--pa-line-dark); }
.pa-foot__aea { display: block; width: 150px; height: 50px; background-size: contain; background-repeat: no-repeat; background-position: left center; margin-top: 14px; }
.pa-foot__logo { width: 190px; aspect-ratio: 900 / 268; background-size: contain; background-repeat: no-repeat; margin-bottom: 16px; }
.pa-foot h4 { font-family: "IBM Plex Mono", monospace; font-weight: 500; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: #fff; margin-bottom: 12px; }
.pa-foot p, .pa-foot a { display: block; margin: 0 0 6px; color: #9aa6b8; }
.pa-foot a:hover { color: #fff; }
.pa-foot__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 18px; font-size: 0.82rem; }
@media (max-width: 860px) { .pa-foot__top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .pa-foot__top { grid-template-columns: 1fr; } }

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) { .pa-site * { transition: none !important; } }

/* ==========================================================================
   IMAGES: the only place image URLs live.
   ========================================================================== */
.pa-site .pa-img--panel-cessna-glass { background-image: url("assets/pa-panel-cessna-glass.jpg"); }
.pa-site .pa-img--hangar-twin        { background-image: url("assets/pa-hangar-twin.jpg"); }
.pa-site .pa-img--panel-install-a    { background-image: url("assets/pa-panel-install-a.jpg"); }
.pa-site .pa-img--panel-install-b    { background-image: url("assets/pa-panel-install-b.jpg"); }
.pa-site .pa-img--panel-ramp         { background-image: url("assets/pa-panel-ramp.jpg"); }
.pa-site .pa-img--panel-classic      { background-image: url("assets/pa-panel-classic.jpg"); }
.pa-site .pa-img--panel-blank        { background-image: url("assets/pa-panel-blank.jpg"); }
.pa-site .pa-img--logo-plane         { background-image: url("assets/pa-logo-plane.png"); }
.pa-site .pa-img--header-reversed    { background-image: url("assets/pa-header-reversed.png"); }
.pa-site .pa-img--dc-logo            { background-image: url("assets/dc-logo-black.png"); }
.pa-site .pa-img--aea-color { background-image: url("assets/pa-aea-color.png"); }
.pa-site .pa-img--aea-white { background-image: url("assets/pa-aea-white.png"); }
.pa-site .pa-img--evan { background-image: url("assets/pa-evan.jpg"); }
.pa-site .pa-img--daniel { background-image: url("assets/pa-daniel.jpg"); }
.pa-site .pa-img--bailey { background-image: url("assets/pa-bailey.jpg"); }
