:root {
  --ink: #0d0d0c;
  --ink-soft: #171715;
  --charcoal: #20201d;
  --line: rgba(224, 205, 170, 0.22);
  --line-dark: rgba(21, 20, 17, 0.18);
  --paper: #ebe2d3;
  --paper-soft: #d8ccba;
  --muted: #a89c8b;
  --gold: #c8a66a;
  --gold-bright: #ead6a6;
  --accent: #8797b5;
  --max: 1180px;
  --header-h: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family:
    "Noto Serif SC",
    "Songti SC",
    "SimSun",
    Georgia,
    serif;
  line-height: 1.7;
  letter-spacing: 0;
}

body::selection {
  background: var(--gold);
  color: var(--ink);
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 34px;
  color: var(--paper);
  background: rgba(13, 13, 12, 0.44);
  border-bottom: 1px solid rgba(235, 226, 211, 0.12);
  backdrop-filter: blur(18px);
}

.brand-mark {
  display: inline-flex;
  width: fit-content;
  flex-direction: column;
  line-height: 1.1;
}

.brand-mark span {
  font-size: 1.2rem;
}

.brand-mark small {
  margin-top: 2px;
  font-family: Georgia, serif;
  font-size: 0.66rem;
  color: var(--muted);
}

.site-nav {
  display: flex;
  gap: 34px;
  font-size: 0.92rem;
  color: rgba(235, 226, 211, 0.82);
}

.site-nav a,
.header-action {
  transition: color 180ms ease;
}

.site-nav a:hover,
.header-action:hover {
  color: var(--gold-bright);
}

.header-action {
  justify-self: end;
  padding: 9px 16px;
  border: 1px solid rgba(235, 226, 211, 0.28);
  font-size: 0.88rem;
}

.hero {
  position: relative;
  height: 88svh;
  min-height: 540px;
  overflow: hidden;
  background-image:
    linear-gradient(90deg, rgba(9, 10, 13, 0.88) 0%, rgba(9, 10, 13, 0.64) 36%, rgba(9, 10, 13, 0.12) 100%),
    url("../images/moondrop-lifestyle.jpg");
  background-size: cover;
  background-position: center 56%;
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(13, 13, 12, 0.26), rgba(13, 13, 12, 0.86)),
    repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0 1px, transparent 1px 17vw);
  mix-blend-mode: multiply;
}

.hero__shade {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  background: linear-gradient(180deg, transparent, var(--ink));
}

.hero__content {
  position: relative;
  z-index: 2;
  width: min(560px, calc(100% - 48px));
  padding-top: calc(var(--header-h) + 88px);
  margin-left: max(32px, calc((100vw - var(--max)) / 2));
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--gold);
  font-size: 0.86rem;
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

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

h1,
h2 {
  font-weight: 400;
}

h1 {
  margin-bottom: 22px;
  font-size: 4.1rem;
  line-height: 1.08;
}

h2 {
  font-size: 2.25rem;
  line-height: 1.25;
}

.hero__lead {
  max-width: 520px;
  margin-bottom: 34px;
  color: rgba(235, 226, 211, 0.84);
  font-size: 1.05rem;
}

.hero__actions,
.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 22px;
  border: 1px solid transparent;
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  font-size: 0.94rem;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover {
  transform: translateY(-1px);
}

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

.button--ghost {
  border-color: rgba(235, 226, 211, 0.35);
  color: var(--paper);
}

.button--ghost:hover {
  border-color: var(--gold);
  color: var(--gold-bright);
}

.hero__bottom {
  position: absolute;
  z-index: 2;
  left: max(32px, calc((100vw - var(--max)) / 2));
  right: max(32px, calc((100vw - var(--max)) / 2));
  bottom: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(235, 226, 211, 0.18);
  color: rgba(235, 226, 211, 0.68);
  font-family: Georgia, serif;
  font-size: 0.82rem;
}

.section-pad {
  padding: 112px max(28px, calc((100vw - var(--max)) / 2));
}

