@font-face {
  font-family: "Inter";
  src: url("assets/inter-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("assets/inter-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f7f7f4;
  --paper-warm: #f1f0eb;
  --ink: #171717;
  --grey: #6d6d69;
  --line: rgba(23, 23, 23, 0.18);
  --pad-x: clamp(24px, 7vw, 112px);
  --header-h: 68px;
  --viewport-height: 100dvh;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  text-rendering: optimizeLegibility;
}

body.no-scroll {
  overflow: hidden;
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--viewport-height);
  overscroll-behavior: none;
}

button,
input {
  font: inherit;
}

button {
  color: inherit;
}

.site-header {
  position: absolute;
  inset: 0 0 auto;
  z-index: 30;
  height: var(--header-h);
  padding: 0 var(--pad-x);
  display: flex;
  align-items: center;
  pointer-events: none;
  mix-blend-mode: multiply;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  pointer-events: auto;
}

.wordmark img {
  display: block;
  width: auto;
  height: 18px;
}

.chapter-nav {
  position: fixed;
  z-index: 25;
  right: 28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.chapter-nav a {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  color: transparent;
  text-decoration: none;
  border-radius: 50%;
}

.chapter-nav a::before {
  content: "";
  width: 5px;
  height: 5px;
  background: rgba(23, 23, 23, 0.22);
  border-radius: 50%;
  transition: transform 220ms ease, background 220ms ease;
}

.chapter-nav a.active::before {
  transform: scale(1.8);
  background: var(--ink);
}

.chapter-nav span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.panel {
  position: relative;
  min-height: 100svh;
  padding: calc(var(--header-h) + 52px) var(--pad-x) 72px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--paper);
}

