:root {
  --cream: #fff7ef;
  --tissue: #f7cfdb;
  --ballet: #eaa6bc;
  --rose: #b83d68;
  --berry: #65213f;
  --ink: #33242b;
  --muted: #725d67;
  --lavender: #ded2e9;
  --butter: #ffe8ac;
  --white: #ffffff;
  --focus: #174f72;
  --content: 70rem;
  --font-display: Georgia, "Times New Roman", serif;
  --font-body: "Trebuchet MS", "Segoe UI", system-ui, sans-serif;
  --font-note: "Segoe Print", "Bradley Hand", "Comic Sans MS", cursive;
}

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

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

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 92% 5%, rgba(234, 166, 188, 0.34), transparent 16rem),
    radial-gradient(circle at 8% 42%, rgba(222, 210, 233, 0.45), transparent 18rem),
    radial-gradient(circle at 88% 78%, rgba(255, 232, 172, 0.34), transparent 16rem),
    var(--cream);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  z-index: 50;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.65rem 1rem;
  color: var(--white);
  background: var(--berry);
  transform: translateY(-200%);
}

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

.site-mark,
main,
.site-footer {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

main {
  overflow: clip;
}

.site-mark {
  display: flex;
  min-height: 4.4rem;
  align-items: center;
  justify-content: space-between;
}

.signature {
  color: var(--berry);
  font-family: var(--font-note);
  font-size: 1.05rem;
  font-weight: 700;
  text-decoration: none;
  transform: rotate(-3deg);
}

.adult-stamp {
  display: grid;
  width: 3.3rem;
  height: 3.3rem;
  place-items: center;
  border: 1px solid rgba(101, 33, 63, 0.45);
  border-radius: 50%;
  color: var(--berry);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transform: rotate(7deg);
  padding-left: 11px;
}

.hero {
  display: grid;
  gap: 1.4rem;
  padding: 0.4rem 0 clamp(5rem, 15vw, 9rem);
}

.hero__copy {
  position: relative;
  z-index: 2;
}

.hero__hello {
  margin: 0 0 -0.25rem 0.35rem;
  color: var(--berry);
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 8vw, 3.4rem);
  font-style: italic;
  line-height: 1;
}

