:root {
  --navy-950: #03101f;
  --navy-900: #06162d;
  --navy-800: #0b2447;
  --blue-700: #0759be;
  --blue-600: #0b72e7;
  --blue-500: #1590ff;
  --red-600: #e31e24;
  --red-500: #f52b32;
  --gold-400: #efb84b;
  --ice-50: #f6f9fd;
  --ice-100: #e8f0f9;
  --ink: #0a1830;
  --muted: #5c687b;
  --white: #fff;
  --shadow: 0 24px 60px rgba(4, 20, 42, .15);
  --radius: 22px;
  --page: min(1240px, calc(100% - 48px));
  --jkl-hero-image-top: 126px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 130px;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--navy-950);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

body.admin-bar .site-header { top: 32px; }

body.menu-open { overflow: hidden; }

a { color: inherit; }

button,
a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: fixed;
  z-index: 999;
  left: 16px;
  top: 12px;
  transform: translateY(-160%);
  padding: 12px 18px;
  border-radius: 10px;
  color: var(--white);
  background: var(--blue-600);
  font-weight: 750;
  text-decoration: none;
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.page-width {
  width: var(--page);
  margin-inline: auto;
}

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: 126px;
  color: var(--white);
  background: linear-gradient(to bottom, rgba(3, 16, 31, .96), rgba(3, 16, 31, .76));
  border-bottom: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(15px);
  transition: height .25s ease, background .25s ease, box-shadow .25s ease;
}

.site-header.is-scrolled {
  height: 118px;
  background: rgba(3, 16, 31, .97);
  box-shadow: 0 12px 35px rgba(0, 0, 0, .2);
}

.header-inner {
  width: min(1500px, calc(100% - 32px));
  height: 100%;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: 74px 52px;
  align-items: center;
  justify-content: space-between;
  column-gap: 28px;
}

.site-header.is-scrolled .header-inner { grid-template-rows: 68px 50px; }

.brand {
  min-width: 274px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: var(--white);
  text-decoration: none;
}

.brand-mark {
  position: relative;
  width: 70px;
  height: 47px;
  display: flex;
  align-items: center;
  isolation: isolate;
}

.brand-letters {
  position: relative;
  z-index: 2;
  font-size: 26px;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -2px;
  font-style: italic;
  text-shadow: 0 2px 0 #0d4b96;
}

.brand-letters::after {
  content: "";
  position: absolute;
  left: 1px;
  right: -2px;
  bottom: 5px;
  height: 4px;
  background: var(--red-500);
  box-shadow: 0 6px 0 var(--red-500);
  clip-path: polygon(2% 0, 100% 0, 96% 100%, 0 100%);
  mix-blend-mode: multiply;
}

.brand-ball {
  position: absolute;
  z-index: 1;
  width: 43px;
  height: 43px;
  left: -7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 28%, #2889ef 0, #0a3974 41%, #020c18 78%);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .15), 0 7px 16px rgba(0, 0, 0, .35);
}

.brand-ball::before,
.brand-ball::after {
  content: "";
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: rgba(0, 0, 0, .72);
}

.brand-ball::before { left: 13px; top: 9px; box-shadow: 8px 3px 0 rgba(0, 0, 0, .72); }
.brand-ball::after { left: 15px; top: 18px; }

.brand-years {
  position: absolute;
  z-index: 3;
  right: -2px;
  top: 0;
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.4px;
}

.brand-name {
  padding-left: 11px;
  border-left: 1px solid rgba(255, 255, 255, .3);
  font-size: 12px;
  line-height: 1.16;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.brand-name strong {
  color: #8fc9ff;
  font-size: 13px;
  letter-spacing: .01em;
}

.main-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, .11);
}

.main-nav a {
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 clamp(4px, .42vw, 8px);
  color: rgba(255, 255, 255, .82);
  font-size: clamp(12px, .78vw, 14px);
  font-weight: 750;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
  text-decoration: none;
  transition: color .2s ease, background .2s ease;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 7px;
  right: 7px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--red-500);
  transform: scaleX(0);
  transition: transform .2s ease;
}

