/* rampinspection.com
   Visual language: the apron. Asphalt and concrete surfaces, taxiway-yellow
   paint, and airfield signage (location signs: yellow on black; direction
   signs: black on yellow; mandatory signs: white on red). */

:root {
  --asphalt: #121416;
  --asphalt-2: #191c1f;
  --asphalt-3: #23272b;
  --asphalt-line: rgba(255, 255, 255, 0.1);
  --concrete: #e8e5de;
  --concrete-2: #dbd7cd;
  --concrete-line: rgba(17, 19, 21, 0.14);
  --ink: #0d0e10;
  --ink-soft: #3d4247;
  --paper: #f6f4ef;
  --muted: #8f969d;
  --taxi: #ffc629;
  --taxi-deep: #e8ad00;
  --orange: #ff6b1a;
  --red: #d42a2f;
  --green: #3fb27f;

  --font-display: 'Big Shoulders Display', 'Arial Narrow', Impact, sans-serif;
  --font-body: 'IBM Plex Sans', system-ui, sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Consolas, monospace;

  --gutter: clamp(16px, 4vw, 40px);
  --max: 1240px;
  --ease: cubic-bezier(0.2, 0.7, 0.1, 1);

  /* Fine asphalt grain, generated rather than downloaded. */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  background: var(--asphalt);
  color: var(--paper);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

::selection {
  background: var(--taxi);
  color: var(--ink);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 0.92;
  letter-spacing: -0.005em;
  margin: 0;
}

p {
  margin: 0;
}

.wrap {
  width: 100%;
  max-width: calc(var(--max) + 2 * var(--gutter));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  background: var(--taxi);
  color: var(--ink);
  padding: 10px 16px;
  font-weight: 600;
  text-decoration: none;
}
.skip:focus {
  top: 12px;
}

/* ---------- Airfield signs ---------- */

.sign {
  display: inline-flex;
  align-items: center;
  gap: 0.45em;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1;
  padding: 0.42em 0.6em 0.36em;
  white-space: nowrap;
}
.sign--loc {
  background: #0a0b0c;
  color: var(--taxi);
  box-shadow: inset 0 0 0 2px #0a0b0c, inset 0 0 0 4px var(--taxi);
  padding-inline: 0.7em;
}
.sign--dir {
  background: var(--taxi);
  color: #0a0b0c;
}
.sign--mand {
  background: var(--red);
  color: #fff;
  box-shadow: inset 0 0 0 2px var(--red), inset 0 0 0 3.5px #fff;
  padding-inline: 0.7em;
}
.sign__arrow {
  font-family: var(--font-body);
  font-weight: 700;
}

.label {
  display: flex;
  flex-wrap: wrap;
  gap: 3px;
  font-size: 15px;
  margin-bottom: 28px;
}

.mono {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---------- Logo ---------- */

.logo {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  font-size: 21px;
  letter-spacing: 0.05em;
}
.logo .sign {
  font-size: 1em;
  padding: 0.38em 0.5em 0.32em;
  letter-spacing: 0.08em;
}
.logo__word {
  display: inline-flex;
  align-items: center;
  padding: 0 0.42em;
  border-block: 2px solid currentColor;
  border-right: 2px solid currentColor;
}
.logo__tld {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 0.5em;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  align-self: flex-end;
  margin-left: 0.5em;
  opacity: 0.7;
}

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(18, 20, 22, 0.86);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid var(--asphalt-line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
}
.nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav a {
  position: relative;
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  color: rgba(246, 244, 239, 0.78);
  padding: 8px 12px;
  transition: color 0.2s;
}
.nav a:hover {
  color: var(--paper);
}
.nav a[aria-current='page'] {
  color: var(--paper);
}
.nav a[aria-current='page']::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 2px;
  height: 3px;
  background: var(--taxi);
}
.nav__cta {
  margin-left: 10px;
}

@media (max-width: 880px) {
  .site-header__inner {
    flex-wrap: wrap;
    gap: 0;
    padding-top: 12px;
  }
  .nav {
    order: 3;
    width: calc(100% + 2 * var(--gutter));
    margin: 8px calc(-1 * var(--gutter)) 0;
    padding: 0 calc(var(--gutter) - 12px) 6px;
    overflow-x: auto;
    scrollbar-width: none;
  }
  .nav::-webkit-scrollbar {
    display: none;
  }
  .nav a {
    white-space: nowrap;
  }
  .nav .nav__contact {
    display: none;
  }
}

/* ---------- Buttons ---------- */

.btn {
  --btn-bg: var(--taxi);
  --btn-fg: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 50px;
  padding: 0 22px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  border: 2px solid var(--btn-bg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s var(--ease);
}
.btn:hover {
  transform: translateY(-2px);
}
.btn:active {
  transform: translateY(0);
}
.btn .arrow {
  transition: transform 0.25s var(--ease);
}
.btn:hover .arrow {
  transform: translateX(4px);
}
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--paper);
  border-color: rgba(246, 244, 239, 0.35);
}
.btn--ghost:hover {
  border-color: var(--paper);
}
.btn--dark {
  --btn-bg: var(--ink);
  --btn-fg: var(--paper);
}
.btn--small {
  min-height: 40px;
  padding: 0 16px;
  font-size: 14px;
}
.btn[disabled] {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--taxi);
  padding-bottom: 2px;
}
.link-arrow span {
  transition: transform 0.25s var(--ease);
}
.link-arrow:hover span {
  transform: translateX(4px);
}

