:root {
  --navy-950: #03152f;
  --navy-900: #012968;
  --navy-800: #073f7f;
  --red-700: #9f0828;
  --red-600: #bf0a2f;
  --red-500: #d31d42;
  --ice-100: #f0f5f9;
  --ice-200: #e2ebf3;
  --ink: #101826;
  --muted: #647083;
  --white: #ffffff;
  --gold: #d9ab4a;
  --line: rgba(3, 21, 47, 0.13);
  --shadow-sm: 0 14px 35px rgba(3, 21, 47, 0.11);
  --shadow-lg: 0 30px 80px rgba(3, 21, 47, 0.22);
  --radius-sm: 0.75rem;
  --radius-md: 1.35rem;
  --radius-lg: 2rem;
  --container: 74rem;
  --header-height: 5.5rem;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  overflow-x: clip;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  overflow-x: hidden;
  opacity: 1;
}

.js body {
  opacity: 0;
  transition: opacity 420ms ease;
}

.js body.is-ready {
  opacity: 1;
}

.js body.is-leaving {
  opacity: 0;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--navy-950);
  content: "";
  pointer-events: none;
  opacity: 0;
  transform: scaleY(0);
  transform-origin: bottom;
  transition:
    transform 480ms var(--ease),
    opacity 300ms ease;
}

body.is-leaving::before {
  opacity: 1;
  transform: scaleY(1);
}

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

img {
  height: auto;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  color: var(--navy-950);
  font-family: "Arial Black", "Segoe UI Black", "Helvetica Neue", Arial, sans-serif;
  font-weight: 900;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

h1 {
  font-size: clamp(3.3rem, 9vw, 7.8rem);
}

h2 {
  font-size: clamp(2.2rem, 5vw, 4.5rem);
}

h3 {
  font-size: clamp(1.4rem, 2.5vw, 2.15rem);
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--white);
  background: var(--red-600);
}

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

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--red-600);
  border-radius: 0.5rem;
  transform: translateY(-160%);
  transition: transform 180ms ease;
}

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

.container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 8.5rem);
}

.section-tight {
  padding-block: clamp(3.5rem, 7vw, 6rem);
}

.section-ice {
  background: var(--ice-100);
}

.section-navy {
  color: var(--white);
  background: var(--navy-950);
}

.section-navy h2,
.section-navy h3,
.section-navy h4 {
  color: var(--white);
}

.eyebrow {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  margin-bottom: 1.25rem;
  color: var(--red-600);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 2.4rem;
  height: 0.2rem;
  background: currentColor;
  content: "";
}

.eyebrow-light {
  color: #ff6b83;
}

.section-heading {
  max-width: 49rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading h2 {
  margin-bottom: 1.25rem;
}

.section-heading p {
  max-width: 42rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.18rem);
}

.section-navy .section-heading p {
  color: rgba(255, 255, 255, 0.68);
}

.kicker {
  margin-bottom: 1rem;
  color: var(--red-600);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.lead {
  color: #334057;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  line-height: 1.55;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  min-height: 3.35rem;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.35rem;
  color: var(--white);
  background: var(--red-600);
  border: 1px solid var(--red-600);
  border-radius: 999px;
  font-size: 0.83rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  line-height: 1.1;
  text-transform: uppercase;
  box-shadow: 0 12px 25px rgba(191, 10, 47, 0.2);
  transition:
    color 240ms ease,
    background 240ms ease,
    border-color 240ms ease,
    transform 240ms var(--ease),
    box-shadow 240ms ease;
}

.button::after {
  content: "\2197";
  font-size: 1rem;
  transition: transform 240ms var(--ease);
}

.button:hover {
  background: var(--red-500);
  border-color: var(--red-500);
  box-shadow: 0 18px 35px rgba(191, 10, 47, 0.27);
  transform: translateY(-3px);
}

.button:hover::after {
  transform: translate(2px, -2px);
}

.button-secondary {
  color: var(--navy-950);
  background: transparent;
  border-color: rgba(3, 21, 47, 0.24);
  box-shadow: none;
}

.button-secondary:hover {
  color: var(--white);
  background: var(--navy-950);
  border-color: var(--navy-950);
  box-shadow: none;
}

.button-light {
  color: var(--white);
  background: transparent;
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: none;
}

.button-light:hover {
  color: var(--navy-950);
  background: var(--white);
  border-color: var(--white);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-height);
  color: var(--white);
  background: rgba(1, 41, 104, 0.96);
  box-shadow: 0 8px 30px rgba(3, 21, 47, 0.2);
  backdrop-filter: blur(15px);
}

