/* Structural Serenity — lattice trace system */
:root {
  --color-primary: #0047ab;
  --color-secondary: #f7f4f1;
  --color-ink: #1a1a1b;
  --color-mist: rgba(247, 244, 241, 0.72);
  --color-glass: rgba(26, 26, 27, 0.06);
  --font-primary: "Outfit", system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", "Courier New", monospace;
  --space-xs: 0.35rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.75rem;
  --space-xl: 2.75rem;
  --space-2xl: 4rem;
  --radius-sm: 0.35rem;
  --radius-md: 0.65rem;
  --radius-lg: 1.1rem;
  --shadow-soft: 0 0.6rem 2rem rgba(26, 26, 27, 0.08);
  --shadow-lift: 0 1.2rem 3.2rem rgba(0, 71, 171, 0.12);
  --transition-fast: 0.28s ease;
  --transition-slow: 0.55s ease;
  --line-wide: min(92%, 72rem);
  --header-pad: clamp(0.85rem, 2vw, 1.25rem);
  --z-overlay: 40;
  --z-header: 30;
  --z-cursor: 60;
}

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

html {
  font-size: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: var(--font-primary);
  color: var(--color-ink);
  background: var(--color-secondary);
  line-height: 1.55;
  min-height: 100vh;
  overflow-x: hidden;
}

body.phase-deep-focus {
  filter: grayscale(1);
}

body.phase-deep-focus .visual-asset,
body.phase-deep-focus .banner-stack-photo,
body.phase-deep-focus .product-tile-visual {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

a {
  color: var(--color-primary);
  text-decoration-thickness: 0.08em;
  text-underline-offset: 0.2em;
  transition: color var(--transition-fast), opacity var(--transition-fast);
}

a:hover,
a:focus-visible {
  color: #00327a;
}

a:focus-visible {
  outline: 0.15rem solid var(--color-primary);
  outline-offset: 0.12rem;
}

.skip-to-content {
  position: absolute;
  left: -999rem;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.skip-to-content:focus {
  position: fixed;
  left: var(--space-md);
  top: var(--space-md);
  width: auto;
  height: auto;
  padding: var(--space-sm) var(--space-md);
  background: var(--color-secondary);
  z-index: 100;
}

.trace-page-wrap {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header — translucent ribbon, non-sticky */
.trace-site-header {
  position: relative;
  z-index: var(--z-header);
  width: 100%;
  padding: var(--header-pad) clamp(0.75rem, 3vw, 2rem);
  background: linear-gradient(
    120deg,
    rgba(247, 244, 241, 0.94),
    rgba(247, 244, 241, 0.78)
  );
  backdrop-filter: blur(0.65rem);
  border-bottom: 0.0625rem solid rgba(26, 26, 27, 0.08);
  transform: translateY(0);
  transition: transform var(--transition-slow), box-shadow var(--transition-fast);
}

.trace-site-header.is-header-retracted {
  transform: translateY(-120%);
  box-shadow: none;
}

.trace-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  width: var(--line-wide);
  margin: 0 auto;
  flex-wrap: wrap;
}

.trace-brand-label {
  font-weight: 700;
  font-size: clamp(1.05rem, 2.4vw, 1.25rem);
  letter-spacing: 0.02em;
  color: var(--color-ink);
  white-space: nowrap;
}

.trace-brand-label a {
  color: inherit;
  text-decoration: none;
}

.trace-header-tools {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-left: auto;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trace-focus-switch {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-ink);
  cursor: pointer;
  user-select: none;
}

.trace-focus-switch input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--color-primary);
}

/* Nav + burger: burger always last in flex order */
.trace-nav-panel {
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1.5vw, 0.85rem);
}

.trace-nav-cluster {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.35rem, 1.2vw, 0.65rem);
}

.trace-nav-cluster a {
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--color-ink);
  padding: 0.35rem 0.55rem;
  border-radius: var(--radius-sm);
  background: transparent;
}

.trace-nav-cluster a:hover,
.trace-nav-cluster a:focus-visible {
  background: rgba(0, 71, 171, 0.08);
  color: var(--color-primary);
}

.trace-burger-toggle {
  order: 999;
  display: none;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  border: 0.0625rem solid rgba(26, 26, 27, 0.15);
  background: rgba(247, 244, 241, 0.85);
  cursor: pointer;
  flex-shrink: 0;
  transition: background var(--transition-fast), border-color var(--transition-fast);
}

.trace-burger-toggle:hover,
.trace-burger-toggle:focus-visible {
  background: #fff;
  border-color: var(--color-primary);
}

