:root {
  --bg: #f3f4f2;
  --bg-deep: #e9ece8;
  --bg-soft: #ffffff;
  --surface: rgba(255, 255, 255, 0.88);
  --surface-strong: rgba(255, 255, 255, 0.97);
  --surface-alt: rgba(248, 249, 248, 0.96);
  --line: rgba(17, 22, 27, 0.08);
  --line-strong: rgba(17, 22, 27, 0.16);
  --text: #12181d;
  --muted: #67727b;
  --accent: #d7e3e8;
  --accent-strong: #1a252e;
  --accent-cool: #eef3f5;
  --accent-mint: #f6f9fa;
  --danger: #d1837b;
  --shadow: 0 20px 54px rgba(18, 24, 29, 0.07);
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --display-font: "Aptos Display", "Bahnschrift", "Trebuchet MS", "Gill Sans", sans-serif;
  --body-font: "Aptos", "Segoe UI Variable Text", "Trebuchet MS", "Verdana", sans-serif;
  --max-width: 1240px;
  --timeline-foundational: #8ee7ff;
  --timeline-jet: #ffbf70;
  --timeline-digital: #7df0c1;
  --timeline-future: #f8d4ff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(221, 230, 235, 0.56), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 255, 255, 0.82), transparent 24%),
    linear-gradient(180deg, #fcfcfb 0%, var(--bg) 48%, var(--bg-deep) 100%);
  color: var(--text);
  font-family: var(--body-font);
  line-height: 1.6;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

body::before {
  background:
    linear-gradient(transparent 0%, rgba(18, 24, 29, 0.02) 48%, transparent 100%),
    repeating-linear-gradient(
      90deg,
      transparent 0,
      transparent 124px,
      rgba(18, 24, 29, 0.02) 124px,
      rgba(18, 24, 29, 0.02) 125px
    );
  opacity: 0.18;
  animation: gridDrift 26s linear infinite;
}

body::after {
  background:
    radial-gradient(circle at 14% 18%, rgba(220, 229, 234, 0.34), transparent 18%),
    radial-gradient(circle at 80% 30%, rgba(255, 255, 255, 0.48), transparent 16%),
    radial-gradient(circle at 66% 70%, rgba(239, 243, 245, 0.4), transparent 14%);
  filter: blur(44px);
  opacity: 0.9;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
}

main,
.site-footer,
.topbar {
  position: relative;
  z-index: 2;
}

.sky-layer {
  position: fixed;
  inset: auto -10% 0 auto;
  width: 62vw;
  height: 34vw;
  pointer-events: none;
  filter: blur(24px);
  z-index: -1;
  transform: translate3d(0, 0, 0);
}

.sky-layer-one {
  top: 10%;
  left: -15%;
  background:
    radial-gradient(circle at center, rgba(221, 230, 235, 0.2), transparent 58%),
    radial-gradient(circle at 60% 40%, rgba(255, 255, 255, 0.28), transparent 44%);
  animation: driftCloud 24s ease-in-out infinite alternate;
}

.sky-layer-two {
  top: 42%;
  right: -18%;
  background:
    radial-gradient(circle at center, rgba(214, 223, 228, 0.16), transparent 56%),
    radial-gradient(circle at 30% 40%, rgba(255, 255, 255, 0.2), transparent 48%);
  animation: driftCloud 30s ease-in-out infinite alternate-reverse;
}

.topbar {
  position: relative;
  top: 0;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 20px auto 8px;
  padding: 16px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(24px);
  box-shadow: 0 18px 46px rgba(18, 24, 29, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(239, 243, 245, 0.98));
  color: var(--text);
  font-family: var(--display-font);
  font-size: 0.98rem;
  letter-spacing: 0.12em;
  box-shadow: inset 0 0 0 1px rgba(17, 22, 27, 0.08);
}

.brand-copy {
  display: grid;
  gap: 2px;
}

.brand-copy strong,
.topnav a,
.button,
h1,
h2,
h3,
h4,
.history-hero-year,
.stat-value,
.large-year {
  font-family: var(--display-font);
}

.brand-copy strong {
  font-size: 1rem;
  letter-spacing: 0.03em;
}

.brand-copy small {
  color: var(--muted);
  font-size: 0.8rem;
}

.topnav {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.topnav a {
  color: var(--muted);
  font-size: 0.92rem;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 999px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.25s ease, transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
  background: rgba(17, 22, 27, 0.04);
  border-color: rgba(17, 22, 27, 0.08);
  transform: translateY(-2px);
}

main {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

section {
  margin-top: 34px;
}

.hero {
  min-height: auto;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
  gap: 40px;
  align-items: center;
  padding: 40px 0 38px;
}

.hero-home {
  min-height: calc(100vh - 150px);
}

.hero-history {
  min-height: auto;
}

.hero-copy,
.hero-visual,
.history-hero-panel {
  position: relative;
}

.eyebrow {
  margin: 0 0 12px;
  color: #7a8791;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

h1 {
  margin: 0;
  font-size: clamp(3.2rem, 8vw, 6.4rem);
  line-height: 0.94;
  letter-spacing: -0.03em;
}

h2 {
  margin: 6px 0 0;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  letter-spacing: -0.03em;
}

h3 {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.05;
}

h4 {
  margin: 0;
  font-size: 1rem;
}

.hero-text,
.section-heading p,
.detail-copy p,
.card-copy,
.timeline-copy,
.future-card p {
  color: var(--muted);
}

.hero-text {
  max-width: 680px;
  font-size: 1.06rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
}

.button-primary {
  background: #12181d;
  color: #fff;
  border-color: #12181d;
  box-shadow: 0 14px 28px rgba(18, 24, 29, 0.14);
}

.button-secondary {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.94);
}

.stats-grid,
.overview-grid,
.pulse-grid,
.future-grid,
.related-grid,
.detail-grid,
.aircraft-grid {
  display: grid;
  gap: 18px;
}

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

.stat-card,
.overview-card,
.pulse-card,
.manufacturer-card,
.detail-panel,
.history-card,
.future-card,
.aircraft-card,
.related-card,
.message-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.stat-card {
  padding: 18px;
  overflow: hidden;
  position: relative;
}

.stat-card::before {
  content: "";
  position: absolute;
  inset: auto -12% -30% auto;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(225, 233, 238, 0.72), transparent 68%);
  border-radius: 50%;
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.stat-value {
  display: block;
  margin-top: 8px;
  font-size: 2.3rem;
  line-height: 1;
}

.stat-note {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.94rem;
}

.hero-visual {
  min-height: 100%;
  display: flex;
  align-items: center;
}

.hero-board {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: minmax(158px, auto);
  gap: 18px;
}

.showcase-card {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 158px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius-lg) + 2px);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 18px 38px rgba(18, 24, 29, 0.06);
  color: inherit;
  overflow: hidden;
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), transparent 38%),
    radial-gradient(circle at top right, rgba(233, 238, 241, 0.7), transparent 32%);
  pointer-events: none;
}

