/* Shared components: header, nav, footer, buttons, cards, grid, forms, messages. */

/* Header and navigation */
.site-header { border-bottom: 1px solid var(--color-border); background: var(--color-bg); }
.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-3);
  padding-block: var(--space-3);
}
.site-header__brand { color: var(--color-text); text-decoration: none; font-weight: 700; font-size: 1.25rem; }
.site-header__logo { max-height: 3rem; width: auto; }

.site-nav__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--space-2) var(--space-4); }
.site-nav a { color: var(--color-text); text-decoration: none; padding-block: var(--space-2); display: inline-block; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--color-brand); text-decoration: underline; text-decoration-thickness: 2px; }

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem; height: 2.75rem;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  background: var(--color-bg);
  cursor: pointer;
}
.nav-toggle[hidden] { display: none; }
.nav-toggle__bar, .nav-toggle__bar::before, .nav-toggle__bar::after {
  display: block; width: 1.25rem; height: 2px; background: var(--color-text); position: relative; content: "";
}
.nav-toggle__bar::before { position: absolute; top: -6px; }
.nav-toggle__bar::after { position: absolute; top: 6px; }

/* Phone: with JS, the menu collapses behind the toggle. Without JS it simply stays open. */
@media (max-width: 767px) {
  .js .site-nav:not(.site-nav--static) { flex-basis: 100%; display: none; }
  .js .site-nav.is-open { display: block; }
  .js .site-nav .site-nav__list { flex-direction: column; gap: 0; }
}
@media (min-width: 768px) {
  .nav-toggle { display: none !important; }
}

.cart-link { font-weight: 600; text-decoration: none; padding-block: var(--space-2); }
.cart-link:hover { text-decoration: underline; }

/* Buttons */
.button-row { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-4); }
.button {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: var(--space-2) var(--space-4);
  border-radius: var(--radius);
  border: 2px solid var(--color-brand);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}
.button--primary { background: var(--color-brand); color: var(--color-on-brand); }
.button--primary:hover { background: var(--color-brand-strong); border-color: var(--color-brand-strong); color: var(--color-on-brand); }
.button--secondary { background: var(--color-bg); color: var(--color-brand); }
.button--secondary:hover { background: var(--color-surface); }

/* Grid and cards */
.grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1280px) {
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
  .grid--4 { grid-template-columns: repeat(4, 1fr); }
}
.card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-4);
  box-shadow: var(--shadow);
}
.card__img { border-radius: calc(var(--radius) / 2); margin-bottom: var(--space-3); }

/* Testimonials */
.testimonials { background: var(--color-surface); }
.testimonial figure { margin: 0; }
.testimonial blockquote { margin: 0 0 var(--space-3); font-size: 1.1rem; }
.testimonial figcaption { font-weight: 600; color: var(--color-text-muted); }

/* CTA band */
.cta-band { background: var(--color-brand); color: var(--color-on-brand); text-align: center; }
.cta-band__inner { display: flex; flex-direction: column; align-items: center; }
.cta-band .button-row { justify-content: center; }
.cta-band .button--primary { background: var(--color-on-brand); color: var(--color-brand); border-color: var(--color-on-brand); }
.cta-band .button--secondary { background: transparent; color: var(--color-on-brand); border-color: var(--color-on-brand); }

/* Forms */
.field { margin-bottom: var(--space-4); }
.field label { display: block; font-weight: 600; margin-bottom: var(--space-1); }
.field__required { color: var(--color-error); }
.field__help { color: var(--color-text-muted); font-size: 0.95rem; margin-bottom: var(--space-1); }
.field__error { color: var(--color-error); font-weight: 600; margin-bottom: var(--space-1); }
.field input[type="text"], .field input[type="email"], .field input[type="tel"], .field textarea {
  width: 100%;
  padding: var(--space-2) var(--space-3);
  border: 1px solid var(--color-text-muted);
  border-radius: var(--radius);
  font: inherit;
  color: var(--color-text);
  background: var(--color-bg);
}
.field--error input, .field--error textarea { border: 2px solid var(--color-error); }
.field--checkbox { display: grid; grid-template-columns: auto 1fr; gap: var(--space-2); align-items: start; }
.field--checkbox .field__error { grid-column: 1 / -1; }
.field--checkbox input { width: 1.25rem; height: 1.25rem; margin-top: 0.2rem; }
.field--checkbox label { font-weight: 400; }