.panel-inner {
  position: relative;
  z-index: 2;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.panel-index {
  position: absolute;
  z-index: 3;
  left: var(--pad-x);
  bottom: 28px;
  color: rgba(23, 23, 23, 0.43);
  font-size: 11px;
  letter-spacing: 0.16em;
}

.art-layer {
  position: absolute;
  z-index: -1;
  /* A tiny overscan prevents Safari from exposing a one-pixel seam where
     filtered artwork meets the panel edge at fractional device pixels. */
  inset: -2px;
  background: none;
  pointer-events: none;
}

.art-layer::before,
.art-layer::after {
  content: "";
  position: absolute;
  inset: 0;
  background-repeat: no-repeat;
  pointer-events: none;
}

.art-layer::before {
  z-index: 0;
}

.art-layer::after {
  z-index: 1;
}

.why-art,
.ways-art,
.prepare-art,
.reflection-art,
.lighter-art {
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.hero-art::before {
  background-image: url("assets/page-01-cloud-sea.jpg");
  background-position: right center;
  background-size: min(62vw, 900px) auto;
  opacity: 1;
  filter: contrast(1.22);
  mix-blend-mode: multiply;
}

.hero-art::after {
  background: linear-gradient(90deg, var(--paper) 0%, rgba(247, 247, 244, 0.94) 36%, rgba(247, 247, 244, 0.5) 56%, rgba(247, 247, 244, 0.05) 80%, transparent 100%);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow,
.section-label {
  margin: 0 0 36px;
  color: var(--grey);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  line-height: 1.6;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(68px, 12vw, 168px);
  font-weight: 600;
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.hanzi {
  margin: 24px 0 30px;
  font-size: clamp(23px, 2.6vw, 40px);
  font-weight: 500;
  letter-spacing: 0.24em;
}

.hero h2 {
  max-width: 560px;
  margin: 0;
  font-size: clamp(25px, 3.3vw, 48px);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.08;
}

.supporting {
  margin: 22px 0 38px;
  color: var(--grey);
}

.primary-button,
.secondary-button {
  min-height: 50px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  padding: 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.primary-button:hover,
.primary-button:focus-visible {
  transform: translateY(-2px);
  background: #30302e;
}

.start-button .play-icon {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;
}

.start-button .play-icon::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 2px;
  border-top: 4px solid transparent;
  border-bottom: 4px solid transparent;
  border-left: 7px solid currentColor;
}

.why-art::before {
  background-position: right center;
  background-size: min(54vw, 780px) auto;
  opacity: 0.92;
  filter: contrast(1.08);
  mix-blend-mode: multiply;
}

.why.assets-loaded .why-art::before {
  background-image: url("assets/page-02-misty-cedars.jpg");
}

.why-art::after {
  background: linear-gradient(90deg, var(--paper) 0%, var(--paper) 40%, rgba(247, 247, 244, 0.72) 52%, rgba(247, 247, 244, 0.1) 78%, transparent 100%);
}

.narrow-left {
  max-width: 760px;
  margin-left: max(0px, calc((100vw - 1180px) / 2));
}

.panel h2 {
  margin: 0;
  font-size: clamp(38px, 6.4vw, 92px);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.02;
}

.why h2 {
  max-width: 890px;
  font-size: clamp(34px, 5vw, 76px);
}

.lead {
  max-width: 580px;
  margin: 36px 0;
  font-size: clamp(18px, 2vw, 28px);
  letter-spacing: -0.02em;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin: 36px 0 54px;
  color: var(--grey);
  font-size: 14px;
}

.statement {
  margin: 0;
  font-size: clamp(25px, 3.4vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.statement strong {
  font-weight: 600;
}

.origin {
  background: var(--paper);
}

.origin-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(300px, 0.9fr);
  gap: clamp(60px, 10vw, 160px);
  align-items: center;
}

.origin-copy {
  max-width: 630px;
}

.origin-copy h2 {
  margin-bottom: 42px;
  font-size: clamp(44px, 6vw, 82px);
}

.origin-copy h2 span {
  display: inline-block;
  margin-left: 12px;
  color: var(--grey);
  font-size: 0.42em;
  letter-spacing: 0.12em;
  vertical-align: middle;
}

.origin-copy > p:not(.section-label) {
  max-width: 590px;
  margin: 0 0 20px;
  color: #464643;
  font-size: clamp(16px, 1.35vw, 20px);
}

blockquote {
  margin: 0;
  padding: 0 0 0 clamp(24px, 4vw, 64px);
  border-left: 1px solid rgba(23, 23, 23, 0.24);
}

.quote-cn {
  margin: 0 0 28px;
  font-size: clamp(34px, 5vw, 72px);
  font-weight: 500;
  letter-spacing: 0.03em;
  line-height: 1.28;
}

.quote-en {
  margin: 0;
  color: var(--grey);
  font-size: clamp(15px, 1.6vw, 22px);
  line-height: 1.7;
}

.ways-art::before {
  background-position: right center;
  background-size: min(48vw, 720px) auto;
  opacity: 1;
  filter: contrast(1.2);
  mix-blend-mode: multiply;
}

.ways.assets-loaded .ways-art::before {
  background-image: url("assets/page-04-snow-valley.jpg");
}

.ways-art::after {
  background: linear-gradient(90deg, var(--paper) 0%, rgba(247, 247, 244, 0.96) 50%, rgba(247, 247, 244, 0.48) 74%, rgba(247, 247, 244, 0.04) 100%);
}

.ways h2 span {
  color: var(--grey);
  font-weight: 400;
}

.ways h2 strong {
  font-weight: 600;
}

.mode-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(56px, 8vw, 104px);
  max-width: 990px;
}

.mode-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 320px;
  padding: 24px 26px 28px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: rgba(247, 247, 244, 0.68);
  box-shadow: 0 12px 30px rgba(22, 22, 20, 0.035);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  cursor: pointer;
  transition: background 320ms ease, border-color 320ms ease, box-shadow 320ms ease, transform 260ms ease;
}

.mode-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-position: center 64%;
  background-size: cover;
  filter: grayscale(1) invert(1) contrast(1.12);
  mix-blend-mode: screen;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.025);
  transition: opacity 420ms ease, transform 700ms ease;
}

.mode-card[data-mode-card="return"]::before {
  background-position: center 64%;
  filter: grayscale(0.78) invert(1) contrast(1.18);
}

.ways.assets-loaded .mode-card::before {
  background-image: url("assets/mountain-valley.jpg");
}

.ways.assets-loaded .mode-card[data-mode-card="return"]::before {
  background-image: url("assets/return-bamboo.webp");
}

.mode-card > * {
  position: relative;
  z-index: 1;
}

.mode-card:hover {
  transform: translateY(-2px);
  border-color: rgba(23, 23, 23, 0.46);
}

.mode-radio {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.mode-card:focus-within {
  outline: none;
}

.mode-card:has(.mode-radio:focus-visible) {
  outline: 2px solid var(--ink);
  outline-offset: 4px;
}

.mode-choice-line {
  width: 100%;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--grey);
  font-size: 11px;
  letter-spacing: 0.12em;
}

.mode-selection {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  transition: opacity 220ms ease;
}

.selection-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
}

