:root {
  --paper: #f7f4ed;
  --ink: #182d3a;
  --navy: #123042;
  --navy-deep: #0e2635;
  --mist: #e9f0f1;
  --light: #fefbf2;
  --gold: #f0ce8c;
  --copper: #845318;
  --rule: #cdd8da;
  --wide: 1160px;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; font: 1.04rem/1.62 system-ui, sans-serif; color: var(--ink); background: var(--paper); }
h1, h2, h3 { margin: 0; font-family: Georgia, serif; font-weight: 600; line-height: 1.12; letter-spacing: -.03em; }
h1 { font-size: clamp(3.9rem, 9.5vw, 7.6rem); line-height: .95; }
h2 { font-size: clamp(2rem, 4vw, 3.15rem); }
h3 { font-size: clamp(1.25rem, 2.25vw, 1.6rem); }
p { margin: .85rem 0 0; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .14em; }
:focus-visible { outline: 3px solid #9a5e25; outline-offset: 4px; }
.skip { position: absolute; z-index: 50; left: .9rem; top: .5rem; padding: .6rem; background: white; transform: translateY(-150%); }
.skip:focus { transform: none; }
.masthead, .kiel-hero, .kiel-chapters { width: min(var(--wide), calc(100% - 2rem)); margin-inline: auto; }
.masthead { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .2rem 1rem; padding: .75rem 0; }
.brand { font: 700 1.65rem/1 Georgia, serif; text-decoration: none; letter-spacing: -.04em; padding: .55rem 0; }
.brand span { color: var(--copper); }
.masthead nav, .kiel-chapters, .kiel-links { display: flex; flex-wrap: wrap; align-items: center; gap: .1rem 1.2rem; }
.masthead nav a, .kiel-chapters a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 720; font-size: .92rem; }
.masthead nav a { text-decoration: none; }
.masthead nav a:hover, .masthead nav a[aria-current] { text-decoration: underline; }
.kiel-hero { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); margin-top: .75rem; background: var(--navy); color: var(--light); border-radius: 1.1rem; overflow: hidden; }
.kiel-intro { align-self: center; padding: clamp(1.45rem, 4.7vw, 3.65rem); }
.kiel-intro p:not(.kiel-eyebrow, .kiel-subtitle) { color: #e7e9e5; max-width: 48ch; }
.kiel-eyebrow { margin: 0 0 .85rem; color: var(--gold); text-transform: uppercase; letter-spacing: .13em; font-size: .75rem; font-weight: 800; }
.kiel-subtitle { font-family: Georgia, serif; font-size: clamp(1.44rem, 3vw, 2.15rem); line-height: 1.15; margin-top: .8rem; }
.kiel-button { display: inline-flex; align-items: center; gap: .55rem; min-height: 44px; border-radius: .4rem; background: var(--gold); color: #202a2f; font-weight: 750; text-decoration: none; margin-top: 1.35rem; padding: .52rem .8rem; }
.kiel-button:hover { text-decoration: underline; }
.kiel-cover-photo { min-width: 0; }
.kiel-photo { display: flex; flex-direction: column; margin: 0; min-width: 0; background: var(--mist); overflow: hidden; border-radius: .7rem; }
.kiel-photo .kiel-image-link { display: block; position: relative; background: #203a45; color: #faf8ef; overflow: hidden; }
.kiel-photo .kiel-image-link:focus-visible { outline-offset: -4px; }
.kiel-photo img { display: block; width: 100%; height: auto; }
.kiel-photo .zoom-tag { position: absolute; inset: auto .62rem .62rem auto; min-height: 34px; background: #112c3a; border-radius: .28rem; padding: .24rem .55rem; text-decoration: underline; font-size: .78rem; }
.kiel-caption { display: grid; gap: .28rem; padding: .85rem 1rem; font-size: .94rem; line-height: 1.52; }
.kiel-caption strong { font-size: 1.05rem; }
.kiel-cover-photo.kiel-photo { border-radius: 0; }
.kiel-cover-photo .kiel-image-link { flex: 1; min-height: 280px; }
.kiel-cover-photo img { height: 100%; object-fit: cover; object-position: 52% center; }
.kiel-cover-photo .kiel-caption { background: var(--navy-deep); color: var(--light); padding: 1rem 1.18rem; }
.kiel-links { column-gap: .92rem; }
.kiel-links a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 720; font-size: .88rem; }
.kiel-cover-photo .kiel-links a { color: var(--gold); }
.photo-credit { display: block; color: #405562; margin-top: .2rem; font-size: .79rem; }
.kiel-chapters { margin-top: .85rem; padding: .25rem 1rem; border-block: 1px solid var(--rule); }
.kiel-chapters a { text-decoration: none; }
.kiel-chapters a:hover { text-decoration: underline; }
.kiel-story { max-width: min(930px, calc(100% - 2rem)); margin-inline: auto; }
.kiel-story section { border-top: 1px solid var(--rule); padding: clamp(1.8rem, 5vw, 3.6rem) 0; }
.kiel-story section:first-child { border: 0; }
.kiel-story section[id] { scroll-margin-top: 1rem; }
.kiel-story p { max-width: 67ch; }
.kiel-story .opening { font-size: clamp(1.05rem, 1.75vw, 1.18rem); margin-bottom: 1.15rem; }
.kiel-pair, .visit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; margin-top: 1rem; }
.kiel-pair .kiel-image-link { display: grid; height: 300px; place-items: center; }
.kiel-pair .kiel-image-link img { object-fit: contain; height: 100%; width: 100%; min-height: 0; }
.kiel-pair.portraits .kiel-image-link { height: clamp(230px, 48vw, 485px); }
.kiel-aside { border: 1px solid var(--rule); padding: 1rem 1.2rem; border-radius: .65rem; margin-top: 1.1rem; background: #fdfbf5; }
.kiel-history { margin-top: 1rem; border-radius: .63rem; background: #e3ecee; }
.kiel-history summary { padding: .94rem 1.1rem; cursor: pointer; font-weight: 750; }
.kiel-history summary:hover { text-decoration: underline; }
.kiel-history div { padding: 0 1.1rem .7rem; }
.kiel-timeline { list-style: none; display: grid; gap: 0; padding: 0 1.25rem; margin: 1.3rem 0 0; background: var(--mist); border-radius: .7rem; }
.kiel-timeline li { display: grid; grid-template-columns: minmax(4.4rem, .18fr) minmax(0, 1fr); align-items: start; gap: .6rem 1.2rem; padding: 1rem 0; }
.kiel-timeline li + li { border-top: 1px solid var(--rule); }
.kiel-timeline time { color: var(--copper); font: 700 clamp(1.4rem, 3.1vw, 2.4rem)/1 Georgia, serif; }
.kiel-timeline p { margin-top: .42rem; }
.kiel-timeline div > a { display: inline-block; margin-top: .37rem; font-size: .91rem; }
.visit-grid .kiel-aside { margin: 0; }
.kiel-credits { font-size: .92rem; }
.kiel-credits h2 { font-size: 1.5rem; }
.footer { border-top: 1px solid var(--rule); color: #405562; font-size: .9rem; padding: 1rem 0; }
.reading-progress { display: none; }
@media (prefers-reduced-motion: no-preference) {
  .reading-progress { display: block; position: fixed; inset: 0 0 auto; height: 3px; background: #b07733; z-index: 90; transform: scaleX(0); transform-origin: left; pointer-events: none; }
  .kiel-intro, .kiel-cover-photo img { animation: kiel-arrive .75s ease-out both; }
  .kiel-story .chapter-arriving { animation: kiel-arrive .55s ease-out both; }
  @media (hover: hover) and (pointer: fine) {
    .kiel-image-link img, .kiel-button { transition: transform .24s ease; }
    .kiel-image-link:hover img { transform: scale(1.018); }
    .kiel-button:hover { transform: translateY(-2px); }
  }
}
@keyframes kiel-arrive { from { opacity: .58; transform: translateY(13px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 740px) {
  .kiel-hero, .kiel-pair, .visit-grid { grid-template-columns: minmax(0, 1fr); }
  .kiel-cover-photo .kiel-image-link { min-height: 0; }
  .kiel-cover-photo img { height: auto; }
  .kiel-pair .kiel-image-link { height: min(72vw, 320px); }
  .kiel-pair.portraits .kiel-image-link { height: min(93vw, 415px); }
  .masthead nav, .kiel-chapters { gap: 0 .83rem; }
}
@media (max-width: 430px) {
  .masthead, .kiel-hero, .kiel-chapters { width: calc(100% - 1.25rem); }
  .kiel-timeline { padding-inline: .92rem; }
  .kiel-timeline li { grid-template-columns: minmax(3.25rem, .17fr) minmax(0, 1fr); gap: .45rem; }
}
