/* Savori site styles.
   色票與漸層照抄 savori_marketing/templates/tokens.css（由 Figma「Savori 行銷品牌規範」變數集合 Savori Brand 產生，2026-10-23 匯出）。
   改色先改 Figma 變數，同步到行銷 repo 的 tokens.css，再更新下面「brand」這一段。 */

/* 中文標題用源石黑體 TW Bold 的子集（scripts/subset-fonts.py 產生，只含 h1–h3 用到的字）；內文用系統字型 */
@font-face { font-family: 'Savori Sans TC'; font-weight: 700; font-display: swap; src: url('/assets/fonts/savori-sans-tc-b.woff2') format('woff2'); }
@font-face { font-family: 'Mozilla Headline'; font-weight: 200 700; font-display: swap; src: url('/assets/fonts/MozillaHeadline-latin.woff2') format('woff2');
  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: 'Mozilla Headline'; font-weight: 200 700; font-display: swap; src: url('/assets/fonts/MozillaHeadline-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Mozilla Text'; font-weight: 200 700; font-display: swap; src: url('/assets/fonts/MozillaText-latin.woff2') format('woff2');
  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: 'Mozilla Text'; font-weight: 200 700; font-display: swap; src: url('/assets/fonts/MozillaText-latinext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+20A0-20AB, U+20AD-20C4, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* brand（Figma Savori Brand） */
  --paper: #FBF7F1;
  --paper-2: #F2EDE4;
  --ink: #18181B;
  --ink-2: #55534E;
  --accent: #C96A3F;
  --food: #E8C46E;
  --book: #A3BDD9;
  --film: #A3C9AB;
  --music: #E4AEC0;
  --food-tint: #F1DCA2;
  --book-tint: #C9D8E9;
  --film-tint: #C8DFCC;
  --music-tint: #F0CFDA;
  --grad-grounding: linear-gradient(180deg, #EAEDF1 0%, #CEE2F8 55%, #6092E2 100%);
  --grad-flowing: linear-gradient(170deg, #FFF071 0%, #FDE686 30%, #E9E6B8 55%, #CFE0E6 75%, #96C9FF 100%);
  --grad-sharing: linear-gradient(180deg, #FBCEDF 0%, #F9D9C4 45%, #F9BE3B 100%);
  --line: rgba(24, 24, 27, .14);

  /* web */
  --font-zh: 'PingFang TC', 'Noto Sans TC', 'Noto Sans CJK TC', 'Microsoft JhengHei', sans-serif;
  --font-head: 'Mozilla Headline', 'Savori Sans TC', var(--font-zh);
  --font-text: 'Mozilla Text', var(--font-zh);
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --gutter: clamp(20px, 5vw, 56px);
  --max: 1200px;
  --radius: 28px;
  --nav-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: var(--nav-h); }
body {
  font-family: var(--font-text);
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--food-tint); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: calc(var(--max) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ── Type ─────────────────────────────────────────── */
.display {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(40px, 7.2vw, 92px);
  line-height: 1.12;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
html[lang='en'] .display { letter-spacing: -0.035em; line-height: 1.02; font-weight: 600; }
.h2 {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.16;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
html[lang='en'] .h2 { letter-spacing: -0.03em; line-height: 1.06; font-weight: 600; }
.lead {
  font-size: clamp(17px, 1.6vw, 20px);
  line-height: 1.7;
  color: var(--ink-2);
  text-wrap: pretty;
}
.kicker {
  font-family: var(--font-text);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ── Nav ──────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  transition: background-color .25s ease, box-shadow .25s ease, -webkit-backdrop-filter .25s ease, backdrop-filter .25s ease;
}
.nav.is-scrolled {
  background-color: rgba(251, 247, 241, .74);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 rgba(24, 24, 27, .07);
}
.nav__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav__right { display: flex; align-items: center; gap: clamp(12px, 2.4vw, 28px); }
.nav__link {
  font-size: 15px;
  text-decoration: none;
  color: var(--ink-2);
  transition: color .15s ease;
  white-space: nowrap;
}
.nav__link:hover { color: var(--ink); }

.logo { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; border-radius: 8px; }
.logo__svg { height: 26px; width: auto; }
.logo__mark { width: 30px; height: auto; }
.logo__suffix { font-family: var(--font-head); font-weight: 600; font-size: 17px; color: var(--ink-2); margin-left: -3px; margin-top: 1px; }

.lang {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  background: rgba(24, 24, 27, .06);
}
.lang__btn {
  position: relative;
  min-width: 44px;
  height: 32px;
  padding: 0 12px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  cursor: pointer;
  transition: color .15s ease, background-color .15s ease, box-shadow .15s ease;
}
.lang__btn[aria-pressed='true'] { background: #fff; color: var(--ink); box-shadow: 0 1px 2px rgba(24, 24, 27, .08), 0 0 0 1px rgba(24, 24, 27, .04); }
.lang__btn:hover { color: var(--ink); }

/* ── Buttons ──────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 52px;
  padding: 0 26px;
  border: 0;
  border-radius: 999px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .16s var(--ease-out), background-color .2s ease, box-shadow .2s ease;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 19px; height: 19px; flex: none; }
.btn--ink { background: var(--ink); color: #fff; box-shadow: 0 1px 0 rgba(255, 255, 255, .12) inset, 0 8px 24px -10px rgba(24, 24, 27, .55); }
.btn--ink:hover { background: #2a2a2e; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--paper-2); }

.status {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  height: 34px;
  padding: 0 14px 0 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .62);
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .07), 0 6px 18px -10px rgba(24, 24, 27, .25);
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.status__dot { position: relative; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); }
.status__dot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--accent);
  animation: ping 2.4s var(--ease-out) infinite;
}
@keyframes ping { 0% { transform: scale(1); opacity: .5; } 70%, 100% { transform: scale(2.8); opacity: 0; } }

/* ── Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: max(680px, 100svh);
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 40px) 0 72px;
  overflow: clip;
  isolation: isolate;
}
.aurora { position: absolute; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.aurora__blob {
  position: absolute;
  border-radius: 50%;
  will-change: transform;
  animation: drift var(--t, 30s) var(--ease-in-out) infinite alternate;
}
.aurora__blob--yellow { width: 78vmax; height: 78vmax; left: -34vmax; bottom: -42vmax; background: radial-gradient(closest-side, #FFF071 0%, rgba(253, 230, 134, .85) 38%, rgba(253, 230, 134, 0) 100%); --t: 26s; }
.aurora__blob--blue { width: 74vmax; height: 74vmax; right: -30vmax; top: -40vmax; background: radial-gradient(closest-side, #96C9FF 0%, rgba(206, 226, 248, .9) 42%, rgba(206, 226, 248, 0) 100%); --t: 32s; animation-delay: -8s; }
.aurora__blob--pink { width: 46vmax; height: 46vmax; right: -14vmax; bottom: -22vmax; background: radial-gradient(closest-side, rgba(251, 206, 223, .95) 0%, rgba(251, 206, 223, 0) 100%); --t: 22s; animation-delay: -4s; }
.aurora__blob--mint { width: 40vmax; height: 40vmax; left: 8vmax; top: -24vmax; background: radial-gradient(closest-side, rgba(207, 224, 230, .9) 0%, rgba(207, 224, 230, 0) 100%); --t: 36s; animation-delay: -12s; }
@keyframes drift {
  0% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(4vmax, -3vmax, 0) scale(1.08); }
  100% { transform: translate3d(-3vmax, 2vmax, 0) scale(.96); }
}
.grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .5;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .1 0 0 0 0 .1 0 0 0 0 .1 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.grid-lines {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(24, 24, 27, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(24, 24, 27, .045) 1px, transparent 1px);
  background-size: 72px 72px;
  background-position: center center;
  -webkit-mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, #000 0%, transparent 100%);
  mask-image: radial-gradient(ellipse 55% 50% at 50% 48%, #000 0%, transparent 100%);
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(100%, 980px);
  padding-inline: var(--gutter);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero__title { margin-top: 28px; }
.display .line, .h2 .line { display: block; }
.hero__lead { margin-top: 24px; max-width: 34em; }
.hero__cta { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Hero entrance：只在載入時跑一次 */
.rise { animation: rise 1s var(--ease-out) both; animation-delay: var(--delay, 0ms); }
@keyframes rise {
  from { opacity: 0; transform: translate3d(0, 22px, 0); filter: blur(8px); }
  to { opacity: 1; transform: none; filter: blur(0); }
}

/* 3D objects */
.objects { position: absolute; inset: 0; z-index: 1; pointer-events: none; }
.obj {
  position: absolute;
  left: var(--x, auto);
  right: var(--rx, auto);
  top: var(--y, auto);
  bottom: var(--by, auto);
  width: var(--w);
}
.obj__px { will-change: transform; }
.obj__float { animation: bob var(--bob, 7s) ease-in-out var(--bob-delay, 0s) infinite alternate; }
.obj img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 30px rgba(84, 70, 40, .16)) blur(var(--blur, 0));
  animation: pop 1.2s var(--ease-out) both;
  animation-delay: var(--delay, 300ms);
}
@keyframes bob {
  from { transform: translate3d(0, -9px, 0) rotate(var(--r, 0deg)); }
  to { transform: translate3d(0, 9px, 0) rotate(calc(var(--r, 0deg) + 3deg)); }
}
@keyframes pop {
  from { opacity: 0; transform: translate3d(0, 40px, 0) scale(.9); }
  to { opacity: 1; transform: none; }
}
.is-paused .obj__float,
.is-paused .aurora__blob,
.is-paused .sheet,
.is-paused .ribbons svg,
.is-paused .dots circle,
.is-paused .window::before { animation-play-state: paused; }

.obj--headphones { --x: 5%; --y: 15%; --w: clamp(120px, 15vw, 236px); --r: -12deg; --bob: 7.5s; }
.obj--vinyl { --x: 25%; --y: 11%; --w: clamp(80px, 8vw, 126px); --r: -8deg; --bob: 6.2s; --bob-delay: -2s; --blur: 1.5px; }
.obj--bubble-tea { --rx: 9%; --y: 11%; --w: clamp(80px, 9vw, 140px); --r: 10deg; --bob: 8s; --bob-delay: -3s; }
.obj--open-book { --rx: 27%; --y: 10%; --w: clamp(84px, 8.4vw, 132px); --r: 6deg; --bob: 6.8s; --bob-delay: -1s; --blur: 1.5px; }
.obj--popcorn { --x: 3%; --y: 57%; --w: clamp(100px, 11vw, 170px); --r: 8deg; --bob: 7s; --bob-delay: -4s; }
.obj--book-stack { --rx: 4%; --y: 50%; --w: clamp(120px, 14vw, 220px); --r: -6deg; --bob: 8.4s; --bob-delay: -2s; }
.obj--tickets { --x: 19%; --by: 5%; --w: clamp(100px, 11vw, 172px); --r: -14deg; --bob: 6.6s; --bob-delay: -5s; }
.obj--xiaolongbao { --rx: 20%; --by: 4%; --w: clamp(110px, 12vw, 190px); --r: 5deg; --bob: 7.8s; --bob-delay: -6s; }

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  width: 1px;
  height: 44px;
  margin-left: -.5px;
  overflow: hidden;
  background: rgba(24, 24, 27, .12);
}
.scroll-cue::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink);
  transform: translateY(-100%);
  animation: cue 2.4s var(--ease-in-out) 1.6s infinite;
}
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }

/* ── Sections ─────────────────────────────────────── */
.section { padding-block: clamp(96px, 13vw, 168px); }
.section__head { text-align: center; max-width: 760px; margin: 0 auto clamp(48px, 6vw, 72px); }
.section__head .lead { margin-top: 18px; }

/* Reveal on scroll（JS 加 .reveal；沒 JS 時內容照常顯示） */
.js .reveal { opacity: 0; transform: translate3d(0, 28px, 0); transition: opacity .9s var(--ease-out), transform .9s var(--ease-out); transition-delay: var(--delay, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

/* Categories */
.cats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.cat {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: clamp(300px, 30vw, 380px);
  padding: clamp(20px, 2vw, 28px);
  border-radius: var(--radius);
  background: var(--tint);
  overflow: hidden;
  isolation: isolate;
}
.cat::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(120% 80% at 50% 0%, rgba(255, 255, 255, .75) 0%, rgba(255, 255, 255, 0) 60%);
}
.cat--food { --tint: var(--food-tint); --deep: #6E5313; }
.cat--book { --tint: var(--book-tint); --deep: #34506F; }
.cat--film { --tint: var(--film-tint); --deep: #335A3C; }
.cat--music { --tint: var(--music-tint); --deep: #763C51; }
.cat__art {
  position: absolute;
  left: 50%;
  top: 14%;
  width: 62%;
  translate: -50% 0;
  transition: transform .5s var(--ease-out);
}
.cat__art img { width: 100%; height: auto; filter: drop-shadow(0 22px 22px rgba(60, 50, 30, .16)); }
.cat__label { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--deep); }
.cat__title { margin-top: 6px; font-family: var(--font-head); font-size: clamp(20px, 2vw, 26px); font-weight: 700; line-height: 1.25; letter-spacing: -0.005em; }
html[lang='en'] .cat__title { letter-spacing: -0.02em; font-weight: 600; }
@media (hover: hover) and (pointer: fine) {
  .cat:hover .cat__art { transform: translate3d(0, -8px, 0) rotate(-3deg) scale(1.04); }
}

/* Pillars：品牌三關鍵字 Grounding／Flowing／Sharing */
.pillars { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.pillar {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: clamp(440px, 44vw, 560px);
  padding: clamp(24px, 2.6vw, 36px);
  border-radius: var(--radius);
  overflow: hidden;
  isolation: isolate;
}
.pillar--grounding { background: var(--grad-grounding); }
.pillar--flowing { background: var(--grad-flowing); }
.pillar--sharing { background: var(--grad-sharing); }
.pillar__en { font-family: var(--font-head); font-size: clamp(17px, 1.5vw, 20px); font-weight: 500; line-height: 1.3; letter-spacing: -0.01em; max-width: 13em; color: rgba(24, 24, 27, .78); }
.pillar__title { margin-top: auto; font-family: var(--font-head); font-size: clamp(34px, 3.6vw, 48px); font-weight: 700; line-height: 1.1; }
html[lang='en'] .pillar__title { letter-spacing: -0.03em; font-weight: 600; }
.pillar__body { margin-top: 10px; min-height: calc(1.65em * 2); max-width: 20em; font-size: 16px; line-height: 1.65; color: rgba(24, 24, 27, .78); text-wrap: pretty; }
.pillar__art { position: absolute; inset: 0; z-index: -1; pointer-events: none; }

/* Grounding：斜 26° 的圓角平行四邊形，像紙張一層層疊起來 */
.sheets { position: absolute; left: 50%; top: 46%; width: 70%; aspect-ratio: 1; translate: -50% -50%; }
.sheet-wrap { position: absolute; inset: 22% 18%; transition: transform .8s var(--ease-out); }
.sheet-wrap:nth-child(1) { --i: -1.5; }
.sheet-wrap:nth-child(2) { --i: -.5; }
.sheet-wrap:nth-child(3) { --i: .5; }
.sheet-wrap:nth-child(4) { --i: 1.5; }
.sheet {
  position: absolute;
  inset: 0;
  border-radius: 22px;
  transform: skewY(-26deg) translate3d(var(--sx, 0), var(--sy, 0), 0);
  background: linear-gradient(160deg, rgba(255, 255, 255, .92), rgba(255, 255, 255, .38));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .6) inset, 0 18px 40px -18px rgba(37, 70, 128, .45);
  animation: slide 9s var(--ease-in-out) infinite alternate;
  animation-delay: var(--d, 0s);
}
.sheet-wrap:nth-child(1) .sheet { --sx: -26%; --sy: -18%; --d: -1s; opacity: .55; }
.sheet-wrap:nth-child(2) .sheet { --sx: -9%; --sy: -6%; --d: -3s; opacity: .75; }
.sheet-wrap:nth-child(3) .sheet { --sx: 9%; --sy: 6%; --d: -5s; }
.sheet-wrap:nth-child(4) .sheet { --sx: 26%; --sy: 18%; --d: -7s; background: linear-gradient(160deg, #fff, rgba(206, 226, 248, .9)); }
@keyframes slide {
  from { transform: skewY(-26deg) translate3d(var(--sx), var(--sy), 0); }
  to { transform: skewY(-26deg) translate3d(calc(var(--sx) * .55), calc(var(--sy) * .55), 0); }
}

/* Flowing：連續的流線 */
.ribbons { position: absolute; left: 0; right: 0; top: 20%; height: 44%; overflow: hidden; }
.ribbons svg { width: 200%; height: 100%; animation: flow var(--t, 16s) linear infinite; }
.ribbons svg + svg { position: absolute; inset: 0 auto auto 0; }
@keyframes flow { to { transform: translate3d(-50%, 0, 0); } }

/* Sharing：從中心往外擴散的點陣 */
.dots { position: absolute; left: 50%; top: 40%; width: 104%; aspect-ratio: 1; translate: -50% -50%; -webkit-mask-image: radial-gradient(closest-side, #000 70%, transparent); mask-image: radial-gradient(closest-side, #000 70%, transparent); }
.dots circle { transform-box: fill-box; transform-origin: center; animation: ripple 3.6s ease-in-out infinite; animation-delay: var(--d, 0s); }
@keyframes ripple { 0%, 100% { opacity: .35; transform: scale(.8); } 40% { opacity: 1; transform: scale(1.15); } }

/* Closing CTA */
.closing { padding-bottom: clamp(24px, 3vw, 40px); }
.cta-panel {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  gap: 32px;
  padding: clamp(36px, 6vw, 88px);
  border-radius: calc(var(--radius) + 8px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  isolation: isolate;
}
.cta-panel::before {
  content: '';
  position: absolute;
  inset: auto -10% -60% 30%;
  height: 120%;
  z-index: -1;
  background: radial-gradient(closest-side, rgba(150, 201, 255, .18), transparent);
}
.cta-panel .h2 { color: #fff; }
.cta-panel .lead { color: rgba(255, 255, 255, .72); margin-top: 16px; max-width: 26em; }
.cta-panel .btn { margin-top: 36px; }
.window {
  justify-self: center;
  width: min(100%, 400px);
  aspect-ratio: 40.4235 / 33.3054;
  position: relative;
  overflow: hidden;
  -webkit-mask: url('/assets/mark.svg') center / contain no-repeat;
  mask: url('/assets/mark.svg') center / contain no-repeat;
  background: #FDE686;
}
/* Logo 當窗：裡面是慢慢旋轉的品牌漸層光 */
.window::before {
  content: '';
  position: absolute;
  inset: -45%;
  background:
    radial-gradient(closest-side at 30% 30%, #FFF071, rgba(255, 240, 113, 0)),
    radial-gradient(closest-side at 72% 28%, #96C9FF, rgba(150, 201, 255, 0)),
    radial-gradient(closest-side at 70% 72%, #FBCEDF, rgba(251, 206, 223, 0)),
    radial-gradient(closest-side at 28% 74%, #6092E2, rgba(96, 146, 226, 0)),
    linear-gradient(135deg, #FDE686, #CFE0E6);
  animation: swirl 18s linear infinite;
}
@keyframes swirl { to { transform: rotate(360deg); } }

/* Footer */
.footer { padding-block: 28px 40px; }
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(24, 24, 27, .08);
  font-size: 14px;
  color: var(--ink-2);
}
.footer__left { display: flex; align-items: center; gap: 12px; }
.footer__left .logo__mark { width: 22px; }
.footer__links { display: flex; flex-wrap: wrap; gap: 8px 24px; list-style: none; }
.footer a { text-decoration: none; transition: color .15s ease; }
.footer a:hover { color: var(--ink); }

/* Language swap */
[data-i18n] { transition: opacity .15s ease; }
.is-swapping [data-i18n] { opacity: 0; }

/* ── Responsive ───────────────────────────────────── */
@media (max-width: 1023px) {
  .obj--vinyl, .obj--open-book { display: none; }
  .cats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pillars { grid-template-columns: 1fr; }
  .pillar { min-height: 420px; }
  .cta-panel { grid-template-columns: 1fr; }
  .window { width: min(70%, 300px); grid-row: 1; justify-self: start; }
}
@media (max-width: 767px) {
  body { font-size: 16px; }
  .hero { min-height: max(640px, 100svh); padding-bottom: 96px; }
  .hero__title { margin-top: 22px; }
  .hero__lead { margin-top: 18px; }
  .hero__cta { margin-top: 32px; }
  .grid-lines { background-size: 48px 48px; }
  .obj--headphones { --x: -6%; --y: 9%; --w: 116px; }
  .obj--bubble-tea { --rx: -2%; --y: 10%; --w: 78px; }
  .obj--popcorn { display: none; }
  .obj--book-stack { --rx: -8%; --y: auto; --by: 10%; --w: 120px; }
  .obj--tickets { --x: -6%; --by: 7%; --w: 112px; }
  .obj--xiaolongbao { display: none; }
  .scroll-cue { display: none; }
  .cat { min-height: 236px; padding: 16px; border-radius: 22px; }
  .cat__art { top: 10%; width: 68%; }
  .pillar { min-height: 400px; border-radius: 24px; }
  .cta-panel { border-radius: 28px; }
  .footer__inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 380px) {
  .logo__svg { height: 23px; }
}

@media (prefers-reduced-motion: reduce) {
  .rise, .obj img { animation: fade .5s ease both; animation-delay: 0ms; }
  @keyframes fade { from { opacity: 0; } to { opacity: 1; } }
  .obj__float, .aurora__blob, .sheet, .ribbons svg, .dots circle, .window::before, .status__dot::after, .scroll-cue::after { animation: none; }
  .sheet-wrap, .ribbons svg, .dots svg, .chip i { transition: none; }
  .js .reveal { transform: none; transition: opacity .6s ease; }
  .obj__px { transform: none !important; }
}

/* ── Company ──────────────────────────────────────── */
.aurora--grounding .aurora__blob--yellow { background: radial-gradient(closest-side, rgba(234, 237, 241, .95), rgba(234, 237, 241, 0)); }
.aurora--grounding .aurora__blob--blue { background: radial-gradient(closest-side, #96C9FF 0%, rgba(206, 226, 248, .85) 45%, rgba(206, 226, 248, 0) 100%); }
.aurora--grounding .aurora__blob--pink { background: radial-gradient(closest-side, rgba(96, 146, 226, .35), rgba(96, 146, 226, 0)); }
.co-hero {
  position: relative;
  min-height: min(760px, 92svh);
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 48px) 0 80px;
  overflow: clip;
  isolation: isolate;
}
.co-hero__inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 32px; }
.co-hero .display { font-size: clamp(38px, 5.6vw, 76px); margin-top: 22px; }
.co-hero .btn { margin-top: 40px; }
.co-hero__art { position: relative; aspect-ratio: 1; }
.co-hero__art .sheets { width: 100%; top: 50%; }
.co-hero__art .sheet { box-shadow: 0 0 0 1px rgba(255, 255, 255, .7) inset, 0 30px 60px -24px rgba(37, 70, 128, .4); }
.co-hero__art .sheet-wrap:nth-child(4) .sheet { background: linear-gradient(160deg, #fff, #CEE2F8 60%, #96C9FF); }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .6);
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .07);
  font-size: 14px;
  font-weight: 600;
}

.products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.product {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 28px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 1px 2px rgba(24, 24, 27, .04);
  transition: transform .3s var(--ease-out), box-shadow .3s var(--ease-out);
}
.product__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tag { font-size: 13px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 12.5px;
  font-weight: 600;
  white-space: nowrap;
}
.pill::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--dot); }
.pill--live { --dot: #3FA46A; }
.pill--beta { --dot: #E0A526; }
.pill--dev { --dot: #A8A39A; }
.product h3 { margin-top: 28px; font-family: var(--font-head); font-size: 24px; font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; }
.product__tagline { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.product__desc { margin-top: 14px; font-size: 15px; line-height: 1.7; color: var(--ink-2); flex: 1; text-wrap: pretty; }
.product__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 22px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}
.product__link::after { content: ''; position: absolute; inset: 0; border-radius: inherit; }
.product__link svg { width: 14px; height: 14px; transition: transform .2s var(--ease-out); }
.product:has(.product__link:focus-visible) { outline: 2px solid var(--ink); outline-offset: 3px; }
.product__link:focus-visible { outline: none; }
@media (hover: hover) and (pointer: fine) {
  .product:hover { transform: translate3d(0, -3px, 0); box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 18px 40px -20px rgba(24, 24, 27, .25); }
  .product:hover .product__link svg { transform: translate3d(2px, -2px, 0); }
}

.about { display: grid; grid-template-columns: 1.4fr 1fr; gap: clamp(32px, 6vw, 96px); align-items: start; }
.about__text p { margin-top: 18px; font-size: clamp(17px, 1.5vw, 19px); line-height: 1.8; color: var(--ink-2); max-width: 34em; }
.facts { display: grid; gap: 0; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px rgba(24, 24, 27, .06); padding: 8px 28px; }
.fact { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; }
.fact + .fact { border-top: 1px solid rgba(24, 24, 27, .07); }
.fact dt { color: var(--ink-2); font-size: 15px; }
.fact dd { font-weight: 600; font-size: 15px; }

/* ── Support / 404 ────────────────────────────────── */
.solo {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 32px) var(--gutter) 96px;
  overflow: clip;
  isolation: isolate;
  text-align: center;
}
.solo__card { position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; max-width: 560px; }
.solo .display { font-size: clamp(44px, 7vw, 80px); }
.solo .lead { margin-top: 18px; }
.solo .btn { margin-top: 36px; }
.solo__note { margin-top: 16px; font-size: 14px; color: var(--ink-2); }
.solo__note a { text-underline-offset: 3px; }
.code {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(96px, 18vw, 200px);
  line-height: .9;
  letter-spacing: -0.05em;
  background: linear-gradient(170deg, #6092E2 0%, #96C9FF 40%, #FDE686 80%, #F9BE3B 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

@media (max-width: 1023px) {
  .products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .co-hero__inner { grid-template-columns: 1fr; }
  .co-hero__art { position: absolute; inset: auto -20% -10% auto; width: 70%; opacity: .6; z-index: -1; }
  .about { grid-template-columns: 1fr; }
}
@media (max-width: 767px) {
  .products { grid-template-columns: 1fr; }
  .nav__link { display: none; }
  .co-hero__art { width: 110%; inset: auto -40% -18% auto; opacity: .45; }
}

/* ── Pillars 互動：桌機上跟著滑鼠微微傾斜、反光，圖形跟著動；捲到時圖形組起來 ── */
.pillars > .reveal { display: flex; }
.pillars > .reveal > .pillar { flex: 1; }
.pillar { transform: perspective(1100px) rotateX(calc(var(--py, 0) * -3deg)) rotateY(calc(var(--px, 0) * 4deg)); }
.pillar > :not(.pillar__art) { position: relative; z-index: 1; }
.pillar::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(520px circle at var(--gx, 50%) var(--gy, 50%), rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%);
  opacity: 0;
  transition: opacity .4s ease;
}
.pillar.is-hover::after { opacity: 1; }
.pillar .sheets, .pillar .ribbons, .pillar .dots { transform: translate3d(calc(var(--px, 0) * 14px), calc(var(--py, 0) * 10px), 0); }
.pillar.is-hover .sheet-wrap { transform: translate3d(calc(var(--i) * 12px), calc(var(--i) * -7px), 0); }
.ribbons svg { transition: scale .9s var(--ease-out); }
.pillar.is-hover .ribbons svg { scale: 1 1.45; }
.dots svg { transition: scale .9s var(--ease-out), opacity .9s var(--ease-out); }
.pillar.is-hover .dots svg { scale: 1.08; }
.js .reveal:not(.is-in) .sheet-wrap { transform: translate3d(calc(var(--i) * 30px), calc(var(--i) * -18px), 0); }
.js .reveal:not(.is-in) .ribbons svg { scale: 1 0; }
.js .reveal:not(.is-in) .dots svg { scale: .5; opacity: 0; }

/* ── 把注意力握在自己手中 ─────────────────────────── */
.focus__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas: "head tuner" "perks tuner";
  grid-template-rows: auto 1fr;
  column-gap: clamp(32px, 6vw, 96px);
  row-gap: 48px;
  align-items: start;
}
.focus__head { grid-area: head; }
.focus__head .lead { margin-top: 18px; max-width: 30em; }
.perks { grid-area: perks; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.perk { display: flex; flex-direction: column; gap: 14px; }
.perk__icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 6px 16px -10px rgba(24, 24, 27, .3);
}
.perk__icon svg { width: 22px; height: 22px; }
.perk__title { font-family: var(--font-head); font-size: 19px; font-weight: 700; line-height: 1.3; }
html[lang='en'] .perk__title { font-weight: 600; letter-spacing: -0.015em; }
.perk__body { margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--ink-2); text-wrap: pretty; }

.tuner {
  grid-area: tuner;
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding: clamp(22px, 2.6vw, 32px);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .06), 0 30px 60px -30px rgba(24, 24, 27, .25);
}
.tuner__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 22px; }
.tuner__title { font-family: var(--font-head); font-size: 18px; font-weight: 700; }
.tuner__hint { height: 26px; display: inline-flex; align-items: center; padding: 0 10px; border-radius: 999px; background: var(--paper); font-size: 12.5px; font-weight: 600; color: var(--ink-2); white-space: nowrap; }
.knob + .knob { margin-top: 18px; }
.knob__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-size: 15px; font-weight: 600; }
.knob__row output { font-variant-numeric: tabular-nums; color: var(--ink-2); min-width: 3ch; text-align: end; }
.knob__desc { font-size: 13px; line-height: 1.5; color: var(--ink-2); }

.range {
  --c1: #FBCEDF;
  --c2: #F9BE3B;
  -webkit-appearance: none;
  appearance: none;
  display: block;
  width: 100%;
  height: 30px;
  margin: 4px 0 2px;
  background: transparent;
  cursor: pointer;
  touch-action: pan-y;
}
.range--explore { --c1: #FDE686; --c2: #96C9FF; }
.range:focus-visible { outline: none; }
.range::-webkit-slider-runnable-track {
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--c1), var(--c2)) 0 0 / var(--val, 50%) 100% no-repeat, rgba(24, 24, 27, .08);
}
.range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 24px;
  height: 24px;
  margin-top: -9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 1px rgba(24, 24, 27, .1), 0 2px 8px rgba(24, 24, 27, .22);
  transition: transform .15s var(--ease-out);
}
.range:active::-webkit-slider-thumb { transform: scale(1.12); }
.range:focus-visible::-webkit-slider-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }
.range::-moz-range-track { height: 6px; border-radius: 999px; background: rgba(24, 24, 27, .08); }
.range::-moz-range-progress { height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.range::-moz-range-thumb { width: 24px; height: 24px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(24, 24, 27, .1), 0 2px 8px rgba(24, 24, 27, .22); }
.range:focus-visible::-moz-range-thumb { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--ink); }

.mini-feed { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 26px; }
.chip { position: relative; aspect-ratio: 4 / 3; border-radius: 12px; background: var(--paper-2); overflow: hidden; }
.chip i { position: absolute; inset: 0; opacity: 0; transition: opacity .35s ease; transition-delay: var(--d, 0ms); }
.chip .chip__f { background: var(--grad-sharing); }
.chip .chip__e { background: var(--grad-flowing); }
.chip[data-type='friend'] .chip__f, .chip[data-type='explore'] .chip__e { opacity: 1; }
.chip::before, .chip::after { content: ''; position: absolute; left: 12%; z-index: 1; height: 6%; min-height: 3px; border-radius: 99px; background: rgba(255, 255, 255, .75); }
.chip::before { bottom: 30%; width: 58%; }
.chip::after { bottom: 16%; width: 36%; }
.chip[data-type='none']::before, .chip[data-type='none']::after { background: rgba(24, 24, 27, .07); }
.tuner__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; margin-top: 18px; }
.caught-up { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; }
.caught-up svg { width: 18px; height: 18px; color: #3FA46A; }
.legend { display: flex; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: var(--ink-2); }
.legend__item { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.legend__item::before { content: ''; width: 10px; height: 10px; border-radius: 3px; }
.legend__item--friend::before { background: var(--grad-sharing); }
.legend__item--explore::before { background: var(--grad-flowing); }

@media (max-width: 1023px) {
  .focus__grid { grid-template-columns: 1fr; grid-template-areas: "head" "tuner" "perks"; grid-template-rows: none; row-gap: 40px; }
  .tuner { position: relative; top: auto; }
}
@media (max-width: 600px) {
  .perks { grid-template-columns: 1fr; gap: 24px; }
  .perk { flex-direction: row; align-items: flex-start; }
  .perk__icon { flex: none; }
}

@media (prefers-reduced-motion: reduce) {
  .sheet-wrap, .ribbons svg, .dots svg, .chip i { transition: none; }
  .pillar { transform: none; }
}

/* 中文短句只在標點和空格換行，「滑得到底」「你都看完了」這類詞不拆開 */
html[lang='zh-TW'] :is(.lead, .pillar__body, .perk__body, .cat__title, .knob__desc) { word-break: keep-all; overflow-wrap: anywhere; }

/* 中文版不放英文品牌句 */
.pillar__en:empty { display: none; }
/* Mozilla Text 的等寬數字 0 有斜線，數值改用系統字型 */
.knob__row output { font-family: var(--font-zh); }

/* ── 公司頁特效 ───────────────────────────────────── */
/* Hero：點陣聚光燈，桌機跟著滑鼠走 */
.co-hero__dots {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: radial-gradient(rgba(37, 70, 128, .42) 1.3px, transparent 1.9px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(circle 300px at var(--mx, 72%) var(--my, 52%), #000 0%, transparent 100%);
  mask-image: radial-gradient(circle 300px at var(--mx, 72%) var(--my, 52%), #000 0%, transparent 100%);
  opacity: .55;
  transition: opacity .4s ease;
}
.co-hero.is-active .co-hero__dots { opacity: 1; }

/* Hero：3D 紙張堆疊，桌機跟著滑鼠轉、靠近時展開；手機慢慢自己轉 */
.co-hero__art { perspective: 1400px; }
.co-hero__art .sheets { transform-style: preserve-3d; transform: rotateX(14deg) rotateY(-22deg); animation: orbit 9s var(--ease-in-out) infinite alternate; }
.co-hero.has-pointer .co-hero__art .sheets { animation: none; }
.co-hero__art .sheet-wrap { transform-style: preserve-3d; transform: translateZ(calc(var(--i) * 44px)); }
.co-hero.is-active .co-hero__art .sheet-wrap { transform: translateZ(calc(var(--i) * 72px)); }
@keyframes orbit { from { transform: rotateX(12deg) rotateY(-30deg); } to { transform: rotateX(18deg) rotateY(-12deg); } }
.is-paused .co-hero__art .sheets { animation-play-state: paused; }

/* Hero：標題第二行進場後掃過一道光 */
.co-hero .display .line:last-child {
  background: linear-gradient(100deg, var(--ink) 0 40%, #6092E2 50%, var(--ink) 60% 100%) 100% 0 / 260% 100% no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: rise 1s var(--ease-out) var(--delay, 0ms) both, sweep 1.8s var(--ease-in-out) 1.2s both;
}
@keyframes sweep { from { background-position: 100% 0; } to { background-position: 0 0; } }

/* 產品卡：滑鼠附近的邊框和卡面會亮起來 */
.product { isolation: isolate; }
.product::before, .product::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  transition: opacity .4s ease;
}
.product::before {
  padding: 2px;
  background: radial-gradient(320px circle at var(--mx, -999px) var(--my, -999px), rgba(96, 146, 226, .9), rgba(249, 190, 59, .55) 35%, rgba(251, 206, 223, 0) 65%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
.product::after {
  z-index: -1;
  background: radial-gradient(420px circle at var(--mx, -999px) var(--my, -999px), rgba(150, 201, 255, .24), rgba(150, 201, 255, 0) 60%);
}
.products:hover .product::before, .products:hover .product::after { opacity: 1; }

/* 營運中的燈號會呼吸 */
.pill--live::before { animation: breathe 2.4s ease-in-out infinite; }
@keyframes breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(63, 164, 106, .45); } 50% { box-shadow: 0 0 0 4px rgba(63, 164, 106, 0); } }

/* 產品名稱跑馬燈 */
.marquee {
  overflow: hidden;
  padding-block: clamp(8px, 2vw, 24px) clamp(72px, 9vw, 120px);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.marquee__track { display: flex; align-items: center; width: max-content; animation: marquee 42s linear infinite; }
.marquee__track > * { margin-inline-end: clamp(24px, 3vw, 44px); }
.marquee__track span {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: clamp(44px, 7vw, 104px);
  line-height: 1.1;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.marquee__track span.o { color: transparent; -webkit-text-stroke: 1.5px rgba(24, 24, 27, .3); }
.marquee__track i {
  flex: none;
  width: clamp(30px, 3.4vw, 48px);
  aspect-ratio: 40.4235 / 33.3054;
  background: var(--grad-flowing);
  -webkit-mask: url('/assets/mark.svg') center / contain no-repeat;
  mask: url('/assets/mark.svg') center / contain no-repeat;
}
@keyframes marquee { to { transform: translate3d(-50%, 0, 0); } }
.marquee.is-paused .marquee__track { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .co-hero__art .sheets, .marquee__track, .pill--live::before { animation: none; }
  .co-hero .display .line:last-child { animation: fade .5s ease both; background-position: 0 0; }
  .co-hero__art .sheet-wrap { transition: none; }
}

/* 公司頁 3D 堆疊：等角視角的層疊紙張（覆蓋上面首頁用的斜切紙張） */
.co-hero__art .sheets { width: 96%; transform: rotateX(58deg) rotateZ(-42deg); }
@keyframes orbit { from { transform: rotateX(56deg) rotateZ(-50deg); } to { transform: rotateX(60deg) rotateZ(-34deg); } }
.co-hero__art .sheet-wrap { inset: 17%; transform: translateZ(calc((var(--i) + 1.5) * 34px)); }
.co-hero.is-active .co-hero__art .sheet-wrap { transform: translateZ(calc((var(--i) + 1.5) * 62px)); }
.co-hero__art .sheet {
  transform: none;
  animation: none;
  border-radius: 40px;
  background: linear-gradient(135deg, rgba(255, 255, 255, .9), rgba(255, 255, 255, .35));
  box-shadow: 0 0 0 1px rgba(255, 255, 255, .85) inset, 0 50px 70px -40px rgba(37, 70, 128, .5);
}
.co-hero__art .sheet-wrap:nth-child(1) .sheet { opacity: .45; }
.co-hero__art .sheet-wrap:nth-child(2) .sheet { opacity: .65; }
.co-hero__art .sheet-wrap:nth-child(3) .sheet { opacity: .85; }
.co-hero__art .sheet-wrap:nth-child(4) .sheet { opacity: 1; background: linear-gradient(135deg, #fff 0%, #CEE2F8 55%, #96C9FF 100%); }
.co-hero__art .sheet-wrap:nth-child(4) .sheet::after {
  content: '';
  position: absolute;
  inset: 30%;
  background: rgba(96, 146, 226, .55);
  -webkit-mask: url('/assets/mark.svg') center / contain no-repeat;
  mask: url('/assets/mark.svg') center / contain no-repeat;
}
