@font-face {
  font-family: BarlowCondensed;
  src: url('../fonts/barlow-condensed-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-400.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Inter;
  src: url('../fonts/inter-700.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

:root {
  --graphite: #101214;
  --graphite-soft: #1a1e21;
  --graphite-line: #34383c;
  --red: #c3261c;
  --red-dark: #8e1f18;
  --warm-white: #f3f0e8;
  --paper: #e6e0d4;
  --safety: #f0c419;
  --text: #151719;
  --muted: #66645f;
  --max: 74rem;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5rem, 10vw, 9rem);
  --shadow: 0 1.5rem 4rem rgb(0 0 0 / 18%);
  --focus: var(--red-dark);
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

main,
section,
article,
figure,
nav,
.site-footer > * { min-width: 0; }

h1,
h2,
h3,
p,
a,
li { overflow-wrap: anywhere; }

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration-thickness: .08em;
  text-underline-offset: .22em;
}

a,
button {
  min-width: 44px;
  min-height: 44px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-weight: 700;
  line-height: .94;
  text-transform: uppercase;
}

p { margin-block: 0 1.25rem; }

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: .5rem;
  left: .5rem;
  z-index: 100;
  padding: .75rem 1rem;
  transform: translateY(-180%);
  background: var(--safety);
  color: var(--graphite);
  font-weight: 700;
}

.skip-link:focus { transform: none; }

.site-header {
  --focus: var(--safety);
  position: absolute;
  inset: 0 0 auto;
  z-index: 20;
  color: var(--warm-white);
  border-bottom: 1px solid rgb(255 255 255 / 18%);
  background: linear-gradient(180deg, rgb(10 11 12 / 82%), transparent);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 2 * var(--gutter)), var(--max));
  min-height: 5.5rem;
  margin-inline: auto;
  gap: clamp(1rem, 2vw, 2rem);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: none;
  min-height: 44px;
  gap: .75rem;
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: .055em;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
}

.brand img {
  width: 3.2rem;
  height: 3.2rem;
  border: 1px solid rgb(255 255 255 / 28%);
  object-fit: cover;
}

.brand span { white-space: nowrap; }
.brand b { display: block; color: var(--warm-white); }
.brand small {
  display: block;
  margin-top: .35rem;
  color: var(--safety);
  font-family: Inter, Arial, sans-serif;
  font-size: .55rem;
  letter-spacing: .09em;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(.55rem, 1.3vw, 1.2rem);
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  padding: .65rem .8rem;
  border: 1px solid rgb(255 255 255 / 48%);
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.site-nav > a:not(.button) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-decoration: none;
}

.site-nav > a:not(.button)::after {
  position: absolute;
  right: 0;
  bottom: .4rem;
  left: 0;
  height: 2px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--red);
  transition: transform 180ms ease;
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.site-nav > a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  max-width: 100%;
  padding: .8rem 1.35rem;
  clip-path: polygon(0 0, 94% 0, 100% 28%, 100% 100%, 6% 100%, 0 72%);
  border: 0;
  font-family: Inter, Arial, sans-serif;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

.button:hover { transform: translateY(-2px); }

.button:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 3px var(--safety);
}

.button--header,
.button--primary {
  background: var(--red);
  color: #fff;
}

.button--header:hover,
.button--primary:hover { background: #e22a1f; }

.button--header[aria-current="page"] {
  text-decoration-line: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: .3em;
}

.button--ghost {
  box-shadow: inset 0 0 0 1px rgb(255 255 255 / 56%);
  color: #fff;
}

.button--ghost:hover {
  background: #fff;
  color: var(--graphite);
}

.button--ghost-dark {
  box-shadow: inset 0 0 0 1px var(--graphite);
  color: var(--graphite);
}

.button--ghost-dark:hover {
  background: var(--graphite);
  color: var(--warm-white);
}

.button--ghost-dark:focus-visible,
.button--ghost-dark:hover:focus-visible {
  box-shadow: inset 0 0 0 3px var(--graphite), inset 0 0 0 6px var(--warm-white);
}

.hero {
  --focus: var(--safety);
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(52rem, 92svh);
  padding: clamp(8rem, 18vh, 12rem) var(--gutter) clamp(6.5rem, 12vh, 8.5rem);
  overflow: hidden;
  isolation: isolate;
  background: var(--graphite);
  color: var(--warm-white);
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgb(8 10 11 / 88%) 0%, rgb(8 10 11 / 64%) 36%, rgb(8 10 11 / 8%) 70%),
    linear-gradient(0deg, rgb(8 10 11 / 74%) 0%, transparent 45%);
}

