@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700&display=swap');

:root {
  --ink: #f3f7f5;
  --muted: #aebcb9;
  --night: #061018;
  --night-deep: #03080d;
  --panel: rgba(13, 29, 39, .76);
  --line: rgba(213, 231, 225, .14);
  --mint: #8be0c3;
  --gold: #e2bd70;
  --content: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 16%, rgba(25, 98, 104, .19), transparent 30rem),
    radial-gradient(circle at 84% 35%, rgba(109, 63, 86, .14), transparent 34rem),
    var(--night-deep);
  font-family: "DM Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  content: "";
  pointer-events: none;
  opacity: .33;
  background-image:
    radial-gradient(circle at 12% 25%, white 0 1px, transparent 1.5px),
    radial-gradient(circle at 72% 18%, white 0 1px, transparent 1.5px),
    radial-gradient(circle at 38% 78%, white 0 .75px, transparent 1.25px),
    radial-gradient(circle at 88% 68%, white 0 .75px, transparent 1.25px);
  background-size: 210px 210px, 290px 290px, 180px 180px, 250px 250px;
}

a {
  color: inherit;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: #061018;
  background: var(--mint);
  border-radius: 999px;
  transform: translateY(-150%);
}

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

.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 50%;
  width: min(calc(100% - 40px), var(--content));
  padding: 28px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  transform: translateX(-50%);
}

.brand,
.universe-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-size: .83rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.brand-mark {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #061018;
  background: var(--mint);
  border-radius: 50%;
  font-size: .72rem;
}

.universe-link {
  color: var(--muted);
}

.brand:hover,
.universe-link:hover,
footer a:hover {
  color: var(--mint);
}

.hero {
  position: relative;
  min-height: 780px;
  padding: 175px max(24px, calc((100vw - var(--content)) / 2)) 90px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, .92fr);
  grid-template-rows: 1fr auto;
  gap: 64px 32px;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(3, 8, 13, .98) 0%, rgba(3, 8, 13, .74) 52%, rgba(3, 8, 13, .18) 100%),
    radial-gradient(circle at 76% 42%, rgba(107, 210, 181, .14), transparent 20rem),
    linear-gradient(180deg, #07131d, #061018);
  border-bottom: 1px solid var(--line);
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 190px;
  content: "";
  background: linear-gradient(transparent, var(--night-deep));
  pointer-events: none;
}

.hero-copy,
.hero-visual,
.hero-facts {
  position: relative;
  z-index: 2;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--mint);
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", system-ui, sans-serif;
  letter-spacing: -.045em;
  line-height: 1.04;
}

h1 {
  max-width: 760px;
  font-size: clamp(3.5rem, 7.5vw, 7.2rem);
  font-weight: 500;
}

h1 em {
  display: block;
  color: var(--mint);
  font-family: Georgia, serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 630px;
  margin: 34px 0 38px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.16rem);
}

.primary-action,
.whatsapp-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 52px;
  padding: 14px 22px;
  color: #051119;
  background: var(--mint);
  border: 1px solid var(--mint);
  border-radius: 999px;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .025em;
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.primary-action:hover,
.whatsapp-action:hover {
  background: #a7efd7;
  box-shadow: 0 12px 34px rgba(91, 210, 174, .16);
  transform: translateY(-2px);
}

.primary-action:focus-visible,
.whatsapp-action:focus-visible,
.brand:focus-visible,
.universe-link:focus-visible,
.poster-frame:focus-visible,
footer a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 4px;
}

.hero-visual {
  position: relative;
  width: min(46vw, 590px);
  height: 540px;
  justify-self: end;
  isolation: isolate;
}

.hero-orbit {
  position: absolute;
  border-radius: 50%;
}

.collage-glow {
  position: absolute;
  z-index: -1;
  inset: 5% 2%;
  content: "";
  background:
    radial-gradient(circle at 30% 55%, rgba(220, 163, 104, .25), transparent 42%),
    radial-gradient(circle at 74% 38%, rgba(69, 200, 207, .24), transparent 43%),
    radial-gradient(circle at 72% 78%, rgba(219, 22, 92, .18), transparent 34%);
  border-radius: 50%;
  filter: blur(34px);
}

.editorial-poster {
  position: absolute;
  margin: 0;
  overflow: hidden;
  background: #0b1720;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 5px;
  box-shadow: 0 24px 55px rgba(0, 0, 0, .56);
  transform-origin: 50% 80%;
}

