:root {
  --ink: #021317;
  --ink-mid: #032a33;
  --teal: #255c6b;
  --blue: #7cc8d9;
  --paper: #f1efe7;
  --paper-deep: #e6e3d9;
  --white: #ffffff;
  --mist: #eaf3f5;
  --muted: #b6ccd1;
  --gold: #fcc541;
  --gold-deep: #f0ad1f;
  --light-ink: #2a3f43;
  --copy-ink: #3d4f53;
  --heading: "Encode Sans Semi Expanded", "Trebuchet MS", sans-serif;
  --body: "Cairo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--mist);
  font-family: var(--body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.65;
}

img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

a {
  color: inherit;
}

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

h1,
h2,
h3 {
  font-family: var(--heading);
}

h2 {
  margin: 0 0 12.48px;
  font-size: 41.6px;
  font-weight: 700;
  letter-spacing: 0.416px;
  line-height: 43.68px;
}

.shell {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 48px;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 9px 14px;
  border-radius: 8px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-160%);
}

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

.site-header {
  position: sticky;
  z-index: 40;
  top: 0;
  width: 100%;
  height: 69px;
  border-bottom: 1px solid rgba(124, 200, 217, 0.12);
  background: linear-gradient(rgba(2, 19, 23, 0.98), rgba(2, 19, 23, 0.9));
}

.header-inner {
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 11.2px;
  color: var(--mist);
  text-decoration: none;
}

.brand img {
  width: 60px;
  height: auto;
}

.brand > span {
  display: flex;
  flex-direction: column;
  color: var(--blue);
  font-family: var(--heading);
  font-size: 15.4px;
  font-weight: 300;
  letter-spacing: 0.15px;
  line-height: 16px;
}

.brand b {
  color: var(--white);
  font-size: 17.6px;
  font-weight: 700;
  line-height: 18px;
}

nav {
  display: flex;
  align-items: center;
}

.nav-call,
.button-gold {
  background:
    linear-gradient(var(--gold), var(--gold-deep)) padding-box,
    linear-gradient(#ffe9a6, var(--gold-deep) 55%, #b0740c) border-box;
  color: var(--ink);
}

.nav-call {
  display: flex;
  width: 199px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: var(--heading);
  font-size: 14.08px;
  font-weight: 700;
  letter-spacing: 0.2816px;
  line-height: 14.08px;
  text-decoration: none;
  box-shadow: 0 9px 23px rgba(240, 173, 31, 0.2);
}

.hero {
  position: relative;
  display: flex;
  height: 736px;
  align-items: center;
  overflow: hidden;
  padding: 76.8px 0;
  background: var(--ink);
}

.hero-glow {
  position: absolute;
  z-index: 0;
  inset: -128px 0 -96px;
  width: auto;
  height: auto;
  border-radius: 0;
  background: url("assets/hero-background.jpg") center / cover no-repeat;
  filter: none;
}

.hero-grid {
  position: relative;
  z-index: 3;
  display: block;
  min-height: 0;
  padding-top: 0;
}

.hero-copy {
  position: relative;
  z-index: 4;
  width: min(48%, 560px);
  max-width: min(48%, 560px);
  padding: 0;
}

.hero h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 800;
  letter-spacing: 0.32px;
  line-height: 67.2px;
  text-shadow: none;
  text-transform: none;
}

.title-revealed,
.title-focus {
  display: block;
}

.title-revealed {
  color: var(--white);
  font-size: 73.6px;
  font-weight: 800;
  line-height: 77.28px;
}

.title-focus {
  margin-top: 3.2px;
  color: var(--blue);
  font-size: 64px;
  font-weight: 300;
  line-height: 67.2px;
}

.hero-subtitle {
  margin: 17.6px 0 0;
  color: var(--mist);
  font-family: var(--heading);
  font-size: 22.4px;
  font-weight: 500;
  letter-spacing: 0.896px;
  line-height: 31.9984px;
}

.date-lockup {
  display: flex;
  width: auto;
  align-items: center;
  gap: 18px;
  margin: 22.4px 0 32px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--mist);
  backdrop-filter: none;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 600;
  line-height: 26.4px;
}

