/* ==========================================================================
   Rayon Productions — Base / reset
   Light, opt-in defaults. Sets the cream ground, chocolate text and the
   body/title type defaults. Utility classes mirror the brand's core moves.
   ========================================================================== */

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

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

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

/* Headings default to the serif display, chocolate, medium */
h1, h2, h3, h4 {
  font-family: var(--font-serif-display);
  font-weight: var(--weight-title);
  color: var(--text-strong);
  line-height: var(--leading-tight);
  letter-spacing: var(--tracking-title);
  margin: 0 0 var(--space-4);
  text-wrap: balance;
}

p { margin: 0 0 var(--space-4); text-wrap: pretty; }

a { color: var(--rp-raspberry); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* --- Brand utility classes --- */

.rp-logotype { font-family: var(--font-logotype); font-weight: 400; }
.rp-title    { font-family: var(--font-serif-display); }
.rp-eyebrow  {
  font-family: var(--font-subtitle);
  font-size: var(--text-eyebrow);
  font-weight: var(--weight-medium);
  letter-spacing: var(--tracking-eyebrow);
  text-transform: uppercase;
}

/* Signature asymmetric frame — one rounded corner, one pointed */
.rp-frame-asym  { border-radius: var(--radius-asym-tl); }
.rp-frame-asym--alt { border-radius: var(--radius-asym-tr); }

/* Translucent colour wash over imagery (the signature photo treatment) */
.rp-wash-apricot   { background: var(--rp-overlay-apricot); }
.rp-wash-raspberry { background: var(--rp-overlay-raspberry); }
.rp-wash-chocolate { background: var(--rp-overlay-chocolate); }

/* Hairline chocolate liseré */
.rp-liseré { border: var(--border-hairline); }

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