/* ==========================================================================
   Verso Base Styles — Fonts, Reset, Shared Shell, Buttons & Purposeful Motion
   ========================================================================== */

/* Local OFL Typography (zero external requests). Latin subsets, built by
   scripts/subset-fonts.sh */
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-SemiBoldItalic.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Accented Latin and Cyrillic, fetched only by pages that use them. These come
   after the Latin faces so they win for their unicode-range. */
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-Regular.ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-Italic.ext.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-SemiBold.ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}
@font-face {
  font-family: "Literata";
  src: url("../assets/fonts/Literata-SemiBoldItalic.ext.woff2") format("woff2");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-Regular.ext.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}
@font-face {
  font-family: "Inter";
  src: url("../assets/fonts/Inter-SemiBold.ext.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-017F, U+0300-030C, U+0400-045F, U+0490-0491;
}

/* Native Cross-Document Multi-Page Transitions: the content fades, the header
   stays still and the nav pill slides. The header, the pill and the links are
   separate layers so that the pill can move between the other two. */
@view-transition {
  navigation: auto;
}

.site-header { view-transition-name: site-header; }
.nav { view-transition-name: nav; }
.nav__link[aria-current="page"]::before { view-transition-name: nav-pill; }

::view-transition-group(nav) {
  z-index: 1;
}

::view-transition-group(nav-pill) {
  animation-duration: var(--dur-base);
  animation-timing-function: var(--ease-spring);
}

/* An open lightbox covers the header, so the page stays one layer */
:root:has(.lightbox.is-open) :is(.site-header, .nav),
:root:has(.lightbox.is-open) .nav__link[aria-current="page"]::before {
  view-transition-name: none;
}

/* The links differ in width: keep the pill's height while it stretches */
::view-transition-old(nav-pill),
::view-transition-new(nav-pill) {
  height: 100%;
}

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

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  line-height: var(--leading-body);
}

main {
  flex: 1;
}

/* Ambient lights — one layer each, so they can come on one after the other.
   Each is a true circle that ends inside its layer. The spread is animated on the gradient itself: scaling the layer would pull
   its edges into view. */
@property --light-spread {
  syntax: "<number>";
  inherits: false;
  initial-value: 1;
}

body::before,
body::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1040px;
  max-height: 100%; /* never lengthen a short page, such as filtered results */
  z-index: -1;
  pointer-events: none;
  --light-offset: clamp(140px, 23vw, 440px); /* distance from the page center */
  background: radial-gradient(
    circle calc(var(--light-radius) * var(--light-spread, 1)) at var(--light-at),
    var(--light-color),
    color-mix(in srgb, var(--light-color) 58%, transparent) 34%,
    color-mix(in srgb, var(--light-color) 18%, transparent) 68%,
    transparent
  );
  animation: lightOn 1500ms var(--ease-out) var(--light-delay) both;
}

body::before {
  --light-delay: 200ms;
  --light-color: var(--light-right);
  --light-at: calc(50% + var(--light-offset)) 300px;
  --light-radius: clamp(320px, 46vw, 720px);
}

body::after {
  --light-delay: 480ms;
  --light-color: var(--light-left);
  --light-at: calc(50% - var(--light-offset)) 270px;
  --light-radius: clamp(300px, 43vw, 670px);
}

/* Already on when arriving from another page of the site (set in <head>) */
.lights-lit body::before,
.lights-lit body::after {
  animation: none;
}

@keyframes lightOn {
  from {
    opacity: 0;
    --light-spread: 0.5;
  }
}

