/* WANGPAILI Scent Labels — site styles.
   White dominant, ink black, signal blue accent, red for "live" details.
   Motion language: everything enters (blur + rise), leaves (direction-aware) and morphs (View Transitions). */

/* ───────────── fonts (OFL, self-hosted) ───────────── */
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-latin-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-latin-ext-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-cyrillic-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-cyrillic-ext-wght-normal.woff2) format('woff2-variations'); unicode-range: U+0460-052F,U+1C80-1C8A,U+20B4,U+2DE0-2DFF,U+A640-A69F,U+FE2E-FE2F; }
@font-face { font-family: 'Geist'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/geist-vietnamese-wght-normal.woff2) format('woff2-variations');
  unicode-range: U+0102-0103,U+0110-0111,U+0128-0129,U+0168-0169,U+01A0-01A1,U+01AF-01B0,U+0300-0301,U+0303-0304,U+0308-0309,U+0323,U+0329,U+1EA0-1EF9,U+20AB; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; font-weight: 400; src: url(/assets/fonts/instrument-serif-latin-400-italic.woff2) format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+20AC,U+2122,U+2212; }
@font-face { font-family: 'Instrument Serif'; font-style: italic; font-display: swap; font-weight: 400; src: url(/assets/fonts/instrument-serif-latin-ext-400-italic.woff2) format('woff2'); unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1E00-1E9F,U+1EF2-1EFF,U+2C60-2C7F,U+A720-A7FF; }

/* ───────────── tokens ───────────── */
@property --c1 { syntax: '<color>'; inherits: true; initial-value: #ff3d68; }
@property --c2 { syntax: '<color>'; inherits: true; initial-value: #ff9eb5; }
:root {
  --paper: #ffffff; --paper-2: #f5f5f2; --paper-3: #ecece7;
  --ink: #0b0b0f; --ink-2: #33333b; --mute: #6c6c76; --line: #e7e7e2; --line-2: #d6d6cf;
  --blue: #1d4ed8; --blue-2: #3b6cff; --blue-soft: #e9efff; --blue-ink: #8fb0ff;
  --red: #e5243b; --stage: #0e0e12;
  --r-s: 10px; --r: 18px; --r-l: 26px; --r-xl: 36px;
  --shadow-1: 0 1px 2px rgba(11, 11, 15, .05), 0 8px 28px -14px rgba(11, 11, 15, .22);
  --shadow-2: 0 2px 6px rgba(11, 11, 15, .04), 0 30px 70px -30px rgba(11, 11, 15, .32);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.65, 0, .35, 1);
  --spring: linear(0, .009, .035 2.1%, .141, .281 6.7%, .723 12.9%, .938 16.7%, 1.017, 1.077, 1.121, 1.149 24.3%, 1.159, 1.163, 1.161, 1.154 29.9%, 1.129 32.8%, 1.051 39.6%, 1.017 43.1%, .991, .977 51%, .974 53.8%, .975 57.1%, .997 69.8%, 1.003 76.9%, 1);
  --spring-soft: linear(0, .02 1.6%, .085 3.4%, .344 8.3%, .62 13.5%, .82 18.5%, .94 23.8%, 1.01 29.4%, 1.04 35.3%, 1.045 40%, 1.035 46.6%, 1.006 60.7%, .997 73.4%, 1);
  --font: 'Geist', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --serif: 'Instrument Serif', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --wrap: 1240px; --gut: clamp(16px, 4vw, 40px);
  --hdr-h: 64px;
  color-scheme: light;
}
:lang(zh) { --font: 'Geist', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif; }
:lang(ja) { --font: 'Geist', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; }
:lang(th) { --font: 'Geist', 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', Tahoma, sans-serif; }
:lang(ar) { --font: 'Noto Sans Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, 'Geist', sans-serif; }
:lang(uk), :lang(vi) { --font: 'Geist', 'Segoe UI', Roboto, Arial, sans-serif; }

/* ───────────── base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .55vw + 9.6px, 19px); -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 110px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); line-height: 1.55; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: clip; }
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-weight: 600; letter-spacing: -.025em; line-height: 1.1; margin: 0; text-wrap: balance; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2.5px solid var(--blue); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--blue); color: #fff; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.9; }
[dir="rtl"] .i-arrow-right, [dir="rtl"] .i-arrow-left, [dir="rtl"] .i-chevron-right, [dir="rtl"] .i-chevron-left, [dir="rtl"] .i-arrow-up-right, [dir="rtl"] .i-send { transform: scaleX(-1); }
.wrap { width: min(var(--wrap), 100% - var(--gut) * 2); margin-inline: auto; }
.wrap-narrow { width: min(780px, 100% - var(--gut) * 2); margin-inline: auto; }
.sec { position: relative; padding-block: clamp(72px, 10vw, 136px); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.skip { position: fixed; top: 10px; inset-inline-start: 10px; z-index: 200; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 999px; transform: translateY(-160%); transition: transform .3s var(--ease); }
.skip:focus { transform: none; }
.empty { color: var(--mute); padding: 40px 0; }

/* ───────────── motion: enter / leave ───────────── */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 30px, 0); filter: blur(8px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * .07s);
}
.js [data-reveal="zoom"] { transform: translate3d(0, 24px, 0) scale(.94); }
.js [data-reveal][data-exit="up"] { transform: translate3d(0, -30px, 0); }
.js [data-reveal="zoom"][data-exit="up"] { transform: translate3d(0, -20px, 0) scale(.96); }
.js [data-reveal]:not(.is-in) { transition-duration: .55s, .6s, .55s; transition-delay: 0s; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* split words: each word rises out of its own mask */
.w { display: inline-block; overflow: clip; overflow-clip-margin: .1em; padding-bottom: .08em; margin-bottom: -.08em; vertical-align: top; }
.wi { display: inline-block; transform: translate3d(0, 108%, 0) rotate(3deg); transform-origin: 0 100%; transition: transform 1.05s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * .05s); will-change: transform; }
[data-split][data-exit="up"] .wi { transform: translate3d(0, -108%, 0) rotate(-2deg); }
[data-split]:not(.is-in) .wi { transition-duration: .55s; transition-delay: calc(var(--wi, 0) * .015s); }
[data-split].is-in .wi { transform: none; }
.no-js .wi, .no-split .wi { transform: none !important; }

/* page leave fallback (browsers without cross-document view transitions) */
html.is-leaving main, html.is-leaving .ftr { opacity: 0; transform: translateY(-12px); filter: blur(6px); transition: opacity .28s var(--ease-io), transform .28s var(--ease-io), filter .28s; }

/* ───────────── view transitions (morph between pages and states) ───────────── */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .65s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation: vt-out .32s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-in .6s var(--ease) .08s both; }
html.vt-local::view-transition-old(root) { animation: vt-fade-out .3s ease both; }
html.vt-local::view-transition-new(root) { animation: vt-fade-in .3s ease both; }
::view-transition-old(hdr), ::view-transition-new(hdr) { animation: none; }
::view-transition-image-pair(*) { isolation: isolate; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-16px) scale(.995); filter: blur(6px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(20px); filter: blur(6px); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
.hdr { view-transition-name: hdr; }

/* ───────────── buttons ───────────── */
.btn { --bg: var(--ink); --fg: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: .65em;
  height: 3.1em; padding: 0 .55em 0 1.4em; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 560; font-size: .95rem; letter-spacing: -.01em; white-space: nowrap;
  transition: transform .5s var(--spring), background-color .35s, color .35s, box-shadow .4s; }
.btn:not(:has(.btn-ico)) { padding-inline-end: 1.4em; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .28) 50%, transparent 70%); transform: translateX(-120%); transition: transform .8s var(--ease); }
.btn:hover { transform: scale(1.04); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: scale(.955); transition-duration: .14s; }
.btn-ico { display: grid; place-items: center; width: 2.1em; height: 2.1em; border-radius: 50%; background: rgba(255, 255, 255, .14); overflow: hidden; }
.btn:hover .btn-ico .i { animation: nudge .6s var(--ease); }
[dir="rtl"] .btn:hover .btn-ico .i { animation-name: nudge-rtl; }
@keyframes nudge { 45% { transform: translateX(140%); opacity: 0; } 46% { transform: translateX(-140%); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes nudge-rtl { 45% { transform: scaleX(-1) translateX(140%); opacity: 0; } 46% { transform: scaleX(-1) translateX(-140%); opacity: 0; } 100% { transform: scaleX(-1); opacity: 1; } }
.btn-primary:hover { --bg: var(--blue); }
.btn-ghost { --bg: transparent; --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost .btn-ico { background: var(--paper-2); }
.btn-ghost:hover { --bg: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light .btn-ico { background: var(--ink); color: #fff; }
.btn-light:hover { --bg: var(--blue-soft); }
.btn-ghost-light { --bg: transparent; --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }
.btn-ghost-light:hover { --bg: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1.5px #fff; }
.btn-sm { height: 2.6em; font-size: .88rem; padding-inline-start: 1.15em; }
.btn-sm .btn-ico { width: 1.85em; height: 1.85em; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 42px; height: 42px; flex: none; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line); transition: transform .45s var(--spring), background .3s, box-shadow .3s, color .3s; }
.icon-btn:hover { transform: scale(1.08); background: var(--paper-2); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.icon-btn:active { transform: scale(.92); }
.icon-btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.icon-btn-primary:hover { background: var(--blue); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 13px; border-radius: 999px; background: var(--paper-2); font-size: .82rem; font-weight: 550; transition: background .3s, transform .4s var(--spring); }
.pill:hover { background: var(--blue-soft); transform: translateY(-2px); }

/* ───────────── header ───────────── */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-2)); transform-origin: left; transform: scaleX(var(--p, 0)); }
[dir="rtl"] .progress i { transform-origin: right; }
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px var(--gut) 0; transition: transform .55s var(--ease); }
.hdr.is-hidden { transform: translateY(calc(-100% - 10px)); }
.hdr-in { position: relative; max-width: calc(var(--wrap) + 24px); margin-inline: auto; display: flex; align-items: center; gap: 14px; height: var(--hdr-h);
  padding-inline: 14px 10px; border-radius: 999px; border: 1px solid transparent; background: rgba(255, 255, 255, 0);
  transition: background .45s, border-color .45s, box-shadow .45s, height .45s var(--ease), backdrop-filter .45s; }
.hdr.is-scrolled .hdr-in, .hdr.is-solid .hdr-in { background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: saturate(1.6) blur(18px); backdrop-filter: saturate(1.6) blur(18px); border-color: rgba(11, 11, 15, .07); box-shadow: var(--shadow-1); height: 58px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; transition: transform .45s var(--spring); }
.brand:hover { transform: scale(1.03); }
.brand-mark { width: 38px; height: auto; transition: transform .7s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-8deg) scale(1.06); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-size: 1.02rem; letter-spacing: .02em; font-weight: 700; }
.brand-txt small { font-size: .68rem; color: var(--mute); letter-spacing: .12em; text-transform: uppercase; margin-top: 4px; }
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 4px; padding: 9px 15px; border-radius: 999px; font-size: .9rem; color: var(--ink-2); font-weight: 500; transition: color .3s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 3px; width: 4px; height: 4px; border-radius: 50%; background: var(--blue); transform: translateX(-50%); }
.nav-chev { width: .9em; height: .9em; transition: transform .45s var(--spring); }
.has-mega.is-open .nav-chev { transform: rotate(180deg); }
.nav-pill { position: absolute; top: 50%; left: 0; height: 38px; width: var(--w, 0); transform: translate(var(--x, 0), -50%); border-radius: 999px; background: var(--paper-2); opacity: 0; transition: transform .5s var(--spring-soft), width .5s var(--spring-soft), opacity .3s; pointer-events: none; }
.nav.is-hover .nav-pill { opacity: 1; }
.mega { position: absolute; top: calc(100% + 16px); left: 50%; width: min(880px, 92vw); transform: translateX(-38%); pointer-events: none; z-index: 5; }
[dir="rtl"] .mega { transform: translateX(-62%); }
.mega::before { content: ''; position: absolute; inset: -22px 0 auto; height: 22px; }
.mega-in { display: grid; grid-template-columns: 1fr 230px; gap: 10px; padding: 12px; background: #fff; border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow-2);
  clip-path: inset(0 0 100% 0 round 28px); opacity: 0; transform: translateY(-10px) scale(.985); transform-origin: 30% 0;
  transition: clip-path .6s var(--ease), opacity .3s, transform .6s var(--ease); }
