@font-face {
  font-family: "ES Build Neutral";
  src: url("./assets/es-build-neutral-regular.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "ES Build Neutral";
  src: url("./assets/es-build-neutral-medium.woff2") format("woff2");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "ES Build Neutral";
  src: url("./assets/es-build-neutral-bold.woff2") format("woff2");
  font-style: normal;
  font-weight: 600 900;
  font-display: swap;
}

:root {
  --ink: #0b0f0d;
  --green: #00d15f;
  --green-hover: #32f26f;
  --green-dark: #007f49;
  --green-pale: #9cffa3;
  --paper: #f4f5f1;
  --white: #ffffff;
  --dark: #07100c;
  --dark-panel: #101a15;
  --purple: #8e71f4;
  --container: 1380px;
  --page-padding: clamp(1.25rem, 3.35vw, 3rem);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
  color: var(--ink);
  font-family: "ES Build Neutral", Arial, Helvetica, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

img,
svg {
  display: block;
}

a {
  color: inherit;
}

button,
input {
  border: 0;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

::selection {
  background: var(--green);
  color: #06100b;
}

:focus-visible {
  outline: 2px solid var(--green-pale);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 100;
  transform: translateY(-200%);
  border-radius: 999px;
  background: var(--white);
  padding: 0.75rem 1rem;
  color: var(--ink);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--container));
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--dark);
  color: var(--white);
}

