/* Self-hosted fonts (SIL Open Font License 1.1), no third-party requests */
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext-400-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/montserrat-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext-600-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/montserrat-latin-600-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-latin-ext-700-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/montserrat-latin-700-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-ext-400-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "DM Serif Display";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("fonts/dm-serif-display-latin-400-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-latin-ext-600-normal.woff2") format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Caveat";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("fonts/caveat-latin-600-normal.woff2") format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* Layout: one-page site. Navy hero with a boarding-pass card (PL → USA motif), then alternating white / Court Gray bands. Single light brand look by choice. */
:root {
  --navy: #002060;
  --navy-deep: #001845;
  --navy-text: #1f2a44;
  --red: #c8102e;
  --red-hover: #a50d26;
  --white: #ffffff;
  --gray: #eef1f5;
  --line: #d5dce7;
  --muted: #4a5670;
  --gold: #f2b33d;

  --font-title: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-sans: "Montserrat", "Segoe UI", Arial, sans-serif;
  --font-note: "Caveat", "Segoe Script", "Comic Sans MS", cursive;

  --radius: 12px;
  --max: 1140px;
  color-scheme: light;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: auto;
  scroll-padding-top: 0;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    transition: none !important;
    animation: none !important;
  }
}
body {
  background: var(--white);
  color: var(--navy-text);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
}

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
@media (min-width: 720px) {
  .wrap {
    padding-left: max(32px, env(safe-area-inset-left, 0px));
    padding-right: max(32px, env(safe-area-inset-right, 0px));
  }
}

h1,
h2 {
  font-family: var(--font-title);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  margin: 0;
  text-wrap: balance;
}
h1 {
  font-size: clamp(38px, 6vw, 64px);
}
h2 {
  font-size: clamp(30px, 4vw, 42px);
}
h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}
p {
  margin: 0;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

.eyebrow {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}
.mark {
  text-decoration: underline;
  text-decoration-color: var(--red);
  text-decoration-thickness: 3px;
  text-underline-offset: 8px;
}
.note {
  font-family: var(--font-note);
  font-weight: 600;
  font-size: 28px;
  color: var(--red);
  line-height: 1.1;
}
.usa {
  color: var(--red);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 16px;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition:
    background 0.15s,
    color 0.15s,
    border-color 0.15s;
}
.btn-red {
  background: var(--red);
  color: var(--white);
}
.btn-red:hover {
  background: var(--red-hover);
}
.btn-ghost {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}
.btn-ghost:hover {
  background: var(--navy);
  color: var(--white);
}
.on-navy .btn-ghost {
  border-color: var(--white);
  color: var(--white);
}
.on-navy .btn-ghost:hover {
  background: var(--white);
  color: var(--navy);
}

/* Header */
header.site {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 20;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-block: 14px;
}
.logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1;
}
.logo-h {
  height: 48px;
  width: auto;
  display: block;
}
.logo-s {
  width: 190px;
  height: auto;
  display: block;
}
@media (max-width: 420px) {
  .logo-h {
    height: 38px;
  }
}
.nav-links {
  display: flex;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
  color: var(--navy);
}
.nav-links a:hover {
  color: var(--red);
}
.nav .btn {
  padding: 11px 20px;
  font-size: 14px;
}
@media (max-width: 960px) {
  .nav-links {
    display: none;
  }
}
@media (max-width: 420px) {
  .nav .btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}

/* Hero */
.hero {
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    circle at 85% 20%,
    rgba(255, 255, 255, 0.07),
    transparent 45%
  );
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
  padding-block: 88px 96px;
  position: relative;
  z-index: 1;
}
.hero h1 {
  color: var(--white);
  margin-top: 18px;
}
.hero .eyebrow {
  color: var(--gold);
}
.hero-lead {
  font-size: 19px;
  max-width: 34em;
  margin-top: 22px;
  color: #dce3f0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}
.slogan {
  margin-top: 30px;
  font-family: var(--font-note);
  font-size: 26px;
  color: var(--gold);
}
@media (max-width: 860px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-block: 56px 64px;
  }
}

