:root {
  --paper: #f6efe7;
  --paper-deep: #e8dccf;
  --ink: #211b26;
  --ink-soft: #625666;
  --plum: #6c3d63;
  --blush: #e8a6b7;
  --rose: #b9677d;
  --jade: #a5b9b0;
  --gold: #b28a56;
  --night: #24202d;
  --hairline: rgba(33, 27, 38, 0.16);
  --pointer-x: 0px;
  --pointer-y: 0px;
  --hero-x: 0px;
  --hero-y: 0px;
  font-family: "Noto Serif SC", "Songti SC", STSong, "SimSun", serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--paper);
}

body::selection {
  color: var(--paper);
  background: var(--plum);
}

a,
button {
  color: inherit;
}

button {
  font: inherit;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--rose);
  outline-offset: 4px;
}

.section-wrap,
.site-header {
  width: min(1280px, calc(100% - 80px));
  margin: 0 auto;
}

.cursor {
  position: fixed;
  z-index: 20;
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-100px, -100px, 0);
  transition: opacity 180ms ease;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
  border-radius: 50%;
  background: var(--paper);
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 42px;
  height: 42px;
  margin: -21px 0 0 -21px;
  border: 1px solid rgba(246, 239, 231, 0.9);
  border-radius: 50%;
  mix-blend-mode: difference;
  transition: width 220ms cubic-bezier(0.2, 0.8, 0.2, 1), height 220ms cubic-bezier(0.2, 0.8, 0.2, 1), margin 220ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 220ms ease;
}

body.cursor-ready .cursor {
  opacity: 1;
}

body.cursor-hover .cursor-ring {
  width: 62px;
  height: 62px;
  margin: -31px 0 0 -31px;
  border-color: var(--blush);
}

.scroll-progress {
  position: fixed;
  z-index: 15;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  background: var(--rose);
}

.site-header {
  position: absolute;
  z-index: 10;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 96px;
  gap: 24px;
  color: var(--paper);
}

.brand,
.site-nav,
.header-cta,
.hero-actions,
.hero-notes,
.story-signature,
.site-footer,
.lightbox-caption {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  text-decoration: none;
}

.brand-seal {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(246, 239, 231, 0.55);
  border-radius: 50%;
  color: var(--paper);
  font-size: 1.05rem;
  line-height: 1;
  transform: rotate(-8deg);
}

.brand-copy strong,
.brand-copy small {
  display: block;
}

.brand-copy strong {
  font-size: 1rem;
  font-weight: 600;
}

.brand-copy small {
  margin-top: 4px;
  color: rgba(246, 239, 231, 0.7);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.58rem;
  letter-spacing: 0.15em;
}

.site-nav {
  gap: 32px;
  margin-left: auto;
  margin-right: 18px;
}

.site-nav a,
.header-cta,
.text-link,
.site-footer a {
  position: relative;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  text-decoration: none;
}

