/* Sense House — base element defaults & a few utility helpers.
   Kept light: tokens do the heavy lifting. */
*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: var(--fw-regular);
  font-size: var(--text-body-md);
  line-height: var(--lh-normal);
  color: var(--text-body);
  background: var(--bg-page);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  line-height: var(--lh-snug);
  letter-spacing: var(--ls-tight);
  color: var(--text-heading);
  margin: 0 0 0.4em;
  text-wrap: balance;
}

p { margin: 0 0 1em; text-wrap: pretty; }

a { color: var(--link); text-decoration: none; transition: color var(--dur-fast) var(--ease-out); }
a:hover { color: var(--link-hover); }

::selection { background: var(--magenta-500); color: var(--white); }

:focus-visible { outline: none; box-shadow: var(--shadow-focus); border-radius: var(--radius-sm); }

/* --- Signature helpers --- */
.sh-eyebrow {
  font-family: var(--font-display);
  font-weight: var(--fw-bold);
  font-size: var(--text-eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
}
.sh-script { font-family: var(--font-script); font-weight: var(--fw-bold); line-height: 1; }

/* Wine background with the subway-tile texture */
.sh-surface-dark {
  background-color: var(--wine-800);
  background-image: var(--pattern-brick);
  background-size: var(--pattern-brick-size);
  color: var(--text-inverse);
}
.sh-surface-cream { background: var(--cream-50); color: var(--text-body); }

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