/* =========================================================
   范特西 · 个人站
   设计方向：tasteskill / type-only statement
   大字、平面色块、细线、少装饰、每段换一种排版
   ========================================================= */

:root {
  --ink: #0a0a0a;
  --paper: #f2f0e9;
  --white: #f7f7f2;
  --blue: #2436ff;
  --red: #ff3b1f;
  --muted: #a3a3a3;
  --line: rgba(247, 247, 242, 0.16);
  --margin: clamp(1.25rem, 4vw, 4.25rem);
  --display: "Archivo", "Noto Sans SC", sans-serif;
  --text: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  color-scheme: dark;
  font-family: var(--text);
  font-synthesis: none;
  text-rendering: optimizeLegibility;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: var(--ink);
  color: var(--white);
  font-size: clamp(1rem, 0.96rem + 0.2vw, 1.125rem);
  line-height: 1.7;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure {
  margin: 0;
}

ul,
ol {
  padding: 0;
  list-style: none;
}

a {
  color: inherit;
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.22em;
}

button {
  font: inherit;
}

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

::selection {
  background: var(--blue);
  color: #fff;
}

:focus-visible {
  outline: 3px solid var(--red);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  z-index: 200;
  top: 0.8rem;
  left: 0.8rem;
  padding: 0.7rem 1rem;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: none;
}

/* ---------- 色块 ---------- */

.field {
  background: var(--field-bg, var(--ink));
  color: var(--field-fg, var(--white));
  --muted: var(--field-muted, #a3a3a3);
  --line: var(--field-line, rgba(247, 247, 242, 0.16));
}

.field-paper {
  --field-bg: var(--paper);
  --field-fg: var(--ink);
  --field-muted: #5f5f58;
  --field-line: rgba(10, 10, 10, 0.16);
}

.field-blue {
  --field-bg: var(--blue);
  --field-fg: #fff;
  --field-muted: #c7cbff;
  --field-line: rgba(255, 255, 255, 0.3);
}

.field-red {
  --field-bg: var(--red);
  --field-fg: var(--ink);
  --field-muted: #2e0a04;
  --field-line: rgba(10, 10, 10, 0.28);
}

/* ---------- 通用 ---------- */

.section {
  padding: clamp(4.5rem, 8vw, 8rem) var(--margin);
  border-top: 1px solid var(--line);
}

.index {
  font-family: var(--display);
  font-size: 0.75rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.display,
.section-head h2,
.hero-statement,
.product-word,
.page-statement {
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: -0.035em;
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(15rem, 0.65fr);
  gap: 1.25rem clamp(2rem, 4vw, 4.5rem);
  align-items: end;
  margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
}

.section-head .index {
  margin-bottom: clamp(0.9rem, 1.8vw, 1.4rem);
}

.section-head h2 {
  font-size: clamp(2.3rem, 5vw, 4.6rem);
  font-stretch: 70%;
  line-height: 1.06;
  text-wrap: balance;
}

.section-head .note {
  max-width: 34ch;
  color: var(--muted);
  text-wrap: pretty;
}

.section-head--solo {
  grid-template-columns: minmax(0, 1fr);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.72rem 1.1rem;
  border: 1px solid var(--line);
  color: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.btn:hover {
  background: var(--field-fg, var(--white));
  color: var(--field-bg, var(--ink));
  border-color: var(--field-fg, var(--white));
}

.btn-solid {
  background: var(--field-fg, var(--white));
  color: var(--field-bg, var(--ink));
  border-color: var(--field-fg, var(--white));
}

.btn-solid:hover {
  background: transparent;
  color: var(--field-fg, var(--white));
}

/* ---------- 页头 ---------- */

.site-header {
  position: sticky;
  z-index: 60;
  top: 0;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 0.8rem var(--margin);
  background: rgba(10, 10, 10, 0.9);
  border-bottom: 1px solid rgba(247, 247, 242, 0.12);
  backdrop-filter: blur(14px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
}

.brand span {
  font-size: 1.18rem;
}

.brand small {
  font-family: var(--display);
  font-size: 0.66rem;
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.8rem);
  margin-left: auto;
}

.site-nav a {
  padding: 0.35rem 0;
  border-bottom: 1px solid transparent;
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--white);
  border-bottom-color: var(--white);
}

.nav-cta {
  padding: 0.5rem 0.9rem !important;
  background: var(--white);
  color: var(--ink) !important;
  border: 0 !important;
  font-weight: 700;
}

.nav-cta:hover {
  background: var(--red);
  color: var(--ink) !important;
}

/* ---------- 首屏 ---------- */

.hero {
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: calc(100svh - 3.5rem);
  padding: clamp(1.5rem, 3vw, 2.75rem) var(--margin) clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.6rem 1.5rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-statement {
  align-self: center;
  margin: clamp(2rem, 5vh, 4rem) 0;
  font-size: clamp(2.55rem, 11vw, 13rem);
  font-stretch: 68%;
  line-height: 1.08;
}

.hero-statement .line {
  display: block;
  overflow: hidden;
  padding-block: 0.08em;
  margin-block: -0.08em;
}

.hero-statement .line > span {
  display: block;
  transform: none;
  animation: line-rise 900ms var(--ease) both;
}

.hero-statement .line:nth-child(2) > span {
  animation-delay: 110ms;
}

@keyframes line-rise {
  from {
    transform: translateY(112%);
  }
  to {
    transform: none;
  }
}

.hero-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding-top: clamp(1.2rem, 2.5vw, 1.8rem);
  border-top: 1px solid var(--line);
}

.hero-lead {
  max-width: 46ch;
  color: var(--muted);
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.2rem);
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.7rem;
}

.hero-scroll {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  color: var(--muted);
  font-size: 0.8rem;
  text-decoration: none;
}

.hero-scroll::before {
  content: "";
  width: 1.6rem;
  height: 1px;
  background: currentColor;
}

/* ---------- 能力清单 ---------- */

.cap-list {
  border-top: 1px solid var(--line);
}

.cap-list li {
  display: grid;
  grid-template-columns: 3.25rem minmax(9rem, 21rem) minmax(0, 1fr);
  gap: 0.6rem clamp(1.25rem, 2.5vw, 2.75rem);
  align-items: start;
  padding: clamp(1.4rem, 2.6vw, 2.2rem) 0;
  border-bottom: 1px solid var(--line);
}

.cap-list .num {
  padding-top: 0.55rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.8rem;
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.cap-list h3 {
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 3rem);
  font-stretch: 70%;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.cap-list p {
  max-width: 48ch;
  color: var(--muted);
  font-size: clamp(0.95rem, 0.92rem + 0.15vw, 1.05rem);
}

/* ---------- 做过的事 ---------- */

.ledger {
  border-top: 1px solid var(--line);
}

.ledger li {
  display: grid;
  grid-template-columns: 3.25rem minmax(12rem, 0.9fr) minmax(0, 1.2fr) minmax(7rem, auto);
  gap: 0.5rem clamp(1.25rem, 2.5vw, 2.5rem);
  align-items: baseline;
  padding: clamp(1.1rem, 2vw, 1.6rem) 0;
  border-bottom: 1px solid var(--line);
}

.ledger .num {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.8rem;
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.ledger h3 {
  font-size: clamp(1.15rem, 1.6vw, 1.45rem);
  line-height: 1.3;
}

.ledger p {
  color: var(--muted);
  font-size: 0.95rem;
  text-wrap: pretty;
}

.ledger .result {
  justify-self: end;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: right;
}

/* ---------- 产品区 ---------- */

.product-band {
  overflow: hidden;
}

.product-band .index {
  margin-bottom: clamp(1rem, 2vw, 1.6rem);
}

.product-word {
  margin: 0;
  font-size: clamp(5rem, 23vw, 18rem);
  font-stretch: 60%;
  line-height: 0.78;
  letter-spacing: -0.06em;
}

.product-latin {
  display: block;
  margin-top: clamp(0.8rem, 1.6vw, 1.2rem);
  font-family: var(--display);
  font-size: clamp(1rem, 1.6vw, 1.35rem);
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.product-lead {
  max-width: 44ch;
  margin-top: clamp(1.2rem, 2.4vw, 2rem);
  font-size: clamp(1.05rem, 1rem + 0.35vw, 1.3rem);
  color: var(--field-fg);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(8.5rem, 1fr));
  margin: clamp(2rem, 4vw, 3.5rem) 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.metric {
  padding: 1.1rem 1rem 1.2rem;
  background: var(--field-bg, var(--ink));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.04em;
}

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

.metrics--six {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.metrics--five {
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.metric dd {
  margin-top: 0.35rem;
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
  font-stretch: 68%;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.product-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.product-note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- 合作流程 ---------- */

.process {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(19rem, 25rem);
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.process .side-note {
  max-width: 34ch;
  margin-top: clamp(1.5rem, 3vw, 2.5rem);
  color: var(--muted);
}

.process .side-note strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--field-fg);
  font-weight: 700;
}

.slip {
  margin-top: 0.2rem;
  padding: 1.35rem 1.35rem 2.4rem;
  background: var(--paper);
  color: var(--ink);
  clip-path: polygon(
    0 0,
    100% 0,
    100% calc(100% - 12px),
    94% 100%,
    88% calc(100% - 12px),
    82% 100%,
    76% calc(100% - 12px),
    70% 100%,
    64% calc(100% - 12px),
    58% 100%,
    52% calc(100% - 12px),
    46% 100%,
    40% calc(100% - 12px),
    34% 100%,
    28% calc(100% - 12px),
    22% 100%,
    16% calc(100% - 12px),
    10% 100%,
    4% calc(100% - 12px),
    0 100%
  );
}

.slip-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.8rem;
  border-bottom: 2px solid var(--ink);
  font-family: var(--display);
  font-size: 0.7rem;
  font-stretch: 76%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.slip ol {
  display: grid;
}

.slip li {
  display: grid;
  grid-template-columns: 2rem minmax(0, 1fr) auto;
  gap: 0.8rem;
  align-items: baseline;
  padding: 0.9rem 0;
  border-bottom: 1px dashed rgba(10, 10, 10, 0.3);
}

.slip .num {
  font-family: var(--display);
  font-size: 0.78rem;
  font-stretch: 78%;
  font-weight: 700;
}

.slip strong {
  display: block;
  font-size: 1.05rem;
  line-height: 1.3;
}

.slip p {
  margin-top: 0.15rem;
  color: #4d4d47;
  font-size: 0.82rem;
  line-height: 1.45;
}

.slip .out {
  color: #4d4d47;
  font-family: var(--display);
  font-size: 0.7rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.slip li:last-child {
  margin-top: 0.6rem;
  padding: 0.9rem 0.6rem;
  background: var(--ink);
  color: var(--paper);
  border-bottom: 0;
}

.slip li:last-child strong,
.slip li:last-child .out {
  color: var(--paper);
}

.slip li:last-child p {
  color: #b9b7ae;
}

/* ---------- 结尾 ---------- */

.cta {
  display: grid;
  place-content: center;
  justify-items: center;
  min-height: 82svh;
  padding: clamp(4.5rem, 9vw, 8rem) var(--margin);
  text-align: center;
  border-top: 1px solid var(--line);
}

.cta .index {
  margin-bottom: clamp(1.2rem, 3vw, 2.4rem);
}

.cta h2 {
  max-width: 15ch;
  font-size: clamp(2rem, 9vw, 8.6rem);
  font-stretch: 68%;
  line-height: 0.98;
  text-wrap: balance;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.9rem 1.1rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
}

.cta-actions .or {
  color: var(--muted);
  font-size: 0.85rem;
}

.cta-note {
  max-width: 40ch;
  margin-top: 1.6rem;
  color: var(--muted);
  font-size: 0.88rem;
}

.contact-lead {
  max-width: 48ch;
  margin-top: clamp(1.4rem, 2.6vw, 2rem);
  color: var(--field-fg);
  font-size: clamp(1rem, 0.95rem + 0.25vw, 1.12rem);
  line-height: 1.85;
  text-wrap: pretty;
}

.contact-lead strong {
  font-weight: 700;
}

.contact-lead + .contact-rows {
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
}

.contact-rows {
  width: 100%;
  max-width: 54rem;
  margin-top: clamp(2rem, 4vw, 3.2rem);
  border-top: 1px solid var(--line);
}

.contact-row {
  display: grid;
  grid-template-columns: 9rem minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: clamp(0.9rem, 2vw, 1.3rem) 0;
  border-bottom: 1px solid var(--line);
  color: inherit;
  text-align: left;
  text-decoration: none;
}

.contact-row span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-row strong {
  font-family: var(--display);
  font-size: clamp(1.2rem, 2.4vw, 2rem);
  font-stretch: 72%;
  font-weight: 800;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.contact-row::after {
  content: "↗";
  color: var(--muted);
  font-size: 1.2rem;
}

.contact-row:hover strong {
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cta-actions--small {
  margin-top: 1.6rem;
}

.text-link {
  padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor;
  font-size: 0.9rem;
  text-decoration: none;
}

.text-link:hover {
  opacity: 0.65;
}

/* ---------- 页脚 ---------- */

.site-footer {
  padding: clamp(2rem, 4vw, 3.25rem) var(--margin) 1.5rem;
  overflow: hidden;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 0.7fr)) auto;
  gap: 2rem;
  align-items: start;
}

.footer-grid h4 {
  margin-bottom: 0.7rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.68rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.footer-grid ul {
  display: grid;
  gap: 0.4rem;
}

.footer-grid a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}

.footer-grid a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-note {
  max-width: 30ch;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: clamp(1.6rem, 3vw, 2.4rem);
  padding-top: 1rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.75rem;
}

.footer-legal-contact {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 1rem;
}

.footer-legal .nowrap {
  white-space: nowrap;
}

.footer-legal a {
  padding-bottom: 0.05rem;
  border-bottom: 1px solid var(--line);
  color: var(--white);
  font-family: var(--display);
  font-weight: 700;
  text-decoration: none;
}

.footer-legal a:hover {
  border-color: currentColor;
}

/* ---------- 产品页 ---------- */

.page-hero {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding: clamp(3rem, 6vw, 5.5rem) var(--margin) clamp(2rem, 4vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.page-hero .index {
  margin-bottom: 0.9rem;
}

.page-statement {
  max-width: 18ch;
  font-size: clamp(2.6rem, 7.6vw, 7rem);
  font-stretch: 68%;
  line-height: 1.02;
  text-wrap: balance;
}

.page-lead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.5rem clamp(2rem, 4vw, 4rem);
  align-items: end;
  padding-top: clamp(1.2rem, 2.5vw, 1.8rem);
  border-top: 1px solid var(--line);
}

.page-lead p {
  max-width: 52ch;
  color: var(--muted);
}

.page-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.2rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.72rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.film-frame {
  position: relative;
  margin: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #111;
}

.film {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  background: #111;
  object-fit: cover;
}

.film-frame figcaption {
  padding: 0.7rem 0;
  color: var(--muted);
  font-size: 0.78rem;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.format-grid li {
  padding: clamp(1rem, 2vw, 1.5rem) 0.5rem;
  background: var(--field-bg, var(--ink));
  font-family: var(--display);
  font-size: clamp(1.05rem, 1.8vw, 1.5rem);
  font-stretch: 72%;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-align: center;
}

.notes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(2rem, 4vw, 3rem);
  background: var(--line);
  border: 1px solid var(--line);
}

.notes article {
  padding: clamp(1.3rem, 2.4vw, 2rem);
  background: var(--field-bg, var(--ink));
}

.notes h3 {
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}

.notes p {
  color: var(--muted);
  font-size: 0.92rem;
  text-wrap: pretty;
}

.feature-explorer {
  display: grid;
  grid-template-columns: minmax(10rem, 15rem) minmax(0, 1fr);
  min-height: 30rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  border: 1px solid var(--line);
  background: #0e0e0e;
}

.feature-tabs {
  display: grid;
  align-content: start;
  border-right: 1px solid var(--line);
}

.feature-tabs button {
  padding: 0.85rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  color: var(--muted);
  text-align: left;
  cursor: pointer;
}

.feature-tabs button:hover {
  color: var(--white);
}

.feature-tabs button.is-active {
  background: var(--white);
  color: var(--ink);
}

.feature-display {
  display: grid;
  align-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.3rem, 3vw, 2.4rem);
}

.product-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-family: var(--display);
  font-size: 0.7rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.feature-title {
  margin: 0.9rem 0 0.7rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 2.8vw, 2.7rem);
  font-stretch: 70%;
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.03em;
}

.feature-summary {
  max-width: 46ch;
  color: var(--muted);
}

.feature-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 1.1rem;
}

.feature-points li {
  padding: 0.4rem 0.6rem;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
}

.feature-outcome {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.6rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.feature-outcome span {
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.68rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.feature-outcome strong {
  font-size: 1.05rem;
}

.feature-display.is-updating .feature-title {
  animation: feature-in 380ms var(--ease);
}

@keyframes feature-in {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.console-map {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.console-map header {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(15rem, 0.6fr);
  gap: 1rem 2rem;
  align-items: end;
  margin-bottom: 1rem;
}

.console-map h3 {
  font-family: var(--display);
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  font-stretch: 72%;
  font-weight: 800;
  line-height: 1.15;
}

.console-map header p {
  color: var(--muted);
  font-size: 0.9rem;
}

.map-grid {
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.map-grid article {
  flex: 1 1 11rem;
  min-width: 0;
  padding: 1rem;
  background: var(--field-bg, var(--ink));
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.map-grid h4 {
  margin-bottom: 0.35rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.7rem;
  font-stretch: 78%;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.map-grid p {
  font-size: 0.88rem;
}

.next-list {
  border-top: 1px solid var(--line);
}

.next-list li {
  display: grid;
  grid-template-columns: 3.25rem minmax(9rem, 16rem) minmax(0, 1fr);
  gap: 0.6rem clamp(1.25rem, 2.5vw, 2.5rem);
  padding: clamp(1.3rem, 2.4vw, 2rem) 0;
  border-bottom: 1px solid var(--line);
}

.next-list .num {
  padding-top: 0.4rem;
  color: var(--muted);
  font-family: var(--display);
  font-size: 0.78rem;
  font-stretch: 78%;
  font-weight: 700;
}

.next-list h3 {
  font-size: clamp(1.2rem, 2vw, 1.55rem);
}

.next-list p {
  color: var(--muted);
  font-size: 0.94rem;
}

.next-note {
  max-width: 62ch;
  margin: 1.8rem 0 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.75;
}

.end-note {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.8rem;
}

/* ---------- 出现 ---------- */

[data-reveal] {
  opacity: 1;
  transform: none;
}

.reveal-ready [data-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 600ms ease, transform 700ms var(--ease);
}

.reveal-ready [data-reveal].is-in {
  opacity: 1;
  transform: none;
}

/* ---------- 响应式 ---------- */

@media (max-width: 1080px) {
  .section-head,
  .console-map header,
  .page-lead {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .section-head .note {
    max-width: 46ch;
  }

  .cap-list li {
    grid-template-columns: 2.5rem minmax(0, 1fr);
  }

  .cap-list p {
    grid-column: 2;
  }

  .ledger li {
    grid-template-columns: 2.5rem minmax(0, 1fr) auto;
  }

  .ledger p {
    grid-column: 2 / 3;
  }

  .ledger .result {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }

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

  .slip {
    max-width: 30rem;
  }

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

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

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

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

@media (max-width: 760px) {
  .site-header {
    position: relative;
    flex-wrap: wrap;
    gap: 0.7rem;
  }

  .brand small {
    display: none;
  }

  .site-nav {
    order: 3;
    width: 100%;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 0.2rem;
  }

  .nav-cta {
    margin-left: auto;
  }

  .hero {
    min-height: calc(100svh - 6rem);
  }

  .hero-statement {
    font-size: clamp(2.1rem, 10.6vw, 4.6rem);
    line-height: 1.12;
  }

  .hero-foot {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    justify-content: flex-start;
  }

  .section {
    padding-block: clamp(3.5rem, 9vw, 5rem);
  }

  .cap-list li,
  .next-list li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .next-list p {
    grid-column: 2;
  }

  .ledger li {
    grid-template-columns: 2.25rem minmax(0, 1fr);
  }

  .ledger p {
    grid-column: 2;
  }

  .ledger .result {
    grid-column: 2;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }

  .metrics--four,
  .metrics--six,
  .metrics--five {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .metrics--five .metric:last-child {
    grid-column: 1 / -1;
  }

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

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

  .feature-explorer {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .feature-tabs {
    display: flex;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .feature-tabs button {
    flex: 0 0 auto;
    border-bottom: 0;
    border-right: 1px solid var(--line);
    white-space: nowrap;
  }

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

  .cta {
    min-height: 70svh;
  }

  .page-statement {
    font-size: clamp(2rem, 9.6vw, 3.4rem);
  }

  .cta-actions {
    flex-direction: column;
    width: 100%;
    max-width: 22rem;
  }

  .cta-actions .btn {
    width: 100%;
  }

  .cta-actions .or {
    display: none;
  }
}

@media (max-width: 380px) {
  .section-head h2 {
    font-size: clamp(1.8rem, 8vw, 2.4rem);
  }

  .contact-lead {
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .contact-row {
    grid-template-columns: 1fr auto;
    gap: 0.1rem 0.8rem;
  }

  .contact-row span {
    grid-column: 1;
    grid-row: 1;
  }

  .contact-row strong {
    grid-column: 1;
    grid-row: 2;
  }

  .contact-row::after {
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 460px) {
  .metrics--four,
  .metrics--six,
  .metrics--five {
    grid-template-columns: 1fr 1fr;
  }

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

  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  .footer-grid > .btn {
    grid-column: 1 / -1;
    justify-self: start;
  }
}

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

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

  .hero-statement .line > span,
  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
