:root {
  --bg: #faf9f5;
  --paper: #ffffff;
  --paper-soft: #f1f3ed;
  --ink: #18382d;
  --body: #46554d;
  --muted: #727a74;
  --sage: #315f4d;
  --sage-dark: #17382c;
  --rose: #b64f48;
  --clay: #d67f61;
  --brass: #b58b35;
  --line: #dedfd9;
  --line-dark: #a9afa9;
  --shadow: 0 18px 48px rgba(24, 56, 45, 0.12);
  --radius: 6px;
  --content: 1240px;
  --font-body: "PingFang SC", "Noto Sans SC", "Microsoft YaHei", Arial, sans-serif;
  --font-display: "Kaiti SC", "STKaiti", "KaiTi", "Songti SC", serif;
  --font-serif: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  --font-latin: Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--body);
  background: var(--bg);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
}

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

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

img {
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(181, 139, 53, 0.5);
  outline-offset: 3px;
}

.section {
  width: min(var(--content), calc(100% - 48px));
  margin: 0 auto;
  scroll-margin-top: 90px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 clamp(22px, 5vw, 74px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(24, 56, 45, 0.12);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
}

.brand-logo-image {
  display: block;
  width: 47px;
  height: 47px;
  flex: 0 0 auto;
  object-fit: contain;
}

.brand-wordmark-image {
  display: block;
  width: 132px;
  height: auto;
}

.brand-mark {
  display: grid;
  width: 39px;
  height: 39px;
  place-items: center;
  color: #fff;
  background: var(--sage-dark);
  border: 1px solid rgba(181, 139, 53, 0.62);
  border-radius: 50%;
  font-family: "Snell Roundhand", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 1.45rem;
  line-height: 1;
}

.brand-lockup {
  display: grid;
  gap: 2px;
}

.brand-text,
h1,
h2,
.product-card h3,
.latest-item h3 {
  font-family: var(--font-serif);
}

.brand-text {
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1;
}

.brand-subtext {
  color: #7b6651;
  font-family: var(--font-latin);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}

.brand-sprig {
  width: 54px;
  height: 34px;
  color: var(--brass);
}

.brand-sprig path {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(20px, 3.5vw, 48px);
  color: var(--ink);
  font-size: 0.96rem;
  font-weight: 700;
}

.site-nav a {
  position: relative;
  padding: 10px 0;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  content: "";
  background: var(--rose);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.hero {
  position: relative;
  min-height: 600px;
  height: min(760px, calc(100svh - 76px));
  overflow: hidden;
  background: #ece9e1;
  border-bottom: 1px solid var(--line);
}

.hero-image {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-copy {
  position: absolute;
  top: 50%;
  right: max(5vw, calc((100vw - var(--content)) / 2));
  z-index: 1;
  width: min(500px, 42vw);
  color: var(--ink);
  transform: translateY(-48%);
}

.hero-brand-title {
  width: min(500px, 100%);
  margin: 0;
  color: var(--ink);
  line-height: 0;
}

.hero-brand-title img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 0 rgba(255, 255, 255, 0.3));
}

.hero-line {
  margin: 20px 0 0;
  padding-bottom: 18px;
  color: var(--sage-dark);
  border-bottom: 1px solid rgba(24, 56, 45, 0.35);
  font-family: var(--font-display);
  font-size: clamp(1.34rem, 2vw, 1.82rem);
  font-weight: 700;
  line-height: 1.4;
}

.hero-intro {
  max-width: 460px;
  margin: 18px 0 0;
  color: #425048;
  font-size: 1.04rem;
  line-height: 1.9;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 142px;
  min-height: 50px;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.96rem;
  font-weight: 750;
  font-weight: 800;
  line-height: 1.2;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: var(--sage-dark);
  border-color: var(--sage-dark);
}

.button-primary:hover {
  background: var(--sage);
}

.button-secondary {
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(24, 56, 45, 0.62);
}

.button-secondary:hover {
  background: #fff;
}

.hero-next {
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--sage-dark);
  background: rgba(255, 255, 255, 0.76);
  border: 1px solid rgba(24, 56, 45, 0.22);
  border-radius: 50%;
  transform: translateX(-50%);
}

