:root {
  --bg: #070707;
  --bg-soft: #121212;
  --surface: rgba(255, 255, 255, 0.08);
  --surface-strong: rgba(255, 255, 255, 0.12);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text: #f7efe7;
  --muted: rgba(247, 239, 231, 0.76);
  --accent: #e11d35;
  --accent-strong: #ff2038;
  --accent-soft: rgba(225, 29, 53, 0.18);
  --shadow: 0 18px 80px rgba(0, 0, 0, 0.38);
  --radius: 28px;
  --radius-sm: 18px;
  --section-gap: clamp(4rem, 8vw, 8rem);
  --container: min(1180px, calc(100vw - 2rem));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  background: #0a0b0e;
  color: var(--text);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Fixed yacht background — adds depth/brightness while staying readable */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh; /* large viewport height — avoids mobile URL-bar gap */
  z-index: -2;
  background: url("/yacht-bg.jpg") center center / cover no-repeat;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100lvh;
  z-index: -1;
  background:
    radial-gradient(circle at 50% -5%, rgba(225, 29, 53, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(7, 8, 12, 0.5) 0%, rgba(7, 8, 12, 0.7) 48%, rgba(8, 9, 13, 0.9) 100%);
}

body.cursor-enabled,
body.cursor-enabled a,
body.cursor-enabled button,
body.cursor-enabled input {
  cursor: none;
}

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

button,
input {
  font: inherit;
}

.site-shell {
  position: relative;
  isolation: isolate;
}

.loading-veil {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at center, rgba(223, 28, 48, 0.16), transparent 35%),
    linear-gradient(180deg, rgba(5, 6, 8, 0.98), rgba(5, 6, 8, 0.88));
  z-index: 40;
  display: grid;
  place-items: center;
  transition: opacity 900ms ease, visibility 900ms ease;
}

.loading-veil.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-mark {
  width: 4.75rem;
  height: 4.75rem;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-top-color: var(--accent);
  box-shadow: 0 0 0 0.7rem rgba(223, 28, 48, 0.08);
  animation: spin 1.2s linear infinite;
}

.background-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -2;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(12px);
  opacity: 0.7;
  transition: transform 180ms linear;
}

.orb-crimson {
  width: 26rem;
  height: 26rem;
  left: -6rem;
  top: 6rem;
  background: radial-gradient(circle, rgba(223, 28, 48, 0.42), transparent 72%);
}

.orb-sea {
  width: 24rem;
  height: 24rem;
  right: -2rem;
  top: 18rem;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12), transparent 68%);
}

.orb-gold {
  width: 18rem;
  height: 18rem;
  left: 38%;
  bottom: 16%;
  background: radial-gradient(circle, rgba(225, 29, 53, 0.14), transparent 72%);
}

.grid-waves {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 4.5rem 4.5rem;
  mask-image: radial-gradient(circle at center, black 36%, transparent 90%);
  opacity: 0.3;
}

.deck-curve {
  position: absolute;
  width: 140vw;
  height: 36rem;
  left: -20vw;
  border-radius: 50%;
  border: 1px solid rgba(248, 241, 231, 0.1);
  opacity: 0.25;
}

.deck-curve-top {
  top: -28rem;
}

.deck-curve-bottom {
  bottom: -27rem;
}

.topbar {
  width: 100%;
  padding: 0 max(1rem, calc((100vw - 1180px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  position: sticky;
  top: 0;
  z-index: 15;
  height: 4.5rem;
  overflow: hidden;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5, 6, 8, 0.9), rgba(5, 6, 8, 0.25));
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  z-index: -1;
}

.brand {
  display: inline-flex;
  align-items: center;
  height: 100%;
  line-height: 0;
  flex-shrink: 0;
}

.brand img {
  width: 12rem;
  height: auto;
  max-width: 44vw;
  filter: drop-shadow(0 6px 16px rgba(223, 28, 48, 0.22));
}

.topnav {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  font-size: 0.92rem;
  color: rgba(255, 244, 238, 0.68);
}

.topnav a {
  position: relative;
  transition: color 220ms ease;
}

.topnav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 100%;
  height: 1px;
  background: var(--text);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 240ms ease;
}

