:root {
  --void: #080c14;
  --depth: #0d121c;
  --surface: #121826;
  --elevated: #1a2230;
  --glass: rgba(18, 24, 38, 0.72);
  --text: #eef2f6;
  --text-soft: #c4cdd8;
  --text-dim: #8b96a8;
  --blue-400: #7eb4ff;
  --blue-500: #5b8fd9;
  --blue-600: #3d6fa8;
  --cyan-400: #7ec8d4;
  --indigo-500: #7a86b3;
  --violet-500: #8b7aad;
  --note-bg: rgba(148, 163, 184, 0.06);
  --note-border: rgba(148, 163, 184, 0.35);
  --side-bg: rgba(91, 143, 217, 0.07);
  --side-border: rgba(91, 143, 217, 0.28);
  --font-display: "Manrope", system-ui, sans-serif;
  --font-body: "Newsreader", Georgia, serif;
  --radius: 14px;
  --radius-sm: 8px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5.5rem;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--text-soft);
  background: var(--void);
  min-height: 100vh;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse 90% 70% at 0% 0%, rgba(45, 85, 140, 0.22), transparent 52%),
    radial-gradient(ellipse 70% 55% at 100% 20%, rgba(55, 65, 95, 0.18), transparent 48%),
    radial-gradient(ellipse 50% 40% at 40% 100%, rgba(40, 75, 95, 0.12), transparent 50%),
    linear-gradient(185deg, #080c14 0%, #0c111a 38%, #090d15 100%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.4;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none;
}

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

a {
  color: var(--cyan-400);
  text-decoration: none;
  transition: color 0.2s var(--ease-out);
}

a:hover {
  color: var(--blue-400);
}

.wrap {
  width: min(1140px, 92vw);
  margin-inline: auto;
}

.wrap--narrow {
  width: min(820px, 92vw);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 200;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.92) 0%, rgba(2, 6, 23, 0.82) 100%);
  backdrop-filter: blur(24px) saturate(1.35);
  box-shadow: 0 4px 32px rgba(0, 0, 0, 0.25);
}

.header-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  padding: 0.65rem 0;
  flex-wrap: nowrap;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  text-decoration: none;
  flex-shrink: 0;
  padding: 0.25rem 0;
}

.brand:hover .brand__name {
  color: var(--cyan-400);
}

.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
  transition: color 0.2s var(--ease-out);
}

.brand__meta {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
  max-width: 220px;
  line-height: 1.3;
}

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.55rem 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(96, 165, 250, 0.35);
  background: rgba(59, 130, 246, 0.12);
  color: var(--blue-400);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

.nav-toggle:hover {
  background: rgba(59, 130, 246, 0.22);
  border-color: rgba(96, 165, 250, 0.55);
}

.nav-toggle__icon {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 18px;
}

.nav-toggle__icon span {
  display: block;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s var(--ease-out), opacity 0.2s;
}

body.nav-open .nav-toggle__icon span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

body.nav-open .nav-toggle__icon span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle__icon span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.nav-cluster {
  display: flex;
  align-items: center;
  gap: 1.5rem 2rem;
  flex: 1;
  justify-content: flex-end;
  min-width: 0;
}

.nav-primary {
  display: flex;
  align-items: center;
  gap: 0.15rem 0.25rem;
  flex-wrap: wrap;
  font-family: var(--font-display);
}

.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  text-decoration: none;
  transition:
    color 0.2s var(--ease-out),
    background 0.2s var(--ease-out);
}

.nav-link:hover {
  color: var(--text);
  background: rgba(59, 130, 246, 0.1);
}

.nav-link--active {
  color: var(--cyan-400);
  background: rgba(34, 211, 238, 0.08);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-dim);
  transition:
    color 0.2s,
    background 0.2s;
}

.nav-dropdown > summary::-webkit-details-marker {
  display: none;
}

.nav-dropdown > summary::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid currentColor;
  opacity: 0.6;
  transition: transform 0.25s var(--ease-out);
}

.nav-dropdown[open] > summary {
  color: var(--cyan-400);
  background: rgba(34, 211, 238, 0.1);
}

.nav-dropdown[open] > summary::after {
  transform: rotate(180deg);
}

