:root {
  --night: #1a1f3d; --night-2: #232a52; --dusk: #2d3568; --deep: #12152b;
  --cream: #fff6e6; --paper: #fbefdc; --gold: #ffe28a; --snow: #f4f6fb; --mist: #c9cde6;
  --maroon: #5a0d1c; --berry: #c8343f; --pine: #2f6b4f; --ink: #2a0710;
  --arin: #5b3f95; --lina: #a3231b; --jiwoo: #24497f;
  --wrap: 1160px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--snow);
  font-family: var(--body); font-size: 17px; line-height: 1.7;
}
img, video { max-width: 100%; height: auto; }
a { color: var(--gold); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
h1, h2, h3, figcaption, .tagline, .brand span { font-family: var(--display); font-weight: var(--dw); }
h1, h2, h3, .tagline, .sub { text-wrap: balance; }

html[lang="ko"] body { word-break: keep-all; overflow-wrap: break-word; }
html[lang="ja"] body, html[lang^="zh"] body { line-break: strict; }
html[lang="ja"] h1, html[lang="ja"] h2, html[lang="ja"] h3, html[lang="ja"] .tagline, html[lang="ja"] figcaption { word-break: auto-phrase; }
body { overflow-wrap: break-word; }

.top {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 18px; background: rgba(26, 31, 61, .92);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255, 226, 138, .2);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--snow); text-decoration: none; min-width: 0; }
.brand img { width: 36px; height: 36px; border-radius: 9px; flex: none; box-shadow: 0 0 0 2px rgba(255, 226, 138, .4); }
.brand span { font-size: 1.05rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.langpick { position: relative; font-size: .85rem; flex: none; }
.langpick summary {
  list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 999px; line-height: 1.3;
  border: 1.5px solid rgba(255, 226, 138, .5); color: var(--snow);
}
.langpick summary span { max-width: 9em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.langpick summary::-webkit-details-marker { display: none; }
.langpick[open] summary { background: var(--gold); color: var(--night); border-color: var(--gold); }
.langpick ul {
  position: absolute; right: 0; top: calc(100% + 8px); margin: 0; padding: 6px; list-style: none;
  min-width: 13em; max-height: 70vh; overflow: auto; border-radius: 14px;
  background: var(--cream); color: var(--night); box-shadow: 0 18px 40px rgba(0, 0, 0, .45);
}
.langpick li a, .langpick li span { display: block; padding: 6px 12px; border-radius: 8px; color: var(--night); text-decoration: none; }
.langpick li a:hover { background: var(--paper); }
.langpick li [aria-current] { background: var(--gold); font-weight: 700; }

.hero { position: relative; background: var(--night); }
.hero-art { position: relative; display: block; overflow: hidden; }
.hero-art img {
  display: block; width: 100%; height: clamp(360px, 40vw, 580px); object-fit: cover; object-position: 50% 22%;
}
.hero-art::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 40%;
  background: linear-gradient(rgba(26, 31, 61, 0), var(--night));
}
.hero-body {
  position: relative; z-index: 2; margin-top: -150px; padding-bottom: 56px;
  display: grid; gap: 34px; align-items: end;
}
.namecard {
  position: relative; min-width: 0; background: var(--cream); color: var(--ink);
  border-radius: 22px; padding: 34px 34px 30px;
  box-shadow: 0 0 0 4px var(--maroon), 0 0 0 9px var(--cream), 0 0 0 11px rgba(255, 226, 138, .6), 0 30px 60px rgba(0, 0, 0, .5);
}
.hero h1 { margin: 0; line-height: 1.08; color: var(--maroon); }
.hero h1 .name { display: block; font-size: clamp(2.4rem, 6.2vw, 4.4rem); letter-spacing: -.01em; }
.hero h1 .kicker {
  display: inline-block; margin-top: 12px; padding: 4px 14px; border-radius: 999px;
  font-size: clamp(1rem, 2vw, 1.2rem); line-height: 1.35; color: var(--cream); background: var(--pine);
}
html[lang="ja"] .hero h1 .name, html[lang^="zh"] .hero h1 .name, html[lang="th"] .hero h1 .name { white-space: nowrap; font-size: clamp(2.2rem, 6vw, 4.2rem); }
.tagline { margin: 16px 0 8px; font-size: clamp(1.1rem, 2.2vw, 1.4rem); line-height: 1.35; color: var(--berry); }
.lead { margin: 0 0 24px; max-width: 36em; font-size: 1.04rem; color: var(--ink); }

.stores { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.stores a { display: inline-block; border-radius: 10px; transition: transform .2s; }
.stores a:hover { transform: translateY(-3px); }
.stores img { display: block; height: 52px; width: auto; }
.stores > img { box-sizing: content-box; }

.phone {
  position: relative; border-radius: 30px; overflow: hidden; background: var(--deep);
  border: 6px solid var(--deep); box-shadow: 0 0 0 2px rgba(255, 226, 138, .5), 0 26px 60px rgba(0, 0, 0, .55);
}
.phone video, .phone img { display: block; width: 100%; height: auto; }
.hero-body .phone { width: min(230px, 58vw); justify-self: center; transform: rotate(3deg); }

.snow {
  position: absolute; inset: 0; pointer-events: none; opacity: .45;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, .9) 0 1.5px, transparent 2.5px),
    radial-gradient(circle, rgba(255, 255, 255, .6) 0 2.5px, transparent 3.5px),
    radial-gradient(circle, rgba(255, 255, 255, .8) 0 1px, transparent 2px);
  background-size: 131px 157px, 223px 241px, 89px 113px;
  background-position: 20px 0, 90px 40px, 50px 70px;
  animation: fall 22s linear infinite;
}