/* Honeypot: hidden from people, visible to naive bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.error-summary {
  border: 3px solid var(--color-error);
  border-radius: var(--radius);
  padding: var(--space-3) var(--space-4);
  margin-bottom: var(--space-4);
}
.error-summary h2 { font-size: var(--font-size-h3); color: var(--color-error); }
.error-summary a { color: var(--color-error); font-weight: 600; }

/* Messages and banners */
.messages { padding-top: var(--space-3); }
.message { padding: var(--space-3); border-radius: var(--radius); background: var(--color-surface); border-left: 4px solid var(--color-brand); }
.message--error { border-left-color: var(--color-error); }
.message--success { border-left-color: var(--color-success); }

.staging-banner { background: var(--color-warning-bg); color: var(--color-warning-text); padding: var(--space-2) var(--space-3); text-align: center; }
.staging-banner p { margin: 0; }

/* Footer */
.site-footer { background: var(--color-surface); border-top: 1px solid var(--color-border); padding-top: var(--space-5); margin-top: var(--space-5); }
.site-footer__grid { display: grid; gap: var(--space-4); grid-template-columns: 1fr; }
@media (min-width: 768px) { .site-footer__grid { grid-template-columns: repeat(3, 1fr); } }
.site-footer__heading { font-size: 1.1rem; }
.site-footer__bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--space-3);
  padding-block: var(--space-4);
  color: var(--color-text-muted);
  font-size: 0.95rem;
}
.site-footer__bottom p { margin: 0; }
.site-footer__legal { list-style: none; display: flex; gap: var(--space-4); margin: 0; padding: 0; }

/* Page heading on a banner photo (partials/page_head.html, Admin → Page banners). The photo is
   darkened with --color-overlay so the heading and text stay readable. */
.page-head--banner { position: relative; overflow: hidden; background: var(--color-overlay-solid); color: var(--color-on-overlay); text-align: center; }
.page-head--banner .page-head__media { position: absolute; inset: 0; }
.page-head--banner .page-head__img { width: 100%; height: 100%; object-fit: cover; }
.page-head--banner .page-head__media::after { content: ""; position: absolute; inset: 0; background: var(--color-overlay); }
.page-head__inner { position: relative; }
.page-head--banner h1, .page-head--banner .lead, .page-head--banner .prose { color: var(--color-on-overlay); margin-inline: auto; }
.page-head--banner .prose a { color: var(--color-on-overlay); }
@media (min-width: 768px) { .page-head--banner { padding-block: 7rem; } }
/* Artwork banner: the whole image (words in it stay readable), the heading below it. */
.page-head--artwork { padding-top: 0; text-align: center; }
.page-head--artwork .page-head__img { display: block; width: 100%; height: auto; margin-bottom: var(--space-4); }
.page-head--artwork .lead, .page-head--artwork .prose { margin-inline: auto; }

/* ============================================================================================
   The Certified Za (docs/client.md "Brand"): the newest blog design (March 2026 on) for the
   whole site. Colours and fonts come from tokens.css; this section styles the shared blog block
   classes (templates/blog/blocks/) the way the client's own posts looked.
   ============================================================================================ */
body { -webkit-font-smoothing: antialiased; }
body a { color: var(--color-brand); text-underline-offset: 3px; }
body .prose strong, body .prose b { color: var(--color-brand); font-weight: 600; }