.nav-dropdown__panel {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  width: min(520px, calc(100vw - 2rem));
  padding: 1rem;
  border-radius: var(--radius);
  background: rgba(18, 26, 40, 0.96);
  border: 1px solid rgba(120, 140, 170, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  z-index: 250;
}

.nav-dropdown__panel::before {
  content: "";
  position: absolute;
  top: -6px;
  right: 1.25rem;
  width: 12px;
  height: 12px;
  background: inherit;
  border-left: 1px solid rgba(96, 165, 250, 0.22);
  border-top: 1px solid rgba(96, 165, 250, 0.22);
  transform: rotate(45deg);
}

.nav-mega__label {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin: 0 0 0.65rem 0.35rem;
}

.nav-mega__grid {
  display: grid;
  gap: 0.35rem;
}

.nav-mega__link {
  display: block;
  padding: 0.65rem 0.85rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  border: 1px solid transparent;
  transition:
    background 0.2s,
    border-color 0.2s;
}

.nav-mega__link:hover {
  background: rgba(59, 130, 246, 0.12);
  border-color: rgba(96, 165, 250, 0.2);
}

.nav-mega__link[aria-current="page"] {
  background: rgba(34, 211, 238, 0.1);
  border-color: rgba(34, 211, 238, 0.25);
}

.nav-mega__num {
  font-family: var(--font-display);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--cyan-400);
  display: block;
  margin-bottom: 0.2rem;
}

.nav-mega__title {
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}

.nav-mega__hint {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  line-height: 1.4;
  font-style: normal;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding-left: 0.5rem;
  border-left: 1px solid rgba(148, 163, 184, 0.15);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(110, 145, 190, 0.4);
  background: rgba(55, 85, 130, 0.35);
  color: var(--text);
  transition:
    transform 0.2s var(--ease-out),
    box-shadow 0.2s,
    border-color 0.2s;
}

.btn-nav:hover {
  border-color: rgba(140, 175, 210, 0.55);
  box-shadow: 0 4px 20px rgba(40, 70, 110, 0.25);
  color: var(--text);
}

.btn-nav--ghost {
  background: transparent;
  border-color: rgba(148, 163, 184, 0.25);
  color: var(--text-dim);
}

.btn-nav--ghost:hover {
  color: var(--cyan-400);
  border-color: rgba(34, 211, 238, 0.35);
  box-shadow: none;
}

@media (max-width: 1020px) {
  body.nav-open {
    overflow: hidden;
  }

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

  .nav-cluster {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5.5rem 1.5rem 2rem;
    background: rgba(2, 6, 23, 0.97);
    backdrop-filter: blur(16px);
    gap: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity 0.3s var(--ease-out),
      visibility 0.3s;
  }

  body.nav-open .nav-cluster {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-primary {
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.12);
    margin-bottom: 1rem;
  }

  .nav-link {
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
  }

  .nav-dropdown > summary {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-sm);
  }

  .nav-dropdown__panel {
    position: static;
    width: 100%;
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
    box-shadow: none;
    border: 1px solid rgba(148, 163, 184, 0.12);
  }

  .nav-dropdown__panel::before {
    display: none;
  }

  .nav-actions {
    flex-direction: column;
    align-items: stretch;
    border-left: none;
    padding-left: 0;
    gap: 0.65rem;
    margin-top: auto;
  }

  .btn-nav {
    width: 100%;
    padding: 0.85rem 1rem;
  }
}

@media (min-width: 1021px) {
  
  body.nav-open {
    overflow: auto;
  }
}

.hero-home {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  width: 100%;
  min-height: min(100vh, 980px);
  min-height: min(100dvh, 980px);
  padding: clamp(5.5rem, 12vh, 7.5rem) 0 clamp(3rem, 8vh, 5rem);
  overflow: hidden;
}

.hero-home__video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: #030509;
}

.hero-home__video-crop {
  position: absolute;
  inset: -12% -14%;
  overflow: hidden;
}

.hero-home__iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  max-width: none;
  border: 0;
  transform: translate(-50%, -50%) scale(1.08);
  transform-origin: center center;
}

.hero-home__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(ellipse 85% 95% at 12% 45%, rgba(0, 0, 0, 0.78) 0%, transparent 58%),
    radial-gradient(ellipse 70% 80% at 92% 18%, rgba(0, 0, 0, 0.35) 0%, transparent 45%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.52) 0%, rgba(0, 0, 0, 0.58) 40%, rgba(4, 8, 14, 0.9) 100%);
  box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}

