:root {
  --ink: #07120f;
  --ink-soft: #0c1915;
  --paper: #e9eee9;
  --muted: #91a098;
  --line: rgba(201, 220, 207, 0.16);
  --sage: #8eb8a0;
  --water: #718f94;
  --earth: #b29d7f;
  --page: min(100%, 46rem);
  --app-font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--ink);
  color: var(--paper);
  font-family: var(--app-font);
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  min-height: 100svh;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% 12%, rgba(86, 122, 102, 0.12), transparent 28rem),
    linear-gradient(180deg, #07120f 0%, #091410 55%, #06100d 100%);
}

button,
a {
  font: inherit;
}

[hidden] {
  display: none !important;
}

.ambient {
  position: fixed;
  z-index: 0;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  opacity: 0.5;
  filter: blur(44px);
}

.ambient i {
  position: absolute;
  display: block;
  width: 18rem;
  aspect-ratio: 1;
  border-radius: 44% 56% 58% 42%;
  mix-blend-mode: screen;
}

.ambient__sage {
  top: 6%;
  left: 24%;
  background: rgba(66, 118, 90, 0.16);
  animation: drift-sage 18s ease-in-out infinite alternate;
}

.ambient__water {
  top: 44%;
  right: -8rem;
  background: rgba(62, 102, 111, 0.13);
  animation: drift-water 22s ease-in-out infinite alternate;
}

.ambient__earth {
  bottom: -8rem;
  left: -5rem;
  background: rgba(135, 108, 72, 0.1);
  animation: drift-earth 24s ease-in-out infinite alternate;
}

main,
.state {
  position: relative;
  z-index: 1;
  width: var(--page);
  margin: 0 auto;
}

.state {
  display: grid;
  min-height: 100svh;
  padding: 2rem;
  place-content: center;
  text-align: center;
}

.state__mark {
  display: grid;
  width: 8rem;
  aspect-ratio: 1;
  margin: 0 auto 2rem;
  border: 1px solid rgba(142, 184, 160, 0.3);
  border-radius: 46% 54% 51% 49%;
  place-items: center;
  animation: breathe 4s ease-in-out infinite;
}

.state__mark span,
.brand__orb {
  display: block;
  width: 0.45rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sage);
  box-shadow: 0 0 1.8rem rgba(142, 184, 160, 0.65);
}

.state__mark--quiet {
  animation: none;
  opacity: 0.65;
}

.state h1 {
  max-width: 20rem;
  margin: 0.9rem auto;
  font-size: clamp(1.8rem, 7vw, 2.6rem);
  font-weight: 350;
  letter-spacing: -0.04em;
}

.state > p:last-child {
  max-width: 22rem;
  margin: 0 auto;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.8;
}

.eyebrow {
  margin: 0;
  color: var(--sage);
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.24em;
}

.masthead {
  position: absolute;
  z-index: 4;
  top: 0;
  left: 0;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  padding: max(1.4rem, env(safe-area-inset-top)) 1.35rem 0;
}

.brand {
  display: inline-flex;
  gap: 0.65rem;
  align-items: center;
  color: var(--paper);
  font-family: var(--app-font);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  text-decoration: none;
}

.expiry {
  color: var(--muted);
  font-size: 0.65rem;
}

.opening {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6.25rem 1.5rem 4.5rem;
  text-align: center;
}

.badge {
  /* Do not use min() here. Some embedded Android/WeChat WebViews discard the
     whole declaration and let the uploaded 600px image set the flex width. */
  width: 56vw;
  max-width: 14rem;
  min-width: 0;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  margin: 1.35rem auto 1.15rem;
  overflow: hidden;
  filter: drop-shadow(0 1.2rem 3.5rem rgba(54, 109, 84, 0.18));
}

.badge svg,
.badge img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.badge img {
  aspect-ratio: 1 / 1;
  background: transparent;
  object-fit: contain;
}

.badge .badge-contour {
  transform-origin: center;
  animation: badge-arrive 1.8s cubic-bezier(0.21, 0.85, 0.35, 1) both;
}

.badge .badge-signal {
  stroke-dasharray: 280;
  stroke-dashoffset: 280;
  animation: draw-line 2.4s 0.8s ease forwards;
}

.opening__date {
  margin: 0 0 0.85rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
}

.opening h1 {
  max-width: 22rem;
  margin: 0;
  font-size: clamp(2rem, 8.2vw, 3.5rem);
  font-weight: 280;
  letter-spacing: -0.055em;
  line-height: 1.18;
}