/* ---------- Surfaces ---------- */

.asphalt {
  position: relative;
  background-color: var(--asphalt);
  background-image: var(--grain);
  color: var(--paper);
}
.concrete {
  position: relative;
  background-color: var(--concrete);
  color: var(--ink);
  /* Expansion joints of a concrete apron. */
  background-image: linear-gradient(var(--concrete-line) 1px, transparent 1px),
    linear-gradient(90deg, var(--concrete-line) 1px, transparent 1px);
  background-size: 240px 240px;
  background-position: -1px -1px;
}
.concrete .mono {
  color: var(--ink-soft);
}
.section {
  padding-block: clamp(72px, 11vw, 140px);
}
.section__head {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 32px 64px;
  align-items: end;
  margin-bottom: clamp(40px, 6vw, 72px);
}
.section__head h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
}
.section__head p {
  font-size: 18px;
  color: var(--muted);
  max-width: 46ch;
}
.concrete .section__head p {
  color: var(--ink-soft);
}
@media (max-width: 860px) {
  .section__head {
    grid-template-columns: 1fr;
  }
}

/* Hazard stripe divider */
.hazard {
  height: 14px;
  background: repeating-linear-gradient(-45deg, var(--taxi) 0 14px, #0a0b0c 14px 28px);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 9vw, 120px) clamp(64px, 9vw, 110px);
  isolation: isolate;
}
.hero__paint {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
}
.hero__paint svg {
  width: 100%;
  height: 100%;
}
.paint-line {
  fill: none;
  stroke: var(--taxi);
  stroke-linecap: butt;
  stroke-dasharray: 2400;
  stroke-dashoffset: 2400;
  animation: draw 2.4s var(--ease) 0.2s forwards;
}
.paint-line--edge {
  stroke-width: 3;
  opacity: 0.55;
  animation-delay: 0.5s;
}
.paint-line--center {
  stroke-width: 9;
  opacity: 0.9;
}
.paint-stand {
  font-family: var(--font-display);
  font-weight: 900;
  fill: var(--taxi);
  opacity: 0;
  animation: fade 1.4s ease 1.4s forwards;
}
@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}
@keyframes fade {
  to {
    opacity: 0.11;
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(3.3rem, 9.2vw, 7.6rem);
  line-height: 0.86;
  margin-bottom: 30px;
}
.hero h1 .line {
  display: block;
  overflow: hidden;
}
.hero h1 .line > span {
  display: inline-block;
  transform: translateY(105%);
  animation: rise 0.9s var(--ease) forwards;
}
.hero h1 .line:nth-child(2) > span {
  animation-delay: 0.12s;
}
.hero h1 em {
  font-style: normal;
  color: var(--taxi);
}
@keyframes rise {
  to {
    transform: translateY(0);
  }
}
.hero__lead {
  font-size: clamp(18px, 1.6vw, 20px);
  max-width: 54ch;
  color: rgba(246, 244, 239, 0.8);
  margin-bottom: 36px;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.35s forwards;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  opacity: 0;
  animation: up 0.8s var(--ease) 0.5s forwards;
}
.hero .label {
  opacity: 0;
  animation: up 0.7s var(--ease) 0.05s forwards;
}
.hero__regimes {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid var(--asphalt-line);
  color: var(--muted);
  opacity: 0;
  animation: up 0.8s var(--ease) 0.65s forwards;
}
.hero__regimes b {
  color: var(--paper);
  font-weight: 500;
}
@keyframes up {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }
}