.hero h1 {
  margin: 0;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: clamp(7rem, 38vw, 14rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.085em;
  line-height: 0.78;
}

.hero__blossom {
  position: absolute;
  top: 1rem;
  right: 0;
  width: clamp(3rem, 14vw, 5rem);
  fill: none;
  stroke: var(--berry);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transform: rotate(12deg);
}

.hero__intro {
  max-width: 34rem;
  margin: 1.4rem 0 1.35rem;
  color: var(--muted);
  font-size: clamp(1rem, 3.5vw, 1.12rem);
}

.cta-ribbon {
  position: relative;
  display: inline-flex;
  width: calc(100% - 0.65rem);
  max-width: 24rem;
  min-height: 3.6rem;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  margin-left: 0.2rem;
  padding: 0.85rem 1.25rem;
  color: var(--white);
  background: var(--berry);
  box-shadow: 6px 7px 0 var(--ballet);
  clip-path: polygon(0 9%, 4% 0, 96% 0, 100% 9%, 98% 50%, 100% 91%, 96% 100%, 4% 100%, 0 91%, 2% 50%);
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  transform: rotate(-0.65deg);
  transition: opacity 160ms ease, transform 160ms ease;
}

.cta-ribbon:hover {
  opacity: 0.94;
  transform: rotate(-0.65deg) translateY(-2px);
}

.hero__fine-print {
  margin: 0.9rem 0 0 0.5rem;
  color: var(--muted);
  font-family: var(--font-note);
  font-size: 0.76rem;
  transform: rotate(-2deg);
}

.hero-art {
  position: relative;
  width: min(92%, 25rem);
  margin: 1rem auto 0;
  padding: 1rem 0.7rem 0.8rem;
}

.hero-art::before {
  content: "";
  position: absolute;
  inset: 7% -8% -4%;
  z-index: -2;
  border-radius: 48% 52% 44% 56% / 52% 44% 56% 48%;
  background: var(--lavender);
  transform: rotate(-4deg);
}

.hero-art__thread {
  position: absolute;
  z-index: -1;
  inset: -1rem -2rem -1rem -2.5rem;
  width: calc(100% + 4.5rem);
  height: calc(100% + 2rem);
  fill: none;
  stroke: var(--rose);
  stroke-dasharray: 4 8;
  stroke-linecap: round;
  stroke-width: 2;
}

.hero-portrait {
  position: relative;
  margin: 0;
  padding: 0.55rem;
  border: 1px solid var(--rose);
  border-radius: 50% 50% 2rem 2rem / 35% 35% 2rem 2rem;
  background: var(--cream);
  box-shadow: 0 20px 40px rgba(101, 33, 63, 0.15);
  transform: rotate(1.4deg);
}

.hero-portrait img {
  width: 100%;
  height: 100%;
  border-radius: 50% 50% 1.55rem 1.55rem / 34% 34% 1.55rem 1.55rem;
  object-fit: cover;
}

.hero-portrait picture {
  display: block;
  aspect-ratio: 4 / 5;
}

.hero-portrait figcaption {
  position: absolute;
  right: -0.6rem;
  bottom: 1.1rem;
  padding: 0.25rem 0.65rem;
  color: var(--berry);
  background: var(--butter);
  font-family: var(--font-note);
  font-size: 0.75rem;
  transform: rotate(-5deg);
}

.hero-art__label {
  position: absolute;
  top: 34%;
  left: -3.25rem;
  color: var(--berry);
  font-family: var(--font-note);
  font-size: 0.7rem;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.hero-art__sparkles {
  position: absolute;
  top: 4%;
  right: -2rem;
  width: 4.8rem;
  fill: var(--rose);
}

.universe {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem 1rem;
  align-items: start;
  padding: clamp(4rem, 12vw, 8rem) 0 clamp(6rem, 16vw, 10rem);
  padding-top: 10px;
}

.universe__title {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-left: clamp(0rem, 6vw, 4rem);
}

.scribble {
  margin: 0 0 0.35rem;
  color: var(--rose);
  font-family: var(--font-note);
  font-size: 0.8rem;
  transform: rotate(-2deg);
}

.universe h2,
.socials h2 {
  margin: 0;
  color: var(--berry);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 16vw, 7.5rem);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.84;
}

.universe h2 em {
  color: var(--rose);
  font-weight: 400;
}

.universe__title svg {
  width: 8rem;
  margin: 0.8rem 0 0 2rem;
  fill: none;
  stroke: var(--rose);
  stroke-linecap: round;
  stroke-width: 2;
}

.moment {
  position: relative;
  margin: 0;
}

.moment__frame {
  padding: 0.42rem;
  background: var(--white);
  box-shadow: 0 14px 30px rgba(101, 33, 63, 0.12);
}

.moment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.moment picture {
  display: block;
}

.moment figcaption {
  margin-top: 0.5rem;
  color: var(--berry);
  font-family: var(--font-note);
  font-size: clamp(0.7rem, 2.8vw, 0.86rem);
  line-height: 1.25;
  text-align: center;
}

.moment--cosplay {
  grid-column: 1;
  grid-row: 2;
  align-self: end;
  transform: rotate(-2deg);
}

.moment--cosplay .moment__frame,
.moment--cosplay img {
  border-radius: 48% 48% 1rem 1rem / 26% 26% 1rem 1rem;
}

.moment--cosplay picture {
  aspect-ratio: 4 / 5;
}

.moment--pole {
  grid-column: 2;
  grid-row: 2;
  width: 86%;
  transform: rotate(2.2deg);
}

.moment--pole .moment__frame {
  padding: 0.36rem 0.36rem 1.2rem;
  border-radius: 0.5rem;
}

.moment--pole picture {
  aspect-ratio: 3 / 5;
}

.moment--horse {
  grid-column: 1 / -1;
  grid-row: 4;
  width: min(72%, 18rem);
  margin: 0 auto;
  transform: rotate(-1.3deg);
}

.moment--horse .moment__frame,
.moment--horse img {
  border-radius: 50%;
}

.moment--horse .moment__frame {
  padding: 0.6rem;
  border: 1px solid var(--rose);
  background: var(--cream);
}

.moment--horse picture {
  aspect-ratio: 1;
}

.love-note {
  grid-column: 1 / -1;
  grid-row: 3;
  position: relative;
  max-width: 32rem;
  margin: 1rem auto 0;
  padding: 1.7rem 1.5rem 1.1rem;
  border: 1px solid rgba(184, 61, 104, 0.28);
  background: rgba(255, 255, 255, 0.68);
  transform: rotate(0.6deg);
}

.love-note::before {
  content: "";
  position: absolute;
  top: -0.55rem;
  left: 45%;
  width: 4.2rem;
  height: 1rem;
  background: rgba(247, 207, 219, 0.85);
  transform: rotate(-3deg);
}

.love-note p {
  margin: 0;
  color: var(--muted);
}

.love-note__signoff {
  margin-top: 0.6rem !important;
  color: var(--rose) !important;
  font-family: var(--font-note);
  text-align: right;
}

.universe__flower {
  position: absolute;
  right: 5%;
  bottom: 5%;
  width: 4rem;
  height: 4rem;
  transform: rotate(16deg);
}

.universe__flower span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.55rem;
  height: 2.45rem;
  border: 1px solid var(--rose);
  border-radius: 50%;
  transform-origin: 50% 100%;
}

