@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Great+Vibes&family=Playfair+Display:wght@400;500;600;700&family=Noto+Serif+JP:wght@400;500;600;700&family=Shippori+Mincho:wght@400;500;600;700&display=swap");

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

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: #24231f;
  background: #f4efe7;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.is-rsvp-confirmation-open {
  overflow: hidden;
}

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

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

.wedding-app {
  --ink: #24231f;
  --ink-soft: #676159;
  --ivory: #f8f3ea;
  --cream: #eee4d6;
  --blue: #98a29b;
  --lavender: #b9b0a6;
  --pink: #7a2f2a;
  --gold: #a58b5f;
  --sage: #7f897f;
  --wine: #6f2420;
  --shadow: rgba(36, 35, 31, 0.14);
  color: var(--ink);
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
  background:
    linear-gradient(180deg, #f4efe7 0%, #ebe1d3 48%, #f7f2ea 100%);
}

.wedding-app::before,
.wedding-app::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.wedding-app::before {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 9% 18%, rgba(255, 255, 255, 0.64) 0 1px, transparent 2.4px),
    radial-gradient(circle at 34% 66%, rgba(165, 139, 95, 0.32) 0 1px, transparent 2.4px),
    radial-gradient(circle at 78% 28%, rgba(255, 255, 255, 0.48) 0 1px, transparent 2.4px);
  background-position:
    0 0,
    0 0,
    0 0,
    0 0,
    0 0;
  background-size:
    520px 520px,
    620px 620px,
    680px 680px,
    740px 740px,
    580px 580px;
  animation: star-twinkle 8.5s ease-in-out infinite alternate;
}

.wedding-app::after {
  opacity: 0.12;
  background:
    radial-gradient(circle at 16% 32%, rgba(255, 255, 255, 0.76) 0 1px, transparent 2.2px),
    radial-gradient(circle at 72% 68%, rgba(165, 139, 95, 0.38) 0 1px, transparent 2.2px);
  background-position:
    0 0,
    0 0,
    0 0;
  background-size:
    760px 760px,
    620px 620px,
    700px 700px;
  mix-blend-mode: screen;
  animation: star-glimmer 10s ease-in-out infinite alternate;
}

.top-nav {
  position: fixed;
  top: 20px;
  left: 50%;
  z-index: 20;
  display: flex;
  gap: 6px;
  padding: 8px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
  box-shadow: 0 16px 40px rgba(45, 37, 71, 0.12);
  backdrop-filter: blur(14px);
  transform: translateX(-50%);
  animation: nav-drop-in 900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  overflow: hidden;
}

.top-nav::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 18%, rgba(255, 255, 255, 0.58), transparent 42%);
  transform: translateX(-130%);
  animation: nav-sheen 6.5s ease-in-out 1.2s infinite;
}

.top-nav a {
  padding: 9px 16px;
  border-radius: 999px;
  color: var(--ink);
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.top-nav a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  place-items: center;
  padding: 120px 24px 90px;
  overflow: hidden;
  text-align: center;
}

.hero__slideshow {
  position: absolute;
  inset: 0;
  background: #201719;
  overflow: hidden;
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: 0;
  transform: translate3d(0, var(--hero-image-y, 0), 0) scale(var(--hero-image-scale, 1.02));
  transform-origin: center;
  will-change: opacity;
  animation: hero-slide-fade 32s linear infinite;
}

.hero__image:nth-child(1) {
  opacity: 1;
  animation-name: hero-slide-fade-first;
  animation-delay: 0s;
}

.hero__image:nth-child(2) {
  animation-delay: 8s;
}

.hero__image:nth-child(3) {
  animation-delay: 16s;
}

.hero__image:nth-child(4) {
  animation-delay: 24s;
}

.hero__card-media {
  display: none;
}

.hero__card-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0;
  animation: hero-slide-fade 32s linear infinite;
}

.hero__card-image:nth-child(1) {
  opacity: 1;
  animation-name: hero-slide-fade-first;
  animation-delay: 0s;
}

.hero__card-image:nth-child(2) {
  animation-delay: 8s;
}

.hero__card-image:nth-child(3) {
  animation-delay: 16s;
}

.hero__card-image:nth-child(4) {
  animation-delay: 24s;
}

.hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 19, 17, 0.28), rgba(20, 19, 17, 0.76)),
    radial-gradient(circle at 50% 44%, rgba(165, 139, 95, 0.18), transparent 48%);
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 880px;
  color: #fff8ef;
  animation: invitation-reveal 1900ms cubic-bezier(0.22, 0.74, 0.18, 1) 280ms both;
}

.hero__content::before,
.reception-hero__content::before,
.profile-hero .section__inner::before {
  content: "";
  display: block;
  width: 82px;
  height: 1px;
  margin: 0 auto 22px;
  background: linear-gradient(90deg, transparent, rgba(190, 168, 122, 0.92), transparent);
  box-shadow: 0 0 22px rgba(165, 139, 95, 0.28);
  animation: ornament-glow 6s ease-in-out infinite;
}

.eyebrow {
  margin: 0 0 14px;
  color: rgba(85, 73, 111, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 248, 239, 0.74);
}

.hero h1 {
  margin: 0;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(4rem, 11vw, 8.6rem);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: 0.04em;
  text-shadow: 0 22px 46px rgba(0, 0, 0, 0.42);
}

.hero__date {
  margin: 26px 0 18px;
  color: rgba(255, 248, 239, 0.9);
  font-size: clamp(1rem, 2.4vw, 1.3rem);
  letter-spacing: 0.24em;
}

.countdown {
  display: inline-grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 10px;
  margin: 0 auto 30px;
  padding: 10px;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 19, 17, 0.22);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(14px);
}

.countdown span {
  display: grid;
  gap: 2px;
  min-width: 76px;
  padding: 8px 12px;
  border-radius: 999px;
  color: rgba(255, 253, 248, 0.78);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: transparent;
}

.countdown strong {
  color: #fffdf8;
  font-size: 1.5rem;
  line-height: 1;
  letter-spacing: 0.02em;
}

.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  border-radius: 999px;
  border: 0;
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.08em;
  transition: transform 0.42s ease, box-shadow 0.42s ease, background 0.42s ease;
  overflow: hidden;
  position: relative;
}

.primary-button::after,
.ghost-button::after {
  content: "";
  position: absolute;
  inset: -30% -80%;
  pointer-events: none;
  background: linear-gradient(105deg, transparent 35%, rgba(255, 255, 255, 0.5), transparent 65%);
  transform: translateX(-45%);
  transition: transform 1s ease;
}

.primary-button:hover::after,
.ghost-button:hover::after {
  transform: translateX(45%);
}

.primary-button {
  color: #263238;
  border: 1px solid rgba(111, 36, 32, 0.34);
  background: linear-gradient(135deg, rgba(248, 243, 234, 0.98), rgba(190, 168, 122, 0.76));
  box-shadow:
    0 18px 36px rgba(205, 181, 122, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.46);
}

.ghost-button {
  color: #fff8ef;
  border: 1px solid rgba(255, 255, 255, 0.46);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
}

.ghost-button--light {
  color: var(--ink);
  border-color: rgba(85, 73, 111, 0.18);
  background: rgba(255, 255, 255, 0.62);
}

.primary-button:hover,
.ghost-button:hover {
  transform: translateY(-2px);
}

.section {
  position: relative;
  padding: clamp(72px, 9vw, 120px) 24px;
  scroll-margin-top: 104px;
  overflow: clip;
}

.section::before {
  content: "";
  position: absolute;
  top: 34px;
  left: 50%;
  width: min(420px, 72vw);
  height: 1px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(165, 139, 95, 0.24), transparent);
  transform: translateX(-50%);
}

.section::after {
  content: none;
}

.section__inner {
  position: relative;
  z-index: 3;
  max-width: 1120px;
  margin: 0 auto;
}

.section__inner--center {
  max-width: 840px;
  text-align: center;
}

.section h2 {
  margin: 0 0 22px;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  line-height: 1.15;
}

.invitation-page .section h2 {
  color: #2a2721;
  font-weight: 500;
}

.section p {
  color: var(--ink-soft);
  font-size: 1.02rem;
  line-height: 1.9;
}

.text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(231, 207, 156, 0.9);
}

.message-section {
  background: rgba(244, 239, 231, 0.28);
}

.message-section::before {
  top: 26px;
  width: min(560px, 80vw);
  background:
    linear-gradient(90deg, transparent, rgba(165, 139, 95, 0.28), transparent),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 2px);
}

.invitation-letter {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 0;
}

.invitation-letter::before,
.invitation-letter::after {
  content: none;
  position: absolute;
  z-index: 0;
  pointer-events: none;
  border-radius: 34px;
}

.invitation-letter::before {
  inset: 28px 38px 12px;
  background: rgba(45, 37, 71, 0.16);
  filter: blur(28px);
  transform: translateY(18px) rotateX(58deg) scaleX(0.92);
}

.invitation-letter::after {
  inset: 0;
  border: 1px solid rgba(231, 207, 156, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.34), transparent 30%),
    radial-gradient(circle at 12% 12%, rgba(246, 199, 232, 0.18), transparent 26%),
    radial-gradient(circle at 88% 18%, rgba(184, 215, 255, 0.16), transparent 24%);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.invitation-letter__paper {
  position: relative;
  z-index: 1;
  min-height: 360px;
  display: grid;
  place-items: center;
  padding: clamp(48px, 7vw, 78px) clamp(28px, 7vw, 96px);
  overflow: hidden;
  border: 0;
  border-radius: 6px;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.92), transparent 30%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.98), rgba(247, 241, 231, 0.98));
  box-shadow:
    0 28px 70px rgba(36, 35, 31, 0.1),
    0 8px 22px rgba(36, 35, 31, 0.06);
  transform: translateY(20px);
  transition:
    opacity 1500ms cubic-bezier(0.22, 0.74, 0.18, 1),
    transform 1500ms cubic-bezier(0.22, 0.74, 0.18, 1),
    box-shadow 1500ms ease;
}

.invitation-scroll-frame.is-visible .invitation-letter__paper {
  animation: message-rise 1500ms cubic-bezier(0.22, 0.74, 0.18, 1) 180ms both;
}

.invitation-letter__paper::before,
.invitation-letter__paper::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.invitation-letter__paper::before {
  inset: 14px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(180deg, rgba(165, 139, 95, 0.05), transparent 36%);
}

.invitation-letter__paper::after {
  top: -24%;
  left: -28%;
  width: 42%;
  height: 150%;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.52), transparent 74%);
  transform: translateX(-120%) rotate(10deg);
}

.invitation-letter::before {
  transform-origin: 50% 0;
}

.invitation-letter::after {
  transform-origin: 50% 0;
}

.invitation-scroll-frame.is-visible .invitation-letter::after {
  animation: none;
}

.invitation-scroll-frame.is-visible .invitation-letter__paper::after {
  animation: letter-sheen 4200ms ease 1100ms both;
}

.invitation-letter__ribbon {
  display: none;
}

.invitation-letter__body {
  max-width: 680px;
  margin: 0 auto;
  color: #3c3831;
  font-size: 1.06rem;
  line-height: 2.05;
  text-wrap: pretty;
}

.invitation-page .invitation-scroll-frame {
  isolation: isolate;
}

.invitation-page .invitation-scroll-frame .section__inner {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  transition:
    opacity 820ms cubic-bezier(0.22, 0.74, 0.18, 1),
    transform 920ms cubic-bezier(0.22, 0.74, 0.18, 1);
  will-change: opacity, transform;
}

.invitation-page .invitation-scroll-frame.is-visible .section__inner {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  will-change: auto;
}

.floral-frame {
  display: none;
}

.invitation-scroll-frame.is-visible .floral-frame {
  opacity: 1;
  transform: scale(1);
}

.floral-frame::before,
.floral-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid rgba(231, 207, 156, 0.38);
  border-radius: inherit;
  clip-path: polygon(0 0, 28% 0, 28% 1px, 72% 1px, 72% 0, 100% 0, 100% 28%, calc(100% - 1px) 28%, calc(100% - 1px) 72%, 100% 72%, 100% 100%, 72% 100%, 72% calc(100% - 1px), 28% calc(100% - 1px), 28% 100%, 0 100%, 0 72%, 1px 72%, 1px 28%, 0 28%);
}

.floral-frame::after {
  inset: 12px;
  border-color: rgba(246, 199, 232, 0.22);
  filter: blur(0.2px);
}

.floral-frame span {
  position: absolute;
  width: 88px;
  height: 88px;
  opacity: 0;
  transform: translateY(12px) rotate(-10deg) scale(0.86);
  transition:
    opacity 1500ms ease,
    transform 1700ms cubic-bezier(0.22, 0.74, 0.18, 1);
}

.invitation-scroll-frame.is-visible .floral-frame span {
  opacity: 0.9;
  transform: translateY(0) rotate(0deg) scale(1);
}

.floral-frame span::before,
.floral-frame span::after {
  content: "";
  position: absolute;
  border-radius: 999px 999px 999px 0;
  transform-origin: bottom left;
}

.floral-frame span::before {
  inset: 18px 28px 26px 12px;
  background:
    radial-gradient(circle at 72% 28%, rgba(255, 255, 255, 0.72), transparent 24%),
    linear-gradient(135deg, rgba(246, 199, 232, 0.68), rgba(255, 250, 244, 0.28));
  box-shadow:
    20px 2px 0 rgba(246, 199, 232, 0.34),
    10px -16px 0 rgba(255, 250, 244, 0.6),
    30px -13px 0 rgba(184, 215, 255, 0.28);
}

.floral-frame span::after {
  left: 12px;
  bottom: 14px;
  width: 58px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, rgba(231, 207, 156, 0.86), transparent);
  transform: rotate(-34deg);
}

.floral-frame span:nth-child(1) {
  top: -18px;
  left: -16px;
}

.floral-frame span:nth-child(2) {
  top: -18px;
  right: -16px;
  transform: translateY(12px) rotate(100deg) scale(0.86);
}

.invitation-scroll-frame.is-visible .floral-frame span:nth-child(2) {
  transform: translateY(0) rotate(90deg) scale(1);
}

.floral-frame span:nth-child(3) {
  bottom: -18px;
  left: -16px;
  transform: translateY(12px) rotate(-100deg) scale(0.86);
}

.invitation-scroll-frame.is-visible .floral-frame span:nth-child(3) {
  transform: translateY(0) rotate(-90deg) scale(1);
}

.floral-frame span:nth-child(4) {
  right: -16px;
  bottom: -18px;
  transform: translateY(12px) rotate(190deg) scale(0.86);
}

.invitation-scroll-frame.is-visible .floral-frame span:nth-child(4) {
  transform: translateY(0) rotate(180deg) scale(1);
}

.signature {
  display: inline-block;
  margin-top: 20px;
  color: var(--wine);
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
}

.details-grid article,
.story-card,
.reply-panel,
.timeline li {
  position: relative;
  overflow: hidden;
  border: 0;
  background: rgba(248, 243, 234, 0.56);
  box-shadow: 0 18px 48px rgba(36, 35, 31, 0.08);
  backdrop-filter: blur(8px);
}

.invitation-page .details-grid article,
.invitation-page .timeline li,
.invitation-page .reply-panel {
  opacity: 0;
  transform: translateY(22px) scale(0.98);
  transition:
    opacity 1300ms ease,
    transform 1500ms cubic-bezier(0.2, 0.78, 0.18, 1);
}

.invitation-page .is-visible .details-grid article,
.invitation-page .is-visible .timeline li,
.invitation-page .is-visible .reply-panel {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.invitation-page .is-visible .details-grid article:nth-child(2),
.invitation-page .is-visible .timeline li:nth-child(2) {
  transition-delay: 220ms;
}

.invitation-page .is-visible .details-grid article:nth-child(3),
.invitation-page .is-visible .timeline li:nth-child(3) {
  transition-delay: 420ms;
}

.invitation-page .is-visible .timeline li:nth-child(4) {
  transition-delay: 620ms;
}

.invitation-page .is-visible .reply-panel {
  transition-delay: 320ms;
}

.details-grid article::after,
.story-card::after,
.reply-panel::after,
.timeline li::after,
.profile-grid article::after,
.qa-list article::after {
  content: none;
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 12%, rgba(255, 255, 255, 0.34), transparent 34%);
  transform: translateX(-120%);
  transition: transform 1.1s ease;
}

.details-grid article:hover::after,
.story-card:hover::after,
.reply-panel:hover::after,
.timeline li:hover::after,
.profile-grid article:hover::after,
.qa-list article:hover::after {
  transform: translateX(120%);
}

.details-grid article {
  min-height: 164px;
  padding: 26px 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.details-grid--event {
  grid-template-columns: 1fr;
}

.venue-card .text-link {
  margin-top: 14px;
}

.venue-card {
  display: grid;
  align-content: start;
}

.venue-access {
  display: grid;
  gap: 12px;
  margin: 18px 0 0;
}

.venue-access div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(36, 35, 31, 0.12);
}

.venue-access div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.venue-access dt {
  color: var(--gold);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.venue-access dd {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.parking-note {
  word-break: keep-all;
}

.map-frame {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 360px;
  margin-top: 22px;
  border: 0;
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.84), rgba(247, 228, 233, 0.9)),
    repeating-linear-gradient(0deg, rgba(207, 111, 133, 0.12) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(117, 148, 177, 0.12) 0 1px, transparent 1px 34px);
  box-shadow: 0 22px 58px rgba(36, 35, 31, 0.12);
}

.map-card {
  display: grid;
  place-items: center;
  align-content: center;
  gap: 12px;
  width: 100%;
  height: 100%;
  padding: 28px;
  color: var(--ink);
  text-align: center;
}

.map-card span {
  color: rgba(36, 35, 31, 0.48);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.map-card strong {
  color: var(--ink);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
}

.map-card p,
.map-card small {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.8;
}

.details-grid span {
  display: block;
  margin-bottom: 12px;
  color: rgba(36, 35, 31, 0.56);
  font-size: 0.82rem;
  letter-spacing: 0.2em;
}

.details-grid strong {
  display: block;
  color: var(--ink);
  font-size: 1.24rem;
  font-weight: 600;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 34px;
}

.story-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.story-card {
  overflow: hidden;
  border-radius: 28px;
}

.story-card__image {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, rgba(184, 215, 255, 0.24), rgba(246, 199, 232, 0.24));
}

.story-card__image img {
  object-fit: cover;
}

.story-card__body {
  padding: 22px;
}

.story-card__body span {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
}

.story-card__body h3 {
  margin: 8px 0 10px;
  font-size: 1.15rem;
}

.story-card__body p {
  margin: 0;
  font-size: 0.94rem;
}

.schedule-layout,
.reply-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: start;
  max-width: 760px;
}

.timeline {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.timeline li {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 18px;
  padding: 18px;
  border-radius: 0;
  border-bottom: 1px solid rgba(36, 35, 31, 0.1);
  box-shadow: none;
  background: transparent;
}

.timeline li::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--wine);
  box-shadow: 0 0 0 8px rgba(111, 36, 32, 0.08), 0 0 24px rgba(111, 36, 32, 0.18);
  transform: translateY(-50%);
  animation: timeline-pulse 2.8s ease-in-out infinite;
}

.timeline time {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
}

.timeline p {
  margin: 0;
  font-size: 0.94rem;
}

.reply-section {
  background: linear-gradient(180deg, rgba(244, 239, 231, 0.2), rgba(226, 214, 199, 0.42));
}

.reception-page {
  background:
    radial-gradient(circle at 12% 18%, rgba(184, 215, 255, 0.34), transparent 36%),
    radial-gradient(circle at 88% 12%, rgba(246, 199, 232, 0.34), transparent 34%),
    linear-gradient(180deg, #fdfbff 0%, #f5f0ff 48%, #fffaf4 100%);
}

.reception-hero,
.profile-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 86vh;
  padding: 120px 24px 88px;
  overflow: hidden;
  text-align: center;
}

.reception-hero::after,
.profile-hero::after {
  content: "";
  position: absolute;
  inset: 12% 16%;
  pointer-events: none;
  border: 1px solid rgba(231, 207, 156, 0.34);
  border-radius: 999px;
  opacity: 0.56;
  transform: rotate(-4deg);
  animation: halo-float 9s ease-in-out infinite alternate;
}