/* The checklist card: a ramp inspection being worked through. */
.checkcard {
  position: relative;
  background: var(--paper);
  color: var(--ink);
  padding: 26px 26px 22px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.4);
  transform: rotate(1.4deg);
  opacity: 0;
  animation: card-in 1s var(--ease) 0.4s forwards;
  max-width: 470px;
  justify-self: end;
  width: 100%;
}
.checkcard::before {
  /* Clipboard clip */
  content: '';
  position: absolute;
  top: -14px;
  left: 50%;
  width: 120px;
  height: 26px;
  transform: translateX(-50%);
  background: linear-gradient(#3a3f44, #24282c);
  border-radius: 4px 4px 2px 2px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
}
@keyframes card-in {
  from {
    opacity: 0;
    transform: rotate(4deg) translateY(40px);
  }
  to {
    opacity: 1;
    transform: rotate(1.4deg) translateY(0);
  }
}
.checkcard__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--ink);
}
.checkcard__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  text-transform: uppercase;
  line-height: 0.95;
}
.checkcard__meta {
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  text-align: right;
  color: var(--ink-soft);
  letter-spacing: 0.06em;
}
.checkcard__list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.checkcard__row {
  display: grid;
  grid-template-columns: 30px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(13, 14, 16, 0.25);
  font-size: 15px;
}
.checkcard__code {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 18px;
  background: var(--ink);
  color: var(--taxi);
  text-align: center;
  line-height: 28px;
}
.checkcard__name small {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  line-height: 1.4;
  text-transform: uppercase;
}
.checkcard__mark {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border: 1.5px solid currentColor;
  opacity: 0;
  transform: scale(1.6);
  animation: stamp 0.35s var(--ease) forwards;
  animation-delay: var(--d, 1s);
}
.checkcard__mark--ok {
  color: #1f7a52;
}
.checkcard__mark--find {
  color: #fff;
  background: var(--orange);
  border-color: var(--orange);
}
@keyframes stamp {
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.checkcard__foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.checkcard__foot span {
  white-space: nowrap;
}
.checkcard__foot strong {
  color: var(--ink);
}
.checkcard__progress {
  height: 4px;
  background: rgba(13, 14, 16, 0.12);
  margin-top: 14px;
  overflow: hidden;
}
.checkcard__progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(0);
  animation: progress 2.6s linear 1s forwards;
}
@keyframes progress {
  to {
    transform: scaleX(1);
  }
}

@media (max-width: 960px) {
  .checkcard {
    justify-self: start;
    transform: rotate(0.8deg);
  }
}

/* ---------- Ticker ---------- */

.ticker {
  background: var(--taxi);
  color: var(--ink);
  overflow: hidden;
  border-block: 2px solid #0a0b0c;
}
.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 48s linear infinite;
}
.ticker__item {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding: 13px 22px 12px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}
.ticker__item::after {
  content: '';
  width: 8px;
  height: 8px;
  background: #0a0b0c;
  transform: rotate(45deg);
}
@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

/* ---------- Frameworks ---------- */

