:root {
  color-scheme: light;
  --paper: #f6f7f1;
  --ink: #172f32;
  --muted: #50615c;
  --line: #bdc8bf;
  --green: #13584e;
  --serif: "Noto Serif CJK SC", "Songti SC", "STSong", "SimSun", serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-block-start: 1rem; }
body { margin: 0; color: var(--ink); background: var(--paper); font: 1rem/1.65 system-ui, "Microsoft YaHei", sans-serif; }
h1, h2, p, dl, dd { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid #c35513; outline-offset: 4px; }
.wrap { width: min(84rem, 90%); margin-inline: auto; }
.skip { position: fixed; z-index: 2; top: .7rem; left: 5%; padding: .6rem 1rem; background: white; transform: translateY(-180%); }
.skip:focus { transform: none; }
.mast, .brand, nav, .actions, .label, .destination, .server, .footer { display: flex; align-items: center; }
.mast { min-height: 5.5rem; gap: 2rem; border-bottom: 1px solid var(--line); }
.brand { font: bold 1.85rem/1 Georgia, serif; letter-spacing: -.06em; }
.brand img { border-radius: 50%; margin-right: .65rem; border: 1px solid var(--line); }
.brand span, .period { color: var(--green); }
nav { margin-left: auto; gap: clamp(.8rem, 3vw, 2.8rem); }
nav a, .contact-links div a, .filings a { display: inline-flex; align-items: center; min-height: 44px; }
nav a:hover, .contact-links a:hover, .filings a:hover { color: var(--green); text-decoration: underline; text-underline-offset: 5px; }
.clock { font-size: .85rem; color: var(--muted); padding-left: 1.8rem; border-left: 1px solid var(--line); }
.clock time { margin-left: .3rem; font: .9rem var(--mono); }
.hero { min-height: calc(100svh - 5.5rem); display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); align-items: center; gap: clamp(2rem, 4vw, 5rem); padding-block: clamp(3rem, 6vw, 7rem); }
.label { gap: .7rem; font: 500 .8rem/1.5 var(--mono); letter-spacing: .09em; color: var(--green); }
.rule { width: 2.2rem; height: 2px; background: currentColor; }
h1, h2, .motto { font-family: var(--serif); }
h1 { margin: 2rem 0 1.35rem; font-size: clamp(5.5rem, 8.5vw, 9rem); line-height: 1.13; letter-spacing: -.065em; }
h1 > span:first-child { display: block; margin-bottom: .35em; font-size: .43em; letter-spacing: .01em; font-weight: 500; }
.period { display: inline-block; font-size: .7em; }
.lead { line-height: 1.9; font-size: clamp(1rem, 1.2vw, 1.18rem); }
.actions { flex-wrap: wrap; gap: .6rem 1.6rem; margin-top: 2.1rem; }
.button, .copy, .text-link { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; }
.button { padding: .6rem 1.3rem; background: var(--green); color: white; border-radius: 3px; transition: background .2s, transform .2s; }
.button:hover { background: #0c413a; transform: translateY(-2px); }
.text-link, .mail { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .35em; }
.text-link:hover, .mail:hover { text-decoration-thickness: 2px; }
.art { overflow: hidden; background: #8dbfbd; aspect-ratio: 1.35; border-radius: 48% 48% 2px 2px / 32% 32% 2px 2px; }
.art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 56% 65%; transition: transform .55s; }
.art:hover img { transform: scale(1.025); }
@keyframes arrive { from { opacity: .2; transform: translateY(.55rem); } to { opacity: 1; transform: none; } }
[data-enter] .intro { animation: arrive .55s ease-out both; }
.notes, .directory-inner, .contact { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.35fr); gap: clamp(2rem, 4vw, 5rem); padding-block: clamp(3.3rem, 7vw, 6.8rem); }
.notes, .footer { border-top: 1px solid var(--line); }
h2 { font-size: clamp(2.5rem, 4.1vw, 4.2rem); line-height: 1.2; letter-spacing: -.055em; margin: 1rem 0; }
.section-intro > p:last-child:not(.label), .note-list dd, .destination span { color: var(--muted); }
.note-list > div { display: grid; grid-template-columns: 5rem 1fr; gap: 1.2rem; padding-block: 1.3rem; border-top: 1px solid var(--line); }
.note-list dt { font-weight: 650; }
.directory { background: #173e3e; color: #f6f7ed; }
.directory .label { color: #b1dbbd; }
.directory .section-intro > p:last-child, .directory .destination span, .server p { color: #c6d7cf; }
.destination, .server { gap: 1rem; justify-content: space-between; border-top: 1px solid #637e75; padding: 1.1rem 0; }
.destination { transition: background .2s, padding .2s; }
.destination:hover { background: #244a48; padding-inline: .65rem; }
.destination strong, .server strong { font: 500 clamp(1.5rem, 2.6vw, 2.45rem)/1.3 Georgia, serif; }
.server p { font-size: .95rem; margin-block: .4rem; }
.server code { font: 1rem var(--mono); }
.copy { background: transparent; color: inherit; border: 1px solid #9fb6ab; border-radius: 3px; padding: .4rem .9rem; white-space: nowrap; }
.copy:hover { background: #315953; }
.contact { align-items: center; }
.mail { font: clamp(1.4rem, 3.3vw, 3.35rem)/1.65 Georgia, serif; overflow-wrap: anywhere; }
.contact-links div { display: flex; flex-wrap: wrap; gap: 0 1.6rem; margin-top: .65rem; }
.footer { justify-content: space-between; gap: 1rem; padding-block: 1.6rem; color: var(--muted); font-size: .85rem; }
.motto { font-size: 1rem; margin-bottom: .25rem; color: var(--ink); }
.filings { display: flex; flex-wrap: wrap; gap: 0 1.1rem; }
@media (max-width: 48rem) {
  .mast { min-height: 4.5rem; gap: .7rem; }
  .clock { font-size: .78rem; padding-left: .7rem; }
  .hero { min-height: auto; grid-template-columns: 1fr; gap: 1.9rem; padding-block: 2.5rem; }
  .art { aspect-ratio: 1.8; border-radius: 45% 45% 2px 2px / 25% 25% 2px 2px; }
  h1 { font-size: clamp(4.4rem, 12vw, 6rem); margin-block: 1rem; }
  .actions { margin-top: 1.2rem; }
  .notes, .directory-inner, .contact { grid-template-columns: 1fr; gap: 1.4rem; }
  .footer { display: block; }
}
@media (max-width: 26rem) {
  .mast { flex-wrap: wrap; justify-content: space-between; gap: 0 .5rem; padding-block: .55rem; }
  .clock { width: 100%; padding-left: 0; border: 0; text-align: right; }
  .brand img { width: 34px; height: 34px; }
  .note-list > div { grid-template-columns: 1fr; gap: .25rem; }
  .destination { flex-wrap: wrap; gap: .2rem .65rem; }
  .destination span { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .art:hover img, .button:hover { transform: none; }
}