.hero-next svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.latest,
.mood,
.works,
.order {
  padding: clamp(68px, 8vw, 106px) 0;
}

.latest {
  padding-bottom: clamp(44px, 6vw, 72px);
}

.mood {
  padding-top: 0;
}

.split-heading,
.section-heading {
  margin-bottom: 30px;
}

.split-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(2.45rem, 4vw, 3.7rem);
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1.08;
}

.split-heading p,
.section-heading p,
.order-intro {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 1rem;
}

.text-link {
  flex: 0 0 auto;
  color: var(--sage-dark);
  font-weight: 800;
}

.text-link::after {
  margin-left: 8px;
  content: "→";
}

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

.latest-item {
  min-width: 0;
}

.latest-media {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 0;
  border-radius: var(--radius);
  aspect-ratio: 1.2;
}

.latest-media img,
.latest-media svg {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.latest-media:hover img,
.latest-media:focus-visible img {
  transform: scale(1.035);
}

.latest-item-info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px 14px;
  padding: 16px 2px 0;
}

.latest-item h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.44rem;
  line-height: 1.25;
}

.latest-item p {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.latest-price {
  color: var(--rose);
  font-family: var(--font-latin);
  font-size: 1.15rem;
  font-weight: 700;
}

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

.mood-item {
  position: relative;
  min-width: 0;
  padding: 0;
  overflow: hidden;
  color: #fff;
  background: var(--sage-dark);
  border: 0;
  border-radius: var(--radius);
  aspect-ratio: 1.72;
  text-align: left;
}

.mood-item::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 35%, rgba(13, 38, 29, 0.78));
}

.mood-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 240ms ease;
}

.mood-item:hover img,
.mood-item:focus-visible img {
  transform: scale(1.04);
}

.mood-item span {
  position: absolute;
  right: 20px;
  bottom: 18px;
  left: 20px;
  z-index: 1;
  display: grid;
  gap: 2px;
}

.mood-item strong {
  font-family: var(--font-display);
  font-size: 1.58rem;
  line-height: 1.2;
}

.mood-item small {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.86rem;
  font-weight: 650;
}

.works {
  border-top: 1px solid var(--line);
}

.section-heading {
  text-align: left;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  width: min(480px, 100%);
  margin-bottom: 32px;
  overflow: hidden;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tab {
  min-height: 50px;
  padding: 10px 14px;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-right: 1px solid var(--line);
  font-size: 0.98rem;
  font-weight: 750;
}

.tab:last-child {
  border-right: 0;
}

.tab.is-active {
  color: #fff;
  background: var(--sage-dark);
}

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

.products-empty {
  grid-column: 1 / -1;
  margin: 0;
  padding: 42px 20px;
  color: var(--muted);
  text-align: center;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.product-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: box-shadow 180ms ease, transform 180ms ease;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-art {
  overflow: hidden;
  background: var(--paper-soft);
  aspect-ratio: 4 / 3;
}

.product-photo-button {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 0;
}

.product-image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease;
}

.product-photo-button:hover .product-image,
.product-photo-button:focus-visible .product-image {
  transform: scale(1.035);
}

.photo-count {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 8px;
  color: #fff;
  background: rgba(23, 56, 44, 0.82);
  border-radius: 4px;
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1;
}

.product-fallback,
.placeholder-svg {
  display: block;
  width: 100%;
  height: 100%;
}

.product-fallback {
  padding: 18px;
}

.placeholder-svg path,
.placeholder-svg circle,
.placeholder-svg rect {
  fill: none;
  stroke: #8f938a;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.3;
}

.placeholder-svg .wash {
  fill: rgba(211, 218, 208, 0.5);
  stroke: none;
}

.product-content {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 20px;
}

.product-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  color: var(--sage);
  font-size: 0.8rem;
  font-weight: 850;
}

.product-status::before {
  width: 7px;
  height: 7px;
  margin: 0.57em 7px 0 0;
  content: "";
  background: var(--clay);
  border-radius: 50%;
}