.trace-burger-toggle span {
  display: block;
  width: 1.25rem;
  height: 0.125rem;
  background: var(--color-ink);
  position: relative;
  transition: transform var(--transition-fast);
}

.trace-burger-toggle span::before,
.trace-burger-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 0.125rem;
  background: var(--color-ink);
  transition: transform var(--transition-fast);
}

.trace-burger-toggle span::before {
  top: -0.35rem;
}

.trace-burger-toggle span::after {
  top: 0.35rem;
}

.trace-burger-toggle[aria-expanded="true"] span {
  background: transparent;
}

.trace-burger-toggle[aria-expanded="true"] span::before {
  transform: translateY(0.35rem) rotate(45deg);
}

.trace-burger-toggle[aria-expanded="true"] span::after {
  transform: translateY(-0.35rem) rotate(-45deg);
}

@media (max-width: 63.9375rem) {
  .trace-burger-toggle {
    display: inline-flex;
  }

  .trace-nav-cluster {
    position: fixed;
    left: 0;
    right: 0;
    top: 4.5rem;
    bottom: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: var(--space-xl) var(--space-md);
    min-height: calc(100vh - 4.5rem);
    min-height: calc(100dvh - 4.5rem);
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background: rgba(247, 244, 241, 0.98);
    backdrop-filter: blur(0.85rem);
    transform: translateX(100%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition-slow), opacity var(--transition-fast);
    z-index: var(--z-overlay);
    border-left: none;
    border-top: 0.0625rem solid rgba(26, 26, 27, 0.08);
    box-shadow: 0 -0.25rem 1.5rem rgba(26, 26, 27, 0.06);
  }

  .trace-nav-cluster.is-nav-revealed {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
  }

  .trace-nav-cluster li {
    width: 100%;
    max-width: 20rem;
    display: flex;
    justify-content: center;
    text-align: center;
  }

  .trace-nav-cluster a {
    font-size: 1.05rem;
    width: auto;
    padding: 0.75rem 1.15rem;
    text-align: center;
  }

  body.nav-open-overflow {
    overflow: hidden;
  }
}

@media (min-width: 64rem) {
  .trace-burger-toggle {
    display: none;
  }

  .trace-nav-cluster {
    position: static;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    background: transparent;
    border: none;
    box-shadow: none;
    padding: 0;
    margin: 0;
    flex-direction: row;
    max-width: none;
  }
}

.trace-main-slab {
  flex: 1;
}

/* Parallax strata */
.trace-parallax-stratum {
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Full-width banner — image under text */
.banner-full-bleed {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(16rem, 42vw, 28rem);
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.banner-stack-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.banner-stack-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    120deg,
    rgba(26, 26, 27, 0.72) 0%,
    rgba(26, 26, 27, 0.38) 45%,
    rgba(247, 244, 241, 0.25) 100%
  );
  pointer-events: none;
}

.banner-stack-copy {
  position: relative;
  z-index: 2;
  padding: clamp(1.75rem, 5vw, 3.5rem) clamp(1rem, 4vw, 3rem);
  width: var(--line-wide);
  margin: 0 auto;
  color: #f7f4f1;
}

.banner-stack-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: var(--space-sm);
}

.banner-stack-title {
  font-size: clamp(1.65rem, 4.2vw, 2.65rem);
  font-weight: 700;
  line-height: 1.12;
  margin: 0 0 var(--space-md);
  max-width: 22ch;
}

.banner-stack-lede {
  font-size: clamp(0.95rem, 2vw, 1.05rem);
  max-width: 36ch;
  margin: 0 0 var(--space-lg);
  opacity: 0.95;
}

.banner-stack-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.btn-primary-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.1rem;
  border-radius: var(--radius-md);
  border: 0.09rem solid rgba(247, 244, 241, 0.55);
  color: #f7f4f1;
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  background: rgba(26, 26, 27, 0.22);
  backdrop-filter: blur(0.35rem);
}

.btn-primary-outline:hover,
.btn-primary-outline:focus-visible {
  background: rgba(247, 244, 241, 0.18);
  color: #fff;
}

.btn-ghost-dark {
  display: inline-flex;
  align-items: center;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  background: var(--color-secondary);
  color: var(--color-ink);
  font-weight: 600;
  font-size: 0.88rem;
  text-decoration: none;
  border: 0.0625rem solid rgba(26, 26, 27, 0.12);
}

.btn-ghost-dark:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

/* Section zones */
.zone-stack {
  width: var(--line-wide);
  margin: 0 auto;
  padding: clamp(2.25rem, 6vw, 3.75rem) clamp(0.75rem, 3vw, 2rem);
}