.mode-kicker {
  margin: 0 0 26px;
  color: var(--grey);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mode-title {
  display: block;
  margin: 0 0 28px;
  font-size: clamp(27px, 3vw, 44px);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.mode-copy {
  display: block;
  max-width: 390px;
  margin: 0 0 12px;
  color: #4d4d49;
  font-size: 16px;
}

.mode-card.selected {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
  box-shadow: 0 18px 42px rgba(18, 18, 17, 0.1);
}

.mode-card.selected::before {
  opacity: 0.24;
  transform: scale(1);
}

.mode-card[data-mode-card="return"].selected::before {
  opacity: 0.29;
}

.mode-card.selected .mode-kicker,
.mode-card.selected .mode-copy,
.mode-card.selected .mode-choice-line {
  color: rgba(255, 255, 255, 0.72);
}

.mode-card.selected .mode-selection {
  opacity: 1;
}

.mode-action {
  max-width: 990px;
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}

.prepare {
  background: var(--paper);
}

.prepare-art::before {
  background-position: right center;
  background-size: min(56vw, 820px) auto;
  opacity: 0.42;
  filter: contrast(1.24);
  mix-blend-mode: multiply;
}

.prepare.assets-loaded .prepare-art::before {
  background-image: url("assets/mountain-valley.jpg");
}

.prepare-art::after {
  background:
    linear-gradient(90deg, rgba(247,247,244,0.99) 0%, rgba(247,247,244,0.94) 42%, rgba(247,247,244,0.66) 68%, rgba(247,247,244,0.12) 100%),
    linear-gradient(180deg, rgba(247,247,244,0.98) 0%, rgba(247,247,244,0.9) 42%, rgba(247,247,244,0.48) 72%, rgba(247,247,244,0.04) 100%);
}

.prepare-inner {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  column-gap: clamp(48px, 10vw, 150px);
  row-gap: 56px;
  align-items: start;
}

.prepare h2 {
  font-size: clamp(42px, 6vw, 86px);
}

.selected-mode {
  margin-top: 30px;
  color: var(--grey);
}

.steps {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.steps li {
  padding: 25px 0 30px;
  display: grid;
  grid-template-columns: 112px 1fr;
  align-items: baseline;
  border-bottom: 1px solid var(--line);
}

.step-number {
  color: var(--grey);
  font-size: 14px;
  letter-spacing: 0.14em;
}

.steps p {
  margin: 0;
  font-size: clamp(26px, 3vw, 44px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.12;
}

.start-block {
  grid-column: 2;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
}

.start-block p {
  width: 100%;
  max-width: 520px;
  margin: 0 0 8px;
  color: var(--grey);
}

.duration {
  color: var(--grey);
  font-size: 12px;
}

.reflection-inner {
  text-align: center;
}

.reflection-transition {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  height: 260px;
  background-position: center 50%;
  background-size: 100% auto;
  background-repeat: no-repeat;
  opacity: 0.52;
  filter: grayscale(1) contrast(1.18);
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to bottom, transparent 0%, #000 24%, #000 72%, transparent 100%);
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  pointer-events: none;
}

.reflection.assets-loaded .reflection-transition {
  background-image: url("assets/reflection-transition-v3.webp");
}

.reflection-art::before {
  background-position: center bottom;
  background-size: min(100vw, 1440px) auto;
  opacity: 0.3;
  filter: contrast(1.32);
  mix-blend-mode: multiply;
}

.reflection.assets-loaded .reflection-art::before {
  background-image: url("assets/still-horizon.jpg");
}

.reflection-art::after {
  background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 50%, rgba(247,247,244,0.9) 66%, rgba(247,247,244,0.34) 84%, rgba(247,247,244,0.02) 100%);
}

.reflection h2 {
  max-width: 900px;
  margin: 0 auto;
}

.memory-list {
  margin: 54px auto 48px;
  width: min(100%, 760px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: center;
  gap: 14px 28px;
  color: var(--grey);
  font-size: clamp(16px, 1.7vw, 23px);
  text-align: center;
}

.reflection .statement {
  margin-bottom: 18px;
}

.reflection-inner > p:not(.section-label):not(.statement) {
  color: var(--grey);
}

.action-row {
  width: min(100%, 520px);
  margin: 48px auto 0;
  display: grid;
  gap: 12px;
}

.reflection-primary {
  width: 100%;
}

.secondary-button {
  background: transparent;
  color: var(--ink);
}

.secondary-button:hover,
.secondary-button:focus-visible {
  background: var(--ink);
  color: #fff;
}

.instagram-cta {
  min-height: 76px;
  padding: 13px 18px;
  border: 1px solid rgba(18, 18, 17, 0.42);
  border-radius: 20px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  color: var(--ink);
  text-align: left;
  text-decoration: none;
}

.instagram-mark {
  display: block;
  justify-self: center;
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
}

.instagram-mark .instagram-dot {
  fill: currentColor;
  stroke: none;
}

.instagram-cta-copy {
  min-width: 0;
  display: grid;
  align-self: center;
  justify-self: start;
  gap: 3px;
  text-align: left;
}

.instagram-cta-copy strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.25;
}

.instagram-cta-copy small {
  display: block;
  color: var(--grey);
  font-size: 12px;
  line-height: 1.35;
}

.instagram-arrow {
  display: block;
  justify-self: center;
  width: 21px;
  height: 21px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.reflection-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.text-button {
  border: 0;
  background: transparent;
  padding: 14px 16px;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

#reflectionHeading:focus {
  outline: none;
}

.feedback-card {
  position: relative;
  width: min(680px, 100%);
  margin: 42px auto 0;
  padding: 32px;
  border: 1px solid rgba(23, 23, 23, 0.16);
  border-radius: 20px;
  background: rgba(250, 250, 247, 0.96);
  box-shadow: 0 20px 55px rgba(23, 23, 23, 0.07);
  text-align: left;
  scroll-margin-top: 32px;
}

.feedback-intro {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(23, 23, 23, 0.12);
}

.feedback-meta {
  margin: 0 0 10px;
  color: var(--grey);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feedback-intro h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.feedback-intro h3:focus {
  outline: none;
}

.feedback-intro > p:last-child {
  margin: 12px 0 0;
  color: var(--grey);
}

#feedbackForm {
  display: grid;
  gap: 26px;
  padding-top: 26px;
}

.feedback-card fieldset {
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}

.feedback-card legend,
.feedback-comment > span {
  display: block;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.45;
}

.feedback-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}

.feedback-options label {
  position: relative;
  cursor: pointer;
}

.feedback-options input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.feedback-options span {
  min-height: 46px;
  padding: 9px 10px;
  border: 1px solid rgba(23, 23, 23, 0.2);
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #4e4e4a;
  font-size: 13px;
  text-align: center;
  transition: border-color 160ms ease, background 160ms ease, color 160ms ease;
}

.feedback-options label:hover span {
  border-color: rgba(23, 23, 23, 0.48);
}

.feedback-options input:checked + span {
  border-color: var(--ink);
  background: var(--ink);
  color: #fff;
}

.feedback-options input:focus-visible + span {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.feedback-comment textarea {
  width: 100%;
  min-height: 96px;
  resize: vertical;
  border: 1px solid rgba(23, 23, 23, 0.2);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--ink);
  font: inherit;
  line-height: 1.5;
}

.feedback-comment textarea:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
  border-color: var(--ink);
}

.feedback-privacy,
.feedback-status {
  margin: -10px 0 0;
  color: var(--grey);
  font-size: 11px;
  line-height: 1.5;
}

.feedback-status {
  min-height: 17px;
  color: #7b2f2f;
}

.feedback-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.feedback-actions .primary-button {
  min-width: 158px;
}

.feedback-actions .primary-button:disabled {
  opacity: 0.62;
  cursor: wait;
  transform: none;
}

.feedback-skip {
  min-height: 44px;
  border: 0;
  background: transparent;
  padding: 8px 4px;
  color: var(--grey);
  text-decoration: underline;
  text-underline-offset: 5px;
  cursor: pointer;
}

.feedback-success {
  padding-top: 28px;
}

.feedback-success p {
  margin: 0;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: -0.02em;
}

.lighter {
  min-height: 115svh;
  align-items: flex-start;
  padding-top: clamp(130px, 17vh, 220px);
}

.lighter-art::before {
  background-position: right center;
  background-size: min(60vw, 880px) auto;
  opacity: 1;
  filter: contrast(1.32);
  mix-blend-mode: multiply;
}

.lighter.assets-loaded .lighter-art::before {
  background-image: url("assets/page-07-mistfall.jpg");
}

.lighter-art::after {
  background: linear-gradient(90deg, rgba(247, 247, 244, 0.98) 0%, rgba(247, 247, 244, 0.88) 56%, rgba(247, 247, 244, 0.42) 80%, rgba(247, 247, 244, 0.02) 100%);
}

.lighter-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr);
  gap: clamp(60px, 9vw, 150px);
  align-items: end;
}

