:root {
  --pink: #e91e8c;
  --pink-deep: #d4147a;
  --pink-dark: #9b0b59;
  --pink-light: #ff6eb4;
  --blush: #fff5fa;
  --mist: #fff0f7;
  --cream: #fffaf6;
  --sand: #eee5dd;
  --ink: #171218;
  --muted: #6b6268;
  --white: #fffdfd;
  --line: rgba(23, 18, 24, 0.14);
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Be Vietnam Pro", Arial, sans-serif;
  --page: min(76rem, calc(100vw - 2rem));
  --reading: min(44rem, calc(100vw - 2.25rem));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 4.75rem;
  background: var(--ink);
}

body {
  margin: 0;
  min-width: 20rem;
  overflow-x: clip;
  color: var(--ink);
  background: var(--cream);
  font-family: var(--sans);
  font-size: 1rem;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.lightbox-open {
  overflow: hidden;
}

img {
  display: block;
  max-width: 100%;
}

button,
a {
  font: inherit;
}

a {
  color: var(--pink-deep);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
}

button {
  color: inherit;
}

:focus-visible {
  outline: 3px solid var(--pink-light);
  outline-offset: 4px;
}

::selection {
  color: var(--white);
  background: var(--pink);
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid var(--pink-light);
  transform: translateY(-180%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.reading-progress {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: 0.24rem;
  background: rgba(255, 255, 255, 0.12);
  pointer-events: none;
}

.reading-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  transform: scaleX(0);
  transform-origin: left center;
}

.masthead {
  position: absolute;
  top: max(1.1rem, env(safe-area-inset-top));
  left: 50%;
  z-index: 10;
  display: flex;
  width: var(--page);
  align-items: center;
  justify-content: space-between;
  color: var(--white);
  transform: translateX(-50%);
}

.wordmark {
  display: inline-flex;
  align-items: baseline;
  color: inherit;
  font-family: var(--sans);
  font-size: 0.93rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1;
  text-decoration: none;
}

.wordmark strong {
  color: var(--pink-light);
  font-weight: 700;
}

.masthead__edition {
  padding: 0.35rem 0.55rem;
  border: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  line-height: 1;
}

.hero {
  position: relative;
  display: grid;
  min-height: max(52rem, 100svh);
  overflow: hidden;
  color: var(--white);
  background: #24151e;
  isolation: isolate;
}

.hero__media,
.hero__media img,
.hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero__media {
  z-index: -3;
}

.hero__media img {
  object-fit: cover;
  object-position: 58% center;
  filter: saturate(0.92) contrast(1.03);
}

.hero__veil {
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(14, 6, 12, 0.55) 0%, rgba(14, 6, 12, 0.1) 26%, rgba(14, 6, 12, 0.42) 53%, rgba(14, 6, 12, 0.96) 100%),
    linear-gradient(90deg, rgba(17, 5, 13, 0.67) 0%, rgba(17, 5, 13, 0.08) 92%);
}

.hero__content {
  align-self: end;
  width: var(--page);
  margin: 0 auto;
  padding: 7.5rem 0 12.5rem;
}

.eyebrow,
.section-tag,
.chapter__number,
.chapter__kicker {
  margin: 0;
  color: var(--pink-light);
  font-size: 0.69rem;
  font-weight: 700;
  letter-spacing: 0.17em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  width: 2.8rem;
  height: 0.18rem;
  content: "";
  background: var(--pink);
}

h1 {
  max-width: 70rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 10vw, 6.9rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero__deck {
  max-width: 49rem;
  margin: 1.65rem 0 0;
  padding-left: 1rem;
  border-left: 0.2rem solid var(--pink);
  color: rgba(255, 255, 255, 0.9);
  font-size: clamp(1rem, 2.8vw, 1.22rem);
  font-style: italic;
  font-weight: 500;
  line-height: 1.65;
}

.story-meta {
  display: flex;
  max-width: 56rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
  gap: 0.45rem 1.1rem;
  color: rgba(255, 255, 255, 0.67);
  font-size: 0.7rem;
  letter-spacing: 0.045em;
  line-height: 1.5;
  text-transform: uppercase;
}

.story-meta span {
  display: inline-flex;
  gap: 0.35rem;
}

.story-meta b {
  color: var(--white);
  font-weight: 600;
}

.hero__caption {
  position: absolute;
  right: max(1rem, calc((100vw - 76rem) / 2));
  bottom: 2rem;
  left: max(1rem, calc((100vw - 76rem) / 2));
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.hero__caption p {
  max-width: 38rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.7rem;
  font-style: italic;
  line-height: 1.55;
}

.hero__view {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  flex: 0 0 auto;
  color: var(--white);
  background: rgba(12, 7, 11, 0.46);
  border: 1px solid rgba(255, 255, 255, 0.46);
  border-radius: 99rem;
  cursor: zoom-in;
  font-size: 0.68rem;
  font-weight: 600;
}

.hero__view:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}

.hero__scroll {
  display: none;
}

.chapter-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  overflow: hidden;
  color: var(--white);
  background: rgba(23, 18, 24, 0.96);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.chapter-nav__inner {
  display: flex;
  width: 100%;
  min-height: 3.75rem;
  padding: 0 1rem;
  align-items: stretch;
  gap: 0.1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: none;
}

.chapter-nav__inner::-webkit-scrollbar {
  display: none;
}

.chapter-nav__label,
.chapter-nav a {
  display: inline-flex;
  min-height: 3.75rem;
  align-items: center;
  white-space: nowrap;
}

.chapter-nav__label {
  padding-right: 0.9rem;
  color: var(--pink-light);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.chapter-nav a {
  position: relative;
  padding: 0 0.78rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.72rem;
  font-weight: 500;
  text-decoration: none;
}

.chapter-nav a::after {
  position: absolute;
  right: 0.78rem;
  bottom: 0;
  left: 0.78rem;
  height: 0.18rem;
  content: "";
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 220ms ease;
}

.chapter-nav a b {
  margin-right: 0.36rem;
  color: var(--pink-light);
  font-size: 0.62rem;
}

.chapter-nav a:hover,
.chapter-nav a[aria-current="location"] {
  color: var(--white);
}

.chapter-nav a[aria-current="location"]::after {
  transform: scaleX(1);
}

.wrap {
  width: var(--page);
  margin-right: auto;
  margin-left: auto;
}

.chapter {
  position: relative;
  padding: clamp(5.5rem, 13vw, 10rem) 0;
  scroll-margin-top: 3.7rem;
  background: var(--cream);
}

.chapter__head {
  margin-bottom: clamp(2.5rem, 7vw, 5rem);
}

.chapter__number {
  margin-bottom: 1rem;
  color: var(--pink-deep);
}

.chapter h2 {
  max-width: 65rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(2.45rem, 8.8vw, 6.4rem);
  font-weight: 600;
  letter-spacing: -0.045em;
  line-height: 1.02;
  text-wrap: balance;
}

.chapter__kicker {
  margin-top: 1.25rem;
  color: var(--muted);
}

.prose {
  width: var(--reading);
  margin-right: auto;
  margin-left: auto;
}

.prose p {
  margin: 0;
  color: #2c252a;
  font-size: clamp(1.05rem, 2.1vw, 1.19rem);
  line-height: 1.92;
}

.prose p + p {
  margin-top: 1.65rem;
}

.prose--lead p:first-child::first-letter {
  margin: 0.06em 0.12em 0 0;
  float: left;
  color: var(--pink-deep);
  font-family: var(--serif);
  font-size: 4.25em;
  font-weight: 600;
  line-height: 0.77;
}

.quick-facts {
  margin-top: clamp(3.5rem, 8vw, 6rem);
  margin-bottom: clamp(3.5rem, 8vw, 6rem);
  padding: clamp(1.5rem, 5vw, 3.5rem);
  color: var(--white);
  background: var(--pink-deep);
  box-shadow: 0 1.75rem 5rem rgba(106, 10, 64, 0.18);
}

.quick-facts__intro h3 {
  max-width: 34rem;
  margin: 0.55rem 0 1.8rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 5.5vw, 3rem);
  font-weight: 600;
  line-height: 1.15;
}

.quick-facts .section-tag {
  color: rgba(255, 255, 255, 0.7);
}

.quick-facts dl {
  display: grid;
  margin: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.35);
}

.quick-facts dl div {
  padding: 1.1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}

.quick-facts dt {
  font-family: var(--serif);
  font-size: clamp(1.9rem, 8vw, 3.7rem);
  font-weight: 600;
  line-height: 1.05;
}

.quick-facts dd {
  margin: 0.45rem 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.78rem;
  line-height: 1.55;
}

.chapter--dark {
  color: var(--white);
  background:
    radial-gradient(circle at 95% 12%, rgba(233, 30, 140, 0.2), transparent 28rem),
    var(--ink);
}

.chapter--dark .chapter__number,
.chapter--dark .chapter__kicker {
  color: var(--pink-light);
}

.prose--light p {
  color: rgba(255, 255, 255, 0.82);
}

.statement {
  position: relative;
  margin: clamp(3rem, 8vw, 5.5rem) 0 0;
  padding: 1.7rem 0 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  border-left: 0.22rem solid var(--pink);
}

.statement::before {
  position: absolute;
  top: -1.35rem;
  left: 1rem;
  color: var(--pink-light);
  content: "“";
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 1;
}

.statement p {
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.5rem, 4.5vw, 2.35rem);
  font-style: italic;
  line-height: 1.43;
}