/* Boarding pass */
.hero-visual {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 460px;
  padding-bottom: 40px;
}
.hero-photo {
  margin: 0 0 0 auto;
  width: 76%;
  background: var(--white);
  padding: 10px;
  transform: rotate(2.5deg);
  box-shadow: 0 24px 60px rgba(0, 10, 40, 0.45);
}
.hero-photo img {
  display: block;
  width: 100%;
  height: auto;
}
.pass {
  background: var(--white);
  color: var(--navy);
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 10, 40, 0.45);
  position: absolute;
  left: 0;
  bottom: 0;
  width: 300px;
  transform: rotate(-3deg);
}
.hero-visual .code {
  font-size: 38px;
}
.hero-visual .pass-fields {
  gap: 10px 14px;
  padding: 14px 18px 16px;
}
.hero-visual .pass-route {
  padding: 16px 18px 4px;
}
.hero-visual .pass-top,
.hero-visual .pass-stub {
  padding-left: 18px;
  padding-right: 18px;
}
@media (max-width: 860px) {
  .hero-visual {
    justify-self: start;
    max-width: 420px;
    padding-bottom: 0;
  }
  .hero-photo {
    width: 82%;
    margin: 0;
  }
  .pass {
    position: relative;
    width: min(320px, 92%);
    margin: -90px 0 0 auto;
  }
}
.pass-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-bottom: 2px dashed var(--line);
}
.pass-top span {
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.pass-top .plane {
  font-size: 18px;
}
.pass-route {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 22px 22px 6px;
}
.code {
  font-family: var(--font-title);
  font-size: 50px;
  line-height: 1;
}
.code small {
  display: block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--muted);
  margin-top: 6px;
}
.route-line {
  height: 2px;
  background-image: linear-gradient(90deg, var(--navy) 50%, transparent 0);
  background-size: 10px 2px;
  position: relative;
}
.route-line::after {
  content: "→";
  position: absolute;
  right: -4px;
  top: -13px;
  font-size: 18px;
  color: var(--red);
  font-weight: 700;
}
.pass-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 18px;
  padding: 18px 22px 22px;
}
.pass-field label {
  display: block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.pass-field b {
  font-size: 15px;
}
.pass-stub {
  background: var(--gray);
  border-radius: 0 0 16px 16px;
  padding: 14px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.barcode {
  height: 30px;
  flex: 1;
  max-width: 170px;
  background: repeating-linear-gradient(
    90deg,
    var(--navy) 0 2px,
    transparent 2px 4px,
    var(--navy) 4px 5px,
    transparent 5px 8px,
    var(--navy) 8px 11px,
    transparent 11px 13px
  );
}
.pass-stub span {
  font-family: var(--font-note);
  font-size: 22px;
  color: var(--red);
}

/* Sections */
section {
  scroll-margin-top: 80px;
}
.band {
  padding-block: 96px;
}
.band.gray {
  background: var(--gray);
}
@media (max-width: 720px) {
  .band {
    padding-block: 64px;
  }
}
.head {
  display: grid;
  gap: 14px;
  max-width: 46em;
  margin-bottom: 48px;
}
.head p {
  font-size: 18px;
  color: var(--muted);
}

/* Founder */
.founder {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .founder {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}
.polaroids {
  display: grid;
  gap: 22px;
}
.polaroid {
  background: var(--white);
  padding: 12px 12px 14px;
  box-shadow: 0 14px 34px rgba(0, 32, 96, 0.16);
  width: 68%;
  position: relative;
}
.polaroid figcaption {
  font-family: var(--font-note);
  font-size: 23px;
  color: var(--navy);
  text-align: center;
  margin-top: 8px;
  line-height: 1.1;
}
.polaroid.p1 {
  justify-self: start;
  transform: rotate(-3deg);
}
.polaroid.p2 {
  justify-self: end;
  transform: rotate(3deg);
}
.tape {
  position: absolute;
  top: -12px;
  left: 50%;
  width: 86px;
  height: 24px;
  transform: translateX(-50%) rotate(-4deg);
  background: rgba(242, 179, 61, 0.55);
}
@media (max-width: 900px) {
  .polaroids {
    display: flex;
    gap: 16px;
    max-width: 560px;
  }
  .polaroid {
    width: 50%;
  }
}

.founder-text {
  display: grid;
  gap: 20px;
  min-width: 0;
}
.founder-text p {
  max-width: 38em;
}
.founder-text .lead {
  font-size: 19px;
  color: var(--navy);
}
.sign {
  font-family: var(--font-note);
  font-size: 40px;
  color: var(--navy);
  line-height: 1;
}
.sign small {
  display: block;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
  margin-top: 6px;
}

.timeline {
  list-style: none;
  margin: 8px 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-left: 2px solid var(--line);
}
.timeline li {
  position: relative;
  padding: 0 0 22px 26px;
}
.timeline li:last-child {
  padding-bottom: 0;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: -7px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--navy);
}
.timeline li.us::before {
  border-color: var(--red);
}
.timeline .yrs {
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.1em;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.timeline b {
  display: block;
  color: var(--navy);
  font-size: 17px;
}
.timeline span {
  font-size: 15px;
  color: var(--muted);
}

/* Career stats */
.career {
  margin-top: 72px;
  background: var(--navy);
  color: var(--white);
  border-radius: 18px;
  padding: 44px 40px;
}
@media (max-width: 600px) {
  .career {
    padding: 32px 22px;
  }
}
.career-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px 24px;
  margin-bottom: 30px;
}
.career-head h3 {
  color: var(--white);
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 30px;
}
.career-head .eyebrow {
  color: var(--gold);
}
.seasons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  overflow: hidden;
}
@media (max-width: 960px) {
  .seasons {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 520px) {
  .seasons {
    grid-template-columns: 1fr;
  }
}
.season {
  background: var(--navy);
  padding: 24px 22px;
  display: grid;
  gap: 6px;
  align-content: start;
}
.season .yr {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #afc0dd;
}
.season .num {
  font-family: var(--font-title);
  font-size: 48px;
  line-height: 1;
  color: var(--gold);
  font-variant-numeric: tabular-nums;
  margin-top: 6px;
}
.season .num-label {
  font-weight: 600;
  font-size: 14px;
  color: var(--white);
}
.season p {
  font-size: 14px;
  color: #cbd5e8;
  line-height: 1.5;
  margin-top: 6px;
}
.edu {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  margin-top: 26px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.edu .ico {
  width: 46px;
  height: 46px;
  border: 2px solid var(--gold);
  border-radius: 50%;
  display: grid;
  place-items: center;
}
.edu p {
  color: #dce3f0;
  font-size: 15px;
  min-width: 0;
}
.edu strong {
  color: var(--white);
}

/* Mission */
.mission {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 860px) {
  .mission {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.mission blockquote {
  margin: 0;
  font-family: var(--font-title);
  font-size: clamp(26px, 3vw, 34px);
  line-height: 1.25;
  color: var(--navy);
}
.values {
  display: grid;
  gap: 22px;
}
.value {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
}
.value .ico {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: grid;
  place-items: center;
}
.value p {
  color: var(--muted);
  font-size: 16px;
  margin-top: 4px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .services {
    grid-template-columns: 1fr;
  }
}
.svc {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: grid;
  gap: 12px;
  align-content: start;
}
.svc .ico {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--gray);
  display: grid;
  place-items: center;
}
.svc p {
  color: var(--muted);
  font-size: 15.5px;
}
svg.i {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: var(--navy);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.edu svg.i {
  stroke: var(--gold);
}

/* Steps */
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: s;
}
@media (max-width: 960px) {
  .steps {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .steps {
    grid-template-columns: 1fr;
  }
}
.steps li {
  counter-increment: s;
  background: var(--white);
  border-radius: var(--radius);
  padding: 26px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
  position: relative;
}
.steps li::before {
  content: counter(s);
  font-family: var(--font-title);
  font-size: 44px;
  line-height: 1;
  color: var(--navy);
}
.steps li:not(:last-child)::after {
  content: "→";
  position: absolute;
  right: 18px;
  top: 26px;
  color: var(--red);
  font-weight: 700;
  font-size: 20px;
}
.steps p {
  color: var(--muted);
  font-size: 15.5px;
}

/* Parents */
.parents {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 860px) {
  .parents {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.checks {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 16px;
}
.checks li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 12px;
}
.checks li::before {
  content: "✓";
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}
.checks b {
  color: var(--navy);
}

/* CTA band */
.cta {
  background: var(--navy);
  color: var(--white);
}
.cta-inner {
  display: grid;
  grid-template-columns: 1.3fr auto;
  gap: 32px;
  align-items: center;
  padding-block: 80px;
}
@media (max-width: 860px) {
  .cta-inner {
    grid-template-columns: 1fr;
    padding-block: 60px;
  }
}
.cta h2 {
  color: var(--white);
}
.cta p {
  color: #dce3f0;
  font-size: 18px;
  margin-top: 14px;
  max-width: 34em;
}
.cta .btn {
  font-size: 17px;
  padding: 18px 32px;
}
.cta small {
  display: block;
  margin-top: 12px;
  color: #afc0dd;
  font-size: 13px;
  text-align: center;
}

/* Footer */
footer {
  background: var(--gray);
  padding-block: 56px 36px;
}
.foot {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr;
  }
}
.foot h4 {
  margin: 0 0 12px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--navy);
}
.foot p,
.foot li {
  font-size: 15px;
  color: var(--muted);
}
.foot ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}
.foot .dm {
  font-family: var(--font-note);
  font-size: 26px;
  color: var(--navy);
  margin-top: 10px;
}
.legal {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
}
.polaroid img {
  display: block;
  width: 100%;
  height: auto;
}
.career-body {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 28px;
  align-items: start;
}
.career-main {
  min-width: 0;
}
.career-main .seasons {
  grid-template-columns: repeat(2, 1fr);
}
.arena {
  margin: 0;
}
.arena img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}
.arena figcaption {
  font-family: var(--font-note);
  font-size: 22px;
  color: var(--gold);
  margin-top: 8px;
}
@media (max-width: 900px) {
  .career-body {
    grid-template-columns: 1fr;
  }
  .arena {
    max-width: 360px;
  }
}
@media (max-width: 520px) {
  .career-main .seasons {
    grid-template-columns: 1fr;
  }
}
.edu-img {
  width: 84px;
  height: auto;
  display: block;
  border-radius: 6px;
  border: 2px solid var(--gold);
}
.framed {
  margin: 10px 0 0;
  max-width: 380px;
  background: var(--white);
  padding: 10px;
  box-shadow: 0 14px 34px rgba(0, 32, 96, 0.16);
  transform: rotate(-1.5deg);
}
.framed img {
  display: block;
  width: 100%;
  height: auto;
}
.checklist {
  margin-top: 28px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 36px 30px;
  display: grid;
  gap: 22px;
}
@media (max-width: 600px) {
  .checklist {
    padding: 26px 20px 22px;
  }
}
.checklist-head {
  display: grid;
  gap: 8px;
}
.checklist-head h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: clamp(24px, 3vw, 30px);
}
.checklist ol {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: c;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-flow: column;
  grid-template-rows: repeat(5, auto);
  gap: 12px 40px;
}
@media (max-width: 760px) {
  .checklist ol {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-template-rows: none;
  }
}
.checklist li {
  counter-increment: c;
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 8px;
  align-items: start;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-weight: 600;
  font-size: 16px;
  min-width: 0;
}
.checklist li::before {
  content: counter(c) ".";
  grid-column: 1;
  grid-row: 1;
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 20px;
  color: var(--red);
  line-height: 1.1;
}
.checklist .note {
  font-size: 26px;
}
.todo {
  background: #fff4db;
  color: #6b4a00;
  border-radius: 4px;
  padding: 0 4px;
  font-weight: 600;
}

.form-card {
  background: var(--white);
  color: var(--navy-text);
  border-radius: var(--radius);
  box-shadow: 0 24px 60px rgba(0, 10, 40, 0.35);
  padding: 28px 24px;
}

.field {
  margin-bottom: 18px;
  border: 0;
  padding: 0;
  min-width: 0;
}

.field label,
.field legend {
  display: block;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--navy);
  margin-bottom: 6px;
  padding: 0;
}

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="number"],
.field select,
.field textarea {
  width: 100%;
  font: 400 1rem var(--font-sans);
  color: var(--navy);
  background: var(--gray);
  border: 2px solid transparent;
  border-radius: var(--radius);
  padding: 12px 14px;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--navy);
  background: var(--white);
}

