@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-400-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-500-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-600-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-700-normal.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-400-italic.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-ext-500-italic.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F,
    U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-400-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-500-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-600-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-700-normal.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-400-italic.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Instrument Sans";
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url(../fonts/instrument-sans-latin-500-italic.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC,
    U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #fafafb;
  --surface: #eef1f6;
  --raised: #ffffff;
  --ink: #141820;
  --muted: #5e6470;
  --accent: #2b4c7e;
  --accent-soft: #e1e8f3;
  --alert: #b3261e;
  --rule: rgba(20, 24, 32, 0.11);
  --sky: #e3ede7;
  --sun: #f2d98a;
  --h1: #a9c9b7;
  --h2: #6e9f86;
  --h3: #3f7560;
  --tree: #2b5a48;
  --bld: #ffffff;
  --roof: #8c4a3a;
  --win: #3c4a45;
  --water: #cfe3ea;
  --land: #f3f1e7;
  --land2: #e1e8f3;
  --border: #b9b3a0;
  --river: #4f8fb0;
  --mtn: #a08f76;
  --snow: #ffffff;
  --f: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 18px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0f1116;
    --surface: #171a21;
    --raised: #1c2028;
    --ink: #eceef2;
    --muted: #9ca2ae;
    --accent: #93b4e6;
    --accent-soft: #1d2839;
    --alert: #f2857c;
    --rule: rgba(236, 238, 242, 0.12);
    --sky: #16241e;
    --sun: #e9e3c8;
    --h1: #23392f;
    --h2: #2c4a3d;
    --h3: #1e3a2f;
    --tree: #0f241c;
    --bld: #c9d2cd;
    --roof: #7a4034;
    --win: #1b2320;
    --water: #13232b;
    --land: #1c211e;
    --land2: #1e2636;
    --border: #4a4f46;
    --river: #6fa9c8;
    --mtn: #6b6152;
    --snow: #d8dad6;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0f1116;
  --surface: #171a21;
  --raised: #1c2028;
  --ink: #eceef2;
  --muted: #9ca2ae;
  --accent: #93b4e6;
  --accent-soft: #1d2839;
  --alert: #f2857c;
  --rule: rgba(236, 238, 242, 0.12);
  --sky: #16241e;
  --sun: #e9e3c8;
  --h1: #23392f;
  --h2: #2c4a3d;
  --h3: #1e3a2f;
  --tree: #0f241c;
  --bld: #c9d2cd;
  --roof: #7a4034;
  --win: #1b2320;
  --water: #13232b;
  --land: #1c211e;
  --land2: #1e2636;
  --border: #4a4f46;
  --river: #6fa9c8;
  --mtn: #6b6152;
  --snow: #d8dad6;
  color-scheme: dark;
}

[data-l]:not([data-l="sk"]) {
  display: none;
}
:root[data-lang="en"] [data-l="sk"],
:root[data-lang="de"] [data-l="sk"],
:root[data-lang="hu"] [data-l="sk"] {
  display: none;
}
:root[data-lang="en"] [data-l="en"],
:root[data-lang="de"] [data-l="de"],
:root[data-lang="hu"] [data-l="hu"] {
  display: revert;
}
:root[data-lang="en"] tspan[data-l="en"],
:root[data-lang="de"] tspan[data-l="de"],
:root[data-lang="hu"] tspan[data-l="hu"] {
  display: inline;
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--f);
  font-size: 1.0625rem;
  line-height: 1.6;
  padding-inline: 20px;
  -webkit-text-size-adjust: 100%;
}
.wrap {
  max-width: 1160px;
  margin-inline: auto;
}
h1,
h2,
h3 {
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  text-wrap: balance;
  margin: 0;
}
h2 {
  font-size: clamp(1.85rem, 4vw, 2.6rem);
}
h3 {
  font-size: 1.15rem;
  line-height: 1.3;
}
p {
  margin: 0;
}
a {
  color: var(--accent);
  text-underline-offset: 4px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}
