/* =========================
   DESIGN TOKENS
========================= */

:root {
  --bg: #08090d;
  --bg-soft: #11131a;
  --panel: rgba(255, 255, 255, 0.06);
  --panel-strong: rgba(255, 255, 255, 0.1);
  --text: #f4f2ee;
  --muted: #bcb7b1;
  --ink: #18181b;
  --sand: #e8e2da;
  --sand-2: #f2ede7;
  --line: rgba(255, 255, 255, 0.12);
  --accent: #5120ff;
  --accent-2: #7b5cff;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  --radius: 26px;
  --content: 1180px;
  --gutter: clamp(20px, 4vw, 40px);
  --title-font: "Univers", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --body-font: "Inter", "Helvetica Neue", Arial, sans-serif;
}

/* =========================
   RESET / BASE
========================= */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body-font);
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(81, 32, 255, 0.18), transparent 32%),
    radial-gradient(circle at 80% 0%, rgba(123, 92, 255, 0.14), transparent 26%),
    var(--bg);
}

body.lightbox-open {
  overflow: hidden;
}

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

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

.site-shell {
  min-height: 100vh;
}

/* =========================
   GENERIC LAYOUT HELPERS
========================= */

.topbar,
.hero-inner,
.section,
.site-footer {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin: 0 auto;
}

.section {
  padding: 110px 0;
}

.section-inner {
  width: min(1200px, calc(100% - 3rem));
  margin: 0 auto;
}

.intro,
.participants,
.trajectory {
  width: 100%;
}

.intro > *,
.participants > * {
  width: min(100%, var(--content));
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* =========================
   TYPOGRAPHY / SHARED LABELS
========================= */

.eyebrow,
.section-kicker,
.panel-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow,
.section-kicker {
  margin: 0 0 16px;
  color: var(--accent-2);
}

.section-eyebrow {
  margin: 0 0 1rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.section-heading h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1.02;
  letter-spacing: -0.03em;
}

.section-lead {
  max-width: 820px;
  margin: 18px 0 0;
  color: #5d5a58;
  line-height: 1.7;
}

/* =========================
   TOPBAR
========================= */

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
}

.brand-mini {
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.topbar-links {
  display: flex;
  gap: 22px;
  color: var(--muted);
  font-size: 0.96rem;
}

/* =========================
   HERO
========================= */

/* .hero {
  padding-bottom: 54px;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
  min-height: calc(100vh - 78px);
}

.hero h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-text {
  max-width: 640px;
  margin: 26px 0 0;
  font-size: 1.2rem;
  line-height: 1.7;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.status-note {
  margin-top: 18px;
  color: #d5d0ca;
  font-size: 0.95rem;
}

.hero-mark {
  position: relative;
}

.mark-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: var(--shadow);
}

.mark-card img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
} */

/* =========================
   HERO / PHOTO HEADER
========================= */

.hero.hero-photo {
  width: 100%;
  padding-bottom: 0;
}

.hero.hero-photo .topbar {
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin: 0 auto;
  position: relative;
  z-index: 20;
}

.hero-media {
  position: relative;
  width: 100%;
  min-height: clamp(340px, 52vw, 760px);
  overflow: hidden;
  background: #0b0b0f;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(8, 9, 13, 0.28) 0%, rgba(8, 9, 13, 0.08) 38%, rgba(8, 9, 13, 0.16) 100%);
  pointer-events: none;
}

.hero-media-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-media-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.hero-actions-centered {
  justify-content: center;
  margin-top: 0;
}

.hero-copy {
  width: 100%;
  padding: 110px 0;
}

.hero-copy-inner {
  width: min(calc(100% - (var(--gutter) * 2)), 980px);
  margin: 0 auto;
}

.hero-copy .eyebrow {
  margin: 0 0 1rem;
  color: var(--accent-2);
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--title-font);
  font-size: clamp(3rem, 8vw, 6rem);
  line-height: 0.94;
  letter-spacing: -0.04em;
}

.hero-copy .hero-text {
  max-width: 860px;
  margin: 1.5rem 0 0;
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.65;
  color: var(--muted);
}

/* =========================
   HERO RESPONSIVE
========================= */

@media (max-width: 960px) {
  .hero-media,
  .hero-media-image {
    min-height: clamp(320px, 62vw, 560px);
  }

  .hero-copy {
    padding: 2.5rem 0 2rem;
  }
}

