:root {
  --ink: #0c1821;
  --slate: #383d48;
  --cream: #fbf8e9;
  --paper: #f7f7f0;
  --gold: #f1b434;
  --mint: #93c7bd;
  --line: rgba(12, 24, 33, 0.12);
  --shadow: 0 22px 60px rgba(12, 24, 33, 0.16);
  --display: Georgia, "Times New Roman", serif;
  --sans: Inter, Avenir, Helvetica, Arial, sans-serif;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  overflow-x: hidden;
}

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

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

button,
input {
  font: inherit;
}

.shell {
  width: min(1280px, calc(100vw - 48px));
  margin-inline: auto;
  position: relative;
  z-index: 1;
}

.shell--narrow {
  width: min(720px, calc(100vw - 48px));
}

.section {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}

.section--dark {
  background: var(--ink);
  color: var(--cream);
}

.section__texture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.center {
  text-align: center;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--mint);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.15;
  text-transform: uppercase;
}

.eyebrow--dark {
  color: var(--slate);
}

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

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  color: var(--cream);
  font-size: clamp(4.3rem, 8vw, 6.875rem);
  line-height: 0.9;
  max-width: 100%;
  text-align: center;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.25);
  width: 100%;
}

h1 span {
  display: inline;
}

h2 {
  margin-bottom: 44px;
  font-size: clamp(2.5rem, 5vw, 4rem);
  line-height: 1.04;
}

h3 {
  font-size: 1.9rem;
  line-height: 1.08;
}

p {
  line-height: 1.6;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 26px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button--gold {
  background: var(--gold);
  color: #05070a;
}

.button--large {
  min-width: 258px;
  min-height: 63px;
}

.button--ghost {
  border-color: var(--cream);
  color: var(--cream);
}

.button--outline-gold {
  min-height: 45px;
  border-color: var(--gold);
  color: var(--gold);
}

.hero {
  position: relative;
  z-index: 2;
  min-height: 830px;
  background: var(--ink);
  overflow: visible;
}

.hero__image,
.hero__shade,
.hero__s-stack,
.hero-fragment {
  position: absolute;
  pointer-events: none;
}

.hero__image,
.hero__shade {
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__image {
  object-fit: cover;
  object-position: center;
  opacity: 0.4;
}

.hero__shade {
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(12, 24, 33, 0.5) 0, rgba(12, 24, 33, 0.5) 165px, rgba(12, 24, 33, 0.24) 166px, rgba(12, 24, 33, 0.62) 100%),
    rgba(17, 24, 39, 0.6);
}

.hero__s-stack {
  left: calc(50% - 296px);
  top: 234px;
  width: 592px;
  height: 757px;
  z-index: 1;
  overflow: visible;
}

.hero-fragment {
  background-position: center;
  background-size: cover;
  opacity: 0.72;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-size: contain;
  mask-size: contain;
}

.hero-fragment--top-arch {
  left: 0.84%;
  top: 0;
  width: 67.57%;
  height: 49.14%;
  background-image: url("assets/hero-top-arch-fill.png");
  -webkit-mask-image: url("assets/hero-top-arch-mask.png");
  mask-image: url("assets/hero-top-arch-mask.png");
}

.hero-fragment--top-half {
  left: 45.44%;
  top: 3.04%;
  width: 54.56%;
  height: 18.49%;
  background-image: url("assets/hero-butterfly-fill-top.png");
  -webkit-mask-image: url("assets/hero-butterfly-mask-top.png");
  mask-image: url("assets/hero-butterfly-mask-top.png");
}

.hero-fragment--bottom-arch {
  left: 31.42%;
  top: 50.99%;
  width: 67.57%;
  height: 49.01%;
  background-image: url("assets/hero-fungal-fill.png");
  -webkit-mask-image: url("assets/hero-fungal-mask.png");
  mask-image: url("assets/hero-fungal-mask.png");
}

.hero-fragment--bottom-half {
  left: 0;
  top: 78.73%;
  width: 54.56%;
  height: 18.49%;
  background-image: url("assets/hero-butterfly-fill-bottom.png");
  -webkit-mask-image: url("assets/hero-butterfly-mask-bottom.png");
  mask-image: url("assets/hero-butterfly-mask-bottom.png");
}

.topline {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-top: 16px;
  color: var(--cream);
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
}

.topline p:first-child {
  color: var(--mint);
}

.topline span {
  margin-inline: 12px;
  color: rgba(251, 248, 233, 0.7);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  margin-top: 30px;
}

.logo {
  display: block;
  width: 190px;
}

.logo img {
  width: 165px;
}

.nav__links {
  display: flex;
  gap: 32px;
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 700;
}

.hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 650px;
  padding-top: 120px;
}

