:root {
  color-scheme: light;
  --ink: #151713;
  --paper: #f4f5f1;
  --white: #fffefa;
  --muted: #626760;
  --line: rgba(21, 23, 19, 0.14);
  --line-strong: rgba(21, 23, 19, 0.24);
  --green: #2e6a55;
  --blue: #3e6378;
  --copper: #a95b3f;
  --gold: #9d7c3b;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "PingFang TC", "PingFang HK", "Hiragino Sans GB", "Microsoft YaHei", "Microsoft JhengHei", "Noto Sans CJK SC", "Noto Sans CJK TC", "Helvetica Neue", Arial, sans-serif;
  line-height: 1.55;
  letter-spacing: 0;
}

html[data-cjk="true"] body {
  line-height: 1.68;
}

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

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 4px;
}

button {
  font: inherit;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 10px 12px;
  background: var(--ink);
  color: var(--white);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(-160%);
}

.skip-link:focus-visible {
  transform: translateY(0);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.cursor-halo {
  display: none;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .cursor-halo {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 38;
    display: block;
    width: 28px;
    height: 28px;
    border: 1px solid rgba(46, 106, 85, 0.2);
    border-radius: 9999px;
    background: rgba(46, 106, 85, 0.1);
    box-shadow: 0 0 24px rgba(169, 91, 63, 0.16);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.16s ease;
    will-change: transform, opacity;
  }
}

.shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.topbar {
  position: fixed;
  inset: 0 0 auto;
  z-index: 40;
  padding: 16px 0;
  pointer-events: none;
}

.nav {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 12px 11px 16px;
  background: rgba(255, 254, 250, 0.84);
  border: 1px solid rgba(21, 23, 19, 0.08);
  backdrop-filter: blur(18px);
  box-shadow: 0 14px 35px rgba(21, 23, 19, 0.1);
  pointer-events: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 860;
  white-space: nowrap;
}

.mark {
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 900;
}

.links {
  display: flex;
  align-items: center;
  gap: 2px;
  color: rgba(21, 23, 19, 0.7);
  font-size: 14px;
  font-weight: 760;
}

.links a {
  min-height: 36px;
  display: grid;
  place-items: center;
  padding: 0 10px;
  transition: background 0.18s ease, color 0.18s ease;
}

.links a:hover {
  background: rgba(21, 23, 19, 0.06);
  color: var(--ink);
}

.locale-switcher {
  position: relative;
  flex: 0 0 auto;
}

.locale-switcher summary {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 10px;
  color: rgba(21, 23, 19, 0.7);
  cursor: pointer;
  list-style: none;
  font-size: 13px;
  font-weight: 820;
}

.locale-switcher summary::-webkit-details-marker {
  display: none;
}

.locale-switcher summary::after {
  content: "";
  width: 7px;
  height: 7px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.locale-switcher[open] summary,
.locale-switcher summary:hover {
  background: rgba(21, 23, 19, 0.06);
  color: var(--ink);
}

.locale-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 10px);
  min-width: 210px;
  padding: 8px;
  background: rgba(255, 254, 250, 0.96);
  border: 1px solid rgba(21, 23, 19, 0.12);
  box-shadow: 0 18px 48px rgba(21, 23, 19, 0.16);
  backdrop-filter: blur(18px);
}

.locale-menu a {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  color: rgba(21, 23, 19, 0.72);
  font-size: 14px;
  font-weight: 760;
}

.locale-menu a:hover,
.locale-menu a[aria-current="true"] {
  background: rgba(21, 23, 19, 0.06);
  color: var(--ink);
}

.hero {
  min-height: 88svh;
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
  isolation: isolate;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(21, 23, 19, 0.98), rgba(21, 23, 19, 0.86) 52%, rgba(21, 23, 19, 0.58)),
    linear-gradient(135deg, rgba(169, 91, 63, 0.2), transparent 46%),
    linear-gradient(315deg, rgba(46, 106, 85, 0.18), transparent 42%);
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(90deg, rgba(255, 254, 250, 0.08) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 254, 250, 0.08) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(90deg, transparent, black 16%, black 72%, transparent);
  animation: grid-drift 18s linear infinite;
}

.hero-inner {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 140px 0 70px;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) 310px;
  gap: 72px;
  align-items: end;
}

.eyebrow {
  margin: 0 0 18px;
  color: rgba(255, 254, 250, 0.72);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(14px);
  animation: rise 0.6s 0.08s ease forwards;
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 34px;
  height: 2px;
  margin-right: 10px;
  background: var(--copper);
  vertical-align: middle;
}

h1,
.display {
  max-width: 840px;
  margin: 0;
  font-size: 5.9rem;
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
  text-wrap: balance;
}

h2,
h3 {
  text-wrap: balance;
}

.hero h1,
.hero-copy,
.hero-meta,
.actions,
.portrait {
  opacity: 0;
  transform: translateY(18px);
  animation: rise 0.68s ease forwards;
}

.hero h1 {
  animation-delay: 0.18s;
}

.hero-copy {
  max-width: 690px;
  margin: 28px 0 0;
  color: rgba(255, 254, 250, 0.84);
  font-size: 1.28rem;
  animation-delay: 0.29s;
}