.reception-hero__sparkles {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 20%, rgba(255, 255, 255, 0.95), transparent 55%),
    radial-gradient(2px 2px at 78% 18%, rgba(255, 255, 255, 0.8), transparent 55%),
    radial-gradient(1.5px 1.5px at 56% 40%, rgba(255, 255, 255, 0.9), transparent 55%),
    radial-gradient(2px 2px at 22% 72%, rgba(255, 255, 255, 0.82), transparent 55%),
    radial-gradient(1.5px 1.5px at 72% 78%, rgba(255, 255, 255, 0.85), transparent 55%);
  opacity: 0.72;
  animation: sparkle-field 5.4s ease-in-out infinite alternate;
}

.reception-hero::before,
.profile-hero::before {
  content: "";
  position: absolute;
  width: min(720px, 78vw);
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 183, 255, 0.32), transparent 68%);
  filter: blur(2px);
}

.reception-hero__content,
.profile-hero .section__inner {
  position: relative;
  z-index: 1;
  animation: invitation-reveal 1200ms cubic-bezier(0.22, 0.74, 0.18, 1) 120ms both;
}

.reception-hero h1,
.profile-hero h1 {
  margin: 0 0 18px;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: clamp(4rem, 12vw, 9rem);
  line-height: 0.95;
}

.reception-hero p,
.profile-hero p {
  max-width: 760px;
  margin-inline: auto;
}

.concept-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(246, 199, 232, 0.14)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.32) 0 2px, transparent 2px 8px);
}

.flip-book {
  display: grid;
  gap: 24px;
  margin-top: 24px;
}

.flip-book__stage {
  perspective: 2200px;
  perspective-origin: 50% 44%;
}

.flip-book__hint {
  margin: 0 0 14px;
  color: rgba(85, 73, 111, 0.6);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
}

.flip-book__spread {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  min-height: clamp(560px, 72vh, 760px);
  border-radius: 12px 28px 28px 12px;
  filter: drop-shadow(0 38px 72px rgba(45, 37, 71, 0.24));
  transform-style: preserve-3d;
  isolation: isolate;
}

.flip-book__viewport {
  display: grid;
  justify-items: center;
  width: 100%;
}

.flip-book__pageflip {
  width: min(100%, 1240px);
  min-height: clamp(560px, 72vh, 760px);
  display: grid;
  justify-items: center;
  filter: drop-shadow(0 38px 72px rgba(45, 37, 71, 0.24));
  animation: book-arrive 900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.flip-book__pageflip-host {
  width: 100%;
  margin-inline: auto;
}

.flip-book__pageflip-host.stf__parent {
  margin-inline: auto;
}

.flip-book__pageflip-host .stf__wrapper {
  border-radius: 12px 28px 28px 12px;
}

.flip-book__mobile-spread {
  display: none;
}

.book-page {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
  border: 1px solid rgba(231, 207, 156, 0.5);
  background:
    linear-gradient(90deg, rgba(45, 37, 71, 0.08), transparent 8%, transparent 92%, rgba(45, 37, 71, 0.06)),
    repeating-linear-gradient(90deg, rgba(231, 207, 156, 0.045) 0 1px, transparent 1px 6px),
    #fffaf4;
  box-shadow:
    inset 20px 0 36px rgba(45, 37, 71, 0.08),
    inset -10px 0 22px rgba(255, 255, 255, 0.45);
}

.book-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.48), transparent 18%, transparent 76%, rgba(45, 37, 71, 0.16)),
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.5), transparent 42%);
  opacity: 0.54;
}

.book-page::after,
.mobile-book-page::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(110deg, transparent 18%, rgba(255, 255, 255, 0.32), transparent 42%);
  transform: translateX(-120%);
  animation: paper-glint 8s ease-in-out infinite;
}

.book-page.--left {
  border-radius: 12px 0 0 28px;
  box-shadow:
    inset -24px 0 42px rgba(45, 37, 71, 0.1),
    inset 10px 0 22px rgba(255, 255, 255, 0.45);
}

.book-page.--right {
  border-radius: 0 28px 28px 0;
}

.book-page--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mobile-book-page {
  position: relative;
  display: grid;
  grid-template-rows: minmax(280px, 0.9fr) auto;
  overflow: hidden;
  min-height: clamp(560px, 148vw, 760px);
  border: 1px solid rgba(231, 207, 156, 0.52);
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(45, 37, 71, 0.06), transparent 10%, transparent 90%, rgba(45, 37, 71, 0.05)),
    repeating-linear-gradient(90deg, rgba(231, 207, 156, 0.045) 0 1px, transparent 1px 6px),
    #fffaf4;
  box-shadow:
    inset 0 18px 28px rgba(255, 255, 255, 0.42),
    inset 0 -18px 32px rgba(45, 37, 71, 0.07);
}

.mobile-book-page::before {
  content: "";
  position: absolute;
  inset: auto 8% 48%;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, rgba(45, 37, 71, 0.18), transparent);
  box-shadow: 0 0 22px rgba(45, 37, 71, 0.14);
}

.mobile-book-page__image {
  position: relative;
  overflow: hidden;
  min-height: clamp(280px, 76vw, 420px);
}

.mobile-book-page__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}

.mobile-book-page__text {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 300px;
  padding: clamp(30px, 8vw, 44px);
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 215, 255, 0.18), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(246, 199, 232, 0.2), transparent 42%);
}

.mobile-book-page__text span {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mobile-book-page__text h3 {
  margin: 8px 0 0;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: clamp(1.85rem, 8.2vw, 2.5rem);
  white-space: nowrap;
}

.mobile-book-page__text p {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.9;
}

.flip-book__spread::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 auto;
  width: 2px;
  z-index: 6;
  background: linear-gradient(180deg, transparent, rgba(45, 37, 71, 0.22), transparent);
  box-shadow: 0 0 28px rgba(45, 37, 71, 0.2);
}

.flip-book__spread::after {
  content: "";
  position: absolute;
  inset: 4% 48% 4% 48%;
  z-index: 7;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(45, 37, 71, 0.18), transparent 50%, rgba(255, 255, 255, 0.42)),
    linear-gradient(180deg, transparent, rgba(45, 37, 71, 0.14), transparent);
  filter: blur(7px);
}

.flip-page {
  position: relative;
  overflow: hidden;
  min-height: clamp(560px, 72vh, 760px);
  border: 1px solid rgba(231, 207, 156, 0.5);
  background:
    linear-gradient(90deg, rgba(45, 37, 71, 0.08), transparent 8%, transparent 92%, rgba(45, 37, 71, 0.06)),
    repeating-linear-gradient(90deg, rgba(231, 207, 156, 0.045) 0 1px, transparent 1px 6px),
    #fffaf4;
  backface-visibility: hidden;
}

.flip-page::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.6), transparent 18%, transparent 76%, rgba(45, 37, 71, 0.24)),
    radial-gradient(circle at 8% 50%, rgba(255, 255, 255, 0.62), transparent 42%);
}

.flip-page--left {
  border-radius: 12px 0 0 28px;
  box-shadow: inset -20px 0 36px rgba(45, 37, 71, 0.08);
}

.flip-page--right {
  z-index: 4;
  border-radius: 0 28px 28px 0;
  box-shadow: inset 20px 0 36px rgba(45, 37, 71, 0.08);
  transform-origin: left center;
}

.flip-page--under {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: 5;
  border-radius: 0 28px 28px 0;
  opacity: 0;
  pointer-events: none;
  transform: translateZ(0);
}

.flip-book.is-turning .flip-page--under {
  opacity: 1;
}

.flip-book--prev.is-turning .flip-page--under {
  inset: 0 50% 0 0;
  border-radius: 12px 0 0 28px;
}

.flip-page--preview {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: 1;
  border-radius: 0 28px 28px 0;
  opacity: 0.26;
  transform: translateX(18px) scale(0.98);
}

.flip-page__image {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(184, 215, 255, 0.24), rgba(246, 199, 232, 0.24));
}

.flip-page__image img {
  object-fit: cover;
}

.flip-page__caption {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  padding: 18px 20px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 20px;
  color: #fff;
  background: rgba(45, 37, 71, 0.42);
  backdrop-filter: blur(10px);
}

.flip-page__caption span,
.flip-page__text span {
  color: var(--gold);
  font-family: "Playfair Display", serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.flip-page__caption h3,
.flip-page__text h3 {
  margin: 8px 0 0;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: clamp(2.2rem, 4.4vw, 4rem);
}

.mobile-book-page .flip-page__caption h3 {
  margin-top: 0;
  white-space: nowrap;
}

.flip-page__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 100%;
  padding: clamp(32px, 6vw, 64px);
  background:
    radial-gradient(circle at 20% 20%, rgba(184, 215, 255, 0.18), transparent 38%),
    radial-gradient(circle at 88% 82%, rgba(246, 199, 232, 0.2), transparent 42%);
}

.flip-page__text p {
  margin: 18px 0 0;
}

.flip-page__curl {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 112px;
  height: 112px;
  border-radius: 26px 0 0 0;
  background: linear-gradient(135deg, transparent 47%, rgba(231, 207, 156, 0.34) 50%, rgba(255, 255, 255, 0.96) 78%);
  box-shadow: -20px -20px 36px rgba(45, 37, 71, 0.12);
}

.turning-sheet {
  position: absolute;
  inset: 0 0 0 50%;
  z-index: 10;
  border-radius: 0 28px 28px 0;
  transform-origin: left center;
  transform-style: preserve-3d;
  pointer-events: none;
  filter: drop-shadow(-26px 20px 30px rgba(45, 37, 71, 0.22));
  will-change: transform, filter;
}

.turning-sheet--next {
  animation: sheet-turn-next 1900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.turning-sheet--prev {
  inset: 0 50% 0 0;
  border-radius: 12px 0 0 28px;
  transform-origin: right center;
  animation: sheet-turn-prev 1900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  filter: drop-shadow(26px 20px 30px rgba(45, 37, 71, 0.22));
}

.turning-sheet__face {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border: 1px solid rgba(231, 207, 156, 0.58);
  background:
    linear-gradient(90deg, rgba(45, 37, 71, 0.08), transparent 8%, transparent 92%, rgba(45, 37, 71, 0.08)),
    repeating-linear-gradient(90deg, rgba(231, 207, 156, 0.05) 0 1px, transparent 1px 6px),
    #fffaf4;
  backface-visibility: hidden;
  box-shadow:
    inset 26px 0 42px rgba(45, 37, 71, 0.1),
    inset -10px 0 22px rgba(255, 255, 255, 0.45);
  transform-style: preserve-3d;
}

.turning-sheet__face::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.88), transparent 20%, transparent 66%, rgba(45, 37, 71, 0.34)),
    radial-gradient(circle at 0% 50%, rgba(255, 255, 255, 0.8), transparent 48%);
  animation: sheet-sheen 1900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.turning-sheet__face::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 24px;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(45, 37, 71, 0.2), transparent);
  opacity: 0.7;
}

.turning-sheet__face--front {
  border-radius: 0 28px 28px 0;
}

.turning-sheet__face--back {
  border-radius: 28px 0 0 28px;
  transform: rotateY(180deg) translateZ(1px);
}

.turning-sheet--prev .turning-sheet__face--front {
  border-radius: 12px 0 0 28px;
}

.turning-sheet--prev .turning-sheet__face--back {
  border-radius: 0 28px 28px 0;
}

.turning-sheet__back-image {
  position: absolute;
  inset: 0;
}

.turning-sheet__back-image img {
  object-fit: cover;
}

.turning-sheet--next::after,
.turning-sheet--prev::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: rgba(45, 37, 71, 0.28);
  filter: blur(22px);
  transform: translate3d(-18px, 22px, -18px) scale(0.94);
  animation: sheet-ground-shadow 1900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

@keyframes sheet-turn-next {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateZ(4px) scaleX(1);
    filter: brightness(1);
  }
  12% {
    transform: rotateY(-18deg) translateX(-2px) translateZ(22px) scaleX(0.985);
    filter: brightness(1.04);
  }
  18% {
    transform: rotateY(-34deg) translateX(-5px) translateZ(34px) skewY(-0.7deg) scaleX(0.965);
    filter: brightness(1.03);
  }
  46% {
    transform: rotateY(-92deg) translateX(-18px) translateZ(54px) skewY(-1.4deg) scaleX(0.92);
    filter: brightness(0.92);
  }
  74% {
    transform: rotateY(-148deg) translateX(-10px) translateZ(28px) skewY(-0.45deg) scaleX(0.965);
    filter: brightness(0.98);
  }
  90% {
    transform: rotateY(-172deg) translateX(-2px) translateZ(10px) scaleX(0.992);
  }
  100% {
    opacity: 1;
    transform: rotateY(-180deg) translateZ(4px) scaleX(1);
    filter: brightness(1);
  }
}

@keyframes sheet-turn-prev {
  0% {
    opacity: 1;
    transform: rotateY(0deg) translateZ(4px) scaleX(1);
    filter: brightness(1);
  }
  12% {
    transform: rotateY(18deg) translateX(2px) translateZ(22px) scaleX(0.985);
    filter: brightness(1.04);
  }
  18% {
    transform: rotateY(34deg) translateX(5px) translateZ(34px) skewY(0.7deg) scaleX(0.965);
    filter: brightness(1.03);
  }
  46% {
    transform: rotateY(92deg) translateX(18px) translateZ(54px) skewY(1.4deg) scaleX(0.92);
    filter: brightness(0.92);
  }
  74% {
    transform: rotateY(148deg) translateX(10px) translateZ(28px) skewY(0.45deg) scaleX(0.965);
    filter: brightness(0.98);
  }
  90% {
    transform: rotateY(172deg) translateX(2px) translateZ(10px) scaleX(0.992);
  }
  100% {
    opacity: 1;
    transform: rotateY(180deg) translateZ(4px) scaleX(1);
    filter: brightness(1);
  }
}

@keyframes sheet-sheen {
  0% {
    opacity: 0.18;
    transform: translateX(-42%);
  }
  32% {
    opacity: 0.7;
  }
  58% {
    opacity: 0.38;
  }
  100% {
    opacity: 0;
    transform: translateX(38%);
  }
}

@keyframes sheet-ground-shadow {
  0% {
    opacity: 0.18;
    transform: translate3d(0, 10px, -18px) scale(0.98);
  }
  44% {
    opacity: 0.46;
    transform: translate3d(-30px, 26px, -18px) scale(0.88);
  }
  100% {
    opacity: 0.12;
    transform: translate3d(-6px, 10px, -18px) scale(0.98);
  }
}

.flip-book__controls {
  display: grid;
  grid-template-columns: 140px 1fr 140px;
  gap: 18px;
  align-items: center;
}

.flip-book__controls button {
  min-height: 42px;
  border: 1px solid rgba(85, 73, 111, 0.18);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.flip-book__controls button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.flip-book__progress {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.flip-book__progress button {
  width: 12px;
  min-height: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
}

.flip-book__progress button.is-active {
  background: var(--gold);
}

@keyframes page-flip-next {
  0% {
    opacity: 0.5;
    transform: rotateY(-104deg) translateX(-10px) skewY(-1.5deg);
    box-shadow: inset 68px 0 80px rgba(45, 37, 71, 0.24);
  }
  28% {
    opacity: 0.88;
    transform: rotateY(-58deg) translateX(-4px) skewY(-0.8deg);
    box-shadow: inset 58px 0 72px rgba(45, 37, 71, 0.2);
  }
  66% {
    opacity: 1;
    transform: rotateY(9deg) translateX(1px) skewY(0.25deg);
    box-shadow: inset 12px 0 30px rgba(45, 37, 71, 0.12);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) skewY(0);
    box-shadow: inset 20px 0 36px rgba(45, 37, 71, 0.08);
  }
}

@keyframes page-flip-prev {
  0% {
    opacity: 0.5;
    transform: rotateY(104deg) translateX(10px) skewY(1.5deg);
    box-shadow: inset -68px 0 80px rgba(45, 37, 71, 0.24);
  }
  28% {
    opacity: 0.88;
    transform: rotateY(58deg) translateX(4px) skewY(0.8deg);
    box-shadow: inset -58px 0 72px rgba(45, 37, 71, 0.2);
  }
  66% {
    opacity: 1;
    transform: rotateY(-9deg) translateX(-1px) skewY(-0.25deg);
    box-shadow: inset -12px 0 30px rgba(45, 37, 71, 0.12);
  }
  100% {
    opacity: 1;
    transform: rotateY(0deg) translateX(0) skewY(0);
    box-shadow: inset 20px 0 36px rgba(45, 37, 71, 0.08);
  }
}

@keyframes page-sheen {
  0% {
    opacity: 0.9;
    transform: translateX(-18%);
  }
  42% {
    opacity: 0.64;
  }
  100% {
    opacity: 0;
    transform: translateX(18%);
  }
}

@keyframes page-curl {
  0% {
    opacity: 0.9;
    transform: translate(-18px, -18px) rotate(-8deg);
  }
  62% {
    opacity: 0.7;
    transform: translate(-4px, -4px) rotate(-2deg);
  }
  100% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
}

.profile-page {
  background:
    radial-gradient(circle at 20% 24%, rgba(184, 215, 255, 0.28), transparent 34%),
    radial-gradient(circle at 82% 18%, rgba(246, 199, 232, 0.28), transparent 34%),
    linear-gradient(180deg, #fffaf4, #f7f2ff 56%, #fffaf4);
}

.profile-hero__glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(184, 215, 255, 0.35), transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(203, 183, 255, 0.3), transparent 55%),
    radial-gradient(circle at 50% 80%, rgba(246, 199, 232, 0.35), transparent 50%);
}

.profile-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.profile-grid article,
.qa-list article {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 22px 54px var(--shadow);
  backdrop-filter: blur(12px);
}

.profile-grid article {
  padding: 26px;
}

.profile-grid h3,
.qa-list h3 {
  margin: 0 0 16px;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 1.55rem;
}

.profile-photo {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: end;
  height: 180px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 22px;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.18em;
  background: linear-gradient(135deg, rgba(184, 215, 255, 0.8), rgba(203, 183, 255, 0.65));
}

.profile-photo::before {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 18px;
}

.profile-photo::after {
  content: "";
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.46), transparent 68%);
  transform: translate(-46px, -28px);
  animation: profile-light 6s ease-in-out infinite alternate;
}

.profile-photo--bride {
  background: linear-gradient(135deg, rgba(246, 199, 232, 0.85), rgba(255, 250, 244, 0.9));
}

.qa-list {
  display: grid;
  gap: 18px;
}

.qa-list article {
  padding: 24px;
}

.qa-list article > div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.qa-list p {
  margin: 0;
  padding: 16px;
  border-radius: 18px;
  background: rgba(255, 250, 244, 0.72);
}

.qa-list strong {
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}

.reply-panel {
  position: relative;
  padding: 30px 0 0;
  border-radius: 0;
  box-shadow: none;
  background: transparent;
}

.reply-panel::before {
  content: none;
}

.reply-panel__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.reply-panel__head span {
  color: rgba(36, 35, 31, 0.56);
  letter-spacing: 0.26em;
}

.reply-panel__head strong {
  color: var(--ink);
}

.rsvp-form {
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: 0.72fr 1.28fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 8px;
}

.field span,
.choice-field legend {
  color: var(--ink);
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(36, 35, 31, 0.22);
  border-radius: 0;
  padding: 13px 0;
  color: var(--ink);
  background: transparent;
}

.field input:focus,
.field textarea:focus {
  outline: 0;
  border-color: rgba(111, 36, 32, 0.62);
}

.field textarea {
  resize: vertical;
}

.choice-field {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 0;
  border: 0;
}

.choice-field legend {
  grid-column: 1 / -1;
  margin-bottom: 8px;
}

.choice-field label {
  position: relative;
}

.choice-field input {
  position: absolute;
  opacity: 0;
}

