:root {
    --void: #080808;
    --asphalt: #111311;
    --bone: #ede8d8;
    --muted: #9c978c;
    --plate: #ffd200;
    --ink: #121612;
    --hair: rgba(237, 232, 216, 0.14);
}
html { box-sizing: border-box; color-scheme: dark; }
*, *::before, *::after { box-sizing: inherit; }
html, body { margin: 0; }
body {
    background: var(--void);
    color: var(--bone);
    font-family: "IBM Plex Sans", "Helvetica Neue", sans-serif;
    font-size: 17px;
    line-height: 1.6;
    text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
.top {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    min-height: 56px;
    padding: 8px 24px;
    background: var(--void);
    border-bottom: 1px solid var(--hair);
}
.mark {
    font-family: "Big Shoulders Display", Impact, sans-serif;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: 0.18em;
    text-decoration: none;
    color: var(--plate);
}
.lang { display: flex; gap: 4px; }
.lang a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    padding: 0 10px;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--muted);
}
.lang a.is-on {
    background: var(--plate);
    color: var(--ink);
}
.lang a:focus-visible,
.km-rail a:focus-visible,
.mark:focus-visible,
.foot a:focus-visible,
.err a:focus-visible {
    outline: 2px solid var(--plate);
    outline-offset: 2px;
}
.hero {
    position: relative;
    background: var(--void);
}
.hero-media { margin: 0; }
.hero-media img {
    width: 100%;
    height: calc(100svh - 56px);
    object-fit: cover;
}
.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.12) 42%, rgba(8, 8, 8, 0.92) 100%);
}
.hero-sign {
    position: absolute;
    left: 28px;
    bottom: 36px;
    z-index: 2;
    max-width: min(18em, calc(100% - 48px));
    animation: rise 0.8s ease both;
}
.kicker {
    display: inline-block;
    margin: 0;
    padding: 6px 10px;
    background: var(--plate);
    color: var(--ink);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}
