:root {
  --bg-0: #07090d;
  --bg-1: #0c1118;
  --ink: #e8eef5;
  --ink-soft: #8b97a8;
  --paper: rgba(18, 24, 34, 0.82);
  --accent: #6ea8d6;
  --accent-deep: #4e8fbf;
  --accent-soft: rgba(110, 168, 214, 0.16);
  --line: rgba(232, 238, 245, 0.1);
  --max: 72rem;
  --font-display: "Unbounded", sans-serif;
  --font-body: "Onest", sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.55;
  background:
    radial-gradient(80% 55% at 90% -5%, rgba(78, 143, 191, 0.12), transparent 55%),
    radial-gradient(60% 45% at -5% 30%, rgba(90, 130, 170, 0.08), transparent 50%),
    linear-gradient(165deg, var(--bg-0), var(--bg-1) 55%, #0a0e14);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

.atmosphere {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.28;
  animation: drift 18s ease-in-out infinite alternate;
}

.glow-a {
  width: min(48vw, 28rem);
  height: min(48vw, 28rem);
  left: -12%;
  top: 16%;
  background: #3d6d96;
}

.glow-b {
  width: min(40vw, 24rem);
  height: min(40vw, 24rem);
  right: -10%;
  top: 48%;
  background: #2a4a6a;
  animation-duration: 22s;
  animation-delay: -5s;
}

.grain {
  position: absolute;
  inset: 0;
  opacity: 0.14;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
}

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

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.15rem 1.5rem 0;
  animation: rise 0.75s var(--ease) both;
}

.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
}

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

.nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.35rem;
  height: 2px;
  background: var(--accent);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  padding: 0.55rem 0.8rem;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
}

.hero {
  position: relative;
  min-height: calc(100vh - 4.25rem);
  display: grid;
  align-content: end;
  padding: 0;
  margin: 1rem 0 0;
  overflow: hidden;
  isolation: isolate;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  animation: kenburns 18s ease-in-out infinite alternate;
  filter: saturate(0.85) contrast(1.05) brightness(0.72);
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(7, 9, 13, 0.35) 0%, rgba(7, 9, 13, 0.62) 48%, rgba(7, 9, 13, 0.92) 100%),
    linear-gradient(90deg, rgba(7, 9, 13, 0.55), transparent 58%);
}

.hero-inner {
  max-width: var(--max);
  width: 100%;
  margin: 0 auto;
  padding: clamp(5rem, 14vh, 8rem) 1.5rem 3.5rem;
  color: var(--ink);
  display: grid;
  gap: 1rem;
}

.brand-mark {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(3rem, 11vw, 7rem);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  animation: rise 0.9s 0.05s var(--ease) both;
}

.hero h1 {
  margin: 0;
  max-width: 18ch;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(1.2rem, 2.8vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.2;
  animation: rise 0.9s 0.15s var(--ease) both;
}

.lede {
  margin: 0;
  max-width: 34rem;
  color: rgba(232, 238, 245, 0.72);
  font-size: clamp(1.02rem, 2vw, 1.15rem);
  animation: rise 0.9s 0.25s var(--ease) both;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.35rem;
  animation: rise 0.9s 0.35s var(--ease) both;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.3rem;
  border-radius: 0.2rem;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background: var(--accent);
  color: #071018;
}

.btn-primary:hover {
  background: #8fbee0;
}

.btn-ghost {
  background: rgba(232, 238, 245, 0.04);
  color: var(--ink);
  border: 1px solid var(--line);
  backdrop-filter: blur(8px);
}

.btn-ghost:hover {
  border-color: rgba(110, 168, 214, 0.45);
  background: var(--accent-soft);
}

.btn-ghost.dark {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--line);
}

.page-hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(2.5rem, 8vh, 4.5rem) 1.5rem 2rem;
  display: grid;
  gap: 0.85rem;
  animation: rise 0.8s var(--ease) both;
}

.page-hero .eyebrow {
  margin: 0;
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.page-hero h1 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-transform: uppercase;
}

.page-hero p {
  margin: 0;
  max-width: 38rem;
  color: var(--ink-soft);
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.section-head h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3vw, 2rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 28rem;
}