.main-nav a:hover,
.main-nav a:focus-visible,
.main-nav a.is-active {
  color: var(--white);
  background: rgba(255, 255, 255, .05);
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after { transform: scaleX(1); }

.menu-toggle {
  display: none;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border: 0;
  border-radius: 10px;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.menu-icon { width: 24px; display: grid; gap: 5px; }
.menu-icon i { height: 2px; border-radius: 4px; background: currentColor; transition: transform .2s ease, opacity .2s ease; }
.menu-toggle[aria-expanded="true"] .menu-icon i:first-child { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] .menu-icon i:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] .menu-icon i:last-child { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  min-height: min(790px, 92vh);
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.hero-image {
  position: absolute;
  inset: var(--jkl-hero-image-top) 0 auto;
  width: 100%;
  height: calc(100% - var(--jkl-hero-image-top));
  object-fit: contain;
  object-position: center top;
  background: var(--navy-950);
  animation: hero-in 1.2s cubic-bezier(.2, .72, .24, 1) both;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(1, 9, 20, .87) 0%, rgba(1, 9, 20, .44) 32%, rgba(1, 9, 20, .06) 63%),
    linear-gradient(0deg, rgba(3, 16, 31, .95) 0%, rgba(3, 16, 31, .08) 44%, rgba(3, 16, 31, .24) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 170px 0 105px;
}

.anniversary-pill {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 13px 8px 8px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(3, 16, 31, .56);
  backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, .88);
  font-size: 12px;
  font-weight: 760;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.anniversary-pill span {
  margin-right: 9px;
  padding: 5px 8px;
  border-radius: 999px;
  color: var(--navy-950);
  background: var(--gold-400);
}

.hero h1 {
  max-width: 730px;
  margin: 0;
  font-size: clamp(56px, 5.8vw, 92px);
  line-height: .93;
  letter-spacing: -.055em;
  text-wrap: balance;
  text-shadow: 0 8px 35px rgba(0, 0, 0, .45);
}

.hero p {
  max-width: 570px;
  margin: 25px 0 0;
  color: rgba(255, 255, 255, .86);
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.55;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .6);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 790;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
}

.button svg,
.text-link svg,
.news-more svg {
  width: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--red-500), #c9141b);
  box-shadow: 0 13px 30px rgba(228, 22, 31, .36);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, .34);
  background: rgba(3, 16, 31, .4);
  backdrop-filter: blur(12px);
}

.button:hover,
.button:focus-visible { transform: translateY(-2px); }
.button-primary:hover,
.button-primary:focus-visible { box-shadow: 0 16px 36px rgba(228, 22, 31, .48); }
.button-ghost:hover,
.button-ghost:focus-visible { border-color: rgba(255, 255, 255, .64); background: rgba(3, 16, 31, .64); }

.hero-scroll {
  position: absolute;
  z-index: 3;
  right: max(24px, calc((100vw - 1240px) / 2));
  bottom: 29px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, .72);
  font-size: 11px;
  font-weight: 780;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-decoration: none;
}

.hero-scroll svg {
  width: 24px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.8;
  animation: nudge 1.7s ease-in-out infinite;
}

.competition-section {
  position: relative;
  padding: 100px 0 110px;
  background:
    linear-gradient(118deg, rgba(11, 114, 231, .06), transparent 33%),
    var(--ice-50);
}

.competition-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 6px;
  background: linear-gradient(90deg, var(--blue-600) 0 45%, var(--red-500) 45% 56%, var(--gold-400) 56% 100%);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 480px);
  align-items: end;
  gap: 50px;
  margin-bottom: 42px;
}

.section-heading h2 {
  margin: 4px 0 0;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 1;
  letter-spacing: -.045em;
}

.section-heading > p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.eyebrow {
  margin: 0;
  color: var(--blue-700);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

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

.category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.category-grid .action-card { min-height: 124px; padding: 22px; gap: 16px; }
.action-index { font-size: 15px; font-weight: 900; letter-spacing: .04em; }

.action-card {
  min-height: 132px;
  display: grid;
  grid-template-columns: 58px 1fr 28px;
  align-items: center;
  gap: 19px;
  padding: 26px;
  border: 1px solid #dce5f0;
  border-radius: var(--radius);
  color: var(--ink);
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 12px 35px rgba(4, 24, 54, .055);
  text-decoration: none;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.action-card-featured {
  color: var(--white);
  background: linear-gradient(140deg, #0a64c8, #06387f);
  border-color: #176fc9;
  box-shadow: 0 18px 40px rgba(6, 70, 146, .23);
}

.action-card:hover,
.action-card:focus-visible {
  transform: translateY(-4px);
  border-color: #93bce9;
  box-shadow: var(--shadow);
}

.action-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  color: var(--blue-700);
  background: var(--ice-100);
}

.action-card-featured .action-icon {
  color: var(--white);
  background: rgba(255, 255, 255, .14);
}

.action-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-copy { display: grid; gap: 7px; }
.action-copy strong { font-size: 20px; letter-spacing: -.02em; }
.action-copy span { color: var(--muted); font-size: 14px; line-height: 1.4; }
.action-card-featured .action-copy span { color: rgba(255, 255, 255, .73); }

.action-arrow {
  width: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform .2s ease;
}

.action-card:hover .action-arrow,
.action-card:focus-visible .action-arrow { transform: translateX(4px); }

.news-section {
  padding: 105px 0 0;
  color: var(--white);
  background:
    radial-gradient(circle at 88% 10%, rgba(21, 144, 255, .17), transparent 26%),
    linear-gradient(150deg, #07182d, var(--navy-950) 58%);
}

.section-heading-light { align-items: center; }
.section-heading-light .eyebrow { color: #7cbefb; }

.text-link {
  justify-self: end;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  color: #a9d5ff;
  font-size: 14px;
  font-weight: 760;
  text-decoration: none;
}

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

.news-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr 1fr;
  gap: 15px;
}

.news-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, .11);
  border-radius: var(--radius);
  color: var(--white);
  background: rgba(255, 255, 255, .045);
  text-decoration: none;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.news-card-image {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease;
}

.news-card.has-image::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 16, 31, .25), rgba(3, 16, 31, .93) 82%);
}