.has-mega.is-open .mega { pointer-events: auto; }
.has-mega.is-open .mega-in { clip-path: inset(0 0 0 0 round 28px); opacity: 1; transform: none; }
.mega-cards { display: grid; gap: 6px; }
.mega-card, .mega-all { opacity: 0; transform: translateY(10px); transition: opacity .45s var(--ease), transform .55s var(--ease), background .3s; transition-delay: calc(.06s + var(--i) * .05s); }
.has-mega.is-open .mega-card, .has-mega.is-open .mega-all { opacity: 1; transform: none; }
.mega-card { display: grid; grid-template-columns: 72px 1fr 20px; gap: 14px; align-items: center; padding: 8px; border-radius: 18px; }
.mega-card:hover { background: var(--paper-2); }
.mega-img { width: 72px; aspect-ratio: 1; border-radius: 14px; overflow: hidden; background: var(--stage); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.mega-card:hover .mega-img img { transform: scale(1.1); }
.mega-txt { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.mega-txt b { font-size: .95rem; }
.mega-txt small { font-size: .8rem; color: var(--mute); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-arrow { color: var(--mute); transition: transform .45s var(--spring), color .3s; }
.mega-card:hover .mega-arrow { transform: translate(2px, -2px); color: var(--blue); }
.mega-all { display: flex; flex-direction: column; justify-content: flex-end; gap: 6px; padding: 20px; border-radius: 20px; background: var(--ink); color: #fff; position: relative; overflow: hidden; }
.mega-all span { font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; }
.mega-all small { color: rgba(255, 255, 255, .7); font-size: .82rem; }
.mega-all .i { position: absolute; top: 18px; inset-inline-end: 18px; transition: transform .5s var(--spring); }
.mega-all:hover { background: var(--blue); }
.mega-all:hover .i { transform: translateX(4px); }
.hdr-act { display: flex; align-items: center; gap: 8px; flex: none; }
.lang { position: relative; }
.lang-btn { display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 999px; font-size: .82rem; font-weight: 600; transition: background .3s, transform .4s var(--spring); }
.lang-btn:hover, .lang.is-open .lang-btn { background: var(--paper-2); }
.lang-btn:active { transform: scale(.94); }
/* country flags beside every language choice */
.flag { flex: none; display: inline-block; width: 20px; height: 15px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(11, 11, 15, .1); transition: transform .4s var(--spring); }
.lang-btn .i-chevron-down { width: 14px; height: 14px; opacity: .55; transition: transform .4s var(--spring); }
.lang.is-open .lang-btn .i-chevron-down { transform: rotate(180deg); }
.lang-btn:hover .flag { transform: scale(1.08); }
.lang-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 12px); width: 340px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; background: #fff; border: 1px solid var(--line); border-radius: 22px; box-shadow: var(--shadow-2);
  transform-origin: top right; transform: scale(.9) translateY(-6px); opacity: 0; pointer-events: none; transition: transform .5s var(--spring-soft), opacity .25s; }
[dir="rtl"] .lang-pop { transform-origin: top left; }
.lang.is-open .lang-pop { transform: none; opacity: 1; pointer-events: auto; }
.lang-pop a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: 12px; font-size: .88rem; opacity: 0; transform: translateY(6px); transition: background .25s, opacity .35s, transform .4s var(--ease); transition-delay: calc(var(--i) * .018s); }
.lang.is-open .lang-pop a { opacity: 1; transform: none; }
.lang-pop a:hover { background: var(--paper-2); }
.lang-pop a[aria-current] { background: var(--blue-soft); color: var(--blue); font-weight: 600; }
.lang-name { flex: 1; min-width: 0; }
.lang-code { font-size: .68rem; font-weight: 700; color: var(--mute); letter-spacing: .04em; }
.lang-pop a:hover .flag { transform: scale(1.12) rotate(-3deg); }
.lang-pop a[aria-current] .lang-code { color: var(--blue); }
.burger { display: none; width: 42px; height: 42px; border-radius: 50%; position: relative; background: var(--ink); transition: transform .4s var(--spring), background .3s; }
.burger:active { transform: scale(.9); }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--spring-soft), top .3s; }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
.burger[aria-expanded="true"] span:first-child { top: 20px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 20px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; background: #fff; padding: 110px var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto;
  clip-path: circle(0 at calc(100% - 48px) 46px); transition: clip-path .75s var(--ease-io); }
[dir="rtl"] .mnav { clip-path: circle(0 at 48px 46px); }
.mnav.is-open { clip-path: circle(150% at calc(100% - 48px) 46px); }
[dir="rtl"] .mnav.is-open { clip-path: circle(150% at 48px 46px); }
.mnav-links a { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: clamp(1.7rem, 7vw, 2.6rem); font-weight: 600; letter-spacing: -.03em;
  opacity: 0; transform: translateY(24px); transition: opacity .5s var(--ease), transform .7s var(--ease); transition-delay: calc(.12s + var(--i) * .05s); }
.mnav-links a .i { width: .8em; height: .8em; color: var(--mute); }
.mnav-links a[aria-current] { color: var(--blue); }
.mnav-foot { display: grid; gap: 18px; opacity: 0; transform: translateY(20px); transition: opacity .5s .4s, transform .7s var(--ease) .4s; }
.mnav.is-open .mnav-links a, .mnav.is-open .mnav-foot { opacity: 1; transform: none; }
.mnav-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.mnav-langs a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 11px; border-radius: 999px; background: var(--paper-2); font-size: .8rem; font-weight: 600; }
.mnav-langs a[aria-current] { background: var(--ink); color: #fff; }

/* ───────────── shared typography ───────────── */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: .76rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--mute); margin-bottom: 18px; }
:lang(zh) .eyebrow, :lang(ja) .eyebrow, :lang(th) .eyebrow, :lang(ar) .eyebrow { letter-spacing: .06em; font-size: .82rem; }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.shead { max-width: 760px; margin-bottom: clamp(32px, 4vw, 56px); }
.shead-center { text-align: center; margin-inline: auto; }
.shead-title { font-size: clamp(2.1rem, 4.8vw, 3.9rem); line-height: 1.03; letter-spacing: -.038em; }
.shead-lead { font-size: 1.1rem; color: var(--ink-2); margin-top: 20px; max-width: 38em; }
.shead-center .shead-lead { margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .82rem; color: var(--mute); margin-bottom: 26px; }
.crumbs a { transition: color .25s; }
.crumbs a:hover { color: var(--blue); }
.crumbs .i { width: .9em; height: .9em; opacity: .6; }
.crumbs [aria-current] { color: var(--ink); }
.link-u { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .5s var(--ease); }
.link-u:hover { background-size: 100% 1.5px; }