.statement cite {
  display: block;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.68rem;
  font-style: normal;
  font-weight: 600;
  letter-spacing: 0.08em;
  line-height: 1.6;
  text-transform: uppercase;
}

.pull-quote {
  margin-top: clamp(5rem, 12vw, 9rem);
  margin-bottom: clamp(5rem, 12vw, 9rem);
  padding: clamp(2rem, 7vw, 5rem) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
  border-bottom: 1px solid rgba(255, 255, 255, 0.22);
}

.pull-quote p {
  max-width: 62rem;
  margin: 0;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 5.5vw, 3.7rem);
  font-style: italic;
  line-height: 1.3;
}

.pull-quote p + p {
  margin-top: 2.4rem;
  padding-left: clamp(0rem, 8vw, 7rem);
  color: rgba(255, 255, 255, 0.64);
  font-size: clamp(1.15rem, 3.5vw, 2rem);
}

.story-figure {
  width: var(--reading);
  margin: clamp(3.5rem, 9vw, 7rem) auto;
}

.story-figure--wide {
  width: min(70rem, calc(100vw - 2rem));
}

.story-figure--bleed {
  width: 100%;
  margin-top: clamp(5rem, 11vw, 10rem);
  margin-bottom: 0;
  overflow: hidden;
}

.story-figure > .gallery-trigger {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: #d9d2d5;
  border: 0;
  cursor: zoom-in;
}

