:root {
  --paper: #fff8f4;
  --paper-deep: #f7e9ee;
  --ink: #493b45;
  --muted: #806f79;
  --line: rgba(73, 59, 69, 0.15);
  --pink: #f99bb3;
  --pink-soft: #ffe0e9;
  --mint: #86cbb5;
  --mint-soft: #dcf3eb;
  --butter: #f6ce63;
  --butter-soft: #fff0b9;
  --lilac: #b8a5e3;
  --lilac-soft: #eee8ff;
  --cream: #fffdf9;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 8% 16%, rgba(249, 155, 179, 0.18), transparent 22rem),
    radial-gradient(circle at 88% 8%, rgba(184, 165, 227, 0.2), transparent 25rem),
    radial-gradient(circle at 75% 72%, rgba(134, 203, 181, 0.13), transparent 25rem),
    var(--paper);
  color: var(--ink);
  font-family:
    "Hiragino Maru Gothic ProN", "Yu Gothic", var(--font-geist-sans),
    "Noto Sans JP", sans-serif;
}

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

::selection {
  background: var(--pink-soft);
  color: var(--ink);
}

main {
  overflow: hidden;
}

.site-header {
  align-items: center;
  backdrop-filter: blur(14px);
  background: rgba(255, 253, 249, 0.82);
  border: 1px solid rgba(73, 59, 69, 0.1);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(105, 74, 91, 0.08);
  display: flex;
  height: 66px;
  justify-content: space-between;
  margin: 20px auto 0;
  max-width: 1220px;
  padding: 0 28px;
  position: relative;
  z-index: 10;
}

.wordmark {
  font-size: 0.76rem;
  font-weight: 850;
  letter-spacing: 0.3em;
}

.wordmark span {
  color: var(--pink);
  display: inline-block;
  font-size: 0.8rem;
  margin-left: 2px;
  transform: rotate(-8deg);
}

.header-count {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.68rem;
  letter-spacing: 0.18em;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.82fr);
  margin: 0 auto;
  max-width: 1320px;
  min-height: 760px;
  padding: 104px 48px 74px;
  position: relative;
}

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

.kicker {
  color: var(--mint);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.32em;
  margin: 0 0 34px;
}

.hero h1 {
  font-size: clamp(4rem, 7.25vw, 7.15rem);
  font-weight: 820;
  letter-spacing: -0.075em;
  line-height: 1.06;
  margin: 0;
}

.title-highlight {
  display: inline;
  position: relative;
  z-index: 0;
}

.title-highlight::after {
  background: var(--pink-soft);
  border-radius: 999px 46% 999px 40%;
  bottom: 0.06em;
  content: "";
  height: 0.28em;
  left: -0.02em;
  position: absolute;
  transform: rotate(-1deg);
  width: 101%;
  z-index: -1;
}

.lead {
  color: var(--muted);
  font-size: 1.04rem;
  font-weight: 560;
  letter-spacing: 0.05em;
  line-height: 2.05;
  margin: 44px 0 0;
}

.hero-art {
  min-height: 475px;
  position: relative;
}

.orb {
  align-items: center;
  border: 3px solid rgba(255, 255, 255, 0.78);
  box-shadow:
    0 16px 34px rgba(94, 70, 82, 0.1),
    inset 0 0 0 1px rgba(73, 59, 69, 0.08);
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.76rem;
  font-weight: 780;
  justify-content: center;
  letter-spacing: 0.08em;
  position: absolute;
}

.orb::after {
  border: 1.5px dashed rgba(73, 59, 69, 0.18);
  content: "";
  inset: 14px;
  position: absolute;
}

.orb-coral {
  background: var(--pink);
  border-radius: 45% 55% 50% 50% / 55% 43% 57% 45%;
  height: 190px;
  left: 2%;
  top: 38%;
  transform: rotate(-10deg);
  width: 190px;
}

.orb-coral::after {
  border-radius: 45% 55% 50% 50% / 55% 43% 57% 45%;
}

.orb-sage {
  background: var(--mint);
  border-radius: 58% 42% 47% 53% / 42% 56% 44% 58%;
  color: var(--cream);
  height: 274px;
  right: -5%;
  top: 2%;
  transform: rotate(8deg);
  width: 274px;
}

.orb-sage::after {
  border-radius: 58% 42% 47% 53% / 42% 56% 44% 58%;
}

.orb-butter {
  background: var(--butter);
  border-radius: 54% 46% 57% 43% / 43% 55% 45% 57%;
  bottom: 2%;
  height: 142px;
  right: 20%;
  transform: rotate(13deg);
  width: 142px;
}

