/* Sense of Sound — Public UX refresh 31.7
   A calmer, task-first festival experience with clearer hierarchy. */

.sos-public-home {
  --bg: #050713;
  --surface: #0b1020;
  --surface2: #11182c;
  --text: #f8f9ff;
  --soft: #bdc5d9;
  --muted: #8993aa;
  --line: rgba(213, 222, 255, .12);
  --line2: rgba(213, 222, 255, .24);
  --cyan: #5ee7ff;
  --purple: #b995ff;
  --lime: #d8ff68;
  --container: min(1180px, calc(100% - 48px));
  background: var(--bg);
}

.sos-public-home .sos-skip-link {
  position: fixed;
  z-index: 2000;
  top: 12px;
  left: 12px;
  translate: 0 -160%;
  border-radius: 10px;
  background: #fff;
  padding: 11px 16px;
  color: #080b14;
  font-weight: 850;
  transition: translate .18s ease;
}

.sos-public-home .sos-skip-link:focus { translate: 0; }

.sos-public-home .reference-header {
  background: rgba(5, 7, 19, .72);
  border-bottom-color: rgba(213, 222, 255, .1);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
  backdrop-filter: blur(18px) saturate(1.2);
}

.sos-public-home .reference-header.scrolled {
  background: rgba(5, 7, 19, .94);
  border-color: rgba(213, 222, 255, .14);
}

.sos-public-home .reference-header-inner {
  width: min(1460px, calc(100% - 48px));
  min-height: 74px;
  gap: 24px;
}

.sos-public-home .reference-brand img {
  border: 0;
  border-radius: 12px;
  box-shadow: none;
}

.sos-public-home .reference-desktop-nav { gap: clamp(16px, 2.35vw, 38px); }

.sos-public-home .reference-desktop-nav a {
  color: rgba(248, 249, 255, .7);
  font-size: .76rem;
  font-weight: 700;
}

