/* Existing about/shared declarations only; original values and rule order retained. */
@font-face {
  font-family: "LoveSans";
  src: url("/assets/fonts/love-sans-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveSans";
  src: url("/assets/fonts/love-sans-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveSerif";
  src: url("/assets/fonts/love-serif-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveSerif";
  src: url("/assets/fonts/love-serif-bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveKai";
  src: url("/assets/fonts/love-kai-regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveKai";
  src: url("/assets/fonts/love-kai-regular.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveScript";
  src: url("/assets/fonts/love-script.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: block;
}

@font-face {
  font-family: "LoveScript";
  src: url("/assets/fonts/love-script.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: block;
}

:root {
  --rose: #e95f8a;
  --rose-dark: #b9416b;
  --rose-soft: #ffd9e6;
  --ink: #4c3340;
  --paper: #fff8fb;
  --white: #ffffff;
  --font-sans: "LoveSans", sans-serif;
  --font-serif: "LoveSerif", serif;
  --font-kai: "LoveKai", serif;
  --font-script: "LoveScript", cursive;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  line-height: 1.5;
  font-synthesis: none;
  background: var(--paper);
  color: var(--ink);
}

button,
input,
textarea,
select {
  font: inherit;
}

:where(h1, h2, h3, p, a, button, span, small, strong, em, label, li) {
  line-height: 1.35;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 20;
  width: 100%;
  height: 72px;
  padding: 0 clamp(20px, 7vw, 118px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  text-shadow: 0 2px 12px rgba(118, 41, 75, 0.32);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: clamp(17px, 1.45vw, 22px);
  font-weight: 800;
  white-space: nowrap;
}

.brand-alias {
  font-family: inherit;
  font-size: 1em;
  font-weight: inherit;
  opacity: 0.96;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--white);
  filter: drop-shadow(0 0 10px rgba(255, 126, 167, 0.75));
}

.nav-links {
  display: flex;
  align-items: center;
  justify-self: center;
  gap: clamp(18px, 2.4vw, 34px);
  font-size: 14px;
  font-weight: 700;
}

.nav-links a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 38px;
  opacity: 0.9;
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--rose-soft);
  box-shadow: 0 0 12px rgba(255, 213, 227, 0.85);
}

.ornament {
  position: relative;
  width: min(280px, 46vw);
  height: 24px;
  margin: 0 auto;
  border-bottom: 2px solid rgba(255, 231, 238, 0.92);
  border-radius: 50%;
}

.ornament::after {
  content: "♡";
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  color: rgba(255, 236, 242, 0.96);
  font-family: var(--font-serif);
  font-size: 18px;
}

.floating-hearts span {
  position: absolute;
  z-index: 1;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  background: rgba(255, 211, 224, 0.84);
  animation: floatUp 9s linear infinite;
  box-shadow: 0 0 16px rgba(255, 208, 221, 0.8);
}

.floating-hearts span::before,
.floating-hearts span::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: inherit;
}

.floating-hearts span::before {
  left: -5px;
}

.floating-hearts span::after {
  top: -5px;
}

.floating-hearts span:nth-child(1) { left: 14%; top: 30%; animation-delay: 0s; }

.floating-hearts span:nth-child(2) { left: 45%; top: 20%; animation-delay: 1.4s; }

.floating-hearts span:nth-child(3) { left: 61%; top: 24%; animation-delay: 3s; }

.floating-hearts span:nth-child(4) { left: 75%; top: 37%; animation-delay: 4.2s; }

.floating-hearts span:nth-child(5) { left: 87%; top: 56%; animation-delay: 2.2s; }

.floating-hearts span:nth-child(6) { left: 24%; top: 52%; animation-delay: 5.6s; }

.butterfly-field {
  position: absolute;
  inset: 0 0 0 auto;
  z-index: 1;
  width: min(48vw, 720px);
  pointer-events: none;
  overflow: hidden;
}

.butterfly-field::before,
.butterfly-field::after {
  content: "";
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 234, 242, 0.82);
  box-shadow:
    96px 92px 0 rgba(255, 217, 232, 0.55),
    188px 168px 0 rgba(255, 242, 248, 0.72),
    298px 116px 0 rgba(255, 191, 218, 0.52),
    410px 234px 0 rgba(255, 239, 246, 0.64),
    520px 142px 0 rgba(255, 195, 221, 0.56),
    610px 318px 0 rgba(255, 238, 246, 0.6);
  opacity: 0.7;
  animation: sparkleDrift 10s ease-in-out infinite;
}

.butterfly-field::after {
  left: 18%;
  top: 18%;
  transform: scale(0.72);
  animation-delay: 3.2s;
}

.butterfly {
  position: absolute;
  left: var(--butterfly-left, 70%);
  top: var(--butterfly-top, 44%);
  width: var(--butterfly-size, 42px);
  height: calc(var(--butterfly-size, 42px) * 0.78);
  filter:
    drop-shadow(0 0 10px rgba(255, 230, 240, 0.82))
    drop-shadow(0 0 18px rgba(255, 161, 199, 0.32));
  opacity: 0;
  animation: butterflyDrift var(--butterfly-duration, 13s) ease-in-out infinite;
  animation-delay: var(--butterfly-delay, 0s);
}

.butterfly i,
.butterfly i::before,
.butterfly i::after,
.butterfly::before,
.butterfly::after {
  position: absolute;
  content: "";
}

.butterfly i {
  left: 50%;
  top: 23%;
  width: 5%;
  height: 58%;
  transform: translateX(-50%);
  border-radius: 999px;
  background: linear-gradient(180deg, rgba(255, 249, 252, 0.96), rgba(251, 169, 204, 0.76));
  box-shadow: 0 0 8px rgba(255, 236, 244, 0.88);
}

.butterfly i::before,
.butterfly i::after {
  top: 0;
  width: 1px;
  height: 34%;
  background: rgba(255, 245, 250, 0.78);
  transform-origin: bottom;
}

.butterfly i::before {
  left: 1px;
  transform: rotate(-32deg);
}

.butterfly i::after {
  right: 1px;
  transform: rotate(32deg);
}

.butterfly::before,
.butterfly::after {
  top: 0;
  width: 48%;
  height: 100%;
  background:
    radial-gradient(ellipse at 48% 28%, rgba(255, 255, 255, 0.96) 0 12%, transparent 13%),
    radial-gradient(ellipse at 56% 68%, rgba(255, 215, 232, 0.7) 0 18%, transparent 19%),
    linear-gradient(145deg, rgba(255, 249, 252, 0.94), rgba(255, 193, 218, 0.78) 54%, rgba(240, 119, 168, 0.46));
  border: 1px solid rgba(255, 244, 249, 0.58);
  box-shadow:
    inset 0 0 16px rgba(255, 255, 255, 0.72),
    inset 10px 0 18px rgba(247, 141, 185, 0.18);
}

.butterfly::before {
  right: 51%;
  clip-path: polygon(100% 46%, 78% 6%, 27% 0, 0 24%, 17% 54%, 3% 82%, 38% 100%, 78% 78%);
  border-radius: 74% 28% 70% 38%;
  transform-origin: 100% 52%;
  animation: wingLeft 920ms ease-in-out infinite;
}

.butterfly::after {
  left: 51%;
  clip-path: polygon(0 46%, 22% 6%, 73% 0, 100% 24%, 83% 54%, 97% 82%, 62% 100%, 22% 78%);
  border-radius: 28% 74% 38% 70%;
  transform-origin: 0 52%;
  animation: wingRight 920ms ease-in-out infinite;
}

.butterfly:nth-child(1) {
  --butterfly-left: 52%;
  --butterfly-top: 32%;
  --butterfly-size: 46px;
  --butterfly-duration: 14s;
  --butterfly-delay: 0s;
}

.butterfly:nth-child(2) {
  --butterfly-left: 76%;
  --butterfly-top: 50%;
  --butterfly-size: 26px;
  --butterfly-duration: 12s;
  --butterfly-delay: 2.8s;
}

.butterfly:nth-child(3) {
  --butterfly-left: 64%;
  --butterfly-top: 66%;
  --butterfly-size: 54px;
  --butterfly-duration: 16s;
  --butterfly-delay: 5.2s;
}

.butterfly:nth-child(4) {
  --butterfly-left: 88%;
  --butterfly-top: 26%;
  --butterfly-size: 32px;
  --butterfly-duration: 13s;
  --butterfly-delay: 7.4s;
}

.butterfly:nth-child(5) {
  --butterfly-left: 43%;
  --butterfly-top: 55%;
  --butterfly-size: 24px;
  --butterfly-duration: 15s;
  --butterfly-delay: 9.3s;
}

@keyframes floatUp {
  0%, 100% {
    opacity: 0;
    translate: 0 22px;
  }
  25%, 80% {
    opacity: 1;
  }
  60% {
    translate: 0 -38px;
  }
}

@keyframes butterflyDrift {
  0%, 100% {
    opacity: 0;
    transform: translate3d(28px, 24px, 0) rotate(-8deg) scale(0.78);
  }
  12%, 82% {
    opacity: 0.72;
  }
  34% {
    transform: translate3d(-44px, -34px, 0) rotate(9deg) scale(1);
  }
  62% {
    transform: translate3d(18px, -76px, 0) rotate(-5deg) scale(0.92);
  }
}

@keyframes wingLeft {
  0%, 100% {
    transform: rotateY(18deg) rotate(-11deg);
  }
  50% {
    transform: rotateY(58deg) rotate(-24deg);
  }
}

@keyframes wingRight {
  0%, 100% {
    transform: rotateY(-18deg) rotate(11deg);
  }
  50% {
    transform: rotateY(-58deg) rotate(24deg);
  }
}

@keyframes sparkleDrift {
  0%, 100% {
    opacity: 0.22;
    transform: translate3d(0, 16px, 0);
  }
  50% {
    opacity: 0.78;
    transform: translate3d(-16px, -22px, 0);
  }
}

@keyframes pinkButtonPulse {
  0%, 100% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.16) inset,
      0 0 18px rgba(255, 122, 177, 0.2),
      0 14px 36px rgba(190, 54, 108, 0.24);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(255, 255, 255, 0.3) inset,
      0 0 34px rgba(255, 136, 190, 0.48),
      0 18px 46px rgba(190, 54, 108, 0.34);
  }
}

@keyframes pinkButtonHeartbeat {
  0%, 100% {
    opacity: 0.28;
    transform: scale(0.96);
  }
  35% {
    opacity: 0.78;
    transform: scale(1.05);
  }
  52% {
    opacity: 0.42;
    transform: scale(0.99);
  }
  72% {
    opacity: 0.9;
    transform: scale(1.08);
  }
}

@keyframes scrollHintGlow {
  0%, 100% {
    opacity: 0.72;
    text-shadow: 0 0 10px rgba(255, 215, 230, 0.35);
  }
  50% {
    opacity: 1;
    text-shadow:
      0 0 12px rgba(255, 235, 244, 0.86),
      0 0 24px rgba(255, 121, 178, 0.42);
  }
}

@keyframes heartSpin3d {
  0%, 100% {
    transform: rotateY(-34deg) rotateX(10deg) rotateZ(-2deg) scale(0.94);
  }
  28% {
    transform: rotateY(22deg) rotateX(-7deg) rotateZ(1deg) scale(1.1);
  }
  50% {
    transform: rotateY(188deg) rotateX(5deg) rotateZ(2deg) scale(0.98);
  }
  72% {
    transform: rotateY(326deg) rotateX(-8deg) rotateZ(-1deg) scale(1.1);
  }
}

@keyframes heartDepthSpin3d {
  0%, 100% {
    transform: translateX(5px) rotateY(-34deg) rotateX(10deg) rotateZ(-2deg) scale(0.9);
    opacity: 0.58;
  }
  28% {
    transform: translateX(-5px) rotateY(22deg) rotateX(-7deg) rotateZ(1deg) scale(1.04);
    opacity: 0.48;
  }
  50% {
    transform: translateX(-2px) rotateY(188deg) rotateX(5deg) rotateZ(2deg) scale(0.92);
    opacity: 0.34;
  }
  72% {
    transform: translateX(5px) rotateY(326deg) rotateX(-8deg) rotateZ(-1deg) scale(1.04);
    opacity: 0.5;
  }
}

@keyframes downButtonPulse {
  0%, 100% {
    transform: translateX(-50%) scale(1);
  }
  50% {
    transform: translateX(-50%) scale(1.06);
  }
}

@keyframes badgeSpin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

@keyframes badgePulseGlow {
  0%, 100% {
    opacity: 0.58;
  }
  50% {
    opacity: 1;
  }
}

button,
.primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  margin-top: 30px;
  padding: 0 34px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #e95482, #ee7499);
  color: var(--white);
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 14px 28px rgba(223, 79, 126, 0.25);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

button:hover,
.primary-action:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(223, 79, 126, 0.32);
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(10px);
}

.language-switcher .language-option {
  min-height: 30px;
  margin: 0;
  padding: 0 12px;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
  font-weight: 800;
}

.language-switcher .language-option:hover {
  transform: none;
  box-shadow: none;
}

.language-switcher .language-option.active {
  background: var(--white);
  color: var(--rose-dark);
}

@media (min-width: 861px) {
.site-header .nav-links {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    justify-self: auto;
  }
}

.detail-page {
  min-height: 100vh;
  background:
    radial-gradient(circle at 16% 18%, rgba(255, 213, 227, 0.75), transparent 24%),
    radial-gradient(circle at 86% 18%, rgba(255, 232, 238, 0.82), transparent 22%),
    radial-gradient(circle at 52% 82%, rgba(255, 202, 219, 0.45), transparent 34%),
    var(--paper);
}

.detail-header {
  background: linear-gradient(180deg, rgba(210, 87, 127, 0.36), rgba(210, 87, 127, 0));
}

.about-page {
  background:
    radial-gradient(circle at 8% 18%, rgba(255, 205, 225, 0.64), transparent 26%),
    radial-gradient(circle at 92% 38%, rgba(255, 232, 241, 0.68), transparent 22%),
    #fff8fb;
}

.about-main {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.about-hero {
  position: relative;
  min-height: clamp(380px, 46vw, 560px);
  display: grid;
  place-items: center;
  padding: 104px 24px 138px;
  overflow: hidden;
  color: var(--white);
  text-align: center;
  background:
    linear-gradient(180deg, rgba(116, 34, 82, 0.08), rgba(171, 43, 90, 0.18)),
    image-set(
      url("/login-art/background.webp") type("image/webp"),
      url("/login-art/background.jpg") type("image/jpeg")
    ) center 48% / cover no-repeat;
}

.about-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 244, 248, 0.28), transparent 24%),
    linear-gradient(90deg, rgba(140, 34, 82, 0.08), transparent 38%, rgba(87, 35, 76, 0.16));
}