/* ───────────── hero ───────────── */
.hero { position: relative; padding-top: calc(var(--hdr-h) + 70px); overflow: clip; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.hb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; }
.hb1 { width: 46vw; height: 46vw; right: -10vw; top: -14vw; background: radial-gradient(circle, #dbe5ff, transparent 65%); animation: drift 18s ease-in-out infinite; }
.hb2 { width: 30vw; height: 30vw; right: 22vw; top: 30vw; background: radial-gradient(circle, #ffe1e8, transparent 65%); animation: drift 22s ease-in-out infinite reverse; }
.hero-grid-lines { position: absolute; inset: 0; background-image: radial-gradient(rgba(11, 11, 15, .1) 1px, transparent 1px); background-size: 26px 26px; mask-image: radial-gradient(ellipse 70% 60% at 70% 40%, #000, transparent 75%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 80px); align-items: center; min-height: min(740px, calc(100vh - 160px)); }
.hero-eyebrow { color: var(--ink-2); background: #fff; border: 1px solid var(--line); padding: 7px 14px 7px 10px; border-radius: 999px; letter-spacing: .08em; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.live-dot::after { content: ''; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--red); opacity: 0; animation: ping 2s var(--ease) infinite; }
.hero-title { font-size: clamp(3.4rem, 8.6vw, 7.8rem); line-height: .9; letter-spacing: -.05em; font-weight: 600; margin: .28em 0 .32em; }
:lang(zh) .hero-title, :lang(ja) .hero-title { letter-spacing: -.02em; line-height: 1.02; font-size: clamp(3rem, 7.4vw, 6.6rem); }
:lang(ar) .hero-title, :lang(th) .hero-title { letter-spacing: 0; line-height: 1.15; font-size: clamp(2.8rem, 7vw, 6rem); }
.ht-line { display: block; }
.ht-accent { position: relative; display: inline-block; }
.ht-accent em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue); letter-spacing: -.02em; padding-inline-end: .08em; }
:lang(zh) .ht-accent em, :lang(ja) .ht-accent em, :lang(th) .ht-accent em, :lang(ar) .ht-accent em, :lang(uk) .ht-accent em { font-family: var(--font); font-style: normal; font-weight: 650; }
.ht-wisp { position: absolute; inset-inline-start: 0; bottom: -.12em; width: 100%; height: .32em; overflow: visible; }
.ht-wisp path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 340; stroke-dashoffset: 340; opacity: .55; }
.ht-accent .is-in ~ .ht-wisp path, .no-js .ht-wisp path { animation: draw 1.6s var(--ease) .9s forwards; }
.hero-lead { font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); max-width: 31em; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 34px; }
.hero-facts li { display: inline-flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--ink-2); }
.hero-facts .i { color: var(--blue); }
.hero-visual { position: relative; }

/* scratch-off label */
.scratch { position: relative; width: min(100%, 540px); aspect-ratio: 1; margin-inline: auto; user-select: none; -webkit-user-select: none; }
.scratch-ring { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 46s linear infinite; }
.scratch-ring text { font: 600 12.5px var(--font); letter-spacing: .34em; fill: var(--ink); opacity: .5; }
.scratch-disc { position: absolute; inset: 9%; border-radius: 50%; overflow: hidden; background: #ececea; touch-action: none; cursor: grab;
  box-shadow: 0 40px 90px -38px rgba(11, 11, 15, .55), 0 0 0 10px #fff, 0 0 0 11px var(--line); transition: box-shadow .6s var(--ease), transform .8s var(--spring); }
.scratch-disc:active { cursor: grabbing; }
.scratch.is-done .scratch-disc { transform: scale(1.02); box-shadow: 0 50px 100px -40px rgba(229, 36, 59, .45), 0 0 0 10px #fff, 0 0 0 11px var(--line); }
.scratch-disc::after { content: ''; position: absolute; inset: 12px; border-radius: 50%; border: 2px dashed rgba(255, 255, 255, .75); pointer-events: none; z-index: 3; }
.scratch-under { position: absolute; inset: 0; }
.scratch-under img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.12); transition: transform 1.4s var(--ease); }
.scratch.is-done .scratch-under img { transform: scale(1); }
.scratch-msg { position: absolute; inset-inline: 13%; bottom: 13%; z-index: 4; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .9); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  opacity: 0; transform: translateY(18px) scale(.96); transition: opacity .6s var(--ease) .5s, transform .8s var(--spring) .5s; }
.scratch-msg b { display: flex; align-items: center; gap: 8px; font-size: .95rem; color: var(--red); }
.scratch-msg p { font-size: .78rem; line-height: 1.4; color: var(--ink-2); margin-top: 4px; }
.scratch.is-done .scratch-msg { opacity: 1; transform: none; }
.scratch-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; transition: opacity .9s var(--ease); }
.no-js .scratch-canvas { display: none; }
.scratch.is-done .scratch-canvas { opacity: 0; pointer-events: none; }
.scratch-wisps { position: absolute; inset: 0; z-index: 5; pointer-events: none; overflow: visible; }
.scratch-wisps path { fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-dasharray: 120; stroke-dashoffset: 120; opacity: 0; filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .25)); }
.scratch.is-done .scratch-wisps path { animation: wisp 2.6s var(--ease) infinite; }
.scratch.is-done .scratch-wisps path:nth-child(2) { animation-delay: .35s; }
.scratch.is-done .scratch-wisps path:nth-child(3) { animation-delay: .7s; }
.scratch-burst { position: absolute; left: 50%; top: 50%; z-index: 5; pointer-events: none; }
.scratch-burst i { position: absolute; width: 10px; height: 10px; margin: -5px; border-radius: 50%; background: var(--red); opacity: 0; }
.scratch-burst i:nth-child(3n) { background: var(--blue); } .scratch-burst i:nth-child(3n+1) { background: #ffb3c1; width: 7px; height: 7px; }
.scratch.is-done .scratch-burst i { animation: burst 1.1s var(--ease) forwards; }
.scratch-hint, .scratch-again { position: absolute; left: 50%; bottom: 1%; z-index: 6; display: inline-flex; align-items: center; gap: 8px; padding: 9px 15px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 550; white-space: nowrap; transform: translateX(-50%); transition: opacity .4s, transform .5s var(--spring); }
.scratch-hint { animation: bob 2.6s ease-in-out infinite; pointer-events: none; }
.scratch-hint .i { animation: wiggle 1.6s ease-in-out infinite; }
.scratch.is-scratching .scratch-hint, .scratch.is-done .scratch-hint { opacity: 0; transform: translate(-50%, 10px); animation: none; }
.scratch-again:hover { background: var(--blue); transform: translateX(-50%) scale(1.05); }
.scratch-again[hidden] { display: none; }
.scratch-key { position: absolute; left: 50%; top: 50%; z-index: 7; transform: translate(-50%, -50%); opacity: 0; pointer-events: none; padding: 10px 16px; border-radius: 999px; background: #fff; font-weight: 600; }
.scratch-key:focus-visible { opacity: 1; pointer-events: auto; }
.orbit { position: absolute; left: var(--x); top: var(--y); width: 19%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 5px solid #fff; box-shadow: var(--shadow-2); z-index: 3;
  animation: float 7s ease-in-out infinite; animation-delay: calc(var(--i) * -1.7s); translate: var(--mx, 0) var(--my, 0); transition: translate .9s var(--ease); }
.orbit img { width: 100%; height: 100%; object-fit: cover; }

/* scent marquee */
.mq { margin-top: clamp(48px, 7vw, 96px); border-block: 1px solid var(--line); padding-block: 14px; overflow: hidden; direction: ltr; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.mq-row + .mq-row { margin-top: 6px; }
.mq-track { display: flex; gap: 48px; width: max-content; animation: mq 48s linear infinite; }
.mq-rev .mq-track { animation-direction: reverse; animation-duration: 56s; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-item { display: inline-flex; align-items: baseline; gap: 12px; font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 600; letter-spacing: -.035em; white-space: nowrap; }
.mq-rev .mq-item { color: transparent; -webkit-text-stroke: 1.2px var(--ink); }
.mq-item small { font-size: .7rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); -webkit-text-stroke: 0; }
.mq-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--blue); align-self: center; }
.mq-item:nth-child(even) .mq-dot { background: var(--red); }

/* ───────────── scent notes ───────────── */
.notes-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(36px, 7vw, 110px); align-items: center; }
.notes-visual { position: relative; padding-top: 40px; }
/* scent card: one AI photo per note (ai-scent-*), the active one opens as a circle from the label */
.swatch { position: relative; width: min(100%, 420px); aspect-ratio: 4 / 5; margin-inline: auto; border-radius: var(--r-xl); overflow: hidden; isolation: isolate;
  background: var(--c2); box-shadow: 0 50px 90px -50px var(--c1), 0 0 0 1px rgba(11, 11, 15, .06);
  transition: --c1 .9s var(--ease), --c2 .9s var(--ease), transform .6s var(--spring); }
.swatch:hover { transform: translateY(-4px) rotate(-.6deg); }
.swatch-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.08); clip-path: circle(0% at 50% 58%);
  transition: clip-path 1s var(--ease), transform 1.4s var(--ease), opacity 0s linear 1s; }
.swatch-img.is-on { z-index: 1; opacity: 1; transform: scale(1); clip-path: circle(150% at 50% 58%); transition: clip-path 1s var(--ease), transform 1.4s var(--ease), opacity 0s; }
.swatch-txt { position: absolute; z-index: 2; inset-inline-start: 18px; bottom: 18px; display: flex; align-items: baseline; gap: 10px; padding: 10px 16px; border-radius: 999px;
  background: rgba(255, 255, 255, .82); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: var(--ink); box-shadow: 0 10px 30px -16px rgba(0, 0, 0, .35); }
.swatch-txt em { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2rem); line-height: 1; }
:lang(zh) .swatch-txt em, :lang(ja) .swatch-txt em, :lang(th) .swatch-txt em, :lang(ar) .swatch-txt em, :lang(uk) .swatch-txt em { font-family: var(--font); font-style: normal; font-weight: 650; font-size: clamp(1.3rem, 2.2vw, 1.7rem); }
.swatch-txt small { font-size: .7rem; font-weight: 650; letter-spacing: .18em; text-transform: uppercase; color: var(--c1); transition: color .9s; }
.swatch .is-swap { animation: swap-in .6s var(--ease); }
@media (prefers-reduced-motion: reduce) { .swatch-img, .swatch-img.is-on { transition: opacity .3s; clip-path: none; transform: none; } }
.swatch-wisps { position: absolute; top: -4%; left: 50%; width: 36%; transform: translateX(-50%); overflow: visible; }
.swatch-wisps path { fill: none; stroke: var(--c1); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 130; animation: wisp 3s var(--ease) infinite; opacity: 0; transition: stroke .9s; }
.swatch-wisps path:nth-child(2) { animation-delay: .5s; } .swatch-wisps path:nth-child(3) { animation-delay: 1s; }
.notes .shead { margin-bottom: 0; }
.note-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 30px 0 26px; }
.note-chip { display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px 10px 12px; border-radius: 999px; background: #fff; border: 1.5px solid var(--line); font-size: .9rem; font-weight: 550;
  transition: transform .45s var(--spring), border-color .3s, background .35s, color .35s; }
