/* TraVision / quiet wayfinding and a genuine larger-text mode.
 * Load AFTER site.css, thread.css, cinematic-hero.css and read-aloud.css.
 * Normal typography stays authored; the explicit larger-text rules below beat
 * the legacy fixed-pixel !important declarations without scaling whole pages.
 */

/* A small, quiet maker's signature; the functional footer remains unchanged. */
.footer-bottom > .footer-signature {
  display: grid;
  align-content: start;
  gap: 8px;
  min-width: 0;
}
.footer-bottom .footer-signature p { margin: 0; }
.footer-bottom .maker-credit {
  color: #e9e3d6;
  font-size: 16px;
  letter-spacing: .015em;
}
.footer-bottom .maker-name {
  color: #efd6a7;
  font-weight: 600;
}
.footer-bottom .maker-credit [role="img"] {
  display: inline-block;
  margin-inline: .1em;
}

:root {
  --nav-current: #efd6a7;
  --nav-accent: #d5b378;
  --support-gold: #efd6a7;
  --support-gold-hover: #f5dfb7;
  --support-ink: #14392c;
  --header-glass: rgba(9, 35, 27, .68);
}

/* Draw the existing knot in place on a real document load. Nothing about the
 * mark's box, paths or coordinates changes, so the animation cannot move the
 * wordmark or cause a header layout shift. The three authored strokes are
 * revealed in sequence using their actual approximate path lengths. */
.site-header .brand-symbol path:first-of-type {
  stroke-dasharray: 190;
  stroke-dashoffset: 190;
  animation: brand-knot-draw 1.05s cubic-bezier(.4, 0, .2, 1) .08s forwards;
}
.site-header .brand-symbol path:nth-of-type(2) {
  stroke-dasharray: 510;
  stroke-dashoffset: 510;
  animation: brand-knot-draw 1.5s cubic-bezier(.4, 0, .2, 1) .24s forwards;
}
.site-header .brand-symbol circle {
  stroke-dasharray: 57;
  stroke-dashoffset: 57;
  animation: brand-knot-draw .7s cubic-bezier(.4, 0, .2, 1) .72s forwards;
}