body .site-header { background: var(--color-brand); border-bottom: 0; }
body .site-header a, body .site-header__name { color: var(--color-on-brand); }
body .site-header__name { font-family: var(--font-heading); font-size: 1.3rem; letter-spacing: 0.08em; text-transform: uppercase; }
body .site-header__logo { max-height: 4rem; width: auto; filter: invert(1) brightness(0.96); }
body .site-header__brand { display: inline-flex; align-items: center; gap: 0.75rem; }
body .site-header__mark { height: 3.4rem; width: auto; flex: none; }
@media (max-width: 30em) { body .site-header__mark { height: 2.6rem; } body .site-header__name { font-size: 1.05rem; } }
body .site-nav__list a { font-family: var(--font-mono); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; text-decoration: none; }
body .site-nav__list a:hover, body .site-nav__list a[aria-current="page"] { color: var(--color-amber-light); }
body .nav-toggle { background: transparent; border-color: var(--color-green-pale); }
body .nav-toggle__bar, body .nav-toggle__bar::before, body .nav-toggle__bar::after { background: var(--color-on-brand); }
body .site-footer { background: var(--color-dark); color: #c8c0b0; }
body .site-footer__bottom { color: #c8c0b0; } /* the muted brown is 2.6:1 on the dark footer */
body .site-footer a { color: var(--color-amber-light); }
body .button { border-radius: var(--radius); font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; }
body .button--secondary { background: transparent; border: 1.5px solid currentColor; }
/* "Get in touch" band (posts, About): light paper, so dark text and green buttons. */
body .cta-band { background: var(--color-surface); color: var(--color-text); border-top: 1px solid var(--color-border); }
body .cta-band h2 { color: var(--color-brand); }
body .cta-band .button--primary { background: var(--color-brand); color: var(--color-on-brand); border-color: var(--color-brand); }
body .cta-band .button--primary:hover { background: var(--color-brand-strong); border-color: var(--color-brand-strong); }
body .cta-band .button--secondary { background: transparent; color: var(--color-brand); border-color: var(--color-brand); }

/* Small mono labels used across the design */
body .label-mono,
body .post-hero__eyebrow,
body .post-hero__meta,
body .callout__label,
body .labelled-list__label,
body .post-cards__eyebrow,
body .post-audio__label,
body .post-stats__label,
body .post-card__category,
body .blog-head__kicker { font-family: var(--font-mono); letter-spacing: 0.15em; text-transform: uppercase; }

/* ---- Post hero, full width ---- */
body .post-hero { background: var(--color-brand); color: var(--color-on-brand); padding-block: var(--space-6) var(--space-5); position: relative; overflow: hidden; }
body .post-hero::before { content: ""; position: absolute; top: -5rem; right: -5rem; width: 31rem; height: 31rem; border-radius: 50%; background: radial-gradient(circle, rgb(138 181 143 / 0.12) 0%, transparent 70%); pointer-events: none; }
body .post-hero__inner { position: relative; }
body .post-hero a { color: var(--color-on-brand); }
body .post-hero .post__back a { color: var(--color-green-pale); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; }
body .post-hero__eyebrow { display: inline-block; font-size: 0.7rem; color: var(--color-amber-light); border: 1px solid var(--color-amber); padding: 0.25rem 0.75rem; border-radius: 2px; margin-bottom: var(--space-4); }
body .post-hero__title { color: var(--color-on-brand); font-weight: 900; font-size: var(--font-size-h1); }
body .post-hero__standfirst { color: var(--color-green-pale); font-size: 1.05rem; line-height: 1.65; max-width: 40rem; }
body .post-hero__meta { font-size: 0.72rem; color: #c8c0b0; border-top-color: rgb(255 255 255 / 0.12); }
body .post-hero__meta a { color: var(--color-green-pale); }
body .post__figure { margin-top: var(--space-5); }
body .post__img { border-radius: var(--radius); }

/* ---- Audio band ---- */
body .post-audio { background: var(--color-dark); color: var(--color-on-brand); padding-block: var(--space-5); margin-top: var(--space-5); }
body .post-audio__icon { width: 3.25rem; height: 3.25rem; padding: 0.9rem; border-radius: 50%; background: var(--color-brand); border: 2px solid var(--color-green-mid); fill: var(--color-amber-light); }
body .post-audio__label { font-size: 0.68rem; color: var(--color-amber-light); font-weight: 400; }
body .post-audio__label span { color: #c8c0b0; }

/* ---- Article column ---- */
body .post__body { padding-block: var(--space-6) var(--space-5); }
body .post__body h2 { color: var(--color-brand); font-size: var(--font-size-h2); margin: 3.25rem 0 1.25rem; line-height: 1.25; }
body .post__body h3 { color: var(--color-brand); margin-top: 2.25rem; }
body .post__body h4 { font-family: var(--font-mono); font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-accent); margin-top: 2rem; }
body .post__body p { margin-bottom: 1.25rem; }

/* Stat strip: full width, amber */
body .post-stats { background: var(--color-amber); color: var(--color-dark); border-radius: 0; margin: var(--space-5) calc(50% - 50vw); padding: 1.25rem max(1rem, calc(50vw - 24.375rem)); }
body .post-stats__list { gap: 0; }
body .post-stats__item { padding: 0.6rem 1rem; border-right: 1px solid rgb(255 255 255 / 0.35); }
body .post-stats__item:last-child { border-right: 0; }
body .post-stats__value { font-family: var(--font-heading); font-weight: 900; font-size: clamp(1.8rem, 3vw, 2.2rem); color: var(--color-dark); }
body .post-stats__label { font-size: 0.65rem; color: var(--color-dark); line-height: 1.4; margin-top: 0.5rem; }
@media (max-width: 40rem) { body .post-stats__item { border-right: 0; border-bottom: 1px solid rgb(255 255 255 / 0.35); } body .post-stats__item:last-child { border-bottom: 0; } }

/* Callouts: summary (green box), tip (green outline), note (amber outline), context (series) */
body .callout { border-radius: var(--radius); margin: 2.5rem 0; padding: 1.75rem 2rem; border: 0; background: none; }
body .callout__label { font-size: 0.68rem; font-weight: 400; }
body .callout p:last-child, body .callout ul:last-child { margin-bottom: 0; }
body .callout--summary { background: var(--color-brand); color: var(--color-on-brand); }
body .callout--summary .callout__label { color: var(--color-amber-light); margin-bottom: 1.25rem; }
body .callout--summary a, body .callout--summary b, body .callout--summary strong { color: var(--color-on-brand); }
body .callout--summary ul { list-style: none; padding: 0; margin: 0; }
body .callout--summary li { position: relative; padding: 0.75rem 0 0.75rem 1.5rem; border-bottom: 1px solid rgb(255 255 255 / 0.1); }
body .callout--summary li:last-child { border-bottom: 0; }
body .callout--summary li::before { content: "→"; position: absolute; left: 0; color: var(--color-amber-light); font-family: var(--font-mono); }
body .callout--tip, body .callout--note, body .callout--warning { position: relative; border: 1.5px solid var(--color-green-mid); background: rgb(74 124 82 / 0.05); margin-top: 3rem; }
body .callout--note { border-color: var(--color-amber); background: rgb(200 135 58 / 0.06); }
body .callout--warning { border-color: var(--color-error); background: rgb(155 28 28 / 0.04); }
body .callout--tip .callout__label, body .callout--note .callout__label, body .callout--warning .callout__label { position: absolute; top: -0.75rem; left: 1.25rem; background: var(--color-bg); padding: 0 0.6rem; line-height: 1.5rem; margin: 0; color: var(--color-green-mid); }
body .callout--note .callout__label { color: var(--color-accent); }
body .callout--warning .callout__label { color: var(--color-error); }
body .callout--context { background: var(--color-surface); border-left: 4px solid var(--color-amber); border-radius: 0 var(--radius) var(--radius) 0; font-family: var(--font-mono); font-size: 0.82rem; line-height: 1.6; color: var(--color-text-muted); padding: 1rem 1.25rem; margin-top: 0; }
body .callout--context .callout__label { display: inline-block; background: var(--color-amber); color: var(--color-dark); padding: 0.2rem 0.75rem; border-radius: 2px; font-size: 0.65rem; margin-bottom: 0.6rem; }
body .callout--context a { font-weight: 600; }

/* Pull quote */
body .pull-quote { border-left: 4px solid var(--color-amber); background: rgb(200 135 58 / 0.07); padding: 1.5rem 2rem; margin: 2.5rem 0; border-radius: 0 var(--radius) var(--radius) 0; }
body .pull-quote blockquote { font-family: var(--font-heading); font-size: 1.25rem; color: var(--color-brand); line-height: 1.55; }
body .pull-quote blockquote p { margin: 0; }
body .pull-quote figcaption { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; }

/* Labelled list (function list, series tracker) */
body .labelled-list { background: var(--color-surface); border-radius: var(--radius); padding: 1.75rem 2rem; margin: 2.5rem 0; }
body .labelled-list__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-accent); margin: 0 0 1.25rem; }
body .labelled-list li { grid-template-columns: 8.5rem 1fr; padding-block: 1rem; border-bottom-color: var(--color-border); }
body .labelled-list li:first-child { padding-top: 0; }
body .labelled-list li:last-child { border-bottom: 0; padding-bottom: 0; }
body .labelled-list__label { font-size: 0.68rem; font-weight: 500; color: var(--color-green-mid); padding-top: 0.2rem; }

/* Card grid */
body .post-cards__grid { grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); }
body .post-cards__card { background: rgb(255 255 255 / 0.5); border-top: 3px solid var(--color-green-mid); border-radius: var(--radius); padding: 1.4rem 1.5rem; }
body .post-cards__card:nth-child(even) { border-top-color: var(--color-amber); }
body .post-cards__eyebrow { font-size: 0.65rem; color: var(--color-accent); }
body .post-cards__heading { font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--color-green-mid); font-weight: 500; }
body .post-cards__card p { font-size: 0.92rem; line-height: 1.6; margin-bottom: 0.5rem; }

