/* ==========================================================================
   Variables
   ========================================================================== */

:root {
  color-scheme: dark;
  --bg: #100c1b;
  --surface: #191127;
  --text: #faf6ff;
  --muted: #c6bbd5;
  --accent: #d5baff;
  --line: #382a49;
  --width: 1160px;
}

/* ==========================================================================
   Base
   ========================================================================== */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 85px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 "Inter", system-ui, sans-serif;
}

button,
input,
select,
textarea {
  font: inherit;
}

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

button,
select {
  cursor: pointer;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid #f2a4e4;
  outline-offset: 4px;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

h1,
h2 {
  letter-spacing: -.055em;
  line-height: 1.06;
}

h1 {
  max-width: 760px;
  font-size: 60px;
  font-weight: 750;
}

h1 em {
  color: #d4b2ff;
  font-style: normal;
}

h2 {
  font-size: 58px;
}

h3,
h4 {
  line-height: 1.25;
}

h3 {
  font-size: 1.35rem;
}

h4 {
  font-size: 1.1rem;
}

/* ==========================================================================
   Layout and accessibility
   ========================================================================== */

.shell {
  width: min(var(--width), calc(100% - 64px));
  margin-inline: auto;
}

.skip {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 10;
  padding: 10px;
  background: var(--bg);
  transform: translateY(-150%);
}

.skip:focus {
  transform: none;
}

/* ==========================================================================
   Header and navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #120d21f5;
  border-bottom: 1px solid var(--line);
}

.nav,
.nav nav,
.footer {
  display: flex;
  align-items: center;
}

.nav {
  min-height: 72px;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 1.15rem;
  font-weight: 800;
  white-space: nowrap;
}

.logo span {
  color: var(--accent);
}

.logo .mark {
  font-size: 1.55rem;
  margin-right: 4px;
}

.nav nav {
  gap: 28px;
  color: var(--muted);
  font-size: .92rem;
}

.nav a:hover,
.footer a:hover {
  color: var(--accent);
}

.nav-cta {
  border: 1px solid #664f83;
  padding: 7px 16px;
  border-radius: 8px;
}

.menu {
  display: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  background:
    linear-gradient(90deg, #100919 3%, #100919ee 28%, #10091956 72%, #10091922),
    url('../img/capsule.webp') center 48% / cover no-repeat;
  min-height: 650px;
  display: grid;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero-inner {
  padding-block: 85px;
}

.eyebrow {
  color: #dcb9ff;
  text-transform: uppercase;
  font-weight: 750;
  letter-spacing: .13em;
  font-size: .75rem;
  margin-bottom: 17px;
}

.dot {
  display: inline-block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #eda6f5;
  box-shadow: 0 0 12px #d98ef6;
  margin-right: 7px;
  vertical-align: 1px;
}

.intro,
.body-text {
  color: var(--muted);
  font-size: 1.08rem;
}

.intro {
  max-width: 460px;
  margin-top: 25px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 750;
  min-height: 48px;
}

.primary {
  background: #d6b9ff;
  color: #1d1030;
}

.primary:hover {
  background: #ecd9ff;
}

.outline {
  border-color: #705d88;
  background: #160c24aa;
}

.outline:hover {
  background: #2b1b3c;
}

/* ==========================================================================
   Meta bar
   ========================================================================== */

.meta {
  border-bottom: 1px solid var(--line);
  background: #161022;
}

.meta-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.meta-inner div {
  padding: 19px 22px;
  border-left: 1px solid var(--line);
  display: grid;
  gap: 2px;
}

.meta-inner div:first-child {
  border-left: 0;
  padding-left: 0;
}

.meta span {
  color: var(--muted);
  font-size: .81rem;
}

.meta strong {
  font-size: 1rem;
}

/* ==========================================================================
   Sections and cards
   ========================================================================== */

.section {
  padding-block: 91px;
}

.about,
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about .body-text {
  padding-top: 28px;
}

.body-text p + p {
  margin-top: 13px;
}

.section h2 + .body-text {
  margin-top: 17px;
}

.band {
  background: #151020;
  border-block: 1px solid var(--line);
}

.cards {
  display: grid;
  gap: 14px;
}

.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 22px;
}

.card p {
  color: var(--muted);
  margin-top: 8px;
}

