:root {
  --paper: #f5f1e8;
  --paper-deep: #ece4d5;
  --paper-soft: #fbf9f4;
  --ink: #1f2b27;
  --ink-soft: #52605a;
  --moss: #466159;
  --moss-deep: #30483f;
  --moss-pale: #dce5df;
  --clay: #bb8055;
  --clay-pale: #ead3c1;
  --line: rgba(31, 43, 39, 0.16);
  --shadow: 0 22px 60px rgba(52, 56, 47, 0.1);
  --shell: min(1120px, calc(100% - 40px));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 2%, rgba(187, 128, 85, 0.09), transparent 28rem),
    var(--paper);
  font-family: "Noto Sans CJK SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.7;
  text-rendering: optimizeLegibility;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.22;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.07'/%3E%3C/svg%3E");
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(187, 128, 85, 0.45);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 99;
  padding: 10px 16px;
  color: var(--paper-soft);
  background: var(--moss-deep);
  border-radius: 8px;
  transform: translateY(-150%);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid transparent;
  background: rgba(245, 241, 232, 0.9);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--paper-soft);
  background: var(--moss-deep);
  border-radius: 50% 50% 44% 56%;
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 20px;
  letter-spacing: 0.08em;
}

.brand small {
  margin-top: -3px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

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

.site-nav a {
  position: relative;
  padding: 10px 0;
  color: var(--ink-soft);
  font-size: 14px;
  text-decoration: none;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 1px;
  content: "";
  background: var(--clay);
  transform: scaleX(0);
  transition: transform 180ms ease;
}

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

.site-nav a:hover::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  padding: 9px 14px;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 999px;
  font: inherit;
}

.hero {
  min-height: 670px;
  padding-block: 72px 100px;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  align-items: center;
  gap: clamp(36px, 7vw, 90px);
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--clay);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  text-wrap: pretty;
}

h1,
h2,
h3 {
  margin-top: 0;
  font-family: "STSong", "Songti SC", "Noto Serif CJK SC", serif;
  line-height: 1.22;
}

.hero h1 {
  margin-bottom: 28px;
  font-size: clamp(48px, 6vw, 78px);
  font-weight: 600;
  letter-spacing: -0.04em;
}

.hero-lead {
  max-width: 560px;
  margin: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.button-row {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  min-height: 48px;
  padding: 11px 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--moss-deep);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--paper-soft);
  background: var(--moss-deep);
  box-shadow: 0 10px 24px rgba(48, 72, 63, 0.18);
}

.button.secondary {
  color: var(--moss-deep);
  background: transparent;
}

.button.secondary:hover {
  background: rgba(70, 97, 89, 0.07);
}

.hero-visual {
  position: relative;
}

.hero-visual > img {
  width: 100%;
  border: 1px solid rgba(48, 72, 63, 0.12);
  border-radius: 46% 46% 12px 12px;
  box-shadow: var(--shadow);
}

.today-card {
  position: absolute;
  right: -16px;
  bottom: 28px;
  max-width: 240px;
  padding: 17px 20px;
  background: rgba(251, 249, 244, 0.95);
  border: 1px solid rgba(31, 43, 39, 0.12);
  border-radius: 10px;
  box-shadow: 0 12px 32px rgba(52, 56, 47, 0.13);
}

.today-card span,
.today-card strong {
  display: block;
}

.today-card span {
  margin-bottom: 4px;
  color: var(--clay);
  font-size: 11px;
  letter-spacing: 0.1em;
}

.today-card strong {
  font-family: "STSong", "Songti SC", serif;
  font-size: 16px;
}

.section {
  padding-block: 96px;
}

.section-tint {
  background: var(--paper-deep);
  border-block: 1px solid rgba(31, 43, 39, 0.07);
}

.section-heading {
  max-width: 680px;
  margin-bottom: 44px;
}

.section-heading h2,
.contact-band h2,
.response-note h2 {
  margin-bottom: 16px;
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 600;
}