@media (prefers-reduced-motion: reduce) {
  body::before,
  body::after {
    animation: none;
  }
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

button {
  font-family: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: var(--leading-snug);
  margin: 0;
  color: var(--ink);
}

p {
  margin: 0;
}

code {
  font-family: var(--font-mono);
  font-size: 0.85em;
  padding: 0.12rem 0.42rem;
  border-radius: var(--radius-xs);
  background: var(--code-bg);
  border: 1px solid var(--border);
  color: var(--ink);
}

/* Layout Helpers */
.container {
  width: min(var(--container-max), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.container--narrow {
  width: min(var(--container-narrow), calc(100% - var(--gutter) * 2));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0.75rem;
  z-index: 200;
  padding: 0.6rem 1rem;
  border-radius: var(--radius-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font-weight: 600;
  text-decoration: none;
}

.skip-link:focus {
  left: 0.75rem;
}

/* ==========================================================================
   Shared Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  height: var(--nav-height);
  background: var(--surface-glass);
  backdrop-filter: blur(16px) saturate(1.3);
  -webkit-backdrop-filter: blur(16px) saturate(1.3);
  border-bottom: 1px solid var(--border);
  transition: border-color var(--dur-base) var(--ease-out);
}

/* The border waits for scrolling to start (see initHeaderBorder), except while
   the menu is open and needs an edge between itself and the header */
html:not(.no-js) .site-header:not(.is-scrolled, :has([aria-expanded="true"])) {
  border-bottom-color: transparent;
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.brand__mark {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent);
  color: var(--accent-ink);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 14px -5px var(--accent-glow);
  transition: background-color var(--dur-fast);
}

.brand__mark svg {
  overflow: visible; /* the turning page rises above the book */
}

/* The right page turns over on hover and back afterwards. The leaf lies on top of
   it and only shows while turning; its free edge lifts with the turn. */
@property --page-turn {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.brand__leaf {
  fill: var(--accent);
  transform-origin: 12px 12px;
  transform: scaleX(cos(var(--page-turn))) skewY(calc(sin(var(--page-turn)) * -24deg));
  opacity: calc(sin(var(--page-turn)) * 6);
  transition: --page-turn var(--dur-slow) ease-in-out;
}

.brand:hover .brand__leaf,
.brand:focus-visible .brand__leaf {
  --page-turn: 180deg;
}

.nav {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.nav__link {
  position: relative;
  z-index: 0; /* keeps the pill behind its own label */
  text-decoration: none;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast), background-color var(--dur-fast);
}

.nav__link:hover {
  color: var(--ink);
  background: var(--bg-subtle);
}

.nav__link[aria-current="page"] {
  color: var(--ink);
  background: none;
}

.nav__link[aria-current="page"]::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background: var(--surface);
  box-shadow: var(--shadow-xs);
  border: 1px solid var(--border);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.icon-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--ink-secondary);
  display: grid;
  place-items: center;
  cursor: pointer;
  text-decoration: none;
  transition: transform var(--dur-base) var(--ease-spring), color var(--dur-fast), border-color var(--dur-fast), background-color var(--dur-fast);
}

.icon-btn:hover {
  color: var(--ink);
  border-color: var(--border-strong);
  transform: translateY(-1px);
}

.theme-toggle svg {
  overflow: visible;
}

.theme-toggle svg,
.theme-toggle g,
.theme-toggle path {
  transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-base) var(--ease-out);
}

.theme-toggle:hover svg {
  transform: rotate(20deg);
}

/* The icon is the theme to switch to, drawn as a moon. Its outline is a round
   side and an edge that curves inward. Turning into the sun, the moon shrinks,
   its edge flips outward to close the circle, and the rays come out. */
:root { --is-dark: 0; }

@media (prefers-color-scheme: dark) {
  :root { --is-dark: 1; }
}

:root[data-theme="light"] { --is-dark: 0; }
:root[data-theme="dark"] { --is-dark: 1; }

.theme-icon__disc path {
  vector-effect: non-scaling-stroke;
  stroke-width: 1.42px; /* what the rays' 2 units come to at 17px */
}

.theme-icon__disc {
  transform-origin: 12px 12px;
  transform: scale(calc(1 - 0.557 * var(--is-dark)));
}

.theme-icon__edge {
  transform-origin: 16.105px 7.895px; /* middle of the line between its ends, which lies at 45deg */
  transform: rotate(45deg) scaleY(calc(1 - 1.54 * var(--is-dark))) rotate(-45deg);
}

.theme-icon__rays {
  transform-origin: 12px 12px;
  transform: rotate(calc(60deg * (var(--is-dark) - 1))) scale(calc(0.5 + 0.5 * var(--is-dark)));
  opacity: var(--is-dark);
}

/* Theme switch — the new theme spreads from the button like a frontlight (see
   initTheme). The page is one layer, with only the button kept on top of it. */
.is-switching-theme .site-header,
.is-switching-theme .nav,
.is-switching-theme .nav__link[aria-current="page"]::before {
  view-transition-name: none;
}

.is-switching-theme .theme-toggle {
  view-transition-name: theme-toggle;
}

.is-switching-theme :not(.theme-toggle, .theme-toggle *),
.is-switching-theme ::before,
.is-switching-theme ::after {
  transition: none !important;
}

@property --theme-spread {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.is-switching-theme::view-transition-old(root) {
  animation: none;
}

.is-switching-theme::view-transition-new(root) {
  mix-blend-mode: normal;
  -webkit-mask-image: radial-gradient(
    circle farthest-corner at var(--theme-x) var(--theme-y),
    #000 calc(var(--theme-spread) - 30%),
    transparent var(--theme-spread)
  );
  mask-image: radial-gradient(
    circle farthest-corner at var(--theme-x) var(--theme-y),
    #000 calc(var(--theme-spread) - 30%),
    transparent var(--theme-spread)
  );
  animation: themeSpread 780ms cubic-bezier(0.4, 0, 0.3, 1) both;
}

@keyframes themeSpread {
  from { --theme-spread: 0%; }
  to { --theme-spread: 130%; }
}

.is-switching-theme::view-transition-group(theme-toggle) {
  animation: none;
}

.is-switching-theme::view-transition-old(theme-toggle) {
  display: none;
}

.is-switching-theme::view-transition-new(theme-toggle) {
  animation: none;
}

.menu-btn {
  display: none;
}

/* The menu icon's lines cross into an X while the menu is open */
.menu-btn path {
  transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-fast);
}

.menu-btn__top { transform-origin: 12px 7px; }
.menu-btn__middle { transform-origin: 12px 12px; }
.menu-btn__bottom { transform-origin: 12px 17px; }

.menu-btn[aria-expanded="true"] .menu-btn__top {
  transform: translateY(5px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn__middle {
  opacity: 0;
  transform: scaleX(0);
}

.menu-btn[aria-expanded="true"] .menu-btn__bottom {
  transform: translateY(-5px) rotate(-45deg);
}

/* Mobile Nav Drawer */
.mobile-nav {
  position: fixed;
  inset: var(--nav-height) 0 auto 0;
  z-index: 85;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: var(--space-4) var(--gutter) var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden; /* keeps the closed menu's links out of the Tab order */
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out), visibility var(--dur-fast),
    transform var(--dur-base) var(--ease-out);
}

.mobile-nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-nav__link {
  text-decoration: none;
  font-size: var(--text-base);
  font-weight: 600;
  color: var(--ink-secondary);
  padding: 0.7rem 0.95rem;
  border-radius: var(--radius-sm);
  transition: background-color var(--dur-fast), color var(--dur-fast);
}

.mobile-nav__link:hover,
.mobile-nav__link[aria-current="page"] {
  background: var(--bg-subtle);
  color: var(--ink);
}

@media (max-width: 720px) {
  .nav {
    display: none;
  }
  .menu-btn {
    display: grid;
  }
}

/* ==========================================================================
   Buttons, Badges & Beta Callout
   ========================================================================== */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.88rem 1.45rem;
  border-radius: var(--radius-pill);
  border: 0;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 0.96rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 12px 26px -10px var(--accent-glow);
  transition: transform var(--dur-base) var(--ease-spring), background-color var(--dur-fast), box-shadow var(--dur-base) var(--ease-out);
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 18px 34px -10px var(--accent-glow);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-primary__icon {
  transition: transform var(--dur-base) var(--ease-spring);
}

.btn-primary:hover .btn-primary__icon {
  transform: translateY(2px);
}

.beta-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.14rem 0.52rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.22);
  color: inherit;
}

.btn-primary .beta-pill {
  background: light-dark(rgba(255, 255, 255, 0.22), rgba(11, 15, 26, 0.18));
}

.beta-pill--standalone {
  background: var(--beta-bg);
  color: var(--beta);
  border: 1px solid var(--beta-border);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.85rem 0.6rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--ink-secondary);
  text-decoration: none;
  border-radius: var(--radius-pill);
  transition: color var(--dur-fast), transform var(--dur-base) var(--ease-spring);
}

