﻿/* Kultura od Nowa — skład redakcyjny. Wszystkie fonty są systemowe i działają offline. */
:root {
    --cream: #f5f1e7;
    --paper: #fffdf7;
    --green: #203d32;
    --red: #a72b32;
    --text: #24352d;
    --muted: #5d6258;
    --line: #c8c8b9;
    --pale-green: #e8ebdf;
    --serif: Georgia, 'Times New Roman', serif;
    --sans: 'Segoe UI', Arial, sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { background: var(--cream); }
body { margin: 0; color: var(--text); font: 16px/1.6 var(--sans); }
body, input, select, button { -webkit-text-size-adjust: 100%; }
body { border-top: 5px solid var(--green); }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--red); }
button, input, select { font: inherit; }
button, a, input, select, summary { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 5px; }
:focus:not(:focus-visible) { outline: none; }
h1, h2, h3, p { margin: 0 0 16px; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.12; text-wrap: balance; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
h3 { font-size: 1.65rem; }
img { max-width: 100%; height: auto; }
.container { width: min(1180px, calc(100% - 80px)); margin-inline: auto; }
.red-text { color: var(--red); }
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 10; padding: 12px 20px; background: var(--green); color: white; }
.skip-link:focus { top: 10px; }
.site-header { background: var(--cream); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--green); }
.brand { display: inline-flex; align-items: center; gap: 14px; color: var(--green); font: 700 28px/1.12 var(--serif); text-decoration: none; }
.logo-frame { flex: 0 0 76px; width: 76px; height: 76px; display: grid; place-items: center; }
.logo-frame img { display: block; width: 76px; height: 76px; object-fit: contain; border-radius: 50%; }
.logo-fallback { font-size: 24px; }
nav { display: flex; flex-wrap: wrap; gap: 4px 23px; }
nav a { display: inline-flex; min-height: 48px; align-items: center; font-size: 14px; font-weight: 600; text-decoration: none; }
nav a[aria-current=page] { position: relative; color: var(--red); }
nav a[aria-current=page]::after { content: ""; position: absolute; left: 0; bottom: 5px; width: 100%; height: 2px; background: var(--red); }
.nav-indicator-flight nav a[aria-current=page]::after { opacity: 0; }
.nav-transition-indicator { position: fixed; z-index: 20; height: 2px; background: var(--red); pointer-events: none; }
.menu-toggle { min-height: 46px; padding: 7px 15px; border: 1px solid var(--green); color: var(--green); background: transparent; cursor: pointer; }
.hero { padding-bottom: 28px; text-align: center; }
.edition-line { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; font-size: 13px; color: var(--muted); text-align: left; }
.edition-line p { margin: 0; }
.hero h1 { margin: 20px auto; font-size: clamp(3.4rem, 6vw, 5.5rem); line-height: 1.04; letter-spacing: -2.5px; }
.hero h1 em { color: var(--red); font-weight: 400; }
.intro { margin-inline: auto; max-width: 760px; font-size: 18px; line-height: 1.65; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 11px 23px; border: 1px solid var(--green); border-radius: 2px; background: var(--green); color: var(--paper); font-size: 15px; font-weight: 600; text-decoration: none; cursor: pointer; line-height: 1.45; }
.button:hover:not(:disabled) { background: var(--red); border-color: var(--red); color: white; }
.button:disabled { cursor: not-allowed; opacity: .55; }
.button-light { background: var(--cream); color: var(--green); border-color: var(--cream); }
.button-red { background: var(--red); border-color: var(--red); }
.button-red:hover:not(:disabled) { background: #852028; border-color: #852028; }
.button-outline { background: transparent; color: var(--green); }
.button-outline:hover:not(:disabled) { background: var(--green); color: var(--paper); border-color: var(--green); }
.hero .hero-actions { justify-content: center; margin-top: 18px; gap: 12px 26px; }
.link-button { background: transparent; border: 0; padding: 8px 12px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; color: var(--green); }
.link-button:hover { color: var(--red); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.section-heading { display: flex; justify-content: space-between; align-items: baseline; gap: 20px; margin-bottom: 12px; padding-top: 18px; border-top: 3px solid var(--green); }
.section-heading h2 { font-size: 27px; margin: 0; }
.word-columns { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); padding: 10px 0 27px; }
.word-preview { padding: 8px 28px 2px; border-right: 1px solid var(--line); }
.word-preview:first-child { padding-left: 0; }
.word-preview:last-child { border: 0; padding-right: 0; }
.word-preview h3 { font-size: clamp(30px, 3.2vw, 46px); margin: 0 0 8px; overflow-wrap: anywhere; }
.word-preview h3 a { text-decoration: none; }
.word-preview .word-meaning { font-size: 20px; margin-bottom: 10px; }
.word-region { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.source-link { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; font-weight: 600; text-decoration-color: var(--red); }
.word-selection-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 22px; }
.home-features { display: grid; grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr); border-top: 1px solid var(--green); border-bottom: 1px solid var(--green); }
.tradition-feature { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .85fr); gap: 0 26px; padding: 28px 30px 28px 0; }
.tradition-feature > .section-label { grid-column: 1 / -1; }
.tradition-story { min-width: 0; }
.tradition-photo { margin: 0; }
.tradition-photo img { display: block; width: 100%; height: auto; }
.tradition-photo > a { display: block; }
.tradition-photo figcaption { font-size: 12px; line-height: 1.65; color: var(--muted); padding-top: 10px; }
.tradition-photo figcaption a { text-decoration-color: var(--muted); }
.section-label { color: var(--red); font-size: 14px; font-weight: 600; margin-bottom: 16px; }
.tradition-feature h2 { font-size: clamp(2rem, 3vw, 2.7rem); margin-bottom: 8px; }
.tradition-feature .word-meaning { font-size: 19px; }
.tradition-feature .feature-description { max-width: 580px; margin-block: 12px; }
.quiz-invitation { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: var(--green); color: var(--cream); padding: 32px 36px; }
.quiz-invitation .section-label { color: #e5c5ab; }
.quiz-invitation h2 { font-size: 38px; }
.quiz-invitation p { max-width: 350px; }
.quiz-invitation :focus-visible { outline-color: #fff5ce; }
.small-note { margin: 14px 0 0; font-size: 13px; }
.home-about { display: grid; grid-template-columns: 1fr 1.6fr; gap: 40px; padding-block: 34px; }
.home-about h2 { font-size: 28px; }
.inline-links { display: flex; gap: 24px; flex-wrap: wrap; }
.inline-links a { display: inline-flex; min-height: 44px; align-items: center; font-size: 14px; font-weight: 600; }
.section { padding-block: 36px 48px; }
.page-title { font-size: clamp(2.8rem, 5vw, 4.5rem); letter-spacing: -1.5px; margin-bottom: 18px; }
.section-intro { max-width: 740px; font-size: 17px; margin-bottom: 12px; }
.database-summary { color: var(--muted); font-size: 14px; }
.filters { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 16px; border-top: 2px solid var(--green); margin-top: 26px; padding-top: 20px; }
body[data-strona=tradycje] .filters { grid-template-columns: 2fr 1fr 1fr; }
.filters > *, .quiz-settings > * { min-width: 0; }
.search-actions { display: flex; gap: 10px; }
.search-actions input { min-width: 0; }
.search-actions .button { flex-shrink: 0; padding-inline: 14px; }
#cards { scroll-margin-top: 20px; }
label { display: block; margin-bottom: 7px; font-size: 13px; font-weight: 600; }
input, select { width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid #7c8775; border-radius: 2px; color: var(--text); background: var(--paper); }
.clear-filters { background: transparent; color: var(--muted); border: 0; min-height: 44px; padding: 8px 0; font-size: 13px; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.results-count { font-size: 13px; color: var(--muted); padding: 9px 0; margin: 0; border-bottom: 1px solid var(--green); }
.material-card { display: grid; grid-template-columns: minmax(0, 1fr) 285px; gap: 30px; padding: 23px 0; border-bottom: 1px solid var(--line); }
.material-card h3 { margin-bottom: 5px; font-size: 30px; overflow-wrap: anywhere; }
.word-meaning { font-size: 19px; line-height: 1.45; margin-bottom: 12px; }
.card-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--muted); margin-bottom: 5px; }
.card-type { font-style: italic; }
.historical-label { font-size: 13px; color: var(--red); margin-bottom: 5px; font-weight: 600; }
.language-note { font-size: 13px; color: var(--muted); margin-bottom: 4px; }
.material-description { font-size: 15px; margin: 10px 0 0; max-width: 720px; }
@media (min-width: 1101px) {
    body[data-strona=slownik] .material-content { display: grid; grid-template-columns: minmax(160px, .8fr) 2fr; column-gap: 24px; align-content: start; }
    body[data-strona=slownik] .material-content > h3 { grid-column: 1; }
    body[data-strona=slownik] .material-content > .word-meaning { grid-column: 2; padding-top: 5px; margin-bottom: 8px; }
    body[data-strona=slownik] .material-content > :not(h3):not(.word-meaning) { grid-column: 1 / -1; }
}
.card-sources { border-left: 1px solid var(--line); padding-left: 22px; align-self: start; overflow-wrap: anywhere; }
.source-name, .source-location { color: var(--muted); font-size: 13px; line-height: 1.55; margin-bottom: 0; }
.source-location { margin-top: 5px; }
body[data-strona=tradycje] .cards-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 40px; }
.material-card.tradition { display: flex; flex-direction: column; gap: 16px; padding-block: 26px; }
.tradition .card-sources { margin-top: auto; padding: 12px 0 0; border-left: 0; border-top: 1px solid var(--line); }
.tradition h3 { font-size: 32px; }
.tradition .material-description { max-width: 58ch; line-height: 1.75; margin-top: 14px; }
.tradition .card-meta > span:first-child { color: var(--green); font-weight: 600; }
.tradition .card-type { display: none; }
.load-more-wrap { text-align: center; margin-top: 26px; }
.region-note { font-size: 13px; color: var(--muted); margin-top: 24px; max-width: 850px; }
.empty-state { padding-block: 24px; }
.editorial-note { max-width: 850px; margin-top: 20px; font-size: 14px; }
summary { cursor: pointer; font-weight: 600; min-height: 44px; padding-block: 8px; }
.editorial-note p { margin-top: 12px; }
.page-about { padding-block: 40px 28px; }
.about-layout { display: grid; grid-template-columns: 1fr 1.35fr; gap: 60px; }
.about-layout p { font-size: 18px; }
.prose { max-width: 1180px; border-top: 1px solid var(--line); padding-block: 30px 50px; }
.prose > p { max-width: 780px; }
.prose h2 { font-size: 32px; }
.hero-actions { display: flex; align-items: center; gap: 24px; margin-top: 24px; flex-wrap: wrap; }
.team-grid { display: grid; grid-template-columns: 1fr 1fr; column-gap: 56px; margin-top: 30px; border-top: 2px solid var(--green); }
.team-card { padding: 25px 0; border-bottom: 1px solid var(--line); }
.team-card h2 { font-size: 28px; margin-bottom: 10px; }
.team-card p { font-size: 15px; color: var(--muted); margin-bottom: 0; max-width: 390px; }
.sources-band > .container > p { max-width: 800px; }
.sources-list { list-style: none; padding: 0; margin: 30px 0 0; border-top: 2px solid var(--green); }
.sources-list li { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.sources-list a { font: 20px/1.4 var(--serif); }
.sources-list span { color: var(--muted); font-size: 13px; }
.quiz-band { padding-block: 36px 50px; }
.quiz-layout { max-width: 850px; }
.quiz-intro { border-bottom: 2px solid var(--green); padding-bottom: 18px; margin-bottom: 24px; }
.quiz-intro > p { max-width: 650px; }
.quiz-details { color: var(--muted); font-size: 14px; margin-bottom: 6px; }
.quiz-settings { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.quiz-settings > p { grid-column: 1 / -1; margin: 0; }
.quiz-settings > button { justify-self: start; grid-column: 1 / -1; }
.quiz-pool-info { font-size: 14px; color: var(--muted); }
.quiz-panel { margin-top: 22px; }
#quiz-ready { font-size: 14px; color: var(--muted); }
#question-view, #result-view { background: var(--paper); padding: 28px; border: 1px solid var(--line); }
#question-view { scroll-margin-top: 20px; }
#quiz-progress-text { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
progress { display: block; width: 100%; height: 5px; border: 0; background: var(--pale-green); accent-color: var(--green); margin-bottom: 26px; }
progress::-webkit-progress-bar { background: var(--pale-green); }
progress::-webkit-progress-value { background: var(--green); }
progress::-moz-progress-bar { background: var(--green); }
#question-title { font-size: 29px; line-height: 1.25; margin-bottom: 20px; }
.question-context { color: var(--muted); font-size: 14px; }
.answers { display: grid; gap: 10px; }
.answer-button { display: flex; align-items: center; gap: 18px; width: 100%; min-height: 54px; padding: 13px 16px; border: 1px solid var(--line); border-radius: 2px; color: var(--text); background: var(--paper); text-align: left; cursor: pointer; }
.answer-button:hover:not(:disabled) { background: var(--pale-green); border-color: var(--green); }
.answer-button:disabled { opacity: 1; cursor: default; }
.answer-letter { font-size: 13px; font-weight: 700; color: var(--muted); }
.answer-button.correct { background: #e3eddd; border-color: var(--green); }
.answer-button.incorrect { background: #f4e1dd; border-color: var(--red); }
.quiz-panel #next-question { margin-top: 16px; }
.answer-feedback-mark { position: relative; display: inline-block; flex: 0 0 18px; width: 18px; height: 18px; margin-left: 3px; }
.answer-feedback-mark-correct::before { content: ""; position: absolute; top: 2px; left: 5px; width: 6px; height: 10px; border: solid var(--green); border-width: 0 2px 2px 0; transform: rotate(45deg); }
.answer-feedback-mark-incorrect::before, .answer-feedback-mark-incorrect::after { content: ""; position: absolute; top: 8px; left: 2px; width: 14px; height: 2px; border-radius: 2px; background: var(--red); }
.answer-feedback-mark-incorrect::before { transform: rotate(45deg); }
.answer-feedback-mark-incorrect::after { transform: rotate(-45deg); }
.feedback { margin-block: 22px; font-size: 15px; scroll-margin-block: 20px; }
.feedback:not(:empty) { padding: 18px 20px; border-left: 3px solid var(--green); background: #edf0e6; }
.feedback.feedback-incorrect:not(:empty) { border-color: var(--red); }
.feedback:empty { display: none; }
.feedback p { margin-bottom: 8px; }
.feedback-verdict { font-size: 14px; font-weight: 600; }
.feedback-answer { font: 24px/1.35 var(--serif); }
.feedback-explanation { line-height: 1.65; }
.quiz-review { border-top: 1px solid var(--line); padding-top: 24px; margin: 24px 0; }
.quiz-review h3 { font-size: 27px; }
.quiz-review > p { font-size: 15px; }
.quiz-review ul { list-style: none; padding: 0; margin: 0; }
.quiz-review li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.review-link { display: inline-flex; align-items: center; min-height: 44px; font: 24px/1.25 var(--serif); overflow-wrap: anywhere; }
.review-answer { margin: 2px 0 8px; font-size: 16px; color: var(--green); font-weight: 600; }
.review-question { margin: 2px 0 12px; font-size: 16px; }
.review-chosen { margin-bottom: 6px; color: var(--muted); font-size: 14px; }
.feedback-location { display: block; font-size: 12px; color: var(--muted); }
#result-title { font-size: 42px; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 28px; border-top: 3px double var(--green); }
.site-footer .brand { font-size: 21px; gap: 5px; }
.site-footer p { margin: 0; font-size: 12px; color: var(--muted); }
.site-footer .text-link { font-size: 13px; }
.social-page { padding-block: 52px 64px; }
.social-page .page-title { max-width: 760px; }
.social-intro { max-width: 680px; font-size: 18px; }
.social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.social-link { display: flex; flex-direction: column; justify-content: space-between; min-height: 220px; padding: 26px 28px; border: 1px solid var(--green); background: var(--green); color: var(--cream); text-decoration: none; transition: background-color .16s ease, border-color .16s ease; }
.social-link:hover { background: var(--red); border-color: var(--red); color: white; }
.social-link:focus-visible { outline-color: var(--red); }
.social-link-name { display: flex; align-items: center; gap: 14px; font: 400 clamp(2rem, 4vw, 3rem)/1.1 var(--serif); }
.social-icon { display: block; flex: 0 0 42px; width: 42px; height: 42px; color: currentColor; }
.social-icon-instagram { transform: scale(1.08); }
.social-link-handle { color: #e5c5ab; font-size: 15px; font-weight: 600; }
.social-link-action { align-self: flex-start; margin-top: 24px; padding-bottom: 2px; border-bottom: 1px solid currentColor; font-size: 14px; font-weight: 600; }
.social-note { margin-top: 18px; color: var(--muted); font-size: 13px; }
@media (max-width: 1100px) {
    .header-inner { flex-wrap: wrap; justify-content: center; padding-block: 18px 8px; gap: 8px 25px; }
    nav { justify-content: center; }
    .brand { font-size: 27px; }
    .logo-frame, .logo-frame img { width: 64px; height: 64px; }
    .logo-frame { flex-basis: 64px; }
    .filters { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1000px) {
    .home-features { grid-template-columns: 1fr; }
    .tradition-feature { padding-right: 0; grid-template-columns: minmax(0, 1fr) minmax(0, .65fr); }
    .tradition-photo { max-width: 290px; justify-self: end; }
    .quiz-invitation p { max-width: 580px; }
}
@media (max-width: 760px) {
    .container { width: calc(100% - 40px); }
    .header-inner { justify-content: space-between; gap: 12px; min-height: 90px; padding-block: 10px; }
    .brand { font-size: 23px; gap: 10px; }
    .logo-frame, .logo-frame img { width: 60px; height: 60px; }
    .logo-frame { flex-basis: 60px; }
    .menu-toggle:not([hidden]) { display: block; }
    nav { width: 100%; justify-content: start; gap: 3px 0; border-top: 1px solid var(--line); padding-top: 10px; }
    nav a { width: 50%; min-height: 48px; padding-left: 10px; }
    .nav-enhanced nav:not(.is-open) { display: none; }
    .edition-line { font-size: 11px; flex-wrap: wrap; gap: 2px; }
    .hero { padding-bottom: 25px; }
    .hero h1 { font-size: clamp(2.7rem, 7.6vw, 4.5rem); letter-spacing: -1.5px; margin-top: 18px; }
    .intro { font-size: 16px; }
    .desktop-break { display: none; }
    .section-heading h2 { font-size: 24px; }
    .word-preview { padding-inline: 18px; }
    .word-preview h3 { font-size: 34px; }
    .word-preview .word-meaning { font-size: 17px; }
    .tradition-feature { padding: 26px 0; }
    .quiz-invitation { padding: 27px; }
    .quiz-invitation p { max-width: none; }
    .home-about, .about-layout { grid-template-columns: 1fr; gap: 8px; }
    .home-about { padding-block: 28px; }
    .material-card { grid-template-columns: minmax(0, 1fr) 220px; gap: 20px; }
    .card-sources { padding-left: 16px; }
    body[data-strona=tradycje] .cards-grid { column-gap: 24px; }
    body[data-strona=tradycje] .filters { grid-template-columns: 1fr 1fr; }
    body[data-strona=tradycje] .search-field { grid-column: 1 / -1; }
    .team-grid { column-gap: 28px; }
    .team-card h2 { font-size: 25px; }
    .sources-list li { grid-template-columns: 1fr; gap: 8px; }
    .site-footer { flex-wrap: wrap; gap: 12px 25px; }
    .site-footer p { order: 3; width: 100%; }
}
@media (max-width: 520px) {
    .brand { font-size: 21px; }
    .logo-frame, .logo-frame img { width: 48px; height: 48px; }
    .logo-frame { flex-basis: 48px; }
    .header-inner { gap: 8px; }
    .menu-toggle { padding-inline: 12px; }
    .edition-line { display: block; }
    .edition-line p + p { margin-top: 3px; }
    .hero h1 { font-size: clamp(2.45rem, 10vw, 3.5rem); letter-spacing: -1.2px; }
    .hero h1 br { display: none; }
    .section-heading { flex-wrap: wrap; gap: 2px 15px; padding-top: 14px; }
    .word-columns { grid-template-columns: 1fr; padding: 0 0 8px; }
    .word-preview, .word-preview:first-child, .word-preview:last-child { padding: 18px 0 10px; border: 0; border-bottom: 1px solid var(--line); }
    .word-preview:last-child { border-bottom: 0; }
    .word-preview h3 { font-size: 38px; }
    .word-preview .word-meaning { font-size: 18px; margin-bottom: 5px; }
    .page-title { font-size: 43px; letter-spacing: -1px; }
    .section, .quiz-band { padding-block: 26px 36px; }
    .filters, body[data-strona=tradycje] .filters { grid-template-columns: 1fr; gap: 12px; }
    .filters .search-field, body[data-strona=slownik] .filters > div:last-child { grid-column: 1 / -1; }
    .material-card { display: block; padding-block: 20px; }
    .material-card h3 { font-size: 29px; }
    .card-sources { border: 0; padding: 14px 0 0; }
    .word-meaning { font-size: 19px; }
    body[data-strona=tradycje] .cards-grid, .team-grid { grid-template-columns: 1fr; }
    .tradition h3 { font-size: 31px; }
    .tradition-feature h2 { font-size: 35px; }
    .tradition-feature { grid-template-columns: 1fr; }
    .tradition-photo { max-width: 280px; justify-self: start; margin-top: 18px; }
    .word-preview h3 { overflow-wrap: anywhere; }
    .feedback:not(:empty) { padding: 14px; }
    .feedback-answer { font-size: 22px; }
    .quiz-settings { grid-template-columns: 1fr; }
    .quiz-settings > button { width: 100%; }
    #question-view, #result-view { padding: 20px 16px; }
    #question-title { font-size: 25px; }
    .answer-button { gap: 12px; padding: 12px; }
    .site-footer { align-items: start; }
    .social-page { padding-block: 32px 44px; }
    .social-intro { font-size: 16px; }
    .social-links { grid-template-columns: 1fr; gap: 12px; margin-top: 24px; }
    .social-link { min-height: 170px; padding: 22px; }
    .social-icon { flex-basis: 34px; width: 34px; height: 34px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .social-link { transition: none; }
    .nav-transition-indicator { display: none; }
}
@media (max-width: 380px) {
    .header-inner > .brand { font-size: 19px; gap: 8px; }
    .header-inner > .brand .red-text { display: block; }
    .header-inner > .brand > span:last-child { max-width: 125px; }
}
