/* Sève: a skin care apothecary. Only --d-* tokens and b-* classes belong here.
   The one dark house so far: umber ground, parchment type, amber for small marks; the contrast band is
   parchment. Instrument Serif headlines, Albert Sans for the rest. Signature: arched frames, like the
   window of an old pharmacy, on the opening picture and the collections. */
:root {
  --d-bg: #1f1a15;
  --d-surface: #29221c;
  --d-surface-2: #342b23;
  --d-text: #ece3d3;
  --d-muted: #b3a690;
  --d-line: #43392f;
  --d-accent: #ece3d3;
  --d-on-accent: #1f1a15;
  --d-invert-bg: #e9dfcd;
  --d-invert-text: #241e18;
  --d-sale: #e0a06a;
  --d-focus: #e0a06a;
  --d-scrim: rgb(10 8 6 / 0.6);

  --d-font-body: "Albert Sans", system-ui, sans-serif;
  --d-font-display: "Instrument Serif", Georgia, serif;
  --d-display-weight: 400;
  --d-display-tracking: -0.01em;
  --d-display-leading: 0.95;
  --d-label-tracking: 0.03em;
  --d-icon-stroke: 1.4;

  --d-radius: 3px;
  --d-radius-card: 3px;
  --d-header-h: 4.5rem;
  --d-logo-h: 1.9rem;
  --d-over-ink: #ece3d3;
  --d-arch: 50% 50% 3px 3px / 32% 32% 3px 3px;

  --d-dur-reveal: 1200ms;
}
.d-display { font-size: clamp(3.2rem, 1.6rem + 7vw, 9rem); }
.d-h1 { font-size: clamp(2.6rem, 1.4rem + 4.4vw, 5.6rem); }

/* Signature: the arch. */
.d-herosplit__media, .d-tile .d-media, .beau-ingredients__list .d-media { border-radius: var(--d-arch); }
.d-motion .d-herosplit__media img { animation: b-rise 2200ms var(--d-ease-out) both; }
@keyframes b-rise { from { transform: translate3d(0, 6%, 0) scale(1.06); opacity: 0; } }

/* Prices and tags in amber; names in the serif. */
.shop-card__name { font-family: var(--d-font-display); font-size: var(--d-step-2); line-height: 1.05; }
.shop-buy__name { font-size: var(--d-step-4); }
.d-tag { background: var(--d-sale); color: var(--d-bg); }
.shop-buy .d-tag { color: var(--d-sale); background: none; }

/* The consultation opens the site: the picture sits in the arch, the questions beside it. */
.b-consult .beau-consult__media { margin: var(--d-space-4) var(--d-gutter) 0; border-radius: var(--d-arch); min-height: 52svh; }
@media (min-width: 56rem) { .b-consult .beau-consult__media { margin: var(--d-space-5) 0 var(--d-space-5) var(--d-gutter); min-height: 0; } }
.beau-q__opt:has(input:checked) .beau-q__label { font-style: italic; }
.b-row { display: flex; justify-content: space-between; align-items: end; gap: var(--d-space-5); flex-wrap: wrap; }
.b-head { display: grid; gap: var(--d-space-3); max-width: 40rem; }
.b-refill { border-top: var(--d-border) solid var(--d-line); }
.beau-spec .d-media { border-radius: var(--d-arch); }
/* The formulary: the bestseller leads as a wide card, so seven formulas fill whole rows (two of four, four of two). */
.b-formulary .shop-grid > :first-child { grid-column: span 2; }
.b-formulary .shop-grid > :first-child .d-media { aspect-ratio: 8 / 5; }
