/* Heartwood Design System
 * A calm, material-first system for a contemporary woodworking studio.
 * Light theme. Paper and sand surfaces with a single warm gold accent.
 */

@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap");
@import url("https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500&display=swap");

/* ---------- Tokens ---------- */

:root {
  /* Colors */
  --hw-paper: #ffffff;
  --hw-sand: #f2f0eb;
  --hw-grain: #e8e4db;
  --hw-grain-strong: #d8d2c5;
  --hw-stone: #6b6b6b;
  --hw-charcoal: #222222;
  --hw-gold: #b08a3c;
  --hw-ember: #8c6a2a;

  /* Semantic */
  --hw-bg: var(--hw-paper);
  --hw-surface: var(--hw-paper);
  --hw-surface-sunken: var(--hw-sand);
  --hw-on-surface: var(--hw-charcoal);
  --hw-on-surface-muted: var(--hw-stone);
  --hw-on-primary: var(--hw-paper);
  --hw-primary: var(--hw-gold);
  --hw-primary-hover: var(--hw-ember);
  --hw-border: var(--hw-grain);
  --hw-border-strong: var(--hw-grain-strong);
  --hw-focus: var(--hw-gold);
  --hw-focus-ring: rgba(176, 138, 60, 0.25);
  --hw-success: #5e7a4a;
  --hw-warning: #b0813c;
  --hw-error: #a64a3a;

  /* Typography */
  --hw-font-display: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw-font-ui: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw-font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --hw-font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --hw-text-12: 0.75rem;
  --hw-text-13: 0.8125rem;
  --hw-text-14: 0.875rem;
  --hw-text-16: 1rem;
  --hw-text-18: 1.125rem;
  --hw-text-24: 1.5rem;
  --hw-text-32: 2rem;
  --hw-text-40: 2.5rem;
  --hw-text-48: 3rem;
  --hw-text-64: 4rem;

  --hw-leading-tight: 1.1;
  --hw-leading-snug: 1.25;
  --hw-leading-normal: 1.4;
  --hw-leading-relaxed: 1.6;

  --hw-tracking-tight: -0.02em;
  --hw-tracking-snug: -0.01em;
  --hw-tracking-normal: 0em;
  --hw-tracking-wide: 0.08em;
  --hw-tracking-wider: 0.12em;
  --hw-tracking-widest: 0.14em;

  /* Radius */
  --hw-radius-none: 0;
  --hw-radius-xs: 2px;
  --hw-radius-sm: 4px;
  --hw-radius-md: 8px;
  --hw-radius-lg: 12px;
  --hw-radius-xl: 20px;
  --hw-radius-full: 9999px;

  /* Spacing (8px base) */
  --hw-space-0: 0;
  --hw-space-1: 4px;
  --hw-space-2: 8px;
  --hw-space-3: 12px;
  --hw-space-4: 16px;
  --hw-space-5: 24px;
  --hw-space-6: 32px;
  --hw-space-7: 48px;
  --hw-space-8: 64px;
  --hw-space-9: 96px;

  /* Layout */
  --hw-container: 1200px;
  --hw-gutter: 24px;

  /* Borders */
  --hw-border-width: 1px;
  --hw-hairline: 1px solid var(--hw-border);
  --hw-hairline-strong: 1px solid var(--hw-border-strong);

  /* Elevation */
  --hw-shadow-flat: none;
  --hw-shadow-raised: 0 8px 24px rgba(34, 34, 34, 0.06);
  --hw-shadow-floating: 0 16px 40px rgba(34, 34, 34, 0.08);

  /* Motion */
  --hw-ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --hw-duration-fast: 120ms;
  --hw-duration-base: 200ms;
}

/* ---------- Base ---------- */

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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--hw-bg);
  color: var(--hw-on-surface);
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-16);
  line-height: var(--hw-leading-relaxed);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

hr,
.hw-rule {
  border: 0;
  border-top: var(--hw-hairline);
  margin: 0;
}

::selection {
  background: rgba(176, 138, 60, 0.25);
  color: var(--hw-charcoal);
}

/* ---------- Typography ---------- */