.product-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.48rem;
  line-height: 1.25;
}

.product-card p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.65;
}

.product-detail-line {
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

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

.price {
  color: var(--rose);
  font-family: var(--font-latin);
  font-size: 1.34rem;
  font-weight: 700;
  line-height: 1;
}

.ask-button,
.gallery-consult,
.wechat-copy {
  min-height: 42px;
  padding: 9px 14px;
  color: #fff;
  background: var(--sage-dark);
  border: 1px solid var(--sage-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.ask-button:hover,
.gallery-consult:hover,
.wechat-copy:hover {
  background: var(--sage);
}

.buying-guide {
  position: relative;
  padding: clamp(68px, 8vw, 102px) 0;
  color: #fff;
  background: var(--sage-dark);
  scroll-margin-top: 88px;
}

.guide-inner {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(40px, 7vw, 92px);
  align-items: start;
}

.guide-heading h2 {
  color: #fff;
}

.guide-heading p {
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.85;
}

.guide-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.guide-steps article {
  padding: 26px 22px 8px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
}

.guide-steps article:last-child {
  border-right: 0;
}

.guide-steps span {
  display: block;
  color: #e9bb65;
  font-family: var(--font-latin);
  font-size: 2.2rem;
  line-height: 1;
}

.guide-steps h3 {
  margin: 18px 0 8px;
  color: #fff;
  font-family: var(--font-serif);
  font-size: 1.14rem;
}

.guide-steps p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.92rem;
  line-height: 1.7;
}

.maker-note {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding-top: 22px;
  color: rgba(255, 255, 255, 0.68);
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: 0.92rem;
}

.faq {
  display: grid;
  grid-template-columns: minmax(250px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(40px, 7vw, 92px);
  padding: clamp(68px, 8vw, 96px) 0 0;
}

.faq-heading p {
  max-width: 420px;
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.faq-list {
  border-top: 1px solid var(--line-dark);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  padding: 22px 44px 22px 0;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 750;
  list-style: none;
}

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

.faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 4px;
  width: 24px;
  height: 24px;
  content: "+";
  color: var(--sage-dark);
  font-family: var(--font-body);
  font-size: 1.45rem;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  max-width: 680px;
  margin: -4px 44px 20px 0;
  color: var(--muted);
  line-height: 1.8;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(410px, 0.88fr);
  gap: clamp(42px, 7vw, 90px);
  align-items: center;
}

.order-copy h2 {
  max-width: 520px;
}

.order-intro {
  max-width: 620px;
  line-height: 1.8;
}

.selected-work {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.contact-label {
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 750;
}

.selected-work > strong {
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.45rem);
  line-height: 1.25;
}

#quick-message {
  max-width: 660px;
  min-height: 96px;
  margin: 2px 0 0;
  padding: 16px;
  color: #33473d;
  white-space: pre-wrap;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 0.94rem;
  line-height: 1.7;
}

.form-status,
.wechat-status {
  min-height: 1.5em;
  margin: 4px 0 0;
  color: var(--sage-dark);
  font-size: 0.9rem;
  font-weight: 750;
}

.wechat-contact {
  display: grid;
  grid-template-columns: minmax(170px, 0.72fr) minmax(0, 1fr);
  gap: 22px;
  align-items: center;
  padding: 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-top: 5px solid var(--sage-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.wechat-qr {
  display: grid;
  min-height: 186px;
  place-items: center;
  overflow: hidden;
  color: var(--muted);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.wechat-qr img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
}

.wechat-info {
  min-width: 0;
}

.wechat-info strong {
  display: block;
  margin-top: 4px;
  color: var(--ink);
  overflow-wrap: anywhere;
  font-size: 1.56rem;
  line-height: 1.25;
}

.wechat-info p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.wechat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.wechat-copy,
.wechat-save {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin: 0;
  padding: 9px 14px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.wechat-save {
  color: var(--sage-dark);
  background: #fff;
  border: 1px solid var(--line-dark);
}

.wechat-info .qr-tip {
  color: #7d6246;
  font-size: 0.82rem;
  line-height: 1.55;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 28px max(24px, calc((100vw - var(--content)) / 2));
  color: var(--muted);
  background: #fff;
  border-top: 1px solid var(--line);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 1.02rem;
  font-weight: 750;
}

body.has-open-gallery {
  overflow: hidden;
}

.gallery-modal[hidden] {
  display: none;
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.gallery-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 24, 18, 0.82);
  backdrop-filter: blur(10px);
}

.gallery-panel {
  position: relative;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  grid-template-rows: minmax(0, 1fr) auto auto;
  gap: 12px;
  align-items: center;
  width: min(1000px, 100%);
  max-height: calc(100vh - 44px);
  padding: 18px;
  overflow: auto;
  background: var(--paper);
  border-radius: var(--radius);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.32);
}

.gallery-close,
.gallery-nav {
  display: grid;
  place-items: center;
  padding: 0;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 50%;
}

.gallery-close svg,
.gallery-nav svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.gallery-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 3;
  width: 42px;
  height: 42px;
}

.gallery-nav {
  width: 46px;
  height: 46px;
}

.gallery-nav:disabled {
  cursor: default;
  opacity: 0.3;
}

.gallery-figure {
  min-width: 0;
  margin: 0;
}

#gallery-image {
  display: block;
  width: 100%;
  max-height: min(520px, calc(100vh - 300px));
  object-fit: contain;
  touch-action: pan-y;
  background: var(--paper-soft);
  border-radius: var(--radius);
}

.gallery-figure figcaption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 12px 2px 0;
  color: var(--ink);
}