@media (max-width: 720px) {
  .hero-media,
  .hero-media-image {
    min-height: 58vh;
  }

  .hero-media-overlay {
    align-items: center;
    padding: 1.25rem;
  }

  .hero-actions-centered {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions-centered .button {
    width: min(100%, 320px);
    text-align: center;
  }

  .hero-copy h1 {
    font-size: clamp(2.7rem, 15vw, 4.3rem);
  }

  .hero-copy .hero-text {
    font-size: 1.04rem;
    line-height: 1.7;
  }
}

@media (max-width: 480px) {
  .hero-media,
  .hero-media-image {
    min-height: 48vh;
  }
   
@media (max-width: 400px) {
  .hero-media,
  .hero-media-image {
    min-height: 40vh;
  }
}
   
  .hero-copy {
    padding: 3rem 0 3.5rem;
  }
}

/* =========================
   BUTTONS
========================= */

.button {
  padding: 14px 18px;
  border-radius: 999px;
  font-size: 0.96rem;
  font-weight: 700;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

.button-secondary {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
}

/* =========================
   INTRO / LIGHT SECTIONS
========================= */

.intro,
.participants {
  color: var(--ink);
  background: var(--sand);
}

.participants {
  background: var(--sand-2);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 42px;
  margin-top: 36px;
}

.intro-text p {
  margin: 0 0 18px;
  font-size: 1.08rem;
  line-height: 1.85;
}

.panel {
  padding: 26px;
  border: 1px solid rgba(24, 24, 27, 0.1);
  border-radius: var(--radius);
  background: rgba(24, 24, 27, 0.04);
}

.panel-label {
  color: var(--accent);
}

.panel ul {
  margin: 18px 0 0;
  padding-left: 18px;
  line-height: 1.8;
}

/* =========================
   MANIFESTO
========================= */

.manifesto {
  background: transparent;
}

.manifesto-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.manifesto-card,
.team-card {
  border-radius: var(--radius);
}

.manifesto-card {
  padding: 30px;
  background: var(--panel);
  border: 1px solid var(--line);
}

.manifesto-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 999px;
  background: rgba(81, 32, 255, 0.18);
  color: #cbbcff;
  font-weight: 800;
}

.manifesto-card h3,
.team-card h3 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.manifesto-card p,
.team-card p,
.trajectory-inner p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

/* =========================
   VIDEO
========================= */

.video-section {
  padding: 5rem 1.25rem;
  color: #f5f5f5;
  background: #000;
}

.video-section .section-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.video-section .section-kicker {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #8e8e93;
}

.video-section h2 {
  margin: 0 0 1rem;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.video-section .section-intro {
  max-width: 760px;
  margin: 0 0 2.5rem;
  font-size: clamp(1.05rem, 1.5vw, 1.45rem);
  line-height: 1.35;
  color: #c8c8cc;
}

.video-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  align-items: start;
}

.video-frame {
  overflow: hidden;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 28px;
  background: #050505;
}

.video-embed.video-vertical {
  position: relative;
  width: 100%;
  max-width: 420px;
  aspect-ratio: 9 / 16;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 22px;
  background: #000;
}

.video-embed.video-vertical iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-quotes {
  display: grid;
  gap: 1rem;
  align-self: start;
  align-content: start;
}

.quote-card {
  height: auto;
  margin: 0;
  padding: 1.2rem 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 20px;
  background: #0d0d0f;
}

.quote-card p {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  line-height: 1.5;
  color: #f2f2f2;
}

.quote-card footer {
  font-size: 0.92rem;
  color: #9a9aa1;
}

/* =========================
   GALLERY
========================= */

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  margin-top: 36px;
}

.gallery-card {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--panel);
}

.gallery-card img {
  /* min-height: 320px;
  height: 100%; */
   width: 100%;
   aspect-ratio: 4 / 5;
   object-fit: cover;
   object-position: 50% 0%;
}

.gallery-card.large img {
  min-height: 520px;
}

.gallery-card figcaption {
  padding: 16px 18px 18px;
  font-size: 0.94rem;
  color: var(--muted);
}

.gallery-image {
  cursor: zoom-in;
}

/* =========================
   PRESS LINK
========================= */

.press-link-block {
  width: min(720px, calc(100% - 2rem));
  margin: 6rem auto 0;
  text-align: center;
}