@media (prefers-reduced-motion: reduce) {
  .hero-home__video-layer {
    display: none;
  }

  .hero-home {
    background:
      radial-gradient(ellipse 80% 60% at 20% 20%, rgba(59, 130, 246, 0.12), transparent 55%),
      radial-gradient(ellipse 60% 50% at 85% 10%, rgba(34, 211, 238, 0.08), transparent 45%),
      linear-gradient(185deg, #0c1424 0%, #080c14 55%, #0a101c 100%);
  }
}

.hero-home__content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-grid-home {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.5rem);
  align-items: end;
}

.hero-home__copy {
  max-width: min(62ch, 100%);
}

.hero-home__panel {
  padding: clamp(1.35rem, 3vw, 2rem) clamp(1.35rem, 3vw, 2.25rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(148, 196, 255, 0.14);
  background: linear-gradient(145deg, rgba(6, 12, 24, 0.72) 0%, rgba(10, 16, 30, 0.55) 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, 0.05) inset,
    0 32px 80px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(18px) saturate(1.2);
}

@media (min-width: 960px) {
  .hero-grid-home {
    grid-template-columns: minmax(0, 1.12fr) minmax(260px, 0.38fr);
    gap: clamp(2rem, 4vw, 3.25rem);
    align-items: end;
  }

  .hero-home__panel {
    margin-bottom: 0.25rem;
  }

  .hero-home .hero-photo-slot--with-photo {
    margin-inline: 0;
    justify-self: end;
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 0.85rem;
  margin-top: 1.65rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.65rem;
  padding: 0.5rem 1.2rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition:
    background 0.2s var(--ease-out),
    border-color 0.2s var(--ease-out),
    color 0.2s var(--ease-out),
    transform 0.2s var(--ease-out),
    box-shadow 0.2s var(--ease-out);
}

.hero-cta--primary {
  color: #041018;
  background: linear-gradient(135deg, var(--cyan-400), var(--blue-500));
  border: 1px solid rgba(186, 230, 253, 0.45);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
}

.hero-cta--primary:hover {
  color: #020810;
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(59, 130, 246, 0.35);
}

.hero-cta--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(148, 196, 255, 0.22);
}

.hero-cta--ghost:hover {
  color: var(--cyan-400);
  border-color: rgba(126, 200, 212, 0.45);
  background: rgba(59, 130, 246, 0.12);
}

.hero-cta:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

@media (max-width: 559px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta {
    width: 100%;
  }
}

.hero-home .hero-badge {
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-home .hero-meta-row span {
  background: rgba(8, 14, 26, 0.55);
  border-color: rgba(148, 196, 255, 0.28);
  backdrop-filter: blur(10px);
  color: var(--text);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin-bottom: 1.25rem;
}

.hero-badge::before {
  content: "";
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan-400), transparent);
}

.hero-home h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 5vw, 3.35rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin: 0 0 1.25rem;
  color: var(--text);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.5),
    0 8px 40px rgba(0, 0, 0, 0.65);
}

.hero-home .hero-lead {
  font-size: 1.2rem;
  color: rgba(228, 234, 242, 0.92);
  max-width: 46ch;
  margin: 0 0 2rem;
  line-height: 1.65;
  text-shadow: 0 2px 20px rgba(0, 0, 0, 0.55);
}

.hero-lead {
  font-size: 1.2rem;
  color: var(--text-dim);
  max-width: 42ch;
  margin: 0 0 2rem;
  line-height: 1.65;
}

.hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
}

.hero-meta-row span {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(59, 130, 246, 0.12);
  border: 1px solid rgba(96, 165, 250, 0.25);
  color: var(--text-soft);
}

.hero-photo-slot {
  aspect-ratio: 4 / 5;
  border-radius: var(--radius);
  background: var(--glass);
  border: 1px solid rgba(96, 165, 250, 0.28);
  box-shadow:
    0 0 0 1px rgba(99, 102, 241, 0.15),
    0 24px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
  font-family: var(--font-display);
  font-size: 0.9rem;
  color: var(--text-dim);
  position: relative;
  overflow: hidden;
}

.hero-photo-slot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 2px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.5), rgba(34, 211, 238, 0.25), rgba(99, 102, 241, 0.45));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.85;
}