.section-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.section-link:hover {
  color: #8fbee0;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.75rem;
}

.filter-btn {
  appearance: none;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  padding: 0.45rem 0.85rem;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border-radius: 0.15rem;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.filter-btn:hover {
  border-color: rgba(110, 168, 214, 0.45);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--accent-soft);
  color: var(--ink);
  border-color: rgba(110, 168, 214, 0.45);
}

.report-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.report-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1.4fr);
  gap: 1.25rem;
  align-items: stretch;
  padding: 1.15rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
  transition: background 200ms ease;
}

.report-row:hover .report-thumb img {
  transform: scale(1.05);
}

.report-row:hover .report-title {
  color: var(--accent);
}

.report-thumb {
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #121820;
}

.report-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
  filter: saturate(0.9) brightness(0.92);
}

.report-meta {
  display: grid;
  align-content: center;
  gap: 0.55rem;
  padding-right: 0.5rem;
}

.report-date {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}

.report-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.85rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.report-tags {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.about-block {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding-top: 1rem;
  padding-bottom: 4rem;
  border-top: 1px solid var(--line);
}

.about-block h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.about-block p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 36rem;
}

.about-visual {
  min-height: 16rem;
  overflow: hidden;
  position: relative;
}

.about-visual img {
  width: 100%;
  height: 100%;
  min-height: 16rem;
  object-fit: cover;
  animation: float-y 9s ease-in-out infinite;
  filter: saturate(0.88) brightness(0.9);
}

.news-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.news-item {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.news-item time {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
}

.news-item h2,
.news-item h3 {
  margin: 0 0 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
}

.news-item p {
  margin: 0;
  color: var(--ink-soft);
  max-width: 40rem;
}

.news-item h2 a {
  text-decoration: none;
  color: inherit;
}

.news-item h2 a:hover {
  color: var(--accent);
}

.muted {
  color: var(--ink-soft);
}

.article-body.prose {
  max-width: 46rem;
  margin: 0 auto;
  padding-top: 0;
}

.article-body.prose > :first-child {
  margin-top: 0;
}

.article-body.prose h2,
.article-body.prose h3 {
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.2;
}

.article-body.prose a {
  color: var(--accent);
}

.article-body.prose img {
  width: 100%;
  height: auto;
  margin: 1.25rem 0;
  cursor: zoom-in;
  background: rgba(18, 24, 34, 0.7);
}

.article-hero .lede:empty {
  display: none;
}

.report-hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  align-content: end;
  overflow: hidden;
  isolation: isolate;
  margin-top: 1rem;
}

.report-hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.report-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) brightness(0.78);
}

.report-hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 9, 13, 0.25), rgba(7, 9, 13, 0.88));
}

.report-hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  width: 100%;
  padding: 4rem 1.5rem 2.5rem;
  color: var(--ink);
  display: grid;
  gap: 0.65rem;
}

.report-hero-inner .eyebrow {
  margin: 0;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: var(--accent);
}

.report-hero-inner h1 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  letter-spacing: -0.03em;
  line-height: 1;
  text-transform: uppercase;
}

.report-hero-inner .lede {
  max-width: 36rem;
}

.lineup {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin: 0.25rem 0 0;
  padding: 0;
  list-style: none;
  color: rgba(232, 238, 245, 0.78);
  font-weight: 500;
}

.report-body {
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  gap: 2.75rem;
}