.universe__flower span:nth-child(1) { transform: translate(-50%, -100%) rotate(0deg); }
.universe__flower span:nth-child(2) { transform: translate(-50%, -100%) rotate(90deg); }
.universe__flower span:nth-child(3) { transform: translate(-50%, -100%) rotate(180deg); }
.universe__flower span:nth-child(4) { transform: translate(-50%, -100%) rotate(270deg); }

.secret {
  position: relative;
  display: grid;
  gap: 1.6rem;
  align-items: center;
  margin: 1.5rem 0 clamp(7rem, 17vw, 11rem);
  padding: clamp(3rem, 10vw, 5rem) clamp(1.5rem, 7vw, 4.5rem);
  color: var(--white);
  background: var(--berry);
  border-radius: 2.5rem 6rem 2.8rem 5rem / 3.5rem 4.5rem 3rem 4rem;
  box-shadow: 10px 12px 0 var(--tissue);
}

.secret::before,
.secret::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: 4%;
  width: 92%;
  height: 2rem;
  background: radial-gradient(circle at 1rem 1rem, var(--tissue) 0 0.86rem, transparent 0.9rem) 0 0 / 2rem 2rem repeat-x;
}

.secret::before { top: -1.1rem; }
.secret::after { bottom: -1.35rem; transform: rotate(180deg); }

.secret__whisper {
  position: absolute;
  top: -2.6rem;
  left: 1.5rem;
  color: var(--rose);
  font-family: var(--font-note);
  font-size: 1rem;
  transform: rotate(-5deg);
}

.secret__copy > p:first-child {
  margin: 0 0 0.5rem;
  color: var(--ballet);
  font-family: var(--font-note);
  font-size: 0.78rem;
}

.secret h2 {
  max-width: 40rem;
  margin: 0;
  color: var(--white);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 10vw, 5rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
}

.secret__copy > p:last-child {
  max-width: 34rem;
  margin: 1rem 0 0;
  color: rgba(255, 255, 255, 0.78);
}

.cta-ribbon--light {
  color: var(--berry);
  background: var(--butter);
  box-shadow: 6px 7px 0 var(--rose);
}

.secret__seal {
  position: absolute;
  right: 1.4rem;
  bottom: -1.7rem;
  display: grid;
  width: 3.8rem;
  height: 3.8rem;
  place-items: center;
  border: 3px double var(--cream);
  border-radius: 50%;
  color: var(--cream);
  background: var(--rose);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-style: italic;
  box-shadow: 0 4px 0 rgba(101, 33, 63, 0.25);
  transform: rotate(8deg);
}

.socials {
  padding: 0 0 clamp(5rem, 12vw, 8rem);
  text-align: center;
}

.socials h2 {
  font-size: clamp(3rem, 13vw, 6rem);
  font-style: italic;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.7rem 1.4rem;
  margin-top: 1.8rem;
}

