:root {
  --paper: #1c1720;
  --ink: #e8dfd1;
  --accent: #c9a3b7;
  --line: #483946;
  --display: Editorial, Georgia, serif;
  --error: #f9b2bf;
}
body {
  background: var(--paper);
  color: var(--ink);
  background-image:
    radial-gradient(ellipse at 85% 7%, #58344855, transparent 25%),
    radial-gradient(ellipse at 10% 70%, #4d334044, transparent 30%);
}
.demo-bar {
  color: #bba7b6;
  border-color: #493745;
  background: #17131b;
}
.nav {
  height: 110px;
  border-bottom: 1px solid var(--line);
}
.moon-logo {
  display: flex;
  gap: 12px;
  align-items: center;
}
.moon-logo > span:not(.logo-moon) {
  font-family: Editorial, Georgia, serif;
  font-size: 36px;
  letter-spacing: -0.04em;
  line-height: 0.85;
}
.logo-moon {
  font-family: Georgia, serif;
  font-size: 48px;
  line-height: 1;
  transform: rotate(-20deg);
  color: #cfafbc;
}
.moon-logo small {
  font-family: Manrope, Arial, sans-serif;
  display: block;
  font-size: 5px;
  letter-spacing: 0.22em;
  margin-top: 12px;
}
.nav-links {
  font-size: 10px;
  color: #c0adb9;
}
.nav-actions {
  color: #d7c2cd;
}
.moon-hero {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 70px;
  padding: 65px 0 95px;
  min-height: 760px;
}
.moon-hero-copy {
  position: relative;
  z-index: 1;
}
.moon-hero-copy .eyebrow {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: #bda6b8;
}
.moon-glyph {
  position: absolute;
  top: 40px;
  right: 12%;
  font-size: 44px;
  color: #bd94aa;
  animation: glimmer 6s ease-in-out infinite;
}
.moon-hero h1 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: clamp(55px, 5.4vw, 85px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 40px 0 28px;
}
.moon-hero h1 em {
  font-weight: 400;
  color: #d6aec2;
}
.moon-hero-copy > p {
  font-size: 11px;
  line-height: 2;
  color: #b5a7b4;
  margin-bottom: 35px;
}
.moon-hero-actions {
  display: flex;
  gap: 25px;
  align-items: center;
}
.primary {
  background: #d2b5c3;
  color: #2b1f2a;
  border: 1px solid #d2b5c3;
  border-radius: 2px;
  font-size: 11px;
}
.diary-link {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  background: transparent;
  padding: 10px 0;
  border-bottom: 1px solid #775969;
  font-size: 10px;
  color: #dbc2cf;
}
.diary-link > span {
  font-size: 24px;
}
.hand-note {
  font-family: Editorial, Georgia, serif;
  font-style: italic;
  font-size: 20px;
  color: #b394a7;
  display: block;
  margin-top: 45px;
  transform: rotate(-3deg);
}
.moon-portal {
  position: relative;
  height: 580px;
  --pointer-x: 0px;
  --pointer-y: 0px;
}
.moon-portal > img {
  width: 100%;
  height: 100%;
  border-radius: 48% 48% 3px 3px;
  object-position: 56% 50%;
  filter: saturate(0.7);
  transform: translate(var(--pointer-x), var(--pointer-y));
  transition: transform 0.7s ease-out;
}
.portal-outline {
  position: absolute;
  inset: -15px;
  border: 1px solid #94738a88;
  border-radius: 49% 49% 0 0;
  pointer-events: none;
  transform: rotate(3deg);
}
.portal-outline:after {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid #94738a44;
  border-radius: 49% 49% 0 0;
}
.portal-star {
  font-size: 70px;
  position: absolute;
  top: 13%;
  left: -35px;
  color: #d9b8c8;
  text-shadow: 0 0 40px #cb9ebd55;
  animation: glimmer 7s ease-in-out infinite;
}
.portal-caption {
  position: absolute;
  bottom: -42px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 7px;
  letter-spacing: 0.21em;
  color: #ac91a3;
}
.portal-roman {
  position: absolute;
  bottom: 27px;
  right: 22px;
  font-family: Editorial, Georgia, serif;
  font-size: 22px;
  color: #f0e4d7;
}
.fireflies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 48% 48% 0 0;
  pointer-events: none;
}
.fireflies i {
  position: absolute;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #e8cba4;
  box-shadow: 0 0 12px #e8cba4;
  left: 20%;
  top: 60%;
  animation: firefly 9s ease-in-out infinite;
  animation-play-state: paused;
}
.moon-portal.in-view .fireflies i {
  animation-play-state: running;
}
.fireflies i:nth-child(2) {
  left: 70%;
  top: 30%;
  animation-delay: -2s;
}
.fireflies i:nth-child(3) {
  left: 40%;
  top: 20%;
  animation-delay: -5s;
}
.fireflies i:nth-child(4) {
  left: 80%;
  top: 75%;
  animation-delay: -3s;
}
.fireflies i:nth-child(5) {
  left: 55%;
  top: 50%;
  animation-delay: -7s;
}
.fireflies i:nth-child(6) {
  left: 15%;
  top: 20%;
  animation-delay: -1s;
}
.moon-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 35px;
  border-block: 1px solid var(--line);
  padding: 20px 5%;
  background: #241d27;
}
.moon-divider p {
  font-family: Editorial, Georgia, serif;
  font-size: 22px;
  font-style: italic;
  margin: 0;
  color: #bca9b4;
}
.moon-divider > span {
  font-size: 23px;
  color: #bd99ac;
}
.section-heading h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: clamp(40px, 4.3vw, 65px);
  letter-spacing: -0.035em;
}
.section-heading h2 em {
  color: #cda6bb;
}
.section-heading .eyebrow {
  font-size: 8px;
  color: #b39cac;
}
.section-heading p {
  font-size: 11px;
  color: #a99baa;
  max-width: 290px;
}
.filter {
  font-size: 9px;
  border-color: #51404e;
  color: #bca8b7;
}
.filter.active {
  background: #cab0be;
  color: #271e2a;
  border-color: #cab0be;
}
.product-grid {
  row-gap: 30px;
}
.product-visual {
  background: #322633;
}
.product-visual img {
  height: 340px;
  filter: saturate(0.55) brightness(0.85);
}
.product-card:nth-child(2n) .product-visual {
  border-radius: 42% 42% 0 0;
}
.product-tag {
  background: #d5bec9;
  color: #302330;
  font-size: 8px;
}
.favorite {
  background: #29212ed9;
  color: #d5bec9;
}
.product-meta h3 {
  font-family: Editorial, Georgia, serif;
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
}
.product-meta strong {
  font-size: 10px;
  font-weight: 500;
  color: #c3b1bd;
  margin-top: 3px;
}
.product-meta p {
  font-size: 8px;
  color: #b29eae;
}
.collection-note {
  font-size: 8px;
  line-height: 1.8;
  color: #978492;
  margin-top: 30px;
}
.moon-manifesto {
  position: relative;
  overflow: hidden;
  text-align: center;
  background: #2b202e;
  border-block: 1px solid var(--line);
  padding: 100px 0;
}
.manifesto-text {
  position: relative;
  z-index: 1;
}
.manifesto-text .eyebrow {
  font-size: 8px;
  color: #b99eb0;
}
.manifesto-text h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: clamp(38px, 4.8vw, 72px);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin: 30px 0;
}
.manifesto-text h2 em {
  color: #cba5bb;
}
.manifesto-text p {
  font-size: 11px;
  line-height: 2;
  color: #af9bac;
}
.manifesto-text .hand-note {
  font-size: 21px;
  margin-top: 30px;
}
.manifesto-orbit {
  position: absolute;
  font-size: 390px;
  line-height: 1;
  left: 0;
  top: 10%;
  color: #4c334b66;
  transform: rotate(-25deg);
  font-family: Georgia, serif;
}
.journal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 35px;
}
.journal-card > button {
  display: block;
  background: transparent;
  text-align: left;
  padding: 0;
  width: 100%;
}
.journal-image {
  position: relative;
  overflow: hidden;
}
.journal-image > img {
  width: 100%;
  height: 310px;
  filter: saturate(0.45) brightness(0.85);
  transition: transform 0.8s;
}
.journal-card:hover img {
  transform: scale(1.04);
}
.journal-image > span {
  position: absolute;
  bottom: 15px;
  left: 18px;
  font-size: 9px;
  letter-spacing: 0.15em;
  background: #271d29bc;
  padding: 8px 12px;
}
.journal-date {
  display: block;
  font-size: 8px;
  color: #9f8e9c;
  letter-spacing: 0.09em;
  margin: 22px 0 13px;
}
.journal-card h3 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: 33px;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}
.journal-card p {
  font-size: 10px;
  line-height: 1.9;
  color: #a393a1;
  max-width: 290px;
}
.journal-card .diary-link {
  font-size: 9px;
}
.cabinet-section {
  padding: 100px 0;
  background: #221b27;
  border-block: 1px solid var(--line);
}
.cabinet-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13%;
}
.cabinet-heading .eyebrow {
  font-size: 8px;
  color: #b89db0;
}
.cabinet-heading h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: clamp(56px, 5.7vw, 85px);
  line-height: 0.98;
  letter-spacing: -0.04em;
  margin: 30px 0;
}
.cabinet-heading h2 em {
  color: #c9a5bb;
}
.cabinet-heading > p {
  font-size: 11px;
  line-height: 1.9;
  color: #a593a5;
  max-width: 300px;
}
.cabinet-tabs {
  display: flex;
  flex-direction: column;
  margin-top: 35px;
}
.cabinet-tabs button {
  display: flex;
  align-items: center;
  gap: 20px;
  background: transparent;
  border-top: 1px solid var(--line);
  padding: 22px 0;
  text-align: left;
  font-size: 10px;
  color: #a795a7;
}
.cabinet-tabs button:last-child {
  border-bottom: 1px solid var(--line);
}
.cabinet-tabs button > span {
  font-family: Editorial, Georgia, serif;
  font-size: 20px;
  width: 20px;
}
.cabinet-tabs button > b {
  font-weight: 400;
  margin-left: auto;
}
.cabinet-tabs button[aria-pressed="true"] {
  color: #efdddf;
}
.cabinet-object {
  padding: 0 30px;
}
.cabinet-frame {
  position: relative;
  padding: 14px;
  border: 1px solid #674f64;
  border-radius: 48% 48% 0 0;
  margin: 0 15px;
}
.cabinet-frame > img {
  height: 400px;
  width: 100%;
  border-radius: 48% 48% 0 0;
  filter: saturate(0.5) brightness(0.8);
}
.cabinet-frame-star {
  position: absolute;
  top: 10px;
  right: -25px;
  font-size: 60px;
  color: #b88eac;
}
.cabinet-story {
  padding: 30px 15px 0;
}
.cabinet-story > .eyebrow {
  font-size: 7px;
  color: #a98b9f;
}
.cabinet-story h3 {
  font-family: Editorial, Georgia, serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 1.1;
  margin: 15px 0;
}
.cabinet-story p {
  font-size: 10px;
  line-height: 1.9;
  color: #a997a9;
}
.closing {
  text-align: center;
  padding: 100px 0 110px;
}
.closing-star {
  display: block;
  font-size: 55px;
  color: #b798b0;
  margin-bottom: 30px;
}
.closing > .eyebrow {
  font-size: 8px;
  color: #b39aaa;
}
.closing h2 {
  font-family: Editorial, Georgia, serif;
  font-weight: 400;
  font-size: clamp(48px, 5.3vw, 80px);
  line-height: 1.03;
  letter-spacing: -0.035em;
  margin: 28px 0 35px;
}
.closing h2 em {
  color: #c7a0b5;
}
.site-footer {
  border-top: 1px solid var(--line);
  background: #16121b;
  color: #ab97a8;
}
.moon-footer-word {
  font-family: Editorial, Georgia, serif;
  font-size: 15vw;
  letter-spacing: -0.055em;
  color: #c8afc1;
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 6%;
  margin: 0 0 35px;
}
.moon-footer-word > span {
  font-size: 10vw;
  transform: rotate(-20deg);
}
.footer-inner {
  font-size: 9px;
}
.detail-copy h3 {
  font-family: Editorial, Georgia, serif;
  font-size: 40px;
  color: #d2b7c7;
}
.journal-dialog {
  width: min(800px, 94vw);
}
#journal-content {
  padding: 45px 11% 55px;
}
#journal-content > .eyebrow {
  font-size: 8px;
  color: #a78c9f;
}
#journal-content h3 {
  font-family: Editorial, Georgia, serif;
  font-size: clamp(38px, 4vw, 55px);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 25px 0;
}
#journal-content > p {
  font-family: Editorial, Georgia, serif;
  font-size: 22px;
  line-height: 1.65;
  color: #cebecb;
}
#journal-content > img {
  width: 100%;
  height: 300px;
  margin-bottom: 30px;
  filter: saturate(0.5);
}
.related-objects {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 30px;
  border-top: 1px solid var(--line);
  padding-top: 25px;
}
.related-objects > span {
  width: 100%;
  font-size: 9px;
  letter-spacing: 0.1em;
  color: #b89aae;
}
.related-objects button {
  background: transparent;
  color: #d4b8ca;
  padding: 12px;
  border: 1px solid var(--line);
  font-size: 10px;
}
@keyframes glimmer {
  50% {
    opacity: 0.45;
    transform: scale(0.9);
  }
}
@keyframes firefly {
  0%,
  100% {
    opacity: 0;
    transform: translate(0, 15px);
  }
  40% {
    opacity: 0.8;
  }
  80% {
    opacity: 0;
    transform: translate(10px, -60px);
  }
}
@media (max-width: 1100px) {
  .moon-hero {
    gap: 35px;
    min-height: 700px;
  }
  .moon-portal {
    height: 520px;
  }
  .moon-hero-actions {
    gap: 15px;
  }
  .moon-hero h1 {
    font-size: 6vw;
  }
  .nav-links {
    gap: 18px;
  }
  .product-meta {
    display: block;
  }
  .product-meta strong {
    display: block;
    margin-top: 10px;
  }
  .cabinet-layout {
    gap: 8%;
  }
  .journal-card h3 {
    font-size: 29px;
  }
  .journal-image > img {
    height: 270px;
  }
  .cabinet-object {
    padding: 0 10px;
  }
}
@media (max-width: 700px) {
  .nav {
    height: 95px;
  }
  .moon-logo > span:not(.logo-moon) {
    font-size: 29px;
  }
  .logo-moon {
    font-size: 36px;
  }
  .moon-logo {
    gap: 6px;
  }
  .moon-logo small {
    font-size: 4px;
    letter-spacing: 0.1em;
    margin-top: 10px;
  }
  .moon-hero {
    grid-template-columns: 1fr;
    padding: 45px 0 75px;
    gap: 55px;
    min-height: 0;
  }
  .moon-hero h1 {
    font-size: 13.5vw;
    margin-top: 35px;
  }
  .moon-hero-copy .eyebrow {
    font-size: 7px;
  }
  .moon-glyph {
    right: 0;
    top: 24px;
    font-size: 28px;
  }
  .moon-hero-copy > p {
    font-size: 10px;
  }
  .moon-hero-actions {
    gap: 20px;
  }
  .primary {
    font-size: 10px;
    padding: 15px 19px;
  }
  .diary-link {
    font-size: 9px;
  }
  .hand-note {
    font-size: 18px;
    margin-top: 30px;
  }
  .moon-portal {
    width: 80%;
    height: 470px;
    margin: auto;
  }
  .portal-star {
    font-size: 50px;
    left: -27px;
  }
  .moon-divider {
    gap: 15px;
    padding: 19px 7%;
  }
  .moon-divider p {
    font-size: 18px;
    text-align: center;
  }
  .moon-divider > span {
    font-size: 20px;
  }
  .section-heading h2 {
    font-size: 40px;
  }
  .section-heading .eyebrow {
    font-size: 7px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    font-size: 8px;
    padding: 9px 12px;
  }
  .product-visual img {
    height: 250px;
  }
  .product-meta h3 {
    font-size: 18px;
  }
  .product-meta strong {
    font-size: 10px;
  }
  .product-tag {
    font-size: 7px;
    padding: 5px 6px;
  }
  .moon-manifesto {
    padding: 70px 0;
  }
  .manifesto-text h2 {
    font-size: 9.6vw;
  }
  .manifesto-text p {
    font-size: 10px;
  }
  .manifesto-orbit {
    font-size: 260px;
    left: -70px;
    top: 30%;
  }
  .journal-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .journal-image > img {
    height: 330px;
  }
  .journal-card h3 {
    font-size: 36px;
    max-width: 310px;
  }
  .journal-card p {
    font-size: 11px;
    max-width: none;
  }
  .journal-date {
    font-size: 8px;
  }
  .cabinet-section {
    padding: 65px 0;
  }
  .cabinet-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .cabinet-heading h2 {
    font-size: 64px;
  }
  .cabinet-heading > p {
    font-size: 11px;
    max-width: none;
  }
  .cabinet-object {
    padding: 0 15px;
  }
  .cabinet-frame > img {
    height: 370px;
  }
  .cabinet-story h3 {
    font-size: 32px;
  }
  .cabinet-story p {
    font-size: 11px;
  }
  .closing {
    padding: 70px 0;
  }
  .closing h2 {
    font-size: 12vw;
  }
  .closing-star {
    font-size: 45px;
  }
  .moon-footer-word {
    font-size: 16vw;
    gap: 3%;
  }
  .moon-footer-word > span {
    font-size: 10vw;
  }
  .nav-links {
    background: #241b2a;
    color: #e0c6d7;
  }
  .detail-copy h3 {
    font-size: 36px;
  }
  #journal-content {
    padding: 30px 7%;
  }
  #journal-content > p {
    font-size: 21px;
  }
  #journal-content > img {
    height: 230px;
  }
  .collection-note {
    font-size: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fireflies {
    display: none;
  }
  .moon-portal > img {
    transform: none;
  }
}

.film-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10%;
  align-items: center;
  border-top: 1px solid var(--line);
}
.film-section h2 {
  font-family: Editorial, Georgia, serif;
  font-size: clamp(48px, 6vw, 85px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.04em;
  margin: 30px 0;
}
.film-section h2 em {
  color: #c9a5bb;
}
.film-section p {
  font-size: 12px;
  line-height: 1.9;
  color: #b49daf;
  max-width: 340px;
}
.film-section video {
  max-width: 315px;
  width: 100%;
  max-height: 560px;
  margin: auto;
  border: 1px solid var(--line);
  background: #1a1122;
}
.film-section .eyebrow {
  font-size: 9px;
}
.film-section .collection-note {
  font-size: 9px;
}
@media (max-width: 700px) {
  .film-section {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .film-section h2 {
    font-size: 14vw;
  }
  .film-section video {
    max-width: 290px;
  }
}