.section-heading > p:last-child,
.contact-band p,
.response-note p {
  color: var(--ink-soft);
}

.split-heading {
  max-width: none;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 64px;
  align-items: end;
}

.split-heading > p {
  margin: 0 0 5px;
  font-size: 17px;
}

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

.value-grid article {
  padding: 34px 34px 12px 0;
}

.value-grid article + article {
  padding-left: 34px;
  border-left: 1px solid var(--line);
}

.value-grid span,
.contact-index {
  color: var(--clay);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
}

.value-grid h3 {
  margin: 12px 0 8px;
  font-size: 26px;
}

.value-grid p {
  margin: 0;
  color: var(--ink-soft);
}

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

.note-card {
  min-height: 280px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid rgba(31, 43, 39, 0.1);
  border-radius: 12px 12px 32px 12px;
  box-shadow: 0 8px 24px rgba(52, 56, 47, 0.05);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.note-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(52, 56, 47, 0.09);
}

.note-date {
  color: var(--ink-soft);
  font-size: 12px;
}

.note-card h3 {
  margin: 30px 0 13px;
  font-size: 26px;
}

.note-card h3 a {
  text-decoration: none;
}

.note-card p {
  margin: 0 0 24px;
  color: var(--ink-soft);
}

.text-link {
  margin-top: auto;
  color: var(--moss-deep);
  font-size: 14px;
  font-weight: 700;
}

.section-action {
  margin-top: 38px;
  display: flex;
  justify-content: flex-end;
}

.contact-band {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
}

.contact-band > div {
  max-width: 680px;
}

.contact-band p:last-child {
  margin-bottom: 0;
}

.page-hero {
  min-height: 390px;
  padding-block: 94px 70px;
  display: flex;
  align-items: flex-end;
  border-bottom: 1px solid var(--line);
}

.page-hero > div {
  max-width: 780px;
}

.page-hero h1,
.legal-page h1,
.article-header h1,
.not-found h1 {
  margin-bottom: 20px;
  font-size: clamp(46px, 7vw, 76px);
  font-weight: 600;
  letter-spacing: -0.035em;
}

.page-hero p:last-child {
  margin-bottom: 0;
  color: var(--ink-soft);
  font-size: 18px;
}

.compact-hero {
  min-height: 480px;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.portrait {
  width: min(32vw, 310px);
  border-radius: 50%;
  box-shadow: var(--shadow);
}

.prose-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 84px;
  align-items: start;
}

.prose {
  max-width: 760px;
  color: #37443f;
  font-family: "STSong", "Songti SC", "Noto Serif CJK SC", serif;
  font-size: 18px;
  line-height: 1.95;
}

