.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.skip-link {
  position: fixed;
  top: 16px;
  left: -9999px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
}

.skip-link:focus {
  left: 16px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  border-bottom: 1px solid var(--line);
  background: rgb(255 255 255 / 96%);
}

.header-inner {
  display: flex;
  align-items: center;
  min-height: 76px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
  gap: 28px;
}

.brand {
  flex: 0 0 auto;
  padding-block: 14px;
}

.brand img {
  width: auto;
  height: 36px;
}

.desktop-nav {
  display: flex;
  align-items: center;
  gap: 0 4px;
  margin-left: auto;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.desktop-nav > a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding-inline: 14px;
  color: var(--steel);
  white-space: nowrap;
  transition: color var(--transition);
}

.desktop-nav > a:hover {
  color: var(--navy);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 56px;
  padding: 0 26px;
  border: 0;
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.button i {
  flex: 0 0 auto;
  font-size: 24px;
  line-height: 1;
}

.button--header {
  justify-content: center;
  gap: 0;
  min-height: 46px;
  margin-left: 8px;
  padding-inline: 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.button--compact {
  justify-content: flex-start;
  gap: 14px;
  min-height: 52px;
  padding-inline: 22px;
  background: var(--navy);
  color: var(--white);
  font-size: 14px;
}

.button--header:hover,
.button--compact:hover {
  background: var(--blue);
  color: var(--white);
}

.button--orange {
  background: var(--orange);
  color: var(--navy);
}

.button--orange:hover {
  background: var(--orange-screen);
  color: var(--navy);
}

.button--outline {
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--navy);
}

.button--white {
  background: var(--white);
  color: var(--navy);
}

.button--white:hover {
  background: var(--grey);
  color: var(--navy);
}

.button--outline:hover {
  background: var(--grey);
  color: var(--navy);
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-left: auto;
  background: transparent;
  color: var(--navy);
  font-size: 28px;
  cursor: pointer;
}

.mobile-nav {
  padding: 4px var(--gutter) 22px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.mobile-nav > a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 52px;
  border-bottom: 1px solid var(--line);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mobile-nav .button {
  justify-content: space-between;
  gap: 20px;
  min-height: 54px;
  margin: 18px 0 0;
  font-size: 14px;
}

.hero__content {
  padding-top: clamp(64px, 9vw, 132px);
  padding-bottom: clamp(48px, 6vw, 80px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 18px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero .eyebrow {
  margin-bottom: clamp(28px, 4vw, 48px);
}

.eyebrow::after {
  width: 48px;
  height: 2px;
  background: var(--orange);
  content: "";
}

.eyebrow--small {
  gap: 16px;
  margin-bottom: 14px;
  font-size: 11px;
  letter-spacing: 0.12em;
}

.eyebrow--small:has(+ .subsection__intro) {
  margin-bottom: 8px;
}

.eyebrow--small::after {
  width: 40px;
}

h1,
.section-heading h2,
.company h2,
.contact h2 {
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  text-wrap: balance;
}

h1 {
  max-width: 20ch;
  font-size: clamp(38px, 6.4vw, 84px);
  letter-spacing: -0.035em;
  line-height: 0.94;
}

h1 > span {
  display: block;
  color: var(--orange);
}

.hero__columns {
  display: flex;
  flex-wrap: wrap;
  gap: 32px clamp(32px, 5vw, 72px);
  margin-top: clamp(32px, 4.5vw, 56px);
}

.hero__copy {
  display: flex;
  flex: 1 1 400px;
  flex-direction: column;
  gap: 26px;
}

.hero__lead {
  max-width: 48ch;
  color: var(--steel);
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.4;
}

.accent-quote {
  max-width: 34ch;
  padding-left: 18px;
  border-left: 6px solid var(--orange);
  font-family: var(--font-display);
  font-size: clamp(16px, 1.7vw, 19px);
  font-style: italic;
  font-weight: 700;
  line-height: 1.25;
}

.hero__actions {
  display: flex;
  flex: 0 1 340px;
  flex-direction: column;
  align-self: flex-start;
  gap: 14px;
}

.hero__actions .button {
  min-height: 62px;
}

.hero__actions p {
  margin-top: 4px;
  color: var(--steel);
  font-size: 15px;
  line-height: 1.5;
}

.hero__visual {
  display: flex;
  align-items: flex-end;
  height: clamp(190px, 27vw, 360px);
  overflow: hidden;
  border-block: 1px solid var(--line);
}

.hero__visual img {
  flex: 0 0 auto;
  width: 102%;
  max-width: none;
  height: auto;
}

.proofs {
  background: var(--navy);
  color: var(--white);
}

.proofs__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
  gap: clamp(24px, 3vw, 40px) clamp(28px, 4vw, 56px);
  padding-top: clamp(44px, 5.5vw, 76px);
  padding-bottom: clamp(44px, 5.5vw, 76px);
}

.proofs article {
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 24%);
}

.proofs h2 {
  margin-bottom: 10px;
  color: var(--orange-screen);
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.proofs p {
  font-size: 16px;
  line-height: 1.55;
}

.section {
  padding-block: var(--section-space);
  scroll-margin-top: calc(var(--header-height) + var(--anchor-gap) - var(--section-space));
}

.section--grey {
  background: var(--grey);
}

.section-heading {
  margin-bottom: clamp(36px, 5vw, 64px);
}

#formations .section-heading {
  margin-bottom: clamp(32px, 4.5vw, 56px);
}

.section-heading h2,
.company h2,
.contact h2 {
  max-width: 24ch;
  font-size: clamp(28px, 3.8vw, 52px);
}

.section-heading--split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px 56px;
}

.section-heading--split h2 {
  flex: 1 1 380px;
  max-width: 22ch;
}

#reglementation .section-heading h2 {
  font-weight: 900;
}

