/* Wave Community — fresh layout namespace (.wc-*)
   Isolates from pages.css Wave rules. Load after style.css. */

body.page-wave {
  overflow-x: hidden;
}

body.page-wave .wc-main {
  display: block;
  width: 100%;
}

/* ---------- shared shell ---------- */
.wc-shell {
  width: min(100% - 2.5rem, 72rem);
  margin-inline: auto;
}

.wc-shell-narrow {
  width: min(100% - 2.5rem, 42rem);
  margin-inline: auto;
}

.wc-section {
  padding: 5.5rem 0;
  position: relative;
}

.wc-section + .wc-section {
  border-top: 1px solid var(--line);
}

.wc-section-alt {
  background: rgba(245, 242, 236, 0.03);
}

html[data-theme="light"] .wc-section-alt {
  background: rgba(20, 18, 16, 0.03);
}

.wc-eyebrow {
  font-family: var(--mono);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 0.85rem;
}

.wc-h1 {
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.6vw, 3.55rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  font-weight: 650;
  margin: 0 0 1.15rem;
  color: var(--bone);
  max-width: 18ch;
}

html[data-theme="light"] .wc-h1 {
  color: #0b0b0d;
}

.wc-h2 {
  font-family: var(--display);
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
  font-weight: 650;
  margin: 0 0 1rem;
  color: var(--bone);
}

html[data-theme="light"] .wc-h2 {
  color: #0b0b0d;
}

.wc-h2 .accent,
.wc-h1 .accent {
  color: var(--brand);
}

.wc-lede {
  font-size: 1.05rem;
  line-height: 1.55;
  color: var(--bone-70);
  margin: 0 0 1.5rem;
  max-width: 38rem;
}

html[data-theme="light"] .wc-lede {
  color: rgba(20, 18, 16, 0.72);
}

.wc-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1rem;
  margin-top: 0.25rem;
}

/* ---------- 1 · HERO (split: readable left / room right) ---------- */
.wc-hero-split {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: min(48vh, 28rem);
  align-items: stretch;
  background: #f7f4ef;
  overflow: hidden;
}
.wc-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 2.5rem 1.75rem 2.25rem clamp(1rem, 3vw, 2.75rem);
  max-width: 38rem;
  background: #f7f4ef;
  z-index: 2;
}
.wc-hero-split .wc-h1 {
  color: #141210;
  text-shadow: none;
  margin: 0.35rem 0 1rem;
}
.wc-hero-split .wc-lede {
  color: rgba(20, 18, 16, 0.72);
  max-width: 32rem;
  margin: 0 0 1.6rem;
}
.wc-hero-split .wc-eyebrow {
  color: #fc5000;
}
.wc-hero-split .btn-ghost {
  color: #141210;
  border-color: rgba(20, 18, 16, 0.28);
  background: transparent;
}
.wc-hero-split .btn-ghost:hover {
  border-color: #fc5000;
  color: #fc5000;
}
.wc-hero-photo {
  margin: 0;
  min-height: 100%;
  background: #0a0a0a;
}
.wc-hero-photo img {
  width: 100%;
  height: 100%;
  min-height: min(48vh, 28rem);
  object-fit: cover;
  object-position: center 35%;
  display: block;
}
@media (max-width: 900px) {
  .wc-hero-split {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .wc-hero-copy {
    max-width: none;
    padding: 4.5rem 1.25rem 2.5rem;
  }
  .wc-hero-photo img {
    min-height: 28rem;
    aspect-ratio: 3 / 4;
  }
}

/* ---------- 2 · NETWORK ---------- */
.wc-network-shot,
.wc-network-platform {
  margin: 1.35rem 0 1.75rem;
  max-width: none;
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(20, 18, 16, 0.1);
  background: #0a0a0a;
}
.wc-network-shot img,
.wc-network-platform img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center top;
}
.wc-network-copy {
  max-width: none;
}

/* Network copy stays a full-width, single-column block below the platform. */
.wc-network-lede {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
}

.wc-pills {
  list-style: none;
  margin: 1.75rem 0 1.25rem;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.wc-pills li {
  margin: 0;
  padding: 0.55rem 0.95rem;
  background: #fc5000;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  border-radius: 999px;
  line-height: 1.2;
}

.wc-net-foot {
  margin: 0 0 2.5rem;
  color: var(--bone-55);
}

html[data-theme="light"] .wc-net-foot {
  color: rgba(20, 18, 16, 0.5);
}

.wc-platform {
  margin: 0;
  max-width: 48rem;
}

.wc-platform img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--r-sm);
  border: 1px solid var(--line);
}

.wc-platform figcaption {
  margin-top: 0.65rem;
}


/* ---------- Event companies / orbit ---------- */
.wc-orbit {
  width: 100%;
  max-width: none;
  margin: 2rem 0 0;
  padding: 1.65rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(252, 80, 0, 0.045);
  display: block;
  position: static;
}

html[data-theme="light"] .wc-orbit {
  background: rgba(252, 80, 0, 0.055);
}

.wc-orbit-title {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2.4vw, 1.5rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
  color: var(--bone);
}

html[data-theme="light"] .wc-orbit-title {
  color: #0b0b0d;
}

.wc-orbit-lede {
  max-width: none;
  margin-bottom: 0;
}

.wc-orbit .wc-pills {
  margin-top: 1.25rem;
}

.wc-orbit-foot {
  margin: 1rem 0 0;
  color: var(--bone-55);
}

html[data-theme="light"] .wc-orbit-foot {
  color: rgba(20, 18, 16, 0.5);
}

/* ---------- 3 · LATEST EVENT ---------- */
.wc-event-title {
  white-space: nowrap;
  max-width: none;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 720px) {
  .wc-event-title {
    white-space: normal;
  }
}

