@import url("https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,650;9..144,750&family=LXGW+WenKai&family=Nunito:wght@400;500;600;700;800;900&display=swap");

:root {
  --paper: #f8f4ef;
  --ink: #24211d;
  --muted: #706b63;
  --line: #ddd4c9;
  --clay: #a95f48;
  --sage: #6f7f69;
  --charcoal: #31302c;
  --blue: #8299a6;
  --white: #fffdf9;
  --shadow: 0 20px 60px rgba(36, 33, 29, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Nunito", "LXGW WenKai", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", ui-sans-serif, system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-weight: 500;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  border-bottom: 1px solid rgba(221, 212, 201, 0.84);
  background: rgba(248, 244, 239, 0.88);
  backdrop-filter: blur(18px);
}

.brand,
.nav,
.cart-button,
.hero-actions,
.trust-strip,
.product-row,
.signup-row,
.footer,
.footer div {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  white-space: nowrap;
  font-weight: 900;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 50%;
  font-size: 12px;
  letter-spacing: 0;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 34px);
  min-width: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 750;
}

.nav a:hover,
.footer a:hover {
  color: var(--ink);
}

.cart-button {
  gap: 9px;
  justify-content: center;
  min-width: 82px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: var(--white);
  font-weight: 800;
  white-space: nowrap;
  cursor: pointer;
}

.language-toggle {
  justify-self: end;
  min-width: 62px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.74);
  font-weight: 760;
  cursor: pointer;
}

.language-toggle:hover {
  border-color: var(--ink);
}

.cart-button strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 50%;
  color: var(--white);
  background: var(--charcoal);
  font-size: 12px;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100vh - 72px));
  overflow: hidden;
  display: grid;
  align-items: center;
  padding: clamp(48px, 8vw, 92px) clamp(18px, 5vw, 72px);
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(248, 244, 239, 0.95), rgba(248, 244, 239, 0.73) 39%, rgba(248, 244, 239, 0.18) 72%);
}

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

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  max-width: 760px;
  font-family: "Fraunces", "LXGW WenKai", Georgia, serif;
  font-size: clamp(44px, 7vw, 88px);
  font-weight: 650;
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-family: "Fraunces", "LXGW WenKai", Georgia, serif;
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 900;
  letter-spacing: 0;
}

body.zh h1,
body.zh h2,
body.zh .journal-copy h3,
body.zh .article-list a,
body.zh .article-list span {
  font-family: "LXGW WenKai", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  font-weight: 400;
}

.hero-text {
  max-width: 550px;
  color: #4f4a43;
  font-size: clamp(18px, 2vw, 21px);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-weight: 750;
}

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

.button.secondary {
  color: var(--ink);
  background: rgba(255, 253, 249, 0.72);
}

.trust-strip {
  justify-content: space-between;
  gap: 18px;
  padding: 22px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-strip div {
  display: grid;
  gap: 4px;
}

.trust-strip span,
.product-info p,
.story p,
.cart-panel p,
.footer {
  color: var(--muted);
}

.section,
.story,
.newsletter,
.policy {
  padding: clamp(54px, 8vw, 96px) clamp(18px, 5vw, 72px);
}

.category-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  padding: 20px clamp(18px, 5vw, 72px);
  border-bottom: 1px solid var(--line);
  background: #2f332e;
}

.category-band span {
  padding: 8px 13px;
  border: 1px solid rgba(255, 253, 249, 0.26);
  border-radius: 999px;
  color: var(--white);
  font-size: 13px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(240px, 1.1fr);
  align-items: end;
  gap: 28px;
  margin-bottom: 30px;
}

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 10px 32px rgba(36, 33, 29, 0.06);
}

.product-image {
  min-height: 330px;
  background-image: url("assets/ceramic-hero.png");
  background-size: 185%;
  background-repeat: no-repeat;
}

.product-image.vase {
  background-position: 76% 50%;
}

.product-image.bowl {
  background-position: 55% 62%;
}