.sos-public-home .reference-desktop-nav a:hover,
.sos-public-home .reference-desktop-nav a.active { color: #fff; }

.sos-public-home .reference-desktop-nav a::after {
  bottom: -13px;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  box-shadow: none;
}

.sos-public-home .coded-psy-hero {
  min-height: min(860px, 100svh);
  align-items: center;
  padding: 118px 0 116px;
  background:
    linear-gradient(90deg, rgba(4, 6, 17, .97) 0%, rgba(4, 6, 17, .72) 48%, rgba(4, 6, 17, .42) 100%),
    linear-gradient(0deg, #050713 0%, transparent 28%),
    url("../assets/images/hero-bg.webp") center / cover no-repeat;
  animation: none;
}

.sos-public-home .psy-background { opacity: .15; }
.sos-public-home .psy-mandala,
.sos-public-home .psy-stage,
.sos-public-home .psy-crowd,
.sos-public-home .psy-laser { display: none; }

.sos-public-home .coded-hero-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(330px, 440px);
  grid-template-areas:
    "brand actions"
    "intro actions";
  align-items: end;
  column-gap: clamp(42px, 7vw, 110px);
  row-gap: 20px;
}

.sos-public-home .coded-brand-composition {
  grid-area: brand;
  justify-self: start;
  transform: none !important;
}

.sos-public-home .coded-logo-art {
  width: min(390px, 44vw);
  margin: 0;
  filter: drop-shadow(0 18px 42px rgba(0, 0, 0, .28));
  animation: none !important;
}

.sos-public-home .coded-brand-line { display: none; }

.sos-public-home .hero-intro {
  grid-area: intro;
  max-width: 650px;
}

.sos-public-home .hero-intro-kicker {
  margin: 0 0 10px;
  color: var(--lime);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.sos-public-home .hero-intro h2 {
  max-width: 680px;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 5rem);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.sos-public-home .hero-intro > p:last-child {
  max-width: 610px;
  margin: 20px 0 0;
  color: rgba(235, 240, 255, .78);
  font-size: clamp(.96rem, 1.5vw, 1.08rem);
  line-height: 1.75;
}

.sos-public-home .coded-event-focus-group {
  grid-area: actions;
  width: 100%;
  margin: 0;
  grid-template-columns: 1fr;
  gap: 12px;
}

.sos-public-home .coded-event-focus-group .coded-event-focus {
  min-height: 104px;
  padding: 20px 22px;
  border-color: rgba(213, 222, 255, .16) !important;
  border-radius: 18px;
  background: rgba(10, 14, 29, .72) !important;
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
  transform: none;
}

.sos-public-home .coded-event-focus-group .coded-event-focus:hover {
  border-color: rgba(216, 255, 104, .5) !important;
  background: rgba(15, 21, 38, .92) !important;
  transform: translateY(-2px);
}

.sos-public-home .coded-event-focus-group .coded-event-focus-primary {
  border-color: var(--lime) !important;
  background: var(--lime) !important;
  color: #080b14 !important;
}

.sos-public-home .coded-event-focus-group .coded-event-focus-primary small,
.sos-public-home .coded-event-focus-group .coded-event-focus-primary > span:last-child { color: #27330a; }

.sos-public-home .coded-event-focus-group .coded-event-focus-primary:hover {
  background: #e4ff94 !important;
  color: #080b14 !important;
}

.sos-public-home .coded-event-focus small { margin-bottom: 7px; font-size: .61rem; }
.sos-public-home .coded-event-focus strong { font-size: clamp(1rem, 1.5vw, 1.2rem); }
.sos-public-home .coded-event-focus > span:last-child { font-size: 1.3rem; }
.sos-public-home .coded-hero-footer { display: none; }

.sos-public-home .experience-quick-nav {
  position: sticky;
  z-index: 90;
  top: 74px;
  margin-top: -46px;
  background: #050713;
  box-shadow: 0 10px 0 #050713;
}

.sos-public-home .experience-quick-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  overflow: hidden;
  border: 1px solid rgba(213, 222, 255, .13);
  border-radius: 22px;
  background: rgba(11, 16, 32, .94);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .32);
  backdrop-filter: blur(20px);
}

.sos-public-home .experience-quick-nav a {
  position: relative;
  min-width: 0;
  display: grid;
  gap: 3px;
  padding: 22px 20px 21px 56px;
  border-right: 1px solid rgba(213, 222, 255, .1);
}

.sos-public-home .experience-quick-nav a:last-child { border-right: 0; }

.sos-public-home .experience-quick-nav a:hover { background: rgba(255, 255, 255, .045); }

.sos-public-home .experience-quick-nav a > span {
  position: absolute;
  top: 23px;
  left: 20px;
  color: var(--lime);
  font-size: .62rem;
  font-weight: 900;
}

.sos-public-home .experience-quick-nav strong { font-size: .91rem; }
.sos-public-home .experience-quick-nav strong,
.sos-public-home .reference-desktop-nav a,
.sos-public-home .site-menu strong {
  font-weight: 800;
  line-height: 1.3;
}
.sos-public-home .experience-quick-nav strong { min-height: 1.3em; }
.sos-public-home .experience-quick-nav small { overflow: hidden; color: var(--muted); font-size: .69rem; text-overflow: ellipsis; white-space: nowrap; }

.sos-public-home .section {
  padding: clamp(82px, 9vw, 120px) 0;
  border-color: rgba(213, 222, 255, .09);
}

.sos-public-home .festival-showcase-section { padding-top: clamp(125px, 13vw, 170px); }
.sos-public-home .dark-section { background: var(--bg); }

.sos-public-home .section-heading { max-width: 720px; margin-bottom: 32px; }
.sos-public-home .section-heading h2 {
  margin-bottom: 14px;
  font-size: clamp(2.25rem, 5vw, 4.4rem);
  letter-spacing: -.05em;
  line-height: 1;
}

.sos-public-home .section-heading > p:last-child { color: var(--muted); font-size: .95rem; line-height: 1.7; }
.sos-public-home .section-label { margin-bottom: 10px; color: var(--lime); }

.sos-public-home .event-card,
.sos-public-home .ticket-market-card,
.sos-public-home .past-event-card,
.sos-public-home .contact-grid article,
.sos-public-home .event-empty-state,
.sos-public-home .ticket-market-empty,
.sos-public-home .contact-empty-state {
  border-color: rgba(213, 222, 255, .065);
  background: rgba(11, 16, 32, .72);
  box-shadow: 0 10px 32px rgba(0, 0, 0, .12);
}

.sos-public-home .contact-grid article > a {
  display: grid;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.sos-public-home .contact-grid article > a:hover strong,
.sos-public-home .contact-grid article > a:focus-visible strong { color: var(--lime); }

.sos-public-home .contact-grid { gap: 8px; }
.sos-public-home .contact-grid article {
  min-height: 108px;
  border-radius: 16px;
  padding: 16px 18px;
}
.sos-public-home .contact-grid strong { font-size: .88rem; }

.sos-public-home .event-grid { align-items: stretch; grid-auto-rows: 1fr; }
.sos-public-home .event-card {
  display: flex;
  height: 100%;
  flex-direction: column;
  border-radius: 20px;
}
.sos-public-home .event-card-image,
.sos-public-home .event-image {
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  flex: 0 0 auto;
}
.sos-public-home .event-card-image img,
.sos-public-home .event-image img { width: 100%; height: 100%; min-height: 0; object-fit: cover; }
.sos-public-home .event-card-image .event-poster-track,
.sos-public-home .event-card-image .event-poster-track > img { height: 100%; min-height: 0; }
.sos-public-home .event-card-image { position: relative; background: #080b12; }
.sos-public-home .event-card-image .event-poster-track { position: absolute; inset: 0; }
.sos-public-home .event-content { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.sos-public-home .event-action-list { margin-top: auto; padding-top: 16px; }
.sos-public-home .event-calendar-trigger {
  min-height: 58px;
  margin-top: 0;
  border: 1px solid rgba(216, 255, 104, .2);
  border-radius: 18px;
  background: rgba(216, 255, 104, .07);
  padding: 14px 18px;
  color: var(--lime);
  transition: background .18s ease, border-color .18s ease;
}
.sos-public-home .event-calendar-trigger:hover,
.sos-public-home .event-calendar-trigger:focus-visible {
  border-color: rgba(216, 255, 104, .48);
  background: rgba(216, 255, 104, .12);
}
.sos-public-home .event-content h3 { margin-top: 15px; }

.sos-public-home .calendar-choice-panel { border-radius: 32px; }
.sos-public-home .calendar-choice-link { border-radius: 22px; }
.sos-public-home .calendar-choice-logo { border-radius: 50%; }

.sos-public-home .festival-showcase-divider { margin-block: clamp(72px, 9vw, 112px); opacity: .7; }
.sos-public-home .ticket-market::before { opacity: .55; }
.sos-public-home .ticket-market-filter { min-height: 44px; padding: 10px 16px; }
.sos-public-home .ticket-market-filter.is-active { background: var(--lime); border-color: var(--lime); color: #080b14; }
.sos-public-home .button-primary { background: var(--lime); color: #080b14; }

.sos-public-home .site-footer { background: #03050d; border-color: rgba(213, 222, 255, .1); }

@media (max-width: 1120px) {
  .sos-public-home .reference-desktop-nav { display: none; }
  .sos-public-home .reference-header-inner { grid-template-columns: minmax(0, 1fr) auto; }
  .sos-public-home .reference-header .menu-button { display: grid; }
}

@media (max-width: 820px) {
  .sos-public-home { --container: min(100% - 28px, 1180px); }
  .sos-public-home .coded-psy-hero {
    min-height: auto;
    padding: 108px 0 92px;
    background-position: 62% center;
  }

  .sos-public-home .coded-hero-content {
    grid-template-columns: 1fr;
    grid-template-areas: "brand" "intro" "actions";
    row-gap: 20px;
  }

  .sos-public-home .coded-brand-composition { justify-self: center; }
  .sos-public-home .coded-logo-art { width: min(330px, 72vw); }
  .sos-public-home .hero-intro { text-align: center; }
  .sos-public-home .hero-intro > p:last-child { margin-inline: auto; }
  .sos-public-home .coded-event-focus-group { width: min(100%, 560px); margin-inline: auto; }
  .sos-public-home .experience-quick-nav { margin-top: -32px; }
  .sos-public-home .experience-quick-nav-inner { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sos-public-home .experience-quick-nav a:nth-child(2) { border-right: 0; }
  .sos-public-home .experience-quick-nav a:nth-child(-n+2) { border-bottom: 1px solid rgba(213, 222, 255, .1); }
}

@media (max-width: 560px) {
  .sos-public-home { --container: min(100% - 24px, 1180px); }
  .sos-public-home .reference-header-inner { width: calc(100% - 24px); min-height: 68px; }
  .sos-public-home .experience-quick-nav { top: 68px; }
  .sos-public-home .reference-brand > span { display: none; }
  .sos-public-home .reference-header .language-button { display: inline-flex; min-width: 72px; }
  .sos-public-home .coded-psy-hero { padding: 94px 0 76px; background-position: 58% center; }
  .sos-public-home .coded-logo-art { width: min(275px, 78vw); }
  .sos-public-home .hero-intro h2 { font-size: clamp(2.05rem, 10vw, 3.2rem); }
  .sos-public-home .hero-intro > p:last-child { margin-top: 14px; font-size: .92rem; }
  .sos-public-home .coded-event-focus-group .coded-event-focus { min-height: 82px; padding: 15px 17px; }
  .sos-public-home .experience-quick-nav-inner { border-radius: 18px; }
  .sos-public-home .experience-quick-nav a { padding: 18px 14px 17px 42px; }
  .sos-public-home .experience-quick-nav a > span { top: 19px; left: 14px; }
  .sos-public-home .experience-quick-nav strong { font-size: .81rem; }
  .sos-public-home .experience-quick-nav small { display: none; }
  .sos-public-home .section { padding-block: 74px; }
  .sos-public-home .festival-showcase-section { padding-top: 105px; }
  .sos-public-home .section-heading { margin-bottom: 25px; }
  .sos-public-home .event-card { width: 100%; }
  .sos-public-home .event-card-image,
  .sos-public-home .event-image { height: auto; aspect-ratio: 4 / 5; }
  .sos-public-home .ticket-market-toolbar .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  .sos-public-home .psy-background { display: none; }
}

/* Clear customer / staff pathways */
.sos-public-home .audience-pathway {
  padding: clamp(72px, 9vw, 118px) 0 0;
  background: var(--bg);
}

.sos-public-home .audience-pathway-inner {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 6vw, 86px);
  align-items: end;
}

.sos-public-home .audience-pathway header h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  letter-spacing: -.05em;
  line-height: 1.02;
}

.sos-public-home .audience-pathway header > p:last-child {
  max-width: 520px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.sos-public-home .audience-pathway-grid { display: grid; gap: 12px; }

.sos-public-home .audience-card {
  position: relative;
  min-height: 156px;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  overflow: hidden;
  border: 1px solid rgba(213, 222, 255, .12);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(17, 24, 44, .94), rgba(8, 12, 25, .96));
  padding: 24px;
  transition: transform .22s ease, border-color .22s ease, background .22s ease;
}

.sos-public-home .audience-card:hover {
  border-color: rgba(216, 255, 104, .42);
  background: linear-gradient(135deg, rgba(23, 32, 55, .96), rgba(10, 15, 29, .98));
  transform: translateY(-3px);
}

.sos-public-home .audience-card > span {
  align-self: start;
  color: var(--lime);
  font-size: .66rem;
  font-weight: 900;
}

.sos-public-home .audience-card div { display: grid; gap: 5px; }
.sos-public-home .audience-card small { color: var(--cyan); font-size: .62rem; font-weight: 850; letter-spacing: .11em; }
.sos-public-home .audience-card strong { font-size: clamp(1.05rem, 2vw, 1.32rem); }
.sos-public-home .audience-card p { margin: 0; color: var(--muted); font-size: .8rem; line-height: 1.55; }
.sos-public-home .audience-card > i { font-style: normal; font-size: 1.35rem; }
.sos-public-home .audience-card-staff { background: linear-gradient(135deg, rgba(36, 20, 58, .86), rgba(8, 12, 25, .96)); }
.sos-public-home .audience-card-staff small { color: var(--purple); }

@media (max-width: 820px) {
  .sos-public-home .audience-pathway-inner { grid-template-columns: 1fr; align-items: stretch; }
  .sos-public-home .audience-pathway header { text-align: center; }
  .sos-public-home .audience-pathway header > p:last-child { margin-inline: auto; }
}

@media (max-width: 560px) {
  .sos-public-home .audience-card {
    min-height: 132px;
    grid-template-columns: 28px minmax(0, 1fr) auto;
    gap: 10px;
    border-radius: 18px;
    padding: 18px 16px;
  }
}

/* Scroll-driven spatial hero — Build 31.7 */
.sos-public-home {
  --hero-progress: 0;
  --hero-reveal: 0;
  --hero-exit: 0;
  --hero-logo-y: 0vh;
  --hero-logo-z: 120px;
  --hero-logo-tilt: 3.5deg;
  --hero-logo-scale: .82;
  --hero-logo-opacity: 1;
  --hero-intro-opacity: 0;
  --hero-intro-y: 70px;
  --hero-intro-scale: .94;
  --hero-actions-opacity: 0;
  --hero-actions-y: 44px;
  --hero-ring-one-turn: 0deg;
  --hero-ring-one-scale: .72;
  --hero-ring-two-turn: 0deg;
  --hero-ring-two-scale: .82;
  --hero-ring-three-turn: 0deg;
}

.sos-public-home .language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  min-width: 94px;
  min-height: 42px;
  padding: 4px;
  border: 1px solid rgba(216, 255, 104, .48);
  border-radius: 999px;
  background: rgba(11, 16, 32, .96);
}

.sos-public-home .language-switch button {
  min-width: 34px;
  min-height: 32px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: rgba(248, 249, 255, .55);
  cursor: pointer;
  font: inherit;
  font-size: .66rem;
  font-weight: 900;
}

.sos-public-home .language-switch button.active {
  background: var(--lime);
  color: #080b14;
}

.sos-public-home .language-switch > span { color: rgba(248, 249, 255, .24); }

.sos-public-home .language-switch select {
  width: 100%;
  min-width: 148px;
  min-height: 32px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #fff;
  color-scheme: dark;
  cursor: pointer;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
}

.sos-public-home .language-switch select option {
  background: #0b1020;
  color: #fff;
}

.sos-public-home .language-switch select:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 3px;
  border-radius: 999px;
}

.sos-public-home .coded-psy-hero {
  min-height: 190svh;
  display: block;
  overflow: visible;
  padding: 0;
  perspective: 1400px;
}

.sos-public-home .coded-hero-content {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: none;
  height: 100svh;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas: "stage";
  place-items: center;
  overflow: hidden;
  padding: 88px max(24px, calc((100vw - 1180px) / 2)) 54px;
  perspective: 1300px;
  transform-style: preserve-3d;
}

.sos-public-home .coded-brand-composition,
.sos-public-home .hero-intro,
.sos-public-home .coded-event-focus-group,
.sos-public-home .hero-depth-field {
  grid-area: stage;
}

.sos-public-home .hero-depth-field {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  transform-style: preserve-3d;
}

.sos-public-home .hero-depth-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  aspect-ratio: 1;
  border: 1px solid rgba(94, 231, 255, .22);
  border-radius: 50%;
  box-shadow: inset 0 0 35px rgba(185, 149, 255, .05), 0 0 35px rgba(94, 231, 255, .06);
}

.sos-public-home .hero-depth-ring-one {
  width: min(70vw, 780px);
  transform: translate(-50%, -50%) rotateX(66deg) rotateZ(var(--hero-ring-one-turn)) scale(var(--hero-ring-one-scale));
}

.sos-public-home .hero-depth-ring-two {
  width: min(52vw, 580px);
  border-color: rgba(185, 149, 255, .22);
  transform: translate(-50%, -50%) rotateY(69deg) rotateZ(var(--hero-ring-two-turn)) scale(var(--hero-ring-two-scale));
}

.sos-public-home .hero-depth-ring-three {
  width: min(38vw, 430px);
  border-style: dashed;
  transform: translate(-50%, -50%) rotateX(72deg) rotateY(22deg) rotateZ(var(--hero-ring-three-turn));
}

.sos-public-home .coded-brand-composition {
  z-index: 3;
  justify-self: center;
  align-self: center;
  width: min(620px, 78vw);
  text-align: center;
  opacity: var(--hero-logo-opacity);
  transform:
    translate3d(0, var(--hero-logo-y), var(--hero-logo-z))
    rotateX(var(--hero-logo-tilt))
    scale(var(--hero-logo-scale)) !important;
  transform-style: preserve-3d;
  will-change: transform, opacity;
}

.sos-public-home .coded-logo-art {
  width: 100%;
  margin: 0 auto;
  filter:
    drop-shadow(0 30px 24px rgba(0, 0, 0, .38))
    drop-shadow(0 0 26px rgba(94, 231, 255, .42))
    drop-shadow(0 0 72px rgba(185, 149, 255, .28));
  transform: translateZ(60px);
}

.sos-public-home .coded-logo-art::after {
  content: "";
  position: absolute;
  inset: 22% 18%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 231, 255, .2), transparent 67%);
  filter: blur(24px);
  transform: translateZ(-80px) scale(1.18);
}

.sos-public-home .hero-intro {
  z-index: 4;
  align-self: end;
  max-width: 760px;
  margin: 0 auto 15vh;
  text-align: center;
  opacity: var(--hero-intro-opacity);
  pointer-events: none;
  transform: translate3d(0, var(--hero-intro-y), 220px) scale(var(--hero-intro-scale));
  will-change: transform, opacity;
}

.sos-public-home .hero-intro h2 { margin-inline: auto; }
.sos-public-home .hero-intro > p:last-child { margin-inline: auto; }

.sos-public-home .coded-event-focus-group {
  z-index: 5;
  align-self: end;
  width: min(760px, calc(100% - 40px));
  margin: 0 auto 4.5vh;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  opacity: var(--hero-actions-opacity);
  pointer-events: none;
  transform: translate3d(0, var(--hero-actions-y), 260px);
  will-change: transform, opacity;
}

.sos-public-home .coded-psy-hero[data-scroll-phase="discover"] .coded-event-focus-group { pointer-events: auto; }

.sos-public-home .hero-scroll-progress {
  position: absolute;
  z-index: 6;
  right: max(18px, calc((100vw - 1400px) / 2));
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(248, 249, 255, .54);
  font-size: .56rem;
  font-weight: 850;
  letter-spacing: .14em;
  writing-mode: vertical-rl;
}

.sos-public-home .hero-scroll-progress span {
  width: 2px;
  height: 92px;
  overflow: hidden;
  border-radius: 2px;
  background: rgba(255, 255, 255, .15);
}

.sos-public-home .hero-scroll-progress span::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: var(--lime);
  transform: scaleY(var(--hero-progress));
  transform-origin: top;
}

