:root {
  --navy: #0b2239;
  --navy-2: #123b5d;
  --navy-3: #1c4d73;
  --red: #b51f2e;
  --red-dark: #8e1723;
  --ink: #17212b;
  --muted: #5c6873;
  --paper: #ffffff;
  --soft: #f3f6f8;
  --line: #d9e0e5;
  --green: #176a4c;
  --green-soft: #eaf5f0;
  --red-soft: #fff0f1;
  --shadow: 0 18px 45px rgba(11, 34, 57, 0.12);
  --radius: 18px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--navy-3); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--red-dark); }
img, svg { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0 0 0.65em; color: var(--navy); line-height: 1.12; letter-spacing: -0.025em; }
h1 { font-size: clamp(2.35rem, 5vw, 4.85rem); }
h2 { font-size: clamp(1.8rem, 3.2vw, 3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
ul { margin-top: 0.4em; }

.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -80px; z-index: 9999;
  padding: 10px 14px; background: #fff; color: #000; border: 2px solid #000;
}
.skip-link:focus { top: 16px; }

.status-strip { background: var(--red); color: #fff; font-size: 0.92rem; }
.status-strip__inner { display: flex; gap: 18px; align-items: center; justify-content: center; min-height: 42px; text-align: center; }
.status-strip strong { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; }

.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,0.97); border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
}
.header-inner { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--navy); text-decoration: none; }
.brand:hover { color: var(--navy); }
.brand-leaf { width: 39px; color: var(--red); }
.brand-leaf svg { width: 100%; height: auto; fill: currentColor; }
.brand-leaf .leaf-stem { fill: none; stroke: currentColor; stroke-width: 3; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-text > span { font-size: 1.25rem; letter-spacing: 0.06em; }
.brand-text em { color: var(--red); font-style: normal; }
.brand-text small { margin-top: 6px; color: var(--muted); font-size: 0.72rem; letter-spacing: 0.09em; text-transform: uppercase; }
nav { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
nav a { color: var(--navy); text-decoration: none; font-weight: 700; font-size: 0.91rem; }
nav a:hover { color: var(--red); }

.hero { position: relative; overflow: hidden; background: linear-gradient(135deg, #071a2c 0%, #123b5d 68%, #1b537c 100%); color: #fff; }
.hero-grid {
  position: absolute; inset: 0; opacity: 0.13;
  background-image: linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px);
  background-size: 46px 46px;
  transform: perspective(500px) rotateX(54deg) scale(1.7); transform-origin: center bottom;
}
.hero::after { content: ""; position: absolute; right: -130px; top: -180px; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(181,31,46,.48), transparent 68%); }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(310px, .72fr); gap: clamp(36px, 6vw, 90px); align-items: center; padding-block: clamp(72px, 9vw, 126px); }
.hero h1 { color: #fff; max-width: 900px; }
.hero-lead { max-width: 760px; color: rgba(255,255,255,.86); font-size: clamp(1.08rem, 1.5vw, 1.3rem); }
.eyebrow { margin-bottom: 0.8rem; color: var(--red); font-weight: 800; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.13em; }
.eyebrow--light { color: #ff9aa6; }
.hero .eyebrow { color: #ffabb4; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 30px 0 18px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 12px 20px; border-radius: 999px; text-decoration: none; font-weight: 800; }
.button--primary { background: var(--red); color: #fff; box-shadow: 0 10px 25px rgba(181,31,46,.35); }
.button--primary:hover { background: #d02b3c; color: #fff; }
.button--secondary { border: 1px solid rgba(255,255,255,.55); color: #fff; }
.button--secondary:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.08); }
.hero-qualifier { color: rgba(255,255,255,.68); font-size: 0.92rem; }
.status-card { padding: 30px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.09); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.status-card h2 { color: #fff; font-size: 1.75rem; }
.status-card p, .status-card li { color: rgba(255,255,255,.83); }
.status-card__label { display: inline-block; margin-bottom: 12px; padding: 6px 10px; border-radius: 999px; background: rgba(181,31,46,.9); color: #fff !important; font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .09em; }
.status-list { margin-bottom: 0; padding-left: 1.25rem; }

.section { padding-block: clamp(66px, 8vw, 104px); }
.section--notice { padding-block: 34px; background: #eef3f6; border-block: 1px solid var(--line); }
.notice-panel { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr); gap: 42px; align-items: start; }
.notice-panel h2 { font-size: clamp(1.6rem, 2.7vw, 2.4rem); }
.notice-copy p:last-child { margin-bottom: 0; font-weight: 700; }
.section-heading { max-width: 780px; margin-bottom: 42px; }
.section-heading > p:last-child { color: var(--muted); font-size: 1.05rem; }
.section-heading--compact { margin-bottom: 28px; }
.cards { display: grid; gap: 22px; }
.three-up { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.card { position: relative; min-height: 260px; padding: 30px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: 0 12px 34px rgba(11,34,57,.07); }
.card-number { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; margin-bottom: 28px; border-radius: 50%; background: var(--soft); color: var(--red); font-weight: 800; }
.card p { color: var(--muted); }
.section--dark { background: var(--navy); color: rgba(255,255,255,.82); }
.section--dark h2, .section--dark h3 { color: #fff; }
.partnerships-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(260px, .8fr); gap: 36px 64px; }
.large-copy { max-width: 700px; font-size: 1.2rem; }
.partner-list { display: grid; gap: 12px; }
.partner-list div { padding: 15px 18px; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-weight: 700; }
.partnership-conditions { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.17); }
.text-link { color: #fff; font-weight: 800; text-decoration: none; }
.text-link:hover { color: #ffabb4; }
.boundary-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 22px; }
.boundary { padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); }
.boundary--yes { background: var(--green-soft); border-color: #bddfce; }
.boundary--no { background: var(--red-soft); border-color: #f0c4c9; }
.boundary ul { margin-bottom: 0; padding-left: 1.2rem; }
.section--contact { background: var(--soft); }
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1fr); gap: 50px; align-items: start; }
.contact-card { display: grid; gap: 0; margin: 0; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; font-style: normal; }
.contact-card > div { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 16px 22px; border-bottom: 1px solid var(--line); }
.contact-card > div:last-child { border-bottom: 0; }
.contact-card span { color: var(--muted); font-size: .88rem; }
.contact-card strong, .contact-card a { color: var(--navy); overflow-wrap: anywhere; }

.site-footer { padding-block: 30px; background: #071a2c; color: rgba(255,255,255,.72); font-size: .88rem; }
.footer-grid { display: grid; grid-template-columns: 1.1fr .8fr 1.2fr; gap: 24px; align-items: start; }
.footer-grid > div { display: flex; flex-direction: column; gap: 5px; }
.footer-grid a { color: #fff; }
.footer-grid strong { color: #fff; }
.footer-grid > div:last-child { text-align: right; }

.legal-main { background: var(--soft); min-height: 70vh; padding-block: 64px 92px; }
.legal-layout { max-width: 920px; }
.legal-header { margin-bottom: 34px; padding: 34px; border-radius: var(--radius); background: var(--navy); color: rgba(255,255,255,.78); }
.legal-header h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.legal-copy { padding: clamp(28px, 5vw, 58px); border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: 0 14px 40px rgba(11,34,57,.08); }
.legal-copy section + section { padding-top: 24px; border-top: 1px solid var(--line); }
.legal-copy h2 { font-size: 1.3rem; }
.legal-copy p { color: #3e4a55; }

:focus-visible { outline: 3px solid #f5b43c; outline-offset: 3px; }

@media (max-width: 900px) {
  .header-inner { align-items: flex-start; padding-block: 16px; }
  nav { gap: 13px; }
  .hero-inner, .contact-grid { grid-template-columns: 1fr; }
  .status-card { max-width: 650px; }
  .three-up { grid-template-columns: 1fr; }
  .partnerships-grid { grid-template-columns: 1fr; }
  .notice-panel { grid-template-columns: 1fr; gap: 8px; }
}

@media (max-width: 680px) {
  .wrap { width: min(calc(100% - 28px), var(--max)); }
  .status-strip__inner { flex-direction: column; gap: 1px; padding-block: 9px; }
  .site-header { position: static; }
  .header-inner { flex-direction: column; }
  nav { width: 100%; justify-content: flex-start; }
  nav a { font-size: .84rem; }
  .hero-inner { padding-block: 60px; }
  .hero h1 { font-size: 2.35rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .button { width: 100%; }
  .boundary-grid { grid-template-columns: 1fr; }
  .contact-card > div { grid-template-columns: 1fr; gap: 3px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:last-child { text-align: left; }
  .legal-main { padding-block: 34px 60px; }
  .legal-header, .legal-copy { padding: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}


/* Detailed careers and qualification standards */
.career-standards { display: grid; gap: 24px; }
.standard-card {
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 12px 34px rgba(11,34,57,.07);
}
.standard-card__heading { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-bottom: 22px; }
.standard-card__heading h3 { margin: 0; font-size: clamp(1.45rem, 2.6vw, 2.05rem); }
.role-tag {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--red-soft);
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.standard-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.standard-columns > div { padding: 22px; border-radius: 14px; background: var(--soft); }
.standard-columns h4 { margin: 0 0 10px; color: var(--navy); font-size: 1rem; }
.standard-columns ul { margin-bottom: 0; padding-left: 1.2rem; }
.standard-columns li + li { margin-top: 6px; }
.section-heading--light h2,
.section-heading--light > p:last-child { color: #fff; }
.career-standards--dark .standard-card--dark {
  border-color: rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  box-shadow: none;
}
.standard-card--dark h3,
.standard-card--dark h4 { color: #fff; }
.standard-card--dark .standard-columns > div {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
}
.standard-card--dark li,
.standard-card--dark p { color: rgba(255,255,255,.82); }
.standard-card--dark .role-tag { background: rgba(181,31,46,.8); color: #fff; }
.regulatory-links { background: var(--soft); padding-block: 52px; }
.regulatory-link-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.regulatory-link-grid a {
  display: block;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--navy);
  text-decoration: none;
  font-weight: 700;
}
.regulatory-link-grid a:hover { border-color: var(--red); color: var(--red-dark); }

@media (max-width: 850px) {
  .standard-columns,
  .regulatory-link-grid { grid-template-columns: 1fr; }
}


/* Official Maple Cargo bird logo */
.brand--official-logo {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  min-width: 245px;
  text-decoration: none;
}
.brand-logo {
  display: block;
  width: clamp(238px, 25vw, 330px);
  height: auto;
  object-fit: contain;
}
.brand-legal-name {
  margin-left: 4px;
  color: var(--muted);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.text-link--dark { color: var(--navy); }
.text-link--dark:hover { color: var(--red-dark); }

/* Concise public Careers page */
.careers-hero .hero-inner { padding-block: clamp(68px, 8vw, 112px); }
.career-category-grid .card { min-height: 285px; }
.career-category-grid ul { margin-bottom: 0; padding-left: 1.2rem; }
.career-category-grid li + li { margin-top: 7px; }

.qualification-accordion {
  display: grid;
  gap: 12px;
}
.qualification-accordion details {
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 14px;
  background: rgba(255,255,255,.06);
  overflow: hidden;
}
.qualification-accordion summary {
  position: relative;
  padding: 18px 54px 18px 20px;
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  list-style: none;
}
.qualification-accordion summary::-webkit-details-marker { display: none; }
.qualification-accordion summary::after {
  content: "+";
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: #ffabb4;
  font-size: 1.5rem;
  line-height: 1;
}
.qualification-accordion details[open] summary::after { content: "–"; }
.qualification-accordion .details-body {
  padding: 0 22px 20px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.qualification-accordion ul {
  margin: 18px 0 0;
  padding-left: 1.25rem;
}
.qualification-accordion li {
  color: rgba(255,255,255,.84);
}
.qualification-accordion li + li { margin-top: 7px; }
.regulatory-note {
  margin-top: 22px;
  color: rgba(255,255,255,.68);
  font-size: .9rem;
}

@media (max-width: 900px) {
  .brand--official-logo { min-width: 220px; }
  .brand-logo { width: 255px; }
}

@media (max-width: 680px) {
  .brand--official-logo { width: 100%; min-width: 0; }
  .brand-logo { width: min(300px, 86vw); }
}