.hero__content p {
  width: 100%;
  max-width: min(1130px, 100%);
  margin-top: -110px;
  color: var(--cream);
  font-size: clamp(1.25rem, 2.2vw, 1.875rem);
  line-height: 1.25;
  text-align: center;
  text-shadow: 0 0 10px #000;
}

.hero__content p span {
  display: inline;
}

.adventure {
  min-height: 1120px;
  background: #fdf8ea;
  padding-top: 134px;
}

.adventure .section__texture {
  opacity: 0.2;
}

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

.feature-card {
  position: relative;
  min-height: 600px;
  overflow: hidden;
  border-radius: 12px;
  background: var(--slate);
  color: var(--cream);
  transform: translateZ(0) scale(1);
  transition: transform 220ms ease, box-shadow 220ms ease;
  --parallax-x: 0px;
  --parallax-y: 0px;
}

.feature-card img,
.feature-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.feature-card img {
  object-fit: cover;
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.04);
  transition: transform 280ms ease;
  will-change: transform;
}

.feature-card::after {
  content: "";
  background: rgba(12, 24, 33, 0.6);
}

.feature-card:hover {
  box-shadow: 0 28px 70px rgba(12, 24, 33, 0.22);
  transform: translateY(-8px) scale(1.018);
}

.feature-card:hover img {
  transform: translate3d(var(--parallax-x), var(--parallax-y), 0) scale(1.1);
}

.feature-card__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 600px;
  padding: 40px;
}

.feature-card h3 {
  margin-bottom: 24px;
  font-size: clamp(2.1rem, 3vw, 2.8rem);
}

.feature-card p:not(.eyebrow) {
  max-width: 340px;
  color: rgba(251, 248, 233, 0.82);
  font-size: 1.05rem;
  line-height: 1.45;
}

.philosophy {
  padding-top: 98px;
}

.philosophy__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 28px;
  text-align: center;
}

.philosophy__grid img {
  width: 320px;
  aspect-ratio: 1;
  margin: 0 auto 28px;
  border-radius: 50%;
  object-fit: cover;
}

.philosophy__grid h3 {
  margin-bottom: 12px;
  font-size: 1.9rem;
}

.philosophy__grid p {
  width: min(280px, 100%);
  margin-inline: auto;
  color: rgba(251, 248, 233, 0.62);
}

.audience {
  background: var(--cream);
}

.audience__grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 54px;
  text-align: center;
}