.highlight {
  position: relative;
  z-index: 0;
  display: inline-block;
  isolation: isolate;
}

.highlight::before {
  position: absolute;
  right: -8px;
  bottom: -0.01em;
  left: -8px;
  z-index: -1;
  height: 0.44em;
  background: var(--orange);
  content: "";
  opacity: 0.85;
}

.accent-note {
  flex: 0 1 300px;
  padding-left: 18px;
  border-left: 6px solid var(--orange);
  color: var(--steel);
  font-size: 16px;
  line-height: 1.5;
}

.comparison {
  display: grid;
  grid-auto-flow: column;
  grid-template-rows: auto repeat(4, auto) auto;
  grid-auto-columns: minmax(0, 1fr);
  gap: 0 1px;
  background: var(--line-strong);
  box-shadow: var(--shadow);
}

.comparison__header {
  padding: clamp(26px, 3.4vw, 40px) clamp(26px, 3.4vw, 40px) 0;
  background: var(--white);
}

.comparison__header span,
.comparison__cell strong,
.choice-note h3 {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.comparison__header span {
  display: block;
  margin-bottom: 6px;
  letter-spacing: 0.12em;
}

.comparison__header h3 {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.comparison__header--required {
  box-shadow: inset 0 4px 0 var(--orange);
}

.comparison__header--required span {
  color: var(--orange);
}

.comparison__header--required h3 {
  color: var(--navy);
}

.comparison__cell {
  padding-inline: clamp(26px, 3.4vw, 40px);
  background: var(--white);
}

.comparison__cell > div {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  transition: opacity var(--transition);
}

.comparison__cell p {
  font-size: 17px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

.comparison__cell--required p {
  color: var(--navy);
}

.comparison__footer {
  height: clamp(26px, 3.4vw, 40px);
  background: var(--white);
}

.comparison.is-hovered .comparison__cell:not(.is-active) > div {
  opacity: 0.35;
}

.choice-note {
  max-width: 68ch;
  margin-top: clamp(24px, 3vw, 36px);
  padding: 16px 22px;
  border-left: 6px solid var(--orange);
  background: var(--white);
}

.choice-note h3 {
  margin-bottom: 6px;
  color: var(--navy);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.choice-note p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.55;
}

.training-selector {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(28px, 4vw, 56px);
}

.training-tabs {
  display: flex;
  flex: 1 1 280px;
  flex-direction: column;
  border-top: 1px solid var(--line);
}

.training-tabs button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 62px;
  padding: 0 18px 0 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition), background var(--transition);
}

.training-tabs button span {
  flex: 0 0 52px;
  font-family: var(--font-mono);
  font-size: 13px;
}

.training-tabs button[aria-selected="true"] {
  padding-left: 18px;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
}

.training-card {
  display: flex;
  flex: 999 1 460px;
  flex-direction: column;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 40px);
  background: var(--grey);
}