.field [aria-invalid="true"]:not([type="radio"]):not([type="checkbox"]) {
  border-color: var(--red);
}

.field-row {
  display: grid;
  gap: 0 16px;
}

@media (min-width: 600px) {
  .field-row {
    grid-template-columns: 1fr 1fr;
  }
}

.field--choice {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
}

.field--choice legend {
  width: 100%;
}

.choice {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-weight: 400;
  font-size: 0.9375rem;
  cursor: pointer;
}

.field .choice {
  font-weight: 400;
}

.choice input {
  width: 20px;
  height: 20px;
  margin: 2px 0 0;
  accent-color: var(--navy);
  flex-shrink: 0;
}

.field__error {
  color: var(--red);
  font-size: 0.875rem;
  font-weight: 600;
  margin: 6px 0 0;
  min-height: 0;
}

.field__error:empty {
  display: none;
}

.field--choice .field__error {
  width: 100%;
}

.form-status {
  margin: 12px 0 0;
  font-weight: 600;
  color: var(--red);
  text-align: center;
}

.form-status:empty {
  display: none;
}

.form-success {
  text-align: center;
  padding: 24px 8px;
}

.form-success[hidden] {
  display: none;
}

.form-success .icon {
  margin: 0 auto 16px;
}

.form-success p {
  margin-left: auto;
  margin-right: auto;
}