.opening__summary {
  max-width: 23rem;
  margin: 1rem 0 0;
  color: #afbab4;
  font-family: var(--app-font);
  font-size: 0.9rem;
  line-height: 1.72;
}

.scroll-cue {
  position: relative;
  display: grid;
  width: 1.65rem;
  height: 2.5rem;
  margin-top: 1.45rem;
  border: 1px solid rgba(201, 220, 207, 0.2);
  border-radius: 1rem;
  place-items: start center;
}

.scroll-cue span {
  width: 0.22rem;
  height: 0.45rem;
  margin-top: 0.55rem;
  border-radius: 1rem;
  background: var(--sage);
  animation: scroll-cue 1.8s ease-in-out infinite;
}

.section {
  padding: 4.5rem 1.5rem;
  border-top: 1px solid var(--line);
}

.section > h2,
.closing h2 {
  max-width: 21rem;
  margin: 0;
  font-size: clamp(1.75rem, 6.5vw, 2.5rem);
  font-weight: 320;
  letter-spacing: -0.045em;
  line-height: 1.3;
}

.pattern {
  position: relative;
  margin-top: 2.65rem;
  padding: 0.2rem 0 0.2rem 1.4rem;
}

.pattern::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: linear-gradient(180deg, var(--sage), rgba(142, 184, 160, 0.08));
  content: "";
}

.pattern h3,
.body-reading h3 {
  margin: 0;
  font-size: clamp(1.4rem, 5.5vw, 1.95rem);
  font-weight: 380;
  letter-spacing: -0.035em;
  line-height: 1.45;
}

.pattern p,
.body-reading p {
  margin: 1rem 0 0;
  color: #aeb9b2;
  font-size: 0.88rem;
  line-height: 1.85;
}

.analysis__closing {
  margin: 2rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid var(--line);
  color: #7f8d85;
  font-size: 0.76rem;
  line-height: 1.75;
}

.turning-points {
  margin-top: 2.4rem;
  counter-reset: turning;
}

.turning-point {
  position: relative;
  padding: 0 0 2.25rem 2.75rem;
  counter-increment: turning;
}

.turning-point:last-child {
  padding-bottom: 0;
}

.turning-point::before {
  position: absolute;
  top: 0.15rem;
  left: 0;
  color: var(--sage);
  content: "0" counter(turning);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
}

.turning-point:not(:last-child)::after {
  position: absolute;
  top: 1.55rem;
  bottom: 0.45rem;
  left: 0.52rem;
  width: 1px;
  background: linear-gradient(var(--line), transparent);
  content: "";
}

.turning-point h3 {
  margin: 0;
  font-size: 1.18rem;
  font-weight: 430;
  letter-spacing: -0.02em;
  line-height: 1.5;
}

.turning-point p {
  margin: 0.65rem 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.75;
}

.turning-point blockquote {
  margin: 1rem 0 0;
  color: #d4ddd7;
  font-size: 0.9rem;
  font-weight: 350;
  line-height: 1.7;
}

.body-reading {
  margin-top: 2.5rem;
  padding: 0 0 1.65rem;
  border-bottom: 1px solid var(--line);
}

.body-reading > span {
  display: block;
  margin-bottom: 0.8rem;
  color: var(--sage);
  font-size: 0.65rem;
  letter-spacing: 0.14em;
}

.insights {
  margin-top: 2.4rem;
}

.insight {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1.35rem 0 1.5rem;
  border-bottom: 1px solid var(--line);
}

.insight__label {
  margin: 0;
  color: var(--sage);
  font-size: 0.66rem;
  letter-spacing: 0.12em;
}

.insight h3 {
  margin: -0.25rem 0 0;
  font-size: 1.18rem;
  font-weight: 430;
  letter-spacing: -0.02em;
  line-height: 1.45;
}

.insight__detail {
  margin: 0.55rem 0 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.7;
}

.quality {
  margin-top: 2.15rem;
}

