:root {
  --bg: #072d63;
  --bg-deep: #00163b;
  --panel: #fff8d8;
  --panel-2: #dfefff;
  --ink: #111;
  --link: #0b2f99;
  --accent: #ff4d00;
  --gold: #f1ca42;
  --chrome: #d7d7d7;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Trebuchet MS", Verdana, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.28), transparent 30%),
    linear-gradient(180deg, #1f5fb0 0%, var(--bg) 45%, var(--bg-deep) 100%);
  background-attachment: fixed;
}

a {
  color: var(--link);
}

.page-shell {
  width: min(1080px, calc(100% - 24px));
  margin: 12px auto;
  border: 4px solid #fff;
  background: linear-gradient(180deg, #9ec5ff 0%, #fefefe 22%, #d7e8ff 100%);
  box-shadow: 0 0 0 4px #123a73, 0 0 28px rgba(0, 0, 0, 0.45);
}

.masthead,
.hero-panel,
.panel,
.footer-bar {
  border: 3px ridge var(--chrome);
}

.masthead {
  margin: 14px;
  padding: 18px 18px 16px;
  text-align: center;
  background: linear-gradient(180deg, #fffcc7 0%, #f7d861 100%);
}

.eyebrow {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.18rem;
  font-weight: 700;
  color: #8a2a00;
}

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  margin: 10px 0 8px;
  font-size: clamp(2.2rem, 5vw, 4.3rem);
  line-height: 0.95;
  text-shadow: 2px 2px 0 #fff, 4px 4px 0 rgba(13, 58, 125, 0.25);
}

.tagline {
  width: min(760px, 100%);
  margin: 0 auto;
  font-size: 1.05rem;
}

.blink-box {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 14px;
  padding: 8px 12px;
  border: 2px dashed #9b1800;
  background: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 700;
}

.blink {
  color: #fff;
  background: #e00000;
  padding: 4px 7px;
  animation: blink 1s steps(1, end) infinite;
}

.hero-panel {
  display: grid;
  grid-template-columns: minmax(280px, 420px) 1fr;
  gap: 18px;
  margin: 14px;
  padding: 18px;
  background: linear-gradient(180deg, #dff0ff 0%, #ffffff 60%, #d3e7ff 100%);
}

.photo-frame {
  padding: 10px;
  background: linear-gradient(180deg, #ffe6a9 0%, #ffc55a 100%);
  border: 4px outset #ffe8a4;
}

.photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  border: 4px solid #fff;
  box-shadow: 0 0 0 3px #0f3275;
}

.hero-copy h2 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: clamp(1.6rem, 3vw, 2.5rem);
  color: #0e2a5c;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button-link {
  display: inline-block;
  padding: 10px 16px;
  border: 3px outset #d7d7d7;
  background: linear-gradient(180deg, #fff6a8 0%, #ffcc39 100%);
  color: #132f6c;
  font-weight: 700;
  text-decoration: none;
}

.button-link.alt {
  background: linear-gradient(180deg, #d9f1ff 0%, #95c3ff 100%);
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0 14px 14px;
}

.panel {
  padding: 14px;
  background: linear-gradient(180deg, var(--panel) 0%, var(--panel-2) 100%);
}

.fleet-list {
  margin: 0;
  padding-left: 18px;
}

.fleet-list li + li {
  margin-top: 8px;
}

.profile-trigger {
  border: 2px outset #d7d7d7;
  background: linear-gradient(180deg, #fffef0 0%, #ffe594 100%);
  color: #102c65;
  font: inherit;
  cursor: pointer;
  padding: 4px 8px;
  margin-right: 6px;
}

.profile-trigger:hover,
.profile-trigger:focus-visible,
.button-link:hover,
.button-link:focus-visible {
  transform: translateY(-1px);
  filter: brightness(1.04);
}

.fleet-note {
  margin-bottom: 0;
  font-size: 0.9rem;
  font-style: italic;
}

.stats-panel {
  background: linear-gradient(180deg, #1d4692 0%, #0d2860 100%);
  color: #fff;
}

.stat + .stat {
  margin-top: 14px;
}

.stat-label {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08rem;
  color: #d9e7ff;
}

.stat-value {
  display: block;
  margin-top: 6px;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
}

.footer-bar {
  margin: 0 14px 14px;
  padding: 12px 14px;
  text-align: center;
  background: linear-gradient(180deg, #ffe8ad 0%, #ffc63f 100%);
  font-size: 0.92rem;
  font-weight: 700;
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(0, 12, 38, 0.72);
}

.profile-modal {
  position: relative;
  width: min(760px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 22px 20px 18px;
  border: 4px ridge #d7d7d7;
  background: linear-gradient(180deg, #fff8c7 0%, #fefefe 36%, #d7e7ff 100%);
  box-shadow: 0 0 0 4px #15366f, 0 10px 40px rgba(0, 0, 0, 0.55);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 34px;
  height: 34px;
  border: 3px outset #d7d7d7;
  background: linear-gradient(180deg, #ffd1c2 0%, #ff7646 100%);
  color: #4a0d00;
  font-weight: 700;
  cursor: pointer;
}

.modal-kicker {
  margin: 0 0 8px;
  padding-right: 44px;
  font-size: 0.78rem;
  letter-spacing: 0.15rem;
  color: #8a2a00;
  font-weight: 700;
}

.modal-role {
  margin-top: -2px;
  font-weight: 700;
  color: #0e2a5c;
}

.modal-section h3 {
  margin-bottom: 8px;
}

.modal-section p {
  margin-top: 0;
}

.modal-quote {
  margin-bottom: 0;
  padding: 12px;
  border: 2px dashed #9b1800;
  background: rgba(255, 255, 255, 0.82);
  font-style: italic;
  font-weight: 700;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

@media (max-width: 860px) {
  .hero-panel,
  .content-grid {
    grid-template-columns: 1fr;
  }

  .page-shell {
    width: min(100% - 12px, 1080px);
  }
}