.training-panels {
  display: grid;
  overflow: hidden;
}

.training-panel {
  grid-area: 1 / 1;
  min-width: 0;
  transition: opacity 200ms ease, transform 260ms ease;
}

.training-panel[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
  transform: translateX(64px);
}

/* Le panneau situé avant l'actif coulisse dans l'autre sens. */
.training-panel--avant[aria-hidden="true"] {
  transform: translateX(-64px);
}

.training-panel__heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 20px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--navy);
}

.training-panel__heading span {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: clamp(22px, 2.6vw, 32px);
  font-weight: 700;
}

.training-panel__heading h3 {
  flex: 1 1 200px;
  color: var(--navy);
  font-family: var(--font-display);
  font-size: clamp(19px, 2.1vw, 26px);
  line-height: 1.05;
}

.training-panel > p {
  max-width: 54ch;
  margin-top: 20px;
  color: var(--steel);
  line-height: 1.55;
}

.training-panel__label {
  margin: 28px 0 14px !important;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.vehicle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(130px, 100%), 1fr));
  gap: 14px;
}

.vehicle-grid figure {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.vehicle-grid div {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--white);
}

.vehicle-grid img {
  width: 100%;
  height: 100%;
  padding: 12px;
  object-fit: contain;
}

.vehicle-grid figcaption {
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.training-card__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: space-between;
  gap: 14px 20px;
  margin-top: 28px;
}

.training-card__footer .button {
  margin: 0;
  min-height: 52px;
}

.training-card__footer p {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  align-self: center;
  color: var(--navy);
  font-family: var(--font-display);
  text-align: right;
}

.training-card__footer p span {
  color: var(--steel);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.method-heading {
  gap: 20px 56px;
  margin-bottom: clamp(28px, 3.5vw, 44px);
}

.method-heading h2 {
  flex: 1 1 260px;
  max-width: 20ch;
}

.method-motto {
  flex: 0 1 260px;
  max-width: 320px;
  padding: 14px 22px;
  border-inline: 8px solid var(--orange);
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-size: 14px;
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.3;
  text-align: center;
  text-transform: uppercase;
}

.subsection {
  margin-top: clamp(40px, 5vw, 72px);
}

.objective-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: clamp(16px, 2vw, 24px);
}

.objective-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
  overflow: hidden;
  padding: clamp(24px, 3vw, 34px) clamp(22px, 2.6vw, 30px);
  border-left: 8px solid var(--steel);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.objective-grid article:hover {
  border-left-color: var(--orange);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.objective-grid i {
  position: absolute;
  right: -26px;
  bottom: -44px;
  color: var(--navy);
  font-size: 210px;
  line-height: 1;
  opacity: 0.03;
}

.objective-grid h3 {
  font-size: 17px;
  font-weight: 600;
  line-height: 1.3;
}

.objective-grid p,
.method-grid p {
  color: var(--steel);
  font-size: 15px;
  line-height: 1.55;
}

.subsection__intro {
  max-width: 56ch;
  color: var(--navy);
  font-size: clamp(17px, 1.8vw, 20px);
  line-height: 1.35;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(230px, 100%), 1fr));
  gap: 1px;
  margin-top: clamp(32px, 4vw, 52px);
  border-top: 1px solid var(--line-strong);
  background: var(--line-strong);
}

.method-grid article {
  padding: clamp(22px, 2.6vw, 32px);
  background: var(--white);
}

.method-grid span {
  color: var(--orange);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: 700;
}

.method-grid h3 {
  margin: 10px 0;
  font-family: var(--font-display);
  font-size: 16px;
  line-height: 1.2;
}