.small-card {
  min-height: 265px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.icon-ring {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  border-radius: 50%;
  background: var(--cream);
  color: var(--slate);
  font-weight: 900;
}

.icon-ring img {
  width: 28px;
  height: 28px;
}

.small-card h3 {
  margin-bottom: 8px;
  font-size: 1.875rem;
}

.small-card p {
  margin-bottom: 0;
  color: var(--slate);
  font-size: 0.95rem;
}

.ticker {
  position: relative;
  z-index: 3;
  display: flex;
  width: max-content;
  margin: -58px 0 -48px;
  padding: 10px 0 8px;
  background: #fff;
  color: #000;
  font-family: var(--display);
  font-size: clamp(3rem, 7vw, 6.25rem);
  line-height: 1;
  animation: ticker 26s linear infinite;
}

.ticker span {
  padding-right: 24px;
  white-space: nowrap;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 32px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
}

.events {
  background: #fff;
}

.events__texture {
  position: absolute;
  right: 0;
  bottom: -70px;
  left: 0;
  width: 100%;
  height: 285px;
  object-fit: cover;
  object-position: bottom center;
  opacity: 0.2;
  pointer-events: none;
}

.carousel-controls {
  display: flex;
  gap: 10px;
}

.round-button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(12, 24, 33, 0.25);
  border-radius: 50%;
  background: #fff;
  color: var(--ink);
  cursor: pointer;
}

.event-row {
  display: grid;
  grid-auto-columns: minmax(320px, 388px);
  grid-auto-flow: column;
  gap: 40px;
  overflow-x: auto;
  padding: 2px 0 24px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
}

.event-card {
  min-height: 582px;
  overflow: hidden;
  scroll-snap-align: start;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--cream);
}

.event-card img {
  width: 100%;
  height: 260px;
  object-fit: cover;
}

.event-card > div {
  padding: 32px;
}

.event-card h3 {
  margin-bottom: 14px;
  font-size: 2.25rem;
}

.event-card p:not(.eyebrow) {
  color: var(--slate);
}

.event-card .button {
  margin-top: 16px;
}

.visit {
  background: var(--mint);
  min-height: 742px;
  padding: 100px 0 120px;
}

.visit__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom center;
  pointer-events: none;
}

.visit .shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.visit h2 {
  margin-bottom: 80px;
  color: #111827;
  font-size: clamp(2.7rem, 5vw, 3.4375rem);
  text-align: center;
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  width: 100%;
  margin-bottom: 80px;
}

.visit-card {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 112px;
  padding: 32px;
  border: 1px solid rgba(12, 24, 33, 0.1);
  border-radius: 14px;
  background: #fff;
}

.visit-card span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border-radius: 50%;
  background: var(--cream);
}

.visit-card img {
  width: 24px;
  height: 24px;
}

.visit-card strong {
  color: var(--ink);
  font-family: var(--display);
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.15;
}

.button--dark {
  background: var(--ink);
  color: var(--cream);
}

.locations {
  padding-top: 70px;
}

.locations__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.location-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  border-radius: 0;
  background: var(--slate);
}

.location-card img,
.location-card::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.location-card img {
  object-fit: cover;
}

.location-card::after {
  content: "";
  background: linear-gradient(180deg, rgba(12, 24, 33, 0.05), rgba(12, 24, 33, 0.72));
}

.location-card div {
  position: absolute;
  z-index: 1;
  right: 32px;
  bottom: 32px;
  left: 32px;
}

.location-card h3 {
  max-width: 380px;
  margin-bottom: 2px;
  color: var(--cream);
}

.location-card p {
  margin-bottom: 0;
  color: rgba(251, 248, 233, 0.78);
}

.membership {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  color: var(--cream);
  text-align: center;
}

.membership > img,
.membership__shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.membership > img {
  object-fit: cover;
}

.membership__shade {
  background: rgba(12, 24, 33, 0.72);
}

.membership__content {
  width: min(720px, calc(100vw - 48px));
}

.membership h2 {
  margin-bottom: 18px;
}

.membership p:not(.eyebrow) {
  max-width: 580px;
  margin: 0 auto 28px;
  color: rgba(251, 248, 233, 0.78);
}