.choice-field span {
  position: relative;
  display: grid;
  gap: 5px;
  min-height: 94px;
  padding: 16px 46px 16px 16px;
  border: 0;
  border-bottom: 1px solid rgba(36, 35, 31, 0.14);
  border-radius: 0;
  color: var(--ink-soft);
  background: transparent;
  transition:
    border-color 0.42s ease,
    background 0.42s ease,
    box-shadow 0.42s ease,
    color 0.42s ease,
    transform 0.42s ease;
}

.choice-field--compact span {
  min-height: 58px;
  align-items: center;
  padding: 12px 42px 12px 14px;
}

.choice-field--compact span::after {
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
}

.choice-field span::after {
  content: "";
  position: absolute;
  top: 16px;
  right: 16px;
  width: 24px;
  height: 24px;
  border: 1px solid rgba(36, 35, 31, 0.28);
  border-radius: 50%;
  background: transparent;
  transition:
    border-color 0.42s ease,
    background 0.42s ease,
    box-shadow 0.42s ease;
}

.choice-field input:checked + span {
  color: var(--ink);
  border-color: rgba(111, 36, 32, 0.48);
  background: rgba(111, 36, 32, 0.05);
  box-shadow: none;
  transform: translateY(-2px);
  animation: choice-selected 760ms cubic-bezier(0.22, 0.74, 0.18, 1);
}

.choice-field input:checked + span::after {
  content: "✓";
  display: grid;
  place-items: center;
  color: #fffdf8;
  border-color: rgba(111, 36, 32, 0.9);
  background: var(--wine);
  box-shadow: 0 8px 18px rgba(111, 36, 32, 0.18);
}

.form-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 16px;
}

.form-alert--success {
  color: #285c42;
  background: rgba(143, 210, 178, 0.24);
}

.form-alert--error {
  color: #7a2f2f;
  background: rgba(239, 151, 151, 0.22);
}

@media (max-width: 900px) {
  .top-nav {
    width: calc(100% - 28px);
    justify-content: center;
  }

  .details-grid,
  .story-grid,
  .section-heading,
  .schedule-layout,
  .reply-layout,
  .profile-grid,
  .qa-list article > div {
    grid-template-columns: 1fr;
  }

  .flip-book__spread {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .flip-book__pageflip {
    min-height: 430px;
  }

  .flip-book__pageflip-host .stf__wrapper,
  .book-page,
  .book-page.--left,
  .book-page.--right {
    border-radius: 24px;
  }

  .flip-book__spread::before,
  .flip-page--preview {
    display: none;
  }

  .flip-page,
  .flip-page--left,
  .flip-page--right {
    min-height: 430px;
    border-radius: 24px;
  }

  .flip-page--under,
  .flip-book--prev.is-turning .flip-page--under,
  .turning-sheet,
  .turning-sheet--prev {
    inset: 0;
    min-height: 430px;
    border-radius: 24px;
  }

  .turning-sheet {
    transform-origin: left center;
  }

  .turning-sheet--prev {
    transform-origin: right center;
  }

  .flip-page--right {
    margin-top: -1px;
    animation: page-rise-in 420ms ease;
  }

  .flip-page__text {
    min-height: 320px;
  }

  .flip-book__controls {
    grid-template-columns: 1fr 1fr;
  }

  .flip-book__progress {
    grid-column: 1 / -1;
    order: -1;
    gap: 12px;
    padding: 8px 0 2px;
  }

  .story-grid {
    max-width: 560px;
    margin: 0 auto;
  }

  .invitation-letter {
    max-width: 680px;
  }

  .invitation-letter__paper {
    min-height: 380px;
    padding: 48px 34px;
    border-radius: 24px;
  }

  .floral-frame {
    inset: 18px 14px;
    border-radius: 24px;
  }

  .floral-frame span {
    width: 64px;
    height: 64px;
  }

  .floral-frame span::before {
    inset: 14px 20px 20px 9px;
    box-shadow:
      14px 1px 0 rgba(246, 199, 232, 0.3),
      8px -11px 0 rgba(255, 250, 244, 0.56),
      21px -8px 0 rgba(184, 215, 255, 0.22);
  }

  .floral-frame span::after {
    width: 42px;
  }
}

@keyframes page-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 560px) {
  .hero {
    min-height: 88vh;
    padding-inline: 18px;
  }

  .choice-field,
  .form-row,
  .venue-access div {
    grid-template-columns: 1fr;
  }

  .countdown {
    width: 100%;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border-radius: 26px;
  }

  .countdown span {
    min-width: 0;
    padding-inline: 8px;
  }

  .top-nav a {
    padding-inline: 12px;
    font-size: 0.76rem;
  }

  .concept-section {
    padding-inline: 16px;
  }

  .invitation-page .invitation-scroll-frame .section__inner {
    transform: translateY(24px);
  }

  .message-section {
    padding-inline: 14px;
  }

  .invitation-letter {
    padding: 12px 0;
  }

  .invitation-letter::before {
    inset: 26px 20px 8px;
    filter: blur(18px);
  }

  .invitation-letter::after {
    border-radius: 24px;
  }

  .invitation-letter__paper {
    min-height: 430px;
    padding: 46px 24px 84px;
    border-radius: 22px;
    transform: rotateX(0deg) rotateZ(-0.4deg);
  }

  .invitation-letter__paper::before {
    inset: 10px;
    border-radius: 17px;
  }

  .invitation-letter__body {
    font-size: 0.96rem;
    line-height: 2;
  }

  .invitation-letter__ribbon {
    top: 0;
    height: 30px;
    width: 66vw;
  }

  .floral-frame {
    inset: 12px 10px;
    opacity: 0;
  }

  .floral-frame::after {
    display: none;
  }

  .flip-book {
    gap: 18px;
  }

  .flip-book__hint {
    margin-bottom: 12px;
    font-size: 0.68rem;
    line-height: 1.7;
    letter-spacing: 0.18em;
  }

  .flip-book__pageflip {
    display: none;
  }

  .flip-book__mobile-spread {
    display: grid;
    width: 100%;
    overflow: visible;
    filter: drop-shadow(0 28px 48px rgba(45, 37, 71, 0.2));
    animation: mobile-book-rise 520ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  }

  .mobile-book-page {
    min-height: 660px;
    grid-template-rows: minmax(310px, 0.92fr) minmax(330px, auto);
  }

  .mobile-book-page .flip-page__caption {
    left: 16px;
    right: 16px;
    bottom: 16px;
    padding: 14px 16px;
    border-radius: 16px;
  }

  .mobile-book-page .flip-page__caption h3,
  .mobile-book-page__text h3 {
    font-size: clamp(1.75rem, 8.2vw, 2.4rem);
  }

  .mobile-book-page__text {
    padding: 30px 24px;
  }

  .mobile-book-page .flip-page__curl {
    width: 82px;
    height: 82px;
  }

  .flip-book__controls {
    gap: 12px;
  }

  .flip-book__controls button {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 0.9rem;
  }

  .flip-book__progress button {
    width: 11px;
    height: 11px;
    min-height: 11px;
    border-color: rgba(85, 73, 111, 0.2);
    background: rgba(255, 255, 255, 0.66);
    box-shadow: 0 8px 18px rgba(45, 37, 71, 0.08);
  }
}

@keyframes mobile-book-rise {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes sparkle-field {
  from {
    opacity: 0.28;
    transform: translateY(-6px) scale(0.99);
  }
  to {
    opacity: 0.68;
    transform: translateY(6px) scale(1.01);
  }
}

@keyframes star-twinkle {
  0% {
    opacity: 0.3;
    filter: drop-shadow(0 0 2px rgba(255, 255, 255, 0.38));
    transform: scale(0.985);
  }
  48% {
    opacity: 0.62;
    filter: drop-shadow(0 0 8px rgba(231, 207, 156, 0.34));
    transform: scale(1);
  }
  100% {
    opacity: 0.44;
    filter: drop-shadow(0 0 5px rgba(203, 183, 255, 0.28));
    transform: scale(1.01);
  }
}

@keyframes star-glimmer {
  0% {
    opacity: 0.18;
    transform: rotate(0deg) scale(0.98);
  }
  50% {
    opacity: 0.54;
    transform: rotate(5deg) scale(1.02);
  }
  100% {
    opacity: 0.28;
    transform: rotate(-3deg) scale(1);
  }
}

@keyframes nav-drop-in {
  from {
    opacity: 0;
    transform: translate(-50%, -18px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

@keyframes nav-sheen {
  0%,
  52% {
    transform: translateX(-130%);
  }
  78%,
  100% {
    transform: translateX(130%);
  }
}

@keyframes hero-breath {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.09) translateY(-1.5%);
  }
}

@keyframes hero-slide-fade {
  0% {
    opacity: 0;
  }

  4%,
  28% {
    opacity: 1;
  }

  34%,
  100% {
    opacity: 0;
  }
}

@keyframes hero-slide-fade-first {
  0%,
  28% {
    opacity: 1;
  }

  34%,
  94% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes invitation-reveal {
  from {
    opacity: 0;
    transform: translateY(24px) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes invitation-hero-reveal {
  from {
    opacity: 0;
    transform: translateY(calc(var(--hero-title-offset, -5vh) + 24px)) scale(0.985);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(var(--hero-title-offset, -5vh)) scale(1);
    filter: blur(0);
  }
}

@keyframes letter-settle {
  0% {
    opacity: 0;
    transform: translateY(34px) rotateX(12deg) rotateZ(-1.8deg) scale(0.96);
    filter: blur(8px);
  }
  58% {
    opacity: 1;
    transform: translateY(-4px) rotateX(1deg) rotateZ(-0.5deg) scale(1.012);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(3deg) rotateZ(-0.7deg) scale(1);
    filter: blur(0);
  }
}

@keyframes letter-open {
  0% {
    opacity: 0;
    transform: translateY(38px) rotateX(-72deg) rotateZ(-1.2deg) scale(0.96);
    filter: blur(6px);
  }
  36% {
    opacity: 1;
    transform: translateY(18px) rotateX(-36deg) rotateZ(-0.9deg) scale(0.98);
    filter: blur(2px);
  }
  72% {
    opacity: 1;
    transform: translateY(-5px) rotateX(4deg) rotateZ(-0.6deg) scale(1.01);
    filter: blur(0);
  }
  100% {
    opacity: 1;
    transform: translateY(0) rotateX(3deg) rotateZ(-0.7deg) scale(1);
    filter: blur(0);
  }
}

@keyframes message-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes envelope-open {
  0% {
    transform: rotateX(0deg);
    opacity: 0.82;
  }
  52% {
    transform: rotateX(64deg) translateY(-10px);
    opacity: 0.52;
  }
  100% {
    transform: rotateX(82deg) translateY(-18px);
    opacity: 0.22;
  }
}

@keyframes letter-sheen {
  0% {
    transform: translateX(-120%) rotate(10deg);
    opacity: 0;
  }
  28% {
    opacity: 0.76;
  }
  100% {
    transform: translateX(360%) rotate(10deg);
    opacity: 0;
  }
}

@keyframes ornament-glow {
  0%,
  100% {
    opacity: 0.54;
    transform: scaleX(0.86);
  }
  50% {
    opacity: 1;
    transform: scaleX(1.14);
  }
}

@keyframes little-twinkle {
  0%,
  100% {
    opacity: 0.22;
    transform: rotate(0deg) scale(0.88);
  }
  50% {
    opacity: 0.58;
    transform: rotate(18deg) scale(1.04);
  }
}

@keyframes timeline-pulse {
  0%,
  100% {
    transform: translateY(-50%) scale(0.92);
  }
  50% {
    transform: translateY(-50%) scale(1.18);
  }
}

@keyframes halo-float {
  from {
    transform: rotate(-4deg) translateY(-8px);
  }
  to {
    transform: rotate(3deg) translateY(10px);
  }
}

@keyframes book-arrive {
  from {
    opacity: 0;
    transform: translateY(24px) rotateX(8deg) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) scale(1);
  }
}

@keyframes paper-glint {
  0%,
  58% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes profile-light {
  from {
    transform: translate(-46px, -28px) scale(0.9);
  }
  to {
    transform: translate(170px, 34px) scale(1.16);
  }
}

@keyframes choice-selected {
  from {
    transform: scale(0.98);
  }
  60% {
    transform: scale(1.018);
  }
  to {
    transform: scale(1);
  }
}

@supports (animation-timeline: view()) {
  .section__inner > * {
    animation: section-rise both;
    animation-timeline: view();
    animation-range: entry 8% cover 28%;
  }

  .details-grid article,
  .timeline li,
  .profile-grid article,
  .qa-list article,
  .reply-panel {
    animation: section-rise both;
    animation-timeline: view();
    animation-range: entry 6% cover 24%;
  }

  .invitation-page .section__inner > *,
  .invitation-page .details-grid article,
  .invitation-page .timeline li,
  .invitation-page .reply-panel {
    animation: none;
    animation-timeline: auto;
  }
}

@keyframes section-rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Invitation remake: white base with pink rose line art. */
.invitation-page {
  --ink: #50545c;
  --ink-soft: #6f747c;
  --rose-pink: #efb7c8;
  --rose-pink-deep: #cf6f85;
  --dust-blue: #d9a2b1;
  --petal-bg: #fbf0f3;
  --petal-bg-deep: #efd1d9;
  --paper: #fff;
  max-width: 430px;
  margin: 0 auto;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 0 30px rgba(73, 98, 124, 0.14);
  overflow: hidden;
}

body:has(.invitation-page) {
  background: #fbf0f3;
}

body:has(.opening-envelope:not([hidden])) {
  overflow: hidden;
}

.opening-envelope[hidden] {
  display: none !important;
}

.opening-envelope {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: block;
  overflow: hidden;
  --opening-paper: #f8f3ea;
  --opening-paper-shadow: #a29a8f;
  --opening-seal: #9b2119;
  --opening-seal-shadow: #4d1813;
  --opening-seal-top: 56.22%;
  --opening-layer-bleed: 0px;
  --opening-art-width: max(100vw, 56.28vh);
  --opening-art-width: max(100vw, 56.28dvh);
  --opening-flap-edge: 0 36.9%, 50% 56.3%, 100% 36.9%;
  --opening-flap-edge-reversed: 100% 36.9%, 50% 56.3%, 0 36.9%;
  --opening-flap-origin-y: 0px;
  --opening-flap-pivot-y: 36.66%;
  color: #3d332c;
  background:
    radial-gradient(ellipse at 50% 36%, rgba(255, 255, 255, 0.46), transparent 30%),
    radial-gradient(ellipse at 50% var(--opening-seal-top), rgba(255, 251, 244, 0.72), transparent 34%),
    linear-gradient(180deg, #f7f2e9 0%, #e7ded2 100%);
  isolation: isolate;
}

.opening-envelope::before {
  content: none;
}

.opening-envelope::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 30;
  opacity: 0;
  background: rgba(255, 255, 255, 0.92);
  mix-blend-mode: screen;
  pointer-events: none;
}

.opening-envelope__stage {
  position: absolute;
  inset: 0;
  z-index: 2;
  overflow: hidden;
  perspective: none;
  perspective-origin: 50% 18%;
  transform-style: flat;
}

.opening-envelope__art {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--opening-art-width);
  aspect-ratio: 941 / 1672;
  transform: translate3d(-50%, -50%, 0);
  transform-style: preserve-3d;
  will-change: transform;
}

.opening-envelope__inside {
  position: absolute;
  inset: 0;
  z-index: 3;
  opacity: 1;
  background: url("../images/generated/opening-envelope-open-reference-pocket-higher-clean.png") center / 100% 100% no-repeat;
  filter: none;
  pointer-events: none;
  will-change: opacity, filter, transform;
}

.opening-envelope__inside::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0;
  background:
    linear-gradient(151deg, transparent 0 49.15%, rgba(48, 42, 36, 0.22) 49.75%, rgba(48, 42, 36, 0.08) 50.35%, transparent 51%),
    linear-gradient(29deg, transparent 0 49.15%, rgba(48, 42, 36, 0.18) 49.75%, rgba(48, 42, 36, 0.07) 50.35%, transparent 51%),
    radial-gradient(ellipse at 50% 55%, rgba(46, 41, 35, 0.12), transparent 15%);
  clip-path: inset(34% 0 36% 0);
  filter: blur(0.2px);
  mix-blend-mode: multiply;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.opening-envelope__inside::after {
  content: none;
}

.opening-envelope__paper {
  position: absolute;
  inset: 0;
  z-index: 5;
  display: none;
  opacity: 0;
  background:
    linear-gradient(118deg, transparent 0 34%, rgba(255, 255, 255, 0.34) 42%, rgba(255, 229, 243, 0.28) 51%, transparent 64%),
    radial-gradient(ellipse at 50% 46%, rgba(255, 252, 246, 0.72), rgba(255, 240, 245, 0.28) 26%, transparent 48%);
  mix-blend-mode: screen;
  pointer-events: none;
  will-change: opacity, transform, filter;
}

.opening-envelope__top-flap {
  position: absolute;
  inset: 0;
  z-index: 9;
  transform-origin: 50% var(--opening-flap-origin-y);
  transform-style: flat;
  will-change: opacity, transform, filter;
}

.opening-envelope__top-flap::before {
  content: none;
}

.opening-envelope__flap {
  position: absolute;
  inset: 0;
  background: url("../images/generated/opening-envelope-white-120.png") center / 100% 100% no-repeat;
  background-image:
    image-set(
      url("../images/generated/opening-envelope-white-120.webp") type("image/webp"),
      url("../images/generated/opening-envelope-white-120.png") type("image/png")
    );
  pointer-events: none;
  transform-style: flat;
  will-change: transform, opacity;
  display: none;
}

.opening-envelope__flap::before,
.opening-envelope__flap::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.opening-envelope__flap::before {
  opacity: 0.18;
  background:
    radial-gradient(circle at 68% 24%, rgba(255, 255, 255, 0.16), transparent 20%),
    radial-gradient(circle at 34% 78%, rgba(0, 0, 0, 0.24), transparent 34%);
  mix-blend-mode: screen;
}

.opening-envelope__flap::after {
  opacity: 0.18;
  background:
    linear-gradient(124deg, transparent 0 49.82%, rgba(255, 220, 220, 0.22) 49.96%, rgba(255, 220, 220, 0.22) 50.12%, transparent 50.28%),
    linear-gradient(56deg, transparent 0 49.82%, rgba(15, 0, 2, 0.46) 49.96%, rgba(15, 0, 2, 0.46) 50.12%, transparent 50.28%);
  mix-blend-mode: screen;
}

.opening-envelope__flap--top {
  z-index: 1;
  display: block;
  opacity: 1;
  background: url("../images/generated/opening-envelope-top-flap-open-color-matched.png") center / 100% 100% no-repeat;
  clip-path: none;
  transform: translate3d(0, 0, 2px) scaleY(1);
  transform-origin: 50% var(--opening-flap-origin-y);
  backface-visibility: hidden;
  filter:
    drop-shadow(0 8px 9px rgba(52, 45, 39, 0.1))
    brightness(1);
}

.opening-envelope__flap--top::before,
.opening-envelope__flap--top::after {
  opacity: 0;
}

.opening-envelope__wax {
  position: absolute;
  top: var(--opening-seal-top);
  left: 50%;
  z-index: 12;
  display: grid;
  place-items: center;
  width: clamp(104px, 24%, 188px);
  aspect-ratio: 1;
  padding: 0;
  color: var(--opening-seal);
  border: 0;
  border-radius: 50%;
  background: url("../images/generated/opening-rose-wax-seal-user-cut.png") center / contain no-repeat;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  box-shadow: none;
  filter: drop-shadow(0 4px 4px rgba(52, 27, 22, 0.12));
  -webkit-appearance: none;
  appearance: none;
  overflow: visible;
  transform: translate(-50%, -50%);
  will-change: transform, opacity, filter;
}

.opening-envelope__wax::before,
.opening-envelope__wax::after {
  content: none;
  position: absolute;
  inset: 13%;
  border-radius: 50%;
  pointer-events: none;
}

.opening-envelope__wax::before {
  inset: 9%;
  border: 2px solid rgba(151, 82, 94, 0.34);
  box-shadow:
    inset 0 3px 8px rgba(151, 82, 94, 0.22),
    0 1px 0 rgba(255, 255, 255, 0.6);
}

.opening-envelope__wax::after {
  inset: 24%;
  border: 1.5px solid rgba(151, 82, 94, 0.28);
  box-shadow: inset 0 2px 5px rgba(151, 82, 94, 0.18);
}

.opening-envelope__wax span {
  display: none;
}

.opening-envelope__wax i {
  display: none;
}

.opening-envelope__wax:focus-visible {
  outline: 3px solid rgba(139, 38, 30, 0.34);
  outline-offset: 6px;
}

@media (min-width: 720px) {
  .opening-envelope__wax {
    width: clamp(178px, 15%, 238px);
  }
}

@media (max-width: 699px) {
  .opening-envelope {
    --opening-layer-bleed: 0px;
    --opening-flap-origin-y: 0px;
  }

  .opening-envelope__stage {
    perspective: none;
    perspective-origin: 50% 0;
  }
}

.opening-envelope.is-ready .opening-envelope__wax {
  animation: opening-seal-pulse 2300ms ease-in-out infinite;
}

.opening-envelope.is-opening {
  pointer-events: none;
  animation: opening-overlay-dismiss 8200ms linear forwards;
}

.opening-envelope.is-opening::after {
  animation: opening-screen-glow 8200ms linear forwards;
}

.opening-envelope.is-opening .opening-envelope__inside {
  animation: opening-envelope-inside-dismiss 7200ms linear 220ms forwards;
}

.opening-envelope.is-opening .opening-envelope__inside::after {
  animation: none;
}

.opening-envelope.is-opening .opening-envelope__inside::before {
  animation: none;
}

.opening-envelope.is-opening .opening-envelope__paper {
  animation: none;
}

.opening-envelope.is-opening .opening-envelope__top-flap {
  animation: opening-top-flap-fold 7200ms linear 220ms forwards;
}

.opening-envelope.is-opening .opening-envelope__top-flap::before {
  animation: none;
}

.opening-envelope.is-opening .opening-envelope__wax {
  animation: opening-wax-press 1520ms cubic-bezier(0.2, 0.72, 0.16, 1) forwards;
}

@keyframes opening-seal-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 4px 4px rgba(52, 27, 22, 0.12));
  }
  50% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 5px 5px rgba(52, 27, 22, 0.14)) brightness(1.025);
  }
}

