[data-motion-toggle] {
  min-height: 36px;
  padding: var(--space-2) var(--space-1);
  border: 0;
  background: transparent;
  color: var(--neutral-dark);
  font: var(--weight-semibold) var(--font-size-13)/1.2 var(--font-sans);
  cursor: pointer;
}
.motion-settings {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 100;
}
.motion-settings summary {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-settings);
  border-radius: 50%;
  background: var(--surface-settings);
  color: var(--turq-dark);
  cursor: pointer;
  list-style: none;
  box-shadow: 0 2px 10px var(--shadow-teal-soft);
}
.motion-settings summary::-webkit-details-marker {
  display: none;
}
.motion-settings summary:focus-visible {
  outline: 2px solid var(--turq-dark);
  outline-offset: 4px;
}
.motion-settings-panel {
  position: absolute;
  right: 0;
  bottom: 56px;
  width: 208px;
  padding: var(--space-4);
  border: 1px solid var(--border-settings);
  border-radius: 16px;
  background: var(--surface-settings);
  color: var(--turq-dark);
  box-shadow: 0 6px 24px var(--shadow-teal-strong);
}
.motion-settings-panel p {
  margin: 0 0 var(--space-2-5);
  font: var(--weight-semibold) var(--font-size-14)/1.3 var(--font-sans);
}
.motion-settings-panel [data-motion-toggle] {
  width: 100%;
  min-height: 44px;
  padding: var(--space-2-5) var(--space-3);
  border-radius: 999px;
  background: var(--surface-settings-active);
  color: var(--turq-dark);
  text-align: center;
}
[data-motion-toggle="mobile"] {
  display: none;
}
[data-motion-toggle]:focus-visible {
  outline: 2px solid var(--turq-dark);
  outline-offset: 4px;
}
@media (max-width: 900px) {
  .motion-settings {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .motion-settings-panel {
    max-width: calc(100vw - 32px);
  }
}
html.reduce-motion *,
html.reduce-motion *::before,
html.reduce-motion *::after {
  animation: none !important;
  transition: none !important;
  scroll-behavior: auto !important;
}
html.reduce-motion [data-reveal] {
  opacity: 1 !important;
}
html.reduce-motion [data-reveal],
html.reduce-motion [data-par],
html.reduce-motion [data-m="hero-car"] > div,
html.reduce-motion [data-m="belief-image"] {
  transform: none !important;
}
html.reduce-motion:not(.motion-paused) #about {
  height: auto !important;
}
html.reduce-motion:not(.motion-paused) #about > div {
  position: relative !important;
  min-height: 650px;
  height: 100vh !important;
}
html.reduce-motion [data-m="belief-media"] {
  clip-path: inset(100px 24px 24px round 32px) !important;
}
html.reduce-motion [data-m="belief-frame"] {
  top: 100px !important;
  bottom: 24px !important;
  left: 24px !important;
  right: 24px !important;
}
html.reduce-motion:not(.motion-paused) #how {
  height: auto !important;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 24px;
  z-index: 1000;
  padding: var(--space-3-5) var(--space-5-5);
  border: 1.5px solid var(--neutral-dark);
  border-radius: 999px;
  background: var(--neutral-white);
  color: var(--turq-dark);
  font: var(--weight-medium) var(--font-size-16)/1.2 var(--font-sans);
  transform: translateY(calc(-100% - 24px));
}
.skip-link:focus {
  transform: none;
  outline: 2px solid var(--turq-dark);
  outline-offset: 3px;
}
#main-content {
  scroll-margin-top: 144px;
  min-width: 0;
}
#main-content:focus {
  outline: none;
}

[data-m="hero-car"]:focus-visible {
  outline: 2px solid var(--turq-dark);
  outline-offset: -4px;
}

/* Keep action controls visually distinct from text-entry fields. */
button,
button *,
a[href],
a[href] *,
summary,
summary * {
  cursor: pointer;
}
button:disabled,
button:disabled * {
  cursor: not-allowed;
}
:where(a[href], button, summary, input, select, textarea):focus-visible {
  outline: 2px solid var(--turq-dark) !important;
  outline-offset: 4px;
  box-shadow: 0 0 0 2px var(--neutral-white);
}
:where(a[href], button, input, select, textarea, [tabindex]) {
  scroll-margin-top: 140px;
  scroll-margin-bottom: 24px;
}
[data-m="nav-menu"] {
  max-height: calc(100dvh - 140px);
  overflow-y: auto;
}

[data-reveal]:focus-within {
  opacity: 1 !important;
  transform: none !important;
}

html.pointer-form-focus
  [data-accessible-form]
  :is(input, select, textarea):focus:not([aria-invalid="true"]) {
  outline: none !important;
  box-shadow: none !important;
}
