@charset "UTF-8";

:root {
  color-scheme: light;
  --ink: #24124f;
  --purple: #7049d8;
  --deep-purple: #49239f;
  --aqua: #51d9e8;
  --pink: #f27bc8;
  --paper: #fbf9ff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(ellipse at 9% 15%, rgb(220 207 255 / 48%), transparent 31rem),
    radial-gradient(ellipse at 93% 38%, rgb(192 246 251 / 54%), transparent 34rem),
    var(--paper);
  font-family: "Avenir Next", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  overflow-x: hidden;
}

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

.site-header {
  position: absolute;
  z-index: 5;
  inset: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 27px clamp(22px, 7vw, 100px);
}

.wordmark,
.site-footer > p {
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.12em;
}

.wordmark span,
.site-footer span {
  color: var(--purple);
  font-size: 10px;
}

.header-link,
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.header-link span,
.back-to-top span {
  display: grid;
  width: 29px;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid rgb(73 35 159 / 35%);
  border-radius: 50%;
  color: var(--deep-purple);
  font-size: 15px;
}

.hero {
  position: relative;
  display: grid;
  min-height: 740px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 2vw;
  padding: 125px clamp(24px, 9vw, 132px) 85px;
  overflow: hidden;
}

.hero::before {
  position: absolute;
  top: 16%;
  left: -12vw;
  width: 43vw;
  aspect-ratio: 1;
  border: 1px solid rgb(112 73 216 / 14%);
  border-radius: 50%;
  content: "";
}

.hero-copy {
  position: relative;
  z-index: 2;
  padding-top: 30px;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 22px;
  color: var(--deep-purple);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.eyebrow span {
  width: 7px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--aqua);
  box-shadow: 0 0 0 4px rgb(81 217 232 / 18%);
}

.hero h1 {
  margin: 0;
  color: var(--deep-purple);
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.22;
}

.hero h1 span {
  white-space: nowrap;
  color: var(--purple);
  text-shadow: 3px 3px 0 rgb(81 217 232 / 30%);
}

.hero-note {
  margin: 24px 0 50px;
  color: #74698c;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.scroll-cue {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--deep-purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.scroll-icon {
  display: grid;
  width: 37px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: var(--aqua);
  font-size: 18px;
  animation: cue-bob 1.5s ease-in-out infinite;
}

.hero-visual {
  position: relative;
  z-index: 1;
  width: min(100%, 650px);
  justify-self: end;
  margin: 0;
  padding: 15px 15px 43px;
  border: 1px solid rgb(255 255 255 / 90%);
  background: #fff;
  box-shadow: 18px 22px 0 rgb(81 217 232 / 22%), 0 25px 70px rgb(73 35 159 / 16%);
  transform: rotate(2deg);
}

.hero-visual img,
.gallery-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-visual img {
  aspect-ratio: 1.5;
}