.showcase-card:hover,
.showcase-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(17, 22, 27, 0.12);
  box-shadow: 0 24px 44px rgba(18, 24, 29, 0.08);
}

.showcase-card h3 {
  position: relative;
  z-index: 1;
  margin-top: auto;
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  letter-spacing: -0.03em;
}

.showcase-card p {
  position: relative;
  z-index: 1;
  margin: 10px 0 0;
  color: var(--muted);
}

.showcase-kicker {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--surface-alt);
  color: var(--muted);
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.showcase-card-wide {
  grid-column: span 2;
}

.showcase-card-tall {
  grid-row: span 2;
}

.showcase-card-compact {
  min-height: 120px;
}

.panel-label,
.badge,
.status-chip,
.meta-chip,
.timeline-chip,
.tag,
.program-state {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.panel-label {
  margin-bottom: 10px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 243, 245, 0.94));
}

.section-heading {
  max-width: 760px;
}

.section-heading p {
  margin: 14px 0 0;
}

.overview-band,
.pulse-section,
.control-deck,
.manufacturer-section,
.future-section,
.detail-section,
.history-track-section {
  padding-bottom: 18px;
}

.overview-grid {
  margin-top: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.overview-card,
.pulse-card,
.future-card,
.detail-panel,
.related-card {
  padding: 22px;
}

.overview-card {
  position: relative;
  overflow: hidden;
}

.overview-card::after {
  content: "";
  position: absolute;
  inset: auto -10% -18% auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 233, 238, 0.6), transparent 68%);
}

.overview-card .count {
  font-size: 2rem;
  line-height: 1;
  margin: 12px 0 8px;
  display: block;
}

.overview-card p,
.pulse-card p,
.manufacturer-card p,
.detail-panel p,
.aircraft-card p,
.related-card p,
.history-card p,
.future-card p {
  margin: 10px 0 0;
}

.control-deck {
  position: static;
  top: auto;
  z-index: 10;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(22px);
  box-shadow: var(--shadow);
}