.hero-copy.secondary {
  max-width: 640px;
  margin-top: 14px;
  color: rgba(255, 254, 250, 0.72);
  animation-delay: 0.34s;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  padding: 0;
  list-style: none;
  animation-delay: 0.4s;
}

.pill {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  padding: 0 13px;
  border: 1px solid rgba(255, 254, 250, 0.22);
  background: rgba(255, 254, 250, 0.08);
  font-size: 14px;
  font-weight: 760;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
  animation-delay: 0.51s;
}

.btn {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 1px solid rgba(255, 254, 250, 0.28);
  color: var(--white);
  font-weight: 820;
  transition: transform 0.18s ease, background 0.18s ease;
}

.btn.primary {
  border-color: var(--copper);
  background: var(--copper);
}

.btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 254, 250, 0.13);
}

.btn.dark {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--white);
}

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

.btn.dark.secondary:hover {
  background: rgba(21, 23, 19, 0.06);
}

.portrait {
  animation-delay: 0.42s;
}

.portrait-frame {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 254, 250, 0.3);
  padding: 12px;
  background: rgba(255, 254, 250, 0.1);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.34);
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portrait p {
  margin: 14px 0 0;
  color: rgba(255, 254, 250, 0.72);
  font-size: 14px;
}

.portrait strong {
  display: block;
  color: var(--white);
  font-size: 16px;
}

.band {
  padding: 86px 0;
}

.band.white {
  background: var(--white);
}

.page-hero {
  padding: 148px 0 62px;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.page-hero .display {
  font-size: 5.2rem;
}

.page-hero p {
  max-width: 760px;
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.22rem;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) minmax(0, 1.18fr);
  gap: 76px;
  align-items: start;
}

.label {
  margin: 0 0 13px;
  color: var(--copper);
  font-size: 13px;
  font-weight: 880;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.title {
  margin: 0;
  font-size: 3.75rem;
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: 0;
}

.lead {
  margin: 0;
  color: var(--muted);
  font-size: 1.24rem;
}

.statement {
  margin-top: 28px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  font-size: 1.56rem;
  line-height: 1.28;
  font-weight: 820;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 38px;
  background: var(--line);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metric {
  min-height: 190px;
  padding: 24px;
  background: var(--paper);
}

.metric b {
  display: block;
  margin-bottom: 10px;
  font-size: 1.78rem;
  line-height: 1.12;
}

.metric small {
  display: block;
  margin-bottom: 10px;
  color: var(--green);
  font-weight: 850;
  text-transform: uppercase;
}

.metric span,
.card p,
.muted {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.card {
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 26px;
  background: var(--white);
  transition: transform 0.18s ease, background 0.18s ease;
}

.card:hover {
  transform: translateY(-3px);
  background: #fbfaf6;
}

.card h3 {
  margin: 8px 0 12px;
  font-size: 1.72rem;
  line-height: 1.14;
}

.card .kicker,
.kicker {
  color: var(--green);
  font-size: 0.86rem;
  font-weight: 880;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding: 0;
  list-style: none;
}

.tag {
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  padding: 0 10px;
  border: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 760;
}

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

.row {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 32px;
  padding: 30px 0;
  border-bottom: 1px solid var(--line);
}

.time {
  color: var(--green);
  font-size: 0.94rem;
  font-weight: 850;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.row h3 {
  margin: 0;
  font-size: 1.9rem;
  line-height: 1.16;
}

.place {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.row ul {
  margin: 18px 0 0;
  padding-left: 20px;
  color: var(--muted);
}

.note-feature {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 1px;
  margin-top: 34px;
  background: var(--line);
  border: 1px solid var(--line);
}

.visual-field {
  min-height: 450px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--copper), var(--green) 54%, var(--blue));
}

.visual-field::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 254, 250, 0.34);
  background-image:
    linear-gradient(90deg, rgba(255, 254, 250, 0.18) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 254, 250, 0.18) 1px, transparent 1px);
  background-size: 38px 38px;
  transform: skewY(-4deg);
}

.visual-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 1;
  color: var(--white);
}

.visual-content span {
  color: rgba(255, 254, 250, 0.74);
  font-weight: 850;
}

.visual-content b {
  display: block;
  font-size: 5rem;
  line-height: 0.9;
}

.note-body {
  padding: 38px;
  background: var(--white);
}

.note-body h3 {
  margin: 0;
  font-size: 2.32rem;
  line-height: 1.1;
}

.note-body p {
  color: var(--muted);
  font-size: 1.05rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: 60px;
  align-items: start;
}

.toc {
  position: sticky;
  top: 96px;
  border-top: 1px solid var(--line);
}

.toc ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.toc a {
  min-height: 42px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 760;
}

.detail-section {
  padding: 30px 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 120px;
}

.detail-section:first-child {
  padding-top: 0;
  border-top: 0;
}

.detail-section h2 {
  margin: 0 0 14px;
  font-size: 1.62rem;
}

.detail-section p {
  color: var(--muted);
}

.detail-section ul {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.module-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}

