:root {
  color-scheme: light;
  --ink: #173c31;
  --muted: #5b6f67;
  --paper: #f7fbf8;
  --paper-strong: #dff0e8;
  --brand-mint: #9ddfce;
  --brand-mint-deep: #4aa58f;
  --leaf: #427b43;
  --leaf-dark: #265739;
  --nav-green: #173c31;
  --sky: #6ab7d7;
  --river: #2f8da9;
  --sun: #f6b94b;
  --berry: #5b6f67;
  --pink: #a54f72;
  --soil: #7c5030;
  --line: #4b765f;
  --shadow: rgba(43, 33, 22, 0.22);
  --content-canvas: #e6f3ed;
  --content-surface: #f7fbf8;
  --content-panel: #ffffff;
  --content-border: #4b765f;
  --cursor-default:
    image-set(
        url("assets/cursor-sprout.svg") 1x,
        url("assets/cursor-sprout@2x.svg") 2x
      )
      2 2,
    auto;
  --cursor-pointer:
    image-set(
        url("assets/cursor-bloom-pointer.svg") 1x,
        url("assets/cursor-bloom-pointer@2x.svg") 2x
      )
      9 2,
    pointer;
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: var(--cursor-default);
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--ink);
  background: var(--content-canvas);
}

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

a {
  color: inherit;
}

a,
button,
[role="button"],
input[type="button"],
input[type="submit"],
input[type="reset"] {
  cursor: var(--cursor-pointer);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: clamp(10px, 2vw, 24px);
  min-height: 72px;
  padding: 12px clamp(18px, 4vw, 56px) 12px clamp(48px, 7vw, 104px);
  border-bottom: 4px solid var(--brand-mint-deep);
  background: var(--brand-mint);
  box-shadow:
    0 4px 0 rgba(255, 255, 255, 0.24) inset,
    0 0 24px rgba(255, 255, 255, 0.2) inset;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 1 1 auto;
  gap: clamp(6px, 0.9vw, 12px);
  min-width: 0;
}

.site-nav a {
  min-width: auto;
  padding: 10px clamp(5px, 0.7vw, 10px);
  border: 2px solid transparent;
  color: var(--nav-green);
  font-size: clamp(0.95rem, 1.1vw, 1.05rem);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a:active {
  color: var(--pink);
  outline: none;
}

.social-links {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 6px;
  margin-left: auto;
}

.social-links a,
.social-links .social-placeholder {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--nav-green);
  transition:
    transform 150ms ease,
    color 150ms ease;
}

.social-links .social-icon-button {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.social-links a:hover,
.social-links a:focus-visible,
.social-links a:active,
.social-links .social-placeholder:hover,
.social-links .social-placeholder:focus-visible {
  transform: translateY(2px);
  color: var(--pink);
  outline: none;
}

.social-links svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.social-links .wechat-icon {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.social-links .wechat-icon circle {
  fill: currentColor;
  stroke: none;
}

.social-links .xiaohongshu-icon {
  display: block;
  width: 20px;
  height: 20px;
  border-radius: 4px;
  filter: saturate(0.42) hue-rotate(104deg) brightness(0.78);
  object-fit: cover;
  object-position: center;
  opacity: 0.9;
  transition:
    filter 150ms ease,
    opacity 150ms ease,
    transform 150ms ease;
}

.social-links .social-platform-xiaohongshu:hover .xiaohongshu-icon,
.social-links .social-platform-xiaohongshu:focus-visible .xiaohongshu-icon {
  filter: saturate(0.38) hue-rotate(292deg) brightness(0.88);
  opacity: 1;
  transform: scale(1.04);
}

@media (max-width: 820px) {
  .social-links .xiaohongshu-icon {
    width: 18px;
    height: 18px;
    border-radius: 3px;
  }
}

@media (max-width: 360px) {
  .social-links .xiaohongshu-icon {
    width: 16px;
    height: 16px;
  }
}

.social-contact-dialog {
  width: min(430px, calc(100vw - 28px));
  max-width: none;
  max-height: calc(100vh - 28px);
  padding: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  color: var(--ink);
}

.social-contact-dialog::backdrop {
  background: rgb(28 61 52 / 42%);
  backdrop-filter: blur(5px);
}

.social-contact-panel {
  position: relative;
  max-height: calc(100vh - 28px);
  overflow: auto;
  background: #fff;
  box-shadow: 0 18px 54px rgb(31 74 62 / 24%);
}

.social-contact-panel img {
  display: block;
  width: 100%;
  height: auto;
  max-height: calc(100vh - 28px);
  object-fit: contain;
}

.social-contact-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 1;
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  padding: 0;
  border: 0;
  background: rgb(255 255 255 / 84%);
  color: #3f6f61;
  font-size: 1.3rem;
  line-height: 1;
  cursor: pointer;
}

.social-contact-close:hover,
.social-contact-close:focus-visible {
  color: var(--pink);
  outline: 2px solid currentColor;
  outline-offset: -2px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 3px solid var(--line);
  background: var(--paper-strong);
}

.menu-button span {
  display: block;
  width: 22px;
  height: 3px;
  margin: 4px auto;
  background: var(--line);
}

.hero {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(360px, 1.12fr);
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
  max-width: 1160px;
  min-height: min(760px, calc(100vh - 72px));
  margin: 0 auto;
  padding: clamp(40px, 7vw, 76px) clamp(20px, 4vw, 32px) 48px;
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--berry);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(3.1rem, 7vw, 5.8rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  font-size: 1.15rem;
}

.hero-text {
  max-width: 48ch;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.85;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 3px solid var(--line);
  box-shadow: 0 4px 0 var(--line);
  font-weight: 900;
  text-decoration: none;
  transition:
    transform 150ms ease,
    box-shadow 150ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--line);
  outline: none;
}

.button.primary {
  background: var(--brand-mint);
}

.button.secondary {
  background: var(--content-panel);
}

.hero-art {
  margin: 0;
  min-width: 0;
}

.hero-art img {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 5px solid var(--line);
  box-shadow: 10px 10px 0 var(--shadow);
  image-rendering: pixelated;
  object-fit: cover;
}

.hero-art figcaption {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: right;
}

.section-band,
.media,
.products {
  padding: clamp(54px, 8vw, 92px) clamp(16px, 4vw, 32px);
}

.section-band {
  border-block: 4px solid var(--line);
  background: var(--content-surface);
}

.section-heading,
.intro-grid,
.feature-grid,
.product-directory,
.note-list,
.showcase,
.scene-dots {
  max-width: 1100px;
  margin-inline: auto;
}

.section-heading {
  margin-bottom: 28px;
}

.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(18px, 4vw, 44px);
}

.intro-copy {
  display: grid;
  gap: 18px;
}

.intro-visual {
  margin: 0;
}

.intro-visual img,
.feature-grid img,
.note-list img {
  display: block;
  width: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.intro-visual img {
  aspect-ratio: 16 / 9;
}

.intro-visual figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.86rem;
}

.intro-copy p,
.feature-grid p,
.note-list p {
  margin: 0;
  color: var(--muted);
  line-height: 1.78;
}

.media {
  background: var(--content-surface);
}

.showcase {
  position: relative;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 16px;
}

.scene {
  display: none;
  margin: 0;
  border: 4px solid var(--line);
  background: var(--content-panel);
  box-shadow: 8px 8px 0 var(--shadow);
}

.scene.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(260px, 0.75fr);
}

.scene img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  image-rendering: pixelated;
}

.scene figcaption {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(20px, 4vw, 40px);
}

.scene figcaption strong {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  line-height: 1;
}

.scene figcaption span {
  color: var(--muted);
  line-height: 1.7;
}

.carousel-control {
  width: 54px;
  height: 54px;
  border: 3px solid var(--line);
  background: var(--content-panel);
  box-shadow: 0 4px 0 var(--line);
  cursor: var(--cursor-pointer);
}

.carousel-control::before {
  display: block;
  color: var(--line);
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
}

.carousel-control.prev::before {
  content: "<";
}

.carousel-control.next::before {
  content: ">";
}

.carousel-control:hover,
.carousel-control:focus-visible {
  background: var(--paper-strong);
  outline: none;
}

.scene-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.scene-dots button {
  width: 16px;
  height: 16px;
  padding: 0;
  border: 2px solid var(--line);
  background: var(--content-panel);
  cursor: var(--cursor-pointer);
}

.scene-dots button[aria-current="true"] {
  background: var(--berry);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 32px;
}

.feature-grid article {
  display: grid;
  grid-template-columns: minmax(120px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 18px;
  padding-bottom: 22px;
  border-bottom: 1px solid rgba(37, 33, 22, 0.24);
}

.feature-grid img {
  aspect-ratio: 4 / 3;
}

.feature-copy h3,
.note-copy h3 {
  margin: 0 0 10px;
}

.products {
  background: var(--content-surface);
}

.section-lead {
  max-width: 48ch;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

.product-directory {
  border-block: 2px solid rgba(37, 33, 22, 0.42);
}

.product-entry {
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 22px;
  min-height: 132px;
  padding: 22px 12px;
  border-bottom: 1px solid rgba(37, 33, 22, 0.26);
  color: var(--ink);
  text-decoration: none;
  transition:
    background-color 150ms ease,
    color 150ms ease;
}

.product-entry:last-child {
  border-bottom: 0;
}

.product-entry:hover,
.product-entry:focus-visible {
  background: rgba(255, 255, 255, 0.36);
  outline: none;
}

.product-thumbnail {
  display: block;
  width: 116px;
  height: 78px;
  overflow: hidden;
  border: 1px solid var(--content-border);
  background: var(--content-surface);
}

.product-thumbnail img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.product-tavern .product-thumbnail img {
  object-position: center 58%;
}

.product-arrow svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-copy {
  display: grid;
  gap: 7px;
}

.product-kicker {
  color: var(--nav-green);
  font-size: 0.78rem;
  font-weight: 900;
}

.product-copy strong {
  font-size: 1.55rem;
  line-height: 1.2;
}

.product-copy > span:last-child {
  max-width: 58ch;
  color: var(--muted);
  line-height: 1.65;
}

.product-arrow {
  display: grid;
  place-items: center;
  color: var(--nav-green);
  transition:
    color 150ms ease,
    transform 150ms ease;
}

.product-entry:hover .product-arrow,
.product-entry:focus-visible .product-arrow {
  transform: translate(3px, -3px);
  color: var(--pink);
}

.creative-store {
  scroll-margin-top: 88px;
}

.creative-store-entry {
  display: grid;
  grid-template-columns: 124px minmax(0, 1fr) 40px;
  align-items: center;
  gap: 26px;
  max-width: 1100px;
  min-height: 154px;
  margin-inline: auto;
  padding: 20px 24px;
  border: 1px solid var(--content-border);
  background: var(--content-panel);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.creative-store-entry:hover,
.creative-store-entry:focus-visible {
  background: rgba(157, 223, 206, 0.16);
  color: var(--pink);
  outline: none;
}

.creative-store-placeholder {
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  background: rgba(157, 223, 206, 0.18);
  color: var(--muted);
  font-size: 0.78rem;
}

.creative-store-entry h3,
.creative-store-entry p {
  margin: 0;
}

.creative-store-entry p {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
}

.creative-store-arrow {
  font-size: 1.6rem;
  text-align: center;
}

.shop-main {
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100vh - 102px);
  margin-inline: auto;
  padding: clamp(34px, 5vw, 58px) 0 76px;
}

.shop-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.shop-header h1 {
  max-width: none;
  margin: 0;
  font-size: 2.25rem;
}

.shop-title {
  min-width: 0;
}

.shop-status {
  min-height: 1.3em;
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 0.86rem;
  opacity: 0;
  transition: opacity 160ms ease;
}

.shop-status.is-visible {
  opacity: 1;
}

.cart-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 13px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-mint);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  transition:
    color 150ms ease,
    background 150ms ease,
    transform 150ms ease;
}

.cart-button:hover,
.cart-button:focus-visible {
  background: var(--paper-strong);
  color: var(--pink);
  outline: none;
}

.cart-button svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.cart-button output {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  padding-inline: 6px;
  border-radius: 50%;
  background: var(--content-panel);
  font-size: 0.78rem;
}

.cart-button.is-bumped {
  transform: translateY(-2px) scale(1.04);
}

.market-showroom {
  position: relative;
  overflow: hidden;
  border: 4px solid #315f52;
  background: #d8f3e8;
  box-shadow:
    0 6px 0 #93c8b7,
    0 9px 0 rgba(49, 95, 82, 0.22);
}

.market-showroom::before,
.market-showroom::after {
  position: absolute;
  right: 0;
  left: 0;
  content: "";
  pointer-events: none;
}

.market-showroom::before {
  top: 0;
  height: 54px;
  border-bottom: 4px solid #315f52;
  background:
    linear-gradient(
      90deg,
      #f3a5b8 0 12.5%,
      #f8e8d5 12.5% 25%,
      #9ddfce 25% 37.5%,
      #f8e8d5 37.5% 50%,
      #f3a5b8 50% 62.5%,
      #f8e8d5 62.5% 75%,
      #9ddfce 75% 87.5%,
      #f8e8d5 87.5% 100%
    );
  background-size: 168px 100%;
}

.market-showroom::after {
  bottom: 0;
  height: 76px;
  border-top: 4px solid #6f5d42;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.2) 50%, transparent 50%) 0 0 / 72px 36px,
    #d8bd87;
}

.market-room {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(270px, 0.78fr) minmax(0, 1.42fr);
  align-items: end;
  gap: clamp(20px, 3vw, 38px);
  min-height: 610px;
  padding: 86px clamp(22px, 4vw, 48px) 88px;
}

.market-room::before {
  position: absolute;
  z-index: -1;
  inset: 54px 0 72px;
  background:
    linear-gradient(90deg, rgba(49, 95, 82, 0.08) 3px, transparent 3px) 0 0 / 96px 100%,
    #d8f3e8;
  content: "";
}

.market-fixture {
  position: relative;
  min-width: 0;
}

.market-fixture-sign {
  position: absolute;
  z-index: 2;
  top: -40px;
  left: 50%;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 7px 14px;
  border: 4px solid #315f52;
  background: #fff8e8;
  color: #315f52;
  font-size: 0.92rem;
  font-weight: 800;
  transform: translateX(-50%);
  white-space: nowrap;
}

.market-fixture-sign svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: square;
  stroke-linejoin: miter;
  stroke-width: 2;
}

.market-fridge-body {
  position: relative;
  display: grid;
  align-content: start;
  min-height: 456px;
  padding: 30px 28px 20px 22px;
  border: 7px solid #315f52;
  background: #a9ddd4;
  box-shadow:
    inset 9px 0 rgba(255, 255, 255, 0.35),
    inset -9px 0 rgba(49, 95, 82, 0.14);
}