.quality__row {
  display: grid;
  grid-template-columns: 4.4rem 1fr auto;
  gap: 0.85rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.quality__gauge {
  width: 4.4rem;
}

.quality__gauge svg {
  display: block;
  width: 100%;
}

.quality__name {
  margin: 0 0 0.3rem;
  font-size: 0.92rem;
}

.quality__detail,
.quality__state {
  color: var(--muted);
  font-size: 0.68rem;
}

.quality__detail {
  line-height: 1.55;
}

.quality__state {
  text-align: right;
}

.quality__state--good {
  color: var(--sage);
}

.evidence-section {
  padding-top: 3.25rem;
  padding-bottom: 3.25rem;
}

.evidence summary {
  display: flex;
  min-height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  list-style: none;
}

.evidence summary::-webkit-details-marker {
  display: none;
}

.evidence summary span {
  color: #dce5df;
  font-size: 1rem;
  font-weight: 430;
}

.evidence summary small {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 400;
}

.evidence summary small::after {
  display: inline-block;
  margin-left: 0.55rem;
  color: var(--sage);
  content: "+";
  font-size: 1rem;
  transition: transform 220ms ease;
}

.evidence[open] summary small::after {
  transform: rotate(45deg);
}

.evidence__content {
  padding: 1.2rem 0 0;
}

.evidence__basis {
  margin: 0;
  padding: 0;
  list-style: none;
}

.evidence__basis li {
  display: grid;
  grid-template-columns: 1.1rem 1fr;
  gap: 0.65rem;
  padding: 0.65rem 0;
  color: #b7c2bb;
  font-size: 0.8rem;
  line-height: 1.6;
}

.evidence__basis li::before {
  color: var(--sage);
  content: "·";
}

.evidence__limitation {
  margin: 1rem 0 0;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.75;
}

.evidence__group {
  margin-top: 2.35rem;
}

.evidence__group > h3 {
  margin: 0;
  color: #cdd7d1;
  font-size: 0.82rem;
  font-weight: 480;
}

.charts {
  display: grid;
  gap: 3rem;
  margin-top: 2.2rem;
}

.chart__header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.2rem;
}

.chart__header h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 450;
}

.chart__header span {
  color: var(--muted);
  font-size: 0.68rem;
}

.chart svg {
  display: block;
  width: 100%;
}

.chart .chart-line {
  stroke-dasharray: 620;
  stroke-dashoffset: 620;
}

.chart.is-visible .chart-line {
  animation: draw-line 2s 0.2s ease forwards;
}

.chart__note {
  margin: 0.85rem 0 0;
  color: #a8b4ad;
  font-size: 0.75rem;
  line-height: 1.6;
}

.journey {
  margin: 2.3rem 0 0;
  padding: 0;
  counter-reset: stage;
  list-style: none;
}

.journey li {
  position: relative;
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 0.8rem;
  padding-bottom: 1.9rem;
  counter-increment: stage;
}

.journey li:last-child {
  padding-bottom: 0;
}

.journey li::before {
  content: "0" counter(stage);
  color: var(--sage);
  font-family: var(--app-font);
  font-size: 0.75rem;
}

.journey li:not(:last-child)::after {
  position: absolute;
  top: 1.5rem;
  bottom: 0.4rem;
  left: 0.6rem;
  width: 1px;
  background: linear-gradient(var(--line), transparent);
  content: "";
}

.journey h3 {
  margin: -0.2rem 0 0.45rem;
  font-size: 1.15rem;
  font-weight: 420;
  line-height: 1.35;
}

.journey p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.65;
}

.reflection {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

.reflection > h2 {
  margin-right: auto;
  margin-left: auto;
  color: var(--sage);
  font-size: 0.78rem;
  font-weight: 520;
  letter-spacing: 0.13em;
}

.reflection blockquote {
  max-width: 25rem;
  margin: 1.2rem auto 0;
  font-family: var(--app-font);
  font-size: clamp(1.55rem, 7vw, 2.4rem);
  font-weight: 350;
  letter-spacing: -0.03em;
  line-height: 1.55;
}

.memento {
  --memento-color: #d9c49d;
  --memento-glow: rgba(217, 196, 157, 0.2);
}

.memento__reveal {
  margin-top: 2.25rem;
  padding: 1.25rem 0 1rem;
  text-align: center;
}

.memento__scene {
  margin: 0 0 0.35rem;
  color: var(--memento-color);
  font-size: 0.65rem;
  letter-spacing: 0.16em;
  opacity: 0.72;
}

.memento__halo {
  position: relative;
  display: grid;
  width: 12.5rem;
  aspect-ratio: 1;
  margin: 0 auto 0.45rem;
  place-items: center;
  background: radial-gradient(circle, var(--memento-glow) 0%, rgba(7, 18, 15, 0) 68%);
}

.memento__ring {
  position: absolute;
  width: 8.5rem;
  aspect-ratio: 1;
  border: 1px solid var(--memento-glow);
  border-radius: 50%;
}

#memento-icon {
  width: 5.75rem;
  height: 5.75rem;
  object-fit: contain;
  opacity: 0.94;
  filter: drop-shadow(0 0 1.2rem var(--memento-glow));
}

