:root {
  --bg: #f5f1ea;
  --section-bg: #ece6dd;
  --paper: #fcfaf7;
  --paper-deep: #ece6dd;
  --ink: #1f2430;
  --body-ink: #4e5661;
  --ink-soft: #7b828b;
  --on-dark: #f8f6f1;
  --surface: #ece6dd;
  --surface-raised: #fcfaf7;
  --surface-soft: #ece6dd;
  --line: #d8cfc3;
  --line-strong: #b28a63;
  --denim: #16263a;
  --denim-soft: #223650;
  --accent: #b28a63;
  --accent-deep: #a98a6a;
  --shadow: 0 18px 40px rgba(31, 36, 48, 0.1);
  --shadow-soft: 0 10px 22px rgba(31, 36, 48, 0.07);
  --shadow-lift: 0 24px 52px rgba(31, 36, 48, 0.14);
  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1280px, calc(100vw - 56px));
  --font-zh-title: var(--font-en-body);
  --font-zh-body: var(--font-en-body);
  --font-en-title: "Cormorant Garamond", "Times New Roman", serif;
  --font-en-body: "Inter", "Segoe UI", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
  --font-title: var(--font-zh-title);
  --font-body: var(--font-zh-body);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

#brand,
#overview,
#matrix,
#inquiry,
#custom-builder {
  scroll-margin-top: 118px;
}

html[lang="en"] {
  --font-title: var(--font-en-body);
  --font-body: var(--font-en-body);
}

body {
  margin: 0;
  color: var(--body-ink);
  font-family: var(--font-body);
  line-height: 1.6;
  background: var(--bg);
}

html[lang="en"] .hero-copy h1 {
  max-width: 100%;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.04;
  letter-spacing: 0;
}

html[lang="en"] .hero-lead {
  max-width: min(100%, 54ch);
  font-size: clamp(1.05rem, 1.35vw, 1.28rem);
  line-height: 1.55;
}

html[lang="en"] .hero-lead span {
  white-space: normal;
}

html[lang="en"] .section-heading h2,
html[lang="en"] .cta-copy h2 {
  letter-spacing: 0;
}

html[lang="en"] .site-nav {
  gap: 10px;
  font-size: 0.94rem;
  letter-spacing: 0;
}

html[lang="en"] .site-nav a {
  padding-inline: 14px;
}

html[lang="en"] .matrix-label {
  letter-spacing: 0.06em;
  font-size: 1.62rem;
}

html[lang="en"] .matrix-item h3 {
  font-size: 1.18rem;
  line-height: 1.28;
}

html[lang="en"] .matrix-nav {
  font-size: 1.16rem;
}

html[lang="en"] .cta-copy p:last-child,
html[lang="en"] .inquiry-note {
  max-width: 34ch;
}

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

.responsive-picture {
  display: contents;
}

@supports not (display: contents) {
  .responsive-picture {
    display: block;
    width: 100%;
    height: 100%;
  }
}

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

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