/* Table */
body .post-table table { font-size: 0.92rem; }
body .post-table th { background: var(--color-brand); color: var(--color-on-brand); font-family: var(--font-mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; font-weight: 500; }
body .post-table td { border-bottom-color: var(--color-border); }
body .post-table tbody tr:nth-child(even) td { background: rgb(255 255 255 / 0.4); }
body .status { font-family: var(--font-mono); font-size: 0.65rem; letter-spacing: 0.06em; text-transform: uppercase; border-radius: 2px; }
body .status--good { background: var(--color-brand); color: var(--color-on-brand); }
body .status--mixed { background: var(--color-amber); color: var(--color-dark); }
body .status--none { background: var(--color-surface); color: var(--color-text-muted); border: 1px solid var(--color-border); }

/* FAQ, sources, downloads, divider */
body .post-faq { border-top: 1px solid var(--color-border); margin-top: 3.25rem; padding-top: 0.5rem; }
body .post-faq h3 { font-size: 1.12rem; margin: 1.75rem 0 0.5rem; }
body .post-sources { background: var(--color-surface); border-top: 0; border-radius: var(--radius); padding: 1.5rem 1.75rem; color: var(--color-text-muted); line-height: 1.7; }
body .post-sources__title { font-family: var(--font-mono); font-size: 0.72rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--color-text); }
body .post-sources ol { padding-left: 1.25rem; margin: 0; }
body .post-sources li { margin-bottom: 0.75rem; }
body .post-download a { border-color: var(--color-green-mid); background: rgb(74 124 82 / 0.05); }
body .post-divider { border-top-color: var(--color-border); margin-block: 3rem; }

