@font-face {
  font-family: "ZDC Numerals";
  src:
    local("Bodoni 72"),
    local("Didot"),
    local("Palatino");
  unicode-range:
    U+0030-0039,
    U+FF10-FF19,
    U+0025,
    U+002D,
    U+002E,
    U+002F,
    U+003A,
    U+003B,
    U+00A5;
}

@font-face {
  font-family: "ZDC Web Song";
  src: url("assets/fonts/noto-serif-sc-400.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "ZDC Web Song";
  src: url("assets/fonts/noto-serif-sc-600.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

@font-face {
  font-family: "ZDC Web Song";
  src: url("assets/fonts/noto-serif-sc-700.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 700;
}

:root {
  --paper: #fff9f2;
  --paper-deep: #f7ecdf;
  --ink: #241616;
  --muted: #6c5e5a;
  --burgundy: #74181f;
  --burgundy-deep: #3b0d12;
  --title-burgundy: #5f141a;
  --line: rgba(116, 24, 31, 0.18);
  --line-soft: rgba(116, 24, 31, 0.1);
  --white: #fffdf8;
  --max-width: 1120px;
  --header-width: 1320px;
  --header-left: clamp(72px, 10.4vw, 240px);
  --header-right: clamp(72px, 7.7vw, 184px);
  --home-header-offset: 116px;
  --home-bg-top: calc(var(--home-header-offset) * -1);
  --home-bg-height: calc(clamp(620px, 82svh, 880px) + var(--home-header-offset));
  --home-bg-position: center -94px;
  --home-bg-size: 100vw auto;
  --home-bg-opacity: 0.36;
  --home-bg-fade-in: clamp(34px, 6svh, 74px);
  --home-bg-solid-end: 52%;
  --home-bg-fade-out-end: 82%;
  --home-hero-padding-top: clamp(340px, 52svh, 520px);
  --community-cover-aspect: 21 / 10;
  --number-font: "ZDC Numerals", "Bodoni 72", Didot, Palatino;
  --ui-font: var(--number-font), "ZDC Web Song", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
  --song-font: var(--number-font), "ZDC Web Song", "Songti SC", "STSong",
    "Noto Serif CJK SC", "SimSun", Georgia, serif;
  --display-song-font: var(--number-font), "ZDC Web Song",
    "STSongti-SC-Regular", "Songti TC", "Hiragino Mincho ProN",
    "Source Han Serif SC", "Noto Serif CJK SC", "Songti SC", "STSong",
    "SimSun", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--paper);
}

body {
  position: relative;
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(180deg, rgba(255, 250, 243, 0.98), rgba(253, 246, 238, 0.98)),
    var(--paper);
  font-family: var(--ui-font);
  font-feature-settings:
    "onum" 0,
    "lnum" 1,
    "pnum" 1;
  font-variant-numeric: lining-nums proportional-nums;
  line-height: 1.7;
}

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

.site-filter-defs {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: sticky;
  z-index: 10;
  top: -1px;
  padding-top: 1px;
  background: linear-gradient(
    180deg,
    rgba(235, 218, 209, 0.98) 0%,
    rgba(247, 236, 224, 0.92) 42%,
    rgba(255, 249, 242, 0.76) 72%,
    rgba(255, 249, 242, 0) 100%
  );
}

.site-header::before {
  position: absolute;
  top: -2px;
  right: 0;
  left: 0;
  height: 3px;
  content: "";
  background: rgba(247, 236, 224, 0.98);
  pointer-events: none;
}

.header-inner {
  width: calc(100% - var(--header-left) - var(--header-right));
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 42px;
  margin-right: auto;
  margin-left: var(--header-left);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #2d090d;
  font-family: var(--song-font);
  font-weight: 700;
  white-space: nowrap;
}

.brand img {
  width: 3.56rem;
  height: 3.56rem;
  object-fit: contain;
}

.brand-title {
  position: relative;
  width: 2.05em;
  height: 2.42em;
  display: inline-block;
  flex: 0 0 auto;
  font-family: var(--song-font);
  color: var(--burgundy);
  font-size: 1.34rem;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1;
  transform: scaleX(0.82);
  transform-origin: left center;
}

.brand-char {
  position: absolute;
  display: block;
}

.brand-char-1 {
  top: 0;
  left: 0;
}

.brand-char-2 {
  top: 1.08em;
  left: 0;
}

.brand-char-3 {
  top: 0.54em;
  right: 0;
}

.brand-char-4 {
  top: 1.62em;
  right: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3.2vw, 46px);
  overflow-x: auto;
  color: #4f151b;
  font-family: var(--song-font);
  font-size: clamp(1.08rem, 1.08vw, 1.18rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 2px 2px;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--burgundy);
  opacity: 0;
  transform: scaleX(0.4);
  transform-origin: center;
  transition:
    opacity 180ms ease,
    transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a.is-active {
  color: #6c1018;
}

.site-nav a.is-active::after {
  opacity: 1;
  transform: scaleX(1);
}

main {
  position: relative;
  z-index: 1;
  display: grid;
}

.panel {
  position: relative;
  grid-area: 1 / 1;
  width: 100%;
  align-self: start;
  opacity: 0;
  transform: translate3d(0, 10px, 0);
  transition:
    opacity 400ms cubic-bezier(0.22, 0.72, 0.28, 1),
    transform 400ms cubic-bezier(0.22, 0.72, 0.28, 1);
  will-change: opacity, transform;
}

.panel:focus,
.panel:focus-visible {
  outline: none;
}

.panel.is-active {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.panel.is-entering-from-right {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
}

.panel.is-entering-from-left {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
}

.panel.is-leaving-to-left {
  opacity: 0;
  transform: translate3d(-30px, 0, 0);
}

.panel.is-leaving-to-right {
  opacity: 0;
  transform: translate3d(30px, 0, 0);
}

.panel[hidden] {
  display: none;
}

.panel[data-panel="home"] {
  overflow: visible;
}

.panel[data-panel="home"]::before,
.panel[data-panel="home"]::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  pointer-events: none;
}

.panel[data-panel="home"]::before {
  top: var(--home-bg-top);
  height: var(--home-bg-height);
  background: url("assets/club-background.jpg") var(--home-bg-position) /
    var(--home-bg-size) no-repeat;
  opacity: var(--home-bg-opacity);
  -webkit-mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 var(--home-bg-fade-in),
    #000 var(--home-bg-solid-end),
    transparent var(--home-bg-fade-out-end),
    transparent 100%
  );
  mask-image: linear-gradient(
    180deg,
    transparent 0,
    #000 var(--home-bg-fade-in),
    #000 var(--home-bg-solid-end),
    transparent var(--home-bg-fade-out-end),
    transparent 100%
  );
}

.panel[data-panel="home"]::after {
  top: var(--home-bg-top);
  height: var(--home-bg-height);
  background: linear-gradient(
    180deg,
    rgba(255, 249, 242, 0) 0%,
    rgba(255, 249, 242, 0) var(--home-bg-solid-end),
    rgba(255, 249, 242, 0.62) var(--home-bg-fade-out-end),
    rgba(255, 249, 242, 0.98) 100%
  );
}

.page-section {
  position: relative;
  z-index: 1;
  width: min(var(--max-width), calc(100% - 36px));
  min-height: calc(100svh - 142px);
  display: grid;
  align-content: center;
  margin: 0 auto;
  padding: clamp(48px, 8vw, 92px) 0;
}

.panel[data-panel="contact"] .page-section {
  width: calc(100% - var(--header-left) - var(--header-right));
  margin-right: var(--header-right);
  margin-left: var(--header-left);
}

.hero-section {
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(36px, 7vw, 112px);
  align-content: start;
  align-items: start;
  padding-top: var(--home-hero-padding-top);
}

.hero-copy,
.copy-stack,
.product-item,
.contact-grid {
  min-width: 0;
}

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

.hero-feature {
  margin: 0 clamp(-64px, -4vw, -18px) 0 0;
  justify-self: end;
  width: min(520px, 46vw);
  padding-top: 34px;
  color: #563e3b;
}

.exhibition-head {
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-feature h2 {
  width: 100%;
  margin: 0;
  color: var(--burgundy);
  font-family: var(--song-font);
  font-size: 1.16rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-align: center;
}

.exhibition-carousel {
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
}

.exhibition-arrow {
  width: 24px;
  height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(116, 24, 31, 0.72);
  background: transparent;
  font-family: var(--song-font);
  font-size: 1.36rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    opacity 180ms ease,
    transform 180ms ease;
}

.exhibition-arrow:hover,
.exhibition-arrow:focus-visible {
  color: var(--burgundy-deep);
  transform: translateY(-1px);
}

.exhibition-arrow:focus-visible {
  outline: 1px solid rgba(116, 24, 31, 0.38);
  outline-offset: 3px;
}

.exhibition-arrow:disabled {
  cursor: default;
  opacity: 0.32;
  transform: none;
}

.exhibition-list {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: end;
  overflow: hidden;
}

.exhibition-item {
  position: relative;
  display: none;
  align-content: center;
  justify-items: center;
  gap: 9px;
  min-height: 134px;
  padding: 0 clamp(12px, 1.8vw, 22px);
  text-align: center;
}

.exhibition-item.is-visible {
  display: grid;
}

.exhibition-list.is-sliding-next .exhibition-item.is-visible {
  animation: exhibition-slide-next 360ms cubic-bezier(0.22, 0.72, 0.28, 1)
    both;
  animation-delay: calc(var(--exhibition-order, 0) * 38ms);
}

.exhibition-list.is-sliding-prev .exhibition-item.is-visible {
  animation: exhibition-slide-prev 360ms cubic-bezier(0.22, 0.72, 0.28, 1)
    both;
  animation-delay: calc(var(--exhibition-order, 0) * 38ms);
}

.exhibition-item.has-divider::before {
  position: absolute;
  top: 2px;
  bottom: 4px;
  left: 0;
  width: 1px;
  content: "";
  background: rgba(116, 24, 31, 0.22);
}

.exhibition-item h3,
.exhibition-item p,
.exhibition-item small {
  margin: 0;
}

.exhibition-main {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 12px;
}

.exhibition-item h3 {
  color: var(--burgundy-deep);
  font-size: 1.08rem;
  letter-spacing: 0.04em;
  line-height: 1.45;
}

.exhibition-item p {
  color: var(--muted);
  font-size: 0.92rem;
  letter-spacing: 0.035em;
}

.exhibition-detail {
  display: grid;
  justify-items: center;
  gap: 2px;
  line-height: 1.5;
  text-align: center;
}

.exhibition-detail span {
  display: block;
}

.exhibition-item small {
  color: rgba(86, 62, 59, 0.68);
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  line-height: 1.62;
  min-height: 1.5em;
}

.exhibition-note:empty {
  visibility: hidden;
}

.exhibition-note {
  position: absolute;
  bottom: 4px;
  right: 10px;
  left: 10px;
}

.eyebrow,
.item-label {
  margin: 0 0 12px;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--title-burgundy);
  font-family: var(--display-song-font);
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.18;
}

h1 {
  max-width: 720px;
  font-size: clamp(3rem, 7.2vw, 5.45rem);
}

h2 {
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
}

h3 {
  font-size: 1.18rem;
}

.lead {
  max-width: 560px;
  margin: 18px 0 0;
  color: var(--burgundy);
  font-family: var(--song-font);
  font-size: 1.08rem;
  overflow-wrap: anywhere;
}

.hero-browser-note {
  position: absolute;
  bottom: clamp(58px, 8.8svh, 94px);
  left: 0;
  max-width: 560px;
  margin: 0;
  color: rgba(95, 20, 26, 0.58);
  font-family: var(--song-font);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.panel[data-panel="home"].is-active::before {
  animation: home-background-in 900ms ease both;
}

.panel[data-panel="home"].is-active::after {
  animation: home-overlay-in 900ms ease both;
}

.panel[data-panel="home"].is-active .eyebrow,
.panel[data-panel="home"].is-active h1,
.panel[data-panel="home"].is-active .lead,
.panel[data-panel="home"].is-active .hero-browser-note,
.panel[data-panel="home"].is-active .hero-feature {
  animation: home-rise-in 720ms ease both;
}

.panel[data-panel="home"].is-active .eyebrow {
  animation-delay: 120ms;
}

.panel[data-panel="home"].is-active h1 {
  animation-delay: 210ms;
}

.panel[data-panel="home"].is-active .lead {
  animation-delay: 320ms;
}

.panel[data-panel="home"].is-active .hero-browser-note {
  animation-delay: 380ms;
}

.panel[data-panel="home"].is-active .hero-feature {
  animation-delay: 430ms;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 18px;
  border: 1px solid var(--burgundy);
  border-radius: 999px;
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

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

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

.button.secondary {
  color: var(--burgundy);
  background: transparent;
}

.section-title {
  max-width: 720px;
  margin-bottom: clamp(34px, 5vw, 58px);
}

.product-section-title {
  max-width: 1080px;
  display: grid;
  grid-template-columns: max-content auto;
  gap: clamp(16px, 2.2vw, 34px);
  align-items: end;
}

.product-title-filter {
  justify-self: start;
  width: auto;
}

.product-title-filter[hidden] {
  display: none;
}

.content-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.58fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: start;
}

.copy-stack {
  display: grid;
  gap: 20px;
  max-width: 680px;
  color: var(--muted);
  font-size: 1.05rem;
}

.copy-stack p,
.product-item p,
.product-detail p {
  margin: 0;
  overflow-wrap: anywhere;
}

.info-list {
  display: grid;
  grid-template-columns: minmax(4em, max-content) minmax(0, 1fr);
  gap: 0 clamp(24px, 4vw, 58px);
  align-items: baseline;
  margin: 0;
}

.info-list div {
  display: contents;
}

.info-list dt {
  color: var(--burgundy);
  font-weight: 700;
  min-width: 4em;
  padding: 10px 0;
  white-space: nowrap;
}

.info-label-text {
  min-width: 4em;
  display: inline-flex;
  gap: 0;
  white-space: nowrap;
}

.info-label-text.is-fixed {
  width: 4em;
}

.info-label-text.is-spread {
  justify-content: space-between;
}

.info-label-char {
  display: block;
  flex: 0 0 auto;
}

.info-list dd {
  margin: 0;
  color: var(--muted);
  min-width: 0;
  padding: 10px 0;
  overflow-wrap: anywhere;
  text-align: right;
}

.product-list {
  display: grid;
  gap: clamp(24px, 4vw, 42px);
  max-width: 1100px;
}

.product-list.is-detail-view {
  max-width: 1080px;
}

.product-detail {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.48fr) minmax(360px, 0.52fr);
  gap: clamp(30px, 4.6vw, 58px);
  align-items: center;
  padding-top: 34px;
  animation: product-detail-in 520ms cubic-bezier(0.22, 0.72, 0.28, 1) both;
}

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

.product-detail-media .image-slot {
  animation: product-image-expand 560ms cubic-bezier(0.22, 0.72, 0.28, 1)
    both;
}

.product-image-carousel {
  display: grid;
  gap: 14px;
  justify-items: center;
}

.product-image-stage {
  width: 100%;
  display: grid;
  justify-items: center;
}

.product-image-controls {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.product-image-arrow {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  padding: 0;
  border: 0;
  color: rgba(116, 24, 31, 0.62);
  background: transparent;
  font-family: var(--song-font);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.product-image-arrow:hover,
.product-image-arrow:focus-visible {
  color: var(--burgundy);
  transform: translateY(-1px);
}

.product-detail-body {
  display: grid;
  gap: 16px;
  max-width: 760px;
}

.product-detail-body h3 {
  color: var(--title-burgundy);
  font-family: var(--display-song-font);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
}

.product-detail-body > p:not(.item-label):not(.product-price) {
  color: var(--muted);
  font-size: 1rem;
}

.product-price {
  color: var(--burgundy);
  font-weight: 700;
}

.product-params {
  display: grid;
  grid-template-columns: minmax(4em, max-content) minmax(0, 1fr);
  gap: 9px 16px;
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.product-params div {
  display: contents;
}

.product-params dt {
  color: var(--burgundy);
  font-weight: 700;
  min-width: 4em;
  white-space: nowrap;
}

.product-params dd {
  margin: 0;
  min-width: 0;
  overflow-wrap: anywhere;
}

.product-detail-close {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  min-height: 28px;
  margin: 0;
  padding: 0;
  border: 0;
  color: rgba(116, 24, 31, 0.52);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.product-detail-close:hover,
.product-detail-close:focus-visible {
  color: var(--burgundy-deep);
}

.product-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: clamp(42px, 5vw, 74px) clamp(38px, 4.6vw, 76px);
  animation: product-gallery-in 460ms cubic-bezier(0.22, 0.72, 0.28, 1) both;
}

.product-gallery-item {
  display: grid;
  gap: 18px;
  justify-self: center;
  width: 100%;
  max-width: 230px;
}

.product-gallery-image,
.product-gallery-caption {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.product-gallery-image {
  display: block;
  width: 100%;
}

.product-gallery-image .image-slot {
  width: 100%;
  aspect-ratio: 1 / 1;
  transition:
    opacity 180ms ease,
    transform 260ms ease;
}

.product-gallery-caption {
  min-height: 1.65em;
  width: 100%;
  color: rgba(59, 13, 18, 0.82);
  font-family: var(--song-font);
  font-size: clamp(0.92rem, 1.22vw, 1.08rem);
  font-weight: 600;
  letter-spacing: 0.045em;
  line-height: 1.7;
  overflow: visible;
  overflow-wrap: break-word;
  text-align: center;
  text-overflow: clip;
  white-space: pre-line;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.product-gallery-caption:hover,
.product-gallery-caption:focus-visible {
  color: var(--burgundy);
}

.product-filter {
  position: relative;
  display: inline-grid;
  justify-items: start;
  margin-bottom: 0;
  color: var(--muted);
  text-align: left;
}

.product-filter-toggle {
  min-height: 32px;
  padding: 0;
  border: 0;
  color: rgba(95, 20, 26, 0.82);
  background: transparent;
  font-family: var(--song-font);
  font-size: 0.98rem;
  font-weight: 600;
  cursor: pointer;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.product-filter-toggle::after {
  display: inline-block;
  margin-left: 0.38em;
  color: rgba(95, 20, 26, 0.56);
  content: "⌄";
  font-size: 0.9em;
  transform: translateY(-1px);
}

.product-filter.is-open .product-filter-toggle,
.product-filter-toggle:hover,
.product-filter-toggle:focus-visible {
  color: var(--burgundy);
}

.product-filter.is-open .product-filter-toggle::after {
  transform: translateY(1px) rotate(180deg);
}

.product-filter-menu {
  position: absolute;
  z-index: 4;
  top: calc(100% + 10px);
  left: 0;
  width: min(420px, calc(100vw - 48px));
  display: grid;
  gap: 12px;
  justify-items: start;
  padding: 16px 18px;
  border: 1px solid rgba(116, 24, 31, 0.14);
  color: var(--muted);
  background: rgba(255, 249, 242, 0.96);
  box-shadow: 0 16px 42px rgba(59, 13, 18, 0.08);
  text-align: left;
  transform-origin: top left;
}

.product-filter-menu[hidden] {
  display: none;
}

.product-filter-primary,
.product-filter-types {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
  border: 0;
}

.product-filter-types legend {
  margin-right: 4px;
  color: var(--burgundy);
  font-family: var(--song-font);
  font-weight: 700;
}

.product-filter-check {
  display: inline-flex;
  grid-template-columns: none;
  gap: 7px;
  align-items: center;
  color: rgba(59, 13, 18, 0.7);
  font-family: var(--song-font);
  font-size: 0.9rem;
  font-weight: 400;
  cursor: pointer;
}

.product-filter-check input {
  width: 1em;
  height: 1em;
  accent-color: var(--burgundy);
}

.product-filter-clear {
  min-height: 28px;
  padding: 0;
  border: 0;
  color: rgba(116, 24, 31, 0.62);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
}

.product-filter-clear:hover,
.product-filter-clear:focus-visible {
  color: var(--burgundy);
}

.product-gallery-image:hover .image-slot,
.product-gallery-image:focus-visible .image-slot {
  opacity: 0.86;
  transform: translateY(-4px) scale(1.018);
}

.community-list {
  display: grid;
  gap: clamp(38px, 5vw, 72px);
  max-width: 1120px;
}

.community-list.is-detail-view {
  max-width: 1080px;
}

.community-portrait-note {
  max-width: 1120px;
  margin: clamp(22px, 3.2vw, 38px) 0 0;
  color: rgba(108, 94, 90, 0.66);
  font-family: var(--song-font);
  font-size: 0.86rem;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-align: center;
}

.community-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.44fr) minmax(320px, 0.56fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  padding: clamp(8px, 2.2vw, 28px) 0;
  animation: product-gallery-in 520ms cubic-bezier(0.22, 0.72, 0.28, 1) both;
}

.community-section::before {
  position: absolute;
  z-index: -1;
  inset: 0 calc(50% - 50vw);
  content: "";
  background: linear-gradient(
    90deg,
    rgba(116, 24, 31, 0.04),
    rgba(255, 249, 242, 0) 66%
  );
  opacity: 0.8;
}

.community-section.is-reversed {
  grid-template-columns: minmax(320px, 0.56fr) minmax(260px, 0.44fr);
}

.community-section.is-reversed::before {
  background: linear-gradient(
    270deg,
    rgba(116, 24, 31, 0.04),
    rgba(255, 249, 242, 0) 66%
  );
}

.community-section.is-reversed .community-copy {
  order: 2;
}

.community-section.is-reversed .community-cover {
  order: 1;
}

.community-copy {
  display: grid;
  gap: 18px;
  align-content: center;
}

.community-title,
.community-cover,
.community-photo-item {
  padding: 0;
  border: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.community-title {
  color: var(--title-burgundy);
  font-family: var(--display-song-font);
  font-size: clamp(2.05rem, 4vw, 3.45rem);
  font-weight: 700;
  line-height: 1.24;
  text-align: left;
  transition:
    color 180ms ease,
    transform 180ms ease;
}

.community-title:hover,
.community-title:focus-visible {
  color: var(--burgundy);
  transform: translateY(-2px);
}

.community-copy p,
.community-detail-head p {
  max-width: 560px;
  margin: 0;
  color: var(--muted);
  font-family: var(--song-font);
  font-size: 1.04rem;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.community-detail-head p {
  max-width: 960px;
}

.community-cover {
  position: relative;
  width: 100%;
  aspect-ratio: var(--community-cover-aspect);
  display: grid;
  place-items: center;
  overflow: hidden;
  color: rgba(116, 24, 31, 0.48);
  background:
    linear-gradient(135deg, rgba(116, 24, 31, 0.07), rgba(170, 139, 118, 0.08)),
    var(--paper-deep);
}

.community-cover > img,
.community-cover-collage {
  width: 100%;
  height: 100%;
}

.community-cover > img {
  object-fit: cover;
  filter: saturate(0.9);
  transition:
    opacity 220ms ease,
    transform 360ms ease;
}

.community-cover:hover > img,
.community-cover:focus-visible > img {
  opacity: 0.9;
  transform: scale(1.025);
}

.community-photo-item:hover img,
.community-photo-item:focus-visible img {
  opacity: 0.92;
}

.community-cover-collage {
  display: grid;
  grid-template-columns: 1.18fr 0.82fr 0.82fr;
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 6px;
}

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

.community-cover-collage img:first-child {
  grid-row: span 2;
}

.community-cover-fade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0) 52%, var(--paper) 100%),
    linear-gradient(90deg, rgba(255, 249, 242, 0) 54%, var(--paper) 100%);
  pointer-events: none;
}

.community-section.is-reversed .community-cover-fade {
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0) 52%, var(--paper) 100%),
    linear-gradient(270deg, rgba(255, 249, 242, 0) 54%, var(--paper) 100%);
}

.community-placeholder {
  position: relative;
  z-index: 1;
  color: rgba(116, 24, 31, 0.5);
  font-family: var(--song-font);
  font-size: 1rem;
  font-weight: 700;
}

.community-detail {
  position: relative;
  display: grid;
  gap: clamp(34px, 5vw, 58px);
  padding-top: 34px;
  animation: product-detail-in 520ms cubic-bezier(0.22, 0.72, 0.28, 1) both;
}

.community-detail-head {
  display: grid;
  gap: 12px;
  max-width: 980px;
}

.community-detail-head h3,
.community-photo-body h3 {
  margin: 0;
  color: var(--title-burgundy);
  font-family: var(--display-song-font);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 700;
  line-height: 1.24;
}

.community-detail-close {
  position: absolute;
  top: 0;
  left: 0;
  width: max-content;
  min-height: 28px;
  padding: 0;
  border: 0;
  color: rgba(116, 24, 31, 0.52);
  background: transparent;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
}

.community-detail-close:hover,
.community-detail-close:focus-visible {
  color: var(--burgundy-deep);
}

.community-photo-wall {
  columns: 3 220px;
  column-gap: clamp(12px, 2vw, 18px);
}

.community-photo-item {
  position: relative;
  width: 100%;
  aspect-ratio: var(--photo-aspect, 4 / 3);
  display: grid;
  place-items: center;
  margin: 0 0 clamp(12px, 2vw, 18px);
  overflow: hidden;
  -webkit-column-break-inside: avoid;
  break-inside: avoid;
  page-break-inside: avoid;
  contain: paint;
  clip-path: inset(0);
  color: rgba(116, 24, 31, 0.48);
  background:
    linear-gradient(135deg, rgba(116, 24, 31, 0.06), rgba(170, 139, 118, 0.08)),
    var(--paper-deep);
}

.community-photo-item::before,
.community-photo-item::after {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
}

.community-photo-item::before {
  background-image: var(--photo-bg);
  background-position: center;
  background-size: cover;
  filter: blur(18px) saturate(0.86);
  opacity: 0.28;
  transform: scale(1.08);
}

.community-photo-item::after {
  background:
    linear-gradient(180deg, rgba(255, 249, 242, 0.18), rgba(255, 249, 242, 0.32)),
    rgba(116, 24, 31, 0.04);
}

.community-photo-item img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition:
    opacity 220ms ease;
}

.community-photo-detail {
  grid-template-columns: minmax(260px, 0.56fr) minmax(320px, 0.44fr);
  gap: clamp(30px, 4.6vw, 58px);
  align-items: center;
}

.community-photo-media {
  min-height: min(62svh, 640px);
  display: grid;
  place-items: center;
  color: rgba(116, 24, 31, 0.48);
  background: transparent;
}

.community-photo-media img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70svh, 760px);
  object-fit: contain;
}

.community-photo-body {
  display: grid;
  gap: 22px;
}

.community-photo-meta {
  margin-top: 2px;
  gap: 12px 18px;
}

.empty-state {
  margin: 0;
  color: var(--muted);
}

.image-slot,
.gallery-item,
.qr-slot {
  position: relative;
  overflow: hidden;
  display: block;
  background:
    linear-gradient(135deg, rgba(116, 24, 31, 0.07), rgba(170, 139, 118, 0.06)),
    var(--paper-deep);
}

.image-slot img {
  display: block;
}

.image-slot-thumbnail {
  display: grid;
  place-items: center;
  padding: 12px;
}

.image-slot-thumbnail .image-slot-bg {
  position: absolute;
  inset: -12%;
  z-index: 0;
  width: 124%;
  height: 124%;
  object-fit: cover;
  opacity: 0.28;
  filter: blur(16px) saturate(0.82);
  transform: scale(1.04);
}

.image-slot-thumbnail .image-slot-main {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.image-slot-detail {
  width: auto;
  max-width: 100%;
  display: grid;
  place-items: center;
  overflow: visible;
  background: transparent;
}

.image-slot-detail .image-slot-main {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(70svh, 720px);
  object-fit: contain;
}

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

.image-slot {
  aspect-ratio: 4 / 3;
}

.image-slot-detail {
  aspect-ratio: auto;
}

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

.gallery-item.tall {
  grid-row: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(34px, 5vw, 58px);
  align-items: start;
  width: 100%;
}

.contact-qrcode-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: flex-start;
  justify-content: flex-start;
  gap: 28px clamp(22px, 3vw, 36px);
  max-width: none;
}

.contact-qr-item {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
}

.contact-qr-text {
  width: 100%;
  display: grid;
  gap: 2px;
  justify-items: center;
  text-align: center;
}

.contact-qr-name {
  margin: 0;
  color: var(--burgundy-deep);
  font-family: var(--song-font);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-qr-note {
  max-width: 100%;
  display: block;
  overflow: hidden;
  color: rgba(108, 94, 90, 0.72);
  font-size: 0.8rem;
  line-height: 1.38;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.contact-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(34px, 5vw, 74px);
  width: 100%;
}

.contact-block {
  display: grid;
  gap: 14px;
}

.contact-block h3 {
  margin: 0;
  color: var(--burgundy);
  font-family: var(--song-font);
  font-size: clamp(1.08rem, 1.8vw, 1.42rem);
  font-weight: 700;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin: 0;
}

.contact-line {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1fr);
  gap: clamp(54px, 5vw, 86px);
  align-items: baseline;
}

.contact-line dt {
  color: var(--burgundy-deep);
  font-family: var(--song-font);
  font-size: 1.04rem;
  font-weight: 600;
  line-height: 1.45;
}

.contact-line dd {
  margin: 0;
  color: var(--muted);
  overflow-wrap: anywhere;
}

.contact-line a {
  transition: color 180ms ease;
}

.contact-line a:hover,
.contact-line a:focus-visible {
  color: var(--burgundy);
}

.qr-slot {
  width: min(230px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: end;
  color: rgba(116, 24, 31, 0.58);
  font-weight: 700;
}

.contact-qr-item .qr-slot {
  width: min(185px, 100%);
  justify-self: center;
  background:
    linear-gradient(135deg, rgba(116, 24, 31, 0.06), rgba(255, 249, 242, 0.78)),
    var(--paper-deep);
}

.contact-qr-item .qr-slot img {
  padding: 10px;
  filter: url("#qr-burgundy");
  mix-blend-mode: normal;
  opacity: 0.9;
}

.qr-slot span {
  position: relative;
  z-index: 1;
}

.site-footer {
  position: relative;
  z-index: 1;
  width: min(var(--header-width), calc(100% - 48px));
  margin: 0 auto;
  padding: 24px 0 30px;
  color: rgba(45, 9, 13, 0.58);
  font-size: 0.82rem;
  text-align: center;
}

.site-footer p {
  margin: 0;
}

@keyframes home-background-in {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

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

@keyframes home-overlay-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes home-rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes exhibition-slide-next {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

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

@keyframes exhibition-slide-prev {
  from {
    opacity: 0;
    transform: translateX(-18px);
  }

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

@keyframes product-detail-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes product-gallery-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

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

@keyframes product-image-expand {
  from {
    opacity: 0;
    transform: scale(0.94);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@media (max-width: 980px) {
  .contact-qrcode-list {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .panel[data-panel="home"] {
    --home-hero-padding-top: clamp(290px, 44svh, 380px);
  }

  .header-inner {
    width: min(var(--header-width), calc(100% - 48px));
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    margin: 0 auto;
    padding: 14px 0 12px;
  }

  .site-nav {
    width: 100%;
    flex-wrap: wrap;
    gap: 2px clamp(16px, 4vw, 24px);
    overflow: visible;
    padding-bottom: 2px;
    font-size: clamp(0.94rem, 3.7vw, 1.04rem);
    line-height: 1.35;
  }

  .site-nav a {
    min-height: 34px;
  }

  main {
    min-height: calc(100svh - 116px);
  }

  .page-section {
    min-height: calc(100svh - 116px);
  }

  .panel[data-panel="contact"] .page-section {
    width: min(var(--header-width), calc(100% - 48px));
    margin: 0 auto;
  }

  .hero-section,
  .content-grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-browser-note {
    position: static;
    grid-column: 1;
    margin-top: 18px;
  }

  .hero-feature {
    margin-right: 0;
    padding-top: 0;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .exhibition-list {
    width: 100%;
    grid-template-columns: 1fr;
  }

  .exhibition-carousel {
    grid-template-columns: 22px minmax(0, 1fr) 22px;
    gap: 8px;
    margin-top: 26px;
  }

  .exhibition-arrow {
    width: 22px;
  }

  .exhibition-item {
    min-height: 146px;
    gap: 14px;
    padding: 0 14px 16px;
  }

  .exhibition-item.has-divider::before {
    display: none;
  }

  .exhibition-note {
    position: static;
    right: auto;
    bottom: auto;
    max-width: 100%;
    min-height: 0;
    justify-self: center;
    line-height: 1.45;
  }

  .exhibition-note:empty {
    display: none;
  }

  .product-detail {
    grid-template-columns: 1fr;
    gap: 22px;
    padding-top: 34px;
  }

  .product-detail-media .image-slot-detail {
    max-width: 100%;
  }

  .product-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 42px;
  }

  .product-gallery-item {
    max-width: none;
  }

  .product-section-title {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .product-title-filter {
    justify-self: stretch;
    width: 100%;
  }

  .product-filter {
    text-align: left;
  }

  .product-filter-primary,
  .product-filter-types {
    justify-content: flex-start;
  }

  .community-section,
  .community-section.is-reversed,
  .community-photo-detail {
    grid-template-columns: 1fr;
  }

  .community-section .community-copy,
  .community-section.is-reversed .community-copy {
    order: 1;
  }

  .community-section .community-cover,
  .community-section.is-reversed .community-cover {
    order: 2;
  }

  .community-cover-fade,
  .community-section.is-reversed .community-cover-fade {
    background: linear-gradient(
      180deg,
      rgba(255, 249, 242, 0) 52%,
      var(--paper) 100%
    );
  }

  .community-photo-wall {
    columns: 2 180px;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 140px;
  }

  .qr-slot {
    justify-self: start;
  }

  .contact-layout {
    gap: 34px;
  }

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

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

@media (max-width: 560px) {
  .panel[data-panel="home"] {
    --home-bg-top: -42px;
    --home-bg-height: clamp(330px, calc(66.667vw + 106px), 500px);
    --home-bg-position: center 0;
    --home-bg-size: 100% auto;
    --home-bg-fade-in: clamp(18px, 7vw, 34px);
    --home-bg-solid-end: 50%;
    --home-bg-fade-out-end: 88%;
    --home-hero-padding-top: clamp(220px, calc(54vw + 42px), 295px);
  }

  .header-inner,
  .page-section {
    width: min(100% - 28px, var(--header-width));
  }

  .panel[data-panel="contact"] .page-section {
    width: min(100% - 28px, var(--header-width));
  }

  .brand img {
    width: 2.62rem;
    height: 2.62rem;
  }

  .brand-title {
    font-size: 1.06rem;
  }

  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.45rem;
  }

  .page-section {
    align-content: start;
    padding: 44px 0 64px;
  }

  .hero-section {
    padding-top: var(--home-hero-padding-top);
  }

  .exhibition-head {
    justify-content: center;
  }

  .hero-feature h2 {
    font-size: 1.08rem;
  }

  .exhibition-carousel {
    grid-template-columns: 24px minmax(0, 1fr) 24px;
    gap: 6px;
    margin-top: 20px;
  }

  .exhibition-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .exhibition-arrow {
    width: 24px;
    height: 38px;
    font-size: 1.18rem;
  }

  .exhibition-item {
    min-height: 166px;
    padding: 0 6px 14px;
  }

  .exhibition-item h3 {
    font-size: 0.92rem;
  }

  .exhibition-item p {
    font-size: 0.82rem;
  }

  .exhibition-item small {
    font-size: 0.72rem;
    line-height: 1.45;
  }

  .site-footer {
    width: min(100% - 28px, var(--header-width));
  }

  .info-list {
    grid-template-columns: 4.4em minmax(0, 1fr);
    gap: 6px 14px;
    align-items: start;
  }

  .info-list dt {
    min-width: 4.4em;
    padding: 7px 0;
    white-space: nowrap;
  }

  .info-list dd {
    padding: 7px 0;
    text-align: left;
  }

  .product-params {
    grid-template-columns: 4.4em minmax(0, 1fr);
    gap: 8px 14px;
    align-items: start;
  }

  .product-params dt {
    min-width: 4.4em;
  }

  .product-params dd {
    text-align: left;
  }

  .contact-qrcode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px clamp(34px, 10vw, 48px);
    width: 100%;
    max-width: none;
    justify-content: stretch;
  }

  .contact-qrcode-list > .contact-qr-item:last-child:nth-child(odd) {
    width: calc((100% - clamp(34px, 10vw, 48px)) / 2);
    grid-column: 1 / -1;
    justify-self: center;
  }

  .contact-line {
    grid-template-columns: minmax(11.2em, 1.28fr) minmax(6.5em, 0.72fr);
    gap: 8px clamp(20px, 5.8vw, 28px);
    align-items: start;
  }

  .contact-line dt {
    min-width: 0;
  }

  .contact-line dd {
    text-align: left;
  }

  .contact-qr-note {
    overflow: visible;
    text-overflow: clip;
    white-space: normal;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }

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

  .community-list {
    gap: 34px;
  }

  .community-section {
    padding: 10px 0;
  }

  .community-title,
  .community-detail-head h3,
  .community-photo-body h3 {
    font-size: 2.18rem;
  }

  .community-copy p,
  .community-detail-head p {
    font-size: 0.98rem;
  }

  .community-photo-wall {
    columns: 1;
  }

  .community-photo-item,
  .community-photo-item:nth-child(5n + 1) {
    aspect-ratio: var(--photo-aspect, 4 / 3);
  }

  .product-gallery-image .image-slot {
    aspect-ratio: 4 / 3;
  }

  .gallery-item.wide {
    grid-column: span 1;
  }
}

@media (max-width: 360px) {
  .panel[data-panel="home"] {
    --home-bg-top: -38px;
    --home-bg-height: clamp(320px, calc(66.667vw + 104px), 430px);
    --home-hero-padding-top: clamp(218px, calc(54vw + 42px), 270px);
  }

  .contact-qrcode-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .contact-qrcode-list > .contact-qr-item:last-child:nth-child(odd) {
    width: calc((100% - 20px) / 2);
  }

  .contact-line {
    grid-template-columns: minmax(10.2em, 1.18fr) minmax(6em, 0.82fr);
    gap: 8px 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0ms !important;
    transition-duration: 0.001ms !important;
  }
}