@media (max-width: 820px) {
  .sos-public-home .coded-psy-hero { min-height: 170svh; padding: 0; }
  .sos-public-home .coded-hero-content { padding: 78px 16px 42px !important; }
  .sos-public-home .coded-brand-composition { width: min(520px, 86vw); }
  .sos-public-home .hero-intro { margin-bottom: 19vh; }
  .sos-public-home .coded-event-focus-group {
    width: min(560px, calc(100% - 28px));
    margin-bottom: 4vh;
    grid-template-columns: 1fr;
  }
  .sos-public-home .coded-event-focus-group .coded-event-focus { min-height: 76px; }
  .sos-public-home .hero-scroll-progress { right: 8px; bottom: 30px; }
  .sos-public-home .hero-scroll-progress span { height: 66px; }
}

@media (max-width: 560px) {
  .sos-public-home .reference-header .language-button { display: inline-flex; }
  .sos-public-home .language-switch { min-width: 118px; }
  .sos-public-home .language-switch select { min-width: 108px; }
  .sos-public-home .coded-brand-composition {
    width: min(430px, 92vw);
    transform:
      translate3d(0, var(--hero-logo-y), var(--hero-logo-z))
      scale(var(--hero-logo-scale)) !important;
  }
  .sos-public-home .hero-intro { width: calc(100% - 36px); margin-bottom: 21vh; }
  .sos-public-home .hero-intro h2 { font-size: clamp(1.9rem, 9vw, 2.8rem); }
  .sos-public-home .hero-scroll-progress { display: none; }
}

