@charset "UTF-8";

/* This stylesheet belongs only to the standalone letter page. */
.letter-page .subpage-main { padding-top: 30px; overflow-x: clip; }
.letter-page .desktop-nav a[aria-current="page"] { color: var(--purple-deep); }
.letter-page .desktop-nav a[aria-current="page"]:after { transform: scale(1); }
.letter-page .mobile-nav a[aria-current="page"] { color: var(--purple-deep); font-weight: 650; }
.letter-page .letter-hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 70px; min-height: 650px; padding-block: 74px 70px; }
.letter-page .letter-hero-copy { position: relative; z-index: 2; }
.letter-page .letter-hero-copy .section-english { margin-bottom: 20px; font-size: 34px; }
.letter-page .letter-hero h1 { font-size: clamp(43px, 4.1vw, 61px); font-weight: 600; line-height: 1.58; letter-spacing: -.055em; margin: 0 0 25px; }
.letter-page .letter-hero-description { margin: 0; color: #756382; font-size: 17px; line-height: 2.1; }
.letter-page .letter-hero-actions { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 33px; }
.letter-page .letter-hero-actions .text-link { font-size: 14px; }
.letter-page .letter-address { display: flex; align-items: center; gap: 12px; margin-top: 33px; margin-bottom: 0; font-size: 15px; color: #715580; }
.letter-page .letter-address-label { font-size: 10px; font-weight: 500; letter-spacing: 1.5px; color: #947aa1; }
.letter-page .letter-address strong { font-weight: 550; letter-spacing: 1px; }
.letter-page .letter-address .icon { width: 14px; height: 14px; margin-inline: 4px; color: #b793c3; }
.letter-page .letter-hero-visual { position: relative; min-width: 0; height: 450px; isolation: isolate; display: flex; align-items: center; justify-content: center; padding: 0 10px 30px; }
.letter-page .letter-aura { position: absolute; z-index: -1; inset: -2% -10%; border-radius: 50%; background: radial-gradient(ellipse at 50% 50%, #f7d8ee85, #c9c7f128 58%, transparent 73%); filter: blur(25px); animation: letter-halo 11s ease-in-out infinite alternate; }
.letter-page .letter-orbit { position: absolute; border: 1px solid #b49bce35; border-radius: 50%; pointer-events: none; transition: transform 1.4s var(--ease); }
.letter-page .letter-orbit-one { inset: 8% -3%; transform: rotate(-27deg) scaleY(.7); }
.letter-page .letter-orbit-two { inset: -8% 11%; border-color: #ffffffa8; transform: rotate(31deg) scaleX(.9); }
.letter-page .letter-floating-star { position: absolute; color: #b79acf; font-family: var(--serif); pointer-events: none; animation: letter-star-float 7s ease-in-out infinite; }
.letter-page .letter-star-one { top: 5%; right: 14%; font-size: 40px; }
.letter-page .letter-star-two { bottom: 17%; left: -2%; font-size: 22px; color: #d1a7c5; animation-delay: -2s; }
.letter-page .letter-star-three { bottom: 13%; right: 3%; font-size: 29px; animation-delay: -4s; }
.letter-page .letter-hero-visual .envelope { margin-top: 20px; width: 90%; max-width: 440px; }
.letter-page .letter-visual-caption { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; color: #82668e; font-size: 13px; letter-spacing: .5px; margin: 0; }
.letter-page .letter-is-focused .letter-orbit-one { transform: rotate(-18deg) scaleY(.75); }
.letter-page .letter-postmark { display: flex; align-items: center; gap: 45px; padding: 35px 44px; border-radius: 32px; border: 1px solid #ffffffd4; background: linear-gradient(120deg, #ffffff86, #ffffff35); box-shadow: inset 0 1px 0 #ffffffed, 0 15px 45px #8c76b00c; backdrop-filter: blur(22px); -webkit-backdrop-filter: blur(22px); }
.letter-page .letter-postmark > div { display: flex; flex-direction: column; gap: 4px; }
.letter-page .letter-postmark > div > span { font-size: 12px; color: #846b92; }
.letter-page .letter-postmark strong { font-size: 25px; line-height: 1.7; font-weight: 500; letter-spacing: .4px; color: #8c68a8; }
.letter-page .letter-postmark small { font-size: 12px; color: #80678d; }
.letter-page .letter-postmark-star { color: #b59acb; width: 22px; height: 22px; }
.letter-page .letter-postmark-line { width: 1px; height: 62px; background: linear-gradient(transparent, #b5a0ca66, transparent); margin-left: auto; }
.letter-page .letter-postmark > p { margin: 0; color: #80638d; font-size: 14px; line-height: 1.9; }
.letter-page .letter-postmark > p > strong { font-size: 23px; font-weight: 550; }
.letter-page .letter-afterword { text-align: center; padding-block: 100px 105px; }
.letter-page .letter-afterword > .icon { width: 29px; height: 29px; color: #b597ca; margin: 0 auto 21px; }
.letter-page .letter-afterword .section-english { font-size: 28px; margin-bottom: 21px; }
.letter-page .letter-afterword h2 { font-size: 30px; font-weight: 500; color: #8f6ca0; line-height: 1.9; letter-spacing: -.6px; margin: 0; }
.letter-page .letter-afterword > p:not(.section-english) { margin-top: 21px; margin-bottom: 18px; font-size: 15px; color: #806b8e; }
.letter-page .letter-afterword > .text-link { font-size: 14px; }
.letter-page .letter-dialog { width: min(710px, calc(100% - 40px)); }
.letter-page .letter-switcher { display: flex; gap: 5px; width: fit-content; max-width: 100%; margin: -5px 0 22px; padding: 4px; border: 1px solid #ffffffd9; border-radius: 99px; background: #ffffff52; box-shadow: inset 0 1px 0 #fff8; }
.letter-page .letter-switcher button { border: 0; border-radius: 99px; padding: 8px 14px; background: transparent; color: #9679a4; font-size: 12px; line-height: 1.5; white-space: nowrap; transition: color .35s, background .5s var(--ease), box-shadow .5s; }
.letter-page .letter-switcher button:hover { color: #76568a; background: #ffffff70; }
.letter-page .letter-switcher button[aria-pressed="true"] { color: #fff; background: linear-gradient(125deg, #b18fe0, #9270cc 68%, #a17dd0); box-shadow: 0 4px 13px #9c77c933, inset 0 1px 0 #e8d7ffc4; }
.letter-page .letter-dialog .letter-body { font-size: 17px; line-height: 2.15; }
.letter-page .letter-dialog .letter-actions { flex-wrap: wrap; }
.letter-page .letter-dialog .letter-signature > span { display: inline-block; }

@keyframes letter-halo { to { transform: scale(1.12) translateY(-7px); opacity: .7; } }
@keyframes letter-star-float { 50% { transform: translateY(-11px) rotate(10deg); } }

@media (max-width: 1100px) {
  .letter-page .letter-hero { gap: 34px; min-height: 610px; }
  .letter-page .letter-hero h1 { font-size: 46px; }
  .letter-page .letter-hero-copy .section-english { font-size: 29px; }
  .letter-page .letter-hero-visual { height: 390px; }
  .letter-page .letter-hero-actions { gap: 18px; }
  .letter-page .letter-postmark { gap: 27px; padding-inline: 32px; }
}

@media (max-width: 800px) {
  .letter-page .letter-hero { gap: 28px; padding-top: 65px; }
  .letter-page .letter-hero h1 { font-size: 39px; }
  .letter-page .letter-hero-description { font-size: 15px; }
  .letter-page .letter-hero-copy .section-english { font-size: 26px; }
  .letter-page .letter-hero-visual { height: 340px; }
  .letter-page .letter-hero-actions { gap: 14px; }
  .letter-page .letter-hero-actions .button { padding-inline: 21px; }
  .letter-page .letter-hero-actions .text-link { font-size: 13px; }
  .letter-page .letter-postmark { gap: 22px; padding-inline: 25px; }
  .letter-page .letter-postmark strong { font-size: 22px; }
  .letter-page .letter-postmark > p > strong { font-size: 21px; }
  .letter-page .letter-postmark-star { width: 18px; }
}

@media (max-width: 700px) {
  .letter-page .subpage-main { padding-top: 0; }
  .letter-page .letter-hero { display: flex; flex-direction: column; gap: 26px; padding-top: 55px; padding-bottom: 42px; min-height: 0; align-items: stretch; }
  .letter-page .letter-hero-copy .section-english { font-size: 29px; margin-bottom: 17px; }
  .letter-page .letter-hero h1 { font-size: clamp(35px, 8.1vw, 49px); line-height: 1.65; margin-bottom: 19px; letter-spacing: -.05em; }
  .letter-page .letter-hero-description { font-size: 16px; line-height: 2; }
  .letter-page .letter-hero-actions { margin-top: 25px; gap: 20px; }
  .letter-page .letter-hero-actions .button { font-size: 14px; min-height: 50px; padding-inline: 23px; }
  .letter-page .letter-hero-actions .text-link { font-size: 13px; gap: 8px; }
  .letter-page .letter-address { font-size: 15px; gap: 11px; margin-top: 28px; }
  .letter-page .letter-hero-visual { height: 350px; width: min(100%, 440px); align-self: center; padding-bottom: 32px; margin-top: 12px; }
  .letter-page .letter-hero-visual .envelope { width: 86%; max-width: 365px; margin-top: 15px; }
  .letter-page .letter-orbit-one { inset: 12% 0; }
  .letter-page .letter-orbit-two { inset: 2% 13%; }
  .letter-page .letter-star-one { top: 2%; right: 6%; font-size: 32px; }
  .letter-page .letter-star-two { left: 2%; bottom: 18%; font-size: 20px; }
  .letter-page .letter-star-three { right: 2%; bottom: 15%; font-size: 24px; }
  .letter-page .letter-visual-caption { font-size: 12px; }
  .letter-page .letter-postmark { flex-wrap: wrap; padding: 27px 22px; gap: 22px 19px; border-radius: 27px; justify-content: space-between; }
  .letter-page .letter-postmark > div { gap: 3px; }
  .letter-page .letter-postmark > div > span, .letter-page .letter-postmark small { font-size: 11px; }
  .letter-page .letter-postmark strong { font-size: 22px; letter-spacing: 0; }
  .letter-page .letter-postmark-star { width: 17px; height: 17px; }
  .letter-page .letter-postmark-line { display: none; }
  .letter-page .letter-postmark > p { width: 100%; padding-top: 19px; border-top: 1px solid #c2afd329; font-size: 13px; display: flex; gap: 7px; align-items: baseline; }
  .letter-page .letter-postmark > p br { display: none; }
  .letter-page .letter-postmark > p > strong { font-size: 20px; }
  .letter-page .letter-afterword { padding-block: 72px 76px; }
  .letter-page .letter-afterword .section-english { font-size: 27px; margin-bottom: 20px; }
  .letter-page .letter-afterword h2 { font-size: 25px; line-height: 1.95; letter-spacing: -.7px; }
  .letter-page .letter-afterword > p:not(.section-english) { max-width: 300px; margin-inline: auto; font-size: 14px; line-height: 2; }
  .letter-page .letter-afterword > .text-link { font-size: 13px; }
  .letter-page .letter-dialog { width: calc(100% - 28px); padding-inline: 25px; }
  .letter-page .letter-switcher { width: 100%; margin-bottom: 19px; }
  .letter-page .letter-switcher button { flex: 1; padding-inline: 8px; font-size: 11.5px; }
  .letter-page .letter-dialog .letter-body { font-size: 16px; line-height: 2.1; }
  .letter-page .letter-dialog .letter-actions { gap: 15px; }
}

@media (max-width: 360px) {
  .letter-page .letter-hero-copy .section-english { font-size: 26px; }
  .letter-page .letter-hero h1 { font-size: 35px; }
  .letter-page .letter-hero-actions { gap: 12px; }
  .letter-page .letter-hero-actions .button { font-size: 13px; min-height: 48px; padding-inline: 18px; gap: 13px; }
  .letter-page .letter-hero-actions .text-link { font-size: 12px; }
  .letter-page .letter-hero-visual { height: 310px; }
  .letter-page .letter-postmark { gap: 19px 12px; padding-inline: 18px; }
  .letter-page .letter-postmark strong { font-size: 20px; }
  .letter-page .letter-postmark-star { width: 13px; }
  .letter-page .letter-afterword h2 { font-size: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .letter-page .letter-aura, .letter-page .letter-floating-star { animation: none; }
  .letter-page .letter-orbit { transition: none; }
}