.intro { position: relative; overflow: hidden; background: var(--night-2); padding: 46px 0 52px; text-align: center; border-top: 4px solid var(--maroon); }
.intro .wrap { position: relative; max-width: 46em; font-size: 1.1rem; }
.intro p { margin: .55em 0; }
.intro p:first-child { font-family: var(--display); font-weight: var(--dw); color: var(--gold); font-size: clamp(1.25rem, 2.6vw, 1.6rem); line-height: 1.4; text-wrap: balance; }

section > .wrap > h2, .mv-copy h2 { margin: 0 0 8px; font-size: clamp(1.7rem, 4vw, 2.6rem); line-height: 1.2; }
.sub { margin: 0 auto 30px; max-width: 38em; font-size: 1.08rem; }

.watch { padding: 70px 0 74px; text-align: center; background: linear-gradient(var(--night), var(--deep)); }
.watch h2 { color: var(--cream); }
.watch .sub { color: var(--gold); }
.screen { max-width: 920px; margin: 0 auto; }
.yt, .yt-frame {
  position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden;
  border: 0; background: var(--deep);
  box-shadow: 0 0 0 5px var(--cream), 0 0 0 8px var(--maroon), 0 26px 60px rgba(0, 0, 0, .55);
}
.yt img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .4s, filter .4s; }
.yt:hover img, .yt:focus-visible img { transform: scale(1.03); filter: brightness(.9); }
.yt-btn {
  position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%;
  background: var(--berry); box-shadow: 0 0 0 5px var(--cream), 0 12px 30px rgba(0, 0, 0, .5); transition: transform .2s;
}
.yt-btn::after {
  content: ""; position: absolute; left: 33px; top: 25px;
  border-style: solid; border-width: 17px 0 17px 28px; border-color: transparent transparent transparent var(--cream);
}
.yt:hover .yt-btn, .yt:focus-visible .yt-btn { transform: scale(1.08); }
.yt:focus-visible { outline: 4px solid var(--gold); outline-offset: 6px; }
.yt-note { margin: 18px 0 0; font-size: .9rem; color: var(--mist); }