.social-links a {
  min-height: 2.75rem;
  padding: 0.45rem 0.2rem;
  color: var(--berry);
  font-family: var(--font-note);
  font-size: 1.2rem;
  text-decoration-color: var(--ballet);
  text-decoration-thickness: 3px;
  text-underline-offset: 0.3em;
}

.site-footer {
  display: grid;
  gap: 0.35rem;
  padding: 1.5rem 0 2rem;
  border-top: 1px solid rgba(101, 33, 63, 0.2);
  color: var(--muted);
  font-size: 0.76rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-underline-offset: 0.2em;
}

.legal-page {
  width: min(100% - 2rem, 48rem);
  margin-inline: auto;
  padding: clamp(2rem, 8vw, 5rem) 0;
}

.legal-page__back {
  display: inline-block;
  min-height: 2.75rem;
  margin-bottom: 2rem;
  color: var(--berry);
  font-weight: 700;
  text-underline-offset: 0.2em;
}

.legal-page h1,
.error-card h1 {
  margin: 0 0 1.5rem;
  color: var(--rose);
  font-family: var(--font-display);
  font-size: clamp(3.4rem, 13vw, 6rem);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.05em;
  line-height: 0.9;
}

.legal-page h2 {
  margin: 2.25rem 0 0.7rem;
  color: var(--berry);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 400;
}

.legal-page p,
.legal-page li {
  color: var(--muted);
}

.error-page {
  display: grid;
  min-height: 100svh;
  place-items: center;
  text-align: center;
}

.error-card {
  max-width: 38rem;
  padding: clamp(2rem, 9vw, 4rem);
  border-radius: 48% 52% 2rem 2rem / 20% 20% 2rem 2rem;
  background: var(--tissue);
  box-shadow: 10px 12px 0 var(--lavender);
}

.error-card .button {
  display: inline-flex;
  min-height: 3.4rem;
  align-items: center;
  margin-top: 1rem;
  padding: 0.8rem 1.25rem;
  color: var(--white);
  background: var(--berry);
  text-decoration: none;
}

@media (min-width: 48rem) {
  .site-mark {
    min-height: 5.6rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1.05fr) minmax(21rem, 0.78fr);
    gap: clamp(2rem, 6vw, 6rem);
    align-items: center;
    padding-top: 1.2rem;
  }

  .hero__copy {
    padding-left: clamp(0rem, 4vw, 2.5rem);
  }

  .hero__blossom {
    top: 12%;
    right: -1rem;
  }

  .hero-art {
    width: 100%;
    max-width: 28rem;
  }

  .universe {
    grid-template-columns: repeat(12, minmax(0, 1fr));
    grid-template-rows: auto auto auto;
    gap: 1.5rem;
    padding-inline: 1rem;
  }

  .universe__title {
    grid-column: 1 / 6;
    grid-row: 1;
    align-self: center;
    margin-left: 0;
  }

  .moment--cosplay {
    grid-column: 7 / 11;
    grid-row: 1 / 3;
    margin: 0;
  }

  .love-note {
    grid-column: 1 / 6;
    grid-row: 2;
    align-self: start;
    margin: 0 0 0 2rem;
  }

  .moment--pole {
    grid-column: 4 / 7;
    grid-row: 3;
    width: 100%;
    margin: -2rem 0 0;
  }

  .moment--horse {
    grid-column: 9 / 13;
    grid-row: 3;
    width: 100%;
    margin: -4rem 0 0;
  }

  .secret {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .secret .cta-ribbon {
    min-width: 20rem;
  }

  .site-footer {
    grid-template-columns: auto 1fr;
    text-align: left;
  }

  .site-footer p:last-child {
    text-align: right;
  }
}

@media (max-width: 22rem) {
  .hero h1 {
    font-size: clamp(6.2rem, 37vw, 8rem);
  }

  .hero__blossom {
    width: 2.7rem;
  }

  .hero-art__label {
    display: none;
  }

  .moment figcaption {
    font-size: 0.64rem;
  }
}

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

  .cta-ribbon {
    transition: none;
  }
}