button {
  cursor: pointer;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(16px);
  background: rgba(245, 241, 234, 0.92);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.header-inner {
  min-height: 88px;
}

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

.brand-logo {
  width: 56px;
  height: 56px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.brand-en,
.brand-cn {
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  font-weight: 600;
}

.brand-en {
  font-family: var(--font-en-title);
  letter-spacing: 0.03em;
}

.brand-cn {
  font-family: var(--font-zh-title);
}

.brand-separator {
  color: rgba(31, 36, 48, 0.5);
  font-size: 1.4rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-size: 1.08rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  transition:
    transform 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.site-nav a::after {
  display: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
  background: var(--paper);
  border-color: var(--line-strong);
  box-shadow: 0 14px 26px rgba(31, 36, 48, 0.1);
  transform: translateY(-1px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.lang-switch__option {
  min-width: 48px;
  height: 40px;
  padding: 0 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--body-ink);
  font-size: 0.92rem;
  font-weight: 600;
}

.lang-switch__option.is-active {
  background: var(--denim);
  color: var(--on-dark);
  box-shadow: 0 10px 18px rgba(31, 36, 48, 0.18);
}

.lang-switch__option:focus-visible {
  outline: 2px solid rgba(31, 36, 48, 0.42);
  outline-offset: 2px;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  padding: 0;
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 999px;
  background: var(--ink);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 24px;
  border-radius: 12px;
  border: 1px solid transparent;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button:disabled {
  cursor: not-allowed;
  opacity: 0.62;
  transform: none;
}

.button-primary {
  background: var(--denim);
  color: var(--on-dark);
  box-shadow: 0 14px 28px rgba(31, 36, 48, 0.2);
}

.button-secondary {
  border-color: var(--line-strong);
  background: var(--surface-raised);
  color: var(--ink);
}

.button-accent {
  background: var(--accent);
  color: var(--on-dark);
}

.button-block {
  width: 100%;
}

.hero-section,
.section {
  padding: 42px 0 32px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.1fr);
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.hero-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 100%;
  padding: 64px 52px;
  background:
    radial-gradient(circle at left center, rgba(255, 255, 255, 0.62), transparent 54%),
    linear-gradient(180deg, var(--paper), var(--bg));
}

.eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: var(--ink-soft);
}

.hero-copy h1,
.section-heading h2,
.cta-copy h2 {
  margin: 18px 0 0;
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero-copy h1 {
  font-size: clamp(2.8rem, 5vw, 4.9rem);
  max-width: 7ch;
  white-space: pre-line;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-lead {
  margin: 26px 0 0;
  max-width: 31ch;
  color: var(--body-ink);
  font-size: clamp(1.38rem, 2.1vw, 1.72rem);
  line-height: 1.58;
  font-weight: 600;
}

.hero-lead span {
  display: block;
  white-space: nowrap;
}

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

.hero-facts {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  width: min(100%, 420px);
  gap: 14px;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.fact-item {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 74px;
  width: 100%;
  padding: 14px 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 600;
}

.fact-item span:last-child {
  line-height: 1.15;
}

.fact-icon,
.benefit-icon,
.process-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  color: var(--ink);
}

.fact-icon svg,
.benefit-icon svg,
.process-icon svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.fact-icon {
  width: 54px;
  height: 54px;
}

.fact-icon svg {
  width: 26px;
  height: 26px;
}

.hero-media {
  min-height: 620px;
  background:
    linear-gradient(180deg, rgba(248, 246, 241, 0.52), rgba(238, 230, 218, 0.24)),
    var(--paper-deep);
}

.hero-image-frame {
  height: 100%;
}

.hero-image-frame img {
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.custom-builder-section {
  padding-top: 18px;
}

.custom-builder-section--inquiry {
  margin-top: 22px;
}

.custom-builder-section[hidden] {
  display: none;
}

.builder-shell {
  display: grid;
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.builder-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
}

.builder-heading h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.1;
}

.builder-heading p:last-child {
  margin: 0;
  color: var(--body-ink);
  font-size: 1.04rem;
}

.builder-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(320px, 0.72fr);
  gap: 22px;
  align-items: start;
}

.builder-options {
  display: grid;
  gap: 18px;
}

.builder-group {
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--bg);
}

.builder-group-heading {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

.builder-group-heading span {
  color: var(--accent);
  font-family: var(--font-en-body);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.builder-group-heading h3,
.builder-summary-card h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.16;
}

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

.builder-option {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--paper);
  color: var(--body-ink);
  text-align: left;
  box-shadow: var(--shadow-soft);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.2s ease,
    color 0.2s ease;
}

.builder-option:hover,
.builder-option:focus-visible {
  color: var(--ink);
  border-color: var(--line-strong);
  box-shadow: 0 14px 28px rgba(31, 36, 48, 0.13);
  transform: translateY(-1px);
}

.builder-option.is-selected {
  color: var(--on-dark);
  border-color: #f8f6f1;
  background:
    linear-gradient(180deg, rgba(29, 42, 58, 0.98), rgba(22, 38, 58, 0.94)),
    var(--denim);
  box-shadow:
    0 0 0 3px rgba(178, 138, 99, 0.58),
    0 18px 34px rgba(12, 22, 36, 0.28);
  transform: translateY(-2px);
  outline: 2px solid rgba(248, 246, 241, 0.86);
  outline-offset: 2px;
}

.builder-option.is-selected::after {
  position: absolute;
  top: 8px;
  right: 8px;
  content: "✓";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(248, 246, 241, 0.58);
  border-radius: 999px;
  background: #b28a63;
  color: #16263a;
  font-size: 1rem;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24);
}

.builder-option.is-selected img {
  background: rgba(248, 246, 241, 0.16);
  box-shadow: inset 0 0 0 1px rgba(248, 246, 241, 0.28);
}

.builder-option.is-selected span {
  color: var(--on-dark);
}

.builder-option img {
  aspect-ratio: 1 / 0.72;
  border-radius: 10px;
  object-fit: contain;
  background: var(--section-bg);
}

.builder-option--text-only {
  align-content: center;
  min-height: 112px;
}

.builder-option--text-only span {
  display: grid;
  place-items: center;
  min-height: 76px;
  border-radius: 10px;
  background: var(--section-bg);
  text-align: center;
}

.builder-option span {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
}

.builder-summary-card {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--denim);
  color: var(--on-dark);
  box-shadow: var(--shadow-lift);
}

.builder-summary-kicker {
  margin: 0;
  color: rgba(248, 246, 241, 0.64);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.builder-summary-card h3 {
  color: var(--on-dark);
}

.builder-brief {
  display: grid;
  gap: 14px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--denim);
  color: var(--on-dark);
  box-shadow: var(--shadow-lift);
}

.builder-brief h3 {
  color: var(--on-dark);
}

.builder-summary-text {
  min-height: 220px;
  width: 100%;
  resize: vertical;
  padding: 14px;
  border: 1px solid rgba(248, 246, 241, 0.24);
  border-radius: var(--radius-md);
  background: rgba(248, 246, 241, 0.08);
  color: var(--on-dark);
  font-size: 0.96rem;
  line-height: 1.7;
}

.builder-summary-text:focus {
  outline: 2px solid rgba(248, 246, 241, 0.34);
  outline-offset: 2px;
}

.builder-helper,
.builder-status {
  margin: 0;
  color: rgba(248, 246, 241, 0.72);
  font-size: 0.92rem;
}

.builder-actions {
  display: grid;
  gap: 10px;
}

.builder-brief .button-primary {
  background: var(--on-dark);
  color: var(--denim);
  box-shadow: none;
}

.builder-actions .button-secondary {
  color: var(--on-dark);
  border-color: rgba(248, 246, 241, 0.36);
  background: transparent;
}

.builder-reset {
  min-height: 42px;
  border: 0;
  background: transparent;
  color: rgba(248, 246, 241, 0.72);
  font-size: 0.95rem;
}

.builder-reset:hover,
.builder-reset:focus-visible {
  color: var(--on-dark);
}

.look-generator {
  display: grid;
  gap: 14px;
}

.look-generator__header {
  display: grid;
  gap: 8px;
}

.look-generator__header h3 {
  color: var(--on-dark);
}

.look-generator__header p:last-child {
  margin: 0;
  color: rgba(248, 246, 241, 0.72);
  font-size: 0.94rem;
  line-height: 1.65;
}

.template-preview-card,
.detail-request-field {
  display: grid;
  gap: 10px;
}

.template-preview-card > span,
.detail-request-field > span {
  color: rgba(248, 246, 241, 0.72);
  font-size: 0.86rem;
  font-weight: 700;
}

.detail-request-field textarea {
  width: 100%;
  min-height: 112px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(248, 246, 241, 0.24);
  border-radius: var(--radius-md);
  background: rgba(248, 246, 241, 0.08);
  color: var(--on-dark);
  font: inherit;
  line-height: 1.6;
}

.detail-request-field textarea::placeholder {
  color: rgba(248, 246, 241, 0.46);
}

.detail-request-field textarea:focus {
  outline: 2px solid rgba(248, 246, 241, 0.34);
  outline-offset: 2px;
}

.look-prompt-card {
  border: 1px solid rgba(248, 246, 241, 0.2);
  border-radius: var(--radius-md);
  background: rgba(248, 246, 241, 0.06);
  color: rgba(248, 246, 241, 0.82);
}

.look-prompt-card summary {
  cursor: pointer;
  padding: 12px 14px;
  color: var(--on-dark);
  font-size: 0.94rem;
  font-weight: 700;
}

.look-prompt-text {
  width: calc(100% - 28px);
  min-height: 210px;
  margin: 0 14px 14px;
  padding: 12px;
  resize: vertical;
  border: 1px solid rgba(248, 246, 241, 0.18);
  border-radius: 12px;
  background: rgba(5, 12, 22, 0.32);
  color: rgba(248, 246, 241, 0.84);
  font-family: var(--font-en-body);
  font-size: 0.82rem;
  line-height: 1.55;
}

.detail-submit-button {
  margin-top: -2px;
}

.image-generation-progress {
  display: grid;
  gap: 8px;
  padding: 12px 14px;
  border: 1px solid rgba(248, 246, 241, 0.18);
  border-radius: 12px;
  background: rgba(248, 246, 241, 0.07);
}

.image-generation-progress[hidden] {
  display: none;
}

.image-generation-progress__track {
  position: relative;
  overflow: hidden;
  height: 8px;
  border-radius: 999px;
  background: rgba(248, 246, 241, 0.16);
}

.image-generation-progress__track span {
  position: absolute;
  inset: 0 auto 0 0;
  width: 42%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f8f6f1, #b28a63);
  animation: image-progress-slide 1.15s ease-in-out infinite;
}

.image-generation-progress__label {
  color: rgba(248, 246, 241, 0.72);
  font-size: 0.86rem;
}

@keyframes image-progress-slide {
  0% {
    transform: translateX(-110%);
  }

  100% {
    transform: translateX(250%);
  }
}

.look-reference-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  padding: 0 14px 14px;
}