.note-chip i { width: 13px; height: 13px; border-radius: 50%; background: var(--c); transition: transform .5s var(--spring), box-shadow .3s; }
.note-chip:hover { transform: translateY(-3px); border-color: var(--line-2); }
.note-chip:active { transform: scale(.94); }
.note-chip[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.note-chip[aria-selected="true"] i { transform: scale(1.35); box-shadow: 0 0 0 3px rgba(255, 255, 255, .22); }
.note-line { font-size: clamp(1.2rem, 2vw, 1.55rem); line-height: 1.42; letter-spacing: -.015em; min-height: 3em; view-transition-name: note-line; }
.note-works { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-top: 18px; font-size: .9rem; color: var(--mute); view-transition-name: note-works; }
.note-works a { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 600; background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1.5px no-repeat; padding-bottom: 2px; transition: color .3s, background-size .4s; }
.note-works a:hover { color: var(--blue); }
.note-disclaimer { margin-top: 26px; font-size: .76rem; color: var(--mute); }
.notes-copy .is-swap { animation: swap-in .6s var(--ease); }

/* ───────────── tabs (sliding pill) ───────────── */
.tabs { position: relative; display: inline-flex; gap: 2px; padding: 5px; max-width: 100%; overflow-x: auto; scrollbar-width: none; background: var(--paper-2); border-radius: 999px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs > button, .tabs > a { position: relative; z-index: 1; padding: 9px 17px; border-radius: 999px; font-size: .88rem; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: color .35s, transform .4s var(--spring); }
.tabs > button:active, .tabs > a:active { transform: scale(.95); }
.tabs > [aria-selected="true"], .tabs > [aria-current] { color: #fff; }
.tabs-pill { position: absolute; top: 5px; bottom: 5px; left: 0; width: var(--w, 0); transform: translateX(var(--x, 0)); border-radius: 999px; background: var(--ink); opacity: 0; transition: transform .55s var(--spring-soft), width .55s var(--spring-soft), opacity .3s; }
.tabs.is-ready .tabs-pill { opacity: 1; }
.no-js .tabs > [aria-current], .tabs:not(.is-ready) > [aria-current], .tabs:not(.is-ready) > [aria-selected="true"] { background: var(--ink); }

/* ───────────── product range & cards ───────────── */
.range-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(30px, 4vw, 52px); }
.range-head .shead { margin-bottom: 0; }
.range-more { display: flex; justify-content: center; margin-top: 44px; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.pgrid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard.is-filtered { display: none; }
.pcard-link { display: flex; flex-direction: column; height: 100%; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); overflow: hidden;
  transition: transform .7s var(--ease), box-shadow .7s var(--ease), border-color .4s; }
.pcard-link:hover { transform: translateY(-7px); box-shadow: 0 30px 60px -32px color-mix(in srgb, var(--tone) 55%, rgba(11, 11, 15, .5)); border-color: transparent; }
.pcard-link:active { transform: translateY(-3px) scale(.985); transition-duration: .2s; }
.pcard-media { position: relative; display: block; aspect-ratio: 1; background: var(--stage); overflow: hidden; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease), filter .6s; view-transition-class: pimg; }
.pcard-link:hover .pcard-media img { transform: scale(1.07); }
.pcard-glow { position: absolute; inset: auto -20% -45%; height: 75%; background: radial-gradient(closest-side, var(--tone), transparent); opacity: 0; mix-blend-mode: screen; transition: opacity .7s, transform .9s var(--ease); transform: translateY(20%); }
.pcard-link:hover .pcard-glow { opacity: .6; transform: none; }
.pcard-cat { position: absolute; inset-inline-start: 12px; top: 12px; padding: 6px 11px; border-radius: 999px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .7rem; font-weight: 650; letter-spacing: .02em; }
.pcard-body { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 18px 18px 20px; }
.pcard-name { font-size: 1.1rem; line-height: 1.22; letter-spacing: -.02em; padding-inline-end: 40px; }
.pcard-tag { font-size: .88rem; line-height: 1.45; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pcard-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.pcard-chips li { padding: 4px 9px; border-radius: 999px; background: var(--paper-2); font-size: .7rem; font-weight: 550; color: var(--ink-2); }
.pcard-go { position: absolute; inset-inline-end: 16px; top: 16px; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--paper-2); transition: transform .55s var(--spring), background .35s, color .35s; }
.pcard-link:hover .pcard-go { background: var(--tone); color: #fff; transform: rotate(45deg) scale(1.1); }
[dir="rtl"] .pcard-link:hover .pcard-go { transform: rotate(-45deg) scale(1.1); }
::view-transition-group(.pimg) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }

/* ───────────── how it works ───────────── */
.how { background: linear-gradient(180deg, #fff, var(--paper-2) 30%, var(--paper-2) 70%, #fff); }
.how-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.how-sticky { display: grid; place-items: center; }
.how-visual { position: relative; width: min(100%, 400px); aspect-ratio: 1; }
.how-svg { width: 100%; height: 100%; overflow: visible; }
.how-perf { fill: none; stroke: var(--line-2); stroke-width: 2; stroke-dasharray: 6 9; transform-origin: 200px 200px; animation: spin 60s linear infinite; }
.how-art { fill: rgba(255, 255, 255, .28); }
.cap { fill: #fff; opacity: 0; transform: scale(0); transform-box: fill-box; transform-origin: center; transition: opacity .5s, transform .8s var(--spring); transition-delay: calc(var(--i) * 14ms); }
.how-visual[data-step] .cap { opacity: .92; transform: scale(1); }
.how-visual[data-step="2"] .cap, .how-visual[data-step="3"] .cap { fill: rgba(255, 255, 255, .78); }
.how-sheen { transform: translateX(-260px) skewX(-12deg); }
.how-visual[data-step="2"] .how-sheen { animation: sheen 1.8s var(--ease) .2s forwards; }
.how-scratch { fill: none; stroke: #fff; stroke-width: 12; stroke-linecap: round; stroke-dasharray: 270; stroke-dashoffset: 270; opacity: .9; transition: stroke-dashoffset 1.1s var(--ease); }
.how-visual[data-step="3"] .how-scratch { stroke-dashoffset: 0; }
.how-visual[data-step="3"] .cap-hit { transform: scale(0); opacity: 0; transition-delay: calc(.35s + var(--i) * 6ms); }
.how-wisps path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 160; stroke-dashoffset: 160; opacity: 0; }
.how-visual[data-step="3"] .how-wisps path { animation: wisp 2.6s var(--ease) .6s infinite; }
.how-visual[data-step="3"] .how-wisps path:nth-child(2) { animation-delay: .95s; }
.how-visual[data-step="3"] .how-wisps path:nth-child(3) { animation-delay: 1.3s; }
.how-steps-dots { position: absolute; left: 50%; bottom: -8px; display: flex; gap: 8px; transform: translateX(-50%); }
.how-steps-dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--line-2); transition: width .5s var(--spring-soft), background .3s; }
.how-visual[data-step="1"] .how-steps-dots i:nth-child(1), .how-visual[data-step="2"] .how-steps-dots i:nth-child(2), .how-visual[data-step="3"] .how-steps-dots i:nth-child(3) { width: 28px; background: var(--blue); }
.how-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 30px 0 0; padding: 0; list-style: none; }
.how-step { position: relative; display: flex; flex-direction: column; gap: 6px; width: 100%; height: 100%; padding: 18px 18px 20px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; text-align: start; cursor: pointer; overflow: hidden; transition: border-color .35s, box-shadow .45s, transform .45s var(--spring); }
.how-step::after { content: ''; position: absolute; inset-inline: 0; bottom: 0; height: 3px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.how-step:hover { transform: translateY(-3px); }
.how-step:active { transform: scale(.97); }
.how-step.is-active { border-color: rgba(29, 78, 216, .35); box-shadow: 0 18px 40px -24px rgba(29, 78, 216, .45); }
.how-step.is-active::after { transform: scaleX(1); }
.how-n { font-size: .74rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.how-step b { font-size: 1.12rem; letter-spacing: -.02em; }
.how-step > span:last-child { font-size: .92rem; line-height: 1.5; color: var(--ink-2); }
.how-proof { display: flex; gap: 10px; align-items: flex-start; margin-top: 22px; font-size: .86rem; color: var(--mute); max-width: 44em; }
.how-proof .i { flex: none; width: 18px; height: 18px; margin-top: 2px; color: var(--blue); }

/* ───────────── applications accordion ───────────── */
.acc { display: flex; gap: 10px; height: clamp(420px, 58vh, 580px); }
.acc-panel { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--r-l); overflow: hidden; background: var(--stage); color: #fff; transition: flex-grow .85s var(--ease); }
.acc-panel.is-active { flex-grow: 4.6; }
.acc-panel > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.18); filter: saturate(.7) brightness(.72); transition: transform 1.2s var(--ease), filter .8s; }
.acc-panel.is-active > img { transform: scale(1); filter: none; }
.acc-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .1), transparent 35%, rgba(0, 0, 0, .78)); }
.acc-num { position: absolute; top: 18px; inset-inline-start: 18px; font-size: .78rem; font-weight: 700; letter-spacing: .1em; opacity: .85; }
.acc-title { position: absolute; inset-inline-start: 22px; bottom: 22px; font-size: 1.05rem; font-weight: 600; letter-spacing: -.01em; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; transition: opacity .35s; }
[dir="rtl"] .acc-title { transform: none; }
/* Chinese / Japanese read top-to-bottom with upright characters; the 180° turn is only for Latin-style scripts */
:lang(zh) .acc-title, :lang(ja) .acc-title { transform: none; text-orientation: upright; letter-spacing: .12em; top: 52px; bottom: auto; }
.acc-panel.is-active .acc-title { opacity: 0; }
.acc-body { position: absolute; inset-inline: 26px; bottom: 26px; display: flex; flex-direction: column; gap: 14px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .7s var(--ease); }
.acc-name { font-size: .82rem; font-weight: 650; letter-spacing: .12em; text-transform: uppercase; opacity: .8; }
.acc-panel.is-active .acc-body { opacity: 1; transform: none; transition-delay: .3s; }
.acc-short { font-size: clamp(1.4rem, 2.6vw, 2.2rem); font-weight: 600; letter-spacing: -.03em; line-height: 1.1; max-width: 16em; }
.acc-go { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; width: fit-content; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); transition: transform .45s var(--spring), background .3s, color .3s; }
.acc-panel:hover .acc-go { transform: scale(1.05); }
.acc-go:hover { background: var(--blue); color: #fff; }

/* ───────────── planner ───────────── */
.planner { display: grid; grid-template-columns: 1fr 1.05fr; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); overflow: hidden; }
.planner-in { display: grid; gap: 24px; align-content: start; padding: clamp(22px, 3vw, 40px); border-inline-end: 1px solid var(--line); }
.planner-out { display: flex; flex-direction: column; gap: 18px; padding: clamp(22px, 3vw, 40px); background: var(--paper-2); }
.pl-field { display: grid; gap: 10px; border: 0; margin: 0; padding: 0; min-width: 0; }
.pl-field legend, .pl-label { font-size: .86rem; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 10px; display: flex; align-items: baseline; gap: 6px; }
.pl-label { margin: 0; }
.pl-label output { font-size: 1.05rem; color: var(--blue); font-variant-numeric: tabular-nums; display: inline-block; transition: transform .35s var(--spring); }
.pl-label output.pop { transform: scale(1.25); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 16px; background: var(--paper-2); }
.seg-opt { position: relative; z-index: 1; }
.seg-opt input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.seg-opt span { display: block; text-align: center; padding: 11px 6px; border-radius: 12px; font-weight: 550; font-size: .9rem; transition: color .35s, transform .4s var(--spring); }
.seg-opt input:checked + span { color: #fff; }
.seg-opt input:focus-visible + span { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.seg-opt:active span { transform: scale(.95); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 12px; background: var(--ink); transform: translateX(var(--x, 0)); transition: transform .55s var(--spring-soft); }
.no-js .seg-opt input:checked + span { background: var(--ink); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 99px; background: linear-gradient(90deg, var(--blue) var(--p, 50%), var(--line) var(--p, 50%)); outline-offset: 6px; }
[dir="rtl"] .slider { background: linear-gradient(270deg, var(--blue) var(--p, 50%), var(--line) var(--p, 50%)); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 12px rgba(0, 0, 0, .15); cursor: grab; transition: transform .35s var(--spring); }
.slider::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); cursor: grab; }
.slider:active::-webkit-slider-thumb { transform: scale(1.25); cursor: grabbing; }
.stepper { display: flex; align-items: center; gap: 6px; padding: 4px; border-radius: 999px; border: 1.5px solid var(--line-2); width: fit-content; transition: border-color .3s, box-shadow .3s; }
.stepper:focus-within { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.stepper button { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--paper-2); transition: transform .4s var(--spring), background .3s; }
.stepper button:hover { background: var(--paper-3); transform: scale(1.06); }
.stepper button:active { transform: scale(.9); }
.stepper input { width: 120px; border: 0; text-align: center; font-weight: 650; font-size: 1.05rem; font-variant-numeric: tabular-nums; background: none; -moz-appearance: textfield; }
.stepper input:focus { outline: none; }
.stepper input::-webkit-inner-spin-button { -webkit-appearance: none; }
.select { position: relative; display: block; }
.select select { width: 100%; appearance: none; border: 1.5px solid var(--line-2); border-radius: 14px; padding: 12px 40px 12px 14px; background: #fff; transition: border-color .3s, box-shadow .3s; }
[dir="rtl"] .select select { padding: 12px 14px 12px 40px; }
.select select:focus { border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); outline: none; }
.select .i { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--mute); }
.pl-preview { position: relative; height: 300px; display: grid; place-items: center; border-radius: 22px; background: #fff; border: 1px solid var(--line); overflow: hidden;
  background-image: radial-gradient(rgba(11, 11, 15, .07) 1px, transparent 1px); background-size: 18px 18px; }
.pl-sheet { position: relative; height: 256px; aspect-ratio: 210 / 297; background: #fff; border-radius: 6px; box-shadow: 0 16px 34px -14px rgba(0, 0, 0, .3), 0 0 0 1px var(--line);
  transition: height .7s var(--ease), aspect-ratio .7s var(--ease), border-radius .7s var(--ease), width .7s var(--ease); }