.gallery-figure figcaption span {
  color: var(--muted);
  font-size: 0.9rem;
}

.gallery-thumbs {
  display: flex;
  grid-column: 2;
  gap: 8px;
  overflow-x: auto;
}

.gallery-thumb {
  flex: 0 0 70px;
  height: 56px;
  padding: 0;
  overflow: hidden;
  background: var(--paper-soft);
  border: 2px solid transparent;
  border-radius: 4px;
}

.gallery-thumb.is-active {
  border-color: var(--brass);
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-column: 1 / -1;
  gap: 16px;
  align-items: center;
  padding: 14px 16px;
  background: var(--paper-soft);
  border-radius: var(--radius);
}

.gallery-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: flex-end;
}

.gallery-share {
  min-height: 42px;
  padding: 9px 14px;
  color: var(--sage-dark);
  background: #fff;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 800;
}

.gallery-share-status {
  flex-basis: 100%;
  min-height: 1.25em;
  color: var(--sage-dark);
  font-size: 0.78rem;
  font-weight: 750;
  line-height: 1.35;
  text-align: right;
}

.gallery-detail p {
  margin: 0;
  color: var(--body);
  font-size: 0.94rem;
}

.gallery-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin-top: 8px;
}

.gallery-meta span {
  color: var(--sage-dark);
  font-size: 0.82rem;
  font-weight: 800;
}

.floating-contact {
  position: fixed;
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 26px);
  z-index: 22;
  display: grid;
  gap: 1px;
  min-width: 170px;
  padding: 11px 14px;
  color: #fff;
  background: var(--sage-dark);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 14px 32px rgba(24, 56, 45, 0.24);
}

.floating-contact span {
  font-size: 0.78rem;
  font-weight: 750;
  opacity: 0.74;
}