.hero-photo-slot > div {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border-top: 1px solid rgba(148, 163, 184, 0.1);
}

.section-label {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--blue-400);
  margin-bottom: 0.6rem;
}

.section h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  color: var(--text);
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.prose p {
  margin: 0 0 1.1rem;
  max-width: 68ch;
}

.prose strong {
  color: var(--text);
  font-weight: 600;
}

.section--conclusion {
  border-top-color: rgba(94, 184, 255, 0.18);
}

.prose--conclusion p {
  max-width: 70ch;
}

.conclusion-summary {
  margin: 1.5rem 0 1.75rem;
  padding: 1.25rem 1.35rem 1.35rem;
  border-radius: var(--radius);
  border: 1px solid rgba(91, 143, 217, 0.22);
  background: var(--side-bg);
  border-left: 3px solid var(--cyan-400);
}

.conclusion-summary h3 {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin: 0 0 0.9rem;
}

.conclusion-summary ul {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.conclusion-summary li {
  margin-bottom: 0.55rem;
}

.conclusion-summary li:last-child {
  margin-bottom: 0;
}

.prose--conclusion .conclusion-thanks {
  margin-top: 1.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(148, 163, 184, 0.14);
  font-size: 1.02rem;
  color: var(--text-soft);
  max-width: 70ch;
}

.activities-intro {
  max-width: 60ch;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}

.activity-card-grid {
  display: grid;
  gap: 1.35rem;
  grid-template-columns: 1fr;
}

@media (min-width: 640px) {
  .activity-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .activity-card-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
}

.activity-card {
  position: relative;
  display: block;
  padding: 1.75rem 1.85rem 1.75rem 1.75rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition:
    transform 0.35s var(--ease-out),
    border-color 0.35s var(--ease-out),
    box-shadow 0.35s var(--ease-out);
}

.activity-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, transparent 50%, rgba(34, 211, 238, 0.08) 100%);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.activity-card:hover {
  transform: translateY(-6px);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow:
    0 28px 60px rgba(0, 0, 0, 0.45),
    0 0 0 1px rgba(99, 102, 241, 0.2),
    0 0 40px rgba(59, 130, 246, 0.12);
}

.activity-card:hover::before {
  opacity: 1;
}

.activity-card__num {
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  color: var(--cyan-400);
  margin-bottom: 0.5rem;
  position: relative;
  z-index: 1;
}

.activity-card__title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 0.65rem;
  position: relative;
  z-index: 1;
  letter-spacing: -0.02em;
}

.activity-card__desc {
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
  margin: 0;
  position: relative;
  z-index: 1;
}

.activity-card__list {
  margin: 0.75rem 0 0;
  padding: 0 0 0 1.15rem;
  font-family: var(--font-body);
  font-size: 0.84rem;
  color: var(--text-dim);
  line-height: 1.55;
  position: relative;
  z-index: 1;
}

.activity-card__list li {
  margin-bottom: 0.3rem;
}

.dnsi-intro {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.1rem 1.5rem;
  align-items: start;
  margin: 0 0 1.75rem;
  max-width: min(72ch, 100%);
}

.dnsi-brand--inline {
  margin: 0;
  padding: 0;
  margin-top: 0.4rem;
}

.dnsi-brand--inline img {
  display: block;
  height: 3.75rem;
  width: auto;
  max-width: min(160px, 38vw);
  object-fit: contain;
}

@media (min-width: 640px) {
  .dnsi-brand--inline img {
    height: 4.5rem;
    max-width: min(200px, 28vw);
  }
}

.dnsi-intro .dnsi-lead {
  margin: 0;
  max-width: none;
}

.dnsi-lead {
  font-size: 1.12rem;
  color: var(--text-soft);
  max-width: 72ch;
  margin-bottom: 1.5rem;
}

@media (max-width: 480px) {
  .dnsi-intro {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }

  .dnsi-brand--inline {
    justify-self: start;
  }
}

.dnsi-visuals {
  display: flex;
  flex-wrap: wrap;
  gap: 1.75rem 2.25rem;
  align-items: flex-start;
  margin: 0 0 1.75rem;
  max-width: min(72ch, 100%);
}

.dnsi-brand:not(.dnsi-brand--inline) {
  margin: 0;
  flex: 0 1 auto;
  max-width: min(280px, 100%);
}