.pl-sheet.is-roll { height: 120px; aspect-ratio: 3.4 / 1; border-radius: 4px; background: linear-gradient(90deg, #fff, #f4f4f1); }
.pl-sheet.is-roll::before { content: ''; position: absolute; inset-inline-start: -46px; top: 50%; width: 120px; height: 120px; margin-top: -60px; border-radius: 50%; background: repeating-radial-gradient(circle, #fff 0 3px, #eee 3px 4px); box-shadow: 0 8px 20px -8px rgba(0, 0, 0, .3), inset 0 0 0 30px #fff, inset 0 0 0 31px #ddd; z-index: -1; }
.pl-sheet.is-tag { height: 236px; aspect-ratio: 1 / 1.55; border-radius: 22px 22px 18px 18px; }
.pl-sheet.is-tag::before { content: ''; position: absolute; left: 50%; top: 14px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; box-shadow: inset 0 0 0 3px var(--line-2); }
.pl-sheet.is-tag::after { content: ''; position: absolute; left: 50%; bottom: 100%; width: 2px; height: 40px; background: var(--ink-2); opacity: .5; transform-origin: bottom; animation: sway 3s ease-in-out infinite; }
.pl-dot { position: absolute; border-radius: 50%; background: var(--c); box-shadow: inset 0 -3px 6px rgba(0, 0, 0, .12);
  transition: left .7s var(--ease), top .7s var(--ease), width .7s var(--ease), height .7s var(--ease), opacity .45s, transform .6s var(--spring), background .5s; }
.pl-dot.is-new { transform: scale(0); opacity: 0; }
.pl-dot.is-out { transform: scale(0); opacity: 0; }
.pl-sheet.is-roll .pl-track { position: absolute; inset: 0; overflow: hidden; }
.pl-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 0; }
.pl-stats > div { background: #fff; border-radius: 18px; padding: 14px 16px; border: 1px solid var(--line); }
.pl-stats dt { font-size: .74rem; color: var(--mute); font-weight: 550; line-height: 1.3; min-height: 2.6em; }
.pl-stats dd { margin: 6px 0 0; }
.num { font-size: clamp(1.5rem, 2.6vw, 2.2rem); font-weight: 650; letter-spacing: -.035em; font-variant-numeric: tabular-nums; }
.pl-suggest { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 14px 12px 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.pl-suggest span { font-size: .78rem; color: var(--mute); font-weight: 550; }
.pl-suggest a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; transition: color .3s; text-align: end; }
.pl-suggest a:hover { color: var(--blue); }
.pl-suggest a .i { transition: transform .45s var(--spring); }
.pl-suggest a:hover .i { transform: translate(2px, -2px); }
.pl-note { font-size: .76rem; color: var(--mute); }

/* ───────────── films ───────────── */
.films-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3vw, 40px); }
.films-head .shead { margin-bottom: 0; }
.films-nav { display: flex; gap: 8px; }
.films { overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gut); scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 6px var(--gut) 26px; cursor: grab; overscroll-behavior-x: contain; }
.films.is-drag { cursor: grabbing; scroll-snap-type: none; }
.films.is-drag .film { pointer-events: none; }
.films::-webkit-scrollbar { display: none; }
.films-track { display: flex; gap: 16px; width: max-content; }
.film { position: relative; flex: none; height: clamp(380px, 54vh, 540px); aspect-ratio: 9 / 16; border-radius: var(--r-l); overflow: hidden; background: var(--stage); color: #fff; text-align: start; scroll-snap-align: start; transition: transform .7s var(--ease); }
.film-sq { aspect-ratio: 1; }
.film-media, .film-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.film-media img { transition: transform 1.2s var(--ease), filter .6s; }
.film:hover .film-media img { transform: scale(1.06); filter: brightness(.85); }
.film::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(0, 0, 0, .8)); pointer-events: none; }
.film-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 66px; height: 66px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); transform: translate(-50%, -50%) scale(.92); transition: transform .55s var(--spring), background .3s, color .3s; }
.film-play::before { content: ''; position: absolute; inset: -8px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .6); animation: ping 2.4s var(--ease) infinite; }
.film-play .i { width: 24px; height: 24px; margin-inline-start: 3px; fill: currentColor; }
.film:hover .film-play { transform: translate(-50%, -50%) scale(1.1); background: var(--blue); color: #fff; }
.film-cc { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px; border-radius: 999px; background: rgba(0, 0, 0, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); font-size: .68rem; font-weight: 700; letter-spacing: .06em; transition: background .3s, transform .45s var(--spring); }
.film-cc .i { width: 1em; height: 1em; }
.film:hover .film-cc { background: var(--blue); transform: scale(1.06); }
.lb-sub { position: absolute; inset-inline: 6%; z-index: 2; margin: 0 auto; width: fit-content; max-width: 88%; padding: .28em .7em; border-radius: 8px; background: rgba(11, 11, 15, .74); color: #fff; font: 500 clamp(.82rem, 1.6vw, 1.02rem)/1.35 var(--font); text-align: center; pointer-events: none; text-wrap: balance; animation: lb-sub-in .22s var(--spring-soft, ease-out); }
.lb-sub[hidden] { display: none; }
@keyframes lb-sub-in { from { opacity: 0; transform: translateY(4px); } }
.lb-fig video::cue { font-family: var(--font); font-size: 1.05rem; line-height: 1.35; color: #fff; background: rgba(11, 11, 15, .72); }
.film-meta { position: absolute; inset-inline: 18px; bottom: 18px; z-index: 1; display: grid; gap: 6px; }
.film-meta b { font-size: 1rem; line-height: 1.3; letter-spacing: -.01em; }
.film-meta small { display: inline-flex; align-items: center; gap: 6px; font-size: .78rem; opacity: .8; }
.film-meta small .i { width: .95em; height: .95em; }

/* ───────────── certificates ───────────── */
.proof { background: var(--paper-2); }
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 34px); align-items: start; }
.cert { margin: 0; }
.cert-paper { position: relative; display: block; padding: 10px; border-radius: 12px; background: #fff; box-shadow: 0 1px 0 var(--line), 0 22px 44px -26px rgba(0, 0, 0, .4); transform: rotate(var(--r)); transition: transform .8s var(--spring), box-shadow .6s; }
.cert-paper img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; background: #fafafa; border-radius: 4px; }
.cert-paper:hover { transform: rotate(0) translateY(-10px) scale(1.03); box-shadow: 0 1px 0 var(--line), 0 40px 70px -30px rgba(0, 0, 0, .45); }
.cert-zoom { position: absolute; top: 20px; inset-inline-end: 20px; width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: var(--ink); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .3s, transform .5s var(--spring); }
.cert-paper:hover .cert-zoom { opacity: 1; transform: none; }
.cert figcaption { display: grid; gap: 4px; margin-top: 20px; }
.cert figcaption b { font-size: 1rem; }
.cert figcaption small { font-size: .8rem; color: var(--mute); line-height: 1.4; }
.cert-pdf { display: inline-flex; align-items: center; gap: 6px; width: fit-content; margin-top: 6px; font-size: .8rem; font-weight: 600; color: var(--blue); transition: gap .3s var(--ease); }
.cert-pdf:hover { gap: 10px; }

/* ───────────── news ───────────── */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.ncard a { display: flex; flex-direction: column; gap: 16px; height: 100%; }
.ncard-media { display: block; aspect-ratio: 16 / 9; border-radius: var(--r); overflow: hidden; background: var(--paper-2); }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.ncard a:hover .ncard-media img { transform: scale(1.05); }
.ncard-body { display: flex; flex-direction: column; gap: 10px; flex: 1; }
.ncard-meta { display: flex; gap: 10px; align-items: center; font-size: .78rem; color: var(--mute); }
.ncard-meta em { font-style: normal; padding: 3px 8px; border-radius: 99px; background: var(--paper-2); }
.ncard h3 { font-size: 1.2rem; line-height: 1.28; letter-spacing: -.02em; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1.5px no-repeat; transition: background-size .55s var(--ease); width: fit-content; }
.ncard a:hover h3 { background-size: 100% 1.5px; }
.ncard p { font-size: .92rem; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.ncard-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-size: .85rem; font-weight: 600; transition: gap .35s var(--ease), color .3s; }
.ncard a:hover .ncard-go { gap: 10px; color: var(--blue); }
.ngrid-list .ncard-big { grid-column: span 2; }
.ngrid-list .ncard-big .ncard-media { aspect-ratio: 2 / 1; }
.ngrid-list .ncard-big h3 { font-size: 1.6rem; }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 50px; }
.pager-n { font-size: .9rem; color: var(--mute); }

/* ───────────── FAQ ───────────── */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 90px); align-items: start; }
.qa { border-bottom: 1px solid var(--line); }
.qa summary { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 22px 0; list-style: none; cursor: pointer; font-size: 1.1rem; font-weight: 560; letter-spacing: -.01em; transition: color .3s; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { color: var(--blue); }
.qa-ico { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--paper-2); transition: background .35s, transform .6s var(--spring); }
.qa-ico::before, .qa-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px -6px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--spring), background .3s; }
.qa-ico::after { transform: rotate(90deg); }
.qa.is-open .qa-ico, .no-js .qa[open] .qa-ico { background: var(--ink); transform: rotate(180deg); }
.qa.is-open .qa-ico::before, .qa.is-open .qa-ico::after { background: #fff; }
.qa.is-open .qa-ico::after { transform: rotate(0); }
.qa-a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .55s var(--ease); }
.qa-a > div { overflow: hidden; }
.qa-a p { padding-bottom: 22px; color: var(--ink-2); max-width: 46em; opacity: 0; transform: translateY(-6px); transition: opacity .45s, transform .55s var(--ease); }
.qa.is-open .qa-a, .no-js .qa[open] .qa-a { grid-template-rows: 1fr; }
.qa.is-open .qa-a p, .no-js .qa[open] .qa-a p { opacity: 1; transform: none; transition-delay: .1s; }

/* ───────────── CTA band ───────────── */
.cta { position: relative; overflow: hidden; margin: 0 clamp(8px, 1.4vw, 20px); padding: clamp(96px, 13vw, 180px) 0; border-radius: clamp(28px, 4vw, 56px); background: var(--ink); color: #fff; transform-origin: center top; }
.cta-in { position: relative; z-index: 1; text-align: center; }
.cta-title { font-size: clamp(3rem, 9.4vw, 8.4rem); line-height: .94; letter-spacing: -.055em; font-weight: 600; }
.cta-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--blue-ink); letter-spacing: -.02em; }
:lang(zh) .cta-title em, :lang(ja) .cta-title em, :lang(th) .cta-title em, :lang(ar) .cta-title em, :lang(uk) .cta-title em { font-family: var(--font); font-style: normal; font-weight: 650; }
:lang(zh) .cta-title, :lang(ja) .cta-title, :lang(ar) .cta-title, :lang(th) .cta-title { letter-spacing: -.01em; line-height: 1.1; }
.cta-lead { max-width: 34em; margin: 26px auto 0; font-size: 1.12rem; color: rgba(255, 255, 255, .72); }
.cta-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 38px; }
.cta-float { position: absolute; inset: 0; pointer-events: none; }
.cta-dot { position: absolute; width: clamp(64px, 9vw, 132px); aspect-ratio: 1; border-radius: 50%; overflow: hidden; border: 3px solid rgba(255, 255, 255, .14); opacity: .75; animation: drift 16s ease-in-out infinite; animation-delay: calc(var(--i) * -3s); }
.cta-dot img { width: 100%; height: 100%; object-fit: cover; }
.cta-dot:nth-child(1) { left: 6%; top: 14%; } .cta-dot:nth-child(2) { right: 8%; top: 10%; width: clamp(80px, 11vw, 160px); }
.cta-dot:nth-child(3) { left: 12%; bottom: 10%; width: clamp(50px, 6vw, 90px); } .cta-dot:nth-child(4) { right: 14%; bottom: 14%; } .cta-dot:nth-child(5) { left: 46%; top: 6%; width: clamp(40px, 5vw, 70px); opacity: .5; }