.frameworks {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.framework {
  padding: 32px 32px 36px 0;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.framework + .framework {
  padding-left: 32px;
  border-left: 1px solid var(--concrete-line);
}
.framework__authority {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(4rem, 8vw, 6.4rem);
  line-height: 0.8;
  letter-spacing: -0.01em;
}
.framework__term {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}
.framework__term span {
  display: block;
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.14em;
  margin-top: 8px;
  color: var(--ink-soft);
}
.framework p {
  color: var(--ink-soft);
}
.basis {
  list-style: none;
  margin: auto 0 0;
  padding: 16px 0 0;
  border-top: 1px dashed var(--concrete-line);
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  display: grid;
  gap: 8px;
}
.basis li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 8px;
}
.basis li::before {
  content: '§';
  color: var(--ink-soft);
}
@media (max-width: 900px) {
  .frameworks {
    grid-template-columns: 1fr;
  }
  .framework,
  .framework + .framework {
    padding: 28px 0 32px;
    border-left: 0;
  }
  .framework + .framework {
    border-top: 1px solid var(--concrete-line);
  }
}

/* ---------- Courses ---------- */

.courses {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}
.course-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--asphalt-2);
  border: 1px solid var(--asphalt-line);
  padding: clamp(26px, 3.5vw, 44px);
  overflow: hidden;
  isolation: isolate;
  transition: border-color 0.3s, transform 0.4s var(--ease);
}
.course-card:hover {
  border-color: rgba(255, 198, 41, 0.6);
  transform: translateY(-4px);
}
.course-card__days {
  position: absolute;
  right: -0.06em;
  top: -0.2em;
  z-index: -1;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(14rem, 26vw, 22rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 2px rgba(255, 198, 41, 0.22);
  transition: -webkit-text-stroke-color 0.4s;
}
.course-card:hover .course-card__days {
  -webkit-text-stroke-color: rgba(255, 198, 41, 0.45);
}
.course-card__signs {
  display: flex;
  gap: 3px;
  font-size: 14px;
  margin-bottom: 40px;
}
.course-card h3 {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  max-width: 11ch;
  margin-bottom: 18px;
}
.course-card__lead {
  color: rgba(246, 244, 239, 0.78);
  max-width: 44ch;
  margin-bottom: 28px;
}
.course-card__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-bottom: 28px;
  color: var(--muted);
}
.course-card__facts b {
  color: var(--paper);
  font-weight: 500;
}
.ticks {
  list-style: none;
  margin: 0 0 32px;
  padding: 0;
  display: grid;
  gap: 10px;
}
.ticks li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 10px;
  line-height: 1.45;
}
.ticks li::before {
  content: '';
  width: 14px;
  height: 8px;
  margin-top: 6px;
  border-left: 2.5px solid var(--taxi);
  border-bottom: 2.5px solid var(--taxi);
  transform: rotate(-45deg);
}
.concrete .ticks li::before {
  border-color: var(--ink);
}
.course-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: auto;
}
@media (max-width: 900px) {
  .courses {
    grid-template-columns: 1fr;
  }
}

/* ---------- Checklist areas ---------- */

.areas {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0;
  border: 2px solid var(--ink);
  background: var(--paper);
}
.area {
  padding: 22px 20px 26px;
}
.area + .area {
  border-left: 1px solid var(--concrete-line);
}
.area__code {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 40px;
  line-height: 1;
  background: var(--ink);
  color: var(--taxi);
  width: 54px;
  text-align: center;
  padding: 6px 0 4px;
  margin-bottom: 16px;
}
.area h3 {
  font-size: 24px;
  margin-bottom: 12px;
}
.area ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 14.5px;
  color: var(--ink-soft);
}
.area li {
  padding-left: 14px;
  position: relative;
  line-height: 1.4;
}
.area li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 2px;
  background: var(--ink);
}
@media (max-width: 1000px) {
  .areas {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .area + .area {
    border-left: 0;
  }
  .area {
    border-bottom: 1px solid var(--concrete-line);
  }
  .area:nth-child(even) {
    border-left: 1px solid var(--concrete-line);
  }
}
@media (max-width: 560px) {
  .areas {
    grid-template-columns: 1fr;
  }
  .area:nth-child(even) {
    border-left: 0;
  }
}

/* Category and action tables */
.grading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 24px;
  margin-top: 24px;
}
.grade-table {
  background: var(--paper);
  border: 2px solid var(--ink);
}
.grade-table h3 {
  font-size: 22px;
  padding: 16px 20px 14px;
  border-bottom: 2px solid var(--ink);
}
.grade-table dl {
  margin: 0;
}
.grade-table div {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  border-bottom: 1px solid var(--concrete-line);
}
.grade-table div:last-child {
  border-bottom: 0;
}
.grade-table dt {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
}
.grade-table dd {
  margin: 0;
  font-size: 15px;
  color: var(--ink-soft);
}
.grade-table dd b {
  color: var(--ink);
  font-weight: 600;
}
.chip {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  text-align: center;
  white-space: nowrap;
}
.chip--1 {
  background: #e2e8e3;
  color: #1f5e44;
}
.chip--2 {
  background: #ffe1cc;
  color: #a1400a;
}
.chip--3 {
  background: var(--red);
  color: #fff;
}
@media (max-width: 860px) {
  .grading {
    grid-template-columns: 1fr;
  }
}

/* ---------- Software ---------- */

