:root {
  --ink: #111412;
  --paper: #f5f4ef;
  --white: #ffffff;
  --green: #13b979;
  --line: rgba(17, 20, 18, 0.14);
  --radius: clamp(1.6rem, 3.5vw, 3.4rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 0.8rem;
  left: 0.8rem;
  z-index: 100;
  padding: 0.8rem 1rem;
  transform: translateY(-180%);
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

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

.site-header {
  position: fixed;
  top: 1rem;
  left: 50%;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: min(94vw, 1420px);
  min-height: 68px;
  padding: 0.5rem 0.7rem 0.5rem 1.2rem;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 22px;
  background: #e8e8e8;
  box-shadow: 0 12px 40px rgba(18, 22, 19, 0.09);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  width: max-content;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: 156px;
  height: auto;
}

.desktop-nav {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.26rem;
  border-radius: 999px;
  background: var(--ink);
}

.desktop-nav a {
  position: relative;
  z-index: 2;
  min-width: 76px;
  padding: 0.62rem 0.9rem;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-weight: 500;
  text-align: center;
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a:is(:hover, :focus-visible, .active) {
  color: white;
}

.nav-indicator {
  position: absolute;
  top: 0.26rem;
  left: 0.26rem;
  width: 76px;
  height: calc(100% - 0.52rem);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), width 300ms ease;
}

.header-cta {
  justify-self: end;
  padding: 0.8rem 1rem;
  border-radius: 14px;
  background: white;
  box-shadow: inset 0 0 0 1px var(--line);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.header-cta span,
.feature-card__copy a span,
.pill-button span {
  display: inline-block;
  transition: transform 180ms ease;
}

.header-cta:hover span,
.feature-card__copy a:hover span,
.pill-button:hover span {
  transform: translate(3px, -3px);
}

.menu-button,
.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  place-content: center;
  justify-items: center;
  padding: 10rem 6vw 7rem;
  overflow: hidden;
  text-align: center;
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(circle at 50% 55%, rgba(19, 185, 121, 0.1), transparent 30%),
    linear-gradient(rgba(17, 20, 18, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 20, 18, 0.035) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
  content: "";
  mask-image: linear-gradient(to bottom, transparent, black 22%, black 78%, transparent);
}

.hero-orbit {
  position: absolute;
  z-index: -1;
  width: min(76vw, 980px);
  aspect-ratio: 1;
  border: 1px solid rgba(17, 20, 18, 0.09);
  border-radius: 50%;
}

.hero-orbit--two {
  width: min(48vw, 620px);
}

.hero-orbit::after {
  position: absolute;
  top: 50%;
  left: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 8px rgba(19, 185, 121, 0.11);
  content: "";
}

.hero-orbit--one {
  animation: spin 36s linear infinite;
}

.hero-orbit--two {
  animation: spin-reverse 26s linear infinite;
}

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

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

.eyebrow {
  margin: 0 0 1.4rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.closing h2 {
  margin: 0;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(3.5rem, 8.7vw, 8.8rem);
  font-weight: 500;
  line-height: 0.92;
  letter-spacing: -0.07em;
}

h1 em,
h2 em {
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-copy {
  max-width: 560px;
  margin: 2rem 0 0;
  color: rgba(17, 20, 18, 0.62);
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.55;
}

.round-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 138px;
  height: 138px;
  margin-top: 3rem;
  border-radius: 50%;
  background: var(--ink);
  color: white;
  font-size: 0.76rem;
  line-height: 1.25;
  text-decoration: none;
  transition: transform 250ms ease, background 250ms ease;
}

.round-link:hover {
  transform: scale(1.06);
  background: var(--green);
}

.round-link__arrow {
  margin-left: 0.75rem;
  font-size: 1.1rem;
}

.experience {
  width: min(92vw, 1380px);
  margin: 0 auto;
  padding-bottom: 10rem;
}

.section-heading {
  padding: 8rem 0 6rem;
  text-align: center;
}

.section-heading h2,
.closing h2 {
  font-size: clamp(3rem, 7vw, 7.2rem);
}

.feature-card {
  position: sticky;
  top: 102px;
  min-height: min(74svh, 820px);
  margin-bottom: 3.5rem;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: var(--radius);
  background: #193b3c;
  box-shadow: 0 25px 80px rgba(12, 18, 15, 0.15);
  color: white;
  isolation: isolate;
}

.feature-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 900ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.feature-card:hover img {
  transform: scale(1.035);
}

.feature-card--courses img {
  object-position: 50% 45%;
}

.feature-card--news img {
  object-position: 50% 40%;
}

.feature-card--events img {
  object-position: 50% 50%;
}

.feature-card--speakers img {
  object-position: 58% 50%;
}

.feature-card__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(5, 12, 9, 0.84) 0%, rgba(5, 12, 9, 0.58) 36%, rgba(5, 12, 9, 0.06) 75%);
}

.feature-card--courses .feature-card__veil {
  background: linear-gradient(90deg, rgba(4, 37, 45, 0.8), rgba(4, 37, 45, 0.3) 48%, transparent 80%);
}

.feature-card--events .feature-card__veil {
  background: linear-gradient(90deg, rgba(40, 20, 42, 0.81), rgba(40, 20, 42, 0.34) 52%, rgba(40, 20, 42, 0.08));
}

.feature-card--speakers .feature-card__veil {
  background: linear-gradient(90deg, rgba(2, 30, 46, 0.82), rgba(2, 30, 46, 0.35) 53%, rgba(2, 30, 46, 0.05));
}

.feature-card__content {
  display: flex;
  min-height: min(74svh, 820px);
  flex-direction: column;
  justify-content: space-between;
  padding: clamp(2rem, 5vw, 5.5rem);
}

.feature-card__number {
  align-self: flex-end;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: clamp(3rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.07em;
  opacity: 0.42;
}

.feature-card__copy {
  width: min(560px, 70%);
}

.feature-card__copy .eyebrow {
  margin-bottom: 1rem;
  opacity: 0.72;
}

.feature-card__copy h3 {
  margin: 0;
  font-family: Georgia, serif;
  font-size: clamp(4rem, 8.5vw, 9rem);
  font-weight: 400;
  line-height: 0.82;
  letter-spacing: -0.065em;
}

.feature-card__copy > p:not(.eyebrow) {
  max-width: 470px;
  margin: 1.7rem 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.55;
}

.feature-card__copy a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none;
}

.closing {
  display: flex;
  min-height: 85svh;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8rem 6vw;
  background: var(--ink);
  color: white;
  text-align: center;
}

.closing-mark {
  width: 88px;
  height: auto;
  margin-bottom: 2rem;
}

.closing .eyebrow {
  color: rgba(255, 255, 255, 0.5);
}

.pill-button {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  margin-top: 3rem;
  padding: 1.1rem 1.4rem;
  border-radius: 999px;
  background: var(--green);
  color: #071c13;
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 2.6rem 4vw;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.47);
  font-size: 0.72rem;
}

footer p {
  margin: 0;
}

footer p:last-child {
  justify-self: end;
}

.footer-brand {
  color: white;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  text-decoration: none;
}

.reveal {
  animation: reveal 800ms both;
}

.hero h1 { animation-delay: 100ms; }
.hero-copy { animation-delay: 180ms; }
.round-link { animation-delay: 260ms; }

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 820px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 64px;
    padding-right: 0.55rem;
  }

  .desktop-nav,
  .header-cta {
    display: none;
  }

  .menu-button {
    display: grid;
    width: 46px;
    height: 46px;
    place-content: center;
    gap: 4px;
    border: 0;
    border-radius: 14px;
    background: var(--ink);
    cursor: pointer;
  }

  .menu-button span:not(.sr-only) {
    display: block;
    width: 17px;
    height: 1px;
    background: white;
    transition: transform 200ms ease, opacity 200ms ease;
  }

  .menu-button[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(5px) rotate(45deg);
  }

  .menu-button[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .menu-button[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-5px) rotate(-45deg);
  }

  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    display: flex;
    width: 100%;
    height: 100svh;
    flex-direction: column;
    justify-content: center;
    gap: 1.2rem;
    padding: 7rem 2rem 3rem;
    transform: translateY(-110%);
    background: rgba(245, 244, 239, 0.98);
    opacity: 0;
    transition: transform 360ms cubic-bezier(0.2, 0.8, 0.2, 1), opacity 250ms ease;
  }

  .mobile-menu.open {
    transform: translateY(0);
    opacity: 1;
  }

  .mobile-menu a {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: clamp(2.5rem, 12vw, 5rem);
    font-weight: 500;
    letter-spacing: -0.06em;
    text-decoration: none;
  }

  .hero {
    padding-inline: 5vw;
  }

  .hero-orbit--one {
    width: 108vw;
  }

  .hero-orbit--two {
    width: 72vw;
  }

  .feature-card {
    top: 92px;
    min-height: 70svh;
    margin-bottom: 2rem;
  }

  .feature-card__content {
    min-height: 70svh;
  }

  .feature-card__copy {
    width: 100%;
  }

  .feature-card__veil,
  .feature-card--courses .feature-card__veil,
  .feature-card--events .feature-card__veil,
  .feature-card--speakers .feature-card__veil {
    background: linear-gradient(0deg, rgba(4, 14, 10, 0.9) 0%, rgba(4, 14, 10, 0.55) 55%, rgba(4, 14, 10, 0.08) 100%);
  }

  .feature-card--courses img,
  .feature-card--news img,
  .feature-card--events img,
  .feature-card--speakers img {
    object-position: 50% 50%;
  }

  footer {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    text-align: center;
  }

  footer p:last-child {
    justify-self: center;
  }
}

@media (max-width: 520px) {
  .site-header {
    top: 0.55rem;
    width: 96vw;
  }

  .brand-logo {
    width: 144px;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-copy {
    max-width: 90%;
  }

  .round-link {
    width: 120px;
    height: 120px;
  }

  .experience {
    width: 94vw;
  }

  .section-heading {
    padding: 6rem 0 4rem;
  }

  .feature-card {
    top: 82px;
  }

  .feature-card__copy h3 {
    font-size: clamp(3.6rem, 18vw, 5.4rem);
  }

  .feature-card__number {
    font-size: 3.2rem;
  }
}

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

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