.orb-butter::after {
  border-radius: 54% 46% 57% 43% / 43% 55% 45% 57%;
}

.orbit-line {
  border: 2px dotted rgba(73, 59, 69, 0.16);
  border-radius: 50%;
  height: 430px;
  left: 10%;
  position: absolute;
  top: 5%;
  transform: rotate(-18deg);
  width: 430px;
}

.sparkle {
  display: block;
  position: absolute;
  text-align: center;
}

.sparkle-one {
  color: var(--lilac);
  font-size: 2.2rem;
  left: 23%;
  top: 6%;
  transform: rotate(12deg);
}

.sparkle-two {
  color: var(--pink);
  font-size: 2.5rem;
  right: 8%;
  top: 59%;
  transform: rotate(-10deg);
}

.sparkle-three {
  color: var(--butter);
  font-size: 1.9rem;
  left: 43%;
  top: 78%;
  transform: rotate(18deg);
}

.scroll-cue {
  align-items: center;
  align-self: end;
  background: var(--cream);
  border: 1px solid rgba(73, 59, 69, 0.1);
  border-radius: 999px;
  box-shadow: 0 9px 24px rgba(105, 74, 91, 0.08);
  display: flex;
  font-size: 0.84rem;
  font-weight: 760;
  gap: 44px;
  grid-column: 1;
  justify-self: start;
  letter-spacing: 0.05em;
  margin-top: 48px;
  padding: 14px 20px 14px 24px;
}

.scroll-cue span {
  align-items: center;
  background: var(--pink-soft);
  border-radius: 50%;
  display: flex;
  font-size: 1rem;
  height: 30px;
  justify-content: center;
  transition: transform 180ms ease;
  width: 30px;
}

.scroll-cue:hover span {
  transform: translateY(3px);
}