.software {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}
.software h2 {
  font-size: clamp(2.6rem, 6vw, 4.6rem);
  margin-bottom: 24px;
}
.software__lead {
  font-size: 18px;
  color: rgba(246, 244, 239, 0.8);
  margin-bottom: 32px;
  max-width: 50ch;
}
.pillars {
  display: grid;
  gap: 0;
  margin-bottom: 36px;
  border-top: 1px solid var(--asphalt-line);
}
.pillar {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--asphalt-line);
}
.pillar__n {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--taxi);
  padding-top: 4px;
}
.pillar h3 {
  font-size: 22px;
  margin-bottom: 6px;
}
.pillar p {
  color: var(--muted);
  font-size: 15.5px;
}
@media (max-width: 960px) {
  .software {
    grid-template-columns: 1fr;
  }
}

/* App mock: an authority's ramp inspection as an incoming audit. */
.appmock {
  background: #0d0f11;
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 50px 100px -40px rgba(0, 0, 0, 0.9), 0 0 0 6px rgba(255, 255, 255, 0.03);
  font-size: 14px;
  overflow: hidden;
}
.appmock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: #16191c;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.appmock__bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2c3136;
}
.appmock__bar span {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.04em;
}
.appmock__body {
  padding: 22px;
}
.appmock__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 20px;
}
.appmock__kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 6px;
}
.appmock__title {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 19px;
  line-height: 1.25;
}
.appmock__ref {
  font-family: var(--font-mono);
  font-size: 11.5px;
  color: var(--taxi);
  border: 1px solid rgba(255, 198, 41, 0.4);
  padding: 4px 8px;
  white-space: nowrap;
}
.stages {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  margin-bottom: 22px;
}
.stage {
  font-size: 11px;
  line-height: 1.3;
  color: var(--muted);
}
.stage::before {
  content: '';
  display: block;
  height: 4px;
  margin-bottom: 8px;
  background: #2a2f34;
}
.stage--done {
  color: var(--paper);
}
.stage--done::before {
  background: var(--taxi);
}
.stage--now {
  color: var(--taxi);
  font-weight: 600;
}
.stage--now::before {
  background: linear-gradient(90deg, var(--taxi) 50%, #2a2f34 50%);
}
.findings {
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.finding {
  display: grid;
  grid-template-columns: 58px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.finding:last-child {
  border-bottom: 0;
}
.finding__text {
  line-height: 1.35;
}
.finding__text small {
  display: block;
  color: var(--muted);
  font-size: 12px;
  margin-top: 2px;
}
.finding__state {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.finding__state--ok {
  color: var(--green);
}
.appmock__cap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 16px;
}
.appmock__cap div {
  background: #16191c;
  padding: 12px;
}
.appmock__cap b {
  display: block;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 800;
  line-height: 1;
}
.appmock__cap span {
  font-size: 11.5px;
  color: var(--muted);
}

/* Feature grid */
.features {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 2px solid var(--ink);
}
.feature {
  padding: 26px 24px 30px 0;
  border-bottom: 1px solid var(--concrete-line);
}
.feature:not(:nth-child(4n + 1)) {
  padding-left: 24px;
  border-left: 1px solid var(--concrete-line);
}
.feature h3 {
  font-size: 22px;
  margin-bottom: 10px;
}
.feature p {
  color: var(--ink-soft);
  font-size: 15px;
}
@media (max-width: 1000px) {
  .features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .feature:not(:nth-child(4n + 1)) {
    padding-left: 0;
    border-left: 0;
  }
  .feature:nth-child(even) {
    padding-left: 24px;
    border-left: 1px solid var(--concrete-line);
  }
}
@media (max-width: 560px) {
  .features {
    grid-template-columns: 1fr;
  }
  .feature:nth-child(even) {
    padding-left: 0;
    border-left: 0;
  }
}

.modules {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.modules li {
  list-style: none;
  font-size: 14px;
  padding: 7px 12px;
  border: 1px solid var(--asphalt-line);
  color: rgba(246, 244, 239, 0.8);
}
.modules li.is-key {
  border-color: var(--taxi);
  color: var(--taxi);
}
.modules {
  padding: 0;
  margin: 0;
}

/* ---------- News ---------- */

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.news-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}
.news-card__img {
  aspect-ratio: 16 / 10;
  background: var(--concrete-2);
  overflow: hidden;
  margin-bottom: 18px;
  position: relative;
}
.asphalt .news-card__img {
  background: var(--asphalt-3);
}
.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}
.news-card:hover .news-card__img img {
  transform: scale(1.04);
}
.news-card__placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 54px;
  color: rgba(13, 14, 16, 0.12);
  text-transform: uppercase;
}
.asphalt .news-card__placeholder {
  color: rgba(255, 198, 41, 0.18);
}
.news-card__date {
  margin-bottom: 8px;
  color: var(--muted);
}
.news-card h3 {
  font-size: 26px;
  line-height: 1;
  margin-bottom: 10px;
  transition: color 0.2s;
}
.news-card:hover h3 {
  text-decoration: underline;
  text-decoration-color: var(--taxi);
  text-decoration-thickness: 3px;
  text-underline-offset: 4px;
}
.news-card p {
  font-size: 15.5px;
  color: var(--muted);
}
.concrete .news-card p {
  color: var(--ink-soft);
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
}
.tags li {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border: 1px solid currentColor;
  opacity: 0.7;
}
@media (max-width: 960px) {
  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 620px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

.empty {
  border: 2px dashed var(--concrete-line);
  padding: clamp(32px, 6vw, 64px);
  text-align: center;
  color: var(--ink-soft);
}
.empty h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--ink);
  margin-bottom: 12px;
}