.about-hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 112px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 1440 140' xmlns='http://www.w3.org/2000/svg' preserveAspectRatio='none'%3E%3Cpath d='M0 48 C148 112 265 82 408 75 C544 68 611 99 719 95 C846 91 938 58 1082 70 C1228 82 1342 92 1440 38 L1440 140 L0 140 Z' fill='%23fff8fb'/%3E%3Cpath d='M0 48 C148 112 265 82 408 75 C544 68 611 99 719 95 C846 91 938 58 1082 70 C1228 82 1342 92 1440 38' fill='none' stroke='rgba(255,255,255,0.92)' stroke-width='8'/%3E%3C/svg%3E") bottom center / 100% 100% no-repeat;
  filter: drop-shadow(0 -12px 18px rgba(190, 70, 120, 0.14));
}

.about-hero-copy {
  position: relative;
  z-index: 2;
  width: min(980px, 100%);
}

.about-script {
  margin: 0 0 -8px;
  color: rgba(255, 230, 240, 0.82);
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 54px);
  line-height: 1;
}

.about-hero h1 {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 3vw, 34px);
  margin: 0;
  font-family: var(--font-serif);
  font-size: clamp(46px, 6vw, 86px);
  line-height: 1.06;
  letter-spacing: 0;
  text-shadow: 0 8px 28px rgba(116, 34, 82, 0.42);
}