.site-nav a::after,
.text-link::after,
.site-footer a::after {
  position: absolute;
  right: 0;
  bottom: -7px;
  left: 0;
  height: 1px;
  transform: scaleX(0);
  transform-origin: right center;
  background: currentColor;
  content: "";
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.site-nav a:hover::after,
.text-link:hover::after,
.site-footer a:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.header-cta {
  gap: 12px;
  color: var(--paper);
  white-space: nowrap;
}

.header-cta span,
.button span,
.text-link span {
  display: inline-block;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.header-cta:hover span,
.button:hover span,
.text-link:hover span {
  transform: translate(4px, -4px);
}

.menu-toggle {
  display: none;
  align-items: center;
  gap: 9px;
  border: 0;
  padding: 8px 0;
  color: var(--paper);
  background: transparent;
  cursor: pointer;
}

.menu-lines {
  display: grid;
  gap: 5px;
}

.menu-lines i {
  display: block;
  width: 20px;
  height: 1px;
  background: currentColor;
  transition: transform 250ms ease;
}

.hero {
  position: relative;
  min-height: 860px;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.hero-media,
.hero-media::after,
.hero-scene,
.hero-wash,
.hero-vignette {
  position: absolute;
  inset: 0;
}

.hero-media {
  overflow: hidden;
}

.hero-media::after {
  z-index: 2;
  border-bottom: 1px solid rgba(246, 239, 231, 0.25);
  content: "";
}

.hero-scene {
  width: calc(100% + 52px);
  height: calc(100% + 52px);
  object-fit: cover;
  object-position: center center;
  transform: translate3d(var(--hero-x), var(--hero-y), 0) scale(1.04);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-wash {
  z-index: 1;
  background: rgba(31, 22, 36, 0.3);
}

.hero-vignette {
  z-index: 3;
  background: rgba(28, 19, 31, 0.17);
}

.hero-brush {
  position: absolute;
  z-index: 4;
  width: 190px;
  height: 15px;
  border-top: 1px solid rgba(246, 239, 231, 0.6);
  border-radius: 50%;
  opacity: 0.75;
}

.hero-brush-one {
  top: 31%;
  right: 8%;
  transform: rotate(-12deg);
}

.hero-brush-two {
  right: 15%;
  bottom: 25%;
  width: 120px;
  transform: rotate(16deg);
}

.hero-content {
  position: relative;
  z-index: 5;
  width: min(670px, calc(100% - 80px));
  padding-top: 210px;
  margin-left: max(40px, calc((100% - 1280px) / 2));
}

.eyebrow {
  margin: 0 0 24px;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--blush);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 500;
  letter-spacing: 0;
}

h1 {
  max-width: 650px;
  margin-bottom: 28px;
  font-size: 78px;
  line-height: 1.05;
}

h2 {
  margin-bottom: 28px;
  font-size: 56px;
  line-height: 1.12;
}

h3 {
  font-size: 1.4rem;
  line-height: 1.35;
}

em {
  color: var(--blush);
  font-style: normal;
}

.hero-intro {
  max-width: 450px;
  margin-bottom: 34px;
  color: rgba(246, 239, 231, 0.88);
  font-size: 1.02rem;
  line-height: 1.9;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 48px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  gap: 18px;
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 0 24px;
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), background 300ms ease, color 300ms ease;
}

.button-dark {
  color: var(--paper);
  background: var(--plum);
}

.button-dark:hover {
  color: var(--ink);
  background: var(--blush);
}

.button-light {
  color: var(--ink);
  background: var(--paper);
}

.button-light:hover {
  color: var(--paper);
  background: var(--plum);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: inherit;
}

.hero-notes {
  flex-wrap: wrap;
  gap: 10px 22px;
  color: rgba(246, 239, 231, 0.75);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.7rem;
}

.hero-notes span::before {
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--blush);
  content: "";
  vertical-align: middle;
}

.hero-product {
  position: absolute;
  z-index: 6;
  right: max(40px, calc((100% - 1280px) / 2));
  bottom: 78px;
  width: min(320px, 25vw);
  margin: 0;
  transform: translate3d(var(--pointer-x), var(--pointer-y), 0) rotate(3deg);
  transition: transform 700ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-frame {
  position: relative;
  padding: 12px;
  background: rgba(246, 239, 231, 0.92);
  box-shadow: 18px 22px 48px rgba(19, 13, 24, 0.28);
}

.product-frame img {
  width: 100%;
  aspect-ratio: 1.08;
  object-fit: cover;
}

.frame-mark {
  position: absolute;
  right: 20px;
  bottom: 19px;
  color: var(--plum);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.hero-product figcaption {
  display: flex;
  justify-content: space-between;
  padding-top: 12px;
  color: rgba(246, 239, 231, 0.85);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  gap: 12px;
}

.scroll-cue {
  position: absolute;
  z-index: 6;
  bottom: 38px;
  left: max(40px, calc((100% - 1280px) / 2));
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(246, 239, 231, 0.78);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  text-decoration: none;
}

.scroll-line {
  display: block;
  width: 54px;
  height: 1px;
  background: currentColor;
  transition: width 250ms ease;
}

.scroll-cue:hover .scroll-line {
  width: 84px;
}

.hero-side-note {
  position: absolute;
  z-index: 6;
  top: 50%;
  right: 30px;
  color: rgba(246, 239, 231, 0.75);
  font-size: 0.72rem;
  letter-spacing: 0.35em;
  writing-mode: vertical-rl;
}

.poem-strip {
  overflow: hidden;
  color: var(--paper);
  background: var(--plum);
}

.poem-track {
  display: flex;
  align-items: center;
  width: max-content;
  min-height: 76px;
  gap: 28px;
  padding-right: 28px;
  animation: poem-drift 28s linear infinite;
  font-size: 0.9rem;
  white-space: nowrap;
}

.poem-track i {
  color: var(--blush);
  font-size: 0.7rem;
  font-style: normal;
}

@keyframes poem-drift {
  to {
    transform: translateX(-50%);
  }
}

.story,
.details,
.gallery-section {
  position: relative;
  padding-top: 150px;
  padding-bottom: 150px;
}

.section-rail {
  position: absolute;
  top: 152px;
  left: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--rose);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  writing-mode: vertical-rl;
}

.rail-line {
  width: 1px;
  height: 86px;
  background: var(--rose);
}

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 120px;
  padding-left: 78px;
}

.story-visual {
  position: relative;
  min-height: 650px;
  transform: translateY(var(--parallax-y, 0px));
  transition: transform 400ms ease-out;
}

.story-visual::before {
  position: absolute;
  z-index: -1;
  top: 45px;
  left: -28px;
  width: 100%;
  height: 100%;
  border: 1px solid var(--rose);
  content: "";
  transform: rotate(-4deg);
}

.story-visual img {
  width: 100%;
  height: 650px;
  object-fit: cover;
}

.image-caption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--paper);
  background: rgba(33, 27, 38, 0.68);
  font-size: 0.72rem;
}