.look-reference-empty {
  grid-column: 1 / -1;
  margin: 0;
  color: rgba(248, 246, 241, 0.66);
  font-size: 0.88rem;
}

.look-reference-item {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.look-reference-item img {
  aspect-ratio: 1 / 0.7;
  width: 100%;
  border-radius: 10px;
  object-fit: cover;
  background: rgba(248, 246, 241, 0.1);
}

.look-reference-item span {
  color: rgba(248, 246, 241, 0.7);
  font-size: 0.78rem;
  line-height: 1.25;
}

.look-result-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
}

.look-result-card {
  display: grid;
  gap: 8px;
  min-height: 180px;
  padding: 10px;
  border: 1px solid rgba(248, 246, 241, 0.18);
  border-radius: var(--radius-md);
  background: rgba(248, 246, 241, 0.07);
}

.look-result-card span {
  color: var(--on-dark);
  font-size: 0.9rem;
  font-weight: 700;
}

.look-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  background: rgba(248, 246, 241, 0.1);
}

.look-image-frame img {
  aspect-ratio: 3 / 4;
  width: 100%;
  min-height: 220px;
  border-radius: inherit;
  object-fit: cover;
  cursor: zoom-in;
}

.template-preview-card .look-image-frame img {
  object-fit: contain;
  background: rgba(248, 246, 241, 0.08);
}