.about-hero h1 span[aria-hidden="true"] {
  font-weight: 400;
  font-size: 0.62em;
}

.about-hero-copy > p:not(.about-script) {
  max-width: 820px;
  margin: 24px auto 8px;
  font-size: clamp(17px, 2vw, 24px);
  line-height: 1.8;
  text-shadow: 0 4px 18px rgba(116, 34, 82, 0.42);
}

.about-hearts span {
  z-index: 1;
}

.about-butterflies {
  z-index: 1;
  width: 100%;
}

.about-butterflies .butterfly:nth-child(1) { --butterfly-left: 12%; --butterfly-top: 32%; }

.about-butterflies .butterfly:nth-child(2) { --butterfly-left: 82%; --butterfly-top: 26%; }

.about-butterflies .butterfly:nth-child(3) { --butterfly-left: 74%; --butterfly-top: 58%; }

.about-butterflies .butterfly:nth-child(4) { --butterfly-left: 28%; --butterfly-top: 38%; }

.about-butterflies .butterfly:nth-child(5) { --butterfly-left: 92%; --butterfly-top: 42%; }

.about-story {
  position: relative;
  width: min(1160px, calc(100% - 48px));
  margin: -38px auto 0;
  padding: 0 0 92px;
}

.about-story::before {
  content: "♡";
  position: sticky;
  top: 82px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin: 0 auto 18px;
  border-radius: 50%;
  color: var(--rose);
  font-size: 38px;
  line-height: 1;
  background: rgba(255, 248, 252, 0.9);
  box-shadow: 0 12px 34px rgba(216, 82, 128, 0.18);
}