.company {
  margin-top: clamp(40px, 5vw, 72px);
  padding-top: var(--company-space);
  border-top: 1px solid var(--line-strong);
  scroll-margin-top: calc(var(--header-height) + var(--anchor-gap) - var(--company-space));
}

.company h2 {
  max-width: 20ch;
  margin-bottom: 28px;
}

.company > p:not(.eyebrow) {
  max-width: 56ch;
  margin-bottom: 18px;
  color: var(--steel);
}

.other-training {
  margin-top: clamp(40px, 5vw, 64px);
}

.other-training > h3 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.other-training > h3 span {
  flex: 1;
  height: 2px;
  background: var(--orange);
}

.other-training__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(118px, 45%), 1fr));
  gap: clamp(12px, 1.6vw, 20px);
}

.other-training figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(16px, 2vw, 22px);
  padding: clamp(20px, 2.4vw, 28px) clamp(14px, 1.8vw, 20px) clamp(22px, 2.6vw, 30px);
  border-radius: 16px;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line);
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

.other-training figure:hover {
  box-shadow: inset 0 0 0 1px var(--line), var(--shadow);
  transform: translateY(-4px);
}

.other-training img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

.other-training figcaption {
  color: var(--steel);
  text-wrap: pretty;
  font-size: clamp(12px, 1.3vw, 14px);
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.commitment {
  padding-block: clamp(64px, 8vw, 112px);
}

.commitment__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(32px, 5vw, 72px);
}

.commitment__inner > div:first-child {
  flex: 1 1 420px;
  min-width: 0;
}

.commitment__inner > .clients {
  flex: 1 1 320px;
  min-width: 0;
}