.look-disclaimer {
  margin: 0;
  color: rgba(248, 246, 241, 0.64);
  font-size: 0.82rem;
  line-height: 1.45;
}

.look-placeholder {
  display: grid;
  min-height: 136px;
  margin: 0;
  place-items: center;
  border: 1px dashed rgba(248, 246, 241, 0.24);
  border-radius: 10px;
  color: rgba(248, 246, 241, 0.54);
  font-size: 0.86rem;
  text-align: center;
}

.detail-prompt-dialog {
  width: min(760px, calc(100vw - 32px));
  max-height: min(820px, calc(100vh - 32px));
  padding: 0;
  border: 1px solid rgba(248, 246, 241, 0.18);
  border-radius: var(--radius-lg);
  background: #111a23;
  color: var(--on-dark);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.44);
}

.detail-prompt-dialog::backdrop {
  background: rgba(5, 12, 22, 0.68);
  backdrop-filter: blur(6px);
}

.detail-prompt-dialog[open] {
  display: grid;
  grid-template-columns: minmax(220px, 0.82fr) minmax(0, 1fr);
}

.detail-prompt-dialog__media {
  min-height: 100%;
  background: rgba(248, 246, 241, 0.08);
}

.detail-prompt-dialog__media img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: contain;
  display: block;
}