.dnsi-brand:not(.dnsi-brand--inline) img {
  height: 4.5rem;
  width: auto;
  max-width: min(200px, 55vw);
}

.dnsi-map {
  margin: 0;
  flex: 1 1 260px;
  min-width: min(100%, 240px);
  max-width: 100%;
}

.dnsi-map img {
  width: 100%;
  max-width: 420px;
  height: auto;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

.dnsi-map figcaption {
  margin-top: 0.5rem;
  font-size: 0.82rem;
  line-height: 1.45;
  color: var(--text-dim);
  max-width: 48ch;
}

.dnsi-map figcaption a {
  color: var(--text-dim);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.dnsi-map figcaption a:hover {
  color: var(--cyan-400);
}

.dnsi-grid {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

@media (min-width: 768px) {
  .dnsi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.dnsi-panel {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(30, 58, 138, 0.18) 0%, rgba(15, 23, 42, 0.75) 100%);
  border: 1px solid rgba(96, 165, 250, 0.18);
}

.dnsi-panel h3 {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cyan-400);
  margin: 0 0 0.75rem;
}

.dnsi-panel p,
.dnsi-panel li {
  margin: 0;
  font-size: 0.98rem;
  color: var(--text-soft);
  line-height: 1.65;
}

.dnsi-panel ul {
  margin: 0;
  padding-left: 1.2rem;
}

.dnsi-panel li + li {
  margin-top: 0.4rem;
}

.dnsi-context {
  grid-column: 1 / -1;
  padding: 1.5rem 1.65rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: rgba(15, 23, 42, 0.45);
}

.dnsi-context p {
  margin: 0 0 0.85rem;
  max-width: none;
}

.dnsi-context p:last-child {
  margin-bottom: 0;
}

.dnsi-team {
  margin-top: 2rem;
  padding: 1.25rem 1.4rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--indigo-500);
  background: rgba(99, 102, 241, 0.08);
  font-size: 0.95rem;
  color: var(--text-dim);
}

.dnsi-team strong {
  color: var(--text-soft);
}

.activity-card__arrow {
  position: absolute;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(96, 165, 250, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue-400);
  transition: transform 0.35s var(--ease-out), background 0.35s;
  z-index: 1;
}

.activity-card:hover .activity-card__arrow {
  transform: translate(4px, -4px);
  background: rgba(59, 130, 246, 0.35);
}

.cards-row {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .cards-row {
    grid-template-columns: repeat(3, 1fr);
  }
}

.info-card {
  padding: 1.35rem 1.5rem;
  border-radius: var(--radius-sm);
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
}

.info-card h3 {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue-400);
  margin: 0 0 0.5rem;
}

.info-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-dim);
  line-height: 1.6;
}

.breadcrumb {
  font-family: var(--font-display);
  font-size: 0.82rem;
  padding: 1.25rem 0 0;
  color: var(--text-dim);
}

.breadcrumb a {
  color: var(--text-dim);
}

.breadcrumb a:hover {
  color: var(--cyan-400);
}

.chapter-hero {
  padding: 1.5rem 0 2.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
  margin-bottom: 2.5rem;
}

.chapter-hero__num {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--cyan-400);
  margin-bottom: 0.75rem;
}

.chapter-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin: 0 0 1rem;
  color: var(--text);
}

.chapter-lead {
  font-size: 1.15rem;
  color: var(--text-dim);
  max-width: 65ch;
  margin: 0;
  line-height: 1.7;
}

.chapter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.tag {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 0.75rem;
  border-radius: 6px;
  background: rgba(59, 130, 246, 0.15);
  color: var(--blue-400);
  border: 1px solid rgba(96, 165, 250, 0.25);
}

.chapter-layout {
  display: grid;
  gap: 2.5rem;
  padding-bottom: 4rem;
}

@media (min-width: 1000px) {
  .chapter-layout {
    grid-template-columns: 220px 1fr;
    align-items: start;
  }
}

.chapter-toc {
  position: sticky;
  top: 6.25rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
}

.chapter-toc strong {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.chapter-toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
  border-left: 2px solid rgba(59, 130, 246, 0.25);
}

.chapter-toc li {
  margin: 0;
}