.hero__media,
.hero__media img {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media img {
  object-fit: cover;
  object-position: center 58%;
}

.hero__content {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.hero h1 {
  max-width: 12ch;
  font-size: clamp(3.75rem, 8.2vw, 7.7rem);
  letter-spacing: -.02em;
  text-wrap: balance;
}

.hero__lead {
  max-width: 36rem;
  margin: 1.4rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .8rem;
  margin-top: 2rem;
}

.eyebrow {
  margin-bottom: .9rem;
  color: var(--red-dark);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--safety); }

.section {
  padding: var(--section-space) max(var(--gutter), calc((100% - var(--max)) / 2));
}

.section > * {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding-top: clamp(1.5rem, 4vw, 2.5rem);
  padding-bottom: clamp(1.5rem, 4vw, 2.5rem);
  background: var(--graphite);
  color: var(--warm-white);
}

.metrics > p {
  display: grid;
  gap: .35rem;
  width: auto;
  padding: 1rem clamp(1rem, 3vw, 2rem);
  margin: 0;
  border-left: 1px solid var(--graphite-line);
}

.metrics > p:first-child { border-left: 0; }

.metrics strong {
  color: var(--safety);
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-size: clamp(2.75rem, 5vw, 4.5rem);
  line-height: .9;
  text-transform: uppercase;
}

.metrics span {
  max-width: 16ch;
  color: rgb(243 240 232 / 72%);
  font-size: .82rem;
}

.section-heading {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  max-width: 12ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -.015em;
}

.section-index {
  min-width: 2rem;
  padding-top: .35rem;
  color: var(--red);
  font-family: Inter, Arial, sans-serif;
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.section-index::after {
  display: block;
  width: 2rem;
  height: 2px;
  margin-top: .55rem;
  content: "";
  background: currentColor;
}

.section-heading--light { color: var(--warm-white); }
.section-heading--light .section-index { color: var(--safety); }

.section--intro {
  background: var(--paper);
}

.home .section--intro h2,
.section--dark h2,
.route-feature h2,
.section-cta h2 {
  max-width: 15ch;
  font-size: clamp(3rem, 6vw, 5.8rem);
  letter-spacing: -.015em;
}

.home .section--intro .lead,
.route-feature > p,
.section-cta > p {
  max-width: 46rem;
  margin-top: 1.5rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
  line-height: 1.55;
}

.section--dark {
  --focus: var(--safety);
  background: var(--graphite);
  color: var(--warm-white);
}

.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
  background: var(--graphite-line);
}

.route-card {
  min-height: 15rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  background: var(--graphite-soft);
}

.route-card h3 { font-size: clamp(1.9rem, 3vw, 2.7rem); }

.route-card p {
  margin: 1.25rem 0 0;
  color: rgb(243 240 232 / 70%);
  font-size: .9rem;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.5rem;
  color: var(--red-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.text-link::after {
  margin-left: .5rem;
  content: "→";
}

.section--dark .text-link,
.route-feature--dark .text-link { color: var(--safety); }

.route-feature { background: var(--warm-white); }
.route-feature--dark {
  --focus: var(--safety);
  background: var(--graphite-soft);
  color: var(--warm-white);
}

.route-feature--dark > p { color: rgb(243 240 232 / 72%); }

.home-gallery-preview {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.home-gallery-preview figure { margin: 0; }

.home-gallery-preview img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.home-gallery-preview figcaption {
  margin-top: .75rem;
  color: var(--muted);
  font-size: .85rem;
  line-height: 1.55;
}

.section-cta {
  --focus: var(--safety);
  background: var(--red-dark);
  color: var(--warm-white);
}

.section-cta > p { color: rgb(255 255 255 / 80%); }
.section-cta .button { margin-top: 1rem; }

.section--gallery {
  --focus: var(--safety);
  padding-top: clamp(9rem, 15vw, 12rem);
  background: var(--graphite-soft);
  color: var(--warm-white);
}

.gallery-intro {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(15rem, .7fr);
  align-items: end;
  gap: 3rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.gallery-intro .section-heading {
  width: auto;
  margin: 0;
}

.gallery-intro h1 { font-size: clamp(3rem, 8vw, 6rem); }

.gallery-intro > p {
  max-width: 32rem;
  margin: 0 0 .25rem;
  color: rgb(243 240 232 / 68%);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: clamp(.8rem, 1.8vw, 1.3rem);
}

.gallery__item {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: #090b0c;
}

.gallery__item a {
  position: relative;
  display: block;
  height: 100%;
}

.gallery__item a:focus-visible { outline: 0; }

.gallery__item a:focus-visible::after {
  position: absolute;
  inset: 3px;
  box-shadow: inset 0 0 0 3px var(--safety);
  z-index: 2;
  content: "";
  pointer-events: none;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(.2, .8, .2, 1), opacity 180ms ease;
}

.gallery__item a:hover img,
.gallery__item a:focus-visible img {
  transform: scale(1.025);
  opacity: .88;
}

.gallery__item figcaption {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 3rem 1.25rem 1rem;
  pointer-events: none;
  background: linear-gradient(0deg, rgb(5 6 7 / 92%), transparent);
  color: #fff;
  font-size: .76rem;
}

.gallery__item--fleet {
  grid-column: span 7;
  grid-row: span 2;
  min-height: 36rem;
}

.gallery__item--briefing {
  grid-column: span 5;
  min-height: 17.35rem;
}

.gallery__item--team {
  grid-column: span 5;
  min-height: 17.35rem;
}

.gallery__item--operations {
  grid-column: 3 / span 8;
  min-height: 28rem;
  margin-top: clamp(.5rem, 2vw, 1.5rem);
}

.gallery__item--archive {
  grid-column: 5 / span 4;
  min-height: 18rem;
}

#gallery-dialog {
  --focus: var(--safety);
  width: min(calc(100% - 2rem), 72rem);
  max-height: min(90svh, 52rem);
  padding: 0;
  border: 1px solid var(--graphite-line);
  background: var(--graphite);
  color: var(--warm-white);
  box-shadow: var(--shadow);
}

#gallery-dialog:not([open]) { display: none; }

#gallery-dialog::backdrop { background: rgb(0 0 0 / 76%); }

.gallery-dialog__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem 1rem;
}

.gallery-dialog__bar h2 { font-size: clamp(1.5rem, 4vw, 2.25rem); }

[data-gallery-close] {
  display: inline-grid;
  flex: none;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgb(255 255 255 / 48%);
  background: transparent;
  color: inherit;
  font-size: 2rem;
  line-height: 1;
}

[data-gallery-image] {
  width: 100%;
  max-height: calc(min(90svh, 52rem) - 4.5rem);
  object-fit: contain;
}

.contact-email {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  max-width: 100%;
  color: var(--red-dark);
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-size: clamp(2rem, 5.2vw, 5rem);
  font-weight: 700;
  line-height: 1;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.site-footer {
  --focus: var(--safety);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  min-height: 9rem;
  padding: 2rem max(var(--gutter), calc((100vw - var(--max)) / 2));
  gap: 2rem;
  background: var(--graphite);
  color: var(--warm-white);
}

.site-footer__identity p {
  max-width: 32ch;
  margin: 1rem 0 0;
  color: rgb(243 240 232 / 72%);
  font-size: .8rem;
}

.site-footer__contact { display: grid; justify-items: start; }

.emergency-note {
  grid-column: 1 / -1;
  padding-top: 1.5rem;
  margin: 0;
  border-top: 1px solid var(--graphite-line);
  color: rgb(243 240 232 / 72%);
  font-size: .8rem;
}

.site-footer__copyright { grid-column: 1 / 3; }

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0 1.25rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

.brand--footer img {
  width: 2.8rem;
  height: 2.8rem;
}

.site-footer__copyright,
.site-footer > a:last-child {
  margin: 0;
  color: rgb(243 240 232 / 62%);
  font-size: .74rem;
}

body:not(.home) main#contenuto {
  width: auto;
  min-height: 0;
  padding: 0;
  margin-inline: auto;
}

body:not(.home) main#contenuto a:not(.button) {
  min-height: 44px;
  font-weight: 700;
}

body.contacts main#contenuto,
body.privacy main#contenuto {
  width: auto;
  min-height: 0;
  padding: 0;
}

.page-hero {
  --focus: var(--safety);
  padding: clamp(9rem, 18vw, 13rem) max(var(--gutter), calc((100% - var(--max)) / 2)) clamp(4.5rem, 9vw, 7rem);
  background: var(--graphite);
  color: var(--warm-white);
}

.page-hero .eyebrow { color: var(--safety); }

.page-hero__content {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.page-hero h1 {
  max-width: 11ch;
  margin-bottom: 0;
  font-size: clamp(3.75rem, 8vw, 7rem);
  letter-spacing: -.02em;
}

.association .page-hero h1 { max-width: 100%; }

.agreements .section-heading h2 { max-width: 14ch; }

.page-hero__lead {
  max-width: 42rem;
  margin: 1.4rem 0 0;
  color: rgb(243 240 232 / 76%);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.page-hero--contact > * {
  width: min(100%, var(--max));
  margin-inline: auto;
}

.page-hero--contact > .eyebrow { color: var(--safety); }

.page-hero--contact > p:last-child {
  max-width: 42rem;
  margin-top: 1.4rem;
  margin-bottom: 0;
  color: rgb(243 240 232 / 76%);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.contact-panel { background: var(--paper); }

.contact-panel h2,
.privacy-notice h2 {
  max-width: 16ch;
  color: var(--red-dark);
  font-size: clamp(2.4rem, 5vw, 4.5rem);
  letter-spacing: -.015em;
}

.contact-panel .contact-email { margin-top: clamp(1.5rem, 3vw, 2.5rem); }

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
}

.privacy-notice { background: #fffdf8; }

.privacy-notice a { display: inline-flex; align-items: center; }

.privacy-notice > div { max-width: 52rem; }

.privacy-notice__date {
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.privacy-notice h2:not(:first-of-type) { margin-top: clamp(2.5rem, 5vw, 4rem); }

.privacy-notice h2 + p {
  max-width: 52rem;
  margin-top: 1.2rem;
  color: var(--muted);
}

.identity-feature {
  display: grid;
  grid-template-columns: minmax(15rem, min(32vw, 28rem)) minmax(0, 1fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  background: var(--paper);
}

.identity-feature > * {
  width: auto;
  margin: 0;
}

.identity-feature__mark {
  filter: drop-shadow(0 1.25rem 2rem rgb(0 0 0 / 16%));
}

.identity-feature__mark img {
  width: min(100%, 28rem);
  height: auto;
}

.identity-feature h2 {
  max-width: 15ch;
  font-size: clamp(2.8rem, 5vw, 5rem);
  letter-spacing: -.015em;
}

.identity-feature .lead {
  max-width: 43rem;
  margin-top: 1.5rem;
  font-size: clamp(1.1rem, 1.9vw, 1.45rem);
  line-height: 1.5;
}

.identity-feature .lead + p {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--muted);
}

.association-values { background: var(--warm-white); }

.association-values .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.value-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
  list-style: none;
  counter-reset: value;
  background: #c8c2b7;
}

.value-card {
  min-height: 17rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #fffdf8;
  counter-increment: value;
}

.value-card::before {
  display: block;
  margin-bottom: 3.5rem;
  color: var(--red-dark);
  content: "0" counter(value);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.value-card h3 {
  max-width: 14ch;
  font-size: clamp(1.8rem, 2.9vw, 2.65rem);
}

.value-card p {
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .9rem;
  line-height: 1.6;
}

.association-pledge { background: var(--paper); }

.competencies-overview { background: var(--paper); }

.competencies-overview .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.competency-list {
  display: grid;
  padding: 0;
  margin: 0;
  list-style: none;
}

.competency {
  display: grid;
  grid-template-columns: minmax(5.5rem, 12vw) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  padding: clamp(2rem, 5vw, 4.5rem);
  background: #fffdf8;
}

.competency:nth-child(even) {
  --focus: var(--safety);
  background: var(--graphite);
  color: var(--warm-white);
}

.competency > span {
  color: var(--safety);
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: -.04em;
  line-height: .8;
}

.competency > div { max-width: 46rem; }

.competency h2 {
  max-width: 18ch;
  font-size: clamp(2.15rem, 4.4vw, 4.35rem);
  letter-spacing: -.015em;
}

.competency p {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: clamp(.98rem, 1.4vw, 1.1rem);
}

.competency:nth-child(even) p { color: rgb(243 240 232 / 76%); }

.competency a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 1.25rem;
  color: var(--red-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.competency a::after {
  margin-left: .5rem;
  content: "→";
}

.competency:nth-child(even) a { color: var(--safety); }

.agreements-overview { background: var(--paper); }

.agreements-overview .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.agreement-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: #c8c2b7;
}

.agreement-card {
  min-height: 16rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #fffdf8;
}

.agreement-card h2 {
  max-width: 14ch;
  color: var(--red-dark);
  font-size: clamp(2rem, 3.8vw, 3.5rem);
  letter-spacing: -.015em;
}

.agreement-card p {
  max-width: 42rem;
  margin: 1.25rem 0 0;
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.6;
}

.activation-note {
  --focus: var(--safety);
  width: 100%;
  padding: clamp(2rem, 5vw, 4rem);
  margin-top: clamp(2rem, 5vw, 4rem);
  border-left: .35rem solid var(--safety);
  background: var(--graphite);
  color: var(--warm-white);
  box-shadow: var(--shadow);
}

.activation-note h2 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 5vw, 4.8rem);
  letter-spacing: -.015em;
}

.activation-note p {
  max-width: 52rem;
  margin: 1.25rem 0 0;
  color: var(--warm-white);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.equipment-inventory { background: var(--paper); }

.equipment-inventory .section-heading { margin-bottom: clamp(2.5rem, 5vw, 4rem); }

.equipment-groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  counter-reset: equipment;
  background: #c8c2b7;
}

.equipment-group {
  min-height: 17rem;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #fffdf8;
  counter-increment: equipment;
}

.equipment-group h2 {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .8rem;
  align-items: start;
  font-size: clamp(2rem, 3.6vw, 3.35rem);
  letter-spacing: -.015em;
}

.equipment-group h2::before {
  padding-top: .35rem;
  color: var(--red-dark);
  content: "0" counter(equipment);
  font-family: Inter, Arial, sans-serif;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1;
}

.equipment-group ul {
  padding: 0;
  margin: clamp(2rem, 5vw, 3.5rem) 0 0;
  border-top: 1px solid #c8c2b7;
  list-style: square inside;
}

.equipment-group li {
  padding: .8rem 0 .8rem .15rem;
  border-bottom: 1px solid #c8c2b7;
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.5;
}

.equipment-group li::marker { color: var(--safety); }

.pledge {
  --focus: var(--safety);
  max-width: 58rem;
  padding: clamp(2rem, 5vw, 4rem);
  margin-block: 0;
  border-top: .3rem solid var(--safety);
  background: var(--graphite);
  color: var(--warm-white);
}

.pledge p {
  max-width: 23ch;
  margin: 0;
  font-family: BarlowCondensed, "Arial Narrow", sans-serif;
  font-size: clamp(2.25rem, 5vw, 4.6rem);
  font-weight: 700;
  line-height: .98;
  text-transform: uppercase;
}

.pledge footer {
  margin-top: 1.75rem;
  color: rgb(243 240 232 / 72%);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media (max-width: 64rem) {
  .site-header__inner {
    align-items: flex-start;
    padding-block: .8rem;
  }

  .site-nav {
    max-width: 33rem;
    flex-wrap: wrap;
    row-gap: 0;
  }

  .gallery__item--fleet { min-height: 29rem; }

  .route-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .value-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .gallery__item--briefing,
  .gallery__item--team { min-height: 13.85rem; }

  .gallery__item--archive { min-height: 15rem; }
}

@media (max-width: 52rem) {
  :root { --section-space: clamp(4.25rem, 16vw, 6rem); }
  html { scroll-padding-top: 8rem; }

  .site-header { position: relative; background: var(--graphite); }
  .page-hero,
  .section--gallery { padding-top: var(--section-space); }

  .site-header__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 0;
    gap: .4rem 1rem;
  }

  html.js .menu-toggle { display: inline-flex; }

  .site-nav {
    display: grid;
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    justify-content: stretch;
    gap: 0;
    padding-block: .5rem;
    border-top: 1px solid rgb(255 255 255 / 18%);
  }

  .site-nav > a:not(.button) { display: inline-flex; }
  .button--header { justify-self: start; margin-top: .35rem; }

  html.js .site-nav { display: none; }
  html.js .site-nav[data-open] { display: grid; }

  .hero {
    min-height: min(52rem, 92svh);
    padding-top: 4rem;
  }

  .hero::after {
    background:
      linear-gradient(90deg, rgb(8 10 11 / 84%) 0%, rgb(8 10 11 / 46%) 75%, transparent),
      linear-gradient(0deg, rgb(8 10 11 / 88%) 0%, transparent 60%);
  }

  .hero__media img { object-position: 58% center; }

  .hero h1 {
    max-width: 11ch;
    font-size: clamp(3.5rem, 15vw, 5.5rem);
  }

  .gallery-intro,
  .identity-feature { grid-template-columns: 1fr; }

  .identity-feature__mark { width: min(68vw, 24rem); }
  .value-grid { grid-template-columns: 1fr; }
  .value-card { min-height: 0; }
  .equipment-groups { grid-template-columns: 1fr; }
  .equipment-group { min-height: 0; }
  .agreement-list { grid-template-columns: 1fr; }
  .agreement-card { min-height: 0; }

  .competency { grid-template-columns: 1fr; }
  .competency > span { font-size: clamp(3rem, 14vw, 5rem); }

  .metrics,
  .route-grid { grid-template-columns: 1fr; }

  .metrics > p,
  .metrics > p:first-child {
    border-top: 1px solid var(--graphite-line);
    border-left: 0;
  }

  .metrics > p:first-child { border-top: 0; }
  .route-card { min-height: 0; }
  .gallery { grid-template-columns: 1fr; }

  .gallery__item--fleet,
  .gallery__item--briefing,
  .gallery__item--team,
  .gallery__item--operations,
  .gallery__item--archive {
    grid-column: auto;
    grid-row: auto;
    min-height: 0;
    margin: 0;
    aspect-ratio: 4 / 3;
  }

  .gallery__item--briefing,
  .gallery__item--operations { margin-left: 12%; }
  .gallery__item--team { margin-right: 12%; }
  .site-footer { grid-template-columns: minmax(0, 1fr); }
  .footer-nav { grid-column: 1 / -1; justify-content: flex-start; }

  .site-footer__copyright {
    grid-column: 1 / -1;
  }
}

@media (max-width: 30rem) {
  .brand { gap: .5rem; font-size: 1rem; letter-spacing: .02em; }
  .brand small { font-size: .49rem; letter-spacing: .02em; }

  .brand img {
    width: 2.8rem;
    height: 2.8rem;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .contact-actions { display: grid; grid-template-columns: 1fr; }
  .section .button,
  .contact-actions .button,
  .hero__actions .button { width: 100%; }

  .gallery__item--briefing,
  .gallery__item--operations { margin-left: 6%; }
  .gallery__item--team { margin-right: 6%; }

  .site-footer {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
}

@media (prefers-contrast: more) {
  :root { --muted: #45433f; --graphite-line: #a49f94; }

  :focus-visible { outline-width: 4px; }
  .value-card,
  .equipment-group,
  .agreement-card,
  .route-card,
  .competency { border: 1px solid currentColor; }
  .button { border: 2px solid currentColor; }

  .hero::after {
    background: linear-gradient(90deg, rgb(0 0 0 / 94%) 0 48%, rgb(0 0 0 / 34%) 82%);
  }

  .route-card p,
  .page-hero__lead,
  .route-feature--dark > p,
  .competency:nth-child(even) p,
  .site-footer__identity p,
  .emergency-note,
  .gallery-intro > p,
  .site-footer__copyright,
  .site-footer > a:last-child { color: var(--warm-white); }
}
