:root {
  --paper: #f6efe3;
  --paper-light: #fbf7ef;
  --ink: #332c26;
  --ink-soft: rgba(51, 44, 38, 0.72);
  --gold: #b89455;
  --gold-light: #d6b76a;
  --red: #8a2f24;
  --coral: #c86b58;
  --green: #2f6b64;
  --blue: #1e4c6a;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

body {
  min-width: 320px;
  color: var(--ink);
  background: var(--paper);
  font-family: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", "SimSun", serif;
}

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

.home {
  position: relative;
  width: 100vw;
  height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: var(--paper);
  isolation: isolate;
}

.home-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("./assets/home-bg-desktop.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ink-layer {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 12% 42%, rgba(251, 247, 239, 0.4), transparent 35%),
    linear-gradient(90deg, rgba(251, 247, 239, 0.48) 0%, rgba(251, 247, 239, 0.22) 38%, transparent 72%);
}

.brand-copy,
.vertical-copy,
.feature-nav {
  position: absolute;
  z-index: 5;
}

.brand-copy {
  left: 8.2%;
  top: 12.2%;
  width: 31rem;
}

.mark-seal {
  position: absolute;
  left: 21rem;
  top: 5.5rem;
  width: 1.5rem;
  height: 2rem;
  margin: 0;
  border-radius: 0.5rem;
  background: var(--red);
  color: var(--paper-light);
  font-size: 0.72rem;
  line-height: 1rem;
  text-align: center;
  writing-mode: vertical-rl;
  letter-spacing: 0;
}

.brand-copy h1 {
  margin: 0;
  color: var(--ink);
  font-weight: 400;
}

.logo-cn,
.logo-en {
  display: block;
}

.logo-cn {
  font-size: 7.8rem;
  line-height: 0.92;
  letter-spacing: 0;
}

.logo-en {
  margin-top: 0.6rem;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 4.4rem;
  line-height: 0.9;
  letter-spacing: 0.17em;
}

.subtitle {
  margin: 2rem 0 0;
  color: var(--ink);
  font-size: 1.42rem;
  line-height: 1.6;
  letter-spacing: 0.22em;
}

.tagline {
  margin-top: 0.5rem;
  color: var(--ink);
  font-size: 1.28rem;
  line-height: 1.7;
  letter-spacing: 0.16em;
}

.tagline p,
.english {
  margin: 0;
}

.english {
  margin-top: 1.1rem;
  color: rgba(51, 44, 38, 0.58);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.72rem;
  line-height: 1.65;
  letter-spacing: 0.1em;
}

.main-button,
.subpage-actions a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(184, 148, 85, 0.62);
  border-radius: 999px;
  color: var(--gold);
  background: rgba(251, 247, 239, 0.38);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

.main-button {
  min-width: 13.2rem;
  height: 3.5rem;
  margin-top: 2.6rem;
  padding: 0 2.1rem;
  font-size: 1.08rem;
  letter-spacing: 0.1em;
  gap: 1.2rem;
}

.main-button:hover,
.subpage-actions a:hover {
  color: var(--red);
  border-color: rgba(138, 47, 36, 0.6);
  background: rgba(251, 247, 239, 0.58);
}

.vertical-copy {
  left: 47%;
  top: 17%;
  display: flex;
  align-items: center;
  gap: 1.1rem;
  color: rgba(51, 44, 38, 0.72);
  font-size: 1rem;
  line-height: 1;
  writing-mode: vertical-rl;
  letter-spacing: 0.16em;
}

.vertical-copy::after {
  content: "";
  display: block;
  width: 1px;
  height: 5rem;
  background: rgba(51, 44, 38, 0.38);
}

.round-mark {
  color: var(--coral);
  font-size: 1.1rem;
}

.feature-nav {
  left: 6.5%;
  right: 6.5%;
  bottom: 5.6%;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  align-items: end;
  gap: 1.25rem;
}

.feature-item {
  position: relative;
  display: flex;
  min-height: 10.4rem;
  padding: 0.65rem 0.45rem 0.8rem;
  border: 1px solid rgba(251, 247, 239, 0.62);
  border-radius: 8px;
  background: rgba(251, 247, 239, 0.78);
  box-shadow: 0 0.75rem 1.8rem rgba(51, 44, 38, 0.16), inset 0 0 1.4rem rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  color: var(--ink);
  text-align: center;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.feature-item:hover {
  border-color: rgba(184, 148, 85, 0.72);
  background: rgba(251, 247, 239, 0.92);
  transform: translateY(-0.18rem);
}

.icon-wash {
  position: absolute;
  top: 0;
  width: 7rem;
  height: 5.4rem;
  border-radius: 50%;
  filter: blur(0.1px);
  opacity: 1;
  background:
    radial-gradient(circle at 54% 48%, rgba(251, 247, 239, 0.5), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(184, 176, 164, 0.45), transparent 70%);
}

.feature-manual .icon-wash {
  background:
    radial-gradient(circle at 54% 48%, rgba(251, 247, 239, 0.45), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(200, 107, 88, 0.48), transparent 72%);
}

.feature-craft .icon-wash {
  background:
    radial-gradient(circle at 54% 48%, rgba(251, 247, 239, 0.45), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(30, 76, 106, 0.36), transparent 72%);
}

.feature-faq .icon-wash {
  background:
    radial-gradient(circle at 54% 48%, rgba(251, 247, 239, 0.45), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(47, 107, 100, 0.42), transparent 72%);
}

.feature-contact .icon-wash {
  background:
    radial-gradient(circle at 54% 48%, rgba(251, 247, 239, 0.45), transparent 52%),
    radial-gradient(circle at 50% 50%, rgba(59, 51, 43, 0.36), transparent 72%);
}

.feature-icon {
  position: relative;
  z-index: 1;
  width: 4.25rem;
  height: 4.25rem;
  margin-top: 0.6rem;
  fill: none;
  stroke: #aa7d31;
  stroke-width: 2.65;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0.12rem 0.2rem rgba(255, 255, 255, 0.65));
}

.feature-title {
  margin-top: 1.25rem;
  font-size: 1.12rem;
  line-height: 1.25;
  letter-spacing: 0.32em;
  font-weight: 600;
}

.feature-en {
  margin-top: 0.42rem;
  color: rgba(51, 44, 38, 0.78);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  font-weight: 600;
}

.feature-item::after {
  content: "";
  width: 1.8rem;
  height: 1px;
  margin-top: 0.9rem;
  background: rgba(51, 44, 38, 0.52);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.detail-page {
  overflow: auto;
  background:
    radial-gradient(ellipse at 84% 18%, rgba(184, 148, 85, 0.16), transparent 34%),
    radial-gradient(ellipse at 10% 82%, rgba(47, 107, 100, 0.08), transparent 34%),
    linear-gradient(120deg, rgba(251, 247, 239, 0.98), rgba(246, 239, 227, 0.96));
}

.subpage-shell {
  min-height: 100vh;
  min-height: 100svh;
  width: 100%;
  padding: 4.5rem 7vw;
}

.subpage-content {
  width: min(960px, 100%);
  padding-block: 2rem;
}

.subpage-content-wide {
  width: min(1080px, 100%);
}

.subpage-brand {
  display: inline-flex;
  align-items: baseline;
  gap: 0.7rem;
  color: var(--gold);
}

.subpage-content h1 {
  margin: 1.8rem 0 1rem;
  font-size: 4rem;
  line-height: 1.1;
  font-weight: 400;
  letter-spacing: 0.06em;
}

.subpage-content p {
  width: min(760px, 100%);
  color: var(--ink-soft);
  font-size: 1.1rem;
  line-height: 2;
}

.page-lead {
  margin-bottom: 2.4rem;
}

.brand-section {
  width: min(920px, 100%);
  padding: 2rem 0;
  border-top: 1px solid rgba(184, 148, 85, 0.34);
}

.brand-section h2,
.faq-item h2 {
  margin: 0 0 0.9rem;
  color: var(--ink);
  font-size: 1.45rem;
  line-height: 1.5;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.brand-section p {
  margin: 0.65rem 0;
}

.brand-section .brand-motto {
  color: var(--gold);
  font-size: 1.4rem;
  letter-spacing: 0.12em;
}

.brand-list {
  width: min(820px, 100%);
  margin: 1rem 0 1.5rem;
  padding-left: 1.25rem;
  color: var(--ink-soft);
  font-size: 1.05rem;
  line-height: 2;
}

.brand-list-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 3rem;
}

.brand-information {
  margin-top: 1rem;
}

.official-note {
  margin-top: 1rem;
  padding-inline: 1.4rem;
  border-bottom: 1px solid rgba(184, 148, 85, 0.34);
  background: rgba(251, 247, 239, 0.38);
}

.faq-list {
  width: min(920px, 100%);
  border-top: 1px solid rgba(184, 148, 85, 0.4);
}

.faq-item {
  padding: 1.6rem 0;
  border-bottom: 1px solid rgba(51, 44, 38, 0.14);
}

.faq-item h2 {
  font-size: 1.22rem;
  letter-spacing: 0.04em;
}

.faq-item p {
  margin: 0;
}

.faq-item a {
  border-bottom: 1px solid rgba(184, 148, 85, 0.55);
}

.contact-intro {
  margin-bottom: 1.2rem;
}

.contact-list {
  width: min(860px, 100%);
  margin: 0;
  border-top: 1px solid rgba(184, 148, 85, 0.4);
}

.contact-list div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(51, 44, 38, 0.16);
}

.contact-list dt {
  color: var(--gold);
  font-size: 0.94rem;
  letter-spacing: 0.14em;
}

.contact-list dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: 1.08rem;
  line-height: 1.7;
}