.editorial-poster::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: linear-gradient(180deg, transparent 52%, rgba(2, 7, 11, .9) 100%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06);
}

.editorial-poster img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.editorial-poster figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 14px;
  left: 16px;
  display: grid;
  color: #fff;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .7);
}

.editorial-poster figcaption span {
  color: rgba(255, 255, 255, .78);
  font-size: .56rem;
  font-weight: 700;
  letter-spacing: .14em;
}

.editorial-poster figcaption strong {
  font-family: "Manrope", sans-serif;
  font-size: clamp(.78rem, 1.3vw, 1rem);
  line-height: 1.15;
}

.editorial-youth {
  z-index: 1;
  top: 21px;
  left: 1%;
  width: 34%;
  height: 45%;
  transform: rotate(-8deg);
}

.editorial-youth img {
  object-position: 51% 28%;
}

.editorial-couple {
  z-index: 3;
  bottom: 16px;
  left: 16%;
  width: 43%;
  height: 70%;
  transform: rotate(-3.5deg);
}

.editorial-couple img {
  object-position: 50% 38%;
}

.editorial-women {
  z-index: 2;
  top: 5px;
  right: 5%;
  width: 42%;
  height: 59%;
  transform: rotate(5deg);
}

.editorial-women img {
  object-position: 50% 28%;
}

.editorial-men {
  z-index: 4;
  right: 0;
  bottom: 0;
  width: 33%;
  height: 51%;
  transform: rotate(7deg);
}

.editorial-men img {
  object-position: 50% 34%;
}

.hero-visual:hover .editorial-youth {
  transform: rotate(-10deg) translate(-4px, -4px);
}

.hero-visual:hover .editorial-couple {
  transform: rotate(-4deg) translate(-3px, 2px);
}

.hero-visual:hover .editorial-women {
  transform: rotate(7deg) translate(4px, -4px);
}

.hero-visual:hover .editorial-men {
  transform: rotate(9deg) translate(5px, 2px);
}

.editorial-poster {
  transition: transform .35s ease;
}

.hero-orbit {
  z-index: 1;
  pointer-events: none;
  border: 1px solid rgba(139, 224, 195, .14);
}

.hero-orbit-one {
  width: 620px;
  height: 620px;
  top: 110px;
  right: -100px;
}

.hero-orbit-two {
  width: 820px;
  height: 820px;
  top: 0;
  right: -220px;
}

.hero-facts {
  grid-column: 1 / -1;
  display: flex;
  gap: clamp(30px, 8vw, 100px);
  align-items: flex-end;
}