.hw-display-xl,
.hw-display-lg,
.hw-headline-lg,
.hw-headline-md,
.hw-headline-sm {
  font-family: var(--hw-font-display);
  color: var(--hw-on-surface);
  margin: 0;
}

.hw-display-xl {
  font-weight: 200;
  font-size: var(--hw-text-64);
  line-height: var(--hw-leading-tight);
  letter-spacing: var(--hw-tracking-tight);
}

.hw-display-lg {
  font-weight: 200;
  font-size: var(--hw-text-48);
  line-height: var(--hw-leading-tight);
  letter-spacing: var(--hw-tracking-snug);
}

.hw-headline-lg {
  font-weight: 300;
  font-size: var(--hw-text-40);
  line-height: var(--hw-leading-snug);
  letter-spacing: var(--hw-tracking-snug);
}

.hw-headline-md {
  font-weight: 400;
  font-size: var(--hw-text-24);
  line-height: var(--hw-leading-snug);
}

.hw-headline-sm {
  font-weight: 500;
  font-size: var(--hw-text-18);
  line-height: var(--hw-leading-normal);
}

.hw-body-lg {
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-18);
  line-height: var(--hw-leading-relaxed);
  color: var(--hw-on-surface);
}

.hw-body-md {
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-16);
  line-height: var(--hw-leading-relaxed);
  color: var(--hw-on-surface);
}

.hw-body-sm {
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-14);
  line-height: 1.55;
  color: var(--hw-on-surface);
}

.hw-caption {
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-12);
  line-height: var(--hw-leading-normal);
  color: var(--hw-on-surface-muted);
}

.hw-label-md {
  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-13);
  line-height: var(--hw-leading-snug);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
  color: var(--hw-on-surface);
}

.hw-label-sm {
  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-12);
  line-height: var(--hw-leading-snug);
  letter-spacing: var(--hw-tracking-widest);
  text-transform: uppercase;
  color: var(--hw-on-surface);
}

.hw-mono {
  font-family: var(--hw-font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  line-height: 1.3;
  letter-spacing: var(--hw-tracking-widest);
  text-transform: uppercase;
  color: var(--hw-on-surface-muted);
}

.hw-muted {
  color: var(--hw-on-surface-muted);
}

.hw-accent {
  color: var(--hw-gold);
}

a,
.hw-link {
  color: var(--hw-gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color var(--hw-duration-fast) var(--hw-ease);
}

a:hover,
.hw-link:hover {
  color: var(--hw-ember);
}

/* ---------- Layout primitives ---------- */

.hw-container {
  width: 100%;
  max-width: var(--hw-container);
  margin-inline: auto;
  padding-inline: var(--hw-gutter);
}

.hw-section {
  padding-block: var(--hw-space-9);
}

.hw-stack > * + * {
  margin-top: var(--hw-space-4);
}

.hw-grid {
  display: grid;
  gap: var(--hw-gutter);
}

.hw-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.hw-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.hw-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.hw-grid-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }

@media (max-width: 768px) {
  .hw-grid-2,
  .hw-grid-3,
  .hw-grid-4,
  .hw-grid-12 {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hw-cluster {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hw-space-3);
  align-items: center;
}

.hw-surface {
  background: var(--hw-surface);
}

.hw-surface-sunken {
  background: var(--hw-surface-sunken);
}

/* Signature gold rule that sits to the left of titles */
.hw-mark {
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--hw-gold);
  vertical-align: middle;
  margin-right: var(--hw-space-3);
}

/* ---------- Buttons ---------- */

.hw-button {
  --hw-btn-bg: transparent;
  --hw-btn-color: var(--hw-on-surface);
  --hw-btn-border: transparent;
  --hw-btn-shadow: none;

  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--hw-space-2);
  height: 48px;
  padding: 0 var(--hw-space-6);
  background: var(--hw-btn-bg);
  color: var(--hw-btn-color);
  border: 1px solid var(--hw-btn-border);
  border-radius: var(--hw-radius-sm);
  box-shadow: var(--hw-btn-shadow);

  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-13);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  user-select: none;
  transition: background-color var(--hw-duration-fast) var(--hw-ease),
    color var(--hw-duration-fast) var(--hw-ease),
    border-color var(--hw-duration-fast) var(--hw-ease),
    box-shadow var(--hw-duration-fast) var(--hw-ease);
}