.header-inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  flex-direction: column;
  padding-block: 0.35rem;
  line-height: 1;
}

.brand-name {
  font-family: "Arial Black", "Segoe UI Black", Arial, sans-serif;
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.brand-tag {
  margin-top: 0.28rem;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  display: flex;
  gap: clamp(1rem, 2.3vw, 2.3rem);
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-link {
  position: relative;
  padding-block: 0.6rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-link::after {
  position: absolute;
  right: 0;
  bottom: 0.25rem;
  left: 0;
  height: 0.16rem;
  background: var(--red-500);
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 260ms var(--ease);
}

.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--white);
}

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

.nav-toggle {
  display: none;
  width: 3rem;
  height: 3rem;
  padding: 0;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
  display: block;
  width: 1.25rem;
  height: 0.12rem;
  margin-inline: auto;
  background: var(--white);
  content: "";
  transition:
    transform 240ms ease,
    opacity 240ms ease;
}

.nav-toggle-lines {
  position: relative;
}

.nav-toggle-lines::before {
  position: absolute;
  top: -0.4rem;
  left: 0;
}

.nav-toggle-lines::after {
  position: absolute;
  top: 0.4rem;
  left: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
  top: 0;
  transform: rotate(-45deg);
}

.hero-home {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  overflow: hidden;
  background: var(--ice-100);
}

.hero-grid {
  display: grid;
  min-height: calc(100svh - var(--header-height));
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
}

.hero-media {
  position: relative;
  min-height: 39rem;
  overflow: hidden;
  background: var(--red-600);
}

.hero-media::before {
  position: absolute;
  inset: 7% 0 0 10%;
  z-index: 0;
  border: 1px solid rgba(255, 255, 255, 0.3);
  content: "";
}

.hero-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 35%;
  transform: scale(1.025) translateY(var(--parallax-shift, 0));
}

.hero-media::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 57%, rgba(3, 21, 47, 0.64));
  content: "";
}