.floating-contact strong {
  max-width: 180px;
  overflow: hidden;
  font-size: 0.92rem;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-copy {
    right: 5vw;
    width: min(520px, 48vw);
  }

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

  .guide-inner,
  .faq,
  .order-layout {
    grid-template-columns: 1fr;
  }

  .order-layout {
    gap: 38px;
  }

  .wechat-contact {
    max-width: 680px;
  }
}

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

  body {
    overflow-x: hidden;
  }

  .site-header {
    align-items: flex-start;
    min-height: 104px;
    flex-direction: column;
    gap: 8px;
    padding: 14px 18px 10px;
  }

  .brand-logo-image {
    width: 38px;
    height: 38px;
  }

  .brand-wordmark-image {
    width: 112px;
  }

  .site-nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
    font-size: 0.88rem;
  }

  .site-nav a {
    padding: 4px 0;
  }

  .section {
    width: min(var(--content), calc(100% - 28px));
    scroll-margin-top: 118px;
  }

  .hero {
    min-height: calc(100svh - 104px);
    height: 680px;
  }

  .hero-image {
    object-position: 38% center;
  }

  .hero::after {
    position: absolute;
    inset: 28% 0 0;
    content: "";
    background: linear-gradient(180deg, transparent, rgba(250, 249, 245, 0.9) 48%, #faf9f5 78%);
  }

  .hero-copy {
    top: auto;
    right: 20px;
    bottom: 70px;
    left: 20px;
    z-index: 2;
    width: auto;
    transform: none;
  }

  .hero-brand-title {
    width: min(350px, 88vw);
  }

  .hero-line {
    margin-top: 14px;
    padding-bottom: 12px;
    font-size: 1.28rem;
  }

  .hero-intro {
    margin-top: 12px;
    font-size: 0.94rem;
    line-height: 1.7;
  }

  .hero-actions {
    gap: 9px;
    margin-top: 18px;
  }

  .hero-actions .button {
    min-width: 0;
    min-height: 46px;
    flex: 1;
    padding: 10px 12px;
  }

  .latest,
  .mood,
  .works,
  .faq,
  .order {
    padding: 62px 0;
  }

  .mood {
    padding-top: 0;
  }

  .split-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  h2 {
    font-size: 2.45rem;
  }

  .latest-grid,
  .mood-grid {
    grid-template-columns: 1fr;
  }

  .latest-grid {
    gap: 28px;
  }

  .latest-media {
    aspect-ratio: 1.35;
  }

  .mood-item {
    aspect-ratio: 1.72;
  }

  .category-tabs {
    position: sticky;
    top: 104px;
    z-index: 8;
    width: 100%;
    margin-bottom: 22px;
    box-shadow: 0 8px 22px rgba(24, 56, 45, 0.08);
  }

  .tab {
    min-height: 46px;
    padding: 8px;
    font-size: 0.92rem;
  }

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

  .product-art {
    aspect-ratio: 4 / 3;
  }

  .guide-steps {
    grid-template-columns: 1fr;
  }

  .guide-steps article {
    padding: 22px 0;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .guide-steps article:last-child {
    border-bottom: 0;
  }

  .maker-note {
    margin-top: 0;
  }

  .wechat-contact {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .wechat-qr {
    width: min(260px, 100%);
    margin: 0 auto;
  }

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

  .contact-actions .button {
    width: 100%;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
    padding: 26px 20px 96px;
  }

  .gallery-modal {
    padding: 10px;
  }

  .gallery-panel {
    grid-template-columns: 40px minmax(0, 1fr) 40px;
    gap: 6px;
    padding: 10px;
  }

  .gallery-nav {
    width: 38px;
    height: 52px;
    border-radius: var(--radius);
  }

  .gallery-close {
    top: 8px;
    right: 8px;
  }

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

  .gallery-actions {
    justify-content: stretch;
  }

  .gallery-share-status {
    text-align: left;
  }

  .gallery-actions button {
    flex: 1;
  }

  #gallery-image {
    max-height: min(480px, calc(100vh - 330px));
  }

  .floating-contact {
    right: 12px;
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: auto;
    min-width: 0;
    max-width: calc(100vw - 24px);
  }
}

@media (max-width: 420px) {
  .brand-logo-image {
    width: 36px;
    height: 36px;
  }

  .brand-wordmark-image {
    width: 104px;
  }

  .brand-subtext {
    font-size: 0.62rem;
  }

  .hero {
    height: 650px;
  }

  .hero-copy {
    bottom: 62px;
  }

  .hero-brand-title {
    width: min(310px, 86vw);
  }

  .hero-intro {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .latest-item h3 {
    font-size: 1.28rem;
  }

  .product-footer {
    align-items: stretch;
    flex-direction: column;
  }

  .ask-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
