:root {
  --bg: #fffafd;
  --pink: #fd77ae;
  --pink-light: #fde1ed;
  --blue: #b5defd;
  --yellow: #fee078;
  --ink: #313d4c;
  --muted: #657181;
  --line: #e7e4e9;
  --max: 1120px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  text-wrap: pretty;
}
body::-webkit-scrollbar{
  display: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  cursor: pointer;
}
button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 3px solid #2875b3;
  outline-offset: 5px;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h2 {
  font-family:
    "Zen Maru Gothic", "Hiragino Maru Gothic ProN", "Yu Gothic", sans-serif;
  font-size: clamp(27px, 3.5vw, 43px);
  line-height: 1.55;
  font-weight: 800;
  letter-spacing: 0.035em;
}
img {
  max-width: 100%;
  display: block;
}
.skip-link {
  position: fixed;
  top: -100px;
  left: 20px;
  z-index: 30;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.header {
  height: 88px;
  padding: 0 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  background: #ffffffee;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 10;
}
.brand {
  display: flex;
  gap: 12px;
  align-items: center;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
}
.brand-star {
  font-size: 34px;
  color: var(--pink);
}
.brand-sub {
  display: block;
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
  margin-top: 3px;
}
.header nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 700;
}
.header nav a:hover {
  color: #b83369;
}
.nav-pill {
  padding: 9px 21px;
  border: 1px solid var(--ink);
  border-radius: 100px;
}
.menu-toggle {
  display: none;
}
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 0 20%, #fde1ed 0, transparent 45%),
    radial-gradient(ellipse at 100% 45%, #d2eafc 0, transparent 40%), white;
  padding: 25px 6% 24px;
  min-height: 740px;
}
.hero-note {
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 700;
}
.hero-note span {
  font-size: 22px;
  letter-spacing: 0;
  margin-left: 9px;
}
.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 890px;
  margin: 32px auto 25px;
  text-align: center;
}
.hero-label {
  font-size: 14px;
  font-weight: 700;
  display: inline-block;
  border: 1px solid #eac6d9;
  padding: 7px 20px;
  border-radius: 100px;
  transform: rotate(-2deg);
  background: #fff8fc;
}
.logo-stage {
  position: relative;
  margin: 20px auto 12px;
  max-width: 850px;
}
.logo {
  margin: 0;
  display: block;
  mix-blend-mode: multiply;
}
.logo img {
  width: 100%;
  height: auto;
}
.old-name {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(55px, 11vw, 125px);
  font-weight: 900;
  letter-spacing: 0.04em;
  visibility: hidden;
}
.old-name span {
  display: inline-block;
}
.playing .old-name {
  animation: old-title 2.3s both;
}
.playing .old-name span {
  animation: scatter 2.3s both;
}
.playing .old-name span:nth-child(2) {
  --dx: 55px;
  --dy: -40px;
  --r: 25deg;
}
.playing .old-name span:nth-child(3) {
  --dx: -25px;
  --dy: 55px;
  --r: -20deg;
}
.playing .old-name span:nth-child(4) {
  --dx: 60px;
  --dy: 35px;
  --r: 30deg;
}
.playing .logo {
  animation: new-title 2.7s both;
}
.hero-copy {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.09em;
}
.hero-copy strong {
  background: linear-gradient(
    transparent 72%,
    var(--yellow) 72%,
    var(--yellow) 91%,
    transparent 91%
  );
  font-weight: 800;
}
.hero-detail {
  font-size: 14px;
  color: var(--muted);
  margin-top: 16px;
  line-height: 1.9;
}
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  margin: 25px 0 10px;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 52px;
  border-radius: 100px;
  padding: 12px 27px;
  font-weight: 700;
  font-size: 14px;
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.button:hover {
  transform: translateY(-3px) rotate(-1deg);
}
.primary {
  background: var(--ink);
  color: white;
  box-shadow: 5px 5px 0 var(--pink);
}
.primary span {
  color: var(--pink);
  font-size: 23px;
}
.secondary {
  background: white;
  border: 1px solid var(--ink);
}
.hero-bottom {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--muted);
  margin-top: 30px;
}
.hero-bottom a {
  text-align: center;
  font-size: 12px;
}
.scroll-line {
  display: block;
  margin: 9px auto 0;
  width: 1px;
  height: 30px;
  background: var(--ink);
}
.float {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  font-size: 70px;
  animation: float 5s ease-in-out infinite;
}
.s1 {
  left: 7%;
  top: 25%;
  color: var(--blue);
  transform: rotate(15deg);
}
.s2 {
  right: 7%;
  top: 24%;
  color: var(--pink);
  font-size: 100px;
  animation-delay: -2s;
}
.s3 {
  left: 14%;
  bottom: 18%;
  color: #daaf26;
  font-size: 48px;
}
.s4 {
  right: 15%;
  bottom: 16%;
  color: #fee078;
  font-size: 60px;
  animation-delay: -3s;
}
.ticker-viewport {
  /* Clip the rotated band without cutting off its vertical overhang. */
  overflow-x: clip;
}
.ticker {
  background: var(--pink);
  color: var(--ink);
  font-size: 16px;
  letter-spacing: 0.12em;
  font-weight: 800;
  padding: 13px 0;
  overflow: hidden;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--ink);
  transform: rotate(-1deg);
  margin: 0 -1px;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: marquee 36s linear infinite;
  will-change: transform;
}
.ticker-copy {
  flex-shrink: 0;
  min-width: 100vw;
  padding-right: 2em;
  white-space: nowrap;
}
.section {
  max-width: var(--max);
  padding: 88px 30px;
  margin: auto;
}
.eyebrow {
  font-family: Arial, sans-serif;
  font-size: 12px;
  color: #a73465;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 14px;
}
.about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  padding-top: 105px;
  padding-bottom: 100px;
}
.highlight {
  background: linear-gradient(
    transparent 89%,
    var(--blue) 89%,
    var(--blue) 94%,
    transparent 94%
  );
}
.about-copy {
  font-size: 16px;
}
.about-copy p + p {
  margin-top: 20px;
}
.about-copy strong {
  font-weight: 800;
}
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}
.tags span {
  font-size: 12px;
  padding: 5px 14px;
  background: white;
  border: 1px solid #d9dbe1;
  border-radius: 100px;
}
.teams-area {
  background: #eff7fe;
  border-top: 1px solid #d8e6f1;
  border-bottom: 1px solid #d8e6f1;
}
.section-top {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: flex-end;
  margin-bottom: 32px;
}
.heading-heart {
  display: inline-block;
  margin-left: 15px;
  color: #d94483;
  transform: rotate(15deg);
}
.aside-text,
.small-note {
  font-size: 14px;
  color: var(--muted);
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.team-card {
  border: 1px solid #d4dce4;
  background: white;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 8px 0 #ddeaf5;
  transition: transform 0.2s;
}
.team-card:hover {
  transform: translateY(-5px);
}
.team-visual {
  height: 250px;
  position: relative;
  overflow: hidden;
  background: #fbd7e7;
  display: flex;
  justify-content: center;
  align-items: center;
}
.blue .team-visual {
  background: #bddffe;
}
.yellow .team-visual {
  background: #ffeaa1;
}
.team-number {
  font-size: 130px;
  line-height: 1;
  font-family: Georgia, serif;
  font-style: italic;
  color: #ffffffa8;
}
.team-star {
  position: absolute;
  font-size: 50px;
  right: 30px;
  bottom: 23px;
  color: var(--ink);
  transform: rotate(12deg);
}
.team-status {
  position: absolute;
  top: 16px;
  left: 16px;
  font-size: 12px;
  border: 1px solid var(--ink);
  border-radius: 100px;
  padding: 3px 12px;
  background: #ffffffb0;
}
.team-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-body {
  padding: 25px;
}
.team-body .eyebrow {
  margin-bottom: 6px;
}
.team-body h3 {
  font-family: Arial, sans-serif;
  font-size: 23px;
  letter-spacing: 0.02em;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.team-description {
  font-size: 14px;
  color: var(--muted);
  margin-top: 12px;
  line-height: 1.9;
}
.section-footnote {
  font-size: 14px;
  color: var(--muted);
  text-align: center;
  margin-top: 32px;
}
.schedule {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
  padding-top: 104px;
  padding-bottom: 105px;
}
.schedule-intro {
  position: relative;
}
.schedule-intro > p:not(.eyebrow) {
  font-size: 14px;
  margin-top: 20px;
  color: var(--muted);
}
.big-star {
  display: inline-block;
  color: var(--pink);
  font-size: 80px;
  line-height: 1.2;
  margin-top: 24px;
  transform: rotate(-12deg);
}
.ticket {
  background: white;
  border: 1px solid var(--ink);
  box-shadow: 9px 9px 0 var(--pink-light);
  border-radius: 20px;
  transform: rotate(2deg);
  overflow: hidden;
}
.ticket-top {
  display: flex;
  justify-content: space-between;
  background: var(--yellow);
  padding: 15px 26px;
  border-bottom: 1px solid var(--ink);
  font-size: 12px;
  letter-spacing: 0.1em;
  font-weight: 700;
}
.ticket h3 {
  font-size: 23px;
  line-height: 1.65;
  padding: 28px 28px 14px;
  font-weight: 800;
}
.event-data {
  margin: 0;
  padding: 0 28px 30px;
}
.event-data > div {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.event-data dt {
  font-size: 14px;
  color: var(--muted);
}
.event-data dd {
  margin: 0;
  font-weight: 700;
  font-size: 16px;
}
.event-date-value {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 14px;
  min-width: 0;
}
.calendar-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 40px;
  padding: 8px 14px;
  border: 1px solid #e9aac5;
  border-radius: 100px;
  background: var(--pink-light);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s, border-color 0.2s;
}
.calendar-link::before {
  content: "+";
  font-size: 18px;
  line-height: 1;
  color: #b83369;
}
.calendar-link:hover {
  background: #ffd1e3;
  border-color: #b83369;
}
.calendar-note {
  margin: -14px 28px 24px;
  font-size: 11px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--muted);
}
.calendar-link[hidden],
.calendar-note[hidden] {
  display: none;
}
.ticket-bottom {
  border-top: 2px dashed #b3bcc9;
  padding: 14px 26px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  letter-spacing: 0.04em;
}
.ticket-bottom > span:last-child {
  font-size: 24px;
  color: #b83369;
}
.judging-band {
  background: var(--ink);
  color: white;
}
.judging {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 45px;
  align-items: center;
  padding-top: 55px;
  padding-bottom: 55px;
}
.judging .eyebrow {
  color: var(--blue);
}
.judging h2 {
  font-size: 26px;
}
.judging > p {
  color: #e4eaf2;
  font-size: 16px;
}
.news-list {
  border-top: 1px solid var(--ink);
}
summary {
  list-style: none;
  cursor: pointer;
}
summary::-webkit-details-marker {
  display: none;
}
.news-item {
  border-bottom: 1px solid #d9dbe1;
}
.news-item summary {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 25px 0;
  font-weight: 700;
}
.news-label {
  min-width: 59px;
  text-align: center;
  background: var(--pink-light);
  font:
    700 12px Arial,
    sans-serif;
  padding: 7px 10px;
  border-radius: 100px;
}
.news-title {
  flex: 1;
  font-size: 16px;
}
.detail-icon {
  font-size: 25px;
  font-weight: 400;
  transition: transform 0.2s;
}
details[open] .detail-icon {
  transform: rotate(45deg);
}
details[data-expanding="false"] .detail-icon {
  transform: rotate(0deg);
}
.news-body {
  font-size: 14px;
  color: var(--muted);
  padding: 0 35px 25px 83px;
}
.result-box {
  margin-top: 40px;
  background: white;
  border: 1px solid var(--ink);
  border-radius: 18px;
  padding: 24px 28px;
}
.result-box summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.result-box summary > span:first-child {
  display: flex;
  flex-direction: column;
}
.result-box .eyebrow {
  margin-bottom: 4px;
}
.result-box strong {
  font-size: 22px;
}
.result-box > p {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 16px;
}
.closing {
  text-align: center;
  background: var(--pink-light);
  padding: 65px 25px;
}
.closing > p:not(.eyebrow) {
  font-size: clamp(30px, 4vw, 47px);
  font-weight: 800;
  line-height: 1.6;
  letter-spacing: 0.06em;
}
.closing > p > span {
  background: linear-gradient(transparent 74%, var(--yellow) 74%);
}
.closing .button {
  margin-top: 30px;
}
footer {
  padding: 30px 6%;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  font-size: 12px;
  background: white;
}
.will-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s,
    transform 0.7s;
}
.will-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.team-card:nth-child(2) {
  transition-delay: 0.08s;
}
.team-card:nth-child(3) {
  transition-delay: 0.16s;
}
@keyframes old-title {
  0%,
  45% {
    opacity: 1;
    visibility: visible;
  }
  80%,
  100% {
    opacity: 0;
    visibility: hidden;
  }
}
@keyframes scatter {
  0%,
  45% {
    transform: translate(0, 0) rotate(0);
    filter: blur(0);
  }
  80%,
  100% {
    transform: translate(var(--dx, -55px), var(--dy, -25px))
      rotate(var(--r, -25deg));
    filter: blur(7px);
  }
}
@keyframes new-title {
  0%,
  58% {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}
@keyframes float {
  50% {
    translate: 0 -13px;
  }
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
@media (min-width: 1000px) {
  .team-card:nth-child(2) {
    margin-top: 18px;
  }
  .team-card:nth-child(3) {
    margin-top: 36px;
  }
}
@media (max-width: 900px) {
  .header {
    padding: 0 24px;
  }
  .header nav {
    gap: 16px;
    font-size: 12px;
  }
  .about,
  .schedule {
    gap: 35px;
  }
  .team-grid {
    gap: 15px;
  }
  .team-body {
    padding: 20px;
  }
  .team-visual {
    height: 210px;
  }
  .aside-text {
    display: none;
  }
  .hero {
    min-height: 690px;
  }
  .float {
    opacity: 0.65;
  }
  .team-number {
    font-size: 110px;
  }
}
@media (max-width: 650px) {
  html {
    scroll-padding-top: 25px;
  }
  .header {
    height: 76px;
    padding: 0 18px;
  }
  .brand {
    font-size: 12px;
    gap: 8px;
  }
  .brand-star {
    font-size: 29px;
  }
  .brand-sub {
    font-size: 10px;
  }
  .menu-toggle {
    display: block;
    border: 1px solid var(--ink);
    border-radius: 100px;
    background: white;
    font-size: 12px;
    padding: 6px 12px;
    flex-shrink: 0;
  }
  .header nav {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 15px 22px;
  }
  .header nav.open {
    display: flex;
  }
  .header nav a {
    padding: 11px;
    font-size: 14px;
  }
  .nav-pill {
    border: 0;
    border-radius: 0;
  }
  .hero {
    padding: 20px 20px 22px;
    min-height: 640px;
  }
  .hero-note {
    font-size: 10px;
  }
  .hero-note span {
    font-size: 19px;
  }
  .hero-inner {
    margin-top: 42px;
  }
  .hero-label {
    font-size: 12px;
    padding: 6px 15px;
  }
  .logo-stage {
    margin: 32px -12px 28px;
  }
  .hero-copy {
    font-size: 23px;
  }
  .hero-detail {
    font-size: 14px;
    margin-top: 16px;
  }
  .hero-actions {
    gap: 10px;
    margin-top: 25px;
    flex-wrap: wrap;
  }
  .button {
    padding: 12px 21px;
    font-size: 14px;
    min-height: 50px;
  }
  .hero-bottom {
    margin-top: 33px;
    justify-content: center;
  }
  .hero-bottom > span {
    display: none;
  }
  .float.s1 {
    left: 4%;
    top: 18%;
    font-size: 40px;
  }
  .float.s2 {
    right: 3%;
    top: 15%;
    font-size: 53px;
  }
  .float.s3 {
    left: 4%;
    bottom: 14%;
    font-size: 33px;
  }
  .float.s4 {
    right: 4%;
    bottom: 11%;
    font-size: 34px;
  }
  .ticker {
    font-size: 14px;
    padding: 10px 0;
  }
  .section {
    padding: 60px 24px;
  }
  .about,
  .schedule,
  .judging {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .about-copy br {
    display: none;
  }
  .about-copy p + p {
    margin-top: 15px;
  }
  .section-top {
    display: block;
    margin-bottom: 25px;
  }
  .section-top .small-note {
    display: block;
    margin-top: 12px;
  }
  .team-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .team-card {
    display: grid;
    grid-template-columns: 38% 1fr;
    border-radius: 18px;
  }
  .team-visual {
    height: auto;
    min-height: 190px;
  }
  .team-number {
    font-size: 85px;
  }
  .team-star {
    font-size: 33px;
    right: 14px;
    bottom: 16px;
  }
  .team-status {
    left: 10px;
    top: 12px;
    font-size: 10px;
    padding: 3px 8px;
  }
  .team-body {
    padding: 21px 16px;
  }
  .team-body h3 {
    font-size: 20px;
  }
  .team-description {
    font-size: 14px;
  }
  .section-footnote {
    text-align: left;
    font-size: 12px;
  }
  .big-star {
    display: none;
  }
  .ticket {
    transform: rotate(1deg);
  }
  .ticket h3 {
    font-size: 21px;
    padding: 25px 22px 12px;
  }
  .event-data {
    padding: 0 22px 26px;
  }
  .ticket-top {
    padding: 13px 20px;
    gap: 10px;
    font-size: 10px;
  }
  .ticket-bottom {
    padding: 14px 20px;
    font-size: 10px;
  }
  .event-data > div {
    grid-template-columns: 56px 1fr;
    gap: 12px;
  }
  .judging {
    gap: 16px;
  }
  .judging h2 {
    font-size: 24px;
  }
  .news-item summary {
    gap: 12px;
    padding: 22px 0;
  }
  .news-label {
    min-width: 48px;
    padding: 6px 8px;
    font-size: 10px;
  }
  .news-title {
    font-size: 14px;
  }
  .news-body {
    padding-left: 0;
    padding-right: 0;
  }
  .result-box {
    padding: 21px;
    margin-top: 28px;
  }
  .closing {
    padding: 55px 24px;
  }
  footer {
    flex-direction: column;
    padding: 26px 24px;
    gap: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .old-name {
    visibility: hidden !important;
  }
  .logo {
    opacity: 1 !important;
    transform: none !important;
  }
  .will-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Scroll-directed motion theme */
.opening-scroll {
  height: 220svh;
  position: relative;
  background: white;
}
.motion-hero {
  position: sticky;
  top: 0;
  height: 100svh;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #fff;
  isolation: isolate;
  padding-top: 30px;
  padding-bottom: 30px;
}
.motion-hero .hero-note {
  position: absolute;
  top: 26px;
  left: 6%;
  z-index: 3;
}
.motion-hero .hero-inner {
  width: 100%;
  margin: 26px auto 10px;
  transform: translateY(var(--hero-y, 0px)) scale(var(--hero-scale, 1));
  opacity: var(--hero-opacity, 1);
  will-change: transform;
}
.motion-hero .hero-bottom {
  position: absolute;
  bottom: 25px;
  left: 6%;
  right: 6%;
  z-index: 3;
}
.motion-hero .logo-stage {
  margin-top: 24px;
  margin-bottom: 24px;
}
.motion-hero .logo {
  position: relative;
  z-index: 2;
}
.motion-hero .logo img {
  filter: drop-shadow(0 2px 0 #ffffff);
}
.motion-hero .hero-detail {
  background: #ffffffc9;
  border-radius: 16px;
  display: table;
  margin: 16px auto 0;
  padding: 3px 15px;
}
.motion-hero .hero-label {
  background: white;
  border-color: var(--ink);
}
.motion-hero .float {
  display: none;
}
.ribbon-scene {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
  opacity: 0.7;
}
.ribbon {
  stroke-width: 110;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  will-change: stroke-dashoffset;
}
.ribbon-blue {
  stroke: #89d4fa;
}
.ribbon-pink {
  stroke: #fd77ae;
}
.ribbon-yellow {
  stroke: #ffe365;
  stroke-width: 88;
}
.opening-progress {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 4px;
  background: #f0eef3;
}
.opening-progress span {
  display: block;
  height: 100%;
  background: var(--ink);
  transform-origin: left;
  transform: scaleX(var(--opening-progress, 0));
}
.ticker {
  transform: rotate(-2deg);
  padding: 20px 0;
  font-size: clamp(20px, 4vw, 45px);
}
.about {
  position: relative;
  min-height: 650px;
}
.section-heading {
  position: relative;
}
.oversized-index {
  position: absolute;
  left: -30px;
  top: -150px;
  font:
    italic 240px/0.8 Georgia,
    serif;
  color: #fde1ed;
  z-index: -1;
  transform: translateY(var(--index-y, 0px));
  pointer-events: none;
}
.about h2 {
  font-size: clamp(32px, 4.5vw, 62px);
  line-height: 1.6;
}
.word-reveal {
  background: linear-gradient(
    90deg,
    var(--ink) var(--word-fill, 0%),
    #b9c2ce var(--word-fill, 0%)
  );
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
}
.teams-area {
  border-radius: 70px 70px 0 0;
  margin-top: 0;
}
.team-visual {
  transition: transform 0.6s;
}
.team-card:hover .team-star {
  transform: rotate(100deg);
}
.team-star {
  transition: transform 0.6s;
}
.ticket {
  transform: translateY(var(--ticket-y, 0px)) rotate(var(--ticket-angle, 2deg));
  will-change: transform;
}
.closing {
  overflow: hidden;
  position: relative;
  padding: 100px 25px;
}
.closing > p:not(.eyebrow) {
  font-size: clamp(40px, 7vw, 90px);
  transform: translateX(var(--closing-x, 0px));
  will-change: transform;
}
.closing .eyebrow {
  font-size: 14px;
}
@media (max-width: 650px) {
  .opening-scroll {
    height: 185svh;
  }
  .motion-hero {
    height: 100svh;
    min-height: 620px;
    padding: 65px 20px 70px;
  }
  .motion-hero .hero-inner {
    margin: 0 auto;
  }
  .motion-hero .hero-note {
    top: 20px;
    left: 20px;
  }
  .motion-hero .hero-bottom {
    bottom: 16px;
  }
  .motion-hero .logo-stage {
    margin: 28px -12px 24px;
  }
  .motion-hero .hero-copy {
    font-size: 23px;
  }
  .motion-hero .hero-detail {
    margin-top: 13px;
  }
  .ribbon {
    stroke-width: 90;
  }
  .ribbon-yellow {
    stroke-width: 75;
  }
  .about {
    min-height: 0;
    padding-top: 110px;
    padding-bottom: 80px;
  }
  .oversized-index {
    font-size: 170px;
    top: -78px;
    left: -10px;
  }
  .teams-area {
    border-radius: 35px 35px 0 0;
  }
  .closing {
    padding: 70px 24px;
  }
  .ticker {
    font-size: 24px;
    padding: 16px 0;
  }
}
@media (max-height: 700px) and (min-width: 651px) {
  .motion-hero {
    min-height: 580px;
  }
  .motion-hero .hero-inner {
    max-width: 680px;
  }
  .motion-hero .logo-stage {
    max-width: 650px;
    margin-top: 14px;
    margin-bottom: 10px;
  }
  .motion-hero .hero-copy {
    font-size: 24px;
  }
  .motion-hero .hero-detail {
    display: none;
  }
  .motion-hero .hero-actions {
    margin-top: 16px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .opening-scroll {
    height: auto;
  }
  .motion-hero {
    position: relative;
    height: auto;
    min-height: 640px;
  }
  .ribbon {
    stroke-dashoffset: 0 !important;
  }
  .motion-hero .hero-inner,
  .ticket,
  .ticker-track,
  .closing > p:not(.eyebrow),
  .oversized-index {
    transform: none !important;
    opacity: 1 !important;
  }
  .word-reveal {
    background: none;
    color: var(--ink);
  }
  .opening-progress {
    display: none;
  }
}

/* Logo-only opening, then reveal the complete site. */
.intro-pending {
  overflow: hidden;
}
.intro-pending #site-content {
  visibility: hidden;
  pointer-events: none;
}
.intro-docking #site-content {
  visibility: visible;
}
.intro-docking .motion-hero .logo {
  visibility: hidden;
}
.intro-docking .intro-screen {
  background: transparent;
}
.intro-docking .intro-old {
  visibility: hidden;
}
.intro-screen {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: white;
  display: grid;
  place-items: center;
  height: 100dvh;
  overflow: hidden;
}
.intro-screen[hidden] {
  display: none;
}
.intro-images {
  position: relative;
  width: min(88vw, 1000px);
  aspect-ratio: 1818.4163 / 723.81262;
}
.intro-images img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.intro-old {
  opacity: 1;
}
.intro-new {
  opacity: 0;
}
.running .intro-old {
  animation: intro-out 4.2s both;
}
.running .intro-new {
  animation: intro-in 4.2s both;
}
@keyframes intro-out {
  0%,
  25% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  42% {
    opacity: 0;
    transform: scale(1.1) translateY(-18px);
    filter: blur(12px);
  }
  100% {
    opacity: 0;
    transform: scale(1.1);
  }
}
@keyframes intro-in {
  0%,
  40% {
    opacity: 0;
    transform: translateY(20px) scale(0.92);
    filter: blur(8px);
  }
  64%,
  92% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .intro-screen {
    display: none;
  }
  .intro-pending #site-content {
    visibility: visible;
    pointer-events: auto;
  }
  .intro-pending {
    overflow: auto;
  }
}