@keyframes opening-overlay-dismiss {
  0% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
  74% {
    opacity: 1;
    filter: blur(0) brightness(1);
    transform: scale(1);
  }
  84% {
    opacity: 0.82;
    filter: blur(0.1px) brightness(1.035);
    transform: scale(1.001);
  }
  94% {
    opacity: 0.36;
    filter: blur(0.2px) brightness(1.05);
    transform: scale(1.002);
  }
  100% {
    opacity: 0;
    filter: blur(1.6px) brightness(1.1);
    transform: scale(1.006);
  }
}

@keyframes opening-screen-glow {
  0%,
  68% {
    opacity: 0;
  }
  82% {
    opacity: 0.18;
  }
  91% {
    opacity: 0.1;
  }
  100% {
    opacity: 0;
  }
}

@keyframes opening-envelope-glow {
  0% {
    opacity: 0;
    filter: blur(0);
    transform: translate3d(-3%, -4%, 0) scale(0.98);
  }
  22% {
    opacity: 0;
    transform: translate3d(-3%, -4%, 0) scale(0.98);
  }
  38% {
    opacity: 0.18;
    transform: translate3d(-1%, -1.5%, 0) scale(0.992);
  }
  58% {
    opacity: 0.4;
    transform: translate3d(1%, 0.8%, 0) scale(1.004);
  }
  82% {
    opacity: 0.26;
    filter: blur(0.2px);
    transform: translate3d(4%, 3%, 0) scale(1.012);
  }
  100% {
    opacity: 0;
    filter: blur(0.8px);
    transform: translate3d(8%, 5%, 0) scale(1.02);
  }
}

@keyframes opening-envelope-inside-reveal {
  0%,
  46% {
    opacity: 0;
    filter: saturate(0.9) brightness(0.88);
    transform: scale(1.006);
  }
  58% {
    opacity: 0.16;
    filter: saturate(0.92) brightness(0.9);
    transform: scale(1.004);
  }
  68% {
    opacity: 0.48;
    filter: saturate(0.94) brightness(0.93);
    transform: scale(1.002);
  }
  78% {
    opacity: 0.82;
    filter: saturate(0.95) brightness(0.95);
    transform: scale(1.001);
  }
  88%,
  100% {
    opacity: 1;
    filter: saturate(0.96) brightness(0.96);
    transform: scale(1);
  }
}

@keyframes opening-envelope-inside-dismiss {
  0%,
  52% {
    opacity: 1;
    filter: saturate(1) brightness(1);
    transform: translate3d(0, 0, 0) scale(1);
  }
  66% {
    opacity: 0.5;
    filter: saturate(1.01) brightness(1.04);
    transform: translate3d(0, -0.18%, 0) scale(1.001);
  }
  80% {
    opacity: 0.16;
    filter: saturate(1.02) brightness(1.08) blur(0.12px);
    transform: translate3d(0, -0.34%, 0) scale(1.002);
  }
  92%,
  100% {
    opacity: 0;
    filter: saturate(1.02) brightness(1.12) blur(0.35px);
    transform: translate3d(0, -0.48%, 0) scale(1.003);
  }
}

@keyframes opening-inside-shadow {
  0%,
  22% {
    opacity: 0;
    transform: translateY(-1.5%) scale(1.01);
    filter: blur(1px);
  }
  38% {
    opacity: 0.2;
    transform: translateY(-0.6%) scale(1.006);
    filter: blur(0.8px);
  }
  56% {
    opacity: 0.42;
    transform: translateY(0) scale(1);
    filter: blur(0.4px);
  }
  74% {
    opacity: 0.32;
    transform: translateY(0.4%) scale(0.998);
    filter: blur(0.7px);
  }
  100% {
    opacity: 0;
    transform: translateY(1%) scale(0.996);
    filter: blur(1.4px);
  }
}

@keyframes opening-top-flap-fold {
  0% {
    opacity: 1;
    transform: translate3d(0, 0, 2px) scaleY(1) translateY(0);
    filter:
      drop-shadow(0 8px 9px rgba(52, 45, 39, 0.1))
      brightness(1);
  }
  12% {
    opacity: 1;
    transform: translate3d(0, -0.1%, 2px) scaleY(0.99);
    filter:
      drop-shadow(0 10px 10px rgba(52, 45, 39, 0.12))
      brightness(1);
  }
  24% {
    opacity: 1;
    transform: translate3d(0, -0.35%, 2px) scaleY(0.94);
    filter:
      drop-shadow(0 15px 14px rgba(52, 45, 39, 0.14))
      brightness(1.01);
  }
  38% {
    opacity: 1;
    transform: translate3d(0, -0.9%, 2px) scaleY(0.82);
    filter:
      drop-shadow(0 20px 18px rgba(52, 45, 39, 0.14))
      brightness(1.025);
  }
  52% {
    opacity: 0.92;
    transform: translate3d(0, -1.75%, 2px) scaleY(0.66);
    filter:
      drop-shadow(0 24px 22px rgba(52, 45, 39, 0.12))
      brightness(1.045);
  }
  66% {
    opacity: 0.5;
    transform: translate3d(0, -2.8%, 2px) scaleY(0.43);
    filter:
      drop-shadow(0 20px 18px rgba(52, 45, 39, 0.1))
      brightness(1.065);
  }
  80% {
    opacity: 0.16;
    transform: translate3d(0, -4.2%, 2px) scaleY(0.22);
    filter:
      drop-shadow(0 14px 14px rgba(52, 45, 39, 0.06))
      brightness(1.08);
  }
  92% {
    opacity: 0;
    transform: translate3d(0, -5.8%, 2px) scaleY(0.08);
    filter:
      drop-shadow(0 8px 9px rgba(52, 45, 39, 0.03))
      brightness(1.09);
  }
  100% {
    opacity: 0;
    transform: translate3d(0, -6.8%, 2px) scaleY(0.035);
    filter:
      drop-shadow(0 14px 12px rgba(52, 45, 39, 0))
      brightness(1.1);
  }
}

@keyframes opening-top-flap-shadow {
  0% {
    opacity: 0;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
  18% {
    opacity: 0.05;
    transform: translateY(-0.15%) scale(1.004);
    filter: blur(0.2px);
  }
  38% {
    opacity: 0.16;
    transform: translateY(-0.45%) scale(1.008);
    filter: blur(0.55px);
  }
  58% {
    opacity: 0.2;
    transform: translateY(-0.15%) scale(1.006);
    filter: blur(0.8px);
  }
  76% {
    opacity: 0.08;
    transform: translateY(0.3%) scale(1.002);
    filter: blur(1px);
  }
  100% {
    opacity: 0;
    transform: translateY(0.8%) scale(1);
    filter: blur(1.2px);
  }
}

@keyframes opening-envelope-body-out {
  0% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1);
  }
  64% {
    transform: translateY(0) scale(1);
    opacity: 1;
    filter: brightness(1.02);
  }
  84% {
    opacity: 0.72;
    transform: translateY(0.45%) scale(0.999);
    filter: brightness(1.06) saturate(1.02);
  }
  100% {
    transform: translateY(1.6%) scale(0.996);
    opacity: 0;
    filter: brightness(1.1) saturate(1.04) blur(0.5px);
  }
}

@keyframes opening-pocket-shadow {
  0%,
  20% {
    opacity: 0.06;
    transform: translateY(0);
  }
  42% {
    opacity: 0.28;
    transform: translateY(-0.2%);
  }
  64% {
    opacity: 0.22;
    transform: translateY(0.25%);
  }
  84%,
  100% {
    opacity: 0;
    transform: translateY(0.9%);
  }
}

@keyframes opening-wax-press {
  0% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 4px 4px rgba(52, 27, 22, 0.12));
  }
  36% {
    transform: translate(-50%, -50%) scale(0.925);
    filter: drop-shadow(0 2px 2px rgba(52, 27, 22, 0.1)) brightness(0.96);
  }
  72% {
    transform: translate(-50%, -50%) scale(1.018);
    filter: drop-shadow(0 6px 7px rgba(52, 27, 22, 0.13)) brightness(1.015);
  }
  100% {
    transform: translate(-50%, -50%) scale(1);
    filter: drop-shadow(0 4px 4px rgba(52, 27, 22, 0.12));
  }
}

.invitation-page::before,
.invitation-page::after {
  content: none;
}

.invitation-page .hero {
  min-height: 670px;
  padding: 76px 28px 48px;
}

.invitation-page .hero__image {
  object-position: center top;
  filter: saturate(0.86) brightness(0.94);
}

.invitation-page .hero__image:nth-child(2) {
  --hero-image-scale: 1.1;
  --hero-image-y: 18px;
  object-position: center 44%;
}

.invitation-page .hero__image:nth-child(3) {
  --hero-image-scale: 1.08;
  object-position: center 48%;
}

.invitation-page .hero__image:nth-child(4) {
  --hero-image-scale: 1.08;
  object-position: center 44%;
}

.invitation-page .hero__veil {
  background: linear-gradient(180deg, rgba(30, 20, 23, 0.16), rgba(45, 25, 31, 0.38) 42%, rgba(45, 25, 31, 0.22));
}

.invitation-page .hero__content {
  --hero-title-offset: -218px;
  width: 100%;
  max-width: 340px;
  align-self: center;
  justify-self: center;
  padding-top: 0;
  color: #fff;
  text-align: center;
  transform: translateY(var(--hero-title-offset));
  animation-name: invitation-hero-reveal;
}

.invitation-page .hero__content::before,
.invitation-page .hero .eyebrow {
  display: none;
}

