:root {
  --paper: #f6f4ee;
  --paper-2: #efece3;
  --card: #fffdf8;
  --ink: #17171a;
  --ink-2: #4a4a50;
  --ink-3: #8b8a86;
  --line: rgba(23, 23, 26, 0.1);
  --blue: #3e4fc6;
  --blue-soft: #e6e8f8;
  --coral: #d9603b;
  --radius: 28px;
  --radius-s: 16px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", serif;
  --sans: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  color-scheme: light;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ---------- type ---------- */
.eyebrow {
  margin: 0 0 18px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--blue);
}
.display, .display2, .h2 {
  font-family: var(--serif);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin: 0;
  text-wrap: balance;
}
.display { font-size: clamp(40px, 6.4vw, 92px); line-height: 1.14; }
.display2 { font-size: clamp(40px, 5.6vw, 80px); line-height: 1.12; }
.h2 { font-size: clamp(32px, 4vw, 56px); line-height: 1.2; }
.display em, .display2 em {
  font-style: normal;
  color: var(--blue);
  background: linear-gradient(transparent 72%, rgba(217, 96, 59, 0.22) 72%);
}
.lede { font-size: clamp(17px, 1.4vw, 20px); color: var(--ink-2); max-width: 680px; margin: 28px auto 0; text-wrap: pretty; }
.body { color: var(--ink-2); margin: 20px 0 0; max-width: 520px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  height: 52px; padding: 0 26px;
  border-radius: 999px;
  font-size: 16px; font-weight: 500;
  text-decoration: none;
  transition: transform 0.4s var(--ease), background 0.3s, box-shadow 0.4s var(--ease);
}
.btn:active { transform: scale(0.97); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.45); transform: translateY(-1px); }
.btn-ghost { color: var(--ink); border: 1px solid var(--line); background: rgba(255, 255, 255, 0.5); }
.btn-ghost:hover { background: #fff; }
.btn-sm { height: 38px; padding: 0 18px; font-size: 14px; }
.btn-lg { height: 60px; padding: 0 38px; font-size: 18px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; gap: 24px;
  height: 68px; padding: 0 max(24px, calc((100vw - 1240px) / 2));
  transition: background 0.4s, box-shadow 0.4s, transform 0.5s var(--ease);
}
.nav.solid {
  background: rgba(246, 244, 238, 0.78);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  box-shadow: 0 1px 0 var(--line);
}
.nav.hide { transform: translateY(-100%); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.brand img { border-radius: 8px; }
.navLinks { display: flex; gap: 30px; margin-left: auto; font-size: 15px; }
.navLinks a { text-decoration: none; color: var(--ink-2); transition: color 0.2s; }
.navLinks a:hover { color: var(--ink); }

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  filter: blur(6px);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1s var(--ease);
}
.reveal.in { opacity: 1; transform: none; filter: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }

/* ---------- window frame ---------- */
.window {
  position: relative;
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(23, 23, 26, 0.08),
    0 30px 80px -30px rgba(30, 32, 60, 0.35),
    0 12px 30px -18px rgba(30, 32, 60, 0.2);
}
.winBar {
  display: flex; align-items: center; gap: 7px;
  height: 34px; padding: 0 14px;
  background: #f3f2ef; border-bottom: 1px solid var(--line);
  font-size: 12px; color: var(--ink-3);
}
.winBar i { width: 10px; height: 10px; border-radius: 50%; background: #dcdad4; }
.winBar span { margin-left: 10px; }
.window img { width: 100%; height: auto; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: 110px max(24px, calc((100vw - 1240px) / 2)) 120px; overflow: hidden; }
.heroRelief { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 16%; opacity: 0.55; }
.heroRelief path { fill: none; vector-effect: non-scaling-stroke; }
.heroGrid { position: relative; width: 100%; display: grid; grid-template-columns: 1.15fr 1fr; gap: 48px; align-items: center; }
.nw { white-space: nowrap; }
.hero .display { font-size: clamp(32px, 4.2vw, 64px); line-height: 1.16; letter-spacing: -0.02em; }
.hero .lede { margin: 28px 0 0; max-width: 520px; text-wrap: pretty; }
.heroCta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; margin-top: 40px; }
.textLink { text-decoration: none; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; transition: opacity .2s; }
.textLink:hover { opacity: .6; }
.heroNote { margin: 22px 0 0; font-size: 13px; color: var(--ink-3); }
.heroDeck { position: relative; height: min(620px, 68vh); }
.hcard { position: absolute; margin: 0; width: 56%; padding: 10px 10px 14px; background: #fffdf8; border-radius: 18px;
  box-shadow: 0 0 0 1px rgba(23,23,26,.06), 0 30px 60px -30px rgba(30,32,60,.45);
  transition: transform 1s var(--ease); will-change: transform; }
.hcard img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 11px; }
.hcard figcaption { padding: 10px 6px 0; }
.hcard small { display: block; font-size: 11px; color: var(--blue); letter-spacing: .06em; }
.hcard b { font-family: var(--serif); font-size: 22px; }
.hcard b.latin { font-family: var(--sans); }
.c0 { right: 0; top: 2%; transform: rotate(8deg); }
.c1 { right: 20%; top: 9%; transform: rotate(-3deg); }
.c2 { right: 38%; top: 16%; transform: rotate(-9deg); }
.heroDeck:hover .c0 { transform: rotate(11deg) translate(24px, -6px); }
.heroDeck:hover .c2 { transform: rotate(-12deg) translate(-24px, 6px); }
.deckNote { position: absolute; right: 0; bottom: -8px; margin: 0; font-size: 12px; color: var(--ink-3); }
@media (max-width: 900px) {
  .heroGrid { grid-template-columns: 1fr; }
  .heroDeck { height: 400px; }
  .hcard { width: 54%; }
  .nw { white-space: normal; }
}