.press-link-label {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.press-link {
  display: inline-block;
  margin-top: 2rem;
  padding-bottom: 0.18rem;
  border-bottom: 1px solid rgba(92, 46, 255, 0.7);
  font-size: 1rem;
  line-height: 1.5;
  color: #fff;
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.press-link:hover,
.press-link:focus {
  color: #cfc7ff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

/* =========================
   TESTIMONIANZE
========================= */

.press-quote {
  margin: 2rem 0 0;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #e6e6ea;
}

.press-source-link {
  display: inline-block;
  color: #ffffff;
  text-decoration: none;
  line-height: 1.2;
  padding-bottom: 0.12rem;
  border-bottom: 1px solid rgba(92, 46, 255, 0.7);
  transition: color 0.25s ease, border-color 0.25s ease, opacity 0.25s ease;
}

.press-source-link:hover,
.press-source-link:focus {
  color: #cfc7ff;
  border-bottom-color: rgba(255, 255, 255, 0.9);
}

/* =========================
   TRAJECTORY
========================= */

.trajectory {
  background: linear-gradient(180deg, rgba(81, 32, 255, 0.08), rgba(81, 32, 255, 0.02));
}

.trajectory-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: end;
  width: min(calc(100% - (var(--gutter) * 2)), var(--content));
  margin: 0 auto;
}

/* =========================
   PARTICIPANTS / TEAM
========================= */

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 36px;
}

.team-card {
  padding: 28px;
  border: 1px solid rgba(24, 24, 27, 0.08);
  background: #fff;
  box-shadow: 0 10px 30px rgba(24, 24, 27, 0.05);
}

.team-card p {
  color: #625f5b;
}

.participant-card {
  display: flex;
  flex-direction: column;
}

.participant-card p {
  margin-bottom: 1.5rem;
}

.participant-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  margin-top: auto;
}

.participant-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.72rem 0.95rem;
  border: 1px solid rgba(108, 91, 255, 0.16);
  border-radius: 999px;
  background: rgba(108, 91, 255, 0.08);
  color: #1a1a1f;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease, color 0.25s ease;
}

.participant-link:hover,
.participant-link:focus {
  transform: translateY(-1px);
  border-color: rgba(108, 91, 255, 0.32);
  background: rgba(108, 91, 255, 0.14);
  color: #000;
}

.participant-link-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  color: #6c5bff;
}

.participant-link-icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* =========================
   FOOTER
========================= */

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 28px 0 46px;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-social:hover {
  transform: translateY(-2px);
  border-color: rgba(123, 92, 255, 0.45);
  background: rgba(81, 32, 255, 0.14);
}

.footer-social svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* =========================
   LIGHTBOX
========================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.88);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  display: block;
  width: auto;
  max-width: 92vw;
  max-height: 88vh;
  height: auto;
  object-fit: contain;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =========================
   RESPONSIVE - DESKTOP / TABLET
========================= */

@media (min-width: 900px) {
  .video-layout {
    grid-template-columns: minmax(320px, 440px) minmax(280px, 1fr);
    gap: 2rem;
    align-items: start;
  }

  .video-frame {
    padding: 1.25rem;
  }

  .video-embed.video-vertical {
    max-width: 100%;
  }

  .video-quotes {
    padding-top: clamp(6rem, 10vw, 12rem);
  }
}

/* =========================
   RESPONSIVE - TABLET
========================= */

@media (max-width: 960px) {
  .hero-inner,
  .intro-grid,
  .trajectory-inner,
  .gallery-grid,
  .team-grid,
  .manifesto-grid {
    grid-template-columns: 1fr;
  }
   
.gallery-grid {
   grid-template-columns: 1fr 1fr;
   gap: 10px;
}

  .hero-inner {
    min-height: auto;
    padding: 40px 0 10px;
  }

   .hero-media-image {
    object-position: center 20%;
  }

  .gallery-card img,
  .gallery-card.large img {
    min-height: 280px;
  }
}

@media (max-width: 768px) {
  .press-link-block {
    width: min(100%, calc(100% - 2rem));
    margin-top: 4.5rem;
  }

  .press-link {
    font-size: 0.95rem;
  }

  .lightbox {
    padding: 1rem;
  }

  .lightbox-content {
    max-width: 100%;
    max-height: 82vh;
  }

  .lightbox-close {
    top: 0.75rem;
    right: 0.75rem;
  }

}

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

  .topbar-links {
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .section {
    padding: 3rem 0;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
  }

  .hero-text {
    font-size: 1.06rem;
  }

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

@media (max-width: 480px) {
  .video-section {
    padding: 4rem 1rem;
  }

  .video-frame {
    padding: 0.75rem;
    border-radius: 22px;
  }

  .video-embed.video-vertical {
    border-radius: 18px;
  }

  .quote-card {
    padding: 1rem;
    border-radius: 16px;
  }
}

@media (min-width: 900px) {
  .hero-media-image {
    object-position: center 20%;
  }
}

nav.topbar {
   display: none;
}