.pager {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 56px;
  padding-top: 24px;
  border-top: 1px solid var(--concrete-line);
}

/* ---------- Page heads ---------- */

.pagehead {
  position: relative;
  overflow: hidden;
  padding-block: clamp(56px, 8vw, 104px) clamp(48px, 7vw, 88px);
  isolation: isolate;
}
.pagehead::after {
  /* A taxiway centerline crossing the head */
  content: '';
  position: absolute;
  z-index: -1;
  left: -10%;
  right: -10%;
  bottom: 22%;
  height: 7px;
  background: var(--taxi);
  opacity: 0.16;
  transform: rotate(-4deg);
}
.pagehead h1 {
  font-size: clamp(3rem, 8vw, 6.4rem);
  line-height: 0.88;
  max-width: 16ch;
  margin-bottom: 24px;
}
.pagehead__lead {
  font-size: clamp(18px, 1.6vw, 21px);
  color: rgba(246, 244, 239, 0.8);
  max-width: 60ch;
}
.pagehead__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}
.fact {
  border: 1px solid var(--asphalt-line);
  padding: 12px 16px;
  min-width: 140px;
}
.fact .mono {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-bottom: 4px;
}
.fact b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  text-transform: uppercase;
  line-height: 1;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
  color: var(--muted);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  color: var(--paper);
}

/* ---------- Course page ---------- */

.course-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}
.course-layout__aside {
  position: sticky;
  top: 100px;
}
.aside-card {
  background: var(--ink);
  color: var(--paper);
  padding: 28px;
}
.aside-card h2 {
  font-size: 30px;
  margin-bottom: 16px;
}
.aside-card dl {
  margin: 0 0 24px;
  display: grid;
  gap: 0;
}
.aside-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--asphalt-line);
  font-size: 15px;
}
.aside-card dt {
  color: var(--muted);
}
.aside-card dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}
.aside-card .btn {
  width: 100%;
}
.aside-card__note {
  font-size: 13px;
  color: var(--muted);
  margin-top: 14px;
}
.prose-block + .prose-block {
  margin-top: 64px;
}
.prose-block h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 22px;
}
.prose-block > p {
  font-size: 18px;
  color: var(--ink-soft);
  max-width: 62ch;
}
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.two-col h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
@media (max-width: 960px) {
  .course-layout {
    grid-template-columns: 1fr;
  }
  .course-layout__aside {
    position: static;
  }
  .two-col {
    grid-template-columns: 1fr;
  }
}

.syllabus {
  display: grid;
  gap: 16px;
}
.day {
  display: grid;
  grid-template-columns: 120px 1fr;
  background: var(--paper);
  border: 2px solid var(--ink);
}
.day__n {
  background: var(--taxi);
  color: var(--ink);
  border-right: 2px solid var(--ink);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.day__n span {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.day__n b {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.8;
}
.day__body {
  padding: 20px 24px 22px;
}
.day__body h3 {
  font-size: 28px;
  margin-bottom: 14px;
}
.day__body ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: topic;
  display: grid;
  gap: 8px;
}
.day__body li {
  counter-increment: topic;
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 8px;
  font-size: 15.5px;
  color: var(--ink-soft);
  line-height: 1.45;
}
.day__body li::before {
  content: counter(topic, decimal-leading-zero);
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--ink);
  padding-top: 2px;
}
@media (max-width: 600px) {
  .day {
    grid-template-columns: 1fr;
  }
  .day__n {
    border-right: 0;
    border-bottom: 2px solid var(--ink);
    flex-direction: row;
    align-items: center;
  }
  .day__n b {
    font-size: 44px;
  }
}