.lighter h2 {
  max-width: 760px;
}

.lighter-copy {
  max-width: 480px;
  padding-bottom: 6px;
}

.lighter-copy p {
  margin: 0 0 24px;
  color: #444440;
  font-size: clamp(16px, 1.45vw, 21px);
}

.lighter-copy .closing-statement {
  margin-top: 38px;
  color: #353532;
  font-size: clamp(20px, 2vw, 30px);
  line-height: 1.45;
  letter-spacing: -0.025em;
}

.closing-statement strong {
  color: var(--ink);
  font-weight: 600;
}

.closing-statement .earth-emphasis {
  display: inline-block;
  font-size: 1.06em;
}

.site-footer {
  position: absolute;
  left: var(--pad-x);
  right: var(--pad-x);
  bottom: 40px;
  z-index: 3;
  padding-top: 26px;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 64px;
  border-top: 1px solid var(--line);
  color: var(--grey);
  font-size: 11px;
  line-height: 1.55;
}

.footer-logo {
  display: block;
  width: clamp(72px, 6vw, 88px);
  height: auto;
  margin-bottom: 12px;
}

.footer-brand {
  max-width: 250px;
}

.site-footer p {
  margin: 4px 0;
}

.footer-tagline {
  color: #444440;
  font-weight: 500;
}

.footer-instagram {
  width: fit-content;
  margin-top: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #444440;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
}

.footer-instagram .instagram-mark {
  width: 18px;
  height: 18px;
  stroke-width: 1.7;
}