/* CTA with the application form */
.cta-inner {
  grid-template-columns: 1fr 1.2fr;
  align-items: start;
  gap: 56px;
}
@media (max-width: 900px) {
  .cta-inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.cta-note {
  font-size: 15px;
  opacity: 0.9;
}
.form-card h3 {
  font-family: var(--font-title);
  font-weight: 400;
  font-size: 28px;
}
.form-card .heart {
  width: 48px;
  height: 48px;
  margin: 0 auto 16px;
  display: block;
  stroke: var(--red);
}
.btn--full {
  width: 100%;
}
button.btn {
  font-family: var(--font-sans);
  cursor: pointer;
}
.btn-red:disabled {
  opacity: 0.7;
  cursor: wait;
}

/* Header actions and language switch */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-toggle {
  font: 700 14px var(--font-sans);
  letter-spacing: 0.08em;
  color: var(--navy);
  background: transparent;
  border: 2px solid var(--navy);
  border-radius: 999px;
  min-width: 46px;
  padding: 8px 12px;
  cursor: pointer;
}
.lang-toggle:hover {
  background: var(--navy);
  color: var(--white);
}
@media (max-width: 420px) {
  .lang-toggle {
    padding: 7px 9px;
    min-width: 40px;
    font-size: 13px;
  }
  .nav-actions {
    gap: 6px;
  }
  .nav {
    gap: 10px;
  }
}

/* Footer contact: mail link and Instagram icon only */
.foot {
  grid-template-columns: 1.4fr auto;
  align-items: start;
}
@media (max-width: 760px) {
  .foot {
    grid-template-columns: 1fr;
  }
}
.foot-links {
  display: flex;
  align-items: center;
  gap: 20px;
}
.foot-links[hidden],
.foot-links li[hidden] {
  display: none;
}
.foot-mail {
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
}
.foot-mail:hover {
  color: var(--red);
}
.foot-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  color: var(--navy);
  transition:
    background 0.15s,
    color 0.15s;
}
.foot-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
}
.foot-icon .dot {
  fill: currentColor;
  stroke: none;
}
.foot-icon:hover {
  background: var(--navy);
  color: var(--white);
}
.legal a {
  color: var(--muted);
}
.legal a:hover {
  color: var(--red);
}