.detail-prompt-dialog__body {
  display: grid;
  align-content: start;
  gap: 14px;
  padding: 26px;
}

.detail-prompt-dialog__body h4 {
  margin: 0;
  color: var(--on-dark);
  font-size: 1.35rem;
}

.detail-prompt-dialog__body p {
  margin: 0;
  color: rgba(248, 246, 241, 0.74);
  line-height: 1.6;
}

.dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(248, 246, 241, 0.24);
  border-radius: 50%;
  background: rgba(5, 12, 22, 0.72);
  color: var(--on-dark);
  cursor: pointer;
  font-size: 1.4rem;
  line-height: 1;
}

.dialog-detail-field {
  display: grid;
  gap: 8px;
}

.dialog-detail-field span {
  color: rgba(248, 246, 241, 0.78);
  font-size: 0.86rem;
  font-weight: 700;
}

.dialog-detail-field textarea {
  width: 100%;
  min-height: 132px;
  resize: vertical;
  padding: 12px;
  border: 1px solid rgba(248, 246, 241, 0.24);
  border-radius: var(--radius-md);
  background: rgba(248, 246, 241, 0.08);
  color: var(--on-dark);
  font: inherit;
  line-height: 1.6;
}

.dialog-detail-field textarea::placeholder {
  color: rgba(248, 246, 241, 0.46);
}

.dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.section-soft {
  background: var(--section-bg);
}

.section-heading {
  display: grid;
  gap: 10px;
  margin-bottom: 26px;
}

.section-heading h2 {
  font-size: clamp(2rem, 3.6vw, 3.15rem);
}

.section-heading-center {
  text-align: center;
  justify-items: center;
}

.benefit-grid,
.overview-grid,
.detail-grid,
.process-grid,
.testimonial-grid {
  display: grid;
  gap: 18px;
}

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

.benefit-card,
.overview-card,
.matrix-shell,
.detail-card,
.process-card,
.testimonial-card,
.inquiry-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface-raised);
  box-shadow: var(--shadow);
}

.benefit-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  align-items: start;
  padding: 22px;
}

.benefit-card h2,
.overview-card h3,
.matrix-item h3,
.detail-card h3,
.process-card h3,
.testimonial-card strong,
.inquiry-card h3 {
  margin: 0;
  font-family: var(--font-title);
  color: var(--ink);
}

.benefit-card h2 {
  font-size: 1.28rem;
}

.benefit-card p,
.overview-card p,
.detail-card p,
.process-card p,
.testimonial-card p,
.cta-copy p,
.footer-copy,
.matrix-item h3,
.matrix-label {
  margin: 6px 0 0;
  color: var(--body-ink);
}

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

.overview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 136px;
  overflow: hidden;
}

.overview-copy {
  padding: 22px 20px;
}

.overview-card h3 {
  font-size: 1.85rem;
  margin-bottom: 10px;
}