.market-fridge-body::before {
  position: absolute;
  inset: 13px 18px 16px 14px;
  border: 3px solid rgba(49, 95, 82, 0.52);
  background: rgba(236, 255, 250, 0.42);
  content: "";
  pointer-events: none;
}

.fridge-light {
  position: relative;
  z-index: 1;
  width: 55%;
  height: 8px;
  margin: 0 auto 24px;
  background: #fff8d0;
  box-shadow: 0 0 0 3px rgba(49, 95, 82, 0.26);
}

.fridge-handle {
  position: absolute;
  z-index: 2;
  top: 62px;
  right: 7px;
  width: 7px;
  height: 154px;
  background: #fff8e8;
  box-shadow: 0 0 0 3px #315f52;
}

.fridge-stock {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: center;
  gap: 10px;
  height: 64px;
  margin-top: 26px;
  padding: 8px 10px 0;
  border-bottom: 6px solid #547c6d;
}

.fridge-stock span {
  width: 22px;
  height: 36px;
  border: 3px solid #315f52;
  background: #f3a5b8;
}

.fridge-stock span:nth-child(2) {
  height: 46px;
  background: #f8cf6a;
}

.fridge-stock span:nth-child(3) {
  height: 31px;
  background: #fff8e8;
}

.fridge-stock span:nth-child(4) {
  height: 42px;
  background: #73c9bd;
}

.fridge-stock span:nth-child(5) {
  height: 34px;
  background: #d58c73;
}

.market-display {
  padding-top: 20px;
}

.market-shelf-body {
  display: grid;
  gap: 24px;
  min-height: 438px;
  padding: 30px 30px 20px;
  border: 8px solid #5d4631;
  background: #d79a61;
  box-shadow:
    inset 0 0 0 6px #efbc7a,
    inset 0 -14px rgba(93, 70, 49, 0.18);
}

.market-shelf-tier {
  display: flex;
  align-items: end;
  justify-content: space-around;
  gap: clamp(10px, 2vw, 24px);
  min-width: 0;
  padding: 12px 16px 18px;
  border-bottom: 12px solid #5d4631;
  background: #f7d7a3;
  box-shadow: inset 0 -5px #bd754b;
}

.market-shelf-tier-bottom {
  background: #f4c7bb;
}

.market-product {
  position: relative;
  z-index: 2;
  display: grid;
  width: min(230px, 48%);
  min-width: 156px;
  padding: 7px;
  border: 4px solid #315f52;
  border-radius: 0;
  background: #fff8e8;
  color: #173c31;
  font: inherit;
  text-align: left;
  box-shadow: 5px 5px 0 rgba(93, 70, 49, 0.34);
  transition:
    border-color 150ms ease,
    box-shadow 150ms ease,
    transform 150ms ease;
}

.market-product:hover,
.market-product:focus-visible {
  border-color: #b65775;
  outline: none;
  box-shadow: 5px 7px 0 rgba(182, 87, 117, 0.24);
  transform: translateY(-5px);
}

.market-product img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  image-rendering: pixelated;
}

.market-product-meta {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  min-width: 0;
  padding: 9px 3px 2px;
}

.market-product-meta strong {
  overflow: hidden;
  font-size: 0.84rem;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.market-product-meta small {
  flex: none;
  color: var(--muted);
  font-size: 0.73rem;
}

.market-add-icon {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 3px solid #315f52;
  background: #9ddfce;
  color: #173c31;
  box-shadow: 2px 2px 0 rgba(49, 95, 82, 0.3);
}

.market-add-icon svg {
  width: 19px;
  height: 19px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.market-product:hover .market-add-icon,
.market-product:focus-visible .market-add-icon {
  border-color: #b65775;
  background: #f4c7d2;
  color: #9c3858;
}

.market-product-cold {
  position: relative;
  width: min(230px, 82%);
  margin-inline: auto;
}

.shelf-prop {
  position: relative;
  flex: none;
  display: block;
  border: 4px solid #5d4631;
}

.shelf-prop-bottle {
  width: 35px;
  height: 70px;
  border-top-width: 16px;
  background: #73c9bd;
}

.shelf-prop-box {
  width: 58px;
  height: 74px;
  background: #f0a6b8;
  box-shadow: inset 0 -18px #d36f8e;
}

.shelf-prop-box-small {
  width: 48px;
  height: 52px;
  background: #f8cf6a;
  box-shadow: none;
}

.shelf-prop-jar {
  width: 46px;
  height: 54px;
  border-top-width: 10px;
  background: #d9efe8;
}

.shelf-prop-tote {
  width: 64px;
  height: 60px;
  background: #fff8e8;
}

.shelf-prop-tote::before {
  position: absolute;
  top: -26px;
  left: 13px;
  width: 28px;
  height: 27px;
  border: 4px solid #5d4631;
  border-bottom: 0;
  content: "";
}

.shelf-prop-stack {
  width: 70px;
  height: 40px;
  background: #73c9bd;
  box-shadow:
    0 -15px 0 -4px #f8cf6a,
    0 -15px 0 0 #5d4631,
    0 -30px 0 -4px #f0a6b8,
    0 -30px 0 0 #5d4631;
}

.product-detail-backdrop {
  position: fixed;
  z-index: 40;
  inset: 0;
  background: rgba(23, 60, 49, 0.46);
  backdrop-filter: blur(2px);
}

.product-detail-backdrop[hidden],
.product-detail-modal[hidden] {
  display: none;
}

.product-detail-modal {
  position: fixed;
  z-index: 50;
  inset: 50% auto auto 50%;
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(320px, 0.75fr);
  width: min(1200px, calc(100% - 40px));
  height: min(760px, calc(100dvh - 40px));
  overflow: hidden;
  border: 1px solid rgba(75, 118, 95, 0.5);
  background: var(--content-panel);
  box-shadow: 0 24px 64px rgba(23, 60, 49, 0.24);
  transform: translate(-50%, -50%);
}

body.product-detail-open {
  overflow: hidden;
}

.product-model-stage {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  background: #d8f3e8;
}

.product-model-stage canvas {
  display: block;
  width: 100%;
  height: 100%;
  cursor: grab;
  touch-action: none;
}

.product-model-stage canvas:active {
  cursor: grabbing;
}

.product-detail-close {
  position: absolute;
  z-index: 3;
  top: 14px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 0;
  background: rgba(247, 251, 248, 0.9);
  color: var(--ink);
  font: inherit;
  font-size: 1.75rem;
}

.product-detail-close:hover,
.product-detail-close:focus-visible {
  color: var(--pink);
  outline: none;
}

.product-detail-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow-y: auto;
  padding: clamp(60px, 7vw, 92px) clamp(26px, 4vw, 52px) 36px;
  border-left: 1px solid rgba(75, 118, 95, 0.35);
}

.product-detail-kicker {
  margin: 0 0 9px;
  color: var(--brand-mint-deep);
  font-size: 0.8rem;
  font-weight: 800;
}

.product-detail-copy h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.5rem);
}

.product-detail-description {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.75;
}

.product-detail-facts {
  display: grid;
  margin: 30px 0 0;
}

.product-detail-facts > div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 16px;
  padding: 11px 0;
  border-bottom: 1px solid rgba(75, 118, 95, 0.24);
}

.product-detail-facts dt {
  color: var(--muted);
}

.product-detail-facts dd {
  margin: 0;
  color: var(--ink);
}

.product-detail-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: auto;
  padding-top: 34px;
}

.product-detail-action > strong {
  font-size: 1.4rem;
}

.product-detail-action button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 46px;
  padding: 10px 16px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-mint);
  color: var(--ink);
  font: inherit;
  font-weight: 800;
}

.product-detail-action button:hover,
.product-detail-action button:focus-visible {
  background: var(--paper-strong);
  color: var(--pink);
  outline: none;
}

.product-detail-action button svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.product-detail-status {
  min-height: 1.4em;
  margin: 8px 0 0;
  color: var(--brand-mint-deep);
  font-size: 0.82rem;
  text-align: right;
}

.cart-summary button {
  min-height: 40px;
  padding: 9px 14px;
  border: 0;
  border-radius: 4px;
  background: var(--brand-mint);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
}

.cart-backdrop {
  position: fixed;
  z-index: 20;
  inset: 0;
  background: rgba(23, 60, 49, 0.28);
}

.cart-backdrop[hidden] {
  display: none;
}

.cart-drawer {
  position: fixed;
  z-index: 30;
  top: 0;
  right: 0;
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  width: min(410px, 100%);
  height: 100dvh;
  border-left: 1px solid rgba(75, 118, 95, 0.35);
  background: var(--content-surface);
  box-shadow: -16px 0 36px rgba(23, 60, 49, 0.16);
  transform: translateX(105%);
  transition: transform 220ms ease;
}

body.cart-open {
  overflow: hidden;
}

body.cart-open .cart-drawer {
  transform: translateX(0);
}

.cart-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px 20px;
  border-bottom: 1px solid rgba(75, 118, 95, 0.28);
}

.cart-drawer-header h2 {
  font-size: 1.5rem;
}

.cart-close {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 1.8rem;
}

.cart-close:hover,
.cart-close:focus-visible {
  color: var(--pink);
  outline: none;
}

.cart-items {
  overflow-y: auto;
  padding: 8px 20px 24px;
}

.cart-empty {
  margin: 26px 0;
  color: var(--muted);
}

.cart-item {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(75, 118, 95, 0.24);
}

.cart-item > img {
  width: 72px;
  height: 72px;
  background: rgba(157, 223, 206, 0.14);
  object-fit: cover;
  image-rendering: pixelated;
}

.cart-item-copy h3,
.cart-item-copy p {
  margin: 0;
}

.cart-item-copy h3 {
  font-size: 1rem;
}

.cart-item-copy p {
  margin-top: 5px;
  color: var(--muted);
  font-size: 0.85rem;
}

.cart-quantity {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 11px;
}

.cart-quantity button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  border-radius: 4px;
  background: rgba(157, 223, 206, 0.22);
  color: var(--ink);
  font: inherit;
}

.cart-quantity button:last-child {
  margin-left: auto;
  background: transparent;
  color: var(--muted);
}

.cart-quantity button:hover,
.cart-quantity button:focus-visible {
  color: var(--pink);
  outline: none;
}

.cart-quantity output {
  min-width: 28px;
  text-align: center;
}

.cart-summary {
  padding: 18px 20px 22px;
  border-top: 1px solid rgba(75, 118, 95, 0.28);
  background: var(--content-panel);
}

.cart-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 14px;
}

.cart-summary button {
  width: 100%;
}

.cart-summary button:disabled {
  background: rgba(91, 111, 103, 0.14);
  color: var(--muted);
  cursor: not-allowed;
}

.note-list {
  display: grid;
  grid-template-columns: 1fr;
  border-block: 2px solid rgba(37, 33, 22, 0.42);
}

.note-list article {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  align-items: center;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(37, 33, 22, 0.24);
}

.note-list article:last-child {
  border-bottom: 0;
}

.note-list img {
  aspect-ratio: 16 / 10;
}

.note-list time {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--berry);
  font-weight: 900;
}

.site-footer {
  padding: 6px clamp(16px, 4vw, 56px);
  border-top: 1px solid rgba(75, 118, 95, 0.35);
  background: var(--content-surface);
  color: var(--muted);
}

.site-footer-inner {
  display: flex;
  min-height: 24px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 5px clamp(16px, 3vw, 28px);
  max-width: 1100px;
  margin-inline: auto;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.site-footer p {
  margin: 0;
  line-height: 1.35;
}

.footer-copyright {
  font-size: 0.76rem;
  font-weight: 400;
}

.site-engagement {
  display: flex;
  align-items: center;
  gap: 14px;
  color: color-mix(in srgb, currentColor 84%, transparent);
  font-size: 0.68rem;
  line-height: 1;
}

.site-engagement > span,
.site-engagement > button {
  display: inline-flex;
  align-items: baseline;
  gap: 4px;
  white-space: nowrap;
}

.site-engagement b,
.site-engagement small {
  font: inherit;
}

.site-engagement b {
  color: var(--mint-dark, #417663);
  font-variant-numeric: tabular-nums;
  transform-origin: 50% 70%;
}

.site-engagement b.is-updated {
  animation: engagement-number-update 420ms cubic-bezier(0.2, 0.76, 0.28, 1);
}

.site-engagement button {
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
  transition:
    color 150ms ease,
    transform 170ms ease;
}

.site-engagement button:hover,
.site-engagement button:focus-visible,
.site-engagement button.is-stamped {
  color: var(--berry, #b85f7f);
  outline: 0;
}

.site-engagement button:hover,
.site-engagement button:focus-visible {
  transform: translateY(-1px);
}

.site-engagement button:disabled {
  cursor: wait;
  opacity: 0.62;
}

.site-engagement.is-unavailable {
  opacity: 0.45;
}

@keyframes engagement-number-update {
  0% {
    color: var(--berry, #c85f86);
    transform: translateY(2px) scale(0.88);
  }

  62% {
    color: var(--berry, #c85f86);
    transform: translateY(-1px) scale(1.12);
  }

  100% {
    transform: translateY(0) scale(1);
  }
}

body[data-page="faq.html"] .site-engagement button:hover,
body[data-page="faq.html"] .site-engagement button:focus-visible,
body[data-page="faq.html"] .site-engagement button.is-stamped {
  color: #d45282;
}

.home-directory-section,
.subpage-content {
  padding: 72px clamp(16px, 4vw, 32px);
}

.home-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 420px;
  height: min(56.25vw, calc(100vh - 150px));
  overflow: hidden;
  border-bottom: 1px solid var(--content-border);
  background: var(--content-surface);
}

.home-hero::after {
  position: absolute;
  inset: 0;
  background: rgba(247, 251, 248, 0.08);
  content: "";
}

.home-hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}

.home-hero-copy {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  place-self: center;
  width: min(86vw, 760px);
  max-width: 760px;
  padding: 24px;
  transform: translateY(-22px);
  text-align: center;
}

.home-centered-logo {
  width: clamp(270px, 32vw, 360px);
  height: auto;
  margin-bottom: 14px;
  filter:
    drop-shadow(0 3px 0 rgba(255, 255, 255, 0.9))
    drop-shadow(0 7px 10px rgba(23, 60, 49, 0.2));
  image-rendering: pixelated;
}

.home-hero-copy h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.6rem, 4.2vw, 3.6rem);
  line-height: 1.15;
  text-shadow:
    0 2px 0 rgba(255, 255, 255, 0.95),
    0 0 16px rgba(255, 255, 255, 0.92);
}

.home-directory-section {
  padding-block: 52px 38px;
  background: var(--paper);
}

.home-directory-heading,
.home-story-list {
  max-width: 1100px;
  margin-inline: auto;
}

.home-directory-heading {
  margin-bottom: 38px;
}

.home-directory-heading h2 {
  font-size: 1.5rem;
}

.home-story-list {
  display: grid;
  gap: 44px;
}

.home-story {
  display: grid;
  grid-template-columns: minmax(0, 2.1fr) minmax(230px, 0.9fr);
  grid-template-rows: minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 54px);
  align-items: center;
  height: 310px;
  overflow: hidden;
  border: 0;
  background: transparent;
}