.image-seal,
.closing-seal {
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  border: 1px solid var(--rose);
  border-radius: 50%;
  color: var(--rose);
  font-size: 1.3rem;
  transform: rotate(-12deg);
}

.image-seal {
  position: absolute;
  top: -22px;
  right: -22px;
  background: var(--paper);
}

.story-copy {
  max-width: 520px;
}

.story-copy h2,
.details h2,
.chapter-heading h2,
.gallery-intro h2,
.closing h2 {
  color: var(--ink);
}

.story-copy em,
.details em,
.chapter-heading em,
.gallery-intro em,
.closing em {
  color: var(--rose);
}

.story-lead {
  margin-bottom: 24px;
  color: var(--ink);
  font-size: 1.17rem;
  line-height: 1.9;
}

.story-body {
  max-width: 430px;
  margin-bottom: 42px;
  color: var(--ink-soft);
  font-size: 0.92rem;
  line-height: 2;
}

.story-signature {
  justify-content: space-between;
  max-width: 430px;
  padding-top: 14px;
  border-top: 1px solid var(--hairline);
  color: var(--rose);
  font-size: 0.7rem;
  gap: 16px;
}

.story-signature span:last-child {
  color: var(--ink-soft);
}

.section-heading,
.gallery-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
  margin-bottom: 56px;
}

.section-heading h2,
.gallery-intro h2 {
  margin-bottom: 0;
}

.heading-note,
.gallery-intro > p {
  max-width: 300px;
  margin-bottom: 5px;
  color: var(--ink-soft);
  font-size: 0.85rem;
  line-height: 1.8;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 12px;
}

.feature-card {
  position: relative;
  min-height: 350px;
  overflow: hidden;
  padding: 28px;
  border: 1px solid rgba(33, 27, 38, 0.08);
  background: var(--paper-deep);
  transition: transform 500ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 500ms ease;
}

.feature-card:hover {
  box-shadow: 18px 22px 40px rgba(84, 54, 77, 0.14);
}

.feature-card-main {
  color: var(--paper);
  background: var(--night);
}

.feature-card-paper {
  background: #dfe7df;
}

.feature-card-blush {
  background: #ecc4ca;
}

.feature-number {
  display: block;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.15em;
}

.feature-symbol {
  margin: 42px 0 44px;
  color: var(--rose);
  font-size: 2.9rem;
  line-height: 1;
}

.feature-card-main .feature-symbol {
  color: var(--blush);
}

.feature-card h3 {
  margin-bottom: 12px;
}

.feature-card p {
  max-width: 290px;
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 0.87rem;
  line-height: 1.85;
}

.feature-card-main p {
  color: rgba(246, 239, 231, 0.76);
}

.feature-line {
  position: absolute;
  right: 28px;
  bottom: 31px;
  left: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.32;
}

.chapters {
  padding: 150px 0 168px;
  color: var(--paper);
  background: var(--night);
}

.chapters h2 {
  color: var(--paper);
}

.chapters .eyebrow {
  color: var(--blush);
}

.chapters .heading-note {
  color: rgba(246, 239, 231, 0.7);
}

.chapter-controls {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-bottom: 22px;
  border-top: 1px solid rgba(246, 239, 231, 0.2);
  border-bottom: 1px solid rgba(246, 239, 231, 0.2);
}

.chapter-tab {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  min-height: 72px;
  border: 0;
  border-right: 1px solid rgba(246, 239, 231, 0.2);
  padding: 0 18px;
  color: rgba(246, 239, 231, 0.55);
  background: transparent;
  cursor: pointer;
  gap: 10px;
  transition: color 250ms ease, background 250ms ease;
}

.chapter-tab:first-child {
  padding-left: 0;
}

.chapter-tab:last-child {
  border-right: 0;
}

.chapter-tab span {
  font-size: 1.1rem;
}