.wc-event-shot {
  margin: 1.75rem 0 2.5rem;
}

.wc-event-shot img {
  width: 100%;
  min-height: 36rem;
  max-height: 42rem;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 45%;
  display: block;
  border-radius: var(--r-sm);
}

.wc-guest {
  margin: 0 0 2.25rem;
  max-width: 36rem;
  width: 100%;
  background: transparent;
  border: none;
  padding: 0;
}

.wc-guest .wc-eyebrow {
  margin-bottom: 0.5rem;
}

.wc-guest h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  margin: 0 0 0.55rem;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--bone);
}

html[data-theme="light"] .wc-guest h3 {
  color: #0b0b0d;
}

.wc-guest-roles {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  line-height: 1.45;
  color: var(--bone-70);
  max-width: 36rem;
}

html[data-theme="light"] .wc-guest-roles {
  color: rgba(20, 18, 16, 0.72);
}

.wc-guest-portrait {
  margin: 0;
  max-width: 36rem;
  background: transparent;
  border: none;
}

.wc-guest-portrait img {
  width: 100%;
  max-width: 42rem;
  height: auto;
  aspect-ratio: auto;
  object-fit: cover;
  object-position: center;
  display: block;
  border-radius: var(--r-sm);
}

.wc-guest-portrait figcaption {
  display: none;
}

.wc-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem 1.25rem;
  margin: 0;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: var(--r-sm);
  background: rgba(245, 242, 236, 0.03);
  list-style: none;
}

html[data-theme="light"] .wc-facts {
  background: rgba(20, 18, 16, 0.02);
}

.wc-facts > div {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.wc-facts dt {
  font-family: var(--mono);
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bone-35);
  margin: 0 0 0.35rem;
}

html[data-theme="light"] .wc-facts dt {
  color: rgba(20, 18, 16, 0.42);
}

.wc-facts dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bone);
  line-height: 1.3;
}

html[data-theme="light"] .wc-facts dd {
  color: #0b0b0d;
}

@media (max-width: 800px) {
  .wc-facts {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 480px) {
  .wc-facts {
    grid-template-columns: 1fr;
  }
}

/* ---------- 4 · MAKING WAVES ---------- */
.wc-videos {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.wc-video {
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  background: #0b0b0d;
  border: 1px solid var(--line);
  aspect-ratio: 9 / 16;
}

.wc-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  vertical-align: top;
}

@media (max-width: 900px) {
  .wc-videos {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

/* ---------- 5 · DANIELE ---------- */
.wc-daniele-head {
  max-width: 40rem;
  margin-bottom: 2rem;
}

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

.wc-tile {
  margin: 0;
  border-radius: var(--r-sm);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0b0d;
  aspect-ratio: 3 / 4;
}

.wc-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 55% 20%;
  display: block;
}

.wc-tile:first-child img {
  object-position: 50% 15%;
}

@media (max-width: 800px) {
  .wc-tiles {
    grid-template-columns: 1fr;
    max-width: 22rem;
    margin-inline: auto;
  }
}

/* ---------- 6 · APPLY ---------- */
.wc-apply {
  text-align: center;
  padding: 6rem 0 7rem;
}

.wc-apply-logo {
  display: block;
  width: min(200px, 48vw);
  height: auto;
  margin: 0 auto 1.5rem;
}

.wc-apply .wc-h2 {
  margin-bottom: 1.5rem;
}

.wc-apply .wc-ctas {
  justify-content: center;
}

/* Neutralize any leaked pages.css wave rules if ever linked */
body.page-wave .wave-evento-aside,
body.page-wave .wave-about-platform,
body.page-wave .wave-evento-grid {
  display: none !important;
}
body.page-wave .wave-evento-network,
body.page-wave .wave-brand-wash,
body.page-wave .wave-evento-honor,
body.page-wave .wave-evento-network.wave-brand-wash {
  display: none !important;
  background: transparent !important;
  border: none !important;
  max-width: none !important;
  padding: 0 !important;
}
body.page-wave .wc-guest,
body.page-wave .wc-facts {
  background: transparent;
}
body.page-wave .wc-facts {
  background: rgba(245, 242, 236, 0.03);
}
html[data-theme="light"] body.page-wave .wc-facts {
  background: rgba(20, 18, 16, 0.02);
}
body.page-wave .wc-guest .wc-pills,
body.page-wave .wc-guest ul.wc-pills {
  display: none !important;
}

.wc-network-platform {
  max-width: none !important;
  width: 100% !important;
}
.wc-network-platform img {
  aspect-ratio: auto !important;
  width: 100% !important;
  height: auto !important;
  object-fit: contain !important;
  object-position: center top !important;
}

/* Hero copy always readable regardless of site theme */
html[data-theme="dark"] .wc-hero-split,
html[data-theme="light"] .wc-hero-split { background: #f7f4ef; }
html[data-theme="dark"] .wc-hero-copy { background: #f7f4ef; }
html[data-theme="dark"] .wc-hero-split .wc-h1 { color: #141210; }
html[data-theme="dark"] .wc-hero-split .wc-lede { color: rgba(20, 18, 16, 0.72); }

/* Only one orbit card — kill legacy company/orbit chrome if pages.css ever links */
body.page-wave .wave-evento-network,
body.page-wave .wave-brand-wash,
body.page-wave .wave-company-list,
body.page-wave .wave-evento-aside {
  display: none !important;
}

/* hard-kill orbit card if any stale HTML */
.wc-orbit,.wc-orbit *{display:none!important;height:0!important;margin:0!important;padding:0!important;overflow:hidden!important;}