.hero-facts p {
  margin: 0;
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.hero-facts strong {
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 2rem;
  font-weight: 500;
}

.hero-facts span {
  color: var(--muted);
  font-size: .8rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.retreats {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 120px 0 70px;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 76px;
}

.section-heading h2,
.closing h2 {
  font-size: clamp(2.7rem, 6vw, 5.5rem);
  font-weight: 500;
}

.section-heading > p:last-child,
.closing > p:not(.eyebrow) {
  max-width: 600px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.retreat-card {
  --accent: var(--mint);
  position: relative;
  margin-bottom: 110px;
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(340px, 1fr);
  gap: clamp(42px, 8vw, 110px);
  align-items: center;
}

.retreat-card:nth-of-type(odd) .poster-frame {
  order: 2;
}

.retreat-card:nth-of-type(odd) .retreat-content {
  order: 1;
}

.retreat-couple { --accent: #dca368; }
.retreat-youth { --accent: #f5cd39; }
.retreat-women { --accent: #45c8cf; }
.retreat-men { --accent: #db165c; }

.poster-frame {
  position: relative;
  display: block;
  width: min(100%, 500px);
  justify-self: center;
  background: #0d1820;
  border: 1px solid color-mix(in srgb, var(--accent) 38%, transparent);
  border-radius: 6px;
  box-shadow: 0 28px 70px rgba(0, 0, 0, .4);
  overflow: hidden;
}

.poster-frame::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
}

.poster-frame img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform .45s ease;
}

.poster-frame:hover img {
  transform: scale(1.015);
}

.retreat-content {
  position: relative;
  padding: 42px 0;
}

.retreat-number {
  position: absolute;
  z-index: -1;
  top: -18px;
  right: 2%;
  margin: 0;
  color: rgba(255, 255, 255, .035);
  font-family: "Manrope", sans-serif;
  font-size: clamp(7rem, 15vw, 12rem);
  font-weight: 700;
  line-height: 1;
}

.retreat-kind {
  margin: 0 0 13px;
  color: var(--accent);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.retreat-content h3 {
  max-width: 600px;
  font-size: clamp(2.7rem, 5vw, 5.2rem);
  font-weight: 500;
}

.retreat-date {
  margin: 21px 0 0;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 600;
}

.retreat-description {
  max-width: 580px;
  margin: 25px 0;
  color: var(--muted);
}

.retreat-details {
  margin: 0 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.retreat-details li {
  position: relative;
  padding: 11px 0 11px 21px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}

.retreat-details li::before {
  position: absolute;
  top: 20px;
  left: 2px;
  width: 6px;
  height: 6px;
  content: "";
  background: var(--accent);
  border-radius: 50%;
}

.whatsapp-action {
  color: var(--ink);
  background: transparent;
  border-color: color-mix(in srgb, var(--accent) 65%, white 10%);
}

.whatsapp-action:hover {
  color: #061018;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 34px color-mix(in srgb, var(--accent) 18%, transparent);
}

.closing {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto 80px;
  padding: clamp(55px, 9vw, 100px);
  text-align: center;
  background:
    linear-gradient(145deg, rgba(18, 49, 56, .88), rgba(9, 21, 29, .9)),
    var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .24);
}

.closing h2,
.closing > p:not(.eyebrow) {
  margin-right: auto;
  margin-left: auto;
}

.closing .primary-action {
  margin-top: 34px;
}

footer {
  width: min(calc(100% - 40px), var(--content));
  margin: 0 auto;
  padding: 30px 0 42px;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  font-size: .82rem;
  letter-spacing: .04em;
}

footer p {
  margin: 0;
}

footer div {
  display: flex;
  gap: 24px;
}

footer a {
  text-decoration: none;
}

@media (max-width: 840px) {
  .hero {
    min-height: 760px;
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    align-content: center;
  }

  .hero-copy {
    max-width: 650px;
  }

  .hero-visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(100%, 560px);
    height: 430px;
    justify-self: center;
    opacity: 1;
  }

  .hero-facts {
    margin-top: 10px;
  }

  .retreat-card,
  .retreat-card:nth-of-type(odd) {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .retreat-card:nth-of-type(odd) .poster-frame,
  .retreat-card:nth-of-type(odd) .retreat-content,
  .poster-frame,
  .retreat-content {
    order: initial;
  }

  .poster-frame {
    width: min(100%, 570px);
    justify-self: start;
  }

  .retreat-content {
    max-width: 650px;
    padding-top: 20px;
  }
}

@media (max-width: 560px) {
  .site-header {
    width: min(calc(100% - 30px), var(--content));
    padding-top: 19px;
  }

  .brand {
    font-size: .68rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }

  .universe-link {
    font-size: .66rem;
  }

  .hero {
    min-height: auto;
    padding: 135px 20px 70px;
  }

  h1 {
    font-size: clamp(3.1rem, 16vw, 4.4rem);
  }

  .hero-intro {
    margin-top: 26px;
  }

  .hero-visual {
    right: auto;
    bottom: auto;
    width: 100%;
    height: 330px;
  }

  .editorial-poster figcaption {
    right: 10px;
    bottom: 9px;
    left: 10px;
  }

  .hero-facts {
    gap: 18px;
    justify-content: space-between;
  }

  .hero-facts p {
    display: grid;
    gap: 0;
  }

  .hero-facts strong {
    font-size: 1.5rem;
  }

  .hero-facts span {
    font-size: .62rem;
  }

  .retreats {
    width: min(calc(100% - 30px), var(--content));
    padding-top: 85px;
  }

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

  .retreat-card {
    margin-bottom: 82px;
  }

  .retreat-content h3 {
    font-size: clamp(2.55rem, 13vw, 3.6rem);
  }

  .retreat-number {
    top: 8px;
    right: 0;
    font-size: 8rem;
  }

  .whatsapp-action,
  .primary-action {
    width: 100%;
  }

  .closing {
    width: calc(100% - 30px);
    margin-bottom: 50px;
    padding: 50px 22px;
  }

  footer {
    width: calc(100% - 30px);
    display: grid;
  }
}

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

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