.gallery { padding: 30px 0 76px; background: var(--deep); }
.rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: min(64vw, 250px); gap: 22px;
  overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px 22px 22px; scrollbar-width: thin;
}
.rail figure { margin: 0; scroll-snap-align: center; display: flex; flex-direction: column; }
.rail figcaption {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  min-height: 2.7em; margin-bottom: 14px; text-align: center; font-size: 1.1rem; line-height: 1.3; color: var(--gold);
}
.rail .phone { border-radius: 22px; border-width: 5px; }
.rail figure:nth-child(odd) .phone { transform: rotate(-1.4deg); }
.rail figure:nth-child(even) .phone { transform: rotate(1.4deg) translateY(10px); }

.friends {
  position: relative; padding: 76px 0 84px; text-align: center; color: var(--ink);
  background:
    radial-gradient(circle at 12% 18%, rgba(200, 52, 63, .07) 0 120px, transparent 121px),
    radial-gradient(circle at 88% 80%, rgba(47, 107, 79, .08) 0 160px, transparent 161px),
    var(--paper);
  border-top: 6px solid var(--maroon); border-bottom: 6px solid var(--maroon);
}
.friends h2 { color: var(--maroon); }
.friends .sub { color: var(--ink); }
.trio { display: grid; gap: 30px; text-align: start; }
.friend {
  --c: var(--arin);
  position: relative; background: #fffdf8; border-radius: 20px; padding: 0 24px 22px;
  border-top: 10px solid var(--c); box-shadow: 0 0 0 2px rgba(90, 13, 28, .18), 0 16px 34px rgba(42, 7, 16, .14);
}
.f-lina { --c: var(--lina); } .f-jiwoo { --c: var(--jiwoo); }
.portrait {
  width: 168px; height: 168px; margin: -6px auto 0; transform: translateY(-34px); border-radius: 50%; overflow: hidden;
  box-shadow: 0 0 0 6px #fffdf8, 0 0 0 10px var(--c), 0 14px 26px rgba(42, 7, 16, .25); background: var(--cream);
}
.portrait img { display: block; width: 100%; height: 100%; object-fit: cover; }
.friend h3 { margin: -14px 0 0; text-align: center; font-size: 1.9rem; line-height: 1.2; color: var(--c); }
.role { margin: 2px 0 14px; text-align: center; font-weight: 700; font-size: .95rem; letter-spacing: .02em; color: var(--ink); }
.friend q {
  display: block; position: relative; margin: 0 0 16px; padding: 12px 16px; border-radius: 14px;
  background: var(--c); color: #fff; font-weight: 700; text-align: center; line-height: 1.45;
}
.friend q::after {
  content: ""; position: absolute; left: 50%; top: -9px; margin-left: -9px;
  border-style: solid; border-width: 0 9px 10px 9px; border-color: transparent transparent var(--c) transparent;
}
.trait { margin: 0 0 8px; font-weight: 700; color: var(--ink); }
.bio { margin: 0; font-size: .98rem; color: #4a2a30; }
.pl { display: table; margin: 16px auto 0; padding: 8px 18px; border-radius: 999px; background: var(--c); color: #fff;
  font-weight: 700; font-size: .95rem; text-decoration: none; }
.pl::before { content: "▶ "; }
.pl.soon { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px rgba(90, 13, 28, .22); opacity: .75; cursor: default; }

.mv {
  position: relative; overflow: hidden; padding: 80px 0 86px;
  background:
    radial-gradient(60% 70% at 78% 40%, rgba(214, 90, 170, .28), transparent 70%),
    radial-gradient(40% 60% at 15% 90%, rgba(255, 226, 138, .12), transparent 70%),
    linear-gradient(var(--deep), #1d1640);
}
.mv .wrap { position: relative; display: grid; gap: 30px; align-items: center; }
.mv-copy { text-align: center; }
.mv-copy h2 { color: var(--cream); }
.mv-copy .sub { color: var(--snow); margin-bottom: 0; }
.mv .screen { width: 100%; }
.mv .yt-note { text-align: center; }

.features { position: relative; padding: 70px 0 80px; background: var(--deep); }
.grid { position: relative; display: grid; gap: 22px; }
.card {
  position: relative; background: var(--cream); color: var(--night); border-radius: 10px; padding: 22px 24px 16px;
  border-top: 10px solid var(--c, var(--berry)); box-shadow: 0 0 0 3px var(--maroon), 6px 6px 0 3px rgba(0, 0, 0, .35);
}
.card:nth-child(3n+2) { --c: var(--pine); } .card:nth-child(3n) { --c: var(--gold); }
.card h2 { margin: 0 0 10px; font-size: clamp(1.15rem, 2.2vw, 1.4rem); line-height: 1.3; color: var(--maroon); }
.card p { margin: .45em 0; }
.card ul { margin: .5em 0; padding: 0; list-style: none; }
.card li { position: relative; padding-left: 22px; margin: .35em 0; }
.card li::before {
  content: ""; position: absolute; left: 3px; top: .62em; width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--berry);
}

.close {
  position: relative; text-align: center; padding: 70px 0 60px;
  background: linear-gradient(var(--deep), var(--night) 45%, var(--night-2));
}
.close .wrap { max-width: 44em; }
.app-icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 0 0 3px var(--gold), 0 0 60px rgba(255, 226, 138, .35); }
.close h2 {
  margin: 20px 0 10px; font-size: clamp(2rem, 5vw, 3rem); line-height: 1.15; color: var(--cream);
  text-shadow: 0 0 2px var(--maroon), 2px 2px 0 var(--maroon), -2px 2px 0 var(--maroon), 2px -2px 0 var(--maroon), -2px -2px 0 var(--maroon), 0 4px 0 var(--maroon);
}
.close p { font-size: 1.08rem; margin: .5em 0; }
.close ul { display: inline-block; margin: .3em 0 .6em; padding: 0; list-style: none; text-align: start; }
.close li { position: relative; padding-left: 20px; margin: .25em 0; }
.close li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 8px; height: 8px; border-radius: 50%; background: var(--gold); }
.close .stores { justify-content: center; margin: 26px 0 0; }

