:root {
  color-scheme: light;
  --bg: #f7f3ee;
  --surface: #ffffff;
  --ink: #403a36;
  --heading: #463428;
  --muted: #6f6a64;
  --editorial-muted: #746b63;
  --accent: #6b4f3f;
  --accent-dark: #463428;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  --font-serif: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  --border: rgba(31, 31, 31, 0.12);
  --shadow: 0 18px 45px rgba(31, 31, 31, 0.08);
  --max-width: 1200px;
  --radius: 18px;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  padding-inline: 20px;
}

h1,
h2,
h3,
.logo,
.hero-title,
.section-title,
.card-title {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--heading);
}


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

a,
button,
input,
select,
textarea {
  touch-action: manipulation;
}

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 20px;
}

header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(247, 243, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
  gap: 16px;
}

.logo {
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 1.2;
}

.nav-links {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 8px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

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

.lang-switch {
  display: flex;
  gap: 8px;
  font-size: 0.85rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px;
  background: var(--surface);
}

.lang-switch a {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--muted);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex-direction: column;
  cursor: pointer;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  border-radius: 999px;
}

.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 60;
  display: none;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-panel {
  width: min(360px, 88%);
  height: 100%;
  background: var(--surface);
  margin-right: auto;
  padding: 20px;
}

.mobile-nav-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.mobile-nav-close {
  border: 1px solid var(--border);
  background: var(--surface);
  border-radius: 12px;
  min-width: 44px;
  min-height: 44px;
  cursor: pointer;
}

.mobile-nav-links a {
  display: flex;
  padding: 12px;
  border-radius: 12px;
  min-height: 44px;
  align-items: center;
}

.mobile-nav-links a:hover {
  background: rgba(107, 79, 63, 0.08);
}

.lang-switch a.active {
  background: var(--accent);
  color: #fff;
}

.hero {
  padding: 80px 0 60px;
  display: grid;
  gap: 32px;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 600;
  line-height: 1.1;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--muted);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 999px;
  border: 1px solid var(--accent);
  background: var(--accent);
  color: #fff;
  font-weight: 500;
  transition: all 0.2s ease;
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.2;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
}

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

.section {
  padding: 60px 0;
}

.section-title {
  font-size: 1.8rem;
  margin-bottom: 20px;
}


@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
  }
}



button {
  min-height: 44px;
  font-size: 1rem;
  line-height: 1.2;
  font-family: var(--font-sans);
  text-decoration: none;
  cursor: pointer;
}

:focus-visible {
  outline: 3px solid rgba(107, 79, 63, 0.55);
  outline-offset: 2px;
}

footer {
  border-top: 1px solid var(--border);
  padding: 40px 0 60px;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.notice {
  color: var(--muted);
  font-size: 0.95rem;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.75rem;
  color: var(--muted);
}

.split-panel {
  display: grid;
  gap: 24px;
}

@media (min-width: 960px) {
  .split-panel {
    grid-template-columns: 1fr 1fr;
  }
}

.page-header {
  padding: 60px 0 30px;
}

.page-header h1 {
  font-size: 2.4rem;
  margin-bottom: 12px;
}

.legal-card {
  background: var(--surface);
  padding: 24px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
}


.toast {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent-dark);
  color: #fff;
  padding: 10px 16px;
  border-radius: 999px;
  display: none;
  z-index: 70;
}

.toast.show {
  display: block;
}


@media (max-width: 959px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .navbar {
    flex-wrap: nowrap;
  }
}

/* Embroidery care */
.care-page {
  max-width: 960px;
}

.care-page .page-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.care-kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.care-grid {
  display: grid;
  gap: 20px;
}

.care-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.care-number {
  color: var(--accent);
  font-family: var(--font-serif);
  font-size: 1.25rem;
  line-height: 1.4;
}

.care-card h2 {
  font-size: 1.35rem;
  margin-bottom: 16px;
}

.care-card ol {
  padding-left: 1.25rem;
}

.care-card li + li {
  margin-top: 12px;
}

.care-card li::marker {
  color: var(--accent);
  font-weight: 600;
}