/* ───────────── inner page hero ───────────── */
.phero { position: relative; padding: calc(var(--hdr-h) + 80px) 0 clamp(40px, 6vw, 70px); overflow: clip; }
.phero-bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; background-image: radial-gradient(rgba(11, 11, 15, .08) 1px, transparent 1px); background-size: 26px 26px; mask-image: linear-gradient(180deg, #000, transparent 90%); }
.phero-bg span { position: absolute; border-radius: 50%; filter: blur(70px); }
.phero-bg span:first-child { width: 38vw; height: 38vw; right: -8vw; top: -12vw; background: radial-gradient(circle, #dfe7ff, transparent 65%); animation: drift 20s ease-in-out infinite; }
.phero-bg span:last-child { width: 24vw; height: 24vw; right: 28vw; top: 4vw; background: radial-gradient(circle, #ffe4ea, transparent 65%); animation: drift 24s ease-in-out infinite reverse; }
.phero-title { font-size: clamp(2.6rem, 6.4vw, 5.4rem); line-height: .98; letter-spacing: -.045em; max-width: 15em; }
:lang(zh) .phero-title, :lang(ja) .phero-title { letter-spacing: -.015em; line-height: 1.1; }
.phero-lead { margin-top: 24px; max-width: 38em; font-size: clamp(1.05rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.phero-split .phero-in { display: grid; grid-template-columns: 1.1fr .9fr; grid-template-areas: 'crumbs fig' 'eyebrow fig' 'title fig' 'lead fig'; column-gap: clamp(28px, 5vw, 80px); align-items: end; }
.phero-split .crumbs { grid-area: crumbs; } .phero-split .eyebrow { grid-area: eyebrow; justify-self: start; } .phero-split .phero-title { grid-area: title; } .phero-split .phero-lead { grid-area: lead; align-self: start; }
.phero-fig { grid-area: fig; margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; background: var(--stage); box-shadow: var(--shadow-2); }
.phero-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ───────────── product page ───────────── */
.pdp-top { padding-top: calc(var(--hdr-h) + 50px); padding-bottom: 30px; }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.pdp-gallery { position: sticky; top: 100px; }
.pdp-main { position: relative; display: block; aspect-ratio: 1; border-radius: var(--r-xl); overflow: hidden; background: var(--stage); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), opacity .4s; view-transition-class: pimg; }
.pdp-main:hover img { transform: scale(1.04); }
.pdp-glow { position: absolute; inset: auto -10% -40%; height: 60%; background: radial-gradient(closest-side, var(--tone), transparent); opacity: .45; mix-blend-mode: screen; pointer-events: none; animation: breathe 6s ease-in-out infinite; }
.pdp-zoom { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); transition: transform .5s var(--spring); }
.pdp-main:hover .pdp-zoom { transform: scale(1.12) rotate(8deg); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; }
.thumb { width: 82px; aspect-ratio: 1; border-radius: 16px; overflow: hidden; background: var(--stage); opacity: .55; box-shadow: 0 0 0 2px transparent; transition: opacity .35s, box-shadow .35s, transform .45s var(--spring); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb:hover { opacity: 1; transform: translateY(-3px); }
.thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px var(--ink); }
.pdp-info { padding-top: 6px; }
.pdp-info .pill { margin-bottom: 18px; }
.pdp-title { font-size: clamp(2.2rem, 4.4vw, 3.7rem); line-height: 1.02; letter-spacing: -.04em; }
.pdp-tagline { margin-top: 18px; font-size: clamp(1.08rem, 1.5vw, 1.25rem); color: var(--ink-2); }
.pdp-chips { display: grid; grid-template-columns: repeat(3, 1fr); margin: 28px 0 22px; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; }
.pdp-chips li { display: grid; gap: 4px; padding: 14px 16px; border-inline-start: 1px solid var(--line); }
.pdp-chips li:first-child { border-inline-start: 0; }
.pdp-chips small { font-size: .72rem; color: var(--mute); font-weight: 550; text-transform: uppercase; letter-spacing: .08em; }
.pdp-chips b { font-size: .92rem; font-weight: 600; }
.pdp-feats li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px dashed var(--line-2); }
.pdp-feats .i { color: var(--blue); margin-top: .2em; }
.pdp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 20px; }
.pdp-trust { display: flex; flex-wrap: wrap; gap: 10px 18px; }
.pdp-trust span { display: inline-flex; align-items: center; gap: 7px; font-size: .82rem; color: var(--ink-2); }
.pdp-trust .i { color: var(--blue); }
.subnav { position: sticky; top: calc(var(--hdr-h) + 24px); z-index: 30; padding: 12px 0; transition: top .55s var(--ease); pointer-events: none; }
.subnav .tabs { pointer-events: auto; box-shadow: var(--shadow-1); background: rgba(245, 245, 242, .9); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); }
.subnav .wrap { display: flex; justify-content: center; }
html.hdr-hidden .subnav { top: 10px; }
.pdp-ov { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.pdp-summary { font-size: clamp(1.35rem, 2.5vw, 2.05rem); line-height: 1.36; letter-spacing: -.022em; }
.pdp-ov-fig { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 1; background: var(--stage); }
.pdp-ov-fig img { width: 100%; height: 100%; object-fit: cover; }
.spec-wrap { border: 1px solid var(--line); border-radius: var(--r-l); overflow: hidden; background: #fff; }
.spec { width: 100%; border-collapse: collapse; font-size: .95rem; }
.spec th { width: 32%; padding: 16px 22px; text-align: start; vertical-align: top; font-weight: 550; color: var(--mute); background: var(--paper-2); }
.spec td { padding: 16px 22px; }
.spec tr + tr > * { border-top: 1px solid var(--line); }
.spec tr { transition: background .25s; }
.spec tr:hover td { background: #fafaf8; }
.spec-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: .82rem; color: var(--mute); }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.use-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; border: 1px solid var(--line); background: #fff; transition: transform .6s var(--ease), box-shadow .6s; }
.use-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.use-card span { display: grid; gap: 4px; padding: 18px 20px 20px; }
.use-card small { color: var(--mute); font-size: .86rem; }
.use-card > .i { position: absolute; top: 14px; inset-inline-end: 14px; width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: #fff; transition: transform .5s var(--spring); }
.use-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.use-card:hover img { transform: scale(1.05); }
.use-card:hover > .i { transform: rotate(45deg); }

/* ───────────── inquiry ───────────── */
.inq-sec { background: var(--paper-2); }
.inq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.inq-points li { display: flex; align-items: center; gap: 10px; padding: 8px 0; color: var(--ink-2); }
.inq-points .i { color: var(--blue); }
.inq-card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: var(--r-xl); box-shadow: var(--shadow-2); padding: clamp(22px, 3vw, 40px); }
.inq-card-title { font-size: 1.5rem; margin-bottom: 22px; }
.inq { position: relative; }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; transition: opacity .5s, filter .5s; }
.field { position: relative; display: block; }
.field.full { grid-column: 1 / -1; }
.field input, .field textarea, .field select { width: 100%; padding: 23px 14px 8px; border: 1.5px solid var(--line-2); border-radius: 14px; background: #fff; color: var(--ink); appearance: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.field textarea { resize: vertical; min-height: 110px; line-height: 1.5; }
.field select { padding-inline-end: 38px; cursor: pointer; }
.field > span { position: absolute; inset-inline-start: 15px; top: 15px; color: var(--mute); font-size: .95rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
[dir="rtl"] .field > span { transform-origin: right top; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.field input:focus + span, .field input:not(:placeholder-shown) + span, .field textarea:focus + span, .field textarea:not(:placeholder-shown) + span, .field-select > span { transform: translateY(-9px) scale(.76); color: var(--blue); }
.field-select > span { color: var(--mute); }
.field-chev { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.field-hint { display: block; margin-top: 6px; font-size: .76rem; color: var(--mute); }
.field.invalid input, .field.invalid textarea { border-color: var(--red); box-shadow: 0 0 0 4px rgba(229, 36, 59, .12); animation: shake .45s; }
.consent { display: flex; align-items: flex-start; gap: 10px; margin: 18px 0 4px; font-size: .86rem; color: var(--ink-2); cursor: pointer; }
.consent input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.consent-box { flex: none; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 7px; border: 1.5px solid var(--line-2); background: #fff; color: #fff; transition: background .3s, border-color .3s, transform .4s var(--spring); }
.consent-box .i { width: 14px; height: 14px; stroke-width: 3; transform: scale(0); transition: transform .45s var(--spring); }
.consent input:checked + .consent-box { background: var(--ink); border-color: var(--ink); }
.consent input:checked + .consent-box .i { transform: none; }
.consent input:focus-visible + .consent-box { outline: 2.5px solid var(--blue); outline-offset: 2px; }
.consent:active .consent-box { transform: scale(.9); }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 18px; }
.inq-status { font-size: .86rem; color: var(--mute); }
.inq-status.err { color: var(--red); }
.inq-status.ok { color: var(--blue); }
.inq-done { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; text-align: center; opacity: 0; pointer-events: none; transform: scale(.94); transition: opacity .5s .2s, transform .7s var(--spring) .2s; }
.inq-done svg { width: 76px; height: 76px; }
.inq-done circle { fill: none; stroke: var(--blue); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; }
.inq-done path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; }
.inq-done p { max-width: 24em; font-weight: 550; font-size: 1.05rem; }
.inq.sent > :not(.inq-done) { opacity: 0; filter: blur(6px); pointer-events: none; transition: opacity .4s, filter .4s; }
.inq.sent .inq-done { opacity: 1; transform: none; pointer-events: auto; }
.inq.sent .inq-done circle { animation: draw .8s var(--ease) .3s forwards; }
.inq.sent .inq-done path { animation: draw .5s var(--ease) .9s forwards; }

/* ───────────── drawer ───────────── */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(11, 11, 15, .32); -webkit-backdrop-filter: blur(5px); backdrop-filter: blur(5px); opacity: 0; transition: opacity .45s; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 12px; bottom: 12px; inset-inline-end: 12px; width: min(500px, calc(100% - 24px)); overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 3vw, 32px); background: #fff; border-radius: 30px; box-shadow: var(--shadow-2);
  transform: translateX(calc(100% + 24px)); transition: transform .65s var(--ease); }
[dir="rtl"] .drawer-panel { transform: translateX(calc(-100% - 24px)); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer.is-vt .drawer-panel { transition: none; }
.drawer-head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.drawer-head h2 { font-size: 1.9rem; letter-spacing: -.035em; }
.drawer-head p { margin-top: 8px; color: var(--mute); font-size: .9rem; }
.drawer-plan { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 16px; padding: 12px 14px; border-radius: 16px; background: var(--blue-soft); color: var(--blue); font-size: .84rem; }
.drawer-plan[hidden] { display: none; }
.drawer-plan b { color: var(--ink); font-weight: 550; }
.drawer .inq-grid > * , .drawer .consent, .drawer .inq-actions { opacity: 0; transform: translateY(14px); transition: opacity .45s var(--ease), transform .6s var(--ease); }
.drawer.is-open .inq-grid > *, .drawer.is-open .consent, .drawer.is-open .inq-actions { opacity: 1; transform: none; }
.drawer.is-open .inq-grid > :nth-child(5) { transition-delay: .12s; } .drawer.is-open .inq-grid > :nth-child(6) { transition-delay: .16s; } .drawer.is-open .inq-grid > :nth-child(7) { transition-delay: .2s; }
.drawer.is-open .inq-grid > :nth-child(8) { transition-delay: .24s; } .drawer.is-open .inq-grid > :nth-child(9) { transition-delay: .28s; } .drawer.is-open .inq-grid > :nth-child(10) { transition-delay: .32s; }
.drawer.is-open .consent { transition-delay: .36s; } .drawer.is-open .inq-actions { transition-delay: .4s; }

/* ───────────── chat ───────────── */
.chat-tab { position: fixed; right: 0; top: 50%; z-index: 40; display: flex; inline-size: max-content; block-size: max-content; align-items: center; gap: 8px; padding: 16px 10px; writing-mode: vertical-rl; border-radius: 14px 0 0 14px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  transform: translateY(-50%); transition: padding .4s var(--ease), background .3s, opacity .3s; }
[dir="rtl"] .chat-tab { right: auto; left: 0; border-radius: 0 14px 14px 0; }
.chat-tab:hover { padding-left: 14px; background: var(--blue); }
.chat-tab.is-open { opacity: 0; pointer-events: none; }
.chat-tab .i { transform: rotate(90deg); }
.chat-badge[hidden] { display: none; }
.chat-badge { position: absolute; top: -6px; left: -6px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 99px; background: var(--red); font-size: .7rem; display: grid; place-items: center; writing-mode: horizontal-tb; animation: pop .5s var(--spring); }
.chat { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 70; display: flex; flex-direction: column; width: min(390px, calc(100% - 24px)); height: min(580px, calc(100% - 36px)); overflow: hidden; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-2);
  transform-origin: bottom right; animation: pop-in .55s var(--spring-soft); }
[dir="rtl"] .chat { transform-origin: bottom left; }
.chat[hidden] { display: none; }
.chat.is-closing { animation: pop-out .3s var(--ease) forwards; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 14px; border-bottom: 1px solid var(--line); }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head h2 { font-size: 1rem; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: .76rem; color: var(--mute); margin-top: 2px; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .18); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--paper-2); }
.chat-msg { max-width: 84%; padding: 10px 14px; border-radius: 18px; font-size: .9rem; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; animation: msg-in .45s var(--spring-soft); }
.chat-msg.agent { align-self: flex-start; background: #fff; border-end-start-radius: 6px; }
.chat-msg.visitor { align-self: flex-end; background: var(--ink); color: #fff; border-end-end-radius: 6px; }
.chat-msg.note { align-self: center; max-width: 92%; background: none; color: var(--mute); font-size: .76rem; text-align: center; }
.chat-msg.pending { opacity: .55; }
.chat-msg.failed { background: var(--red); }
.chat-msg time { display: block; margin-top: 4px; font-size: .68rem; opacity: .55; }
.chat-gate { padding: 16px; border-top: 1px solid var(--line); }
.chat-gate[hidden], .chat-input[hidden] { display: none; }
.chat-gate-title { font-weight: 600; }
.chat-gate-text { font-size: .82rem; color: var(--mute); margin: 4px 0 12px; }
.chat-row { display: flex; gap: 8px; }
.chat-row input { flex: 1; min-width: 0; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 999px; transition: border-color .3s, box-shadow .3s; }
.chat-row input:focus, .chat-input textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px var(--blue-soft); }
.chat-err { color: var(--red); font-size: .8rem; margin-top: 8px; }
.chat-privacy { font-size: .72rem; color: var(--mute); margin-top: 10px; }
.chat-input { display: flex; align-items: flex-end; gap: 8px; padding: 12px; border-top: 1px solid var(--line); }
.chat-input textarea { flex: 1; resize: none; max-height: 120px; padding: 10px 14px; border: 1.5px solid var(--line-2); border-radius: 20px; line-height: 1.4; }

/* ───────────── overlays ───────────── */
.wa-fab { position: fixed; inset-inline-end: 18px; bottom: 18px; z-index: 39; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: var(--shadow-2); transition: transform .5s var(--spring); }
.wa-fab:hover { transform: scale(1.1) rotate(-6deg); }
.lb { position: fixed; inset: 0; z-index: 90; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb-bg { position: absolute; inset: 0; background: rgba(11, 11, 15, .9); opacity: 0; transition: opacity .45s; }
.lb.is-open .lb-bg { opacity: 1; }
.lb-fig { position: relative; z-index: 1; margin: 0; max-width: min(92vw, 1100px); }
.lb-fig img, .lb-fig video { display: block; max-width: 100%; max-height: 80vh; width: auto; height: auto; border-radius: 16px; box-shadow: 0 40px 100px -30px rgba(0, 0, 0, .7); background: #000; }
.lb:not(.is-vt) .lb-fig { opacity: 0; transform: scale(.92); transition: opacity .4s, transform .6s var(--spring-soft); }
.lb.is-open:not(.is-vt) .lb-fig { opacity: 1; transform: none; }
.lb-cap, .lb-count { position: absolute; z-index: 2; left: 50%; transform: translateX(-50%); color: rgba(255, 255, 255, .85); font-size: .86rem; text-align: center; width: min(90vw, 760px); }
.lb-cap { bottom: 26px; } .lb-count { top: 26px; font-variant-numeric: tabular-nums; }
.lb .icon-btn { position: absolute; z-index: 2; background: rgba(255, 255, 255, .95); box-shadow: none; }
.lb-x { top: 18px; inset-inline-end: 18px; }
.lb-prev { inset-inline-start: 18px; top: 50%; margin-top: -21px; } .lb-next { inset-inline-end: 18px; top: 50%; margin-top: -21px; }
.lb.is-single .lb-prev, .lb.is-single .lb-next, .lb.is-single .lb-count { display: none; }
::view-transition-group(lb) { animation-duration: .6s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }
.cursor { position: fixed; left: 0; top: 0; z-index: 100; display: grid; place-items: center; width: 88px; height: 88px; margin: -44px 0 0 -44px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .74rem; font-weight: 650; text-align: center; line-height: 1.2; padding: 10px;
  pointer-events: none; translate: var(--x, -200px) var(--y, -200px); scale: 0; transition: scale .45s var(--spring-soft), background .3s; }
.cursor.is-on { scale: 1; }
@media (pointer: coarse) { .cursor { display: none; } }
.toasts { position: fixed; left: 50%; bottom: 26px; z-index: 110; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 11px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .88rem; font-weight: 550; box-shadow: var(--shadow-2); animation: toast-in .5s var(--spring-soft); }
.toast.is-out { animation: toast-out .35s var(--ease) forwards; }

/* ───────────── footer ───────────── */
.ftr { position: relative; overflow: hidden; padding: clamp(70px, 9vw, 120px) 0 28px; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: 32px; }
.ftr-brand p { margin-top: 18px; max-width: 22em; color: var(--mute); font-size: .92rem; }
.ftr-col h3 { margin-bottom: 14px; font-size: .74rem; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); }
.ftr-col a, .ftr-col p { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; font-size: .92rem; color: var(--ink-2); transition: color .25s, transform .4s var(--ease); }
.ftr-col a:hover { color: var(--blue); transform: translateX(4px); }
[dir="rtl"] .ftr-col a:hover { transform: translateX(-4px); }
.ftr-col .i { margin-top: .2em; color: var(--mute); }
.ftr-quote { font-weight: 650; color: var(--ink) !important; }
.ftr-word { margin: clamp(48px, 7vw, 90px) 0 18px; text-align: center; font-size: clamp(4rem, 18vw, 17rem); font-weight: 750; letter-spacing: -.065em; line-height: .78; user-select: none; direction: ltr; }
.ftr-word span { color: transparent; -webkit-text-stroke: 1.5px var(--line-2); background: radial-gradient(circle at var(--mx, 50%) var(--my, 60%), var(--blue) 0, rgba(29, 78, 216, .4) 9%, transparent 22%) no-repeat; -webkit-background-clip: text; background-clip: text; background-size: 100% 100%; transition: -webkit-text-stroke-color .4s; }
.ftr-word:hover span { -webkit-text-stroke-color: #c9cfe0; }
.ftr-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; padding-top: 22px; border-top: 1px solid var(--line); font-size: .8rem; color: var(--mute); }
.ftr-langs { display: flex; flex-wrap: wrap; gap: 4px 12px; }
.ftr-langs a { display: inline-flex; align-items: center; gap: 6px; transition: color .25s; }
.ftr-langs .flag { width: 16px; height: 12px; border-radius: 2px; opacity: .85; }
.ftr-langs a:hover, .ftr-langs a[aria-current] { color: var(--ink); }
.top-btn { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .5s var(--spring), background .3s; }
.top-btn:hover { transform: translateY(-4px); background: var(--blue); }

/* ───────────── applications pages ───────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.app-card { position: relative; display: flex; flex-direction: column; border-radius: var(--r-l); overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .7s var(--ease), box-shadow .7s; }
.app-card-wide { grid-column: span 2; flex-direction: row; }
.app-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--stage); }
.app-card-wide .app-media { aspect-ratio: auto; flex: 1.1; min-height: 340px; }
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.app-body { display: flex; flex-direction: column; gap: 10px; padding: 22px 22px 24px; flex: 1; }
.app-card-wide .app-body { justify-content: flex-end; padding: 32px; }
.app-n { font-size: .78rem; font-weight: 700; color: var(--blue); letter-spacing: .1em; }
.app-body h2 { font-size: 1.45rem; letter-spacing: -.03em; }
.app-card-wide .app-body h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.app-body p { color: var(--mute); }
.app-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 8px; font-weight: 600; font-size: .9rem; transition: gap .35s var(--ease), color .3s; }
.app-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-2); }
.app-card:hover .app-media img { transform: scale(1.06); }
.app-card:hover .app-go { gap: 10px; color: var(--blue); }
.app-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.app-point { padding: 28px; border-radius: var(--r-l); background: var(--paper-2); }
.app-point-n { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; margin-bottom: 18px; }
.app-point p { font-size: 1.1rem; line-height: 1.45; letter-spacing: -.01em; }
.app-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .86rem; color: var(--mute); }
.next-app { padding-top: 0; }
.next-link { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(28px, 4vw, 44px) 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.next-link small { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }
.next-link span { flex: 1; font-size: clamp(1.8rem, 4vw, 3.2rem); font-weight: 600; letter-spacing: -.04em; }
.next-link .i { width: 48px; height: 48px; padding: 12px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .55s var(--spring), background .3s; }
.next-link:hover .i { transform: translateX(8px); background: var(--blue); }
[dir="rtl"] .next-link:hover .i { transform: scaleX(-1) translateX(8px); }

/* ───────────── about / contact ───────────── */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: center; }
.story-media { position: relative; min-height: 520px; }
.story-fig { position: absolute; margin: 0; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-2); background: var(--stage); }
.story-fig img { width: 100%; height: 100%; object-fit: cover; }
.story-fig-a { inset-inline-start: 0; top: 0; width: 58%; aspect-ratio: 9 / 14; }
.story-fig-b { inset-inline-end: 0; bottom: 0; width: 52%; aspect-ratio: 1; border: 6px solid #fff; }
.story-badge { position: absolute; inset-inline-end: 6%; top: 10%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; animation: bob 4s ease-in-out infinite; }
.story-copy p { color: var(--ink-2); font-size: 1.06rem; margin-top: 18px; }
.story-copy .shead { margin-bottom: 8px; }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.process::before { content: ''; position: absolute; top: 24px; inset-inline: 10%; height: 2px; background: repeating-linear-gradient(90deg, var(--line-2) 0 8px, transparent 8px 14px); }
.process li { position: relative; text-align: center; padding: 0 6px; }
.process-n { position: relative; display: inline-grid; place-items: center; width: 50px; height: 50px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); font-weight: 700; margin-bottom: 16px; transition: background .3s, color .3s, transform .5s var(--spring); }
.process li:hover .process-n { background: var(--ink); color: #fff; transform: scale(1.1); }
.process h3 { font-size: 1.1rem; margin-bottom: 6px; }
.process p { font-size: .88rem; color: var(--mute); }
.facts-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 80px); }
.facts { margin: 0; border-top: 1px solid var(--line); }
.facts > div { display: grid; grid-template-columns: 180px 1fr; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.facts dt { color: var(--mute); font-size: .88rem; }
.facts dd { margin: 0; font-weight: 550; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 12px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 18px 18px 18px 20px; border-radius: var(--r-l); background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s, border-color .3s; }
.ccard:hover { transform: translateY(-3px); box-shadow: var(--shadow-1); border-color: transparent; }
.ccard > div { flex: 1; min-width: 0; }
.ccard small { display: block; font-size: .76rem; color: var(--mute); margin-bottom: 2px; }
.ccard a, .ccard p { font-weight: 560; word-break: break-word; }
.ccard a:hover { color: var(--blue); }
.ccard-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 14px; background: var(--blue-soft); color: var(--blue); }

/* ───────────── article / prose ───────────── */
.art-head { padding-top: calc(var(--hdr-h) + 70px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: .84rem; color: var(--mute); margin-bottom: 18px; }
.art-title { font-size: clamp(2.2rem, 5vw, 3.9rem); line-height: 1.05; letter-spacing: -.04em; }
.art-lead { margin-top: 20px; font-size: 1.2rem; color: var(--ink-2); }
.art-cover { margin: clamp(32px, 4vw, 52px) auto; }
.art-cover img { width: 100%; border-radius: var(--r-xl); aspect-ratio: 16 / 9; object-fit: cover; background: var(--paper-2); }
.art-cover figcaption { margin-top: 10px; font-size: .78rem; color: var(--mute); }
.prose { font-size: 1.08rem; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.7rem; color: var(--ink); margin-top: 2em; letter-spacing: -.03em; }
.prose h3 { font-size: 1.3rem; color: var(--ink); margin-top: 1.6em; }
.prose a { color: var(--blue); background: linear-gradient(currentColor, currentColor) 0 100% / 100% 1px no-repeat; transition: background-size .4s; }
.prose a:hover { background-size: 0 1px; background-position: 100% 100%; }
.prose strong { color: var(--ink); }
.prose ul, .prose ol { padding-inline-start: 1.3em; }
.prose ul { list-style: disc; } .prose ol { list-style: decimal; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--blue); }
.prose blockquote { margin: 1.6em 0; padding: 4px 0 4px 20px; border-inline-start: 3px solid var(--blue); color: var(--ink); font-size: 1.15rem; }
.prose figure { margin: 2em 0; } .prose figure img { border-radius: var(--r); }
.prose figcaption { font-size: .8rem; color: var(--mute); margin-top: 8px; }
.prose hr { border: 0; height: 1px; background: var(--line); margin: 2.4em 0; }
.prose code { font-size: .9em; padding: 2px 6px; border-radius: 6px; background: var(--paper-2); }
.art-faq, .art-sources { margin-top: 60px; }
.art-faq h2, .art-sources h2 { font-size: 1.5rem; margin-bottom: 12px; }
.art-sources ol { list-style: decimal; padding-inline-start: 1.2em; font-size: .9rem; color: var(--ink-2); }
.art-sources li + li { margin-top: 8px; }
.art-sources a { color: var(--blue); }
.art-cta { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 60px; padding: 28px 30px; border-radius: var(--r-l); background: var(--blue-soft); }
.art-cta h2 { font-size: 1.4rem; }
.art-cta p { color: var(--ink-2); margin-top: 6px; }

/* ───────────── 404 ───────────── */
.nf { padding: calc(var(--hdr-h) + 90px) 0 120px; text-align: center; }
.nf-in { display: grid; justify-items: center; gap: 20px; }
.nf-disc { position: relative; width: 240px; aspect-ratio: 1; border-radius: 50%; background: var(--ink); display: grid; place-items: center; margin-bottom: 10px; animation: float 6s ease-in-out infinite; }
.nf-disc span { font-family: var(--serif); font-style: italic; font-size: 5rem; color: #fff; }
.nf-disc svg { position: absolute; bottom: 88%; left: 50%; width: 60%; transform: translateX(-50%); overflow: visible; }
.nf-disc path { fill: none; stroke: var(--blue); stroke-width: 3.5; stroke-linecap: round; stroke-dasharray: 130; animation: wisp 3s var(--ease) infinite; }
.nf-disc path:nth-child(2) { animation-delay: .4s; } .nf-disc path:nth-child(3) { animation-delay: .8s; }
.nf h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); letter-spacing: -.04em; }
.nf p { color: var(--mute); }