.date-lockup strong,
.date-lockup span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--mist);
  font-family: inherit;
  font-size: inherit;
  font-weight: 600;
}

.date-lockup strong::before,
.date-lockup span::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14.4px;
}

.button {
  display: inline-flex;
  min-height: 54px;
  align-items: center;
  justify-content: center;
  padding: 0 38.4px;
  border: 2px solid transparent;
  border-radius: 14px;
  font-family: var(--heading);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.32px;
  line-height: 16px;
  text-decoration: none;
  transition: transform 180ms ease, filter 180ms ease;
}

.button:hover,
.nav-call:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.button-ghost {
  border-color: rgba(124, 200, 217, 0.48);
  background: rgba(124, 200, 217, 0.06);
  color: var(--blue);
}

.event-note {
  margin: 19.2px 0 0;
  color: var(--muted);
  font-size: 14.4px;
  line-height: 20.5704px;
}

.event-note span {
  padding-inline: 3px;
  color: var(--muted);
}

.hero-art {
  position: absolute;
  z-index: 1;
  inset: 0;
  width: auto;
  height: auto;
  pointer-events: none;
}

.hero-art img {
  position: absolute;
  z-index: 3;
  right: max(5vw, 20px);
  bottom: -1px;
  width: 212px;
  height: auto;
  filter: none;
}

.diamond {
  position: absolute;
  border-radius: 120px;
  transform: rotate(45deg);
}

.diamond::after {
  display: none;
}

.diamond-one {
  z-index: 1;
  top: -242px;
  left: -752px;
  width: 1358px;
  height: 1358px;
  border: 2px solid rgba(124, 200, 217, 0.65);
  background: rgba(3, 42, 51, 0.93);
  box-shadow: 0 0 24px rgba(0, 0, 0, 0.28);
}

.diamond-two {
  z-index: 2;
  top: -184px;
  left: -694px;
  width: 1242px;
  height: 1242px;
  border: 2px solid rgba(124, 200, 217, 0.58);
  background: rgba(37, 92, 107, 0.72);
  box-shadow: 0 0 22px rgba(0, 0, 0, 0.35);
}

.section-light,
.section-dark,
.section-teal {
  padding: 102.4px 0;
}

.section-light {
  background: var(--paper);
  color: var(--light-ink);
}

.section-dark {
  position: relative;
  background: var(--ink);
  color: var(--mist);
}

.section-teal {
  position: relative;
  overflow: hidden;
  background: linear-gradient(var(--ink-mid), var(--ink));
  color: var(--mist);
}

.split-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 48px;
}

.intro-copy {
  max-width: 573.44px;
}

.intro-copy h2 {
  color: var(--ink);
}

.intro-copy h2 span {
  display: block;
  color: inherit;
}

.intro-copy p:not(.section-kicker) {
  margin-bottom: 17.28px;
  color: var(--copy-ink);
  font-size: 17.28px;
  line-height: 24.6845px;
}

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

.intro-highlight {
  padding-left: 0;
  border-left: 0;
}

.image-frame {
  overflow: hidden;
  margin: 0;
  border: 1px solid rgba(3, 42, 51, 0.12);
  border-radius: 18px;
  background: var(--paper-deep);
  box-shadow: rgba(3, 42, 51, 0.5) 0 16px 40px -18px;
}

.image-frame::before {
  display: none;
}

.image-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 0.75;
  object-fit: cover;
  box-shadow: none;
}

.section-heading {
  max-width: none;
  margin: 0 0 41.6px;
}

.section-heading.centered {
  text-align: center;
}

.section-kicker {
  margin: 0 0 14.4px;
  color: var(--gold);
  font-family: var(--heading);
  font-size: 12.48px;
  font-weight: 600;
  letter-spacing: 2.7456px;
  line-height: 17.8277px;
  text-transform: uppercase;
}

.section-heading h2 {
  color: var(--white);
}

.section-heading > p:last-child:not(.section-kicker) {
  max-width: 581px;
  margin: 31px auto 0;
  color: var(--muted);
  font-size: 17.28px;
  font-weight: 200;
  line-height: 24.192px;
}

.sessions .section-heading {
  min-height: 162.156px;
}

