/* tcr-tokens.css: The Closet Rehab motion custom properties & wrap utilities (extracted from tcr.css, no body.tcr resets). */
:root {
  --tcr-navy: #212326;
  --tcr-navy-d: #141617;
  --tcr-navy-l: #434549;
  --tcr-dusk: #1a2a30;
  --tcr-night: #0e2a30;
  --tcr-deep: #0a1f24;

  --tcr-teal: #0e7a8e;
  --tcr-teal-d: #0b6b7c;
  --tcr-teal-l: #1aa3be;
  --tcr-teal-ink: #0a6575;
  --tcr-teal-soft: #e6f4f7;

  --tcr-bg: #f9f9fb;
  --tcr-paper: #FFFFFF;
  --tcr-white: #FFFFFF;
  --tcr-cream: #f2f3f5;
  --tcr-cream-d: #e0e1e4;
  --tcr-warm: #FAF7F2;

  --tcr-text: #434549;
  --tcr-muted: #52555a;
  --tcr-line: #e0e1e4;
  --tcr-line-strong: #c8ccd2;

  /* Architectural cabinetry, wood grains, hardware & 2700K LED spill */
  --tcr-birch: #f4efe4;
  --tcr-oak: #c89b6e;
  --tcr-oak-d: #9a6d42;
  --tcr-oak-ink: #6d4928;
  --tcr-walnut: #5c3c24;
  --tcr-slate: #60707b;
  --tcr-brass: #c9a84c;
  --tcr-led: #ffdfa0;
  --tcr-led-glow: #f3c45a;

  --tcr-font-display: 'Quicksand', system-ui, -apple-system, sans-serif;
  --tcr-font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --tcr-radius-sm: 8px;
  --tcr-radius: 14px;
  --tcr-radius-lg: 20px;
  --tcr-shadow: 0 1px 3px rgba(20, 22, 23, 0.06), 0 12px 32px -12px rgba(14, 122, 142, 0.14);
  --tcr-shadow-lg: 0 4px 10px rgba(20, 22, 23, 0.08), 0 24px 48px -16px rgba(20, 22, 23, 0.22);
  --tcr-max: 1280px;
}

[data-tcr-motion] :focus-visible {
  outline: 3px solid var(--tcr-teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.tcr-wrap { max-width: var(--tcr-max); margin: 0 auto; padding: 0 1rem; width: 100%; }
@media (min-width: 640px) { .tcr-wrap { padding: 0 1.5rem; } }
@media (min-width: 1024px) { .tcr-wrap { padding: 0 2rem; } }

.tcr-motion-band { padding: clamp(2rem, 4vw, 3.25rem) clamp(1rem, 3vw, 1.5rem); }
.tcr-motion-band--white { background: #ffffff; }
.tcr-motion-band--warm { background: #FAF7F2; }
.tcr-motion-band--cream { background: #f2f3f5; }
.tcr-motion-band__inner { max-width: 1280px; margin: 0 auto; }

.tcr-space-grid-8 {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 640px) {
  .tcr-space-grid-8 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1024px) {
  .tcr-space-grid-8 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.tcr-space-card__ico {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #FAF7F2;
  border: 1px solid #e0e1e4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  overflow: hidden;
}
.tcr-space-card__ico img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  [data-tcr-motion] *, [data-tcr-motion] *::before, [data-tcr-motion] *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

/* Keep bottom-left Pause Animations pill clear of #cookie-banner and #mobile-cta-bar */
[data-tcr-motion] { scroll-margin-top: 96px; }

body .tcrm-pill {
  bottom: calc(max(1rem, env(safe-area-inset-bottom)) + var(--tcr-pill-lift, 0px));
  transition: bottom .3s ease, background-color .2s ease, color .2s ease, border-color .2s ease, transform .2s ease;
}