.home-story:nth-child(even) {
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 2.1fr);
}

.home-story:nth-child(even) .home-story-image {
  order: 2;
}

.home-story:nth-child(3n + 2) {
  height: 280px;
}

.home-story:nth-child(3n + 3) {
  grid-template-columns: minmax(0, 1.7fr) minmax(230px, 0.9fr);
  grid-template-rows: minmax(0, 1fr);
  height: 295px;
}

.home-story:nth-child(6n) {
  grid-template-columns: minmax(230px, 0.9fr) minmax(0, 1.7fr);
}

.home-story:nth-child(6n) .home-story-image {
  order: 2;
}

.home-story-image {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  image-rendering: pixelated;
}

.forum-main,
.forum-post-main {
  width: min(1100px, calc(100% - 40px));
  min-height: calc(100vh - 102px);
  margin-inline: auto;
}

.forum-main {
  padding: clamp(42px, 6vw, 64px) 0 72px;
}

.forum-page-header {
  margin-bottom: 18px;
}

.forum-page-header h1 {
  max-width: none;
  font-size: 2.15rem;
  line-height: 1.2;
}

.forum-board {
  display: grid;
  gap: 6px;
  border: 0;
  background: transparent;
}

.forum-columns,
.forum-row {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) 110px 140px 58px 140px;
  column-gap: 18px;
  align-items: center;
}

.forum-columns {
  min-height: 34px;
  padding: 0 16px;
  border: 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.forum-row {
  min-height: 72px;
  padding: 13px 16px;
  border: 0;
  background: rgba(157, 223, 206, 0.13);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.forum-row:nth-child(odd) {
  background: rgba(75, 118, 95, 0.06);
}

.forum-row.is-pinned {
  background: rgba(157, 223, 206, 0.24);
}

.forum-row:hover,
.forum-row:focus-visible {
  background: rgba(157, 223, 206, 0.32);
  color: var(--pink);
  outline: none;
}

.forum-topic {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.forum-topic strong {
  overflow: hidden;
  font-size: 1.04rem;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.forum-topic small {
  flex: 0 0 auto;
  color: var(--pink);
  font-size: 0.74rem;
  font-weight: 700;
}

.forum-author,
.forum-created,
.forum-reply-count,
.forum-updated {
  color: var(--muted);
  font-size: 0.86rem;
}

.forum-reply-count {
  text-align: center;
}

.forum-post-main {
  padding: clamp(38px, 6vw, 68px) 0 80px;
}

.forum-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.forum-back:hover,
.forum-back:focus-visible {
  color: var(--pink);
  outline: none;
}

.forum-post {
  max-width: 780px;
}

.forum-post-header {
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(75, 118, 95, 0.35);
}

.forum-post-header h1 {
  max-width: none;
  font-size: 2.4rem;
  line-height: 1.25;
}

.forum-post-meta {
  display: flex;
  gap: 16px;
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.forum-post-body {
  padding-top: 30px;
}

.forum-post-body p {
  max-width: 56ch;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.85;
}

.journal-main,
.library-main,
.content-detail-main {
  width: min(1100px, calc(100% - 40px));
  min-height: calc(100vh - 102px);
  margin-inline: auto;
  padding: clamp(52px, 7vw, 82px) 0 72px;
}

.content-page-header {
  margin-bottom: 30px;
}

.content-page-header h1 {
  max-width: none;
  font-size: 2.5rem;
}

.journal-feed,
.library-list {
  display: grid;
  gap: 18px;
}

.journal-entry {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  align-items: stretch;
  height: 240px;
  overflow: hidden;
  background: rgba(157, 223, 206, 0.17);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.journal-entry:nth-child(even) {
  background: rgba(91, 111, 103, 0.08);
}

.journal-entry:hover,
.journal-entry:focus-visible,
.library-entry:hover,
.library-entry:focus-visible {
  background: rgba(157, 223, 206, 0.28);
  color: var(--pink);
  outline: none;
}

.journal-entry img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  image-rendering: pixelated;
}

.journal-entry-copy,
.library-entry-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  min-width: 0;
  padding: clamp(22px, 4vw, 42px);
}

.entry-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin: 0 0 12px;
  color: var(--muted);
  font-size: 0.82rem;
}

.journal-entry-copy strong,
.library-entry-copy strong {
  font-size: 1.45rem;
  line-height: 1.35;
}

.entry-summary,
.library-facts {
  max-width: 40ch;
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.7;
}

.library-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.library-entry {
  display: grid;
  grid-template-columns: minmax(150px, 0.9fr) minmax(0, 1.1fr);
  height: 220px;
  overflow: hidden;
  background: rgba(91, 111, 103, 0.07);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.library-entry:nth-child(4n + 1),
.library-entry:nth-child(4n + 4) {
  background: rgba(157, 223, 206, 0.17);
}

.library-entry img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  image-rendering: pixelated;
}

.content-back {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 28px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
}

.content-back:hover,
.content-back:focus-visible {
  color: var(--pink);
  outline: none;
}

.content-detail {
  max-width: 820px;
}

.content-detail header {
  margin-bottom: 30px;
}

.content-detail h1 {
  max-width: 18ch;
  font-size: 2.4rem;
  line-height: 1.25;
}

.content-detail > img {
  width: 100%;
  max-height: 470px;
  object-fit: cover;
  image-rendering: pixelated;
}

.content-detail-body {
  padding: 30px clamp(18px, 4vw, 38px);
  background: rgba(157, 223, 206, 0.15);
}

.content-detail-body p {
  max-width: 58ch;
  margin: 0 0 16px;
  line-height: 1.85;
}

.content-detail-body p:last-child {
  margin-bottom: 0;
}

.wiki-detail-facts {
  display: grid;
  margin: 0;
  padding: 26px clamp(18px, 4vw, 38px);
  background: rgba(157, 223, 206, 0.15);
}

.wiki-detail-facts div {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 18px;
  padding: 10px 0;
}

.wiki-detail-facts dt {
  color: var(--muted);
}

.wiki-detail-facts dd {
  margin: 0;
  color: var(--ink);
}

.home-story-copy {
  align-self: center;
  padding: 0;
}

.home-story-copy h3 {
  margin: 0;
  font-size: 1.35rem;
}

.home-story-copy p {
  max-width: 30ch;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.home-story-copy .text-link {
  margin-top: 18px;
}

.has-scroll-reveal .home-story {
  transform: translateY(28px);
  transition: transform 520ms ease;
}

.has-scroll-reveal .home-story.is-visible {
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .has-scroll-reveal .home-story {
    transform: none;
    transition: none;
  }
}

.page-directory {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 34px;
  max-width: 1100px;
  margin-inline: auto;
  border-top: 2px solid rgba(37, 33, 22, 0.42);
}

.page-directory a {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  gap: 18px;
  min-height: 122px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(37, 33, 22, 0.24);
  color: var(--ink);
  text-decoration: none;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.page-directory a:hover,
.page-directory a:focus-visible {
  color: var(--pink);
  background: rgba(120, 220, 202, 0.12);
  outline: none;
}

.page-directory img {
  width: 132px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  image-rendering: pixelated;
}

.page-directory span {
  display: grid;
  gap: 7px;
}

.page-directory strong {
  font-size: 1.24rem;
}

.page-directory small {
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.subpage-main {
  min-height: calc(100vh - 160px);
  background: var(--paper);
}

.subpage-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(28px, 6vw, 72px);
  min-height: 490px;
  padding: 64px max(clamp(16px, 7vw, 104px), calc((100vw - 1100px) / 2));
  border-bottom: 4px solid var(--line);
  background: var(--content-surface);
}

.subpage-hero > div {
  min-width: 0;
}

.subpage-hero h1 {
  max-width: 10ch;
  margin: 0;
  font-size: 4rem;
  line-height: 1.08;
}

.subpage-hero p:not(.eyebrow) {
  max-width: 48ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.82;
}

.subpage-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  image-rendering: pixelated;
}

.subpage-content.media-page {
  background: var(--paper);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--nav-green);
  font-weight: 900;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--pink);
  outline: none;
}

.faq-list {
  display: grid;
  gap: 34px;
  max-width: 760px;
  margin-inline: auto;
  border: 0;
}

.faq-list article {
  padding: 0;
  border: 0;
}

.faq-list h3 {
  margin: 0;
}

.faq-list article p {
  max-width: 56ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.faq-contribution {
  max-width: 720px;
  margin: 70px auto 0;
  border: 0;
  background: transparent;
}

.faq-contribution-copy {
  padding: 0;
  border: 0;
}

.faq-contribution-copy h2 {
  margin: 0;
  font-size: 2rem;
}

.faq-contribution-copy p {
  max-width: 48ch;
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.mailbox-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--ink);
}

.mailbox-mark svg,
.faq-submit svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mailbox-mark svg {
  width: 34px;
  height: 34px;
}

.faq-submission-form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
  padding: 0;
}

.form-field {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 700;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid transparent;
  border-radius: 4px;
  background: rgba(157, 223, 206, 0.16);
  color: var(--ink);
  font: inherit;
  transition:
    background-color 160ms ease,
    box-shadow 160ms ease;
}

.form-field input {
  min-height: 46px;
  padding: 10px 13px;
}

.form-field textarea {
  min-height: 104px;
  padding: 12px 13px;
  line-height: 1.65;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: transparent;
  background: var(--content-panel);
  box-shadow: 0 0 0 2px rgba(165, 79, 114, 0.24);
  outline: none;
}

.faq-submit {
  justify-self: start;
  gap: 0;
  min-width: 132px;
  min-height: 44px;
  border: 0;
  background: var(--brand-mint);
  box-shadow: none;
}

.faq-submit:hover,
.faq-submit:focus-visible {
  transform: none;
  background: var(--paper-strong);
  box-shadow: none;
}

.faq-submit svg {
  width: 20px;
  height: 20px;
}

.subpage-content.faq-page,
body[data-page="faq.html"] .subpage-hero {
  border: 0;
}

.home-directory-section,
.subpage-content {
  border-color: var(--content-border);
  background: var(--content-surface);
}

.hero,
.subpage-hero {
  border-block: 2px solid var(--content-border);
  background: var(--content-surface);
}

.subpage-content {
  border-bottom: 2px solid var(--content-border);
}

.page-directory,
.product-directory,
.feature-grid,
.note-list,
.showcase {
  border: 1px solid var(--content-border);
  background: var(--content-panel);
}

.page-directory {
  padding-inline: 18px;
}

.product-directory {
  padding-inline: 18px;
}

.feature-grid {
  padding: 22px;
}

.note-list {
  padding-inline: 20px;
}

.showcase {
  padding: 18px;
}

.media-page .section-heading {
  margin-bottom: 20px;
}

.media-page .section-heading h2 {
  font-size: 1.8rem;
}

.media-video-section {
  width: min(100%, 920px);
  margin: 0 auto 68px;
}

.media-player {
  display: block;
  width: 100%;
  aspect-ratio: 11 / 7;
  border: 1px solid rgba(75, 118, 95, 0.55);
  background: var(--ink);
  object-fit: contain;
}

.media-player-main {
  display: grid;
  place-items: center;
  min-height: calc(100svh - 102px);
  padding: clamp(16px, 3vw, 38px);
  background: #dfeee9;
}

.media-player-direct {
  width: min(100%, 1180px);
  max-height: calc(100svh - 142px);
  border: 4px solid #315f52;
  background: #173c31;
  box-shadow:
    0 8px 0 rgba(49, 95, 82, 0.24),
    inset 0 0 0 1px rgba(247, 251, 248, 0.32);
}

@media (max-width: 620px) {
  .media-player-main {
    align-content: start;
    padding-top: 20px;
  }
}

/* The shop uses one material language: the same pale pixel wood everywhere. */
body[data-page="shop.html"] {
  --shop-wood-edge: #9b6849;
  --shop-wood-line: #c58d63;
  --shop-wood-ink: #5f4938;
  --shop-wood-pink: #dc93aa;
  --shop-wood:
    repeating-linear-gradient(
      0deg,
      #f3d2a8 0 5px,
      #edc395 5px 7px,
      #f7dbb5 7px 14px,
      #e8b884 14px 16px
    );
  --shop-wood-soft:
    repeating-linear-gradient(
      0deg,
      #f9e7cb 0 6px,
      #f5ddbb 6px 8px,
      #fcebd1 8px 15px,
      #efd0a7 15px 17px
    );
  color: var(--shop-wood-ink);
  background: var(--shop-wood-soft);
}

body[data-page="shop.html"] .site-header {
  border-bottom-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.32) inset,
    0 -3px 0 rgba(111, 72, 47, 0.16) inset;
}