.about-block {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 92px minmax(220px, 280px) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  margin-bottom: clamp(42px, 6vw, 68px);
}

.about-index {
  align-self: start;
  display: grid;
  justify-items: center;
  gap: 6px;
  color: var(--rose);
}

.about-index span {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  border: 1px dashed rgba(233, 95, 138, 0.44);
  border-radius: 50%;
  background: rgba(255, 248, 252, 0.72);
  font-family: var(--font-serif);
  font-size: 42px;
  line-height: 1;
  box-shadow: 0 14px 30px rgba(216, 82, 128, 0.08);
}

.about-index i {
  font-style: normal;
  color: rgba(233, 95, 138, 0.48);
  font-size: 24px;
}

.about-photo-card,
.about-envelope,
.about-letter,
.about-stats-grid > div,
.about-like-grid span {
  border: 1px solid rgba(246, 174, 203, 0.66);
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 44px rgba(216, 82, 128, 0.12);
  backdrop-filter: blur(14px);
}

.about-photo-card {
  margin: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
}

.about-photo-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center;
}

.about-copy h2,
.about-wide-copy h2,
.about-letter h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 22px;
  color: #5a263c;
  font-family: var(--font-serif);
  font-size: clamp(24px, 2.8vw, 34px);
  line-height: 1.2;
}