.disclaimer {
  margin-top: 48px;
  padding: 18px 20px;
  border-left: 4px solid var(--ink);
  background: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- Guide page ---------- */

.guide-layout {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  display: grid;
  gap: 2px;
  font-size: 15px;
}
.toc a {
  text-decoration: none;
  padding: 8px 12px;
  border-left: 3px solid var(--concrete-line);
  color: var(--ink-soft);
}
.toc a:hover {
  border-left-color: var(--ink);
  color: var(--ink);
}
.prose {
  max-width: 72ch;
}
.prose h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin: 72px 0 22px;
}
.prose h2:first-child {
  margin-top: 0;
}
.prose h3 {
  font-size: 26px;
  margin: 36px 0 12px;
}
.prose p,
.prose li {
  font-size: 17.5px;
  color: var(--ink-soft);
}
.prose p + p {
  margin-top: 16px;
}
.prose ul {
  padding-left: 20px;
}
.prose li + li {
  margin-top: 6px;
}
.prose strong {
  color: var(--ink);
}
.prose .wide {
  max-width: none;
  margin-block: 28px;
}
@media (max-width: 900px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }
  .toc {
    position: static;
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Article (news) body */
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article__hero {
  margin: 0 0 40px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--concrete-2);
}
.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article__body {
  font-size: 18px;
  line-height: 1.7;
  color: var(--ink-soft);
}
.article__body > * + * {
  margin-top: 1.1em;
}
.article__body h2,
.article__body h3 {
  color: var(--ink);
  margin-top: 1.8em;
}
.article__body h2 {
  font-size: 2.2rem;
}
.article__body h3 {
  font-size: 1.6rem;
}
.article__body img,
.article__body iframe {
  max-width: 100%;
  height: auto;
}
.article__body iframe {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
}
.article__body a {
  color: var(--ink);
  text-decoration-color: var(--taxi-deep);
  text-decoration-thickness: 2px;
}
.article__body blockquote {
  margin-left: 0;
  padding-left: 20px;
  border-left: 4px solid var(--taxi);
  font-style: italic;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-top: 48px;
}
.gallery figure {
  margin: 0;
}
.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.gallery figcaption {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 6px;
}

/* ---------- Contact ---------- */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(40px, 6vw, 88px);
  align-items: start;
}
.contact-layout h2 {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  margin-bottom: 20px;
}
.contact-layout__intro p {
  color: var(--ink-soft);
  font-size: 17.5px;
}
.contact-steps {
  list-style: none;
  padding: 0;
  margin: 32px 0 0;
  display: grid;
  gap: 0;
  border-top: 2px solid var(--ink);
}
.contact-steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--concrete-line);
  color: var(--ink-soft);
  font-size: 15.5px;
}
.contact-steps b {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 900;
  color: var(--ink);
  line-height: 1;
}
.form {
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: clamp(22px, 4vw, 40px);
  display: grid;
  gap: 20px;
}
.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.field label {
  display: block;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.field label .opt {
  color: var(--ink-soft);
  text-transform: none;
  letter-spacing: 0.02em;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 16px;
  color: var(--ink);
  background: #fff;
  border: 1.5px solid rgba(13, 14, 16, 0.35);
  border-radius: 0;
  padding: 12px 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}
.field textarea {
  resize: vertical;
  min-height: 150px;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px var(--taxi);
}
.interest-group {
  border: 0;
  padding: 0;
  margin: 0;
}
.interest-group legend {
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
  padding: 0;
}
.interest-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.interest-options label {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid rgba(13, 14, 16, 0.3);
  background: #fff;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.3;
  transition: border-color 0.2s, background 0.2s;
}
.interest-options input {
  appearance: none;
  flex: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--ink);
  border-radius: 50%;
  margin: 0;
  display: grid;
  place-items: center;
}
.interest-options input::after {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink);
  transform: scale(0);
  transition: transform 0.15s;
}
.interest-options input:checked::after {
  transform: scale(1);
}
.interest-options label:has(input:checked) {
  border-color: var(--ink);
  background: var(--taxi);
}
.interest-options label:has(input:focus-visible) {
  box-shadow: 0 0 0 3px var(--ink);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.alert {
  padding: 14px 16px;
  font-size: 15px;
  font-weight: 500;
  border: 2px solid;
}
.alert--error {
  background: #fde7e7;
  border-color: var(--red);
  color: #8a1418;
}
.alert--ok {
  background: #e3f4ea;
  border-color: #1f7a52;
  color: #14523a;
}
.form__foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.form__foot small {
  color: var(--ink-soft);
  font-size: 13px;
  max-width: 38ch;
}
.form__foot small a {
  color: var(--ink);
}
@media (max-width: 960px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 600px) {
  .form__row,
  .interest-options {
    grid-template-columns: 1fr;
  }
}

/* ---------- CTA band ---------- */

.cta-band {
  background: var(--taxi);
  color: var(--ink);
  padding-block: clamp(56px, 8vw, 96px);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  /* Painted chevrons, as on an apron lead-in line */
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(90deg, transparent 0 46px, rgba(10, 11, 12, 0.07) 46px 50px);
  pointer-events: none;
}
.cta-band__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 28px;
}
.cta-band h2 {
  font-size: clamp(2.8rem, 7vw, 5.6rem);
  line-height: 0.86;
  max-width: 13ch;
}
.cta-band p {
  font-size: 18px;
  max-width: 40ch;
  margin-bottom: 20px;
}
.cta-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.cta-band .btn--ghost {
  --btn-fg: var(--ink);
  border-color: var(--ink);
}