.overview-image {
  min-height: 160px;
  display: grid;
  place-items: center;
  padding: 12px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.78), var(--surface-soft));
}

.overview-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  cursor: zoom-in;
}

.matrix-shell {
  padding: 18px;
}

.matrix-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: fit-content;
  max-width: 100%;
  gap: 10px;
  margin: 0 auto 14px;
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: linear-gradient(180deg, var(--surface-raised), var(--surface-soft));
  box-shadow: var(--shadow-soft);
  color: var(--ink);
  font-family: var(--font-title);
  font-size: 1.28rem;
  font-weight: 600;
}

.matrix-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--surface-raised);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.matrix-nav span {
  color: rgba(31, 36, 48, 0.34);
}

.matrix-row + .matrix-row {
  margin-top: 18px;
}

.matrix-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 14px;
  align-items: stretch;
}

.matrix-label {
  margin: 0;
  display: grid;
  place-items: center;
  padding: 16px 10px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: linear-gradient(180deg, var(--surface-raised), var(--surface-soft));
  box-shadow: var(--shadow-soft);
  writing-mode: vertical-rl;
  text-orientation: upright;
  letter-spacing: 0.1em;
  line-height: 1.05;
  font-size: 1.95rem;
  font-weight: 700;
  color: var(--ink);
  font-family: var(--font-title);
}

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

.matrix-item {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: var(--surface-raised);
}

.matrix-item img {
  aspect-ratio: 1 / 0.92;
  object-fit: contain;
  object-position: center;
  padding: 20px 22px 14px;
  background:
    radial-gradient(circle at center, rgba(255, 255, 255, 0.84), var(--surface-soft));
  border-bottom: 1px solid var(--line);
  cursor: zoom-in;
}

.matrix-grid-detail .matrix-item img {
  aspect-ratio: 1 / 0.62;
}

.matrix-item h3 {
  padding: 14px 12px 16px;
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--ink);
  text-align: center;
}

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

.detail-card {
  overflow: hidden;
}

.detail-card img {
  aspect-ratio: 1 / 0.6;
  object-fit: cover;
}

.detail-copy {
  padding: 16px 18px 20px;
}

.detail-card h3 {
  font-size: 1.12rem;
}

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

.process-card {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.process-card strong {
  color: var(--accent);
  font-size: 1.05rem;
}

.process-card h3 {
  font-size: 1.2rem;
}

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

.testimonial-card {
  display: grid;
  gap: 18px;
  padding: 22px;
}

.testimonial-card p {
  margin: 0;
  font-size: 1rem;
}

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

.avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: linear-gradient(180deg, #264365 0%, #14273f 100%);
  color: var(--on-dark);
  font-weight: 600;
}

.testimonial-meta strong {
  display: block;
  font-size: 1rem;
}

.testimonial-meta span:last-child {
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.section-cta {
  padding-bottom: 52px;
}

.cta-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  overflow: hidden;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(90deg, var(--denim), var(--denim));
  box-shadow: var(--shadow-lift);
}

.cta-copy,
.inquiry-card {
  min-width: 0;
}

.cta-copy {
  padding: 42px 38px;
  background:
    linear-gradient(180deg, rgba(22, 38, 58, 0.9), rgba(22, 38, 58, 0.96)),
    url("../assets/showcase/showcase-fabric-detail.png") center / cover no-repeat;
  background:
    linear-gradient(180deg, rgba(22, 38, 58, 0.9), rgba(22, 38, 58, 0.96)),
    image-set(
      url("../assets/showcase/showcase-fabric-detail.webp") type("image/webp"),
      url("../assets/showcase/showcase-fabric-detail.png") type("image/png")
    ) center / cover no-repeat;
  color: var(--on-dark);
}

.cta-copy .eyebrow {
  color: rgba(248, 246, 241, 0.66);
}

.cta-copy h2 {
  color: var(--on-dark);
}

.cta-copy p {
  color: rgba(248, 246, 241, 0.84);
}

.cta-copy p:last-child {
  max-width: 22ch;
  color: rgba(248, 246, 241, 0.8);
  font-size: 1.04rem;
}

.inquiry-card {
  border: 0;
  border-radius: 0;
  box-shadow: none;
  background: var(--denim);
  display: grid;
  align-content: center;
  gap: 18px;
  padding: 34px 30px;
}

.inquiry-kicker {
  margin: 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.74rem;
  color: rgba(248, 246, 241, 0.62);
}

.inquiry-card h3 {
  margin: 0;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  color: var(--on-dark);
}

.inquiry-note {
  margin: 0;
  max-width: 30ch;
  color: rgba(248, 246, 241, 0.8);
  font-size: 1rem;
  text-wrap: pretty;
}

.image-lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(7, 16, 29, 0.88);
  backdrop-filter: blur(12px);
}