.eyebrow {
  display: inline-block;
  color: var(--accent);
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.lede {
  max-width: 60ch;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.55;
}
.mono {
  font-variant-numeric: tabular-nums;
}

header.top {
  position: sticky;
  top: env(safe-area-inset-top, 0px);
  z-index: 10;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  margin-inline: -20px;
  padding-inline: 20px;
  border-bottom: 1px solid var(--rule);
}
.bar {
  display: flex;
  align-items: center;
  gap: 24px;
  height: 64px;
}
.brand {
  font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  letter-spacing: -0.01em;
}
nav.sections {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
nav.sections::-webkit-scrollbar {
  display: none;
}
nav.sections ul {
  display: flex;
  gap: 20px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}
nav.sections a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
}
nav.sections a:hover {
  color: var(--ink);
}
.langs {
  display: flex;
  gap: 2px;
  background: var(--surface);
  border-radius: 999px;
  padding: 3px;
  margin-left: auto;
}
.langs button,
.langs a {
  font: 600 0.8125rem var(--f);
  background: transparent;
  color: var(--muted);
  border: 0;
  border-radius: 999px;
  padding: 5px 11px;
  min-height: 30px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.langs [aria-pressed="true"],
.langs [aria-current="page"] {
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}
.langs-m,
.burger,
.nav-head,
.nav-overlay {
  display: none;
}
.langs-m {
  position: relative;
  margin-left: auto;
}
.langs-m summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  background: var(--surface);
  color: var(--ink);
  border-radius: 999px;
  padding: 0 10px 0 12px;
  height: 36px;
  font-weight: 700;
  font-size: 0.8125rem;
}
.langs-m summary::-webkit-details-marker {
  display: none;
}
.langs-m .chev {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.15s;
}
.langs-m[open] .chev {
  transform: rotate(180deg);
}
.langmenu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  list-style: none;
  margin: 0;
  padding: 6px;
  min-width: 170px;
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.16);
  z-index: 30;
}
.langmenu a,
.langmenu button {
  display: flex;
  gap: 10px;
  width: 100%;
  text-align: left;
  font: 500 0.9375rem var(--f);
  color: var(--ink);
  background: transparent;
  border: 0;
  border-radius: 9px;
  padding: 9px 12px;
  text-decoration: none;
  cursor: pointer;
}
.langmenu b {
  width: 1.6rem;
  color: var(--muted);
}
.langmenu a:hover,
.langmenu button:hover {
  background: var(--surface);
}
.langmenu [aria-current="page"],
.langmenu [aria-pressed="true"] {
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
}
.langmenu [aria-current="page"] b,
.langmenu [aria-pressed="true"] b {
  color: var(--accent);
}
.burger {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--ink);
  color: var(--bg);
  place-items: center;
  cursor: pointer;
  flex: none;
}
.burger svg,
.nav-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}
@media (max-width: 820px) {
  header.top {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: var(--bg);
  }
  .bar {
    height: 60px;
    gap: 8px;
  }
  .langs {
    display: none;
  }
  .langs-m {
    display: block;
  }
  .burger {
    display: grid;
  }
  nav.sections {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 320px);
    flex: none;
    overflow-y: auto;
    background: var(--raised);
    z-index: 40;
    padding: calc(env(safe-area-inset-top, 0px) + 14px) 16px calc(env(safe-area-inset-bottom, 0px) + 24px);
    box-shadow: -20px 0 50px rgba(0, 0, 0, 0.2);
    transform: translateX(100%);
    visibility: hidden;
    transition:
      transform 0.25s ease,
      visibility 0s linear 0.25s;
  }
  body.menu-open nav.sections {
    transform: none;
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .nav-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 4px 6px 14px;
    margin-bottom: 6px;
    border-bottom: 1px solid var(--rule);
    font-weight: 700;
    font-size: 1.05rem;
  }
  .nav-close {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 0;
    background: var(--surface);
    color: var(--ink);
    display: grid;
    place-items: center;
    cursor: pointer;
  }
  nav.sections ul {
    flex-direction: column;
    gap: 2px;
    white-space: normal;
  }
  nav.sections a {
    display: block;
    padding: 12px 10px;
    font-size: 1.0625rem;
    color: var(--ink);
    border-radius: 10px;
  }
  nav.sections a:hover {
    background: var(--surface);
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 24, 0.45);
    z-index: 35;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s;
  }
  body.menu-open .nav-overlay {
    opacity: 1;
    pointer-events: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  nav.sections,
  .nav-overlay {
    transition: none !important;
  }
}

