:root {
  --black: #000000;
  --white: #ffffff;
  --clinical-gray: #e6e6e6;
  --graph-gray: #d9d9d9;
  --text: #121212;
  --muted: #5d6266;
  --line: rgba(0, 0, 0, 0.12);
  --green: #12baa1;
  --pink: #e038ab;
  --blue: #3087ff;
  --purple: #9c1fc7;
  --orange: #f2733b;
  --focus: rgba(48, 135, 255, 0.36);
  --font-brand: "Articulat CF", Aptos, "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    linear-gradient(90deg, var(--clinical-gray) 0%, var(--white) 50%, var(--white) 100%);
  font-family: var(--font-brand);
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  opacity: 0.32;
  background-image: url("data:image/svg+xml,%3Csvg width='32' height='32' viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='2' cy='2' r='1' fill='%23000000' fill-opacity='.16'/%3E%3C/svg%3E");
  background-size: 32px 32px;
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.16) 64%, transparent);
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

button,
input {
  font: inherit;
}

.skip-link {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 100;
  transform: translateY(-140%);
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--white);
  background: var(--black);
  text-decoration: none;
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 56px;
}

.header-logos {
  display: flex;
  align-items: center;
  gap: 22px;
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  width: 164px;
  min-height: 52px;
}

.brand-logo img,
.partner-logo img {
  width: 100%;
  height: auto;
}

.partner-logo {
  display: inline-flex;
  align-items: center;
  width: 72px;
}

.eyebrow,
.step-number {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 88svh;
  padding: 154px 56px 56px;
}

.hero::after {
  position: absolute;
  right: -16%;
  bottom: -34%;
  z-index: -1;
  width: 52rem;
  height: 52rem;
  content: "";
  border-radius: 50%;
  opacity: 0.2;
  background:
    radial-gradient(circle at 30% 30%, rgba(18, 186, 161, 0.8), rgba(48, 135, 255, 0.32) 34%, rgba(224, 56, 171, 0.2) 58%, transparent 72%);
}

.hero-inner,
.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.hero-inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 54px;
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 660px;
}

.eyebrow {
  margin: 0 0 6px;
  color: var(--muted);
}

.invitation-note {
  margin: 0 0 18px;
  color: #3d4348;
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.3;
}

.hero-topic {
  max-width: 620px;
  margin-bottom: 22px;
  color: #202427;
  font-size: 1.55rem;
  font-weight: 400;
  line-height: 1.22;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 18px;
  color: #9a9a9a;
  font-size: 4.8rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  color: var(--text);
  font-size: 3.2rem;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0;
}

.hero-subhead {
  max-width: 560px;
  margin-bottom: 22px;
  color: #34383b;
  font-size: 1.28rem;
  line-height: 1.42;
}

.brand-line {
  display: inline-block;
  margin-bottom: 14px;
  font-size: 1.12rem;
  font-weight: 700;
}

.event-meta {
  margin-bottom: 34px;
  color: #34383b;
  font-size: 1rem;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.gradient-text {
  color: transparent;
  background: linear-gradient(100deg, var(--blue) 0%, var(--pink) 78%);
  -webkit-background-clip: text;
  background-clip: text;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 50px;
  padding: 0 22px 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 700;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.button-primary {
  color: var(--white);
  background: var(--black);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.button-icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--white);
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.button-primary:disabled {
  cursor: wait;
  opacity: 0.7;
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  pointer-events: none;
}

.hero-lenses {
  position: absolute;
  top: 50%;
  right: -74px;
  width: min(720px, 112%);
  height: auto;
  transform: translateY(-50%);
  filter: drop-shadow(0 36px 70px rgba(48, 135, 255, 0.12));
}

.section-band {
  padding: 104px 56px;
}

.about {
  background: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.about-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 58px;
  align-items: start;
}

.section-copy p {
  max-width: 560px;
  color: #33383c;
  font-size: 1.1rem;
}

.region-callout {
  max-width: 560px;
  margin-top: 28px;
  padding: 24px;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box,
    linear-gradient(135deg, rgba(18, 186, 161, 0.7), rgba(48, 135, 255, 0.65), rgba(224, 56, 171, 0.55)) border-box;
  box-shadow: 0 18px 44px rgba(48, 135, 255, 0.1);
}

.section-copy .callout-kicker {
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
}

.region-callout h3 {
  margin-bottom: 16px;
  font-size: 1.24rem;
}

.region-callout p {
  margin-bottom: 10px;
  font-size: 1rem;
}

.region-callout p:last-child {
  margin-bottom: 0;
}

.expectations > .eyebrow {
  margin-bottom: 18px;
}

.signal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  align-self: stretch;
  gap: 20px;
}

.signal {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
}

.signal-wide {
  grid-column: 1 / -1;
}

.signal-icon {
  display: inline-grid;
  place-items: center;
  color: var(--black);
}

.signal-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(18, 186, 161, 0.14), rgba(224, 56, 171, 0.12));
}

.signal-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.signal p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.48;
}

.participants {
  background: rgba(255, 255, 255, 0.84);
}

.participants-grid {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 58px;
  align-items: start;
}