@media (max-width: 520px) {
  .care-card {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}


/* Mission page */
.mission-page {
  max-width: 960px;
}

.mission-page .page-header {
  max-width: 760px;
  margin-bottom: 36px;
}

.mission-kicker {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.mission-card {
  max-width: 760px;
  padding: clamp(24px, 5vw, 40px);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.mission-card p + p {
  margin-top: 16px;
}



/* Homepage — restrained gallery presentation */
.home-hero {
  min-height: min(68vh, 720px);
  grid-template-columns: 1fr;
  align-items: center;
  padding-top: clamp(88px, 12vw, 150px);
  padding-bottom: clamp(76px, 10vw, 130px);
}

.home-hero-copy {
  max-width: 820px;
}

.home-hero .eyebrow {
  margin-bottom: 18px;
}

.home-hero .hero-title {
  max-width: 760px;
  font-weight: 500;
  letter-spacing: -0.025em;
}

.home-hero .hero-subtitle {
  max-width: 600px;
  margin-top: 22px;
  font-size: 1.05rem;
}

.home-hero-actions {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.home-text-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--accent-dark);
  font-size: 0.94rem;
  font-weight: 500;
}

.home-text-link span {
  transition: transform 0.2s ease;
}

.home-text-link:hover span {
  transform: translateX(3px);
}

.home-featured {
  padding-top: 70px;
  padding-bottom: 90px;
  border-top: 1px solid var(--border);
}

.home-section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 28px;
}

.home-section-heading .section-title {
  margin-bottom: 0;
  font-weight: 500;
}

.home-work-grid {
  display: grid;
  gap: clamp(24px, 3vw, 38px);
}

.home-work img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: 12px;
}

.home-work-copy {
  padding-top: 14px;
}

.home-work-copy h3 {
  font-size: 1.02rem;
  font-weight: 500;
}

.home-work-copy p {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.86rem;
}

.home-curatorial {
  max-width: 920px;
  padding-top: 90px;
  padding-bottom: 110px;
  border-top: 1px solid var(--border);
}

.home-curatorial .eyebrow {
  margin-bottom: 22px;
}

.home-statement {
  max-width: 780px;
  margin-bottom: 28px;
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.2vw, 2.7rem);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

@media (min-width: 760px) {
  .home-work-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .home-hero {
    min-height: auto;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .home-hero .hero-title {
    font-size: clamp(2.35rem, 12vw, 3.4rem);
  }

  .home-hero-actions {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .home-section-heading {
    align-items: flex-start;
  }

  .home-featured {
    padding-top: 54px;
    padding-bottom: 70px;
  }

  .home-curatorial {
    padding-top: 70px;
    padding-bottom: 84px;
  }
}


/* Legal pages — quieter editorial treatment */
.legal-page {
  max-width: 920px;
}

.legal-page .page-header {
  max-width: 760px;
  padding-bottom: 34px;
}

.legal-page .page-header h1 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent-dark);
}

.legal-page .page-header .notice {
  max-width: 700px;
  color: var(--editorial-muted);
  line-height: 1.75;
}

.legal-page .legal-card {
  background: rgba(255, 255, 255, 0.58);
  border-color: rgba(31, 31, 31, 0.08);
  padding: clamp(26px, 5vw, 46px);
  color: var(--ink);
  line-height: 1.78;
}

.legal-page .legal-card h2 {
  margin-top: 34px;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  font-size: 1.16rem;
  font-weight: 400;
  letter-spacing: 0.005em;
  color: var(--heading);
}

.legal-page .legal-card h2:first-child {
  margin-top: 0;
}

.legal-page .legal-card p + p {
  margin-top: 12px;
}

.legal-page .legal-card a {
  color: var(--accent);
  text-decoration: underline;
  text-decoration-color: rgba(107, 79, 63, 0.34);
  text-underline-offset: 0.16em;
}

.legal-page .legal-card code {
  padding: 0.08em 0.35em;
  border-radius: 5px;
  background: rgba(107, 79, 63, 0.07);
  color: #5e4a3f;
  font-size: 0.92em;
}

@media (max-width: 640px) {
  .legal-page {
    padding-top: 36px;
  }

  .legal-page .page-header {
    padding: 28px 0 22px;
  }

  .legal-page .page-header h1 {
    font-size: 2rem;
  }

  .legal-page .legal-card {
    padding: 24px 20px;
  }

  .legal-page .legal-card h2 {
    margin-top: 28px;
  }
}


/* Quiet editorial implementation — Gallery, Artists, Collections, About, Care, Contact */
.editorial-page {
  max-width: 1040px;
}

.editorial-page .page-header {
  max-width: 760px;
  padding-top: 60px;
  padding-bottom: 34px;
}

.editorial-page .page-header h1 {
  font-family: var(--font-serif);
  font-size: 2.4rem;
  line-height: 1.15;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--accent-dark);
}

.editorial-page .page-header .notice {
  max-width: 700px;
  margin-top: 10px;
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--editorial-muted);
}

