/* ========================================================================
   Base — reset, body, type, helpers
   ======================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

img, picture, svg, video { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; background: none; border: 0; padding: 0; }
input, textarea, select { font: inherit; color: inherit; }

a { color: inherit; text-decoration: none; transition: color var(--t-fast) var(--ease-soft); }
a:hover { color: var(--rouge); }

/* ─── Typography ─── */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 400; color: var(--ink); }

.display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.script {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--rouge);
  line-height: 1;
}

.h1 { font-family: var(--font-display); font-style: italic; font-size: clamp(2.6rem, 6vw, 5.6rem); line-height: 1.02; letter-spacing: -0.02em; }
.h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em; }
.h2-italic { font-family: var(--font-display); font-style: italic; font-size: clamp(1.9rem, 4vw, 3.2rem); line-height: 1.1; letter-spacing: -0.01em; }
.h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.lede { font-size: 1.15rem; line-height: 1.7; color: var(--ink-soft); max-width: 56ch; }

p { margin: 0 0 1.05em; }
p:last-child { margin-bottom: 0; }

.muted { color: var(--ink-soft); }
.tracked { letter-spacing: 0.16em; text-transform: uppercase; font-weight: 500; font-size: 0.82rem; }

/* ─── Layout ─── */
.container { max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 64px); }
.container-narrow { max-width: var(--container-narrow); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.container-essay { max-width: var(--container-essay); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }

.section { padding-block: clamp(48px, 8vw, 128px); }
.section-tight { padding-block: clamp(40px, 6vw, 80px); }

/* ─── Decorative divider ─── */
.divider-flower {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin: var(--space-7) 0;
  color: var(--gold);
  font-size: 1.2rem;
}
.divider-flower::before,
.divider-flower::after {
  content: "";
  flex: 0 0 70px;
  height: 1px;
  background: var(--gold);
  opacity: 0.45;
}

/* ─── Custom bullets ─── */
.list-rouge {
  list-style: none;
  padding: 0;
  margin: 0;
}
.list-rouge li {
  position: relative;
  padding-left: 1.4em;
  margin-bottom: 0.7em;
  line-height: 1.55;
}
.list-rouge li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.7em;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--rouge);
}

/* ─── Utility ─── */
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.row { display: flex; align-items: center; gap: var(--space-3); }
.stack { display: flex; flex-direction: column; gap: var(--space-3); }
.between { display: flex; align-items: center; justify-content: space-between; }

.hide-mobile { display: revert; }
.show-mobile { display: none; }
@media (max-width: 768px) {
  .hide-mobile { display: none !important; }
  .show-mobile { display: revert; }
}

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

::selection { background: var(--rouge); color: var(--cream); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