.theme {
  flex: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 0;
  background: var(--surface);
  color: var(--ink);
  display: grid;
  place-items: center;
  cursor: pointer;
}
.theme:hover {
  filter: brightness(0.95);
}
.theme svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.theme .i-sun {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme .i-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .theme .i-moon {
    display: none;
  }
}
:root[data-theme="dark"] .theme .i-sun {
  display: block;
}
:root[data-theme="dark"] .theme .i-moon {
  display: none;
}
.theme,
.langs,
body {
  transition:
    background-color 0.2s,
    color 0.2s;
}
@media (prefers-reduced-motion: reduce) {
  .theme,
  .langs,
  body {
    transition: none;
  }
}

.hero {
  position: relative;
  margin-top: 24px;
  border-radius: 28px;
  overflow: hidden;
  min-height: min(640px, 82vh);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: end;
  gap: 32px;
  padding: 56px;
  color: #fff;
  background: #22304a;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 60% 55%;
}
.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10, 16, 28, 0.82) 0%, rgba(10, 16, 28, 0.55) 45%, rgba(10, 16, 28, 0.05) 80%),
    linear-gradient(0deg, rgba(10, 16, 28, 0.55), transparent 45%);
}
.hero-text {
  position: relative;
  display: grid;
  gap: 22px;
  align-content: end;
  max-width: 620px;
}
.hero .eyebrow {
  color: #c6d6f2;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
}
.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4.6rem);
  letter-spacing: -0.035em;
  line-height: 1.02;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}
.hero h1 em {
  font-style: normal;
  color: #b4cbf3;
}
.hero .lede {
  color: rgba(255, 255, 255, 0.88);
}
.hero-portrait {
  position: relative;
  margin: 0;
  justify-self: end;
  align-self: end;
  width: min(260px, 100%);
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 22px;
  padding: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
.hero-portrait img {
  display: block;
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 50% 25%;
  border-radius: 14px;
}
.hero-portrait figcaption {
  display: grid;
  padding: 10px 6px 4px;
  line-height: 1.3;
}
.hero-portrait figcaption span {
  font-size: 0.875rem;
  opacity: 0.8;
  font-variant-numeric: tabular-nums;
}
.hero-cap {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.35);
  padding: 3px 10px;
  border-radius: 999px;
}
.btn.ghost {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.hero .btn.primary {
  background: #fff;
  color: #141820;
}
.status {
  margin-block: 16px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9375rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
}
.btn:hover {
  filter: brightness(0.96);
}
.status {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9375rem;
  color: var(--muted);
  max-width: 60ch;
  background: var(--surface);
  border-radius: 14px;
  padding: 14px 16px;
}
.status .dot {
  flex: none;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--alert);
  margin-top: 0.5em;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--alert) 18%, transparent);
}
.status strong {
  color: var(--ink);
}

.illus {
  margin: 0;
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--sky);
}
.illus svg {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 5/3;
}
.illus figcaption {
  position: absolute;
  left: 10px;
  bottom: 10px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--ink);
  background: color-mix(in srgb, var(--bg) 82%, transparent);
  padding: 3px 9px;
  border-radius: 999px;
}
.illus img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 5/3;
}
.photo figcaption {
  background: rgba(15, 18, 17, 0.62);
  color: #fff;
  font-weight: 500;
  max-width: calc(100% - 20px);
}
.illus.wide {
  margin-block: 12px 28px;
}
.illus.wide img {
  aspect-ratio: 21/9;
}
.portrait {
  width: 100%;
  aspect-ratio: 4/4.4;
  object-fit: cover;
  object-position: 50% 20%;
  border-radius: 12px;
  display: block;
}
.works-wrap {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}
.works-wrap .works {
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
}
.works-wrap .work {
  grid-template-columns: 7.5rem minmax(0, 1fr);
  column-gap: 20px;
  row-gap: 3px;
}
.works-wrap .work .w-yr {
  grid-row: span 2;
}
.litho img {
  aspect-ratio: 3/4;
  object-position: 50% 15%;
}