.control-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.control-field {
  display: grid;
  gap: 8px;
}

.control-field span,
.timeline-filter-title {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.control-field input,
.control-field select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid rgba(17, 22, 27, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(249, 250, 250, 0.96);
  color: var(--text);
  font: inherit;
}

.control-field input:focus,
.control-field select:focus {
  outline: 2px solid rgba(95, 216, 255, 0.18);
  border-color: rgba(95, 216, 255, 0.48);
}

.timeline-filter-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.timeline-filter-buttons,
.tag-row,
.aircraft-links,
.active-filters,
.fact-strip,
.meta-row,
.timeline-legend {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.timeline-filter-button,
.tag,
.aircraft-pill,
.clear-filter,
.detail-link,
.mini-link {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  color: var(--text);
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.timeline-filter-button {
  min-height: 40px;
  padding: 10px 16px;
  cursor: pointer;
  font: inherit;
}

.timeline-filter-button:hover,
.timeline-filter-button:focus-visible,
.aircraft-pill:hover,
.detail-link:hover,
.mini-link:hover,
.clear-filter:hover {
  transform: translateY(-2px);
  border-color: rgba(95, 216, 255, 0.42);
}

.timeline-filter-button.is-active {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 243, 245, 0.98));
  border-color: rgba(17, 22, 27, 0.14);
}

.active-filters {
  margin-top: 18px;
  min-height: 36px;
}

.tag,
.clear-filter {
  padding: 8px 12px;
  font-size: 0.8rem;
}

.clear-filter {
  cursor: pointer;
}

.pulse-grid {
  margin-top: 24px;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.pulse-card {
  position: relative;
  overflow: hidden;
}

.pulse-card::before {
  content: "";
  position: absolute;
  inset: -20% -24% auto auto;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 233, 238, 0.7), transparent 68%);
}

.pulse-card strong {
  display: block;
  margin-top: 14px;
  font-size: 1.85rem;
  line-height: 1;
}

.results-line {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin: 24px 0 18px;
  color: var(--muted);
}

.results-line strong {
  font-size: 2rem;
  color: var(--text);
}

.manufacturer-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.manufacturer-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.manufacturer-card::before {
  content: "";
  position: absolute;
  inset: auto -10% -30% auto;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(225, 233, 238, 0.72), transparent 68%);
}

.card-top,
.card-actions,
.aircraft-card-top,
.history-card-top,
.detail-header,
.detail-title-row,
.history-card-shell {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.badge {
  color: var(--text);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), var(--accent-mint));
}

.status-chip {
  color: var(--accent-strong);
  border: 1px solid rgba(17, 22, 27, 0.08);
  background: rgba(17, 22, 27, 0.04);
}

.meta-row {
  margin-top: 14px;
}

.meta-chip {
  border: 1px solid rgba(17, 22, 27, 0.08);
  background: rgba(243, 245, 246, 0.96);
  color: var(--muted);
}

.tag-row {
  margin-top: 18px;
}

.tag {
  padding: 8px 13px;
  color: var(--muted);
}

.timeline-clusters,
.timeline-stack {
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.timeline-cluster {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(17, 22, 27, 0.07);
  background: rgba(248, 249, 249, 0.98);
}

.timeline-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 12px;
}

.timeline-chip {
  border: 1px solid transparent;
}

.timeline-foundational {
  background: rgba(142, 231, 255, 0.14);
  border-color: rgba(142, 231, 255, 0.24);
  color: var(--timeline-foundational);
}

.timeline-jet-age {
  background: rgba(255, 191, 112, 0.14);
  border-color: rgba(255, 191, 112, 0.24);
  color: var(--timeline-jet);
}

.timeline-digital-age {
  background: rgba(125, 240, 193, 0.14);
  border-color: rgba(125, 240, 193, 0.24);
  color: var(--timeline-digital);
}

.timeline-next-horizon {
  background: rgba(248, 212, 255, 0.14);
  border-color: rgba(248, 212, 255, 0.24);
  color: var(--timeline-future);
}

.aircraft-links {
  margin-top: 10px;
}

.aircraft-pill,
.detail-link,
.mini-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
}

.aircraft-pill span,
.mini-link span {
  color: var(--muted);
  font-size: 0.82rem;
}

.card-actions {
  margin-top: 20px;
}

.detail-link,
.mini-link {
  font-size: 0.85rem;
}

.detail-hero,
.detail-section-shell,
.message-card {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
}

.detail-hero {
  padding-top: 96px;
}