.hw-button:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--hw-paper), 0 0 0 4px var(--hw-focus);
}

.hw-button:disabled,
.hw-button[aria-disabled="true"] {
  opacity: 0.45;
  cursor: not-allowed;
}

.hw-button--primary {
  --hw-btn-bg: var(--hw-gold);
  --hw-btn-color: var(--hw-paper);
  --hw-btn-border: var(--hw-gold);
}

.hw-button--primary:hover:not(:disabled) {
  --hw-btn-bg: var(--hw-ember);
  --hw-btn-border: var(--hw-ember);
}

.hw-button--secondary {
  --hw-btn-bg: transparent;
  --hw-btn-color: var(--hw-gold);
  --hw-btn-border: var(--hw-gold);
}

.hw-button--secondary:hover:not(:disabled) {
  --hw-btn-bg: rgba(176, 138, 60, 0.08);
  --hw-btn-color: var(--hw-ember);
  --hw-btn-border: var(--hw-ember);
}

.hw-button--tertiary {
  height: auto;
  padding: var(--hw-space-2) 0;
  border: 0;
  border-radius: 0;
  color: var(--hw-gold);
  background: transparent;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 6px;
}

.hw-button--tertiary:hover:not(:disabled) {
  color: var(--hw-ember);
}

.hw-button--ghost {
  --hw-btn-bg: transparent;
  --hw-btn-color: var(--hw-charcoal);
  --hw-btn-border: var(--hw-border-strong);
}

.hw-button--ghost:hover:not(:disabled) {
  --hw-btn-bg: var(--hw-sand);
}

.hw-button--sm {
  height: 36px;
  padding: 0 var(--hw-space-4);
  font-size: var(--hw-text-12);
}

.hw-button--lg {
  height: 56px;
  padding: 0 var(--hw-space-7);
}

/* ---------- Form fields ---------- */

.hw-field {
  display: flex;
  flex-direction: column;
  gap: var(--hw-space-2);
}

.hw-field__label {
  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-12);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
  color: var(--hw-on-surface-muted);
}

.hw-input,
.hw-textarea,
.hw-select {
  width: 100%;
  height: 48px;
  padding: 0 var(--hw-space-4);
  background: var(--hw-sand);
  color: var(--hw-on-surface);
  border: 1px solid var(--hw-border);
  border-radius: var(--hw-radius-sm);
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-14);
  line-height: 1.5;
  transition: background-color var(--hw-duration-fast) var(--hw-ease),
    border-color var(--hw-duration-fast) var(--hw-ease),
    box-shadow var(--hw-duration-fast) var(--hw-ease);
  appearance: none;
}

.hw-textarea {
  height: auto;
  min-height: 96px;
  padding: var(--hw-space-3) var(--hw-space-4);
  line-height: var(--hw-leading-relaxed);
  resize: vertical;
}

.hw-input::placeholder,
.hw-textarea::placeholder {
  color: var(--hw-stone);
  opacity: 1;
}

.hw-input:hover,
.hw-textarea:hover,
.hw-select:hover {
  border-color: var(--hw-border-strong);
}

.hw-input:focus,
.hw-textarea:focus,
.hw-select:focus {
  outline: none;
  background: var(--hw-paper);
  border-color: var(--hw-gold);
  box-shadow: 0 0 0 2px var(--hw-focus-ring);
}

.hw-input:disabled,
.hw-textarea:disabled,
.hw-select:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.hw-select {
  background-image: linear-gradient(45deg, transparent 50%, var(--hw-stone) 50%),
    linear-gradient(135deg, var(--hw-stone) 50%, transparent 50%);
  background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: var(--hw-space-7);
}

/* ---------- Checkbox / Radio / Toggle ---------- */

.hw-check {
  display: inline-flex;
  align-items: center;
  gap: var(--hw-space-2);
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-14);
  color: var(--hw-on-surface);
  cursor: pointer;
  user-select: none;
}