.news-card.has-image > :not(.news-card-image) {
  position: relative;
  z-index: 2;
}

.news-card.has-image:hover .news-card-image,
.news-card.has-image:focus-visible .news-card-image { transform: scale(1.045); }

.news-card-main {
  background:
    linear-gradient(145deg, rgba(9, 100, 201, .92), rgba(6, 43, 91, .96)),
    var(--navy-800);
  border-color: rgba(88, 172, 255, .45);
}

.news-card:hover,
.news-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(122, 190, 255, .58);
  background-color: rgba(255, 255, 255, .075);
}

.news-label {
  padding: 6px 9px;
  border-radius: 6px;
  color: #baddff;
  background: rgba(21, 144, 255, .13);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.news-card-main .news-label { color: var(--navy-950); background: #9ed1ff; }
.news-date { margin-top: 31px; color: rgba(255, 255, 255, .58); font-size: 12px; font-weight: 700; }
.news-card h3 { margin: 12px 0 25px; font-size: clamp(21px, 1.7vw, 29px); line-height: 1.19; letter-spacing: -.025em; }

.news-more {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #abd6ff;
  font-size: 13px;
  font-weight: 760;
}

.news-card-main .news-more { color: var(--white); }

.site-footer {
  min-height: 130px;
  margin-top: 78px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  border-top: 1px solid rgba(255, 255, 255, .12);
  color: rgba(255, 255, 255, .55);
  font-size: 12px;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 255, 255, .78);
  font-weight: 690;
  text-decoration: none;
}

.footer-jkl {
  color: var(--white);
  font-size: 21px;
  font-weight: 950;
  font-style: italic;
  letter-spacing: -1.5px;
}

.site-footer a:last-child { color: #90c8ff; font-weight: 720; text-decoration: none; }
.site-footer a:last-child:hover,
.site-footer a:last-child:focus-visible { color: var(--white); text-decoration: underline; }

/* WordPress subpages */
.subpage-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
}

.subpage-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 47%;
}

.subpage-hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 16, 31, .9), rgba(3, 16, 31, .5) 48%, rgba(3, 16, 31, .18)),
    linear-gradient(0deg, rgba(3, 16, 31, .95), transparent 72%);
}

.subpage-hero-content {
  position: relative;
  z-index: 2;
  padding: 160px 0 54px;
}

.subpage-kicker {
  margin: 0 0 10px;
  color: #92ccff;
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.subpage-hero h1 {
  max-width: 880px;
  margin: 0;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1;
  letter-spacing: -.045em;
  text-shadow: 0 7px 30px rgba(0, 0, 0, .52);
}

.breadcrumbs {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, .66);
  font-size: 12px;
}

.breadcrumbs a {
  color: #aed7ff;
  font-weight: 750;
  text-decoration: none;
}

.breadcrumbs a:hover,
.breadcrumbs a:focus-visible { color: var(--white); text-decoration: underline; }
.breadcrumbs svg { width: 14px; fill: none; stroke: currentColor; stroke-width: 2; }
.breadcrumbs span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.subpage-section {
  position: relative;
  padding: 70px 0 100px;
  background:
    linear-gradient(118deg, rgba(11, 114, 231, .055), transparent 35%),
    var(--ice-50);
}

.subpage-section::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, var(--blue-600) 0 45%, var(--red-500) 45% 56%, var(--gold-400) 56% 100%);
}

.subpage-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 295px;
  align-items: start;
  gap: 28px;
}

.subpage-layout.no-aside { grid-template-columns: minmax(0, 1fr); }