.session-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22.4px;
}

.session-card {
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(124, 200, 217, 0.16);
  border-radius: 18px;
  background: linear-gradient(rgba(37, 92, 107, 0.28), rgba(3, 42, 51, 0.5));
  box-shadow: none;
  padding-bottom: 22.4px;
}

.session-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.card-body {
  min-height: 247.414px;
  padding: 22.4px 24px 27.2px;
}

.night-label {
  margin: 0 0 2.4px;
  color: var(--gold);
  font-family: var(--heading);
  font-size: 12.16px;
  font-weight: 700;
  letter-spacing: 1.9456px;
  line-height: 17.3706px;
  text-transform: uppercase;
}

.session-date {
  margin: 0 0 11.2px;
  color: var(--muted);
  font-size: 14.4px;
  line-height: 20.5704px;
}

.session-card h3 {
  min-height: 47px;
  margin: 0 0 9.6px;
  color: var(--white);
  font-family: var(--heading);
  font-size: 20.48px;
  font-weight: 700;
  letter-spacing: -0.7168px;
  line-height: 23.552px;
}

.session-card .card-body > p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 15.68px;
  line-height: 22.3989px;
}

.location .section-heading {
  margin-bottom: 55px;
}

.location-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: stretch;
  gap: 25.6px;
}

.map-frame {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  height: 368px;
  overflow: hidden;
  padding: 24px;
  border: 1.5px dashed rgba(124, 200, 217, 0.35);
  border-radius: 18px;
  background:
    repeating-linear-gradient(45deg, rgba(124, 200, 217, 0.04) 0 14px, transparent 14px 28px),
    linear-gradient(160deg, #053640, var(--ink));
  box-shadow: none;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 12px;
}

.map-open-link {
  position: absolute;
  z-index: 2;
  bottom: 38px;
  left: 50%;
  width: max-content;
  max-width: calc(100% - 64px);
  padding: 9px 14px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 8px;
  background: rgba(2, 19, 23, 0.9);
  color: var(--white);
  font-family: var(--heading);
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  transform: translateX(-50%);
}

.location-copy {
  display: flex;
  grid-column: 2;
  grid-row: 1;
  min-height: 368px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 32px;
  border: 1px solid rgba(124, 200, 217, 0.18);
  border-radius: 18px;
  background: linear-gradient(rgba(37, 92, 107, 0.3), rgba(3, 42, 51, 0.55));
  text-align: center;
}

.location-copy .section-kicker {
  margin-bottom: 9.6px;
}

.location-copy h3 {
  max-width: 430px;
  margin: 0 0 9px;
  color: var(--white);
  font-size: 23px;
  font-weight: 700;
  letter-spacing: -0.3px;
  line-height: 28px;
}

.location address {
  display: grid;
  margin: 0 0 5px;
  color: var(--mist);
  font-size: 16px;
  font-style: normal;
  line-height: 23px;
}

.location-time {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  line-height: 20px;
}

.location-actions {
  display: flex;
  width: min(292px, 100%);
  align-items: stretch;
  flex-direction: column;
  gap: 12.8px;
}

.location-actions .button {
  width: 100%;
}

.creator-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  align-items: center;
  gap: 38.4px;
}

.creator-photo {
  width: 260px;
  height: 346.664px;
  max-width: 280px;
  overflow: hidden;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(3, 42, 51, 0.18);
  border-radius: 18px;
  background: transparent;
}

.creator-photo img {
  width: 100%;
  height: 100%;
  aspect-ratio: auto;
  object-fit: cover;
}

.creator-copy .section-kicker {
  margin-bottom: 14.4px;
  color: var(--copy-ink);
}

.creator-copy h2 {
  margin: 0 0 1.6px;
  color: var(--copy-ink);
  font-size: 25.6px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 36.5696px;
}

.creator-role {
  margin: 0 0 16px;
  color: var(--copy-ink);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.7px;
  line-height: 19.999px;
}

.creator-copy > p:last-child {
  max-width: none;
  margin: 0;
  color: var(--copy-ink);
  font-size: 14px;
  line-height: 19.999px;
}