.about-copy h2 span:first-child,
.about-wide-copy h2 span:first-child,
.about-letter h2 span:first-child {
  color: var(--rose);
  font-size: 20px;
}

.about-copy p,
.about-letter p,
.about-ending > p:not(.about-ending-script) {
  margin: 0 0 18px;
  color: rgba(76, 51, 64, 0.88);
  font-size: clamp(15px, 1.25vw, 18px);
  line-height: 1.85;
}

.about-reason-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 26px 0 24px;
}

.about-reason-grid span,
.about-like-grid span {
  display: grid;
  place-items: center;
  gap: 8px;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(246, 174, 203, 0.58);
  border-radius: 8px;
  background: rgba(255, 248, 252, 0.62);
  color: var(--rose-dark);
  font-weight: 800;
  text-align: center;
}

.about-reason-grid span {
  grid-template-columns: auto 1fr;
  place-items: center start;
}

.about-reason-grid b,
.about-like-grid b {
  font-size: 30px;
  line-height: 1;
  filter: drop-shadow(0 6px 10px rgba(216, 82, 128, 0.18));
}

.about-reason-grid em,
.about-like-grid em {
  font-style: normal;
}

.about-letter-block {
  grid-template-columns: 92px minmax(220px, 300px) minmax(0, 1fr);
}

.about-envelope {
  position: relative;
  display: grid;
  place-items: end center;
  min-height: 270px;
  overflow: hidden;
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 245, 250, 0.82), rgba(255, 206, 225, 0.46)),
    rgba(255, 255, 255, 0.7);
}

.about-envelope::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 48px;
  width: 210px;
  height: 132px;
  transform: translateX(-50%) rotate(-10deg);
  border-radius: 4px;
  background:
    linear-gradient(145deg, rgba(255, 248, 252, 0.96), rgba(255, 212, 229, 0.78));
  box-shadow: 0 16px 34px rgba(216, 82, 128, 0.14);
}