.product-image.mug {
  background-position: 89% 70%;
}

.product-info {
  padding: 22px;
}

.product-kicker {
  margin-bottom: 8px;
  color: var(--sage);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.product-info p:not(.product-kicker) {
  min-height: 52px;
  line-height: 1.5;
}

.product-row {
  justify-content: space-between;
  gap: 12px;
  margin-top: 22px;
}

.product-row span {
  font-weight: 850;
  font-size: 18px;
}

.product-row button,
.signup button,
.checkout-button {
  min-width: 82px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font-weight: 760;
  cursor: pointer;
}

.product-row button:hover,
.signup button:hover,
.button.primary:hover,
.checkout-button:hover:not(:disabled) {
  background: var(--clay);
}

.checkout-button {
  width: 100%;
  margin: 16px 0 6px;
}

.checkout-button:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.story {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) 1fr 1fr;
  gap: 34px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #ede6dc;
}

.story p {
  margin-bottom: 0;
  font-size: 17px;
  line-height: 1.65;
}

.journal {
  background: var(--white);
}

.journal-feature {
  display: grid;
  grid-template-columns: minmax(260px, 0.78fr) minmax(0, 1.22fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 18px;
}

.journal-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 360px;
  padding: clamp(22px, 4vw, 38px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.journal-copy h3 {
  font-family: "Fraunces", "LXGW WenKai", Georgia, serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 650;
  line-height: 1.04;
}

.journal-copy p:last-child {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.journal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 44px;
  margin-top: 22px;
  padding: 0 18px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--white);
  background: var(--ink);
  font-weight: 760;
}

.journal-link:hover {
  background: var(--clay);
  border-color: var(--clay);
}

.journal-gallery {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr 0.85fr;
  grid-template-rows: 220px 220px;
  gap: 14px;
  min-height: 454px;
}

.journal-art-card {
  position: relative;
  overflow: hidden;
  min-height: 180px;
  margin: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
}

.journal-art-card.art-large {
  grid-row: span 2;
}

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

.journal-art-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(0.92) contrast(1.04) brightness(1.02);
}

.journal-art-card figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  padding: 8px 10px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(255, 253, 249, 0.82);
  box-shadow: 0 8px 24px rgba(36, 33, 29, 0.12);
  font-size: 12px;
  font-weight: 760;
}

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

.article-list a,
.article-list span {
  display: block;
  min-height: 140px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper);
  font-family: "Fraunces", "LXGW WenKai", Georgia, serif;
  font-size: 24px;
  font-weight: 650;
  line-height: 1.15;
}

.article-list a:hover {
  border-color: var(--clay);
}

.newsletter {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(280px, 1fr);
  gap: 28px;
  align-items: center;
}

.signup {
  display: grid;
  gap: 10px;
}

.signup label {
  color: var(--muted);
  font-size: 14px;
}

.signup-row {
  gap: 10px;
}

.signup input {
  width: 100%;
  min-height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
}

.signup button {
  min-width: 116px;
  height: 52px;
}

.cart-panel {
  position: fixed;
  right: clamp(14px, 3vw, 34px);
  bottom: 24px;
  z-index: 30;
  width: min(360px, calc(100vw - 28px));
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 253, 249, 0.95);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
  transform: translateY(calc(100% + 44px));
  transition: transform 180ms ease;
}

.cart-panel.active {
  transform: translateY(0);
}

.cart-panel h2 {
  font-size: 24px;
}

#cartItems {
  display: grid;
  gap: 10px;
  max-height: 160px;
  overflow: auto;
  padding: 0;
  margin: 16px 0;
  list-style: none;
}

#cartItems li,
.cart-total {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 10px;
}

.cart-total {
  padding-top: 4px;
  font-size: 18px;
}

.footer {
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 5vw, 72px);
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.footer p {
  margin: 0;
}

