:root {
  --black: #020303;
  --ink: #f7f3eb;
  --muted: #a8aba7;
  --cyan: #00e6cf;
  --teal: #006c69;
  --teal-deep: #005452;
  --coral: #ff6557;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--black); }
body { margin: 0; color: var(--ink); background: var(--black); font-family: var(--gh-font-body, "Inter", "Noto Sans JP", sans-serif); line-height: 1.75; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { color: inherit; font: inherit; }
.shell { width: min(calc(100% - 56px), var(--shell)); margin-inline: auto; }
.shell-narrow { width: min(calc(100% - 48px), 780px); margin-inline: auto; }
.section { padding-block: clamp(84px, 10vw, 152px); }
.eyebrow { margin: 0 0 28px; font-size: 10px; font-weight: 500; letter-spacing: .18em; text-transform: uppercase; }
.accent { color: var(--coral); }
.eyebrow-plain { font-size: 11px; letter-spacing: .04em; text-transform: none; }
.section-title { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(38px, 4.4vw, 62px); font-weight: 400; line-height: 1.42; letter-spacing: -.035em; }

.site-header { position: absolute; z-index: 20; top: 0; left: 50%; display: flex; width: min(calc(100% - 56px), var(--shell)); min-height: 82px; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--cyan); transform: translateX(-50%); }
.site-brand { display: flex; min-width: 0; align-items: center; font-size: 11px; font-weight: 400; letter-spacing: .01em; }
.site-brand > span { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.site-brand img { width: auto; max-height: 32px; }
.site-nav { display: flex; align-items: center; gap: 38px; font-size: 11px; font-weight: 400; text-transform: capitalize; }
.site-nav a { padding: 8px 0; transition: color .18s ease, background .18s ease; }
.site-nav a:hover { color: var(--cyan); }
.site-nav .nav-button { min-width: 116px; padding-inline: 20px; text-align: center; background: var(--teal); }
.site-nav .nav-button:hover { color: var(--ink); background: var(--coral); }
.menu-button { display: none; padding: 8px; border: 0; background: transparent; }
.menu-button span { display: block; width: 22px; height: 1px; margin: 6px 0; background: currentColor; }

.hero { min-height: min(900px, 100vh); padding-top: 124px; overflow: hidden; background: var(--black); }
.hero-content { position: relative; display: grid; min-height: 850px; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; }
.hero-main { position: relative; min-width: 0; padding: 42px 12px 0; }
.hero-main > .eyebrow { margin-bottom: 42px; }
.hero h1 { position: relative; z-index: 2; width: max-content; max-width: calc(100vw - 80px); margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(31px, 4vw, 56px); font-weight: 400; line-height: 1.72; letter-spacing: .045em; }
.hero h1 span { display: block; white-space: nowrap; }
.hero h1 span + span { margin-left: 42px; }
.hero-globe { position: absolute; z-index: 1; top: 318px; left: clamp(40px, 7vw, 105px); width: min(50vw, 520px); height: auto; }
.hero-globe-fallback { width: 100%; height: auto; object-fit: contain; filter: saturate(.94) contrast(1.05); }
.hero-globe.is-ready .hero-globe-fallback { display: none; }
.hero-globe-canvas { display: block; width: 100%; aspect-ratio: 1; cursor: grab; touch-action: pan-y; user-select: none; }
.hero-globe-canvas.is-dragging { cursor: grabbing; }
.hero-aside { position: relative; z-index: 3; min-width: 0; align-self: center; margin-top: 84px; border-top: 1px solid var(--cyan); transform: translateY(64px); }
.hero-index { margin: 24px 0 8px; color: var(--coral); font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(82px, 10vw, 148px); font-weight: 400; line-height: 1; letter-spacing: -.06em; }
.hero-description { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 14px; line-height: 2; }
.hero-actions { display: flex; gap: 0; margin-top: 24px; border-top: 1px solid var(--cyan); }
.button, .text-link { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; padding: 0 24px; border: 0; font-size: 11px; transition: color .2s ease, background .2s ease; }
.button-primary { color: var(--ink); background: var(--teal); }
.button-primary:hover { background: var(--coral); }
.button-light { color: var(--teal); background: white; }
.button-light:hover { color: var(--black); background: var(--coral); }
.text-link { flex: 1; }
.text-link:hover { color: var(--cyan); }

.society-section { padding-block: 0; color: var(--ink); background: var(--black); }
.split { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 140px); align-items: start; }
.large-copy { font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(18px, 2vw, 26px); line-height: 2.1; }
.large-copy p:first-child { margin-top: 0; }
.large-copy p:last-child { color: #c2d1ce; font-family: "Noto Sans JP", sans-serif; font-size: 14px; }
.society-section .split { grid-template-columns: .7fr 1.3fr; gap: clamp(54px, 8vw, 110px); padding: clamp(56px, 6vw, 88px) clamp(28px, 3vw, 40px); border: 1px solid var(--cyan); background: var(--teal); }
.society-section .section-title { font-size: clamp(32px, 2.65vw, 38px); }
.society-section .large-copy { font-family: "Noto Sans JP", sans-serif; font-size: 14px; line-height: 2.05; }
.society-section .large-copy p + p { margin-top: 26px; }
.society-section .large-copy p:last-child { color: var(--ink); }

.founder-section { border-bottom: 1px solid var(--cyan); background: var(--black); }
.founder-grid { display: grid; grid-template-columns: minmax(230px, .58fr) 1.42fr; gap: 0; border: 1px solid var(--cyan); }
.founder-aside { position: relative; display: flex; min-height: 470px; overflow: hidden; flex-direction: column; justify-content: space-between; padding: 24px; color: var(--ink); background: var(--black); }
.founder-aside::after { position: absolute; z-index: 1; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .34), transparent 42%, rgba(0, 0, 0, .42)); content: ""; }
.founder-photo { position: absolute; z-index: 0; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 28%; filter: saturate(.82) contrast(1.05); }
.founder-aside span { position: relative; z-index: 2; font-size: 10px; letter-spacing: .08em; }
.founder-aside strong { display: none; }
.founder-aside i { position: relative; z-index: 2; width: 40px; height: 1px; background: currentColor; }
.founder-grid > div:last-child { padding: clamp(52px, 7vw, 92px); }
.founder-lead { margin: 28px 0 18px; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 21px; font-weight: 500; }
.founder-section .section-title { font-size: clamp(42px, 4vw, 61px); }
.founder-section .founder-grid > div:last-child > p:last-child { max-width: 720px; margin-bottom: 0; color: #d9d8d2; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 15px; line-height: 2.05; }

.membership-section { background: var(--black); }
.membership-section .eyebrow { margin-bottom: 25px; }
.library-section { border-top: 1px solid var(--cyan); background: var(--black); }
.library-heading { display: block; }
.library-heading .eyebrow { margin-bottom: 25px; }
.library-toolbar { display: flex; justify-content: space-between; align-items: stretch; margin: 72px 0 24px; border-block: 1px solid var(--cyan); }
.filters { display: flex; }
.library-sort { display: flex; align-items: center; gap: 12px; padding-left: 20px; font-size: 11px; }
.library-sort > label { color: var(--muted); }
.library-sort select { padding: 8px 32px 8px 12px; color: var(--ink); border: 1px solid var(--cyan); border-radius: 0; background: var(--black) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' fill='none' stroke='%2300e6cf' stroke-width='1.2'/%3E%3C/svg%3E") no-repeat right 12px center; font: inherit; cursor: pointer; appearance: none; -webkit-appearance: none; }
.sort-menu { position: relative; display: none; }
.sort-trigger { display: flex; min-width: 148px; align-items: center; justify-content: space-between; gap: 16px; padding: 9px 14px; color: var(--ink); border: 1px solid var(--cyan); border-radius: 0; background: var(--black); font: inherit; cursor: pointer; }
.sort-trigger:hover, .sort-trigger[aria-expanded="true"] { background: var(--teal); }
.sort-trigger i { width: 6px; height: 6px; margin-top: -3px; border-right: 1.2px solid var(--cyan); border-bottom: 1.2px solid var(--cyan); transform: rotate(45deg); transition: transform .18s ease; }
.sort-trigger[aria-expanded="true"] i { margin-top: 3px; transform: rotate(-135deg); }
.sort-options { position: absolute; z-index: 30; top: calc(100% + 4px); right: 0; min-width: 100%; margin: 0; padding: 0; list-style: none; border: 1px solid var(--cyan); background: var(--black); }
.sort-options li { padding: 10px 14px; white-space: nowrap; cursor: pointer; }
.sort-options li + li { border-top: 1px solid rgba(0, 230, 207, .25); }
.sort-options li:hover, .sort-options li:focus { outline: none; background: var(--teal); }
.sort-options li[aria-selected="true"] { background: var(--coral); }
@media (min-width: 901px) {
  .library-sort.is-enhanced select { display: none; }
  .library-sort.is-enhanced .sort-menu { display: block; }
}
.filter { min-width: 118px; padding: 14px 22px; color: var(--ink); border: 0; background: transparent; cursor: pointer; font-size: 11px; }
.filter:hover, .filter.is-active { color: var(--ink); background: var(--coral); }
.filter[hidden] { display: none; }
.membership-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 72px; }
.membership-grid article { display: grid; min-height: 292px; grid-template-rows: auto 1fr; border: 1px solid var(--cyan); }
.membership-grid h3 { margin: 0; padding: 31px 24px; text-align: center; border-bottom: 1px solid var(--cyan); background: var(--teal); font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: 27px; font-weight: 400; }
.membership-grid p { align-self: center; margin: 0; padding: 30px 36px; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 15px; line-height: 1.9; }
.library-grid, .archive-grid { display: grid; grid-template-columns: 1fr; gap: 18px; }
.content-card { min-width: 0; border: 1px solid var(--cyan); background: var(--black); }
.content-card[hidden] { display: none; }
.card-link { display: grid; min-height: 330px; grid-template-columns: minmax(300px, 1fr) minmax(0, 1fr); }
.card-image-wrap { position: relative; display: grid; place-items: center; overflow: hidden; min-height: 330px; border-right: 1px solid var(--cyan); background: var(--black); }
.card-image { width: 100%; height: 100%; object-fit: contain; filter: saturate(.72) contrast(1.08); transition: filter .25s ease, transform .35s ease; }
.content-card:hover .card-image { filter: saturate(1); transform: scale(1.012); }
.card-placeholder { display: grid; background: var(--teal); place-items: center; padding: 28px; color: var(--ink); font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(30px, 4vw, 52px); }
.access-badge { display: inline-flex; width: fit-content; align-items: center; padding: 4px 7px; color: var(--ink); border: 1px solid currentColor; font-size: 9px; letter-spacing: .1em; }
.card-image-wrap .access-badge { position: absolute; top: 16px; right: 16px; }
.access-paid { color: #ffd6cf; }
.card-body { display: flex; flex-direction: column; padding: clamp(30px, 5vw, 58px); }
.card-series { margin: 0 0 8px; color: var(--ink); font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: 23px; }
.card-body h3 { max-width: 760px; margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(25px, 3vw, 38px); font-weight: 400; line-height: 1.5; }
.card-issue { display: block; margin-bottom: 22px; font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(20px, 2vw, 25px); }
.card-title { padding-bottom: 34px; }
.library-filter-empty { margin: 0; padding: 56px 32px; color: var(--muted); text-align: center; border: 1px solid var(--cyan); font-size: 14px; }
.library-filter-empty[hidden] { display: none; }
.card-meta { display: flex; justify-content: space-between; gap: 16px; margin-top: auto; padding-top: 18px; border-top: 1px solid var(--cyan); font-size: 10px; }
.empty-library { padding: 74px 32px; text-align: center; border: 1px solid var(--cyan); }
.empty-library h3 { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 30px; font-weight: 400; }
.empty-library p:last-child { color: var(--muted); }

.invitation { color: var(--ink); border-block: 1px solid var(--cyan); background: var(--teal); }
.invitation-inner { max-width: var(--shell); }
.invitation h2 { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(44px, 6.4vw, 82px); font-weight: 400; line-height: 1.42; letter-spacing: .01em; }
.invitation p:not(.eyebrow) { margin: 42px 0 32px; font-size: 14px; }

.site-footer { display: flex; justify-content: space-between; gap: 48px; padding: 58px max(28px, calc((100vw - var(--shell)) / 2)); color: #d2d8d5; border-bottom: 1px solid var(--cyan); background: var(--teal); font-size: 11px; }
.site-footer p { margin: 4px 0; }
.footer-title { display: none; }
.footer-links { display: flex; gap: 28px; text-transform: capitalize; }

.article-shell, .archive-header, .error-page { padding-top: 170px; padding-bottom: 110px; }
.article-header h1, .archive-header h1, .error-page h1 { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(42px, 6vw, 74px); font-weight: 400; line-height: 1.42; letter-spacing: -.03em; }
.article-excerpt { color: var(--muted); font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 19px; }
.article-meta { display: flex; align-items: center; gap: 16px; margin-top: 28px; color: var(--muted); font-size: 11px; }
.article-feature { margin-top: 58px; }
.article-feature img { width: 100%; max-height: 680px; object-fit: cover; }
.article-content { margin-top: 72px; color: #e5e3dd; font-family: "Noto Sans JP", sans-serif; font-size: 17px; }
.gh-post-upgrade-cta { margin-top: 64px; }
.gh-post-upgrade-cta-content { padding: 56px 32px !important; color: var(--ink) !important; background: var(--teal) !important; border-radius: 0 !important; }
.gh-post-upgrade-cta-content h2 { color: var(--ink); font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-weight: 400; }
.gh-post-upgrade-cta-content .gh-btn { color: var(--black) !important; background: var(--ink) !important; border-radius: 0 !important; }
.gh-post-upgrade-cta-content p, .gh-post-upgrade-cta-content p a { color: #d3e2df !important; }
.gh-content > * { margin-block: 1.65em; }
.gh-content h2, .gh-content h3 { color: var(--ink); font-family: var(--gh-font-heading, "Noto Serif JP", serif); line-height: 1.5; }
.gh-content h2 { margin-top: 2.8em; font-size: 31px; }
.gh-content a { color: var(--cyan); text-decoration: underline; text-underline-offset: 3px; }
.gh-content blockquote { margin-inline: 0; padding-left: 24px; color: var(--muted); border-left: 2px solid var(--coral); font-family: var(--gh-font-heading, "Noto Serif JP", serif); }
.gh-content img { height: auto; }
.gh-content .kg-width-wide { width: min(100vw - 48px, 1040px); margin-left: 50%; transform: translateX(-50%); }
.gh-content .kg-width-full { width: 100vw; margin-left: 50%; transform: translateX(-50%); }
.kg-gallery-container { display: flex; flex-direction: column; gap: 8px; }
.kg-gallery-row { display: flex; gap: 8px; }
.kg-gallery-image { flex: 1; }
.kg-gallery-image img { width: 100%; height: 100%; object-fit: cover; }
.kg-bookmark-container { display: flex; min-height: 148px; color: var(--ink); border: 1px solid var(--cyan); text-decoration: none !important; }
.kg-bookmark-content { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 22px; }
.kg-bookmark-title { font-weight: 500; line-height: 1.35; }
.kg-bookmark-description { display: -webkit-box; overflow: hidden; margin-top: 6px; color: var(--muted); font-size: 13px; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.kg-bookmark-metadata { margin-top: auto; padding-top: 14px; font-size: 11px; }
.kg-bookmark-thumbnail { position: relative; width: 34%; min-width: 180px; }
.kg-bookmark-thumbnail img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.article-footer, .article-comments { margin-top: 64px; padding-top: 28px; border-top: 1px solid var(--cyan); }
.content-cta { margin-block: 2.4em 0; padding: clamp(36px, 5vw, 56px) clamp(24px, 4vw, 48px); border: 1px solid var(--cyan); background: var(--black); }
.content-cta .eyebrow { margin-bottom: 22px; }
.content-cta h2 { margin: 0 0 14px; color: var(--ink); font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(22px, 2.6vw, 30px); font-weight: 400; line-height: 1.6; }
.content-cta-text { margin: 0; color: var(--muted); font-size: 14px; line-height: 2; }
.content-cta-actions { display: flex; flex-wrap: wrap; gap: 0; margin-top: 28px; border-top: 1px solid var(--cyan); }
.content-cta a { text-decoration: none; }
.content-cta .button-primary { color: var(--ink); }
.content-cta .text-link { color: var(--ink); }
.content-cta .text-link:hover { color: var(--cyan); }
.members-modal { position: fixed; z-index: 60; inset: 0; display: grid; place-items: center; padding: 24px; }
.members-modal[hidden] { display: none; }
.members-modal-backdrop { position: absolute; inset: 0; background: rgba(2, 3, 3, .82); backdrop-filter: blur(6px); }
.members-modal-panel { position: relative; width: min(100%, 520px); max-height: calc(100vh - 48px); overflow-y: auto; padding: clamp(32px, 5vw, 48px); color: var(--ink); border: 1px solid var(--cyan); background: var(--black); }
.members-modal-panel .eyebrow { margin-bottom: 26px; }
.members-modal-close { position: absolute; top: 14px; right: 14px; width: 40px; height: 40px; padding: 0; color: var(--muted); border: 0; background: transparent; font-size: 26px; line-height: 1; cursor: pointer; transition: color .18s ease; }
.members-modal-close:hover { color: var(--coral); }
.members-modal-title { margin: 0 0 26px; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: clamp(26px, 3vw, 34px); font-weight: 400; line-height: 1.5; }
.members-field { display: block; margin-bottom: 22px; }
.members-field span { display: block; margin-bottom: 8px; color: var(--muted); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; }
.members-field input { width: 100%; padding: 12px 0; color: var(--ink); border: 0; border-bottom: 1px solid var(--teal); border-radius: 0; background: transparent; font-family: "Noto Sans JP", sans-serif; font-size: 16px; transition: border-color .18s ease; }
.members-field input::placeholder { color: #5f6462; }
.members-field input:focus { outline: 0; border-bottom-color: var(--cyan); }
.members-tier { margin: 6px 0 26px; padding: 22px 24px; border: 1px solid var(--cyan); }
.members-tier-name { margin: 0 0 8px; color: var(--coral); font-family: Georgia, var(--gh-font-heading, "Noto Serif JP", serif); font-size: 20px; }
.members-tier-description { margin: 0; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 14px; line-height: 1.9; }
.members-tier-benefits { margin: 14px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: 13px; line-height: 2; }
.members-tier-benefits li::before { content: "✓"; margin-right: 10px; color: var(--cyan); }
.members-note { margin: -6px 0 22px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.members-submit { width: 100%; cursor: pointer; font-family: "Noto Sans JP", sans-serif; }
.members-submit-loading, .members-success { display: none; }
.members-form.loading .members-submit-label { display: none; }
.members-form.loading .members-submit-loading { display: inline; }
.members-form.loading .members-submit { opacity: .6; pointer-events: none; }
.members-error { min-height: 0; margin: 12px 0 0; color: var(--coral); font-size: 13px; line-height: 1.8; }
.members-error:empty { display: none; }
.members-form.success .members-field, .members-form.success .members-tier, .members-form.success .members-note, .members-form.success .members-submit, .members-form.success .members-error { display: none; }
.members-form.success .members-success { display: block; padding: 24px; border: 1px solid var(--cyan); }
.members-success p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.9; }
.members-success-title { margin-bottom: 8px !important; color: var(--ink) !important; font-family: var(--gh-font-heading, "Noto Serif JP", serif); font-size: 18px !important; }
.members-switch { margin: 26px 0 0; padding-top: 18px; border-top: 1px solid var(--teal); color: var(--muted); font-size: 13px; }
.members-switch button { padding: 0; color: var(--cyan); border: 0; background: transparent; font: inherit; cursor: pointer; }
.members-switch button:hover { color: var(--coral); }
body.members-modal-open { overflow: hidden; }
.archive-header { padding-bottom: 62px; }
.archive-grid { margin-bottom: 120px; }
.error-page { min-height: 80vh; }

@media (max-width: 900px) {
  .shell, .shell-narrow { width: min(calc(100% - 36px), var(--shell)); }
  .site-header { width: calc(100% - 36px); min-height: 70px; }
  .site-brand { max-width: calc(100% - 54px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .menu-button { display: block; }
  .site-nav { position: absolute; top: 70px; right: 0; display: none; min-width: 220px; align-items: stretch; flex-direction: column; gap: 0; padding: 10px; border: 1px solid var(--cyan); background: var(--black); }
  .site-nav.is-open { display: flex; }
  .site-nav a { padding: 12px; }
  .site-nav .nav-button { text-align: left; }
  .hero { min-height: auto; padding-top: 100px; }
  .hero-content { width: calc(100% - 36px); min-height: 0; grid-template-columns: minmax(0, 1fr); }
  .hero-main { width: 100%; padding-inline: 0; }
  .hero h1 { width: auto; max-width: 100%; font-size: clamp(27px, 7.3vw, 48px); line-height: 1.75; }
  .hero h1 span { white-space: normal; }
  .hero h1 span + span { margin-left: 0; }
  .hero-globe { position: relative; top: auto; left: auto; width: min(100%, 420px); margin: 12px auto 0; transform: none; }
  .hero-aside { align-self: end; width: 100%; max-width: 100%; margin: 0 0 34px; transform: none; }
  .split, .founder-grid, .membership-grid { grid-template-columns: 1fr; }
  .society-section .split { grid-template-columns: 1fr; gap: 28px; padding: 48px 24px; }
  .founder-aside { min-height: 320px; }
  .founder-photo { object-position: center 20%; }
  .membership-grid article { min-height: 230px; }
  .library-toolbar { flex-direction: column; }
  .filters { overflow-x: auto; }
  .library-sort { justify-content: flex-end; padding: 10px 0; border-top: 1px solid var(--cyan); }
  .filter { min-width: max-content; }
  .card-link { grid-template-columns: 1fr; }
  .card-image-wrap { min-height: 0; aspect-ratio: 16 / 9; border-right: 0; border-bottom: 1px solid var(--cyan); }
  .site-footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