/* ---------- Footer ---------- */

.site-footer {
  background: #0a0b0c;
  color: var(--paper);
  padding-top: clamp(56px, 8vw, 88px);
}
.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: 48px;
  padding-bottom: 56px;
}
.site-footer__brand p {
  color: var(--muted);
  max-width: 34ch;
  margin-top: 22px;
  font-size: 15px;
}
.site-footer__brand a.mail {
  display: inline-block;
  margin-top: 18px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--taxi);
}
.offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}
.office {
  border-top: 1px solid var(--asphalt-line);
  padding-top: 18px;
  font-size: 14.5px;
}
.office__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.office__company {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 20px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.office .sign {
  font-size: 12px;
}
.office__role {
  color: var(--taxi);
  margin-bottom: 8px;
  font-size: 11px;
}
.office address {
  font-style: normal;
  color: var(--muted);
  line-height: 1.55;
}
.office a {
  display: inline-block;
  margin-top: 10px;
  text-decoration: none;
  font-weight: 500;
}
.office a:hover {
  color: var(--taxi);
}
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-block: 22px 28px;
  border-top: 1px solid var(--asphalt-line);
  color: var(--muted);
  font-size: 13.5px;
}
.site-footer__bottom nav {
  display: flex;
  gap: 20px;
}
.site-footer__bottom a {
  text-decoration: none;
}
.site-footer__bottom a:hover {
  color: var(--paper);
}
@media (max-width: 960px) {
  .site-footer__top {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .offices {
    grid-template-columns: 1fr;
  }
}

/* ---------- Error page ---------- */

.error-page {
  min-height: 60vh;
  display: grid;
  align-content: center;
  padding-block: 96px;
}
.error-page__code {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(8rem, 24vw, 16rem);
  line-height: 0.8;
  color: transparent;
  -webkit-text-stroke: 3px var(--taxi);
  margin-bottom: 24px;
}
.error-page h1 {
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  margin-bottom: 16px;
}
.error-page p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 32px;
}

/* ---------- Scroll reveal (CSS only, where supported) ---------- */

@supports (animation-timeline: view()) {
  .reveal {
    animation: reveal linear both;
    animation-timeline: view();
    animation-range: entry 0% entry 35%;
  }
  @keyframes reveal {
    from {
      opacity: 0;
      transform: translateY(36px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    animation: none !important;
  }
  .ticker__track {
    animation: none;
  }
}

/* ---------- Small utilities ---------- */

.section__more {
  margin-top: 40px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Course comparison (training page) */
.compare div {
  grid-template-columns: 130px 1fr 1fr;
  align-items: start;
}
.compare dt {
  font-size: 17px;
}
@media (max-width: 640px) {
  .compare div {
    grid-template-columns: 1fr 1fr;
    gap: 6px 16px;
  }
  .compare dt {
    grid-column: 1 / -1;
  }
  .compare div:first-child dt {
    display: none;
  }
}