.image-lightbox.is-open {
  display: flex;
}

.lightbox-panel {
  position: relative;
  width: min(1120px, calc(100vw - 48px));
  max-height: calc(100vh - 48px);
  padding: 22px;
  border-radius: 22px;
  border: 1px solid rgba(255, 245, 232, 0.18);
  background: rgba(16, 28, 45, 0.94);
  box-shadow: 0 28px 56px rgba(0, 0, 0, 0.3);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 240, 220, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff7ec;
  font-size: 1.5rem;
  line-height: 1;
}

.lightbox-figure {
  margin: 0;
  display: grid;
  gap: 12px;
}

.lightbox-image-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.lightbox-figure img {
  width: 100%;
  max-height: calc(100vh - 148px);
  object-fit: contain;
}

.lightbox-caption {
  color: rgba(241, 229, 213, 0.8);
  text-align: center;
  font-size: 0.95rem;
}

.site-footer {
  padding: 0 0 34px;
}

.footer-inner {
  padding-top: 22px;
  border-top: 1px solid var(--line);
}

.footer-brand-block {
  display: grid;
  gap: 8px;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.footer-brand-logo {
  width: 52px;
  height: 52px;
  object-fit: cover;
  flex: 0 0 auto;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface-raised);
  box-shadow: var(--shadow-soft);
}

.footer-brand {
  margin: 0;
  font-family: var(--font-title);
  font-size: 1.5rem;
  color: var(--ink);
}