.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] { min-height: 100svh; }
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .coded-brand-composition,
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .hero-intro,
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .coded-event-focus-group {
  opacity: 1;
  pointer-events: auto;
  transform: none !important;
}
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .hero-depth-field,
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .hero-scroll-progress { display: none; }

.sos-public-home .scroll-spatial-item {
  translate: 0 var(--scroll-item-shift, 18px);
  scale: var(--scroll-item-scale, .97);
  transition: border-color .22s ease, background .22s ease, box-shadow .22s ease;
  will-change: translate, scale;
}

.sos-public-home .scroll-spatial-item:hover { translate: 0 -3px; scale: 1; }

.sos-public-home .scroll-spatial-item :is(.event-image img, .ticket-market-cover img) {
  scale: var(--scroll-image-scale, 1.06);
  transition: scale .18s linear, filter .4s ease;
  will-change: scale;
}

@media (prefers-reduced-motion: reduce) {
  .sos-public-home .scroll-spatial-item,
  .sos-public-home .scroll-spatial-item :is(.event-image img, .ticket-market-cover img) {
    translate: none;
    scale: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .sos-public-home .coded-psy-hero { min-height: 100svh; }
  .sos-public-home .coded-brand-composition,
  .sos-public-home .hero-intro,
  .sos-public-home .coded-event-focus-group,
  .sos-public-home .hero-depth-ring { transform: none !important; }
  .sos-public-home .coded-brand-composition,
  .sos-public-home .hero-intro,
  .sos-public-home .coded-event-focus-group { opacity: 1; pointer-events: auto; }
  .sos-public-home .hero-depth-field,
  .sos-public-home .hero-scroll-progress { display: none; }
}

/* Static scene and small 2D scroll reveal keep the first page responsive. */
.sos-public-home .coded-psy-hero {
  min-height: 122svh;
  perspective: none;
  background:
    linear-gradient(0deg, #050713 0%, rgba(5,7,19,.34) 52%, rgba(5,7,19,.65) 100%),
    url("../assets/images/hero-bg.webp") center / cover no-repeat !important;
  animation: none !important;
}
.sos-public-home .coded-hero-content { perspective: none; transform-style: flat; }
.sos-public-home .hero-depth-field,
.sos-public-home .fx3d-scene,
.sos-public-home .fx3d-mid,
.sos-public-home .fx3d-light,
.sos-public-home .fx3d-fog,
.sos-public-home .fx3d-grid,
.sos-public-home .fx3d-vignette { display: none !important; }
.sos-public-home .coded-brand-composition {
  transform: translate3d(0, var(--hero-logo-y, 0px), 0) scale(var(--hero-logo-scale, 1)) !important;
  transform-style: flat;
  will-change: auto;
}
.sos-public-home .coded-logo-art {
  transform: none;
  filter: none;
  overflow: visible;
  border-radius: 0;
  mix-blend-mode: normal;
  -webkit-mask-image: none;
  mask-image: none;
}
.sos-public-home .coded-logo-art img {
  -webkit-mask-image: none;
  mask-image: none;
  filter: url(#sos-remove-black);
}
.sos-public-home .coded-logo-art::after { display: none; }
.sos-public-home .hero-intro,
.sos-public-home .coded-event-focus-group { transform: none; will-change: auto; }
.sos-public-home .scroll-spatial-item,
.sos-public-home .scroll-spatial-item :is(.event-image img, .ticket-market-cover img) {
  translate: none;
  scale: 1;
  will-change: auto;
}
.sos-public-home .reference-header { backdrop-filter: none; -webkit-backdrop-filter: none; }

@media (max-width: 820px) {
  .sos-public-home .coded-psy-hero { min-height: 112svh; }
}

.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] { min-height: 100svh; }
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .coded-hero-content {
  position: relative;
  height: auto;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 18px;
  padding-block: 100px 42px !important;
}
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .coded-brand-composition {
  width: min(360px, 78vw);
  margin: 0 auto;
}
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .hero-intro,
.sos-public-home .coded-psy-hero[data-scroll-motion="reduced"] .coded-event-focus-group {
  width: min(620px, 100%);
  margin: 0 auto;
}