/* Skip link and privacy page */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 8px;
  z-index: 30;
}
.skip-link:focus {
  left: 8px;
}
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.legal-page {
  padding: 56px 0 80px;
}
.legal-page h2 {
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin: 32px 0 8px;
}
.legal-page h1 {
  margin-top: 12px;
}

/* Hides the page for a moment when a saved English choice is being applied */
.i18n-pending body {
  opacity: 0;
}

/* Language switch sits in a bar above the header and scrolls away with the page */
.topbar {
  background: var(--gray);
}
.topbar .wrap {
  display: flex;
  justify-content: flex-end;
  padding-block: 6px;
}
.topbar .lang-toggle {
  font-size: 12px;
  padding: 4px 12px;
  min-width: 44px;
  border-width: 1.5px;
}

/* The form is the main goal of the page: jump straight to its first question */
#aplikacja {
  scroll-margin-top: 84px;
}
.field input,
.field select,
.field textarea,
.field legend {
  scroll-margin-top: 100px;
}
.form-note {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 18px;
}
.form-card {
  min-width: 0;
}

@media (max-width: 900px) {
  .cta-lead {
    display: none;
  }
}

/* Phone layout */
@media (max-width: 720px) {
  #aplikacja {
    scroll-margin-top: 72px;
  }
  .nav {
    padding-block: 8px;
    gap: 12px;
  }
  .logo-h {
    height: 36px;
  }
  .nav .btn {
    white-space: nowrap;
    padding: 10px 14px;
    font-size: 13px;
  }
  .nav-actions {
    gap: 0;
  }
  .cta-inner {
    padding-block: 36px 40px;
    gap: 22px;
  }
  .cta h2 {
    font-size: 28px;
  }
  .form-card {
    padding: 20px 16px 22px;
    border-radius: 16px;
  }
  .field {
    margin-bottom: 16px;
  }
  .field input[type="text"],
  .field input[type="email"],
  .field input[type="tel"],
  .field input[type="number"],
  .field select,
  .field textarea {
    padding: 14px;
    font-size: 16px;
  }
  .field--choice {
    gap: 10px;
  }
  .field--choice .choice {
    flex: 1 1 100%;
    align-items: center;
    background: var(--gray);
    border-radius: var(--radius);
    padding: 14px;
    font-size: 16px;
  }
  .field--consent .choice {
    font-size: 14px;
  }
  .choice input {
    width: 22px;
    height: 22px;
    margin: 0;
  }
  .btn--full {
    padding: 17px 20px;
    font-size: 17px;
  }
}
@media (max-width: 380px) {
  .nav .btn {
    padding: 9px 11px;
    font-size: 12px;
  }
  .logo-h {
    height: 32px;
  }
}

/* Smooth scrolling is switched on by script.js after load, so a link that opens
   the page at #aplikacja jumps straight to the form */
html.smooth-scroll {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html.smooth-scroll {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
}
.cta .form-card p {
  color: var(--muted);
  margin-top: 0;
  max-width: none;
}
.cta .form-card .form-note {
  margin-bottom: 18px;
}
.cta .form-card .form-status {
  color: var(--red);
}
.cta .form-card .field__error {
  color: var(--red);
}

.cta .form-card .form-note {
  font-size: 14px;
  line-height: 1.5;
}
.choice span {
  line-height: 1.35;
}