.topnav a:hover,
.topnav a:focus-visible {
  color: var(--text);
}

.topnav a:hover::after,
.topnav a:focus-visible::after {
  transform: scaleX(1);
}

.section-shell {
  width: var(--container);
  margin: 0 auto;
  padding: var(--section-gap) 0;
}

.hero {
  min-height: calc(100vh - 4rem);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
  padding-top: max(5rem, 12vh);
}

.eyeline {
  margin: 0 0 1rem;
  text-transform: uppercase;
  letter-spacing: 0.3rem;
  font-size: 0.74rem;
  color: rgba(255, 244, 238, 0.64);
}

.section-script,
.hero-script {
  margin: 0;
  font-family: "Luxurious Script", cursive;
  color: var(--accent-strong);
  font-weight: 400;
  line-height: 0.9;
}

.hero-title,
.section-heading h2,
.featured-sponsor h3,
.registration-copy h2,
.experience-card h3 {
  font-family: "Cormorant Garamond", serif;
}

.hero-title-wrap {
  position: relative;
  display: inline-block;
}

.hero-title {
  margin: 0;
  font-size: clamp(4.3rem, 11vw, 8.8rem);
  line-height: 0.9;
  letter-spacing: -0.05em;
}

.hero-title span {
  display: block;
  opacity: 0;
  transform: translateY(1.4rem);
  animation: titleRise 900ms ease forwards;
}

.hero-title span:nth-child(2) {
  animation-delay: 130ms;
}

.hero-title span:nth-child(3) {
  color: #f7efe7;
  animation-delay: 260ms;
}

.hero-script {
  position: absolute;
  right: clamp(-0.4rem, -1vw, -1.2rem);
  bottom: clamp(-1.6rem, -1vw, -0.6rem);
  font-size: clamp(4.2rem, 11vw, 8rem);
  opacity: 0.94;
  letter-spacing: 0.02em;
  pointer-events: none;
}

.hero-body {
  max-width: 36rem;
  margin: 1.6rem 0 0;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--muted);
}

.hero-slogan {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: 0.95rem;
  letter-spacing: 0.18rem;
  text-transform: uppercase;
  color: rgba(255, 244, 238, 0.8);
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.hero-meta-full {
  grid-column: 1 / -1;
}

.hero-address {
  display: inline-block;
  margin-top: 0.55rem;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.5;
  border-bottom: 1px solid rgba(225, 29, 53, 0.45);
  padding-bottom: 1px;
  transition: color 200ms ease, border-color 200ms ease;
}

.hero-address em {
  font-style: normal;
  font-family: "Tahoma", "Arial", sans-serif;
  color: rgba(247, 239, 231, 0.7);
  margin-left: 0.2rem;
}

.hero-address:hover,
.hero-address:focus-visible {
  color: var(--accent-strong);
  border-bottom-color: var(--accent-strong);
}

.hero-meta div,
.selection-notes div {
  padding: 1rem 1rem 1.15rem;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(16px);
}

.hero-meta span,
.selection-notes span,
.scene-card span,
.featured-sponsor span,
.mini-sponsor span,
.card-index {
  display: block;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  color: rgba(255, 244, 238, 0.56);
}

.hero-meta strong {
  display: block;
  margin-top: 0.55rem;
  font-size: 0.92rem;
  line-height: 1.55;
}

.hero-date {
  font-family: "Cormorant Garamond", serif !important;
  font-size: 1.65rem !important;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.1 !important;
  margin-top: 0.5rem !important;
  color: var(--text);
}

.hero-actions {
  display: flex;
  gap: 0.9rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 3.3rem;
  padding: 0.95rem 1.35rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ef3347 0%, #b10f23 100%);
  color: #fff9f3;
  box-shadow: 0 24px 48px rgba(223, 28, 48, 0.24);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 30px 58px rgba(223, 28, 48, 0.28);
}

.btn-ghost {
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
  color: var(--text);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.24);
}

.hero-scene {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 30rem;
}

.hero-partner-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  text-align: center;
  width: min(100%, 30rem);
  padding: 2.8rem 2.2rem;
  border-radius: var(--radius);
  background: rgba(12, 12, 16, 0.55);
  border: 1px solid rgba(225, 29, 53, 0.42);
  box-shadow: 0 0 80px rgba(225, 29, 53, 0.16), var(--shadow);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-partner-tag {
  font-size: 0.66rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #e11d35;
  font-weight: 700;
}

