/* The cinematic home page is isolated from support and policy page styles. */
.page-home {
  --accent: #ef779b;
  --pink: #dc4779;
  --line: #343038;
  --max: 1512px;
  --inset: clamp(24px, 5vw, 78px);
}
.page-home .site-header { position: absolute; inset: 0 0 auto; border: 0; background: transparent; }
.page-home .header-inner { height: 98px; }
.page-home .wordmark { width: 120px; }
.page-home .navigation { margin-left: 58px; gap: 34px; font-weight: 400; }
.page-home .languages { margin-left: auto; border: 0; }
.page-home .languages a { color: #e0dadc; }
.page-home .languages a[aria-current] { text-decoration-color: var(--pink); text-decoration-thickness: 2px; text-underline-offset: 9px; }
.page-home .preview-note { position: relative; z-index: 11; background: var(--bg); }
.page-home:has(.preview-note) .site-header { top: 37px; }
.page-home .eyebrow { color: var(--accent); font-size: 11px; letter-spacing: .2em; }
.page-home .eyebrow::before { display: none; }
.page-home .button { border-radius: 2px; min-height: 58px; padding: 16px 26px; gap: 30px; }
.page-home .button:hover { background: #f5c8d4; transform: translateY(-3px); }
.page-home .button:active { transform: translateY(0) scale(.98); }

.page-home .hero { position: relative; isolation: isolate; display: block; padding: 0; min-height: clamp(680px, 100svh, 940px); overflow: hidden; }
.hero-backdrop { position: absolute; inset: 0; z-index: -2; }
.hero-backdrop img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.page-home .hero::after { content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none; background: linear-gradient(0deg, #0c0c10 0%, transparent 18%), linear-gradient(90deg, #0c0c1020 0%, transparent 65%); }
.hero-inner { display: flex; align-items: center; min-height: inherit; padding-block: 145px 130px; }
.hero-copy { width: min(650px, 56%); }
.page-home .hero .eyebrow { color: #e4dfe1; margin-bottom: 27px; }
.page-home .hero h1 { font-size: clamp(72px, 7.4vw, 112px); line-height: .98; letter-spacing: -.065em; margin-bottom: 30px; }
.page-home .hero h1 span { white-space: nowrap; }
.page-home .hero h1 span:last-child { color: var(--pink); }
.page-home .hero-intro { color: #cec6ca; max-width: 460px; font-size: 18px; line-height: 1.65; margin-bottom: 32px; text-wrap: balance; }
.page-home .launch-status { margin-top: 17px; color: #c8bfc5; font-size: 13px; }
.page-home .launch-status::before { display: none; }
.hero-scroll { position: absolute; left: 50%; bottom: 35px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 8px; text-align: center; color: #d0c6cb; font-size: 12px; letter-spacing: .025em; min-width: 250px; padding: 8px; }
.scroll-arrow { font-size: 26px; line-height: 1; color: var(--ink); transition: transform .25s; }
.hero-scroll:hover .scroll-arrow { transform: translateY(5px); }
.page-home .strip { border-top: 0; border-color: #29252c; }
.page-home .strip-inner { font-size: 11px; letter-spacing: .06em; padding-block: 24px; }
.page-home .strip-inner span::before { content: ''; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); }

.page-home .section { padding-block: 112px; }
.page-home .section-heading { align-items: flex-end; margin-bottom: 45px; }
.page-home .section-heading .eyebrow { margin-bottom: 18px; }
.page-home .section-heading h2 { font-size: clamp(40px, 4.2vw, 64px); line-height: 1.06; }
.page-home .section-heading > p { max-width: 315px; font-size: 15px; line-height: 1.75; margin-bottom: 4px; }
.page-home .case-grid { grid-template-columns: 1.08fr 1fr 1fr; gap: 28px; align-items: start; padding-bottom: 100px; }
.page-home .case-grid article:nth-child(2) { margin-top: 48px; }
.page-home .case-grid article:nth-child(3) { margin-top: 96px; }
.page-home .case-poster { border-radius: 0; aspect-ratio: 3/4.35; }
.page-home .case-poster img { object-position: center; transition: transform .75s cubic-bezier(.2,.7,.2,1), filter .75s; filter: saturate(.8); }
.page-home .case-poster::after { inset: 25% 0 0; background: linear-gradient(transparent 10%, #0b0809e8 100%); }
.page-home .case-poster:hover img, .page-home .case-poster:focus-visible img { transform: scale(1.065); filter: saturate(1); }
.page-home .case-caption { left: 25px; right: 25px; bottom: 25px; }
.page-home .case-caption h3 { font-size: clamp(27px, 2.9vw, 42px); letter-spacing: -.045em; line-height: 1.06; margin-bottom: 23px; }
.page-home .case-link { display: flex; align-items: center; gap: 15px; }
.page-home .case-number { margin: 0; flex-shrink: 0; font-size: 10px; letter-spacing: .15em; }
.case-rule { height: 1px; background: #f4eee965; flex: 1; }
.page-home .case-link .arrow { color: var(--accent); font-size: 24px; line-height: 1; transition: transform .25s; }
.page-home .case-poster:hover .arrow { transform: translate(3px, -3px); }
.case-read { display: block; font-size: 12px; color: var(--accent); max-height: 0; opacity: 0; overflow: hidden; transition: max-height .3s, opacity .3s, margin .3s; }
.case-poster:hover .case-read, .case-poster:focus-visible .case-read { max-height: 40px; margin-top: 12px; opacity: 1; }
.page-home .case-synopsis { font-size: 14px; line-height: 1.75; color: #b9afb5; }
.page-home .cases-section > .fine-print { margin-top: -50px; font-size: 12px; }

.page-home .how-section { position: relative; isolation: isolate; overflow: hidden; border: 0; background: #0d0b0e; padding-block: 110px 125px; }
.how-backdrop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; opacity: .82; }
.page-home .how-section::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, var(--bg), transparent 17%, transparent 85%, var(--bg)), linear-gradient(90deg, #0c0c10c9 0%, #0c0c1055 45%, transparent 75%); pointer-events: none; }
.page-home .how-grid { grid-template-columns: 1.15fr 1fr; gap: 100px; align-items: center; }
.how-copy h2 { font-family: Georgia, 'Songti SC', 'Noto Serif CJK SC', 'Yu Mincho', serif; font-size: clamp(46px, 4.7vw, 72px); font-weight: 400; letter-spacing: -.045em; line-height: 1.06; }
.page-home .how-intro { max-width: 465px; color: #c6bdc3; font-size: 16px; margin-block: 28px 40px; }
.page-home .steps { border-top: 1px solid #66515e66; }
.page-home .steps li { display: block; border-bottom: 1px solid #66515e66; padding: 0; margin: 0; }
.page-home .steps li::before { display: none; }
.step-button { display: grid; grid-template-columns: 30px 1fr 18px; align-items: start; gap: 16px; width: 100%; text-align: left; padding: 24px 8px 24px 14px; border: 0; border-left: 2px solid transparent; background: transparent; color: var(--ink); transition: border-color .3s, background .3s; }
.step-number { font-size: 12px; font-variant-numeric: tabular-nums; color: #bca7b3; padding-top: 7px; }
.step-content { display: block; }
.step-title { display: block; font-size: 21px; font-weight: 600; line-height: 1.4; letter-spacing: -.02em; }
.step-description { display: block; color: #c3b6bf; font-size: 14px; line-height: 1.7; margin-top: 9px; }
.js .step-description { display: none; }
.js .is-active .step-description { display: block; }
.step-arrow { font-size: 18px; color: #bca7b3; padding-top: 3px; }
.step-button:hover, .is-active .step-button { border-left-color: var(--pink); background: #b04c7010; }
.is-active .step-number, .is-active .step-arrow { color: var(--accent); }

.page-home .demo { position: relative; width: min(100%, 350px); max-width: 350px; transform: rotate(5deg); z-index: 1; }
.page-home .demo-frame { position: relative; background: #100e12; border: 6px solid #242027; border-radius: 43px; outline: 1px solid #7e697a; box-shadow: 16px 35px 65px #0009, inset 0 0 0 1px #070609; min-height: 575px; overflow: hidden; }
.page-home .demo-frame::before { content: ''; position: absolute; left: 50%; transform: translateX(-50%); top: 10px; width: 73px; height: 17px; border-radius: 20px; background: #030304; z-index: 2; }
.page-home .demo-top { padding: 15px 22px 16px; font-size: 11px; color: #d7cbd2; }
.page-home .demo-dot { width: 20px; height: 8px; border-radius: 2px; background: #e1d6de; }
.page-home .demo-title { font-family: Georgia, 'Songti SC', 'Yu Mincho', serif; font-size: 28px; font-weight: 400; padding: 18px 22px 16px; line-height: 1.18; letter-spacing: -.025em; }
.demo-cover { width: 100%; height: 120px; object-fit: cover; object-position: center 65%; opacity: .72; mask-image: linear-gradient(transparent, #000 15%, #000 80%, transparent); }
.page-home .demo-tabs { margin: 0 18px 12px; border-color: #4e3e48; }
.page-home .demo-tabs button { font-size: 12px; min-height: 45px; }
.page-home .demo-panel { min-height: 230px; padding: 0 22px 27px; animation: panel-arrive .35s ease-out; }
.page-home .demo-clock { margin: 15px 0; font-size: 10px; color: #a593a0; }
.page-home .bubble { font-size: 19px; padding: 13px 18px; background: #383035; border-radius: 14px 14px 14px 2px; max-width: 90%; }
.page-home .bubble-line { display: none; }
.page-home .demo-clue { margin-top: 26px; margin-left: 18px; border-left: 0; padding: 13px 16px; background: #743145; color: #fae4ed; border-radius: 14px 14px 2px 14px; font-size: 13px; line-height: 1.6; }
.page-home .demo-photo { height: 153px; border-radius: 2px; }
.page-home .demo-panel p { font-size: 12px; line-height: 1.5; }
.page-home .demo-notes { font-size: 13px; margin-top: 10px; padding-left: 16px; }
.page-home .demo-notes li { padding-block: 12px; border-color: #493745; }
.page-home .demo-caption { transform: rotate(-5deg); font-size: 11px; color: #cbbbc6; margin-top: 30px; }
.evidence-print { position: absolute; width: 155px; height: 190px; object-fit: cover; border: 10px solid #b7a29c; border-bottom-width: 29px; z-index: -1; box-shadow: 0 12px 28px #0008; filter: brightness(.68) saturate(.6); }
.print-one { left: -90px; bottom: 70px; transform: rotate(-19deg); }
.print-two { right: -80px; bottom: 10px; transform: rotate(17deg); }
.page-home .faq-grid { gap: 100px; padding-block: 115px; }
.page-home .faq-grid h2 { font-size: clamp(38px, 3.6vw, 54px); }
.page-home .faq-item { padding-block: 26px; }
.page-home .closing { position: relative; padding-block: 90px 100px; border-color: #34232f; background: radial-gradient(ellipse at 50% 100%, #49213580, transparent 65%); }
.page-home .closing h2 { font-size: clamp(38px, 5.4vw, 78px); }
.page-home .closing h2::after { content: ''; display: block; width: 56px; height: 3px; background: var(--pink); margin: 30px auto 0; }
.page-home .coming-box { border-radius: 3px; border-color: #725360; }
.page-home .site-footer { border-color: #332630; }

html[lang=ja] .page-home .hero h1, html[lang=zh-Hans] .page-home .hero h1 { font-size: clamp(60px, 6.25vw, 91px); line-height: 1.2; letter-spacing: -.055em; }
html[lang=ja] .page-home .hero h1 { font-size: clamp(47px, 4.9vw, 74px); }
html[lang=ja] .page-home .hero-intro, html[lang=zh-Hans] .page-home .hero-intro { font-size: 17px; line-height: 1.9; }
html[lang=ja] .page-home .how-copy h2, html[lang=zh-Hans] .page-home .how-copy h2 { font-size: clamp(42px, 4.3vw, 63px); line-height: 1.3; letter-spacing: -.07em; }
html[lang=ja] .page-home .case-caption h3, html[lang=zh-Hans] .page-home .case-caption h3 { font-size: clamp(25px, 2.4vw, 36px); line-height: 1.3; }

/* Reveal only after the observer is available; content is never hidden without JS. */
.motion-ready [data-reveal] { opacity: 0; translate: 0 24px; transition: opacity .8s ease, translate .8s cubic-bezier(.2,.65,.25,1); }
.motion-ready [data-reveal].is-visible { opacity: 1; translate: 0 0; }
.motion-ready .hero-copy { animation: intro-arrive 1s both cubic-bezier(.2,.65,.25,1); }
.motion-ready .hero-backdrop img { animation: scene-arrive 1.8s both ease-out; }
@keyframes intro-arrive { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes scene-arrive { from { opacity: .4; transform: scale(1.04); } to { opacity: 1; transform: scale(1); } }
@keyframes panel-arrive { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

@media(max-width:1100px) {
  .page-home .navigation { margin-left: 24px; gap: 24px; }
  .page-home .hero h1 { font-size: 7.5vw; }
  .page-home .how-grid { gap: 65px; }
  .page-home .demo { max-width: 310px; }
  .page-home .case-grid { gap: 20px; }
  .page-home .case-caption { left: 20px; right: 20px; }
  .print-two { right: -35px; }
  .print-one { left: -48px; }
  .page-home .section-heading > p { max-width: 270px; }
}
@media(max-width:780px) {
  .page-home .header-inner { height: 82px; gap: 10px; }
  .page-home .wordmark { width: 98px; }
  .page-home .languages { gap: 11px; padding: 0; font-size: 11px; }
  .page-home .menu-button { border-radius: 3px; border-color: #78616d66; background: #0c0c1040; font-size: 11px; }
  .page-home .navigation { margin: 0; top: 82px; padding: 22px var(--inset); background: #100c11f5; backdrop-filter: blur(16px); }
  .page-home .hero { min-height: 900px; }
  .hero-backdrop img { object-position: center bottom; }
  .hero-inner { align-items: flex-start; min-height: inherit; padding-block: 145px 400px; }
  .hero-copy { width: min(100%, 600px); }
  .page-home .hero h1 { font-size: clamp(64px, 10vw, 86px); line-height: 1; max-width: 100%; }
  .page-home .hero-intro { max-width: 400px; font-size: 17px; color: #d0c6cd; }
  .page-home .hero .eyebrow { margin-bottom: 25px; }
  .hero-scroll { bottom: 24px; font-size: 11px; width: calc(100% - 48px); }
  .page-home .hero::after { background: linear-gradient(0deg, var(--bg), transparent 16%), linear-gradient(180deg, #0c0c1030, transparent 50%); }
  .page-home .strip-inner { font-size: 10px; padding-block: 20px; letter-spacing: 0; }
  .page-home .section { padding-block: 75px; }
  .page-home .section-heading { display: block; margin-bottom: 35px; }
  .page-home .section-heading > p { max-width: 470px; margin-top: 24px; }
  .page-home .case-grid { grid-template-columns: 1fr 1fr; gap: 36px 22px; padding-bottom: 0; }
  .page-home .case-grid article:nth-child(2) { margin-top: 55px; }
  .page-home .case-grid article:nth-child(3) { margin-top: 0; grid-column: 1/3; width: 75%; justify-self: center; }
  .page-home .case-grid article:nth-child(3) .case-poster { aspect-ratio: 1.05; }
  .page-home .cases-section > .fine-print { margin-top: 30px; }
  .page-home .how-section { padding-block: 85px; }
  .page-home .how-grid { grid-template-columns: 1fr; gap: 65px; }
  .page-home .how-intro { max-width: 560px; }
  .page-home .how-copy h2 { font-size: 54px; }
  .page-home .demo { width: 330px; max-width: 85%; margin-top: 10px; }
  .page-home .demo-frame { min-height: 580px; }
  .how-backdrop { object-position: 66% center; opacity: .6; }
  .page-home .how-section::after { background: linear-gradient(0deg, var(--bg), transparent 20%, #0c0c1080 70%, var(--bg)); }
  .page-home .faq-grid { gap: 40px; padding-block: 75px; }
  .page-home .closing { padding-block: 70px 80px; }
  html[lang=ja] .page-home .hero h1, html[lang=zh-Hans] .page-home .hero h1 { font-size: clamp(54px, 8.2vw, 70px); }
  html[lang=ja] .page-home .hero h1 { font-size: clamp(40px, 6.6vw, 58px); }
  html:not(.js) .page-home .site-header { position: relative; background: var(--bg); }
}
@media(max-width:520px) {
  .page-home .header-inner { gap: 7px; }
  .page-home .wordmark { width: 87px; }
  .page-home .languages { gap: 9px; font-size: 10px; }
  .page-home .menu-button { padding: 7px; margin-left: 0; }
  .page-home .hero { min-height: 820px; }
  .hero-inner { padding-block: 135px 335px; }
  .page-home .hero h1 { font-size: clamp(53px, 12.8vw, 66px); letter-spacing: -.06em; margin-bottom: 23px; }
  .page-home .hero .eyebrow { font-size: 9px; letter-spacing: .13em; margin-bottom: 23px; }
  .page-home .hero-intro { font-size: 15px; max-width: 305px; line-height: 1.75; margin-bottom: 25px; }
  .page-home .button { min-height: 54px; font-size: 14px; padding: 14px 21px; }
  .page-home .hero .launch-status { font-size: 11px; margin-top: 13px; }
  .hero-scroll { bottom: 22px; font-size: 10px; }
  .page-home .strip-inner { flex-direction: column; gap: 10px; }
  .page-home .strip-inner span:last-child { width: auto; }
  .page-home .section { padding-block: 65px; }
  .page-home .section-heading h2 { font-size: 39px; line-height: 1.15; }
  .page-home .case-grid { display: block; }
  .page-home .case-grid article, .page-home .case-grid article:nth-child(2), .page-home .case-grid article:nth-child(3) { margin: 0 0 38px; width: 100%; }
  .page-home .case-poster, .page-home .case-grid article:nth-child(3) .case-poster { aspect-ratio: 3/3.8; }
  .page-home .case-caption { bottom: 26px; left: 25px; right: 25px; }
  .page-home .case-caption h3 { font-size: 37px !important; }
  .page-home .case-synopsis { margin-top: 15px; }
  .case-read { max-height: none; opacity: 1; margin-top: 9px; font-size: 11px; }
  .page-home .cases-section > .fine-print { margin-top: -8px; }
  .page-home .how-grid { gap: 60px; }
  .page-home .how-copy h2 { font-size: 45px; }
  .page-home .how-intro { font-size: 15px; }
  .step-title { font-size: 19px; }
  .step-description { font-size: 13px; }
  .step-button { grid-template-columns: 24px 1fr 16px; gap: 10px; padding-block: 22px; padding-left: 8px; }
  .page-home .demo { max-width: 88%; transform: rotate(3deg); }
  .page-home .demo-caption { transform: rotate(-3deg); }
  .page-home .demo-frame { min-height: 555px; }
  .evidence-print { width: 110px; height: 145px; border-width: 7px; border-bottom-width: 20px; }
  .print-one { left: -32px; bottom: 95px; }
  .print-two { right: -22px; bottom: 25px; }
  .page-home .faq-grid h2 { font-size: 37px; }
  .page-home .closing h2 { font-size: 40px; }
  html[lang=zh-Hans] .page-home .hero h1 { font-size: clamp(48px, 12.5vw, 63px); line-height: 1.22; }
  html[lang=ja] .page-home .hero h1 { font-size: clamp(35px, 8.65vw, 45px); line-height: 1.28; }
  html[lang=ja] .page-home .hero-intro, html[lang=zh-Hans] .page-home .hero-intro { font-size: 15px; line-height: 1.9; }
  html[lang=ja] .page-home .how-copy h2, html[lang=zh-Hans] .page-home .how-copy h2 { font-size: 36px; line-height: 1.4; }
}
@media(prefers-reduced-motion:reduce) {
  .motion-ready [data-reveal] { opacity: 1; translate: none; }
  .page-home *, .page-home *::before, .page-home *::after { animation: none !important; transition: none !important; }
}
@media print { .motion-ready [data-reveal] { opacity: 1; translate: none; } }