.memento__icon-fallback {
  color: var(--memento-color);
  font-size: 4rem;
  font-weight: 200;
  line-height: 1;
  text-shadow: 0 0 1.2rem var(--memento-glow);
}

.memento__reveal h3 {
  margin: 0;
  font-family: var(--app-font);
  font-size: clamp(1.55rem, 7vw, 2.2rem);
  font-weight: 380;
  letter-spacing: 0.15em;
}

.memento__variant {
  max-width: 25rem;
  margin: 1.4rem auto 0;
  color: #c6c4b9;
  font-family: var(--app-font);
  font-size: 0.9rem;
  line-height: 1.7;
}

.memento__note {
  max-width: 23rem;
  margin: 1.3rem auto 0;
  color: #9d9e95;
  font-size: 0.78rem;
  font-style: italic;
  line-height: 1.65;
}

.memento.is-visible .memento__ring {
  animation: memento-halo-pulse 4s ease-in-out infinite alternate;
}

.memento.is-visible #memento-icon,
.memento.is-visible .memento__icon-fallback {
  animation: memento-icon-arrive 1.2s ease-in-out both;
}

.memento.is-visible .memento__reveal h3,
.memento.is-visible .memento__variant,
.memento.is-visible .memento__note {
  animation: memento-copy-arrive 1s ease-in-out 0.55s both;
}

.practice {
  margin-top: 2.35rem;
  padding: 1.8rem 0;
  border-top: 1px solid rgba(142, 184, 160, 0.28);
  border-bottom: 1px solid var(--line);
}

.practice__when {
  margin: 0;
  color: var(--sage);
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  line-height: 1.6;
}

.practice h3 {
  margin: 0.7rem 0 0;
  font-size: clamp(1.5rem, 6vw, 2rem);
  font-weight: 360;
  letter-spacing: -0.035em;
}

.practice__instruction {
  margin: 1rem 0 0;
  color: #c2ccc6;
  font-size: 0.92rem;
  line-height: 1.85;
}

.practice__meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.practice__meta span {
  color: var(--muted);
  font-size: 0.68rem;
}

.practice__meta strong {
  color: var(--paper);
  font-size: 0.8rem;
  font-weight: 500;
}

.practice__safety {
  margin: 1rem 0 0;
  color: #8e9992;
  font-size: 0.7rem;
  line-height: 1.65;
}

.recommendations {
  margin: 2.2rem 0 0;
  padding: 0;
  list-style: none;
}

.recommendations li {
  display: grid;
  grid-template-columns: 2rem 1fr;
  gap: 0.75rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  color: #bdc7c1;
  font-size: 0.85rem;
  line-height: 1.65;
}

.recommendations li::before {
  color: var(--sage);
  content: "↳";
}