.hero-partner-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.hero-wf-logo {
  width: 9rem;
  height: auto;
  display: block;
}

.hero-dd-logo {
  width: 11rem;
  height: auto;
  display: block;
}

.hero-partner-x {
  color: #e11d35;
  font-size: 1.2rem;
  font-weight: 300;
}

.hero-partner-note {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 24rem;
}

.hero-partner-note strong {
  color: #f7efe7;
}

.scene-frame {
  position: relative;
  min-height: 42rem;
  padding: 2rem;
}

.sunset-disc {
  position: absolute;
  inset: 7% 12% auto auto;
  width: min(62vw, 26rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.46), transparent 22%),
    radial-gradient(circle at 45% 40%, rgba(225, 29, 53, 0.14), transparent 54%),
    linear-gradient(180deg, rgba(244, 236, 228, 0.92), rgba(120, 18, 33, 0.08));
  filter: blur(0.2px);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08), 0 22px 80px rgba(0, 0, 0, 0.38);
}

.yacht-silhouette {
  position: absolute;
  left: 9%;
  right: 8%;
  bottom: 12%;
  height: 17rem;
}

.yacht-body,
.yacht-deck,
.yacht-sail {
  position: absolute;
}

.yacht-body {
  left: 8%;
  right: 0;
  bottom: 0;
  height: 6.6rem;
  background: linear-gradient(90deg, rgba(8, 8, 8, 0.94), rgba(24, 24, 24, 0.98));
  clip-path: polygon(0 76%, 12% 58%, 84% 48%, 100% 67%, 94% 100%, 3% 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.yacht-deck {
  left: 26%;
  width: 32%;
  bottom: 4.8rem;
  height: 3.2rem;
  background: linear-gradient(180deg, rgba(24, 24, 24, 0.92), rgba(11, 11, 11, 0.9));
  border-radius: 2rem 2rem 0.6rem 0.6rem;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.yacht-sail {
  left: 43%;
  bottom: 6rem;
  width: 7rem;
  height: 12rem;
  background: linear-gradient(180deg, rgba(247, 239, 231, 0.96), rgba(247, 239, 231, 0.3));
  clip-path: polygon(50% 0, 100% 80%, 0 100%);
  filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.24));
}

.scene-card {
  position: absolute;
  width: min(17rem, 68vw);
  padding: 1rem 1.15rem 1.15rem;
  border-radius: 1.3rem;
  background: rgba(7, 7, 7, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.22);
  animation: floatCard 7s ease-in-out infinite;
}

.scene-card strong {
  display: block;
  margin-top: 0.6rem;
  font-size: 1rem;
  line-height: 1.6;
}

.scene-card-top {
  top: 8%;
  right: 0;
}

.scene-card-middle {
  left: 0;
  top: 34%;
  animation-delay: 1.4s;
}

.scene-card-bottom {
  right: 10%;
  bottom: 0;
  animation-delay: 2.8s;
}

.section-heading {
  max-width: 46rem;
}

.section-script {
  margin-bottom: 0.25rem;
  font-size: clamp(2.8rem, 6vw, 4.8rem);
}

.section-heading h2,
.registration-copy h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.03em;
}

.experience-grid {
  margin-top: 2.4rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

.experience-card,
.mini-sponsor {
  position: relative;
  overflow: hidden;
  padding: 1.55rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.04)),
    rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: var(--shadow);
}

.experience-card::before,
.mini-sponsor::before,
.featured-sponsor::before,
.registration-panel::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 35%);
  pointer-events: none;
}

.experience-card h3 {
  margin: 1.5rem 0 0.7rem;
  font-size: 2rem;
  line-height: 1;
}

.experience-card p,
.featured-sponsor p,
.registration-copy p,
.mini-sponsor strong,
.featured-sponsor li {
  color: var(--muted);
  line-height: 1.8;
}

.quote-panel {
  margin-top: 2rem;
  padding: 1.8rem 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
}

.quote-panel p {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3.1rem);
  letter-spacing: -0.02em;
  color: #f7efe7;
}