.hero-medal {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 2;
  width: min(11rem, 31vw);
  padding: 1.2rem;
  color: var(--white);
  background: rgba(3, 21, 47, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  text-align: center;
  backdrop-filter: blur(10px);
}

.hero-medal strong {
  display: block;
  color: var(--gold);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 2.25rem;
  line-height: 1;
}

.hero-medal span {
  display: block;
  margin-top: 0.4rem;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  line-height: 1.3;
  text-transform: uppercase;
}

.hero-content {
  display: flex;
  align-items: center;
  padding: clamp(3rem, 8vw, 8rem);
}

.hero-content-inner {
  max-width: 46rem;
}

.hero-title {
  margin-bottom: 1.3rem;
  text-transform: uppercase;
}

.hero-title span {
  display: block;
  color: var(--red-600);
}

.hero-slogan {
  margin-bottom: 1.5rem;
  color: var(--navy-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-style: italic;
}

.hero-credentials {
  max-width: 36rem;
  margin-bottom: 0;
  color: #344157;
  font-size: clamp(1rem, 1.7vw, 1.22rem);
  font-weight: 700;
}

.hero-watermark {
  position: absolute;
  right: -0.03em;
  bottom: -0.3em;
  color: rgba(1, 41, 104, 0.04);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(10rem, 25vw, 27rem);
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 0.72;
  pointer-events: none;
  text-transform: uppercase;
}

.stat-band {
  color: var(--white);
  background: var(--navy-950);
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  min-height: 10.5rem;
  padding: 2.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stat-item:last-child {
  border-right: 0;
}

.stat-number {
  color: var(--white);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  letter-spacing: -0.06em;
  line-height: 1;
}

.stat-label {
  margin-top: 0.6rem;
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.split {
  display: grid;
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.split-reverse .split-media {
  order: 2;
}

.split-media {
  position: relative;
}

.portrait-frame {
  position: relative;
  overflow: hidden;
  background: var(--ice-200);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.portrait-frame::after {
  position: absolute;
  inset: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: calc(var(--radius-lg) - 0.4rem);
  content: "";
  pointer-events: none;
}

.portrait-frame img {
  width: 100%;
  height: min(43rem, 70vw);
  object-fit: cover;
  object-position: center top;
  transform: translateY(var(--parallax-shift, 0)) scale(1.04);
}

.image-caption {
  position: absolute;
  right: -1rem;
  bottom: 2rem;
  max-width: 15rem;
  padding: 1rem 1.2rem;
  color: var(--white);
  background: var(--red-600);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1.45;
  text-transform: uppercase;
}

.prose p {
  color: #3d495b;
}

.prose p + p {
  margin-top: 1.25rem;
}

.prose strong {
  color: var(--navy-950);
}

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.feature-card {
  position: relative;
  min-height: 21rem;
  padding: 2rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 35px rgba(3, 21, 47, 0.06);
  display: flex;
  flex-direction: column;
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms ease,
    border-color 300ms ease;
}

.feature-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.3rem;
  background: var(--red-600);
  content: "";
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 360ms var(--ease);
}

.feature-card:hover {
  border-color: rgba(191, 10, 47, 0.24);
  box-shadow: var(--shadow-sm);
  transform: translateY(-8px);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-year {
  margin-bottom: auto;
  color: var(--red-600);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 3.2rem;
  letter-spacing: -0.07em;
  line-height: 1;
}

.feature-card h3 {
  margin: 2.5rem 0 0.85rem;
}

.feature-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.comeback-panel {
  position: relative;
  min-height: 35rem;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(100deg, rgba(3, 21, 47, 0.97) 15%, rgba(3, 21, 47, 0.78) 62%, rgba(191, 10, 47, 0.7)),
    url("/assets/images/american-flag.jpg") center / cover;
  display: flex;
  align-items: center;
}

.comeback-panel::after {
  position: absolute;
  top: 0;
  right: 8%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, 0.22);
  content: "";
  transform: rotate(18deg);
}

.comeback-copy {
  position: relative;
  z-index: 1;
  max-width: 49rem;
  padding-block: clamp(5rem, 10vw, 9rem);
}

.comeback-copy h2 {
  margin-bottom: 1.4rem;
  color: var(--white);
}

.comeback-copy p {
  max-width: 41rem;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.12rem;
}

.media-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.media-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  transition:
    transform 300ms var(--ease),
    box-shadow 300ms ease;
}

.media-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.media-card-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}

.media-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--ease);
}

.media-card:hover .media-card-image img {
  transform: scale(1.055);
}

.media-card-body {
  padding: 1.5rem;
}

.media-source {
  margin-bottom: 0.65rem;
  color: var(--red-600);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.media-card h3 {
  margin-bottom: 0.8rem;
  font-size: 1.35rem;
  line-height: 1.15;
}

.media-card p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.93rem;
}

.text-link {
  display: inline-flex;
  gap: 0.5rem;
  align-items: center;
  margin-top: 1.15rem;
  color: var(--navy-900);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.text-link::after {
  content: "\2192";
  transition: transform 220ms ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

.page-hero {
  position: relative;
  min-height: 35rem;
  overflow: hidden;
  color: var(--white);
  background: var(--navy-950);
  display: flex;
  align-items: end;
}

.page-hero::before {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 21, 47, 0.97) 0%, rgba(3, 21, 47, 0.84) 48%, rgba(3, 21, 47, 0.25) 100%),
    var(--hero-image, none) var(--hero-position, center) / cover;
  content: "";
  transform: translateY(var(--parallax-shift, 0)) scale(1.045);
}

.page-hero::after {
  position: absolute;
  right: -3rem;
  bottom: -9rem;
  width: 27rem;
  height: 27rem;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  content: "";
}

.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 56rem;
  padding-block: clamp(5rem, 10vw, 8rem);
}

.page-hero h1 {
  margin-bottom: 1.4rem;
  color: var(--white);
  font-size: clamp(3.5rem, 10vw, 7.3rem);
  text-transform: uppercase;
}

.page-hero p {
  max-width: 43rem;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.73);
  font-size: clamp(1.05rem, 2vw, 1.3rem);
}

