:root {
  --ink: #050505;
  --coal: #11100e;
  --bone: #efe6d7;
  --paper: #ffffff;
  --paper-strong: #dededb;
  --warm-gray: #ffffff;
  --cool-gray: #c9cbc7;
  --ash: #ddd9cf;
  --muted: rgba(239, 230, 215, 0.7);
  --dark-text: #171412;
  --dark-muted: rgba(23, 20, 18, 0.62);
  --dim: rgba(239, 230, 215, 0.18);
  --red: #8d1f18;
  --gold: #b5a16f;
  --max: 1180px;
  --header-height: 122px;
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--bone);
  font-family: "Oswald", "Arial Narrow", Arial, sans-serif;
}

body.works-page {
  background: var(--paper);
  color: var(--dark-text);
}

body.goods-page,
body.product-page,
body.article-page {
  background: var(--paper);
  color: var(--dark-text);
}

body.goods-page {
  display: flex;
  flex-direction: column;
}

body.article-page-body {
  display: flex;
  flex-direction: column;
}

body.goods-page::before,
body.product-page::before,
body.article-page::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 255, 255, 0.82) 46%, rgba(255, 255, 255, 0.96)),
    linear-gradient(90deg, rgba(34, 30, 27, 0.06), rgba(255, 255, 255, 0) 42%),
    url("./assets/brand-bg-1.jpg") center top / cover;
  opacity: 0.22;
}

body.address-page {
  background: var(--paper);
  color: var(--dark-text);
}

body.address-page::before {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.76) 48%, rgba(197, 198, 194, 0.96)),
    linear-gradient(90deg, rgba(34, 30, 27, 0.08), rgba(255, 255, 255, 0) 44%),
    url("./assets/studio-1.jpg") center top / cover;
  opacity: 0.36;
}

html.has-loader body.is-loading main,
html.has-loader body.is-loading .site-header {
  opacity: 0;
}

html.has-loader body.is-revealing main,
html.has-loader body.is-revealing .site-header {
  opacity: 1;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -4;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.96), rgba(5, 5, 5, 0.58) 48%, rgba(5, 5, 5, 0.36)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.86), rgba(5, 5, 5, 0.12) 44%, rgba(5, 5, 5, 0.76)),
    url("./assets/brand-bg-1.jpg") center / cover;
}

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

button {
  font: inherit;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.grain {
  position: fixed;
  inset: 0;
  z-index: 20;
  pointer-events: none;
  opacity: 0.18;
  mix-blend-mode: soft-light;
  background-image:
    linear-gradient(0deg, transparent 0 50%, rgba(255, 255, 255, 0.18) 50% 51%, transparent 51%),
    repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px);
  background-size: 100% 3px, 90px 90px;
}

.loader {
  position: fixed;
  inset: 0;
  z-index: 30;
  overflow: hidden;
  background: #000;
  transition:
    opacity 760ms ease,
    visibility 760ms ease;
}

html.skip-loader .loader {
  display: none;
}

.loader::after {
  position: absolute;
  inset: 0;
  z-index: 3;
  content: "";
  opacity: 0.22;
  background:
    linear-gradient(0deg, transparent 0 50%, rgba(255, 255, 255, 0.2) 50% 51%, transparent 51%),
    repeating-radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.16) 0 1px, transparent 1px 4px);
  background-size: 100% 3px, 90px 90px;
  mix-blend-mode: soft-light;
  pointer-events: none;
}

.loader-mark {
  position: absolute;
  left: 50%;
  top: clamp(88px, 15vh, 124px);
  z-index: 4;
  width: clamp(118px, 24vw, 178px);
  height: auto;
  aspect-ratio: 1880 / 6159;
  transform: translateX(-50%);
}

.loader-mark img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.loader-mark-base {
  opacity: 0.42;
  filter: grayscale(1) invert(1) brightness(0.68) contrast(1.08);
}

.loader-mark-fill {
  position: absolute;
  inset: 0;
  display: block;
  overflow: hidden;
  clip-path: inset(100% 0 0);
  animation: loaderFill 2200ms cubic-bezier(0.5, 0, 0.18, 1) 280ms forwards;
}

.loader-mark-fill img {
  filter: grayscale(1) invert(1) brightness(1.9) contrast(1.08);
}

.loader-curtain {
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 2;
  width: 51%;
  background: #000;
  will-change: transform;
}

.loader-curtain-left {
  left: 0;
  transform-origin: left center;
}

.loader-curtain-right {
  right: 0;
  transform-origin: right center;
}

.loader.is-revealing {
  background: transparent;
}

.loader.is-revealing .loader-mark,
.loader.is-revealing::after {
  animation: loaderElementsExit 520ms ease forwards;
}

.loader.is-revealing .loader-curtain-left {
  animation: curtainLeftOpen 980ms cubic-bezier(0.82, 0, 0.18, 1) 420ms forwards;
}