.hero-glow,
.hero-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-glow {
  z-index: -2;
  background:
    radial-gradient(circle at 77% 26%, rgb(142 113 244 / 32%), transparent 32%),
    radial-gradient(circle at 13% 78%, rgb(0 209 95 / 18%), transparent 30%),
    linear-gradient(128deg, #07100c 0%, #0b1912 48%, #10132c 100%);
}

.hero-grid {
  z-index: -1;
  opacity: 0.35;
  background-image:
    linear-gradient(rgb(255 255 255 / 5.5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 5.5%) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 1.25rem;
  padding-bottom: 1.25rem;
}

.brand-link {
  flex: 0 0 auto;
}

.brand-link img,
.site-footer img {
  width: auto;
  height: 2.75rem;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-left: auto;
}

.main-nav a {
  color: rgb(255 255 255 / 70%);
  font-size: 0.875rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.main-nav a:hover {
  color: var(--white);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  border-radius: 999px;
  background: var(--green);
  color: #06100b;
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition:
    background-color 180ms ease,
    transform 180ms ease;
}

.pill-button:hover {
  background: var(--green-hover);
}

.pill-button svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 180ms ease;
}

.header-button {
  flex: 0 0 auto;
  padding-inline: 1.25rem;
}

.header-button:hover svg {
  transform: translateY(2px);
}

.hero-layout {
  display: grid;
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(6rem, 8vw, 7rem);
}

.hero-copy {
  width: min(100%, 670px);
}

.event-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 clamp(1.5rem, 2.5vw, 2rem);
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 999px;
  background: rgb(255 255 255 / 6%);
  padding: 0.55rem 1rem;
  color: rgb(255 255 255 / 80%);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.2;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.event-kicker span {
  width: 0.5rem;
  height: 0.5rem;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 20px var(--green);
}

.hero h1 {
  max-width: 640px;
  margin: 0;
  font-size: clamp(2.65rem, 4.5vw, 4.8rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.97;
  text-wrap: balance;
}

.hero-intro {
  max-width: 600px;
  margin: clamp(1.25rem, 2vw, 1.75rem) 0 0;
  color: rgb(255 255 255 / 68%);
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  line-height: 1.78;
  text-wrap: pretty;
}

.event-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 1vw, 0.75rem);
  max-width: 620px;
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0;
}

.detail-card {
  min-width: 0;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 1rem;
  background: rgb(255 255 255 / 5.5%);
  padding: clamp(0.75rem, 1.4vw, 1rem);
  backdrop-filter: blur(8px);
}

.detail-card .detail-icon {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: var(--green-pale);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.detail-card dt {
  margin-top: clamp(1rem, 2vw, 1.25rem);
  color: rgb(255 255 255 / 48%);
  font-size: clamp(0.625rem, 0.85vw, 0.6875rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.detail-card dd {
  margin: 0.25rem 0 0;
  color: rgb(255 255 255 / 88%);
  font-size: clamp(0.6875rem, 1.1vw, 0.875rem);
  font-weight: 600;
  line-height: 1.4;
}

.registration-wrap {
  position: relative;
  width: min(100%, 680px);
  margin-inline: auto;
  scroll-margin-top: 1.5rem;
}

.form-glow {
  position: absolute;
  inset: -3rem;
  z-index: -1;
  border-radius: 50%;
  background: rgb(142 113 244 / 18%);
  filter: blur(64px);
}

.registration-form {
  position: relative;
  border: 1px solid rgb(255 255 255 / 15%);
  border-radius: 2rem;
  background: var(--white);
  padding: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--ink);
  box-shadow: 0 35px 100px rgb(0 0 0 / 34%);
}

.form-heading {
  border-bottom: 1px solid rgb(0 0 0 / 8%);
  padding-bottom: 1.5rem;
}

.form-heading .eyebrow {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.6875rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.form-heading h2 {
  margin: 0.5rem 0 0;
  font-size: clamp(1.5rem, 2.4vw, 1.875rem);
  font-weight: 600;
  letter-spacing: -0.035em;
  line-height: 1.15;
}

.form-heading > p:last-child {
  margin: 0.5rem 0 0;
  color: rgb(0 0 0 / 48%);
  font-size: 0.875rem;
  line-height: 1.5;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 1rem;
  row-gap: 1.25rem;
  margin-top: 1.5rem;
}

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

.field label {
  display: block;
  margin: 0 0 0.5rem;
  color: rgb(0 0 0 / 60%);
  font-size: 0.75rem;
  font-weight: 600;
}

.field input {
  width: 100%;
  height: 2.75rem;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 0.75rem;
  background: #f7f8f5;
  padding: 0 1rem;
  color: var(--ink);
  font-size: 0.875rem;
  outline: none;
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    background-color 160ms ease;
}

.field input::placeholder {
  color: rgb(0 0 0 / 34%);
}

.field input:hover {
  background: #fafbf8;
}

.field input:focus {
  border-color: #00b34f;
  background: var(--white);
  box-shadow: 0 0 0 4px rgb(0 209 95 / 14%);
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.privacy-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.privacy-row input {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  margin: 0.125rem 0 0;
  accent-color: #00b34f;
  cursor: pointer;
}

.privacy-row label {
  color: rgb(0 0 0 / 50%);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1.65;
}

.privacy-row a {
  color: rgb(0 0 0 / 68%);
  font-weight: 600;
  text-decoration-color: rgb(0 0 0 / 20%);
  text-underline-offset: 2px;
}

.submit-button {
  display: flex;
  width: 100%;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  margin-top: 1.5rem;
  border-radius: 999px;
  background: var(--green);
  color: #06100b;
  font-size: 0.875rem;
  font-weight: 800;
  cursor: pointer;
  transition:
    background-color 180ms ease,
    transform 180ms ease,
    opacity 180ms ease;
}

.submit-button:hover:not(:disabled) {
  background: var(--green-hover);
  transform: translateY(-1px);
}

.submit-button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.submit-button svg,
.form-status svg {
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.button-spinner {
  display: none;
}

.button-spinner circle {
  stroke-dasharray: 42;
  stroke-dashoffset: 12;
}

.submit-button.is-loading .button-arrow {
  display: none;
}

.submit-button.is-loading .button-spinner {
  display: block;
  animation: spin 800ms linear infinite;
}

.form-status {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
  border-radius: 0.75rem;
  padding: 0.75rem;
  font-size: 0.75rem;
  line-height: 1.65;
}

.form-status[hidden] {
  display: none;
}

.form-status.is-success {
  background: #effaf1;
  color: #0e6239;
}

.form-status.is-error {
  background: #fff2f0;
  color: #a1291d;
}

.form-status .status-success,
.form-status .status-error {
  display: none;
  margin-top: 0.125rem;
}

.form-status.is-success .status-success,
.form-status.is-error .status-error {
  display: block;
}

.pattern-band {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 3.5rem;
  background-image: url("./assets/unplugged-pattern.png");
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.9;
  pointer-events: none;
}

.section {
  padding: clamp(6rem, 8.5vw, 8rem) 0;
}

.section-intro,
.program-layout {
  display: grid;
  gap: clamp(2.5rem, 5vw, 5rem);
}

.section-label {
  display: flex;
  align-items: center;
  align-self: start;
  gap: 0.75rem;
  margin: 0;
  color: var(--green-dark);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-label::before {
  width: 0.55rem;
  height: 0.55rem;
  flex: 0 0 auto;
  background: var(--green);
  content: "";
  transform: rotate(45deg);
}

.section-label-light {
  color: var(--green-pale);
}

.section-intro h2,
.program-card h2 {
  max-width: 850px;
  margin: 0;
  font-size: clamp(2.25rem, 3.6vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.about-copy {
  display: grid;
  gap: 1.5rem;
  margin-top: 2rem;
  color: rgb(0 0 0 / 58%);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.78;
}

.about-copy p {
  margin: 0;
}

.experience-grid {
  display: grid;
  overflow: hidden;
  gap: 1px;
  margin-top: 5rem;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 2rem;
  background: rgb(0 0 0 / 10%);
}

.experience-card {
  background: #fbfcf8;
  padding: clamp(1.75rem, 3vw, 2.25rem);
  transition: background-color 180ms ease;
}

.experience-card:hover {
  background: var(--white);
}

.card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.round-icon {
  display: grid;
  width: 3rem;
  height: 3rem;
  place-items: center;
  border: 1px solid rgb(0 0 0 / 10%);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  box-shadow: 0 2px 6px rgb(0 0 0 / 5%);
  transition: transform 180ms ease;
}

.experience-card:hover .round-icon {
  transform: rotate(-3deg) scale(1.05);
}

.round-icon svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.card-index {
  color: rgb(0 0 0 / 30%);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
}

.experience-card h3 {
  margin: 4rem 0 0;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.experience-card p {
  margin: 1rem 0 0;
  color: rgb(0 0 0 / 55%);
  font-size: 0.9375rem;
  line-height: 1.85;
}

.resilience-panel {
  position: relative;
  overflow: hidden;
  margin-top: 1.5rem;
  border-radius: 2rem;
  background: #0a0e0c;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--white);
}

.panel-ring {
  position: absolute;
  top: -10rem;
  right: -6rem;
  width: 32.5rem;
  height: 32.5rem;
  border: 4.375rem solid rgb(142 113 244 / 25%);
  border-radius: 50%;
}

.panel-pattern {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 75%;
  height: 6rem;
  background-image: url("./assets/unplugged-pattern.png");
  background-position: left bottom;
  background-repeat: repeat-x;
  background-size: auto 100%;
  opacity: 0.55;
}

.panel-content {
  position: relative;
  display: grid;
  gap: 3.5rem;
}

.database-icon {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--green);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.resilience-panel h3 {
  max-width: 900px;
  margin: clamp(3rem, 5vw, 4rem) 0 0;
  font-size: clamp(2.15rem, 3.45vw, 4rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1;
  text-wrap: balance;
}

.focus-list {
  display: grid;
  align-content: end;
  margin: 0;
  padding: 0;
  list-style: none;
}

.focus-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-bottom: 1px solid rgb(255 255 255 / 12%);
  padding: 1rem 0;
  color: rgb(255 255 255 / 68%);
  font-size: 0.875rem;
}

.focus-list b {
  color: var(--green-pale);
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.program-section {
  background: var(--dark-panel);
  color: var(--white);
}

.program-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 2rem;
  background: rgb(255 255 255 / 5%);
  padding: clamp(2rem, 4vw, 3rem);
}

.program-glow {
  position: absolute;
  top: 0;
  right: 0;
  width: 16rem;
  height: 16rem;
  transform: translate(33%, -33%);
  border-radius: 50%;
  background: rgb(142 113 244 / 30%);
  filter: blur(48px);
}

.program-content {
  position: relative;
}

.program-content > p {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: rgb(255 255 255 / 60%);
  font-size: clamp(1rem, 1.45vw, 1.125rem);
  line-height: 1.78;
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
}

.topic-list li {
  border: 1px solid rgb(255 255 255 / 12%);
  border-radius: 999px;
  background: rgb(255 255 255 / 5%);
  padding: 0.5rem 1rem;
  color: rgb(255 255 255 / 70%);
  font-size: 0.75rem;
}

.sponsors-section {
  border-bottom: 1px solid rgb(0 0 0 / 10%);
  background: var(--white);
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.sponsors-content {
  text-align: center;
}

.section-label.centered {
  justify-content: center;
}

.sponsors-content h2 {
  max-width: 42rem;
  margin: 1.75rem auto 0;
  color: rgb(0 0 0 / 80%);
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
  text-wrap: balance;
}

.sponsor-divider {
  display: flex;
  max-width: 32rem;
  align-items: center;
  gap: 1rem;
  margin: 2.5rem auto 0;
}

.sponsor-divider span {
  height: 1px;
  flex: 1;
  background: rgb(0 0 0 / 10%);
}

.sponsor-divider i {
  width: 0.5rem;
  height: 0.5rem;
  background: var(--green);
  transform: rotate(45deg);
}

.closing-section {
  background: #e8fbe9;
  padding: 5rem 0;
}

.closing-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border: 1px solid rgb(0 127 73 / 10%);
  border-radius: 2rem;
  background: var(--white);
  padding: clamp(2rem, 3vw, 2.5rem);
  box-shadow: 0 25px 70px rgb(9 30 18 / 8%);
}

.closing-card p {
  margin: 0;
  color: var(--green-dark);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.closing-card h2 {
  margin: 0.75rem 0 0;
  font-size: clamp(1.875rem, 3vw, 2.25rem);
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 1.15;
}

.closing-button {
  min-height: 3.5rem;
  flex: 0 0 auto;
  padding-inline: 1.75rem;
}

.closing-button:hover {
  transform: translateY(-2px);
}

.closing-button:hover svg {
  transform: translate(2px, -2px);
}

.site-footer {
  background: #070b09;
  padding: 2.5rem 0;
  color: var(--white);
}

.footer-layout {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.site-footer img {
  height: 2.5rem;
}

.site-footer p {
  margin: 1.25rem 0 0;
  color: rgb(255 255 255 / 42%);
  font-size: 0.75rem;
}

.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.site-footer a {
  color: rgb(255 255 255 / 50%);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 180ms ease;
}

.site-footer a:hover {
  color: var(--white);
}

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

@media (min-width: 48rem) {
  .section-intro,
  .program-layout {
    grid-template-columns: minmax(12rem, 0.72fr) minmax(0, 1.28fr);
  }

  .about-copy {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .experience-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .panel-content {
    grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.85fr);
    align-items: end;
  }
}

@media (min-width: 73.75rem) {
  .hero-layout {
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  }

  .registration-wrap {
    margin-right: 0;
  }
}

@media (max-width: 47.99rem) {
  .main-nav {
    display: none;
  }

  .site-header {
    gap: 1rem;
  }

  .brand-link img {
    height: 2.4rem;
  }

  .header-button {
    min-height: 2.6rem;
    padding-inline: 1rem;
  }

  .hero-layout {
    padding-top: 2rem;
  }

  .event-kicker {
    font-size: 0.675rem;
    letter-spacing: 0.12em;
  }

  .event-details {
    gap: 0.45rem;
  }

  .detail-card {
    border-radius: 0.9rem;
    padding: 0.75rem 0.65rem;
  }

  .detail-card dd {
    overflow-wrap: anywhere;
  }

  .registration-form,
  .resilience-panel,
  .program-card,
  .experience-grid,
  .closing-card {
    border-radius: 1.5rem;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .field-wide {
    grid-column: auto;
  }

  .experience-card h3 {
    margin-top: 3rem;
  }

  .closing-card,
  .footer-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .closing-button {
    align-self: stretch;
  }
}

@media (max-width: 23rem) {
  .hero h1 {
    font-size: 2.35rem;
  }

  .header-button svg {
    display: none;
  }

  .event-kicker {
    max-width: 100%;
  }

  .detail-card dt {
    letter-spacing: 0.08em;
  }
}

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

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