.hw-checkbox,
.hw-radio {
  appearance: none;
  width: 18px;
  height: 18px;
  margin: 0;
  background: var(--hw-paper);
  border: 1px solid var(--hw-border-strong);
  border-radius: var(--hw-radius-xs);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color var(--hw-duration-fast) var(--hw-ease),
    border-color var(--hw-duration-fast) var(--hw-ease),
    box-shadow var(--hw-duration-fast) var(--hw-ease);
  flex-shrink: 0;
}

.hw-radio {
  border-radius: var(--hw-radius-full);
}

.hw-checkbox:hover,
.hw-radio:hover {
  border-color: var(--hw-charcoal);
}

.hw-checkbox:focus-visible,
.hw-radio:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--hw-focus-ring);
  border-color: var(--hw-gold);
}

.hw-checkbox:checked {
  background-color: var(--hw-charcoal);
  border-color: var(--hw-charcoal);
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><polyline points='3 8.5 6.5 12 13 4.5'/></svg>");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 12px 12px;
}

.hw-radio:checked {
  border-color: var(--hw-charcoal);
  background-color: var(--hw-paper);
  background-image: radial-gradient(circle, var(--hw-charcoal) 0 4px, transparent 5px);
}

/* Toggle */
.hw-toggle {
  appearance: none;
  position: relative;
  width: 38px;
  height: 22px;
  background: var(--hw-grain);
  border: 0;
  border-radius: var(--hw-radius-full);
  cursor: pointer;
  transition: background-color var(--hw-duration-base) var(--hw-ease);
  flex-shrink: 0;
}

.hw-toggle::after {
  content: "";
  position: absolute;
  top: 2px;
  left: 2px;
  width: 18px;
  height: 18px;
  background: var(--hw-paper);
  border-radius: var(--hw-radius-full);
  box-shadow: 0 1px 2px rgba(34, 34, 34, 0.12);
  transition: transform var(--hw-duration-base) var(--hw-ease);
}

.hw-toggle:checked {
  background: var(--hw-gold);
}

.hw-toggle:checked::after {
  transform: translateX(16px);
}

.hw-toggle:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--hw-focus-ring);
}

/* ---------- Card ---------- */

.hw-card {
  background: var(--hw-paper);
  border: var(--hw-hairline);
  border-radius: var(--hw-radius-lg);
  padding: var(--hw-space-6);
  color: var(--hw-on-surface);
  transition: box-shadow var(--hw-duration-base) var(--hw-ease),
    transform var(--hw-duration-base) var(--hw-ease);
  display: flex;
  flex-direction: column;
  gap: var(--hw-space-4);
}

.hw-card--interactive:hover {
  box-shadow: var(--hw-shadow-raised);
  transform: translateY(-2px);
}

.hw-card__title {
  font-family: var(--hw-font-display);
  font-weight: 400;
  font-size: var(--hw-text-24);
  line-height: var(--hw-leading-snug);
  color: var(--hw-on-surface);
  margin: 0;
  display: flex;
  align-items: center;
}

.hw-card__title::before {
  content: "";
  display: inline-block;
  width: 24px;
  height: 2px;
  background: var(--hw-gold);
  margin-right: var(--hw-space-3);
}

.hw-card__body {
  font-family: var(--hw-font-body);
  font-size: var(--hw-text-14);
  line-height: 1.6;
  color: var(--hw-on-surface-muted);
  margin: 0;
}

/* Signature: Craft Spec Card */
.hw-spec-card {
  background: var(--hw-paper);
  border: var(--hw-hairline);
  border-radius: var(--hw-radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow var(--hw-duration-base) var(--hw-ease),
    transform var(--hw-duration-base) var(--hw-ease);
}

.hw-spec-card:hover {
  box-shadow: var(--hw-shadow-raised);
  transform: translateY(-2px);
}

.hw-spec-card__media {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: var(--hw-sand);
  object-fit: cover;
  border-bottom: var(--hw-hairline);
}

.hw-spec-card__body {
  padding: var(--hw-space-5) var(--hw-space-5) var(--hw-space-4);
  display: flex;
  flex-direction: column;
  gap: var(--hw-space-2);
}

.hw-spec-card__title {
  font-family: var(--hw-font-display);
  font-weight: 400;
  font-size: var(--hw-text-18);
  line-height: var(--hw-leading-snug);
  margin: 0;
  display: flex;
  align-items: center;
}

.hw-spec-card__title::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--hw-gold);
  margin-right: var(--hw-space-3);
}