.loader.is-revealing .loader-curtain-right {
  animation: curtainRightOpen 980ms cubic-bezier(0.82, 0, 0.18, 1) 420ms forwards;
}

.loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 12;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  height: 122px;
  padding: 0 clamp(18px, 4vw, 56px);
  background:
    linear-gradient(180deg, rgba(21, 20, 18, 0.98), rgba(5, 5, 5, 0.94)),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.025) 0 1px, transparent 1px 3px);
  border-bottom: 1px solid rgba(239, 230, 215, 0.08);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}

.brand {
  position: absolute;
  top: 9px;
  left: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 104px;
  height: 82px;
  transform: translateX(-50%);
}

.brand img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  opacity: 0.92;
  filter: grayscale(1) contrast(1.16);
}

.top-nav {
  grid-column: 2;
  display: flex;
  align-self: end;
  gap: clamp(16px, 2.4vw, 34px);
  max-width: calc(100vw - 220px);
  margin: 0 auto 18px;
  overflow-x: auto;
  color: rgba(239, 230, 215, 0.62);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(12px, 1vw, 14px);
  letter-spacing: 0.04em;
  scrollbar-width: none;
}

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

.top-nav a {
  flex: 0 0 auto;
  white-space: nowrap;
  transition: color 180ms ease;
}

.top-nav a:hover,
.top-nav a.is-active {
  color: var(--bone);
}

.lang-switch {
  position: absolute;
  top: 18px;
  right: clamp(18px, 4vw, 56px);
  border: 0;
  color: rgba(239, 230, 215, 0.48);
  background: transparent;
  cursor: pointer;
}

.lang-switch:hover {
  color: var(--bone);
}

main {
  background: var(--muted-section);
}

.album-page-shell {
  min-height: 100svh;
  background: var(--paper);
}

.address-page-shell {
  min-height: 100svh;
  padding: 148px clamp(22px, 4vw, 56px) 80px;
}

.address-hero {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  border: 1px solid rgba(23, 20, 18, 0.14);
  background: rgba(222, 222, 219, 0.88);
  box-shadow: 0 24px 80px rgba(19, 15, 10, 0.08);
}

.address-hero-visual {
  min-height: 72vh;
}

.address-hero-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 22px;
  padding: clamp(28px, 4vw, 54px);
}

.address-hero-copy h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(2.2rem, 4vw, 4rem);
  line-height: 1.05;
  color: #120f0d;
}

.address-info-list {
  display: grid;
  gap: 16px;
  margin: 0;
  padding: 26px 0;
  border-top: 1px solid rgba(23, 20, 18, 0.12);
  border-bottom: 1px solid rgba(23, 20, 18, 0.12);
}

.address-info-list div {
  display: grid;
  grid-template-columns: 108px minmax(0, 1fr);
  gap: 18px;
}

.address-info-list dt,
.address-gallery-card span {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(23, 20, 18, 0.46);
}

.address-info-list dd {
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.9;
  color: #161310;
}

.address-info-list a {
  color: #161310;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

.address-map-section {
  max-width: var(--max);
  margin: 42px auto 0;
  border: 1px solid rgba(23, 20, 18, 0.1);
  background: rgba(222, 222, 219, 0.74);
  overflow: hidden;
}

.address-map-frame {
  display: block;
  aspect-ratio: 16 / 8;
  background: #ddd5c9;
}

.address-map-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  align-items: end;
  padding: 0;
  overflow: hidden;
}

.hero[hidden] {
  display: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.46), rgba(5, 5, 5, 0.16) 48%, rgba(5, 5, 5, 0.1)),
    linear-gradient(0deg, rgba(5, 5, 5, 0.24), transparent 42%, rgba(5, 5, 5, 0.2));
  pointer-events: none;
}

.hero-slides,
.hero-slide {
  position: absolute;
  inset: 0;
}

.hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 1800ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.hero-intro {
  position: absolute;
  left: clamp(20px, 6vw, 76px);
  bottom: clamp(42px, 9vh, 86px);
  z-index: 2;
  max-width: 680px;
  color: var(--bone);
  animation: riseIn 820ms ease both;
}

.hero-intro h1 {
  margin: 0;
  font-size: clamp(36px, 6.5vw, 88px);
  line-height: 0.92;
}

.hero-intro p:not(.eyebrow) {
  max-width: 610px;
  margin: 22px 0 0;
  color: rgba(239, 230, 215, 0.72);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(17px, 2vw, 23px);
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold);
  font-family: "Noto Serif SC", serif;
  font-size: 14px;
  font-weight: 700;
}

h1,
h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-weight: 900;
  line-height: 1.14;
  text-wrap: balance;
  word-break: auto-phrase;
}

.section-copy p,
.guide-entry p,
.goods-list p,
.contact-panel {
  font-family: "Noto Serif SC", serif;
  line-height: 1.75;
}

section:not(.hero) {
  position: relative;
  padding: clamp(74px, 10vw, 126px) clamp(20px, 5vw, 58px);
}