.button-row {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer {
  padding: 88px 0 44px;
  background: var(--ink);
  color: var(--cream);
}

.footer__top {
  display: flex;
  justify-content: space-between;
  gap: 64px;
}

.footer__links {
  display: grid;
  grid-template-columns: repeat(4, 140px);
  gap: 40px;
}

.footer__links h3 {
  margin-bottom: 24px;
  font-family: "Arial Narrow", Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
}

.footer__links a {
  display: block;
  margin-bottom: 12px;
  color: rgba(251, 248, 233, 0.6);
  font-size: 0.9rem;
}

.newsletter {
  width: min(400px, 100%);
}

.newsletter h2 {
  margin-bottom: 14px;
  font-size: 1.75rem;
}

.newsletter p {
  color: rgba(251, 248, 233, 0.6);
  font-size: 0.95rem;
}

.newsletter div {
  display: flex;
  gap: 12px;
}

.newsletter input {
  min-width: 0;
  flex: 1;
  border: 0;
  border-radius: 14px;
  background: rgba(247, 247, 240, 0.12);
  color: var(--cream);
  padding: 14px;
}

.newsletter input::placeholder {
  color: rgba(251, 248, 233, 0.58);
}

.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(251, 248, 233, 0.16);
}

.footer__bottom p {
  margin-bottom: 0;
  color: rgba(251, 248, 233, 0.5);
  font-size: 0.875rem;
}

.socials {
  display: flex;
  gap: 18px;
}

.socials a {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--slate);
  color: var(--cream);
  font-size: 0.78rem;
  font-weight: 800;
}

.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;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.333%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card,
  .feature-card img,
  .ticker {
    animation: none;
    transition: none;
  }

  .feature-card:hover {
    transform: none;
  }
}

@media (max-width: 1050px) {
  .topline {
    display: none;
  }

  .nav {
    align-items: flex-start;
    margin-top: 24px;
  }

  .nav__links {
    display: none;
  }

  .adventure__grid,
  .philosophy__grid,
  .audience__grid,
  .locations__grid,
  .audience__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer__top {
    flex-direction: column;
  }

  .footer__links {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
  }
}

@media (max-width: 640px) {
  .shell {
    width: min(100% - 32px, 1280px);
  }

  .section {
    padding: 68px 0;
  }

  h1 {
    font-size: clamp(2.6rem, 12vw, 2.9rem);
  }

  h1 span {
    display: block;
  }

  h2 {
    margin-bottom: 32px;
  }

  .hero {
    min-height: 720px;
  }

  .nav .button {
    display: none;
  }

  .logo {
    width: 164px;
  }

  .logo img {
    width: 160px;
  }

  .hero__content {
    min-height: 545px;
  }

  .hero__content p {
    width: min(100%, 346px);
    margin-top: -60px;
    font-size: 1.05rem;
  }

  .hero__content p span {
    display: block;
  }

  .hero__s-stack {
    left: 50%;
    top: 184px;
    width: min(592px, 96vw);
    height: auto;
    aspect-ratio: 592 / 757;
    transform: translateX(-50%);
  }

  .feature-card,
  .feature-card__content {
    min-height: 520px;
  }

  .feature-card__content {
    padding: 28px;
  }

  .feature-card,
  .feature-card:hover {
    transform: none;
  }

  .audience__grid,
  .footer__links,
  .locations__grid,
  .visit-grid {
    grid-template-columns: 1fr;
  }

  .philosophy__grid img {
    width: min(280px, 80vw);
  }

  .section-heading,
  .footer__bottom,
  .newsletter div {
    align-items: stretch;
    flex-direction: column;
  }

  .event-row {
    grid-auto-columns: minmax(286px, 86vw);
    gap: 20px;
  }

  .visit {
    min-height: 760px;
    padding: 68px 0 96px;
  }

  .visit h2 {
    margin-bottom: 42px;
  }

  .visit-grid {
    gap: 14px;
    margin-bottom: 44px;
  }

  .visit-card {
    min-height: 82px;
    padding: 18px 22px;
  }

  .visit-card strong {
    font-size: 1.35rem;
  }

  .button-row {
    flex-direction: column;
    align-items: stretch;
  }
}