.envelope-flap {
  position: absolute;
  left: 50%;
  top: 74px;
  width: 194px;
  height: 92px;
  transform: translateX(-50%) rotate(-10deg);
  background: linear-gradient(145deg, rgba(255, 228, 238, 0.96), rgba(255, 190, 215, 0.78));
  clip-path: polygon(0 0, 50% 68%, 100% 0, 100% 100%, 0 100%);
}

.about-envelope::after {
  content: "♥";
  position: absolute;
  top: 102px;
  left: 50%;
  transform: translateX(-50%) rotate(-10deg);
  color: #f05f96;
  font-size: 38px;
  filter: drop-shadow(0 8px 14px rgba(216, 82, 128, 0.24));
}

.about-envelope span {
  position: relative;
  z-index: 1;
  margin-bottom: 26px;
  color: rgba(233, 95, 138, 0.7);
  font-family: var(--font-script);
  font-size: 30px;
}

.about-letter {
  position: relative;
  min-height: 280px;
  padding: clamp(28px, 3.4vw, 46px) clamp(28px, 4vw, 54px);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 252, 254, 0.94), rgba(255, 247, 251, 0.86)),
    rgba(255, 255, 255, 0.78);
  box-shadow:
    0 18px 44px rgba(216, 82, 128, 0.12),
    0 0 0 1px rgba(255, 255, 255, 0.46) inset;
}

.about-letter h2 {
  margin-bottom: 22px;
  color: #5a263c;
  font-family: var(--font-kai);
  font-size: clamp(30px, 3.2vw, 42px);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.about-letter h2 span:first-child {
  color: var(--rose);
  font-size: 18px;
}

.about-letter p[data-about-key="letterText"] {
  max-width: 760px;
  color: rgba(43, 35, 41, 0.9);
  font-family: var(--font-kai);
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 2.08;
  letter-spacing: 0.035em;
  white-space: pre-line;
}

.paper-tape {
  position: absolute;
  width: 58px;
  height: 22px;
  background: rgba(255, 220, 231, 0.72);
  box-shadow: 0 5px 12px rgba(216, 82, 128, 0.08);
}

.paper-tape-left {
  left: -12px;
  top: 16px;
  transform: rotate(-38deg);
}

.paper-tape-right {
  right: -12px;
  top: 16px;
  transform: rotate(38deg);
}

.about-letter .about-signature {
  margin: 26px 0 0;
  color: #4c3340;
  font-family: var(--font-kai);
  font-size: clamp(19px, 1.55vw, 23px);
  font-weight: 600;
  line-height: 1.9;
  letter-spacing: 0.04em;
  text-align: right;
}

.about-wide-copy {
  grid-column: 2 / -1;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 24px);
}

.about-stats-grid > div {
  min-height: 112px;
  padding: 18px;
  border-radius: 8px;
  text-align: center;
}