.detail-hero-panel {
  padding: 30px;
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  background:
    radial-gradient(circle at top right, rgba(233, 238, 241, 0.8), transparent 34%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(246, 247, 247, 0.98));
  box-shadow: var(--shadow);
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(270px, 0.34fr) minmax(0, 0.66fr);
  gap: 24px;
  margin-top: 24px;
}

.detail-sidebar {
  display: grid;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 116px;
}

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

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-panel h3,
.history-card h3,
.future-card h3,
.aircraft-card h3,
.related-card h3 {
  margin-bottom: 8px;
}

.detail-list,
.bullet-list {
  margin: 0;
  padding-left: 18px;
  color: var(--muted);
}

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

.aircraft-card {
  padding: 22px;
}

.program-state {
  color: var(--text);
  background: rgba(17, 22, 27, 0.04);
  border: 1px solid rgba(17, 22, 27, 0.08);
}

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

.message-card {
  margin-top: 120px;
  padding: 32px;
  text-align: center;
}

.manufacturer-grid > .message-card {
  width: 100%;
  grid-column: 1 / -1;
  margin-top: 0;
}

.message-card .button {
  margin-top: 18px;
}

.history-hero-panel {
  align-self: end;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.history-hero-year {
  font-size: clamp(4rem, 10vw, 7rem);
  line-height: 0.95;
  color: var(--accent-strong);
}

.history-hero-caption {
  margin: 14px 0 0;
  max-width: 340px;
  color: var(--muted);
}

.history-track-shell {
  position: relative;
  padding: 40px 0 20px;
}

.history-progress-line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 4px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: rgba(17, 22, 27, 0.08);
  overflow: hidden;
}

.history-progress-fill {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 0%;
  background: linear-gradient(180deg, rgba(232, 239, 242, 0.98), rgba(205, 216, 221, 0.98), rgba(110, 126, 136, 0.9));
  box-shadow: 0 0 18px rgba(17, 22, 27, 0.08);
  transition: height 0.15s linear;
}

.history-events {
  display: grid;
  gap: 38px;
}

.history-item {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 110px minmax(0, 1fr);
  align-items: center;
  gap: 22px;
}

.history-item:nth-child(even) .history-card-shell {
  grid-column: 3;
}

.history-item:nth-child(odd) .history-card-shell {
  grid-column: 1;
}

.history-item:nth-child(even) .history-node,
.history-item:nth-child(odd) .history-node {
  grid-column: 2;
}

.history-node {
  position: relative;
  display: grid;
  place-items: center;
}

.node-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 6px solid rgba(232, 239, 242, 0.9);
  background: linear-gradient(135deg, rgba(250, 251, 251, 0.98), rgba(189, 201, 207, 0.98));
  box-shadow: 0 0 0 10px rgba(241, 244, 246, 0.8);
}

.large-year {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(19, 38, 54, 0.08);
  font-size: 3.6rem;
  line-height: 1;
  white-space: nowrap;
}

.history-item:nth-child(odd) .large-year {
  left: 54px;
}

.history-item:nth-child(even) .large-year {
  right: 54px;
}

.history-card {
  padding: 24px;
  position: relative;
  overflow: hidden;
}

.history-card::before {
  content: "";
  position: absolute;
  inset: auto -20% -34% auto;
  width: 160px;
  height: 160px;
  background: radial-gradient(circle, rgba(232, 239, 242, 0.84), transparent 72%);
  border-radius: 50%;
}

.history-card-top .badge {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(244, 247, 248, 0.98));
}

.future-grid {
  margin-top: 24px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.future-card {
  position: relative;
  overflow: hidden;
}

.future-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(140deg, rgba(232, 239, 242, 0.36), transparent 45%),
    linear-gradient(320deg, rgba(255, 255, 255, 0.56), transparent 40%);
}

.future-card strong {
  display: inline-block;
  margin-top: 12px;
  color: var(--text);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
}

.card-link {
  display: block;
  color: inherit;
}

.card-link .card-link-hint {
  display: inline-flex;
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.card-link:hover .card-link-hint,
.card-link:focus-visible .card-link-hint {
  color: var(--text);
}

.history-hero-column {
  display: grid;
  gap: 18px;
  align-self: stretch;
}

.history-hero-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.history-hero-visual,
.aircraft-visual-panel {
  margin: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.84);
  box-shadow: var(--shadow);
}

.history-hero-visual img,
.aircraft-visual-image,
.history-card-image {
  display: block;
  width: 100%;
  height: auto;
}