section:not(.hero)::before {
  position: absolute;
  inset: 0;
  content: "";
  opacity: 0.16;
  pointer-events: none;
  background:
    linear-gradient(0deg, transparent 0 50%, rgba(23, 20, 18, 0.08) 50% 51%, transparent 51%),
    repeating-radial-gradient(circle at 26% 24%, rgba(23, 20, 18, 0.08) 0 1px, transparent 1px 5px);
  background-size: 100% 4px, 120px 120px;
}

.light-section {
  background: var(--paper);
  color: var(--dark-text);
}

.muted-section {
  background: var(--warm-gray);
  color: var(--dark-text);
}

.studio-switch {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(23, 20, 18, 0.03)),
    var(--paper);
}

.artist-intro {
  display: grid;
  align-content: center;
  height: 100svh;
  min-height: 640px;
  background:
    linear-gradient(90deg, rgba(23, 20, 18, 0.06), transparent 45%),
    var(--cool-gray);
  padding-top: 24px;
  padding-bottom: 48px;
}

.works-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.22), rgba(23, 20, 18, 0.03)),
    var(--paper);
}

.guide-section {
  background:
    linear-gradient(135deg, rgba(141, 31, 24, 0.035), transparent 42%),
    var(--cool-gray);
}

.goods-section {
  background:
    linear-gradient(135deg, rgba(23, 20, 18, 0.03), rgba(255, 255, 255, 0.1)),
    var(--paper);
}

.contact-section {
  background:
    linear-gradient(90deg, rgba(23, 20, 18, 0.05), transparent),
    var(--paper);
}

.artist-intro,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
  gap: clamp(30px, 7vw, 92px);
  align-items: center;
}

.section-copy,
.section-head,
.works-board,
.guide-grid,
.goods-layout,
.environment-grid,
.studio-carousel {
  max-width: none;
  margin-inline: 0;
}

section.studio-switch {
  display: grid;
  align-items: center;
  height: 100svh;
  min-height: 640px;
  padding-top: calc(var(--header-height) + 24px);
  padding-bottom: 48px;
}

.studio-carousel {
  overflow: hidden;
}

.studio-track {
  display: flex;
  transition: transform 760ms cubic-bezier(0.76, 0, 0.24, 1);
}

.studio-panel {
  display: grid;
  flex: 0 0 100%;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  width: 100%;
}

.studio-panel .section-copy h2 {
  font-size: clamp(26px, 3.7vw, 46px);
  line-height: 1.32;
  letter-spacing: 0.02em;
}

.studio-panel .section-copy .eyebrow {
  margin-bottom: 26px;
}

.studio-panel .section-copy p:not(.eyebrow) {
  max-width: none;
  margin-top: 34px;
}

.studio-panel[data-studio-panel="space"] {
  padding: 0;
  background: transparent;
}

.studio-panel[data-studio-panel="space"] .eyebrow,
.studio-panel[data-studio-panel="space"] .text-link {
  color: var(--red);
}

.section-copy {
  width: 100%;
}

.section-copy p {
  max-width: 640px;
  margin: 22px 0 0;
  color: currentColor;
  opacity: 0.72;
  font-size: 17px;
}

.light-section .eyebrow,
.muted-section .eyebrow {
  color: var(--red);
}

.light-section .text-link,
.muted-section .text-link,
.works-section .text-link {
  color: var(--dark-text);
}

h2 {
  font-size: clamp(32px, 4.8vw, 60px);
}

.story-slider {
  position: relative;
  height: min(84svh, 880px);
  max-height: 100%;
  overflow: hidden;
  background: transparent;
}

.story-slide img {
  object-fit: cover;
}

.story-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 800ms ease;
}

.story-slide.is-active {
  opacity: 1;
}

.story-slide img,
.artist-photo-block img,
.goods-visual img,
.guide-entry img,
.environment-grid img,
.work-tile img {
  filter: grayscale(0.18) contrast(1.08) brightness(0.78);
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.section-head h2 {
  max-width: 800px;
  font-size: clamp(29px, 4.3vw, 52px);
}

.text-link,
.primary-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 30px;
  border-bottom: 1px solid var(--red);
  padding-bottom: 9px;
  color: var(--bone);
  font-family: "Noto Serif SC", serif;
}

.environment-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.8fr 0.8fr;
  gap: 12px;
}

.environment-grid img {
  aspect-ratio: 4 / 5;
  min-height: 0;
}

.environment-grid img:first-child {
  aspect-ratio: 16 / 10;
  grid-column: span 1;
  align-self: stretch;
}

.artist-photo-block {
  height: 100%;
  min-height: min(70svh, 740px);
  max-height: 100%;
  overflow: hidden;
  background: var(--coal);
}