.sponsor-card,
.partner-card {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding: 2.4rem 2.8rem;
  border-radius: calc(var(--radius) + 0.4rem);
  background:
    radial-gradient(circle at 8% 50%, rgba(225, 29, 53, 0.08), transparent 38%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.13);
  box-shadow: var(--shadow);
}

.partner-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.partner-logo-block {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dd-logo {
  width: 18rem;
  max-width: 100%;
  height: auto;
  display: block;
}

.partner-divider {
  width: 1px;
  height: 4rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.partner-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 32rem;
}

/* Title-partner lockup — World Fit Gym x D.Diamonds, set apart from collaborators */
.partner-card--title {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.4rem;
  border: 1px solid rgba(225, 29, 53, 0.38);
  box-shadow: 0 0 70px rgba(225, 29, 53, 0.13);
}

.partner-tag {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: #e11d35;
  font-weight: 700;
}

.partner-lockup {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.8rem;
}

.partner-lockup-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  color: #f7efe7;
  letter-spacing: 0.01em;
}

.partner-lockup-x {
  color: #e11d35;
  font-size: 1.4rem;
  font-weight: 300;
}

.partner-card--title .dd-logo {
  width: 14rem;
}

.partner-card--title .wf-logo {
  width: 11rem;
  height: auto;
  display: block;
}

.collaborator-intro {
  margin-top: 4rem;
}

.collaborator-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.2rem;
  margin-top: 2.2rem;
}

.collaborator-card {
  position: relative;
  overflow: hidden;
  padding: 2.2rem 1.6rem 1.6rem;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  min-height: 13rem;
}

.collaborator-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.collaborator-logo {
  width: 100%;
  max-width: 13rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.collaborator-logo img {
  width: 100%;
  height: 7rem;
  object-fit: contain;
  object-position: center center;
  display: block;
  margin: 0 auto;
}

.collaborator-logo svg {
  width: 100%;
  height: auto;
  max-height: 7rem;
}

.collaborator-credit {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.22rem;
  text-transform: uppercase;
  color: rgba(247, 239, 231, 0.45);
}

.sponsor-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 35%);
  pointer-events: none;
}

.sponsor-logo-wrap {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  flex-shrink: 0;
}

.sponsor-diamond-svg {
  width: 5.2rem;
  height: 5.2rem;
  filter: drop-shadow(0 4px 18px rgba(247, 239, 231, 0.08));
}

.sponsor-wordmark {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sponsor-brand {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--text);
}

.sponsor-city {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.3rem;
  text-transform: uppercase;
  color: rgba(247, 239, 231, 0.46);
}

.sponsor-divider {
  width: 1px;
  height: 4rem;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.sponsor-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 32rem;
}

.registration-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 1.6rem;
  padding: clamp(1.4rem, 3vw, 2.4rem);
  border-radius: calc(var(--radius) + 0.4rem);
  background:
    radial-gradient(circle at right top, rgba(225, 29, 53, 0.14), transparent 26%),
    radial-gradient(circle at left bottom, rgba(255, 255, 255, 0.08), transparent 32%),
    rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: var(--shadow);
}

.registration-copy p {
  max-width: 32rem;
}