.history-card-media {
  margin-bottom: 16px;
  padding: 12px;
  border: 1px solid rgba(88, 122, 145, 0.1);
  border-radius: var(--radius-md);
  background: rgba(246, 250, 252, 0.96);
}

.aircraft-hero-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.95fr) minmax(0, 1.05fr);
  gap: 18px;
  margin-top: 24px;
}

.aircraft-visual-caption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.support-shell {
  display: grid;
  gap: 24px;
}

.support-hero-grid,
.support-grid {
  display: grid;
  gap: 18px;
}

.support-hero-grid {
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 1.1fr);
}

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

.support-card {
  height: 100%;
}

.support-highlight {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(239, 243, 245, 0.96));
}

.support-form-panel {
  padding: 28px;
}

.support-form-header p,
.support-form-note {
  color: var(--muted);
}

.support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 22px;
}

.support-field {
  display: grid;
  gap: 8px;
}

.support-field span {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.support-field input,
.support-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(17, 22, 27, 0.1);
  border-radius: var(--radius-sm);
  background: rgba(249, 250, 250, 0.96);
  color: var(--text);
  font: inherit;
  resize: vertical;
}

.support-field input:focus,
.support-field textarea:focus {
  outline: 2px solid rgba(95, 216, 255, 0.18);
  border-color: rgba(95, 216, 255, 0.48);
}

.support-field-full {
  grid-column: 1 / -1;
}

.support-form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.support-form-note {
  margin: 0;
  max-width: 560px;
}

.support-mail {
  margin-top: 18px;
}

.site-footer {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 44px auto 30px;
  padding: 20px 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
}

.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.is-hidden {
  display: none !important;
}

@keyframes rotateSweep {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}

@keyframes driftCloud {
  0% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  100% {
    transform: translate3d(34px, -22px, 0) scale(1.08);
  }
}

@keyframes gridDrift {
  from {
    transform: translateY(0);
  }

  to {
    transform: translateY(18px);
  }
}

@media (max-width: 1120px) {
  .hero,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .aircraft-hero-grid,
  .hero-board,
  .history-hero-stack,
  .support-form,
  .support-hero-grid,
  .support-grid {
    grid-template-columns: 1fr;
  }

  .stats-grid,
  .overview-grid,
  .future-grid,
  .detail-grid,
  .related-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .control-grid,
  .pulse-grid,
  .aircraft-grid,
  .manufacturer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-sidebar {
    position: static;
  }
}

@media (max-width: 880px) {
  .topbar {
    border-radius: 26px;
    padding: 14px 16px;
    gap: 14px;
  }

  .topbar,
  .topnav {
    align-items: flex-start;
  }

  .topbar {
    flex-direction: column;
  }

  .topnav {
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
  }

  .topnav a {
    padding: 8px 12px;
    font-size: 0.82rem;
  }

  .hero {
    padding-top: 24px;
  }

  .control-deck {
    position: static;
  }

  .stats-grid,
  .overview-grid,
  .control-grid,
  .pulse-grid,
  .future-grid,
  .related-grid,
  .detail-grid,
  .aircraft-grid,
  .manufacturer-grid {
    grid-template-columns: 1fr;
  }

  .history-progress-line {
    left: 20px;
    transform: none;
  }

  .history-item {
    grid-template-columns: 54px minmax(0, 1fr);
    gap: 18px;
  }

  .history-node,
  .history-card-shell,
  .history-item:nth-child(even) .history-card-shell,
  .history-item:nth-child(odd) .history-card-shell,
  .history-item:nth-child(even) .history-node,
  .history-item:nth-child(odd) .history-node {
    grid-column: auto;
  }

  .history-node {
    order: 1;
  }

  .history-card-shell {
    order: 2;
  }

  .large-year {
    position: static;
    transform: none;
    margin-top: 12px;
    font-size: 2.4rem;
  }

  .history-item:nth-child(odd) .large-year,
  .history-item:nth-child(even) .large-year {
    left: auto;
    right: auto;
  }
}

@media (max-width: 620px) {
  main,
  .site-footer,
  .topbar,
  .detail-hero,
  .detail-section-shell,
  .message-card {
    width: min(calc(100% - 20px), var(--max-width));
  }

  .hero {
    padding-top: 18px;
  }

  h1 {
    font-size: 2.7rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .hero-visual {
    min-height: auto;
  }

  .brand-copy small {
    display: none;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .history-hero-year {
    font-size: 3.6rem;
  }

  .history-hero-column {
    gap: 14px;
  }

  .showcase-card-wide,
  .showcase-card-tall {
    grid-column: auto;
    grid-row: auto;
  }
}