.editorial-page .card,
.editorial-page .filter-panel,
.editorial-page .care-card,
.editorial-page .mission-card,
.editorial-page .contact-form-card {
  box-shadow: none;
}

/* About */
.mission-page .page-header,
.mission-page .mission-card {
  max-width: 760px;
}

.editorial-page .mission-kicker {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--editorial-muted);
}

.editorial-page .mission-card {
  padding: clamp(26px, 5vw, 40px);
  background: rgba(255, 255, 255, 0.56);
  border: 1px solid rgba(31, 31, 31, 0.07);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.8;
}

.editorial-page .mission-card p + p {
  margin-top: 18px;
}

/* Care */
.editorial-page .care-kicker {
  margin-bottom: 10px;
  font-size: 0.76rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--editorial-muted);
}

.editorial-page .care-grid {
  gap: 22px;
}

.editorial-page .care-card {
  padding: clamp(26px, 5vw, 38px);
  background: rgba(255, 255, 255, 0.58);
  border: 1px solid rgba(31, 31, 31, 0.07);
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.75;
}

.editorial-page .care-number {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 400;
  color: var(--editorial-muted);
}

.editorial-page .care-card h2 {
  margin-bottom: 16px;
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--heading);
}

.editorial-page .care-card li + li {
  margin-top: 12px;
}

.editorial-page .care-card li::marker {
  color: var(--editorial-muted);
  font-weight: 500;
}


@media (max-width: 640px) {
  .editorial-page {
    padding-top: 36px;
  }

  .editorial-page .page-header {
    padding-top: 28px;
    padding-bottom: 22px;
  }

  .editorial-page .page-header h1 {
    font-size: 2rem;
  }
}



/* Quiet brand lockup: institutional name first, canonical domain as secondary digital shorthand. */
.brand-lockup {
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  align-items: flex-start;
}

.brand-lockup-name {
  font-family: Georgia, "Times New Roman", "Noto Serif SC", "Songti SC", STSong, SimSun, serif;
  color: #463428;
  font-weight: 500;
  line-height: 1.25;
}

.brand-lockup-domain,
.brand-lockup-domain a {
  color: #746b63;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
  font-size: 0.78rem;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-decoration: none;
}

.brand-lockup-domain a:hover,
.brand-lockup-domain a:focus-visible {
  color: #6b4f3f;
  text-decoration: underline;
}

/* Shipping page: a quiet editorial acquisition sequence. */
.shipping-page .page-header { padding-bottom: 42px; }
.shipping-page .page-header .eyebrow { margin-bottom: 12px; }
.shipping-steps {
  margin: 0; padding: 0; list-style: none; counter-reset: acquisition;
  border-top: 1px solid var(--border);
}
.shipping-steps li {
  counter-increment: acquisition; display: grid; grid-template-columns: 66px minmax(0, 1fr);
  gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--border);
}
.shipping-steps li::before {
  content: counter(acquisition, decimal-leading-zero); font-family: var(--font-serif);
  font-size: 1.45rem; line-height: 1.2; color: var(--editorial-muted);
}
.shipping-page h2 { font-family: var(--font-serif); font-weight: 400; color: var(--heading); }
.shipping-steps h2 { font-size: 1.26rem; margin: 0 0 7px; }
.shipping-steps p, .shipping-details dd, .shipping-contact p { color: var(--editorial-muted); line-height: 1.8; }
.shipping-details { margin-top: 48px; }
.shipping-details > h2 { font-size: 1.45rem; margin-bottom: 22px; }
.shipping-facts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 28px; margin: 0; border-top: 1px solid var(--border);
}
.shipping-facts > div { padding: 16px 0; border-bottom: 1px solid var(--border); }
.shipping-facts dt { color: var(--editorial-muted); font-size: 0.83rem; margin-bottom: 5px; }
.shipping-facts dd { margin: 0; }
.shipping-rights {
  margin-top: 26px; padding: 15px 19px; border-left: 2px solid rgba(107, 79, 63, 0.5);
  background: rgba(107, 79, 63, 0.055); color: var(--editorial-muted); line-height: 1.8;
}
.shipping-contact {
  margin-top: 34px; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}
.shipping-contact p { max-width: 500px; }
@media (max-width: 640px) {
  .shipping-page .page-header { padding-bottom: 28px; }
  .shipping-steps li { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .shipping-steps li::before { font-size: 1.1rem; }
  .shipping-facts { grid-template-columns: 1fr; }
  .shipping-contact { align-items: flex-start; flex-direction: column; gap: 10px; }
}