/* ==========================================================================
   Day tabs
   ========================================================================== */

.day-controls {
  display: flex;
  gap: 8px;
  margin-top: 25px;
}

.day-controls[hidden],
.day[hidden] {
  display: none;
}

.day-controls button {
  background: var(--surface);
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 8px 20px;
}

.day-controls button[aria-pressed=true] {
  background: var(--accent);
  color: #1d1030;
  border-color: var(--accent);
  font-weight: 700;
}

.day {
  margin-top: 24px;
}

.day h3 {
  margin-bottom: 14px;
}

/* ==========================================================================
   Form
   ========================================================================== */

.form {
  display: grid;
  gap: 15px;
}

.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form label {
  display: grid;
  gap: 5px;
  font-size: .91rem;
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid #59476c;
  background: #120d1d;
  color: var(--text);
  border-radius: 7px;
  padding: 9px 10px;
}

.form textarea {
  resize: vertical;
}

.form button {
  justify-self: start;
}

.form button:disabled {
  opacity: .65;
  cursor: wait;
}

.form #status {
  margin: 0;
}

.form #status:empty {
  display: none;
}

/* ==========================================================================
   Footer
   ========================================================================== */

footer {
  background: #151020;
  border-top: 1px solid var(--line);
}

.footer {
  justify-content: space-between;
  gap: 15px;
  min-height: 86px;
  color: var(--muted);
  font-size: .92rem;
}

.footer .logo {
  color: var(--text);
}

/* ==========================================================================
   Responsive: base components
   ========================================================================== */

@media (max-width: 760px) {
  .shell {
    width: calc(100% - 36px);
  }

  .section {
    padding-block: 57px;
  }

  .hero {
    min-height: 530px;
    background-position: 60% center;
  }

  .hero-inner {
    padding-block: 64px;
  }

  .about,
  .contact {
    grid-template-columns: 1fr;
    gap: 23px;
  }

  .about .body-text {
    padding-top: 0;
  }

  .meta-inner div {
    padding: 12px 8px;
  }

  .meta strong {
    font-size: .84rem;
  }

  .footer {
    flex-wrap: wrap;
    padding-block: 18px;
  }

  .nav nav {
    gap: 13px;
  }

  .nav-cta {
    padding: 4px 7px;
  }
}

@media (max-width: 535px) {
  .nav.enhanced .menu {
    display: block;
    background: var(--surface);
    color: var(--text);
    border: 1px solid var(--line);
    padding: 5px 10px;
    border-radius: 6px;
  }

  .nav {
    flex-wrap: wrap;
    padding-block: 11px;
    min-height: 64px;
  }

  .nav nav {
    width: 100%;
    padding-block: 8px;
    flex-wrap: wrap;
  }

  .nav.enhanced nav {
    display: none;
  }

  .nav.enhanced nav.is-open {
    display: flex;
  }

  .two,
  .fields {
    grid-template-columns: 1fr;
  }

  .hero {
    background-image:
      linear-gradient(90deg, #100919f0, #1009198a),
      url('../img/capsule.webp');
  }
}

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

/* ==========================================================================
   Profiles
   ========================================================================== */

.section-heading {
  text-align: center;
  max-width: 650px;
  margin-inline: auto;
}

.four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.profile,
.pass {
  padding: 0;
  overflow: hidden;
}

.profile-media {
  position: relative;
  aspect-ratio: 1.16;
  overflow: hidden;
  background: radial-gradient(ellipse at 55% 27%, #554070, #2c1d43 60%, #20162f);
}

.profile-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, #191127);
}

.portrait-placeholder {
  position: absolute;
  inset: 0;
}

.portrait-placeholder::before,
.portrait-placeholder::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #ae98c755;
}

.portrait-placeholder::before {
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 23%;
}

.portrait-placeholder::after {
  width: 59%;
  height: 43%;
  border-radius: 50% 50% 0 0;
  bottom: 0;
}

.profile-role {
  position: absolute;
  z-index: 1;
  top: 13px;
  left: 13px;
  background: #4e286c;
  color: #faeaff;
  font-size: .7rem;
  font-weight: 750;
  border: 1px solid #8351a4;
  border-radius: 20px;
  padding: 3px 9px;
}