.chapter-toc a {
  display: block;
  padding: 0.45rem 0 0.45rem 1rem;
  color: var(--text-dim);
  border-left: 2px solid transparent;
  margin-left: -2px;
  transition: color 0.2s, border-color 0.2s;
}

.chapter-toc a:hover {
  color: var(--cyan-400);
  border-left-color: var(--cyan-400);
}

.chapter-body h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text);
  margin: 2.75rem 0 1rem;
  letter-spacing: -0.02em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(148, 163, 184, 0.12);
}

.chapter-body h2:first-child {
  margin-top: 0;
}

.chapter-body h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  color: var(--blue-400);
  margin: 1.75rem 0 0.65rem;
}

.chapter-body p,
.chapter-body li {
  max-width: 68ch;
}

.chapter-body ul,
.chapter-body ol {
  margin: 0 0 1.1rem;
  padding-left: 1.35rem;
  color: var(--text-soft);
}

.chapter-body li {
  margin-bottom: 0.4rem;
}

.note {
  margin: 1.35rem 0;
  padding: 0.95rem 1.1rem 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--note-bg);
  border: 1px solid var(--note-border);
  border-left-width: 3px;
}

.note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.68;
  max-width: none;
}

.note p + p {
  margin-top: 0.6rem;
}

.side-note {
  margin: 1.5rem 0;
  padding: 1rem 1.15rem;
  border-radius: var(--radius-sm);
  background: var(--side-bg);
  border: 1px solid rgba(148, 163, 184, 0.15);
  border-left: 3px solid var(--side-border);
}

.side-note p {
  margin: 0;
  color: var(--text-soft);
  font-size: 0.97rem;
  line-height: 1.65;
  max-width: none;
}

.figure-slot {
  margin: 1.75rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(148, 163, 184, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

.figure-slot img {
  width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

.hero-photo-slot--with-photo {
  padding: 0;
  display: block;
}

.hero-photo-slot--with-photo::before {
  display: none;
}

.hero-home .hero-photo-slot--with-photo {
  width: 100%;
  max-width: min(100%, 400px);
  max-height: min(62vh, 540px);
  margin-inline: auto;
  border-color: rgba(186, 210, 255, 0.22);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 28px 90px rgba(0, 0, 0, 0.55),
    0 0 60px rgba(59, 130, 246, 0.12);
}

.hero-photo-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.figure-slot .placeholder {
  min-height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  border: 2px dashed rgba(96, 165, 250, 0.25);
  margin: 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 0.88rem;
  color: var(--text-dim);
}

.figure-slot .placeholder strong {
  color: var(--text-soft);
  display: block;
  margin-bottom: 0.4rem;
}

.figure-slot figcaption {
  padding: 0.75rem 1.25rem 1.1rem;
  font-size: 0.88rem;
  color: var(--text-dim);
  font-style: italic;
  font-family: var(--font-body);
}

.figure-row {
  display: grid;
  gap: 1rem;
  margin: 1.75rem 0;
}

@media (min-width: 640px) {
  .figure-row {
    grid-template-columns: 1fr 1fr;
  }
}

.chapter-nav {
  display: grid;
  gap: 1rem;
  margin-top: 3.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(148, 163, 184, 0.12);
}

@media (min-width: 600px) {
  .chapter-nav {
    grid-template-columns: 1fr 1fr;
  }
}

.chapter-nav a {
  display: flex;
  flex-direction: column;
  padding: 1.25rem 1.35rem;
  border-radius: var(--radius-sm);
  background: rgba(30, 41, 59, 0.4);
  border: 1px solid rgba(148, 163, 184, 0.12);
  transition: border-color 0.25s, background 0.25s;
}

.chapter-nav a:hover {
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(59, 130, 246, 0.1);
}

.chapter-nav span {
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.35rem;
}

.chapter-nav strong {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
}

.chapter-nav .next {
  text-align: right;
}

@media (min-width: 600px) {
  .chapter-nav .next {
    grid-column: 2;
  }

  .chapter-nav .prev:only-child {
    grid-column: 1;
  }
}

/* ——— CV page ——— */
.cv-toolbar {
  position: sticky;
  top: 4.5rem;
  z-index: 50;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  padding: 1rem 0 1.5rem;
}

.cv-toolbar .btn-cv {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(126, 200, 212, 0.35);
  background: rgba(59, 130, 246, 0.15);
  color: var(--cyan-400);
  cursor: pointer;
  text-decoration: none;
  transition:
    background 0.2s,
    border-color 0.2s,
    color 0.2s;
}

.cv-toolbar .btn-cv:hover {
  background: rgba(59, 130, 246, 0.28);
  border-color: rgba(126, 184, 255, 0.5);
  color: var(--blue-400);
}

.cv-page {
  padding-bottom: 4rem;
}

.cv-sheet {
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 2.25rem 2.75rem;
  border-radius: var(--radius);
  border: 1px solid rgba(148, 163, 184, 0.12);
  background: linear-gradient(165deg, rgba(22, 28, 42, 0.92) 0%, rgba(14, 18, 28, 0.88) 100%);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.cv-header {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
  padding-bottom: 1.75rem;
  margin-bottom: 1.75rem;
  border-bottom: 1px solid rgba(94, 156, 220, 0.2);
}

@media (max-width: 640px) {
  .cv-header {
    grid-template-columns: 1fr;
  }
}

.cv-header h1 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 4vw, 2.1rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--text);
  line-height: 1.15;
}

.cv-header .cv-role {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue-400);
}

.cv-header .cv-summary {
  margin: 0.85rem 0 0;
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-soft);
}

