:root {
  --ink: #171814;
  --soft-ink: #3f413a;
  --muted: #75766c;
  --paper: #f6f1e8;
  --rice: #fffaf1;
  --line: rgba(23, 24, 20, 0.14);
  --jade: #486f66;
  --bronze: #a06f3d;
  --wood: #6d4a31;
  --shadow: 0 28px 90px rgba(35, 31, 24, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family:
    "Microsoft YaHei",
    "PingFang SC",
    "Noto Sans SC",
    Arial,
    sans-serif;
}

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

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 74px;
  padding: 0 clamp(18px, 5vw, 72px);
  color: #fff;
  background: linear-gradient(180deg, rgba(18, 18, 14, 0.72), rgba(18, 18, 14, 0));
}

.brand,
.nav-links {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-weight: 700;
}

.brand-name {
  display: grid;
  gap: 2px;
  line-height: 1.1;
}

.brand-name small {
  color: rgba(255, 255, 255, 0.7);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(14px);
}

.nav-links {
  gap: clamp(16px, 3vw, 34px);
  font-size: 14px;
}

.nav-links a {
  opacity: 0.82;
}

.nav-links a:hover {
  opacity: 1;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.36);
  border-radius: 50%;
  color: #fff;
  background: rgba(18, 18, 14, 0.28);
  backdrop-filter: blur(14px);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

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

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.hero {
  position: relative;
  min-height: 94vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 76px) 74px;
  color: #fff;
}

.subpage-hero {
  position: relative;
  min-height: 72vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 130px clamp(20px, 5vw, 76px) 74px;
  color: #fff;
}

.subpage-hero > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #181913;
}

.works-page .subpage-hero > img,
.spaces-page .subpage-hero > img,
.murals-page .subpage-hero > img {
  object-fit: cover;
}

.hero-media,
.hero picture,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero picture {
  z-index: 0;
}

.hero-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-shade {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 13, 10, 0.9), rgba(12, 13, 10, 0.58) 48%, rgba(12, 13, 10, 0.18)),
    linear-gradient(0deg, rgba(12, 13, 10, 0.78), rgba(12, 13, 10, 0.08) 54%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--bronze);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 1.04;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 20px;
  font-size: clamp(30px, 4.4vw, 56px);
  line-height: 1.12;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 21px;
  line-height: 1.3;
}

p {
  color: var(--muted);
  line-height: 1.85;
}

.hero-en {
  max-width: 680px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(18px, 2vw, 23px);
}

.en-copy {
  color: #858076;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  font-weight: 800;
}

.button.primary {
  color: #151611;
  background: #fff;
}

.button.ghost {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
}

.button.dark {
  color: var(--ink);
  border-color: rgba(23, 24, 20, 0.24);
  background: rgba(255, 250, 241, 0.7);
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.section {
  padding: clamp(70px, 9vw, 118px) clamp(20px, 5vw, 76px);
}

.story-section,
.process-section {
  background: var(--rice);
}

.story-layout,
.process-layout,
.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(32px, 6vw, 76px);
  align-items: center;
}

.story-layout > div {
  max-width: 780px;
}

.artist-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 22px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: var(--shadow);
}

.artist-card img {
  width: 132px;
  height: 132px;
  border-radius: 50%;
  object-fit: cover;
}

.artist-card span,
.work-card span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.artist-card strong {
  display: block;
  margin: 8px 0;
  font-size: 24px;
}

.artist-facts {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.artist-facts li {
  padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--soft-ink);
  font-size: 14px;
  line-height: 1.6;
}

.section-title-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(260px, 0.9fr);
  gap: 32px;
  align-items: end;
  margin-bottom: 42px;
}

.content-note {
  margin: 0 0 24px;
  padding: 14px 16px;
  border-left: 3px solid var(--bronze);
  color: var(--soft-ink);
  background: rgba(255, 250, 241, 0.72);
  font-size: 14px;
}

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

.work-card,
.space-grid article,
.steps article,
.contact-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 54px rgba(35, 31, 24, 0.1);
}

.work-card,
.space-grid article,
.project-feature,
.gallery-card {
  position: relative;
}

.media-badge {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  padding: 7px 10px;
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 24, 20, 0.76);
  backdrop-filter: blur(10px);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.work-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.work-meta li {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.work-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

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

.work-card.wide img {
  aspect-ratio: 16 / 5;
  object-fit: contain;
  padding: 18px;
  background: #eee5d8;
}

.work-card.contain img {
  object-fit: contain;
  padding: 14px;
  background: #eee5d8;
}

.work-card div {
  padding: 22px;
}

.category-nav {
  position: sticky;
  z-index: 10;
  top: 74px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -24px 0 52px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.88);
  backdrop-filter: blur(16px);
}

