/* WANGPAILI Thermochromic Labels — site styles, v3 "Thermal Bloom".
   White paper and deep ink; warmth is shown as an iridescent bloom (glacier blue → violet → ember).
   Soft geometry: capsules, large radii, glass, grain. Display type is a variable grotesque whose weight and
   width swell where it is "warm". Motion: blur-rise reveals, scroll-pinned stories, circle page transitions,
   WebGL on the home page (thermal.js). */

/* ───────────── fonts (OFL, self-hosted) ───────────── */
@font-face { font-family: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url(/assets/fonts/bricolage-grotesque-latin-standard-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: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url(/assets/fonts/bricolage-grotesque-latin-ext-standard-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: 'Bricolage'; font-style: normal; font-display: swap; font-weight: 200 800; font-stretch: 75% 100%; src: url(/assets/fonts/bricolage-grotesque-vietnamese-standard-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: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-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: 'Inter'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(/assets/fonts/inter-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: 'JetBrains Mono'; font-style: normal; font-display: swap; font-weight: 100 800; src: url(/assets/fonts/jetbrains-mono-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; }

/* ───────────── tokens ───────────── */
@property --heat { syntax: '<number>'; inherits: true; initial-value: 0; }
@property --a { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
:root {
  --paper: #ffffff; --mist: #f4f5fa; --mist-2: #eceef6;
  --ink: #0d0c16; --ink-2: #33323f; --mute: #6f6e7e; --line: rgba(13, 12, 22, .09); --line-2: rgba(13, 12, 22, .16);
  --blue: #2a4dff; --blue-soft: #eef1ff; --violet: #8b5cf6; --rose: #ff4d8d; --ember: #ff4d3a; --hot: var(--ember); --red: #ff3b30;
  --iris: linear-gradient(100deg, #2a4dff, #8b5cf6 38%, #ff4d8d 68%, #ff7a3a);
  --iris-c: conic-gradient(from var(--a), #2a4dff, #8b5cf6, #ff4d8d, #ff7a3a, #2a4dff);
  --glass: rgba(255, 255, 255, .64); --glass-line: rgba(255, 255, 255, .7);
  --r-s: 12px; --r: 20px; --r-l: 32px; --r-xl: clamp(28px, 3.4vw, 48px);
  --shadow-1: 0 1px 2px rgba(13, 12, 22, .05), 0 12px 32px -18px rgba(13, 12, 22, .22);
  --shadow-2: 0 2px 6px rgba(13, 12, 22, .05), 0 40px 80px -40px rgba(13, 12, 22, .4);
  --glow: 0 30px 80px -30px rgba(139, 92, 246, .55);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 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: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --display: 'Bricolage', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, 'SFMono-Regular', Consolas, 'Liberation Mono', monospace;
  --wrap: 1360px; --gut: clamp(16px, 3.4vw, 48px);
  --hdr-h: 64px; --hdr-top: 14px;
  color-scheme: light;
}
:lang(zh) { --font: 'Inter', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', 'Source Han Sans SC', sans-serif; --display: 'Bricolage', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans SC', sans-serif; }
:lang(ja) { --font: 'Inter', 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; --display: 'Bricolage', 'Hiragino Sans', 'Yu Gothic UI', 'Meiryo', 'Noto Sans JP', sans-serif; }
:lang(th) { --font: 'Inter', 'Noto Sans Thai', 'Leelawadee UI', 'Thonburi', Tahoma, sans-serif; --display: var(--font); }
:lang(ar) { --font: 'Noto Sans Arabic', 'Geeza Pro', 'Segoe UI', Tahoma, 'Inter', sans-serif; --display: var(--font); }
/* Bricolage has no Cyrillic: Ukrainian headings use Inter so a line never mixes two typefaces */
:lang(uk) { --font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif; --display: var(--font); }
:lang(vi) { --font: 'Inter', 'Segoe UI', Roboto, Arial, sans-serif; }

/* ───────────── base ───────────── */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: clamp(16px, .5vw + 9.8px, 18.5px); -webkit-text-size-adjust: 100%; scroll-padding-top: 110px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: clip; }
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; }
/* film grain over everything: keeps the large soft gradients from banding and gives the white a paper feel */
body::after { content: ''; position: fixed; inset: 0; z-index: 120; pointer-events: none; opacity: .05; mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
img, svg, video, canvas { 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-family: var(--display); font-weight: 600; font-stretch: 92%; letter-spacing: -.035em; line-height: 1.02; margin: 0; text-wrap: balance; }
:lang(zh) :is(h1, h2, h3, h4), :lang(ja) :is(h1, h2, h3, h4) { letter-spacing: -.01em; line-height: 1.15; }
p { margin: 0; text-wrap: pretty; }
ul, ol { list-style: none; margin: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 6px; }
::selection { background: var(--violet); color: #fff; }
.i { width: 1.15em; height: 1.15em; flex: none; stroke-width: 1.75; }
[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(80px, 10vw, 150px); }
/* soft islands: tinted sections float inside the page with rounded edges */
.proof, .plan, .inq-sec, .films-sec { margin-inline: clamp(6px, 1.2vw, 18px); border-radius: var(--r-xl); background: var(--mist); }
.hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.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; }
.mono { font-family: var(--mono); }
.grad-text { background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────── motion: blur-rise in, drift out ───────────── */
.js [data-reveal] {
  opacity: 0; transform: translate3d(0, 34px, 0) scale(.985); filter: blur(10px);
  transition: opacity .9s var(--ease), transform 1.1s var(--ease), filter .9s var(--ease);
  transition-delay: calc(var(--d, 0s) + var(--i, 0) * .08s);
}
.js [data-reveal="zoom"] { transform: scale(.94); }
.js [data-reveal][data-exit="up"] { transform: translate3d(0, -24px, 0) scale(.985); }
.js [data-reveal]:not(.is-in) { transition-duration: .45s, .55s, .45s; transition-delay: 0s; }
.js [data-reveal].is-in { opacity: 1; transform: none; filter: none; }
/* split words rise out of a blur, violet first, settling to ink */
.w { display: inline-block; vertical-align: top; }
.wi { display: inline-block; opacity: 0; transform: translate3d(0, .5em, 0) rotate(4deg); transform-origin: left bottom; color: var(--violet); filter: blur(8px);
  transition: opacity .8s var(--ease), transform 1s var(--ease), color 1.4s var(--ease), filter .8s var(--ease); transition-delay: calc(var(--d, 0s) + var(--wi, 0) * .05s); }
[data-split][data-exit="up"] .wi { transform: translate3d(0, -.4em, 0) rotate(-3deg); }
[data-split]:not(.is-in) .wi { transition-duration: .4s; transition-delay: calc(var(--wi, 0) * .012s); }
[data-split].is-in .wi { opacity: 1; transform: none; color: inherit; filter: none; }
.no-js .wi, .no-split .wi { opacity: 1 !important; transform: none !important; color: inherit; filter: none; }

/* page leave fallback (browsers without cross-document view transitions) */
html.is-leaving main, html.is-leaving .ftr { opacity: 0; filter: blur(8px); transition: opacity .3s, filter .3s; }

/* ───────────── view transitions: the next page opens as a circle from the click ───────────── */
@view-transition { navigation: auto; }
::view-transition-group(*) { animation-duration: .7s; animation-timing-function: var(--ease); }
::view-transition-old(root) { animation: vt-sink .8s var(--ease-io) both; }
::view-transition-new(root) { animation: vt-circle .9s var(--ease-io) both; }
html.vt-local::view-transition-old(root) { animation: vt-fade-out .28s ease both; }
html.vt-local::view-transition-new(root) { animation: vt-fade-in .28s ease both; }
::view-transition-old(hdr), ::view-transition-new(hdr) { animation: none; }
::view-transition-image-pair(*) { isolation: isolate; }
@keyframes vt-sink { to { transform: scale(.94); filter: blur(4px) brightness(.85); } }
@keyframes vt-circle { from { clip-path: circle(0% at var(--vx, 50%) var(--vy, 50%)); } to { clip-path: circle(142% at var(--vx, 50%) var(--vy, 50%)); } }
@keyframes vt-fade-out { to { opacity: 0; } }
@keyframes vt-fade-in { from { opacity: 0; } }
.hdr { view-transition-name: hdr; }

/* ───────────── buttons: capsules with an iridescent bloom on hover ───────────── */
.btn { --bg: var(--ink); --fg: #fff; position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 3.3em; padding: 0 8px 0 24px; border-radius: 999px; background: var(--bg); color: var(--fg); font-weight: 600; font-size: .92rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .5s var(--spring), color .35s, box-shadow .5s var(--ease), background .35s; }
.btn::before { content: ''; position: absolute; inset: -40%; z-index: -1; background: var(--iris-c); opacity: 0; transform: scale(.4); transition: opacity .45s, transform .8s var(--ease); animation: spin-a 4s linear infinite; }
.btn:hover { transform: scale(1.045); box-shadow: var(--glow); }
.btn:hover::before { opacity: 1; transform: none; }
.btn:active { transform: scale(.95); transition-duration: .15s; }
.btn-ico { display: grid; place-items: center; width: 2.4em; height: 2.4em; border-radius: 50%; background: rgba(255, 255, 255, .14); overflow: hidden; transition: background .35s, transform .5s var(--spring); }
.btn-ico .i { width: 1.1em; height: 1.1em; }
.btn:hover .btn-ico { background: rgba(255, 255, 255, .26); transform: rotate(-12deg); }
.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; } }
@keyframes spin-a { to { --a: 360deg; } }
.btn-ghost { --bg: rgba(255, 255, 255, .7); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn-ghost .btn-ico { background: var(--mist-2); }
.btn-ghost:hover { color: #fff; box-shadow: var(--glow), inset 0 0 0 1.5px transparent; }
.btn-light { --bg: #fff; --fg: var(--ink); }
.btn-light .btn-ico { background: var(--mist-2); }
.btn-light:hover { color: #fff; }
.btn-ghost-light { --bg: rgba(255, 255, 255, .08); --fg: #fff; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .4); }
.btn-sm { height: 2.8em; padding: 0 6px 0 18px; gap: 10px; font-size: .86rem; }
.btn-sm .btn-ico { width: 2.1em; height: 2.1em; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .55; pointer-events: none; }
.icon-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; flex: none; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 1.5px var(--line-2); transition: transform .45s var(--spring), background .3s, color .3s, box-shadow .3s; }
.icon-btn:hover { transform: scale(1.1); background: var(--ink); color: #fff; box-shadow: none; }
.icon-btn:active { transform: scale(.88); }
.icon-btn-primary { background: var(--ink); color: #fff; box-shadow: none; }
.icon-btn-primary:hover { background: var(--violet); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; border-radius: 999px; background: var(--mist); font-size: .8rem; font-weight: 600; transition: background .3s, color .3s, transform .45s var(--spring); }
.pill .i { width: 16px; height: 16px; color: var(--violet); transition: color .3s; }
.pill:hover { background: var(--ink); color: #fff; transform: translateY(-2px) scale(1.03); }
.pill:hover .i { color: #fff; }
.chip-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 42px; padding: 0 18px 0 14px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600; white-space: nowrap;
  transition: transform .45s var(--spring), background .3s, color .3s, box-shadow .4s; }
.chip-btn:hover { transform: scale(1.05); background: var(--ember); box-shadow: 0 16px 40px -14px rgba(255, 77, 58, .7); }
.chip-btn:active { transform: scale(.93); }
.chip-btn .i { width: 17px; height: 17px; }
.chip-btn:hover .i-flame { animation: flicker .5s ease-in-out infinite alternate; }
.chip-cold { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.chip-cold:hover { background: var(--blue); color: #fff; box-shadow: 0 16px 40px -14px rgba(42, 77, 255, .7); }
.chip-btn[hidden] { display: none; }
.chip-sm { height: 32px; font-size: .74rem; padding: 0 12px; }
.ai-tag { position: absolute; inset-inline-start: 10px; bottom: 10px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 5px 9px 5px 7px; border-radius: 999px; background: rgba(13, 12, 22, .62); color: #fff; font: 600 .6rem/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.ai-tag .i { width: 11px; height: 11px; }
.live-dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); flex: none; }
.live-dot::after { content: ''; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid var(--ember); opacity: 0; animation: ping 2s var(--ease) infinite; }

/* ───────────── header: a floating glass capsule ───────────── */
.progress { position: fixed; inset: 0 0 auto; height: 3px; z-index: 60; pointer-events: none; }
.progress i { display: block; height: 100%; background: var(--iris); transform-origin: left; transform: scaleX(var(--p, 0)); border-radius: 0 3px 3px 0; }
[dir="rtl"] .progress i { transform-origin: right; }
.hdr { position: fixed; top: var(--hdr-top); inset-inline: var(--gut); z-index: 50; pointer-events: none; transition: transform .6s var(--ease-io); }
.hdr.is-hidden { transform: translateY(calc(-100% - var(--hdr-top) - 6px)); }
.hdr-in { position: relative; display: flex; align-items: center; gap: 8px; height: var(--hdr-h); max-width: var(--wrap); margin-inline: auto; padding: 0 8px 0 16px; border-radius: 999px; pointer-events: auto;
  background: rgba(255, 255, 255, .55); -webkit-backdrop-filter: saturate(1.6) blur(20px); backdrop-filter: saturate(1.6) blur(20px); box-shadow: inset 0 0 0 1px var(--glass-line), 0 1px 2px rgba(13, 12, 22, .04);
  transition: background .4s, box-shadow .5s var(--ease); }
.hdr.is-scrolled .hdr-in, .hdr.is-solid .hdr-in { background: rgba(255, 255, 255, .82); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-1); }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; padding-inline-end: 10px; transition: transform .45s var(--spring); }
.brand:hover { transform: scale(1.03); }
.brand-mark { width: 34px; height: auto; transition: transform .8s var(--spring); }
.brand:hover .brand-mark { transform: rotate(-14deg) scale(1.05); }
.brand-txt { display: flex; flex-direction: column; line-height: 1; }
.brand-txt b { font-family: var(--display); font-size: 1.02rem; letter-spacing: .02em; font-weight: 700; font-stretch: 86%; }
.brand-txt small { font-size: .62rem; color: var(--mute); letter-spacing: .08em; margin-top: 4px; }
.nav { position: relative; display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.nav-item { position: relative; display: flex; }
.nav-link { position: relative; z-index: 1; display: inline-flex; align-items: center; gap: 6px; height: 42px; padding: 0 16px; border-radius: 999px; font-size: .88rem; font-weight: 550; color: var(--ink-2); transition: color .3s; }
.nav-link:hover, .nav-link[aria-current] { color: var(--ink); }
.nav-link[aria-current]::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--ember); }
.nav-chev { width: .85em; height: .85em; transition: transform .45s var(--spring); }
.has-mega.is-open .nav-chev { transform: rotate(180deg); }
/* the gliding hover blob */
.nav-pill { position: absolute; top: 50%; left: 0; height: 42px; margin-top: -21px; width: var(--w, 0); border-radius: 999px; transform: translateX(var(--x, 0)); background: rgba(13, 12, 22, .06); opacity: 0; transition: transform .5s var(--spring-soft), width .5s var(--spring-soft), opacity .25s; pointer-events: none; }
.nav.is-hover .nav-pill { opacity: 1; }
.mega { position: fixed; top: calc(var(--hdr-top) + var(--hdr-h) + 10px); inset-inline: var(--gut); max-width: var(--wrap); margin-inline: auto; pointer-events: none; z-index: 5; }
.mega::before { content: ''; position: absolute; inset: -16px 0 auto; height: 16px; }
.mega-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) 260px; gap: 8px; padding: 8px; border-radius: var(--r-l); background: rgba(255, 255, 255, .97); -webkit-backdrop-filter: saturate(1.6) blur(30px); backdrop-filter: saturate(1.6) blur(30px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-2);
  opacity: 0; transform: translateY(-10px) scale(.98); transform-origin: top center; transition: opacity .35s, transform .55s var(--spring-soft); }
.has-mega.is-open .mega { pointer-events: auto; }
.has-mega.is-open .mega-in { opacity: 1; transform: none; }
.mega-cards { display: contents; }
.mega-card, .mega-all { opacity: 0; transform: translateY(12px); transition: opacity .4s var(--ease), transform .6s var(--ease), background .3s, color .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 { position: relative; display: grid; grid-template-rows: auto 1fr; gap: 14px; padding: 10px 10px 18px; border-radius: 24px; }
.mega-card:hover { background: #fff; box-shadow: var(--shadow-1); }
.mega-img { width: 100%; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px; background: var(--mist); }
.mega-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .6s; filter: saturate(.6); }
.mega-card:hover .mega-img img { transform: scale(1.07); filter: none; }
.mega-txt { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding-inline: 6px; }
.mega-txt b { font-family: var(--display); font-size: 1.08rem; font-stretch: 90%; }
.mega-txt small { font-size: .8rem; color: var(--mute); line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mega-arrow { position: absolute; top: 20px; inset-inline-end: 20px; width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: #fff; color: var(--ink); opacity: 0; transform: scale(.6); transition: transform .5s var(--spring), opacity .3s; }
.mega-card:hover .mega-arrow { opacity: 1; transform: none; }
.mega-all { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 24px; border-radius: 24px; background: var(--ink); color: #fff; isolation: isolate; }
.mega-all::before { content: ''; position: absolute; width: 220px; height: 220px; top: -60px; inset-inline-end: -60px; z-index: -1; border-radius: 50%; background: var(--iris); filter: blur(40px); opacity: .8; transition: transform 1s var(--ease); }
.mega-all:hover::before { transform: scale(1.5) translate(-20px, 30px); }
.mega-all span { font-family: var(--display); font-size: 1.4rem; font-weight: 600; font-stretch: 88%; }
.mega-all small { color: rgba(255, 255, 255, .66); font-size: .8rem; }
.mega-all .i { position: absolute; top: 22px; inset-inline-start: 22px; transition: transform .5s var(--spring); }
.mega-all:hover .i { transform: translateX(6px); }
.hdr-act { display: flex; align-items: center; gap: 6px; flex: none; }
.hdr-temp { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 12px; border-radius: 999px; background: rgba(13, 12, 22, .04); font: 500 .68rem/1 var(--mono); color: var(--mute); direction: ltr; }
.hdr-temp b { color: var(--ink); font-weight: 600; min-width: 3.4ch; text-align: end; font-variant-numeric: tabular-nums; }
.hdr-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--ember); animation: blink 1.6s ease-in-out infinite; }
.lang { position: relative; display: flex; }
.lang-btn { display: inline-flex; align-items: center; gap: 7px; height: 42px; padding: 0 12px; border-radius: 999px; font: 600 .74rem/1 var(--mono); transition: background .3s, transform .4s var(--spring); }
.lang-btn:hover, .lang.is-open .lang-btn { background: rgba(13, 12, 22, .06); }
.lang-btn:active { transform: scale(.94); }
.flag { flex: none; display: inline-block; width: 20px; height: 15px; object-fit: cover; border-radius: 3px; box-shadow: 0 0 0 1px rgba(13, 12, 22, .1); transition: transform .45s var(--spring); }
.lang-btn .i-chevron-down { width: 13px; height: 13px; opacity: .55; transition: transform .45s var(--spring); }
.lang.is-open .lang-btn .i-chevron-down { transform: rotate(180deg); }
.lang-btn:hover .flag { transform: scale(1.12) rotate(-4deg); }
.lang-pop { position: absolute; inset-inline-end: 0; top: calc(100% + 14px); width: 380px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; padding: 8px; border-radius: 24px; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-2);
  opacity: 0; transform: translateY(-8px) scale(.97); transform-origin: top right; pointer-events: none; transition: opacity .3s, transform .5s var(--spring-soft); }
[dir="rtl"] .lang-pop { transform-origin: top left; }
.lang.is-open .lang-pop { opacity: 1; transform: none; pointer-events: auto; }
.lang-pop a { display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 14px; font-size: .86rem; opacity: 0; transform: translateY(6px); transition: background .2s, color .2s, opacity .35s, transform .5s var(--ease); transition-delay: calc(var(--i) * .018s); }
.lang.is-open .lang-pop a { opacity: 1; transform: none; }
.lang-pop a:hover { background: var(--mist); }
.lang-pop a[aria-current] { background: var(--ink); color: #fff; }
.lang-name { flex: 1; min-width: 0; }
.lang-code { font: 600 .62rem/1 var(--mono); color: var(--mute); letter-spacing: .06em; }
.lang-pop a[aria-current] .lang-code { color: rgba(255, 255, 255, .7); }
.lang-pop a:hover .flag { transform: scale(1.14); }
.hdr-quote { height: 48px; }
.burger { display: none; width: 48px; height: 48px; border-radius: 50%; position: relative; background: var(--ink); transition: background .3s, transform .4s var(--spring); }
.burger:active { transform: scale(.9); }
.burger span { position: absolute; left: 15px; right: 15px; height: 2px; border-radius: 2px; background: #fff; transition: transform .5s var(--spring-soft), top .3s; }
.burger span:first-child { top: 20px; } .burger span:last-child { top: 27px; }
.burger[aria-expanded="true"] { background: var(--ember); }
.burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
.mnav { position: fixed; inset: 0; z-index: 45; padding: calc(var(--hdr-top) + var(--hdr-h) + 28px) var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between; gap: 24px; overflow-y: auto;
  background: radial-gradient(60% 40% at 90% 0%, rgba(139, 92, 246, .22), transparent), radial-gradient(50% 40% at 0% 100%, rgba(42, 77, 255, .18), transparent), #fff;
  clip-path: circle(0 at calc(100% - var(--gut) - 32px) calc(var(--hdr-top) + 32px)); transition: clip-path .8s var(--ease-io); }
[dir="rtl"] .mnav { clip-path: circle(0 at calc(var(--gut) + 32px) calc(var(--hdr-top) + 32px)); }
.mnav.is-open { clip-path: circle(150% at calc(100% - var(--gut) - 32px) calc(var(--hdr-top) + 32px)); }
[dir="rtl"] .mnav.is-open { clip-path: circle(150% at calc(var(--gut) + 32px) calc(var(--hdr-top) + 32px)); }
.mnav-links a { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(1.8rem, 8vw, 2.6rem); font-weight: 600; font-stretch: 86%; letter-spacing: -.035em;
  opacity: 0; transform: translateY(24px); filter: blur(6px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; transition-delay: calc(.2s + var(--i) * .06s); }
.mnav-links a i { font: 500 .7rem/1 var(--mono); font-style: normal; color: var(--violet); }
.mnav-links a .i { width: .7em; height: .7em; color: var(--mute); }
.mnav-links a[aria-current] { color: var(--violet); }
.mnav-foot { display: grid; gap: 18px; opacity: 0; transform: translateY(16px); transition: opacity .5s .5s, transform .7s var(--ease) .5s; }
.mnav.is-open .mnav-links a, .mnav.is-open .mnav-foot { opacity: 1; transform: none; filter: none; }
.mnav-langs { display: flex; flex-wrap: wrap; gap: 6px; }
.mnav-langs a { display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border-radius: 999px; background: var(--mist); font: 600 .7rem/1 var(--mono); }
.mnav-langs a[aria-current] { background: var(--ink); color: #fff; }

/* ───────────── section heads ───────────── */
.eyebrow, .shead-eb { display: inline-flex; align-items: center; gap: 10px; width: fit-content; padding: 7px 14px 7px 10px; border-radius: 999px; background: rgba(255, 255, 255, .7); box-shadow: inset 0 0 0 1px var(--line);
  font: 600 .7rem/1.2 var(--mono); letter-spacing: .1em; text-transform: uppercase; color: var(--ink-2); margin-bottom: 22px; }
.eyebrow-dot, .shead-eb i { width: 9px; height: 9px; border-radius: 50%; background: var(--iris); box-shadow: 0 0 12px rgba(139, 92, 246, .8); animation: glowdot 3s ease-in-out infinite; }
:lang(zh) :is(.shead-eb, .eyebrow), :lang(ja) :is(.shead-eb, .eyebrow), :lang(th) :is(.shead-eb, .eyebrow), :lang(ar) :is(.shead-eb, .eyebrow), :lang(uk) :is(.shead-eb, .eyebrow) { font-family: var(--font); letter-spacing: .04em; font-size: .8rem; text-transform: none; }
.shead { display: flex; flex-direction: column; align-items: flex-start; max-width: 900px; margin-bottom: clamp(36px, 4.4vw, 68px); }
.shead-title { font-size: clamp(2.3rem, 5.2vw, 4.6rem); line-height: .98; letter-spacing: -.045em; font-weight: 600; font-stretch: 86%; }
:lang(zh) .shead-title, :lang(ja) .shead-title { letter-spacing: -.01em; line-height: 1.12; font-size: clamp(2rem, 4.4vw, 3.8rem); }
.shead-lead { font-size: clamp(1.02rem, 1.2vw, 1.14rem); color: var(--ink-2); margin-top: 20px; max-width: 38em; }
.shead-center { align-items: center; text-align: center; margin-inline: auto; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: .8rem; color: var(--mute); margin-bottom: 26px; }
.crumbs a { padding: 4px 10px; border-radius: 999px; transition: color .25s, background .25s; }
.crumbs a:first-child { padding-inline-start: 0; }
.crumbs a:hover { color: var(--ink); background: var(--mist); }
.crumbs a:first-child:hover { padding-inline-start: 10px; }
.crumbs .i { width: .9em; height: .9em; opacity: .5; }
.crumbs [aria-current] { color: var(--ink); font-weight: 550; padding-inline: 4px; }

/* ───────────── home hero: the WebGL label stage ───────────── */
.h3 { position: relative; min-height: max(720px, 100svh); display: flex; flex-direction: column; justify-content: center; padding: calc(var(--hdr-top) + var(--hdr-h) + 40px) 0 120px; overflow: clip; isolation: isolate; --sp: 0; }
.h3-aura { position: absolute; inset: -10% -10% 0; z-index: -2; pointer-events: none; filter: blur(70px) saturate(1.2); transform: translateY(calc(var(--sp) * 140px)); }
.au { position: absolute; border-radius: 50%; opacity: .5; transition: opacity 1.2s, transform 1.2s var(--ease); animation: drift 18s ease-in-out infinite alternate; }
.au1 { width: 46vw; height: 46vw; top: -6%; inset-inline-end: -4%; background: radial-gradient(circle, rgba(42, 77, 255, .5), transparent 68%); }
.au2 { width: 36vw; height: 36vw; top: 30%; inset-inline-end: 22%; background: radial-gradient(circle, rgba(139, 92, 246, .42), transparent 68%); animation-duration: 22s; animation-delay: -6s; }
.au3 { width: 40vw; height: 40vw; bottom: -14%; inset-inline-end: 4%; background: radial-gradient(circle, rgba(255, 77, 58, .38), transparent 68%); opacity: calc(.12 + var(--heat) * .6); animation-duration: 26s; }
.h3-gl { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s var(--ease); touch-action: pan-y; }
.h3.has-gl .h3-gl { opacity: 1; }
.h3-fallback { position: absolute; z-index: -1; top: 50%; inset-inline-end: 8%; width: min(30vw, 440px); aspect-ratio: 4 / 5; margin-top: calc(min(30vw, 440px) * -.62); border-radius: 26px; overflow: hidden; transform: rotate(-6deg); box-shadow: var(--shadow-2); transition: opacity .9s; background: #0d0c16; }
.h3-fallback img { width: 100%; height: 100%; object-fit: cover; }
.h3.has-gl .h3-fallback { opacity: 0; pointer-events: none; }
.h3-in { position: relative; pointer-events: none; transform: translate3d(0, calc(var(--sp) * -90px), 0); opacity: calc(1 - var(--sp) * 1.6); }
.h3-in a, .h3-in button { pointer-events: auto; }
.h3-eyebrow { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 12px; border-radius: 999px; background: var(--glass); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); box-shadow: inset 0 0 0 1px var(--glass-line);
  font: 600 .72rem/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; }
:lang(zh) .h3-eyebrow, :lang(ja) .h3-eyebrow, :lang(th) .h3-eyebrow, :lang(ar) .h3-eyebrow, :lang(uk) .h3-eyebrow { font-family: var(--font); letter-spacing: .04em; font-size: .84rem; text-transform: none; }
.h3-title { margin: clamp(20px, 2.4vw, 34px) 0 clamp(26px, 3vw, 44px); max-width: 58%; font-size: clamp(3.4rem, 9.2vw, 10.4rem); line-height: .86; letter-spacing: -.055em; font-weight: 400; }
:lang(zh) .h3-title, :lang(ja) .h3-title { letter-spacing: -.02em; line-height: 1.04; font-size: clamp(3rem, 7.2vw, 7.6rem); }
:lang(ar) .h3-title, :lang(th) .h3-title { letter-spacing: 0; line-height: 1.18; font-size: clamp(2.6rem, 6.4vw, 6.4rem); }
:lang(de) .h3-title, :lang(fr) .h3-title, :lang(es) .h3-title, :lang(pt) .h3-title, :lang(it) .h3-title, :lang(vi) .h3-title, :lang(tl) .h3-title, :lang(uk) .h3-title, :lang(ru) .h3-title { font-size: clamp(2.8rem, 6.6vw, 7.4rem); }
.ht-line { display: block; }
.hw { display: inline-block; white-space: nowrap; }
:lang(zh) .hw, :lang(ja) .hw, :lang(th) .hw { display: inline; white-space: normal; }
/* heat-reactive letters: --h (0…1) comes from the pointer distance (site.js) */
.hl { --h: 0; display: inline-block; font-variation-settings: 'wght' calc(400 + var(--h) * 400), 'wdth' calc(76 + var(--h) * 24);
  color: color-mix(in oklch, var(--ink), var(--ember) calc(var(--h) * 70%)); transform: translateY(calc(var(--h) * -.03em));
  transition: color .25s; }
.ht-accent .hl { background: var(--iris) 0 0 / 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: heat-slide 9s linear infinite; animation-delay: calc(var(--li) * -.12s); font-variation-settings: 'wght' calc(560 + var(--h) * 240), 'wdth' calc(80 + var(--h) * 20); }
.js .h3-title .hl { opacity: 0; translate: 0 .6em; filter: blur(12px); }
html[data-ready] .h3-title .hl { animation: hl-in 1.1s var(--ease) both; animation-delay: calc(.25s + var(--li) * .028s); }
html[data-ready] .h3-title .ht-accent .hl { animation: hl-in 1.1s var(--ease) both calc(.25s + var(--li) * .028s), heat-slide 9s linear infinite calc(var(--li) * -.12s); }
@keyframes hl-in { from { opacity: 0; translate: 0 .6em; filter: blur(12px); } to { opacity: 1; translate: 0 0; filter: blur(0); } }
.h3-foot { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 24px 40px; max-width: 54%; }
.h3-lead { flex: 1 1 320px; font-size: clamp(1.02rem, 1.25vw, 1.18rem); color: var(--ink-2); max-width: 30em; }
.h3-ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.js .h3-eyebrow, .js .h3-foot > *, .js .h3-panel { opacity: 0; transform: translateY(24px); filter: blur(8px); }
html[data-ready] .h3-eyebrow, html[data-ready] .h3-foot > *, html[data-ready] .h3-panel { animation: rise-in 1s var(--ease) both; }
html[data-ready] .h3-eyebrow { animation-delay: .15s; } html[data-ready] .h3-lead { animation-delay: .7s; } html[data-ready] .h3-ctas { animation-delay: .85s; } html[data-ready] .h3-panel { animation-delay: 1.05s; }
@keyframes rise-in { from { opacity: 0; transform: translateY(24px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
/* read-out panel: glass, under the label */
.therm { --fill: .2; }
.h3-panel { position: absolute; z-index: 2; inset-inline-end: var(--gut); bottom: 36px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 12px 14px; width: min(440px, 42vw); padding: 16px; border-radius: 28px;
  background: var(--glass); -webkit-backdrop-filter: saturate(1.5) blur(22px); backdrop-filter: saturate(1.5) blur(22px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-2); }
.h3-read { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 6px 14px; }
.h3-read > span { font-size: .78rem; color: var(--mute); font-weight: 550; }
.h3-read b { grid-row: span 2; display: flex; align-items: baseline; gap: 4px; font: 600 clamp(2.3rem, 3.4vw, 3.1rem)/1 var(--mono); letter-spacing: -.06em; direction: ltr; font-variant-numeric: tabular-nums;
  color: color-mix(in oklch, var(--blue), var(--ember) calc(var(--heat) * 100%)); transition: color .4s; }
.h3-read b em { font-style: normal; font-size: .38em; color: var(--mute); letter-spacing: 0; }
.h3-meter { position: relative; height: 8px; border-radius: 8px; background: var(--mist-2); overflow: hidden; }
.h3-meter i { position: absolute; inset: 0 auto 0 0; width: calc(var(--fill) * 100%); border-radius: 8px; background: var(--iris); background-size: 400px 100%; transition: width .3s var(--ease); }
[dir="rtl"] .h3-meter i { inset: 0 0 0 auto; }
.h3-panel .seg { min-width: 220px; }
.h3-panel .seg-opt span { white-space: nowrap; padding-inline: 14px; }
.h3-panel .chip-btn { justify-self: end; }
.h3-hint { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; font-size: .8rem; color: var(--ink-2); transition: opacity .4s, transform .5s var(--ease); }
.h3-hint .i { color: var(--ember); animation: wiggle 1.6s ease-in-out infinite; }
.therm.is-warming .h3-hint { opacity: .4; }
.h3-done { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; font-size: .8rem; color: var(--ink-2); transition: grid-template-rows .6s var(--ease), opacity .4s; opacity: 0; }
.h3-done > * { overflow: hidden; }
.h3-done { overflow: hidden; }
.h3-done b { color: var(--ember); }
.therm.is-done .h3-done { grid-template-rows: 1fr; opacity: 1; }
.therm.is-done .h3-hint { display: none; }
.h3-cue { position: absolute; left: 50%; bottom: 30px; display: inline-flex; align-items: center; gap: 10px; transform: translateX(-50%); font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--mute); cursor: pointer; opacity: calc(1 - var(--sp) * 4); }
.h3-cue i { position: relative; width: 22px; height: 34px; border-radius: 12px; box-shadow: inset 0 0 0 1.5px var(--line-2); }
.h3-cue i::after { content: ''; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--ink); animation: cue 1.8s var(--ease) infinite; }

/* ───────────── manifesto: words light up over the ink-bloom film ───────────── */
.mani { position: relative; height: 240vh; --pp: 0; }
.mani-in { position: sticky; top: 0; height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.mani-media { position: sticky; top: 0; height: 100vh; display: grid; place-items: center; overflow: clip; margin-bottom: -100vh; pointer-events: none; }
.mani-film { width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(calc(22% - var(--pp) * 22%) calc(4% - var(--pp) * 4%) calc(22% - var(--pp) * 22%) calc(50% - var(--pp) * 8%) round calc(48px - var(--pp) * 20px));
  transform: scale(calc(1.08 - var(--pp) * .08)); }
[dir="rtl"] .mani-film { clip-path: inset(calc(22% - var(--pp) * 22%) calc(50% - var(--pp) * 8%) calc(22% - var(--pp) * 22%) calc(4% - var(--pp) * 4%) round calc(48px - var(--pp) * 20px)); }
.mani-glow { position: absolute; inset: 0; background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, .6) 46%, transparent 62%); opacity: calc(.35 + var(--pp) * .65); }
[dir="rtl"] .mani-glow { background: linear-gradient(270deg, #fff 30%, rgba(255, 255, 255, .6) 46%, transparent 62%); }
.mani-in { position: relative; height: 100vh; position: sticky; display: flex; align-items: center; }
.mani-text { max-width: min(15em, 44vw); font-family: var(--display); font-size: clamp(2rem, 4.2vw, 4.2rem); font-weight: 500; font-stretch: 84%; line-height: 1.04; letter-spacing: -.04em; }
:lang(zh) .mani-text, :lang(ja) .mani-text { max-width: 12em; letter-spacing: 0; line-height: 1.25; }
.mw { color: rgba(13, 12, 22, .12); transition: color .5s var(--ease), filter .5s; filter: blur(.6px); }
.mw.is-lit { color: var(--ink); filter: none; }
.mw.is-front { background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────── temperature journey: pinned sideways track ───────────── */
.jy { position: relative; --jt: 0; --pp: 0; }
.jy-pin { position: relative; overflow: hidden; padding-block: clamp(80px, 9vw, 120px) 60px; background: color-mix(in oklch, #eef2ff, #fff1ec calc(var(--jt) * 100%)); transition: background .2s linear; }
.jy.is-pinned .jy-pin { position: sticky; top: 0; height: 100vh; padding-block: calc(var(--hdr-top) + var(--hdr-h) + 24px) 40px; display: flex; flex-direction: column; justify-content: center; }
.jy-pin::before { content: ''; position: absolute; width: 70vw; height: 70vw; top: -20vw; inset-inline-end: -20vw; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in oklch, rgba(42, 77, 255, .3), rgba(255, 77, 58, .32) calc(var(--jt) * 100%)), transparent 65%); filter: blur(40px); }
.jy-head { position: relative; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 18px 40px; }
.jy-head .shead { margin-bottom: clamp(20px, 3vh, 40px); max-width: 720px; }
.jy.is-pinned .jy-head .shead-title { font-size: clamp(2rem, 4.2vw, 3.8rem); }
.jy-temp { display: flex; align-items: baseline; gap: 6px; margin-bottom: clamp(24px, 3vh, 44px); direction: ltr; font: 600 clamp(4rem, 9vw, 9rem)/.8 var(--mono); letter-spacing: -.08em;
  color: color-mix(in oklch, var(--blue), var(--ember) calc(var(--jt) * 100%)); font-variant-numeric: tabular-nums; position: relative; }
.jy-temp em { font-style: normal; font-size: .3em; letter-spacing: 0; color: var(--mute); }
.jy-bar { position: absolute; inset-inline: 0; bottom: -18px; height: 4px; border-radius: 4px; background: rgba(13, 12, 22, .08); overflow: hidden; }
.jy-bar i { position: absolute; inset: 0; border-radius: 4px; background: var(--iris); transform-origin: left; transform: scaleX(0); }
.jy-track { position: relative; display: flex; gap: clamp(16px, 2vw, 28px); padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2); will-change: transform; }
.jy:not(.is-pinned) .jy-track { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 12px; overscroll-behavior-x: contain; }
.jy:not(.is-pinned) .jy-track::-webkit-scrollbar { display: none; }
.jst { flex: none; width: clamp(290px, min(36vw, 64vh), 600px); scroll-snap-align: center; transition: transform .8s var(--ease), opacity .6s, filter .6s; }
.jy.is-pinned .jst:not(.is-on) { transform: scale(.9) translateY(14px); opacity: .55; filter: saturate(.4); }
.jst-card { display: flex; flex-direction: column; gap: 14px; padding: 10px 10px 20px; border-radius: var(--r-l); background: rgba(255, 255, 255, .72); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-1);
  transition: transform .6s var(--spring), box-shadow .5s; }
.jst-card:hover { transform: translateY(-6px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-2); }
.jst-media { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 24px; background: var(--mist); }
.jst-media img, .jst-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.jst-card:hover .jst-media img, .jst-card:hover .jst-media video { transform: scale(1.05); }
.jst-at { position: absolute; top: 12px; inset-inline-start: 12px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .86); font: 700 .8rem/1 var(--mono); direction: ltr; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.jst-copy { display: grid; gap: 6px; padding-inline: 10px; }
.jst-n { font: 600 .66rem/1 var(--mono); letter-spacing: .1em; color: var(--mute); }
.jst h3 { font-size: clamp(1.35rem, 2vw, 1.9rem); font-stretch: 86%; }
.jst-line { color: var(--ink-2); font-size: .94rem; }
.jst-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; font-weight: 600; font-size: .86rem; transition: gap .4s var(--ease), color .3s; }
.jst-card:hover .jst-go { gap: 12px; color: var(--violet); }

/* ───────────── capsules: the 3D micro-capsule scene ───────────── */
.cp { position: relative; height: 300vh; background: var(--ink); color: #fff; border-radius: var(--r-xl); margin-inline: clamp(6px, 1.2vw, 18px); }
.cp-pin { position: sticky; top: 0; height: 100vh; overflow: hidden; border-radius: inherit; display: flex; align-items: center; background: radial-gradient(50% 60% at 70% 50%, rgba(42, 77, 255, .22), transparent 70%), radial-gradient(40% 50% at 85% 85%, rgba(139, 92, 246, .2), transparent 70%); }
.cp-gl { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1.2s; }
.cp.has-gl .cp-gl { opacity: 1; }
.cp-still { position: absolute; inset: 0; opacity: .5; transition: opacity 1s; }
.cp-still img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: screen; }
.cp.has-gl .cp-still { opacity: 0; }
.cp-pin::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(70% 70% at 25% 50%, rgba(13, 12, 22, .82), transparent 70%); }
[dir="rtl"] .cp-pin::after { background: radial-gradient(70% 70% at 75% 50%, rgba(13, 12, 22, .82), transparent 70%); }
.cp-in { position: relative; z-index: 1; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; }
.cp-copy { max-width: 560px; }
.cp .shead { margin-bottom: 30px; }
.cp .shead-eb { background: rgba(255, 255, 255, .08); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14); color: rgba(255, 255, 255, .85); }
.cp .shead-title { font-size: clamp(2.1rem, 4.4vw, 4rem); }
.cp .shead-lead { color: rgba(255, 255, 255, .7); }
.cp-steps { display: grid; gap: 8px; }
.cp-steps li { display: grid; grid-template-columns: 44px 1fr; gap: 2px 14px; padding: 14px 16px; border-radius: 20px; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08); opacity: .45;
  transition: opacity .5s, background .5s, transform .6s var(--spring), box-shadow .5s; }
.cp-steps li.is-on, .cp.no-gl .cp-steps li { opacity: 1; background: rgba(255, 255, 255, .09); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2), 0 20px 50px -20px rgba(139, 92, 246, .6); transform: translateX(8px); }
[dir="rtl"] .cp-steps li.is-on { transform: translateX(-8px); }
.cp-n { grid-row: span 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: rgba(255, 255, 255, .08); font: 600 .78rem/1 var(--mono); }
.cp-steps li.is-on .cp-n { background: var(--iris); }
.cp-steps b { font-family: var(--display); font-size: 1.1rem; font-stretch: 90%; }
.cp-steps span:last-child { font-size: .86rem; color: rgba(255, 255, 255, .64); }
.cp-proof { display: flex; align-items: center; gap: 10px; margin-top: 18px; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.cp-proof .i { color: var(--violet); }
.cp-gauge { display: grid; justify-items: end; gap: 6px; text-align: end; }
.cp-gauge span { font: 600 .66rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); }
.cp-gauge b { font: 600 clamp(4rem, 10vw, 9.5rem)/.8 var(--mono); letter-spacing: -.08em; direction: ltr; }
.cp[data-step="2"] .cp-gauge b { background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ───────────── tabs: capsule with a gliding pill ───────────── */
.tabs { position: relative; display: inline-flex; gap: 2px; max-width: 100%; padding: 4px; overflow-x: auto; scrollbar-width: none; border-radius: 999px; background: var(--mist); }
.tabs::-webkit-scrollbar { display: none; }
.tabs > button, .tabs > a { position: relative; z-index: 1; padding: 10px 18px; border-radius: 999px; font-size: .86rem; font-weight: 550; color: var(--ink-2); white-space: nowrap; transition: color .3s, transform .4s var(--spring); }
.tabs > button:hover, .tabs > a:hover { color: var(--ink); }
.tabs > button:active, .tabs > a:active { transform: scale(.94); }
.tabs > [aria-selected="true"], .tabs > [aria-current] { color: #fff; }
.tabs-pill { position: absolute; top: 4px; bottom: 4px; left: 0; width: var(--w, 0); border-radius: 999px; transform: translateX(var(--x, 0)); background: var(--ink); box-shadow: 0 8px 20px -8px rgba(13, 12, 22, .5); 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: cold photos, a warm lens under the pointer ───────────── */
.range-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: clamp(28px, 3.4vw, 48px); }
.range-head .shead { margin-bottom: 0; flex: 1 1 600px; }
.range-more { display: flex; justify-content: center; margin-top: 48px; }
.pgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.pgrid-3, .range .pgrid, .plist .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pcard.is-filtered { display: none; }
.pcard-link { position: relative; display: flex; flex-direction: column; height: 100%; padding: 8px 8px 18px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s var(--ease), transform .6s var(--spring); }
.pcard-link:hover { box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); transform: translateY(-6px); }
.pcard-link:active { transform: scale(.98); }
.pcard-top { position: absolute; top: 18px; inset-inline: 18px; z-index: 3; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.pcard-code, .pcard-cat { padding: 5px 9px; border-radius: 999px; background: rgba(255, 255, 255, .82); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font: 600 .6rem/1.2 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pcard-cat { color: var(--mute); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 60%; opacity: 0; transform: translateY(-6px); transition: opacity .35s, transform .45s var(--ease); }
.pcard-link:hover .pcard-cat { opacity: 1; transform: none; }
.pcard-media { --mx: 50%; --my: 50%; position: relative; display: block; aspect-ratio: 1; border-radius: 22px; background: var(--mist); overflow: hidden; isolation: isolate; }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; view-transition-class: pimg; filter: grayscale(.45) contrast(1.04) brightness(.98) hue-rotate(-6deg); transition: filter .8s var(--ease), transform 1.2s var(--ease); }
/* a cool blue wash over the "cold" photo */
.pcard-media::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(42, 77, 255, .12), rgba(139, 92, 246, .06)); mix-blend-mode: color; transition: opacity .6s; pointer-events: none; }
.pcard-lens { position: absolute; inset: 0; z-index: 2; background-size: cover; background-position: center; opacity: 0; pointer-events: none;
  -webkit-mask: radial-gradient(circle 110px at var(--mx) var(--my), #000 45%, transparent 72%); mask: radial-gradient(circle 110px at var(--mx) var(--my), #000 45%, transparent 72%); transition: opacity .4s; }
.pcard-link:hover .pcard-lens { opacity: 1; }
.pcard-link:hover .pcard-media img { filter: grayscale(.6) contrast(1.04) brightness(.86); }
@media (hover: none) { .pcard-media img { filter: none; } .pcard-media::after { opacity: 0; } }
.pcard-temp { position: absolute; z-index: 3; inset-inline-end: 10px; bottom: 10px; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border-radius: 999px; background: var(--ink); color: #fff; font: 600 .66rem/1 var(--mono); direction: ltr; transition: background .4s; }
.pcard-temp::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--iris); }
.pcard-link:hover .pcard-temp { background: var(--ember); }
.pcard-body { position: relative; display: flex; flex-direction: column; gap: 8px; flex: 1; padding: 16px 10px 0; }
.pcard-name { font-size: 1.18rem; line-height: 1.15; letter-spacing: -.025em; font-stretch: 90%; }
.pcard-tag { font-size: .86rem; line-height: 1.45; color: var(--mute); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pspec { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 8px; }
.pspec-row { display: inline-flex; align-items: baseline; gap: 6px; padding: 5px 10px; border-radius: 999px; background: var(--mist); font-size: .7rem; max-width: 100%; }
.pspec-row small { color: var(--mute); font-size: inherit; white-space: nowrap; }
.pspec-row b { font: 600 .68rem/1.35 var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pspec-row:first-child b { color: var(--blue); transition: color .4s; }
.pcard-link:hover .pspec-row:first-child b { color: var(--ember); }
.pcard-go { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; font-size: .84rem; font-weight: 600; }
.pcard-go .i { width: 34px; height: 34px; padding: 9px; border-radius: 50%; background: var(--mist); transition: transform .5s var(--spring), background .3s, color .3s; }
.pcard-link:hover .pcard-go .i { transform: rotate(-45deg); background: var(--ink); color: #fff; }
[dir="rtl"] .pcard-link:hover .pcard-go .i { transform: scaleX(-1) rotate(-45deg); }
::view-transition-group(.pimg) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }

/* ───────────── applications: stacked cards ───────────── */
.ap-stack { display: grid; gap: 4vh; padding-bottom: 4vh; }
.ap-card { --sink: 0; position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + 20px + var(--i) * 12px); display: grid; grid-template-columns: 1.25fr 1fr; min-height: min(68vh, 620px); border-radius: var(--r-xl); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-2);
  transform: scale(calc(1 - var(--sink) * .07)); transform-origin: center top; filter: brightness(calc(1 - var(--sink) * .25)); will-change: transform; }
.ap-card:nth-child(3n+2) { background: #f2f0ff; } .ap-card:nth-child(3n) { background: #fff3ef; }
.ap-media { position: relative; overflow: hidden; }
.ap-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.ap-card:hover .ap-media img { transform: scale(1.05); }
.ap-copy { display: flex; flex-direction: column; justify-content: flex-start; gap: 14px; padding: clamp(24px, 3.6vw, 56px); }
.ap-n { font: 600 .74rem/1 var(--mono); letter-spacing: .12em; color: var(--violet); }
.ap-copy h3 { font-size: clamp(2rem, 3.8vw, 3.6rem); font-stretch: 84%; letter-spacing: -.045em; }
.ap-short { font-size: 1.04rem; color: var(--ink-2); max-width: 26em; margin-top: auto; }
.ap-go { display: inline-flex; align-items: center; gap: 10px; width: fit-content; margin-top: 10px; padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: .88rem; transition: gap .4s var(--ease), background .3s, transform .5s var(--spring); }
.ap-card:hover .ap-go { gap: 16px; background: var(--violet); transform: scale(1.04); }

/* ───────────── planner ───────────── */
.planner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 10px; padding: 10px; border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-1); }
.planner-in { display: grid; gap: 4px; align-content: start; }
.pl-field { display: grid; gap: 10px; padding: 18px 20px; border: 0; margin: 0; min-width: 0; border-radius: 22px; transition: background .3s; }
.pl-field:hover { background: var(--mist); }
.pl-field legend, .pl-label { font-size: .82rem; font-weight: 600; color: var(--ink-2); padding: 0; margin-bottom: 12px; display: flex; align-items: baseline; gap: 6px; }
fieldset.pl-field legend { float: left; width: 100%; }
.pl-label { margin: 0; }
.pl-label output { font: 600 1.05rem/1 var(--mono); color: var(--ink); display: inline-block; transition: transform .3s var(--spring), color .3s; }
.pl-label output.pop { transform: scale(1.25); color: var(--ember); }
.seg { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); padding: 4px; border-radius: 999px; background: var(--mist-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: 10px 6px; border-radius: 999px; font-weight: 600; font-size: .84rem; transition: color .3s, transform .4s var(--spring); }
.seg-opt input:checked + span { color: #fff; }
.seg-opt input:focus-visible + span { outline: 2px solid var(--blue); outline-offset: -2px; }
.seg-opt:active span { transform: scale(.93); }
.seg-pill { position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc((100% - 8px) / 3); border-radius: 999px; background: var(--ink); box-shadow: 0 8px 18px -8px rgba(13, 12, 22, .55); transform: translateX(var(--x, 0)); transition: transform .55s var(--spring-soft); }
.seg.seg-sm { grid-template-columns: repeat(2, 1fr); }
.seg.seg-sm .seg-pill { width: calc((100% - 8px) / 2); }
.seg.seg-sm .seg-opt span { padding: 8px 12px; font-size: .78rem; }
.no-js .seg-opt input:checked + span { background: var(--ink); }
.slider { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 6px; background: linear-gradient(90deg, var(--ink) var(--p, 50%), var(--mist-2) var(--p, 50%)); outline-offset: 8px; }
[dir="rtl"] .slider { background: linear-gradient(270deg, var(--ink) var(--p, 50%), var(--mist-2) var(--p, 50%)); }
.slider-heat { height: 10px; background: var(--iris); }
[dir="rtl"] .slider-heat { background: var(--iris); transform: scaleX(-1); }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 2px var(--ink), 0 6px 16px -4px rgba(13, 12, 22, .4); 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:hover::-webkit-slider-thumb { transform: scale(1.12); }
.slider:active::-webkit-slider-thumb { transform: scale(1.25); cursor: grabbing; }
.stepper { display: flex; align-items: center; gap: 4px; padding: 4px; border-radius: 999px; background: var(--mist-2); width: fit-content; transition: box-shadow .3s; }
.stepper:focus-within { box-shadow: 0 0 0 3px rgba(42, 77, 255, .2); }
.stepper button { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: #fff; transition: background .3s, color .3s, transform .4s var(--spring); }
.stepper button:hover { background: var(--ink); color: #fff; transform: scale(1.06); }
.stepper button:active { transform: scale(.88); }
.stepper input { width: 110px; border: 0; text-align: center; font: 600 1rem var(--mono); background: none; -moz-appearance: textfield; padding: 9px 0; }
.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: 0; border-radius: 16px; padding: 13px 40px 13px 16px; background: var(--mist-2); transition: box-shadow .3s, background .3s; cursor: pointer; }
[dir="rtl"] .select select { padding: 13px 16px 13px 40px; }
.select select:focus { box-shadow: 0 0 0 3px rgba(42, 77, 255, .2); outline: none; background: #fff; }
.select .i { position: absolute; inset-inline-end: 14px; top: 50%; transform: translateY(-50%); pointer-events: none; color: var(--mute); }
.planner-out { display: flex; flex-direction: column; gap: 0; border-radius: 26px; background: var(--ink); color: #fff; overflow: hidden; }
.pl-preview { position: relative; height: 300px; display: grid; place-items: center; overflow: hidden; cursor: crosshair; isolation: isolate;
  background: radial-gradient(60% 70% at 50% 40%, rgba(139, 92, 246, .35), transparent 70%), radial-gradient(40% 50% at 80% 90%, rgba(255, 77, 58, .25), transparent 70%); }
.pl-sheet { position: relative; height: 240px; aspect-ratio: 210 / 297; border-radius: 10px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  transition: height .7s var(--ease), aspect-ratio .7s var(--ease), width .7s var(--ease); }
.pl-sheet.is-roll { height: 110px; aspect-ratio: 3.4 / 1; background: linear-gradient(90deg, #fff, #f1f1f6); }
.pl-sheet.is-roll::before { content: ''; position: absolute; inset-inline-start: -46px; top: 50%; width: 110px; height: 110px; margin-top: -55px; border-radius: 50%; background: repeating-radial-gradient(circle, #fff 0 3px, #e3e4ec 3px 4px); box-shadow: inset 0 0 0 28px #fff, inset 0 0 0 30px #c9cad6; z-index: -1; }
.pl-sheet.is-tag { height: 226px; aspect-ratio: 1 / 1.4; }
.pl-dot { position: absolute; border-radius: 50%; background: #16151f; 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-sheet.is-tag .pl-dot { border-radius: 8px; }
.pl-dot.is-new, .pl-dot.is-out { transform: scale(0); opacity: 0; }
.pl-preview.is-warm .pl-dot { background: var(--c); transition-delay: calc(var(--k, 0) * 6ms); }
.pl-warm { position: absolute; inset-inline-start: 14px; bottom: 14px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255, 255, 255, .12); color: #fff; font-size: .74rem; font-weight: 600; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: transform .5s var(--ease-io), opacity .4s; }
.pl-warm .i { width: 14px; height: 14px; color: var(--ember); }
.pl-preview.is-warm .pl-warm { opacity: 0; transform: translateY(10px); }
.pl-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
.pl-stats > div { padding: 16px 18px; }
.pl-stats > div + div { border-inline-start: 1px solid rgba(255, 255, 255, .1); }
.pl-stats dt { font-size: .74rem; color: rgba(255, 255, 255, .55); font-weight: 550; line-height: 1.3; min-height: 2.6em; }
.pl-stats dd { margin: 6px 0 0; direction: ltr; text-align: start; }
[dir="rtl"] .pl-stats dd { text-align: end; }
.pl-stats dd small { font: 600 .85rem var(--mono); color: rgba(255, 255, 255, .55); }
.num { font: 600 clamp(1.6rem, 2.6vw, 2.3rem)/1 var(--mono); letter-spacing: -.05em; font-variant-numeric: tabular-nums; }
.pl-suggest { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 10px; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, .06); }
.pl-suggest span { font-size: .78rem; color: rgba(255, 255, 255, .6); }
.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: #c4b5fd; }
.pl-suggest a .i { transition: transform .45s var(--spring); }
.pl-suggest a:hover .i { transform: translate(3px, -3px); }
.planner-out > .btn { margin: 14px 10px 0; width: auto; height: 3.5em; --bg: #fff; --fg: var(--ink); }
.planner-out > .btn .btn-ico { background: var(--mist-2); }
.planner-out > .btn:hover { color: #fff; }
.pl-note { padding: 12px 18px 18px; font-size: .74rem; color: rgba(255, 255, 255, .5); }

/* ───────────── films ───────────── */
.films-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(26px, 3vw, 44px); }
.films-head .shead { margin-bottom: 0; flex: 1 1 600px; }
.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) 24px; 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: 14px; width: max-content; }
.film { position: relative; flex: none; height: clamp(380px, 54vh, 540px); aspect-ratio: 9 / 16; overflow: hidden; border-radius: 28px; background: var(--ink); color: #fff; text-align: start; scroll-snap-align: start; isolation: isolate; transition: transform .6s var(--spring), box-shadow .5s; }
.film:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: var(--shadow-2); }
.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(.82); }
.film::after { content: ''; position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgba(13, 12, 22, .88)); pointer-events: none; }
.film-play { position: absolute; left: 50%; top: 50%; z-index: 1; display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%; background: rgba(255, 255, 255, .22); color: #fff; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45); transform: translate(-50%, -50%) scale(.92); transition: transform .55s var(--spring), background .3s, color .3s; }
.film-play::before { content: ''; position: absolute; inset: -10px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .5); animation: ping 2.4s var(--ease) infinite; }
.film-play .i { width: 22px; height: 22px; margin-inline-start: 3px; fill: currentColor; }
.film:hover .film-play { transform: translate(-50%, -50%) scale(1.1); background: #fff; color: var(--ink); }
.film-cc { position: absolute; top: 14px; inset-inline-end: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 5px; padding: 6px 10px; border-radius: 999px; background: rgba(13, 12, 22, .55); font: 700 .6rem/1 var(--mono); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.film-cc .i { width: 1em; height: 1em; }
.lb-sub { position: absolute; inset-inline: 6%; z-index: 2; margin: 0 auto; width: fit-content; max-width: 88%; padding: .28em .8em; border-radius: 10px; background: rgba(13, 12, 22, .76); color: #fff; font: 500 clamp(.82rem, 1.6vw, 1.02rem)/1.35 var(--font); text-align: center; pointer-events: none; text-wrap: balance; }
.lb-sub[hidden] { display: none; }
.lb-fig video::cue { font-family: var(--font); font-size: 1.05rem; line-height: 1.35; color: #fff; background: rgba(13, 12, 22, .72); }
.film-meta { position: absolute; inset-inline: 18px; bottom: 18px; z-index: 1; display: grid; gap: 6px; }
.film-meta b { font-family: var(--display); font-size: 1.06rem; line-height: 1.25; font-stretch: 90%; }
.film-meta small { display: inline-flex; align-items: center; gap: 6px; font: 500 .7rem/1 var(--mono); opacity: .8; }
.film-meta small .i { width: .95em; height: .95em; }
.intro-film-sec { padding-top: 0; }
.intro-film-btn { position: relative; display: block; width: 100%; aspect-ratio: 16 / 9; max-height: 80vh; overflow: hidden; border-radius: var(--r-xl); background: var(--ink); color: #fff; text-align: start; cursor: pointer; isolation: isolate; }
.intro-film-btn > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.05); transition: transform 1.6s var(--ease); }
.intro-film-btn:hover > img { transform: scale(1); }
.intro-film-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 12, 22, .82), rgba(13, 12, 22, .3) 50%, transparent 76%); }
[dir="rtl"] .intro-film-shade { background: linear-gradient(270deg, rgba(13, 12, 22, .82), rgba(13, 12, 22, .3) 50%, transparent 76%); }
.intro-film-play { position: absolute; inset-inline-end: clamp(20px, 4vw, 56px); bottom: clamp(20px, 4vw, 56px); display: grid; place-items: center; width: clamp(68px, 7vw, 96px); aspect-ratio: 1; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .6s var(--spring), background .3s, color .3s; }
.intro-film-play .i { width: 34%; height: 34%; margin-inline-start: 6%; }
.intro-film-btn:hover .intro-film-play { transform: scale(1.12); background: var(--ember); color: #fff; }
.intro-film-copy { position: absolute; inset-inline-start: clamp(22px, 4vw, 56px); bottom: clamp(22px, 4vw, 56px); display: flex; flex-direction: column; gap: 12px; max-width: min(34em, 60%); }
.intro-film-copy .eyebrow { margin: 0; background: rgba(255, 255, 255, .12); color: rgba(255, 255, 255, .9); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); }
.intro-film-copy .intro-film-title { position: static; display: block; }
.intro-film-copy .intro-film-title b { display: block; font-size: clamp(1.7rem, 3.6vw, 3.1rem); letter-spacing: -.04em; line-height: 1.02; }
.intro-film-lead { font-size: clamp(.9rem, 1.1vw, 1.05rem); color: rgba(255, 255, 255, .82); }
.intro-film-copy small { display: inline-flex; align-items: center; gap: 6px; font: 600 .74rem/1 var(--mono); opacity: .85; }
.intro-film-copy small .i { width: 15px; height: 15px; }

/* ───────────── certificates: papers scattered on the desk ───────────── */
.certs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); }
.cert { margin: 0; display: flex; flex-direction: column; gap: 14px; }
.cert-paper { position: relative; display: block; padding: 14px; border-radius: 22px; background: #fff; box-shadow: var(--shadow-1); transform: rotate(var(--r)); transition: transform .8s var(--spring), box-shadow .5s; }
.cert-paper img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 6px; }
.cert-paper:hover { transform: rotate(0) translateY(-10px) scale(1.04); box-shadow: var(--shadow-2), var(--glow); }
.cert-zoom { position: absolute; bottom: 16px; inset-inline-end: 16px; width: 38px; height: 38px; padding: 10px; 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; padding-inline: 6px; }
.cert figcaption b { font-family: var(--display); font-size: 1.06rem; font-stretch: 90%; }
.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; padding: 6px 12px 6px 8px; border-radius: 999px; background: #fff; font-size: .74rem; font-weight: 600; color: var(--blue); transition: gap .35s var(--ease), background .3s, color .3s; }
.cert-pdf:hover { gap: 10px; background: var(--ink); color: #fff; }

/* ───────────── news ───────────── */
.ngrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.ncard a { display: flex; flex-direction: column; gap: 16px; height: 100%; padding: 8px 8px 20px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s, transform .6s var(--spring); }
.ncard a:hover { box-shadow: inset 0 0 0 1px transparent, var(--shadow-2); transform: translateY(-5px); }
.ncard-media { display: block; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 22px; background: var(--mist); }
.ncard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.ncard a:hover .ncard-media img { transform: scale(1.06); }
.ncard-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding-inline: 10px; }
.ncard-meta { display: flex; gap: 10px; align-items: center; font: 500 .7rem/1 var(--mono); color: var(--mute); }
.ncard-meta em { font-style: normal; padding: 4px 8px; border-radius: 999px; background: var(--mist); color: var(--violet); font-weight: 600; }
.ncard h3 { font-size: 1.2rem; line-height: 1.2; letter-spacing: -.025em; font-stretch: 92%; }
.ncard p { font-size: .9rem; 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: .84rem; font-weight: 600; transition: gap .4s var(--ease), color .3s; }
.ncard a:hover .ncard-go { gap: 12px; color: var(--violet); }
.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.7rem; }
.pager { display: flex; align-items: center; justify-content: space-between; margin-top: 48px; }
.pager-n { font: 500 .8rem var(--mono); color: var(--mute); }

/* ───────────── FAQ ───────────── */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.faq-grid .shead { position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + 30px); }
.faq-list { display: grid; gap: 10px; }
.qa { border-radius: 24px; background: var(--mist); transition: background .4s, box-shadow .4s; }
.qa:hover { background: var(--mist-2); }
.qa.is-open { background: #fff; box-shadow: inset 0 0 0 1px var(--line), var(--shadow-1); }
.qa summary { display: grid; grid-template-columns: 1fr 38px; align-items: center; gap: 16px; padding: 20px 20px 20px 24px; list-style: none; cursor: pointer; font-family: var(--display); font-size: clamp(1.04rem, 1.5vw, 1.24rem); font-weight: 550; font-stretch: 92%; letter-spacing: -.015em; }
[dir="rtl"] .qa summary { padding: 20px 24px 20px 20px; }
.qa summary::-webkit-details-marker { display: none; }
.qa-ico { position: relative; width: 38px; height: 38px; border-radius: 50%; background: #fff; transition: background .3s, transform .6s var(--spring); }
.qa-ico::before, .qa-ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 13px; height: 2px; margin: -1px -6.5px; border-radius: 2px; background: var(--ink); transition: transform .5s var(--spring), background .3s; }
.qa-ico::after { transform: rotate(90deg); }
.qa summary:hover .qa-ico { transform: scale(1.1); }
.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: 0 24px 24px; color: var(--ink-2); max-width: 60em; opacity: 0; transform: translateY(-6px); filter: blur(4px); transition: opacity .4s, transform .5s var(--ease), filter .4s; }
.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; filter: none; transition-delay: .1s; }

/* ───────────── closing call: a living heat mesh ───────────── */
.c3 { --bx: 0; --by: 0; position: relative; overflow: hidden; isolation: isolate; margin: clamp(40px, 6vw, 80px) clamp(6px, 1.2vw, 18px) 0; padding: clamp(100px, 13vw, 190px) 0; border-radius: var(--r-xl); background: #f6f4ff; text-align: center; }
.c3-blob { position: absolute; inset: 0; z-index: -1; filter: blur(60px) saturate(1.3); }
.c3-blob i { position: absolute; border-radius: 50%; transition: translate 1.2s var(--ease); animation: drift 16s ease-in-out infinite alternate; }
.c3-blob i:nth-child(1) { width: 46%; aspect-ratio: 1; left: 2%; top: -14%; background: rgba(42, 77, 255, .55); translate: calc(var(--bx) * 60px) calc(var(--by) * 40px); }
.c3-blob i:nth-child(2) { width: 40%; aspect-ratio: 1; right: 4%; top: 6%; background: rgba(255, 77, 141, .45); translate: calc(var(--bx) * -50px) calc(var(--by) * 60px); animation-delay: -5s; }
.c3-blob i:nth-child(3) { width: 38%; aspect-ratio: 1; left: 30%; bottom: -30%; background: rgba(255, 122, 58, .5); translate: calc(var(--bx) * 80px) calc(var(--by) * -50px); animation-delay: -9s; }
.c3-blob i:nth-child(4) { width: 30%; aspect-ratio: 1; left: 40%; top: 10%; background: rgba(139, 92, 246, .5); translate: calc(var(--bx) * -90px) calc(var(--by) * -30px); animation-delay: -13s; }
.c3::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(60% 60% at 50% 50%, rgba(255, 255, 255, .65), transparent 80%); }
.c3-in { display: grid; justify-items: center; gap: 26px; }
.c3-title { font-size: clamp(2.8rem, 8vw, 8rem); line-height: .9; letter-spacing: -.055em; font-weight: 400; max-width: 12em; }
:lang(zh) .c3-title, :lang(ja) .c3-title { line-height: 1.08; letter-spacing: -.02em; font-size: clamp(2.4rem, 6.4vw, 6rem); }
.c3-lead { max-width: 34em; font-size: clamp(1.02rem, 1.3vw, 1.18rem); color: var(--ink-2); }
.c3-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.c3 .btn-light { --bg: var(--ink); --fg: #fff; }
.c3 .btn-light .btn-ico { background: rgba(255, 255, 255, .14); }
.c3 .btn-ghost-light { --bg: rgba(255, 255, 255, .6); --fg: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(13, 12, 22, .15); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.c3 .btn-ghost-light .btn-ico { background: rgba(13, 12, 22, .06); }
.c3 .btn-ghost-light:hover { color: #fff; }

/* ───────────── inner page hero ───────────── */
.phero { position: relative; padding: calc(var(--hdr-top) + var(--hdr-h) + clamp(48px, 7vw, 100px)) 0 clamp(40px, 5vw, 72px); overflow: clip; isolation: isolate; --sp: 0; }
.phero-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(60px); transform: translateY(calc(var(--sp) * 80px)); }
.phero-aura i { position: absolute; border-radius: 50%; animation: drift 20s ease-in-out infinite alternate; }
.phero-aura i:nth-child(1) { width: 42vw; height: 42vw; top: -24vw; inset-inline-end: -8vw; background: radial-gradient(circle, rgba(42, 77, 255, .32), transparent 68%); }
.phero-aura i:nth-child(2) { width: 30vw; height: 30vw; top: -6vw; inset-inline-end: 22vw; background: radial-gradient(circle, rgba(139, 92, 246, .26), transparent 68%); animation-delay: -7s; }
.phero-aura i:nth-child(3) { width: 26vw; height: 26vw; top: 6vw; inset-inline-end: -4vw; background: radial-gradient(circle, rgba(255, 77, 58, .22), transparent 68%); animation-delay: -12s; }
.phero-title { font-size: clamp(2.8rem, 7vw, 6.8rem); line-height: .92; letter-spacing: -.055em; max-width: 13em; font-stretch: 84%; }
:lang(zh) .phero-title, :lang(ja) .phero-title { letter-spacing: -.015em; line-height: 1.1; font-size: clamp(2.4rem, 5.6vw, 5.2rem); }
.phero-lead { margin-top: 24px; max-width: 38em; font-size: clamp(1.04rem, 1.4vw, 1.22rem); 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; position: relative; margin: 0; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-xl); background: var(--mist); box-shadow: var(--shadow-2); transform: rotate(2deg); transition: transform 1s var(--spring); }
.phero-fig:hover { transform: rotate(0) scale(1.01); }
.phero-fig img { width: 100%; height: 100%; object-fit: cover; }

/* ───────────── product page ───────────── */
.pdp-top { padding-top: calc(var(--hdr-top) + var(--hdr-h) + 40px); padding-bottom: 28px; position: relative; isolation: isolate; }
.pdp-top::before { content: ''; position: absolute; z-index: -1; width: 50vw; height: 50vw; top: -20vw; inset-inline-start: -10vw; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--tone) 30%, transparent), transparent 68%); filter: blur(50px); }
.pdp-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(28px, 5vw, 76px); align-items: start; }
.pdp-grid > * { min-width: 0; }
.pdp-gallery { position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + 24px); }
.pdp-main { position: relative; display: block; aspect-ratio: 1; overflow: hidden; border-radius: var(--r-xl); background: var(--mist); box-shadow: var(--shadow-1); }
.pdp-main img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.3s var(--ease), opacity .4s; view-transition-class: pimg; }
.pdp-main:hover img { transform: scale(1.05); }
.pdp-glow { position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(transparent, color-mix(in srgb, var(--tone) 22%, transparent)); pointer-events: none; }
.pdp-zoom { position: absolute; top: 16px; inset-inline-end: 16px; width: 44px; height: 44px; padding: 12px; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--ink); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: background .3s, color .3s, transform .5s var(--spring); }
.pdp-main:hover .pdp-zoom { background: var(--ink); color: #fff; transform: scale(1.1); }
.thumbs { display: flex; gap: 10px; margin-top: 12px; overflow-x: auto; scrollbar-width: none; padding: 4px 4px 8px; }
.thumbs::-webkit-scrollbar { display: none; }
.thumb { flex: none; width: 80px; aspect-ratio: 1; overflow: hidden; border-radius: 16px; background: var(--mist); opacity: .55; 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) scale(1.04); }
.thumb.is-on { opacity: 1; box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.pdp-info .pill { margin-bottom: 22px; }
.pdp-title { font-size: clamp(2.4rem, 4.8vw, 4.2rem); line-height: .96; letter-spacing: -.05em; font-stretch: 84%; }
.pdp-tagline { margin-top: 18px; font-size: clamp(1.05rem, 1.4vw, 1.22rem); color: var(--ink-2); }
.pdp-chips { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0 20px; }
.pdp-chips li { display: grid; gap: 6px; padding: 14px 16px; border-radius: 20px; background: var(--mist); }
.pdp-chips small { font-size: .74rem; color: var(--mute); font-weight: 550; }
.pdp-chips b { font: 600 .88rem/1.35 var(--mono); }
.pdp-chips li:first-child { background: var(--ink); color: #fff; }
.pdp-chips li:first-child small { color: rgba(255, 255, 255, .6); }
.pdp-feats li { display: flex; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.pdp-feats .i { width: 22px; height: 22px; padding: 4px; margin-top: .05em; border-radius: 50%; background: var(--blue-soft); color: var(--blue); stroke-width: 2.5; }
.pdp-ctas { display: flex; flex-wrap: wrap; gap: 10px; margin: 28px 0 18px; }
.pdp-trust { display: flex; flex-wrap: wrap; gap: 8px; }
.pdp-trust span { display: inline-flex; align-items: center; gap: 7px; padding: 6px 12px 6px 8px; border-radius: 999px; background: var(--mist); font-size: .76rem; font-weight: 550; color: var(--ink-2); }
.pdp-trust .i { color: var(--violet); width: 15px; height: 15px; }
.subnav { position: sticky; top: calc(var(--hdr-top) + var(--hdr-h) + 10px); z-index: 30; padding: 0; transition: top .6s var(--ease-io); pointer-events: none; }
.subnav .tabs { pointer-events: auto; background: rgba(255, 255, 255, .8); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); box-shadow: inset 0 0 0 1px var(--glass-line), var(--shadow-1); }
.subnav .wrap { display: flex; justify-content: center; }
html.hdr-hidden .subnav { top: 12px; }
.pdp-ov { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(28px, 5vw, 70px); align-items: center; }
.pdp-summary { font-family: var(--display); font-size: clamp(1.45rem, 2.6vw, 2.2rem); line-height: 1.3; letter-spacing: -.025em; font-stretch: 92%; font-weight: 450; }
.pdp-ov-fig { margin: 0; overflow: hidden; aspect-ratio: 1; border-radius: var(--r-xl); background: var(--mist); transform: rotate(-2deg); box-shadow: var(--shadow-2); }
.pdp-ov-fig img { width: 100%; height: 100%; object-fit: cover; }
.spec-wrap { border-radius: var(--r-l); overflow: hidden; background: #fff; box-shadow: inset 0 0 0 1px var(--line); }
.spec { width: 100%; border-collapse: collapse; font-size: .94rem; }
.spec th { width: 34%; padding: 16px 22px; text-align: start; vertical-align: top; font-weight: 550; color: var(--mute); }
.spec td { padding: 16px 22px; }
.spec tr + tr > * { border-top: 1px solid var(--line); }
.spec tr { transition: background .3s; }
.spec tr:hover { background: var(--mist); }
.spec-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: .8rem; color: var(--mute); }
.use-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.use-card { position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s, transform .6s var(--spring); }
.use-card img { aspect-ratio: 16 / 10; width: 100%; object-fit: cover; border-radius: 22px; transition: transform 1s var(--ease); }
.use-card span { display: grid; gap: 4px; padding: 16px 12px 10px; }
.use-card small { color: var(--mute); font-size: .86rem; }
.use-card > .i { position: absolute; top: 18px; inset-inline-end: 18px; width: 40px; height: 40px; padding: 11px; border-radius: 50%; background: #fff; color: var(--ink); transition: transform .55s var(--spring), background .3s, color .3s; }
.use-card:hover { box-shadow: var(--shadow-2); transform: translateY(-5px); }
.use-card:hover > .i { transform: rotate(45deg) scale(1.08); background: var(--ink); color: #fff; }

/* ───────────── inquiry & forms ───────────── */
.inq-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 80px); align-items: start; }
.inq-points { display: grid; gap: 8px; }
.inq-points li { display: flex; align-items: center; gap: 12px; padding: 12px 16px; border-radius: 18px; background: rgba(255, 255, 255, .7); color: var(--ink-2); font-size: .94rem; }
.inq-points .i { width: 24px; height: 24px; padding: 5px; border-radius: 50%; background: var(--ink); color: #fff; stroke-width: 2.5; }
.inq-card { position: relative; border-radius: var(--r-l); background: #fff; padding: clamp(22px, 3vw, 40px); box-shadow: var(--shadow-2); overflow: hidden; }
.inq-card::before { content: ''; position: absolute; width: 260px; height: 260px; top: -140px; inset-inline-end: -100px; border-radius: 50%; background: var(--iris); filter: blur(50px); opacity: .35; pointer-events: none; }
.inq-card-title { position: relative; font-size: 1.7rem; margin-bottom: 22px; font-stretch: 88%; }
.inq { position: relative; }
.inq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; 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: 24px 16px 9px; border: 0; border-radius: 16px; background: var(--mist); color: var(--ink); appearance: none; box-shadow: inset 0 0 0 1px transparent; transition: box-shadow .3s, background .3s; }
.field textarea { resize: vertical; min-height: 116px; line-height: 1.5; }
.field select { padding-inline-end: 38px; cursor: pointer; }
.field > span { position: absolute; inset-inline-start: 16px; top: 16px; color: var(--mute); font-size: .92rem; pointer-events: none; transform-origin: left top; transition: transform .35s var(--ease), color .3s; }
[dir="rtl"] .field > span { transform-origin: right top; }
.field input:hover, .field textarea:hover, .field select:hover { background: var(--mist-2); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; background: #fff; box-shadow: inset 0 0 0 1.5px var(--blue), 0 0 0 5px rgba(42, 77, 255, .12); }
.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: 16px; top: 50%; transform: translateY(-50%); color: var(--mute); pointer-events: none; }
.field-hint { display: block; margin: 6px 4px 0; font-size: .74rem; color: var(--mute); }
.field.invalid input, .field.invalid textarea { box-shadow: inset 0 0 0 1.5px var(--red); background: #fff1f0; 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; box-shadow: inset 0 0 0 1.5px var(--line-2); background: #fff; color: #fff; transition: background .3s, transform .45s var(--spring), box-shadow .3s; }
.consent-box .i { width: 13px; height: 13px; stroke-width: 3; transform: scale(0); transition: transform .45s var(--spring); }
.consent input:checked + .consent-box { background: var(--ink); box-shadow: none; }
.consent input:checked + .consent-box .i { transform: none; }
.consent input:focus-visible + .consent-box { outline: 2px solid var(--blue); outline-offset: 2px; }
.consent:active .consent-box { transform: scale(.85); }
.inq-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; margin-top: 20px; }
.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: 80px; height: 80px; }
.inq-done circle { fill: none; stroke: var(--violet); stroke-width: 2.5; stroke-dasharray: 160; stroke-dashoffset: 160; }
.inq-done path { fill: none; stroke: var(--ember); 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(8px); 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: a floating sheet ───────────── */
.drawer { position: fixed; inset: 0; z-index: 80; }
.drawer[hidden] { display: none; }
.drawer-bg { position: absolute; inset: 0; background: rgba(13, 12, 22, .35); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .5s; }
.drawer.is-open .drawer-bg { opacity: 1; }
.drawer-panel { position: absolute; top: 10px; bottom: 10px; inset-inline-end: 10px; width: min(540px, calc(100% - 20px)); overflow-y: auto; overscroll-behavior: contain; padding: clamp(22px, 3vw, 36px); border-radius: var(--r-l); background: #fff; box-shadow: var(--shadow-2);
  transform: translateX(calc(100% + 20px)); transition: transform .7s var(--ease-io); }
.drawer-panel::before { content: ''; position: absolute; width: 300px; height: 300px; top: -170px; inset-inline-start: -100px; border-radius: 50%; background: var(--iris); filter: blur(60px); opacity: .3; pointer-events: none; }
[dir="rtl"] .drawer-panel { transform: translateX(calc(-100% - 20px)); }
.drawer.is-open .drawer-panel { transform: none; }
.drawer.is-vt .drawer-panel { transition: none; }
.drawer-head { position: relative; display: flex; justify-content: space-between; gap: 16px; margin-bottom: 22px; }
.drawer-head h2 { font-size: 2.1rem; letter-spacing: -.045em; font-stretch: 86%; }
.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 16px; border-radius: 18px; background: var(--ink); color: #fff; font-size: .84rem; }
.drawer-plan .i { color: #c4b5fd; }
.drawer-plan[hidden] { display: none; }
.drawer-plan b { font-family: var(--mono); font-weight: 600; }
.drawer .inq-grid > *, .drawer .consent, .drawer .inq-actions { opacity: 0; transform: translateY(14px); filter: blur(4px); transition: opacity .5s var(--ease), transform .7s var(--ease), filter .5s; }
.drawer.is-open .inq-grid > *, .drawer.is-open .consent, .drawer.is-open .inq-actions { opacity: 1; transform: none; filter: none; }
.drawer.is-open .inq-grid > :nth-child(5) { transition-delay: .14s; } .drawer.is-open .inq-grid > :nth-child(6) { transition-delay: .18s; } .drawer.is-open .inq-grid > :nth-child(7) { transition-delay: .22s; }
.drawer.is-open .inq-grid > :nth-child(8) { transition-delay: .26s; } .drawer.is-open .inq-grid > :nth-child(9) { transition-delay: .3s; } .drawer.is-open .inq-grid > :nth-child(10) { transition-delay: .34s; }
.drawer.is-open .consent { transition-delay: .38s; } .drawer.is-open .inq-actions { transition-delay: .42s; }
::view-transition-group(quote) { animation-duration: .7s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }

/* ───────────── chat ───────────── */
.chat-tab { position: fixed; right: 0; bottom: 120px; 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: 18px 0 0 18px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; letter-spacing: .04em; transition: padding .45s var(--ease), background .3s, opacity .3s; }
[dir="rtl"] .chat-tab { right: auto; left: 0; border-radius: 0 18px 18px 0; }
.chat-tab:hover { padding-left: 15px; background: var(--violet); }
[dir="rtl"] .chat-tab:hover { padding-left: 10px; padding-right: 15px; }
.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: 999px; background: var(--ember); font-size: .7rem; display: grid; place-items: center; writing-mode: horizontal-tb; animation: pop .5s var(--spring); }
.chat { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 70; display: flex; flex-direction: column; width: min(390px, calc(100% - 24px)); height: min(590px, calc(100% - 32px)); overflow: hidden; border-radius: 28px; background: #fff; box-shadow: inset 0 0 0 1px var(--line), 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 .28s var(--ease) forwards; }
.chat-head { display: flex; align-items: center; gap: 12px; padding: 16px 14px 14px 18px; background: linear-gradient(120deg, #eef1ff, #f5efff 50%, #fff1ec); }
.chat-head > div { flex: 1; min-width: 0; }
.chat-head h2 { font-size: 1.05rem; }
.chat-status { display: flex; align-items: center; gap: 6px; font-size: .72rem; color: var(--mute); margin-top: 3px; }
.chat-status i { width: 7px; height: 7px; border-radius: 50%; background: #16a34a; box-shadow: 0 0 0 3px rgba(22, 163, 74, .2); }
.chat-log { flex: 1; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; padding: 16px; background: var(--mist); }
.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: .74rem; text-align: center; }
.chat-msg.pending { opacity: .55; }
.chat-msg.failed { background: var(--red); }
.chat-msg time { display: block; margin-top: 4px; font: 500 .62rem var(--mono); opacity: .55; }
.chat-gate { padding: 16px; }
.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: 6px; padding: 4px; border-radius: 999px; background: var(--mist); }
.chat-row input { flex: 1; min-width: 0; padding: 10px 14px; border: 0; border-radius: 999px; background: transparent; }
.chat-row input:focus, .chat-input textarea:focus { outline: none; }
.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; }
.chat-input textarea { flex: 1; resize: none; max-height: 120px; padding: 11px 14px; border: 0; border-radius: 20px; background: var(--mist); line-height: 1.4; }

/* ───────────── overlays ───────────── */
.wa-fab { position: fixed; inset-inline-end: 16px; bottom: 16px; z-index: 39; display: grid; place-items: center; width: 54px; height: 54px; border-radius: 50%; background: #25d366; color: #fff; box-shadow: 0 16px 30px -12px rgba(37, 211, 102, .7); transition: transform .5s var(--spring); }
.wa-fab:hover { transform: scale(1.12) rotate(-8deg); }
.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(13, 12, 22, .9); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); opacity: 0; transition: opacity .5s; }
.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: 20px; background: #000; }
.lb:not(.is-vt) .lb-fig { opacity: 0; transform: scale(.94); transition: opacity .4s, transform .65s 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: .84rem; text-align: center; width: min(90vw, 760px); }
.lb-cap { bottom: 24px; } .lb-count { top: 26px; font-family: var(--mono); }
.lb .icon-btn { position: absolute; z-index: 2; background: rgba(255, 255, 255, .14); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.lb .icon-btn:hover { background: #fff; color: var(--ink); }
.lb-x { top: 16px; inset-inline-end: 16px; }
.lb-prev { inset-inline-start: 16px; top: 50%; margin-top: -22px; } .lb-next { inset-inline-end: 16px; top: 50%; margin-top: -22px; }
.lb.is-single .lb-prev, .lb.is-single .lb-next, .lb.is-single .lb-count { display: none; }
::view-transition-group(lb) { animation-duration: .65s; animation-timing-function: cubic-bezier(.2, .9, .1, 1); }
/* cursor: an ink dot that opens into a ring over controls and a labelled bubble over cards */
.cursor { position: fixed; left: 0; top: 0; z-index: 100; width: 0; height: 0; pointer-events: none; translate: var(--x, -200px) var(--y, -200px); }
.cursor::before { content: ''; position: absolute; left: -5px; top: -5px; width: 10px; height: 10px; border-radius: 50%; background: var(--ink); opacity: 0; transform: scale(.4);
  transition: transform .45s var(--spring-soft), opacity .3s, background .3s, box-shadow .3s; }
.cursor.is-live::before { opacity: 1; transform: scale(1); }
.cursor.is-link::before { transform: scale(4.2); background: rgba(139, 92, 246, .1); box-shadow: inset 0 0 0 .3px var(--violet); }
.cursor.is-down::before { transform: scale(.6); }
.cursor.is-link.is-down::before { transform: scale(3.4); }
.cursor.is-gone::before { opacity: 0; }
.cursor span { position: absolute; left: 0; top: 0; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .78rem; font-weight: 600; white-space: nowrap; translate: -50% -50%; opacity: 0; scale: .3; transition: opacity .3s, scale .5s var(--spring-soft); }
.cursor.is-on span { opacity: 1; scale: 1; }
.cursor.is-on::before { opacity: 0; }
@media (pointer: coarse) { .cursor { display: none; } }
.toasts { position: fixed; left: 50%; bottom: 24px; z-index: 110; display: grid; gap: 8px; transform: translateX(-50%); pointer-events: none; }
.toast { padding: 12px 18px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .82rem; font-weight: 600; box-shadow: var(--shadow-2); animation: toast-in .5s var(--spring-soft); }
.toast.is-out { animation: toast-out .3s var(--ease) forwards; }

/* ───────────── footer: deep ink, a wordmark that warms under the pointer ───────────── */
.ftr { position: relative; overflow: hidden; isolation: isolate; margin: 14px clamp(6px, 1.2vw, 18px) clamp(6px, 1.2vw, 18px); padding: clamp(60px, 8vw, 100px) 0 24px; border-radius: var(--r-xl); background: var(--ink); color: #fff; }
.ftr-aura { position: absolute; inset: 0; z-index: -1; pointer-events: none; filter: blur(70px); }
.ftr-aura i { position: absolute; border-radius: 50%; animation: drift 20s ease-in-out infinite alternate; }
.ftr-aura i:nth-child(1) { width: 40vw; height: 40vw; bottom: -26vw; inset-inline-start: -6vw; background: rgba(42, 77, 255, .4); }
.ftr-aura i:nth-child(2) { width: 34vw; height: 34vw; bottom: -24vw; inset-inline-end: 0; background: rgba(255, 77, 58, .3); animation-delay: -8s; }
.ftr-top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.3fr; gap: clamp(20px, 3vw, 48px); }
.ftr-brand .brand-mark { filter: brightness(0) invert(1); }
.ftr-brand .brand-txt small { color: rgba(255, 255, 255, .55); }
.ftr-brand p { margin-top: 18px; max-width: 22em; color: rgba(255, 255, 255, .6); font-size: .92rem; }
.ftr-col h3 { margin-bottom: 14px; font: 600 .68rem/1 var(--mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .45); }
:lang(zh) .ftr-col h3, :lang(ja) .ftr-col h3, :lang(th) .ftr-col h3, :lang(ar) .ftr-col h3, :lang(uk) .ftr-col h3 { font-family: var(--font); letter-spacing: .04em; font-size: .8rem; text-transform: none; }
.ftr-col a, .ftr-col p { display: flex; align-items: flex-start; gap: 8px; padding: 6px 0; width: fit-content; font-size: .92rem; color: rgba(255, 255, 255, .78); transition: color .25s, transform .4s var(--ease); }
.ftr-col a:hover { color: #fff; transform: translateX(6px); }
[dir="rtl"] .ftr-col a:hover { transform: translateX(-6px); }
.ftr-col .i { margin-top: .2em; color: rgba(255, 255, 255, .45); }
.ftr-quote { margin-top: 12px; padding: 10px 16px !important; border-radius: 999px; background: #fff; color: var(--ink) !important; font-weight: 600; align-items: center !important; }
.ftr-quote .i { color: var(--ink) !important; margin: 0 !important; }
.ftr-quote:hover { background: var(--iris); color: #fff !important; }
.ftr-word { --mx: 50%; --my: 50%; position: relative; margin-top: clamp(50px, 8vw, 100px); user-select: none; direction: ltr; }
.fw { margin: 0; font-family: var(--display); font-size: min(26vw, 25rem); font-weight: 700; font-stretch: 78%; letter-spacing: -.06em; line-height: .78; text-align: center; white-space: nowrap; }
.fw-base { color: rgba(255, 255, 255, .07); -webkit-text-stroke: 1px rgba(255, 255, 255, .16); }
.fw-heat { position: absolute; inset: 0; background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 800; font-stretch: 100%; letter-spacing: -.075em;
  -webkit-mask: radial-gradient(circle 220px at var(--mx) var(--my), #000 30%, transparent 75%); mask: radial-gradient(circle 220px at var(--mx) var(--my), #000 30%, transparent 75%); opacity: 0; transition: opacity .5s; }
.ftr-word.is-warm .fw-heat { opacity: 1; }
.fw-read { position: absolute; left: var(--mx); top: -18px; translate: -50% 0; padding: 6px 10px; border-radius: 999px; background: #fff; color: var(--ink); font: 600 .72rem/1 var(--mono); opacity: 0; transition: opacity .3s; pointer-events: none; }
.ftr-word.is-warm .fw-read { opacity: 1; }
.ftr-bot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .78rem; color: rgba(255, 255, 255, .5); }
.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; opacity: .8; }
.ftr-langs a:hover, .ftr-langs a[aria-current] { color: #fff; }
.top-btn { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255, 255, 255, .1); color: #fff; transition: transform .5s var(--spring), background .3s, color .3s; }
.top-btn:hover { transform: translateY(-5px); background: #fff; color: var(--ink); }

/* ───────────── applications pages ───────────── */
.app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.app-card { position: relative; display: flex; flex-direction: column; padding: 8px; border-radius: 30px; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: box-shadow .5s, transform .6s var(--spring); }
.app-card-wide { grid-column: span 2; flex-direction: row; gap: 8px; background: var(--mist); box-shadow: none; }
.app-media { display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; background: var(--mist); }
.app-card-wide .app-media { aspect-ratio: auto; flex: 1.25; min-height: 360px; }
.app-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .7s; filter: saturate(.7); }
.app-body { display: flex; flex-direction: column; gap: 10px; padding: 18px 12px 10px; flex: 1; }
.app-card-wide .app-body { justify-content: flex-end; padding: 24px; }
.app-n { font: 600 .74rem/1 var(--mono); color: var(--violet); }
.app-body h2 { font-size: 1.5rem; letter-spacing: -.035em; font-stretch: 88%; }
.app-card-wide .app-body h2 { font-size: clamp(1.9rem, 3.2vw, 2.8rem); }
.app-body p { color: var(--mute); }
.app-go { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-size: .86rem; font-weight: 600; transition: gap .4s var(--ease), color .3s; }
.app-card:hover { box-shadow: var(--shadow-2); transform: translateY(-6px); }
.app-card:hover .app-media img { transform: scale(1.05); filter: none; }
.app-card:hover .app-go { gap: 12px; color: var(--violet); }
.app-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.app-point { padding: 30px; border-radius: 28px; background: var(--mist); transition: background .4s, transform .6s var(--spring); }
.app-point:hover { background: #fff; box-shadow: var(--shadow-1); transform: translateY(-4px); }
.app-point-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; font: 600 .78rem/1 var(--mono); margin-bottom: 22px; }
.app-point p { font-family: var(--display); font-size: 1.16rem; line-height: 1.4; letter-spacing: -.01em; font-stretch: 94%; }
.app-note { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; padding: 12px 4px; font-size: .84rem; color: var(--mute); }
.next-app { padding-top: 0; }
.next-link { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: clamp(30px, 4vw, 52px) clamp(24px, 4vw, 56px); border-radius: var(--r-xl); background: var(--mist); overflow: hidden; isolation: isolate; }
.next-link::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--iris); opacity: 0; transition: opacity .6s; }
.next-link:hover::before { opacity: 1; }
.next-link small { font: 600 .68rem/1 var(--mono); text-transform: uppercase; letter-spacing: .14em; color: var(--mute); transition: color .4s; }
.next-link span { flex: 1; font-family: var(--display); font-size: clamp(1.9rem, 4.4vw, 3.6rem); font-weight: 600; font-stretch: 84%; letter-spacing: -.05em; transition: color .4s; }
.next-link .i { width: 60px; height: 60px; padding: 17px; border-radius: 50%; background: var(--ink); color: #fff; transition: transform .6s var(--spring), background .3s, color .3s; }
.next-link:hover small, .next-link:hover span { color: #fff; }
.next-link:hover .i { transform: translateX(8px) rotate(-45deg); background: #fff; color: var(--ink); }
[dir="rtl"] .next-link:hover .i { transform: scaleX(-1) translateX(8px) rotate(-45deg); }

/* ───────────── 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: 540px; }
.story-fig { position: absolute; margin: 0; overflow: hidden; border-radius: var(--r-l); background: var(--mist); box-shadow: var(--shadow-2); transition: transform 1s var(--spring); }
.story-fig img { width: 100%; height: 100%; object-fit: cover; }
.story-fig-a { inset-inline-start: 0; top: 0; width: 64%; aspect-ratio: 4 / 5; transform: rotate(-3deg); }
.story-fig-b { inset-inline-end: 0; bottom: 0; width: 50%; aspect-ratio: 1; transform: rotate(4deg); box-shadow: 0 0 0 8px #fff, var(--shadow-2); }
.story-media:hover .story-fig-a { transform: rotate(-1deg) translateY(-6px); }
.story-media:hover .story-fig-b { transform: rotate(1deg) translateY(-10px); }
.story-badge { position: absolute; inset-inline-end: 4%; top: 8%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 600; box-shadow: var(--glow); animation: bob 5s ease-in-out infinite; }
.story-copy p { color: var(--ink-2); font-size: 1.05rem; margin-top: 18px; }
.story-copy .shead { margin-bottom: 8px; }
.process { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.process li { position: relative; padding: 26px 22px; border-radius: 26px; background: var(--mist); transition: background .4s, transform .6s var(--spring), box-shadow .4s; }
.process li:hover { background: #fff; box-shadow: var(--shadow-1); transform: translateY(-6px); }
.process-n { display: block; font: 600 2.6rem/1 var(--mono); letter-spacing: -.06em; margin-bottom: 18px; color: rgba(13, 12, 22, .14); transition: color .4s; }
.process li:hover .process-n { background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }
.process h3 { font-size: 1.12rem; margin-bottom: 6px; font-stretch: 92%; }
.process p { font-size: .86rem; color: var(--mute); }
.facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.facts > div { display: grid; gap: 6px; padding: 20px 22px; border-radius: 22px; background: var(--mist); }
.facts dt { font-size: .78rem; font-weight: 600; color: var(--mute); }
.facts dd { margin: 0; font-weight: 550; }
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.gallery-item { position: relative; display: block; aspect-ratio: 4 / 3; overflow: hidden; border-radius: 24px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.6); transition: transform 1.2s var(--ease), filter .7s; }
.gallery-item:hover img { transform: scale(1.07); filter: none; }
.contact-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 60px); align-items: start; }
.contact-cards { display: grid; gap: 10px; }
.ccard { display: flex; align-items: center; gap: 16px; padding: 16px 16px 16px 16px; border-radius: 24px; background: var(--mist); transition: background .4s, transform .6s var(--spring), box-shadow .4s; }
.ccard:hover { background: #fff; box-shadow: var(--shadow-1); transform: translateX(6px); }
[dir="rtl"] .ccard:hover { transform: translateX(-6px); }
.ccard > div { flex: 1; min-width: 0; }
.ccard small { display: block; font-size: .74rem; font-weight: 600; color: var(--mute); margin-bottom: 2px; }
.ccard a, .ccard p { font-weight: 560; word-break: break-word; }
.ccard a:hover { color: var(--violet); }
.ccard-ico { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ink); color: #fff; }

/* ───────────── article / prose ───────────── */
.art-head { position: relative; padding-top: calc(var(--hdr-top) + var(--hdr-h) + 60px); isolation: isolate; }
.art-head::before { content: ''; position: absolute; z-index: -1; width: 40vw; height: 40vw; top: -18vw; inset-inline-end: -6vw; border-radius: 50%; background: radial-gradient(circle, rgba(139, 92, 246, .22), transparent 68%); filter: blur(40px); }
.art-meta { display: flex; flex-wrap: wrap; gap: 8px; font: 500 .74rem/1.4 var(--mono); color: var(--mute); margin-bottom: 18px; }
.art-title { font-size: clamp(2.3rem, 5.2vw, 4.2rem); line-height: 1; letter-spacing: -.05em; font-stretch: 86%; }
.art-lead { margin-top: 20px; font-size: 1.18rem; color: var(--ink-2); }
.art-cover { margin: clamp(32px, 4vw, 52px) auto; }
.art-cover img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-xl); background: var(--mist); }
.art-cover figcaption { margin-top: 10px; font: 500 .72rem var(--mono); color: var(--mute); }
.prose { font-size: 1.06rem; line-height: 1.78; color: var(--ink-2); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font-size: 1.8rem; color: var(--ink); margin-top: 2em; font-stretch: 90%; }
.prose h3 { font-size: 1.32rem; 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, color .3s; }
.prose a:hover { color: var(--violet); 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(--violet); }
.prose blockquote { margin: 1.6em 0; padding: 18px 24px; border-radius: 22px; background: var(--mist); color: var(--ink); font-size: 1.15rem; }
.prose figure { margin: 2em 0; }
.prose img { border-radius: 22px; }
.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-family: var(--mono); font-size: .88em; padding: 2px 7px; border-radius: 6px; background: var(--mist); }
.art-faq, .art-sources { margin-top: 60px; }
.art-faq h2, .art-sources h2 { font-size: 1.5rem; margin-bottom: 14px; }
.art-faq .qa + .qa { margin-top: 10px; }
.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 { position: relative; overflow: hidden; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; margin-top: 60px; padding: 30px 32px; border-radius: var(--r-l); background: var(--ink); color: #fff; }
.art-cta::before { content: ''; position: absolute; z-index: -1; width: 300px; height: 300px; top: -160px; inset-inline-end: -60px; border-radius: 50%; background: var(--iris); filter: blur(60px); opacity: .6; }
.art-cta h2 { font-size: 1.5rem; }
.art-cta p { color: rgba(255, 255, 255, .7); margin-top: 6px; }
.art-cta .btn { --bg: #fff; --fg: var(--ink); }
.art-cta .btn .btn-ico { background: var(--mist-2); }
.art-cta .btn:hover { color: #fff; }

/* ───────────── 404 ───────────── */
.nf { padding: calc(var(--hdr-top) + var(--hdr-h) + 80px) 0 120px; text-align: center; }
.nf-in { display: grid; justify-items: center; gap: 20px; }
.nf-disc { position: relative; width: 240px; aspect-ratio: 1; display: grid; place-items: center; margin-bottom: 10px; border-radius: 50%; background: var(--ink); color: #fff; box-shadow: var(--glow); }
.nf-disc::after { content: ''; position: absolute; inset: -10px; border-radius: 50%; padding: 3px; background: var(--iris-c); -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: spin-a 6s linear infinite; }
.nf-disc span { font: 600 4.6rem/1 var(--mono); letter-spacing: -.06em; background: var(--iris); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nf-disc svg { position: absolute; bottom: 100%; left: 50%; width: 60%; margin-bottom: 14px; transform: translateX(-50%); overflow: visible; }
.nf-disc path { fill: none; stroke: var(--blue); stroke-width: 4; 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.3rem, 5.4vw, 3.8rem); letter-spacing: -.05em; }
.nf p { color: var(--mute); }

/* ───────────── products list bar ───────────── */
.plist { padding-top: 20px; }
.plist-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 30px; }
.plist-count { font: 600 .72rem/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* ───────────── RTL read-outs, keyframes ───────────── */
.pdp-chips b, .pl-stats dd, .pspec-row b, .jst-at, .pcard-temp { direction: ltr; unicode-bidi: isolate; }
@keyframes blink { 50% { opacity: .25; } }
@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 wisp { 0% { stroke-dashoffset: 130; opacity: 0; transform: translateY(8px); } 25% { opacity: .9; } 100% { stroke-dashoffset: -130; opacity: 0; transform: translateY(-14px); } }
@keyframes shake { 20%, 60% { transform: translateX(-6px); } 40%, 80% { transform: translateX(6px); } }
@keyframes pop-in { from { opacity: 0; transform: scale(.7) translateY(30px); } }
@keyframes pop-out { to { opacity: 0; transform: scale(.8) translateY(30px); } }
@keyframes msg-in { from { opacity: 0; transform: translateY(10px) scale(.96); } }
@keyframes toast-in { from { opacity: 0; transform: translateY(16px) scale(.9); } }
@keyframes toast-out { to { opacity: 0; transform: translateY(10px); } }
@keyframes heat-slide { from { background-position: 0 0; } to { background-position: 300% 0; } }
@keyframes flicker { from { transform: scale(1) rotate(-3deg); } to { transform: scale(1.12) rotate(3deg); } }
@keyframes drift { 0% { transform: translate(0, 0) scale(1); } 50% { transform: translate(4vw, -3vw) scale(1.08); } 100% { transform: translate(-3vw, 2vw) scale(.94); } }
@keyframes glowdot { 50% { box-shadow: 0 0 20px rgba(255, 77, 141, .9); transform: scale(1.15); } }
@keyframes cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(11px); opacity: 0; } 100% { transform: translateY(0); opacity: 0; } }
@keyframes bob { 50% { transform: translateY(-8px); } }

/* ───────────── responsive ───────────── */
@media (max-width: 1180px) {
  .pgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .nav-link { padding-inline: 11px; }
  .hdr-temp { display: none; }
  .ftr-top { grid-template-columns: 1fr 1fr; }
  .process { grid-template-columns: repeat(3, 1fr); }
  .h3-title { max-width: 64%; }
}
@media (max-width: 960px) {
  .nav { display: none; }
  .burger { display: block; }
  .hdr-in { justify-content: space-between; padding-inline-end: 6px; }
  .hdr-act { margin-inline-start: auto; }
  .pdp-grid, .inq-wrap, .contact-grid, .story-grid, .pdp-ov, .planner, .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .shead { position: static; }
  .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: 36px; aspect-ratio: 4 / 3; }
  .pgrid, .pgrid-3, .range .pgrid, .app-grid, .ngrid, .use-grid, .certs, .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .app-points { grid-template-columns: 1fr; }
  .process { grid-template-columns: 1fr 1fr; }
  .story-media { min-height: 440px; }
  /* hero: the label floats above the copy */
  .h3 { justify-content: flex-end; padding-top: calc(var(--hdr-top) + var(--hdr-h) + 46vh); padding-bottom: 40px; min-height: 0; }
  .h3-title, .h3-foot { max-width: none; }
  .h3-title { font-size: clamp(2.8rem, 12vw, 6rem); margin-top: 18px; }
  .h3-fallback { top: calc(var(--hdr-top) + var(--hdr-h) + 20px); inset-inline-end: auto; left: 50%; width: min(56vw, 300px); margin: 0 0 0 calc(min(56vw, 300px) / -2); }
  [dir="rtl"] .h3-fallback { left: auto; right: 50%; margin: 0 calc(min(56vw, 300px) / -2) 0 0; }
  .h3-panel { position: relative; inset: auto; width: auto; margin: 30px var(--gut) 0; }
  .h3-cue { display: none; }
  .mani { height: auto; }
  .mani-media { position: relative; height: 56vw; margin: 0 var(--gut); border-radius: var(--r-l); }
  .mani-film { clip-path: none; transform: none; }
  .mani-glow { display: none; }
  .mani-in { position: relative; height: auto; padding-block: 50px 80px; }
  .mw { color: var(--ink); filter: none; }
  .mani-text { max-width: none; font-size: clamp(1.9rem, 8vw, 3rem); }
  .cp { height: auto; }
  .cp-pin { position: relative; height: auto; min-height: 100vh; padding-block: 90px; }
  .cp-in { flex-direction: column; align-items: stretch; }
  .cp-gauge { justify-items: start; text-align: start; }
  .ap-card { grid-template-columns: 1fr; min-height: 0; }
  .ap-media { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  .hdr-quote, .brand-txt small { display: none; }
  .pgrid, .pgrid-3, .range .pgrid, .app-grid, .ngrid, .use-grid, .gallery { grid-template-columns: 1fr; }
  .certs { grid-template-columns: repeat(2, minmax(0, 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; border-inline-start: 0; border-top: 1px solid rgba(255, 255, 255, .1); }
  .pdp-chips { grid-template-columns: 1fr; }
  .ftr-top { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .spec th { width: 40%; padding: 13px; } .spec td { padding: 13px; }
  .film { height: 400px; } .film-sq { height: 300px; }
  .lang-pop { position: fixed; inset-inline: 12px; top: calc(var(--hdr-top) + var(--hdr-h) + 10px); width: auto; }
  /* phones: the chat tab becomes a round button so it never covers text */
  .chat-tab, [dir="rtl"] .chat-tab { writing-mode: horizontal-tb; bottom: 16px; right: 16px; left: auto; width: 54px; height: 54px; padding: 0; justify-content: center; border-radius: 50%; box-shadow: var(--shadow-2); }
  [dir="rtl"] .chat-tab { right: auto; left: 16px; }
  .chat-tab span { display: none; }
  .chat-tab .i { transform: none; width: 22px; height: 22px; }
  .chat-tab:hover { padding: 0; }
  .wa-fab { bottom: 80px; }
  /* home range: a swipe row instead of nine stacked cards */
  .range .pgrid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(var(--gut) * -1); padding: 4px var(--gut) 18px; scroll-padding-inline: var(--gut); }
  .range .pgrid::-webkit-scrollbar { display: none; }
  .range .pcard { flex: none; width: 78vw; scroll-snap-align: start; }
  .c3-btns .btn { width: 100%; }
  .range-head .tabs { width: 100%; }
  .process { grid-template-columns: 1fr; }
  .thumb { width: 64px; }
  .h3-panel { grid-template-columns: 1fr; }
  .h3-panel .chip-btn { justify-self: stretch; }
  .h3-ctas .btn { flex: 1 1 auto; }
  .jst { width: 84vw; }
  .story-media { min-height: 360px; }
}

/* ───────────── 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, .js .h3-title .hl, .js .h3-eyebrow, .js .h3-foot > *, .js .h3-panel { opacity: 1 !important; transform: none !important; translate: none !important; color: inherit; filter: none !important; }
  .mani { height: auto; } .mani-media { position: relative; } .mani-film { clip-path: none; } .mw { color: var(--ink); }
}