footer { padding: 26px 22px 40px; text-align: center; font-size: .9rem; color: var(--snow); background: var(--night-2); }
footer a { color: var(--snow); }
.foot-langs { margin-top: 12px; line-height: 2; }
.foot-langs [aria-current] { color: var(--gold); font-weight: 700; }

@media (min-width: 760px) {
  .grid { display: block; columns: 2; column-gap: 24px; }
  .card { break-inside: avoid; margin-bottom: 24px; }
  .trio { grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 30px; }
}
@media (min-width: 920px) {
  .hero-body { grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; margin-top: -170px; }
  .namecard { padding: 40px 44px 36px; }
  .hero-body .phone { width: 250px; margin-bottom: -30px; }
  .mv .wrap { grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 50px; }
  .mv-copy { text-align: start; }
  .mv-copy .sub { margin-left: 0; }
}
@media (min-width: 1100px) {
  .rail { display: grid; grid-auto-flow: row; grid-template-columns: repeat(5, 1fr); gap: 22px; overflow: visible;
          max-width: var(--wrap); margin: 0 auto; }
}
@media (max-width: 919px) {
  .hero-art img { height: clamp(360px, 58vw, 520px); }
  .hero-body .phone { width: 200px; }
  .namecard { text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .stores { justify-content: center; }
}
@media (max-width: 699px) {
  .hero-art img { height: auto; aspect-ratio: 720 / 969; max-height: 92vh; }
  .hero-body { margin-top: -90px; }
  .namecard { padding: 32px 20px 26px; }
}
@media (max-width: 420px) {
  body { font-size: 16px; }
  .stores img { height: 44px; }
  .brand span { max-width: 46vw; }
  .yt-btn { width: 68px; height: 68px; margin: -34px 0 0 -34px; }
  .yt-btn::after { left: 26px; top: 20px; border-width: 14px 0 14px 23px; }
}

@keyframes fall { from { background-position-y: 0, 40px, 70px; } to { background-position-y: 157px, 281px, 183px; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
.yt-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