.profile-details {
  padding: 18px;
}

.profile-details h3 {
  font-size: 1.15rem;
}

.profile-details p {
  color: var(--accent);
  font-size: .88rem;
}

/* ==========================================================================
   Pricing passes
   ========================================================================== */

.pricing-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 930px;
  margin: 52px auto 0;
  align-items: stretch;
  gap: 16px;
}

.pass {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border-color: var(--line);
  border-radius: 16px;
}

.pass-top {
  padding: 25px 16px 22px;
  text-align: center;
}

.pass-top p {
  font-size: .83rem;
  min-height: 2.7em;
  color: var(--muted);
}

.pass-icon {
  display: grid;
  place-items: center;
  margin: 0 auto 14px;
  width: 49px;
  height: 49px;
  border-radius: 50%;
  background: #362449;
  color: var(--accent);
  font-size: 1.4rem;
}

.pass-top strong {
  display: block;
  margin-top: 9px;
  color: var(--accent);
  font-size: clamp(1.08rem, 1.65vw, 1.45rem);
  line-height: 1.25;
}

.pass-body {
  padding: 18px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.pass-body ul {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  font-size: .83rem;
  color: var(--text);
}

.pass-body li {
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.pass-body li::before {
  content: "✓";
  margin-right: 7px;
  color: var(--accent);
}

.pass-body .button {
  width: 100%;
  margin-top: auto;
  background: var(--accent);
  color: #21132e;
  padding-inline: 8px;
  font-size: .85rem;
}

.pass-body .button:hover {
  background: #ecd9ff;
}

.pass-featured {
  border-color: #ac7cdb;
  box-shadow: 0 0 24px #ae7ee126;
}

.pass-featured .pass-top {
  background: linear-gradient(135deg, #dbc0ff, #b993e8);
  color: #21132e;
}

.pass-featured .pass-top strong,
.pass-featured .pass-top p {
  color: #21132e;
}

.pass-featured .pass-icon {
  background: #2b193e;
  color: #ead6ff;
}

/* ==========================================================================
   Responsive: profiles and pricing
   ========================================================================== */

@media (min-width: 951px) {
  .pass-featured {
    transform: translateY(-10px);
    margin-bottom: -20px;
  }
}

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

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

  .profile-media {
    aspect-ratio: 1.5;
  }
}

@media (max-width: 650px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 430px;
  }
}

.profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

.profile-media .profile-links {
  position: absolute;
  z-index: 2;
  bottom: 12px;
  left: 12px;
  display: flex;
  gap: 8px;
  margin: 0;
  transition: opacity 180ms ease, transform 180ms ease;
}

.profile-media .profile-links a {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ac8bdd;
  border-radius: 50%;
  background: #302046;
  color: #fff;
  text-decoration: none;
}

.profile-media .profile-links a:hover,
.profile-media .profile-links a:focus-visible {
  background: #65448e;
}

@media (hover: hover) and (pointer: fine) {
  .profile-media .profile-links {
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
  }

  .profile:hover .profile-links,
  .profile:focus-within .profile-links {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-media .profile-links {
    transition: none;
  }
}

#speakers .cards {
  grid-template-columns: repeat(auto-fit, minmax(0, min(100%, 300px)));
  justify-content: center;
}

#speakers .profile-media {
  width: 100%;
  aspect-ratio: 1 / 1;
}

#speakers .profile-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}

#speakers .shell {
  width: min(1262px, calc(100% - 32px));
}

#speakers .cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

@media (max-width: 950px) {
  #speakers .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  #speakers .cards {
    grid-template-columns: 1fr;
  }
}
.footer-links{display:flex;flex-wrap:wrap;gap:.5rem 1rem}
.policy{max-width:860px}
.policy h1{font-size:clamp(2.5rem,7vw,4.5rem)}
.policy .intro{max-width:64ch}
.policy-content{margin-top:2rem;padding:clamp(1rem,4vw,2rem)}
.policy-content section+section{margin-top:1.75rem;padding-top:1.75rem;border-top:1px solid var(--line)}
.policy-content h2{font-size:1.35rem;letter-spacing:0}
.policy-content ul{padding-left:1.25rem;color:var(--muted)}
.policy-content a{color:var(--accent);text-decoration:underline}
