:root {
  color-scheme: dark;
  --night: #07111e;
  --ivory: #f3f1e9;
  --silver: #c0cbd3;
  --muted: #9daeba;
  --gold: #d5bf8f;
  --warm-ink: #f4f0e6;
  --cool-ink: #cddbd7;
  --soft-ink: #d1dcdd;
  --champagne: #ddc79e;
  --serif: 'Noto Serif Display', Georgia, serif;
  --sans: 'Be Vietnam Pro', sans-serif;
  --ease: cubic-bezier(.19, 1, .22, 1);
}
* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body { margin: 0; color: var(--ivory); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
.is-enhanced { scroll-behavior: auto; overscroll-behavior-y: none; }
.is-enhanced body { overscroll-behavior-y: none; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
button, a { touch-action: manipulation; }
button:focus-visible, a:focus-visible, [tabindex]:focus-visible { outline: 2px solid var(--gold); outline-offset: 6px; }
::selection { background: #cbb98c66; color: #fff; }
.skip-link { position: fixed; z-index: 50; top: 12px; left: 12px; padding: 14px 20px; border-radius: 5px; background: var(--ivory); color: var(--night); transform: translateY(-160%); }
.skip-link:focus { transform: none; }
.film { position: relative; height: 360svh; min-height: 2200px; }
.film-stage { position: sticky; top: 0; height: 100svh; min-height: 640px; overflow: hidden; isolation: isolate; }
.chapter-marker { position: absolute; top: 144svh; width: 1px; height: 1px; pointer-events: none; }
.listening-marker, .method-marker { position: absolute; top: 300svh; width: 1px; height: 1px; pointer-events: none; }
.landscape { position: absolute; z-index: -2; inset: 0; overflow: hidden; background: var(--night); }
.landscape-fallback, .landscape-video, #landscape-canvas, #atmosphere-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.landscape-fallback, .landscape-video { object-fit: cover; object-position: 54% 50%; transform: scale(1.035); }
.landscape-video { opacity: 0; }
.video-ready .landscape-video { opacity: 1; }
.canvas-ready .landscape-video { opacity: 0; }
#landscape-canvas { opacity: 0; transition: opacity 1.2s; }
.canvas-ready #landscape-canvas { opacity: 1; }
.landscape-tone { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3,10,23,.2), rgba(4,11,22,.3) 35%, rgba(4,11,21,.04) 63%, rgba(4,11,21,.46)); }
.landscape-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 38%, rgba(5,12,24,.16), transparent 60%), linear-gradient(90deg, rgba(3,10,19,.18), transparent 25%, transparent 75%, rgba(3,10,19,.18)); }
#atmosphere-canvas { pointer-events: none; opacity: .9; }
.film-grain { position: absolute; inset: 0; opacity: .025; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath fill='%23fff' filter='url(%23n)' opacity='.8' d='M0 0h180v180H0z'/%3E%3C/svg%3E"); }
.navigation { position: absolute; z-index: 10; top: clamp(24px, 4.5vh, 48px); left: clamp(24px, 4.4vw, 76px); right: clamp(24px, 4.4vw, 76px); display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 500; letter-spacing: -.6px; }
.brand img { width: 42px; height: 42px; border-radius: 13px; box-shadow: 0 0 0 1px #d5bf8f38; }
.brand b { font-weight: 300; }
.brand > span { white-space: nowrap; }
.nav-note { position: absolute; left: 50%; transform: translateX(-50%); color: #c2cbd4a8; font-size: 10px; letter-spacing: .24em; white-space: nowrap; }
.nav-link { display: flex; align-items: center; gap: 24px; border: 1px solid #d0dce42b; background: #07122238; border-radius: 999px; padding: 13px 20px; font-size: 13px; font-weight: 300; transition: background .4s, border-color .4s; backdrop-filter: blur(12px); }
.nav-link svg { width: 15px; height: 15px; stroke: currentColor; fill: none; stroke-width: 1.25; transition: transform .5s var(--ease); }
.nav-link:hover { background: #f3f1e90e; border-color: #d5bf8f80; }
.nav-link:hover svg { transform: translate(2px,-2px); }
.chapter { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 118px 24px 136px; will-change: opacity, transform; }
.hero-copy { width: 100%; transform: translateY(-12px); }
.eyebrow { display: flex; align-items: center; justify-content: center; gap: 12px; color: #dfdfd4; font-size: 10px; font-weight: 400; line-height: 1.8; letter-spacing: .23em; margin: 0 0 22px; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 { font-family: var(--serif); font-weight: 400; letter-spacing: -.035em; }
h1 { font-size: clamp(60px, 6.8vw, 106px); line-height: 1.12; margin-bottom: 28px; text-shadow: 0 3px 40px #06132670; }
.title-line { display: block; }
.title-line:first-child { font-size: 1.03em; }
h1 em, h2 em { font-weight: 400; color: #e6e4d6; }
.title-word { display: inline-block; padding: 0 .045em .08em; margin: 0 -.045em -.08em; }
.hero-description { color: var(--soft-ink); font-size: 16px; font-weight: 400; line-height: 1.95; margin-bottom: 32px; text-shadow: 0 2px 14px #06101d; }
.store-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; scroll-margin-top: 35vh; }
.store-button { display: flex; align-items: center; justify-content: center; gap: 13px; min-width: 172px; padding: 12px 19px; border: 1px solid #ecefef55; border-radius: 13px; text-align: left; transition: transform .6s var(--ease), box-shadow .6s, border-color .4s, background .4s; }
.store-button svg { width: 26px; height: 26px; fill: currentColor; flex-shrink: 0; }
.store-button small { display: block; font-size: 10px; letter-spacing: .06em; font-weight: 400; line-height: 1.6; opacity: .72; }
.store-button strong { display: block; font-size: 16px; font-weight: 500; line-height: 1.4; letter-spacing: -.4px; }
.store-apple { background: #edeee7; color: #121c25; border-color: #f5f6eb; box-shadow: 0 3px 24px #02081422; }
.store-google { background: #0815245c; backdrop-filter: blur(12px); color: #edf0ec; }
.store-button:hover { transform: translateY(-3px); box-shadow: 0 8px 32px #030b2166, 0 0 20px #d5bf8f12; border-color: var(--gold); }
.store-button:active { transform: translateY(-1px); }
.bottom-rail { position: absolute; z-index: 10; left: clamp(24px,4.4vw,76px); right: clamp(24px,4.4vw,76px); bottom: 30px; display: flex; align-items: flex-end; justify-content: space-between; }
.chapter-indicator { display: flex; align-items: center; height: 42px; gap: 14px; font-size: 11px; color: #bdcbd1b3; font-weight: 300; letter-spacing: .02em; }
[data-chapter-number] { color: var(--gold); font-variant-numeric: tabular-nums; }
.chapter-indicator i { height: 1px; width: 34px; background: #d7dfdf50; }
.scroll-invitation { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 15px; color: #d3d9d5; font-size: 10px; font-weight: 300; letter-spacing: .07em; padding: 12px 24px 0; white-space: nowrap; }
.scroll-thread { height: 34px; width: 1px; background: #d5bf8f4d; position: relative; overflow: hidden; }
.scroll-thread i { display: block; position: absolute; height: 15px; width: 1px; background: var(--gold); animation: thread-travel 2.8s ease-in-out infinite; }
.motion-toggle { display: inline-flex; align-items: center; gap: 10px; height: 44px; border: 0; padding: 0 0 0 12px; background: none; color: #c2cdd2cc; font-size: 11px; font-weight: 300; letter-spacing: .025em; }
.motion-toggle:hover { color: var(--ivory); }
.scene-controls { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.privacy-link { display: inline-flex; min-height: 44px; align-items: center; color: #c2cdd2b3; font-size: 11px; font-weight: 300; letter-spacing: .025em; transition: color .4s ease; }
.privacy-link:hover { color: var(--ivory); }
.landscape-tone, .landscape-vignette, .navigation, .chapter-indicator, .scroll-invitation { transition: opacity .7s ease, visibility .7s; }
.motion-bars { display: flex; align-items: center; gap: 3px; height: 16px; width: 16px; }
.motion-bars i { display: block; background: var(--gold); width: 2px; height: 10px; border-radius: 2px; transform-origin: center; animation: sound-wave 2s ease-in-out infinite alternate; }
.motion-bars i:nth-child(2) { height: 16px; animation-delay: -.7s; }
.motion-bars i:nth-child(3) { height: 8px; animation-delay: -1.2s; }
.journey { opacity: 0; pointer-events: none; padding-top: 132px; padding-bottom: 122px; }
.journey-heading { width: 100%; }
.journey .eyebrow { margin-bottom: 15px; font-size: 10px; }
h2 { font-size: clamp(42px, 4.6vw, 70px); line-height: 1.15; margin-bottom: 20px; }
h2 [data-arrive] { display: inline-block; }
.journey-description { font-size: 15px; color: var(--soft-ink); line-height: 1.9; font-weight: 400; margin-bottom: 0; }
.level-experience { margin-top: 28px; width: min(630px, 100%); }
.level-switcher { display: flex; justify-content: space-between; position: relative; width: 100%; }
.level-track { position: absolute; top: 10px; left: 10%; right: 10%; height: 1px; background: #d4d9d83b; }
.level-track span { display: block; height: 100%; width: 100%; background: linear-gradient(90deg,#d5bf8f90,var(--gold)); transform: scaleX(var(--level-progress,0)); transform-origin: left; transition: transform 1.1s var(--ease); box-shadow: 0 0 12px #d5bf8f44; }
.level-tab { flex: 1; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; border: 0; background: none; padding: 5px 3px 12px; min-height: 78px; color: #b8c9cc; transition: color .5s; }
.level-dot { width: 9px; height: 9px; border-radius: 50%; background: #172b3c; border: 1px solid #8c9faa; position: relative; transition: background .7s, border-color .7s, box-shadow .7s; }
.level-dot::before { content: ''; position: absolute; inset: -7px; border: 1px solid #d5bf8f00; border-radius: 50%; transition: border-color .7s, transform .7s var(--ease); transform: scale(.7); }
.level-name { font-family: var(--serif); font-size: 26px; line-height: 1.2; font-weight: 400; margin-top: 3px; }
.level-caption { font-size: 12px; font-weight: 400; letter-spacing: .015em; }
.level-tab:hover, .level-tab.is-active { color: var(--ivory); }
.level-tab.is-active .level-dot { background: var(--gold); border-color: #fff2bd; box-shadow: 0 0 17px #d5bf8f80; }
.level-tab.is-active .level-dot::before { border-color: #d5bf8f6b; transform: scale(1); }
.level-tab.is-active .level-name { color: #ecd8b0; }
.level-panel { margin-top: 16px; min-height: 141px; padding: 14px 10px 0; outline-offset: 0; }
.level-panel-copy { transition: opacity .28s, transform .6s var(--ease), filter .5s; }
.level-panel.is-changing .level-panel-copy { opacity: 0; transform: translateY(7px); filter: blur(3px); }
.level-japanese { display: block; color: #d8c59e; font-family: var(--serif); font-size: 12px; letter-spacing: .23em; margin-bottom: 10px; }
.level-panel h3 { margin-bottom: 9px; font-family: var(--serif); font-weight: 400; font-size: 27px; line-height: 1.4; letter-spacing: -.025em; }
.level-panel p { color: var(--soft-ink); font-size: 14px; line-height: 1.85; font-weight: 400; margin-bottom: 0; }
/* App screens on an elliptical orbit: the front card is sharp, the rest peek from behind. */
.product-orbit { position: relative; width: min(620px,46vw); margin: 0; justify-self: center; }
.orbit-stage { position: relative; width: 100%; aspect-ratio: 1.62; touch-action: pan-y; cursor: grab; user-select: none; -webkit-user-select: none; outline-offset: 10px; border-radius: 18px; }
.orbit-stage.is-dragging { cursor: grabbing; }
.orbit-stage::before { content: ''; position: absolute; z-index: -1; inset: 12% 2% 0; border-radius: 50%; background: radial-gradient(ellipse,#80a9c826 0,#5d88ac12 48%,transparent 74%); filter: blur(34px); pointer-events: none; }
.orbit-card { position: absolute; left: 50%; top: 62%; width: 74%; aspect-ratio: 1.6; margin: calc(74% / -3.2) 0 0 -37%; border-radius: clamp(10px,1.2vw,16px); overflow: hidden; background: #0a1522; border: 1px solid #e6ecef2e; box-shadow: 0 22px 60px -18px #01060fd9, 0 0 0 1px #00000040; transform-origin: 50% 50%; will-change: transform, opacity; backface-visibility: hidden; }
.orbit-card::after { content: ''; position: absolute; inset: 0; background: #050c18; opacity: var(--shade,0); pointer-events: none; }
.orbit-card.is-front { border-color: #d5bf8f66; box-shadow: 0 28px 70px -18px #01060fe6, 0 0 36px -8px #d5bf8f26; }
.orbit-card img { display: block; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.orbit-footer { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-top: clamp(18px,2.4vh,28px); }
.orbit-caption { color: #ece6d6; font-family: var(--serif); font-size: clamp(15px,1.25vw,18px); letter-spacing: .02em; text-shadow: 0 2px 14px #020914; transition: opacity .3s ease; }
.orbit-caption.is-changing { opacity: 0; }
.orbit-dots { display: flex; align-items: center; gap: 4px; }
.orbit-dot { width: 24px; height: 24px; padding: 0; border: 0; background: none; display: grid; place-items: center; }
.orbit-dot::before { content: ''; width: 6px; height: 6px; border-radius: 999px; background: #d4dde266; transition: width .5s var(--ease), background .4s; }
.orbit-dot[aria-current="true"]::before { width: 20px; background: var(--gold); }
.orbit-dot:hover::before { background: #eef0e8; }
.orbit-dot:focus-visible { outline-offset: 0; border-radius: 999px; }
.toast { position: fixed; z-index: 25; left: 50%; bottom: 92px; transform: translate(-50%,12px); opacity: 0; pointer-events: none; max-width: calc(100vw - 40px); width: max-content; background: #11202fea; border: 1px solid #d5bf8f44; padding: 16px 22px; border-radius: 12px; backdrop-filter: blur(18px); font-size: 13px; line-height: 1.7; box-shadow: 0 10px 40px #0004; transition: transform .6s var(--ease), opacity .35s; }
.toast.is-visible { transform: translate(-50%,0); opacity: 1; }
.is-enhanced .intro-reveal, .is-enhanced .title-word { opacity: 0; transform: translate3d(0,28px,0); filter: blur(6px); }
.is-enhanced.is-loaded .intro-reveal, .is-enhanced.is-loaded .title-word { animation: emerge 1.9s var(--ease) var(--delay,0ms) both; }
.is-enhanced.is-loaded .title-word { animation-duration: 2.1s; }
.is-enhanced.is-loaded .navigation, .is-enhanced.is-loaded .bottom-rail { animation: quiet-arrive 1.8s ease .2s both; }
.motion-paused *, .motion-paused *::before, .motion-paused *::after { animation-play-state: paused !important; }
.motion-paused .intro-reveal, .motion-paused .title-word, .motion-paused .navigation, .motion-paused .bottom-rail { opacity: 1 !important; transform: none !important; filter: none !important; animation: none !important; }
.motion-paused .motion-bars i { transform: scaleY(.35); }
@keyframes emerge { from { opacity: 0; transform: translate3d(0,28px,0) rotateX(5deg); filter: blur(6px); } to { opacity: 1; transform: translateZ(0); filter: blur(0); } }
@keyframes quiet-arrive { from { opacity: 0; } to { opacity: 1; } }
@keyframes thread-travel { 0% { transform: translateY(-16px); opacity: 0; } 35% { opacity: 1; } 100% { transform: translateY(38px); opacity: 0; } }
@keyframes sound-wave { to { transform: scaleY(.35); } }
@keyframes memory-glow { 0%,100% { transform: translateY(-5%); opacity: .3; } 50% { transform: translateY(145%); opacity: 1; } }
@media (min-width: 1700px) { .hero-copy { transform: translateY(-30px); } h1 { font-size: 120px; } .hero-description { font-size: 17px; } }
@media (max-width: 760px) {
  .film { height: 300svh; min-height: 0; }
  .film-stage { height: 100svh; min-height: 0; }
  .landscape { height: 100lvh; bottom: auto; }
  .landscape-fallback, .landscape-video { object-position: 0% 50%; }
  .navigation { top: max(22px,env(safe-area-inset-top)); left: 24px; right: 24px; }
  .brand { gap: 10px; font-size: 16px; }
  .brand img { width: 38px; height: 38px; border-radius: 11px; }
  .nav-note { display: none; }
  .nav-link { font-size: 11px; padding: 11px 16px; gap: 15px; }
  .nav-link svg { width: 12px; height: 12px; }
  .chapter { padding: clamp(82px,13svh,112px) 24px clamp(76px,12svh,106px); }
  .hero-copy { transform: translateY(-8px); max-width: 410px; }
  .eyebrow { font-size: 9px; letter-spacing: .13em; line-height: 1.8; color: #d8dedc; margin-bottom: clamp(24px,4svh,34px); }
  h1 { font-size: clamp(43px,min(12.4vw,7.2svh),56px); line-height: 1.14; letter-spacing: -.033em; margin-bottom: clamp(23px,3.5svh,30px); color: #f3f1e9; }
  h1 .title-line:first-child { font-size: 1.06em; margin-bottom: 7px; }
  h1 em, h2 em { color: #e5e8e0; }
  .hero-description { max-width: 345px; margin-inline: auto; color: #dce4e7; font-size: clamp(13px,3.45vw,14px); font-weight: 400; line-height: 1.85; margin-bottom: clamp(25px,4.1svh,35px); text-wrap: pretty; }
  .store-actions { gap: 10px; }
  .store-button { min-width: 148px; padding: 11px 14px; gap: 10px; border-radius: 12px; }
  .store-button svg { width: 23px; height: 23px; }
  .store-button strong { font-size: 14px; }
  .store-button small { font-size: 9px; }
  .bottom-rail { left: 24px; right: 24px; bottom: max(20px,env(safe-area-inset-bottom)); }
  .chapter-indicator { display: none; }
  .chapter-indicator i { width: 20px; }
  .chapter-label { display: none; }
  .motion-toggle { font-size: 10px; }
  .motion-toggle [data-motion-label] { display: none; }
  .motion-toggle { padding: 0; min-width: 44px; justify-content: center; }
  .scene-controls { gap: 16px; }
  .privacy-link { font-size: 10px; }
  .scroll-invitation { font-size: 10px; letter-spacing: .025em; left: 0; transform: none; padding-left: 0; align-items: flex-start; color: #d5dfdf; }
  .scroll-thread { height: 25px; }
  .journey { padding-top: clamp(82px,13svh,112px); padding-bottom: clamp(76px,12svh,106px); }
  .journey .eyebrow { font-size: 8.5px; letter-spacing: .095em; margin-bottom: 18px; }
  h2 { font-size: clamp(30px,8.2vw,37px); line-height: 1.19; letter-spacing: -.033em; margin-bottom: 18px; }
  .journey-description { max-width: 338px; margin-inline: auto; font-size: 13px; line-height: 1.8; font-weight: 400; color: #dce4e7; text-wrap: pretty; }
  .journey-description br { display: none; }
  .journey-heading { max-width: 440px; }
  .level-experience { max-width: 400px; margin-top: clamp(20px,3svh,26px); }
  .level-tab { min-height: 76px; color: #b7c5cf; }
  .level-caption { font-size: 10px; font-weight: 400; letter-spacing: 0; white-space: nowrap; }
  .level-name { font-size: 25px; }
  .level-panel { padding: 8px 0 0; margin-top: 12px; min-height: 168px; }
  .level-panel h3 { font-size: clamp(21px,5.65vw,24px); line-height: 1.36; letter-spacing: -.018em; text-wrap: balance; color: #f0f0e8; }
  .level-panel p { max-width: 342px; margin-inline: auto; font-size: 13px; font-weight: 400; line-height: 1.8; color: #d4e0e6; text-wrap: pretty; }
  .level-panel p br { display: none; }
  .level-japanese { font-size: 11px; color: #dcc89f; margin-bottom: 12px; }
  .landscape-tone { background: linear-gradient(180deg,#040c1a22,#040c1a40 42%,#040c1a28 70%,#040c1a44); }
  .landscape-vignette { background: radial-gradient(ellipse at 50% 38%,#06132438,transparent 72%); }
  .journey-heading, .level-panel-copy { text-shadow: 0 2px 14px #04101e; }
  .level-panel-copy { transition: opacity .25s ease,transform .55s var(--ease); }
  .level-panel.is-changing .level-panel-copy { filter: none; }
  .chapter-marker { top: 90svh; }
  .listening-marker, .method-marker { top: 190svh; }
  .product-orbit { align-self: center; width: min(calc(100vw - 32px),460px); }
  .orbit-card { width: 80%; margin: calc(80% / -3.2) 0 0 -40%; border-radius: 12px; }
  .orbit-footer { gap: 8px; margin-top: 14px; }
  .orbit-caption { font-family: var(--sans); font-size: 16px; font-weight: 500; letter-spacing: .01em; color: #f4efe2; text-shadow: 0 1px 3px #020914, 0 2px 16px #020914; }
  .orbit-dot::before { background: #e2e8eb8c; }
}
@media (max-width: 380px) {
  .navigation, .bottom-rail { left: 20px; right: 20px; }
  .navigation { gap: 12px; }
  .brand { font-size: 14px; }
  .nav-link { white-space: nowrap; gap: 10px; padding: 10px 12px; }
  .chapter { padding-left: 19px; padding-right: 19px; }
  h1 { font-size: 43px; }
  .hero-description { font-size: 13px; }
  .store-button { min-width: 125px; padding: 11px 9px; gap: 7px; }
  .store-button strong { font-size: 13px; }
  .motion-toggle [data-motion-label] { display: none; }
  .journey .eyebrow { margin-bottom: 14px; letter-spacing: .07em; }
  .journey h2 { margin-bottom: 14px; }
  .journey-description { font-size: 12.5px; line-height: 1.75; }
  .level-experience { margin-top: 18px; }
  .level-panel { margin-top: 8px; min-height: 158px; }
  .level-panel h3 { margin-bottom: 8px; }
  .level-panel p { font-size: 12.5px; line-height: 1.7; }
  .level-japanese { margin-bottom: 10px; }
}
@media (min-width: 761px) and (max-height: 780px) {
  .navigation { top: 24px; }
  .chapter { padding: 104px 24px 105px; }
  h1 { font-size: 76px; margin-bottom: 20px; }
  .hero-description { margin-bottom: 22px; }
  .eyebrow { margin-bottom: 16px; }
  h2 { font-size: 50px; margin-bottom: 12px; }
  .level-experience { margin-top: 20px; }
  .level-panel { margin-top: 8px; }
}
.compact-layout .film-stage { height: 100svh; min-height: 0; }
.compact-layout .navigation { top: max(14px,env(safe-area-inset-top)); }
.compact-layout .chapter { padding-top: 76px; padding-bottom: 62px; }
.compact-layout .eyebrow { margin-bottom: 12px; }
.compact-layout h1 { font-size: clamp(38px,min(8.5vw,8.5svh),60px); margin-bottom: 14px; }
.compact-layout .hero-description { font-size: 12px; line-height: 1.65; margin-bottom: 16px; }
.compact-layout .store-button { min-width: 136px; padding: 9px 12px; }
.compact-layout .journey { padding-top: 72px; padding-bottom: 58px; }
.compact-layout .journey .eyebrow { margin-bottom: 8px; }
.compact-layout .journey h2 { font-size: clamp(28px,5.2svh,38px); margin-bottom: 9px; }
.compact-layout .journey-description { font-size: 11.5px; line-height: 1.6; }
.compact-layout .level-experience { margin-top: 12px; }
.compact-layout .level-tab { min-height: 54px; gap: 3px; padding-bottom: 5px; }
.compact-layout .level-name { font-size: 20px; }
.compact-layout .level-caption { font-size: 9px; }
.compact-layout .level-panel { min-height: 94px; margin-top: 5px; padding-top: 4px; }
.compact-layout .level-japanese { margin-bottom: 5px; }
.compact-layout .level-panel h3 { font-size: 19px; margin-bottom: 3px; }
.compact-layout .level-panel p { font-size: 11px; line-height: 1.55; }
.compact-layout .product-orbit { width: min(42vw,440px,62svh); }
.compact-layout .orbit-footer { margin-top: 8px; gap: 4px; }
.compact-layout .orbit-caption { font-size: 13px; }
@media (max-width: 760px) {
  .compact-layout .product-orbit { width: min(56vw,220px,40svh); }
  .compact-layout .orbit-footer { margin-top: 6px; gap: 2px; }
  .compact-layout .orbit-caption { font-size: 14px; }
  .compact-layout .orbit-dot { height: 18px; }
}
.compact-layout .bottom-rail { bottom: max(12px,env(safe-area-inset-bottom)); }

/* If JavaScript is unavailable, retain four full-screen snap-aligned chapters. */
html:not(.is-enhanced) { scroll-snap-type: y mandatory; }
html:not(.is-enhanced) .film { height: auto; min-height: 0; }
html:not(.is-enhanced) .film-stage { height: auto; min-height: 100svh; position: relative; overflow: clip; }
html:not(.is-enhanced) .landscape { position: fixed; }
html:not(.is-enhanced) .chapter { position: relative; min-height: 100svh; scroll-snap-align: start; opacity: 1 !important; transform: none !important; filter: none !important; pointer-events: auto; }
html:not(.is-enhanced) .journey { padding-top: 100px; padding-bottom: 140px; }
html:not(.is-enhanced) .bottom-rail { position: fixed; }
@media (max-width: 300px) {
  .navigation { gap: 12px; flex-wrap: wrap; }
  .nav-link { padding: 9px 13px; }
  .nav-link svg { display: none; }
  .compact-layout .hero { padding-top: 110px; }
  .store-actions { flex-direction: column; align-items: center; }
  .store-button { width: 160px; }
  .level-caption { display: none; }
  .eyebrow { letter-spacing: .06em; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; } }

/* One continuous scene, four focused chapters. */
body { isolation: isolate; }
.landscape { position: fixed; }
.site-shell { position: relative; }
.is-memory .scroll-thread i { animation-direction: reverse; }

/* Chapter 2: the scene answers the chosen level — N5 dusk, N1 the deepest night. */
.landscape { transform: scale(var(--camera,1)); transform-origin: 50% 74%; transition: transform 2.6s var(--ease); }
.is-journey .landscape { --camera: calc(1 + var(--level-depth,0) * .045); }
.landscape-dusk, .landscape-deep { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 1.8s ease; }
/* Screen blending adds warm light instead of muddying the blue night into brown. */
.landscape-dusk { mix-blend-mode: screen; background: radial-gradient(ellipse 80% 26% at 50% 56%, #ff9a6a33, #e8785414 55%, transparent 78%), radial-gradient(ellipse 60% 18% at 62% 53%, #ffc08a1f, transparent 70%); }
/* Deepen the land, keep the sky open so the stars can come through. */
.landscape-deep { background: linear-gradient(180deg, transparent 0%, transparent 30%, #0308164d 55%, #02061294 100%); }
.is-journey .landscape-dusk { opacity: calc(1 - var(--level-depth,0) * 2); }
.is-journey .landscape-deep { opacity: calc(var(--level-depth,0) * 2 - 1); }
.motion-paused .landscape, .motion-paused .landscape-dusk, .motion-paused .landscape-deep { transition: none; }

.level-spark { position: absolute; z-index: 2; top: 10px; left: calc(10% + 80% * var(--spark-progress,0)); width: 7px; height: 7px; margin: -3px 0 0 -3.5px; border-radius: 50%; background: #fff4cf; box-shadow: 0 0 10px 3px #e9cf8f99, 0 0 26px 8px #d5bf8f40; opacity: 0; pointer-events: none; transition-property: left, opacity; transition-duration: 1.1s, .5s; transition-timing-function: var(--ease), ease; }
.level-spark.is-moving { opacity: 1; }
.level-dot.is-lit { background: #f3dfa6; border-color: #fff2bd; box-shadow: 0 0 14px 2px #e8cd8a8c, 0 0 30px 6px #d5bf8f33; }

.level-japanese .ink { display: inline-block; -webkit-mask-image: linear-gradient(115deg,#000 42%,transparent 58%); mask-image: linear-gradient(115deg,#000 42%,transparent 58%); -webkit-mask-size: 300% 100%; mask-size: 300% 100%; -webkit-mask-repeat: no-repeat; mask-repeat: no-repeat; animation: ink-write .95s cubic-bezier(.45,.05,.25,1) calc(var(--i) * 150ms + 120ms) both; }
@keyframes ink-write {
  from { -webkit-mask-position: 100% 0; mask-position: 100% 0; filter: blur(2.5px); opacity: .4; }
  60% { filter: blur(.4px); }
  to { -webkit-mask-position: 0 0; mask-position: 0 0; filter: blur(0); opacity: 1; }
}
.motion-paused .level-japanese .ink { animation: none; -webkit-mask-image: none; mask-image: none; }
@media (prefers-reduced-motion: reduce) { .level-japanese .ink { -webkit-mask-image: none; mask-image: none; } }

/* Hero: once the title has settled, a soft moonlight passes across it, word by word. */
.is-enhanced.is-loaded .title-word { animation: emerge 2.1s var(--ease) var(--delay,0ms) both, moonlight 1.8s ease-in-out calc(var(--delay,0ms) * 1.2 + 2300ms) 1 none; }
@keyframes moonlight { 45% { color: #fbfaf4; text-shadow: 0 3px 40px #06132670, 0 0 18px #d9e6ff8c, 0 0 1px #ffffffb3; } }

/* Keep the orbit readable when the final chapter is viewed on a phone. */
@media (max-width: 760px) {
  .product-orbit, .compact-layout .product-orbit { order: 4; width: min(calc(100vw - 32px), 460px, calc((100svh - 410px) * 1.62)); margin-top: clamp(14px,2.6svh,26px); }
  .orbit-footer, .compact-layout .orbit-footer { margin-top: clamp(8px,1.4svh,14px); gap: 4px; }
  .orbit-caption, .compact-layout .orbit-caption { font-size: 15px; }
  .compact-layout .orbit-dot { height: 22px; }
}

/* With JS the page is exactly one screen: chapters change by animation, never by scrolling. */
.is-enhanced .film { height: 100svh; min-height: 0; }

/* Hero: the whole block sits centred in the frame, a touch above the middle; the single
   shooting star (drawn on the atmosphere canvas) passes behind the title. */
.hero { justify-content: center; padding-bottom: clamp(130px,17svh,180px); --intro-offset: 1300ms; }
.hero-copy { transform: none; }
.is-enhanced.is-loaded .hero .intro-reveal { animation-delay: calc(var(--delay,0ms) + var(--intro-offset)); }
.is-enhanced.is-loaded .hero .title-word { animation-delay: calc(var(--delay,0ms) + var(--intro-offset)), calc(var(--delay,0ms) * 1.2 + 2300ms + var(--intro-offset)); }
/* A whisper, not a watermark: the Japanese motto sits quietly under the eyebrow. */
.hero .eyebrow { margin-bottom: 10px; }
.hero-whisper { margin: 0 0 24px; font-family: "Hiragino Mincho ProN","Yu Mincho","YuMincho","Noto Serif JP","Noto Serif CJK JP",serif; font-size: 12px; line-height: 1.6; letter-spacing: .42em; padding-left: .42em; color: #d5bf8f8c; text-shadow: 0 2px 12px #040c18; }
.compact-layout .hero-whisper { font-size: 11px; margin-bottom: 12px; }
/* Short screens: keep "Cuộn để đi tiếp" clear of the store buttons. */
.compact-layout .hero { padding-bottom: 96px; }
.compact-layout .scroll-invitation { gap: 9px; }
.compact-layout .scroll-thread { height: 20px; }
/* Equal, quiet store buttons: glass instead of one solid white slab. */
.store-apple, .store-google { background: #f3f1e912; color: #f1efe6; border-color: #e8e4d64d; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 6px 26px #0208141f; }
.store-button:hover { background: #f3f1e91f; }
@media (max-width: 760px) {
  .hero, .compact-layout .hero { padding-bottom: clamp(118px,18svh,160px); }
  .hero .eyebrow { margin-bottom: 10px; }
  .hero-whisper { font-size: 11px; letter-spacing: .32em; padding-left: .32em; margin-bottom: clamp(18px,3svh,26px); }
}
@media (min-width: 761px) {
  .hero { padding-bottom: clamp(130px,16svh,176px); }
  .hero h1 { font-size: clamp(54px,6vw,96px); margin-bottom: 22px; }
  .hero .hero-description { margin-bottom: 26px; }
}

/* Phòng nghe: a quiet look into a real N5 situation from the app. */
.listening { opacity: 0; pointer-events: none; padding-top: 104px; padding-bottom: 112px; text-align: left; }
.listening-shell { width: min(1110px,100%); display: grid; grid-template-columns: minmax(0,1fr) minmax(360px,.9fr); align-items: center; gap: clamp(44px,6vw,90px); }
.listening-copy { max-width: 550px; }
.listening .eyebrow { justify-content: flex-start; margin-bottom: 18px; color: #e2d8c2; }
.listening .eyebrow [lang="ja"] { font-family: var(--serif); font-size: 14px; letter-spacing: .16em; color: #e9d6ac; }
.listening h2 { font-size: clamp(43px,4.2vw,64px); line-height: 1.16; margin-bottom: 22px; text-wrap: balance; text-shadow: 0 3px 34px #06132670; }
.listening-description { max-width: 520px; margin-bottom: 24px; color: #d8e0e4; font-size: 15px; font-weight: 300; line-height: 1.9; text-wrap: pretty; text-shadow: 0 2px 14px #06101d; }
.listening-cta { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; padding: 0 18px; border: 1px solid #d8c79b70; border-radius: 999px; background: #09162570; color: #f0eee4; font-size: 12px; backdrop-filter: blur(14px); transition: background .4s,border-color .4s,transform .5s var(--ease); }
.listening-cta:hover { transform: translateY(-2px); border-color: var(--gold); background: #f3f1e910; }
.listening-cta svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.2; }
.listening-preview { width: min(470px,100%); margin: 0; justify-self: center; overflow: hidden; border: 1px solid #e2e4df40; border-radius: 24px; background: #0b1726e8; box-shadow: 0 30px 90px #01060eb8, 0 0 55px #d5bf8f12; backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.listening-preview-top { display: flex; justify-content: space-between; gap: 10px; padding: 14px 18px; color: #d5ddd9; font-size: 9px; letter-spacing: .12em; }
.listening-preview-top i { color: #d5bf8f; font-style: normal; }
.listening-scene { position: relative; overflow: hidden; aspect-ratio: 16 / 7.7; margin: 0 12px; border-radius: 14px; background: #142338; }
.listening-scene::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent,#06101bcc); }
.listening-scene img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; }
.listening-scene > span { position: absolute; z-index: 1; bottom: 12px; left: 15px; color: #fffdf6; font-size: 11px; font-weight: 500; text-shadow: 0 2px 8px #000; }
.listening-preview-body { padding: 16px 20px 5px; }
.listening-preview-heading { display: flex; justify-content: space-between; align-items: center; }
.listening-preview-heading small { display: block; margin-bottom: 4px; color: #d5bf8f; font-size: 9px; letter-spacing: .18em; }
.listening-preview-heading strong { display: block; font-family: var(--serif); font-size: 22px; font-weight: 400; }
.listening-duration { padding: 5px 8px; border: 1px solid #d5bf8f4d; border-radius: 999px; color: #e6d2a6; font-size: 10px; }
.listening-player { display: flex; align-items: center; gap: 12px; margin: 14px 0; padding: 11px 12px; border: 1px solid #f3f1e924; border-radius: 14px; background: #f3f1e90b; }
.listening-play { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: #f3f1e9; color: #0b1726; }
.listening-play svg { width: 17px; height: 17px; fill: currentColor; }
.listening-player-copy { display: flex; flex-direction: column; gap: 9px; min-width: 0; flex: 1; }
.listening-player-copy b { color: #e6e9e7; font-size: 10px; font-weight: 400; }
.listening-wave { display: flex; align-items: center; gap: 3px; height: 15px; }
.listening-wave i { width: 2px; height: calc(5px + (var(--h,1) * 8px)); border-radius: 3px; background: #d5bf8f; opacity: .84; }
.listening-wave i:nth-child(3n) { --h: .35; }.listening-wave i:nth-child(4n) { --h: .7; }.listening-wave i:nth-child(5n) { --h: 1.25; }
.listening-line { display: flex; flex-direction: column; gap: 4px; padding: 1px 1px 7px; }
.listening-line [lang="ja"] { color: #f0ede5; font-family: var(--serif); font-size: 17px; letter-spacing: .01em; }
.listening-line small { color: #b9c9d0; font-size: 11px; }
.listening-preview figcaption { padding: 11px 20px 14px; border-top: 1px solid #f3f1e919; color: #d5bf8f; font-family: var(--serif); font-size: 12px; font-style: italic; text-align: center; }

@media (max-width: 760px) {
  .listening, .compact-layout .listening { padding: clamp(75px,10svh,90px) 20px clamp(64px,9svh,80px); }
  .listening-shell { width: min(390px,100%); display: flex; flex-direction: column; align-items: center; gap: clamp(12px,2svh,20px); }
  .listening-copy { width: 100%; text-align: center; }
  .listening .eyebrow { justify-content: center; margin-bottom: 9px; font-size: 8.5px; }
  .listening h2, .compact-layout .listening h2 { margin-bottom: 10px; font-size: clamp(27px,7.4vw,32px); line-height: 1.18; }
  .listening-description { margin: 0 auto 12px; max-width: 355px; font-size: 12px; line-height: 1.65; }
  .listening-cta { min-height: 34px; padding: 0 14px; font-size: 10px; }
  .listening-preview { width: min(340px,100%,calc((100svh - 395px) * 1.6)); border-radius: 17px; }
  .listening-preview-top { padding: 10px 13px; font-size: 8px; }
  .listening-scene { margin: 0 8px; border-radius: 10px; }
  .listening-scene > span { bottom: 8px; left: 10px; font-size: 9px; }
  .listening-preview-body { padding: 10px 13px 2px; }
  .listening-preview-heading small { font-size: 7px; margin-bottom: 1px; }
  .listening-preview-heading strong { font-size: 17px; }
  .listening-player { margin: 8px 0; padding: 7px; gap: 8px; border-radius: 10px; }
  .listening-play { width: 29px; height: 29px; }
  .listening-play svg { width: 13px; height: 13px; }
  .listening-player-copy { gap: 3px; }
  .listening-player-copy b { font-size: 8px; }
  .listening-wave { height: 10px; gap: 2px; }
  .listening-wave i { height: calc(3px + (var(--h,1) * 5px)); }
  .listening-line [lang="ja"] { font-size: 13px; }
  .listening-line small { font-size: 9px; }
  .listening-preview figcaption { padding: 7px 12px 8px; font-size: 10px; }
}
@media (max-width: 380px), (max-height: 680px) {
  .listening, .compact-layout .listening { padding-top: 70px; padding-bottom: 58px; }
  .listening-shell { gap: 8px; }
  .listening .eyebrow { margin-bottom: 5px; }
  .listening h2, .compact-layout .listening h2 { margin-bottom: 6px; font-size: 27px; }
  .listening-description { margin-bottom: 7px; font-size: 11px; line-height: 1.48; }
  .listening-cta { min-height: 30px; }
  .listening-preview { width: min(270px,100%,calc((100svh - 315px) * 1.55)); }
  .listening-preview-top { padding: 7px 11px; }
  .listening-preview-body { padding: 7px 11px 1px; }
  .listening-player { margin: 6px 0; padding: 5px; }
  .listening-line { padding-bottom: 4px; }
  .listening-line [lang="ja"] { font-size: 11px; }
  .listening-line small { font-size: 8px; }
  .listening-preview figcaption { padding: 5px 8px 6px; }
}
@media (max-width: 760px) and (max-height: 600px) {
  .listening, .compact-layout .listening { padding-top: 62px; padding-bottom: 52px; }
  .listening h2, .compact-layout .listening h2 { font-size: 24px; line-height: 1.1; }
  .listening-description { max-width: 310px; font-size: 10px; line-height: 1.35; }
  .listening-cta { min-height: 27px; }
  .listening-preview { width: min(215px,100%); }
  .listening-preview-top { padding: 5px 9px; font-size: 6px; }
  .listening-scene { margin: 0 6px; }
  .listening-scene > span { font-size: 7px; bottom: 5px; }
  .listening-preview-body { padding: 5px 9px 0; }
  .listening-preview-heading strong { font-size: 14px; }
  .listening-player { margin: 4px 0; }
  .listening-play { width: 23px; height: 23px; }
  .listening-line { gap: 1px; padding-bottom: 2px; }
  .listening-line [lang="ja"] { font-size: 9px; }
  .listening-preview figcaption { padding: 4px 6px; font-size: 8px; }
}
@media (min-width: 761px) and (max-height: 780px) {
  .listening { padding-top: 78px; padding-bottom: 78px; }
  .listening h2 { font-size: clamp(38px,3.8vw,54px); }
  .listening-description { font-size: 13px; line-height: 1.65; margin-bottom: 14px; }
  .listening-preview { width: min(390px,100%); }
}

/* The final chapter reveals the ways to learn without enclosing the artwork. */
.practice { padding: 100px 24px 106px; color: var(--warm-ink); }
.practice-shell { width: min(1180px,100%); grid-template-columns: minmax(0,1fr) minmax(440px,1.03fr); gap: clamp(34px,4vw,66px); }
.practice-copy { max-width: 530px; position: relative; z-index: 2; }
.practice .eyebrow { justify-content: flex-start; margin-bottom: 13px; }
.practice h2 { font-size: clamp(35px,3.45vw,50px); line-height: 1.14; margin-bottom: 14px; letter-spacing: -.035em; }
.practice-title-line { display: block; white-space: nowrap; }
.practice-description, .practice .listening-description { max-width: 510px; margin-bottom: 15px; color: var(--soft-ink); font-size: 13px; font-weight: 400; line-height: 1.72; }
.practice-switcher { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 18px; width: 100%; max-width: 520px; border-top: 1px solid #ddc79e78; margin-bottom: 11px; }
.practice-tab { display: grid; grid-template-columns: 21px minmax(0,1fr) 12px; align-items: center; gap: 8px; width: 100%; min-height: 47px; padding: 8px 3px; border: 0; border-bottom: 1px solid #bad0cb42; background: transparent; text-align: left; transition: background .35s ease, border-color .35s ease; }
.practice-tab:first-child { grid-column: 1 / -1; min-height: 56px; }
.practice-tab:hover, .practice-tab:focus-visible { background: linear-gradient(90deg,#d5bf8f17,transparent); }
.practice-tab-index { color: #d0bc93; font-family: var(--serif); font-size: 10px; letter-spacing: .04em; }
.practice-tab-text { display: flex; flex-direction: column; min-width: 0; gap: 2px; }
.practice-tab-text strong { color: #d7e1dd; font-family: var(--sans); font-size: 13px; font-weight: 400; line-height: 1.3; letter-spacing: .005em; transition: color .35s ease; }
.practice-tab:first-child .practice-tab-text strong { font-family: var(--serif); font-size: 18px; }
.practice-tab-text small { color: #b5c8c7; font-size: 10px; font-weight: 400; }
.practice-tab-mark { width: 11px; height: 11px; border: 1px solid #afc9c48c; border-radius: 50%; position: relative; transition: border-color .35s ease, box-shadow .35s ease; }
.practice-tab-mark::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: #d5bf8f; transform: scale(0); transition: transform .35s var(--ease); }
.practice-tab.is-active { background: linear-gradient(90deg,#d5bf8f14,transparent 70%); border-bottom-color: #d5bf8f80; }
.practice-tab.is-active .practice-tab-index, .practice-tab.is-active .practice-tab-text strong { color: #f2e5cc; }
.practice-tab.is-active .practice-tab-mark { border-color: #d5bf8f; box-shadow: 0 0 16px #d5bf8f55; }
.practice-tab.is-active .practice-tab-mark::after { transform: scale(1); }
.practice-detail { max-width: 500px; min-height: 34px; margin: 0 0 12px; color: #dcd3bf; font-size: 11px; font-weight: 400; line-height: 1.55; text-wrap: pretty; }
.practice .listening-cta { min-height: 42px; }

.practice-stage { position: relative; width: min(550px,100%); height: clamp(420px,58svh,550px); justify-self: center; }
.practice-panel { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; transition: opacity .65s ease, transform .8s var(--ease), filter .65s ease; }
.practice-panel-listen { opacity: 1; transform: translate3d(0,0,0) scale(1); }
.practice-panel-memory { opacity: 0; transform: translate3d(30px,10px,0) scale(.94); filter: blur(8px); pointer-events: none; }
.practice-stage[data-practice-mode="memory"] .practice-panel-listen { opacity: 0; transform: translate3d(-30px,-10px,0) scale(.94); filter: blur(8px); pointer-events: none; }
.practice-stage[data-practice-mode="memory"] .practice-panel-memory { opacity: 1; transform: translate3d(0,0,0) scale(1); filter: none; pointer-events: auto; }
.practice-panel .listening-preview { width: min(325px,70%); border-radius: 18px; box-shadow: 0 22px 65px #01060ec2, 0 0 36px #d5bf8f1c; }
.practice-panel-memory .product-orbit { width: min(500px,100%); margin: 0; }
.practice-panel-memory .orbit-stage { aspect-ratio: 1.55; }
.practice-panel-memory .orbit-footer { margin-top: 8px; gap: 6px; }
.practice-panel-memory .orbit-caption { font-size: 17px; }
.practice-panel-memory .orbit-dot { height: 22px; }
.is-listening .landscape-tone { background: linear-gradient(180deg,#04101b73,#04111c69 45%,#050e1b72 100%); }

@media (min-width: 761px) and (max-height: 780px) {
  .practice { padding-top: 75px; padding-bottom: 78px; }
  .practice h2 { font-size: clamp(35px,3.45vw,48px); margin-bottom: 13px; }
  .practice .listening-description { font-size: 12px; line-height: 1.65; margin-bottom: 13px; }
  .practice-tab { min-height: 42px; padding-block: 5px; }
  .practice-tab:first-child { min-height: 48px; }
  .practice-detail { margin-bottom: 10px; font-size: 11px; }
  .practice-stage { height: min(72svh,480px); }
  .practice-panel .listening-preview { width: min(270px,66%); }
}
@media (max-width: 760px) {
  .practice, .compact-layout .practice { justify-content: flex-start; padding: 72px 18px 56px; }
  .practice-shell { width: min(420px,100%); display: flex; flex-direction: column; gap: 8px; margin-block: auto; }
  .practice-copy { width: 100%; max-width: 390px; text-align: center; }
  .practice .eyebrow { justify-content: center; margin-bottom: 6px; font-size: 9px; line-height: 1.4; letter-spacing: .14em; }
  .practice .eyebrow [lang="ja"], .practice-eyebrow-divider { display: none; }
  .practice h2, .compact-layout .practice h2 { margin-bottom: 6px; font-size: clamp(21px,6.2vw,26px); line-height: 1.16; }
  .practice .listening-description { max-width: 360px; margin: 0 auto 8px; font-size: 12px; line-height: 1.48; }
  .practice-switcher { column-gap: 10px; max-width: 370px; margin: 0 auto 6px; }
  .practice-tab { grid-template-columns: 18px minmax(0,1fr) 9px; gap: 5px; min-height: 42px; padding: 5px 2px; }
  .practice-tab:first-child { min-height: 44px; }
  .practice-tab-index { font-size: 9px; }
  .practice-tab-text strong { font-size: 11.5px; line-height: 1.22; }
  .practice-tab:first-child .practice-tab-text strong { font-size: 15px; }
  .practice-tab-text small { display: none; }
  .practice-tab-mark { width: 8px; height: 8px; }
  .practice-tab-mark::after { inset: 2px; }
  .practice-detail { min-height: 30px; max-width: 365px; margin: 0 auto; font-size: 11px; line-height: 1.4; text-align: center; }
  .practice-stage { width: min(370px,100%); height: min(34svh,260px); min-height: 205px; }
  .practice-panel .listening-preview { width: min(215px,78%); border-radius: 13px; }
  .practice-panel .listening-preview-top { padding: 6px 9px; font-size: 6px; }
  .practice-panel .listening-preview-body { padding: 7px 10px 3px; }
  .practice-panel .listening-preview-heading strong { font-size: 15px; }
  .practice-panel .listening-player { margin: 6px 0 3px; padding: 5px; }
  .practice-panel .listening-line, .practice-panel .listening-preview figcaption { display: none; }
  .practice-panel-memory .product-orbit, .compact-layout .practice-panel-memory .product-orbit { width: min(310px,100%); }
  .practice-panel-memory .orbit-stage { aspect-ratio: 1.75; }
  .practice-panel-memory .orbit-card { top: 55%; }
  .practice-panel-memory .orbit-footer { margin-top: 3px; gap: 2px; }
  .practice-panel-memory .orbit-caption { font-size: 12px; }
  .practice-panel-memory .orbit-dot { height: 15px; }
}
@media (max-width: 760px) and (max-height: 680px) {
  .practice, .compact-layout .practice { padding-top: 70px; padding-bottom: 48px; }
  .practice-shell { gap: 5px; }
  .practice .eyebrow { margin-bottom: 4px; }
  .practice h2, .compact-layout .practice h2 { font-size: clamp(20.5px,6.2vw,24px); margin-bottom: 5px; }
  .practice .listening-description { font-size: 11.5px; line-height: 1.42; margin-bottom: 6px; }
  .practice-switcher { margin-bottom: 5px; }
  .practice-tab { min-height: 40px; padding-block: 4px; }
  .practice-tab:first-child { min-height: 42px; }
  .practice-detail { min-height: 28px; font-size: 10.5px; }
  .practice-stage { height: 32svh; min-height: 195px; }
  .practice-panel .listening-preview { width: min(205px,76%); }
  .practice-panel-memory .product-orbit, .compact-layout .practice-panel-memory .product-orbit { width: min(270px,100%); }
}
@media (max-width: 760px) and (max-height: 600px) {
  .practice, .compact-layout .practice { padding-top: 62px; padding-bottom: 45px; }
  .practice .eyebrow { font-size: 8px; margin-bottom: 3px; }
  .practice h2, .compact-layout .practice h2 { font-size: clamp(19.5px,6.2vw,22px); margin-bottom: 4px; }
  .practice .listening-description { font-size: 11px; line-height: 1.35; margin-bottom: 5px; }
  .practice-tab { min-height: 37px; padding-block: 3px; }
  .practice-tab:first-child { min-height: 39px; }
  .practice-tab-text strong { font-size: 10.5px; }
  .practice-tab:first-child .practice-tab-text strong { font-size: 13px; }
  .practice-detail { font-size: 10px; min-height: 25px; }
  .practice-stage { height: 24svh; min-height: 132px; }
  .practice-panel .listening-preview { width: min(142px,72%); }
  .practice-panel .listening-player { display: none; }
  .practice-panel-memory .product-orbit, .compact-layout .practice-panel-memory .product-orbit { width: min(190px,100%); }
}
html:not(.is-enhanced) .practice-stage { height: auto; min-height: 460px; display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 36px 18px; }
html:not(.is-enhanced) .practice-panel { position: relative; inset: auto; width: 100%; opacity: 1; transform: none; filter: none; pointer-events: auto; }

/* A restrained type palette across the chapters: ivory, mist and champagne. */
.brand { color: var(--warm-ink); }
.brand b { color: var(--cool-ink); }
.nav-link { color: #e7e5db; font-weight: 400; border-color: #d5bf8f45; }
.hero .eyebrow { color: #c9dad6; }
.hero h1, .journey h2, .practice h2 { color: var(--warm-ink); }
.hero h1 em { color: #ead8b5; }
.hero .hero-description { color: var(--soft-ink); }
.hero-whisper { color: #d8c69daa; }
.store-button small { color: #c4d2ce; opacity: 1; }
.store-button strong { color: var(--warm-ink); }
.store-button svg { color: var(--champagne); }
.journey .eyebrow { color: var(--champagne); }
.journey h2 em { color: var(--cool-ink); }
.journey .journey-description, .journey .level-panel p { color: var(--soft-ink); }
.journey .level-tab:not(.is-active) .level-name { color: #c8d7d3; }
.journey .level-tab:not(.is-active) .level-caption { color: #b3c7c8; }
.journey .level-tab.is-active .level-name { color: #ead3a5; }
.journey .level-panel h3 { color: var(--warm-ink); }
.practice .eyebrow { color: var(--champagne); }
.practice h2 em { color: var(--cool-ink); }

/* Keep one lesson preview flat and large enough to read. */
.lesson-showcase { width: min(1100px, calc(100% - 40px)); margin: 64px auto 96px; }
.lesson-showcase h2 { font-size: clamp(26px, 4vw, 44px); line-height: 1.25; margin: 16px 0 28px; }
.lesson-showcase figure { margin: 0; }
.lesson-showcase a { display: block; border: 1px solid rgba(255,255,255,.22); border-radius: 20px; overflow: hidden; }
.lesson-showcase a:focus-visible { outline: 3px solid #d8c9f8; outline-offset: 6px; }
.lesson-showcase img { display: block; width: 100%; height: auto; }
.lesson-showcase figcaption { margin-top: 16px; color: #dce4e7; font-size: 14px; line-height: 1.7; }

/* Nút duy nhất dẫn tới không gian các gói học (/thuc-hanh/). */
@media (prefers-reduced-motion: no-preference) { @view-transition { navigation: auto; } }
.nav-packs { margin-left: auto; margin-right: -12px; }
.nav-packs, .navigation .nav-link { white-space: nowrap; min-height: 44px; }
.nav-packs-short { display: none; }
@media (max-width: 960px) { .nav-note { display: none; } }
@media (max-width: 760px) { .navigation { gap: 10px; } .nav-packs { margin-right: 0; } }
@media (max-width: 430px) { .nav-packs-long { display: none; } .nav-packs-short { display: inline; } }
@media (max-width: 360px) { .navigation .nav-link { padding: 10px 12px; gap: 8px; } .navigation .nav-link svg { display: none; } }