.artist-mini-list {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.artist-mini-list article {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(23, 20, 18, 0.16);
  padding-top: 12px;
}

.artist-mini-list strong {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
}

.artist-mini-list span {
  color: var(--dark-muted);
  font-size: 13px;
}

.works-section {
  overflow: hidden;
}

.works-board {
  display: grid;
  grid-template-columns: 1.15fr 0.7fr 0.7fr;
  grid-template-rows: repeat(2, minmax(190px, 28svh));
  gap: 12px;
}

.work-tile {
  position: relative;
  min-height: 0;
  overflow: hidden;
  background: var(--coal);
}

.work-tile.is-large {
  grid-row: span 2;
}

.work-tile.is-wide {
  grid-column: span 2;
}

.work-tile img {
  transition:
    transform 640ms ease,
    filter 640ms ease;
}

.work-tile:hover img {
  transform: scale(1.05);
  filter: grayscale(0.05) contrast(1.16) brightness(0.9);
}

.work-tile::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(0deg, rgba(5, 5, 5, 0.76), transparent 58%);
}

.work-tile span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 1;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(22px, 3vw, 40px);
  font-weight: 700;
}

section.album-showcase {
  padding: var(--header-height) 0 0;
  background: #11100f;
  color: var(--bone);
}

.album-showcase > .album-hero {
  position: relative;
  width: 100%;
  height: clamp(520px, 62vh, 720px);
  padding: 0;
  overflow: hidden;
  background: #11100f;
}

.album-showcase > .album-hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.54), transparent 48%),
    linear-gradient(0deg, rgba(5, 5, 5, 0.72), transparent 46%);
}

.album-hero-track,
.album-hero-slide {
  position: absolute;
  inset: 0;
}

.album-hero-slide {
  opacity: 0;
  transform: scale(1.04);
  transition:
    opacity 900ms ease,
    transform 1800ms ease;
}

.album-hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.album-hero-slide img {
  object-fit: contain;
}

.album-hero-copy {
  position: absolute;
  left: clamp(20px, 6vw, 76px);
  bottom: clamp(64px, 9vh, 92px);
  z-index: 2;
  max-width: min(680px, calc(100% - 40px));
  color: var(--bone);
}

.album-hero-copy h1 {
  margin: 0;
  font-size: clamp(38px, 5.2vw, 72px);
  text-shadow: 0 3px 22px rgba(0, 0, 0, 0.52);
}

.album-hero-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 14px 0 0;
  color: rgba(239, 230, 215, 0.78);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(15px, 1.6vw, 19px);
  line-height: 1.75;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.58);
}

.album-hero-pagination {
  position: absolute;
  right: 0;
  bottom: 28px;
  left: 0;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.album-hero-pagination[hidden] {
  display: none;
}

.album-hero-pagination button {
  width: 7px;
  height: 7px;
  border: 0;
  border-radius: 50%;
  padding: 0;
  background: rgba(239, 230, 215, 0.42);
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease;
}

.album-hero-pagination button.is-active {
  background: var(--cinnabar);
  transform: scale(1.35);
}

@media (prefers-reduced-motion: reduce) {
  .album-hero-slide,
  .album-hero-pagination button {
    transition: none;
  }
}

.album-gallery-section > * {
  position: relative;
  z-index: 1;
  max-width: var(--max);
}

.album-gallery-section {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.38), rgba(23, 20, 18, 0.03)),
    var(--warm-gray);
  color: var(--dark-text);
}

.album-gallery-section .section-head,
.album-category-groups,
.masonry-gallery {
  max-width: var(--max);
  margin-inline: auto;
}

.album-category-groups {
  display: grid;
  gap: 64px;
}

.works-category-section {
  min-width: 0;
}

.works-category-heading {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 24px;
}

.works-category-heading::before {
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  content: "";
  background: var(--cinnabar);
}

.works-category-heading h2 {
  margin: 0;
  color: var(--dark-text);
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.35;
}

.masonry-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  align-items: start;
}

.masonry-item {
  position: relative;
  display: block;
  width: 100%;
  border: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
  background: var(--coal);
  break-inside: avoid;
  cursor: zoom-in;
}

.masonry-item img {
  aspect-ratio: 3 / 4;
  filter: grayscale(0.12) contrast(1.08) brightness(0.82);
  transition:
    transform 640ms ease,
    filter 640ms ease;
}

.masonry-item.is-wide img {
  aspect-ratio: 4 / 3;
}

.masonry-item.is-tall img {
  aspect-ratio: 2 / 3;
}

.masonry-item:hover img {
  transform: scale(1.035);
  filter: grayscale(0.04) contrast(1.14) brightness(0.9);
}

.load-more-button {
  display: block;
  margin: 30px auto 0;
  border: 1px solid rgba(23, 20, 18, 0.22);
  padding: 12px 22px;
  color: var(--dark-text);
  background: #ffffff;
  cursor: pointer;
}

.load-more-button[hidden] {
  display: none;
}

.image-preview-dialog {
  width: min(92vw, 1080px);
  max-height: 92svh;
  border: 0;
  padding: 0;
  background: transparent;
}

.image-preview-dialog::backdrop {
  background: rgba(5, 5, 5, 0.86);
}

.image-preview-dialog img {
  width: 100%;
  max-height: 92svh;
  object-fit: contain;
  background: #000;
}

