:root {
  color-scheme: dark;
  --night: #0b121c;
  --paper: #f4f0e5;
  --gold: #e5c68e;
  --muted: #adb4c0;
  --serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", "STSong", SimSun, Georgia, serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", system-ui, sans-serif;
  --mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--paper); background: var(--night); font-family: var(--sans); text-rendering: optimizeLegibility; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button, select, input { font: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible, select:focus-visible { outline: 2px solid #bc924c; outline-offset: 5px; }
.wrap { width: min(1216px, calc(100% - clamp(44px, 10.8vw, 180px))); margin-inline: auto; }
.skip { position: absolute; z-index: 9; left: 20px; top: -100px; background: var(--paper); color: var(--night); padding: 12px; }
.skip:focus { top: 12px; }
.masthead { background: #0c131d; border-bottom: 1px solid #33404b; }
.masthead-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-text { display: flex; flex-direction: column; gap: 2px; }
.brand-text b { font: 600 21px/1.15 var(--serif); letter-spacing: .17em; }
.brand-text small { font: 9px/1.5 var(--mono); color: #d7c7a6; letter-spacing: .12em; }
nav { display: flex; gap: clamp(18px, 3vw, 48px); align-items: center; }
nav a { font-size: 14px; color: #dddcd7; padding: 12px 0; letter-spacing: .055em; }
nav a:hover, .to-top:hover, .photo-credit a:hover { color: var(--gold); }
.hero { position: relative; isolation: isolate; background: #101923; }
.hero-photo, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-photo { object-fit: cover; object-position: 56% 54%; }
.hero-shade { background: linear-gradient(90deg, rgba(5,12,21,.83), rgba(5,12,21,.56) 31%, rgba(5,12,21,.06) 64%), linear-gradient(0deg, rgba(5,10,17,.85), transparent 24%); }
.hero-frame { min-height: clamp(555px, 45vw, 708px); display: flex; flex-direction: column; }
.hero-copy { flex: 1; padding: clamp(48px, 4.7vw, 80px) 0 39px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.hero-kicker { color: #f0d6a9; display: flex; align-items: center; gap: 12px; font: 500 12px/1.4 var(--sans); letter-spacing: .18em; }
.hero-kicker span { width: 34px; height: 1px; background: currentColor; }
h1 { margin: 22px 0 18px; font-family: var(--serif); font-size: clamp(68px, 6.4vw, 102px); line-height: 1.13; font-weight: 650; letter-spacing: -.055em; color: #fffaf0; }
h1 em { font-style: normal; color: #ead0a3; }
.hero-description { color: #e1e2df; font-size: clamp(15px, 1.12vw, 18px); line-height: 1.85; letter-spacing: .07em; }
.primary { margin-top: 25px; display: inline-flex; align-items: center; gap: 24px; color: #172027; background: #efd5a4; padding: 13px 21px; min-height: 46px; font-size: 14px; font-weight: 650; border-radius: 2px; transition: background .18s; }
.primary:hover { background: #ffe4b6; }
.primary span { font-family: Arial, sans-serif; font-weight: 400; font-size: 19px; line-height: 1; }
.hero-foot { min-height: 54px; color: #dedfdc; border-top: 1px solid #c6c5c04d; display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 11px; letter-spacing: .06em; }
.coordinates, .local-clock { display: inline-flex; align-items: center; gap: 9px; }
.hero-foot [hidden] { display: none; }
.coordinates i { line-height: 1; font: normal 19px/1 var(--mono); color: var(--gold); }
.coordinates b, .local-clock time { font: 11px/1.4 var(--mono); letter-spacing: .06em; }
.clock-dot { border-radius: 50%; background: #e0be83; width: 5px; height: 5px; }
.section { padding: clamp(60px, 6.3vw, 100px) 0; scroll-margin-top: 16px; }
.sky-section { background: #101927; }
.overline { font: italic 19px/1.2 Georgia, "Times New Roman", serif; color: var(--gold); margin-bottom: 10px; }
.heading h2 { font: 650 clamp(33px, 3.1vw, 50px)/1.25 var(--serif); letter-spacing: -.04em; }
.intro { color: var(--muted); line-height: 1.85; font-size: 15px; margin-top: 14px; }
.sky-section .heading { margin-bottom: 30px; }
.places { color-scheme: light; background: #f1ede2; color: #192523; }
.places .overline { color: #795e38; }
.places .intro { color: #58615e; }
.places-layout, .notes-layout { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: clamp(40px, 7.5vw, 120px); }
.place { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 30px 0; border-top: 1px solid #c6c7b9; }
.place:first-child { padding-top: 20px; }
.place:last-child { border-bottom: 1px solid #c6c7b9; }
.town { font: 11px/1.5 var(--mono); letter-spacing: .11em; color: #756142; }
.place h3 { margin: 7px 0; font: 650 clamp(21px, 1.78vw, 29px)/1.28 var(--serif); }
.place-body > p:last-child { font-size: 14px; color: #59615d; line-height: 1.85; }
.place > a { display: inline-flex; gap: 7px; align-items: center; flex-shrink: 0; font-size: 12px; color: #43504a; padding: 8px 0; }
.place a i { font: normal 18px/1.2 Arial, sans-serif; }
.place a:hover { color: #795824; text-decoration: underline; }
.notes { background: #16202b; }
.field-notes details { border-top: 1px solid #44505d; }
.field-notes details:last-of-type { border-bottom: 1px solid #44505d; }
.field-notes summary { cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 10px; list-style: none; padding: 22px 0; font-size: 16px; }
.field-notes summary::-webkit-details-marker { display: none; }
.field-notes summary span { width: 16px; height: 16px; position: relative; flex-shrink: 0; }
.field-notes summary span::before, .field-notes summary span::after { content: ""; position: absolute; top: 7px; left: 1px; width: 14px; height: 1px; background: #e1c695; }
.field-notes summary span::after { transform: rotate(90deg); }
.field-notes details[open] summary span::after { display: none; }
.field-notes details p { margin: -4px 24px 20px 0; font-size: 14px; line-height: 1.9; color: #bec5cc; }
.source-link { display: inline-block; margin-top: 19px; font-size: 12px; color: var(--gold); }
.source-link:hover { text-decoration: underline; }
footer { background: #0c131c; color: #bcc2c9; }
.footer-inner { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; padding-block: 30px; }
.footer-brand { font: 600 17px/1.4 var(--serif); letter-spacing: .1em; color: var(--paper); }
.photo-credit { font-size: 11px; line-height: 1.75; flex: 1; }
.photo-credit a { text-decoration: underline; text-underline-offset: 3px; }
.to-top { font-size: 12px; }
@media (max-width: 785px) {
  .places-layout, .notes-layout { grid-template-columns: 1fr; gap: 26px; }
  .places-layout .intro br { display: none; }
}
@media (max-width: 570px) {
  .masthead-inner { min-height: 65px; gap: 10px; }
  .brand { gap: 7px; }
  .brand img { width: 30px; height: 30px; }
  .brand-text b { font-size: 17px; }
  .brand-text small { font-size: 7px; letter-spacing: .07em; }
  nav { gap: 14px; }
  nav a { font-size: 12px; letter-spacing: 0; }
  .hero-frame { min-height: 525px; }
  .hero-photo { object-position: 63% center; }
  .hero-shade { background: linear-gradient(90deg, #071019b8, #08102030 86%), linear-gradient(0deg, #07101ae0, transparent 32%); }
  .hero-copy { padding: 48px 0 35px; }
  h1 { font-size: clamp(58px, 14.5vw, 75px); margin: 21px 0 18px; }
  .hero-kicker { font-size: 10px; }
  .hero-description { font-size: 14px; }
  .hero-foot { min-height: 48px; letter-spacing: 0; font-size: 10px; }
  .coordinates { gap: 5px; }
  .coordinates b, .local-clock time { font-size: 10px; letter-spacing: 0; }
  .local-clock { gap: 5px; }
  .section { padding-block: 52px; }
  .overline { font-size: 17px; }
  .intro { font-size: 14px; margin-top: 10px; }
  .place { align-items: start; flex-direction: column; gap: 4px; padding: 23px 0; }
  .footer-inner { gap: 15px; }
  .photo-credit { order: 3; flex-basis: 100%; }
  .to-top { margin-left: auto; }
}
@media (max-width: 360px) {
  .wrap { width: calc(100% - 32px); }
  nav { gap: 9px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0s !important; animation-duration: .01ms !important; }
}