body[data-page="shop.html"] .site-nav a:hover,
body[data-page="shop.html"] .site-nav a:focus-visible,
body[data-page="shop.html"] .site-nav a[aria-current="page"],
body[data-page="shop.html"] .social-links a:hover,
body[data-page="shop.html"] .social-links a:focus-visible {
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .shop-header h1 {
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .cart-button {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow:
    2px 2px 0 #d8a97f,
    inset 0 0 0 1px #fbe8c9;
}

body[data-page="shop.html"] .cart-button output {
  background: #fff0d2;
  box-shadow: inset 0 0 0 2px #c59168;
}

body[data-page="shop.html"] .cart-button:hover,
body[data-page="shop.html"] .cart-button:focus-visible {
  border-color: #8f5b42;
  background: var(--shop-wood-soft);
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .market-showroom {
  border-color: var(--shop-wood-edge);
  box-shadow:
    0 0 0 3px #f3d3a7,
    4px 6px 0 rgba(126, 84, 55, 0.15);
}

body[data-page="shop.html"] .market-showroom .market-product,
body[data-page="shop.html"] .market-showroom .market-product-cold {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood-soft);
  color: var(--shop-wood-ink);
  box-shadow:
    3px 3px 0 rgba(174, 114, 78, 0.44),
    inset 0 0 0 1px #f7d7ad;
}

body[data-page="shop.html"] .market-showroom .market-product::before {
  border-color: var(--shop-wood-line);
  background: #f9e6c5;
}

body[data-page="shop.html"] .market-showroom .market-product:hover,
body[data-page="shop.html"] .market-showroom .market-product:focus-visible {
  border-color: #8f5b42;
  box-shadow:
    3px 5px 0 #d99baa,
    0 0 0 2px #f7d7ad;
}

body[data-page="shop.html"] .market-showroom .market-product img {
  border-color: #c28e68;
}

body[data-page="shop.html"] .market-showroom .market-product-meta strong {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood-soft);
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .market-showroom .market-product-meta small {
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .market-showroom .market-add-icon {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow: 2px 2px 0 rgba(126, 84, 55, 0.2);
}

body[data-page="shop.html"] .product-detail-modal {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood-soft);
  box-shadow:
    0 0 0 3px #efc99b,
    6px 8px 0 rgba(126, 84, 55, 0.16);
}

body[data-page="shop.html"] .product-model-stage {
  background: var(--shop-wood-soft);
}

body[data-page="shop.html"] .product-detail-copy {
  border-left-color: var(--shop-wood-line);
  background: var(--shop-wood-soft);
}

body[data-page="shop.html"] .product-detail-copy h2,
body[data-page="shop.html"] .product-detail-action > strong {
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .product-detail-kicker,
body[data-page="shop.html"] .product-detail-status {
  color: #9c6a4d;
}

body[data-page="shop.html"] .product-detail-facts > div,
body[data-page="shop.html"] .cart-item {
  border-color: #d7ad85;
}

body[data-page="shop.html"] .product-detail-close,
body[data-page="shop.html"] .product-detail-action button,
body[data-page="shop.html"] .cart-quantity button,
body[data-page="shop.html"] .cart-summary button {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow: 2px 2px 0 rgba(164, 94, 116, 0.25);
}

body[data-page="shop.html"] .product-detail-action button:hover,
body[data-page="shop.html"] .product-detail-action button:focus-visible {
  border-color: #8f5b42;
  background: var(--shop-wood-soft);
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .cart-drawer {
  border-left-color: var(--shop-wood-edge);
  background: #fff7e8;
  color: var(--shop-wood-ink);
  box-shadow:
    -3px 0 0 #edc598,
    -6px 0 0 #c38b62;
}

body[data-page="shop.html"] .cart-drawer-header,
body[data-page="shop.html"] .cart-summary {
  border-color: var(--shop-wood-line);
  background: var(--shop-wood-soft);
}

body[data-page="shop.html"] .cart-item > img {
  border-color: var(--shop-wood-line);
  background: #f8e0be;
}

body[data-page="shop.html"] .site-footer {
  border-top-color: var(--shop-wood-line);
  background: var(--shop-wood-soft);
  color: var(--shop-wood-ink);
}

.media-page .showcase {
  position: relative;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
}

.media-page .scene {
  overflow: hidden;
  border: 0;
  background: rgba(157, 223, 206, 0.14);
  box-shadow: none;
}

.media-page .scene.is-active {
  display: grid;
  grid-template-columns: minmax(0, 1.85fr) minmax(230px, 0.65fr);
}

.media-page .scene img {
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.media-page .scene figcaption {
  justify-content: center;
  padding: clamp(24px, 4vw, 38px);
  background: rgba(157, 223, 206, 0.12);
}

.media-page .scene figcaption strong {
  font-size: 1.5rem;
}

.media-page .carousel-control {
  position: absolute;
  z-index: 2;
  top: 50%;
  width: 42px;
  height: 42px;
  border: 0;
  background: rgba(247, 251, 248, 0.9);
  box-shadow: none;
  transform: translateY(-50%);
}

.media-page .carousel-control.prev {
  left: 12px;
}

.media-page .carousel-control.next {
  right: auto;
  left: calc(74% - 54px);
}

.media-page .carousel-control::before {
  color: var(--ink);
  font-size: 1.7rem;
  font-weight: 600;
}

.media-page .carousel-control.prev::before {
  content: "‹";
}

.media-page .carousel-control.next::before {
  content: "›";
}

.media-page .carousel-control:hover,
.media-page .carousel-control:focus-visible {
  background: var(--brand-mint);
  color: var(--pink);
}

.media-page .scene-dots {
  gap: 8px;
  margin-top: 14px;
}

.media-page .scene-dots button {
  width: 28px;
  height: 3px;
  border: 0;
  background: rgba(75, 118, 95, 0.28);
}

.media-page .scene-dots button[aria-current="true"] {
  background: var(--pink);
}

.page-directory a,
.product-entry,
.feature-grid article,
.note-list article {
  border-color: rgba(75, 118, 95, 0.35);
}

@media (max-width: 820px) {
  .market-room {
    grid-template-columns: minmax(230px, 0.72fr) minmax(0, 1.28fr);
    gap: 20px;
    min-height: 540px;
    padding-inline: 18px;
  }

  .market-shelf-body {
    padding-inline: 18px;
  }

  .market-shelf-tier {
    padding-inline: 10px;
  }

  .shelf-prop-jar,
  .shelf-prop-box-small {
    display: none;
  }

  .library-list {
    grid-template-columns: 1fr;
  }

  .forum-columns {
    display: none;
  }

  .forum-row {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 7px 14px;
    min-height: 96px;
    padding-block: 16px;
  }

  .forum-topic {
    grid-column: 1 / -1;
  }

  .forum-author {
    grid-column: 1;
  }

  .forum-created {
    grid-column: 2;
  }

  .forum-reply-count {
    grid-column: 3;
  }

  .forum-reply-count::after {
    content: " 回复";
  }

  .forum-updated {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .social-links {
    gap: 6px;
    margin-left: auto;
  }

  .social-links a,
  .social-links .social-placeholder {
    width: 36px;
    height: 36px;
  }

  .social-links svg {
    width: 19px;
    height: 19px;
  }

  .site-nav {
    position: absolute;
    top: 72px;
    right: 16px;
    left: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    border: 4px solid var(--line);
    background: var(--brand-mint);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    text-align: left;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .page-directory,
  .subpage-hero {
    grid-template-columns: 1fr;
  }

  .subpage-hero {
    min-height: auto;
    padding: 48px clamp(16px, 5vw, 36px);
  }

  .subpage-hero h1 {
    max-width: 12ch;
    font-size: 3.2rem;
  }

  h1 {
    max-width: 11ch;
    font-size: clamp(2.7rem, 12vw, 4.4rem);
  }

  .intro-grid,
  .feature-grid,
  .note-list {
    grid-template-columns: 1fr;
  }

  .faq-contribution-copy {
    padding-inline: 22px;
  }

  .feature-grid article {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .product-entry {
    grid-template-columns: 88px minmax(0, 1fr) 32px;
    gap: 14px;
    padding-inline: 4px;
  }

  .product-thumbnail {
    width: 88px;
    height: 64px;
  }

  .product-copy strong {
    font-size: 1.35rem;
  }

  .creative-store-entry {
    grid-template-columns: 96px minmax(0, 1fr) 32px;
    gap: 18px;
  }

  .creative-store-placeholder {
    width: 88px;
    height: 88px;
  }

  .scene.is-active {
    grid-template-columns: 1fr;
  }

  .scene img {
    min-height: 220px;
  }
}

@media (max-width: 620px) {
  .shop-main {
    width: min(100% - 20px, 1180px);
    padding-top: 28px;
  }

  .shop-header {
    align-items: flex-start;
    margin-bottom: 16px;
  }

  .shop-header h1 {
    font-size: 1.9rem;
  }

  .shop-status {
    max-width: 22ch;
    font-size: 0.78rem;
  }

  .cart-button {
    gap: 6px;
    min-height: 40px;
    padding: 7px 9px;
  }

  .cart-button > span {
    display: none;
  }

  .market-room {
    grid-template-columns: 1fr;
    gap: 78px;
    min-height: 0;
    padding: 86px 18px 90px;
  }

  .market-fridge {
    width: min(86%, 320px);
    margin-inline: auto;
  }

  .market-fridge-body {
    min-height: 390px;
  }

  .market-display {
    width: 100%;
  }

  .market-shelf-body {
    min-height: 0;
    padding: 24px 14px 18px;
  }

  .market-shelf-tier {
    gap: 10px;
    padding: 10px 8px 16px;
  }

  .market-product {
    width: min(210px, 62%);
    min-width: 144px;
  }

  .shelf-prop-bottle {
    width: 28px;
    height: 58px;
  }

  .shelf-prop-box {
    width: 42px;
    height: 60px;
  }

  .shelf-prop-tote {
    width: 50px;
    height: 48px;
  }

  .shelf-prop-stack {
    width: 46px;
  }

  .product-detail-modal {
    inset: 0;
    grid-template-columns: 1fr;
    grid-template-rows: minmax(300px, 44dvh) minmax(0, 1fr);
    width: 100%;
    height: 100dvh;
    border: 0;
    transform: none;
  }

  .product-detail-copy {
    padding: 28px 20px 22px;
    border-top: 1px solid rgba(75, 118, 95, 0.35);
    border-left: 0;
  }

  .product-detail-close {
    top: 10px;
    right: 10px;
  }

  .product-detail-copy h2 {
    font-size: 1.8rem;
  }

  .product-detail-description {
    margin-top: 12px;
  }

  .product-detail-facts {
    margin-top: 18px;
  }

  .product-detail-action {
    padding-top: 24px;
  }

  .journal-main,
  .library-main,
  .content-detail-main {
    width: min(100% - 28px, 1100px);
    padding-top: 40px;
  }

  .content-page-header {
    margin-bottom: 22px;
  }

  .content-page-header h1,
  .content-detail h1 {
    font-size: 2rem;
  }

  .journal-entry,
  .library-entry {
    grid-template-columns: 1fr;
    height: auto;
  }

  .journal-entry img,
  .library-entry img {
    height: 190px;
    min-height: 190px;
  }

  .journal-entry-copy,
  .library-entry-copy {
    padding: 20px;
  }

  .journal-entry-copy strong,
  .library-entry-copy strong {
    font-size: 1.25rem;
  }

  .forum-main,
  .forum-post-main {
    width: min(100% - 28px, 1100px);
  }

  .forum-main {
    padding-top: 40px;
  }

  .forum-page-header {
    margin-bottom: 22px;
  }

  .forum-page-header h1,
  .forum-post-header h1 {
    font-size: 2rem;
  }

  .forum-row {
    padding-inline: 12px;
  }

  .site-header {
    min-height: 64px;
    padding-inline: 12px;
  }

  .site-nav {
    top: 64px;
  }

  .hero {
    padding-top: 30px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .faq-submit {
    justify-self: start;
    width: auto;
  }

  .home-directory-section,
  .subpage-content {
    padding-block: 50px;
  }

  .home-hero {
    min-height: 360px;
    height: 62vw;
  }

  .home-hero-copy {
    width: min(92vw, 520px);
    padding: 18px;
    transform: translateY(-10px);
  }

  .home-centered-logo {
    width: clamp(200px, 58vw, 240px);
    margin-bottom: 10px;
  }

  .home-hero-copy h1 {
    font-size: clamp(2.1rem, 9vw, 2.7rem);
  }

  .home-story {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
    row-gap: 16px;
    height: auto;
    overflow: visible;
  }

  .home-story:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .home-story:nth-child(3n + 2) {
    height: auto;
  }

  .home-story:nth-child(even) .home-story-image {
    order: 0;
  }

  .home-story:nth-child(3n + 3) {
    grid-template-columns: 1fr;
    grid-template-rows: 210px auto;
    height: auto;
  }

  .home-story:nth-child(6n) {
    grid-template-columns: 1fr;
  }

  .home-story:nth-child(3n + 3) .home-story-image {
    height: 210px;
  }

  .home-story-image {
    height: 210px;
  }

  .home-story-copy {
    padding: 0 4px 4px;
  }

  .page-directory a {
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
  }

  .page-directory img {
    width: 112px;
  }

  .subpage-hero h1 {
    font-size: 2.7rem;
  }

  .feature-grid article,
  .note-list article {
    grid-template-columns: 1fr;
  }

  .creative-store-entry {
    grid-template-columns: 72px minmax(0, 1fr) 28px;
    padding: 16px;
  }

  .creative-store-placeholder {
    width: 64px;
    height: 64px;
  }

  .showcase {
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: 8px;
  }

  .carousel-control {
    width: 44px;
    height: 44px;
  }

  .scene figcaption {
    padding: 18px;
  }

}

@media (max-width: 460px) {
  .site-header {
    gap: 8px;
  }

  .social-links {
    gap: 4px;
  }

  .social-links a,
  .social-links .social-placeholder {
    width: 32px;
    height: 32px;
    border-width: 2px;
    box-shadow: 0 2px 0 var(--line);
  }

  .social-links svg {
    width: 17px;
    height: 17px;
  }

  .menu-button {
    width: 38px;
    height: 38px;
  }
}

@media (max-width: 360px) {
  .social-links a,
  .social-links .social-placeholder {
    width: 28px;
    height: 28px;
  }

  .social-links svg {
    width: 15px;
    height: 15px;
  }

  .menu-button {
    width: 34px;
    height: 34px;
  }
}

body,
button,
input,
textarea {
  font-family: "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}

body,
p,
small,
time,
figcaption,
.site-nav a,
.button,
.eyebrow,
.section-lead,
.product-kicker,
.subpage-hero p:not(.eyebrow),
.page-directory small {
  font-size: 1rem;
}

h1,
.subpage-hero h1 {
  max-width: 12ch;
  color: var(--ink);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.12;
}

h2,
h3,
.page-directory strong,
.product-copy strong,
.scene figcaption strong,
.faq-list h3 {
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.3;
}

p,
small,
time,
figcaption,
.eyebrow,
.section-lead,
.product-kicker,
.page-directory small {
  color: var(--muted);
}

.eyebrow,
.product-kicker,
.note-list time {
  font-weight: 700;
  text-transform: none;
}

.site-nav a,
.social-links a,
.social-links .social-placeholder,
.text-link,
.product-arrow {
  color: var(--ink);
}

@media (max-width: 620px) {
  h1,
  .subpage-hero h1 {
    font-size: 2.4rem;
  }

  h2,
  h3,
  .page-directory strong,
  .product-copy strong,
  .scene figcaption strong,
  .faq-list h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 820px) {
  .media-page .scene.is-active {
    grid-template-columns: 1fr;
  }

  .media-page .scene img {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .media-page .carousel-control {
    top: clamp(100px, 28vw, 190px);
  }
}

@media (max-width: 620px) {
  .media-page .section-heading {
    margin-bottom: 14px;
  }

  .media-page .section-heading h2 {
    font-size: 1.5rem;
  }

  .media-video-section {
    margin-bottom: 50px;
  }

  .media-page .scene figcaption {
    padding: 18px 20px 20px;
  }

  .media-page .scene figcaption strong {
    font-size: 1.3rem;
  }

  .media-page .carousel-control {
    width: 38px;
    height: 38px;
  }

  .media-page .carousel-control.prev {
    left: 8px;
  }

  .media-page .carousel-control.next {
    right: 8px;
    left: auto;
  }
}

.faq-page .faq-list {
  width: min(100%, 820px);
  max-width: none;
  margin-inline: 0 auto;
  gap: 30px;
}

.faq-page .faq-list article {
  display: grid;
  grid-template-columns: minmax(190px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: start;
}

.faq-page .faq-list h3 {
  font-size: 1.2rem;
  line-height: 1.45;
}

.faq-page .faq-list article p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.75;
}

.faq-page .faq-contribution {
  width: min(100%, 820px);
  max-width: none;
  margin: 64px auto 0 0;
}

.faq-page .faq-contribution-copy {
  padding-inline: 0;
}

.faq-page .faq-contribution-copy h2 {
  font-size: 1.55rem;
  line-height: 1.35;
}

.faq-page .faq-contribution-copy p {
  margin-top: 8px;
  font-size: 1rem;
}

.faq-page .form-field {
  font-size: 0.92rem;
  font-weight: 600;
}

.subpage-content.faq-page {
  padding-inline: max(clamp(16px, 7vw, 104px), calc((100vw - 1100px) / 2));
}

@media (max-width: 820px) {
  .subpage-content.faq-page {
    padding-inline: clamp(16px, 5vw, 36px);
  }
}

@media (max-width: 620px) {
  .faq-page .faq-list {
    gap: 28px;
  }

  .faq-page .faq-list article {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .faq-page .faq-list h3 {
    font-size: 1.15rem;
  }

  .faq-page .faq-contribution {
    margin-top: 54px;
  }

  .faq-page .faq-contribution-copy h2 {
    font-size: 1.4rem;
  }
}

.wiki-index-main {
  width: min(900px, calc(100% - 40px));
  padding-block: clamp(40px, 5vw, 56px);
}

.wiki-index-header {
  margin-bottom: 18px;
}

.wiki-index-tools {
  margin-bottom: 20px;
}

.wiki-search {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 54px;
  padding: 0 15px;
  border: 2px solid rgba(75, 118, 95, 0.55);
  background: var(--content-panel);
  transition:
    border-color 150ms ease,
    background-color 150ms ease;
}

.wiki-search:focus-within {
  border-color: var(--pink);
  background: var(--paper-strong);
}

.wiki-search svg {
  flex: 0 0 auto;
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--brand-mint-deep);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.wiki-search input {
  width: 100%;
  min-width: 0;
  height: 50px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1.02rem;
}

.wiki-search input::placeholder {
  color: var(--muted);
  opacity: 0.78;
}

.wiki-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 12px;
}

.wiki-filter-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.wiki-filter-tags button {
  min-height: 32px;
  padding: 5px 11px;
  border: 1px solid rgba(75, 118, 95, 0.45);
  border-radius: 16px;
  background: transparent;
  color: var(--brand-mint-deep);
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
}

.wiki-filter-tags button:hover,
.wiki-filter-tags button:focus-visible {
  border-color: var(--pink);
  color: var(--pink);
  outline: none;
}

.wiki-filter-tags button[aria-pressed="true"] {
  border-color: var(--brand-mint-deep);
  background: var(--brand-mint);
  color: var(--ink);
}

.wiki-search-status {
  flex: none;
  color: var(--muted);
  font-size: 0.78rem;
  white-space: nowrap;
}

.wiki-index-list {
  grid-template-columns: 1fr;
  gap: 0;
  max-height: min(66vh, 660px);
  overflow-y: auto;
  border-block: 1px solid rgba(75, 118, 95, 0.45);
  scrollbar-color: var(--brand-mint-deep) rgba(157, 223, 206, 0.16);
  scrollbar-width: thin;
}

.wiki-index-list .library-entry,
.wiki-index-list .library-entry:nth-child(n) {
  position: relative;
  grid-template-columns: 66px minmax(0, 1fr) 32px;
  align-items: center;
  gap: 18px;
  width: 100%;
  height: auto;
  min-height: 94px;
  padding: 16px;
  border-bottom: 1px solid rgba(75, 118, 95, 0.28);
  background: transparent;
  scroll-snap-align: start;
  transition:
    color 150ms ease,
    background-color 150ms ease;
}

.wiki-index-list .library-entry:nth-child(4n + 1) {
  background: rgba(157, 223, 206, 0.1);
}

.wiki-index-list .library-entry:nth-child(4n + 2) {
  background: rgba(244, 199, 210, 0.1);
}

.wiki-index-list .library-entry:nth-child(4n + 3) {
  background: rgba(248, 207, 106, 0.09);
}

.wiki-index-list .library-entry:nth-child(4n) {
  background: rgba(91, 174, 199, 0.07);
}

.wiki-index-list .library-entry:last-child {
  border-bottom: 0;
}

.wiki-index-list .library-entry[hidden] {
  display: none;
}

.wiki-index-list .library-entry:hover,
.wiki-index-list .library-entry:focus-visible {
  background: rgba(157, 223, 206, 0.24);
}

.wiki-entry-icon {
  display: block;
  width: 62px;
  height: 62px;
  overflow: hidden;
  border: 3px solid #4b765f;
  border-radius: 4px;
  background: #fff8e8;
  box-shadow: 3px 3px 0 rgba(75, 118, 95, 0.2);
  transition:
    box-shadow 150ms ease,
    transform 150ms ease;
}

.wiki-entry-icon img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
}

.wiki-entry-icon-contain img {
  padding: 5px;
  background: #fff0be;
  object-fit: contain;
}

.wiki-index-list .library-entry:hover .wiki-entry-icon,
.wiki-index-list .library-entry:focus-visible .wiki-entry-icon {
  box-shadow: 4px 5px 0 rgba(182, 87, 117, 0.2);
  transform: translateY(-2px);
}

.wiki-index-list .library-entry-copy {
  grid-column: 2;
  grid-row: 1;
  justify-content: center;
  padding: 0;
}

.wiki-index-list .library-entry-copy strong {
  font-size: 1.22rem;
}

.wiki-index-list .library-facts {
  margin-top: 5px;
  font-size: 0.86rem;
}

.wiki-entry-arrow {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(157, 223, 206, 0.22);
  color: var(--brand-mint-deep);
  font-size: 1.05rem;
  transition:
    background-color 150ms ease,
    color 150ms ease,
    transform 150ms ease;
}

.wiki-index-list .library-entry:hover .wiki-entry-arrow,
.wiki-index-list .library-entry:focus-visible .wiki-entry-arrow {
  background: #f7dce3;
  color: var(--pink);
  transform: translateX(3px);
}

@media (max-width: 620px) {
  .wiki-index-main {
    width: min(100% - 28px, 900px);
    padding-block: 30px;
  }

  .wiki-filter-row {
    align-items: flex-end;
  }

  .wiki-search-status {
    display: none;
  }

  .wiki-index-list {
    max-height: calc(100svh - 300px);
    min-height: 340px;
  }

  .wiki-index-list .library-entry,
  .wiki-index-list .library-entry:nth-child(n) {
    grid-template-columns: 50px minmax(0, 1fr) 24px;
    gap: 12px;
    min-height: 74px;
    padding: 12px;
  }

  .wiki-entry-icon {
    width: 50px;
    height: 50px;
  }

  .wiki-index-list .library-entry-copy strong {
    font-size: 1.08rem;
  }

  .wiki-index-list .library-facts {
    font-size: 0.78rem;
  }
}

.blog-post-page .content-detail-body {
  padding: 28px 0 0;
  background: transparent;
}

.zhongzhong-blog {
  width: min(980px, calc(100% - 40px));
  padding-top: clamp(38px, 6vw, 62px);
}

.journal-letter-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 34px;
}

.journal-letter-heading h1 {
  margin-bottom: 8px;
}

.journal-letter-heading p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.letter-receive-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 8px 12px;
  border: 2px solid #518071;
  border-radius: 4px;
  background: #d9efe8;
  color: #244e44;
  font: inherit;
  font-size: 0.86rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 3px 3px 0 rgba(67, 112, 96, 0.18);
}

.letter-receive-button:hover,
.letter-receive-button:focus-visible {
  border-color: #c76f91;
  background: #f8d7e2;
  color: #9f4e70;
  outline: 0;
}

.letter-receive-button:disabled {
  cursor: default;
  opacity: 1;
}

.letter-receive-icon {
  position: relative;
  width: 21px;
  height: 15px;
  border: 2px solid currentColor;
  background: #fffdf4;
}

.letter-receive-icon::after {
  position: absolute;
  top: 1px;
  left: 3px;
  width: 9px;
  height: 9px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  content: "";
  transform: rotate(45deg);
}

.letter-receive-button output {
  display: grid;
  place-items: center;
  min-width: 20px;
  height: 20px;
  padding-inline: 4px;
  border: 2px solid #b75f82;
  background: #e99fba;
  color: #fff;
  font-size: 0.72rem;
  line-height: 1;
}

.letter-receive-button.is-complete {
  border-color: #79a796;
  background: #eef8f3;
}

.letter-receive-button.is-complete output {
  display: none;
}

.letter-receive-button.is-receiving .letter-receive-icon {
  animation: letter-box-ring 420ms steps(2, end) 2;
}

.zhongzhong-blog .journal-entry.is-arriving {
  animation: letter-arrive 560ms cubic-bezier(0.2, 0.78, 0.24, 1) both;
}

@keyframes letter-box-ring {
  0%,
  100% {
    transform: rotate(0);
  }

  35% {
    transform: rotate(-7deg) translateY(-2px);
  }

  70% {
    transform: rotate(7deg) translateY(-2px);
  }
}

@keyframes letter-arrive {
  from {
    opacity: 0.35;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.zhongzhong-blog .journal-feed {
  display: grid;
  gap: clamp(74px, 9vw, 118px);
}

.zhongzhong-blog .journal-entry {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  height: auto;
  overflow: visible;
  background: transparent;
}

.zhongzhong-blog .journal-entry:hover,
.zhongzhong-blog .journal-entry:focus-visible {
  background: transparent;
}

.zhongzhong-blog .journal-entry > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  transition:
    filter 180ms ease,
    transform 180ms ease;
}

.zhongzhong-blog .journal-entry-copy {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 8px;
  padding: 26px 30px;
  border: 0;
  background: #f7fbf8;
}

.zhongzhong-blog .journal-entry:nth-child(1) > img {
  width: 88%;
  aspect-ratio: 16 / 7;
}

.zhongzhong-blog .journal-entry:nth-child(1) .journal-entry-copy {
  width: 62%;
  margin: -56px 3% 0 auto;
  border-left: 4px solid var(--brand-mint-deep);
}

.zhongzhong-blog .journal-entry:nth-child(2) {
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  width: 92%;
  margin-left: auto;
}

.zhongzhong-blog .journal-entry:nth-child(2) > img {
  grid-column: 1;
  grid-row: 1;
  height: 100%;
  min-height: 380px;
  aspect-ratio: 4 / 3;
}

.zhongzhong-blog .journal-entry:nth-child(2) .journal-entry-copy {
  grid-column: 2;
  grid-row: 1;
  margin: 0 0 34px -38px;
  border-top: 4px solid #d890a3;
  background: #fff1c8;
}

.zhongzhong-blog .journal-entry:nth-child(3) {
  grid-template-columns: minmax(260px, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  width: 84%;
  margin-left: 5%;
}

.zhongzhong-blog .journal-entry:nth-child(3) > img {
  grid-column: 2;
  grid-row: 1;
  aspect-ratio: 4 / 3;
}

.zhongzhong-blog .journal-entry:nth-child(3) .journal-entry-copy {
  grid-column: 1;
  grid-row: 1;
  margin-right: -28px;
  border-bottom: 4px solid #e4bd58;
  background: #d9efe8;
}

.zhongzhong-blog .journal-entry:hover > img,
.zhongzhong-blog .journal-entry:focus-visible > img {
  filter: saturate(1.05);
  transform: translateY(-4px);
}

.journal-letter-mark {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--brand-mint-deep);
  font-size: 0.8rem;
  font-weight: 700;
  white-space: nowrap;
}

.journal-letter-mark svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.journal-letter-copy {
  display: grid;
  min-width: 0;
}

.journal-letter-copy .entry-meta {
  margin-bottom: 6px;
}

.journal-letter-copy strong {
  font-size: 1.4rem;
}

.journal-letter-copy .entry-summary {
  max-width: 46ch;
  margin-top: 8px;
}

.journal-open {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  margin-top: 7px;
  padding-top: 2px;
  color: var(--brand-mint-deep);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.zhongzhong-blog .journal-entry:hover .journal-open,
.zhongzhong-blog .journal-entry:focus-visible .journal-open {
  color: var(--pink);
}

.blog-letter-detail {
  max-width: 860px;
}

.blog-letter-detail header {
  margin-bottom: 26px;
}

.blog-letter-detail .entry-meta {
  color: var(--brand-mint-deep);
  font-weight: 700;
}

.blog-letter-detail > img {
  max-height: none;
  aspect-ratio: 16 / 9;
}

.blog-letter-detail .content-detail-body {
  width: min(100%, 680px);
  margin-inline: auto;
  padding-top: 32px;
}

.blog-letter-detail .content-detail-body p {
  max-width: none;
  color: var(--ink);
  line-height: 1.9;
}

.blog-letter-detail .blog-signature {
  margin-top: 34px;
  color: var(--brand-mint-deep);
  font-weight: 800;
  text-align: right;
}

@media (max-width: 620px) {
  .zhongzhong-blog {
    width: min(100% - 28px, 980px);
    padding-top: 30px;
  }

  .journal-letter-header {
    align-items: flex-start;
    margin-bottom: 26px;
  }

  .letter-receive-button {
    min-height: 38px;
    padding: 7px 9px;
  }

  .zhongzhong-blog .journal-feed {
    gap: 58px;
  }

  .zhongzhong-blog .journal-entry,
  .zhongzhong-blog .journal-entry:nth-child(2),
  .zhongzhong-blog .journal-entry:nth-child(3) {
    grid-template-columns: 1fr;
    width: 100%;
    margin: 0;
  }

  .zhongzhong-blog .journal-entry:nth-child(1) > img,
  .zhongzhong-blog .journal-entry:nth-child(2) > img,
  .zhongzhong-blog .journal-entry:nth-child(3) > img {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: auto;
    min-height: 0;
    aspect-ratio: 16 / 10;
  }

  .zhongzhong-blog .journal-entry:nth-child(1) .journal-entry-copy,
  .zhongzhong-blog .journal-entry:nth-child(2) .journal-entry-copy,
  .zhongzhong-blog .journal-entry:nth-child(3) .journal-entry-copy {
    grid-column: 1;
    grid-row: 2;
    width: calc(100% - 18px);
    margin: -22px 0 0 auto;
    padding: 18px 17px;
  }

  .zhongzhong-blog .journal-entry > img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .zhongzhong-blog .journal-entry-copy {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .journal-letter-copy .entry-summary {
    font-size: 0.86rem;
  }

  .journal-open {
    margin-top: 4px;
  }

  .blog-letter-detail > img {
    min-height: 0;
    aspect-ratio: 16 / 10;
  }
}

.home-story-list {
  gap: clamp(54px, 7vw, 82px);
}

.home-story,
.home-story:nth-child(even),
.home-story:nth-child(3n + 3),
.home-story:nth-child(6n) {
  grid-template-columns: 1fr;
  grid-template-rows: auto auto;
  row-gap: 18px;
  height: auto;
  overflow: visible;
}

.home-story:nth-child(3n + 2) {
  height: auto;
}

.home-story:nth-child(even) .home-story-image,
.home-story:nth-child(6n) .home-story-image {
  order: 0;
}

.home-story-image,
.home-story:nth-child(3n + 3) .home-story-image {
  height: auto;
  aspect-ratio: 16 / 7;
}

.home-story-copy {
  display: grid;
  grid-template-columns: minmax(130px, 0.35fr) minmax(0, 1fr) auto;
  gap: clamp(20px, 4vw, 46px);
  align-items: start;
  padding: 18px 20px;
  border: 1px solid rgba(75, 118, 95, 0.48);
  background: var(--content-panel);
}

.home-story-copy h3,
.home-story-copy p,
.home-story-copy .text-link {
  margin: 0;
}

.home-story-copy p {
  max-width: 48ch;
}

@media (max-width: 620px) {
  .home-story-list {
    gap: 48px;
  }

  .home-story,
  .home-story:nth-child(even),
  .home-story:nth-child(3n + 3),
  .home-story:nth-child(6n) {
    grid-template-rows: auto auto;
    row-gap: 14px;
  }

  .home-story-image,
  .home-story:nth-child(3n + 3) .home-story-image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .home-story-copy {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 16px;
  }

  .home-story-copy .text-link {
    margin-top: 6px;
  }
}

.faq-index-main,
.faq-detail-main,
.faq-submit-main {
  width: min(1100px, calc(100% - 40px));
  min-height: calc(100vh - 102px);
  margin-inline: auto;
  padding: clamp(52px, 7vw, 82px) 0 76px;
}

.faq-index-header {
  margin-bottom: 38px;
}

.faq-index-header h1,
.faq-answer h1,
.faq-submit-main h1 {
  max-width: none;
  font-size: 2.5rem;
}

.faq-question-list {
  display: grid;
  gap: 6px;
  width: min(100%, 720px);
}

.faq-board {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  padding: 74px 9.5%;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.faq-board::before {
  position: absolute;
  z-index: 1;
  inset: 8% 5.5%;
  display: block;
  background: rgba(232, 246, 246, 0.78);
  content: "";
  pointer-events: none;
}

.faq-board::after {
  position: absolute;
  z-index: 3;
  inset: 0;
  background: url("assets/faq-pixel-frame.png") center / 100% 100% no-repeat;
  content: "";
  image-rendering: pixelated;
  pointer-events: none;
}

.faq-question-list,
.faq-submit-entry {
  position: relative;
  z-index: 2;
}

.faq-question-list details {
  min-width: 0;
}

.faq-question-list summary,
.faq-submit-entry {
  display: flex;
  align-items: baseline;
  min-height: 48px;
  padding: 10px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.45;
  list-style: none;
  text-decoration: none;
}

.faq-question-list summary::-webkit-details-marker {
  display: none;
}

.faq-question-list summary::marker {
  content: "";
}

.faq-question-list summary:hover,
.faq-question-list summary:focus-visible,
.faq-submit-entry:hover,
.faq-submit-entry:focus-visible {
  background: transparent;
  color: #c87591;
  outline: none;
}

.faq-question-list details[open] > summary {
  color: #c87591;
}

.faq-answer-copy {
  padding: 2px 12px 14px;
}

.faq-answer-copy p {
  max-width: 56ch;
  margin: 0;
  padding: 12px 14px;
  background: rgba(255, 247, 222, 0.9);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.75;
}

.faq-submit-entry {
  width: min(100%, 720px);
  max-width: 720px;
  margin-top: 10px;
  color: var(--brand-mint-deep);
}

.faq-answer {
  max-width: 760px;
}

.faq-answer h1 {
  line-height: 1.3;
}

.faq-answer p {
  max-width: 56ch;
  margin: 22px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.85;
}

.faq-submit-main > header,
.faq-submit-main .faq-submission-form {
  max-width: 720px;
}

.faq-submit-main .faq-submission-form {
  margin-top: 34px;
}

@media (max-width: 620px) {
  .faq-index-main,
  .faq-detail-main,
  .faq-submit-main {
    width: min(100% - 28px, 1100px);
    padding-top: 40px;
  }

  .faq-index-header {
    margin-bottom: 30px;
  }

  .faq-index-header h1,
  .faq-answer h1,
  .faq-submit-main h1 {
    font-size: 2rem;
  }

  .faq-question-list {
    gap: 4px;
  }

  .faq-board {
    min-height: 470px;
    padding: 58px 34px;
    background-position: center;
  }

  .faq-question-list summary,
  .faq-submit-entry {
    min-height: 46px;
    padding: 9px 10px;
    font-size: 1.1rem;
  }

  .faq-answer-copy {
    padding: 0 10px 12px;
  }

  .faq-answer-copy p {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .faq-submit-entry {
    margin-top: 8px;
  }
}

/* Pastel pixel shop: the product interactions stay HTML over a painted room. */
body[data-page="shop.html"] {
  background: #edf7f2;
}

body[data-page="shop.html"] .site-header {
  border-bottom-color: #73ad9c;
  background: #bfe6da;
  box-shadow:
    0 3px 0 rgba(255, 255, 255, 0.46) inset,
    0 -3px 0 rgba(88, 145, 127, 0.16) inset;
}

body[data-page="shop.html"] .site-nav a:hover,
body[data-page="shop.html"] .site-nav a:focus-visible,
body[data-page="shop.html"] .site-nav a[aria-current="page"] {
  color: #9d5670;
}

body[data-page="shop.html"] .shop-main {
  width: min(1240px, calc(100% - 40px));
  padding-top: clamp(28px, 4vw, 46px);
  padding-bottom: 52px;
}

body[data-page="shop.html"] .shop-header {
  margin-bottom: 18px;
}

body[data-page="shop.html"] .shop-header h1 {
  color: #38685a;
  font-size: clamp(1.9rem, 3.4vw, 2.55rem);
  text-shadow: none;
}

body[data-page="shop.html"] .cart-button {
  border: 2px solid #78a99a;
  border-radius: 0;
  background: #e2f3ed;
  box-shadow:
    2px 2px 0 #efd1d9,
    inset 0 0 0 1px #f7fffb;
}

body[data-page="shop.html"] .cart-button:hover,
body[data-page="shop.html"] .cart-button:focus-visible {
  border-color: #a8677e;
  background: #fff2c9;
  color: #8f4f67;
  transform: translate(-2px, -2px);
}

body[data-page="shop.html"] .cart-button output {
  border-radius: 0;
  background: #fff9e5;
  box-shadow: inset 0 0 0 2px #a9d6c8;
}

.market-showroom {
  aspect-ratio: 16 / 9;
  min-height: 0;
  overflow: hidden;
  border: 3px solid #78a99a;
  background: #e4f4ee;
  box-shadow:
    0 0 0 3px #f8edc7,
    4px 6px 0 rgba(126, 177, 160, 0.16);
}

.market-showroom::before,
.market-showroom::after,
.market-room::before {
  display: none;
}

.market-room {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 0;
  background:
    #eaf7f1 url("assets/shop-supermarket-pixel-pastel.png") center / cover no-repeat;
  image-rendering: pixelated;
}

.market-fridge,
.market-display {
  position: absolute;
  inset: 0;
  width: auto;
  margin: 0;
  padding: 0;
}

.market-fixture-sign,
.fridge-light,
.fridge-stock,
.fridge-handle,
.shelf-prop {
  display: none;
}

.market-fridge-body,
.market-shelf-body,
.market-shelf-tier,
.market-shelf-tier-bottom {
  position: static;
  display: block;
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.market-fridge-body::before {
  display: none;
}

.market-showroom .market-product,
.market-showroom .market-product-cold {
  position: absolute;
  z-index: 3;
  width: clamp(74px, 8.2vw, 94px);
  min-width: 0;
  margin: 0;
  padding: 12px 6px 6px;
  border: 2px solid #78a99a;
  background: #fff8dc;
  clip-path: polygon(
    5px 0,
    calc(100% - 5px) 0,
    calc(100% - 5px) 3px,
    100% 3px,
    100% calc(100% - 5px),
    calc(100% - 5px) calc(100% - 5px),
    calc(100% - 5px) 100%,
    5px 100%,
    5px calc(100% - 5px),
    0 calc(100% - 5px),
    0 5px,
    5px 5px
  );
  box-shadow:
    3px 3px 0 rgba(221, 163, 179, 0.66),
    inset 0 0 0 1px #f8eed0;
}

.market-showroom .market-product::before {
  position: absolute;
  top: 4px;
  left: 50%;
  width: 10px;
  height: 5px;
  border: 2px solid #9bc6b9;
  background: #edf7f2;
  content: "";
  transform: translateX(-50%);
}

.market-showroom [data-view-product="merch-01"] {
  top: 39%;
  left: 25%;
  transform: none;
}

.market-showroom [data-view-product="merch-02"] {
  top: 35%;
  left: 53%;
  transform: none;
}

.market-showroom [data-view-product="merch-03"] {
  top: 55%;
  left: 73%;
  transform: none;
}

.market-showroom .market-product:hover,
.market-showroom .market-product:focus-visible {
  border-color: #b65775;
  box-shadow:
    3px 5px 0 #efc6d1,
    0 0 0 2px #fff0ac;
  transform: translateY(-3px);
}

.market-showroom .market-product img {
  aspect-ratio: 1;
  border: 1px solid #b8dcd1;
  filter: saturate(0.78) brightness(1.08) contrast(0.96);
  image-rendering: pixelated;
}

.market-showroom .market-product-meta {
  display: block;
  padding: 5px 0 0;
  text-align: center;
}

.market-showroom .market-product-meta strong {
  position: absolute;
  bottom: calc(100% + 7px);
  left: 50%;
  width: max-content;
  max-width: 150px;
  padding: 4px 7px;
  border: 2px solid #7fae9f;
  background: #fff8dc;
  color: #3d6d5f;
  font-size: 0.66rem;
  line-height: 1.25;
  opacity: 0;
  pointer-events: none;
  text-overflow: unset;
  transform: translate(-50%, 3px);
  transition:
    opacity 130ms ease,
    transform 130ms ease;
  white-space: nowrap;
}

.market-showroom .market-product:hover .market-product-meta strong,
.market-showroom .market-product:focus-visible .market-product-meta strong {
  opacity: 1;
  transform: translate(-50%, 0);
}

.market-showroom .market-product-meta small {
  display: block;
  color: #a45a75;
  font-size: 0.66rem;
  font-weight: 800;
  line-height: 1.2;
}

.market-showroom .market-add-icon {
  top: -8px;
  right: -8px;
  width: 23px;
  height: 23px;
  border: 2px solid #6d9f90;
  background: #fff0a9;
  color: #477566;
  box-shadow: 2px 2px 0 #f2c5d1;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  transform: translateY(3px);
  transition:
    opacity 150ms ease,
    transform 150ms ease;
}

.market-showroom .market-add-icon svg {
  display: none;
}

.market-showroom .market-add-icon::before {
  content: "+";
}

.market-showroom .market-product:hover .market-add-icon,
.market-showroom .market-product:focus-visible .market-add-icon {
  opacity: 1;
  transform: translateY(0);
}

.product-detail-modal {
  border: 3px solid #78a99a;
  background: #fff9e8;
  box-shadow:
    0 0 0 3px #f6e9b9,
    6px 8px 0 rgba(111, 159, 144, 0.18);
}

.product-model-stage {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.35) 50%, transparent 50%) 0 0 / 24px 24px,
    #e1f4ed;
}

.product-model-stage::after {
  display: none;
}

.product-model-stage canvas {
  image-rendering: auto;
  filter: none;
}

.product-detail-copy {
  border-left: 2px solid #a9d3c7;
  background: #fff9e8;
}

.product-detail-close {
  border: 2px solid #d29aaa;
  background: #fff2f2;
  box-shadow: 2px 2px 0 #f4d69c;
}

.product-detail-kicker,
.product-detail-status {
  color: #599682;
}

.product-detail-copy h2,
.product-detail-action > strong {
  color: #355f53;
}

.product-detail-facts > div {
  border-bottom: 2px dotted #c7ddd4;
}

.product-detail-action button {
  border: 2px solid #6d9f90;
  border-radius: 0;
  background: #c8ecdf;
  box-shadow: 2px 2px 0 #f3cbd5;
}

.product-detail-action button:hover,
.product-detail-action button:focus-visible {
  border-color: #a8677e;
  background: #fff0b8;
}

.cart-backdrop,
.product-detail-backdrop {
  background: rgba(77, 116, 102, 0.28);
  backdrop-filter: none;
}

.cart-drawer {
  border-left: 3px solid #6d9f90;
  background: #f7fff9;
  box-shadow:
    -3px 0 0 #f6e8b7,
    -6px 0 0 #b7ded2;
}

.cart-drawer-header,
.cart-summary {
  border-color: #b9d8ce;
  background: #fff9e8;
}

.cart-item {
  border-bottom: 2px dotted #c7ddd4;
}

.cart-item > img {
  border: 3px solid #9fcbbd;
  background: #e3f5ee;
}

.cart-quantity button {
  border: 2px solid #a8d2c5;
  border-radius: 0;
  background: #e0f3ed;
}

.cart-summary button {
  border: 3px solid #9fc4b8;
  border-radius: 0;
  background: #d9eee7;
}

@media (max-width: 620px) {
  .market-showroom {
    aspect-ratio: auto;
    height: 460px;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-inline: contain;
    scrollbar-color: #4f7667 #d8f3e8;
    scrollbar-width: thin;
  }

  .market-room {
    width: 818px;
    height: 460px;
    background-size: 818px 460px;
  }

  .market-showroom .market-product,
  .market-showroom .market-product-cold {
    width: 82px;
  }

  body[data-page="shop.html"] .shop-main {
    width: min(100% - 28px, 1240px);
    padding-top: 28px;
  }

  body[data-page="shop.html"] .shop-header h1 {
    font-size: 1.8rem;
  }
}

/* Final shop material lock: keep later legacy rules from restoring mint and dark pink. */
body[data-page="shop.html"] {
  --shop-wood: #efc99a;
  --shop-wood-soft: #f9e8d0;
  background: var(--shop-wood-soft);
}

body[data-page="shop.html"] .site-header {
  border-bottom-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow: none;
}

body[data-page="shop.html"] .site-nav a:hover,
body[data-page="shop.html"] .site-nav a:focus-visible,
body[data-page="shop.html"] .site-nav a:active,
body[data-page="shop.html"] .site-nav a[aria-current="page"],
body[data-page="shop.html"] .social-links a:hover,
body[data-page="shop.html"] .social-links a:focus-visible,
body[data-page="shop.html"] .social-links a:active {
  color: var(--shop-wood-pink);
  text-shadow: none;
}

body[data-page="shop.html"] .shop-header h1 {
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .cart-button,
body[data-page="shop.html"] .market-showroom .market-product,
body[data-page="shop.html"] .market-showroom .market-product-cold,
body[data-page="shop.html"] .market-showroom .market-product-meta strong,
body[data-page="shop.html"] .market-showroom .market-add-icon,
body[data-page="shop.html"] .product-detail-close,
body[data-page="shop.html"] .product-detail-action button,
body[data-page="shop.html"] .cart-quantity button,
body[data-page="shop.html"] .cart-summary button {
  border-color: var(--shop-wood-edge);
  background: var(--shop-wood);
  color: var(--shop-wood-ink);
  box-shadow: none;
}

body[data-page="shop.html"] .cart-button:hover,
body[data-page="shop.html"] .cart-button:focus-visible,
body[data-page="shop.html"] .cart-button:active,
body[data-page="shop.html"] .product-detail-action button:hover,
body[data-page="shop.html"] .product-detail-action button:focus-visible,
body[data-page="shop.html"] .product-detail-action button:active {
  border-color: #8f5b42;
  background: var(--shop-wood-soft);
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .market-showroom {
  border-color: var(--shop-wood-edge);
  box-shadow: none;
}

body[data-page="shop.html"] .market-showroom .market-product-meta small {
  color: var(--shop-wood-pink);
}

body[data-page="shop.html"] .product-detail-modal,
body[data-page="shop.html"] .product-detail-copy,
body[data-page="shop.html"] .product-model-stage,
body[data-page="shop.html"] .cart-drawer-header,
body[data-page="shop.html"] .cart-summary,
body[data-page="shop.html"] .site-footer {
  border-color: var(--shop-wood-line);
  background: var(--shop-wood-soft);
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .cart-drawer {
  border-left-color: var(--shop-wood-edge);
  background: #fff7e8;
  color: var(--shop-wood-ink);
}

body[data-page="shop.html"] .market-room::after {
  position: absolute;
  z-index: 0;
  top: 18.5%;
  right: 2.5%;
  bottom: 26%;
  left: 46%;
  background: #cfe7f3;
  content: "";
  image-rendering: pixelated;
  mask: linear-gradient(
    to bottom,
    #000 0 27%,
    transparent 27% 36%,
    #000 36% 64%,
    transparent 64% 72%,
    #000 72% 100%
  );
  pointer-events: none;
}

body[data-page="shop.html"] .market-fridge,
body[data-page="shop.html"] .market-display {
  z-index: 1;
}

body[data-page="shop.html"] .market-showroom .market-product,
body[data-page="shop.html"] .market-showroom .market-product-cold {
  padding-top: 6px;
  clip-path: none;
  box-shadow: none;
}

body[data-page="shop.html"] .market-showroom .market-product::before,
body[data-page="shop.html"] .market-showroom .market-add-icon {
  display: none;
}

body[data-page="shop.html"] .cart-button svg,
body[data-page="shop.html"] .product-detail-action button svg {
  display: none;
}

body[data-page="shop.html"] .product-detail-modal,
body[data-page="shop.html"] .product-detail-close,
body[data-page="shop.html"] .product-detail-action button,
body[data-page="shop.html"] .cart-drawer,
body[data-page="shop.html"] .cart-quantity button,
body[data-page="shop.html"] .cart-summary button {
  box-shadow: none;
}

/* Shared garden artwork: homepage hero and the outer FAQ page background. */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

body[data-page="index.html"] .home-hero {
  height: min(56.28vw, calc(100svh - 118px));
  min-height: 470px;
  border-bottom: 0;
  background: #b9c8f1;
  isolation: isolate;
  perspective: 900px;
  perspective-origin: 50% 38%;
}

body[data-page="index.html"] .home-hero::after {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  display: block;
  height: clamp(100px, 16vw, 190px);
  background: linear-gradient(
    to bottom,
    rgba(247, 251, 248, 0) 0%,
    rgba(247, 251, 248, 0.28) 48%,
    #f7fbf8 100%
  );
  pointer-events: none;
}

body[data-page="index.html"] .home-hero-image {
  object-position: center center;
  transform:
    translate3d(0, var(--home-hero-shift, 0), 0)
    scale(var(--home-hero-scale, 1.08));
  transform-origin: 50% 24%;
  will-change: transform;
}

.home-depth-scene {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
}

.home-depth-layer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
  pointer-events: none;
  user-select: none;
  will-change: transform;
}

.home-depth-background {
  transform:
    translate3d(0, var(--home-bg-shift, 0), -100px)
    scale(var(--home-bg-scale, 1.14));
  transform-origin: 50% 38%;
}

.home-depth-characters {
  filter:
    drop-shadow(0 7px 0 rgba(48, 83, 65, 0.2))
    drop-shadow(0 15px 18px rgba(42, 63, 54, 0.18));
  transform:
    translate3d(0, var(--home-character-shift, 0), var(--home-character-depth, 65px))
    scale(var(--home-character-scale, 1));
  transform-origin: 50% 58%;
}

.home-depth-logo {
  position: absolute;
  z-index: 3;
  top: 4%;
  left: 50%;
  width: min(88vw, 1220px);
  max-width: none;
  height: auto;
  filter:
    drop-shadow(0 7px 0 rgba(52, 86, 63, 0.24))
    drop-shadow(0 18px 20px rgba(43, 61, 54, 0.22));
  image-rendering: pixelated;
  pointer-events: none;
  transform:
    translate3d(-50%, var(--home-logo-shift, 0), var(--home-logo-depth, 100px))
    scale(var(--home-logo-scale, 0.96));
  transform-origin: 50% 34%;
  user-select: none;
  will-change: transform;
}

body[data-page="index.html"] .home-hero-copy {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  transform: none;
}

body[data-page="faq.html"] {
  background-color: #dfeafa;
  background-image: url("assets/shared-home-faq-background.png");
  background-position: center 72px;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

body[data-page="faq.html"] .faq-index-header h1 {
  color: #315b50;
  text-shadow:
    0 2px 0 #f7fbf8,
    2px 0 0 #f7fbf8,
    0 -2px 0 #f7fbf8,
    -2px 0 0 #f7fbf8;
}

@media (max-width: 620px) {
  body[data-page="index.html"] .home-hero {
    height: 58svh;
    min-height: 430px;
  }

  body[data-page="index.html"] .home-hero-image {
    object-position: center center;
    transform-origin: 50% 28%;
  }

  .home-depth-logo {
    top: 8%;
    width: 142vw;
  }

  .home-depth-background,
  .home-depth-characters {
    object-position: center center;
  }

  body[data-page="index.html"] .home-hero::after {
    height: 118px;
  }

  body[data-page="faq.html"] {
    background-position: center 64px;
    background-size: auto 100svh;
    background-attachment: scroll;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page="index.html"] .home-hero-image {
    transform: scale(1.08);
  }

  .home-depth-background {
    transform: translateZ(-100px) scale(1.14);
  }

  .home-depth-characters {
    transform: translateZ(65px);
  }

  .home-depth-logo {
    transform: translate3d(-50%, 0, 100px) scale(0.96);
  }
}

.home-color-intro {
  max-width: 720px;
  margin: 0 auto 32px;
  color: #5b6f67;
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.home-color-intro span {
  padding-inline: 2px;
  font-weight: 900;
}

.home-color-intro .intro-mint {
  color: #3f967f;
}

.home-color-intro .intro-pink {
  color: #c96786;
}

.home-color-intro .intro-gold {
  color: #b27c23;
}

.home-color-intro .intro-lavender {
  color: #7667a8;
}

@media (max-width: 620px) {
  .home-color-intro {
    max-width: 25em;
    margin-bottom: 24px;
    padding-inline: 8px;
    font-size: 0.86rem;
    line-height: 1.75;
  }
}

/* Crisp raster-only merchandise shop. */
body[data-page="shop.html"] {
  --shop-pixel-ink: #315b43;
  --shop-pixel-paper: #fff3d9;
  --shop-pixel-peach: #f2c298;
  --shop-pixel-peach-deep: #a65f4d;
  --shop-pixel-pink: #d97894;
  background: #fff6e7;
  color: var(--shop-pixel-ink);
}

body[data-page="shop.html"] .site-header {
  border-bottom: 3px solid var(--shop-pixel-peach-deep);
  background: #f3c99f;
  color: var(--shop-pixel-ink);
  box-shadow: inset 0 -3px #e7ad83;
}

body[data-page="shop.html"] .site-nav a:hover,
body[data-page="shop.html"] .site-nav a:focus-visible,
body[data-page="shop.html"] .site-nav a:active,
body[data-page="shop.html"] .site-nav a[aria-current="page"],
body[data-page="shop.html"] .social-links a:hover,
body[data-page="shop.html"] .social-links a:focus-visible,
body[data-page="shop.html"] .social-links a:active {
  color: var(--shop-pixel-pink);
}

body[data-page="shop.html"] .shop-main {
  width: min(1280px, calc(100% - 40px));
  padding-top: clamp(28px, 4vw, 44px);
}

body[data-page="shop.html"] .shop-header h1 {
  color: var(--shop-pixel-ink);
  font-size: clamp(1.9rem, 3vw, 2.45rem);
}

body[data-page="shop.html"] .cart-button {
  gap: 8px;
  border: 3px solid var(--shop-pixel-peach-deep);
  background: var(--shop-pixel-paper);
  color: var(--shop-pixel-ink);
  box-shadow: 3px 3px 0 #e6b07f;
}

body[data-page="shop.html"] .cart-button:hover,
body[data-page="shop.html"] .cart-button:focus-visible {
  border-color: var(--shop-pixel-pink);
  background: #ffe9ce;
  color: #a84f6c;
}

.cart-pixel-icon {
  width: 24px;
  height: 24px;
  object-fit: contain;
  image-rendering: pixelated;
}

body[data-page="shop.html"] .cart-button output {
  border: 2px solid #8eb69d;
  background: #fff9e8;
}

body[data-page="shop.html"] .market-showroom {
  aspect-ratio: 1672 / 941;
  border: 4px solid var(--shop-pixel-peach-deep);
  background: #f6cfa6;
  box-shadow:
    0 0 0 3px #fff0cb,
    5px 7px 0 rgba(166, 95, 77, 0.18);
}

body[data-page="shop.html"] .market-room {
  background: #f6cfa6 url("assets/shop-market-pixel-crisp.png") center / cover no-repeat;
  image-rendering: pixelated;
}

body[data-page="shop.html"] .market-room::after {
  display: none;
}

body[data-page="shop.html"] .market-showroom .market-product,
body[data-page="shop.html"] .market-showroom .market-product-cold {
  width: clamp(112px, 11vw, 148px);
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  clip-path: none;
}

body[data-page="shop.html"] .market-showroom [data-view-product="merch-01"] {
  top: 35%;
  left: 25%;
}

body[data-page="shop.html"] .market-showroom [data-view-product="merch-02"] {
  top: 25%;
  left: 53%;
}

body[data-page="shop.html"] .market-showroom [data-view-product="merch-03"] {
  top: 48%;
  left: 74%;
}

body[data-page="shop.html"] .market-showroom .market-product img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  border: 0;
  object-fit: contain;
  filter: drop-shadow(5px 6px 0 rgba(92, 69, 47, 0.28));
  image-rendering: pixelated;
  transition: transform 140ms ease;
}

body[data-page="shop.html"] .market-showroom .market-product:hover,
body[data-page="shop.html"] .market-showroom .market-product:focus-visible {
  border: 0;
  outline: 3px solid #fff0b0;
  outline-offset: 3px;
  box-shadow: none;
  transform: translateY(-5px);
}

body[data-page="shop.html"] .market-showroom .market-product:hover img,
body[data-page="shop.html"] .market-showroom .market-product:focus-visible img {
  transform: scale(1.04);
}

body[data-page="shop.html"] .market-showroom .market-product-meta {
  position: absolute;
  top: calc(100% - 7px);
  left: 50%;
  display: grid;
  grid-template-columns: auto auto;
  align-items: center;
  gap: 7px;
  width: max-content;
  max-width: 170px;
  padding: 5px 8px;
  border: 2px solid var(--shop-pixel-peach-deep);
  background: var(--shop-pixel-paper);
  color: var(--shop-pixel-ink);
  text-align: center;
  transform: translateX(-50%);
}

body[data-page="shop.html"] .market-showroom .market-product-meta strong {
  position: static;
  width: auto;
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font-size: 0.72rem;
  line-height: 1.2;
  opacity: 1;
  transform: none;
}

body[data-page="shop.html"] .market-showroom .market-product-meta small {
  color: var(--shop-pixel-pink);
  font-size: 0.72rem;
  line-height: 1.2;
}

body[data-page="shop.html"] .product-detail-modal {
  grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
  width: min(1080px, calc(100% - 40px));
  height: min(700px, calc(100dvh - 40px));
  border: 4px solid var(--shop-pixel-peach-deep);
  background: var(--shop-pixel-paper);
  box-shadow:
    0 0 0 4px #f6d4a8,
    10px 12px 0 rgba(83, 75, 52, 0.2);
}

body[data-page="shop.html"] .product-model-stage {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #f7d5aa;
  cursor: grab;
  perspective: 900px;
  touch-action: none;
}

body[data-page="shop.html"] .product-model-stage:active {
  cursor: grabbing;
}

.product-pixel-turntable {
  display: grid;
  place-items: center;
  width: min(74%, 470px);
  aspect-ratio: 1;
  transform:
    rotateX(var(--product-tilt-x, 0deg))
    rotateY(var(--product-tilt-y, 0deg));
  transform-style: preserve-3d;
  transition: transform 120ms ease-out;
}

.product-pixel-turntable img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter:
    drop-shadow(8px 8px 0 #c48967)
    drop-shadow(8px 8px 0 #875846);
  image-rendering: pixelated;
  user-select: none;
}

body[data-page="shop.html"] .product-detail-copy,
body[data-page="shop.html"] .cart-drawer-header,
body[data-page="shop.html"] .cart-summary,
body[data-page="shop.html"] .site-footer {
  border-color: #d7a776;
  background: var(--shop-pixel-paper);
  color: var(--shop-pixel-ink);
}

body[data-page="shop.html"] .product-detail-copy h2,
body[data-page="shop.html"] .product-detail-action > strong {
  color: var(--shop-pixel-ink);
}

body[data-page="shop.html"] .product-detail-kicker,
body[data-page="shop.html"] .product-detail-status {
  color: #638d72;
}

body[data-page="shop.html"] .product-detail-close,
body[data-page="shop.html"] .product-detail-action button,
body[data-page="shop.html"] .cart-quantity button,
body[data-page="shop.html"] .cart-summary button {
  border: 3px solid var(--shop-pixel-peach-deep);
  background: #f3c79e;
  color: var(--shop-pixel-ink);
  box-shadow: 3px 3px 0 #d99c73;
}

body[data-page="shop.html"] .product-detail-action button:hover,
body[data-page="shop.html"] .product-detail-action button:focus-visible,
body[data-page="shop.html"] .cart-summary button:hover,
body[data-page="shop.html"] .cart-summary button:focus-visible {
  border-color: var(--shop-pixel-pink);
  background: #ffe8ca;
  color: #a84f6c;
}

body[data-page="shop.html"] .cart-drawer {
  border-left: 4px solid var(--shop-pixel-peach-deep);
  background: #fff8e8;
  color: var(--shop-pixel-ink);
  box-shadow: -5px 0 0 #efc28f;
}

body[data-page="shop.html"] .cart-item > img {
  border: 0;
  background: transparent;
  image-rendering: pixelated;
}

body[data-page="shop.html"] .product-detail-backdrop,
body[data-page="shop.html"] .cart-backdrop {
  background: rgba(59, 71, 53, 0.34);
  backdrop-filter: none;
}

@media (max-width: 620px) {
  body[data-page="shop.html"] .market-showroom {
    width: 100%;
    max-width: 100%;
    height: 460px;
    aspect-ratio: auto;
    overflow-x: auto;
    overflow-y: hidden;
  }

  body[data-page="shop.html"] .market-room {
    width: 818px;
    height: 460px;
    background-size: 818px 460px;
  }

  body[data-page="shop.html"] .market-showroom .market-product,
  body[data-page="shop.html"] .market-showroom .market-product-cold {
    width: 102px;
  }

  body[data-page="shop.html"] .product-detail-modal {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(260px, 44%) minmax(0, 1fr);
  }

  body[data-page="shop.html"] .product-detail-copy {
    border-top: 3px solid #d7a776;
    border-left: 0;
  }
}

/* Homepage gameplay showcase */
.home-gameplay-frame {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.home-gameplay-list {
  display: flex;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 3px 0 8px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.home-gameplay-list::-webkit-scrollbar {
  display: none;
}

.home-gameplay-list:focus-visible {
  outline: 3px solid #e4a2ba;
  outline-offset: -3px;
}

.home-gameplay-entry {
  display: grid;
  align-content: start;
  gap: 11px;
  flex: 0 0 100%;
  min-width: 0;
  color: #264f46;
  text-decoration: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.home-gameplay-entry.home-gameplay-primary {
  grid-column: auto;
}

.home-gameplay-entry img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #547c6c;
  background: #b8ddd3;
  object-fit: cover;
  image-rendering: pixelated;
  box-shadow: 5px 6px 0 rgba(57, 102, 85, 0.18);
  transition:
    border-color 160ms ease,
    box-shadow 160ms ease,
    transform 160ms ease;
}

.home-gameplay-entry span {
  padding-left: 2px;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.35;
}

.home-gameplay-entry:hover,
.home-gameplay-entry:focus-visible {
  color: #c76f91;
  outline: 0;
}

.home-gameplay-entry:hover img,
.home-gameplay-entry:focus-visible img {
  border-color: #e4a2ba;
  box-shadow: 5px 6px 0 rgba(199, 111, 145, 0.2);
  transform: translateY(-3px);
}

.home-gameplay-guide {
  display: flex;
  justify-content: center;
  gap: 9px;
  min-height: 18px;
  margin-top: 9px;
}

.home-gameplay-guide button {
  width: 30px;
  height: 10px;
  padding: 0;
  border: 2px solid #547c6c;
  border-radius: 0;
  background: #d7ede7;
  cursor: pointer;
}

.home-gameplay-guide button:hover,
.home-gameplay-guide button:focus-visible {
  border-color: #c76f91;
  background: #f5c8d7;
  outline: 0;
}

.home-gameplay-guide button[aria-current="true"] {
  border-color: #b75f82;
  background: #e99fba;
}

@media (max-width: 720px) {
  .home-gameplay-frame {
    width: calc(100% - 28px);
  }
}

/* Products editorial page */
.products-page {
  width: min(1080px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(48px, 7vw, 82px) 0 64px;
}

.products-page-intro {
  max-width: 780px;
  margin-bottom: clamp(58px, 8vw, 92px);
}

.products-page-intro h1 {
  margin: 0 0 16px;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.18;
}

.products-page-intro p {
  margin: 0;
  color: #516a62;
  font-size: 1rem;
  line-height: 1.9;
}

.product-feature-list {
  display: grid;
  gap: clamp(72px, 9vw, 112px);
}

.product-feature {
  display: grid;
  gap: 24px;
}

.product-feature > img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #587b6d;
  background: #cde9e0;
  object-fit: cover;
  image-rendering: pixelated;
  box-shadow: 5px 6px 0 rgba(57, 102, 85, 0.16);
}

.product-feature-copy {
  width: min(100%, 760px);
}

.product-feature-copy h2 {
  margin: 0 0 12px;
  color: #204d43;
  font-size: 1.65rem;
  line-height: 1.3;
}

.product-feature-copy p {
  margin: 0;
  color: #536b63;
  font-size: 0.98rem;
  line-height: 1.9;
}

.product-feature-copy p + p {
  margin-top: 10px;
}

.product-feature-copy a {
  display: inline-block;
  margin-top: 18px;
  color: #b65f81;
  font-size: 0.94rem;
  font-weight: 800;
  text-decoration: none;
}

.product-feature-copy a:hover,
.product-feature-copy a:focus-visible {
  color: #8d3f61;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-feature:nth-child(even) .product-feature-copy {
  margin-left: auto;
}

.product-feature-shop > img {
  object-position: center;
}

@media (max-width: 620px) {
  .products-page {
    width: calc(100% - 28px);
    padding-top: 34px;
  }

  .products-page-intro {
    margin-bottom: 48px;
  }

  .products-page-intro h1 {
    font-size: 2rem;
  }

  .products-page-intro p,
  .product-feature-copy p {
    font-size: 0.92rem;
    line-height: 1.82;
  }

  .product-feature-list {
    gap: 62px;
  }

  .product-feature {
    gap: 18px;
  }

  .product-feature > img {
    border-width: 2px;
    box-shadow: 3px 4px 0 rgba(57, 102, 85, 0.16);
  }

  .product-feature-copy h2 {
    font-size: 1.42rem;
  }
}

/* Light blue merchandise shop background */
body[data-page="shop.html"] {
  --shop-pixel-ink: #315862;
  --shop-pixel-paper: #f5fbf8;
  --shop-pixel-peach: #c8e5e8;
  --shop-pixel-peach-deep: #5b8792;
  --shop-pixel-pink: #d87598;
  background: #eaf6f4;
}

body[data-page="shop.html"] .site-header {
  border-bottom-color: #5b8792;
  background: #bfe2dc;
  box-shadow: inset 0 -3px #91c7c3;
}

body[data-page="shop.html"] .market-showroom {
  border-color: #5b8792;
  background: #cce7ee;
  box-shadow:
    0 0 0 3px #f4fbf8,
    5px 7px 0 rgba(66, 111, 122, 0.18);
}

body[data-page="shop.html"] .market-room {
  background:
    #cce7ee url("assets/shop-supermarket-pixel-blue-source.png") center / cover
    no-repeat;
}

body[data-page="shop.html"] .cart-button {
  border-color: #5b8792;
  background: #f5fbf8;
  box-shadow: 3px 3px 0 #a8d1d2;
}

body[data-page="shop.html"] .cart-button output {
  border-color: #6fa399;
  background: #e6f5ef;
}

body[data-page="shop.html"] .market-showroom .market-product-meta {
  border-color: #6f9aa4;
  background: #f8fcf9;
}

body[data-page="shop.html"] .product-detail-modal {
  background: #f5fbf8;
  box-shadow:
    0 0 0 4px #c6e4e8,
    10px 12px 0 rgba(49, 88, 98, 0.18);
}

body[data-page="shop.html"] .product-model-stage {
  background: #d7ebf1;
}

body[data-page="shop.html"] .product-detail-close,
body[data-page="shop.html"] .product-detail-action button,
body[data-page="shop.html"] .cart-quantity button,
body[data-page="shop.html"] .cart-summary button {
  background: #c8e4e8;
  box-shadow: 3px 3px 0 #9fcbd0;
}

body[data-page="shop.html"] .cart-drawer {
  background: #f3faf8;
  box-shadow: -5px 0 0 #a9d0d1;
}

body[data-page="shop.html"] .site-footer {
  border-color: #85aaa8;
  background: #d8eeea;
}

/* Static homepage hero: one complete image, no cutout layers or scroll effects. */
body[data-page="index.html"] .home-hero {
  position: relative;
  height: clamp(500px, calc(100svh - 120px), 620px);
  min-height: 0;
  overflow: hidden;
  padding: 0;
  background: #dfeafa;
  perspective: none;
}

body[data-page="index.html"] .home-hero::before,
body[data-page="index.html"] .home-hero::after {
  display: none;
}

.home-static-hero-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  image-rendering: pixelated;
}

@media (max-width: 620px) {
  body[data-page="index.html"] .home-hero {
    height: min(68svh, 520px);
    min-height: 420px;
  }
}

.home-static-gallery {
  display: grid;
  gap: 26px;
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 64px 0 72px;
}

.home-static-gallery .home-static-gallery-main {
  width: min(960px, 100%);
  justify-self: center;
}

.home-static-gallery img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 3px solid #66877b;
  background: #d7ebe5;
  object-fit: cover;
  image-rendering: auto;
}

.home-static-gallery-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
}

.home-supplement {
  padding: 22px 20px 28px;
  background: #dfeee9;
}

.home-supplement > div {
  width: min(640px, 100%);
  margin: 0 auto;
  text-align: center;
}

.home-supplement h2 {
  margin: 0 0 5px;
  color: #9b5f78;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", serif;
  font-size: 0.96rem;
  font-weight: 600;
  line-height: 1.45;
}

.home-supplement p {
  margin: 0;
  color: #607e74;
  font-family: "STKaiti", "Kaiti SC", "KaiTi", serif;
  font-size: 0.78rem;
  line-height: 1.7;
}

@media (max-width: 620px) {
  .home-static-gallery {
    gap: 14px;
    width: calc(100% - 28px);
    padding: 44px 0;
  }

  .home-static-gallery img {
    border-width: 2px;
  }

  .home-static-gallery-pair {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-supplement {
    padding: 20px 18px 24px;
  }

  .home-supplement h2 {
    font-size: 0.9rem;
  }

  .home-supplement p {
    font-size: 0.74rem;
  }
}

/* Clean editorial blog */
.zhongzhong-blog {
  width: min(1040px, calc(100% - 40px));
  padding-top: clamp(44px, 6vw, 68px);
}

.journal-letter-header {
  align-items: flex-end;
  margin-bottom: clamp(48px, 7vw, 76px);
}

.journal-letter-heading h1 {
  color: #234f45;
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1.2;
}

.journal-letter-heading p {
  color: #667971;
  font-size: 0.92rem;
}

.zhongzhong-blog .journal-feed {
  gap: clamp(70px, 9vw, 108px);
}

.zhongzhong-blog .journal-entry,
.zhongzhong-blog .journal-entry:nth-child(2),
.zhongzhong-blog .journal-entry:nth-child(3) {
  display: grid;
  grid-template-columns: 1fr;
  width: 100%;
  margin: 0;
  color: #284f46;
  text-decoration: none;
}

.zhongzhong-blog .journal-entry:nth-child(2) {
  width: 88%;
  margin-left: auto;
}

.zhongzhong-blog .journal-entry:nth-child(3) {
  width: 92%;
}

.zhongzhong-blog .journal-entry > img,
.zhongzhong-blog .journal-entry:nth-child(1) > img,
.zhongzhong-blog .journal-entry:nth-child(2) > img,
.zhongzhong-blog .journal-entry:nth-child(3) > img {
  grid-column: 1;
  grid-row: 1;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 16 / 9;
  border: 0;
  object-fit: cover;
  image-rendering: auto;
}

.zhongzhong-blog .journal-entry-copy,
.zhongzhong-blog .journal-entry:nth-child(1) .journal-entry-copy,
.zhongzhong-blog .journal-entry:nth-child(2) .journal-entry-copy,
.zhongzhong-blog .journal-entry:nth-child(3) .journal-entry-copy {
  grid-column: 1;
  grid-row: 2;
  width: min(100%, 720px);
  margin: 0;
  padding: 22px 0 0;
  border: 0;
  background: transparent;
}

.zhongzhong-blog .journal-entry:nth-child(2) .journal-entry-copy {
  margin-left: auto;
}

.journal-letter-copy .entry-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 9px;
  color: #618778;
  font-size: 0.8rem;
  font-weight: 700;
}

.journal-letter-copy strong {
  color: #234f45;
  font-size: clamp(1.28rem, 2.4vw, 1.65rem);
  line-height: 1.35;
}

.journal-letter-copy .entry-summary {
  max-width: 48ch;
  margin-top: 9px;
  color: #62736d;
  font-size: 0.94rem;
  line-height: 1.75;
}

.zhongzhong-blog .journal-entry:hover > img,
.zhongzhong-blog .journal-entry:focus-visible > img {
  filter: saturate(1.03);
  transform: none;
}

.zhongzhong-blog .journal-entry:hover .journal-letter-copy strong,
.zhongzhong-blog .journal-entry:focus-visible .journal-letter-copy strong {
  color: #bf6888;
}

@media (max-width: 620px) {
  .zhongzhong-blog {
    width: calc(100% - 28px);
    padding-top: 32px;
  }

  .journal-letter-header {
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 44px;
  }

  .journal-letter-heading h1 {
    font-size: 2rem;
  }

  .letter-receive-label {
    display: none;
  }

  .letter-receive-button {
    gap: 6px;
  }

  .zhongzhong-blog .journal-feed {
    gap: 58px;
  }

  .zhongzhong-blog .journal-entry,
  .zhongzhong-blog .journal-entry:nth-child(2),
  .zhongzhong-blog .journal-entry:nth-child(3) {
    width: 100%;
  }

  .zhongzhong-blog .journal-entry > img,
  .zhongzhong-blog .journal-entry:nth-child(1) > img,
  .zhongzhong-blog .journal-entry:nth-child(2) > img,
  .zhongzhong-blog .journal-entry:nth-child(3) > img {
    aspect-ratio: 16 / 10;
  }

  .zhongzhong-blog .journal-entry-copy,
  .zhongzhong-blog .journal-entry:nth-child(1) .journal-entry-copy,
  .zhongzhong-blog .journal-entry:nth-child(2) .journal-entry-copy,
  .zhongzhong-blog .journal-entry:nth-child(3) .journal-entry-copy {
    width: 100%;
    padding-top: 17px;
  }

  .journal-letter-copy .entry-summary {
    font-size: 0.88rem;
  }
}