.image-preview-dialog .dialog-close {
  position: fixed;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(239, 230, 215, 0.26);
  color: var(--bone);
  background: rgba(5, 5, 5, 0.58);
}

section.guide-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  padding-inline: max(clamp(20px, 4vw, 58px), calc((100% - 1280px) / 2));
}

.guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  width: 100%;
}

@media (min-width: 961px) {
  .goods-section,
  section.guide-section {
    align-content: center;
    padding-top: calc(var(--header-height) + 32px);
    padding-bottom: clamp(56px, 7vh, 86px);
  }

  .goods-section {
    min-height: 100svh;
  }

  section.guide-section {
    min-height: min(86svh, 940px);
  }

  .guide-grid {
    max-width: none;
  }

  .goods-visual {
    min-height: 520px;
  }

  .goods-list article,
  .goods-entry {
    min-height: 173px;
    padding: 34px;
  }

  .guide-entry div {
    padding: 25px 27px 29px;
  }

  .guide-entry strong,
  .goods-list strong {
    font-size: 30px;
  }
}

.guide-entry {
  position: relative;
  display: grid;
  align-items: end;
  aspect-ratio: 1 / 1;
  border: 0;
  background: rgba(23, 20, 18, 0.3);
  color: var(--bone);
  overflow: hidden;
}

.guide-entry img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 700ms ease;
}

.guide-entry::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top, rgba(23, 20, 18, 0.92) 0%, rgba(23, 20, 18, 0.44) 46%, rgba(23, 20, 18, 0.06) 72%, transparent 100%);
  transition: opacity 320ms ease;
}

.guide-entry:hover img {
  transform: scale(1.045);
}

.guide-entry:hover::before {
  opacity: 0.94;
}

.guide-entry div {
  position: relative;
  z-index: 2;
  display: grid;
  align-content: end;
  padding: 22px 24px 26px;
}

.guide-entry strong {
  margin-top: 0;
  color: var(--bone);
  font-size: 27px;
  line-height: 1.3;
  display: block;
  min-height: 0;
  overflow: visible;
  -webkit-line-clamp: unset;
  -webkit-box-orient: unset;
}

.goods-list span {
  color: var(--red);
  font-size: 13px;
}

.goods-list strong {
  margin-top: 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.35;
  display: -webkit-box;
  min-height: calc(1.35em * 2);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.guide-entry p,
.goods-list p {
  margin: 12px 0 0;
  color: var(--dark-muted);
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

.goods-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 1px;
  max-width: 1280px;
  margin-inline: auto;
  border: 1px solid rgba(23, 20, 18, 0.16);
  background: rgba(23, 20, 18, 0.16);
}

.goods-section > .section-head {
  max-width: 1280px;
  margin-inline: auto;
}

.goods-visual {
  min-height: 430px;
  background: var(--coal);
}

.goods-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1px;
}

.goods-list article,
.goods-entry {
  display: grid;
  align-content: center;
  min-height: 142px;
  padding: 28px;
  background: #ececeb;
}

.goods-entry {
  color: inherit;
  text-decoration: none;
  transition:
    background 180ms ease,
    transform 180ms ease;
}

.goods-entry:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(6px);
}

.goods-entry.is-empty {
  min-height: 180px;
  border: 1px solid rgba(23, 20, 18, 0.08);
  background: rgba(255, 255, 255, 0.48);
}

.goods-page-shell,
.product-page-shell,
.article-page-shell {
  max-width: var(--max);
  margin: 0 auto;
  padding: calc(var(--header-height) + 42px) 20px 0;
}

.goods-page-shell {
  display: flex;
  flex: 1;
  flex-direction: column;
  width: 100%;
  padding-bottom: clamp(56px, 7vw, 88px);
}

.article-page-shell {
  padding-top: clamp(52px, 7vw, 84px);
}

.goods-page-head,
.goods-listing-section,
.product-detail-hero,
.product-detail-section,
.article-detail-layout {
  width: 100%;
}

section.goods-page-head {
  padding: clamp(48px, 6vw, 72px) 0 0;
}

.goods-page-head-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(23, 20, 18, 0.1);
}

.goods-page-head h1 {
  margin: 0 0 12px;
  font-size: clamp(34px, 5vw, 58px);
}

.goods-page-head p:not(.eyebrow),
.product-detail-copy p,
.product-body p,
.product-meta-list dd {
  color: var(--dark-muted);
}

.goods-page-head strong {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(22px, 3vw, 34px);
  white-space: nowrap;
}

section.goods-listing-section {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-height: clamp(320px, 42vh, 520px);
  padding: clamp(28px, 4vw, 42px) 0 0;
}

.goods-simple-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.goods-simple-grid.is-empty {
  flex: 1;
  grid-template-columns: 1fr;
}

