:root {
    color-scheme: dark;
    --page-bg: #0f1012;
    --page-bg-deep: #080809;
    --surface: #191a1d;
    --surface-raised: #202125;
    --text: #e7e3da;
    --text-strong: #f4f1ea;
    --text-muted: #8f8d87;
    --gold: #c5a059;
    --gold-bright: #d7b66f;
    --gold-soft: rgba(197, 160, 89, 0.14);
    --border: rgba(231, 227, 218, 0.12);
    --border-strong: rgba(197, 160, 89, 0.38);
    --header-bg: rgba(15, 16, 18, 0.78);
    --shadow: rgba(0, 0, 0, 0.52);
    --font-serif: "Iowan Old Style", "Noto Serif KR", "Nanum Myeongjo", Batang, serif;
    --font-sans: Inter, Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

:root[data-theme="light"] {
    color-scheme: light;
    --page-bg: #eee9df;
    --page-bg-deep: #ded7c9;
    --surface: #f7f3ea;
    --surface-raised: #fffdf7;
    --text: #302f2c;
    --text-strong: #171715;
    --text-muted: #716d64;
    --gold: #8f6c2d;
    --gold-bright: #74541f;
    --gold-soft: rgba(143, 108, 45, 0.12);
    --border: rgba(38, 35, 29, 0.15);
    --border-strong: rgba(143, 108, 45, 0.42);
    --header-bg: rgba(238, 233, 223, 0.82);
    --shadow: rgba(67, 56, 38, 0.16);
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--page-bg);
}

body {
    margin: 0;
    min-width: 280px;
    overflow-x: clip;
    background:
        radial-gradient(circle at 12% 8%, var(--gold-soft), transparent 26rem),
        var(--page-bg);
    color: var(--text);
    font-family: var(--font-sans);
    line-height: 1.6;
    text-rendering: optimizeLegibility;
    transition: background-color 240ms ease, color 240ms ease;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

button {
    font: inherit;
}

::selection {
    background: var(--gold);
    color: #111;
}

.skip-link {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 100;
    padding: 10px 14px;
    transform: translateY(-160%);
    border: 1px solid var(--gold);
    background: var(--surface-raised);
    color: var(--text-strong);
    text-decoration: none;
}

.skip-link:focus {
    transform: translateY(0);
}

:focus-visible {
    outline: 2px solid var(--gold-bright);
    outline-offset: 4px;
}

.page-texture {
    position: fixed;
    inset: 0;
    z-index: 20;
    pointer-events: none;
    opacity: 0.16;
    background-image:
        repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 4px),
        repeating-linear-gradient(0deg, rgba(0,0,0,0.025) 0 1px, transparent 1px 3px);
    mix-blend-mode: soft-light;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 30;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 78px;
    padding: 12px clamp(20px, 4vw, 64px);
    border-bottom: 1px solid transparent;
    background: linear-gradient(to bottom, var(--header-bg), transparent);
    transition: border-color 180ms ease, background-color 180ms ease, backdrop-filter 180ms ease;
}

.site-header.is-scrolled {
    border-color: var(--border);
    background: var(--header-bg);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.brand__seal {
    display: grid;
    width: 38px;
    height: 38px;
    place-items: center;
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 19px;
    line-height: 1;
}

.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.brand__text strong {
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: 15px;
    letter-spacing: 0.12em;
}

.brand__text small {
    margin-top: 4px;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.site-header__tools {
    display: flex;
    align-items: center;
    gap: clamp(14px, 2.4vw, 34px);
}

.record-count {
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.16em;
}

.record-count b {
    color: var(--gold-bright);
    font-weight: 600;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 7px 0;
    border: 0;
    background: transparent;
    color: var(--text-muted);
    cursor: pointer;
}

.theme-toggle__track {
    position: relative;
    width: 31px;
    height: 15px;
    border: 1px solid var(--border-strong);
    border-radius: 999px;
}

.theme-toggle__track i {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-bright);
    transition: transform 220ms ease;
}

:root[data-theme="light"] .theme-toggle__track i {
    transform: translateX(16px);
}

.theme-toggle__label {
    min-width: 32px;
    font-size: 8px;
    letter-spacing: 0.14em;
}

.hero {
    position: relative;
    display: grid;
    min-height: 100svh;
    align-items: center;
    padding: 130px clamp(24px, 8vw, 128px) 80px;
    isolation: isolate;
}

.hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse at 64% 42%, rgba(197,160,89,0.10), transparent 30%),
        linear-gradient(112deg, transparent 0 52%, rgba(197,160,89,0.035) 52% 52.2%, transparent 52.2%);
    content: "";
}