.facts,
.hstats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}
.fact {
  background: var(--surface);
  border-radius: 14px;
  padding: 18px 18px 16px;
  display: grid;
  gap: 4px;
}
.fact b {
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.fact > span {
  font-size: 0.875rem;
  color: var(--muted);
}

section.sec {
  padding-block: clamp(72px, 9vw, 112px) 0;
}
.sec-head {
  display: grid;
  gap: 12px;
  margin-bottom: 36px;
  max-width: 760px;
}

.bio {
  display: grid;
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}
.person {
  position: sticky;
  top: 96px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  gap: 16px;
}
.mono-portrait {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 0.04em;
}
.lifespan {
  margin: 0;
  display: grid;
  gap: 8px;
}
.lifespan div {
  display: grid;
  grid-template-columns: 5.5rem minmax(0, 1fr);
  gap: 8px;
  font-size: 0.9375rem;
}
.lifespan dt {
  color: var(--muted);
}
.lifespan dd {
  margin: 0;
  font-variant-numeric: tabular-nums;
}
.chips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chips li {
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 999px;
  padding: 4px 10px;
}
.person p {
  font-size: 0.9375rem;
  color: var(--muted);
}

.tl {
  display: grid;
  gap: 8px;
}
.period {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-top: 18px;
}
.period:first-child {
  margin-top: 0;
}
.tl-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl-list li {
  position: relative;
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 20px;
  padding: 0 0 22px 26px;
}
.tl-list li::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  bottom: -10px;
  width: 2px;
  background: var(--rule);
}
.tl-list li:last-child::before {
  bottom: 0;
}
.tl-list li::after {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--accent);
}
.tl-list li.home::after {
  background: var(--accent);
}
.tl-yr {
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tl-pl {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.hstats {
  margin-bottom: 28px;
}
.htl {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.htl li {
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 20px;
  display: grid;
  gap: 12px;
  align-content: start;
  background: var(--raised);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.htl li:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}
@media (prefers-reduced-motion: reduce) {
  .htl li {
    transition: none;
  }
  .htl li:hover {
    transform: none;
  }
}
.h-top {
  display: flex;
  align-items: center;
  gap: 14px;
}
.hico {
  flex: none;
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.h-top {
  gap: 10px;
}
.sico {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: none;
}
.trades {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
}
.trades li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9688rem;
}
.hstats .fact .sico {
  margin-bottom: 6px;
}
.h-yr {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: -0.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.htl p {
  font-size: 0.9688rem;
}

.works {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
}
.work {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.w-yr {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
}
.work h3 {
  font-style: italic;
  font-weight: 500;
  font-size: 1.05rem;
}
.work p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.more {
  margin-top: 20px;
  font-weight: 600;
}
.more a {
  text-decoration: none;
}

.sights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.sight {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}
.sight .illus {
  border-radius: 0;
}
.sight-body {
  padding: 20px 22px 24px;
  display: grid;
  gap: 10px;
  align-content: start;
}
.sight .meta {
  font-size: 0.9375rem;
  color: var(--muted);
  border-top: 1px solid var(--rule);
  padding-top: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--accent);
  background: var(--accent-soft);
  border-radius: 999px;
  padding: 3px 10px;
  justify-self: start;
}
.pill.closed {
  color: var(--alert);
  background: color-mix(in srgb, var(--alert) 12%, transparent);
}

.route {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}
.mapbox {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 12px;
}
.mapbox svg {
  display: block;
  width: 100%;
  height: auto;
  font-family: var(--f);
}
.mapbox {
  padding: 0;
  overflow: hidden;
}
.mapbox .water {
  fill: var(--water);
}
.mapbox .land {
  fill: var(--land);
  stroke: var(--border);
  stroke-width: 0.8;
  stroke-dasharray: 3 3;
}
.mapbox .home-land {
  fill: var(--land2);
}
.mapbox .river {
  fill: none;
  stroke: var(--river);
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.mapbox .river.big {
  stroke-width: 3;
}
.mapbox .tree path {
  fill: var(--tree);
  opacity: 0.75;
}
.mapbox .mtn path {
  fill: var(--mtn);
}
.mapbox .mtn .snow {
  fill: var(--snow);
}
.mapbox text {
  paint-order: stroke;
  stroke: var(--land);
  stroke-width: 3px;
  stroke-linejoin: round;
}
.mapbox .clabel {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  fill: var(--muted);
  opacity: 0.8;
}
.mapbox .rlabel {
  font-size: 11px;
  font-style: italic;
  fill: var(--river);
  stroke: none;
}
.mapbox .mlabel {
  font-size: 11px;
  font-weight: 600;
  fill: var(--muted);
}
.mapbox .tlabel {
  font-size: 11px;
  fill: var(--muted);
}
.mapbox .town {
  fill: var(--muted);
}
.mapbox .route-path {
  fill: none;
  stroke: var(--alert);
  stroke-width: 2.4;
  stroke-dasharray: 7 6;
  stroke-linecap: round;
}
.mapbox .badge rect {
  fill: var(--ink);
}
.mapbox .badge text {
  fill: var(--bg);
  stroke: none;
  font-size: 11.5px;
  font-weight: 700;
}
.mapbox .badge.home rect {
  fill: var(--alert);
}
.mapbox .plabel {
  font-size: 15px;
  font-weight: 700;
  fill: var(--ink);
}
.mapbox .homel {
  fill: var(--alert);
}
.mapbox .scale path {
  stroke: var(--ink);
  stroke-width: 1.6;
  fill: none;
}
.mapbox .scale text {
  font-size: 11px;
  fill: var(--ink);
}
.mapbox .compass circle {
  fill: var(--bg);
  opacity: 0.85;
  stroke: var(--rule);
}
.mapbox .compass path {
  fill: var(--muted);
}
.mapbox .compass .n {
  fill: var(--alert);
}
.mapbox .compass text {
  font-size: 11px;
  font-weight: 700;
  fill: var(--ink);
}
.stops {
  list-style: none;
  margin: 0;
  padding: 0;
}
.stops li {
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 12px;
  padding-block: 14px;
  border-top: 1px solid var(--rule);
}
.stops .n {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent-soft);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.875rem;
}
.stops .yrs {
  font-size: 0.875rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.stops p {
  color: var(--muted);
  font-size: 0.9375rem;
}
.cap {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 12px;
  max-width: 62ch;
}

.trips {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 12px;
}
.trip {
  background: var(--raised);
  border: 1px solid var(--rule);
  border-radius: 14px;
  padding: 18px;
  display: grid;
  gap: 8px;
  align-content: start;
}
.ico {
  width: 34px;
  height: 34px;
  padding: 7px;
  border-radius: 10px;
  background: var(--accent-soft);
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trip .tag {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--muted);
}
.trip p {
  font-size: 0.9375rem;
  color: var(--muted);
}
.tip {
  margin-top: 20px;
  background: var(--accent);
  color: var(--bg);
  border-radius: var(--radius);
  padding: 28px;
  display: grid;
  gap: 10px;
}
.tip .eyebrow {
  color: inherit;
  opacity: 0.8;
}
.tip-text {
  font-size: 1.2rem;
  max-width: 62ch;
  line-height: 1.5;
}
.tip .cap {
  color: inherit;
  opacity: 0.8;
  margin: 0;
}

.dyk {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  counter-reset: d;
}
.dyk p {
  counter-increment: d;
  background: var(--surface);
  border-radius: 14px;
  padding: 20px;
  font-size: 1.0625rem;
  line-height: 1.5;
}
.dyk p::before {
  content: counter(d);
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 700;
  font-size: 0.875rem;
  margin-bottom: 12px;
}

.info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.card {
  margin: 0;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 6px 22px;
}
.row {
  display: grid;
  grid-template-columns: 8.5rem minmax(0, 1fr);
  gap: 16px;
  padding-block: 16px;
  border-top: 1px solid var(--rule);
}
.row:first-child {
  border-top: 0;
}
.row dt {
  color: var(--muted);
  font-size: 0.9375rem;
}
.row dd {
  margin: 0;
  overflow-wrap: anywhere;
}
.copy {
  font: 600 0.75rem var(--f);
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 999px;
  padding: 3px 10px;
  margin-left: 8px;
  cursor: pointer;
  vertical-align: 1px;
}

.sources {
  columns: 2 320px;
  column-gap: 48px;
  padding-left: 1.2em;
  margin: 0;
  color: var(--muted);
}
.sources li {
  break-inside: avoid;
  margin-bottom: 10px;
  font-size: 0.9375rem;
}
.sources a {
  color: var(--muted);
}
footer {
  margin-top: 32px;
  border-top: 1px solid var(--rule);
  padding-block: 28px 48px;
  color: var(--muted);
  font-size: 0.875rem;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
}

@media (max-width: 1000px) {
  .works {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  .htl {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 860px) {
  .bio,
  .route,
  .info {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero {
    grid-template-columns: minmax(0, 1fr);
    padding: 120px 24px 28px;
    gap: 20px;
    min-height: 0;
  }
  .hero-shade {
    background: linear-gradient(0deg, rgba(10, 16, 28, 0.9) 0%, rgba(10, 16, 28, 0.6) 60%, rgba(10, 16, 28, 0.15) 100%);
  }
  .hero-portrait {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 92px;
    padding: 5px;
    border-radius: 16px;
  }
  .hero-portrait img {
    border-radius: 11px;
  }
  .hero-portrait figcaption {
    display: none;
  }
  .hero-cap {
    top: auto;
    bottom: 10px;
    right: 12px;
    font-size: 0.68rem;
  }
  .person {
    position: static;
  }
  .works-wrap {
    grid-template-columns: minmax(0, 1fr);
  }
  .works-wrap .work {
    grid-template-columns: minmax(0, 1fr);
  }
  .works-wrap .work .w-yr {
    grid-row: auto;
  }
  .litho img {
    aspect-ratio: 4/3;
  }
  .illus.wide img {
    aspect-ratio: 4/3;
  }
  .portrait {
    aspect-ratio: 1/1;
    max-width: 260px;
  }
  .sights,
  .dyk {
    grid-template-columns: minmax(0, 1fr);
  }
  .facts,
  .hstats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
  body {
    padding-inline: 16px;
  }
  .hero {
    border-radius: 22px;
    padding: 150px 18px 44px;
  }
  header.top {
    margin-inline: -16px;
    padding-inline: 16px;
  }
  .htl {
    grid-template-columns: minmax(0, 1fr);
  }
  .tl-list li {
    grid-template-columns: minmax(0, 1fr);
    gap: 2px;
  }
  .row {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }
  .tip {
    padding: 22px;
  }
  .mapbox {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .mapbox svg {
    width: 680px;
    max-width: none;
  }
  .fact b {
    font-size: 1.3rem;
    white-space: nowrap;
  }
  .bar {
    gap: 0 8px;
  }
  .brand {
    font-size: 0.95rem;
    flex: 1 1 0;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .burger {
    width: 34px;
    height: 34px;
  }
  .theme {
    width: 34px;
    height: 34px;
  }
}
.author a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
}
.author a:hover {
  text-decoration: underline;
}
.faq {
  display: grid;
  gap: 10px;
  max-width: 860px;
}
.faq details {
  background: var(--surface);
  border-radius: 14px;
  padding: 4px 20px;
}
.faq summary {
  cursor: pointer;
  font-weight: 600;
  padding: 14px 0;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.3rem;
  line-height: 1;
}
.faq details[open] summary::after {
  content: "−";
}
.faq details p {
  padding: 0 0 16px;
  color: var(--muted);
  max-width: 70ch;
}
.hero-portrait img,
.portrait {
  height: auto;
}
.privacy {
  width: min(640px, calc(100% - 32px));
  max-height: min(80vh, 720px);
  overflow: auto;
  border: 0;
  border-radius: 20px;
  padding: 28px;
  background: var(--raised);
  color: var(--ink);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  font-size: 0.9688rem;
}
.privacy::backdrop {
  background: rgba(10, 14, 24, 0.55);
  backdrop-filter: blur(2px);
}
.privacy h2 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  outline: none;
}
.privacy p {
  color: var(--muted);
  margin: 0 0 12px;
}
.privacy form {
  margin: 18px 0 0;
  display: flex;
  justify-content: flex-end;
}
.close-privacy {
  font: 600 0.9375rem var(--f);
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: 999px;
  padding: 9px 22px;
  cursor: pointer;
  min-height: 40px;
}
footer {
  margin-top: 88px;
}
footer a {
  color: var(--muted);
}
.cookie-bar {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  z-index: 20;
  width: min(720px, calc(100% - 32px));
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  background: var(--raised);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 16px;
  padding: 14px 18px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  font-size: 0.9375rem;
}
.cookie-bar p {
  flex: 1 1 260px;
  margin: 0;
}
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.cookie-bar button {
  font: 600 0.9375rem var(--f);
  border-radius: 999px;
  padding: 9px 20px;
  cursor: pointer;
  min-height: 40px;
  border: 1px solid var(--accent);
}
#cookie-accept {
  background: var(--accent);
  color: #fff;
}
#cookie-reject {
  background: transparent;
  color: var(--accent);
}
html,
body {
  margin: 0;
}
img {
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