@keyframes brand-knot-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .brand-symbol :is(path, circle) {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

/* The fixed header should retain the landscape/page atmosphere behind it rather
 * than becoming an opaque green bar. A dark translucent veil plus blur keeps
 * white navigation and the gold support action readable over busy imagery. */
.site-header.scrolled {
  background: var(--header-glass);
  -webkit-backdrop-filter: blur(18px) saturate(128%);
  backdrop-filter: blur(18px) saturate(128%);
  box-shadow: 0 1px 0 #ffffff24, 0 10px 34px #06170f24;
}

.site-header.scrolled .header-inner {
  border-bottom-color: #ffffff1f;
}

/* Keep the primary support route unmistakable in the shared header. The late
 * interface layer intentionally overrides the older green/transparent CTA. */
.site-header .header-support {
  position: relative;
  background: var(--support-gold);
  color: var(--support-ink);
  border-color: var(--support-gold);
  box-shadow: 0 4px 18px #06170f24;
  transition: background .2s, border-color .2s, transform .2s, box-shadow .2s;
}
.site-header .header-support:hover {
  background: var(--support-gold-hover);
  border-color: var(--support-gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px #06170f32;
}

.site-header .header-listen {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 0 0 auto;
  min-width: 44px;
  min-height: 44px;
  padding: 8px 10px;
  color: #f4eddf;
  background: transparent;
  border: 1px solid #e7d7b440;
  border-radius: 999px;
  font: 16px/1.4 var(--sans);
}
.site-header .header-listen[hidden] { display: none; }
.site-header .header-listen .icon { width: 19px; height: 19px; }
.site-header .header-listen:hover,
.site-header .header-listen[aria-pressed="true"] {
  color: #efd6a7;
  border-color: #efd6a7;
}
@media (max-width:700px) {
  .site-header .header-listen { width:44px; padding:8px; }
  .site-header .header-listen > span { display:none; }
}

/* No selected-page ellipse, travel trace or navigation terminal dot. */
.nav-thread,
.mobile-nav-thread {
  display: none !important;
}

.site-header .desktop-nav > a[aria-current="page"],
.site-header .learn-menu > summary.is-current {
  color: var(--nav-current);
}

.site-header .desktop-nav > a[aria-current="page"]::after,
.site-header .learn-menu > summary.is-current::after,
.site-header .header-support[aria-current="page"]::after {
  content: "";
  display: block;
  position: absolute;
  inset-inline: 0;
  bottom: 3px;
  height: 1px;
  background: var(--nav-accent);
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
  pointer-events: none;
}

.site-header .header-support[aria-current="page"] {
  color: var(--support-ink);
  background: var(--support-gold);
  border-color: var(--support-gold);
}

.site-header .header-support[aria-current="page"]::after {
  inset-inline: 12px;
  bottom: 5px;
  background: #715624;
}

/* Keep the full TraVision identity prominent rather than treating the knot as
 * a tiny icon. These late interface rules enlarge the complete wordmark while
 * leaving navigation/actions on their existing 44px interaction geometry. */
.site-header .brand { gap: 10px; }
.site-header .brand-symbol {
  width: 50px;
  height: 58px;
  flex: 0 0 50px;
}
.site-header .brand-name {
  font-size: 34px;
  line-height: .95;
  letter-spacing: -1.25px;
}
.site-header .brand-name span {
  margin-top: 7px;
  font-size: 12px;
  letter-spacing: .22em;
}

@media (max-width:700px) {
  /* Keep the complete TraVision wordmark and all header actions in one clean
   * horizontal line. Narrower header gutters create the room at 305px; the
   * identity is reduced proportionally rather than hidden, and Support retains
   * genuine button padding instead of becoming a thin text strip. */
  .site-header,
  .site-header.scrolled {
    height: 86px;
  }
  .site-header .header-inner {
    width: calc(100% - 16px);
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 4px;
    overflow: clip;
  }
  .site-header .brand {
    min-width: 0;
    flex: 0 0 auto;
    gap: 5px;
    overflow: visible;
  }
  .site-header .brand-name {
    display: block;
    min-width: 0;
    font-size: clamp(21px, 6.2vw, 24px);
    line-height: .96;
    letter-spacing: -.7px;
    white-space: nowrap;
  }
  .site-header .brand-name span {
    display: block;
    margin-top: 5px;
    font-size: clamp(7px, 2vw, 8px);
    letter-spacing: .11em;
  }
  .site-header .brand-symbol {
    width: 34px;
    height: 42px;
    flex: 0 0 34px;
  }
  .site-header .header-end {
    min-width: 0;
    margin-left: auto;
    display: flex;
    flex-wrap: nowrap;
    gap: 3px;
    align-items: center;
    justify-content: flex-end;
  }
  .site-header .header-support {
    display: inline-flex;
    width: auto;
    min-height: 44px;
    padding: 9px 8px;
    gap: 0;
    justify-content: center;
    font-size: 10.5px !important;
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.02em;
    white-space: nowrap;
  }
  .site-header .header-support .icon {
    display: none;
  }
  .site-header .menu-toggle {
    display: flex;
  }
  .site-header .header-listen,
  .site-header .menu-toggle {
    flex: 0 0 44px;
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }
}

@media (max-width:340px) {
  .site-header .header-inner {
    width: calc(100% - 12px);
    gap: 3px;
  }
  .site-header .brand { gap: 3px; }
  .site-header .brand-symbol {
    width: 29px;
    height: 37px;
    flex-basis: 29px;
  }
  .site-header .brand-name {
    font-size: 20px;
    letter-spacing: -.55px;
  }
  .site-header .brand-name span {
    font-size: 6.5px;
    letter-spacing: .08em;
  }
  .site-header .header-end { gap: 2px; }
  .site-header .header-support {
    padding-inline: 8px;
    font-size: 10px !important;
  }
}

.learn-dropdown a[aria-current="page"] {
  color: #715624;
  text-decoration: underline;
  text-decoration-color: #97743d;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

.mobile-links a {
  position: relative;
  min-width: 0;
  gap: 18px;
  overflow-wrap: anywhere;
}

.mobile-links a[aria-current="page"] {
  color: var(--nav-current);
}

.mobile-links a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 5px;
  bottom: 6px;
  width: 42px;
  height: 1px;
  background: var(--nav-accent);
  pointer-events: none;
}

.site-header .header-text-size {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 44px;
  height: auto;
  min-height: 44px;
  padding: 7px 8px;
  flex: 0 0 auto;
  border: 1px solid #f0d8ab80;
  border-radius: 6px;
  background: transparent;
  color: #f7efe0;
  font-size: 18px !important;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
}

.site-header .header-text-size[aria-pressed="true"] {
  color: #14392c;
  background: #efd6a7;
  border-color: #efd6a7;
}

.site-header .header-text-size:hover {
  border-color: #efd6a7;
}

.site-header :is(a, button, summary):focus-visible,
.mobile-menu :is(a, button):focus-visible {
  outline: 2px solid #f6ddb0;
  outline-offset: 5px;
}

.site-header .learn-dropdown a:focus-visible {
  outline-color: #806032;
}

.footer :is(.text-size-button, .theme-button) {
  min-height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
}

.footer :is(.text-size-button, .theme-button)[aria-pressed="true"] {
  color: var(--nav-current);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 5px;
}

/* The supplied Geneva address is presented as an attributed speech rather than
 * ordinary body copy. The quotation marks are visual only; the authored words
 * remain verbatim in the semantic blockquote. */
.article-content .un-speech-quotation {
  position: relative;
  padding: 38px 38px 34px;
  border-left: 3px solid #8a7040;
  background: linear-gradient(135deg, #eee9d9, #f7f4ea);
}
.article-content .un-speech-quotation::before {
  content: "“";
  position: absolute;
  top: 8px;
  right: 22px;
  font: 72px/1 var(--serif);
  color: #9b83543d;
  pointer-events: none;
}
.article-content .un-speech-quotation p {
  position: relative;
  z-index: 1;
  font: 24px/1.65 var(--serif);
  color: #294b38;
}
.article-content .un-speech-quotation cite {
  display: block;
  margin-top: 24px;
  font-size: 14px;
  font-style: normal;
  color: var(--muted);
}
@media (max-width:700px) {
  .article-content .un-speech-quotation { padding: 30px 24px 26px; }
  .article-content .un-speech-quotation p { font-size: 21px !important; }
}

/* Appearance is class-driven so one saved preference survives both the static
 * page load and client-side route changes. Media keep their authored colour:
 * dark mode changes surrounding surfaces/ink, never filters photographs/video. */
html.dark-mode {
  color-scheme: dark;
  --ink: #eef3eb;
  --paper: #101812;
  --surface: #17221c;
  --muted: #bdc9c0;
  --line: #46564c;
  --sage: #a9c6ae;
  --forest: #173b2d;
  --gold: #e2c58e;
  --accent: #739779;
}

html.dark-mode body {
  background: var(--paper);
  color: var(--ink);
}

html.dark-mode .cinematic-shore path { fill: var(--paper); }
html.dark-mode .learn-dropdown {
  background: #17221c;
  color: var(--ink);
  border-color: var(--line);
  box-shadow: 0 15px 35px #0008;
}
html.dark-mode .learn-dropdown a:hover { background: #223129; }
html.dark-mode .learn-dropdown a[aria-current="page"] { color: #f0d59d; }

html.dark-mode :is(.dual-place, .library-source-architecture, .library-next) {
  background: #121c16;
}
html.dark-mode :is(.choice, .coming-card, .contact-form, .resource, .work-card,
  .article-sidebar, .reading-note, .article-content .editorial-callout,
  .article-content .references-panel, .article-content blockquote, .related-video-block) {
  background: var(--surface) !important;
  color: var(--ink) !important;
  border-color: var(--line) !important;
}
html.dark-mode :is(.placeholder-art, .placeholder-art.training, .photo-frame, .image-unavailable) {
  background: #1b2820;
  border-color: var(--line);
  color: #dce7dd;
}
html.dark-mode .image-unavailable { background: linear-gradient(135deg, #1b2820, #223228); }
html.dark-mode :is(.big-quote blockquote, .article-content blockquote p) { color: #e5d3a9 !important; }
html.dark-mode :is(.article-content p, .article-content li, .resource p, .resource .resource-status,
  .editorial-photo figcaption, .photo-credit, .land-window figcaption, .land-window .photo-credit,
  .reading-note, .faq-stack p, .contact-copy p) {
  color: #d5e0d7 !important;
}
html.dark-mode .article-sidebar a { color: var(--muted); }
html.dark-mode .article-sidebar a[aria-current="location"] {
  background: #223129;
  border-left-color: #d3bd88;
  color: #f3e5c4;
}
html.dark-mode .article-section > .listen-button {
  background: #1d2c23;
  color: #f5e8ca;
  border-color: #9bb0a0;
}
html.dark-mode :is(.search-box input, .contact-form input, .contact-form select, .contact-form textarea,
  .library-search-field input, .video-library-controls input, .video-library-controls select) {
  background: #0d1611 !important;
  border-color: #68786d !important;
  color: #f2f5ee !important;
}
html.dark-mode :is(input, textarea)::placeholder { color: #a8b6ab; opacity: 1; }
html.dark-mode .form-status { color: #b9dbbf; }

html.dark-mode .research-library {
  --library-surface: #17221c;
  --library-deep: #0d241b;
  --library-line: #46564c;
  --library-soft: #1d2921;
  --library-gold: #e0c487;
}
html.dark-mode :is(.library-search-panel, .library-search-result, .library-collection-card,
  .library-field-map, .library-field-map li, .library-affordances article,
  .library-role-list li, .library-catalogue-note, .library-feature-illustration) {
  background: var(--surface) !important;
  border-color: var(--line) !important;
  color: var(--ink) !important;
}
html.dark-mode :is(.library-collection-image, .library-entry-media) { background: #1b2820; }
html.dark-mode :is(.library-search-result strong, .library-search-result:hover, .library-search-result:focus-visible,
  .library-book-resource-link) { color: #f1d59b; }
html.dark-mode :is(.library-search-result span, .library-book-resource-meta, .library-result-count,
  #library-search-help, .library-category-description, .library-book-note) { color: #bdc9c0; }
html.dark-mode .library-book-page {
  border-color: #647066;
  background:
    radial-gradient(circle at 18% 12%, #2a342b 0 14%, transparent 46%),
    linear-gradient(105deg, #17211b 0%, #222d24 48%, #141c17 100%);
  color: #f0e9d9;
}
html.dark-mode :is(.library-book-page h3, .library-book-page h4) { color: #f3e8cd; }
html.dark-mode .library-book-page p { color: #c9d5cc; }
html.dark-mode .library-book-page .library-category-letter {
  background: #17221c;
  border-color: #b99e68;
  color: #e4c98f;
}
html.dark-mode .library-book-controls button,
html.dark-mode .library-book-index-control {
  background: #17221c;
  border-color: #77887c;
  color: #f0dfb7;
}
html.dark-mode .library-book-controls button:hover,
html.dark-mode .library-book-controls button:focus-visible,
html.dark-mode .library-book-index-control:hover,
html.dark-mode .library-book-index-control:focus-visible {
  background: #274233;
  color: #fff7e8;
}
html.dark-mode .library-book-stage::before,
html.dark-mode .library-book-stage::after {
  border-color: #665f50;
  background: repeating-linear-gradient(0deg, #24261f 0 2px, #33342a 2px 5px);
}

html.dark-mode .video-library {
  --vl-forest: #17392d;
  --vl-ink: #eef3eb;
  --vl-muted: #bdc9c0;
  --vl-paper: #17221c;
  --vl-line: #46564c;
  --vl-gold: #e0c487;
}
html.dark-mode :is(.video-library-controls, .video-library-card, .video-library-empty) {
  background: var(--vl-paper);
  color: var(--vl-ink);
  border-color: var(--vl-line);
}
html.dark-mode :is(.video-library-controls label, .video-library-card h3) { color: var(--vl-ink); }
html.dark-mode :is(.video-library-result-status, .video-library-group-heading > p:last-child,
  .video-library-empty, .related-video-block > p:not(.eyebrow)) { color: var(--vl-muted, var(--muted)); }
html.dark-mode .related-video-block li { border-color: var(--line); }
html.dark-mode .related-video-block li a { color: #f0d59d; }

/* Multiply blending is designed for cream paper. On a dark surface it can hide
 * the supplied illustration, so dark mode uses the asset normally instead. */
html.dark-mode .gaelic-illustration :is(.gaelic-illustration__image, .gaelic-illustration__detail) {
  mix-blend-mode: normal;
}
html.dark-mode .gaelic-illustration__trim { background: var(--surface); }

/* Body copy, forms and labels grow, not just an inherited root value that
 * fixed-pixel descendants ignore. No CSS zoom, transform or clipped heights. */
html.large-text body {
  font-size: 22px;
  line-height: 1.75;
}

html.large-text body :is(p, li, td, th, input, textarea, select),
html.large-text body :is(.article-content, .resource, .path-card, .support-band, .page-intro, .chapter-intro, .dual-heading, .placeholder-copy, .contact-copy, .faq-stack, .work-card, .choice, .coming-card, .footer-about) :is(p, li) {
  font-size: 23px !important;
  line-height: 1.75;
}

html.large-text body :is(.eyebrow, .text-link, .button, .listen-button, .motion-control, .text-size-button, .theme-button, .resource-type, .resource-status, .result-count, .filter-chip, .breadcrumb, .photo-credit, .article-meta, .windows-note, .availability, .card-status, .card-top, .work-card-top, .audio-status, .form-status),
html.large-text body :is(.chapter-link, .support-action, .coming-card, .placeholder-copy, .contact-form, .big-quote) small,
html.large-text body :is(.footer-col a, .footer-col h3, .footer-bottom, .footer-bottom p, .footer-bottom a, .article-sidebar a, .article-sidebar > p, .contact-form label, .search-box label, .audio-dock label, .audio-dock button, .audio-dock select, .audio-dock strong) {
  font-size: 20px !important;
  line-height: 1.6;
}

html.large-text body .article-content .article-meta,
html.large-text body .article-content .editorial-callout p,
html.large-text body .article-content .references-panel p,
html.large-text body .editorial-photo figcaption {
  font-size: 21px !important;
  line-height: 1.75;
}

html.large-text body :is(.directory-link, .faq-stack summary, .chapter-link strong) {
  font-size: 24px !important;
  line-height: 1.5;
}

html.large-text body :is(.hero, .page-hero) .hero-description,
html.large-text body .page-hero p:not(.eyebrow):not(.audio-status),
html.large-text body .cinematic-hero .hero-description,
html.large-text body .cinematic-hero .page-hero-copy > p:not(.eyebrow):not(.audio-status) {
  font-size: 25px !important;
  line-height: 1.7;
}

html.large-text body .cinematic-hero.rotating-hero[data-slide-kind="history"] .hero-description {
  font-size: 29px !important;
  line-height: 1.7;
}

html.large-text body .cinematic-hero :is(.eyebrow, .button, .listen-button, .cinematic-video-toggle, .breadcrumb, .hero-location, .carousel-pause, .scroll-cue, .audio-status),
html.large-text body .cinematic-hero .slide-selectors button,
html.large-text body .cinematic-hero .carousel-controls > .carousel-pause {
  font-size: 20px !important;
  line-height: 1.5;
}

html.large-text body h2 {
  font-size: clamp(48px, 5vw, 72px);
}

html.large-text body .page-intro h2 {
  font-size: 60px;
}

html.large-text body .placeholder-copy h2 {
  font-size: 54px;
}

html.large-text body :is(.article-content, .timeline) h2 {
  font-size: 42px;
}

html.large-text body :is(.library-heading, .research-directory) h2 {
  font-size: 44px;
}

html.large-text body .reading-directory summary {
  font-size: 38px;
  line-height: 1.4;
}

html.large-text body h3 {
  font-size: 32px;
}

html.large-text body :is(.resource, .work-card, .choice, .coming-card) h3 {
  font-size: 38px;
}

html.large-text body .path-card h3 {
  font-size: 48px;
}

html.large-text body .article-content blockquote p {
  font-size: 34px !important;
  line-height: 1.5;
}

html.large-text body .big-quote blockquote {
  font-size: 46px;
  line-height: 1.4;
}

html.large-text body .cinematic-hero h1 {
  font-size: clamp(60px, 6.6vw, 100px);
}

html.large-text body .cinematic-hero--page h1,
html.large-text body .cinematic-hero.rotating-hero[data-slide-kind="history"] h1 {
  font-size: clamp(56px, 6vw, 92px);
}

html.large-text .site-header :is(.desktop-nav > a, .learn-menu > summary, .header-support),
html.large-text .site-header .header-text-size,
html.large-text .learn-dropdown strong {
  font-size: 20px !important;
}

html.large-text .learn-dropdown small {
  font-size: 18px;
  line-height: 1.6;
}

html.large-text .mobile-links a {
  font-size: 30px;
  line-height: 1.45;
}

/* Keep text within its real layout. Rows wrap and narrow reading layouts stack
 * rather than shrinking the enlarged text back down to fit. */
html.large-text :is(.resource-body, .work-card, .path-card, .choice, .coming-card, .section-head > *, .library-heading > *, .contact-copy, .placeholder-copy, .footer-col, .audio-dock > *) {
  min-width: 0;
}

html.large-text :is(.button, .text-link, .directory-link, .listen-button, .filter-chip) {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.large-text :is(.section-head, .library-heading, .actions, .hero-subactions, .page-hero-tools, .work-card-tools, .audio-dock, .audio-dock-actions) {
  flex-wrap: wrap;
}

html.large-text body .audio-dock strong {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
}

html.large-text body :is(.resource, .work-card, .choice, .coming-card, .path-card) :is(h2, h3, p),
html.large-text body :is(.footer-col, .article-content) a {
  overflow-wrap: anywhere;
}

html.large-text :is(input, select, textarea) {
  max-width: 100%;
  min-width: 0;
}

@media (max-width: 1499px) {
  html.large-text .desktop-nav { display: none; }
  html.large-text .menu-toggle { display: flex; }
}

@media (max-width: 1100px) {
  html.large-text .article-layout { display: block; }
  html.large-text .article-sidebar {
    position: static;
    max-height: none;
    margin-bottom: 40px;
  }
  html.large-text .choice-row,
  html.large-text .coming-grid { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  html.large-text .site-header .header-support { font-size: 10.5px !important; }
  html.large-text body .cinematic-hero h1,
  html.large-text body .cinematic-hero--page h1 {
    font-size: clamp(48px, 11.8vw, 72px);
  }
  html.large-text body .cinematic-hero.rotating-hero[data-slide-kind="history"] h1 {
    font-size: clamp(46px, 10.8vw, 68px);
  }
  html.large-text body .cinematic-hero.rotating-hero[data-slide-kind="history"] .hero-description {
    font-size: 26px !important;
  }
  html.large-text body :is(.article-content, .timeline) h2 { font-size: 38px; }
  html.large-text body .page-intro h2 { font-size: 52px; }
  html.large-text body .placeholder-copy h2 { font-size: 48px; }
  html.large-text body .path-card h3 { font-size: 44px; }
  html.large-text body .big-quote blockquote { font-size: 36px; }
  html.large-text .big-quote { padding: 26px; }
  html.large-text .library-grid,
  html.large-text .path-grid { grid-template-columns: minmax(0, 1fr); }
  html.large-text .chapter-grid { grid-template-columns: minmax(0, 1fr); }
  html.large-text .chapter-link { padding: 24px 14px; }
  html.large-text .hero-bottom .carousel-controls { flex-wrap: wrap; }
  html.large-text .footer-top { grid-template-columns: minmax(0, 1fr); }
  html.large-text .footer-col,
  html.large-text .footer-about { grid-column: 1 / -1; }
  html.large-text .audio-dock label { flex-wrap: wrap; }
}

@media (max-width: 380px) {
  html.large-text .site-header .header-support { font-size: 10px !important; }
  .site-header .header-inner { gap: 8px; }
  .site-header .header-end { gap: 8px; }
  html.large-text .contact-form { padding: 20px; }
  html.large-text .resource-body,
  html.large-text .work-card,
  html.large-text .path-card,
  html.large-text .choice { padding: 22px; }
}