/* Blog listing */
body .blog-head { background: var(--color-brand); color: var(--color-on-brand); padding-bottom: var(--space-5); }
body .blog-head h1 { color: var(--color-on-brand); font-weight: 900; }
body .blog-head .lead, body .blog-head .lead p { color: var(--color-green-pale); }
body .blog-head a { color: var(--color-amber-light); }
body .blog-head__kicker { font-size: 0.72rem; }
body .blog-search input { border-color: transparent; border-radius: var(--radius); background: var(--color-bg); font-family: var(--font-body); }
body .blog-search .button--primary { background: var(--color-amber); color: var(--color-dark); border-color: var(--color-amber); }
body .blog-categories a { border-color: rgb(245 240 232 / 0.4); color: var(--color-on-brand); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }
body .blog-categories a[aria-current="page"] { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-dark); }
body .blog-categories .count { color: inherit; opacity: 0.8; }
body .blog-head .topic-chips a { background: rgb(245 240 232 / 0.12); color: var(--color-on-brand); }
body .blog-head .topic-chips a:hover, body .blog-head .topic-chips a[aria-current="page"] { background: rgb(245 240 232 / 0.25); }
body .topic-chips a { background: var(--color-surface); font-size: 0.85rem; }
body .post-card { background: rgb(255 255 255 / 0.55); border: 0; border-top: 3px solid var(--color-green-mid); border-radius: var(--radius); }
body .post-card__category { font-size: 0.65rem; color: var(--color-accent); }
body .post-card__title { font-size: 1.2rem; }
body .post-card__title a { color: var(--color-brand); }
body .post-card__audio { color: var(--color-accent); }
body .related-posts { background: var(--color-surface); }

/* Home: latest posts and Strain Vault teaser (templates/certified/_home_sections.html) */
body .home-latest .post-card:first-child { grid-column: 1 / -1; }
@media (min-width: 48rem) {
  body .home-latest .post-card:first-child { display: grid; grid-template-columns: 1.2fr 1fr; column-gap: var(--space-5); align-content: start; }
  body .home-latest .post-card:first-child > a:first-child { grid-row: 1 / span 6; }
  body .home-latest .post-card:first-child > :not(a:first-child) { grid-column: 2; }
  body .home-latest .post-card:first-child .post-card__img { margin: 0; height: 100%; }
  body .home-latest .post-card:first-child .post-card__title { font-size: 1.6rem; }
}
body .feature a { text-decoration: none; }
body .hero { background: var(--color-brand); color: var(--color-on-brand); }
body .hero h1 { color: var(--color-on-brand); font-weight: 900; }
body .hero .hero__sub { color: var(--color-green-pale); }
body .hero .button--primary { background: var(--color-amber); border-color: var(--color-amber); color: var(--color-dark); }
body .hero .button--secondary { color: var(--color-on-brand); }

/* Back-to-top button (templates/base.html, static/js/site.js). */
.to-top {
  position: fixed;
  right: max(1rem, env(safe-area-inset-right));
  bottom: max(1rem, env(safe-area-inset-bottom));
  z-index: 50;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--color-brand);
  color: var(--color-on-brand);
  box-shadow: var(--shadow);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.5rem);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
}
.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.to-top:hover {
  background: var(--color-brand-strong);
}
.to-top:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .to-top {
    transition: none;
  }
}
@media print {
  .to-top {
    display: none;
  }
}