/* ---------- stage (tilt window) ---------- */
.stage { height: 230vh; position: relative; margin-top: -18vh; }
.stageSticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 36px;
  perspective: 1600px;
  padding: 80px 24px 40px;
}
.tiltWin { width: min(1120px, 90vw, calc((100vh - 240px) * 1.5)); transform-origin: 50% 0; will-change: transform; }
.stageCaption {
  display: grid; grid-template-columns: repeat(4, auto); gap: clamp(20px, 5vw, 72px);
  opacity: 0; transform: translateY(16px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.stageCaption.in { opacity: 1; transform: none; }
.stageCaption div { display: flex; flex-direction: column; align-items: center; }
.stageCaption b { font-family: var(--serif); font-size: clamp(26px, 3vw, 40px); font-variant-numeric: tabular-nums; line-height: 1.2; }
.stageCaption span { font-size: 13px; color: var(--ink-3); }

/* ---------- relief section ---------- */
.relief { height: 240vh; position: relative; }
.reliefSticky {
  position: sticky; top: 0; height: 100vh;
  display: grid; grid-template-columns: minmax(300px, 420px) 1fr; align-items: center; gap: 56px;
  max-width: 1240px; margin: 0 auto; padding: 0 24px;
}
.reliefChart { width: 100%; height: auto; overflow: visible; }
.reliefChart .minor { fill: none; stroke: var(--blue); stroke-width: 0.8; }
.reliefChart .major { fill: none; stroke: var(--ink); stroke-width: 2.6; stroke-linecap: round; }
.reliefChart .grid { stroke: var(--line); stroke-width: 1; }
.reliefChart text { font-size: 13px; fill: var(--ink-3); font-family: var(--sans); }
.reliefChart .pt { fill: #fff; stroke: var(--ink); stroke-width: 2; }
.reliefChart .peak { fill: var(--ink); }
.reliefChart .peakLine { stroke: var(--ink-3); stroke-dasharray: 3 4; }
.peakCard {
  margin-top: 32px; padding: 22px 24px; max-width: 320px;
  background: var(--card); border-radius: var(--radius-s);
  box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(30, 32, 60, 0.35);
  opacity: 0; transform: translateY(20px) scale(0.97);
  transition: opacity 0.7s var(--ease), transform 0.8s var(--ease);
}
.peakCard.in { opacity: 1; transform: none; }
.peakCard .dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--coral); margin-right: 8px; }
.peakCard small { color: var(--coral); font-weight: 500; }
.peakCard strong { display: block; margin-top: 8px; font-size: 18px; }
.peakCard p { margin: 4px 0 0; color: var(--ink-3); font-size: 14px; }
.peakCard p b { font-family: var(--serif); font-size: 34px; color: var(--ink); margin-right: 6px; }

/* ---------- tour ---------- */
.tour { max-width: 1240px; margin: 0 auto; padding: 120px 24px 40px; }
.sectionHead { margin-bottom: 64px; }
.sectionHead.center { text-align: center; }
.sectionHead.center .body { margin-inline: auto; }
.tourGrid { display: grid; grid-template-columns: 360px 1fr; gap: 64px; }
.step {
  min-height: 78vh;
  display: flex; flex-direction: column; justify-content: center;
  opacity: 0.25; transition: opacity 0.6s var(--ease);
}
.step.on { opacity: 1; }
.step .num { font-family: var(--serif); color: var(--blue); font-size: 15px; }
.step h3 { font-family: var(--serif); font-size: 34px; margin: 8px 0 14px; line-height: 1.25; }
.step p { margin: 0; color: var(--ink-2); }
.tourScreen { position: sticky; top: calc(50vh - min(26vw, 290px)); align-self: start; height: max-content; }
.shotStack { position: relative; aspect-ratio: 16 / 10; background: #f4f3f1; }
.shotStack img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top;
  opacity: 0; transform: scale(1.03); filter: blur(4px);
  transition: opacity 0.7s var(--ease), transform 0.9s var(--ease), filter 0.7s var(--ease);
}
.shotStack img.on { opacity: 1; transform: none; filter: none; }
.tourDots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.tourDots i { width: 8px; height: 8px; border-radius: 999px; background: rgba(23, 23, 26, 0.18); transition: width 0.5s var(--ease), background 0.3s; }
.tourDots i.on { width: 28px; background: var(--ink); }

/* ---------- AI portrait ---------- */
.portrait { height: 420vh; position: relative; margin-top: 120px; }
.portraitSticky { position: sticky; top: 0; height: 100vh; overflow: hidden; }
.portraitBg {
  position: absolute; inset: 0;
  background: url(img/backdrop.jpg) center / cover no-repeat;
  transform: scale(calc(1 + var(--p, 0) * 0.12));
}
.portraitBg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(var(--paper), transparent 18%, transparent 82%, var(--paper)); }
.portraitIntro {
  position: absolute; left: max(24px, calc((100vw - 1240px) / 2)); top: 50%;
  transform: translateY(-50%); max-width: 520px; z-index: 2;
  will-change: transform, opacity;
}
.deck { position: absolute; inset: 0; z-index: 1; }
.pcard {
  position: absolute; left: 50%; top: 54%;
  width: min(23vw, 330px, calc((100vh - 300px) * 0.48)); margin: 0;
  background: #fffdf8; border-radius: 22px; padding: 12px 12px 18px;
  box-shadow: 0 0 0 1px rgba(23, 23, 26, 0.06), 0 30px 60px -28px rgba(30, 32, 60, 0.45);
  will-change: transform;
}
.pcard img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 13px; }
.pcard figcaption { padding: 14px 8px 0; }
.pcard small { display: block; font-size: 12px; color: var(--blue); letter-spacing: 0.06em; }
.pcard b { display: block; font-family: var(--serif); font-size: clamp(24px, 2.2vw, 32px); line-height: 1.3; margin-top: 2px; }
.pcard span { display: block; font-size: 13px; color: var(--ink-2); line-height: 1.6; margin-top: 4px; opacity: var(--t, 0); }
.portraitHint {
  position: absolute; bottom: 7vh; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 2;
}
.portraitHint span {
  padding: 6px 14px; border-radius: 999px; font-size: 13px;
  background: rgba(255, 255, 255, 0.7); color: var(--ink-3);
  box-shadow: 0 0 0 1px var(--line);
  transition: background 0.4s, color 0.4s;
}
.portraitHint span.on { background: var(--ink); color: #fff; }

/* ---------- tags marquee ---------- */
.tags { padding: 120px 0 80px; }
.tags .sectionHead { padding: 0 24px; }
.marquee {
  overflow: hidden; padding: 8px 0;
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.track { display: flex; gap: 14px; width: max-content; animation: slide 46s linear infinite; }
.marquee.reverse .track { animation-direction: reverse; animation-duration: 54s; }
.marquee:hover .track { animation-play-state: paused; }
@keyframes slide { to { transform: translateX(calc(-100% / 3)); } }
.tag {
  display: inline-flex; align-items: baseline; gap: 12px; white-space: nowrap;
  padding: 16px 24px; border-radius: 999px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line);
  color: var(--ink-3); font-size: 15px;
}
.tag b { font-family: var(--serif); color: var(--ink); font-size: 19px; }
.tag.soft { background: transparent; }

/* ---------- share ---------- */
.share { padding: 80px 24px 140px; }
.split { max-width: 1140px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.ticks li { display: flex; gap: 12px; align-items: center; }
.ticks li::before { content: ""; width: 18px; height: 18px; border-radius: 50%; flex: none; background: var(--blue-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4.5 8.2l2.3 2.3 4.7-5' fill='none' stroke='%233e4fc6' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat; }
.shareCard { display: grid; place-items: center; padding: 40px; background: var(--paper-2); border-radius: var(--radius); }
.cardPaper {
  width: min(380px, 100%); padding: 26px 26px 18px;
  background: #f7f6f2; border-radius: 14px;
  box-shadow: 0 0 0 1px var(--line), 0 40px 70px -40px rgba(30, 32, 60, 0.5);
  transform: rotate(-2deg); transition: transform 0.8s var(--ease);
}
.shareCard:hover .cardPaper { transform: rotate(0deg) translateY(-6px); }
.cardArt { margin: 0 auto 14px; width: 62%; }
.cardArt img { aspect-ratio: 3 / 4; object-fit: cover; }
.cardMeta { margin: 0 0 6px; font-size: 11px; color: var(--blue); line-height: 1.5; }
.cardMeta span { color: var(--ink-3); }
.cardRow { padding: 10px 0; border-top: 1px solid var(--line); }
.cardRow small { display: block; font-size: 10px; color: var(--ink-3); }
.cardRow b { display: block; font-family: var(--serif); font-size: 24px; line-height: 1.3; }
.cardRow b.latin { font-family: var(--sans); }
.cardRow i { font-style: normal; font-size: 11px; color: var(--ink-3); }
.cardFoot { margin: 8px 0 0; font-size: 10px; color: var(--ink-3); }

/* ---------- weekly ---------- */
.weekly { height: 380vh; position: relative; }
.weeklySticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center; gap: 40px;
}
.weeklyHead { padding: 0 max(24px, calc((100vw - 1240px) / 2)); display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.weeklyHead .eyebrow { width: 100%; margin-bottom: -14px; }
.weeklySteps { display: flex; gap: 6px; padding: 5px; border-radius: 999px; background: rgba(23, 23, 26, 0.05); }
.weeklySteps span { padding: 7px 16px; border-radius: 999px; font-size: 14px; color: var(--ink-3); transition: background 0.4s var(--ease), color 0.3s, box-shadow 0.4s; }
.weeklySteps span.on { background: #fff; color: var(--ink); box-shadow: 0 2px 10px -4px rgba(0, 0, 0, 0.2); }
.reel { display: flex; gap: 40px; padding-left: max(24px, calc((100vw - 1240px) / 2)); will-change: transform; }
.reelItem { flex: none; width: min(860px, 78vw); transition: transform 0.6s var(--ease), opacity 0.6s; opacity: 0.55; transform: scale(0.94); }
.reelItem.on { opacity: 1; transform: none; }

/* ---------- theme ---------- */
.theme { height: 260vh; position: relative; transition: background 0.6s; }
.themeSticky {
  position: sticky; top: 0; height: 100vh;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 40px;
  padding: 60px 24px; text-align: center;
}
.themeCopy .h2 { transition: color 0.5s; }
.theme.night { background: #121216; }
.theme.night .h2 { color: #f2f1ec; }
.theme.night .eyebrow { color: #9aa4ff; }
.themeWin { width: min(1060px, 92vw); }
.theme.night .themeWin { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.1), 0 40px 90px -30px rgba(0, 0, 0, 0.8); }
.theme.night .winBar { background: #1d1d22; border-color: rgba(255, 255, 255, 0.08); color: #777; }
.theme.night .winBar i { background: #3a3a42; }
.themeStack { position: relative; }
.themeStack .dark { position: absolute; inset: 0; clip-path: circle(var(--r, 0%) at 86% 8%); }

/* ---------- sources ---------- */
.sources { padding: 140px 0 120px; }
.sources .sectionHead { padding: 0 24px; }
.logoMarquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logoMarquee .track { gap: 18px; animation-duration: 40s; }
.logoMarquee span {
  display: inline-flex; align-items: center; gap: 12px; white-space: nowrap;
  padding: 14px 24px 14px 16px; border-radius: 18px;
  background: var(--card); box-shadow: 0 0 0 1px var(--line);
  font-weight: 500; font-size: 16px;
}
.logoMarquee img { width: 30px; height: 30px; object-fit: contain; }

/* ---------- privacy ---------- */
.privacy { max-width: 1240px; margin: 0 auto; padding: 60px 24px 140px; }
.cards3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pcell {
  padding: 36px 32px 38px; border-radius: var(--radius);
  background: var(--card); box-shadow: 0 0 0 1px var(--line);
  transition: transform 0.6s var(--ease), box-shadow 0.6s var(--ease), opacity 1s var(--ease), filter 1s var(--ease);
}
.pcell.in:hover { transform: translateY(-4px); box-shadow: 0 0 0 1px var(--line), 0 24px 50px -30px rgba(30, 32, 60, 0.4); }
.pcell svg { width: 44px; height: 44px; fill: none; stroke: var(--blue); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pcell h3 { font-family: var(--serif); font-size: 26px; margin: 22px 0 8px; }
.pcell p { margin: 0; color: var(--ink-2); }

/* ---------- download ---------- */
.download { position: relative; padding: 160px 24px 200px; text-align: center; overflow: hidden; background: var(--paper-2); }
.downloadRelief { position: absolute; left: 0; bottom: 0; width: 100%; height: 42%; }
.downloadRelief path { fill: none; vector-effect: non-scaling-stroke; }
.downloadInner { position: relative; display: flex; flex-direction: column; align-items: center; }
.downloadIcon { border-radius: 18px; margin-bottom: 32px; box-shadow: 0 18px 40px -18px rgba(30, 32, 60, 0.5); }
.downloadInner .body { margin: 20px 0 36px; }

.foot {
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  padding: 28px max(24px, calc((100vw - 1240px) / 2));
  font-size: 13px; color: var(--ink-3); background: var(--paper-2);
  border-top: 1px solid var(--line);
}
.foot span:first-child { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-weight: 500; }
.foot img { border-radius: 4px; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  body { font-size: 16px; }
  .navLinks { display: none; }
  .nav .btn { margin-left: auto; }
  br.wide { display: none; }
  .stage { height: auto; margin-top: 0; }
  .stageSticky { position: relative; height: auto; padding: 0 16px 60px; }
  .stageCaption { grid-template-columns: repeat(2, auto); }
  .relief { height: auto; }
  .reliefSticky { position: relative; height: auto; grid-template-columns: 1fr; padding: 80px 16px; gap: 32px; }
  .tourGrid { grid-template-columns: 1fr; gap: 0; }
  .tourScreen { position: sticky; top: 76px; order: -1; z-index: 2; background: var(--paper); padding-bottom: 16px; }
  .step { min-height: 60vh; }
  .portrait { height: auto; margin-top: 60px; }
  .portraitSticky { position: relative; height: auto; overflow: visible; padding: 80px 16px; }
  .portraitIntro { position: relative; left: auto; top: auto; transform: none !important; opacity: 1 !important; margin-bottom: 40px; }
  .deck { position: relative; display: grid; gap: 20px; }
  .pcard { position: relative; left: auto; top: auto; width: 100%; transform: none !important; }
  .pcard span { opacity: 1; }
  .portraitHint { display: none; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .shareCard { padding: 28px 16px; }
  .weekly { height: auto; }
  .weeklySticky { position: relative; height: auto; padding: 80px 0; }
  .reel { flex-direction: column; padding: 0 16px; transform: none !important; gap: 20px; }
  .reelItem { width: 100%; opacity: 1; transform: none; }
  .weeklySteps { display: none; }
  .theme { height: auto; }
  .themeSticky { position: relative; height: auto; padding: 100px 16px; }
  .cards3 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; filter: none; transition: none; }
  .track { animation: none; }
  .tiltWin { transform: none !important; }
}
body.night .nav.solid { background: rgba(18, 18, 22, 0.78); box-shadow: 0 1px 0 rgba(255,255,255,0.08); }
body.night .nav .brand, body.night .navLinks a { color: #e8e7e2; }
body.night .nav .btn-dark { background: #fff; color: #17171a; }

.heroBrand { display: flex; align-items: center; gap: 16px; margin-bottom: 40px; }
.heroBrand img { width: 64px; height: 64px; border-radius: 16px; box-shadow: 0 14px 30px -14px rgba(30,32,60,.55); }
.heroBrand b { display: block; font-family: var(--serif); font-size: 34px; line-height: 1.1; letter-spacing: .06em; }
.heroBrand span { display: block; font-size: 13px; color: var(--ink-3); letter-spacing: .08em; margin-top: 4px; }
.nav:not(.solid) .brand { opacity: 0; }
.nav.solid .brand { opacity: 1; }
.brand { transition: opacity .4s; }

/* ---------- download: zoom-in finale (same paper as the page, no colour seam) ---------- */
.download { height: 220vh; padding: 0; background: var(--paper); overflow: visible; }
.downloadSticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; place-items: center; padding: 0 24px; }
.downloadInner { will-change: transform, opacity; }
.downloadIcon { will-change: transform; transform-origin: 50% 100%; }
.downloadInner .display2, .downloadInner .body, .downloadInner .btn { will-change: transform, opacity; }
.downloadRelief { height: 38%; transform-origin: 50% 100%; }
.foot { background: var(--paper); }
@media (max-width: 900px) {
  .download { height: auto; }
  .downloadSticky { position: relative; height: auto; padding: 120px 16px 160px; }
}

/* ---------- finale v2: paper turns to ink, icon lands, giant wordmark behind ---------- */
.download { background: var(--fin-bg, var(--paper)); }
.downloadSticky { isolation: isolate; }
.finWord {
  position: absolute; left: 50%; top: 50%; z-index: -1;
  font-family: var(--serif); font-weight: 900; line-height: 1;
  font-size: clamp(240px, 38vw, 620px); letter-spacing: -0.04em; white-space: nowrap;
  color: transparent; -webkit-text-stroke: 1.5px rgba(154, 164, 255, 0.28);
  transform: translate(-50%, -50%) scale(var(--ws, 1.3)); opacity: var(--wo, 0);
  pointer-events: none;
}
.downloadInner { align-items: center; text-align: center; }
.downloadIcon { width: 96px; height: 96px; border-radius: 24px; margin: 0 auto 36px; transform-origin: 50% 50%; }
.finTitle { display: flex; flex-direction: column; align-items: center; font-size: clamp(44px, 6.4vw, 104px); line-height: 1.12; }
.finTitle span { display: block; }
.download.ink .finTitle { color: #f4f2ec; }
.download.ink .body { color: rgba(244, 242, 236, 0.6); }
.download.ink .btn-dark { background: #f4f2ec; color: #17171a; }
.download.ink .btn-dark:hover { background: #fff; box-shadow: 0 0 0 8px rgba(154, 164, 255, 0.18), 0 20px 50px -10px rgba(110, 124, 255, 0.6); }
.download.ink .downloadIcon { box-shadow: 0 0 0 1px rgba(255,255,255,.12), 0 30px 80px -20px rgba(110, 124, 255, 0.7); }
.download .finTitle, .download .body { transition: color 0.5s; }
.foot { position: relative; }
.foot { background: #121216; color: rgba(244,242,236,.45); border-top-color: rgba(255,255,255,.08); }
.foot span:first-child { color: rgba(244,242,236,.8); }

/* 语言切换 */
.langToggle {
  height: 34px; min-width: 46px; padding: 0 12px; border-radius: 999px; border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.55); color: var(--ink); font-family: inherit; font-weight: 600; font-size: 13px; line-height: 1; letter-spacing: 0.04em; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.langToggle:hover { background: #fff; }
body.night .langToggle { background: rgba(255, 255, 255, 0.08); color: #e8e7e2; border-color: rgba(255, 255, 255, 0.18); }
html[lang="en"] .display, html[lang="en"] .display2, html[lang="en"] .h2 { letter-spacing: -0.02em; }
@media (max-width: 860px) { .langToggle { margin-left: auto; } .nav .btn { margin-left: 0; } }

/* 窗口三个圆点：macOS 红黄绿 */
.winBar i:nth-child(1), .theme.night .winBar i:nth-child(1) { background: #ff5f57; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.winBar i:nth-child(2), .theme.night .winBar i:nth-child(2) { background: #febc2e; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }
.winBar i:nth-child(3), .theme.night .winBar i:nth-child(3) { background: #28c840; box-shadow: inset 0 0 0 0.5px rgba(0, 0, 0, 0.12); }

/* 顶栏收起与弹出：向上滑出并淡出，弹回时反向 */
.nav { transition: background 0.4s, box-shadow 0.4s, transform 0.45s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.3s ease; }
.nav.hide { transform: translateY(-110%); opacity: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { .nav { transition: background 0.2s, opacity 0.2s; } .nav.hide { transform: none; } }

/* 结尾背景：大字描边与浮雕线统一为白线，深浅区分层次 */
.downloadRelief { color: #17171a; transition: color 0.5s; }
.download.ink .downloadRelief { color: #ffffff; }
.download.ink .finWord { -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.16); }
.download.ink .downloadIcon { box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.14), 0 30px 80px -20px rgba(255, 255, 255, 0.22); }
.download.ink .btn-dark:hover { box-shadow: 0 0 0 8px rgba(255, 255, 255, 0.12), 0 20px 50px -10px rgba(255, 255, 255, 0.3); }

/* ---------- cover carousel: a 3D ring that turns with the scroll ---------- */
.gallery { height: 340vh; position: relative; }
.gallerySticky {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  background: radial-gradient(60% 45% at 50% 58%, #fffdf8 0%, rgba(255, 253, 248, 0) 100%), var(--paper);
}
.galleryHead { position: absolute; left: 0; right: 0; top: 8vh; text-align: center; z-index: 2; padding: 0 24px; }
.galleryHead .display2 { font-size: clamp(36px, 4.6vw, 72px); line-height: 1.12; }
.galleryHead, .galleryFoot { opacity: var(--go, 1); transform: translateY(calc((1 - var(--go, 1)) * 30px)); }
.ringStage {
  position: absolute; left: 50%; top: 40%; width: 0; height: 0;
  perspective: 1700px; perspective-origin: 50% 40%;
}
.ringSpin { position: absolute; left: 0; top: 0; transform-style: preserve-3d; will-change: transform; }
.cover {
  position: absolute; left: -125px; top: -167px; width: 250px; height: 334px; margin: 0;
  border-radius: 18px; overflow: hidden; background: var(--card);
  box-shadow: 0 1px 0 rgba(23, 23, 26, 0.06), 0 24px 50px -24px rgba(23, 23, 26, 0.45);
  will-change: opacity;
}
.cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cover figcaption {
  position: absolute; left: 12px; bottom: 10px; font: 600 13px/1.2 var(--sans); color: var(--ink);
  background: rgba(255, 253, 248, 0.86); padding: 5px 9px; border-radius: 999px;
}
.cover.latin figcaption { letter-spacing: 0.06em; }
.galleryFoot {
  position: absolute; left: 0; right: 0; bottom: 3.5vh; z-index: 2; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
}
.galleryFoot small { font: 500 12px/1 var(--sans); letter-spacing: 0.14em; text-transform: uppercase; color: var(--coral); }
.galleryFoot b { font: 700 clamp(26px, 2.6vw, 38px)/1.1 var(--serif); color: var(--ink); min-height: 1.1em; }
.galleryOutro { position: relative; z-index: 3; text-align: center; padding: 0 24px; margin: -22vh 0 8vh; }
.galleryOutro .display2 { font-size: clamp(34px, 4.4vw, 68px); line-height: 1.14; }
.galleryOutro .body { margin: 18px auto 0; color: var(--ink-3); }
@media (max-width: 760px) { .galleryOutro { margin-top: 0; padding-top: 32px; } }
.galleryFoot b.flip { animation: nameIn 0.45s var(--ease); }
@keyframes nameIn { from { opacity: 0; transform: translateY(10px); filter: blur(4px); } }
.galleryCount { font: 400 14px/1.4 var(--sans); color: var(--ink-3); margin-top: 4px; }
@media (max-width: 900px) {
  .gallery { height: auto; }
  .gallerySticky { position: relative; height: 760px; }
  .ringStage { top: 58%; transform: scale(0.62); }
}

/* ---------- download: two buttons side by side. Your system first in black, the other in white ---------- */
.osIcon { width: 0.95em; height: 0.95em; margin-right: 0.55em; flex: none; position: relative; top: -0.04em; }
.dlStack { display: inline-flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.dlStack.lg { justify-content: center; margin-top: 6px; }
.dlKey { white-space: nowrap; transition: transform 0.25s var(--ease), background 0.25s, box-shadow 0.25s; }
.dlKey:hover { transform: translateY(-2px); }
.dlKey.primary { background: var(--ink); color: #fff; box-shadow: 0 14px 34px -16px rgba(23, 23, 26, 0.6); }
.dlKey.second { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(23, 23, 26, 0.14); }
.dlKey.second:hover { box-shadow: inset 0 0 0 1.5px var(--ink), 0 12px 28px -16px rgba(23, 23, 26, 0.45); }
/* dark finale: black button gets a light edge so it reads on ink */
.download.ink .dlKey.primary { background: #0b0b0d; color: #f4f2ec; box-shadow: inset 0 0 0 1px rgba(244, 242, 236, 0.3), 0 18px 40px -16px rgba(0, 0, 0, 0.8); }
.download.ink .dlKey.primary:hover { box-shadow: inset 0 0 0 1px rgba(244, 242, 236, 0.5), 0 0 0 8px rgba(154, 164, 255, 0.18), 0 20px 50px -10px rgba(110, 124, 255, 0.6); }
.download.ink .dlKey.second { box-shadow: none; }
.download.ink .dlKey.second:hover { box-shadow: 0 0 0 8px rgba(154, 164, 255, 0.18), 0 20px 50px -10px rgba(110, 124, 255, 0.5); }

/* finale icon: vector, laid out at 6x (576px) and scaled to 96px, so the big zoom never pixelates */
.downloadIcon {
  display: block; flex: none; width: 576px; height: 576px; border-radius: 144px; overflow: hidden;
  margin: -240px auto -204px; align-self: center; transform: scale(0.1667); will-change: auto;
  box-shadow: 0 108px 240px -108px rgba(30, 32, 60, 0.5);
}
.download.ink .downloadIcon { box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.14), 0 180px 480px -120px rgba(255, 255, 255, 0.22); }