.manifest {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 80px;
  background:
    linear-gradient(180deg, #0d0d0c, #151512);
  border-bottom: 1px solid var(--line);
}

.manifest__intro h2 {
  max-width: 470px;
}

.manifest__copy {
  display: grid;
  gap: 24px;
  color: rgba(235, 226, 211, 0.74);
  font-size: 1.02rem;
}

.collection {
  padding: 104px 0 0;
  background: #11110f;
  border-bottom: 1px solid var(--line);
}

.section-heading {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto 46px;
  display: grid;
  grid-template-columns: 0.72fr 1fr;
  gap: 34px;
  align-items: end;
}

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

.section-heading p:last-child {
  max-width: 600px;
  margin-bottom: 0;
  color: rgba(235, 226, 211, 0.68);
}

.collection__visual {
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #171715;
}

.collection__visual img {
  width: 100%;
  max-height: 820px;
  object-fit: cover;
  object-position: center;
}

.collection__rail {
  width: min(var(--max), calc(100% - 56px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-left: 1px solid var(--line);
}

.collection__rail article {
  min-height: 154px;
  padding: 24px 18px;
  border-right: 1px solid var(--line);
  color: rgba(235, 226, 211, 0.76);
}

.collection__rail span,
.collection__rail small,
.ritual-button small,
.note-grid span,
.gift__specs dt,
.site-footer span {
  display: block;
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
}

.collection__rail span {
  color: var(--muted);
  font-size: 0.82rem;
}

.collection__rail strong {
  display: block;
  margin: 10px 0 4px;
  color: var(--paper);
  font-size: 1.55rem;
  font-weight: 400;
}

.collection__rail small {
  color: rgba(235, 226, 211, 0.56);
  font-size: 0.76rem;
}

.ritual {
  background:
    linear-gradient(180deg, #11110f 0%, #171611 100%);
}

.story {
  display: grid;
  grid-template-columns: 180px minmax(280px, 420px) 1fr;
  gap: 34px;
  align-items: stretch;
}

.story__control {
  display: grid;
  gap: 8px;
  align-content: start;
}

.ritual-button {
  width: 100%;
  min-height: 78px;
  display: grid;
  grid-template-columns: 28px 1fr;
  grid-template-rows: 1fr 1fr;
  align-items: center;
  column-gap: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(235, 226, 211, 0.14);
  background: rgba(255, 255, 255, 0.02);
  color: rgba(235, 226, 211, 0.66);
  cursor: pointer;
  text-align: left;
  transition:
    border-color 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

.ritual-button span {
  grid-row: 1 / span 2;
  color: var(--gold);
  font-size: 1.35rem;
  line-height: 1;
}

.ritual-button strong {
  color: inherit;
  font-size: 1rem;
  font-weight: 400;
}

.ritual-button small {
  color: rgba(235, 226, 211, 0.44);
  font-size: 0.7rem;
}

.ritual-button:hover,
.ritual-button.is-active {
  border-color: color-mix(in srgb, var(--accent), var(--gold) 34%);
  background: rgba(255, 255, 255, 0.055);
  color: var(--paper);
}

.story__media {
  margin: 0;
  min-height: 620px;
  overflow: hidden;
  border: 1px solid rgba(235, 226, 211, 0.16);
  background: #0f0f0e;
}

.story__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    opacity 220ms ease,
    transform 420ms ease;
}

.story__media img.is-changing {
  opacity: 0;
  transform: scale(1.02);
}

.story__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 620px;
  padding: 56px 58px;
  border-top: 1px solid rgba(235, 226, 211, 0.16);
  border-bottom: 1px solid rgba(235, 226, 211, 0.16);
}

.story__copy h2 {
  margin-bottom: 22px;
}

.story__copy h2 span {
  display: block;
  margin-top: 8px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 1rem;
  font-weight: 400;
}

.story__copy p:not(.eyebrow) {
  max-width: 660px;
  color: rgba(235, 226, 211, 0.72);
}

.note-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 32px 0 24px;
  background: rgba(235, 226, 211, 0.15);
  border: 1px solid rgba(235, 226, 211, 0.15);
}

.note-grid div {
  min-height: 116px;
  padding: 18px;
  background: #171611;
}

.note-grid span {
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 0.78rem;
}

.note-grid strong {
  color: rgba(235, 226, 211, 0.88);
  font-size: 0.96rem;
  font-weight: 400;
}

.tag-row span {
  padding: 7px 12px;
  border: 1px solid color-mix(in srgb, var(--accent), transparent 48%);
  color: color-mix(in srgb, var(--accent), var(--paper) 30%);
  font-family:
    "Noto Sans SC",
    "Microsoft YaHei",
    Arial,
    sans-serif;
  font-size: 0.82rem;
}

.sensory {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(280px, 0.78fr) minmax(0, 0.86fr);
  align-items: stretch;
  background: var(--paper);
  color: var(--ink);
}

.sensory figure {
  margin: 0;
  min-height: 520px;
  overflow: hidden;
}

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

.sensory figure:first-child img {
  object-position: center;
}

.sensory figure:last-child img {
  object-position: 44% center;
}

.sensory > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 58px 44px;
  border-left: 1px solid var(--line-dark);
  border-right: 1px solid var(--line-dark);
}

.sensory .eyebrow {
  color: #93733f;
}

.sensory p:not(.eyebrow) {
  color: rgba(13, 13, 12, 0.68);
}

.gift {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 54px;
  align-items: center;
  background:
    linear-gradient(180deg, #11110f, #0d0d0c);
  border-top: 1px solid rgba(235, 226, 211, 0.2);
}

.gift__copy p:not(.eyebrow) {
  max-width: 560px;
  color: rgba(235, 226, 211, 0.7);
}

.gift__specs {
  margin: 36px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.gift__specs div {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(235, 226, 211, 0.1);
}

.gift__specs div:last-child {
  border-bottom: 0;
}

.gift__specs dt {
  color: var(--gold);
  font-size: 0.82rem;
}

.gift__specs dd {
  margin: 0;
  color: rgba(235, 226, 211, 0.86);
}

.gift__visual {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(235, 226, 211, 0.16);
  background: #121210;
}

.gift__visual img {
  width: 100%;
  height: min(820px, 74vh);
  object-fit: cover;
  object-position: center 24%;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px max(28px, calc((100vw - var(--max)) / 2));
  border-top: 1px solid var(--line);
  color: rgba(235, 226, 211, 0.62);
  background: #0b0b0a;
}

.site-footer strong {
  display: block;
  color: var(--paper);
  font-weight: 400;
}

.site-footer span,
.site-footer p {
  margin: 0;
  font-size: 0.82rem;
}

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

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

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: 1fr auto;
  }

  .site-nav {
    display: none;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .manifest,
  .section-heading,
  .story,
  .gift {
    grid-template-columns: 1fr;
  }

  .section-heading {
    align-items: start;
  }

  .collection__rail {
    overflow-x: auto;
    grid-template-columns: repeat(7, minmax(150px, 1fr));
  }

  .story__control {
    grid-template-columns: repeat(7, minmax(126px, 1fr));
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .ritual-button {
    min-height: 72px;
  }

  .story__media,
  .story__copy {
    min-height: auto;
  }

  .story__media {
    aspect-ratio: 4 / 5;
  }

  .story__copy {
    padding: 42px 0 0;
    border-bottom: 0;
  }

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

  .sensory figure {
    min-height: 420px;
  }

  .sensory > div {
    border: 0;
  }

  .gift__visual {
    order: -1;
  }

  .gift__visual img {
    height: auto;
    max-height: none;
  }
}

@media (max-width: 640px) {
  :root {
    --header-h: 66px;
  }

  .site-header {
    padding: 0 18px;
  }

  .header-action {
    padding: 8px 12px;
    font-size: 0.78rem;
  }

  .hero {
    min-height: 560px;
    background-position: 57% center;
  }

  .hero__content {
    width: calc(100% - 38px);
    padding-top: calc(var(--header-h) + 54px);
    margin-left: 19px;
  }

  h1 {
    font-size: 2.38rem;
  }

  .hero__lead {
    font-size: 0.98rem;
  }

  .hero__bottom {
    left: 19px;
    right: 19px;
    grid-template-columns: 1fr;
    gap: 4px;
    bottom: 18px;
    font-size: 0.72rem;
  }

  .section-pad,
  .collection {
    padding-top: 72px;
  }

  .section-pad {
    padding-bottom: 72px;
  }

  .manifest {
    gap: 26px;
  }

  .section-heading {
    width: calc(100% - 38px);
    gap: 16px;
    margin-bottom: 30px;
  }

  .collection__visual img {
    min-height: 360px;
  }

  .collection__rail {
    width: calc(100% - 38px);
  }

  .collection__rail article {
    min-height: 132px;
    padding: 20px 14px;
  }

  .story {
    gap: 22px;
  }

  .story__control {
    margin-inline: -9px;
    padding-inline: 9px;
  }

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

  .sensory figure {
    min-height: 360px;
  }

  .sensory > div {
    padding: 46px 24px;
  }

  .gift {
    gap: 34px;
  }

  .gift__specs div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer {
    flex-direction: column;
    padding: 28px 19px;
  }
}

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

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