.hero__grid {
    position: absolute;
    inset: 78px clamp(20px, 4vw, 64px) 34px;
    z-index: -1;
    border-right: 1px solid var(--border);
    border-left: 1px solid var(--border);
    background: linear-gradient(90deg, transparent 49.95%, var(--border) 50%, transparent 50.05%);
    opacity: 0.55;
}

.hero__content {
    width: min(900px, 100%);
    margin: 0 auto;
}

.eyebrow {
    margin: 0;
    color: var(--gold-bright);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.hero .eyebrow {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hero .eyebrow span + span {
    color: var(--text-muted);
}

.hero .eyebrow span + span::before {
    display: inline-block;
    width: 32px;
    height: 1px;
    margin-right: 22px;
    vertical-align: middle;
    background: var(--border-strong);
    content: "";
}

.hero h1 {
    margin: clamp(24px, 4vh, 42px) 0 26px;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(46px, 7.4vw, 106px);
    font-weight: 500;
    letter-spacing: -0.055em;
    line-height: 1.13;
    word-break: keep-all;
}

.hero__description {
    max-width: 610px;
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: clamp(14px, 1.3vw, 18px);
    line-height: 2;
    word-break: keep-all;
}

.hero__actions {
    display: flex;
    align-items: stretch;
    gap: clamp(18px, 3vw, 42px);
    margin-top: clamp(48px, 8vh, 80px);
}

.enter-archive {
    display: inline-flex;
    min-width: 200px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 15px 18px;
    border: 1px solid var(--border-strong);
    color: var(--text-strong);
    font-size: 12px;
    letter-spacing: 0.08em;
    text-decoration: none;
    transition: background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.enter-archive:hover {
    transform: translateY(-2px);
    background: var(--gold);
    color: #111;
}

.enter-archive__arrow {
    color: var(--gold-bright);
    font-size: 17px;
}

.enter-archive:hover .enter-archive__arrow {
    color: inherit;
}

.latest-record {
    display: flex;
    max-width: 360px;
    flex-direction: column;
    justify-content: center;
    padding-left: 24px;
    border-left: 1px solid var(--border);
    text-decoration: none;
}

.latest-record__label {
    margin-bottom: 6px;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.18em;
}

.latest-record strong {
    overflow: hidden;
    color: var(--text);
    font-family: var(--font-serif);
    font-size: 14px;
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.latest-record:hover strong {
    color: var(--gold-bright);
}

.hero__folio {
    position: absolute;
    right: clamp(20px, 4vw, 64px);
    bottom: 34px;
    left: clamp(20px, 4vw, 64px);
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--text-muted);
    font-size: 8px;
    letter-spacing: 0.2em;
}

.hero__folio i {
    height: 1px;
    flex: 1;
    background: var(--border);
}

.archive {
    position: relative;
    padding-top: clamp(90px, 12vw, 180px);
    scroll-margin-top: 78px;
}

.section-heading {
    display: flex;
    width: min(1200px, calc(100% - 48px));
    align-items: end;
    justify-content: space-between;
    gap: 40px;
    margin: 0 auto clamp(54px, 8vw, 100px);
}

.section-heading h2 {
    margin: 14px 0 0;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(36px, 5vw, 68px);
    font-weight: 500;
    letter-spacing: -0.04em;
}

.section-heading__description {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 13px;
    line-height: 1.9;
    text-align: right;
}

.corridor-shell {
    display: none;
}

.corridor-scroll {
    position: relative;
    height: 420vh;
    touch-action: pan-y;
}

.corridor-viewport {
    position: sticky;
    top: 0;
    height: 100svh;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 48%, rgba(197,160,89,0.075), transparent 19%),
        #080809;
    perspective: 760px;
    perspective-origin: 50% 48%;
    isolation: isolate;
}

.corridor-viewport.has-card-target {
    cursor: pointer;
}

.corridor-viewport::before,
.corridor-viewport::after {
    position: absolute;
    inset: 0;
    z-index: 8;
    pointer-events: none;
    content: "";
}

.corridor-viewport::before {
    box-shadow: inset 0 0 150px 80px rgba(0,0,0,0.82);
}

.corridor-viewport::after {
    background: linear-gradient(90deg, rgba(0,0,0,0.38), transparent 20% 80%, rgba(0,0,0,0.38));
}

.corridor-atmosphere,
.corridor-tunnel {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

.corridor-atmosphere {
    z-index: -1;
    pointer-events: none;
}

.corridor-atmosphere__ceiling,
.corridor-atmosphere__floor {
    position: absolute;
    left: 50%;
    width: min(38vw, 540px);
    height: 50%;
    transform: translateX(-50%);
    border-right: 1px solid rgba(197,160,89,0.08);
    border-left: 1px solid rgba(197,160,89,0.08);
}

.corridor-atmosphere__ceiling {
    top: 0;
    transform-origin: bottom;
    background: linear-gradient(to top, rgba(197,160,89,0.035), transparent 72%);
    clip-path: polygon(34% 0, 66% 0, 100% 100%, 0 100%);
}

.corridor-atmosphere__floor {
    bottom: 0;
    transform-origin: top;
    background:
        repeating-linear-gradient(90deg, transparent 0 49px, rgba(197,160,89,0.035) 50px),
        linear-gradient(to bottom, rgba(197,160,89,0.055), transparent 74%);
    clip-path: polygon(0 0, 100% 0, 67% 100%, 33% 100%);
}

.corridor-atmosphere__vanishing {
    position: absolute;
    top: 48%;
    left: 50%;
    width: 4px;
    height: 4px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 80px 24px rgba(197,160,89,0.12);
}

.corridor-tunnel {
    z-index: 2;
    will-change: transform;
}

.shelf-layer {
    position: absolute;
    top: 48%;
    left: 50%;
    display: grid;
    width: min(1140px, 112vw);
    height: min(650px, 74vh);
    grid-template-columns: minmax(260px, 31%) 1fr minmax(260px, 31%);
    grid-template-rows: repeat(3, minmax(0, 1fr));
    gap: clamp(10px, 1.3vw, 18px);
    transform: translate3d(-50%, -50%, var(--layer-depth));
    transform-style: preserve-3d;
    transition: opacity 80ms linear;
    pointer-events: none;
}

.shelf-layer.is-culled {
    display: none;
}

.shelf-layer::before,
.shelf-layer::after {
    position: absolute;
    top: -14px;
    bottom: -14px;
    width: 32%;
    border-top: 2px solid rgba(197,160,89,0.22);
    border-bottom: 2px solid rgba(197,160,89,0.22);
    background: rgba(25,26,29,0.25);
    box-shadow: 0 22px 60px rgba(0,0,0,0.72);
    content: "";
}

.shelf-layer::before {
    left: -8px;
}

.shelf-layer::after {
    right: -8px;
}

.archive-card {
    position: relative;
    z-index: 1;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(13px, 1.6vw, 21px);
    overflow: hidden;
    border: 1px solid rgba(231,227,218,0.13);
    background:
        linear-gradient(135deg, rgba(255,255,255,0.035), transparent 48%),
        #191a1d;
    color: #e7e3da;
    box-shadow: 0 12px 28px rgba(0,0,0,0.64);
    text-decoration: none;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease, opacity 100ms linear;
    pointer-events: none;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.archive-card:hover,
.archive-card:focus-visible,
.archive-card.is-pointer-target {
    z-index: 3;
    border-color: #c5a059;
    background: #242529;
    box-shadow: 0 12px 28px rgba(0,0,0,0.64), 0 0 0 1px rgba(197,160,89,0.18);
}

.archive-card__top,
.archive-card__bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.archive-card__number {
    padding: 2px 7px;
    border: 1px solid rgba(197,160,89,0.6);
    color: #e2c27d;
    font-size: 8px;
    font-weight: 600;
    letter-spacing: 0.1em;
}

.archive-card__open {
    color: #aaa69d;
    font-size: 11px;
}

.archive-card__title {
    display: -webkit-box;
    margin: 10px 0;
    overflow: hidden;
    color: #fffdf7;
    font-family: var(--font-serif);
    font-size: clamp(13px, 1.2vw, 18px);
    font-weight: 600;
    line-height: 1.45;
    word-break: keep-all;
    text-shadow: 0 1px 0 rgba(0,0,0,0.82);
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.archive-card__date,
.archive-card__kind {
    color: #aaa69d;
    font-size: 8px;
    letter-spacing: 0.1em;
}

.archive-card__kind {
    color: #c7a760;
    font-weight: 600;
}

.corridor-hud {
    position: absolute;
    inset: 0;
    z-index: 12;
    pointer-events: none;
    color: #8f8d87;
    font-size: 8px;
    letter-spacing: 0.18em;
}

.corridor-hud__position {
    position: absolute;
    top: 104px;
    left: clamp(24px, 4vw, 64px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.corridor-hud__position strong {
    color: #d7b66f;
    font-family: var(--font-serif);
    font-size: 18px;
    font-weight: 400;
    letter-spacing: 0.08em;
}

.corridor-hud__position b,
.corridor-hud__position i {
    font-style: normal;
    font-weight: inherit;
}

.corridor-hud__progress {
    position: absolute;
    top: 106px;
    right: clamp(24px, 4vw, 64px);
    width: 1px;
    height: calc(100% - 212px);
    overflow: hidden;
    background: rgba(231,227,218,0.14);
}

.corridor-hud__progress i {
    display: block;
    width: 100%;
    height: 100%;
    transform: scaleY(0);
    transform-origin: top;
    background: #c5a059;
}

.corridor-hud__direction {
    position: absolute;
    right: clamp(24px, 4vw, 64px);
    bottom: 54px;
}

.corridor-hud__direction b {
    margin-left: 8px;
    color: #d7b66f;
    font-size: 13px;
}

.corridor-status {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

.archive-list-section {
    width: min(1120px, calc(100% - 48px));
    margin: 0 auto;
    scroll-margin-top: 78px;
}

.archive-list-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 0 18px;
    border-bottom: 1px solid var(--border-strong);
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.archive-list-heading p {
    margin: 0;
    color: var(--gold-bright);
}

.archive-list-heading b {
    color: var(--text-strong);
}

.archive-list {
    margin: 0;
    padding: 0;
    list-style: none;
}

.archive-entry {
    border-bottom: 1px solid var(--border);
}

.archive-entry__link {
    display: grid;
    min-height: 112px;
    grid-template-columns: 100px minmax(0, 1fr) 30px;
    align-items: center;
    gap: 24px;
    padding: 18px 4px;
    text-decoration: none;
    transition: background-color 160ms ease, padding 180ms ease;
}

.archive-entry__link:hover,
.archive-entry__link:focus-visible {
    padding-right: 18px;
    padding-left: 18px;
    background: var(--gold-soft);
}

.archive-entry__number {
    color: var(--gold-bright);
    font-family: var(--font-serif);
    font-size: 12px;
    letter-spacing: 0.12em;
}

.archive-entry__content {
    display: flex;
    min-width: 0;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.archive-entry__title {
    overflow: hidden;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(17px, 2vw, 23px);
    font-weight: 500;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.archive-entry__date {
    flex: 0 0 auto;
    color: var(--text-muted);
    font-size: 10px;
    letter-spacing: 0.04em;
}

.archive-entry__arrow {
    color: var(--text-muted);
    font-size: 17px;
    transition: color 160ms ease, transform 160ms ease;
}

.archive-entry__link:hover .archive-entry__arrow,
.archive-entry__link:focus-visible .archive-entry__arrow {
    transform: translate(2px, -2px);
    color: var(--gold-bright);
}

.archive-end {
    display: flex;
    min-height: 76svh;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 110px 24px;
    text-align: center;
}

.archive-end h2 {
    margin: 22px 0 16px;
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: clamp(32px, 5vw, 62px);
    font-weight: 500;
    letter-spacing: -0.04em;
    word-break: keep-all;
}

.archive-end > p:not(.eyebrow) {
    margin: 0;
    color: var(--text-muted);
    font-family: var(--font-serif);
    font-size: 14px;
}

.archive-end a {
    margin-top: 38px;
    padding-bottom: 5px;
    border-bottom: 1px solid var(--border-strong);
    color: var(--gold-bright);
    font-size: 11px;
    letter-spacing: 0.08em;
    text-decoration: none;
}

.archive-end a span {
    margin-left: 8px;
}

.site-footer {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 30px;
    margin: 0 clamp(20px, 4vw, 64px);
    padding: 42px 0 calc(42px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--border);
}

.site-footer strong {
    color: var(--text-strong);
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 0.12em;
}

.site-footer p {
    margin: 7px 0 0;
    color: var(--text-muted);
    font-size: 10px;
}

.site-footer__meta {
    display: flex;
    gap: 24px;
    color: var(--text-muted);
    font-size: 9px;
    letter-spacing: 0.1em;
}

.site-footer__meta a {
    color: var(--gold-bright);
    text-decoration: none;
}

html.is-corridor-ready .corridor-shell {
    display: block;
}

html.is-corridor-ready .archive-list-section {
    display: none;
}

@media (max-width: 860px) {
    html.is-corridor-ready .corridor-shell {
        display: none;
    }

    html.is-corridor-ready .archive-list-section {
        display: block;
    }
}

@media (max-width: 860px) {
    .site-header {
        min-height: 66px;
        padding: 10px 18px;
    }

    .brand__seal {
        width: 34px;
        height: 34px;
        font-size: 17px;
    }

    .brand__text small,
    .record-count,
    .theme-toggle__label {
        display: none;
    }

    .hero {
        min-height: 92svh;
        padding: 112px 24px 82px;
    }

    .hero__grid {
        inset: 66px 18px 28px;
    }

    .hero h1 {
        font-size: clamp(42px, 12vw, 68px);
        line-height: 1.2;
    }

    .hero__description br {
        display: none;
    }

    .hero__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .enter-archive {
        width: 100%;
    }

    .latest-record {
        max-width: none;
        min-height: 58px;
        padding: 3px 0 3px 18px;
    }

    .hero__folio {
        right: 18px;
        bottom: 28px;
        left: 18px;
    }

    .section-heading {
        width: calc(100% - 48px);
        align-items: start;
        flex-direction: column;
        margin-bottom: 54px;
    }

    .section-heading__description {
        text-align: left;
    }

    .shelf-layer {
        width: 132vw;
        height: min(620px, 70vh);
        grid-template-columns: minmax(150px, 36%) 1fr minmax(150px, 36%);
        gap: 9px;
    }

    .archive-card {
        padding: 13px 11px;
    }

    .archive-card__title {
        font-size: clamp(11px, 2.2vw, 15px);
    }

    .corridor-hud__position {
        top: 82px;
        left: 18px;
    }

    .corridor-hud__progress {
        top: 84px;
        right: 18px;
        height: calc(100% - 168px);
    }

    .corridor-hud__direction {
        right: 18px;
        bottom: 30px;
    }

    .archive-list-section {
        width: calc(100% - 48px);
    }

    .archive-entry__link {
        min-height: 104px;
        grid-template-columns: 62px minmax(0, 1fr) 20px;
        gap: 12px;
    }

    .archive-entry__content {
        align-items: start;
        flex-direction: column;
        gap: 8px;
    }

    .archive-entry__title {
        display: -webkit-box;
        white-space: normal;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
    }

    .site-footer {
        align-items: start;
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero .eyebrow {
        align-items: start;
        flex-direction: column;
        gap: 6px;
    }

    .hero .eyebrow span + span::before {
        width: 18px;
        margin-right: 8px;
    }

    .hero__folio span:first-child {
        display: none;
    }

    .section-heading,
    .archive-list-section {
        width: calc(100% - 36px);
    }

    .shelf-layer {
        width: 148vw;
        height: min(570px, 66vh);
        grid-template-columns: minmax(128px, 38%) 1fr minmax(128px, 38%);
        grid-template-rows: repeat(3, minmax(0, 1fr));
        gap: 7px;
    }

    .shelf-layer::before,
    .shelf-layer::after {
        width: 39%;
    }

    .archive-card__number,
    .archive-card__kind,
    .archive-card__date {
        font-size: 7px;
    }

    .corridor-hud__direction {
        display: none;
    }

    .archive-entry__link {
        grid-template-columns: 48px minmax(0, 1fr) 16px;
        gap: 9px;
    }

    .archive-entry__number {
        font-size: 10px;
    }

    .archive-entry__title {
        font-size: 16px;
    }

    .site-footer__meta {
        flex-direction: column;
        gap: 8px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
