/* Boss Petals — base / reset / typography */

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--fs-md);
  line-height: var(--lh-base);
  color: var(--color-ink);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: var(--lh-snug);
  color: var(--color-ink);
  margin: 0 0 var(--space-4);
  letter-spacing: -0.01em;
}
h1 { font-size: var(--fs-xxxl); line-height: var(--lh-tight); }
h2 { font-size: var(--fs-xxl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5 { font-size: var(--fs-md); font-family: var(--font-sans); font-weight: 600; }

h1 em, h2 em, h3 em {
  font-style: italic;
  font-weight: 400;
  color: var(--color-magenta);
}

p { margin: 0 0 var(--space-4); }
p.lead { font-size: var(--fs-lg); color: var(--color-ink-soft); line-height: 1.55; }
.muted { color: var(--color-muted); }
.text-balance { text-wrap: balance; }

a { color: var(--color-magenta); text-decoration: none; transition: color var(--dur-fast) var(--ease-soft); }
a:hover { color: var(--color-magenta-deep); }

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

button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; font-size: inherit; }

::selection { background: var(--color-blush); color: var(--color-ink); }

.container-bp {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section { padding: var(--section-y) 0; }
.section--peach { background: var(--color-peach-soft); }
.section--blush { background: linear-gradient(180deg, #fff 0%, var(--color-magenta-soft) 100%); }
.section--tight { padding: calc(var(--section-y) * 0.6) 0; }

.eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-magenta);
  margin-bottom: var(--space-3);
}

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal:nth-child(2) { transition-delay: 60ms; }
.reveal:nth-child(3) { transition-delay: 120ms; }
.reveal:nth-child(4) { transition-delay: 180ms; }

.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Focus */
:focus-visible { outline: 3px solid var(--color-pink); outline-offset: 2px; border-radius: 4px; }
