@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&family=Newsreader:opsz,wght@6..72,400;6..72,500&display=swap");

:root {
  --background: #000000;
  --foreground: #ffffff;
  --muted: rgba(255, 255, 255, 0.6);
  --muted-strong: rgba(255, 255, 255, 0.76);
  --border: rgba(255, 255, 255, 0.1);
  --surface: rgba(255, 255, 255, 0.025);
  --surface-strong: rgba(255, 255, 255, 0.04);
  --shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.04), transparent 22%),
    radial-gradient(circle at 82% 8%, rgba(255, 255, 255, 0.03), transparent 20%),
    var(--background);
  color: var(--foreground);
  font-family: "Manrope", sans-serif;
}

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

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

.page-shell {
  position: relative;
  overflow: hidden;
}

.page-shell::before,
.page-shell::after {
  content: "";
  position: fixed;
  z-index: 0;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  filter: blur(140px);
  pointer-events: none;
}

.page-shell::before {
  left: -10rem;
  top: 6rem;
  width: 22rem;
  height: 22rem;
}

.page-shell::after {
  right: -8rem;
  top: 2rem;
  width: 26rem;
  height: 26rem;
}

.container {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2rem));
  margin: 0 auto;
}

.glass,
.glass-soft {
  position: relative;
  overflow: hidden;
  border-radius: 1.75rem;
  background: var(--surface);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
}

.glass::before,
.glass-soft::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.42) 0%,
    rgba(255, 255, 255, 0.14) 20%,
    rgba(255, 255, 255, 0) 40%,
    rgba(255, 255, 255, 0) 60%,
    rgba(255, 255, 255, 0.14) 80%,
    rgba(255, 255, 255, 0.42) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.glass-soft {
  background: rgba(255, 255, 255, 0.018);
}

.topbar {
  position: sticky;
  top: 1rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1rem auto 0;
  padding: 0.8rem 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.9);
  color: #000000;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.65rem;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.95rem;
}

.crumbs a {
  color: rgba(255, 255, 255, 0.82);
}

.topbar-link,
.button,
.button-secondary,
.doc-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: transform 180ms ease, color 180ms ease, background 180ms ease;
}

.topbar-link:hover,
.button:hover,
.button-secondary:hover,
.doc-link:hover {
  transform: translateY(-1px);
}

.topbar-link {
  padding: 0.7rem 1rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.82);
}

.detail-main {
  padding: 2.5rem 0 4rem;
}

.hero {
  display: grid;
  gap: 1.25rem;
  padding: 1.35rem;
}

.hero-copy {
  padding: 0.35rem;
}

.eyebrow {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Newsreader", serif;
  font-style: italic;
  letter-spacing: -0.03em;
  line-height: 0.95;
}

h1 {
  margin-top: 1.1rem;
  font-size: clamp(3rem, 6vw, 5.3rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
  font-size: clamp(1.35rem, 2vw, 1.8rem);
}

.lede,
.panel p,
.detail-list li,
.footer-card p {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.72;
  font-weight: 400;
}

.chip-row,
.action-row,
.doc-row,
.stats-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.chip-row {
  margin-top: 1.5rem;
}

.action-row {
  margin-top: 1.6rem;
}

.doc-row {
  margin-top: 1rem;
}

.stats-row {
  margin-top: 1.4rem;
}

.chip,
.doc-link,
.stat {
  position: relative;
  overflow: hidden;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.035);
  padding: 0.62rem 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
  font-weight: 500;
}

.button {
  padding: 0.82rem 1.25rem;
  background: #ffffff;
  color: #000000;
}

.button-secondary {
  padding: 0.82rem 1.25rem;
  background: rgba(255, 255, 255, 0.035);
  color: rgba(255, 255, 255, 0.88);
}

.hero-media {
  padding: 0.9rem;
}

.hero-media img {
  width: 100%;
  height: 100%;
  border-radius: 1.5rem;
  object-fit: cover;
  background: rgba(255, 255, 255, 0.02);
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 1rem;
}

.panel {
  padding: 1.35rem;
}

.panel h2 {
  margin-top: 0.7rem;
}

.panel h3 {
  margin-top: 0.4rem;
}

.panel-wide {
  grid-column: 1 / -1;
}

.section-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.detail-list {
  margin: 1.2rem 0 0;
  padding-left: 1.15rem;
}

.detail-list li + li {
  margin-top: 0.65rem;
}

.gallery {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery img {
  width: 100%;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.02);
}

.meta-grid,
.info-grid,
.link-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.35rem;
}

.meta-card,
.info-card,
.link-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 1.1rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.info-card::before,
.link-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(255, 255, 255, 0.28) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.meta-card h3,
.info-card h3,
.link-card h3 {
  margin-top: 0.2rem;
  font-size: 1.25rem;
}

.meta-card p {
  margin: 0.6rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.7;
  font-weight: 400;
}

.link-card {
  display: block;
  transition: transform 180ms ease, background 180ms ease;
}

.link-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.05);
}

.link-card p,
.info-card p,
.small-copy {
  margin: 0.7rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
  font-weight: 400;
}

.tiny-label {
  display: inline-block;
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1rem;
}

.figure-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.35rem;
}

.figure-card {
  position: relative;
  overflow: hidden;
  border-radius: 1.35rem;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.8rem;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.figure-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.28) 0%,
    rgba(255, 255, 255, 0.1) 25%,
    rgba(255, 255, 255, 0) 50%,
    rgba(255, 255, 255, 0.1) 75%,
    rgba(255, 255, 255, 0.28) 100%
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.figure-card img {
  width: 100%;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.02);
}

.figure-copy {
  padding: 1rem 0.2rem 0.2rem;
}

.figure-copy h3 {
  font-size: 1.18rem;
}

.figure-copy p {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.7;
  font-weight: 400;
}

.two-column-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.footer-card {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 1.25rem 0 4rem;
  padding: 1.35rem;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

@media (min-width: 860px) {
  .hero {
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    padding: 1.6rem;
  }

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

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

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

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

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

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

@media (max-width: 720px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-main {
    padding-top: 2rem;
  }

  .panel,
  .hero {
    border-radius: 1.75rem;
  }
}