.about-stats-grid .stat-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 9px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 32% 28%, rgba(255, 255, 255, 0.95), transparent 24%),
    linear-gradient(145deg, #ff9cc8 0%, #ee4f91 58%, #bd2d71 100%);
  box-shadow:
    0 9px 18px rgba(218, 66, 126, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
  color: #fff;
  font-family: var(--font-serif);
  font-size: 20px;
  font-style: normal;
  line-height: 1;
  text-shadow: 0 1px 3px rgba(142, 28, 79, 0.32);
}

.about-stats-grid .stat-icon::before {
  display: block;
  transform: translateY(-1px);
}

.about-stats-grid .stat-icon-days::before {
  content: "♥";
}

.about-stats-grid .stat-icon-chapters::before {
  content: "Ⅱ";
  font-size: 19px;
  letter-spacing: -0.18em;
  transform: translate(-1px, -1px);
}

.about-stats-grid .stat-icon-photos::before {
  content: "▣";
  font-size: 18px;
}

.about-stats-grid .stat-icon-memories::before {
  content: "✿";
  font-size: 21px;
}

.about-stats-grid span,
.about-stats-grid small {
  display: block;
  color: rgba(76, 51, 64, 0.78);
  font-weight: 800;
}

.about-stats-grid strong {
  display: inline-block;
  margin: 6px 6px 0;
  color: var(--rose);
  font-family: var(--font-serif);
  font-size: clamp(34px, 3.6vw, 48px);
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1;
  font-weight: 800;
  line-height: 1;
  vertical-align: baseline;
}

.about-stats-grid small {
  display: inline;
  margin-left: 2px;
  line-height: 1;
  vertical-align: baseline;
}

.about-like-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

.about-like-grid span {
  min-height: 102px;
}

.about-like-grid b {
  font-size: 36px;
}

.about-ending {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  margin: clamp(28px, 5vw, 56px) auto 0;
  text-align: center;
}

.about-ending-script {
  margin: 0;
  color: var(--rose);
  font-family: var(--font-script);
  font-size: clamp(28px, 4vw, 48px);
  line-height: 1.35;
}

.about-ending .ornament {
  margin-block: 12px 14px;
}

.about-ending .primary-action {
  min-height: 46px;
  margin-top: 16px;
}

.about-section-dots {
  position: fixed;
  z-index: 12;
  right: clamp(18px, 3vw, 44px);
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  gap: 12px;
}

.about-section-dots a {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  color: var(--rose-dark);
  font-size: 13px;
  font-weight: 900;
  opacity: 0.68;
}

.about-section-dots a::before {
  content: "♥";
  position: absolute;
  left: -18px;
  color: var(--rose);
  font-size: 13px;
  opacity: 0;
}

.about-section-dots a:hover,
.about-section-dots a:first-child {
  opacity: 1;
}

.about-section-dots a:hover::before,
.about-section-dots a:first-child::before {
  opacity: 1;
}

@media (max-width: 860px) {
.site-header {
    height: auto;
    min-height: 92px;
    padding: max(12px, env(safe-area-inset-top)) 18px 10px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas:
      "brand language"
      "nav nav";
    align-content: start;
    gap: 8px 12px;
    background: linear-gradient(180deg, rgba(81, 36, 67, 0.42), rgba(81, 36, 67, 0));
    backdrop-filter: blur(8px);
  }

.brand {
    grid-area: brand;
    min-width: 0;
  }

.language-switcher {
    grid-area: language;
    justify-self: end;
  }

.nav-links {
    position: static;
    transform: none;
    grid-area: nav;
    justify-content: center;
    width: 100%;
    gap: 14px;
    font-size: 13px;
  }

.nav-links a:nth-child(n + 4) {
    display: inline-flex;
  }

.nav-links a:nth-child(-n + 3),
.about-page .nav-links a:nth-child(n + 3) {
    display: inline-flex;
  }

.about-hero {
    min-height: 420px;
    padding: 116px 18px 116px;
    background-position: center 44%;
  }

.about-hero h1 {
    gap: 14px;
    font-size: clamp(38px, 11vw, 58px);
  }

.about-hero-copy > p:not(.about-script) {
    max-width: 92vw;
    margin-top: 18px;
    font-size: clamp(15px, 4vw, 18px);
  }

.about-story {
    width: min(100% - 28px, 720px);
    margin-top: -26px;
    padding-bottom: 70px;
  }

.about-story::before {
    position: relative;
    top: auto;
    width: 40px;
    height: 40px;
    margin-bottom: 20px;
    font-size: 32px;
  }

.about-block,
.about-letter-block {
    grid-template-columns: 60px minmax(0, 1fr);
    gap: 16px;
    align-items: start;
    margin-bottom: 42px;
  }

.about-index span {
    width: 54px;
    height: 54px;
    font-size: 30px;
  }

.about-index i {
    font-size: 18px;
  }

.about-photo-card,
.about-envelope {
    grid-column: 2;
  }

.about-photo-card img {
    aspect-ratio: 16 / 10;
  }

.about-copy,
.about-letter,
.about-wide-copy {
    grid-column: 2;
  }

.about-copy h2,
.about-wide-copy h2,
.about-letter h2 {
    margin-bottom: 16px;
    font-size: clamp(22px, 6vw, 28px);
  }

.about-reason-grid,
.about-stats-grid,
.about-like-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

.about-reason-grid span {
    grid-template-columns: 1fr;
    place-items: center;
  }

.about-envelope {
    min-height: 214px;
  }

.about-envelope::before {
    top: 36px;
    width: 174px;
    height: 110px;
  }

.envelope-flap {
    top: 58px;
    width: 160px;
    height: 78px;
  }

.about-envelope::after {
    top: 78px;
  }

.about-letter {
    padding: 24px 20px;
  }

.about-letter h2 {
    font-size: clamp(25px, 6.8vw, 32px);
  }

.about-letter p[data-about-key="letterText"] {
    font-size: 15.5px;
    line-height: 1.9;
    letter-spacing: 0.02em;
  }

.about-stats-grid > div,
.about-like-grid span {
    min-height: 96px;
  }

.about-section-dots {
    display: none;
  }
}

@media (max-width: 560px) {
.site-header {
    min-height: 104px;
    padding-inline: 14px;
  }

.brand {
    gap: 6px;
    font-size: 15px;
  }

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

.language-switcher .language-option {
    min-height: 36px;
    padding: 0 11px;
    font-size: 12px;
  }

.nav-links {
    gap: 12px;
    font-size: 13px;
  }

.nav-links a {
    gap: 4px;
    min-height: 30px;
  }

.butterfly-field {
    width: 58vw;
    opacity: 0.78;
  }

.butterfly:nth-child(n + 4) {
    display: none;
  }

.about-hero {
    min-height: 400px;
    padding-top: 130px;
  }

.about-story {
    width: min(100% - 22px, 520px);
  }

.about-block,
.about-letter-block {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
  }

.about-index span {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

.about-index i {
    font-size: 15px;
  }

.about-reason-grid,
.about-stats-grid,
.about-like-grid {
    gap: 10px;
  }

.about-stats-grid strong {
    font-size: 34px;
  }

.about-like-grid b {
    font-size: 30px;
  }

.about-ending-script {
    font-size: 30px;
  }

button,
.primary-action {
    width: 100%;
    padding: 0 18px;
  }
}

@media (max-width: 380px) {
.site-header {
    min-height: 112px;
  }

.brand {
    font-size: 14px;
  }

.nav-links {
    gap: 10px;
    font-size: 12px;
  }

.language-switcher .language-option {
    padding-inline: 9px;
  }

.about-page .nav-links {
    gap: 8px;
    font-size: 11px;
  }

.about-hero h1 {
    font-size: 34px;
  }

.about-hero-copy > p:not(.about-script) {
    font-size: 14px;
  }

.about-reason-grid,
.about-stats-grid,
.about-like-grid {
    grid-template-columns: 1fr;
  }

.about-copy p,
.about-letter p,
.about-ending > p:not(.about-ending-script) {
    font-size: 14px;
  }

.about-letter p[data-about-key="letterText"] {
    font-size: 14px;
    letter-spacing: 0.01em;
  }
}

@keyframes heroDownButtonPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.06); }
}