.story-figure > .gallery-trigger::after {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.52rem 0.78rem;
  color: var(--white);
  content: "Mở ảnh";
  background: rgba(18, 10, 16, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 99rem;
  font-size: 0.64rem;
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1;
}

.story-figure picture,
.story-figure img {
  width: 100%;
}

.story-figure img {
  height: auto;
  transition: transform 700ms var(--ease), filter 700ms ease;
}

.story-figure > .gallery-trigger:hover img {
  filter: saturate(1.04);
  transform: scale(1.015);
}

.story-figure figcaption {
  max-width: 50rem;
  margin: 0.8rem auto 0;
  padding: 0 0.5rem;
  color: var(--muted);
  font-size: 0.74rem;
  font-style: italic;
  line-height: 1.6;
  text-align: center;
}

.chapter--dark .story-figure figcaption {
  color: rgba(255, 255, 255, 0.58);
}

.story-figure--bleed > .gallery-trigger {
  height: clamp(24rem, 68svh, 50rem);
}

.story-figure--bleed picture,
.story-figure--bleed img {
  height: 100%;
}

.story-figure--bleed img {
  object-fit: cover;
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.08);
  transition: none;
}

.story-figure--bleed > .gallery-trigger:hover img {
  transform: translate3d(0, var(--parallax-offset, 0px), 0) scale(1.09);
}

.story-figure--bleed figcaption {
  width: var(--page);
  max-width: 58rem;
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.chapter--rose {
  background:
    linear-gradient(135deg, rgba(233, 30, 140, 0.08), transparent 28rem),
    var(--blush);
}

.chapter--rose::before {
  position: absolute;
  top: 0;
  right: 0;
  width: min(24rem, 52vw);
  height: 0.42rem;
  content: "";
  background: var(--pink);
}

.prose--dining p:first-child {
  padding: 1.2rem 0 1.2rem 1.2rem;
  border-left: 0.2rem solid var(--pink);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4vw, 2rem);
  line-height: 1.55;
}

.chapter--level {
  padding-bottom: 0;
  background: #f5efea;
}