.btn-link:hover {
  color: var(--ink);
}

.btn-link__arrow {
  transition: transform var(--dur-base) var(--ease-spring);
}

.btn-link:hover .btn-link__arrow {
  transform: translateX(3px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.15rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--ink);
  font-size: var(--text-sm);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring), border-color var(--dur-fast), background-color var(--dur-fast);
}

.btn-secondary:hover {
  transform: translateY(-1.5px);
  border-color: var(--accent);
}

/* Subtle Download Version / Size / Release Notes Meta */
.download-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  font-size: var(--text-xs);
  color: var(--ink-muted);
  line-height: 1.45;
}

.download-meta__ver {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--ink-secondary);
}

.download-meta__sep {
  opacity: 0.55;
}

/* Release details that arrive after the page has loaded (see renderMeta) */
.download-meta--arrived > * {
  animation: fadeIn var(--dur-slow) var(--ease-out);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
}

.download-meta a {
  color: var(--ink-secondary);
  text-decoration: underline;
  text-decoration-color: var(--border-strong);
  text-underline-offset: 3px;
  transition: color var(--dur-fast), text-decoration-color var(--dur-fast);
}

.download-meta a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

/* Simple, Honest Beta Notice */
.beta-note {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  padding: 0.85rem 1.05rem;
  border-radius: var(--radius-sm);
  background: var(--beta-bg);
  border: 1px solid var(--beta-border);
  font-size: var(--text-sm);
  color: var(--ink-secondary);
  line-height: 1.5;
}