.goods-empty-state {
  display: flex;
  min-height: clamp(280px, 38vh, 440px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-top: 1px solid rgba(23, 20, 18, 0.1);
  border-bottom: 1px solid rgba(23, 20, 18, 0.1);
  color: var(--dark-text);
  text-align: center;
}

.goods-empty-state strong {
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 3vw, 34px);
}

.goods-empty-state p {
  max-width: 420px;
  margin: 14px 0 0;
  color: var(--dark-muted);
  font-family: "Noto Serif SC", serif;
  line-height: 1.8;
}

.goods-simple-card,
.empty-card {
  color: inherit;
  text-decoration: none;
}

.goods-simple-card {
  display: grid;
  gap: 14px;
}

.goods-simple-card-image {
  overflow: hidden;
  background: rgba(23, 20, 18, 0.08);
}

.goods-simple-card-image img {
  aspect-ratio: 4 / 5;
  transition: transform 360ms ease;
}

.goods-simple-card:hover .goods-simple-card-image img {
  transform: scale(1.02);
}

.goods-simple-card strong {
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  display: -webkit-box;
  min-height: calc(1.4em * 2);
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.goods-pagination {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 34px;
}

.goods-page-button {
  min-width: 38px;
  height: 38px;
  border: 1px solid rgba(23, 20, 18, 0.16);
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.64);
  cursor: pointer;
}

.goods-page-button.is-active {
  color: var(--bone);
  background: var(--dark-text);
}

.empty-card {
  padding: 24px;
  background: rgba(255, 255, 255, 0.64);
  color: var(--dark-muted);
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.8;
}

.product-detail-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.82fr);
  gap: clamp(26px, 5vw, 64px);
  align-items: start;
}

.product-media-column {
  display: grid;
  gap: 14px;
}

.product-detail-image,
.product-strip-item {
  overflow: hidden;
  background: rgba(23, 20, 18, 0.08);
}

.product-detail-image img {
  aspect-ratio: 4 / 5;
}

.product-gallery-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.product-strip-item {
  border: 1px solid transparent;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.56);
}

.product-strip-item.is-active {
  border-color: rgba(23, 20, 18, 0.28);
}

.product-strip-item img {
  aspect-ratio: 1 / 1;
}

.product-detail-copy {
  display: grid;
  gap: 18px;
  align-content: start;
  padding-top: 8px;
}

.product-detail-copy h1 {
  margin: 0;
  font-size: clamp(34px, 5vw, 56px);
}

.product-price {
  color: var(--dark-text);
  font-family: "Noto Serif SC", serif;
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
}

.product-summary {
  max-width: 580px;
  font-size: 16px;
  line-height: 1.75;
}

.product-body {
  display: grid;
  gap: 14px;
  max-width: 880px;
}

.product-body p {
  margin: 0;
  line-height: 1.85;
}

.product-detail-section {
  padding-top: clamp(36px, 5vw, 56px);
}

.product-detail-section h2 {
  margin: 0;
  font-size: clamp(28px, 4vw, 40px);
  margin-bottom: 18px;
}

.product-contact-link {
  display: inline-flex;
  width: fit-content;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(141, 31, 24, 0.52);
  color: var(--dark-text);
  text-decoration: none;
}

.article-title-hero {
  position: relative;
  display: grid;
  place-items: center;
  min-height: clamp(300px, 34vw, 440px);
  margin-top: var(--header-height);
  overflow: hidden;
  color: var(--bone);
  background: var(--coal);
}

.article-title-hero > img,
.article-title-hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.article-title-hero > img {
  object-fit: cover;
  filter: grayscale(0.16) contrast(1.08) brightness(0.76);
}

.article-title-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.24), rgba(5, 5, 5, 0.42)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.34), transparent 48%, rgba(5, 5, 5, 0.34));
}

.article-title-hero h1 {
  position: relative;
  z-index: 2;
  max-width: min(920px, calc(100% - 40px));
  margin: 0;
  color: #fff;
  font-family: "Noto Serif SC", serif;
  font-size: clamp(36px, 4.2vw, 58px);
  line-height: 1.28;
  text-align: center;
  text-wrap: balance;
}

.article-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 780px) minmax(240px, 292px);
  justify-content: space-between;
  gap: clamp(40px, 5vw, 88px);
  align-items: start;
}

.article-detail-main {
  min-width: 0;
  padding-bottom: 36px;
}

.article-detail-header {
  display: grid;
  gap: 16px;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(23, 20, 18, 0.1);
  margin-bottom: 34px;
}

.article-detail-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-detail-date {
  margin: 0;
  color: var(--dark-muted);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.article-detail-body {
  display: grid;
  gap: 20px;
  max-width: 720px;
  padding-bottom: 8px;
}

.article-detail-body p {
  margin: 0;
  color: rgba(23, 20, 18, 0.82);
  font-family: "Noto Serif SC", serif;
  line-height: 2.02;
  font-size: clamp(16px, 1.2vw, 18px);
}

.article-detail-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 48px);
}

.article-sidebar-panel {
  display: grid;
  gap: 16px;
  padding-left: 24px;
  border-left: 1px solid rgba(23, 20, 18, 0.12);
}

