@font-face { font-family: Fraunces; src: url(../fonts/fraunces.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }
@font-face { font-family: Inter; src: url(../fonts/inter.woff2) format('woff2'); font-weight: 100 900; font-display: swap; }

:root {
  --night: #050A1E; --heaven: #EAF1FB; --card: #FFFFFF;
  --ink: #14235A; --ink-2: #3D4C7C; --ink-3: #6B7AA6;
  --gold: #D4A437; --gold-d: #B8861F; --sapphire: #1B2F7A; --line: #D3DEF2;
  --serif: Fraunces, Georgia, serif; --sans: Inter, system-ui, sans-serif;
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--sans); color: var(--ink); background: var(--heaven); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
h1, h2, h3, blockquote { font-family: var(--serif); font-weight: 500; line-height: 1.08; letter-spacing: -0.015em; text-wrap: balance; }
.eyebrow { font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; }
.eyebrow.gold { color: var(--gold-d); }
.small { font-size: .9rem; color: var(--ink-3); }

/* ---------- top bar ---------- */
.bar { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; gap: 28px; padding: 14px clamp(16px, 4vw, 44px); color: #fff; transition: background .4s, color .4s, box-shadow .4s; }
.bar .brand { display: flex; align-items: center; gap: 10px; font-family: var(--serif); font-size: 1.15rem; text-decoration: none; margin-right: auto; }
.bar .brand img { border-radius: 8px; }
.bar nav { display: flex; gap: 26px; font-size: .92rem; }
.bar nav a { text-decoration: none; opacity: .85; }
.bar nav a:hover { opacity: 1; }
.pill { background: var(--gold); color: #1a1405; text-decoration: none; font-weight: 600; font-size: .9rem; padding: 9px 18px; border-radius: 999px; }
.bar.is-light { background: rgba(234, 241, 251, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--ink); box-shadow: 0 1px 0 var(--line); }
@media (max-width: 760px) { .bar nav { display: none; } }

/* ---------- the stage ---------- */
.stage { height: 440vh; position: relative; background: var(--night); padding: 0; }
.pin { position: sticky; top: 0; height: 100vh; height: 100svh; overflow: hidden; }
.pin canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
#stars { pointer-events: none; }
.rays { position: absolute; left: 50%; top: 40%; width: 180vmax; height: 180vmax; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; mix-blend-mode: screen;
  background: repeating-conic-gradient(from 0deg, rgba(255, 226, 160, .0) 0deg, rgba(255, 226, 160, .13) 4deg, rgba(255, 226, 160, 0) 9deg, rgba(255, 226, 160, 0) 17deg);
  -webkit-mask-image: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.5) 28%, transparent 62%); mask-image: radial-gradient(closest-side, #000 0%, rgba(0,0,0,.5) 28%, transparent 62%);
  animation: turn 160s linear infinite; }
@keyframes turn { to { transform: translate(-50%, -50%) rotate(360deg); } }

.dove { position: absolute; left: 0; top: 0; width: clamp(120px, 15vw, 220px); aspect-ratio: 1; background: url(../img/dove-sheet.webp) 0 0 / 400% 200% no-repeat; will-change: transform; filter: drop-shadow(0 0 26px rgba(255, 214, 130, .55)); pointer-events: none; }

.beat { position: absolute; left: 50%; top: 56%; width: min(92vw, 860px); transform: translate(-50%, -50%) translateY(26px); text-align: center; opacity: 0; transition: opacity .7s ease, transform .9s cubic-bezier(.2, .7, .2, 1); pointer-events: none; }
.beat.is-on { opacity: 1; transform: translate(-50%, -50%); pointer-events: auto; }
.b-dark::before { content: ''; position: absolute; inset: -22% -10%; z-index: -1; background: radial-gradient(closest-side, rgba(5, 10, 34, .55), rgba(5, 10, 34, .3) 55%, rgba(5, 10, 34, 0)); filter: blur(12px); }
.b-dark { color: #fff; text-shadow: 0 2px 30px rgba(3, 8, 28, .85), 0 1px 3px rgba(3, 8, 28, .6); }
.b-dark .eyebrow { color: #F1D48A; margin-bottom: 18px; }
.beat h1 { font-size: clamp(2.7rem, 7.2vw, 5.6rem); }
.beat h1 em { font-style: italic; color: #F3D27C; }
.beat h2 { font-size: clamp(2rem, 5.2vw, 4.1rem); }
.beat .lede { max-width: 620px; margin: 22px auto 0; font-size: clamp(1rem, 1.35vw, 1.15rem); opacity: .92; }
.beat .ref { margin-top: 18px; font-size: .85rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; }
.b-light { top: 74%; color: var(--ink); text-shadow: 0 0 18px #fff, 0 0 40px #fff; }
.b-light::before { content: ''; position: absolute; inset: -34% -12%; z-index: -1; background: radial-gradient(closest-side, rgba(255, 255, 255, .92), rgba(255, 255, 255, .7) 48%, rgba(255, 255, 255, 0)); filter: blur(10px); }
.b-light .ref { color: var(--gold-d); opacity: 1; font-weight: 600; }
.cta-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 18px; align-items: center; justify-content: center; }
.free { font-size: .92rem; opacity: .85; }
.store { display: inline-flex; align-items: center; gap: 12px; background: #fff; color: #0c1330; text-decoration: none; text-shadow: none; padding: 10px 20px 10px 16px; border-radius: 14px; text-align: left; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); transition: transform .25s; }
.store:hover { transform: translateY(-2px); }
.store svg { width: 26px; height: 26px; fill: currentColor; }
.store span { font-size: .78rem; line-height: 1.25; display: block; }
.store b { display: block; font-size: 1.05rem; font-weight: 600; }
.store.dark { background: var(--sapphire); color: #fff; box-shadow: 0 14px 40px rgba(27, 47, 122, .35); }

.scroll-hint { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); color: #fff; font-size: .72rem; letter-spacing: .22em; text-transform: uppercase; opacity: .7; display: flex; flex-direction: column; align-items: center; gap: 10px; transition: opacity .5s; }
.scroll-hint span { width: 1px; height: 34px; background: linear-gradient(#fff0, #fff); animation: drip 2.2s ease-in-out infinite; }
@keyframes drip { 0%, 100% { transform: scaleY(.4); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } }
.stage-fade { position: absolute; inset: auto 0 0 0; height: 46vh; background: linear-gradient(rgba(234, 241, 251, 0), var(--heaven) 92%); opacity: 0; pointer-events: none; }

/* ---------- the light page ---------- */
main { position: relative; }
section { padding: clamp(70px, 11vh, 130px) clamp(20px, 6vw, 80px); }
main h2 { font-size: clamp(1.9rem, 4.2vw, 3.3rem); max-width: 18ch; }
.lede-d { max-width: 56ch; margin-top: 20px; font-size: 1.1rem; color: var(--ink-2); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s ease, transform 1s cubic-bezier(.2, .7, .2, 1); }
.reveal.is-in { opacity: 1; transform: none; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; max-width: 1120px; margin: 0 auto; padding-top: 30px; text-align: center; }
.stats b { display: block; font-family: var(--serif); font-weight: 500; font-size: clamp(2.2rem, 4.6vw, 3.8rem); color: var(--sapphire); line-height: 1; font-variant-numeric: tabular-nums; }
.stats span { display: block; margin-top: 10px; font-size: .92rem; color: var(--ink-3); }
.stats div + div { border-left: 1px solid var(--line); }
@media (max-width: 700px) { .stats { grid-template-columns: 1fr 1fr; row-gap: 34px; } .stats div:nth-child(3) { border-left: 0; } }

.intro { text-align: center; padding-bottom: 20px; }
.intro h2 { margin: 16px auto 0; max-width: 20ch; }

.walk { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 100px); max-width: 1180px; margin: 0 auto; padding-top: 0; padding-bottom: 0; }
.ch { min-height: 96vh; display: flex; flex-direction: column; justify-content: center; opacity: .25; transition: opacity .6s; }
.ch.is-on { opacity: 1; }
.ch .num { font-family: var(--serif); font-size: 1rem; color: var(--gold-d); letter-spacing: .1em; }
.ch h3 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 6px 0 18px; }
.ch .big { font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.6rem); line-height: 1.3; color: var(--sapphire); margin-bottom: 14px; }
.ch p { color: var(--ink-2); max-width: 48ch; }
.ch ul { list-style: none; padding: 0; margin-top: 22px; display: grid; gap: 12px; max-width: 48ch; }
.ch li { padding-left: 26px; position: relative; color: var(--ink); }
.ch li::before { content: ''; position: absolute; left: 2px; top: .58em; width: 9px; height: 9px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px rgba(212, 164, 55, .18); }
.ch-shot { display: none; }
.walk-phone { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; }
.halo { position: absolute; width: min(42vw, 560px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(closest-side, rgba(255, 224, 150, .75), rgba(255, 236, 190, .35) 45%, rgba(255, 255, 255, 0) 72%); animation: breathe 7s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.08); opacity: .8; } }
.phone { position: relative; height: min(78vh, 720px); aspect-ratio: 720 / 1560; border-radius: 42px; background: #0B1232; padding: 9px; box-shadow: 0 40px 90px rgba(20, 35, 90, .30), 0 8px 22px rgba(20, 35, 90, .18); transform: rotate(2deg); transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
.phone > * { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; border-radius: 34px; opacity: 0; transform: scale(1.03); transition: opacity .55s ease, transform .8s ease; }
.phone > .is-on { opacity: 1; transform: none; }
.mock { background: #EAF1FB; color: var(--ink); padding: 9% 7% 6%; font-size: clamp(9px, 1.45vh, 13px); line-height: 1.5; overflow: hidden; text-align: left; }
.mock p { max-width: none; color: inherit; }
.m-top { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; color: var(--ink-2); margin-bottom: 1.6em; }
.m-top b { font-family: var(--serif); font-weight: 500; font-size: 1.45em; color: var(--ink); }
.m-tag { display: inline-block; font-size: .78em; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; color: var(--gold-d) !important; }
.m-claim { font-family: var(--serif); font-size: 1.9em; line-height: 1.15; margin: .35em 0 .9em; color: var(--sapphire) !important; }
.m-label { font-size: .74em; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; color: var(--ink-3) !important; margin: 1.2em 0 .5em; }
.m-chips { display: flex; flex-wrap: wrap; gap: .5em; }
.m-chips span { background: #fff; box-shadow: 0 0 0 1px var(--line); border-radius: 999px; padding: .3em .9em; font-weight: 600; font-size: .9em; }
.m-chips.gold span { background: #FBF3DC; box-shadow: 0 0 0 1px #E9D08B; color: #7A5A10; }
.m-body { background: #fff; border-radius: 1.1em; padding: 1em 1.1em; box-shadow: 0 0 0 1px var(--line); margin-bottom: .7em; }
@media (max-width: 900px) {
  .walk { grid-template-columns: 1fr; }
  .walk-phone { display: none; }
  .ch { min-height: 0; opacity: 1; padding: 46px 0; }
  .ch-mock { aspect-ratio: 720 / 1560; font-size: 11px; }
  .ch-shot { display: block; width: min(74vw, 330px); height: auto; margin: 34px auto 0; border-radius: 30px; border: 8px solid #0B1232; box-shadow: 0 30px 60px rgba(20, 35, 90, .25); }
}

.rof { text-align: center; }
.rof h2 { margin: 14px auto 36px; max-width: 20ch; }
.rof-card { max-width: 620px; margin: 0 auto 18px; background: var(--card); border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 30px 70px rgba(20, 35, 90, .12), 0 0 0 1px var(--line); }
.rof-count { font-size: .8rem; color: var(--ink-3); letter-spacing: .12em; text-transform: uppercase; }
.rof-card blockquote { font-style: italic; font-size: clamp(1.5rem, 3.2vw, 2.2rem); line-height: 1.25; margin: 22px 0; min-height: 2.6em; display: grid; place-items: center; }
.rof-ask { color: var(--ink-3); font-size: .95rem; margin-bottom: 16px; }
.rof-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.rof-btns button, .rof-next { font: 600 1rem var(--sans); padding: 13px 24px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; transition: transform .2s, border-color .2s, background .2s; }
.rof-btns button:hover { transform: translateY(-2px); border-color: var(--gold); }
.rof-btns button.right { background: #E8F6EC; border-color: #54B273; }
.rof-btns button.wrong { background: #FBEAEA; border-color: #D97070; }
.rof-ans { margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); text-align: left; animation: rise .5s ease; }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } }
.rof-verdict { font-family: var(--serif); font-size: 1.3rem; color: var(--sapphire); margin-bottom: 8px; }
.rof-next { margin-top: 18px; background: var(--gold); border-color: var(--gold); color: #1a1405; }

.together { max-width: 1180px; margin: 0 auto; }
.trio { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 56px); margin-top: 56px; }
.trio > div { border-top: 2px solid var(--gold); padding-top: 22px; }
.trio > div:nth-child(2) { transition-delay: .12s; } .trio > div:nth-child(3) { transition-delay: .24s; }
.trio h3 { font-size: 1.6rem; margin-bottom: 10px; }
.trio p { color: var(--ink-2); }
@media (max-width: 800px) { .trio { grid-template-columns: 1fr; } }

.advent { background: linear-gradient(180deg, var(--heaven), #0E1A4A 15%, #070E2C 50%, #0E1A4A 85%, var(--heaven)); color: #fff; padding-top: clamp(170px, 26vh, 280px); padding-bottom: clamp(170px, 26vh, 280px); }
.advent-in { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.advent .eyebrow { color: #F1D48A; margin-bottom: 14px; }
.advent .lede-d { color: #C9D3F2; } .advent .small { color: #F1D48A; margin-top: 16px; }
.doors { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.doors li { aspect-ratio: 1; display: grid; place-items: center; border-radius: 14px; font-family: var(--serif); font-size: clamp(1rem, 1.8vw, 1.5rem); color: #F1D48A; background: rgba(255, 255, 255, .045); box-shadow: inset 0 0 0 1px rgba(241, 212, 138, .28); opacity: 0; transform: scale(.8); transition: opacity .5s, transform .6s cubic-bezier(.2, .9, .3, 1.2), background .3s; }
.doors.is-in li { opacity: 1; transform: none; }
.doors li:hover { background: rgba(241, 212, 138, .16); }
.doors li:last-child { background: var(--gold); color: #1a1405; box-shadow: 0 0 40px rgba(241, 212, 138, .55); }
@media (max-width: 800px) { .advent-in { grid-template-columns: 1fr; } }

.faq { max-width: 820px; margin: 0 auto; background: transparent; }
.faq h2 { margin: 12px 0 34px; }
body:has(.faq) .faq { position: relative; }
.advent + .faq { margin-top: 0; }
details { border-bottom: 1px solid var(--line); padding: 20px 0; }
summary { font-family: var(--serif); font-size: 1.3rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 20px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; color: var(--gold-d); font-family: var(--sans); font-weight: 300; font-size: 1.5rem; line-height: 1; transition: transform .3s; }
details[open] summary::after { transform: rotate(45deg); }
details p { margin-top: 12px; color: var(--ink-2); max-width: 62ch; }

.close { position: relative; text-align: center; overflow: hidden; padding-top: clamp(120px, 20vh, 220px); padding-bottom: clamp(120px, 20vh, 220px); }
.close-sky { position: absolute; inset: -12% 0; background: var(--heaven) center / cover no-repeat; will-change: transform; }
.close-sky::before { content: ''; position: absolute; inset: 0; background: linear-gradient(var(--heaven) 13%, rgba(234, 241, 251, 0) 42%, rgba(234, 241, 251, 0) 72%, var(--heaven) 90%); }
.close-in { position: relative; }
.close h2 { margin: 6px auto 30px; font-size: clamp(2.3rem, 5.4vw, 4.4rem); max-width: none; color: var(--ink); text-shadow: 0 0 18px #fff, 0 0 44px #fff, 0 0 80px #fff; }
.close-dove { width: clamp(120px, 14vw, 180px); height: auto; filter: drop-shadow(0 0 30px rgba(255, 220, 140, .8)); animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-12px); } }

footer { text-align: center; padding: 40px 20px 60px; font-size: .85rem; color: var(--ink-3); display: grid; gap: 8px; }
footer a { margin: 0 10px; }

@media (prefers-reduced-motion: reduce) {
  .rays, .scroll-hint span, .halo, .close-dove { animation: none; }
  .reveal, .beat { transition: none; }
  html { scroll-behavior: auto; }
}

.langs a { margin: 0 10px; }
.beat .note { max-width: 600px; margin: 14px auto 0; font-size: .82rem; opacity: .8; }
:lang(ja) h1, :lang(ja) h2, :lang(ja) h3, :lang(ja) blockquote, :lang(ja) .big, :lang(ja) summary { font-family: 'Hiragino Mincho ProN', 'Yu Mincho', 'Noto Serif JP', serif; letter-spacing: 0; line-height: 1.3; word-break: keep-all; overflow-wrap: anywhere; }
:lang(ja) .beat h1 { font-size: clamp(2.3rem, 6vw, 4.6rem); }
:lang(ja) .beat h2 { font-size: clamp(1.2rem, 3.5vw, 2.9rem); }
