/* Original Swingby content, presented within the existing brand system. */
.corporate-source {
  color: #163a2a;
  background: #fafaf6;
  font-size: 15px;
  line-height: 2;
}
.corporate-source > div > section {
  padding: 80px max(24px, calc((100% - 1200px) / 2));
  scroll-margin-top: 30px;
}
.corporate-source h2 {
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 28px;
}
.corporate-source h3 {
  font-size: 23px;
  line-height: 1.6;
  margin: 38px 0 20px;
}
.corporate-source h4 {
  font-size: 19px;
  margin: 24px 0 12px;
}
.corporate-source p {
  margin: 16px 0;
  max-width: 85ch;
}
.corporate-source img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.corporate-source a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.corporate-source hr {
  border: 0;
  border-top: 1px solid #cbd3c8;
  margin: 20px 0;
}
.corporate-source .source-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px;
  margin: 32px 0;
}
.corporate-source figure {
  margin: 0;
}
.corporate-source figcaption {
  font-size: 12px;
  margin-top: 10px;
}
.corporate-source table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}
.corporate-source th,
.corporate-source td {
  padding: 12px;
  border-bottom: 1px solid #cbd3c8;
  text-align: left;
}
.corporate-source ul {
  padding-left: 1.5em;
}
.source-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  list-style: none;
  padding: 0;
  margin: 36px 0;
}
.source-timeline li {
  border-top: 2px solid #72b599;
  padding-top: 15px;
  white-space: pre-line;
}
.corporate-source > div > .corporate-hero {
  position: relative;
  padding: 0;
  color: #fafaf6;
  background: #163a2a;
  overflow: hidden;
}
.corporate-hero-photos {
  position: absolute;
  inset: 0;
}
.corporate-hero-photos img {
  height: 100%;
  object-fit: cover;
}
.corporate-hero-photos img + img {
  display: none;
}
.corporate-hero-copy {
  position: relative;
  min-height: 690px;
  padding: 80px max(24px, calc((100% - 1200px) / 2));
  background: linear-gradient(
    90deg,
    rgba(22, 58, 42, 0.92),
    rgba(22, 58, 42, 0.05)
  );
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.corporate-hero h1 {
  font-size: 18px;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
}
.corporate-hero h2 {
  font-size: clamp(36px, 4vw, 58px);
  margin-bottom: 24px;
}
.corporate-hero-copy p {
  margin: 0;
  line-height: 2;
  font-size: 15px;
}
.corporate-source #news {
  background: #edf0e7;
}
.corporate-source #aircraft {
  background: #edf0e7;
}
.corporate-source #contact {
  background: #163a2a;
  color: #fafaf6;
}
.corporate-news-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 25px;
  padding: 22px 0;
  border-bottom: 1px solid #cbd3c8;
}
.corporate-news-list h3 {
  font-size: 18px;
  margin: 0;
}
.news-empty {
  padding: 25px 0;
}
.corporate-activity > div > section:first-child .source-grid {
  grid-template-columns: repeat(4, 1fr);
}
.corporate-activity section[id] > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.primary-nav {
  gap: 18px;
}
.primary-nav a {
  font-size: 12px;
}
@media (max-width: 1000px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .primary-nav {
    gap: 12px;
  }
  .source-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 700px) {
  .corporate-source > div > section {
    padding: 48px 20px;
  }
  .corporate-source h2 {
    font-size: 27px;
  }
  .corporate-source h3 {
    font-size: 21px;
  }
  .corporate-source .source-grid,
  .corporate-activity section[id] > div {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .corporate-activity > div > section:first-child .source-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .source-timeline {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .corporate-hero-copy {
    min-height: 640px;
    padding: 50px 20px;
    background: linear-gradient(
      90deg,
      rgba(22, 58, 42, 0.88),
      rgba(22, 58, 42, 0.35)
    );
  }
  .corporate-hero-copy p {
    font-size: 13px;
  }
  .corporate-hero-photos img {
    object-position: 55% center;
  }
  .corporate-news-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.corporate-hero-photos img {
  position: absolute;
  inset: 0;
}
.corporate-hero:has(input[value="2"]:checked) .corporate-hero-photos img,
.corporate-hero:has(input[value="3"]:checked) .corporate-hero-photos img {
  display: none;
}
.corporate-hero:has(input[value="2"]:checked)
  .corporate-hero-photos
  img:nth-child(2),
.corporate-hero:has(input[value="3"]:checked)
  .corporate-hero-photos
  img:nth-child(3) {
  display: block;
}
.hero-photo-controls {
  position: absolute;
  bottom: 24px;
  right: 24px;
  display: flex;
  gap: 18px;
  border: 0;
  padding: 8px 14px;
  background: #163a2a;
  font-size: 12px;
}
.hero-photo-controls legend {
  position: absolute;
  clip-path: inset(50%);
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.hero-photo-controls label {
  cursor: pointer;
}
.hero-photo-controls input {
  accent-color: #d8e022;
}

/* The milestones remain text so that they stay readable at every screen size. */
.source-roadmap {
  position: relative;
  margin: 64px 0 28px;
  height: 420px;
}
.roadmap-path {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}
.roadmap-path polyline {
  fill: none;
  stroke: #72b599;
  stroke-width: 2;
  vector-effect: non-scaling-stroke;
}
.source-roadmap .source-timeline {
  display: block;
  position: relative;
  margin: 0;
  padding: 0;
  height: 100%;
  list-style: none;
}
.source-roadmap .source-timeline li {
  position: absolute;
  width: 200px;
  max-width: 20%;
  padding: 0;
  border: 0;
  text-align: center;
  transform: translateX(-50%);
  font-weight: 700;
  line-height: 1.7;
}
.source-timeline li:nth-child(1) {
  left: 8%;
  top: 78%;
}
.source-timeline li:nth-child(2) {
  left: 28%;
  top: 62%;
}
.source-timeline li:nth-child(3) {
  left: 52%;
  top: 43%;
}
.source-timeline li:nth-child(4) {
  left: 74%;
  top: 25%;
}
.source-timeline li:nth-child(5) {
  left: 92%;
  top: 10%;
}
.source-roadmap .source-timeline li::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 17px;
  height: 17px;
  border: 2px solid #163a2a;
  border-radius: 50%;
  background: #fafaf6;
  transform: translate(-50%, -50%);
}
.source-roadmap .source-timeline p:first-child {
  position: absolute;
  top: -58px;
  left: 0;
  right: 0;
  margin: 0;
  font-size: 23px;
  line-height: 1.4;
  white-space: nowrap;
}
.source-roadmap .source-timeline p + p {
  margin: 26px 0 0;
  font-size: 14px;
}
.source-roadmap .source-timeline .roadmap-current {
  color: #0a3504;
}
.source-roadmap .source-timeline .roadmap-current::before {
  background: #d8e022;
  border-color: #0a3504;
}
.corporate-source .roadmap-caption {
  font-size: 12px;
  color: #496252;
  margin: 0 0 30px;
}
@media (max-width: 900px) {
  .source-roadmap {
    height: auto;
    margin: 34px 0 22px;
  }
  .roadmap-path {
    display: none;
  }
  .source-roadmap .source-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-left: 2px solid #72b599;
    margin-left: 9px;
  }
  .source-roadmap .source-timeline li {
    position: relative;
    left: auto;
    top: auto;
    transform: none;
    max-width: none;
    width: auto;
    text-align: left;
    padding: 0 0 32px 30px;
  }
  .source-roadmap .source-timeline li:last-child {
    padding-bottom: 0;
  }
  .source-roadmap .source-timeline li::before {
    left: -1px;
    top: 13px;
  }
  .source-roadmap .source-timeline p:first-child {
    position: static;
    font-size: 20px;
  }
  .source-roadmap .source-timeline p + p {
    margin: 8px 0 0;
    font-size: 14px;
  }
}

/* Company information first; aircraft material lives within the team section. */
.primary-nav a {
  font-size: 13px;
}
.primary-nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 9px;
  text-decoration-color: var(--mint);
  text-decoration-thickness: 2px;
}
.company-home {
  background: #fafaf6;
}
.company-masthead {
  background: var(--ink);
  color: #fff;
  padding: 100px 0 88px;
  border-bottom: 8px solid var(--lime);
}
.company-masthead h1 {
  font-size: clamp(32px, 5vw, 66px);
  letter-spacing: 0.02em;
}
.company-masthead .eyebrow {
  color: var(--lime);
  margin-bottom: 32px;
}
.company-lead {
  margin-top: 28px;
  font-size: 18px;
}
.company-masthead .text-link {
  margin-top: 36px;
  gap: 36px;
}
.company-section {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  padding-block: 72px;
  border-bottom: 1px solid var(--line);
}
.company-section h2 {
  font-size: 28px;
}
.company-section p {
  max-width: 60ch;
}
.company-section .text-link {
  margin-top: 22px;
}
.company-facts {
  margin: 32px 0 0;
}
.company-facts > div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  border-top: 1px solid var(--line);
  padding: 18px 0;
}
.company-facts dt {
  font-size: 14px;
}
.company-facts dd {
  margin: 0;
}
.company-facts a {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.company-news {
  background: #edf0e7;
}
.company-news .company-section {
  border: 0;
}
.company-team-link {
  padding-block: 72px;
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 64px;
  align-items: center;
}
.company-team-link img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.company-team-link h2 {
  font-size: 26px;
}
.company-team-link p {
  margin: 20px 0;
}
.company-page-body {
  margin-top: 36px;
  min-height: 260px;
}
.company-page-body > p {
  margin-bottom: 24px;
}
.company-page-body .contact-address {
  font-size: clamp(17px, 3vw, 26px);
  margin: 8px 0 28px;
}
.team-contact-note {
  margin-top: 64px;
  border-top: 1px solid var(--line);
  padding-top: 36px;
}
.team-contact-note h2 {
  font-size: 24px;
  margin-bottom: 24px;
}
.team-contact-note .text-link {
  margin-top: 20px;
}
.team-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  padding-block: 20px;
  font-size: 13px;
}
.team-nav a {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
}
.corporate-team .corporate-hero h1 {
  font-size: clamp(30px, 4vw, 48px);
  max-width: 20ch;
}
.corporate-team .corporate-hero-copy {
  min-height: 520px;
}
.corporate-team #activity img {
  margin: 32px 0;
}
.corporate-team #blog {
  background: #edf0e7;
}
@media (max-width: 700px) {
  .company-masthead {
    padding: 64px 0 56px;
  }
  .company-lead {
    font-size: 15px;
  }
  .company-section,
  .company-team-link {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-block: 44px;
  }
  .company-section h2 {
    font-size: 24px;
  }
  .company-facts > div {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .company-team-link img {
    max-height: 270px;
  }
  .company-page-body {
    margin-top: 28px;
  }
  .team-nav {
    gap: 8px 22px;
  }
  .corporate-team .corporate-hero-copy {
    min-height: 430px;
  }
  .corporate-team .corporate-hero-copy p {
    font-size: 14px;
  }
  .team-contact-note {
    margin-top: 44px;
  }
}