.closing {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 5rem 1.5rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.closing__ring {
  width: 4.5rem;
  aspect-ratio: 1;
  margin-bottom: 1.6rem;
  border: 1px solid rgba(142, 184, 160, 0.35);
  border-radius: 46% 54% 51% 49%;
  box-shadow: inset 0 0 2.5rem rgba(95, 144, 117, 0.1);
}

.closing > p:first-of-type {
  margin: 0;
  color: var(--sage);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
}

.closing h2 {
  margin-right: auto;
  margin-left: auto;
}

.closing button {
  width: min(100%, 22rem);
  min-height: 3.5rem;
  margin-top: 2rem;
  border: 1px solid rgba(173, 204, 185, 0.35);
  border-radius: 2rem;
  color: #dce7df;
  background: rgba(131, 173, 148, 0.12);
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.closing button:active {
  transform: scale(0.985);
}

.privacy-note {
  max-width: 24rem;
  margin: 1.2rem 0 0;
  color: #718078;
  font-size: 0.65rem;
  line-height: 1.7;
}

footer {
  display: flex;
  justify-content: space-between;
  padding: 1.4rem 1.5rem max(1.5rem, env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  color: #65746c;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
}

body.export-open {
  overflow: hidden;
}

.image-export {
  position: fixed;
  z-index: 20;
  inset: 0;
  padding: max(1rem, env(safe-area-inset-top)) 0 0;
  background: rgba(2, 8, 6, 0.88);
  backdrop-filter: blur(16px);
}

.image-export__sheet {
  position: relative;
  width: min(100%, 34rem);
  height: 100%;
  margin: 0 auto;
  overflow-y: auto;
  padding: 2.2rem 1.1rem max(2rem, env(safe-area-inset-bottom));
  border-radius: 1.5rem 1.5rem 0 0;
  background: #0a1511;
  text-align: center;
  overscroll-behavior: contain;
}

.image-export__close {
  position: sticky;
  z-index: 2;
  top: 0;
  float: right;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(7, 18, 15, 0.88);
  font-size: 1.4rem;
  line-height: 1;
}

.image-export__sheet h2 {
  margin: 0.7rem 0 0;
  font-size: 1.65rem;
  font-weight: 360;
}

.image-export__sheet > p:not(.eyebrow) {
  margin: 0.75rem auto 1.3rem;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.65;
}

.image-export__sheet img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #07120f;
  -webkit-touch-callout: default;
  user-select: auto;
}

.image-export__sheet a {
  display: flex;
  min-height: 3.4rem;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  border: 1px solid rgba(173, 204, 185, 0.35);
  border-radius: 2rem;
  color: #dce7df;
  background: rgba(131, 173, 148, 0.12);
  font-size: 0.82rem;
  text-decoration: none;
}

.reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 900ms ease, transform 900ms cubic-bezier(0.21, 0.85, 0.35, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes breathe {
  0% { border-radius: 46% 54% 51% 49%; transform: scale(0.96); }
  50% { border-radius: 53% 47% 45% 55%; transform: scale(1.03); }
  100% { border-radius: 46% 54% 51% 49%; transform: scale(0.96); }
}

@keyframes memento-halo-pulse {
  from { opacity: 0.65; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1.05); }
}

@keyframes memento-icon-arrive {
  from { opacity: 0; transform: scale(0.6) rotate(-8deg); }
  to { opacity: 0.94; transform: scale(1) rotate(0); }
}

@keyframes memento-copy-arrive {
  from { opacity: 0; transform: translateY(0.5rem); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes badge-arrive {
  from { opacity: 0; transform: scale(0.86) rotate(-5deg); }
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes draw-line {
  to { stroke-dashoffset: 0; }
}

@keyframes scroll-cue {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(0.95rem); }
}

@keyframes drift-sage {
  to { border-radius: 57% 43% 39% 61%; transform: translate(1rem, 4rem) scale(1.2); }
}

@keyframes drift-water {
  to { border-radius: 39% 61% 55% 45%; transform: translate(-4rem, 3rem) scale(0.9); }
}

@keyframes drift-earth {
  to { border-radius: 60% 40% 46% 54%; transform: translate(4rem, -2rem) scale(1.25); }
}

@media (min-width: 42rem) {
  .masthead,
  .section,
  .opening,
  .closing,
  footer {
    padding-right: 3rem;
    padding-left: 3rem;
  }

  .quality__row {
    grid-template-columns: 5rem 1fr auto;
  }
}

@media (max-width: 41.99rem) {
  .opening {
    padding-top: 5.75rem;
    padding-bottom: 4rem;
    padding-right: 1.25rem;
    padding-left: 1.25rem;
  }

  .badge {
    width: 54vw;
    max-width: 13.5rem;
    margin-top: 1.25rem;
    margin-bottom: 1rem;
  }

  .section {
    padding: 4rem 1.25rem;
  }

  .insight {
    grid-template-columns: 4.25rem 1fr;
  }

  .opening h1,
  .opening__summary {
    width: 100%;
  }
}

@media (hover: hover) {
  .closing button:hover {
    border-color: rgba(173, 204, 185, 0.6);
    background: rgba(131, 173, 148, 0.2);
  }
}

@media print {
  :root {
    --ink: #fff;
    --paper: #15201b;
    --muted: #5f6d65;
    --line: rgba(16, 35, 26, 0.16);
    --sage: #3f7559;
  }

  body {
    background: #fff;
  }

  .ambient,
  .scroll-cue,
  .closing button {
    display: none;
  }

  .opening,
  .closing {
    min-height: auto;
  }

  .section,
  .closing {
    break-inside: avoid;
  }

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