.final-call {
  position: relative;
  overflow: hidden;
  min-height: 523px;
  padding: 115.2px 0;
  background: radial-gradient(120% 120% at 50% 0%, rgba(37, 92, 107, 0.5), var(--ink) 65%);
  color: var(--mist);
  text-align: center;
}

.final-call::before,
.final-call::after {
  display: none;
}

.final-call-inner {
  max-width: 1180px;
}

.final-call .section-kicker {
  margin-bottom: 14px;
}

.final-call h2 {
  margin: 0 0 8px;
  color: var(--white);
  font-size: 51.2px;
  font-weight: 800;
  letter-spacing: -1.792px;
  line-height: 53.76px;
}

.final-call p:not(.section-kicker):not(.phone-copy) {
  max-width: 520px;
  margin: 0 auto 32px;
  color: var(--muted);
  font-size: 18.4px;
  line-height: 26.2844px;
}

.final-call .button {
  min-height: 60px;
  padding-inline: 46.4px;
  font-size: 18.4px;
  letter-spacing: 0.368px;
  line-height: 18.4px;
}

.phone-copy {
  margin: 20.8px 0 0;
  color: var(--muted);
  font-size: 14.72px;
  line-height: 21px;
}

footer {
  border-top: 1px solid rgba(124, 200, 217, 0.1);
  background: var(--ink);
  color: rgba(182, 204, 209, 0.55);
}

.footer-inner {
  display: flex;
  min-height: 134px;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  font-size: 13.44px;
  line-height: 19.2px;
}

.footer-inner p {
  margin: 0;
}

.footer-inner a {
  color: var(--muted);
  text-decoration: none;
}

.button:focus-visible,
.nav-call:focus-visible,
.map-open-link:focus-visible,
.brand:focus-visible,
.dialog-phone:focus-visible,
.dialog-close:focus-visible,
footer a:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.contact-dialog {
  width: min(570px, calc(100% - 40px));
  max-height: calc(100dvh - 40px);
  overflow: auto;
  padding: 0;
  border: 1px solid rgba(124, 200, 217, 0.3);
  border-radius: 18px;
  background: linear-gradient(155deg, #053640, var(--ink) 70%);
  color: var(--mist);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.55);
}

.contact-dialog::backdrop {
  background: rgba(1, 12, 15, 0.78);
  backdrop-filter: blur(5px);
}

.contact-dialog-inner {
  position: relative;
  padding: 42px;
  text-align: center;
}

.dialog-close {
  position: absolute;
  top: 13px;
  right: 15px;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(124, 200, 217, 0.28);
  border-radius: 50%;
  background: rgba(124, 200, 217, 0.06);
  color: var(--muted);
  font: 400 25px/1 var(--body);
  cursor: pointer;
}

.contact-dialog h2 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: 32px;
  letter-spacing: -0.6px;
  line-height: 36px;
}

.dialog-intro {
  max-width: 430px;
  margin: 0 auto 25px;
  color: var(--muted);
  font-size: 15px;
  line-height: 22px;
}

.dialog-phone {
  display: flex;
  width: fit-content;
  margin: 0 auto 24px;
  align-items: center;
  flex-direction: column;
  color: var(--blue);
  font-family: var(--heading);
  font-size: 31px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 38px;
  text-decoration: none;
}

.dialog-phone span {
  color: var(--gold);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 18px;
  text-transform: uppercase;
}

.dialog-phone:hover {
  color: var(--gold);
}

.dialog-event-details {
  display: grid;
  gap: 2px;
  margin: 0 0 28px;
  padding: 18px;
  border-top: 1px solid rgba(124, 200, 217, 0.18);
  border-bottom: 1px solid rgba(124, 200, 217, 0.18);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 21px;
}

.dialog-event-details strong {
  color: var(--white);
  font-family: var(--heading);
  font-size: 16px;
}

.dialog-actions {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.dialog-actions .button {
  min-width: 0;
  padding-inline: 22px;
  font-size: 13.5px;
}

.dialog-actions button {
  cursor: pointer;
}

.copy-status {
  min-height: 21px;
  margin: 10px 0 -14px;
  color: var(--gold);
  font-size: 13px;
  line-height: 21px;
}

.reveal-on-scroll,
.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: none;
  transition: none;
}

