@font-face {
  font-family: "Pukou Serif";
  src: url("assets/fonts/noto-serif-sc-600.woff2") format("woff2");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  --paper: #f4f1e9;
  --paper-bright: #faf9f5;
  --ink: #12171b;
  --graphite: #4b555d;
  --cobalt: #0b2948;
  --cobalt-deep: #071a2d;
  --celadon: #64ad91;
  --copper: #bd6a3b;
  --rule: rgba(18, 23, 27, .18);
  --serif: "Pukou Serif", "Songti SC", "STSong", "SimSun", Georgia, serif;
  --sans: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
  --max: 1440px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--sans); font-size: 16px; line-height: 1.7; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a, input, select, textarea { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--celadon); outline-offset: 4px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 10px 16px; background: var(--paper-bright); color: var(--cobalt); transform: translateY(-160%); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; color: var(--ink); background: var(--paper-bright); transition: background .25s ease, color .25s ease, border-color .25s ease; border-bottom: 1px solid var(--rule); }
.site-header.scrolled, .site-header.menu-open { color: var(--ink); background: rgba(250, 249, 245, .94); backdrop-filter: blur(16px); border-color: var(--rule); }
.header-inner { max-width: var(--max); min-height: 82px; margin: auto; padding: 0 42px; display: grid; grid-template-columns: minmax(250px, 1fr) auto auto; align-items: center; gap: 44px; }
.brand { min-height: 50px; display: inline-flex; align-items: center; gap: 13px; width: fit-content; }
.brand-mark { width: 34px; height: 40px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.brand span { display: grid; gap: 1px; }
.brand strong { font-size: 16px; letter-spacing: .12em; }
.brand small { font-family: var(--sans); font-size: 8px; letter-spacing: .13em; opacity: .66; }
.desktop-nav { display: flex; align-items: center; gap: 30px; }
.desktop-nav a { min-height: 44px; display: grid; place-items: center; font-size: 13px; letter-spacing: .08em; opacity: .82; position: relative; }
.desktop-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 7px; height: 1px; background: var(--celadon); transition: right .2s ease; }
.desktop-nav a:hover::after, .desktop-nav a[aria-current="true"]::after { right: 0; }
.header-contact { min-height: 44px; display: inline-flex; align-items: center; gap: 20px; border-bottom: 1px solid currentColor; font-size: 13px; }
.menu-toggle { display: none; width: 48px; height: 48px; border: 0; background: transparent; color: inherit; padding: 12px; cursor: pointer; }
.menu-toggle span { display: block; height: 1px; background: currentColor; margin: 7px 0; transition: transform .2s ease; }
.menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
.mobile-menu { background: var(--paper-bright); color: var(--ink); padding: 20px 24px 32px; border-top: 1px solid var(--rule); }
.mobile-menu a { min-height: 52px; display: flex; align-items: center; gap: 18px; border-bottom: 1px solid var(--rule); font-family: var(--serif); font-size: 22px; }
.mobile-menu a span { font-family: var(--sans); font-size: 11px; color: var(--graphite); }