.category-nav a {
  padding: 10px 14px;
  border: 1px solid rgba(23, 24, 20, 0.12);
  border-radius: 999px;
  color: var(--soft-ink);
  font-weight: 800;
}

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

.gallery-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.84);
  box-shadow: 0 18px 54px rgba(35, 31, 24, 0.1);
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  padding: 12px;
  background: #eee5d8;
}

.gallery-card.tall img {
  aspect-ratio: 3 / 4;
  object-fit: contain;
  padding: 12px;
}

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

.gallery-card.wide img {
  aspect-ratio: 16 / 7;
  object-fit: contain;
  padding: 14px;
}

.gallery-card div,
.project-feature div {
  padding: 22px;
}

.gallery-card span,
.project-feature span {
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.mural-teaser {
  background: var(--rice);
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.86);
  box-shadow: var(--shadow);
}

.project-feature img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  padding: 14px;
  background: #eee5d8;
}

.new-works {
  margin-top: clamp(42px, 6vw, 72px);
  padding-top: clamp(34px, 5vw, 56px);
  border-top: 1px solid var(--line);
}

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

.showcase-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 250, 241, 0.82);
  box-shadow: 0 18px 54px rgba(35, 31, 24, 0.08);
}

.showcase-grid img {
  width: 100%;
  height: 360px;
  object-fit: contain;
  padding: 14px;
  background: #f3eadc;
}

.showcase-grid h3,
.showcase-grid p {
  padding-right: 18px;
  padding-left: 18px;
}

.showcase-grid h3 {
  margin-top: 18px;
}

.showcase-grid p {
  margin-bottom: 20px;
}

.wide-showcase {
  grid-column: span 2;
}

.wide-showcase img {
  object-fit: contain;
}

.process-copy {
  max-width: 680px;
}

.process-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: clamp(14px, 2vw, 24px);
  align-items: start;
  padding: clamp(14px, 2vw, 22px);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #eee5d8;
  box-shadow: var(--shadow);
}

.process-shot {
  position: relative;
  margin: 0;
}

.process-shot-sketch {
  margin-top: clamp(44px, 6vw, 82px);
}

.process-shot img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: 8px;
  object-fit: cover;
  background: #e6dccd;
}

.process-shot figcaption {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 2px 0;
  color: var(--soft-ink);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.process-shot figcaption span {
  color: var(--bronze);
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 900;
}

.spaces-section {
  background: #efe5d6;
}

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

.space-grid img {
  width: 100%;
  aspect-ratio: 5 / 4;
  object-fit: cover;
}

.space-grid h3 {
  padding: 20px;
}

.collaboration-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 42px;
  background: var(--ink);
  color: #fff;
}

.collaboration-section p {
  color: rgba(255, 255, 255, 0.68);
}

.steps {
  display: grid;
  gap: 16px;
}

.steps article {
  padding: 26px;
  color: var(--ink);
  background: rgba(255, 250, 241, 0.95);
}

.steps article p {
  color: var(--muted);
}

.steps span {
  display: block;
  margin-bottom: 24px;
  color: var(--bronze);
  font-size: 34px;
  font-weight: 900;
}

.final-cta {
  position: relative;
  min-height: 460px;
  display: grid;
  align-items: center;
  overflow: hidden;
  padding: clamp(70px, 10vw, 124px) clamp(20px, 5vw, 76px);
}

.final-cta img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(246, 241, 232, 0.9), rgba(246, 241, 232, 0.58), rgba(246, 241, 232, 0.16));
}

.final-cta > div {
  position: relative;
  z-index: 1;
  max-width: 680px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(20px, 5vw, 76px);
  color: rgba(255, 255, 255, 0.66);
  background: #11120f;
}

.site-footer a {
  color: #fff;
}

.contact-page {
  min-height: 100vh;
  background: var(--paper);
}

.contact-hero {
  min-height: 100vh;
  padding: 120px clamp(20px, 5vw, 76px) 64px;
  background:
    linear-gradient(90deg, rgba(246, 241, 232, 0.96), rgba(246, 241, 232, 0.78), rgba(246, 241, 232, 0.35)),
    url("assets/gen-contact-bg.jpg") center / cover;
}

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