.subpage-surface {
  min-width: 0;
  padding: clamp(28px, 4vw, 58px);
  border: 1px solid #dfe7f0;
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.content-meta {
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 680;
}

.content-featured { margin: 0 0 34px; }
.content-featured img { width: 100%; height: auto; display: block; border-radius: 16px; }

.entry-content {
  color: #26354a;
  font-size: 17px;
  line-height: 1.76;
}

.entry-content > :first-child { margin-top: 0; }
.entry-content > :last-child { margin-bottom: 0; }

/* Keep form entries legible on dark content pages at every screen width. */
.entry-content input:not([type="submit"]):not([type="button"]):not([type="reset"]),
.entry-content textarea,
.entry-content select {
  color: #fff;
  -webkit-text-fill-color: #fff;
  caret-color: #fff;
}
.entry-content input::placeholder,
.entry-content textarea::placeholder { color: #fff; opacity: 1; }
.entry-content h2,
.entry-content h3,
.entry-content h4 { color: var(--ink); line-height: 1.18; letter-spacing: -.025em; }
.entry-content h2 { margin: 1.65em 0 .65em; font-size: clamp(28px, 3vw, 40px); }
.entry-content h3 { margin: 1.5em 0 .6em; font-size: 25px; }
.entry-content a { color: var(--blue-700); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.entry-content a:hover,
.entry-content a:focus-visible { color: var(--red-600); }
.entry-content img { max-width: 100%; height: auto; }
.entry-content iframe { max-width: 100%; }
.entry-content table { width: 100%; border-collapse: collapse; font-size: 14px; }
.entry-content th,
.entry-content td { padding: 11px 13px; border: 1px solid #dce4ed; text-align: left; }
.entry-content th { color: var(--ink); background: var(--ice-100); }
.entry-content blockquote { margin: 28px 0; padding: 4px 0 4px 22px; border-left: 4px solid var(--blue-600); color: var(--muted); font-size: 19px; }

.post-navigation {
  margin-top: 48px;
  padding-top: 25px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  border-top: 1px solid #e2e8ef;
}

.post-navigation div:last-child { text-align: right; }
.post-navigation a { color: var(--blue-700); font-weight: 760; text-decoration: none; }
.post-navigation a:hover,
.post-navigation a:focus-visible { color: var(--red-600); }

.subpage-aside {
  position: sticky;
  top: 100px;
  padding: 23px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  border-radius: 18px;
  color: var(--white);
  background: linear-gradient(150deg, #0b2f5d, var(--navy-950));
  box-shadow: 0 18px 42px rgba(3, 16, 31, .19);
}

.aside-label {
  margin: 0 0 10px;
  color: #81c1fd;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.aside-parent {
  margin: 5px 0 10px;
  color: var(--white);
  font-size: 22px;
  line-height: 1.15;
  letter-spacing: -.025em;
}

.subpage-aside a {
  display: grid;
  gap: 5px;
  padding: 17px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  color: var(--white);
  text-decoration: none;
}

.subpage-aside a:last-child { border-bottom: 0; }
.subpage-aside a strong { font-size: 16px; }
.subpage-aside a span { color: rgba(255, 255, 255, .59); font-size: 12px; line-height: 1.45; }
.subpage-aside a:hover strong,
.subpage-aside a:focus-visible strong { color: #8dccff; }

.listing-grid { display: grid; gap: 17px; }
.listing-card { overflow: hidden; border: 1px solid #dfe7f0; border-radius: 17px; background: #fbfdff; }
.listing-card.has-image { display: grid; grid-template-columns: minmax(190px, 235px) minmax(0, 1fr); }
.listing-card-body { padding: 26px; }
.listing-thumbnail { min-height: 100%; display: grid; place-items: center; overflow: hidden; padding: 16px; background: var(--white); }
.listing-thumbnail img { width: 100%; height: auto; max-height: 310px; display: block; object-fit: contain; transition: transform .3s ease; }
.listing-thumbnail:hover img { transform: scale(1.04); }
.listing-date { margin: 0 0 8px; color: var(--blue-700); font-size: 11px; font-weight: 840; letter-spacing: .08em; text-transform: uppercase; }
.listing-card h2 { margin: 0; font-size: clamp(22px, 2.5vw, 31px); line-height: 1.18; letter-spacing: -.025em; }
.listing-card h2 a { color: var(--ink); text-decoration: none; }
.listing-card h2 a:hover,
.listing-card h2 a:focus-visible { color: var(--blue-700); }
.listing-excerpt { margin-top: 12px; color: var(--muted); line-height: 1.65; }
.listing-excerpt p { margin: 0; }
.listing-link { margin-top: 17px; display: inline-flex; gap: 7px; color: var(--blue-700); font-size: 13px; font-weight: 780; text-decoration: none; }
.listing-link:hover,
.listing-link:focus-visible { color: var(--red-600); }

/* Category archives continue the same dark-blue visual language as the
   front-page news section instead of switching to a white page. */
body.category .subpage-section {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 10%, rgba(21, 144, 255, .16), transparent 34%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
}

body.category .subpage-surface {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

body.category .listing-card {
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 18px 42px rgba(0, 0, 0, .16);
}

body.category .listing-thumbnail { background: rgba(255, 255, 255, .94); }
body.category .listing-date,
body.category .listing-link { color: #91cbff; }
body.category .listing-card h2 a { color: var(--white); }
body.category .listing-excerpt { color: rgba(255, 255, 255, .7); }
body.category .listing-card h2 a:hover,
body.category .listing-card h2 a:focus-visible,
body.category .listing-link:hover,
body.category .listing-link:focus-visible { color: #b9ddff; }

body.category .nav-links .page-numbers {
  color: var(--white);
  border-color: rgba(255, 255, 255, .2);
  background: rgba(255, 255, 255, .08);
}

body.category .nav-links .current {
  border-color: var(--blue-500);
  background: var(--blue-600);
}

body.category .empty-state p { color: rgba(255, 255, 255, .7); }

.pallokirppis-guide {
  margin-bottom: 30px;
  padding: clamp(24px, 4vw, 42px);
  border: 1px solid rgba(239, 184, 75, .48);
  border-radius: 20px;
  color: rgba(255, 255, 255, .88);
  background:
    radial-gradient(circle at 100% 0, rgba(239, 184, 75, .16), transparent 38%),
    rgba(255, 255, 255, .075);
  box-shadow: 0 20px 48px rgba(0, 0, 0, .18);
}

.pallokirppis-guide-label {
  margin: 0 0 8px;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.pallokirppis-guide h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.1;
  letter-spacing: -.035em;
}

.pallokirppis-guide h3 {
  margin: 27px 0 10px;
  color: var(--white);
  font-size: 21px;
}

.pallokirppis-guide p,
.pallokirppis-guide li { font-size: 17px; line-height: 1.65; }
.pallokirppis-guide p { margin: 12px 0; }
.pallokirppis-guide ul { margin: 10px 0 16px; padding-left: 23px; }
.pallokirppis-guide li + li { margin-top: 6px; }

.pallokirppis-email {
  max-width: 100%;
  margin: 15px 0 2px;
  display: inline-flex;
  align-items: center;
  padding: 13px 17px;
  border-radius: 12px;
  color: var(--navy-950);
  background: var(--gold-400);
  font-size: 16px;
  font-weight: 850;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.pallokirppis-email:hover,
.pallokirppis-email:focus-visible { color: var(--navy-950); background: #ffd477; }

.pallokirppis-guide .pallokirppis-note {
  margin-top: 25px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: rgba(255, 255, 255, .68);
  font-size: 14px;
}

/* Keep the dark JKL background when a visitor opens an individual article. */
body.single-post .subpage-section {
  color: var(--white);
  background:
    radial-gradient(circle at 86% 10%, rgba(21, 144, 255, .16), transparent 34%),
    linear-gradient(135deg, var(--navy-900), var(--navy-950));
}

body.single-post .subpage-surface {
  color: var(--white);
  border-color: rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .065);
  box-shadow: 0 22px 55px rgba(0, 0, 0, .22);
}

body.single-post .content-meta { color: rgba(255, 255, 255, .66); }
body.single-post .entry-content { color: rgba(255, 255, 255, .88); }
body.single-post .entry-content h2,
body.single-post .entry-content h3,
body.single-post .entry-content h4 { color: var(--white); }
body.single-post .entry-content a,
body.single-post .post-navigation a { color: #91cbff; }
body.single-post .entry-content a:hover,
body.single-post .entry-content a:focus-visible,
body.single-post .post-navigation a:hover,
body.single-post .post-navigation a:focus-visible { color: #c6e5ff; }
body.single-post .entry-content th,
body.single-post .entry-content td { border-color: rgba(255, 255, 255, .18); }
body.single-post .entry-content th { color: var(--white); background: rgba(21, 144, 255, .16); }
body.single-post .entry-content blockquote { color: rgba(255, 255, 255, .7); }
body.single-post .post-navigation { border-top-color: rgba(255, 255, 255, .16); }

.navigation.pagination { margin-top: 34px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.nav-links .page-numbers { min-width: 42px; min-height: 42px; display: grid; place-items: center; padding: 8px 12px; border: 1px solid #d8e1eb; border-radius: 10px; color: var(--blue-700); background: var(--white); font-size: 13px; font-weight: 760; text-decoration: none; }
.nav-links .current { color: var(--white); border-color: var(--blue-700); background: var(--blue-700); }

.empty-state { padding: 45px 10px; text-align: center; }
.empty-state h2 { margin: 0; font-size: 34px; }
.empty-state p { margin: 12px 0 26px; color: var(--muted); }
.empty-state .button { width: auto; }

.subpage-footer {
  color: rgba(255, 255, 255, .58);
  background: var(--navy-950);
}

.subpage-footer .page-width {
  min-height: 126px;
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 35px;
  font-size: 12px;
}

.subpage-footer a:last-child { color: #90c8ff; font-weight: 720; text-decoration: none; }
.subpage-footer a:last-child:hover,
.subpage-footer a:last-child:focus-visible { color: var(--white); text-decoration: underline; }

:focus-visible {
  outline: 3px solid #73bafa;
  outline-offset: 4px;
}

@keyframes hero-in {
  from { opacity: .5; transform: scale(1.035); }
  to { opacity: 1; transform: scale(1); }
}

@keyframes nudge {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@media (max-width: 1180px) {
  :root {
    --page: min(100% - 36px, 840px);
    --jkl-mobile-header: 72px;
    --jkl-hero-image-top: 72px;
  }

  html { scroll-padding-top: 72px; }

  .site-header,
  .site-header.is-scrolled { height: 72px; }

  .header-inner {
    display: flex;
    align-items: center;
  }

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

  .main-nav {
    position: fixed;
    z-index: 40;
    inset: 72px 0 auto;
    height: calc(100dvh - 72px);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 20px max(18px, calc((100vw - 840px) / 2));
    overflow-y: auto;
    border-top: 0;
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    background: rgba(3, 16, 31, .985);
    transition: visibility .22s, opacity .22s ease, transform .22s ease;
  }

  .main-nav.is-open { visibility: visible; opacity: 1; transform: translateY(0); }
  body.admin-bar .main-nav { top: calc(32px + var(--jkl-mobile-header)); height: calc(100dvh - 32px - var(--jkl-mobile-header)); }

  .main-nav a {
    min-height: 64px;
    padding: 0 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    font-size: 19px;
  }

  .main-nav a::after { left: 0; right: auto; top: 18px; bottom: 18px; width: 3px; height: auto; transform: scaleY(0); }
  .main-nav a:hover::after,
  .main-nav a:focus-visible::after,
  .main-nav a.is-active::after { transform: scaleY(1); }

  .hero { min-height: 780px; }
  .hero-image { object-position: center top; }
  .hero-shade {
    background:
      linear-gradient(90deg, rgba(1, 9, 20, .9) 0%, rgba(1, 9, 20, .34) 62%, rgba(1, 9, 20, .15)),
      linear-gradient(0deg, rgba(3, 16, 31, .96) 0%, transparent 55%, rgba(3, 16, 31, .18) 100%);
  }

  .section-heading { grid-template-columns: 1fr; gap: 18px; }
  .section-heading > p { max-width: 650px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card-main { grid-column: 1 / -1; }
  .news-card { min-height: 285px; }
  .category-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .subpage-layout { grid-template-columns: 1fr; }
  .subpage-aside { position: static; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; max-height: none; overflow: visible; }
  .aside-label,
  .aside-parent { grid-column: 1 / -1; }
  .subpage-aside a { border: 0; padding: 14px 8px; }
}

@media (max-width: 700px) {
  :root {
    --page: calc(100% - 28px);
    --jkl-mobile-header: 68px;
    --jkl-hero-image-top: 68px;
  }
  html {
    max-width: 100%;
    overflow-x: hidden;
    scroll-padding-top: 68px;
  }
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-size: 20px;
  }

  .site-header,
  .site-header.is-scrolled { height: 68px; }
  .brand { min-width: 0; }
  .brand-mark { width: 64px; }
  .brand-name { display: none; }
  .menu-toggle-label { display: none; }
  .main-nav { top: 68px; height: calc(100dvh - 68px); }
  .main-nav a { min-height: 68px; font-size: 21px; line-height: 1.25; }

  .hero {
    min-height: 680px;
    max-height: 820px;
  }

  .hero-image {
    left: -22.5%;
    width: 145%;
    max-width: none;
    object-position: center top;
  }
  .hero-shade {
    background:
      linear-gradient(0deg, rgba(3, 16, 31, .98) 0%, rgba(3, 16, 31, .78) 38%, rgba(3, 16, 31, .12) 80%),
      linear-gradient(90deg, rgba(3, 16, 31, .36), transparent);
  }

  .hero-content { padding: 300px 0 74px; }
  .hero h1 { font-size: clamp(46px, 14.8vw, 66px); line-height: .95; }
  .hero p { margin-top: 17px; font-size: 20px; line-height: 1.55; }
  .anniversary-pill { font-size: 16px; line-height: 1.35; }
  .anniversary-pill { margin-bottom: 15px; }
  .hero-actions { margin-top: 24px; }
  .button { width: 100%; min-height: 58px; font-size: 19px; }
  .hero-scroll { display: none; }

  .competition-section,
  .news-section { padding-top: 76px; }
  .competition-section { padding-bottom: 82px; }
  .section-heading { margin-bottom: 30px; }
  .section-heading h2 { font-size: 42px; }
  .section-heading > p { font-size: 19px; line-height: 1.6; }
  .eyebrow { font-size: 16px; line-height: 1.4; }
  .action-grid,
  .news-grid { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
  .action-card { min-height: 118px; grid-template-columns: 50px 1fr 22px; gap: 14px; padding: 20px 17px; border-radius: 17px; }
  .action-icon { width: 50px; height: 50px; border-radius: 14px; }
  .action-copy strong { font-size: 20px; }
  .action-copy span { font-size: 15px; line-height: 1.5; }
  .text-link { justify-self: start; font-size: 18px; }
  .news-card-main { grid-column: auto; }
  .news-card { min-height: 285px; padding: 27px; border-radius: 17px; }
  .news-label { font-size: 15px; line-height: 1.35; }
  .news-date { font-size: 16px; line-height: 1.4; }
  .news-card h3 { font-size: 29px; line-height: 1.2; }
  .news-more { font-size: 18px; line-height: 1.4; }

  .site-footer {
    min-height: auto;
    margin-top: 60px;
    padding: 36px 0 42px;
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .site-footer { font-size: 16px; line-height: 1.55; }
  .site-footer p { margin: 0; }
  .subpage-hero { min-height: 380px; }
  .subpage-hero-image { object-position: 56% center; }
  .subpage-hero-content { padding: 145px 0 38px; }
  .subpage-hero h1 { font-size: clamp(38px, 12vw, 54px); }
  .subpage-kicker { font-size: 14px; }
  .breadcrumbs { font-size: 14px; line-height: 1.4; }
  .subpage-section { padding: 42px 0 70px; }
  .subpage-surface { padding: 25px 19px; border-radius: 17px; }
  .subpage-aside { grid-template-columns: 1fr; padding: 20px; }
  .aside-label,
  .aside-parent { grid-column: auto; }
  .aside-label { font-size: 13px; }
  .aside-parent { font-size: 25px; }
  .subpage-aside a { padding: 15px 3px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .subpage-aside a:last-child { border-bottom: 0; }
  .subpage-aside a strong { font-size: 18px; }
  .subpage-aside a span { font-size: 15px; line-height: 1.5; }
  .content-meta { font-size: 15px; line-height: 1.5; }
  .entry-content { font-size: 18px; line-height: 1.72; }
  body.single-post .content-featured,
  body.single-post .entry-content figure,
  body.single-post .entry-content .wp-caption,
  body.single-post .entry-content .wp-block-image,
  body.single-post .entry-content .wp-block-cover {
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
  }
  body.single-post .content-featured img,
  body.single-post .entry-content img,
  body.single-post .entry-content figure img,
  body.single-post .entry-content .wp-caption img,
  body.single-post .entry-content .wp-block-image img {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    object-fit: contain;
    box-sizing: border-box;
  }
  body.single-post .entry-content .alignleft,
  body.single-post .entry-content .alignright,
  body.single-post .entry-content .alignwide,
  body.single-post .entry-content .alignfull {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  .entry-content table { font-size: 16px; }
  .post-navigation { grid-template-columns: 1fr; }
  .post-navigation a { font-size: 17px; line-height: 1.5; }
  .post-navigation div:last-child { text-align: left; }
  .listing-card.has-image { grid-template-columns: 1fr; }
  .listing-thumbnail {
    display: block;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
  }
  .listing-thumbnail img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: none;
    margin: 0;
    object-fit: contain;
    object-position: center;
  }
  /* Keep category archive images entirely inside their mobile cards even
     when the active theme adds intrinsic widths or minimum dimensions. */
  body.category .listing-card,
  body.category .listing-card.has-image,
  body.category .listing-thumbnail {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    overflow: hidden !important;
    box-sizing: border-box !important;
  }
  body.category .subpage-section,
  body.category .subpage-section > .page-width,
  body.category .subpage-layout,
  body.category .subpage-surface,
  body.category .listing-grid,
  body.category .listing-card-body {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body.category .subpage-section > .page-width {
    width: calc(100% - 28px) !important;
  }
  body.category .subpage-layout,
  body.category .listing-grid,
  body.category .listing-card.has-image {
    grid-template-columns: minmax(0, 1fr) !important;
  }
  body.category .listing-card-body,
  body.category .listing-card h2,
  body.category .listing-card h2 a,
  body.category .listing-excerpt {
    min-width: 0 !important;
    max-width: 100% !important;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.category .listing-thumbnail img,
  body.category .listing-thumbnail .wp-post-image,
  body.category .listing-card img {
    display: block !important;
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: none !important;
    margin: 0 auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    box-sizing: border-box !important;
  }
  .listing-card-body { padding: 22px 20px; }
  .listing-date { font-size: 13px; }
  .listing-card h2 { font-size: 25px; }
  .listing-excerpt { font-size: 17px; line-height: 1.65; }
  .listing-link { font-size: 16px; }
  .nav-links .page-numbers { min-width: 46px; min-height: 46px; font-size: 16px; }
  .subpage-footer .page-width { padding: 35px 0; grid-template-columns: 1fr; gap: 14px; font-size: 14px; line-height: 1.5; }
  .subpage-footer p { margin: 0; }
}

@media (max-width: 782px) {
  body.admin-bar .site-header { top: 46px; }
  body.admin-bar .main-nav { top: calc(46px + var(--jkl-mobile-header)); height: calc(100dvh - 46px - var(--jkl-mobile-header)); }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 43px; }
  .hero-content { padding-bottom: 44px; }
  .action-card { grid-template-columns: 46px 1fr; }
  .action-arrow { display: none; }
}

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

/* Article archive search */
.jkl-archive-search { background: #102b4b; color: #fff; border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: clamp(20px, 3vw, 34px); margin: 0 0 32px; }
.jkl-archive-search h2 { color: #fff; margin: 0 0 12px; font-size: clamp(22px, 2vw, 29px); }
.jkl-archive-search p { color: #d9e8f6; margin: 0 0 18px; }
.jkl-archive-form { display: grid; grid-template-columns: minmax(170px, 2fr) repeat(2, minmax(135px, 1fr)) auto; align-items: end; gap: 12px; }
.jkl-archive-form label { display: grid; gap: 7px; font-weight: 700; color: #fff; font-size: 15px; }
.jkl-archive-form input { box-sizing: border-box; width: 100%; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid #8da7bc; border-radius: 9px; background: #fff; color: #10243a; font: inherit; }
.jkl-archive-form button { min-height: 48px; border: 0; border-radius: 9px; padding: 0 20px; background: #e32935; color: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.jkl-archive-form button:hover, .jkl-archive-form button:focus-visible { background: #c71e2a; }
.jkl-archive-form :focus-visible { outline: 3px solid #ffcc33; outline-offset: 2px; }
@media (max-width: 980px) { .jkl-archive-form { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 540px) { .jkl-archive-form { grid-template-columns: 1fr; } .jkl-archive-form button { width: 100%; } }

/* Keep the archive search beneath quick links on wide screens. */
.subpage-sidebar { min-width: 0; display: grid; gap: 18px; }
.subpage-sidebar .subpage-aside { position: static; }
.subpage-sidebar .jkl-archive-search { margin: 0; padding: 23px; background: linear-gradient(150deg, #0b2f5d, var(--navy-950)); box-shadow: 0 18px 42px rgba(3, 16, 31, .19); }
.subpage-sidebar .jkl-archive-form { grid-template-columns: minmax(0, 1fr); }
.subpage-sidebar .jkl-archive-search h2 { font-size: 22px; }
.subpage-sidebar .jkl-archive-form label { color: #fff; }
@media (max-width: 700px) {
  .jkl-archive-search h2 { color: #fff; font-size: 26px; line-height: 1.2; }
  .jkl-archive-search p, .jkl-archive-form label { color: #fff; font-size: 18px; line-height: 1.5; }
  .jkl-archive-form input, .jkl-archive-form button { font-size: 18px; min-height: 52px; }
  .subpage-sidebar .jkl-archive-search { padding: 20px; }
  .subpage-sidebar .jkl-archive-search h2 { font-size: 26px; }
}

/* Mobile archive search: white text throughout the dark search panel. */
@media (max-width: 700px) {
  .jkl-archive-search,
  .jkl-archive-search h2,
  .jkl-archive-search p,
  .jkl-archive-search .jkl-archive-form label,
  .jkl-archive-search .jkl-archive-form button { color: #fff; }
  .jkl-archive-search .jkl-archive-form input {
    background: #193a5d;
    border-color: #83a9cd;
    color: #fff;
    color-scheme: dark;
  }
  .jkl-archive-search .jkl-archive-form input::placeholder { color: #fff; opacity: 1; }
}

/* Desktop archive search fields: red background and white text. */
@media (min-width: 701px) {
  .jkl-archive-search .jkl-archive-form input {
    background: #b71f2d;
    border-color: #ea7a84;
    color: #fff;
    color-scheme: dark;
  }
  .jkl-archive-search .jkl-archive-form input::placeholder { color: #fff; opacity: 1; }
  .jkl-archive-search .jkl-archive-form input:focus-visible { background: #a71927; }
}