.footer div {
  gap: 18px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.policy {
  max-width: 980px;
  margin: 0 auto;
}

.policy h1 {
  font-size: clamp(42px, 6vw, 72px);
}

.policy h2 {
  margin-top: 44px;
  margin-bottom: 14px;
  font-size: clamp(24px, 3vw, 34px);
}

.policy p,
.policy li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.policy ul {
  margin: 0 0 20px;
  padding-left: 22px;
}

.policy .notice {
  margin: 26px 0 6px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.policy a {
  color: var(--clay);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.journal-page {
  padding: clamp(42px, 6vw, 78px) clamp(18px, 5vw, 72px);
}

.journal-article {
  max-width: 1180px;
  margin: 0 auto;
}

.journal-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(22px, 5vw, 54px);
  align-items: end;
  margin-bottom: clamp(34px, 6vw, 70px);
}

.journal-hero h1 {
  font-size: clamp(44px, 7vw, 86px);
}

.journal-hero p {
  color: var(--muted);
  font-size: 19px;
  line-height: 1.65;
}

.journal-hero img,
.article-image-grid img,
.article-wide-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 8px;
}

.journal-hero figure,
.article-image-grid figure,
.article-wide-image figure {
  margin: 0;
}

.journal-hero figure {
  min-height: 420px;
}

.journal-article-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 64px);
  margin: 52px 0;
}

.journal-side-note {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.journal-prose {
  display: grid;
  gap: 22px;
}

.journal-prose h2 {
  margin-top: 20px;
}

.journal-prose p,
.journal-prose li {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.75;
}

.journal-prose ul {
  margin: 0;
  padding-left: 22px;
}

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

.article-image-grid figure {
  min-height: 340px;
}

.article-wide-image {
  margin: 42px 0;
}

.article-wide-image figure {
  min-height: 360px;
}

.journal-sources {
  margin: 56px 0 0;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.journal-sources p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.journal-sources a {
  color: var(--clay);
  text-underline-offset: 3px;
}

figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.lang-zh {
  display: none;
}

body.zh .lang-en {
  display: none;
}

body.zh .lang-zh {
  display: block;
}

@media (max-width: 900px) {
  .site-header {
    grid-template-columns: minmax(0, 1fr) auto auto;
    min-height: 64px;
    gap: 8px;
  }

  .nav {
    display: none;
  }

  .brand {
    min-width: 0;
  }

  .brand span:last-child {
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 690px;
    align-items: end;
  }

  .hero::after {
    background: linear-gradient(0deg, rgba(248, 244, 239, 0.98), rgba(248, 244, 239, 0.78) 48%, rgba(248, 244, 239, 0.18));
  }

  .trust-strip,
  .section-heading,
  .story,
  .newsletter,
  .journal-feature {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    display: grid;
  }

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

  .journal-gallery {
    grid-template-columns: 1fr;
    grid-template-rows: none;
  }

  .journal-art-card.art-large,
  .journal-art-card.art-wide {
    grid-row: auto;
    grid-column: auto;
  }

  .journal-art-card {
    min-height: 250px;
  }

  .journal-hero,
  .journal-article-grid,
  .article-image-grid {
    grid-template-columns: 1fr;
  }

  .journal-hero {
    align-items: start;
  }

  .journal-hero figure,
  .article-image-grid figure,
  .article-wide-image figure {
    min-height: 280px;
  }

  .product-image {
    min-height: 290px;
  }
}

@media (max-width: 560px) {
  .site-header {
    padding-inline: 12px;
  }

  .brand {
    gap: 8px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    font-size: 11px;
  }

  .language-toggle,
  .cart-button {
    min-width: 46px;
    height: 38px;
    padding-inline: 10px;
    font-size: 13px;
  }

  .cart-button {
    gap: 6px;
    min-width: 68px;
  }

  h1 {
    font-size: 42px;
  }

  .hero-actions,
  .signup-row,
  .footer {
    align-items: stretch;
    flex-direction: column;
  }

  .button,
  .signup button {
    width: 100%;
  }

  .cart-panel {
    bottom: 12px;
  }
}