.contact-card {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 36px);
  background: rgba(255, 250, 241, 0.9);
  backdrop-filter: blur(16px);
}

.wechat-box {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px dashed rgba(23, 24, 20, 0.26);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.44);
}

.wechat-box strong {
  font-size: clamp(25px, 4vw, 38px);
}

.wechat-qr {
  width: min(100%, 320px);
  margin: 2px auto 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.wechat-copy-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.copy-button {
  min-height: 40px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  color: #fff;
  background: var(--ink);
  font-weight: 800;
  cursor: pointer;
}

.copy-status {
  min-height: 22px;
  color: var(--jade);
  font-size: 13px;
  font-weight: 800;
}

.floating-inquiry {
  position: fixed;
  z-index: 18;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(23, 24, 20, 0.92);
  box-shadow: 0 14px 40px rgba(23, 24, 20, 0.28);
  font-size: 14px;
  font-weight: 800;
  backdrop-filter: blur(14px);
}

.floating-inquiry::before {
  content: "●";
  color: #8eb8a7;
  font-size: 10px;
}

.contact-row {
  display: grid;
  gap: 7px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.contact-row:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.contact-row span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-row strong,
.contact-row a {
  color: var(--ink);
  font-size: clamp(20px, 3vw, 30px);
  font-weight: 800;
  word-break: break-word;
}

.contact-row.compact strong {
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.65;
}

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

.contact-actions .button {
  border-color: rgba(23, 24, 20, 0.2);
}

.contact-actions .primary {
  color: #fff;
  background: var(--ink);
}

.contact-actions .ghost {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.46);
}

@media (max-width: 920px) {
  .site-header {
    background: linear-gradient(180deg, rgba(18, 18, 14, 0.88), rgba(18, 18, 14, 0.2));
  }

  .nav-links {
    position: fixed;
    z-index: 19;
    top: 66px;
    right: 16px;
    left: 16px;
    display: grid;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    border: 1px solid transparent;
    border-radius: 10px;
    color: var(--ink);
    background: rgba(255, 250, 241, 0.97);
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: max-height 220ms ease, opacity 180ms ease, transform 180ms ease;
  }

  .menu-open .nav-links {
    max-height: 520px;
    padding: 10px;
    border-color: var(--line);
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    box-shadow: var(--shadow);
  }

  .nav-links a {
    padding: 14px 16px;
    border-bottom: 1px solid var(--line);
    opacity: 1;
  }

  .nav-links a:last-child {
    border-bottom: 0;
  }

  .menu-toggle {
    display: block;
  }

  .hero {
    min-height: 88vh;
  }

  .story-layout,
  .process-layout,
  .section-title-row,
  .collaboration-section,
  .contact-hero {
    grid-template-columns: 1fr;
  }

  .work-grid,
  .space-grid,
  .showcase-grid,
  .detail-grid,
  .project-feature {
    grid-template-columns: 1fr;
  }

  .work-card img,
  .space-grid img {
    aspect-ratio: 4 / 3;
  }

  .work-card.wide {
    grid-column: auto;
  }

  .work-card.wide img {
    aspect-ratio: 16 / 7;
  }

  .wide-showcase {
    grid-column: auto;
  }

  .gallery-card.wide {
    grid-column: auto;
  }

  .gallery-card.wide img {
    aspect-ratio: 4 / 3;
  }

  .project-feature img {
    min-height: 300px;
  }

  .showcase-grid img {
    height: auto;
    max-height: 520px;
  }
}

@media (max-width: 560px) {
  .site-header {
    min-height: 66px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .hero {
    padding-top: 104px;
    padding-bottom: 48px;
  }

  .hero-actions,
  .contact-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .artist-card {
    grid-template-columns: 1fr;
  }

  .process-gallery {
    padding: 12px;
    gap: 12px;
  }

  .process-shot-sketch {
    margin-top: 28px;
  }

  .site-footer {
    display: grid;
  }

  .brand-name small {
    display: none;
  }

  .floating-inquiry {
    right: 14px;
    bottom: 14px;
    min-height: 44px;
    padding: 0 15px;
  }
}

@media (max-width: 420px) {
  .process-gallery {
    grid-template-columns: 1fr;
  }

  .process-shot-sketch {
    margin-top: 8px;
  }

  .process-shot img {
    aspect-ratio: auto;
  }
}

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

  .menu-toggle span,
  .nav-links {
    transition: none;
  }
}