@media (max-width: 780px) {
  .shell {
    padding-inline: 20px;
  }

  .brand > span {
    display: none;
  }

  .hero {
    display: block;
    height: 776px;
    padding: 0;
  }

  .hero-glow {
    inset: 0;
    background-position: 58% center;
  }

  .hero-grid {
    height: 641px;
    padding-top: 72px;
  }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    padding-bottom: 346.2px;
  }

  .title-revealed {
    font-size: 41.6px;
    line-height: 43.68px;
  }

  .title-focus {
    margin-top: 1.76px;
    font-size: 35.2px;
    line-height: 36.96px;
  }

  .hero-subtitle {
    margin-top: 17.6px;
    font-size: 16.8px;
    letter-spacing: 0.672px;
    line-height: 23.9988px;
  }

  .date-lockup {
    flex-wrap: wrap;
    gap: 8px 18px;
    margin: 20.8px 0 28.8px;
  }

  .hero-actions,
  .event-note {
    display: none;
  }

  .hero-art img {
    right: 14px;
    width: 150px;
  }

  .diamond-one {
    top: -480px;
    left: -510px;
    width: 920px;
    height: 920px;
    border-radius: 90px;
  }

  .diamond-two {
    top: -415px;
    left: -485px;
    width: 820px;
    height: 820px;
    border-radius: 78px;
  }

  .section-light,
  .section-dark,
  .section-teal {
    padding: 56px 0;
  }

  h2,
  .section-heading h2 {
    margin-bottom: 8.16px;
    font-size: 27.2px;
    letter-spacing: 0.272px;
    line-height: 28.56px;
  }

  .split-grid,
  .session-grid,
  .location-grid,
  .creator-grid {
    grid-template-columns: 1fr;
  }

  .split-grid {
    gap: 25.6px;
  }

  .intro-copy {
    max-width: none;
    min-height: 471px;
  }

  .intro-copy p:not(.section-kicker) {
    font-size: 16px;
    line-height: 24px;
  }

  .image-frame {
    max-width: 440px;
    margin: 25.6px auto 0;
  }

  .image-frame img {
    aspect-ratio: 1.6;
  }

  .section-heading {
    margin-bottom: 41.6px;
  }

  .sessions .section-heading {
    min-height: 195px;
  }

  .section-heading > p:last-child:not(.section-kicker) {
    margin-top: 24px;
  }

  .session-grid {
    gap: 22.4px;
  }

  .session-card {
    padding-bottom: 0;
  }

  .session-card h3 {
    min-height: 0;
  }

  .location .section-heading {
    min-height: 72px;
    margin-bottom: 38.4px;
  }

  .map-frame,
  .location-copy {
    grid-column: 1;
  }

  .map-frame {
    grid-row: 1;
    height: 300px;
  }

  .location-copy {
    grid-row: 2;
    min-height: 424px;
  }

  .creator-grid {
    gap: 38.4px;
    min-height: 664px;
  }

  .creator-photo {
    width: min(280px, 100%);
    height: 373.3px;
    margin-inline: auto;
  }

  .final-call {
    min-height: 453px;
    padding: 60px 0;
  }

  .final-call h2 {
    font-size: 32px;
    letter-spacing: -1.12px;
    line-height: 33.6px;
  }

  .final-call p:not(.section-kicker):not(.phone-copy) {
    font-size: 16.8px;
    line-height: 24px;
  }
}

@media (max-width: 430px) {
  .nav-call {
    width: 199px;
  }

  .date-lockup {
    align-items: flex-start;
    flex-direction: column;
  }

  .location-copy {
    padding-inline: 24px;
  }

  .final-call .button {
    width: 100%;
    padding-inline: 20px;
  }

  .contact-dialog-inner {
    padding: 38px 22px 30px;
  }

  .contact-dialog h2 {
    font-size: 27.2px;
    line-height: 30px;
  }

  .dialog-phone {
    font-size: 28px;
  }

  .dialog-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .dialog-actions .button {
    width: 100%;
  }

  .footer-inner {
    padding-block: 34px;
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
  }
}

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

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