.invitation-page .hero h1 {
  font-family: "Great Vibes", "Cormorant Garamond", cursive;
  font-size: clamp(4.1rem, 21vw, 6.6rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
}

.hero__names {
  margin: 6px 0 8px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.36rem;
  line-height: 1;
}

.invitation-page .hero__date {
  margin: 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

@supports (-webkit-touch-callout: none) {
  @media (max-width: 699px) {
    .invitation-page .hero__content {
      --hero-title-offset: -170px;
    }
  }
}

.invitation-page .section {
  padding: 58px 20px;
  background: #fff;
}

.invitation-page .section::before,
.invitation-page .section::after {
  content: none;
}

.invitation-page .section__inner {
  max-width: 100%;
  width: 100%;
  display: grid;
  justify-items: center;
  text-align: center;
}

.rose-card,
.invitation-page .invitation-letter__paper,
.invitation-page .details-grid,
.invitation-page .schedule-layout,
.invitation-page .reply-layout {
  position: relative;
}

.invitation-page .message-section {
  padding-top: 58px;
}

.invitation-page .invitation-letter {
  max-width: 100%;
}

.invitation-page .invitation-letter__paper {
  min-height: 0;
  padding: 62px 30px 82px;
  border-radius: 0;
  background-color: #fff;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.56), rgba(255, 255, 255, 0.56)),
    url("../images/rose-line.svg"),
    url("../images/rose-line.svg");
  background-position: center, left -24px top -24px, right -24px bottom -24px;
  background-repeat: no-repeat;
  background-size: auto, 168px 168px, 168px 168px;
  box-shadow: 0 8px 22px rgba(74, 96, 120, 0.14);
}

.invitation-page .invitation-letter__paper::before {
  content: none;
}

.invitation-page .invitation-scroll-frame.is-visible .invitation-letter__paper {
  animation: message-rise 1500ms cubic-bezier(0.22, 0.74, 0.18, 1) 180ms both;
}

.invitation-page .eyebrow {
  color: #777;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.18rem;
  font-weight: 500;
  letter-spacing: 0.14em;
}

.invitation-page .section h2,
.invitation-page .invitation-letter__paper h2 {
  margin-bottom: 38px;
  color: #777;
  font-family: "Cormorant Garamond", serif;
  font-size: 2rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.invitation-page .invitation-letter__body {
  color: #555;
  font-size: 0.84rem;
  line-height: 2.25;
  letter-spacing: 0;
  text-wrap: nowrap;
  white-space: nowrap;
}

.invitation-page .signature {
  color: #555;
  font-size: 0.9rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.invitation-page .signature__date {
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.04em;
}

.invitation-page .countdown-section {
  padding: 54px 22px 70px;
  background: var(--dust-blue);
  color: #fff;
}

.invitation-page .countdown-section .eyebrow {
  margin-bottom: 14px;
  color: #fff;
  text-transform: uppercase;
}

.invitation-page .countdown {
  width: 100%;
  display: grid;
  grid-template-columns: 1fr repeat(3, 0.72fr);
  gap: 0;
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.invitation-page .countdown span {
  min-width: 0;
  color: #fff;
  font-size: 0.66rem;
  letter-spacing: 0.08em;
  text-align: center;
}

.invitation-page .countdown span:first-child {
  grid-column: 1 / -1;
  margin-bottom: 18px;
}

.invitation-page .countdown strong {
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  font-weight: 500;
}

.invitation-page .countdown span:first-child strong {
  font-size: 4.2rem;
}

.invitation-page .details-section,
.invitation-page .reply-section {
  background: linear-gradient(180deg, #fff8fa, #f3dce3);
}

.invitation-page .details-grid,
.invitation-page .schedule-layout,
.invitation-page .reply-layout {
  max-width: 100%;
  width: 100%;
  margin-inline: auto;
}

.invitation-page .details-grid article,
.invitation-page .timeline li,
.invitation-page .reply-panel {
  padding-inline: 8px;
  background: transparent;
  box-shadow: none;
}

.invitation-page .details-grid .event-card {
  margin: 0 0 22px;
  padding: 48px 28px 42px;
  color: #565057;
  border: 1px solid rgba(255, 255, 255, 0.92);
  text-align: center;
  background: rgba(255, 255, 255, 0.54);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.36),
    0 10px 24px rgba(168, 91, 112, 0.14);
}

.invitation-page .details-grid .event-card span,
.invitation-page .details-grid .event-card strong,
.invitation-page .details-grid .event-card p {
  color: #565057;
}

.invitation-page .details-grid .event-card > span {
  margin-bottom: 16px;
  color: var(--rose-pink-deep);
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.invitation-page .details-grid .event-card strong {
  margin: 24px 0 30px;
  color: #565057;
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
  font-size: 1.18rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.invitation-page .event-card__times {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 0;
  border-top: 1px solid rgba(207, 111, 133, 0.18);
  border-bottom: 1px solid rgba(207, 111, 133, 0.18);
  text-align: center;
}

.invitation-page .event-card__times p {
  display: grid;
  gap: 8px;
  align-content: center;
  margin: 0;
  padding: 18px 6px;
  border-top: 0;
  color: #685c61;
  font-family: "Noto Serif JP", "Shippori Mincho", serif;
  font-size: 1rem;
  line-height: 1.45;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.invitation-page .event-card__times p + p {
  border-left: 1px solid rgba(207, 111, 133, 0.18);
}

.invitation-page .event-card__times p:last-child {
  border-bottom: 0;
}

.invitation-page .event-card__times small {
  font-family: "Noto Serif JP", "Cormorant Garamond", serif;
  color: var(--rose-pink-deep);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.12em;
}

.invitation-page .event-card__times span {
  display: block;
  margin: 0;
  color: #685c61;
  font-family: inherit;
  font-size: inherit;
  line-height: 1.45;
  letter-spacing: inherit;
}

.invitation-page .venue-card {
  padding-top: 32px;
  background: transparent;
  text-align: center;
}

.invitation-page .venue-card span {
  color: var(--rose-pink-deep);
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.invitation-page .venue-card strong {
  margin-top: 12px;
  color: #565057;
  font-size: 1.18rem;
  letter-spacing: 0.05em;
}

.invitation-page .venue-card > p {
  color: #7b6b70;
  font-size: 0.84rem;
}

.invitation-page .venue-access {
  display: grid;
  gap: 12px;
  margin: 26px 0 22px;
  text-align: left;
}

.invitation-page .venue-access div {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 14px;
  padding: 14px 0;
  border-top: 1px solid rgba(207, 111, 133, 0.18);
}

.invitation-page .venue-access div + div {
  border-top: 0;
}

.invitation-page .venue-access div:last-child {
  border-bottom: 0;
}

.invitation-page .venue-access dt {
  color: var(--rose-pink-deep);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.invitation-page .venue-access dd {
  color: #685c61;
  font-size: 0.82rem;
  line-height: 1.75;
}

.invitation-page .venue-access-routes {
  display: grid;
  gap: 10px;
}

.invitation-page .venue-access-route {
  display: grid;
  gap: 2px;
  margin: 0;
  color: #685c61;
  font-size: 0.82rem;
  letter-spacing: 0;
}

.invitation-page .venue-access-route b {
  color: #565057;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.invitation-page .venue-access-route small {
  color: #7b6b70;
  font-family: inherit;
  font-size: 0.8rem;
  line-height: 1.7;
  letter-spacing: 0;
}

.invitation-page .map-frame {
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  aspect-ratio: auto;
  min-height: 260px;
  border-radius: 0;
  box-shadow: 0 8px 18px rgba(168, 91, 112, 0.18);
}

.invitation-page .map-frame--google {
  position: relative;
  min-height: 340px;
  background: #f8eef2;
}

.invitation-page .google-map-embed {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.86) contrast(0.96);
}

.invitation-page .map-frame__open-overlay {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 3;
  width: 112px;
  height: 34px;
  overflow: hidden;
  border-radius: 4px;
  color: transparent;
  text-indent: -999px;
  background: transparent;
}

.invitation-page .map-frame__open-overlay:focus-visible {
  outline: 2px solid rgba(207, 111, 133, 0.78);
  outline-offset: 2px;
}

.invitation-page .map-card {
  min-height: inherit;
  height: auto;
  padding-block: clamp(38px, 8vw, 54px) clamp(30px, 7vw, 46px);
}

.invitation-page .map-card span {
  line-height: 1.45;
}

.invitation-page .timeline li {
  grid-template-columns: 72px 1fr;
  border-color: rgba(117, 148, 177, 0.28);
}

.invitation-page .timeline li::before {
  background: var(--rose-pink-deep);
  box-shadow: 0 0 0 7px rgba(130, 168, 207, 0.13);
}

.invitation-page .reply-panel {
  padding: 0;
}

.invitation-page .field input,
.invitation-page .field textarea,
.invitation-page .choice-field span {
  border-color: rgba(117, 148, 177, 0.34);
}

.invitation-page .choice-field input:checked + span {
  border-color: rgba(92, 135, 176, 0.68);
  background: rgba(130, 168, 207, 0.12);
}

.invitation-page .choice-field input:checked + span::after {
  border-color: var(--rose-pink-deep);
  background: var(--rose-pink-deep);
}

.invitation-page .primary-button {
  width: 100%;
  min-height: 60px;
  color: #fff;
  border: 1px solid rgba(255, 244, 247, 0.9);
  background: #c75f78;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.36),
    0 12px 24px rgba(163, 80, 102, 0.3);
}

.invitation-page .countdown-section {
  position: relative;
  min-height: 300px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.invitation-page .countdown-section__image,
.invitation-page .countdown-section__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.invitation-page .countdown-section__image {
  object-fit: cover;
  object-position: center 50%;
  filter: brightness(0.98);
}

.invitation-page .countdown-section__veil {
  background: linear-gradient(180deg, rgba(36, 36, 36, 0.12), rgba(28, 28, 28, 0.52));
}

.invitation-page .countdown-section .section__inner {
  position: relative;
  z-index: 2;
  display: grid;
  justify-items: center;
  text-align: center;
}

.invitation-page .countdown-section::before {
  content: none;
}

.invitation-page .countdown {
  max-width: 300px;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
}

.invitation-page .countdown span:first-child {
  grid-column: 1 / -1;
}

.invitation-page .countdown span {
  display: grid;
  justify-items: center;
  align-content: start;
  width: 100%;
  line-height: 1.05;
}

.invitation-page .reply-section {
  padding-block: 44px 68px;
  background: #d9a2b1;
}

.invitation-page .reply-layout {
  position: relative;
  z-index: 2;
}

.invitation-page .reply-panel {
  padding: 54px 22px 46px;
  background-color: #fff;
  background-image: none;
  box-shadow: 0 7px 18px rgba(98, 54, 66, 0.22);
}

.invitation-page .reply-intro {
  margin-bottom: 36px;
  text-align: center;
}

.invitation-page .reply-script {
  margin: 0 0 16px;
  color: #685c61;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.55rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: 0.18em;
}

.invitation-page .reply-required {
  margin: 0;
  color: #d63232;
  font-size: 0.82rem;
  font-weight: 700;
}

.invitation-page .reply-panel__head {
  justify-content: center;
  margin-bottom: 28px;
  padding: 0;
  border: 0;
  color: #8c8c8c;
  text-align: center;
}

.invitation-page .reply-panel__head span {
  display: none;
}

.invitation-page .reply-panel__head strong {
  font-size: 0.82rem;
  font-weight: 500;
}

.invitation-page .rsvp-form {
  display: grid;
  gap: 30px;
}

.invitation-page .rsvp-honeypot {
  position: absolute;
  left: -100vw;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.invitation-page .field {
  display: grid;
  gap: 8px;
  color: #777;
  text-align: center;
}

.invitation-page .field-group {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  color: #777;
  text-align: center;
}

.invitation-page .field-group legend {
  width: 100%;
  margin: 0 0 10px;
  padding: 0;
  color: #777;
  font-size: 0.84rem;
  font-weight: 700;
}

.invitation-page .field > span {
  color: #b7b7b7;
  font-size: 0.68rem;
  line-height: 1.4;
}

.invitation-page .field > span:first-child:last-child,
.invitation-page .field .inline-radios + span {
  color: #777;
}

.invitation-page .field strong {
  color: #777;
  font-size: 0.84rem;
  font-weight: 700;
}

.invitation-page .field em {
  color: #d63232;
  font-style: normal;
}

.invitation-page .field-group em {
  color: #d63232;
  font-style: normal;
}

.invitation-page .field input,
.invitation-page .field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(120, 120, 120, 0.28);
  border-radius: 0;
  background: transparent;
  color: #666;
  text-align: center;
  box-shadow: none;
}

.invitation-page .field input {
  min-height: 42px;
  padding: 8px 4px 11px;
}

.invitation-page .field textarea {
  min-height: 104px;
  padding: 12px 4px;
  resize: vertical;
}

.invitation-page .field input::placeholder,
.invitation-page .field textarea::placeholder {
  color: #cfcfcf;
  opacity: 1;
}

.invitation-page .rsvp-confirmation-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 44px);
  background:
    linear-gradient(180deg, rgba(56, 45, 49, 0.38), rgba(29, 25, 27, 0.52));
  backdrop-filter: blur(10px);
}

.invitation-page .rsvp-confirmation-modal[hidden] {
  display: none;
}

.invitation-page .rsvp-confirmation {
  display: flex;
  flex-direction: column;
  width: min(100%, 560px);
  height: min(760px, calc(100svh - 38px));
  max-height: calc(100svh - 38px);
  gap: 22px;
  padding: clamp(24px, 5vw, 38px);
  overflow: hidden;
  border: 1px solid rgba(255, 247, 249, 0.78);
  border-radius: 8px;
  color: #666;
  text-align: center;
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.97), rgba(255, 247, 249, 0.94));
  box-shadow:
    0 28px 70px rgba(59, 42, 49, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.88);
}

.invitation-page .rsvp-confirmation__intro {
  display: grid;
  gap: 8px;
}

.invitation-page .rsvp-confirmation__intro span {
  color: #b7b7b7;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.invitation-page .rsvp-confirmation__intro strong {
  color: #777;
  font-size: 1rem;
}

.invitation-page .rsvp-confirmation__list {
  display: grid;
  grid-template-columns: minmax(94px, 0.42fr) minmax(0, 1fr);
  flex: 1 1 auto;
  gap: 0;
  min-height: 0;
  margin: 0;
  overflow: auto;
  overscroll-behavior: contain;
  padding-right: 4px;
  text-align: left;
}

.invitation-page .rsvp-confirmation__list dt,
.invitation-page .rsvp-confirmation__list dd {
  margin: 0;
  min-height: 54px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(120, 120, 120, 0.2);
}

.invitation-page .rsvp-confirmation__list dt {
  color: #b95870;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.invitation-page .rsvp-confirmation__list dd {
  color: #555;
  line-height: 1.8;
  white-space: pre-line;
  overflow-wrap: anywhere;
}

.invitation-page .rsvp-confirmation__actions {
  display: grid;
  flex: 0 0 auto;
  gap: 14px;
  width: 100%;
}

.invitation-page .rsvp-confirmation__actions .primary-button {
  margin-top: 0;
}

.invitation-page .secondary-button {
  min-height: 52px;
  border: 1px solid rgba(207, 111, 133, 0.34);
  border-radius: 999px;
  color: #b95870;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  background: rgba(255, 255, 255, 0.72);
  cursor: pointer;
  transition:
    border-color 260ms ease,
    background 260ms ease,
    transform 260ms ease;
}

.invitation-page .secondary-button:hover {
  border-color: rgba(207, 111, 133, 0.54);
  background: rgba(255, 255, 255, 0.94);
  transform: translateY(-1px);
}

.invitation-page .rsvp-confirmation .form-alert {
  margin: 0;
  text-align: left;
}

@media (min-width: 700px) {
  .invitation-page .rsvp-confirmation__list {
    grid-template-columns: 150px minmax(0, 1fr);
  }

  .invitation-page .rsvp-confirmation__list dt,
  .invitation-page .rsvp-confirmation__list dd {
    min-height: 58px;
  }

  .invitation-page .rsvp-confirmation__actions {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

@media (max-height: 520px) {
  .invitation-page .rsvp-confirmation-modal {
    padding: 12px;
  }

  .invitation-page .rsvp-confirmation {
    height: calc(100svh - 24px);
    gap: 12px;
    padding: 18px clamp(18px, 5vw, 28px);
  }

  .invitation-page .rsvp-confirmation__intro {
    gap: 4px;
  }

  .invitation-page .rsvp-confirmation__intro span {
    font-size: 0.62rem;
  }

  .invitation-page .rsvp-confirmation__intro strong {
    font-size: 0.92rem;
  }

  .invitation-page .rsvp-confirmation__list dt,
  .invitation-page .rsvp-confirmation__list dd {
    min-height: 44px;
    padding: 8px 0;
  }

  .invitation-page .rsvp-confirmation__actions {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    gap: 10px;
  }

  .invitation-page .rsvp-confirmation__actions .secondary-button,
  .invitation-page .rsvp-confirmation__actions .primary-button {
    min-height: 46px;
    padding-inline: 12px;
    font-size: 0.88rem;
    letter-spacing: 0.08em;
  }

  .invitation-page .rsvp-confirmation__actions .primary-button::after {
    display: none;
  }
}

.invitation-page .allergy-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 18px;
  border: 1px solid rgba(207, 111, 133, 0.28);
  color: #b95870;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.62);
  transition:
    border-color 260ms ease,
    background 260ms ease,
    transform 260ms ease;
}

.invitation-page .allergy-link::after {
  content: "↗";
  margin-left: 8px;
  font-size: 0.86em;
}

.invitation-page .allergy-link:hover {
  border-color: rgba(207, 111, 133, 0.5);
  background: rgba(255, 255, 255, 0.88);
  transform: translateY(-1px);
}

.invitation-page .split-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.invitation-page .inline-radios {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 4px;
}

.invitation-page .inline-radios label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #666;
  cursor: pointer;
}

.invitation-page .inline-radios input {
  width: 16px;
  height: 16px;
  min-height: 0;
  margin: 0;
  accent-color: #cf6f85;
}

.invitation-page .inline-radios span {
  display: grid;
  gap: 2px;
  text-align: left;
  line-height: 1.1;
}

.invitation-page .inline-radios small {
  color: #b8b8b8;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.64rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.invitation-page .inline-radios input:checked + span {
  color: #b95870;
  font-weight: 700;
}

.invitation-page .primary-button {
  position: relative;
  margin-top: 8px;
  border-radius: 999px;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  transition:
    transform 420ms ease,
    box-shadow 420ms ease,
    background 420ms ease;
}

.invitation-page .primary-button::before {
  content: "";
  position: absolute;
  inset: 6px;
  border: 1px solid rgba(255, 247, 249, 0.42);
  border-radius: inherit;
  pointer-events: none;
}

.invitation-page .primary-button::after {
  content: "›";
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-52%);
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 247, 249, 0.62);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.45rem;
  line-height: 1;
}

.invitation-page .primary-button:hover {
  transform: translateY(-2px);
  background: #bd526d;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.42),
    0 16px 28px rgba(163, 80, 102, 0.34);
}

.invitation-page .primary-button:active {
  transform: translateY(0);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 7px 16px rgba(163, 80, 102, 0.28);
}

@media (max-width: 699px) {
  .invitation-page {
    width: min(100%, 430px);
  }

  .invitation-page .hero {
    min-height: 100svh;
    padding: 56px 24px;
  }

  .invitation-page .hero__content,
  .invitation-page .section__inner,
  .invitation-page .details-grid,
  .invitation-page .reply-layout,
  .invitation-page .reply-panel,
  .invitation-page .rsvp-form,
  .invitation-page .field,
  .invitation-page .inline-radios,
  .invitation-page .venue-access,
  .invitation-page .venue-access div {
    justify-items: center;
    text-align: center;
  }

  .invitation-page .details-grid article,
  .invitation-page .reply-panel {
    width: 100%;
  }

  .invitation-page .venue-access {
    max-width: 320px;
    margin-inline: auto;
  }

  .invitation-page .venue-access div {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .invitation-page .map-frame {
    min-height: clamp(340px, 92vw, 390px);
  }

  .invitation-page .map-card {
    gap: 13px;
    padding: 44px 20px 34px;
  }

  .invitation-page .inline-radios span {
    text-align: center;
  }

  .invitation-page .invitation-letter__paper {
    padding: 58px 18px 76px;
  }

  .invitation-page .invitation-letter__body {
    font-size: 0.78rem;
    line-height: 2.22;
  }

  .invitation-page .signature {
    font-size: 0.82rem;
  }
}

@media (max-width: 380px) {
  .invitation-page .section {
    padding-inline: 14px;
  }

  .invitation-page .invitation-letter__paper {
    padding-inline: 10px;
  }

  .invitation-page .invitation-letter__body {
    font-size: 0.72rem;
    line-height: 2.18;
  }

  .invitation-page .signature {
    font-size: 0.76rem;
  }
}

@media (min-width: 700px) {
  .invitation-page .hero {
    min-height: 760px;
  }
}

@media (min-width: 900px) {
  body:has(.invitation-page) {
    background: #fff;
  }

  .invitation-page {
    --invitation-desktop-column: min(100%, 520px);
    width: 100%;
    max-width: none;
    box-shadow: none;
  }

  .invitation-page .hero {
    min-height: 100svh;
    padding: clamp(28px, 4vw, 48px) clamp(52px, 8vw, 128px);
    place-items: center;
    text-align: center;
  }

  .invitation-page .hero__slideshow {
    inset: -42px;
  }

  .invitation-page .hero__image {
    transform: scale(1.14);
    object-position: center 35%;
    filter: blur(18px) saturate(0.72) brightness(0.82);
  }

  .invitation-page .hero__image:nth-child(2) {
    --hero-image-scale: 1.08;
    --hero-image-y: 0;
    object-position: center 44%;
  }

  .invitation-page .hero__image:nth-child(3) {
    object-position: center 46%;
  }

  .invitation-page .hero__image:nth-child(4) {
    object-position: center 44%;
  }

  .invitation-page .hero__veil {
    top: 50%;
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(34vw, 520px);
    min-width: 360px;
    max-width: 520px;
    height: auto;
    aspect-ratio: 2 / 3;
    border-radius: 6px;
    background:
      linear-gradient(180deg, rgba(248, 245, 240, 0.22), rgba(44, 38, 36, 0.36)),
      radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.24), transparent 48%);
    transform: translate(-50%, -50%);
  }

  .invitation-page .hero__content {
    --hero-title-offset: 0px;
    position: relative;
    width: min(34vw, 520px);
    min-width: 360px;
    max-width: 520px;
    aspect-ratio: 2 / 3;
    display: grid;
    align-content: start;
    justify-self: center;
    justify-items: center;
    overflow: hidden;
    padding: clamp(22px, 3.8svh, 42px) clamp(24px, 3.2vw, 42px) 42px;
    border: 1px solid rgba(255, 255, 255, 0.62);
    border-radius: 6px;
    box-shadow:
      0 28px 72px rgba(20, 18, 18, 0.24),
      inset 0 0 0 1px rgba(255, 255, 255, 0.18);
    text-align: center;
    transform: translateY(var(--hero-title-offset));
  }

  .invitation-page .hero__card-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    overflow: hidden;
  }

  .invitation-page .hero__card-media::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
      linear-gradient(180deg, rgba(22, 18, 18, 0.12), rgba(18, 15, 15, 0.42)),
      radial-gradient(circle at 50% 42%, rgba(255, 255, 255, 0.14), transparent 46%);
  }

  .invitation-page .hero__card-image {
    inset: 0;
    width: 100%;
    height: 100%;
    transform-origin: center center;
    will-change: opacity, transform;
  }

  .invitation-page .hero__card-image:nth-child(1) {
    transform: none;
    object-position: center center;
  }

  .invitation-page .hero__card-image:nth-child(2) {
    transform: none;
    object-position: center center;
  }

  .invitation-page .hero__card-image:nth-child(3) {
    transform: none;
    object-position: center center;
  }

  .invitation-page .hero__card-image:nth-child(4) {
    transform: none;
    object-position: center center;
  }

  .invitation-page .hero__content > :not(.hero__card-media) {
    position: relative;
    z-index: 2;
  }

  .invitation-page .hero h1 {
    font-size: clamp(3.45rem, 4.35vw, 5rem);
    line-height: 0.82;
  }

  .invitation-page .hero__names {
    margin-top: 6px;
    margin-bottom: 8px;
    font-size: 1.28rem;
  }

  .invitation-page .hero__date {
    font-size: 0.84rem;
  }

  .invitation-page .section {
    padding: clamp(86px, 8vw, 130px) clamp(24px, 5vw, 72px);
  }

  .invitation-page .section__inner {
    max-width: var(--invitation-desktop-column);
    display: grid;
    justify-items: center;
    text-align: center;
  }

  .invitation-page .message-section {
    padding-block: 104px 116px;
  }

  .invitation-page .invitation-letter {
    max-width: var(--invitation-desktop-column);
  }

  .invitation-page .invitation-letter__paper {
    padding: 78px clamp(40px, 4vw, 48px) 92px;
    background-position: center, left -16px top -18px, right -16px bottom -18px;
    background-size: auto, 210px 210px, 210px 210px;
  }

  .invitation-page .countdown-section {
    min-height: clamp(820px, 88svh, 980px);
    padding-block: clamp(150px, 13vw, 210px);
  }

  .invitation-page .countdown-section__image {
    object-position: center 32%;
    filter: brightness(1.1) contrast(0.96);
  }

  .invitation-page .countdown-section__veil {
    background: linear-gradient(180deg, rgba(28, 28, 28, 0.01), rgba(28, 28, 28, 0.06) 52%, rgba(28, 28, 28, 0.16));
  }

  .invitation-page .countdown-section .section__inner {
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.34);
  }

  .invitation-page .countdown {
    max-width: 620px;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px 32px;
  }

  .invitation-page .countdown span:first-child {
    grid-column: 1 / -1;
    margin-bottom: 6px;
    padding-right: 0;
    border-right: 0;
  }

  .invitation-page .countdown strong {
    font-size: 2.8rem;
  }

  .invitation-page .countdown span:first-child strong {
    font-size: 5.6rem;
  }

  .invitation-page .details-section {
    padding-block: 104px 120px;
  }

  .invitation-page .details-grid {
    max-width: var(--invitation-desktop-column);
    grid-template-columns: 1fr;
    gap: clamp(30px, 4vw, 42px);
    align-items: start;
  }

  .invitation-page .details-grid .event-card {
    width: 100%;
    min-height: 0;
    display: grid;
    align-content: center;
    margin: 0 auto;
    padding: clamp(58px, 6vw, 70px) clamp(30px, 4vw, 44px);
  }

  .invitation-page .details-grid .event-card > span {
    margin-bottom: 20px;
    font-size: 1.08rem;
  }

  .invitation-page .details-grid .event-card strong {
    margin: 28px 0 34px;
    font-size: 1.42rem;
  }

  .invitation-page .event-card__times p {
    padding: 22px 12px;
    font-size: 1.08rem;
  }

  .invitation-page .event-card__times small {
    font-size: 0.86rem;
  }

  .invitation-page .venue-card {
    width: 100%;
    padding: 22px 0 0;
    text-align: center;
  }

  .invitation-page .venue-card strong {
    font-size: 1.42rem;
  }

  .invitation-page .venue-card > p {
    font-size: 0.98rem;
  }

  .invitation-page .venue-access {
    max-width: 420px;
    margin-inline: auto;
    text-align: left;
  }

  .invitation-page .map-frame {
    min-height: 340px;
  }

  .invitation-page .reply-section {
    padding-block: 108px 130px;
  }

  .invitation-page .reply-layout {
    max-width: var(--invitation-desktop-column);
    margin-inline: auto;
  }

  .invitation-page .reply-panel {
    width: 100%;
    padding: 62px clamp(32px, 4vw, 46px) 58px;
  }

  .invitation-page .rsvp-form {
    gap: 34px;
  }

  .invitation-page .split-fields {
    gap: 24px;
  }

  .invitation-page .inline-radios {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  .hero__image {
    animation: none !important;
    opacity: 0;
  }

  .hero__image:first-child {
    opacity: 1;
  }
}

/* Cinderella blue and white remake for concept/profile pages. */
.cinderella-page {
  --ink: #19304a;
  --ink-soft: #5a6e83;
  --c-blue-deep: #173e6c;
  --c-blue: #4d91c9;
  --c-blue-soft: #c9e9fb;
  --c-ice: #effaff;
  --c-white: #ffffff;
  --c-silver: #d8e7f2;
  --c-gold: #b7a06a;
  --c-shadow: rgba(18, 55, 92, 0.18);
  --c-glow: rgba(157, 217, 255, 0.42);
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 6%, rgba(255, 255, 255, 0.9), transparent 26%),
    radial-gradient(circle at 82% 10%, rgba(178, 222, 255, 0.42), transparent 30%),
    linear-gradient(180deg, #f7fcff 0%, #eaf6ff 46%, #ffffff 100%);
}

body:has(.cinderella-page) {
  background: #e9f6ff;
}

.cinderella-page::before {
  opacity: 0.36;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.95) 0 1px, transparent 2.4px),
    radial-gradient(circle at 74% 24%, rgba(125, 194, 242, 0.5) 0 1px, transparent 2.6px),
    radial-gradient(circle at 42% 76%, rgba(255, 255, 255, 0.8) 0 1px, transparent 2.4px);
  background-size:
    420px 420px,
    560px 560px,
    620px 620px;
}