.footer-instagram:hover,
.footer-instagram:focus-visible {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.credits {
  max-width: 720px;
}

.credits .credits-heading {
  margin-bottom: 14px;
  color: #484844;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.credits p:not(.credits-heading) {
  max-width: 64ch;
  margin: 8px 0;
  color: #50504c;
  font-size: 11px;
  line-height: 1.62;
}

.credits .credits-note {
  color: #484844;
  font-size: 12px;
  letter-spacing: -0.005em;
}

.source-list {
  margin: 16px 0 0;
}

.source-entry {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
  border-top: 1px solid rgba(18, 18, 17, 0.12);
}

.source-entry dt {
  margin: 0;
  color: #747470;
  font-size: 9px;
  font-weight: 500;
  line-height: 1.45;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.source-entry dd {
  margin: 0;
  color: #50504c;
  font-size: 11px;
  line-height: 1.58;
}

.credits .credits-rights {
  margin-top: 12px;
  color: #747470;
  font-size: 10px;
}

.credits em {
  color: #383835;
}

.experience[hidden] {
  display: none;
}

.experience {
  position: fixed;
  z-index: 100;
  inset: 0 auto auto 0;
  width: 100vw;
  height: var(--viewport-height);
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 62px minmax(0, 1fr) 112px;
  background: var(--paper);
  color: var(--ink);
  color-scheme: dark;
}

.experience-topbar,
.panorama-stage,
.experience-controls {
  opacity: 0;
  transition: opacity 420ms ease;
}

.experience.open .experience-topbar,
.experience.open .panorama-stage,
.experience.open .experience-controls {
  opacity: 1;
}

.experience-topbar {
  z-index: 5;
  padding: 0 max(20px, env(safe-area-inset-right)) 0 max(20px, env(safe-area-inset-left));
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: #f7f7f4;
  font-size: 12px;
}

.experience-brand {
  display: block;
  width: auto;
  height: 17px;
  filter: brightness(0) invert(1);
}

.experience-topbar .icon-button {
  justify-self: end;
  color: #f7f7f4;
}

.icon-button {
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
  display: grid;
  place-items: center;
  font-size: 28px;
  cursor: pointer;
}

.panorama-stage {
  position: relative;
  overflow: hidden;
  background: rgb(211, 207, 202);
}

.panorama-moving {
  position: absolute;
  top: 50%;
  left: 0;
  display: flex;
  height: min(56vh, 520px);
  width: auto;
  aspect-ratio: 5 / 1;
  max-width: none;
  overflow: hidden;
  transform: translate3d(0, -50%, 0);
  will-change: transform, opacity;
  filter: contrast(0.96);
}

.panorama-tile {
  display: block;
  flex: 0 0 100%;
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.panorama-overview {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(96vw, 1800px);
  height: auto;
  transform: translate(-50%, -50%);
  opacity: 0;
  will-change: opacity, transform;
}

.journey-hint {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  padding: 8px 14px;
  background: rgba(247, 247, 244, 0.82);
  border-radius: 999px;
  color: var(--grey);
  font-size: 11px;
  white-space: nowrap;
  transition: opacity 800ms ease;
}

.journey-hint.hidden {
  opacity: 0;
}

.experience-controls {
  z-index: 5;
  padding: 18px max(20px, env(safe-area-inset-left)) max(18px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background: #111;
  color: #f7f7f4;
}

.orientation-prompt[hidden] {
  display: none;
}

.orientation-prompt {
  position: absolute;
  z-index: 30;
  left: 50%;
  bottom: calc(112px + max(18px, env(safe-area-inset-bottom)));
  width: min(520px, calc(100% - 32px));
  opacity: 0;
  transform: translate(-50%, 12px);
  pointer-events: none;
  transition: opacity 240ms ease, transform 240ms ease;
}

.orientation-prompt.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

.orientation-content {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 0 14px;
  align-items: center;
  padding: 15px 18px 13px;
  border: 1px solid rgba(23, 23, 23, 0.13);
  border-radius: 18px;
  background: rgba(247, 247, 244, 0.9);
  box-shadow: 0 12px 34px rgba(23, 23, 23, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  pointer-events: auto;
}

.orientation-copy {
  min-width: 0;
}

.orientation-copy .section-label {
  margin: 0 0 2px;
  font-size: 9px;
  line-height: 1.4;
}

.orientation-title {
  margin: 0;
  color: var(--ink);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.28;
}

.orientation-copy > p:last-child {
  margin: 3px 0 0;
  color: var(--grey);
  font-size: 11px;
  line-height: 1.45;
}

.orientation-content .text-button {
  grid-column: 2;
  justify-self: start;
  min-height: 34px;
  margin: 4px 0 0;
  padding: 4px 0;
  font-size: 11px;
  line-height: 1.3;
}

.rotate-device {
  grid-row: 1 / span 2;
  width: 23px;
  height: 34px;
  margin: 0 auto;
  border: 1.5px solid var(--ink);
  border-radius: 5px;
  display: grid;
  place-items: end center;
  padding-bottom: 3px;
  transform: rotate(-8deg);
  animation: rotate-device 2.8s ease-in-out infinite;
}

.rotate-device span {
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--ink);
}

@keyframes rotate-device {
  0%, 18% { transform: rotate(-8deg); }
  58%, 84% { transform: rotate(82deg); }
  100% { transform: rotate(-8deg); }
}

.play-button {
  width: 50px;
  height: 50px;
  border: 1px solid #f7f7f4;
  background: #f7f7f4;
  color: #111;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 15px;
  cursor: pointer;
}

.play-button.is-paused::before {
  content: "";
  width: 0;
  height: 0;
  margin-left: 3px;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid #111;
}

.timeline-wrap {
  min-width: 0;
}

#timeline {
  width: 100%;
  accent-color: #f7f7f4;
  cursor: pointer;
}

.time-row {
  margin-top: 3px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(247, 247, 244, 0.68);
  font-size: 10px;
}

.volume-control {
  display: flex;
  align-items: center;
  gap: 5px;
  margin: 0 10px;
  color: var(--grey);
}

.volume-control.uses-system-volume {
  margin-inline: auto;
}

.system-volume-note {
  color: var(--grey);
  font-size: 9px;
  white-space: nowrap;
}

.volume-button {
  width: 26px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  display: grid;
  place-items: center;
  cursor: pointer;
}

.volume-button svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.volume-muted {
  display: none;
}

.volume-control.is-muted .volume-waves {
  display: none;
}

.volume-control.is-muted .volume-muted {
  display: block;
}

#volumeSlider {
  width: 72px;
  margin: 0;
  accent-color: var(--ink);
  cursor: pointer;
}

.transcript-button {
  border: 0;
  background: transparent;
  color: var(--grey);
  cursor: pointer;
}

.experience .volume-control,
.experience .transcript-button {
  display: none;
}

dialog {
  width: min(680px, calc(100vw - 32px));
  max-height: min(82svh, 820px);
  border: 0;
  padding: clamp(26px, 5vw, 56px);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 30px 90px rgba(0,0,0,0.22);
  overflow: auto;
}

dialog::backdrop {
  background: rgba(20,20,20,0.5);
  backdrop-filter: blur(8px);
}

.dialog-close {
  position: absolute;
  top: 10px;
  right: 10px;
}

dialog h2 {
  margin: 0 0 34px;
  font-size: clamp(28px, 5vw, 54px);
  letter-spacing: -0.05em;
  line-height: 1.05;
}

.transcript-copy p {
  margin: 0 0 24px;
  color: #4c4c48;
}

.toast {
  position: fixed;
  z-index: 200;
  left: 50%;
  bottom: 30px;
  transform: translate(-50%, 18px);
  padding: 12px 18px;
  background: var(--ink);
  color: #fff;
  border-radius: 999px;
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease, transform 220ms ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 820px) {
  :root {
    --header-h: 58px;
    --pad-x: 22px;
  }

  .chapter-nav {
    display: none;
  }

  .panel {
    min-height: 100svh;
    padding-top: calc(var(--header-h) + 54px);
    padding-bottom: 72px;
  }

  .panel-index {
    bottom: 20px;
  }

  .hero {
    align-items: flex-start;
    padding-top: 18vh;
  }

  .hero-art::before {
    background-size: 124% auto;
    background-position: right calc(100% + 42px);
    opacity: 1;
    filter: contrast(1.48);
  }

  .hero-art::after {
    background:
      linear-gradient(90deg, rgba(247,247,244,0.88) 0%, rgba(247,247,244,0.7) 52%, rgba(247,247,244,0.18) 68%, transparent 82%),
      linear-gradient(180deg, var(--paper) 0%, rgba(247,247,244,0.96) 38%, rgba(247,247,244,0.42) 58%, rgba(247,247,244,0.1) 78%, rgba(247,247,244,0.02) 100%);
  }

  .hero h1 {
    font-size: clamp(66px, 22vw, 104px);
  }

  .hanzi {
    margin-top: 18px;
  }

  .hero h2 {
    line-height: 1.1;
  }

  .why {
    align-items: flex-start;
  }

  .why-art::before {
    background-size: 100% auto;
    background-position: right bottom;
    opacity: 0.82;
  }

  .why-art::after {
    background:
      linear-gradient(90deg, rgba(247,247,244,0.88) 0%, rgba(247,247,244,0.58) 64%, rgba(247,247,244,0.03) 100%),
      linear-gradient(180deg, var(--paper) 0%, rgba(247,247,244,0.98) 54%, rgba(247,247,244,0.5) 76%, rgba(247,247,244,0.02) 100%);
  }

  .panel h2 {
    letter-spacing: -0.048em;
  }

  .why h2 {
    line-height: 1.06;
    letter-spacing: -0.042em;
  }

  .why .lead {
    line-height: 1.5;
  }

  .facts {
    display: grid;
    gap: 4px;
    margin-bottom: 38px;
  }

  .origin-grid,
  .lighter-grid,
  .prepare-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .origin-copy h2 {
    margin-bottom: 32px;
  }

  .origin-copy > p:not(.section-label) {
    margin-bottom: 22px;
    line-height: 1.62;
  }

  blockquote {
    padding-left: 24px;
  }

  .mode-grid {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 32px;
  }

  .mode-card {
    min-height: 0;
    padding: 20px 22px 22px;
    border-radius: 16px;
  }

  .mode-card::before {
    background-position: center 64%;
  }

  .mode-choice-line {
    margin-bottom: 18px;
  }

  .mode-kicker {
    margin-bottom: 14px;
  }

  .mode-title {
    margin-bottom: 18px;
    font-size: clamp(28px, 8vw, 34px);
    line-height: 1.08;
  }

  .mode-copy {
    margin-bottom: 8px;
    font-size: 15px;
    line-height: 1.48;
  }

  .mode-action {
    margin-top: 14px;
  }

  .mode-action .primary-button {
    width: 100%;
  }

  .ways-art::before {
    background-size: 118% auto;
    background-position: right bottom;
    opacity: 1;
  }

  .ways-art::after {
    background:
      linear-gradient(90deg, rgba(247,247,244,0.92) 0%, rgba(247,247,244,0.7) 68%, rgba(247,247,244,0.08) 100%),
      linear-gradient(180deg, var(--paper) 0%, rgba(247,247,244,0.98) 60%, rgba(247,247,244,0.54) 82%, rgba(247,247,244,0.02) 100%);
  }

  .ways {
    padding-top: calc(var(--header-h) + 42px);
  }

  .ways .panel-inner {
    max-width: 560px;
  }

  .ways .section-label {
    margin-bottom: 22px;
  }

  .ways h2 {
    max-width: 360px;
    font-size: clamp(40px, 12vw, 48px);
    line-height: 1;
  }

  .ways h2 span {
    display: block;
    margin-top: 7px;
    font-size: 0.7em;
    line-height: 1.12;
    letter-spacing: -0.04em;
  }

  .start-block {
    grid-column: 1;
  }

  .prepare {
    padding-top: calc(var(--header-h) + 42px);
  }

  .prepare-inner {
    gap: 30px;
    max-width: 560px;
  }

  .prepare .section-label {
    margin-bottom: 24px;
  }

  .prepare h2 {
    font-size: clamp(40px, 12vw, 48px);
    line-height: 1.04;
  }

  .selected-mode {
    margin-top: 20px;
    margin-bottom: 0;
  }

  .steps li {
    grid-template-columns: 56px 1fr;
    padding: 22px 0 24px;
  }

  .steps p {
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.14;
  }

  .start-block {
    display: grid;
    justify-items: start;
    gap: 14px;
    padding-left: 56px;
  }

  .start-block p {
    max-width: 340px;
    margin: 0;
    font-size: 16px;
    line-height: 1.55;
  }

  .duration {
    font-size: 11.5px;
  }

  .memory-list {
    display: grid;
    width: min(100%, 340px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: center;
    gap: 10px 18px;
    margin: 32px auto 30px;
    text-align: center;
    line-height: 1.45;
  }

  .reflection {
    align-items: flex-start;
    padding-top: calc(var(--header-h) + 42px);
  }

  .reflection-transition {
    height: 172px;
    background-position: center 48%;
    background-size: 116% auto;
    opacity: 0.58;
  }

  .reflection-inner {
    max-width: 640px;
  }

  .reflection .section-label {
    margin-bottom: 24px;
  }

  .reflection h2 {
    line-height: 1.08;
  }

  .reflection .statement {
    margin-bottom: 12px;
  }

  .reflection-inner > p:not(.section-label):not(.statement) {
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.5;
  }

  .reflection .action-row {
    width: min(100%, 340px);
    margin: 32px auto 0;
    display: grid;
    gap: 10px;
  }

  .reflection .reflection-primary {
    width: 100%;
    padding-inline: 14px;
    font-size: 14px;
  }

  .reflection .instagram-cta {
    min-height: 72px;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    gap: 12px;
    padding-inline: 15px;
  }

  .reflection .reflection-links {
    margin-top: 1px;
    flex-wrap: wrap;
  }

  .feedback-card {
    width: min(100%, 380px);
    margin-top: 32px;
    padding: 24px 18px;
    border-radius: 16px;
  }

  .feedback-intro {
    padding-bottom: 20px;
  }

  #feedbackForm {
    gap: 23px;
    padding-top: 22px;
  }

  .feedback-options {
    gap: 6px;
  }

  .feedback-options span {
    min-height: 44px;
    padding-inline: 7px;
    font-size: 12px;
  }

  .feedback-actions {
    display: grid;
    gap: 4px;
  }

  .feedback-actions .primary-button {
    width: 100%;
  }

  .feedback-skip {
    justify-self: center;
  }

  .prepare-art::before {
    background-size: 128% auto;
    background-position: center bottom;
    opacity: 0.34;
  }

  .prepare-art::after {
    background: linear-gradient(180deg, var(--paper) 0%, rgba(247,247,244,0.98) 54%, rgba(247,247,244,0.76) 70%, rgba(247,247,244,0.28) 88%, rgba(247,247,244,0.02) 100%);
  }

  .reflection-art::before {
    background-size: 145% auto;
    background-position: center bottom;
    opacity: 0.28;
  }

  .reflection-art::after {
    background: linear-gradient(180deg, var(--paper) 0%, var(--paper) 54%, rgba(247,247,244,0.9) 68%, rgba(247,247,244,0.34) 86%, rgba(247,247,244,0.02) 100%);
  }

  .lighter {
    display: block;
    min-height: auto;
    padding-bottom: 72px;
  }

  .lighter-art::before {
    background-size: 126% auto;
    background-position: right bottom;
    opacity: 1;
    filter: contrast(1.4);
  }

  .lighter-art::after {
    background:
      linear-gradient(90deg, rgba(247,247,244,0.9) 0%, rgba(247,247,244,0.6) 66%, rgba(247,247,244,0.03) 100%),
      linear-gradient(180deg, var(--paper) 0%, rgba(247,247,244,0.96) 50%, rgba(247,247,244,0.42) 72%, rgba(247,247,244,0.02) 100%);
  }

  .lighter h2 {
    line-height: 1.06;
  }

  .lighter-copy p,
  .lighter-copy .closing-statement {
    line-height: 1.6;
  }

  .site-footer {
    position: static;
    margin-top: 120px;
    grid-template-columns: 1fr;
    gap: 24px;
    font-size: 12px;
    line-height: 1.62;
  }

  .footer-logo {
    width: 68px;
  }

  .site-footer p {
    margin: 6px 0;
  }

  .credits p:not(.credits-heading) {
    font-size: 12px;
    line-height: 1.62;
  }

  .credits .credits-note {
    font-size: 13px;
    line-height: 1.64;
  }

  .source-list {
    margin-top: 20px;
  }

  .source-entry {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 13px 0;
  }

  .source-entry dt {
    font-size: 9px;
  }

  .source-entry dd {
    font-size: 12px;
    line-height: 1.62;
  }

  .credits .credits-rights {
    margin-top: 14px;
    font-size: 11px;
  }

  .lighter .panel-index {
    display: none;
  }

  .experience {
    grid-template-rows: 56px minmax(0, 1fr) 116px;
  }

  .experience-topbar {
    grid-template-columns: 1fr auto 1fr;
  }

  .experience-controls {
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 12px;
  }

  .transcript-button {
    grid-column: 2;
    justify-self: end;
    margin-top: -8px;
    font-size: 12px;
  }

  #volumeSlider {
    width: 60px;
  }

  .panorama-moving {
    height: min(46vh, 360px);
  }
}

@media (orientation: landscape) and (max-height: 600px) {
  .lighter {
    display: block;
    min-height: auto;
    padding-top: 96px;
    padding-bottom: 64px;
  }

  .lighter-grid {
    align-items: start;
  }

  .site-footer {
    position: static;
    margin-top: 72px;
  }

  .lighter .panel-index {
    display: none;
  }

  .experience {
    display: block;
  }

  .experience-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    padding: 0 max(16px, env(safe-area-inset-right)) 0 max(16px, env(safe-area-inset-left));
    border-bottom: 0;
    background: linear-gradient(180deg, rgba(17, 17, 17, 0.96) 0%, rgba(17, 17, 17, 0.82) 62%, rgba(17, 17, 17, 0) 100%);
  }

  .experience-brand {
    height: 15px;
  }

  .panorama-stage {
    position: absolute;
    inset: 0;
  }

  .panorama-moving {
    /* The artwork now fills the whole landscape viewport. It remains larger
       than the frame so the journey still moves through details. */
    height: max(100%, min(52vw, 560px));
    min-height: 420px;
    max-height: none;
  }

  .panorama-overview {
    width: min(92vw, 1500px);
  }

  .journey-hint {
    bottom: 82px;
    padding: 5px 10px;
  }

  .experience-controls {
    position: absolute;
    left: max(10px, env(safe-area-inset-left));
    right: max(10px, env(safe-area-inset-right));
    bottom: max(8px, env(safe-area-inset-bottom));
    min-height: 60px;
    padding: 8px 12px;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    gap: 14px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 18px;
    background: rgba(17, 17, 17, 0.9);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }

  .play-button {
    width: 42px;
    height: 42px;
  }

  .transcript-button {
    grid-column: auto;
    justify-self: auto;
    margin-top: 0;
    white-space: nowrap;
  }

  .orientation-prompt {
    bottom: 82px;
    width: min(520px, calc(100% - 160px));
  }
}

