/* rau-fonts-start */
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/instrumentsans-variablefont-wdth-wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Sans';
  src: url('../assets/instrumentsans-italic-variablefont-wdth-wght.woff2') format('woff2-variations');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/instrumentserif-regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Instrument Serif';
  src: url('../assets/instrumentserif-italic.woff2') format('woff2');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}
/* rau-fonts-end */


/* ---- Reset (Studio ships none) ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
body { margin: 0; min-height: 100dvh; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: var(--focus-width) solid var(--focus-color); outline-offset: var(--focus-offset); }

/* ---- Base type ---- */
body {
  background: var(--rau-base-ultra-dark);
  color: var(--rau-base);
  font-family: var(--rau-font-sans);
  font-size: var(--rau-text-m);
  line-height: var(--rau-leading-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
::selection { background: var(--rau-primary); color: var(--rau-white); }

/* ---- Scroll-driven motion primitives (attribute selectors — not tied to one class) ---- */
[data-reveal] { opacity: 0; transform: translateY(1.25rem); transition: opacity var(--rau-motion-slow) var(--rau-ease), transform var(--rau-motion-slow) var(--rau-ease); }
[data-reveal].is-revealed { opacity: 1; transform: none; }
[data-draw] { transition: stroke-dashoffset 1.6s cubic-bezier(.3,.7,.2,1); }
[data-grow] { opacity: 0; transition: opacity 1.4s ease .3s; }
[data-grow].is-revealed { opacity: 1; }
[data-bar] { transition: width 1.2s cubic-bezier(.3,.8,.2,1); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  [data-draw] { transition: none; }
  [data-grow] { opacity: 1; transition: none; }
}

/* rau-serif-tracking-start */
/* All italic Instrument Serif accents share this tracking — bumped once here. */
.hero__title-accent, .section__title-accent, .pull-quote, .pull-quote--bordered {
  letter-spacing: 0.03em;
}
/* rau-serif-tracking-end */