.prose h2 {
  margin: 58px 0 18px;
  color: var(--ink);
  font-size: 32px;
  font-weight: 600;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose a {
  color: var(--moss-deep);
}

.interest-list {
  margin: 28px 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.interest-list li {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 20px;
  border-bottom: 1px solid var(--line);
}

.interest-list strong {
  color: var(--ink);
}

.side-note {
  position: sticky;
  top: 120px;
  padding: 28px;
  background: var(--moss-pale);
  border-radius: 10px 10px 28px 10px;
}

.side-note dl,
.side-note dd {
  margin: 0;
}

.side-note dl > div {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(48, 72, 63, 0.14);
}

.side-note dl > div:last-child {
  border-bottom: 0;
}

.side-note dt {
  color: var(--ink-soft);
}

.side-note dd {
  text-align: right;
}

.archive-note,
.response-note {
  padding-top: 0;
}

.archive-note p,
.response-note {
  padding: 28px 32px;
  color: var(--ink-soft);
  background: rgba(220, 229, 223, 0.55);
  border-left: 3px solid var(--moss);
}

.article {
  padding-block: 72px 110px;
}

.article-header {
  max-width: 850px;
  margin: 0 auto 58px;
  padding-bottom: 45px;
  border-bottom: 1px solid var(--line);
}

.back-link {
  display: inline-block;
  margin-bottom: 56px;
  color: var(--ink-soft);
  font-size: 14px;
}

.article-lead {
  max-width: 680px;
  color: var(--ink-soft);
  font-size: 20px;
}

.article-body {
  margin-inline: auto;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 26px;
}

.contact-card {
  min-height: 270px;
  padding: 36px;
  display: flex;
  flex-direction: column;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.contact-card h2 {
  margin: 32px 0 10px;
  font-size: 32px;
}

.contact-card p {
  color: var(--ink-soft);
}

.legal-page {
  padding-block: 90px 120px;
}

.legal-page > header {
  margin-bottom: 64px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--line);
}

.legal-page > header > p:last-child {
  color: var(--ink-soft);
}

.filing-card {
  max-width: 880px;
}

.filing-card dl,
.filing-card dd {
  margin: 0;
}

.filing-card dl {
  border-top: 1px solid var(--line);
}

.filing-card dl > div {
  padding: 19px 4px;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 30px;
  border-bottom: 1px solid var(--line);
}

.filing-card dt {
  color: var(--ink-soft);
}

.filing-card a {
  color: var(--moss-deep);
}

.not-found {
  min-height: 620px;
  padding-block: 120px;
  text-align: center;
}

.not-found p:not(.eyebrow) {
  margin-bottom: 36px;
  color: var(--ink-soft);
}

.site-footer {
  padding-top: 68px;
  color: rgba(251, 249, 244, 0.82);
  background: var(--moss-deep);
}

.footer-grid {
  padding-bottom: 58px;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 70px;
}

.footer-grid > div:first-child {
  max-width: 390px;
}

.footer-brand {
  color: var(--paper-soft);
  font-family: "STSong", "Songti SC", serif;
  font-size: 26px;
  font-weight: 700;
  text-decoration: none;
}

.footer-grid p {
  color: rgba(251, 249, 244, 0.64);
}

.footer-grid h2 {
  margin-bottom: 18px;
  color: var(--paper-soft);
  font-family: inherit;
  font-size: 13px;
  letter-spacing: 0.14em;
}

.footer-grid > div:not(:first-child) a {
  width: fit-content;
  margin: 8px 0;
  display: block;
  color: rgba(251, 249, 244, 0.7);
  font-size: 14px;
}

.footer-bottom {
  min-height: 74px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 30px;
  color: rgba(251, 249, 244, 0.58);
  border-top: 1px solid rgba(251, 249, 244, 0.13);
  font-size: 12px;
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-copy {
    max-width: 720px;
  }

  .hero-visual {
    max-width: 720px;
  }

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

  .note-card {
    min-height: 220px;
  }

  .prose-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .side-note {
    position: static;
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 28px, 1120px);
  }

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

  .nav-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% - 1px);
    right: 14px;
    left: 14px;
    padding: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 2px;
    background: var(--paper-soft);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 11px 12px;
  }

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

  .hero {
    min-height: auto;
    padding-block: 58px 72px;
  }

  .hero h1 {
    font-size: clamp(44px, 14vw, 64px);
  }

  .today-card {
    right: 10px;
    bottom: 16px;
    max-width: 210px;
  }

  .section {
    padding-block: 72px;
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 10px;
  }

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

  .value-grid article,
  .value-grid article + article {
    padding: 25px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .contact-band {
    align-items: flex-start;
    flex-direction: column;
  }

  .page-hero,
  .compact-hero {
    min-height: 360px;
    padding-block: 66px 54px;
    align-items: flex-start;
    flex-direction: column-reverse;
    justify-content: flex-end;
    gap: 36px;
  }

  .portrait {
    width: 150px;
  }

  .page-hero h1,
  .legal-page h1,
  .article-header h1,
  .not-found h1 {
    font-size: clamp(42px, 13vw, 62px);
  }

  .prose {
    font-size: 17px;
  }

  .interest-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

  .filing-card dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

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

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

  .footer-bottom {
    padding-block: 20px;
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }
}

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