/* Instagram's in-app browser often keeps phones in portrait. In that case the
   panorama fills every available pixel between the player chrome, without
   asking the visitor to rotate the device. */
@media (orientation: portrait) {
  .panorama-moving {
    height: calc(100% + 2px);
    min-height: calc(100% + 2px);
    max-height: none;
  }

  .orientation-prompt {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    animation-duration: 0.01ms !important;
    animation-delay: 0ms !important;
    animation-iteration-count: 1 !important;
  }
}

/* Final tablet override. iPad Safari can report a desktop-sized viewport,
   especially with Request Desktop Website or Stage Manager enabled. Keep this
   block last so later section rules cannot restore the partial desktop image. */
@media (min-width: 768px) and (max-width: 1600px),
       (min-width: 768px) and (any-pointer: coarse) {
  .art-layer {
    inset: -5px;
  }

  .hero-art::before,
  .ways-art::before,
  .prepare-art::before,
  .lighter-art::before {
    background-size: cover;
    background-position: right center;
  }

  .why-art::before {
    background-size: min(86%, 840px) auto;
    background-position: right center;
  }

  .reflection-transition {
    left: -6px;
    right: -6px;
    width: auto;
    background-size: cover;
  }

  .reflection-art::before {
    background-size: cover;
    background-position: center bottom;
  }

  .instagram-cta {
    grid-template-columns: 32px minmax(0, 1fr) 24px;
    column-gap: 13px;
  }
}

/* Touch-capable tablets do not need the fixed desktop chapter dots. */
@media (min-width: 768px) and (any-pointer: coarse) {
  .chapter-nav {
    display: none;
  }
}