.contact-list dd a {
  border-bottom: 1px solid rgba(184, 148, 85, 0.55);
}

.subpage-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.subpage-actions a {
  min-height: 2.75rem;
  padding: 0 1.25rem;
}

@media (height <= 760px) {
  .brand-copy {
    top: 9%;
  }

  .logo-cn {
    font-size: 6.1rem;
  }

  .logo-en {
    font-size: 3.45rem;
  }

  .subtitle {
    margin-top: 1.35rem;
    font-size: 1.12rem;
  }

  .tagline {
    font-size: 1.02rem;
  }

  .english {
    margin-top: 0.75rem;
    font-size: 0.62rem;
  }

  .main-button {
    height: 2.9rem;
    margin-top: 1.45rem;
    font-size: 0.92rem;
  }

  .feature-nav {
    bottom: 4.2%;
  }

  .feature-item {
    min-height: 8.5rem;
  }

  .icon-wash {
    width: 6rem;
    height: 4.4rem;
  }

  .feature-icon {
    width: 3.35rem;
    height: 3.35rem;
  }

  .feature-title {
    margin-top: 0.8rem;
    font-size: 0.9rem;
  }

}

@media (width <= 900px) {
  .home-bg {
    background-image: url("./assets/home-bg-mobile.jpg");
    background-position: center center;
  }

  .ink-layer {
    display: none;
  }

  .brand-copy {
    left: 7%;
    top: 7%;
    width: 20rem;
  }

  .mark-seal {
    left: 10.9rem;
    top: 2.8rem;
    width: 1.2rem;
    height: 1.7rem;
    font-size: 0.58rem;
  }

  .logo-cn {
    font-size: 4rem;
  }

  .logo-en {
    margin-top: 0.35rem;
    font-size: 2.15rem;
  }

  .subtitle {
    margin-top: 1rem;
    font-size: 0.95rem;
  }

  .tagline {
    margin-top: 0.35rem;
    font-size: 0.84rem;
  }

  .english {
    display: none;
  }

  .main-button {
    min-width: 10.6rem;
    height: 2.7rem;
    margin-top: 1.1rem;
    padding: 0 1.25rem;
    font-size: 0.84rem;
  }

  .vertical-copy {
    left: auto;
    right: 8%;
    top: 17%;
    font-size: 0.78rem;
  }

  .feature-nav {
    left: 4.5%;
    right: 4.5%;
    bottom: 4.4%;
    gap: 0.35rem;
  }

  .feature-item {
    min-height: 7.25rem;
    padding: 0.48rem 0.14rem 0.55rem;
    border-radius: 6px;
    background: rgba(251, 247, 239, 0.86);
    box-shadow: 0 0.45rem 1rem rgba(51, 44, 38, 0.16);
  }

  .icon-wash {
    width: 3.8rem;
    height: 3.2rem;
  }

  .feature-icon {
    width: 2.55rem;
    height: 2.55rem;
    stroke-width: 2.8;
  }

  .feature-title {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    font-weight: 700;
  }

  .feature-en {
    display: none;
  }

  .feature-item::after {
    width: 1.15rem;
    margin-top: 0.5rem;
  }

  .subpage-shell {
    padding: 3rem 6vw;
  }

  .subpage-content h1 {
    font-size: 2.8rem;
  }

  .brand-list-columns {
    display: block;
  }

  .brand-section {
    padding: 1.5rem 0;
  }

  .brand-section h2,
  .faq-item h2 {
    font-size: 1.16rem;
  }

  .subpage-content p,
  .brand-list {
    font-size: 1rem;
    line-height: 1.85;
  }

  .contact-list div {
    grid-template-columns: 4.2rem minmax(0, 1fr);
    gap: 0.85rem;
    padding: 0.85rem 0;
  }

  .contact-list dd {
    font-size: 0.98rem;
  }
}