.chapter-tab small {
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.66rem;
}

.chapter-tab:hover,
.chapter-tab.is-active {
  color: var(--paper);
}

.chapter-tab.is-active {
  background: rgba(232, 166, 183, 0.11);
}

.chapter-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.chapter-visuals {
  position: relative;
  min-height: 640px;
}

.chapter-panel {
  position: relative;
  height: 640px;
  margin: 0;
  overflow: hidden;
}

.chapter-panel[hidden] {
  display: none;
}

.chapter-panel.is-active {
  animation: panel-in 800ms cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes panel-in {
  from {
    opacity: 0;
    transform: scale(1.04) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.chapter-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-panel figcaption {
  position: absolute;
  right: 20px;
  bottom: 18px;
  padding: 9px 13px;
  color: var(--paper);
  background: rgba(36, 32, 45, 0.72);
  font-size: 0.75rem;
}

.chapter-copy {
  position: relative;
  padding: 18px 0 26px;
}

.chapter-counter {
  display: block;
  margin-bottom: 60px;
  color: var(--gold);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.67rem;
  letter-spacing: 0.15em;
}

.chapter-copy .eyebrow {
  margin-bottom: 22px;
}

.chapter-copy h3 {
  max-width: 390px;
  margin-bottom: 24px;
  color: var(--paper);
  font-size: 2.2rem;
  line-height: 1.35;
}

.chapter-copy p:not(.eyebrow) {
  max-width: 390px;
  margin-bottom: 36px;
  color: rgba(246, 239, 231, 0.72);
  font-size: 0.94rem;
  line-height: 2;
}

.chapter-copy .text-link {
  color: var(--blush);
}

.chapter-rule {
  width: 100%;
  height: 1px;
  margin-top: 50px;
  background: rgba(246, 239, 231, 0.24);
}

.gallery-section {
  padding-bottom: 176px;
}

.gallery-grid {
  display: grid;
  grid-auto-flow: dense;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.gallery-tile {
  position: relative;
  display: block;
  min-width: 0;
  overflow: hidden;
  border: 0;
  padding: 0;
  background: var(--paper-deep);
  cursor: pointer;
  isolation: isolate;
}

.gallery-tile:nth-child(7n + 1),
.gallery-tile:nth-child(7n + 4) {
  grid-column: span 2;
}

.gallery-tile:nth-child(7n + 1) img,
.gallery-tile:nth-child(7n + 4) img {
  aspect-ratio: 1.7;
}

.gallery-tile img {
  width: 100%;
  aspect-ratio: 1.05;
  object-fit: cover;
  filter: saturate(0.92);
  transform: scale(1.01);
  transition: transform 800ms cubic-bezier(0.16, 1, 0.3, 1), filter 500ms ease;
}

.gallery-tile::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(33, 27, 38, 0.04);
  content: "";
  transition: background 450ms ease;
}

.gallery-tile:hover img {
  filter: saturate(1.12);
  transform: scale(1.08);
}

.gallery-tile:hover::after {
  background: rgba(33, 27, 38, 0.18);
}

.gallery-tile span {
  position: absolute;
  z-index: 2;
  right: 12px;
  bottom: 10px;
  color: var(--paper);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.closing {
  position: relative;
  min-height: 590px;
  overflow: hidden;
  color: var(--paper);
  background: var(--night);
}

.closing-backdrop,
.closing-backdrop::after {
  position: absolute;
  inset: 0;
}

.closing-backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 42%;
  opacity: 0.45;
}

.closing-backdrop::after {
  background: rgba(32, 24, 35, 0.56);
  content: "";
}

.closing-copy {
  position: relative;
  z-index: 2;
  width: min(620px, 100%);
  padding: 120px 0;
}

.closing h2 {
  margin-bottom: 22px;
  color: var(--paper);
}

.closing h2 em {
  color: var(--blush);
}

.closing-copy > p:not(.eyebrow) {
  max-width: 380px;
  margin-bottom: 34px;
  color: rgba(246, 239, 231, 0.78);
  line-height: 1.9;
}

.closing-seal {
  position: absolute;
  z-index: 2;
  right: 12%;
  bottom: 80px;
  width: 116px;
  height: 116px;
  border-color: var(--blush);
  color: var(--blush);
  font-size: 1.6rem;
}

.site-footer {
  justify-content: space-between;
  min-height: 110px;
  color: var(--ink-soft);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  gap: 20px;
}

.lightbox {
  width: min(900px, calc(100% - 28px));
  max-width: none;
  border: 0;
  padding: 0;
  color: var(--paper);
  background: var(--night);
}

.lightbox::backdrop {
  background: rgba(23, 17, 26, 0.82);
  backdrop-filter: blur(10px);
}

.lightbox-shell {
  position: relative;
  padding: 18px;
}

.lightbox-shell img {
  width: 100%;
  max-height: 78vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  z-index: 2;
  top: 26px;
  right: 26px;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(246, 239, 231, 0.7);
  border-radius: 50%;
  color: var(--paper);
  background: rgba(36, 32, 45, 0.6);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-caption {
  justify-content: space-between;
  padding-top: 14px;
  color: rgba(246, 239, 231, 0.72);
  font-family: ui-sans-serif, system-ui, sans-serif;
  font-size: 0.68rem;
  gap: 20px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 800ms ease, transform 900ms cubic-bezier(0.16, 1, 0.3, 1);
}

html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

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

@media (max-width: 960px) {
  .section-wrap,
  .site-header {
    width: min(100% - 48px, 720px);
  }

  .hero-content {
    margin-left: 24px;
  }

  .hero-product {
    right: 30px;
    width: 245px;
  }

  .story-grid {
    grid-template-columns: 1fr;
    gap: 72px;
    padding-left: 48px;
  }

  .story-copy {
    max-width: 620px;
  }

  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }

  .feature-card-main {
    grid-column: span 2;
  }

  .chapter-stage {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .chapter-copy {
    max-width: 600px;
  }

  .chapter-counter {
    margin-bottom: 28px;
  }
}

@media (max-width: 680px) {
  .section-wrap,
  .site-header {
    width: min(100% - 32px, 560px);
  }

  .site-header {
    min-height: 76px;
  }

  .site-nav,
  .header-cta {
    display: none;
  }

  .site-nav.is-open {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    border: 1px solid rgba(246, 239, 231, 0.24);
    padding: 8px;
    background: rgba(36, 32, 45, 0.94);
    backdrop-filter: blur(14px);
  }

  .site-nav.is-open a {
    padding: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero {
    min-height: 820px;
  }

  .hero-scene {
    object-position: 44% center;
  }

  .hero-content {
    width: calc(100% - 32px);
    padding-top: 160px;
    margin-left: 16px;
  }

  h1 {
    font-size: 48px;
  }

  h2 {
    font-size: 40px;
  }

  .hero-intro {
    max-width: 335px;
    font-size: 0.92rem;
  }

  .hero-product {
    right: 18px;
    bottom: 74px;
    width: 190px;
  }

  .hero-product figcaption {
    display: none;
  }

  .scroll-cue {
    bottom: 26px;
    left: 16px;
  }

  .hero-side-note {
    display: none;
  }

  .story,
  .details,
  .gallery-section {
    padding-top: 96px;
    padding-bottom: 96px;
  }

  .section-rail {
    position: static;
    flex-direction: row;
    margin-bottom: 40px;
    writing-mode: horizontal-tb;
  }

  .rail-line {
    width: 54px;
    height: 1px;
  }

  .story-grid {
    gap: 54px;
    padding-left: 0;
  }

  .story-visual,
  .story-visual img {
    min-height: 480px;
    height: 480px;
  }

  .story-visual::before {
    top: 24px;
    left: -12px;
  }

  .image-seal {
    top: -12px;
    right: -8px;
  }

  .section-heading,
  .gallery-intro {
    align-items: flex-start;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 38px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .feature-card-main {
    grid-column: auto;
  }

  .feature-card {
    min-height: 290px;
  }

  .chapters {
    padding: 96px 0 112px;
  }

  .chapter-controls {
    grid-template-columns: 1fr 1fr;
  }

  .chapter-tab,
  .chapter-tab:first-child {
    min-height: 62px;
    padding: 0 12px;
  }

  .chapter-tab:nth-child(2) {
    border-right: 0;
  }

  .chapter-tab:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(246, 239, 231, 0.2);
  }

  .chapter-visuals,
  .chapter-panel {
    min-height: 430px;
    height: 430px;
  }

  .chapter-copy h3 {
    font-size: 1.85rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .gallery-tile:nth-child(7n + 1),
  .gallery-tile:nth-child(7n + 4) {
    grid-column: span 2;
  }

  .closing {
    min-height: 560px;
  }

  .closing-copy {
    padding: 96px 0;
  }

  .closing-seal {
    right: 14px;
    bottom: 34px;
    width: 88px;
    height: 88px;
    font-size: 1.15rem;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    justify-content: center;
    min-height: 150px;
  }
}

@media (hover: none), (pointer: coarse) {
  .cursor {
    display: none;
  }
}

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

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

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