.registration-forms {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.registration-tabs {
  display: flex;
  gap: 0.4rem;
  padding: 0.3rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  align-self: flex-start;
  max-width: 100%;
}

.reg-tab {
  background: transparent;
  border: 0;
  color: rgba(248, 241, 231, 0.62);
  padding: 0.62rem 1.2rem;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  border-radius: 999px;
  cursor: pointer;
  transition: color 220ms ease, background 220ms ease;
  white-space: nowrap;
}

.reg-tab:hover,
.reg-tab:focus-visible {
  color: var(--text);
}

.reg-tab.is-active {
  background: linear-gradient(135deg, #ef3347 0%, #b10f23 100%);
  color: #fff9f3;
  box-shadow: 0 10px 24px rgba(223, 28, 48, 0.22);
}

.registration-forms {
  position: relative;
}

.registration-form {
  display: grid;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 360ms cubic-bezier(0.4, 0, 0.2, 1), transform 360ms cubic-bezier(0.4, 0, 0.2, 1);
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  visibility: hidden;
}

.registration-form.is-visible {
  position: relative;
  inset: auto;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  visibility: visible;
}

.registration-form.is-entering {
  opacity: 0;
  transform: translateY(8px);
}

.registration-form.is-leaving {
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  visibility: visible;
}

.field select,
.field textarea {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
}

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23f7efe7'%3E%3Cpath d='M8 11L3 6h10z' opacity='0.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0 center;
  background-size: 1rem;
  padding-right: 1.4rem;
}

.field select option {
  background: #0e0e0e;
  color: var(--text);
}

.field textarea {
  min-height: 4.5rem;
  line-height: 1.6;
}

.field select:invalid {
  color: rgba(248, 241, 231, 0.34);
}

.field textarea::placeholder {
  color: rgba(248, 241, 231, 0.34);
}

.field-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.field {
  display: grid;
  gap: 0.7rem;
  padding: 1rem 1rem 1.05rem;
  border-radius: 1.4rem;
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid rgba(255, 255, 255, 0.11);
  transition: border-color 180ms ease, transform 180ms ease, background 180ms ease;
}

.field:focus-within {
  border-color: rgba(248, 241, 231, 0.38);
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-1px);
}

.field span {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22rem;
  color: rgba(255, 244, 238, 0.58);
}

.field input {
  width: 100%;
  border: 0;
  outline: 0;
  padding: 0;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
}

.field input::placeholder {
  color: rgba(248, 241, 231, 0.34);
}

.field-full {
  width: 100%;
}

.form-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 0.3rem;
}

.status-copy {
  font-size: 0.92rem;
  color: rgba(248, 241, 231, 0.58);
  line-height: 1.7;
}

.status-copy.is-error {
  color: #ff9da6;
}

.status-copy.is-success {
  color: #f7efe7;
}

.registration-form button[disabled] {
  opacity: 0.84;
  pointer-events: none;
}

.button-loader {
  width: 0;
  height: 0;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.26);
  border-top-color: #fff8ef;
  opacity: 0;
  transition: width 160ms ease, height 160ms ease, opacity 160ms ease;
}

.registration-form.is-submitting .button-loader {
  width: 1rem;
  height: 1rem;
  opacity: 1;
  animation: spin 1s linear infinite;
}

.registration-form.is-success {
  animation: pulseSuccess 560ms ease;
}

.success-state {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: clamp(2rem, 6vw, 4.5rem) clamp(1rem, 4vw, 3rem);
  gap: 1rem;
}

.success-checkmark svg {
  width: 52px;
  height: 52px;
  margin-bottom: 0.5rem;
}

.success-label {
  margin: 0;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.28rem;
  color: var(--accent);
}

.success-heading {
  margin: 0;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.4rem, 6vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--text);
}

.success-body {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 28rem;
}

.success-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.2rem;
  color: rgba(255, 244, 238, 0.32);
}

.footer-shell {
  width: var(--container);
  margin: 0 auto;
  padding: 0 0 3rem;
}

.footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 2.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo {
  width: 6rem;
  height: auto;
  opacity: 0.82;
  filter: drop-shadow(0 4px 12px rgba(223, 28, 48, 0.15));
}

.footer-slogan {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.28rem;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.38);
}