.hero-sign h1 {
    margin: 14px 0 0;
    font-family: "Big Shoulders Display", Impact, sans-serif;
    font-weight: 800;
    font-size: clamp(48px, 10vw, 104px);
    line-height: 0.84;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    text-wrap: balance;
    color: var(--bone);
}
html[lang="en"] .hero-sign {
    max-width: min(28em, calc(100% - 48px));
}
html[lang="en"] .hero-sign h1 {
    font-size: clamp(42px, 8.4vw, 88px);
}
.hero-cap {
    position: absolute;
    right: 24px;
    bottom: 20px;
    z-index: 2;
    margin: 0;
    max-width: 36%;
    text-align: right;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.4;
    color: var(--bone);
    opacity: 0.72;
}
.lede-band {
    padding: 48px 24px 8px;
    border-bottom: 1px solid var(--hair);
}
.lede {
    margin: 0 auto;
    max-width: 40em;
    padding-left: 16px;
    border-left: 3px solid var(--plate);
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--bone);
}
.km-rail {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 24px;
    border-bottom: 1px solid var(--hair);
    scrollbar-width: thin;
}
.km-rail a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--hair);
    color: var(--bone);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    letter-spacing: 0.06em;
    text-decoration: none;
    text-transform: uppercase;
}
.km-rail a.is-tax {
    background: var(--plate);
    border-color: var(--plate);
    color: var(--ink);
}
.place,
.sticker,
.end { scroll-margin-top: 72px; }
.place { margin: 0; }
.place-media {
    position: relative;
    margin: 0;
}
.place-media img {
    width: 100%;
    height: min(62vh, 680px);
    object-fit: cover;
}
.place-media::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 88px;
    background: linear-gradient(180deg, transparent, rgba(8, 8, 8, 0.7));
    pointer-events: none;
}
.place-cap {
    position: absolute;
    left: 24px;
    bottom: 16px;
    z-index: 1;
    margin: 0;
    max-width: min(42em, calc(100% - 48px));
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 11px;
    line-height: 1.4;
    color: var(--bone);
    opacity: 0.95;
}
.place-copy {
    max-width: 40em;
    margin: 0 auto;
    padding: 40px 24px 64px;
}
.place-km {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.16em;
    color: var(--plate);
}
.place-km::before {
    content: "";
    width: 8px;
    height: 8px;
    background: var(--plate);
}
.place h2,
.sticker h2,
.end h2,
.err h1 {
    margin: 0 0 16px;
    font-family: "Big Shoulders Display", Impact, sans-serif;
    font-weight: 800;
    font-size: clamp(32px, 5vw, 52px);
    line-height: 0.92;
    text-transform: uppercase;
    letter-spacing: -0.02em;
    text-wrap: balance;
}
.place p,
.end p { margin: 0 0 1em; color: var(--muted); }
.place p:last-child,
.sticker p:last-child,
.end p:last-child { margin-bottom: 0; }
.place.is-text {
    border-top: 1px solid var(--hair);
}
.place.is-text .place-copy { padding-top: 56px; }
.sticker {
    position: relative;
    max-width: 520px;
    margin: 24px auto 48px;
    padding: 36px 28px 28px;
    background: var(--plate);
    color: var(--ink);
    transform: rotate(-0.5deg);
}
.sticker::before,
.sticker::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 14px;
    background: radial-gradient(circle, var(--void) 5px, transparent 6px) 0 0 / 14px 14px;
}
.sticker::before { top: -7px; }
.sticker::after { bottom: -7px; }
.sticker-ro {
    position: absolute;
    top: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 36px;
    border: 2.5px solid var(--ink);
    border-radius: 50%;
    font-family: "Big Shoulders Display", Impact, sans-serif;
    font-weight: 800;
    font-size: 16px;
    letter-spacing: 0.08em;
}
.sticker .place-km { color: var(--ink); }
.sticker .place-km::before { background: var(--ink); }
.sticker h2 { padding-right: 56px; margin-bottom: 12px; }
.sticker p { font-size: 16px; color: var(--ink); }
.tourism-inline {
    color: inherit;
    font-weight: 600;
}
.end {
    margin: 0;
    padding: 56px 24px 64px;
    background: var(--asphalt);
    border-top: 1px solid var(--hair);
}
.end-inner { max-width: 40em; margin: 0 auto; }
.end p { color: var(--muted); }
.foot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 56px;
    padding: 12px 24px;
    background: var(--void);
    border-top: 1px solid var(--hair);
    color: var(--muted);
    font-family: "IBM Plex Mono", ui-monospace, monospace;
    font-size: 12px;
    letter-spacing: 0.08em;
}
.foot a {
    color: var(--plate);
    text-decoration: none;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
.err {
    max-width: 36em;
    margin: 0 auto;
    padding: 80px 24px;
}
.err .kicker { margin-bottom: 16px; }
.err h1 {
    font-size: clamp(40px, 8vw, 80px);
    color: var(--bone);
}
.err p { color: var(--muted); }
.err a {
    color: var(--plate);
    font-weight: 600;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
}
@keyframes rise {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-sign, .sticker { animation: none; transform: none; }
}
@media (max-width: 767.98px) {
    .top { padding: 8px 16px; }
    .hero-media img { height: calc(100svh - 56px); }
    .hero-sign { left: 16px; bottom: 24px; max-width: calc(100% - 32px); }
    .hero-cap { display: none; }
    .lede-band { padding: 32px 16px 8px; }
    .lede { font-size: 18px; }
    .km-rail { padding: 12px 16px; }
    .place-media img { height: 52vh; min-height: 240px; }
    .place-cap { left: 16px; bottom: 12px; }
    .place-copy { padding: 28px 16px 48px; }
    .place.is-text .place-copy { padding-top: 40px; }
    .sticker { margin: 8px 16px 40px; padding: 28px 18px 22px; }
    .end { padding: 40px 16px 48px; }
    .foot { padding: 12px 16px; }
}