.beta-note__dot {
  flex: none;
  width: 8px;
  height: 8px;
  margin-top: 0.45rem;
  border-radius: 50%;
  background: var(--beta);
}

.beta-note strong {
  color: var(--ink);
}

/* ==========================================================================
   Page Header Primitive (Subpages)
   ========================================================================== */
.page-head {
  padding-block: clamp(2.8rem, 6vw, 4.5rem) clamp(2rem, 4vw, 3rem);
}

.page-head__title {
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: var(--leading-tight);
  margin-bottom: var(--space-3);
}

.page-head__lead {
  font-size: var(--text-md);
  color: var(--ink-secondary);
  max-width: 56ch;
}

/* ==========================================================================
   Shared Footer
   ========================================================================== */
.site-footer {
  margin-top: var(--space-7);
  border-top: 1px solid var(--border);
  padding-block: var(--space-6);
  font-size: var(--text-sm);
  color: var(--ink-muted);
}

.site-footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.site-footer__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--ink-secondary);
}

.site-footer__brand strong {
  font-family: var(--font-serif);
  color: var(--ink);
  font-weight: 600;
}

.site-footer__links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 1.25rem;
}

.site-footer__links a {
  text-decoration: none;
  transition: color var(--dur-fast);
}

.site-footer__links a:hover {
  color: var(--ink);
}

/* ==========================================================================
   Purposeful Reveal Motion
   ========================================================================== */

/* Icon strokes that draw themselves while a state lasts: feature icons (hover),
   a copied command, a finished install step. Paths need pathLength="1". */
.icon-draw {
  opacity: 0;
  stroke-dasharray: 1;
  stroke-dashoffset: 1;
  transition: opacity var(--dur-fast), stroke-dashoffset 0s var(--dur-fast);
}

.is-acting .icon-draw,
.is-copied .icon-draw,
.step-card.is-done.is-visible .icon-draw {
  opacity: 1;
  stroke-dashoffset: 0;
  transition: opacity 0s var(--delay, 80ms), stroke-dashoffset var(--dur-base) var(--ease-out) var(--delay, 80ms);
}

@keyframes heroEnter {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-enter {
  animation: heroEnter var(--dur-slow) var(--ease-out) var(--delay, 0ms) both;
}

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Always visible without JS (disabled, or app.js failed to load or run) */
.no-js .reveal {
  opacity: 1;
  transform: none;
}

/* Controls that only work with JS step aside; the content they switch
   between is all shown instead (see pages.css) */
.no-js [data-theme-toggle],
.no-js .menu-btn,
.no-js .segmented,
.no-js .copy-btn,
.no-js .deck-sheet__zoom-hint {
  display: none;
}

/* With no menu button, the mobile links sit in a row under the header */
@media (max-width: 720px) {
  .no-js .mobile-nav {
    position: static;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--space-1);
    padding: var(--space-2) var(--gutter);
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    transition: none;
  }
  .no-js .mobile-nav__link {
    padding: 0.45rem 0.8rem;
    font-size: var(--text-sm);
  }
}

@media (prefers-reduced-motion: reduce) {
  @view-transition {
    navigation: none;
  }
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}