.price-note {
  display: grid;
  margin-top: clamp(4rem, 9vw, 7rem);
  margin-bottom: clamp(4rem, 9vw, 7rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  gap: 0.7rem;
  color: var(--white);
  background: var(--pink-dark);
}

.price-note .section-tag {
  color: var(--pink-light);
}

.price-note p {
  max-width: 63rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 4.5vw, 2.8rem);
  line-height: 1.42;
}

.price-note a {
  color: var(--white);
}

.closing-question {
  display: grid;
  min-height: min(50rem, 80svh);
  padding: clamp(4rem, 10vw, 8rem) max(1.12rem, calc((100vw - 76rem) / 2));
  place-items: center;
  color: var(--white);
  background:
    linear-gradient(140deg, rgba(96, 0, 52, 0.2), rgba(36, 3, 22, 0.42)),
    var(--pink-deep);
}

.closing-question p {
  max-width: 68rem;
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.7rem, 5.4vw, 4.4rem);
  font-style: italic;
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
}

.story-footer {
  padding: 3rem 0;
  color: rgba(255, 255, 255, 0.62);
  background: var(--ink);
}

.story-footer__inner {
  display: grid;
  gap: 1rem;
}

.story-footer p {
  margin: 0;
  font-size: 0.72rem;
  line-height: 1.6;
}

.wordmark--footer {
  color: var(--white);
  font-size: 1rem !important;
}

.story-footer a {
  min-height: 2.75rem;
  color: var(--white);
  font-size: 0.74rem;
  font-weight: 600;
}

.back-to-top {
  position: fixed;
  right: max(0.8rem, env(safe-area-inset-right));
  bottom: max(0.8rem, env(safe-area-inset-bottom));
  z-index: 45;
  min-width: 3.5rem;
  min-height: 3rem;
  padding: 0.7rem 0.8rem;
  color: var(--white);
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 99rem;
  box-shadow: 0 0.7rem 2rem rgba(0, 0, 0, 0.2);
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 600;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.7rem);
  transition: opacity 180ms ease, transform 180ms ease, background 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--pink-deep);
}

.lightbox {
  width: 100vw;
  max-width: none;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  color: var(--white);
  background: rgba(13, 8, 12, 0.97);
  border: 0;
}

.lightbox::backdrop {
  background: rgba(13, 8, 12, 0.94);
}

.lightbox__panel {
  display: grid;
  min-height: 100%;
  padding: max(0.8rem, env(safe-area-inset-top)) max(0.8rem, env(safe-area-inset-right)) max(0.8rem, env(safe-area-inset-bottom)) max(0.8rem, env(safe-area-inset-left));
  grid-template-rows: auto 1fr auto;
  gap: 0.8rem;
}

.lightbox__bar {
  display: flex;
  min-height: 2.75rem;
  align-items: center;
  justify-content: space-between;
}

.lightbox__count {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
}

.lightbox__close,
.lightbox__nav {
  min-height: 2.75rem;
  padding: 0.65rem 0.9rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 99rem;
  cursor: pointer;
  font-size: 0.68rem;
  font-weight: 600;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: var(--pink-deep);
  border-color: var(--pink-deep);
}

.lightbox__stage {
  position: relative;
  display: grid;
  min-height: 0;
  place-items: center;
}

.lightbox__image {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: calc(100dvh - 10rem);
  object-fit: contain;
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
}

.lightbox__prev {
  left: 0.25rem;
}

.lightbox__next {
  right: 0.25rem;
}

.lightbox__caption {
  width: min(46rem, 100%);
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-style: italic;
  line-height: 1.5;
  text-align: center;
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(2.2rem);
  transition: opacity 700ms var(--ease), transform 850ms var(--ease);
}

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

@media (min-width: 42rem) {
  :root {
    --page: min(76rem, calc(100vw - 4rem));
    --reading: min(45rem, calc(100vw - 5rem));
  }

  .hero__content {
    padding-bottom: 10rem;
  }

  .hero__caption {
    right: max(2rem, calc((100vw - 76rem) / 2));
    left: max(2rem, calc((100vw - 76rem) / 2));
  }

  .quick-facts dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .quick-facts dl div:nth-child(odd) {
    padding-right: 1.5rem;
    border-right: 1px solid rgba(255, 255, 255, 0.25);
  }

  .quick-facts dl div:nth-child(even) {
    padding-left: 1.5rem;
  }

  .price-note {
    grid-template-columns: minmax(8rem, 0.3fr) 1fr;
    align-items: start;
    gap: 2rem;
  }

  .story-footer__inner {
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 2rem;
  }
}