.zone-stack-header {
  max-width: 40ch;
  margin-bottom: var(--space-xl);
}

.zone-stack-title {
  font-size: clamp(1.35rem, 3vw, 1.85rem);
  margin: 0 0 var(--space-sm);
}

.zone-stack-note {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(26, 26, 27, 0.55);
  margin-bottom: var(--space-sm);
}

.zone-grid-split {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr));
  gap: var(--space-lg);
  align-items: start;
}

.glass-panel {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.5);
  border: 0.0625rem solid rgba(26, 26, 27, 0.07);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(0.45rem);
}

.glass-panel h3 {
  margin-top: 0;
  font-size: 1.1rem;
}

.glass-panel p {
  margin-bottom: 0;
  color: rgba(26, 26, 27, 0.82);
}

.zone-figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid rgba(26, 26, 27, 0.08);
  box-shadow: var(--shadow-soft);
  min-height: 12rem;
  background: #e8e3dd;
}

.zone-figure img {
  width: 100%;
  height: 100%;
  min-height: 12rem;
  object-fit: cover;
}

.pulse-orb {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 32%, #6fa8ff, var(--color-primary));
  margin-bottom: var(--space-md);
  animation: orb-breathe 6s ease-in-out infinite;
}

@keyframes orb-breathe {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08);
    opacity: 1;
  }
}

.line-shift-deco {
  height: 0.35rem;
  background: linear-gradient(
    90deg,
    var(--color-primary),
    rgba(0, 71, 171, 0.2),
    var(--color-primary)
  );
  background-size: 200% 100%;
  animation: line-drift 12s linear infinite;
  border-radius: var(--radius-sm);
  margin-top: var(--space-md);
}

@keyframes line-drift {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 200% 50%;
  }
}

/* Footer */
.trace-site-footer {
  padding: var(--space-xl) clamp(0.75rem, 3vw, 2rem);
  background: var(--color-ink);
  color: #e3e0dc;
  margin-top: auto;
}

.trace-footer-inner {
  width: var(--line-wide);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.trace-footer-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm) var(--space-md);
}

.trace-footer-menu a {
  color: #e3e0dc;
  font-size: 0.82rem;
  text-decoration: none;
  opacity: 0.88;
}

.trace-footer-menu a:hover,
.trace-footer-menu a:focus-visible {
  opacity: 1;
  color: #fff;
  text-decoration: underline;
}

.trace-footer-meta {
  font-size: 0.78rem;
  font-family: var(--font-mono);
  opacity: 0.72;
  line-height: 1.5;
}

/* Timeline cadence */
.timeline-shell {
  position: relative;
  padding-left: 1.5rem;
  border-left: 0.125rem solid rgba(0, 71, 171, 0.25);
}

.timeline-node {
  position: relative;
  padding-bottom: var(--space-xl);
}

.timeline-node::before {
  content: "";
  position: absolute;
  left: -1.78rem;
  top: 0.25rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 0.35rem rgba(0, 71, 171, 0.15);
}

.timeline-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(26, 26, 27, 0.55);
}

/* Meeting sync tool */
.sync-tool-card {
  margin-top: var(--space-lg);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(0, 71, 171, 0.06);
  border: 0.0625rem dashed rgba(0, 71, 171, 0.35);
}

.sync-tool-output {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  margin-top: var(--space-md);
  padding: var(--space-md);
  background: #fff;
  border-radius: var(--radius-md);
  min-height: 4rem;
  color: var(--color-ink);
}

.sync-tool-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.btn-small-solid {
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-md);
  border: none;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-primary);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.82rem;
}

.btn-small-solid:hover,
.btn-small-solid:focus-visible {
  background: #003a8f;
}

/* Bento momentum */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: var(--space-md);
}

.bento-cell {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  border: 0.0625rem solid rgba(26, 26, 27, 0.08);
  min-height: 10rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  position: relative;
  overflow: hidden;
}

.bento-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 80% 20%,
    rgba(0, 71, 171, 0.14),
    transparent 55%
  );
  pointer-events: none;
}

.bento-cell h3 {
  position: relative;
  z-index: 1;
  margin: 0 0 var(--space-sm);
  font-size: 1.05rem;
}

.bento-cell p {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.88rem;
  color: rgba(26, 26, 27, 0.78);
}

.garden-meter {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-top: var(--space-md);
}

.garden-petal {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 50% 0 50% 50%;
  background: #7cc79a;
  opacity: 0.35;
  transform: rotate(45deg);
  animation: petal-grow 4.5s ease-in-out infinite;
}