.article-sidebar-panel h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 22px;
}

.article-sidebar-nav {
  display: grid;
  gap: 8px;
}

.article-sidebar-link {
  display: grid;
  gap: 6px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(23, 20, 18, 0.08);
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.article-sidebar-link:hover {
  color: var(--red);
  transform: translateX(4px);
}

.article-sidebar-link-title {
  font-family: "Noto Serif SC", serif;
  font-size: 16px;
  line-height: 1.7;
  display: -webkit-box;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-page-shell {
  flex: 1;
  position: relative;
}

.article-page-shell::before {
  position: absolute;
  inset: 20px 0 auto;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, rgba(23, 20, 18, 0), rgba(23, 20, 18, 0.1) 24%, rgba(23, 20, 18, 0.1) 76%, rgba(23, 20, 18, 0));
}

.contact-panel {
  display: grid;
  gap: 16px;
}

.contact-panel a,
.contact-panel button,
.contact-link-text {
  display: block;
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(23, 20, 18, 0.18);
  padding: 0 0 16px;
  color: var(--dark-text);
  background: transparent;
  text-align: left;
  font-family: "Oswald", sans-serif;
  font-size: clamp(23px, 3vw, 34px);
}

.contact-panel a,
.contact-panel button {
  cursor: pointer;
}

.back-to-top {
  position: fixed;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(18px, 3vw, 34px);
  z-index: 18;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(23, 20, 18, 0.22);
  color: var(--dark-text);
  background: #ffffff;
  opacity: 0;
  pointer-events: none;
  cursor: pointer;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    background 180ms ease;
  transform: translateY(10px);
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--paper-strong);
}

.site-footer {
  padding: 0 20px 34px;
  color: rgba(239, 230, 215, 0.78);
  background: #050505;
}

.site-footer-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px 16px;
  min-height: 112px;
  padding-top: 18px;
  width: min(100%, var(--max));
  margin: 0 auto;
  border-top: 1px solid rgba(239, 230, 215, 0.12);
  text-align: center;
  font-family: "Noto Serif SC", serif;
}

.site-footer-meta,
.site-footer-record,
.site-footer-divider {
  font-size: 13px;
  line-height: 1.7;
}

.site-footer-meta {
  color: inherit;
  opacity: 0.88;
}

.site-footer-divider {
  width: 16px;
  height: 1px;
  background: currentColor;
  opacity: 0.22;
}

.site-footer-record {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit;
  text-decoration: none;
  opacity: 0.92;
  transition:
    opacity 180ms ease,
    color 180ms ease;
}

.site-footer-record:hover {
  opacity: 1;
}

.inquiry-dialog {
  width: min(520px, calc(100vw - 32px));
  border: 0;
  padding: 0;
  color: var(--dark-text);
  background: transparent;
}

.inquiry-dialog::backdrop {
  background: rgba(5, 5, 5, 0.74);
}

.inquiry-form {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(24px, 5vw, 38px);
  background: var(--paper-strong);
}

.inquiry-form h2 {
  font-size: clamp(32px, 8vw, 54px);
}

.inquiry-form label {
  display: grid;
  gap: 8px;
  color: var(--dark-muted);
  font-family: "Noto Serif SC", serif;
  font-size: 13px;
  font-weight: 700;
}

.inquiry-form input,
.inquiry-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 20, 18, 0.18);
  padding: 12px;
  color: var(--dark-text);
  background: rgba(255, 255, 255, 0.54);
  font: inherit;
}

.inquiry-form textarea {
  min-height: 120px;
  resize: vertical;
}

.inquiry-form button[type="submit"] {
  border: 0;
  padding: 13px 18px;
  color: var(--bone);
  background: var(--dark-text);
  cursor: pointer;
}

