:root {
  --ink: #171714;
  --ink-soft: rgba(23, 23, 20, 0.7);
  --ink-mute: rgba(23, 23, 20, 0.62);
  --paper: #f4f1e8;
  --brand: #ffd91e;
  --orange: #ff7048;
  --blue: #5968ff;
  --white: #fffdf6;
  --line: rgba(23, 23, 20, 0.16);
  --max: 1280px;
  --pad: clamp(16px, 4vw, 56px);
  --radius: 14px;
  --sans: "PingFang SC", "Hiragino Sans GB", "Noto Sans CJK SC", "Source Han Sans SC", "Microsoft YaHei", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 124px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input {
  font: inherit;
  color: inherit;
}

img {
  max-width: 100%;
}

svg {
  display: block;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 800;
  line-height: 1.2;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 1000;
  padding: 12px 18px;
  color: var(--white);
  background: var(--ink);
  border-radius: 6px;
  transform: translateY(-160%);
  transition: transform 0.2s ease;
}

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

/* ------------------------------------------------------------------ 页头 */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background: var(--paper);
  border-bottom: 1.5px solid var(--ink);
}

.header-row {
  display: flex;
  max-width: var(--max);
  height: 68px;
  margin: 0 auto;
  padding: 0 var(--pad);
  align-items: center;
  gap: 18px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.brand-mark {
  width: 38px;
  height: 38px;
}

.brand-copy,
.footer-brand span {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-copy strong,
.footer-brand strong {
  font-size: 16px;
  line-height: 1.15;
  letter-spacing: 0.06em;
}

.brand-copy small,
.footer-brand small {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.site-search {
  display: flex;
  flex: 1 1 auto;
  max-width: 520px;
  height: 42px;
  margin: 0 auto;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
}

.site-search input {
  min-width: 0;
  flex: 1 1 auto;
  padding: 0 18px;
  background: transparent;
  border: 0;
}

.site-search input::placeholder {
  color: var(--ink-mute);
}

.site-search input:focus-visible {
  outline: none;
}

.site-search:focus-within {
  box-shadow: 0 0 0 3px rgba(255, 217, 30, 0.9);
}

.site-search input::-webkit-search-cancel-button {
  -webkit-appearance: none;
}

.site-search button {
  flex: 0 0 auto;
  padding: 0 20px;
  color: var(--ink);
  background: var(--brand);
  border: 0;
  border-left: 1.5px solid var(--ink);
  font-weight: 700;
  cursor: pointer;
}

.site-search button:hover {
  background: var(--ink);
  color: var(--white);
}

.shopbar {
  flex: 0 0 auto;
}

.shopbar:empty {
  display: none;
}

.site-nav {
  display: flex;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--pad);
  gap: clamp(16px, 2.4vw, 32px);
  font-size: 14px;
  font-weight: 600;
  border-top: 1px solid var(--line);
  overflow-x: auto;
  scrollbar-width: none;
}

.site-nav::-webkit-scrollbar {
  display: none;
}

.site-nav a {
  position: relative;
  padding: 12px 0;
  white-space: nowrap;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2.5px;
  content: "";
  background: var(--ink);
  transform: scaleX(0);
  transition: transform 0.2s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.menu-toggle {
  display: none;
}

/* ------------------------------------------------------------------ hero */

.hero {
  color: var(--ink);
  background: var(--brand);
  border-bottom: 1.5px solid var(--ink);
}

.hero,
.hero-copy,
.hero-product {
  display: grid;
}

.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(40px, 6vw, 88px) var(--pad) clamp(40px, 6vw, 80px);
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: center;
  gap: clamp(32px, 5vw, 80px);
}

.hero-copy {
  gap: 22px;
  align-content: center;
}

.hero-title {
  font-size: clamp(38px, 5.4vw, 68px);
  line-height: 1.12;
  letter-spacing: 0.01em;
}

.hero-title span {
  display: inline-block;
}

.hero-lead {
  max-width: 34em;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.8;
  font-weight: 500;
}

.hero-facts {
  margin: -6px 0 0;
  font-size: 14px;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  padding: 0 24px;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 700;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  transition: background 0.15s ease, color 0.15s ease;
}

.button-primary {
  color: var(--white);
  background: var(--ink);
}

.button-primary:hover,
.button-primary:focus-visible {
  color: var(--ink);
  background: var(--white);
}

.button-ghost {
  background: transparent;
}

.button-ghost:hover,
.button-ghost:focus-visible {
  background: var(--white);
}

.notice {
  max-width: 560px;
  margin-top: 6px;
  padding: 14px 18px;
  background: rgba(255, 253, 246, 0.72);
  border: 1px solid var(--ink);
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.7;
}

.notice strong a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.notice p {
  margin: 6px 0 0;
  color: var(--ink-soft);
}

.hero-product {
  width: min(100%, 480px);
  justify-self: end;
  gap: 0;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-product-image {
  display: block;
  aspect-ratio: 1;
  background: #fff;
}

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

.hero-product-caption {
  display: flex;
  padding: 14px 18px;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  border-top: 1.5px solid var(--ink);
}

.hero-product-caption strong {
  font-size: 15px;
}

.hero-product-caption small {
  flex: 0 0 auto;
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 600;
}

.hero-product:hover .hero-product-caption small,
.hero-product:focus-visible .hero-product-caption small {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------------------------ 通用分区 */

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 88px) var(--pad);
}

.section + .section {
  padding-top: 0;
}

.section-head {
  display: flex;
  margin-bottom: clamp(22px, 3vw, 34px);
  align-items: baseline;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.section-head p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
}

.text-link {
  font-size: 15px;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.text-link:hover {
  text-decoration-color: var(--orange);
}

/* ------------------------------------------------------------------ 在售 IP */

.ip-shelf {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  list-style: none;
}

.ip-shelf a {
  display: grid;
  height: 100%;
  gap: 10px;
  align-content: start;
}

.ip-art {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.ip-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.ip-shelf a:hover .ip-art img,
.ip-shelf a:focus-visible .ip-art img {
  transform: scale(1.04);
}

.ip-shelf strong {
  padding: 0 2px;
  font-size: 15px;
  line-height: 1.3;
  overflow-wrap: anywhere;
}

.ip-shelf small {
  margin-top: -6px;
  padding: 0 2px;
  color: var(--ink-mute);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}

/* ------------------------------------------------------------------ 在售商品（脚本渲染） */

.product-grid {
  display: grid;
  margin: 0;
  padding: 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  list-style: none;
}

.product-card {
  display: grid;
  height: 100%;
  grid-template-rows: auto 1fr;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.product-image {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border-bottom: 1.5px solid var(--ink);
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img,
.product-card:focus-visible .product-image img {
  transform: scale(1.04);
}

.product-body {
  display: grid;
  padding: 12px 14px 14px;
  gap: 6px;
  align-content: start;
}

.product-name {
  display: -webkit-box;
  min-height: 2.8em;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-meta {
  color: var(--ink-mute);
  font-size: 13px;
}

.product-foot {
  display: flex;
  margin-top: 4px;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}

.product-price {
  font-size: 18px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
}

.product-price small {
  margin-right: 1px;
  font-size: 13px;
  font-weight: 700;
}

.product-status {
  padding: 3px 9px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.product-status[data-availability="IN_STOCK"] {
  color: var(--ink-mute);
}

.product-status[data-availability="LOW_STOCK"] {
  color: #c2410c;
}

.product-status[data-availability="OUT_OF_STOCK"],
.product-status[data-availability="DISCONTINUED"] {
  color: var(--ink-mute);
  border-style: dashed;
}

.product-status[data-availability="PREORDER"] {
  color: var(--blue);
}

/* ------------------------------------------------------------------ IP 企划 */

.story {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.story + .story {
  margin-top: 20px;
}

.story-flip .story-banner {
  order: 2;
}

.story-banner {
  display: grid;
  margin: 0;
  grid-template-rows: 1fr auto;
  border-right: 1.5px solid var(--ink);
}

.story-flip .story-banner {
  border-right: 0;
  border-left: 1.5px solid var(--ink);
}

.story-banner img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 300px;
  object-fit: cover;
}

.story-banner figcaption {
  padding: 10px 18px;
  color: var(--ink-mute);
  border-top: 1.5px solid var(--ink);
  font-size: 13px;
}

.story-body {
  display: grid;
  padding: clamp(22px, 3vw, 36px);
  gap: 14px;
  align-content: start;
}

.story-body h3 {
  font-size: clamp(28px, 3vw, 40px);
}

.story-body > p {
  max-width: 30em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.story-products {
  display: grid;
  margin: 6px 0;
  padding: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  list-style: none;
}

.story-products figure {
  margin: 0;
}

.story-product-image {
  display: block;
  aspect-ratio: 1;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}

.story-product-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.story-products figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ 小程序购买 */

.purchase {
  color: var(--white);
  background: var(--ink);
  border-top: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
}

.purchase :focus-visible {
  outline-color: var(--brand);
}

.purchase-inner {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--pad);
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: clamp(36px, 6vw, 96px);
}

.purchase-channel-label {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 6px 14px 6px 8px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  background: var(--brand);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
}

.purchase-channel-label svg {
  width: 22px;
  height: 22px;
  fill: #07c160;
}

.purchase-copy h2 {
  font-size: clamp(30px, 4vw, 52px);
}

.purchase-lead {
  max-width: 32em;
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 15px;
  line-height: 1.85;
}

.purchase-steps {
  max-width: 560px;
  margin: 34px 0 0;
  padding: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.24);
  list-style: none;
}

.purchase-steps li {
  display: grid;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.24);
  grid-template-columns: 30px 1fr;
  align-items: start;
  gap: 14px;
}

.purchase-steps li > span {
  display: flex;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: var(--brand);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 800;
}

.purchase-steps div {
  display: grid;
  gap: 2px;
}

.purchase-steps strong {
  font-size: 16px;
}

.purchase-steps small {
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  line-height: 1.6;
}

.purchase-card {
  width: min(100%, 400px);
  margin: 0;
  padding: 14px;
  justify-self: end;
  color: var(--ink);
  background: var(--white);
  border-radius: var(--radius);
}

.purchase-code {
  aspect-ratio: 1;
  background: #fff;
  border: 1.5px solid var(--ink);
  border-radius: 10px;
  overflow: hidden;
}

.purchase-code img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.purchase-card figcaption {
  display: grid;
  padding: 14px 4px 2px;
  gap: 3px;
}

.purchase-card figcaption strong {
  font-size: 16px;
}

.purchase-card figcaption span {
  color: var(--ink-mute);
  font-size: 13px;
}

/* ------------------------------------------------------------------ 业务线 */

.ecosystem {
  padding-top: clamp(48px, 6vw, 88px);
}

.scene-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.scene-card {
  display: grid;
  padding: 22px 22px 24px;
  gap: 12px;
  align-content: start;
  background: var(--white);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
}

.scene-icon {
  display: flex;
  width: 48px;
  height: 48px;
  margin-bottom: 6px;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  border: 1.5px solid var(--ink);
  border-radius: 50%;
}

.scene-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.scene-card h3 {
  font-size: 20px;
}

.scene-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.75;
}

.scene-card ul {
  display: flex;
  margin: 4px 0 0;
  padding: 0;
  gap: 6px;
  list-style: none;
  flex-wrap: wrap;
}

.scene-card li {
  padding: 4px 10px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ 关于 */

.about-body {
  display: grid;
  gap: 26px;
}

.about-statement {
  max-width: 24em;
  margin: 0;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.4;
  font-weight: 700;
}

.about-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(20px, 4vw, 56px);
}

.about-columns p {
  max-width: 36em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.about-links {
  display: flex;
  margin: 4px 0 0;
  padding: 0;
  gap: 12px 28px;
  list-style: none;
  flex-wrap: wrap;
}

/* ------------------------------------------------------------------ 联系 */

.contact {
  border-top: 1.5px solid var(--ink);
}

.contact-inner {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: clamp(48px, 6vw, 80px) var(--pad);
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px clamp(24px, 5vw, 80px);
}

.contact h2 {
  font-size: clamp(26px, 3vw, 38px);
}

.contact-note {
  max-width: 30em;
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.8;
}

.contact-list {
  display: grid;
  margin: 0;
  padding: 0;
  grid-column: 2;
  grid-row: 1 / span 2;
  gap: 10px;
  list-style: none;
  align-self: center;
}

.contact-list li {
  display: flex;
  padding: 14px 0;
  align-items: baseline;
  gap: 18px;
  border-bottom: 1px solid var(--ink);
  flex-wrap: wrap;
}

.contact-list span {
  flex: 0 0 3em;
  color: var(--ink-mute);
  font-size: 13px;
  font-weight: 600;
}

.contact-list a {
  font-size: clamp(17px, 1.6vw, 22px);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  overflow-wrap: anywhere;
}

.contact-list a:hover,
.contact-list a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ------------------------------------------------------------------ 页脚 */

.site-footer {
  display: grid;
  max-width: var(--max);
  margin: 0 auto;
  padding: 44px var(--pad) 40px;
  color: var(--white);
  background: var(--ink);
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: 32px;
}

.site-footer :focus-visible {
  outline-color: var(--brand);
}

.footer-meta {
  justify-self: center;
  text-align: center;
}

.footer-brand {
  align-self: start;
}

.footer-brand svg {
  width: 40px;
  height: 40px;
  fill: var(--white);
}

.footer-meta p {
  margin: 4px 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 12px;
  line-height: 1.5;
}

.footer-meta p:first-child {
  color: rgba(255, 255, 255, 0.82);
  font-size: 13px;
}

.icp-link,
.police-filing-link {
  color: rgba(255, 255, 255, 0.68);
  transition: color 0.2s ease;
}

.icp-link:hover,
.icp-link:focus-visible,
.police-filing-link:hover,
.police-filing-link:focus-visible {
  color: var(--brand);
}

.police-filing-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.police-filing-icon {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  display: flex;
  justify-self: end;
  gap: 10px 22px;
  font-size: 13px;
  font-weight: 600;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--brand);
}

/* ------------------------------------------------------------------ 响应式 */

@media (max-width: 1100px) {
  .ip-shelf {
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
  }

  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

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

@media (max-width: 920px) {
  html {
    scroll-padding-top: 16px;
  }

  .site-header {
    position: static;
  }

  .header-row {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    gap: 12px;
    flex-wrap: wrap;
  }

  .site-search {
    order: 4;
    flex: 1 1 100%;
    max-width: none;
    height: 44px;
    margin: 0;
  }

  .shopbar {
    margin-left: auto;
  }

  .menu-toggle {
    position: relative;
    z-index: 103;
    display: flex;
    width: 44px;
    height: 44px;
    padding: 0;
    background: var(--ink);
    border: 1px solid var(--ink);
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
  }

  .menu-toggle span:not(.sr-only) {
    display: block;
    width: 18px;
    height: 1.5px;
    background: var(--white);
    transition: transform 0.25s ease;
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: translateY(3.7px) rotate(45deg);
  }

  .menu-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-3.7px) rotate(-45deg);
  }

  .site-nav {
    position: fixed;
    inset: 0;
    z-index: 102;
    display: flex;
    max-width: none;
    padding: 84px var(--pad) 40px;
    flex-direction: column;
    gap: 0;
    background: var(--brand);
    border-top: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
  }

  .site-nav a {
    padding: 18px 0;
    font-size: 22px;
    font-weight: 700;
    border-bottom: 1.5px solid var(--ink);
  }

  .site-nav a::after {
    display: none;
  }

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

  .hero-product {
    width: min(100%, 520px);
    justify-self: start;
  }

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

  .story-flip .story-banner {
    order: 0;
    border-left: 0;
  }

  .story-banner {
    border-right: 0;
    border-bottom: 1.5px solid var(--ink);
  }

  .story-banner img {
    min-height: 0;
    aspect-ratio: 1.6;
  }

  .purchase-inner {
    grid-template-columns: 1fr;
  }

  .purchase-card {
    justify-self: start;
  }

  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-list {
    grid-column: 1;
    grid-row: auto;
    margin-top: 8px;
  }

  .site-footer {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .footer-meta {
    justify-self: start;
    text-align: left;
  }

  .footer-links {
    justify-self: start;
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .ip-shelf {
    grid-template-columns: repeat(auto-fit, minmax(88px, 1fr));
    gap: 10px;
  }

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

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

  .story-products {
    gap: 10px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-product-caption {
    flex-direction: column;
    gap: 4px;
  }

  .section-head p {
    flex-basis: 100%;
  }
}

@media (max-width: 480px) {
  .brand-copy {
    display: none;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .product-body {
    padding: 10px 11px 12px;
  }

  .product-name {
    font-size: 14px;
  }

  .product-price {
    font-size: 16px;
  }

  .product-status {
    padding: 2px 7px;
    font-size: 11px;
  }
}

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

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