.about-page > .site-header {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: background-color 220ms ease, -webkit-backdrop-filter 220ms ease, backdrop-filter 220ms ease;
}

.about-page > .site-header.is-scrolled {
  background-color: #956477;
}

@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
.about-page > .site-header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: linear-gradient(110deg, rgba(116, 68, 99, 0.90), rgba(174, 110, 142, 0.88), rgba(132, 77, 120, 0.90));
    opacity: 0;
    transition: opacity 220ms ease;
  }

.about-page > .site-header.is-scrolled {
    background-color: transparent;
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    backdrop-filter: blur(20px) saturate(140%);
  }

.about-page > .site-header.is-scrolled::before {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
.about-page > .site-header::before {
    transition: none;
  }
}

/* Public about letter gate: start */
.about-page .about-letter.is-locked {
  min-height: 360px;
  display: grid;
  place-items: center;
  background:
    radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.98), rgba(255, 236, 246, 0.88) 68%),
    linear-gradient(135deg, #fffafd, #ffe9f2);
  box-shadow: 0 18px 44px rgba(216, 82, 128, 0.12), 0 0 36px rgba(255, 230, 242, 0.9) inset;
}
.about-page .letter-lock {
  text-align: center;
  color: #7a4a5c;
}
.about-page .letter-lock-icon {
  display: inline-flex;
  color: var(--rose);
  margin-bottom: 16px;
}
.about-page .letter-lock p {
  font-family: var(--font-sans);
  line-height: 1.8;
  margin: 0 0 22px;
}
.about-page .letter-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, #e95f8a, #d76e9c);
  box-shadow: 0 6px 20px rgba(216, 82, 128, 0.2);
  font-weight: 700;
}
.about-page .letter-login:focus-visible {
  outline: 2px solid #956477;
  outline-offset: 4px;
}
/* Public about letter gate: end */