.hero { min-height: 760px; height: min(95svh, 980px); position: relative; display: grid; color: var(--ink); background: var(--paper-bright); overflow: hidden; }
.hero-image { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; animation: hero-settle 1.05s cubic-bezier(.16,1,.3,1) both; }
@keyframes hero-settle { from { transform: scale(1.025); } to { transform: scale(1); } }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(250,249,245,.98) 0%, rgba(250,249,245,.92) 29%, rgba(250,249,245,.48) 51%, rgba(250,249,245,.03) 72%); }
.hero-grid { width: 100%; max-width: var(--max); margin: auto; padding: 150px 42px 62px; position: relative; display: grid; grid-template-columns: 54px minmax(460px, 650px) 1fr; align-items: end; gap: 40px; }
.vertical-note { align-self: stretch; margin: 0; padding-top: 18px; border-right: 1px solid rgba(18,23,27,.35); writing-mode: vertical-rl; font-family: var(--sans); font-size: 10px; letter-spacing: .28em; color: rgba(18,23,27,.62); }
.hero-copy { padding-bottom: 6vh; }
h1, h2, h3, p { text-wrap: pretty; }
h1 { margin: 0; font-family: var(--serif); font-size: clamp(3.6rem, 6vw, 6rem); font-weight: 600; line-height: 1.08; letter-spacing: -.035em; }
h1 em { color: #247d68; font-style: normal; }
.hero-intro { max-width: 520px; margin: 36px 0 0; font-size: 17px; line-height: 1.85; color: #3d4a52; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 26px; margin-top: 38px; }
.ink-link { min-height: 44px; display: inline-flex; align-items: center; gap: 26px; width: fit-content; border-bottom: 1px solid currentColor; font-size: 13px; letter-spacing: .05em; }
.ink-link span { transition: transform .2s ease; }
.ink-link:hover span { transform: translate(3px, -2px); }
.ink-link.light { color: var(--ink); }
.outline-button { min-height: 48px; padding: 0 22px; display: inline-flex; align-items: center; border: 1px solid var(--cobalt); background: rgba(250,249,245,.55); font-size: 13px; transition: background .2s ease, color .2s ease; }
.outline-button:hover { background: var(--cobalt); color: #fff; }
.hero-index { align-self: end; justify-self: end; width: min(240px, 100%); margin-bottom: 7vh; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 10px 16px; font-size: 11px; letter-spacing: .12em; }
.hero-index > span { grid-column: 1 / -1; padding-bottom: 10px; color: rgba(18,23,27,.55); border-bottom: 1px solid rgba(18,23,27,.3); }
.hero-index strong { font-weight: 500; }
.hero-index i { height: 1px; background: rgba(18,23,27,.32); }

.section { max-width: var(--max); margin: 0 auto; padding: 130px 42px; display: grid; grid-template-columns: 28% 1fr; gap: 7%; }
.chapter-side { align-self: start; position: sticky; top: 120px; padding-right: 24px; }
.chapter-side h2, .process-heading h2, .application-copy h2, .contact-intro h2 { margin: 0; font-family: var(--serif); font-size: clamp(2.7rem, 4.8vw, 5.2rem); font-weight: 600; line-height: 1.08; letter-spacing: -.04em; }
.chapter-side > p { max-width: 280px; margin: 26px 0 28px; color: var(--graphite); font-size: 14px; }
.atlas-figure { margin: 0; border-top: 1px solid var(--ink); }
.atlas-figure img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.atlas-figure figcaption { min-height: 52px; display: flex; justify-content: space-between; align-items: center; gap: 18px; border-bottom: 1px solid var(--rule); font-size: 11px; letter-spacing: .1em; color: var(--graphite); }
.family-list { margin-top: 36px; border-top: 1px solid var(--ink); }
.family-row { min-height: 135px; display: grid; grid-template-columns: 55px 25% 1fr 72px; align-items: center; gap: 24px; border-bottom: 1px solid var(--rule); }
.family-no { font-family: Georgia, serif; font-size: 38px; color: var(--copper); }
.family-row h3 { margin: 0; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.family-row p { margin: 0; color: var(--graphite); font-size: 14px; }
.family-silhouette { justify-self: end; width: 32px; height: 92px; background: repeating-linear-gradient(to bottom, transparent 0 7px, var(--cobalt) 7px 11px, transparent 11px 15px), linear-gradient(90deg, transparent 46%, var(--cobalt) 46% 54%, transparent 54%); opacity: .8; }
.family-silhouette.tall { height: 106px; }
.family-silhouette.short { height: 74px; }

.applications { display: grid; grid-template-columns: 37% 31.5% 31.5%; min-height: 820px; background: var(--cobalt); color: #fff; }
.application-copy { padding: 115px 50px; display: flex; flex-direction: column; justify-content: center; }
.application-copy h2 { font-size: clamp(2.6rem, 4.1vw, 4.6rem); }
.application-copy .lead { max-width: 440px; margin: 30px 0 45px; color: rgba(255,255,255,.72); font-size: 15px; }
.application-terms { margin: 0; border-top: 1px solid rgba(255,255,255,.28); }
.application-terms div { padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.2); }
.application-terms dt { margin-bottom: 4px; font-size: 11px; letter-spacing: .15em; color: #a7d7c5; }
.application-terms dd { margin: 0; font-size: 13px; color: rgba(255,255,255,.78); }
.application-figure { min-width: 0; margin: 0; display: grid; grid-template-rows: 1fr auto; border-left: 1px solid rgba(255,255,255,.22); }
.application-figure img { width: 100%; height: 100%; min-height: 680px; object-fit: cover; }
.application-figure.gis img { object-position: 43% center; }
.application-figure.post img { object-position: 63% center; }
.application-figure figcaption { min-height: 140px; padding: 24px 28px; display: grid; align-content: center; gap: 2px 18px; border-top: 1px solid rgba(255,255,255,.2); }
.application-figure figcaption strong { font-family: var(--serif); font-size: 22px; font-weight: 500; }
.application-figure figcaption small { color: rgba(255,255,255,.58); }

.process { padding: 125px 0 0; background: var(--cobalt-deep); color: #fff; overflow: hidden; }
.process-heading { max-width: var(--max); margin: 0 auto; padding: 0 42px 70px; display: grid; grid-template-columns: 26% 45% 1fr; gap: 5%; align-items: end; }
.process-heading h2 { font-size: clamp(2.7rem, 4.5vw, 5rem); }
.process-heading > p:last-child { margin: 0; color: rgba(255,255,255,.65); font-size: 14px; }
.process-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.24); }
.process-step { min-width: 0; border-right: 1px solid rgba(255,255,255,.2); }
.process-step:last-child { border-right: 0; }
.step-meta { min-height: 210px; padding: 34px 32px; position: relative; }
.step-meta::after { content: ""; position: absolute; left: 32px; bottom: -6px; z-index: 2; width: 11px; height: 11px; border-radius: 50%; background: var(--paper); box-shadow: 0 0 0 5px rgba(100,173,145,.28); }
.step-meta > span { color: #8ec4b0; font-family: Georgia, serif; font-size: 32px; }
.step-meta h3 { margin: 12px 0 8px; font-family: var(--serif); font-size: 25px; font-weight: 500; }
.step-meta p { margin: 0; max-width: 250px; color: rgba(255,255,255,.6); font-size: 13px; }
.process-step img { width: 100%; aspect-ratio: 1 / 1.13; object-fit: cover; filter: saturate(.88); transition: filter .35s ease, transform .45s ease; }
.process-step:hover img { filter: saturate(1); transform: scale(1.012); }
.inspection-graphic { aspect-ratio: 1 / 1.13; position: relative; overflow: hidden; background: radial-gradient(circle at 50% 48%, rgba(100,173,145,.28) 0 7%, transparent 7.5%), repeating-radial-gradient(circle at 50% 48%, transparent 0 13%, rgba(244,241,233,.3) 13.2% 13.5%, transparent 13.7% 20%), linear-gradient(135deg,#102d49,#071622); }
.inspection-graphic i { position: absolute; left: 50%; top: 0; bottom: 0; width: 1px; background: rgba(244,241,233,.25); transform-origin: center 48%; }
.inspection-graphic i:nth-child(2){transform:rotate(45deg)}.inspection-graphic i:nth-child(3){transform:rotate(90deg)}.inspection-graphic i:nth-child(4){transform:rotate(135deg)}
.inspection-graphic span { position: absolute; left: 32px; bottom: 34px; font-size: 10px; line-height: 2; letter-spacing: .18em; color: rgba(255,255,255,.72); }

.records { background: var(--paper); }
.timeline { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.timeline li { min-height: 280px; padding: 28px 24px 28px 0; display: block; border-right: 1px solid var(--rule); }
.timeline li:not(:first-child) { padding-left: 24px; }
.timeline li:last-child { border-right: 0; }
.timeline time { font-family: Georgia, serif; font-size: 28px; color: var(--copper); font-variant-numeric: tabular-nums; }
.timeline h3 { margin: 58px 0 10px; font-family: var(--serif); font-size: 21px; font-weight: 600; }
.timeline p { margin: 0; color: var(--graphite); font-size: 14px; }
.record-note { margin-top: 54px; padding: 34px 0 0; border-top: 1px solid var(--ink); display: grid; grid-template-columns: 120px 1fr; gap: 34px; align-items: center; }
.record-note p { max-width: 600px; margin: 0; color: var(--graphite); }
.record-ring { width: 106px; aspect-ratio: 1; border: 1px solid var(--cobalt); border-radius: 50%; position: relative; }
.record-ring::before, .record-ring::after { content: ""; position: absolute; border: 1px solid var(--cobalt); border-radius: 50%; }
.record-ring::before { inset: 14px; }.record-ring::after { inset: 31px; background: var(--celadon); border: 0; }

.contact { display: grid; grid-template-columns: 42% 58%; background: var(--paper-bright); border-top: 1px solid var(--rule); }
.contact-intro { min-height: 760px; padding: 110px max(42px, calc((100vw - var(--max)) / 2 + 42px)); padding-right: 7vw; position: relative; overflow: hidden; background: var(--cobalt); color: #fff; }
.contact-image, .contact-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.contact-image { object-fit: cover; object-position: 42% center; }
.contact-shade { background: linear-gradient(180deg,rgba(5,20,34,.45),rgba(5,20,34,.93) 60%); }
.contact-intro > *:not(.contact-image):not(.contact-shade) { position: relative; z-index: 1; }
.contact-intro h2 { font-size: clamp(2.7rem, 4.3vw, 4.8rem); }
.contact-intro > p { max-width: 520px; margin: 30px 0 45px; color: rgba(255,255,255,.68); }
address { margin: 0; border-top: 1px solid rgba(255,255,255,.25); font-style: normal; }
address div { min-height: 66px; display: grid; grid-template-columns: 90px 1fr; align-items: center; gap: 18px; border-bottom: 1px solid rgba(255,255,255,.2); }
address span { color: #a8d4c4; font-size: 11px; letter-spacing: .12em; }
address strong, address a { min-height: 44px; display: flex; align-items: center; font-size: 14px; font-weight: 500; overflow-wrap: anywhere; }
.contact-form { padding: 110px max(42px, calc((100vw - var(--max)) / 2 + 42px)); padding-left: 7vw; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.contact-form label { display: grid; gap: 9px; margin-bottom: 26px; color: var(--graphite); font-size: 12px; letter-spacing: .08em; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 48px; padding: 10px 2px; color: var(--ink); background: transparent; border: 0; border-bottom: 1px solid #8d9291; border-radius: 0; outline: none; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--cobalt); box-shadow: 0 2px 0 var(--celadon); }
.form-submit { margin-top: 14px; display: flex; align-items: center; gap: 24px; }
.form-submit button { min-height: 52px; padding: 0 26px; border: 1px solid var(--cobalt); background: var(--cobalt); color: #fff; cursor: pointer; transition: background .2s ease, color .2s ease; }
.form-submit button:hover { background: transparent; color: var(--cobalt); }
.form-submit p { margin: 0; color: var(--graphite); font-size: 12px; }
.form-status { min-height: 30px; margin: 22px 0 0; padding: 12px 0 0; border-top: 1px solid var(--rule); color: #7e2e1c; font-size: 14px; }

.site-footer { min-height: 130px; padding: 28px max(42px, calc((100vw - var(--max)) / 2 + 42px)); display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 44px; color: rgba(255,255,255,.68); background: #09131d; font-size: 12px; }
.footer-brand { display: flex; align-items: center; gap: 16px; }
.footer-brand .brand-mark { width: 30px; height: 36px; color: #fff; }
.footer-brand div { display: grid; }
.footer-brand strong { color: #fff; font-size: 14px; letter-spacing: .08em; }
.footer-brand span { font-size: 10px; }
.site-footer p { margin: 0; }
.site-footer > a { min-height: 44px; display: flex; align-items: center; gap: 16px; border-bottom: 1px solid rgba(255,255,255,.45); }

::selection { background: var(--celadon); color: var(--cobalt-deep); }
input, select, textarea { caret-color: var(--celadon); }
::placeholder { color: #697176; opacity: 1; }
* { scrollbar-color: var(--celadon) var(--paper); scrollbar-width: thin; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--paper); }
::-webkit-scrollbar-thumb { background: var(--celadon); border: 3px solid var(--paper); }

@media (max-width: 1100px) {
  .header-inner { padding-inline: 28px; gap: 24px; }
  .desktop-nav { display: none; }
  .header-inner { grid-template-columns: 1fr auto auto; }
  .menu-toggle { display: block; }
  .hero-grid { padding-inline: 28px; grid-template-columns: 40px minmax(400px, 620px) 1fr; }
  .section { padding: 105px 28px; grid-template-columns: 25% 1fr; gap: 5%; }
  .applications { grid-template-columns: 40% 30% 30%; }
  .application-copy { padding: 86px 30px; }
  .process-heading { padding-inline: 28px; grid-template-columns: 22% 50% 1fr; }
  .step-meta { padding-inline: 22px; }
  .contact-intro, .contact-form { padding: 90px 40px; }
}

@media (max-width: 820px) {
  .site-header { color: var(--ink); background: rgba(250,249,245,.96); border-bottom-color: var(--rule); }
  .header-inner { min-height: 72px; padding-inline: 20px; grid-template-columns: 1fr auto; }
  .header-contact { display: none; }
  .brand small { display: none; }
  .hero { min-height: 760px; height: min(88svh, 900px); color: var(--ink); }
  .hero-image { object-position: 61% center; }
  .hero-shade { background: linear-gradient(180deg, rgba(250,249,245,.22), rgba(250,249,245,.72) 48%, rgba(250,249,245,.97)); }
  .hero-grid { padding: 130px 22px 44px; grid-template-columns: 24px 1fr; align-items: end; }
  .vertical-note { grid-row: 1; }
  .hero-copy { grid-column: 2; padding-bottom: 0; }
  h1 { font-size: clamp(3rem, 12vw, 5.4rem); }
  .hero-index { display: none; }
  .section { padding: 82px 22px; display: block; }
  .chapter-side { position: static; padding: 0 0 48px; }
  .chapter-side > p { max-width: 520px; }
  .family-row { grid-template-columns: 42px 1fr 54px; gap: 14px; padding: 20px 0; }
  .family-row p { grid-column: 2 / 3; }
  .family-silhouette { grid-column: 3; grid-row: 1 / 3; }
  .applications { grid-template-columns: 1fr 1fr; }
  .application-copy { grid-column: 1 / -1; padding: 82px 28px; }
  .application-figure img { min-height: 420px; }
  .process { padding-top: 86px; }
  .process-heading { padding: 0 22px 55px; display: block; }
  .process-heading h2 { margin-bottom: 28px; }
  .process-track { grid-template-columns: 1fr 1fr; }
  .process-step:nth-child(2) { border-right: 0; }
  .process-step:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.2); }
  .contact { grid-template-columns: 1fr; }
  .contact-intro, .contact-form { padding: 82px 28px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .timeline li, .timeline li:not(:first-child) { min-height: 230px; padding: 24px; border-bottom: 1px solid var(--rule); }
  .timeline h3 { margin-top: 35px; }
  .site-footer { padding-inline: 24px; grid-template-columns: 1fr auto; }
  .site-footer p { grid-column: 1 / -1; grid-row: 2; }
}

@media (max-width: 520px) {
  body { font-size: 15px; }
  .brand strong { font-size: 14px; letter-spacing: .05em; }
  .brand-mark { width: 29px; }
  .hero { min-height: 700px; height: 86svh; max-height: 790px; }
  .hero-grid { padding-inline: 18px; grid-template-columns: 18px 1fr; gap: 17px; }
  .vertical-note { font-size: 8px; }
  .hero-intro { font-size: 15px; }
  .hero-actions { align-items: stretch; gap: 16px; }
  .outline-button { width: 100%; justify-content: center; }
  .atlas-figure img { aspect-ratio: 1.05; object-position: center; }
  .atlas-figure figcaption { align-items: flex-start; flex-direction: column; justify-content: center; padding-block: 10px; }
  .family-row { grid-template-columns: 34px 1fr 42px; }
  .family-no { font-size: 30px; }
  .family-row h3 { font-size: 21px; }
  .family-silhouette { width: 24px; }
  .applications { grid-template-columns: 1fr; }
  .application-figure { border-left: 0; border-top: 1px solid rgba(255,255,255,.22); }
  .application-figure img { min-height: 430px; }
  .application-figure figcaption { min-height: 118px; }
  .process-track { grid-template-columns: 1fr; }
  .process-step, .process-step:nth-child(2) { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.2); }
  .process-step:last-child { border-bottom: 0; }
  .step-meta { min-height: 172px; padding: 26px 22px; }
  .step-meta::after { left: 22px; }
  .process-step img { aspect-ratio: 1.35; }
  .timeline { grid-template-columns: 1fr; }
  .timeline li, .timeline li:not(:first-child) { min-height: 0; padding: 24px 0; border-right: 0; }
  .timeline h3 { margin: 14px 0 8px; }
  .record-note { grid-template-columns: 76px 1fr; gap: 20px; }
  .record-ring { width: 70px; }
  .record-ring::before { inset: 10px; }.record-ring::after { inset: 23px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-submit { align-items: flex-start; flex-direction: column; }
  .form-submit button { width: 100%; }
  .contact-intro { min-height: 700px; }
  .site-footer { grid-template-columns: 1fr; gap: 22px; }
  .site-footer p, .site-footer > a { grid-column: 1; grid-row: auto; }
  .site-footer > a { width: fit-content; }
}

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