.hero-visual figcaption {
  position: absolute;
  bottom: 14px;
  left: 18px;
  color: var(--deep-purple);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.hero-visual figcaption span {
  padding: 0 5px;
  color: var(--aqua);
}

.orbit {
  position: absolute;
  z-index: -1;
  border: 1px solid rgb(112 73 216 / 25%);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-one {
  inset: -29px -28px 21px 24px;
}

.orbit-two {
  inset: 26px 20px -27px -25px;
  border-color: rgb(81 217 232 / 70%);
}

.hero-stamp {
  position: absolute;
  right: 7%;
  bottom: 9%;
  display: grid;
  width: 83px;
  aspect-ratio: 1;
  place-content: center;
  border: 1px solid var(--deep-purple);
  border-radius: 50%;
  background: var(--aqua);
  color: var(--deep-purple);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  transform: rotate(12deg);
}

.gallery {
  position: relative;
  padding: 105px clamp(24px, 9vw, 132px) 110px;
  background: linear-gradient(180deg, rgb(255 255 255 / 45%), rgb(239 232 255 / 65%) 44%, rgb(227 249 251 / 78%));
}

.section-heading {
  margin: 0 auto 100px;
  text-align: center;
}

.section-heading .eyebrow {
  justify-content: center;
}

.section-heading h2 {
  margin: 0;
  color: var(--deep-purple);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  letter-spacing: 0.06em;
}

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

.section-note {
  margin: 14px 0 0;
  color: #74698c;
  font-size: 13px;
}

.gallery-item {
  display: grid;
  max-width: 1030px;
  grid-template-columns: minmax(0, 1.12fr) minmax(240px, 0.72fr);
  align-items: center;
  gap: clamp(45px, 8vw, 115px);
  margin: 0 auto 125px;
}

.gallery-item:last-child {
  margin-bottom: 0;
}

.gallery-item.reverse {
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.12fr);
}

.gallery-item.reverse .gallery-image {
  order: 2;
}

.gallery-item.reverse .gallery-copy {
  order: 1;
}

.gallery-image {
  position: relative;
  padding: 13px;
  background: white;
  box-shadow: 10px 12px 0 rgb(112 73 216 / 14%), 0 20px 50px rgb(73 35 159 / 12%);
}

.gallery-image::after {
  position: absolute;
  top: -20px;
  right: -17px;
  color: var(--purple);
  content: "♥";
  font-size: 34px;
  animation: star-twinkle 2.4s ease-in-out infinite;
}

.image-lilac {
  background: #d9c8ff;
}

.image-blue {
  background: #a9eff4;
}

.image-pink {
  background: #f9c5eb;
}

.gallery-image img {
  aspect-ratio: 1.5;
}

.image-number {
  position: absolute;
  z-index: 1;
  top: 25px;
  left: 25px;
  display: grid;
  width: 38px;
  aspect-ratio: 1;
  place-items: center;
  border-radius: 50%;
  background: white;
  color: var(--deep-purple);
  font-size: 11px;
  font-weight: 900;
}

.gallery-copy {
  position: relative;
  padding: 20px 0;
}

.gallery-kicker {
  margin: 0 0 17px;
  color: var(--purple);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
}

.gallery-copy h3 {
  margin: 0;
  color: var(--deep-purple);
  font-size: clamp(27px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.45;
}

.gallery-copy > p:not(.gallery-kicker) {
  max-width: 330px;
  margin: 19px 0 0;
  color: #74698c;
  font-size: 13px;
  line-height: 2;
}

.mini-heart {
  display: inline-block;
  margin-top: 28px;
  color: var(--aqua);
  font-size: 23px;
  animation: star-twinkle 2s ease-in-out infinite;
}

.closing {
  padding: 105px 24px 100px;
  background: var(--deep-purple);
  color: white;
  text-align: center;
}

.closing .eyebrow {
  justify-content: center;
  color: #d8ccff;
}

.closing-title {
  margin: 0 0 28px;
  color: white;
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 900;
}

.back-to-top {
  color: white;
}

.back-to-top span {
  border-color: rgb(255 255 255 / 55%);
  color: white;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px clamp(24px, 7vw, 100px);
  background: #211246;
  color: white;
}

.site-footer > p {
  margin: 0;
}

.site-footer span {
  color: var(--aqua);
}

.site-footer small {
  color: #c9c0df;
  font-size: 9px;
  letter-spacing: 0.12em;
}

.reveal {
  opacity: 0;
  transform: translateY(28px) scale(0.985);
  transition: opacity 750ms ease, transform 850ms cubic-bezier(0.2, 0.75, 0.25, 1);
}

.reveal[data-side="left"] {
  transform: translateX(-36px) rotate(-1deg);
}

.reveal[data-side="right"] {
  transform: translateX(36px) rotate(1deg);
}

.reveal.is-visible {
  opacity: 1;
  transform: translate(0) rotate(0) scale(1);
}

@keyframes cue-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(5px); }
}

@keyframes star-twinkle {
  0%, 100% { opacity: 0.65; transform: scale(0.85) rotate(-8deg); }
  50% { opacity: 1; transform: scale(1.12) rotate(8deg); }
}

@media (max-width: 760px) {
  .site-header {
    padding: 20px 22px;
  }

  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 45px;
    padding: 125px 28px 85px;
  }

  .hero-copy {
    padding-top: 20px;
  }

  .hero-note {
    margin-bottom: 28px;
  }

  .hero-visual {
    width: calc(100% - 17px);
    justify-self: center;
  }

  .hero-stamp {
    right: 8%;
    bottom: 50px;
    width: 68px;
    font-size: 9px;
  }

  .gallery {
    padding: 78px 27px 85px;
  }

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

  .gallery-item,
  .gallery-item.reverse {
    grid-template-columns: 1fr;
    gap: 26px;
    margin-bottom: 80px;
  }

  .gallery-item.reverse .gallery-image,
  .gallery-item.reverse .gallery-copy {
    order: initial;
  }

  .gallery-image {
    margin: 0 9px 0 0;
  }

  .gallery-copy {
    padding: 4px 4px 0;
  }

  .mini-star {
    margin-top: 15px;
  }

  .closing {
    padding: 82px 20px;
  }
}

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

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

  .reveal,
  .reveal[data-side="left"],
  .reveal[data-side="right"] {
    opacity: 1;
    transform: none;
  }
}