.garden-petal:nth-child(2) {
  animation-delay: 0.4s;
  background: #6aa2ff;
}

.garden-petal:nth-child(3) {
  animation-delay: 0.8s;
  background: #f0c987;
}

@keyframes petal-grow {
  0%,
  100% {
    transform: rotate(45deg) scale(0.85);
    opacity: 0.35;
  }
  50% {
    transform: rotate(45deg) scale(1.05);
    opacity: 0.9;
  }
}

/* Catalog resources */
.catalog-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(18rem, 1fr));
  gap: var(--space-lg);
  align-items: stretch;
}

.catalog-card {
  display: flex;
  flex-direction: column;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid rgba(26, 26, 27, 0.1);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.catalog-visual {
  position: relative;
  min-height: 11rem;
}

.catalog-visual img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  object-fit: cover;
}

.catalog-body {
  padding: var(--space-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.catalog-body h3 {
  margin: 0;
  font-size: 1.05rem;
}

.catalog-body p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  color: rgba(26, 26, 27, 0.8);
}

/* Contact */
.contact-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr));
  gap: var(--space-xl);
  align-items: start;
}

.contact-card {
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.55);
  border: 0.0625rem solid rgba(26, 26, 27, 0.08);
}

.contact-form label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.55rem 0.65rem;
  border-radius: var(--radius-md);
  border: 0.0625rem solid rgba(26, 26, 27, 0.18);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
  background: #fff;
}

.contact-form textarea {
  min-height: 8rem;
  resize: vertical;
}

.consent-row {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  margin-bottom: var(--space-md);
  font-size: 0.82rem;
}

.consent-row input {
  width: auto;
  margin-top: 0.2rem;
}

.halo-map-frame {
  width: 100%;
  border: 0;
  min-height: 16rem;
  border-radius: var(--radius-lg);
  filter: grayscale(0.15);
}

/* Products */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr));
  gap: var(--space-lg);
}

.product-tile {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 0.0625rem solid rgba(26, 26, 27, 0.1);
  background: #fff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.product-tile-visual {
  min-height: 10rem;
}

.product-tile-visual img {
  width: 100%;
  height: 100%;
  min-height: 10rem;
  object-fit: cover;
}

.product-tile-body {
  padding: var(--space-lg);
}

.product-price {
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--color-primary);
  margin-top: var(--space-sm);
}

/* Legal prose */
.legal-prose {
  max-width: 48rem;
  margin: 0 auto;
  padding: var(--space-xl) clamp(0.75rem, 3vw, 2rem);
}

.legal-prose h1 {
  font-size: clamp(1.5rem, 3vw, 1.85rem);
}

.legal-prose h2 {
  font-size: 1.15rem;
  margin-top: var(--space-xl);
}

.legal-prose p,
.legal-prose li {
  color: rgba(26, 26, 27, 0.85);
  font-size: 0.92rem;
}

.legal-updated {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: rgba(26, 26, 27, 0.55);
  margin-bottom: var(--space-lg);
}

/* Cookie / privacy consent overlay */
.consent-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 27, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: var(--space-md);
  z-index: 80;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-slow);
}

.consent-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.consent-panel {
  width: min(40rem, 100%);
  background: #fdfcfa;
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  box-shadow: var(--shadow-lift);
  border: 0.0625rem solid rgba(26, 26, 27, 0.1);
  margin-bottom: var(--space-md);
}

.consent-panel p {
  margin: 0 0 var(--space-md);
  font-size: 0.88rem;
}

.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* Shadow cursor dot */
.halo-cursor-guide {
  position: fixed;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 0.35;
  pointer-events: none;
  z-index: var(--z-cursor);
  transform: translate(-50%, -50%);
  transition: opacity 0.35s ease;
  mix-blend-mode: multiply;
}

.halo-cursor-guide.is-pulsing {
  animation: cursor-pulse 2.4s ease-in-out infinite;
  opacity: 0.55;
}

@keyframes cursor-pulse {
  0%,
  100% {
    transform: translate(-50%, -50%) scale(1);
  }
  50% {
    transform: translate(-50%, -50%) scale(1.35);
  }
}

/* Utility */
.stack-tight p {
  margin-top: 0;
}

.muted {
  color: rgba(26, 26, 27, 0.55);
  font-size: 0.85rem;
}

.state-hidden {
  display: none !important;
}

/* 404 */
.error-stage {
  text-align: center;
  padding: var(--space-2xl) var(--space-md);
}

.error-stage h1 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: var(--space-sm);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