.dialog-close {
  position: absolute;
  top: 14px;
  right: 14px;
  border: 0;
  color: var(--dark-text);
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

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

@keyframes loaderFill {
  0% {
    clip-path: inset(100% 0 0);
  }

  76% {
    clip-path: inset(8% 0 0);
  }

  100% {
    clip-path: inset(0 0 0);
  }
}

@keyframes loaderElementsExit {
  to {
    opacity: 0;
    transform: translateX(-50%) scale(0.98);
  }
}

@keyframes curtainLeftOpen {
  to {
    transform: translateX(-101%);
  }
}

@keyframes curtainRightOpen {
  to {
    transform: translateX(101%);
  }
}

@media (max-width: 960px) {
  .site-header {
    height: 112px;
  }

  .article-title-hero {
    min-height: 320px;
    margin-top: 112px;
  }

  .top-nav {
    grid-column: 1 / -1;
    justify-self: stretch;
    justify-content: start;
    gap: 18px;
    max-width: 100%;
  }

  .studio-panel,
  .artist-intro,
  section.guide-section,
  .goods-layout,
  .goods-hero-panel,
  .product-detail-hero,
  .article-detail-layout,
  .contact-section,
  .address-hero {
    grid-template-columns: 1fr;
  }

  /* 移动端店铺介绍：图片在上、文字在下 */
  .studio-panel > .story-slider {
    order: -1;
    height: 56svh;
  }

  .studio-panel {
    row-gap: 20px;
  }

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

  .artist-photo-block {
    min-height: 62svh;
  }

  .environment-grid,
  .works-board {
    grid-template-columns: 1fr 1fr;
  }

  .works-board {
    grid-template-rows: repeat(2, 26svh);
  }

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

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

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

  .goods-page-head-row,
  .product-detail-hero {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .goods-page-head-row {
    display: grid;
    gap: 14px;
  }

  .article-detail-sidebar {
    position: static;
  }

  .article-sidebar-panel {
    padding-left: 0;
    padding-top: 26px;
    border-left: 0;
    border-top: 1px solid rgba(23, 20, 18, 0.12);
  }

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

  .work-tile.is-large,
  .work-tile.is-wide {
    grid-column: auto;
    grid-row: auto;
  }

  .address-page-shell {
    padding-inline: 18px;
  }

  .address-hero-visual {
    min-height: 48vh;
  }

  .address-info-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .site-footer-inner {
    min-height: 96px;
  }
}

@media (max-width: 560px) {
  .album-category-groups {
    gap: 44px;
  }

  .works-category-heading {
    gap: 12px;
    margin-bottom: 18px;
  }

  .works-category-heading::before {
    width: 26px;
  }

  .works-category-heading h2 {
    font-size: 23px;
  }

  .site-header {
    height: 116px;
    padding: 0 14px;
  }

  .brand {
    top: 8px;
    width: 98px;
    height: 80px;
  }

  .brand img {
    width: 76px;
    height: 76px;
  }

  .lang-switch {
    top: 15px;
    right: 14px;
    font-size: 12px;
  }

  .top-nav {
    margin-bottom: 6px;
    gap: 10px;
    font-size: 11px;
    overflow-x: hidden;
  }

  .hero {
    min-height: 100svh;
  }

  section:not(.hero) {
    scroll-margin-top: var(--header-height);
    padding: 66px 18px;
  }

  h2,
  .section-head h2 {
    font-size: clamp(25px, 9.5vw, 40px);
  }

  .section-copy p {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.6;
  }

  .section-head {
    align-items: start;
    flex-direction: column;
  }

  .environment-grid,
  .works-board {
    display: block;
  }

  .environment-grid img,
  .work-tile {
    height: 22svh;
    margin-bottom: 10px;
  }

  .guide-entry div {
    padding: 14px 16px 16px;
  }

  .guide-entry strong,
  .goods-list strong {
    font-size: 20px;
  }

  .guide-entry p,
  .goods-list p {
    margin-top: 6px;
    font-size: 13px;
    line-height: 1.45;
  }

  .goods-visual {
    min-height: 170px;
  }

  .goods-list article {
    min-height: 100px;
    padding: 16px;
  }

  .goods-card-grid,
  .goods-simple-grid {
    grid-template-columns: 1fr;
  }

  .goods-page-shell,
  .product-page-shell {
    padding: calc(var(--header-height) + 32px) 18px 0;
  }

  .article-page-shell {
    padding: 46px 18px 0;
  }

  .goods-page-head h1,
  .product-detail-copy h1 {
    font-size: clamp(30px, 11vw, 42px);
  }

  .goods-page-head strong {
    white-space: normal;
  }

  .article-detail-header {
    gap: 14px;
    padding-bottom: 28px;
    margin-bottom: 28px;
  }

  .article-title-hero {
    min-height: 250px;
    margin-top: 116px;
  }

  .article-title-hero h1 {
    max-width: calc(100% - 36px);
    font-size: clamp(30px, 9vw, 42px);
  }

  .article-detail-body p {
    font-size: 16px;
    line-height: 1.94;
  }

  .article-sidebar-panel h2 {
    font-size: 20px;
  }

  .article-sidebar-link-title {
    font-size: 15px;
    line-height: 1.65;
  }

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

  section.album-showcase {
    padding: 116px 0 0;
  }

  .album-showcase > .album-hero {
    height: 58svh;
    min-height: 440px;
    max-height: 560px;
  }

  .album-hero-copy {
    left: 20px;
    right: 20px;
    bottom: 62px;
  }

  .album-hero-copy h1 {
    font-size: clamp(32px, 10vw, 46px);
  }

  .masonry-gallery {
    grid-template-columns: 1fr;
  }

  .contact-panel a,
  .contact-panel button {
    font-size: 23px;
  }

  .site-footer {
    padding: 0 18px 26px;
  }

  .site-footer-inner {
    min-height: 88px;
    gap: 8px 10px;
    padding-top: 14px;
  }

  .site-footer-divider {
    width: 12px;
  }

  .site-footer-meta,
  .site-footer-record,
  .site-footer-divider {
    font-size: 12px;
    line-height: 1.65;
  }
}