.footer-copy {
  margin: 6px 0 0;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.footer-social a {
  color: var(--ink);
  font-size: 0.92rem;
  font-weight: 700;
}

.footer-social a:hover,
.footer-social a:focus-visible {
  color: var(--accent);
}

.footer-record {
  color: var(--ink-soft);
  font-size: 0.86rem;
}

.footer-link {
  color: var(--ink-soft);
}

@media (max-width: 1180px) {
  .benefit-grid,
  .overview-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

  .cta-shell {
    grid-template-columns: 1fr;
  }

  .builder-layout {
    grid-template-columns: 1fr;
  }

  .builder-summary-card {
    position: static;
  }
}

@media (max-width: 920px) {
  :root {
    --container: min(100vw - 28px, 1280px);
  }

  .header-actions .button-primary {
    display: none;
  }

  .menu-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
  }

  .site-nav {
    position: absolute;
    inset-inline: 14px;
    top: calc(100% + 10px);
    display: grid;
    gap: 10px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    background: var(--surface-raised);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .site-nav a {
    width: 100%;
  }

  .site-nav.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .header-inner {
    position: relative;
    min-height: 72px;
  }

  .hero-shell,
  .overview-card {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 420px;
  }

  .hero-copy {
    padding: 42px 28px 22px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .hero-lead {
    max-width: 24ch;
  }

  .benefit-grid,
  .detail-grid,
  .process-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .builder-shell {
    padding: 22px;
  }

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

  .matrix-row {
    grid-template-columns: 1fr;
  }

  .overview-image {
    min-height: 260px;
  }

  .matrix-item img {
    aspect-ratio: 1 / 0.84;
  }

  .matrix-grid-detail .matrix-item img {
    aspect-ratio: 1 / 0.68;
  }

  .matrix-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: fit-content;
    padding: 10px 16px;
    writing-mode: horizontal-tb;
    text-orientation: mixed;
    letter-spacing: 0.06em;
    line-height: 1.2;
    font-size: 1.45rem;
    margin-bottom: 10px;
  }
}

@media (max-width: 640px) {
  .header-inner,
  .footer-inner {
    gap: 14px;
  }

  .brand-en,
  .brand-cn {
    font-size: 1.35rem;
  }

  .brand-logo {
    width: 48px;
    height: 48px;
  }

  .footer-brand-lockup {
    gap: 10px;
  }

  .footer-brand-logo {
    width: 46px;
    height: 46px;
  }

  .header-actions {
    gap: 10px;
  }

  .lang-switch {
    padding: 3px;
  }

  .lang-switch__option {
    min-width: 44px;
    height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .button {
    min-height: 46px;
    padding-inline: 18px;
  }

  .hero-section,
  .section {
    padding: 26px 0 22px;
  }

  .hero-copy {
    padding: 34px 20px 18px;
  }

  .hero-copy h1 {
    font-size: clamp(2.2rem, 13vw, 3.3rem);
  }

  html[lang="en"] .hero-copy h1 {
    font-size: clamp(1.58rem, 7.5vw, 2.45rem);
  }

  .hero-lead {
    max-width: none;
    font-size: 1.02rem;
  }

  .hero-lead span {
    white-space: nowrap;
  }

  .hero-facts {
    gap: 12px;
  }

  .fact-item {
    width: 100%;
    justify-content: flex-start;
  }

  .hero-media {
    min-height: 320px;
  }

  .benefit-card,
  .overview-copy,
  .matrix-shell,
  .process-card,
  .testimonial-card,
  .inquiry-card {
    padding: 18px;
  }

  .builder-shell,
  .builder-group,
  .builder-brief,
  .builder-summary-card {
    padding: 18px;
  }

  .overview-grid,
  .matrix-grid {
    grid-template-columns: 1fr;
  }

  .matrix-nav {
    justify-content: flex-start;
    gap: 8px;
    padding: 10px;
  }

  .matrix-nav a {
    min-height: 40px;
    padding: 7px 14px;
  }

  .builder-choice-grid {
    gap: 10px;
  }

  .builder-option {
    padding: 9px;
  }

  .builder-summary-text {
    min-height: 190px;
  }

  .look-reference-list,
  .look-result-grid {
    grid-template-columns: 1fr;
  }

  .detail-prompt-dialog[open] {
    grid-template-columns: 1fr;
  }

  .detail-prompt-dialog__media img {
    min-height: 260px;
    max-height: 360px;
  }

  .detail-prompt-dialog__body {
    padding: 22px;
  }

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

  .look-prompt-text {
    min-height: 180px;
  }

  .overview-image {
    min-height: 220px;
    padding: 16px;
  }

  .matrix-item img,
  .matrix-grid-detail .matrix-item img {
    aspect-ratio: 1 / 0.8;
    padding: 16px;
  }

  .matrix-item h3 {
    font-size: 1.18rem;
  }

  .section-heading h2,
  .cta-copy h2 {
    font-size: 2rem;
  }

  .cta-copy {
    padding: 28px 22px;
  }

  .image-lightbox {
    padding: 14px;
  }

  .lightbox-panel {
    width: min(100vw - 20px, 1120px);
    max-height: calc(100vh - 20px);
    padding: 14px;
  }
}

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

  .image-generation-progress__track span {
    animation: none;
    transform: none;
    width: 100%;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
  }
}

html[lang="en"] body,
html[lang="en"] body *:not(svg):not(path),
html[lang="zh-CN"] body,
html[lang="zh-CN"] body *:not(svg):not(path) {
  font-family: var(--font-en-body);
  font-weight: 700;
}