/* ───────────── products list bar ───────────── */
.plist { padding-top: 10px; }
.plist-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.plist-count { font-size: .86rem; color: var(--mute); }

/* ───────────── keyframes ───────────── */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0); } 33% { transform: translate(3%, -4%); } 66% { transform: translate(-3%, 3%); } }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(3deg); } }
@keyframes bob { 0%, 100% { margin-bottom: 0; } 50% { margin-bottom: 6px; } }
@keyframes wiggle { 0%, 100% { transform: rotate(0); } 25% { transform: rotate(-14deg); } 75% { transform: rotate(10deg); } }
@keyframes ping { 0% { opacity: .8; transform: scale(.8); } 80%, 100% { opacity: 0; transform: scale(1.6); } }
@keyframes pop { 0% { transform: scale(0); } 100% { transform: scale(1); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes mq { to { transform: translateX(-50%); } }
@keyframes wisp { 0% { stroke-dashoffset: 130; opacity: 0; transform: translateY(8px); } 25% { opacity: .9; } 100% { stroke-dashoffset: -130; opacity: 0; transform: translateY(-14px); } }
@keyframes burst { 0% { opacity: 1; transform: rotate(var(--a)) translateX(0) scale(.4); } 70% { opacity: 1; } 100% { opacity: 0; transform: rotate(var(--a)) translateX(var(--d)) scale(1); } }
@keyframes sheen { from { transform: translateX(-260px) skewX(-12deg); } to { transform: translateX(560px) skewX(-12deg); } }
@keyframes breathe { 0%, 100% { opacity: .35; } 50% { opacity: .6; } }
@keyframes sway { 0%, 100% { transform: rotate(-4deg); } 50% { transform: rotate(4deg); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes swap-in { from { opacity: 0; transform: translateY(8px); filter: blur(4px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.6) translateY(30px); } }
@keyframes pop-out { to { opacity: 0; transform: scale(.7) translateY(30px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.9); filter: blur(4px); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px) scale(.92); filter: blur(4px); } }

/* ───────────── responsive ───────────── */
@media (max-width: 1100px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .nav-link { padding-inline: 11px; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-in { justify-content: space-between; }
  .hero-grid, .notes-grid, .how-grid, .faq-grid, .planner, .pdp-grid, .inq-wrap, .contact-grid, .story-grid, .facts-grid, .pdp-ov { grid-template-columns: 1fr; }
  .hero-grid { min-height: 0; gap: 56px; padding-bottom: 10px; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; }
  .how-visual { width: min(100%, 280px); }
  .how-steps { grid-template-columns: 1fr; }
  .planner-in { border-inline-end: 0; border-bottom: 1px solid var(--line); }
  .pdp-gallery { position: relative; top: 0; }
  .phero-split .phero-in { grid-template-columns: 1fr; grid-template-areas: 'crumbs' 'eyebrow' 'title' 'lead' 'fig'; }
  .phero-fig { margin-top: 32px; aspect-ratio: 4 / 3; }
  .pgrid, .pgrid-3, .app-grid, .ngrid, .use-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-points { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr; gap: 22px; }
  .process::before { top: 0; bottom: 0; inset-inline-start: 24px; inset-inline-end: auto; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--line-2) 0 8px, transparent 8px 14px); }
  .process li { display: grid; grid-template-columns: 50px 1fr; column-gap: 16px; text-align: start; }
  .process-n { grid-row: span 2; margin: 0; }
  .story-media { min-height: 420px; }
  .acc { flex-direction: column; height: auto; }
  .acc-panel, .acc-panel.is-active { flex: none; height: 92px; transition: height .8s var(--ease); }
  .acc-panel.is-active { height: 360px; }
  .acc-title { writing-mode: horizontal-tb; transform: none; bottom: auto; top: 50%; translate: 0 -50%; inset-inline-start: 64px; font-size: 1.1rem; }
  :lang(zh) .acc-title, :lang(ja) .acc-title { top: 50%; letter-spacing: 0; }
  .acc-num { top: 50%; translate: 0 -50%; }
  .acc-panel.is-active .acc-num { top: 18px; translate: none; }
}
@media (max-width: 640px) {
  .hdr { padding-top: 10px; }
  .hdr-quote { display: none; }
  .brand-txt small { display: none; }
  .pgrid, .pgrid-3, .app-grid, .ngrid, .use-grid { grid-template-columns: 1fr; }
  .app-card-wide { grid-column: auto; flex-direction: column; }
  .app-card-wide .app-media { min-height: 0; aspect-ratio: 4 / 3; }
  .ngrid-list .ncard-big { grid-column: auto; }
  .inq-grid { grid-template-columns: 1fr; }
  .pl-stats { grid-template-columns: 1fr 1fr; }
  .pl-stats > div:last-child { grid-column: span 2; }
  .pdp-chips { grid-template-columns: 1fr; }
  .pdp-chips li { border-inline-start: 0; border-top: 1px solid var(--line); }
  .pdp-chips li:first-child { border-top: 0; }
  .facts > div { grid-template-columns: 1fr; gap: 4px; }
  .ftr-top { grid-template-columns: 1fr; }
  .spec th { width: 40%; padding: 14px; } .spec td { padding: 14px; }
  .orbit { width: 17%; border-width: 3px; }
  .film { height: 400px; }
  .film-sq { height: 300px; }
  .scratch-msg { inset-inline: 8%; bottom: 9%; }
  .lang-pop { width: min(320px, calc(100vw - 32px)); }
  .chat-tab { padding: 12px 8px; }
  .cta-btns .btn { width: 100%; }
  .range-head .tabs { width: 100%; }
}

/* ───────────── reduced motion ───────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
  .js [data-reveal] { opacity: 1; transform: none; filter: none; }
  .wi { transform: none !important; }
  .mq-track { animation: none; }
}