.cinderella-page::after {
  opacity: 0.24;
  background:
    linear-gradient(120deg, transparent 22%, rgba(255, 255, 255, 0.7) 24%, transparent 28%),
    radial-gradient(circle at 64% 30%, rgba(255, 255, 255, 0.86) 0 1px, transparent 2.2px);
  background-size: 680px 680px, 520px 520px;
  animation: star-glimmer 12s ease-in-out infinite alternate;
}

.cinderella-topbar {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 30;
  display: flex;
  gap: 4px;
  width: min(480px, calc(100% - 28px));
  justify-content: center;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 999px;
  background: rgba(247, 252, 255, 0.82);
  box-shadow: 0 18px 44px rgba(19, 65, 108, 0.14);
  backdrop-filter: blur(18px);
  transform: translateX(-50%);
}

.cinderella-topbar a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 16px;
  border-radius: 999px;
  color: #244e76;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
}

.cinderella-topbar a:hover {
  background: rgba(255, 255, 255, 0.72);
}

.cinderella-page .eyebrow {
  color: rgba(43, 94, 139, 0.72);
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.cinderella-page .section {
  padding-block: clamp(82px, 10vw, 140px);
}

.cinderella-page .section::before {
  background: linear-gradient(90deg, transparent, rgba(93, 156, 206, 0.34), transparent);
}

.cinderella-page .section h2 {
  color: #173e6c;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cinderella-page .section p {
  color: var(--ink-soft);
}

.cinderella-page .primary-button,
.cinderella-page .ghost-button {
  min-height: 52px;
  border-radius: 999px;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 1rem;
  letter-spacing: 0.1em;
}

.cinderella-page .primary-button {
  color: #0f3458;
  border: 1px solid rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(192, 229, 255, 0.88)),
    linear-gradient(135deg, rgba(255, 255, 255, 0.4), transparent);
  box-shadow:
    0 20px 44px rgba(45, 125, 191, 0.22),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.cinderella-page .ghost-button--light {
  color: #ecf8ff;
  border-color: rgba(255, 255, 255, 0.52);
  background: rgba(23, 62, 108, 0.18);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.cinderella-page .text-link {
  color: #174b78;
  border-color: rgba(93, 156, 206, 0.54);
}

.reception-hero--cinderella {
  min-height: 100svh;
  padding: 142px 24px 94px;
  color: #f7fcff;
  isolation: isolate;
  background:
    linear-gradient(115deg, transparent 5%, rgba(255, 255, 255, 0.18) 14%, transparent 28%),
    radial-gradient(ellipse at 52% 72%, rgba(172, 223, 255, 0.34), transparent 46%),
    linear-gradient(180deg, #0c2b52 0%, #2d74ad 54%, #dff5ff 100%);
}

.reception-hero--cinderella::before {
  top: 49%;
  left: 50%;
  width: min(760px, 78vw);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  background:
    conic-gradient(from -10deg, rgba(255, 255, 255, 0.18), transparent 8%, rgba(255, 255, 255, 0.22) 12%, transparent 20%),
    radial-gradient(circle, transparent 58%, rgba(255, 255, 255, 0.1) 59%, transparent 63%);
  box-shadow:
    inset 0 0 80px rgba(255, 255, 255, 0.1),
    0 0 90px rgba(139, 206, 255, 0.26);
  transform: translate(-50%, -50%);
  animation: clock-breathe 10s ease-in-out infinite alternate;
}

.reception-hero--cinderella::after {
  inset: auto 0 0;
  height: 34%;
  border: 0;
  border-radius: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, transparent, rgba(240, 250, 255, 0.84)),
    radial-gradient(ellipse at 50% 100%, rgba(255, 255, 255, 0.94), transparent 62%);
  transform: none;
  animation: none;
}

.reception-hero__moon {
  display: none;
}

.reception-hero__sparkles {
  opacity: 0.78;
  mix-blend-mode: screen;
}

.hero-magic {
  pointer-events: none;
  user-select: none;
}

.hero-magic--carriage {
  position: absolute;
  top: clamp(84px, 10vw, 138px);
  right: clamp(-120px, 2vw, 52px);
  z-index: 1;
  width: clamp(430px, 54vw, 860px);
  opacity: 0.42;
  filter:
    drop-shadow(0 28px 46px rgba(5, 34, 66, 0.22))
    drop-shadow(0 0 30px rgba(210, 241, 255, 0.56));
  transform: rotate(-4deg);
  animation: magic-drift 11s ease-in-out infinite alternate;
}

.hero-slipper {
  pointer-events: none;
  user-select: none;
}

.hero-slipper--main {
  position: absolute;
  right: clamp(-64px, 4vw, 74px);
  bottom: clamp(54px, 7vw, 118px);
  z-index: 1;
  width: clamp(320px, 44vw, 660px);
  opacity: 0.92;
  filter:
    drop-shadow(0 28px 46px rgba(9, 49, 91, 0.26))
    drop-shadow(0 0 28px rgba(210, 241, 255, 0.66));
  transform: rotate(-8deg);
  animation: slipper-float 8s ease-in-out infinite alternate;
}

.reception-hero--cinderella .reception-hero__content {
  max-width: 980px;
  z-index: 3;
}

.reception-hero--cinderella .reception-hero__content::before,
.profile-hero--cinderella .section__inner::before {
  width: 116px;
  margin-bottom: 24px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.96), transparent);
  box-shadow: 0 0 26px rgba(207, 238, 255, 0.72);
}

.reception-hero--cinderella .eyebrow,
.profile-hero--cinderella .eyebrow {
  color: rgba(245, 252, 255, 0.84);
}

.reception-hero--cinderella h1,
.profile-hero--cinderella h1 {
  color: #fafdff;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.9;
  letter-spacing: 0.04em;
  text-shadow:
    0 22px 46px rgba(4, 32, 64, 0.32),
    0 0 34px rgba(206, 235, 255, 0.28);
}

.reception-hero__lead {
  max-width: 720px;
  margin: 28px auto 0;
  color: rgba(246, 252, 255, 0.92);
  font-size: clamp(1rem, 2.2vw, 1.24rem);
  line-height: 2.05;
}

.reception-hero--cinderella .hero__actions,
.profile-hero--cinderella .hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-top: 34px;
}

.concept-section--remake {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(233, 247, 255, 0.78)),
    repeating-linear-gradient(90deg, rgba(87, 151, 205, 0.045) 0 1px, transparent 1px 9px);
}

.concept-heading {
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
}

.concept-heading > p {
  max-width: 520px;
  margin: 0 0 6px;
}

.concept-overture {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin: clamp(28px, 5vw, 54px) 0;
}

.concept-overture article {
  position: relative;
  min-height: 218px;
  padding: 28px 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(224, 244, 255, 0.7)),
    radial-gradient(circle at 20% 0%, rgba(255, 255, 255, 0.92), transparent 34%);
  box-shadow:
    0 22px 54px rgba(27, 83, 132, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.concept-overture article::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: 30px;
  width: 140px;
  height: 1px;
  border-radius: 0;
  background: linear-gradient(90deg, transparent, rgba(82, 153, 211, 0.36), rgba(255, 255, 255, 0.9));
  box-shadow:
    0 0 18px rgba(126, 190, 234, 0.38),
    -28px -18px 0 -2px rgba(126, 190, 234, 0.28);
  transform: rotate(-32deg);
}

.concept-overture span {
  color: rgba(26, 88, 141, 0.44);
  font-family: "Playfair Display", serif;
  font-size: 0.9rem;
  letter-spacing: 0.18em;
}

.concept-overture h3 {
  margin: 28px 0 12px;
  color: #173e6c;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  font-weight: 500;
}

.concept-overture p {
  margin: 0;
  font-size: 0.94rem;
  line-height: 1.9;
}

.storybook-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(280px, 1.12fr);
  gap: clamp(24px, 5vw, 74px);
  align-items: center;
  min-height: 340px;
  margin: 0 0 34px;
  padding: clamp(28px, 5vw, 54px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.76);
  background:
    linear-gradient(120deg, rgba(19, 65, 108, 0.94), rgba(62, 143, 203, 0.78) 54%, rgba(239, 250, 255, 0.88)),
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.34), transparent 68%);
  box-shadow: 0 28px 72px rgba(25, 88, 142, 0.18);
  isolation: isolate;
}

.storybook-showcase::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  pointer-events: none;
}

.storybook-showcase::after {
  content: "";
  position: absolute;
  top: -24%;
  right: 12%;
  width: 220px;
  height: 150%;
  background: linear-gradient(105deg, transparent 18%, rgba(255, 255, 255, 0.36), transparent 76%);
  transform: rotate(12deg);
  animation: crystal-sheen 8s ease-in-out infinite;
}

.storybook-showcase__copy {
  position: relative;
  z-index: 2;
}

.cinderella-page .storybook-showcase__copy span {
  display: block;
  margin-bottom: 18px;
  color: rgba(255, 255, 255, 0.76);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.92rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.cinderella-page .storybook-showcase__copy p {
  max-width: 510px;
  margin: 0;
  color: rgba(249, 253, 255, 0.96);
  font-size: clamp(1rem, 2vw, 1.18rem);
  text-shadow: 0 10px 24px rgba(3, 30, 60, 0.24);
}

.storybook-showcase__magic {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  min-height: 300px;
}

.storybook-showcase__magic::before,
.storybook-showcase__magic::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.storybook-showcase__magic::before {
  left: 10%;
  right: 2%;
  top: 48%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.84), transparent);
  box-shadow:
    0 -38px 30px rgba(212, 242, 255, 0.2),
    0 38px 38px rgba(126, 190, 234, 0.22);
  transform: rotate(-10deg);
}

.storybook-showcase__magic::after {
  inset: 12% 2% auto 18%;
  height: 58%;
  background:
    radial-gradient(circle at 16% 36%, rgba(255, 255, 255, 0.86) 0 2px, transparent 3px),
    radial-gradient(circle at 42% 8%, rgba(255, 255, 255, 0.72) 0 2px, transparent 3px),
    radial-gradient(circle at 78% 54%, rgba(255, 255, 255, 0.78) 0 2px, transparent 3px);
  background-size: 120px 120px, 170px 170px, 140px 140px;
  opacity: 0.9;
}

.storybook-showcase__magic img {
  position: relative;
  z-index: 1;
  width: min(620px, 108%);
  filter:
    drop-shadow(0 30px 34px rgba(2, 35, 70, 0.22))
    drop-shadow(0 0 24px rgba(229, 247, 255, 0.72));
  transform: rotate(-4deg);
}

.flip-book--remake {
  gap: 22px;
  margin-top: 0;
}

.flip-book__closed {
  display: none;
  justify-items: center;
  perspective: 1800px;
  perspective-origin: 50% 42%;
}

.flip-book.is-closed .flip-book__closed {
  display: grid;
}

.flip-book.is-closed .flip-book__hint,
.flip-book.is-closed .flip-book__viewport,
.flip-book.is-closed .flip-book__controls {
  display: none;
}

.storybook-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: min(680px, 100%);
  min-height: clamp(520px, 68vh, 720px);
  padding: clamp(38px, 7vw, 74px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.78);
  border-radius: 16px 36px 36px 16px;
  color: #f8fdff;
  text-align: center;
  background:
    linear-gradient(90deg, rgba(5, 38, 73, 0.52), transparent 9%, transparent 92%, rgba(255, 255, 255, 0.16)),
    linear-gradient(145deg, #103e70, #5da9dc 58%, #e8f8ff);
  box-shadow:
    0 36px 82px rgba(18, 62, 104, 0.26),
    inset 20px 0 42px rgba(6, 36, 70, 0.24),
    inset -16px 0 34px rgba(255, 255, 255, 0.28);
  cursor: pointer;
  transform-origin: left center;
  animation: closed-book-arrive 900ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.storybook-cover::before,
.storybook-cover::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.storybook-cover::before {
  inset: 18px;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.storybook-cover::after {
  inset: 0;
  background:
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, 0.36), transparent 44%),
    radial-gradient(circle at 24% 18%, rgba(255, 255, 255, 0.56), transparent 26%);
  transform: translateX(-110%);
  animation: cover-sheen 7s ease-in-out infinite;
}

.storybook-cover span,
.storybook-cover strong,
.storybook-cover small {
  position: relative;
  z-index: 2;
}

.storybook-cover span {
  color: rgba(250, 253, 255, 0.76);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.92rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
}

.storybook-cover strong {
  max-width: 520px;
  margin: 26px 0 18px;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(3.1rem, 7vw, 6rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: 0.04em;
  text-shadow: 0 22px 42px rgba(4, 32, 64, 0.28);
}

.storybook-cover small {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: 0 22px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  color: #173e6c;
  font-family: "Cormorant Garamond", serif;
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.76);
}

.storybook-cover img {
  position: absolute;
  right: -14%;
  bottom: 4%;
  z-index: 1;
  width: min(660px, 88%);
  opacity: 0.32;
  filter: drop-shadow(0 18px 32px rgba(3, 30, 60, 0.24));
}

.cinderella-page .flip-book__hint {
  color: rgba(39, 91, 138, 0.56);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.86rem;
  letter-spacing: 0.34em;
}

.cinderella-page .flip-book__pageflip {
  filter:
    drop-shadow(0 38px 70px rgba(18, 62, 104, 0.22))
    drop-shadow(0 0 28px rgba(210, 241, 255, 0.34));
}

.cinderella-page .flip-book__pageflip-host .stf__wrapper {
  border-radius: 16px 34px 34px 16px;
}

.cinderella-page .book-page,
.cinderella-page .mobile-book-page {
  border: 1px solid rgba(130, 190, 232, 0.5);
  background:
    linear-gradient(90deg, rgba(23, 62, 108, 0.08), transparent 10%, transparent 90%, rgba(23, 62, 108, 0.08)),
    radial-gradient(circle at 28% 18%, rgba(255, 255, 255, 0.9), transparent 26%),
    repeating-linear-gradient(90deg, rgba(75, 142, 198, 0.045) 0 1px, transparent 1px 7px),
    #fbfeff;
}

.cinderella-page .book-page::before {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.72), transparent 18%, transparent 78%, rgba(47, 103, 151, 0.18)),
    radial-gradient(circle at 8% 48%, rgba(194, 231, 255, 0.38), transparent 42%);
  opacity: 0.84;
}

.cinderella-page .book-page::after,
.cinderella-page .mobile-book-page::after {
  background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, 0.62), transparent 44%);
}

.book-page__image-panel {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.book-page__image-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(6, 34, 66, 0.08), rgba(6, 34, 66, 0.46)),
    radial-gradient(circle at 72% 18%, rgba(255, 255, 255, 0.48), transparent 34%);
}

.book-page__image-panel img,
.cinderella-page .book-page--image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.book-page__shimmer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.72) 0 1px, transparent 2px),
    radial-gradient(circle at 72% 30%, rgba(190, 230, 255, 0.84) 0 1px, transparent 2px),
    radial-gradient(circle at 46% 74%, rgba(255, 255, 255, 0.76) 0 1px, transparent 2px);
  background-size: 180px 180px, 230px 230px, 260px 260px;
  animation: spark-drift 8s ease-in-out infinite alternate;
}

.cinderella-page .flip-page__caption {
  left: 32px;
  right: 32px;
  bottom: 32px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 0;
  background: rgba(13, 52, 91, 0.46);
  box-shadow: 0 18px 36px rgba(3, 30, 60, 0.2);
}

.cinderella-page .flip-page__caption span,
.cinderella-page .flip-page__text span,
.cinderella-page .mobile-book-page__text span {
  color: rgba(78, 144, 200, 0.82);
}

.cinderella-page .flip-page__caption span {
  color: rgba(246, 252, 255, 0.8);
}

.cinderella-page .flip-page__caption h3 {
  color: #ffffff;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.12;
  white-space: normal;
  overflow-wrap: anywhere;
  text-shadow: 0 12px 22px rgba(3, 30, 60, 0.28);
}

.cinderella-page .flip-page__text,
.cinderella-page .mobile-book-page__text {
  background:
    radial-gradient(circle at 82% 10%, rgba(204, 236, 255, 0.56), transparent 32%),
    radial-gradient(circle at 10% 92%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(229, 247, 255, 0.72));
}

.cinderella-page .flip-page__text h3,
.cinderella-page .mobile-book-page__text h3 {
  color: #163e68;
  line-height: 1.12;
  white-space: normal;
}

.cinderella-page .flip-page__text p,
.cinderella-page .mobile-book-page__text p {
  color: #566c82;
  line-height: 2;
}

.cinderella-page .flip-page__text blockquote,
.cinderella-page .mobile-book-page__text blockquote {
  position: relative;
  margin: 24px 0 0;
  padding: 18px 0 0;
  border-top: 1px solid rgba(85, 151, 205, 0.24);
  color: #1b5a91;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.18rem, 2.2vw, 1.42rem);
  font-style: italic;
  line-height: 1.55;
}

.flip-page__details {
  display: grid;
  gap: 8px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.flip-page__details li {
  position: relative;
  padding-left: 18px;
  color: #557187;
  font-size: 0.9rem;
  line-height: 1.6;
}

.flip-page__details li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.78em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #7ebeea;
  box-shadow: 0 0 12px rgba(126, 190, 234, 0.72);
}

.book-page__slipper {
  position: absolute;
  right: clamp(16px, 5vw, 44px);
  bottom: clamp(18px, 5vw, 38px);
  z-index: 1;
  width: clamp(120px, 18vw, 220px);
  opacity: 0.14;
  transform: rotate(-12deg);
}

.cinderella-page .flip-page__curl {
  width: 120px;
  height: 120px;
  border-radius: 32px 0 0;
  background: linear-gradient(135deg, transparent 48%, rgba(125, 190, 234, 0.28) 50%, rgba(255, 255, 255, 0.98) 80%);
  box-shadow: -18px -18px 34px rgba(31, 82, 128, 0.12);
}

.cinderella-page .flip-book__controls {
  grid-template-columns: 56px 1fr 56px;
  max-width: 520px;
  margin: 0 auto;
}

.cinderella-page .flip-book__controls button {
  min-height: 52px;
  border-color: rgba(112, 177, 224, 0.28);
  color: #174b78;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.1rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.78);
  box-shadow:
    0 16px 34px rgba(34, 95, 148, 0.1),
    inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.cinderella-page .flip-book__progress {
  align-items: center;
}

.cinderella-page .flip-book__progress button {
  width: 34px;
  height: 3px;
  min-height: 3px;
  border: 0;
  border-radius: 999px;
  background: rgba(78, 144, 200, 0.22);
}

.cinderella-page .flip-book__progress button.is-active {
  background: linear-gradient(90deg, #9ed7fb, #ffffff, #5fa7dd);
  box-shadow: 0 0 18px rgba(126, 190, 234, 0.58);
}

.program-section--cinderella {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.86), transparent 30%),
    linear-gradient(180deg, #eaf7ff, #ffffff);
}

.program-intro {
  position: sticky;
  top: 112px;
}

.timeline--cinderella {
  gap: 12px;
}

.timeline--cinderella li {
  grid-template-columns: 86px 1fr;
  gap: 22px;
  padding: 22px 0 22px 26px;
  border-bottom: 1px solid rgba(80, 146, 202, 0.22);
  background: transparent;
  box-shadow: none;
}

.timeline--cinderella li::before {
  left: 0;
  width: 9px;
  height: 9px;
  background: #7ebeea;
  box-shadow:
    0 0 0 9px rgba(126, 190, 234, 0.14),
    0 0 24px rgba(126, 190, 234, 0.54);
}

.timeline--cinderella time {
  color: #1f669a;
}

.timeline--cinderella strong {
  color: #173e6c;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 1.12rem;
  font-weight: 500;
}

.profile-hero--cinderella {
  min-height: 98svh;
  padding: 132px 24px 88px;
  color: #f7fcff;
  background: #0d315b;
  isolation: isolate;
}

.profile-hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
  filter: grayscale(0.16) saturate(0.48) brightness(0.78);
  transform: scale(1.02);
  animation: hero-breath 30s ease-in-out infinite alternate;
}