.footer-socials {
  display: flex !important;
  align-items: center;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.social-link {
  display: inline-flex !important;
  align-items: center;
  gap: 0.5rem;
  color: rgba(248, 241, 231, 0.65);
  font-size: 0.84rem;
  transition: color 200ms ease, transform 200ms ease;
  min-width: 1.6rem;
  min-height: 1.6rem;
}

.social-link svg {
  display: block !important;
  flex-shrink: 0;
  fill: rgba(248, 241, 231, 0.85);
  transition: fill 200ms ease;
}

.social-link:hover svg,
.social-link:focus-visible svg {
  fill: var(--accent-strong);
}

.social-link:hover,
.social-link:focus-visible {
  color: var(--text);
}

.footer-copy {
  margin: 0;
  font-size: 0.78rem;
  color: rgba(248, 241, 231, 0.26);
  width: 100%;
  text-align: right;
}

.footer-credit {
  margin: 0.4rem 0 0;
  font-size: 0.56rem;
  letter-spacing: 0.12rem;
  text-transform: uppercase;
  color: rgba(248, 241, 231, 0.3);
  width: 100%;
  text-align: right;
}

.footer-credit a {
  color: var(--accent-strong);
  text-decoration: none;
  transition: color 200ms ease;
}

.footer-credit a:hover,
.footer-credit a:focus-visible {
  color: #ffb0b9;
}

.cursor-shell {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 50;
  opacity: 0;
  transition: opacity 220ms ease;
}

.cursor-shell.is-visible {
  opacity: 1;
}

.cursor-dot,
.cursor-mat {
  position: fixed;
  top: 0;
  left: 0;
  will-change: transform;
}

.cursor-dot {
  width: 0.42rem;
  height: 0.42rem;
  border-radius: 50%;
  background: #fff3eb;
  box-shadow: 0 0 1rem rgba(255, 255, 255, 0.28);
}

.cursor-mat {
  width: 3.1rem;
  height: 3.1rem;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.26));
  transition: transform 120ms ease, scale 160ms ease;
}

.cursor-shell.is-hovering .cursor-mat {
  scale: 1.12;
}

.reveal {
  opacity: 0;
  transform: translateY(1.75rem);
  transition:
    opacity 780ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 780ms cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal[data-reveal="fade"] {
  transform: scale(0.98);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1040px) {
  .hero,
  .registration-panel {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 7rem;
  }

  .experience-grid,
  .field-row {
    grid-template-columns: 1fr;
  }

  .scene-frame {
    min-height: 34rem;
  }

  .sponsor-card,
  .partner-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
    padding: 2rem;
  }

  .sponsor-divider,
  .partner-divider {
    width: 3rem;
    height: 1px;
  }
}

@media (max-width: 760px) {
  .collaborator-grid {
    grid-template-columns: 1fr;
  }

  .topnav {
    display: none;
  }

  .section-shell {
    width: min(100vw - 1.15rem, 100%);
  }

  .hero-title {
    font-size: clamp(3.5rem, 18vw, 5rem);
  }

  .hero-script {
    right: auto;
    left: 0.15rem;
    bottom: -1.55rem;
    font-size: clamp(3.2rem, 14vw, 5.4rem);
  }

  .section-heading h2,
  .registration-copy h2 {
    font-size: clamp(2.35rem, 11vw, 3.3rem);
  }

  .section-script {
    font-size: 2.7rem;
  }

  .scene-frame {
    min-height: 29rem;
    padding: 1rem 0;
  }

  .scene-card {
    width: min(14rem, 78vw);
  }

  .form-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.6rem;
  }

  .footer-copy,
  .footer-credit {
    text-align: left;
  }

  .registration-forms {
    min-width: 0;
    overflow-x: hidden;
  }

  .registration-tabs {
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
  }

  .registration-tabs::-webkit-scrollbar {
    display: none;
  }

  .reg-tab {
    flex-shrink: 0;
    text-align: center;
    padding: 0.6rem 0.9rem;
    font-size: 0.78rem;
  }

  .footer-socials {
    display: flex !important;
    flex-wrap: wrap;
    gap: 1.8rem;
  }

  .social-link span {
    display: none !important;
  }

  .social-link {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    color: rgba(248, 241, 231, 0.85) !important;
    min-width: 2.4rem;
    min-height: 2.4rem;
    justify-content: center;
  }

  .social-link svg {
    display: block !important;
    width: 26px !important;
    height: 26px !important;
    fill: rgba(248, 241, 231, 0.85) !important;
    flex-shrink: 0;
  }

  .hero-meta {
    grid-template-columns: 1fr;
  }
}

@media (hover: none), (pointer: coarse) {
  body,
  body a,
  body button,
  body input {
    cursor: auto !important;
  }

  .cursor-shell {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto !important;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes titleRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatCard {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-0.45rem);
  }
}

@keyframes pulseSuccess {
  0% {
    box-shadow: var(--shadow);
  }

  50% {
    box-shadow: 0 0 0 0.6rem rgba(225, 29, 53, 0.12), var(--shadow);
  }

  100% {
    box-shadow: var(--shadow);
  }
}