@media (min-width: 62rem) {
  .masthead__edition {
    font-size: 0.68rem;
  }

  .hero__media img {
    object-position: center 52%;
  }

  .hero__content {
    padding-top: 10rem;
    padding-bottom: 9rem;
  }

  h1 {
    max-width: 71rem;
  }

  .hero__deck {
    padding-left: 1.35rem;
  }

  .hero__scroll {
    position: absolute;
    right: max(2rem, calc((100vw - 76rem) / 2));
    bottom: 6.2rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.62rem;
    font-weight: 600;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
  }

  .hero__scroll span {
    width: 1px;
    height: 3rem;
    background: linear-gradient(var(--pink), transparent);
  }

  .chapter-nav__inner {
    width: var(--page);
    margin: 0 auto;
    padding: 0;
    justify-content: space-between;
  }

  .chapter-nav__label {
    padding-right: 1.4rem;
  }

  .chapter-nav a {
    padding-right: 0.6rem;
    padding-left: 0.6rem;
  }

  .chapter-nav a::after {
    right: 0.6rem;
    left: 0.6rem;
  }

  .chapter__head {
    display: grid;
    grid-template-columns: 9rem minmax(0, 1fr);
    align-items: start;
    column-gap: 2rem;
  }

  .chapter__head .chapter__number {
    margin-top: 0.85rem;
  }

  .chapter__head h2,
  .chapter__head .chapter__kicker {
    grid-column: 2;
  }

  .quick-facts {
    display: grid;
    grid-template-columns: minmax(16rem, 0.75fr) 1.25fr;
    align-items: end;
    gap: 3rem;
  }

  .quick-facts__intro h3 {
    margin-bottom: 0;
  }

  .quick-facts dl {
    grid-template-columns: repeat(2, 1fr);
  }

  .story-figure--portrait-feature {
    width: min(65rem, calc(100vw - 6rem));
  }

  .story-figure--pet {
    width: min(62rem, calc(100vw - 6rem));
    margin-right: calc((100vw - min(76rem, calc(100vw - 4rem))) / 2);
  }

  .story-figure--pet figcaption {
    margin-right: 0;
    text-align: right;
  }

  .story-figure > .gallery-trigger::after {
    right: 1rem;
    bottom: 1rem;
    opacity: 0;
    transform: translateY(0.5rem);
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .story-figure > .gallery-trigger:hover::after,
  .story-figure > .gallery-trigger:focus-visible::after {
    opacity: 1;
    transform: translateY(0);
  }

  .lightbox__panel {
    padding-right: 2rem;
    padding-left: 2rem;
  }

  .lightbox__prev {
    left: 1rem;
  }

  .lightbox__next {
    right: 1rem;
  }
}

@media (min-width: 80rem) {
  .hero__content {
    padding-bottom: 8.5rem;
  }

  .hero__deck {
    max-width: 55rem;
  }

  .prose p {
    font-size: 1.18rem;
  }
}

@media (hover: none) {
  .story-figure > .gallery-trigger::after {
    opacity: 1;
  }
}

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

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

  .js [data-reveal],
  .js [data-reveal].is-visible {
    opacity: 1;
    transform: none;
  }

  .story-figure--bleed img,
  .story-figure--bleed > .gallery-trigger:hover img,
  .story-figure > .gallery-trigger:hover img {
    transform: none;
  }
}

@media print {
  .reading-progress,
  .masthead,
  .chapter-nav,
  .hero__view,
  .hero__scroll,
  .back-to-top,
  .lightbox {
    display: none !important;
  }

  .hero {
    min-height: 0;
    color: var(--ink);
    background: var(--white);
  }

  .hero__media,
  .hero__veil {
    display: none;
  }

  .hero__content {
    padding: 2rem 0;
  }

  .hero__deck,
  .story-meta,
  .hero__caption p {
    color: var(--ink);
  }

  .hero__caption {
    position: static;
    width: var(--page);
    margin: 0 auto;
  }

  .chapter,
  .chapter--dark,
  .chapter--rose,
  .chapter--level {
    color: var(--ink);
    background: var(--white);
    break-inside: auto;
  }

  .prose--light p,
  .statement p,
  .pull-quote p,
  .chapter--dark .story-figure figcaption {
    color: var(--ink);
  }

  .story-figure,
  .quick-facts,
  .statement,
  .price-note {
    break-inside: avoid;
  }

  .js [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