.module {
  min-height: 270px;
  padding: 30px;
  background: var(--white);
  transition: transform 0.18s ease, background 0.18s ease;
}

.module:hover {
  transform: translateY(-3px);
  background: #fbfaf6;
}

.module h2 {
  margin: 0 0 18px;
  font-size: 1.8rem;
  line-height: 1.12;
}

.module p {
  margin: 0;
  color: var(--muted);
}

.takeaways {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

.takeaway {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.takeaway b {
  display: block;
}

.takeaway span {
  color: var(--muted);
}

.asset-list {
  display: grid;
  gap: 1px;
  margin-top: 28px;
  background: var(--line);
  border: 1px solid var(--line);
}

.asset {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0 18px;
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 12px;
}

.contact-item {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 18px;
  border: 1px solid rgba(255, 254, 250, 0.2);
  background: rgba(255, 254, 250, 0.06);
  color: var(--white);
  font-weight: 820;
}

button.contact-item {
  width: 100%;
  border: 1px solid rgba(255, 254, 250, 0.2);
  appearance: none;
  cursor: pointer;
  text-align: left;
}

.contact-copy[data-copied="true"] {
  border-color: rgba(255, 254, 250, 0.34);
  background: rgba(255, 254, 250, 0.12);
}

.contact {
  position: relative;
  background: var(--ink);
  color: var(--white);
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 6px;
  background: linear-gradient(90deg, var(--copper), var(--green), var(--blue), var(--gold));
}

.contact .split {
  align-items: end;
}

.contact .label {
  color: #d28a6f;
}

.contact h2 {
  margin: 0;
  font-size: 4.25rem;
  line-height: 1;
  font-weight: 900;
}

.contact p {
  color: rgba(255, 254, 250, 0.72);
  font-size: 1.14rem;
}

.open-list {
  margin: 26px 0 0;
  padding-left: 20px;
  color: rgba(255, 254, 250, 0.76);
  font-size: 1.05rem;
}

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

footer {
  padding: 28px 0;
  background: var(--ink);
  color: rgba(255, 254, 250, 0.62);
  font-size: 14px;
}

.foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.foot-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.foot-links a,
.text-button {
  color: rgba(255, 254, 250, 0.74);
  font-size: 14px;
  font-weight: 760;
}

.text-button {
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.text-button:hover,
.foot-links a:hover {
  color: var(--white);
}

.text-button[data-copied="true"] {
  color: #d28a6f;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.62s ease, transform 0.62s ease;
}

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

@keyframes rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes grid-drift {
  to {
    background-position: 112px 56px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .cursor-halo {
    display: none !important;
  }
}

@media (max-width: 980px) {
  .nav {
    flex-wrap: wrap;
  }

  .links {
    order: 3;
    flex: 1 1 100%;
    justify-content: space-between;
  }

  .locale-switcher {
    margin-left: auto;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .portrait {
    max-width: 260px;
  }

  h1,
  .display {
    font-size: 4.8rem;
  }

  .page-hero .display,
  .title,
  .contact h2 {
    font-size: 3.2rem;
  }

  .split,
  .note-feature,
  .detail-layout,
  .module-grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

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

  .toc {
    position: static;
  }

  .visual-field {
    min-height: 310px;
  }
}

@media (max-width: 680px) {
  .shell,
  .hero-inner {
    width: min(var(--max), calc(100% - 28px));
  }

  .topbar {
    padding: 12px 0;
  }

  .nav {
    min-height: 50px;
    padding: 10px 10px 10px 12px;
  }

  .brand span:last-child {
    display: none;
  }

  .links {
    gap: 0;
    font-size: 12px;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .links::-webkit-scrollbar {
    display: none;
  }

  .links a {
    min-height: 34px;
    padding: 0 6px;
  }

  .locale-switcher summary {
    min-height: 34px;
    max-width: 168px;
    padding: 0 8px;
    font-size: 12px;
  }

  .locale-switcher summary span {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .locale-menu {
    min-width: min(230px, calc(100vw - 32px));
  }

  .hero {
    min-height: 82svh;
  }

  .hero-inner {
    padding: 116px 0 54px;
  }

  .portrait {
    max-width: 178px;
  }

  h1,
  .display {
    font-size: 3.18rem;
  }

  .page-hero {
    padding: 126px 0 50px;
  }

  .page-hero .display,
  .title {
    font-size: 2.45rem;
  }

  .hero-copy,
  .lead {
    font-size: 1.08rem;
  }

  .band {
    padding: 60px 0;
  }

  .statement {
    font-size: 1.22rem;
  }

  .grid-3,
  .metrics {
    grid-template-columns: 1fr;
  }

  .row {
    grid-template-columns: 1fr;
    gap: 9px;
    padding: 26px 0;
  }

  .row h3 {
    font-size: 1.5rem;
  }

  .card {
    min-height: 236px;
    padding: 22px;
  }

  .note-body {
    padding: 24px;
  }

  .note-body h3 {
    font-size: 1.8rem;
  }

  .visual-content b {
    font-size: 3.2rem;
  }

  .contact h2 {
    font-size: 2.65rem;
  }
}