.collection {
  background:
    radial-gradient(rgba(73, 59, 69, 0.08) 1.2px, transparent 1.2px),
    linear-gradient(145deg, #ffe6ed 0%, #f1eaff 48%, #ddf3eb 100%);
  background-size:
    22px 22px,
    auto;
  color: var(--ink);
  padding: 118px max(48px, calc((100vw - 1224px) / 2)) 132px;
  position: relative;
}

.collection::before {
  background: var(--paper);
  border-radius: 0 0 50% 50%;
  content: "";
  height: 38px;
  left: -5%;
  position: absolute;
  top: -18px;
  width: 110%;
}

.section-heading {
  align-items: end;
  border-bottom: 2px dotted rgba(73, 59, 69, 0.22);
  display: flex;
  justify-content: space-between;
  margin-bottom: 32px;
  padding-bottom: 26px;
}

.section-heading p {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  margin: 0;
}

.section-heading h2 {
  font-size: clamp(1.9rem, 4vw, 3.1rem);
  font-weight: 820;
  letter-spacing: -0.055em;
  margin: 0;
}

.project-list {
  display: grid;
  gap: 22px;
}

.project-card {
  background: rgba(255, 253, 249, 0.94);
  border: 3px solid var(--accent-soft);
  border-radius: 38px;
  box-shadow:
    0 18px 36px rgba(94, 70, 82, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.9);
  color: var(--ink);
  overflow: hidden;
  padding: 27px 30px 0;
  position: relative;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease;
}

.project-card::after {
  background: var(--accent);
  border-radius: 50%;
  content: "";
  height: 18px;
  opacity: 0.8;
  position: absolute;
  right: 28px;
  top: 26px;
  width: 18px;
}

.project-card:hover {
  box-shadow: 0 24px 46px rgba(94, 70, 82, 0.15);
  transform: translateY(-4px) rotate(-0.2deg);
}

.theme-coral {
  --accent: var(--pink);
  --accent-soft: var(--pink-soft);
}

.theme-sage {
  --accent: var(--mint);
  --accent-soft: var(--mint-soft);
}

.theme-butter {
  --accent: var(--butter);
  --accent-soft: var(--butter-soft);
}

.card-topline {
  align-items: center;
  display: flex;
  justify-content: space-between;
  padding-right: 42px;
}

.project-number {
  background: var(--accent);
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  box-shadow: 0 4px 12px rgba(94, 70, 82, 0.09);
  display: inline-flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 8px 14px;
}

.project-eyebrow {
  color: var(--muted);
  font-size: 0.61rem;
  font-weight: 800;
  letter-spacing: 0.23em;
}

.card-body {
  align-items: center;
  display: grid;
  gap: 46px;
  grid-template-columns: minmax(0, 1fr) 210px;
  min-height: 315px;
  padding: 34px 18px 38px;
}

.project-copy h3 {
  font-size: clamp(2.1rem, 4vw, 4rem);
  font-weight: 820;
  letter-spacing: -0.065em;
  line-height: 1.14;
  margin: 0;
}

.project-description {
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 540;
  letter-spacing: 0.035em;
  line-height: 1.9;
  margin: 26px 0 0;
  max-width: 620px;
}

.project-note {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  margin: 24px 0 0;
  position: relative;
}

.project-note::after {
  background: var(--accent-soft);
  border-radius: 999px;
  bottom: -5px;
  content: "";
  height: 7px;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: -1;
}

.project-mark {
  align-items: center;
  aspect-ratio: 1;
  background: var(--accent-soft);
  border: 3px solid var(--accent);
  border-radius: 41% 59% 54% 46% / 55% 43% 57% 45%;
  box-shadow:
    0 12px 25px rgba(94, 70, 82, 0.1),
    inset 0 0 0 8px rgba(255, 255, 255, 0.42);
  display: flex;
  justify-content: center;
  position: relative;
  transform: rotate(4deg);
}

.project-mark::before {
  border: 2px dashed rgba(73, 59, 69, 0.2);
  border-radius: 41% 59% 54% 46% / 55% 43% 57% 45%;
  content: "";
  inset: 20px;
  position: absolute;
}

.project-mark::after {
  color: var(--accent);
  content: "✦";
  font-size: 1.5rem;
  position: absolute;
  right: -8px;
  top: -14px;
}

.project-mark span {
  font-family: var(--font-geist-mono), monospace;
  font-size: 3rem;
  font-weight: 700;
  position: relative;
  transform: rotate(-4deg);
}

.card-footer {
  align-items: center;
  border-top: 2px dotted var(--line);
  display: flex;
  justify-content: space-between;
  min-height: 76px;
}

.card-footer > span {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
}

.card-footer a {
  align-items: center;
  align-self: stretch;
  background: var(--accent-soft);
  border-left: 2px dotted var(--line);
  display: flex;
  font-size: 0.84rem;
  font-weight: 800;
  gap: 18px;
  margin-right: -30px;
  padding: 0 29px;
  transition:
    background 180ms ease,
    gap 180ms ease;
}

.card-footer a:hover {
  background: var(--accent);
  gap: 24px;
}

.card-footer a span {
  font-size: 1.2rem;
}

.next-section {
  align-items: center;
  background: rgba(255, 253, 249, 0.76);
  border: 3px solid var(--lilac-soft);
  border-radius: 52px;
  box-shadow: 0 18px 45px rgba(94, 70, 82, 0.08);
  display: grid;
  gap: 70px;
  grid-template-columns: 0.72fr 1fr;
  margin: 104px auto;
  max-width: 1128px;
  min-height: 500px;
  padding: 62px;
}

.next-number {
  align-items: center;
  aspect-ratio: 1;
  background: linear-gradient(145deg, var(--lilac-soft), var(--pink-soft));
  border: 3px solid rgba(184, 165, 227, 0.5);
  border-radius: 45% 55% 48% 52% / 52% 45% 55% 48%;
  color: rgba(73, 59, 69, 0.24);
  display: flex;
  font-family: var(--font-geist-mono), monospace;
  font-size: clamp(5rem, 10vw, 8rem);
  font-weight: 720;
  justify-content: center;
  position: relative;
  transform: rotate(-4deg);
}

.next-number::before {
  border: 2px dashed rgba(73, 59, 69, 0.15);
  border-radius: inherit;
  content: "";
  inset: 18px;
  position: absolute;
}

.next-number::after {
  align-items: center;
  background: var(--butter);
  border: 3px solid var(--cream);
  border-radius: 50%;
  color: var(--ink);
  content: "♡";
  display: flex;
  font-size: 1.8rem;
  height: 24%;
  justify-content: center;
  position: absolute;
  right: -2%;
  top: 8%;
  width: 24%;
}

.next-copy .kicker {
  color: var(--lilac);
  margin-bottom: 26px;
}

.next-copy h2 {
  font-size: clamp(2.4rem, 5vw, 4.55rem);
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 1.16;
  margin: 0;
}

.next-copy > p:last-child {
  color: var(--muted);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  line-height: 2;
  margin: 32px 0 0;
}

footer {
  align-items: center;
  border-top: 2px dotted var(--line);
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 1220px;
  min-height: 110px;
  padding: 0 28px;
}

footer p:first-child {
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.28em;
}

footer p:first-child::after {
  color: var(--pink);
  content: " ♥";
}

footer p:last-child {
  color: var(--muted);
  font-family: var(--font-geist-mono), monospace;
  font-size: 0.59rem;
  letter-spacing: 0.14em;
}

@keyframes float-softly {
  0%,
  100% {
    transform: translateY(0) rotate(var(--tilt, 0deg));
  }
  50% {
    transform: translateY(-9px) rotate(var(--tilt, 0deg));
  }
}

.orb-coral {
  --tilt: -10deg;
  animation: float-softly 5s ease-in-out infinite;
}

.orb-sage {
  --tilt: 8deg;
  animation: float-softly 6.2s ease-in-out infinite 0.4s;
}

.orb-butter {
  --tilt: 13deg;
  animation: float-softly 4.8s ease-in-out infinite 0.8s;
}

@media (max-width: 820px) {
  .site-header {
    height: 58px;
    margin: 12px 12px 0;
    padding: 0 19px;
  }

  .wordmark {
    font-size: 0.68rem;
    letter-spacing: 0.25em;
  }

  .hero {
    display: flex;
    flex-direction: column;
    min-height: auto;
    padding: 68px 22px 58px;
  }

  .kicker {
    font-size: 0.57rem;
    letter-spacing: 0.25em;
    margin-bottom: 24px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 15.5vw, 4.85rem);
    letter-spacing: -0.08em;
    line-height: 1.07;
  }

  .lead {
    font-size: 0.86rem;
    line-height: 2;
    margin-top: 34px;
  }

  .hero-art {
    margin: 34px 0 0;
    min-height: 330px;
  }

  .orb-coral {
    height: 122px;
    left: 0;
    top: 44%;
    width: 122px;
  }

  .orb-sage {
    height: 183px;
    right: -5%;
    top: 2%;
    width: 183px;
  }

  .orb-butter {
    bottom: 2%;
    height: 98px;
    right: 25%;
    width: 98px;
  }

  .orbit-line {
    height: 276px;
    left: 11%;
    top: 4%;
    width: 276px;
  }

  .sparkle-one {
    font-size: 1.6rem;
    left: 20%;
  }

  .sparkle-two {
    font-size: 1.9rem;
    right: 3%;
  }

  .sparkle-three {
    font-size: 1.45rem;
  }

  .scroll-cue {
    gap: 34px;
    margin-top: 30px;
  }

  .collection {
    padding: 80px 14px 84px;
  }

  .collection::before {
    height: 26px;
    top: -13px;
  }

  .section-heading {
    align-items: start;
    flex-direction: column;
    gap: 16px;
    margin: 0 7px 24px;
  }

  .section-heading h2 {
    font-size: 1.75rem;
  }

  .project-list {
    gap: 16px;
  }

  .project-card {
    border-radius: 30px;
    padding: 20px 18px 0;
  }

  .project-card::after {
    height: 14px;
    right: 21px;
    top: 21px;
    width: 14px;
  }

  .card-topline {
    padding-right: 30px;
  }

  .project-eyebrow {
    max-width: 50%;
    text-align: right;
  }

  .card-body {
    display: flex;
    flex-direction: column-reverse;
    gap: 24px;
    min-height: auto;
    padding: 28px 2px 32px;
  }

  .project-copy {
    width: 100%;
  }

  .project-copy h3 {
    font-size: 2.45rem;
    line-height: 1.16;
  }

  .project-description {
    font-size: 0.84rem;
    line-height: 1.86;
    margin-top: 20px;
  }

  .project-mark {
    align-self: flex-end;
    height: 128px;
    width: 128px;
  }

  .project-mark span {
    font-size: 2.3rem;
  }

  .card-footer {
    min-height: 68px;
  }

  .card-footer > span {
    font-size: 0.52rem;
    letter-spacing: 0.07em;
  }

  .card-footer a {
    gap: 9px;
    margin-right: -18px;
    padding: 0 17px;
  }

  .next-section {
    display: flex;
    flex-direction: column;
    gap: 42px;
    margin: 64px 14px;
    min-height: auto;
    padding: 44px 24px 50px;
  }

  .next-number {
    align-self: flex-start;
    height: 220px;
    width: 220px;
  }

  .next-copy h2 {
    font-size: 2.8rem;
  }

  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    min-height: 120px;
    padding: 0 22px;
  }
}

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

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