.commitment blockquote {
  max-width: 34ch;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.commitment blockquote + p {
  margin-top: 24px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 15px;
  font-style: italic;
  font-weight: 700;
}

.clients h2 {
  margin-bottom: 20px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.clients > div {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  gap: clamp(14px, 2.2vw, 32px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.clients img {
  width: 100%;
  max-height: 44px;
  object-fit: contain;
}

.clients img:first-child {
  max-width: 132px;
  object-position: left center;
}

.clients img:nth-child(2) {
  max-width: 150px;
}

.clients img:last-child {
  max-width: 168px;
  max-height: 40px;
  object-position: right center;
}

.clients p {
  margin-top: 22px;
  color: var(--steel);
  font-size: 15px;
}

.contact {
  position: relative;
  overflow: hidden;
  padding-block: var(--section-space);
  background: var(--navy);
  color: var(--white);
  scroll-margin-top: calc(var(--header-height) + var(--anchor-gap) - var(--section-space));
}

.contact__watermark {
  position: absolute;
  bottom: -6vw;
  left: -2vw;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(160px, 24vw, 380px);
  font-weight: 700;
  letter-spacing: -0.12em;
  line-height: 0.8;
  opacity: 0.03;
  pointer-events: none;
}

.contact__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: clamp(36px, 5vw, 72px);
}

.contact__details {
  flex: 1 1 320px;
}

.contact__details h2 {
  max-width: 14ch;
  margin-bottom: 24px;
  color: var(--white);
}

.contact__details > p {
  max-width: 40ch;
  margin-bottom: 28px;
}

.contact__details > a:not(.button) {
  display: flex;
  align-items: center;
  min-height: 34px;
  color: var(--white);
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 700;
  transition: color var(--transition);
}

.contact__details > a:not(.button):hover {
  color: var(--orange-screen);
}

.contact address {
  margin-top: 12px;
  font-size: 16px;
  font-style: normal;
}

.contact ol {
  margin: clamp(32px, 4vw, 48px) 0 0;
  padding: 0;
  border-top: 1px solid rgb(255 255 255 / 24%);
  list-style: none;
}

.contact li {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding-block: 14px;
  border-bottom: 1px solid rgb(255 255 255 / 24%);
  font-size: 16px;
}

.contact li span {
  flex: 0 0 auto;
  color: var(--orange-screen);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
}

.contact__details .button {
  display: flex;
  width: 100%;
  margin-top: 24px;
}

.form-card {
  flex: 999 1 480px;
  min-width: 0;
  padding: clamp(26px, 3.4vw, 44px);
  background: var(--white);
  color: var(--navy);
}

.form-card form {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.form-card h2 {
  font-size: clamp(21px, 2.3vw, 27px);
}

.field,
.field > span {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.field > span {
  flex-direction: row;
  align-items: baseline;
}

.field small {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: none;
}

.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(180px, 100%), 1fr));
  gap: 8px 28px;
}

.field input,
.field textarea,
.custom-select > button {
  width: 100%;
  min-height: 54px;
  padding: 0 16px;
  border: 0;
  background: var(--grey);
  color: var(--navy);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  font-family: var(--font-body);
  font-size: 17px;
  letter-spacing: 0;
  text-transform: none;
  transition: box-shadow var(--transition), background var(--transition);
}

.field textarea {
  min-height: 110px;
  padding-block: 14px;
  field-sizing: content;
  line-height: 1.55;
  resize: vertical;
}

.field input:focus,
.field textarea:focus,
.custom-select > button:focus {
  outline: 0;
  background: var(--white);
  box-shadow: inset 0 0 0 2px var(--blue);
}

.custom-select {
  position: relative;
}

.custom-select > button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
  cursor: pointer;
}

.custom-select svg {
  flex: 0 0 12px;
  width: 12px;
}

.custom-select path {
  fill: none;
  stroke: var(--orange);
  stroke-linecap: square;
  stroke-width: 2;
}

.custom-select__options {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  left: 0;
  z-index: 20;
  display: flex;
  flex-direction: column;
  background: var(--white);
  box-shadow: inset 0 0 0 1px var(--navy), var(--shadow);
}

.custom-select__options button {
  display: flex;
  align-items: center;
  min-height: 50px;
  padding: 0 16px;
  background: var(--white);
  color: var(--steel);
  font-size: 16px;
  line-height: 1.3;
  text-align: left;
  cursor: pointer;
}

.custom-select__options button:hover {
  background: var(--grey);
  color: var(--navy);
}

.custom-select__options button[aria-selected="true"] {
  padding-right: 13px;
  border-left: 3px solid var(--orange);
  color: var(--navy);
  font-weight: 600;
}

.form-success {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-success h2 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
}

.form-success p {
  color: var(--steel);
  font-size: 17px;
  line-height: 1.6;
}

.form-success .button {
  align-self: flex-start;
  justify-content: flex-start;
  gap: 16px;
  min-height: 52px;
  padding-inline: 24px;
  font-size: 14px;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-note {
  color: var(--steel);
  font-size: 13px;
  line-height: 1.5;
}

.privacy-note a {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-status {
  padding: 12px 16px;
  border-left: 4px solid var(--orange);
  background: var(--grey);
  color: var(--navy);
  font-size: 15px;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding-block: clamp(36px, 4.5vw, 56px);
}

.footer-main {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px 48px;
}

.footer-main > img {
  width: auto;
  height: 38px;
}

.footer-main dl {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 36px;
}

.footer-main dt {
  color: var(--steel);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.footer-main dd {
  margin-top: 4px;
  font-size: 14px;
}

.activity-number {
  margin-top: 24px;
  color: var(--steel);
  font-size: 12px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px 28px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--steel);
  font-family: var(--font-mono);
  font-size: 11px;
}

.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 22px;
}

.footer-bottom a {
  color: var(--steel);
}

.footer-bottom a:hover {
  color: var(--navy);
}

.legal-page main {
  min-height: 70vh;
  padding-block: var(--section-space);
  background: var(--grey);
}

.legal-page .header-inner > .button {
  margin-left: auto;
}

.legal-content {
  max-width: 820px;
}

.legal-content h1 {
  margin-bottom: 48px;
  font-size: clamp(36px, 5vw, 64px);
}

.legal-content h2 {
  margin: 38px 0 12px;
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.2;
}

.legal-content p,
.legal-content li {
  color: var(--steel);
}

.legal-content p + p {
  margin-top: 14px;
}

.legal-content a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
