/* ============================================================
   白序 WHITE ORDER · 极简黑白编辑部风护肤官网
   黑白 / 大字号排版 / 细线网格 / 编号系统
   ============================================================ */

:root {
  --paper: #f4f4f0;
  --paper-soft: #ecece6;
  --ink: #141414;
  --ink-soft: #5a5a55;
  --ink-faint: #9a9a92;
  --line: #c9c9c0;
  --white: #ffffff;
  --accent: #e0392b;
  --font-sans: "Helvetica Neue", "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Noto Sans CJK SC", sans-serif;
  --font-mono: "Cascadia Mono", "SF Mono", Consolas, "Courier New", monospace;
  --container: 1240px;
  --header-h: 72px;
  --radius: 0;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

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

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

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  color: inherit;
}

input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}

ul,
ol {
  list-style: none;
}

::selection {
  background: var(--ink);
  color: var(--paper);
}

/* ---------- 通用 ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section {
  padding-block: 100px;
  border-bottom: 1px solid var(--line);
}

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

.section--dark {
  background: var(--ink);
  color: var(--paper);
  border-bottom-color: var(--ink);
}

.section-head {
  max-width: 720px;
  margin-bottom: 56px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 16px;
}

.section-eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--ink);
}

.section--dark .section-eyebrow {
  color: rgba(244, 244, 240, 0.65);
}

.section--dark .section-eyebrow::before {
  background: var(--paper);
}

.section-title {
  font-size: clamp(30px, 4.4vw, 46px);
  font-weight: 900;
  line-height: 1.25;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.section-desc {
  margin-top: 16px;
  color: var(--ink-soft);
  font-size: 15px;
}

.section--dark .section-desc {
  color: rgba(244, 244, 240, 0.68);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 32px;
  border: 1px solid var(--ink);
  border-radius: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.btn--ink {
  background: var(--ink);
  color: var(--paper);
}

.btn--ink:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateY(-2px);
}

.btn--outline {
  background: transparent;
  color: var(--ink);
}

.btn--outline:hover {
  background: var(--ink);
  color: var(--paper);
  transform: translateY(-2px);
}

.section--dark .btn--outline {
  border-color: var(--paper);
  color: var(--paper);
}

.section--dark .btn--outline:hover {
  background: var(--paper);
  color: var(--ink);
}

.btn--sm {
  padding: 10px 22px;
  font-size: 12px;
}

/* ---------- 导航 ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(244, 244, 240, 0.92);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: baseline;
  gap: 10px;
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.24em;
  color: var(--ink);
}

.brand small {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.28em;
  color: var(--ink-faint);
}

.nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav a {
  position: relative;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  transition: color 0.2s;
}

.nav a::before {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 4px;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

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

.nav a:hover::before,
.nav a.is-active::before {
  transform: scaleX(1);
}

/* 桌面端隐藏导航内 CTA */
.nav .btn {
  display: none;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.25s var(--ease), opacity 0.25s;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- 页脚 ---------- */
.footer {
  background: var(--ink);
  color: rgba(244, 244, 240, 0.75);
  padding-top: 72px;
  padding-bottom: 32px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(244, 244, 240, 0.2);
}

.footer .brand {
  color: var(--paper);
}

.footer .brand small {
  color: rgba(244, 244, 240, 0.45);
}

.footer__intro {
  margin-top: 16px;
  max-width: 300px;
  font-size: 14px;
  color: rgba(244, 244, 240, 0.6);
}

.footer__col-title {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 18px;
}

.footer__col li + li {
  margin-top: 10px;
}

.footer__col a {
  font-size: 14px;
  color: rgba(244, 244, 240, 0.65);
  transition: color 0.2s;
}

.footer__col a:hover {
  color: var(--accent);
}

.footer__hotline {
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 24px;
  letter-spacing: 0.06em;
  color: var(--paper);
}

.footer__hotline span {
  display: block;
  font-family: var(--font-sans);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(244, 244, 240, 0.5);
  margin-bottom: 4px;
}

.footer__socials {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer__socials a {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(244, 244, 240, 0.35);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, background 0.2s;
}

.footer__socials a:hover {
  border-color: var(--accent);
  background: var(--accent);
}

.footer__socials svg {
  width: 18px;
  height: 18px;
  fill: rgba(244, 244, 240, 0.8);
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 28px;
  font-family: var(--font-mono);
  font-size: 12px;
  color: rgba(244, 244, 240, 0.4);
}

.footer__bottom a:hover {
  color: var(--accent);
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
  overflow: hidden;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
  padding-block: 130px 96px;
}

.hero__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.hero__no strong {
  color: var(--accent);
}

.hero__title {
  font-size: clamp(44px, 7vw, 84px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--ink);
}

.hero__title em {
  font-style: normal;
  color: var(--accent);
}

.hero__subtitle {
  margin-top: 24px;
  max-width: 420px;
  color: var(--ink-soft);
  font-size: 15px;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 40px;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 44px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}

.hero__meta li::before {
  content: "—";
  color: var(--accent);
  margin-right: 6px;
}

.hero__visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero__frame {
  position: absolute;
  inset: 4% 6%;
  border: 1px solid var(--ink);
}

.hero__frame::after {
  content: "NO.001";
  position: absolute;
  left: -1px;
  top: -1px;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  padding: 4px 10px;
}

.hero__bottle {
  position: relative;
  width: min(240px, 50vw);
  filter: drop-shadow(10px 14px 0 rgba(20, 20, 20, 0.12));
}

.hero__vertical {
  position: absolute;
  right: -34px;
  top: 50%;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.42em;
  color: var(--ink-faint);
}

.hero__code {
  position: absolute;
  left: -26px;
  bottom: 8%;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 6px 12px;
  background: var(--paper);
}

/* ---------- 原则（编号列表） ---------- */
.principle-list {
  border-top: 1px solid var(--ink);
}

.principle-item {
  display: grid;
  grid-template-columns: 90px 1fr 2fr;
  gap: 32px;
  align-items: start;
  padding: 34px 8px;
  border-bottom: 1px solid var(--line);
  transition: background 0.2s;
}

.principle-item:hover {
  background: var(--white);
}

.principle-item__no {
  font-family: var(--font-mono);
  font-size: 15px;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.principle-item h3 {
  font-size: 24px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.principle-item p {
  color: var(--ink-soft);
  font-size: 14px;
}

/* ---------- 产品 ---------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--ink);
  display: flex;
  flex-direction: column;
  transition: transform 0.25s, box-shadow 0.25s;
}

.product-card:hover {
  transform: translate(-3px, -3px);
  box-shadow: 5px 5px 0 rgba(20, 20, 20, 0.9);
}

.product-card__visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  border-bottom: 1px solid var(--ink);
}

.product-card__visual svg {
  width: 52%;
  transition: transform 0.3s var(--ease);
}

.product-card:hover .product-card__visual svg {
  transform: scale(1.04);
}

.product-card__no {
  position: absolute;
  top: 10px;
  left: 10px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 4px 8px;
  background: var(--paper);
}

.product-card__body {
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}

.product-card__cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.product-card__name {
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.04em;
}

.product-card__desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.65;
}

.product-card__foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-card__price {
  font-family: var(--font-mono);
  font-size: 19px;
  font-weight: 700;
}

.product-card__price::before {
  content: "¥";
  font-size: 12px;
}

.product-card__more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink);
  transition: gap 0.2s var(--ease), color 0.2s;
}

.product-card__more:hover {
  gap: 10px;
  color: var(--accent);
}

.product-card__more svg {
  width: 13px;
  height: 13px;
  fill: currentColor;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.section-actions {
  margin-top: 48px;
  text-align: center;
}

/* ---------- 筛选 ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 18px;
}

.filter-bar__label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--ink-faint);
  margin-right: 10px;
}

.filter-btn {
  padding: 8px 20px;
  border: 1px solid var(--ink);
  background: transparent;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
  transition: background 0.2s, color 0.2s;
}

.filter-btn:hover {
  background: var(--paper-soft);
  color: var(--ink);
}

.filter-btn.is-active {
  background: var(--ink);
  color: var(--paper);
}

.product-grid__empty {
  display: none;
  text-align: center;
  padding: 80px 20px;
  color: var(--ink-faint);
}

.product-grid__empty.is-visible {
  display: block;
}

/* ---------- 成分表 ---------- */
.spec-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.spec-table th,
.spec-table td {
  text-align: left;
  padding: 16px 14px;
  border-bottom: 1px solid var(--line);
}

.spec-table th {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.spec-table td:first-child {
  font-weight: 700;
}

.spec-table td strong {
  font-family: var(--font-mono);
}

/* ---------- 页面横幅 ---------- */
.page-hero {
  padding-top: calc(var(--header-h) + 84px);
  padding-bottom: 64px;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--ink-faint);
  margin-bottom: 20px;
}

.breadcrumb a:hover {
  color: var(--accent);
}

.breadcrumb svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
}

.page-hero__title {
  font-size: clamp(34px, 5vw, 54px);
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.page-hero__title span {
  font-family: var(--font-mono);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}

.page-hero__desc {
  margin-top: 16px;
  max-width: 560px;
  color: var(--ink-soft);
  font-size: 15px;
}

/* ---------- 故事页 ---------- */
.story-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.story-layout--reverse .story-layout__text {
  order: -1;
}

.story-layout__text p {
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 15px;
}

.story-layout__visual {
  min-height: 400px;
  border: 1px solid var(--ink);
  background:
    linear-gradient(45deg, var(--paper) 25%, transparent 25%),
    linear-gradient(-45deg, var(--paper) 25%, transparent 25%),
    linear-gradient(45deg, transparent 75%, var(--paper) 75%),
    linear-gradient(-45deg, transparent 75%, var(--paper) 75%);
  background-size: 24px 24px;
  background-position: 0 0, 0 12px, 12px -12px, -12px 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.story-layout__visual svg {
  width: 52%;
  filter: drop-shadow(8px 10px 0 rgba(20, 20, 20, 0.14));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}

.stat-card {
  background: var(--paper);
  padding: 34px 22px;
  text-align: center;
  border-right: 1px solid var(--ink);
}

.stat-card:last-child {
  border-right: none;
}

.stat-card strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 40px;
  font-weight: 700;
  line-height: 1.1;
}

.stat-card strong i {
  font-style: normal;
  font-size: 16px;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--ink-faint);
}

.timeline {
  max-width: 720px;
  margin-inline: auto;
  border-top: 1px solid var(--ink);
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 32px;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
}

.timeline-item__year {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

.timeline-item h3 {
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 6px;
}

.timeline-item p {
  font-size: 14px;
  color: var(--ink-soft);
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid rgba(244, 244, 240, 0.25);
}

.value-card {
  padding: 36px 26px;
  border-right: 1px solid rgba(244, 244, 240, 0.25);
}

.value-card:last-child {
  border-right: none;
}

.value-card__no {
  font-family: var(--font-mono);
  font-size: 14px;
  color: var(--accent);
  letter-spacing: 0.2em;
}

.value-card h3 {
  font-size: 19px;
  font-weight: 900;
  margin: 14px 0 10px;
}

.value-card p {
  font-size: 13px;
  color: rgba(244, 244, 240, 0.6);
}

/* ---------- 联系页 ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 14px;
}

.contact-card {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 22px 24px;
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  transition: box-shadow 0.2s;
}

.contact-card:hover {
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.85);
}

.contact-card__icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--accent);
}

.contact-card h3 {
  font-size: 15px;
  font-weight: 900;
  margin-bottom: 4px;
}

.contact-card p,
.contact-card a {
  font-size: 13px;
  color: var(--ink-soft);
}

.contact-card a:hover {
  color: var(--accent);
}

.contact-form-wrap {
  border: 1px solid var(--ink);
  background: var(--white);
  padding: 40px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}

.form-group label em {
  font-style: normal;
  color: var(--accent);
}

.form-control {
  width: 100%;
  border: 1px solid var(--ink);
  background: var(--paper);
  padding: 13px 16px;
  outline: none;
  border-radius: 0;
  transition: background 0.2s, box-shadow 0.2s;
}

.form-control:focus {
  background: #fff;
  box-shadow: 4px 4px 0 rgba(20, 20, 20, 0.8);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-group.is-error .form-control {
  border-color: var(--accent);
}

.form-group.is-error .form-hint {
  display: block;
  color: var(--accent);
}

.form-hint {
  display: none;
  font-size: 12px;
  margin-top: 6px;
  color: var(--ink-faint);
}

.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--ink-faint);
  margin-bottom: 24px;
}

.form-privacy.is-error {
  color: var(--accent);
}

.form-privacy input {
  margin-top: 4px;
  accent-color: var(--ink);
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 10px;
}

.form-success.is-visible {
  display: block;
  animation: fadeUp 0.45s var(--ease) both;
}

.form-success__no {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 0.24em;
  color: var(--accent);
}

.form-success h3 {
  font-size: 26px;
  font-weight: 900;
  margin: 10px 0;
}

.form-success p {
  color: var(--ink-soft);
  font-size: 14px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  border-top: 1px solid var(--ink);
}

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

.faq-item.is-open {
  background: var(--white);
}

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 8px;
  font-size: 15px;
  font-weight: 700;
  text-align: left;
}

.faq-item__q svg {
  width: 16px;
  height: 16px;
  fill: var(--ink);
  flex-shrink: 0;
  transition: transform 0.25s var(--ease);
}

.faq-item.is-open .faq-item__q svg {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s var(--ease);
}

.faq-item__a p {
  padding: 0 8px 20px;
  font-size: 14px;
  color: var(--ink-soft);
}

/* ---------- 流程 ---------- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--ink);
}

.process-card {
  background: var(--paper);
  padding: 30px 24px;
  border-right: 1px solid var(--ink);
}

.process-card:last-child {
  border-right: none;
}

.process-card__no {
  font-family: var(--font-mono);
  font-size: 34px;
  font-weight: 700;
  color: var(--accent);
}

.process-card h3 {
  font-size: 16px;
  font-weight: 900;
  margin: 12px 0 8px;
}

.process-card p {
  font-size: 13px;
  color: var(--ink-soft);
}

/* ---------- 返回顶部 ---------- */
.back-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  z-index: 90;
  width: 46px;
  height: 46px;
  border: 1px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
}

.back-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-top:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.back-top svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

/* ---------- 显现动画（克制：仅淡入） ---------- */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 {
  transition-delay: 0.08s;
}

.reveal-delay-2 {
  transition-delay: 0.16s;
}

.reveal-delay-3 {
  transition-delay: 0.24s;
}

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

/* ---------- 响应式 ---------- */
@media (max-width: 1100px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-block: 120px 90px;
    text-align: center;
  }

  .hero__subtitle {
    margin-inline: auto;
  }

  .hero__cta,
  .hero__meta {
    justify-content: center;
  }

  .hero__visual {
    order: -1;
  }

  .hero__bottle {
    width: min(200px, 44vw);
  }

  .hero__vertical {
    display: none;
  }

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

  .principle-item {
    grid-template-columns: 70px 1fr;
  }

  .principle-item p {
    grid-column: 2;
  }

  .stats-grid,
  .value-grid,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card,
  .value-card,
  .process-card {
    border-bottom: 1px solid var(--ink);
  }

  .value-card {
    border-bottom-color: rgba(244, 244, 240, 0.25);
  }

  .story-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

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

@media (max-width: 860px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--ink);
    padding: 12px 20px 20px;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, transform 0.25s var(--ease), visibility 0.25s;
  }

  .nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav a {
    padding: 14px 12px;
    border-bottom: 1px solid var(--line);
  }

  .nav a::before {
    display: none;
  }

  .nav .btn {
    display: inline-flex;
    margin-top: 14px;
  }

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

  .header__actions .btn {
    display: none;
  }
}

@media (max-width: 640px) {
  .section {
    padding-block: 64px;
  }

  .container {
    width: calc(100% - 40px);
  }

  .product-grid,
  .stats-grid,
  .value-grid,
  .process-grid {
    grid-template-columns: 1fr;
  }

  .stat-card,
  .value-card,
  .process-card {
    border-right: none;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .contact-form-wrap {
    padding: 26px 20px;
  }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 16px;
  }

  .principle-item {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .principle-item p {
    grid-column: 1;
  }

  .hero__code {
    left: 0;
  }

  .back-top {
    right: 16px;
    bottom: 16px;
  }
}