.profile-hero--cinderella::before {
  inset: 0;
  width: auto;
  aspect-ratio: auto;
  border-radius: 0;
  background:
    linear-gradient(180deg, rgba(5, 27, 52, 0.34), rgba(7, 37, 70, 0.74) 54%, rgba(10, 48, 83, 0.5)),
    radial-gradient(circle at 50% 46%, rgba(180, 226, 255, 0.24), transparent 44%);
  filter: none;
}

.profile-hero--cinderella::after {
  inset: 11% 13%;
  border-color: rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  opacity: 0.64;
  box-shadow: 0 0 60px rgba(192, 229, 255, 0.18);
}

.profile-hero--cinderella .profile-hero__glow {
  z-index: 1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 255, 255, 0.24), transparent 34%),
    radial-gradient(circle at 20% 72%, rgba(139, 206, 255, 0.28), transparent 42%),
    linear-gradient(180deg, transparent, rgba(3, 27, 54, 0.28));
}

.hero-slipper--profile {
  display: none;
}

.profile-hero--cinderella .section__inner {
  z-index: 3;
}

.profile-hero--cinderella h1 {
  margin-bottom: 22px;
  font-size: clamp(4rem, 12vw, 8.8rem);
}

.profile-hero--cinderella p {
  color: rgba(246, 252, 255, 0.9);
  line-height: 2.05;
}

.profile-intro-section {
  background:
    linear-gradient(180deg, #f7fcff, #ffffff 50%, #edf8ff);
}

.profile-editorial {
  max-width: 820px;
  margin: 0 auto clamp(34px, 5vw, 58px);
  text-align: center;
}

.profile-editorial p {
  margin-inline: auto;
  max-width: 700px;
}

.profile-duo {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.profile-portrait {
  position: relative;
  min-height: 520px;
  padding: clamp(30px, 4.5vw, 52px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.84), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(218, 240, 255, 0.72));
  box-shadow:
    0 24px 70px rgba(25, 83, 134, 0.12),
    inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.profile-portrait--bride {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(230, 248, 255, 0.82));
}

.profile-portrait::before {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(84, 151, 206, 0.18);
  pointer-events: none;
}

.profile-portrait::after {
  content: none;
}

.profile-portrait__mark {
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  margin-bottom: 36px;
  border: 1px solid rgba(86, 157, 215, 0.24);
  border-radius: 50%;
  color: #1d5a8d;
  font-family: "Cormorant Garamond", serif;
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.58);
  box-shadow:
    0 18px 36px rgba(55, 124, 183, 0.12),
    inset 0 0 0 8px rgba(227, 246, 255, 0.64);
}

.profile-role {
  margin: 0 0 6px;
  color: rgba(38, 100, 151, 0.64);
  font-family: "Cormorant Garamond", serif;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.profile-portrait h3 {
  margin: 0 0 20px;
  color: #173e6c;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-size: clamp(3.4rem, 7vw, 5.2rem);
  font-weight: 500;
  line-height: 0.96;
}

.profile-portrait > p:not(.profile-role) {
  max-width: 520px;
  margin: 0;
  line-height: 2;
}

.profile-notes {
  display: grid;
  gap: 0;
  margin: 34px 0 0;
}

.profile-notes div {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-top: 1px solid rgba(84, 151, 206, 0.18);
}

.profile-notes div:last-child {
  border-bottom: 1px solid rgba(84, 151, 206, 0.18);
}

.profile-notes dt {
  color: #1d6aa5;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.profile-notes dd {
  margin: 0;
  color: #536c82;
  font-size: 0.94rem;
}

.profile-story-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(175, 222, 255, 0.32), transparent 34%),
    linear-gradient(180deg, #eff9ff, #ffffff);
}

.profile-story {
  display: grid;
  grid-template-columns: minmax(300px, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
}

.profile-story__image {
  position: relative;
  min-height: clamp(480px, 64vw, 680px);
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(20, 74, 122, 0.2);
}

.profile-story__image::before {
  content: "";
  position: absolute;
  inset: 18px;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.48);
  pointer-events: none;
}

.profile-story__image::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, transparent, rgba(12, 47, 82, 0.38)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.34), transparent 30%);
}

.profile-story__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center 35%;
}

.profile-story__text {
  position: relative;
  padding-block: 20px;
}

.profile-story__text::before {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #72b8ea, transparent);
}

.profile-story__text p {
  max-width: 620px;
}

.profile-story__list {
  display: grid;
  gap: 12px;
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.profile-story__list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  align-items: baseline;
  padding: 14px 0;
  border-top: 1px solid rgba(84, 151, 206, 0.18);
  color: #536c82;
}

.profile-story__list li:last-child {
  border-bottom: 1px solid rgba(84, 151, 206, 0.18);
}

.profile-story__list span {
  color: #1e6aa3;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.08rem;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.qa-section--cinderella {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.88), transparent 28%),
    linear-gradient(180deg, #ffffff, #eaf7ff);
}

.qa-section--cinderella .qa-list {
  gap: 14px;
}

.qa-section--cinderella .qa-list article {
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(229, 246, 255, 0.78));
  box-shadow: 0 18px 48px rgba(25, 83, 134, 0.1);
}

.qa-section--cinderella .qa-list h3 {
  color: #173e6c;
  font-weight: 500;
}

.qa-section--cinderella .qa-list p {
  border-radius: 0;
  color: #536c82;
  background: rgba(255, 255, 255, 0.64);
}

.qa-section--cinderella .qa-list strong {
  color: #1d6aa5;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  letter-spacing: 0.08em;
}

@keyframes slipper-float {
  from {
    transform: translateY(0) rotate(-9deg);
  }
  to {
    transform: translateY(-18px) rotate(-5deg);
  }
}

@keyframes magic-drift {
  from {
    opacity: 0.34;
    transform: translateY(0) rotate(-5deg);
  }
  to {
    opacity: 0.5;
    transform: translateY(18px) rotate(-2deg);
  }
}

@keyframes closed-book-arrive {
  from {
    opacity: 0;
    transform: translateY(26px) rotateX(8deg) rotateY(-10deg) scale(0.98);
    filter: blur(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0) rotateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes cover-sheen {
  0%,
  54% {
    transform: translateX(-120%);
  }
  78%,
  100% {
    transform: translateX(120%);
  }
}

@keyframes mobile-page-turn-next {
  from {
    opacity: 0.2;
    transform: rotateY(-82deg) translateX(22px) scaleX(0.92);
    filter: brightness(0.92);
  }
  62% {
    opacity: 1;
    transform: rotateY(8deg) translateX(-3px) scaleX(1.01);
  }
  to {
    opacity: 1;
    transform: rotateY(0) translateX(0) scaleX(1);
    filter: brightness(1);
  }
}

@keyframes mobile-page-turn-prev {
  from {
    opacity: 0.2;
    transform: rotateY(82deg) translateX(-22px) scaleX(0.92);
    filter: brightness(0.92);
  }
  62% {
    opacity: 1;
    transform: rotateY(-8deg) translateX(3px) scaleX(1.01);
  }
  to {
    opacity: 1;
    transform: rotateY(0) translateX(0) scaleX(1);
    filter: brightness(1);
  }
}

@keyframes mobile-page-open {
  from {
    opacity: 0;
    transform: rotateY(-74deg) translateX(18px);
    filter: blur(3px) brightness(0.96);
  }
  to {
    opacity: 1;
    transform: rotateY(0) translateX(0);
    filter: blur(0) brightness(1);
  }
}

@keyframes clock-breathe {
  from {
    opacity: 0.48;
    transform: translate(-50%, -50%) rotate(-3deg) scale(0.98);
  }
  to {
    opacity: 0.82;
    transform: translate(-50%, -50%) rotate(4deg) scale(1.03);
  }
}

@keyframes crystal-sheen {
  0%,
  54% {
    opacity: 0;
    transform: translateX(-120%) rotate(12deg);
  }
  68% {
    opacity: 0.72;
  }
  100% {
    opacity: 0;
    transform: translateX(240%) rotate(12deg);
  }
}

@keyframes spark-drift {
  from {
    opacity: 0.42;
    transform: translateY(-8px);
  }
  to {
    opacity: 0.86;
    transform: translateY(8px);
  }
}

@media (max-width: 900px) {
  .cinderella-topbar {
    top: 12px;
  }

  .reception-hero--cinderella,
  .profile-hero--cinderella {
    min-height: 92svh;
    padding-top: 116px;
  }

  .hero-slipper--main {
    right: 50%;
    bottom: 42px;
    width: min(480px, 92vw);
    opacity: 0.44;
    transform: translateX(50%) rotate(-8deg);
    animation: none;
  }

  .hero-magic--carriage {
    top: auto;
    right: 50%;
    bottom: 120px;
    width: min(620px, 140vw);
    opacity: 0.24;
    transform: translateX(50%) rotate(-4deg);
    animation: none;
  }

  .hero-slipper--profile {
    display: none;
  }

  .concept-overture,
  .storybook-showcase,
  .profile-duo,
  .profile-story {
    grid-template-columns: 1fr;
  }

  .concept-overture article {
    min-height: 0;
  }

  .storybook-showcase {
    padding: 34px 24px;
  }

  .storybook-showcase__magic {
    min-height: 220px;
  }

  .program-intro {
    position: relative;
    top: auto;
  }

  .profile-portrait {
    min-height: auto;
  }

  .profile-story__image {
    min-height: 520px;
  }
}

@media (max-width: 560px) {
  .cinderella-topbar {
    width: calc(100% - 22px);
    padding: 5px;
  }

  .cinderella-topbar a {
    min-height: 32px;
    padding-inline: 10px;
    font-size: 0.76rem;
  }

  .reception-hero--cinderella,
  .profile-hero--cinderella {
    padding-inline: 18px;
  }

  .reception-hero--cinderella h1,
  .profile-hero--cinderella h1 {
    font-size: clamp(3.25rem, 17vw, 5.2rem);
  }

  .reception-hero__lead,
  .profile-hero--cinderella p {
    font-size: 0.96rem;
    line-height: 1.9;
  }

  .reception-hero--cinderella .hero__actions,
  .profile-hero--cinderella .hero__actions {
    display: grid;
    gap: 10px;
  }

  .concept-overture {
    gap: 12px;
  }

  .concept-overture article {
    padding: 24px 22px;
  }

  .storybook-showcase::before {
    inset: 10px;
  }

  .cinderella-page .flip-book__controls {
    grid-template-columns: 52px 1fr 52px;
  }

  .cinderella-page .flip-book__progress {
    gap: 7px;
  }

  .cinderella-page .flip-book__progress button {
    width: 22px;
  }

  .cinderella-page .mobile-book-page {
    min-height: 740px;
    border-radius: 0;
    transform-origin: left center;
    transform-style: preserve-3d;
  }

  .cinderella-page .mobile-book-page--turn-next {
    animation: mobile-page-turn-next 780ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  }

  .cinderella-page .mobile-book-page--turn-prev {
    animation: mobile-page-turn-prev 780ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  }

  .cinderella-page .mobile-book-page--turn-open {
    animation: mobile-page-open 840ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
  }

  .storybook-cover {
    min-height: 620px;
    border-radius: 0 26px 26px 0;
  }

  .storybook-cover strong {
    font-size: clamp(2.6rem, 14vw, 4rem);
  }

  .cinderella-page .mobile-book-page__text h3 {
    font-size: clamp(1.55rem, 7.2vw, 2.05rem);
  }

  .cinderella-page .mobile-book-page .flip-page__caption h3 {
    font-size: clamp(1.35rem, 6.4vw, 1.9rem);
  }

  .cinderella-page .flip-page__text blockquote,
  .cinderella-page .mobile-book-page__text blockquote {
    font-size: 1.1rem;
  }

  .timeline--cinderella li {
    grid-template-columns: 68px 1fr;
    gap: 14px;
    padding-left: 22px;
  }

  .profile-portrait {
    padding: 30px 24px;
  }

  .profile-portrait::before {
    inset: 10px;
  }

  .profile-portrait__mark {
    width: 66px;
    height: 66px;
    margin-bottom: 26px;
    font-size: 2rem;
  }

  .profile-notes div,
  .profile-story__list li {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .profile-story__image {
    min-height: 440px;
  }

  .qa-section--cinderella .qa-list article {
    padding: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinderella-page *,
  .cinderella-page *::before,
  .cinderella-page *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 1ms !important;
  }
}

/* Cinderella editorial refresh */
.cinderella-page {
  --ink: #263047;
  --ink-soft: #625f68;
  --c-blue-deep: #111a31;
  --c-blue: #2f5f8e;
  --c-blush: #d89daa;
  --c-blush-soft: #f6dce2;
  --c-ivory: #fff8ef;
  --c-paper: #fbf4ea;
  --c-champagne: #c5aa78;
  --c-sage: #8ca39a;
  --c-shadow: rgba(37, 45, 62, 0.16);
  --c-glow: rgba(216, 157, 170, 0.34);
  color: var(--ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(255, 255, 255, 0.78), transparent 25%),
    radial-gradient(circle at 82% 12%, rgba(246, 220, 226, 0.72), transparent 31%),
    radial-gradient(circle at 84% 78%, rgba(140, 163, 154, 0.18), transparent 31%),
    linear-gradient(180deg, #fff8ef 0%, #f6edf0 42%, #f7f7f2 100%);
}

body:has(.cinderella-page) {
  background: #fbf4ea;
}

.cinderella-page::before {
  opacity: 0.18;
  background-image:
    radial-gradient(circle at 12% 16%, rgba(255, 255, 255, 0.9) 0 1px, transparent 2.3px),
    radial-gradient(circle at 74% 24%, rgba(216, 157, 170, 0.42) 0 1px, transparent 2.4px),
    radial-gradient(circle at 42% 76%, rgba(197, 170, 120, 0.36) 0 1px, transparent 2.3px);
  background-size: 440px 440px, 620px 620px, 700px 700px;
}

.cinderella-page::after {
  opacity: 0.12;
  background:
    linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.74) 25%, transparent 30%),
    radial-gradient(circle at 64% 30%, rgba(216, 157, 170, 0.5) 0 1px, transparent 2.2px);
  background-size: 740px 740px, 520px 520px;
}

.cinderella-topbar {
  width: min(520px, calc(100% - 28px));
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 248, 239, 0.82);
  box-shadow: 0 20px 54px rgba(37, 45, 62, 0.14);
}

.cinderella-topbar a {
  color: #33415f;
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
}

.cinderella-topbar a:hover {
  color: #111a31;
  background: rgba(255, 255, 255, 0.72);
}

.cinderella-page .eyebrow {
  color: rgba(151, 90, 105, 0.74);
  font-family: "Cormorant Garamond", "Noto Serif JP", serif;
  font-size: 0.82rem;
  letter-spacing: 0.22em;
}

.cinderella-page .section {
  padding-block: clamp(86px, 10vw, 142px);
}

.cinderella-page .section::before {
  background: linear-gradient(90deg, transparent, rgba(197, 170, 120, 0.34), transparent);
}

.cinderella-page .section h2 {
  color: #263047;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.cinderella-page .section p {
  color: var(--ink-soft);
}

.cinderella-page .primary-button,
.cinderella-page .ghost-button {
  min-height: 52px;
  border-radius: 999px;
  font-family: "Noto Serif JP", "Cormorant Garamond", serif;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
}

.cinderella-page .primary-button {
  color: #20283c;
  border: 1px solid rgba(255, 255, 255, 0.82);
  background:
    linear-gradient(135deg, rgba(255, 248, 239, 0.98), rgba(246, 220, 226, 0.92) 48%, rgba(197, 170, 120, 0.72));
  box-shadow:
    0 22px 52px rgba(126, 84, 94, 0.24),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.cinderella-page .ghost-button--light {
  color: #fff8ef;
  border-color: rgba(255, 248, 239, 0.58);
  background: rgba(17, 26, 49, 0.32);
}

.cinderella-page .text-link {
  color: #854e61;
  border-color: rgba(216, 157, 170, 0.56);
}

.reception-hero--cinderella {
  display: grid;
  min-height: 100svh;
  place-items: center;
  padding: 142px 24px 96px;
  color: #fff8ef;
  overflow: hidden;
  isolation: isolate;
  text-align: left;
  background: #111a31;
}

.reception-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #111a31;
}

.reception-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.94) contrast(0.96) brightness(0.78);
  transform: scale(1.02);
  animation: hero-breath 28s ease-in-out infinite alternate;
}

.reception-hero--cinderella::before {
  inset: 0;
  z-index: 1;
  width: auto;
  aspect-ratio: auto;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(17, 26, 49, 0.86) 0%, rgba(17, 26, 49, 0.64) 33%, rgba(17, 26, 49, 0.18) 62%, rgba(17, 26, 49, 0.22) 100%),
    linear-gradient(180deg, rgba(17, 26, 49, 0.18), rgba(17, 26, 49, 0.62));
  box-shadow: none;
  filter: none;
  transform: none;
  animation: none;
}

.reception-hero--cinderella::after {
  inset: auto 0 0;
  z-index: 1;
  height: 32%;
  border: 0;
  border-radius: 0;
  opacity: 1;
  background:
    linear-gradient(180deg, transparent, rgba(255, 248, 239, 0.9)),
    radial-gradient(ellipse at 50% 100%, rgba(255, 248, 239, 0.92), transparent 62%);
  transform: none;
  animation: none;
}

.reception-hero__sparkles {
  z-index: 2;
  opacity: 0.54;
  mix-blend-mode: screen;
}

.reception-hero--cinderella .reception-hero__content {
  position: relative;
  z-index: 3;
  justify-self: center;
  width: min(1180px, calc(100% - 48px));
  max-width: none;
  text-align: left;
  animation: invitation-reveal 620ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.reception-hero--cinderella .reception-hero__content::before,
.profile-hero--cinderella .section__inner::before {
  width: 112px;
  margin: 0 0 26px;
  background: linear-gradient(90deg, rgba(197, 170, 120, 0.92), rgba(255, 248, 239, 0.88), transparent);
  box-shadow: 0 0 28px rgba(216, 157, 170, 0.5);
}

.profile-hero--cinderella .section__inner::before {
  margin-inline: auto;
}

.profile-hero--cinderella .section__inner {
  animation: invitation-reveal 620ms cubic-bezier(0.22, 0.74, 0.18, 1) both;
}

.reception-hero--cinderella .eyebrow,
.profile-hero--cinderella .eyebrow {
  color: rgba(255, 248, 239, 0.78);
}

.reception-hero--cinderella h1,
.profile-hero--cinderella h1 {
  color: #fff8ef;
  font-family: "Playfair Display", "Cormorant Garamond", serif;
  font-weight: 500;
  line-height: 0.88;
  letter-spacing: 0.04em;
  text-shadow:
    0 24px 52px rgba(10, 15, 30, 0.42),
    0 0 30px rgba(216, 157, 170, 0.2);
}

.reception-hero--cinderella h1 {
  max-width: 720px;
}

.reception-hero__lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: rgba(255, 248, 239, 0.9);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  line-height: 2.05;
}

.reception-hero--cinderella .hero__actions {
  justify-content: flex-start;
}

.concept-section--remake {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.86), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(246, 220, 226, 0.62), transparent 32%),
    linear-gradient(180deg, #fff8ef, #f8f1ed 54%, #f5f6f1);
}

.concept-heading {
  align-items: end;
}

.concept-heading h2 {
  font-size: clamp(2.35rem, 3.5vw, 3.05rem);
  line-height: 1.2;
}