.cv-photo {
  width: 140px;
  height: 140px;
  border-radius: 18px;
  object-fit: cover;
  border: 2px solid rgba(126, 200, 212, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.cv-section {
  margin-bottom: 1.75rem;
}

.cv-section:last-child {
  margin-bottom: 0;
}

.cv-section h2 {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cyan-400);
}

.cv-section p,
.cv-section li {
  font-size: 1.02rem;
  color: var(--text-soft);
}

.cv-section ul {
  margin: 0;
  padding-left: 1.25rem;
}

.cv-section li + li {
  margin-top: 0.35rem;
}

.cv-meta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.65rem 1.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.cv-meta-grid li {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(148, 163, 184, 0.1);
  font-size: 0.95rem;
}

.cv-meta-grid strong {
  display: block;
  font-family: var(--font-display);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 0.2rem;
}

.cv-timeline {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cv-timeline article {
  padding-left: 1rem;
  border-left: 3px solid rgba(91, 143, 217, 0.45);
}

.cv-timeline h3 {
  margin: 0 0 0.25rem;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text);
}

.cv-timeline .cv-when {
  margin: 0 0 0.5rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-400);
}

.cv-skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.cv-skills span {
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.7rem;
  border-radius: 999px;
  border: 1px solid rgba(126, 200, 212, 0.22);
  background: rgba(91, 143, 217, 0.08);
  color: var(--text-soft);
}

a:focus-visible {
  outline: 2px solid var(--cyan-400);
  outline-offset: 3px;
}

.activity-card:focus-visible {
  outline: 2px solid var(--blue-400);
  outline-offset: 4px;
}

@media print {
  body::before,
  body::after,
  .hero-photo-slot::before {
    display: none;
  }

  body {
    background: #fff;
    color: #111;
  }

  .activity-card,
  .info-card,
  .note,
  .figure-slot {
    break-inside: avoid;
  }

  .site-header,
  .cv-toolbar,
  body.cv-print-root .site-footer {
    display: none !important;
  }

  body.cv-print-root {
    background: #fff;
    color: #1a1a1a;
  }

  body.cv-print-root::before,
  body.cv-print-root::after {
    display: none !important;
  }

  .cv-page .cv-sheet {
    max-width: none;
    margin: 0;
    padding: 0;
    border: none;
    box-shadow: none;
    background: #fff;
  }

  .cv-page .cv-header {
    border-bottom-color: #ccc;
  }

  .cv-page .cv-header h1,
  .cv-page .cv-timeline h3 {
    color: #111;
  }

  .cv-page .cv-role,
  .cv-page .cv-timeline .cv-when {
    color: #2563eb;
  }

  .cv-page .cv-section h2 {
    color: #0d9488;
  }

  .cv-page .cv-section p,
  .cv-page .cv-section li,
  .cv-page .cv-meta-grid li {
    color: #333;
  }

  .cv-page .cv-skills span {
    border-color: #ccc;
    background: #f5f5f5;
    color: #333;
  }

  .cv-page .cv-photo {
    border-color: #ddd;
    box-shadow: none;
  }
}