.fact-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fact {
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.fact-label {
  color: var(--red-600);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.fact-value {
  display: block;
  margin-top: 0.35rem;
  color: var(--navy-950);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.35;
}

.timeline {
  position: relative;
  max-width: 58rem;
  margin-inline: auto;
}

.timeline::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 6.1rem;
  width: 1px;
  background: var(--line);
  content: "";
}

.timeline-item {
  position: relative;
  display: grid;
  gap: 2.2rem;
  padding-bottom: 3.5rem;
  grid-template-columns: 5rem 1fr;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-year {
  color: var(--red-600);
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.55rem;
  letter-spacing: -0.05em;
  text-align: right;
}

.timeline-content {
  position: relative;
  padding: 0 0 0 2.3rem;
}

.timeline-content::before {
  position: absolute;
  top: 0.2rem;
  left: -0.42rem;
  width: 0.86rem;
  height: 0.86rem;
  background: var(--white);
  border: 3px solid var(--red-600);
  border-radius: 50%;
  content: "";
}

.timeline-content h3 {
  margin-bottom: 0.7rem;
}

.timeline-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.achievement-list {
  display: grid;
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.achievement-list li {
  position: relative;
  padding: 1.1rem 1.2rem 1.1rem 3.3rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.achievement-list li::before {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  color: var(--red-600);
  content: "\2605";
}

.achievement-list strong {
  color: var(--navy-950);
}

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

.achievement-panel {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--ice-100);
  border-radius: var(--radius-md);
}

.achievement-panel h3 {
  margin-bottom: 1.5rem;
}

.video-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.video-card {
  overflow: hidden;
  background: var(--navy-950);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
}

.video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-copy {
  padding: 1.35rem 1.5rem 1.55rem;
}

.video-copy h3 {
  margin-bottom: 0.5rem;
  color: var(--white);
  font-size: 1.25rem;
}

.video-copy p {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

.gallery-grid {
  display: grid;
  gap: 0.85rem;
  grid-auto-rows: 14rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gallery-button {
  position: relative;
  padding: 0;
  overflow: hidden;
  background: var(--ice-200);
  border: 0;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
}

.gallery-button:nth-child(1),
.gallery-button:nth-child(6) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-button:nth-child(3) {
  grid-row: span 2;
}

.gallery-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 600ms var(--ease),
    filter 300ms ease;
}

.gallery-button::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  width: 2.5rem;
  height: 2.5rem;
  color: var(--white);
  background: rgba(3, 21, 47, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  content: "+";
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  backdrop-filter: blur(8px);
}

.gallery-button:hover img {
  filter: saturate(1.08);
  transform: scale(1.06);
}

.lightbox {
  width: min(92vw, 74rem);
  max-width: none;
  padding: 0;
  overflow: visible;
  background: transparent;
  border: 0;
}

.lightbox::backdrop {
  background: rgba(3, 13, 29, 0.94);
  backdrop-filter: blur(12px);
}

.lightbox figure {
  margin: 0;
}

.lightbox img {
  width: 100%;
  max-height: 82vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
}

.lightbox figcaption {
  margin-top: 0.75rem;
  color: rgba(255, 255, 255, 0.72);
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: -3.2rem;
  right: 0;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.contact-layout {
  display: grid;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-card {
  padding: clamp(2rem, 5vw, 3.5rem);
  color: var(--white);
  background: var(--navy-950);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.contact-card h2,
.contact-card h3 {
  color: var(--white);
}

.contact-card p {
  color: rgba(255, 255, 255, 0.68);
}

.contact-name {
  margin: 2rem 0 0.3rem;
  font-size: 1.45rem;
  font-weight: 900;
}

.contact-org {
  color: rgba(255, 255, 255, 0.62);
}

.email-link {
  display: inline-block;
  margin-top: 1.5rem;
  color: var(--white);
  font-size: clamp(1rem, 2vw, 1.35rem);
  font-weight: 800;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--red-500);
  text-decoration-thickness: 0.18rem;
  text-underline-offset: 0.4rem;
}

.social-list {
  display: grid;
  gap: 0.8rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.social-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  font-weight: 800;
}

.social-list a::after {
  color: var(--red-600);
  content: "\2197";
}

.official-profiles {
  background: var(--ice-100);
  border-top: 1px solid var(--line);
}

.profile-intro {
  display: flex;
  gap: 2rem;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 2rem;
}

.profile-intro h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
}

.profile-intro p {
  max-width: 33rem;
  margin-bottom: 0;
  color: var(--muted);
}

.profile-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.profile-card {
  min-height: 12rem;
  padding: 1.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition:
    transform 280ms var(--ease),
    box-shadow 280ms ease;
}

.profile-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-6px);
}

.profile-logo {
  width: 100%;
  height: 4.4rem;
  object-fit: contain;
  object-position: left center;
}

.profile-card[data-profile="wikipedia"] .profile-logo {
  width: 4.4rem;
}

.profile-card[data-profile="world"] .profile-logo {
  max-width: 15rem;
}

.profile-card[data-profile="roqeta"] .profile-logo {
  max-width: 10rem;
}

.profile-name {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  color: var(--navy-950);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.profile-name::after {
  color: var(--red-600);
  content: "\2197";
  font-size: 1rem;
}

.site-footer {
  padding-block: 3rem;
  color: var(--white);
  background: var(--navy-950);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  align-items: center;
  grid-template-columns: 1.2fr 1fr auto;
}

.footer-brand {
  font-family: "Arial Black", Arial, sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
}

.footer-note,
.footer-copyright {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.78rem;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-social a:hover {
  color: var(--white);
}

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(2rem);
  transition:
    opacity 700ms var(--ease),
    transform 700ms var(--ease);
}

.js .reveal.reveal-left {
  transform: translateX(-2.5rem);
}

.js .reveal.reveal-right {
  transform: translateX(2.5rem);
}

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

.stagger > * {
  transition-delay: calc(var(--stagger, 0) * 90ms);
}

@media (max-width: 68rem) {
  :root {
    --header-height: 4.8rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    right: 0;
    left: 0;
    max-height: 0;
    overflow: hidden;
    background: var(--navy-950);
    box-shadow: 0 20px 35px rgba(3, 21, 47, 0.28);
    transition: max-height 420ms var(--ease);
  }

  .site-nav[data-open="true"] {
    max-height: calc(100vh - var(--header-height));
  }

  .nav-list {
    width: min(calc(100% - 2.5rem), var(--container));
    margin-inline: auto;
    padding-block: 1.4rem 2rem;
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }

  .nav-link {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
    font-size: 0.85rem;
  }

  .hero-grid {
    grid-template-columns: 0.92fr 1.08fr;
  }

  .hero-content {
    padding: clamp(2.5rem, 6vw, 5rem);
  }

  .stat-grid,
  .fact-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-item:nth-child(2) {
    border-right: 0;
  }

  .stat-item:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

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

  .feature-card:last-child,
  .media-card:last-child {
    grid-column: span 2;
  }

  .gallery-grid {
    grid-auto-rows: 12rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .gallery-button:nth-child(6) {
    grid-column: span 1;
  }
}

@media (max-width: 48rem) {
  .container {
    width: min(calc(100% - 1.5rem), var(--container));
  }

  .hero-grid {
    min-height: auto;
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 66svh;
  }

  .hero-content {
    padding: 3.5rem 1.25rem 4.5rem;
  }

  .hero-watermark {
    display: none;
  }

  .split,
  .contact-layout,
  .achievement-columns,
  .video-grid {
    grid-template-columns: 1fr;
  }

  .js .reveal.reveal-left:not(.is-visible),
  .js .reveal.reveal-right:not(.is-visible) {
    transform: translateY(2rem);
  }

  .split-reverse .split-media {
    order: 0;
  }

  .portrait-frame img {
    height: min(42rem, 128vw);
  }

  .image-caption {
    right: 0.8rem;
    bottom: 0.8rem;
  }

  .card-grid,
  .media-grid,
  .profile-grid {
    grid-template-columns: 1fr;
  }

  .feature-card:last-child,
  .media-card:last-child {
    grid-column: auto;
  }

  .profile-intro {
    align-items: start;
    flex-direction: column;
  }

  .page-hero {
    min-height: 31rem;
  }

  .timeline::before {
    left: 0.43rem;
  }

  .timeline-item {
    gap: 0.7rem;
    grid-template-columns: 1fr;
  }

  .timeline-year {
    padding-left: 2.2rem;
    text-align: left;
  }

  .timeline-content {
    padding-left: 2.2rem;
  }

  .timeline-content::before {
    left: 0;
  }

  .gallery-grid {
    grid-auto-rows: 12rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-button:nth-child(1) {
    grid-row: span 2;
  }

  .gallery-button:nth-child(3) {
    grid-row: span 1;
  }

  .gallery-button:nth-child(6) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .footer-grid {
    align-items: start;
    grid-template-columns: 1fr;
  }
}

@media (max-width: 30rem) {
  .stat-grid,
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .stat-item {
    min-height: auto;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .stat-item:last-child {
    border-bottom: 0;
  }

  .gallery-grid {
    grid-auto-rows: 16rem;
    grid-template-columns: 1fr;
  }

  .gallery-button:nth-child(1),
  .gallery-button:nth-child(6) {
    grid-column: auto;
    grid-row: auto;
  }
}

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

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

  .js body,
  .js .reveal {
    opacity: 1 !important;
    transform: none !important;
  }

  [data-parallax] {
    --parallax-shift: 0px !important;
  }
}