.report-body h2 {
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.video-frame {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0a0e14;
  overflow: hidden;
  border: 1px solid var(--line);
}

.video-frame iframe,
.video-frame video {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  background:
    radial-gradient(circle at 50% 45%, rgba(78, 143, 191, 0.14), transparent 55%),
    #0d1219;
  font-family: var(--font-display);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-auto-rows: clamp(7.5rem, 14vw, 11.5rem);
  grid-auto-flow: dense;
  gap: 0.65rem;
}

.gallery.is-empty {
  display: block;
}

.gallery-item {
  margin: 0;
  overflow: hidden;
  position: relative;
  cursor: zoom-in;
  min-height: 0;
  isolation: isolate;
  background: #0a0e14;
  border: 1px solid transparent;
  transition:
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
}

.gallery-item--hero {
  grid-column: span 4;
  grid-row: span 2;
}

.gallery-item--lg {
  grid-column: span 3;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 3;
  grid-row: span 1;
}

.gallery-item--tall {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--sm {
  grid-column: span 2;
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.7s var(--ease),
    filter 0.7s var(--ease);
  filter: saturate(0.9) brightness(0.92) contrast(1.04);
  transform: scale(1.02);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(160deg, transparent 45%, rgba(5, 7, 10, 0.38)),
    radial-gradient(120% 80% at 50% 120%, rgba(78, 143, 191, 0.18), transparent 55%);
  opacity: 0.55;
  transition: opacity 0.55s var(--ease);
}

.gallery-item::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(232, 238, 245, 0.06);
  transition: box-shadow 0.45s var(--ease);
}

.gallery-item:hover,
.gallery-item:focus-within {
  border-color: rgba(110, 168, 214, 0.35);
  box-shadow: 0 0 0 1px rgba(110, 168, 214, 0.12);
}

.gallery-item:hover img,
.gallery-item:focus-within img {
  transform: scale(1.08);
  filter: saturate(1.05) brightness(1.02) contrast(1.02);
}

.gallery-item:hover::after,
.gallery-item:focus-within::after {
  opacity: 0.15;
}

.gallery-item:hover::before,
.gallery-item:focus-within::before {
  box-shadow: inset 0 0 0 1px rgba(110, 168, 214, 0.28);
}

.gallery-item.reveal {
  transition:
    opacity 0.75s var(--ease),
    transform 0.75s var(--ease),
    border-color 0.45s var(--ease),
    box-shadow 0.45s var(--ease);
  transition-delay: calc(min(var(--gallery-i, 0), 10) * 55ms),
    calc(min(var(--gallery-i, 0), 10) * 55ms), 0s, 0s;
}

@media (prefers-reduced-motion: reduce) {
  .gallery-item img,
  .gallery-item::after,
  .gallery-item::before,
  .gallery-item.reveal {
    transition: none;
  }

  .gallery-item:hover img,
  .gallery-item:focus-within img {
    transform: none;
  }
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(5, 7, 10, 0.94);
  display: none;
  place-items: center;
  padding: 1.5rem;
}

.lightbox.is-open {
  display: grid;
}

.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 88vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border: 1px solid rgba(232, 238, 245, 0.22);
  background: transparent;
  color: var(--ink);
  font: inherit;
  padding: 0.5rem 0.85rem;
  cursor: pointer;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  max-width: var(--max);
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
  color: var(--ink-soft);
  font-size: 0.9rem;
  border-top: 1px solid var(--line);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

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

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(4%, 3%, 0) scale(1.08);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.08) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.16) translate3d(-2%, 1%, 0);
  }
}

@keyframes float-y {
  0%,
  100% {
    transform: translateY(0) scale(1.02);
  }
  50% {
    transform: translateY(-10px) scale(1.05);
  }
}

@media (max-width: 980px) {
  .gallery {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    grid-auto-rows: clamp(7rem, 18vw, 10rem);
    gap: 0.55rem;
  }

  .gallery-item--hero {
    grid-column: span 4;
    grid-row: span 2;
  }

  .gallery-item--lg,
  .gallery-item--wide {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-row: span 1;
  }

  .gallery-item--tall {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--sm {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 800px) {
  .report-row,
  .about-block {
    grid-template-columns: 1fr;
  }

  .news-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
}

@media (max-width: 640px) {
  .gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: clamp(8rem, 28vw, 11rem);
    gap: 0.45rem;
  }

  .gallery-item--hero {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--lg {
    grid-column: span 2;
    grid-row: span 2;
  }

  .gallery-item--wide {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item--tall {
    grid-column: span 1;
    grid-row: span 2;
  }

  .gallery-item--sm {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .nav {
    display: none;
    position: absolute;
    top: 3.6rem;
    right: 1.5rem;
    left: 1.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(12, 17, 24, 0.96);
    border: 1px solid var(--line);
    backdrop-filter: blur(12px);
    z-index: 5;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
  }

  .nav a:last-child {
    border-bottom: 0;
  }

  .site-header {
    position: relative;
  }

  .site-footer {
    flex-direction: column;
  }
}