.hw-spec-card__desc {
  font-size: var(--hw-text-14);
  color: var(--hw-on-surface-muted);
  margin: 0;
}

.hw-spec-card__strip {
  display: flex;
  gap: var(--hw-space-5);
  padding: var(--hw-space-3) var(--hw-space-5);
  background: var(--hw-sand);
  border-top: var(--hw-hairline);
  font-family: var(--hw-font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: var(--hw-tracking-widest);
  text-transform: uppercase;
  color: var(--hw-on-surface-muted);
}

.hw-spec-card__strip span {
  display: inline-flex;
  align-items: center;
  gap: var(--hw-space-2);
}

.hw-spec-card__strip span::before {
  content: "";
  width: 6px;
  height: 1px;
  background: var(--hw-gold);
}

/* ---------- Tabs ---------- */

.hw-tabs {
  display: flex;
  gap: var(--hw-space-6);
  border-bottom: var(--hw-hairline);
}

.hw-tab {
  position: relative;
  background: transparent;
  border: 0;
  padding: var(--hw-space-3) 0;
  margin-bottom: -1px;
  color: var(--hw-on-surface-muted);
  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-13);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  transition: color var(--hw-duration-fast) var(--hw-ease),
    border-color var(--hw-duration-fast) var(--hw-ease);
}

.hw-tab:hover {
  color: var(--hw-on-surface);
}

.hw-tab[aria-selected="true"],
.hw-tab.is-active {
  color: var(--hw-on-surface);
  border-bottom-color: var(--hw-gold);
}

.hw-tab:focus-visible {
  outline: none;
  color: var(--hw-on-surface);
  box-shadow: 0 0 0 2px var(--hw-focus-ring);
  border-radius: var(--hw-radius-xs);
}

/* ---------- Badges / Tags ---------- */

.hw-tag {
  display: inline-flex;
  align-items: center;
  gap: var(--hw-space-2);
  padding: 4px var(--hw-space-3);
  background: var(--hw-sand);
  border: var(--hw-hairline);
  border-radius: var(--hw-radius-sm);
  font-family: var(--hw-font-mono);
  font-weight: 500;
  font-size: 0.6875rem;
  letter-spacing: var(--hw-tracking-widest);
  text-transform: uppercase;
  color: var(--hw-on-surface-muted);
}

.hw-tag--accent {
  color: var(--hw-gold);
  border-color: var(--hw-gold);
  background: rgba(176, 138, 60, 0.06);
}

/* ---------- Swatches ---------- */

.hw-swatch {
  display: flex;
  flex-direction: column;
  gap: var(--hw-space-2);
}

.hw-swatch__chip {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: var(--hw-radius-sm);
  border: var(--hw-hairline);
}

.hw-swatch__name {
  font-family: var(--hw-font-ui);
  font-weight: 600;
  font-size: var(--hw-text-12);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
  color: var(--hw-on-surface);
}

.hw-swatch__hex {
  font-family: var(--hw-font-mono);
  font-size: 0.6875rem;
  color: var(--hw-on-surface-muted);
  letter-spacing: var(--hw-tracking-wider);
  text-transform: uppercase;
}

/* ---------- Icons ---------- */

.hw-icon {
  width: 20px;
  height: 20px;
  color: currentColor;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}

.hw-icon--sm { width: 16px; height: 16px; }
.hw-icon--md { width: 20px; height: 20px; }
.hw-icon--lg { width: 24px; height: 24px; }
.hw-icon--xl { width: 32px; height: 32px; }

/* ---------- Utilities ---------- */

.hw-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hw-divider {
  height: 1px;
  background: var(--hw-border);
  border: 0;
}

.hw-divider--vertical {
  width: 1px;
  height: auto;
  align-self: stretch;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
  }
}