.concept-heading h2 span {
  display: block;
}

.concept-heading > p {
  max-width: 560px;
  margin: 0 0 8px;
}

.concept-overture {
  gap: 18px;
}

.concept-overture article {
  min-height: 236px;
  border: 1px solid rgba(255, 255, 255, 0.74);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(246, 220, 226, 0.32)),
    radial-gradient(circle at 88% 12%, rgba(197, 170, 120, 0.18), transparent 32%);
  box-shadow:
    0 22px 58px rgba(37, 45, 62, 0.09),
    inset 0 0 0 1px rgba(255, 255, 255, 0.58);
}

.concept-overture article::after {
  background: linear-gradient(90deg, transparent, rgba(216, 157, 170, 0.5), rgba(255, 255, 255, 0.92));
  box-shadow:
    0 0 18px rgba(216, 157, 170, 0.3),
    -28px -18px 0 -2px rgba(197, 170, 120, 0.24);
}

.concept-overture span {
  color: rgba(133, 78, 97, 0.42);
}

.concept-overture h3 {
  color: #263047;
}

.storybook-showcase {
  grid-template-columns: minmax(0, 0.82fr) minmax(320px, 1.18fr);
  min-height: 430px;
  border-color: rgba(255, 255, 255, 0.72);
  border-radius: 8px;
  background:
    linear-gradient(115deg, rgba(17, 26, 49, 0.94), rgba(44, 75, 105, 0.82) 54%, rgba(246, 220, 226, 0.86)),
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.32), transparent 68%);
  box-shadow: 0 30px 78px rgba(37, 45, 62, 0.18);
}

.storybook-showcase::before {
  border-color: rgba(255, 248, 239, 0.36);
}

.cinderella-page .storybook-showcase__copy p {
  max-width: 540px;
  color: rgba(255, 248, 239, 0.96);
}

.storybook-showcase__image {
  position: relative;
  z-index: 2;
  min-height: 330px;
  overflow: hidden;
  border-radius: 6px;
  box-shadow: 0 26px 58px rgba(10, 15, 30, 0.28);
}

.storybook-showcase__image::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent, rgba(17, 26, 49, 0.2)),
    radial-gradient(circle at 20% 18%, rgba(255, 255, 255, 0.28), transparent 28%);
  pointer-events: none;
}

.storybook-showcase__image img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  object-position: center;
  transform: scale(1.01);
}

.storybook-showcase__magic {
  display: none;
}

.storybook-cover {
  border-radius: 8px 34px 34px 8px;
  background: #121b31;
  box-shadow:
    0 38px 86px rgba(37, 45, 62, 0.28),
    inset 22px 0 42px rgba(8, 12, 24, 0.28),
    inset -16px 0 34px rgba(255, 255, 255, 0.2);
}

.storybook-cover::before {
  z-index: 2;
  border-color: rgba(255, 248, 239, 0.38);
}

.storybook-cover::after {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(17, 26, 49, 0.64), rgba(17, 26, 49, 0.18) 48%, rgba(216, 157, 170, 0.22)),
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, 0.28), transparent 44%);
}

.storybook-cover img {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.58;
  filter: saturate(0.9) brightness(0.82);
}

.storybook-cover small {
  color: #263047;
  background: rgba(255, 248, 239, 0.82);
}

.cinderella-page .flip-book__hint {
  color: rgba(133, 78, 97, 0.54);
}

.cinderella-page .flip-book__pageflip {
  filter:
    drop-shadow(0 38px 70px rgba(37, 45, 62, 0.2))
    drop-shadow(0 0 28px rgba(216, 157, 170, 0.2));
}

.cinderella-page .book-page,
.cinderella-page .mobile-book-page {
  border-color: rgba(216, 157, 170, 0.32);
  background:
    linear-gradient(90deg, rgba(17, 26, 49, 0.07), transparent 10%, transparent 90%, rgba(17, 26, 49, 0.05)),
    radial-gradient(circle at 86% 12%, rgba(246, 220, 226, 0.5), transparent 30%),
    repeating-linear-gradient(90deg, rgba(197, 170, 120, 0.04) 0 1px, transparent 1px 7px),
    #fffaf4;
}

.cinderella-page .flip-page__caption {
  border-color: rgba(255, 248, 239, 0.58);
  border-radius: 6px;
  background: rgba(17, 26, 49, 0.48);
}

.cinderella-page .flip-page__caption span,
.cinderella-page .flip-page__text span,
.cinderella-page .mobile-book-page__text span {
  color: rgba(133, 78, 97, 0.78);
}

.cinderella-page .flip-page__caption span {
  color: rgba(255, 248, 239, 0.76);
}

.cinderella-page .flip-page__text,
.cinderella-page .mobile-book-page__text {
  background:
    radial-gradient(circle at 82% 10%, rgba(246, 220, 226, 0.52), transparent 32%),
    radial-gradient(circle at 10% 92%, rgba(255, 255, 255, 0.92), transparent 34%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(255, 248, 239, 0.78));
}

.cinderella-page .flip-page__text h3,
.cinderella-page .mobile-book-page__text h3 {
  color: #263047;
}

.cinderella-page .flip-page__text p,
.cinderella-page .mobile-book-page__text p,
.flip-page__details li {
  color: #625f68;
}

.cinderella-page .flip-page__text blockquote,
.cinderella-page .mobile-book-page__text blockquote {
  border-top-color: rgba(216, 157, 170, 0.28);
  color: #854e61;
}

.flip-page__details li::before {
  background: #d89daa;
  box-shadow: 0 0 12px rgba(216, 157, 170, 0.56);
}

.book-page__slipper {
  display: none;
}

.cinderella-page .flip-page__curl {
  background: linear-gradient(135deg, transparent 48%, rgba(216, 157, 170, 0.24) 50%, rgba(255, 255, 255, 0.96) 80%);
}

.cinderella-page .flip-book__controls button {
  border-color: rgba(216, 157, 170, 0.28);
  color: #854e61;
  background: rgba(255, 248, 239, 0.82);
}

.cinderella-page .flip-book__progress button {
  background: rgba(216, 157, 170, 0.22);
}

.cinderella-page .flip-book__progress button.is-active {
  background: linear-gradient(90deg, #d89daa, #fff8ef, #c5aa78);
  box-shadow: 0 0 18px rgba(216, 157, 170, 0.46);
}

.program-section--cinderella {
  background:
    radial-gradient(circle at 14% 12%, rgba(255, 255, 255, 0.86), transparent 30%),
    radial-gradient(circle at 84% 16%, rgba(246, 220, 226, 0.5), transparent 34%),
    linear-gradient(180deg, #f7f7f2, #fffaf4);
}

.program-section--cinderella .schedule-layout {
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1.24fr);
  gap: clamp(34px, 7vw, 88px);
  max-width: 1100px;
}

.program-intro {
  position: relative;
  top: auto;
}

.program-intro h2 {
  font-size: clamp(2.5rem, 3.6vw, 3.6rem);
  line-height: 1.14;
}

.program-intro h2 span {
  display: block;
}

.timeline--cinderella li {
  position: relative;
  border-bottom-color: rgba(216, 157, 170, 0.22);
}

.timeline--cinderella li::before {
  background: #d89daa;
  box-shadow:
    0 0 0 9px rgba(216, 157, 170, 0.13),
    0 0 24px rgba(216, 157, 170, 0.48);
}

.timeline--cinderella time,
.timeline--cinderella strong {
  color: #263047;
}

.profile-hero--cinderella {
  color: #fff8ef;
  background: #111a31;
}

.profile-hero__image {
  filter: saturate(0.72) contrast(0.96) brightness(0.74);
  object-position: center 36%;
}

.profile-hero--cinderella::before {
  background:
    linear-gradient(180deg, rgba(17, 26, 49, 0.36), rgba(17, 26, 49, 0.72) 58%, rgba(17, 26, 49, 0.52)),
    radial-gradient(circle at 50% 38%, rgba(216, 157, 170, 0.22), transparent 42%);
}

.profile-hero--cinderella::after {
  border-color: rgba(255, 248, 239, 0.3);
  box-shadow: 0 0 60px rgba(216, 157, 170, 0.18);
}

.profile-hero--cinderella .profile-hero__glow {
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 248, 239, 0.24), transparent 34%),
    radial-gradient(circle at 20% 72%, rgba(216, 157, 170, 0.24), transparent 42%),
    linear-gradient(180deg, transparent, rgba(17, 26, 49, 0.28));
}

.profile-hero--cinderella p {
  color: rgba(255, 248, 239, 0.88);
}

.profile-intro-section {
  background:
    radial-gradient(circle at 80% 12%, rgba(246, 220, 226, 0.48), transparent 32%),
    linear-gradient(180deg, #fff8ef, #ffffff 50%, #f7f7f2);
}

.profile-portrait {
  border-radius: 6px;
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.86), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 239, 0.76));
  box-shadow:
    0 24px 70px rgba(37, 45, 62, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.profile-portrait--bride {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 220, 226, 0.58));
}

.profile-portrait::before {
  border-color: rgba(216, 157, 170, 0.18);
}

.profile-portrait__mark {
  border-color: rgba(216, 157, 170, 0.28);
  color: #854e61;
  background: rgba(255, 248, 239, 0.68);
  box-shadow:
    0 18px 36px rgba(126, 84, 94, 0.12),
    inset 0 0 0 8px rgba(246, 220, 226, 0.48);
}

.profile-role,
.profile-notes dt,
.profile-story__list span,
.qa-section--cinderella .qa-list strong {
  color: #854e61;
}

.profile-portrait h3,
.qa-section--cinderella .qa-list h3 {
  color: #263047;
}

.profile-notes div,
.profile-notes div:last-child,
.profile-story__list li,
.profile-story__list li:last-child {
  border-color: rgba(216, 157, 170, 0.2);
}

.profile-notes dd,
.profile-story__list li {
  color: #625f68;
}

.profile-story-section {
  background:
    radial-gradient(circle at 84% 18%, rgba(246, 220, 226, 0.48), transparent 34%),
    radial-gradient(circle at 10% 78%, rgba(140, 163, 154, 0.18), transparent 32%),
    linear-gradient(180deg, #f7f7f2, #fffaf4);
}

.profile-story__image {
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(37, 45, 62, 0.2);
}

.profile-story__image--gown {
  min-height: clamp(560px, 70vw, 760px);
}

.profile-story__image--gown img {
  object-position: center 48%;
}

.profile-story__image::before {
  border-color: rgba(255, 248, 239, 0.5);
}

.profile-story__image::after {
  background:
    linear-gradient(180deg, transparent, rgba(17, 26, 49, 0.24)),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.26), transparent 30%);
}

.profile-story__text::before {
  background: linear-gradient(90deg, #d89daa, transparent);
}

.qa-section--cinderella {
  background:
    radial-gradient(circle at 20% 12%, rgba(255, 255, 255, 0.86), transparent 28%),
    radial-gradient(circle at 84% 72%, rgba(246, 220, 226, 0.44), transparent 32%),
    linear-gradient(180deg, #fffaf4, #f7f7f2);
}

.qa-section--cinderella .qa-list article {
  border-radius: 6px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.92), rgba(255, 248, 239, 0.78));
  box-shadow: 0 18px 48px rgba(37, 45, 62, 0.1);
}

.qa-section--cinderella .qa-list p {
  color: #625f68;
  background: rgba(255, 255, 255, 0.62);
}

@media (max-width: 900px) {
  .reception-hero--cinderella {
    min-height: 94svh;
  }

  .reception-hero--cinderella::before {
    background:
      linear-gradient(180deg, rgba(17, 26, 49, 0.72), rgba(17, 26, 49, 0.5) 46%, rgba(17, 26, 49, 0.7)),
      radial-gradient(circle at 48% 34%, rgba(216, 157, 170, 0.18), transparent 40%);
  }

  .reception-hero--cinderella .reception-hero__content {
    width: min(760px, calc(100% - 36px));
    text-align: center;
  }

  .reception-hero--cinderella .reception-hero__content::before {
    margin-inline: auto;
    background: linear-gradient(90deg, transparent, rgba(255, 248, 239, 0.88), transparent);
  }

  .reception-hero__lead {
    margin-inline: auto;
  }

  .reception-hero--cinderella .hero__actions {
    justify-content: center;
  }

  .storybook-showcase {
    grid-template-columns: 1fr;
  }

  .program-section--cinderella .schedule-layout {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .storybook-showcase__image {
    min-height: 300px;
  }

  .profile-story__image--gown {
    min-height: 560px;
  }
}

@media (max-width: 560px) {
  .cinderella-topbar {
    width: calc(100% - 20px);
  }

  .reception-hero--cinderella,
  .profile-hero--cinderella {
    padding-top: 112px;
  }

  .reception-hero__visual img {
    object-position: 58% center;
  }

  .reception-hero--cinderella h1,
  .profile-hero--cinderella h1 {
    font-size: clamp(3.1rem, 16vw, 5rem);
  }

  .reception-hero__lead,
  .profile-hero--cinderella p {
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .storybook-showcase {
    padding: 28px 20px;
  }

  .storybook-showcase__image {
    min-height: 250px;
  }

  .storybook-cover {
    border-radius: 0 26px 26px 0;
  }

  .cinderella-page .mobile-book-page {
    min-height: 780px;
  }

  .profile-story__image--gown {
    min-height: 500px;
  }
}

/* Keep the original Cinderella concept primary; pink remains a dress accent. */
.cinderella-page {
  --ink: #19304a;
  --ink-soft: #5a6571;
  --c-blue-deep: #102b4f;
  --c-blue: #496f9e;
  --c-blush: #d7a5b1;
  --c-blush-soft: #f6e2e6;
  --c-ivory: #fbfbf7;
  --c-paper: #f7fbff;
  --c-champagne: #bca572;
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.92), transparent 27%),
    radial-gradient(circle at 82% 12%, rgba(202, 232, 250, 0.42), transparent 32%),
    radial-gradient(circle at 78% 74%, rgba(246, 226, 230, 0.28), transparent 30%),
    linear-gradient(180deg, #f8fcff 0%, #edf7ff 44%, #fffaf4 100%);
}

body:has(.cinderella-page) {
  background: #edf7ff;
}

.cinderella-topbar {
  background: rgba(248, 252, 255, 0.84);
  box-shadow: 0 20px 54px rgba(18, 55, 92, 0.14);
}

.cinderella-page .eyebrow {
  color: rgba(43, 94, 139, 0.74);
}

.reception-hero--cinderella .eyebrow,
.profile-hero--cinderella .eyebrow {
  color: rgba(245, 252, 255, 0.84);
}

.cinderella-page .primary-button {
  color: #173e6c;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(222, 242, 255, 0.9) 52%, rgba(188, 165, 114, 0.7));
  box-shadow:
    0 22px 52px rgba(45, 125, 191, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.66);
}

.concept-section--remake {
  background:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.9), transparent 30%),
    radial-gradient(circle at 82% 16%, rgba(202, 232, 250, 0.5), transparent 32%),
    radial-gradient(circle at 78% 72%, rgba(246, 226, 230, 0.26), transparent 30%),
    linear-gradient(180deg, #ffffff, #edf7ff 58%, #fffaf4);
}

.concept-overture article {
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.9), rgba(228, 244, 255, 0.64)),
    radial-gradient(circle at 88% 12%, rgba(246, 226, 230, 0.24), transparent 32%);
}

.concept-overture span,
.cinderella-page .flip-page__caption span,
.cinderella-page .flip-page__text span,
.cinderella-page .mobile-book-page__text span {
  color: rgba(43, 94, 139, 0.72);
}

.cinderella-page .flip-page__caption span {
  color: rgba(246, 252, 255, 0.8);
}

.storybook-showcase {
  background:
    linear-gradient(115deg, rgba(16, 43, 79, 0.96), rgba(52, 103, 149, 0.82) 56%, rgba(239, 250, 255, 0.9)),
    linear-gradient(135deg, transparent 48%, rgba(255, 255, 255, 0.32), transparent 68%);
}

.storybook-cover {
  background: #102b4f;
}

.storybook-cover::after {
  background:
    linear-gradient(90deg, rgba(16, 43, 79, 0.64), rgba(16, 43, 79, 0.18) 48%, rgba(246, 226, 230, 0.18)),
    linear-gradient(108deg, transparent 22%, rgba(255, 255, 255, 0.28), transparent 44%);
}

.storybook-showcase__magic {
  display: grid;
}

.storybook-showcase__image {
  display: none;
}

.storybook-cover img {
  inset: auto;
  right: -14%;
  bottom: 4%;
  width: min(660px, 88%);
  height: auto;
  object-fit: contain;
  opacity: 0.32;
  filter: drop-shadow(0 18px 32px rgba(3, 30, 60, 0.24));
}

.book-page__slipper {
  display: block;
}

.program-section--cinderella,
.profile-intro-section,
.profile-story-section,
.qa-section--cinderella {
  background:
    radial-gradient(circle at 16% 12%, rgba(255, 255, 255, 0.88), transparent 30%),
    radial-gradient(circle at 84% 18%, rgba(202, 232, 250, 0.36), transparent 32%),
    linear-gradient(180deg, #f7fcff, #fffaf4);
}

.timeline--cinderella li::before,
.flip-page__details li::before {
  background: #7ebeea;
  box-shadow: 0 0 12px rgba(126, 190, 234, 0.56);
}

.profile-portrait--bride {
  background:
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.9), transparent 28%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(246, 226, 230, 0.36));
}

.profile-note-section {
  background:
    linear-gradient(180deg, rgba(248, 252, 255, 0.98), rgba(255, 250, 244, 0.98)),
    repeating-linear-gradient(90deg, rgba(126, 190, 234, 0.035) 0 1px, transparent 1px 12px);
}

.profile-note {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(34px, 7vw, 86px);
  align-items: start;
}

.profile-note__intro {
  position: relative;
  padding-top: 12px;
}

.profile-note__intro::before {
  content: "";
  display: block;
  width: 92px;
  height: 1px;
  margin-bottom: 28px;
  background: linear-gradient(90deg, #7ebeea, transparent);
}

.profile-note__intro h2 {
  max-width: 520px;
  font-size: 3.7rem;
  line-height: 1.12;
}

.profile-note__intro h2 span {
  display: block;
  white-space: nowrap;
}

.profile-note__intro p {
  max-width: 620px;
}

.profile-note__timeline {
  display: grid;
  gap: 0;
  margin: 0;
  padding: clamp(26px, 4vw, 44px);
  list-style: none;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 6px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(240, 248, 255, 0.74)),
    repeating-linear-gradient(90deg, rgba(126, 190, 234, 0.04) 0 1px, transparent 1px 7px);
  box-shadow:
    0 24px 70px rgba(25, 83, 134, 0.11),
    inset 0 0 0 1px rgba(255, 255, 255, 0.62);
}

.profile-note__timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  column-gap: clamp(18px, 3vw, 32px);
  padding: 24px 0;
  border-top: 1px solid rgba(84, 151, 206, 0.18);
}

.profile-note__timeline li:first-child {
  padding-top: 0;
  border-top: 0;
}

.profile-note__timeline li:last-child {
  padding-bottom: 0;
}

.profile-note__timeline span {
  color: rgba(43, 94, 139, 0.56);
  font-family: "Cormorant Garamond", serif;
  font-size: 1.05rem;
  letter-spacing: 0.18em;
}

.profile-note__timeline h3 {
  margin: 0 0 8px;
  color: #263047;
  font-family: "Playfair Display", "Noto Serif JP", serif;
  font-size: 1.78rem;
  font-weight: 500;
}

.profile-note__timeline p {
  grid-column: 2;
  margin: 0;
  color: #5a6571;
  line-height: 1.95;
}

@media (max-width: 900px) {
  .profile-note {
    grid-template-columns: 1fr;
  }

  .profile-note__intro h2 {
    font-size: 3.05rem;
  }
}

@media (max-width: 560px) {
  .profile-note__intro h2 {
    font-size: 2.35rem;
  }

  .profile-note__timeline h3 {
    font-size: 1.46rem;
  }

  .profile-note__timeline {
    padding: 24px 22px;
  }

  .profile-note__timeline li {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .profile-note__timeline p {
    grid-column: auto;
  }
}