.participants-content {
  padding: 30px;
  border: 1px solid transparent;
  border-radius: 8px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)) padding-box,
    linear-gradient(135deg, rgba(18, 186, 161, 0.7), rgba(48, 135, 255, 0.65), rgba(224, 56, 171, 0.55)) border-box;
  box-shadow: 0 18px 44px rgba(48, 135, 255, 0.1);
}

.participants-list {
  display: grid;
  gap: 18px;
  margin: 0 0 24px;
  padding: 0;
  list-style: none;
}

.participants-list li {
  position: relative;
  padding-left: 24px;
  color: #33383c;
  font-size: 1.08rem;
  line-height: 1.45;
}

.participants-list li::before {
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 7px;
  height: 7px;
  content: "";
  border-radius: 50%;
  background: linear-gradient(135deg, var(--green), var(--blue), var(--pink));
}

.participants-content p {
  margin-bottom: 14px;
  color: var(--black);
  font-size: 1.12rem;
  line-height: 1.5;
}

.participants-content p:last-child {
  margin-bottom: 0;
}

.rsvp {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(230, 230, 230, 0.34));
}

.rsvp::before {
  position: absolute;
  top: 52px;
  right: -180px;
  width: 420px;
  height: 420px;
  content: "";
  border-radius: 50%;
  opacity: 0.14;
  background: radial-gradient(circle, var(--orange), var(--pink) 40%, transparent 70%);
}

.rsvp-heading {
  max-width: 760px;
  margin-bottom: 46px;
}

.rsvp-note {
  margin-bottom: 8px;
  color: #33383c;
  font-size: 1.12rem;
}

.rsvp-note-secondary {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1rem;
}

.event-step,
.contact-step {
  position: relative;
  z-index: 1;
}

.event-step {
  margin-bottom: 40px;
}

.step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.step-heading h3 {
  margin-bottom: 0;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.7);
}

.form-message,
.field-error {
  color: #9b1c1c;
}

.form-message {
  margin: 16px 0 0;
  font-weight: 700;
}

.contact-step[hidden],
.confirmation[hidden],
.form-message[hidden] {
  display: none;
}

.rsvp-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 880px;
}

.field {
  display: grid;
  gap: 8px;
}

.field-full {
  grid-column: 1 / -1;
}

label {
  font-weight: 700;
}

.required-marker {
  color: #c5162e;
}

input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.86);
}

input:hover {
  border-color: rgba(0, 0, 0, 0.24);
}

input[aria-invalid="true"] {
  border-color: #9b1c1c;
  box-shadow: 0 0 0 3px rgba(155, 28, 28, 0.08);
}

.field-error {
  min-height: 1.2em;
  font-size: 0.9rem;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-top: 8px;
}

.privacy-note {
  max-width: 520px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.confirmation {
  max-width: 700px;
  padding-top: 20px;
}

.confirmation h2 {
  margin-bottom: 12px;
}

.confirmation p:last-child {
  color: #33383c;
  font-size: 1.18rem;
}

.site-footer {
  padding: 44px 56px 52px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.64);
}

.footer-inner {
  display: grid;
  grid-template-columns: 0.84fr 1.16fr;
  gap: 58px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand {
  margin-bottom: 0;
  font-weight: 700;
}

.footer-copy {
  max-width: 660px;
}

.footer-copy p {
  margin-bottom: 6px;
  color: #33383c;
  font-size: 1.06rem;
  line-height: 1.45;
}

.footer-copy p:last-child {
  margin-bottom: 0;
}

.footer-links {
  display: flex;
  grid-column: 1 / -1;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 10px;
  color: rgba(93, 98, 102, 0.74);
  font-size: 0.82rem;
}

.footer-links a {
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  .site-header {
    padding: 28px 34px;
  }

  .hero {
    min-height: auto;
    padding: 140px 34px 52px;
  }

  .hero-inner,
  .about-grid,
  .participants-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    gap: 26px;
  }

  h1 {
    font-size: 3.75rem;
  }

  h2 {
    font-size: 2.55rem;
  }

  .hero-visual {
    min-height: 430px;
  }

  .hero-lenses {
    right: 50%;
    width: min(560px, 94vw);
    transform: translate(50%, -50%);
  }

  .section-band {
    padding: 84px 34px;
  }
}

@media (max-width: 720px) {
  .site-header {
    align-items: flex-start;
    padding: 22px 22px;
  }

  .brand-logo {
    width: 142px;
  }

  .header-logos {
    gap: 16px;
  }

  .partner-logo {
    width: 62px;
  }

  .hero {
    padding: 128px 22px 46px;
  }

  h1 {
    font-size: 2.9rem;
    line-height: 1.02;
  }

  h2 {
    font-size: 2.12rem;
  }

  .hero-subhead {
    font-size: 1.08rem;
  }

  .hero-topic {
    font-size: 1.28rem;
  }

  .hero-visual {
    min-height: 310px;
  }

  .section-band,
  .site-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .signal-list,
  .rsvp-form {
    grid-template-columns: 1fr;
  }

  .signal {
    min-height: auto;
  }

  .participants-content {
    padding: 24px;
  }

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

  .button {
    width: 100%;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 12px;
  }

  .brand-logo {
    width: 128px;
  }

  .header-logos {
    gap: 14px;
  }

  .partner-logo {
    width: 56px;
  }

  h1 {
    font-size: 2.42rem;
  }

  h2 {
    font-size: 1.82rem;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
