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

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

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font: 400 16px/1.75 var(--font-body);
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }

/* ---- layout ---- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.section {
  padding-block: 56px;
}
@media (min-width: 768px) {
  .section { padding-block: 96px; }
}

/* tightens a section up against the element above it (the ingredient band) */
.section--tight-top { padding-top: 16px; }
@media (min-width: 768px) {
  .section--tight-top { padding-top: 24px; }
}

main { display: block; }

.has-fixed-header { padding-top: var(--header-h-mobile); }
@media (min-width: 768px) {
  .has-fixed-header { padding-top: var(--header-h); }
}

/* ---- type roles ---- */
.h-display {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 36px;
  letter-spacing: 0.02em;
  line-height: 1.1;
}
@media (min-width: 768px) { .h-display { font-size: 56px; } }

.h-hero {
  font-family: var(--font-display);
  font-weight: 300;
  font-style: italic;
  font-size: 26px;
  letter-spacing: 0.03em;
  line-height: 1.35;
}
@media (min-width: 768px) { .h-hero { font-size: 40px; } }

.h-message {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 22px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
@media (min-width: 768px) { .h-message { font-size: 32px; } }

.h-submessage {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 20px;
  letter-spacing: 0.02em;
  line-height: 1.3;
}
@media (min-width: 768px) { .h-submessage { font-size: 26px; } }

.body-text {
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.75;
  letter-spacing: 0.01em;
}
@media (min-width: 768px) { .body-text { font-size: 16px; } }

.caption {
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.6;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) { .caption { font-size: 14px; } }

.text-rose { color: var(--rose); }
.text-sand { color: var(--sand); }
.text-slate { color: var(--slate); }
.text-clay { color: var(--clay-strong); }
.text-cream { color: var(--cream); }
.text-ink { color: var(--ink); }
.text-mute { color: var(--ink-mute); }

.eyebrow {
  font-family: var(--font-body);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

/* ---- accessibility ---- */
.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: var(--white);
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  font: 400 13px/1 var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: top 160ms ease;
}
.skip-link:focus {
  top: 16px;
}

.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;
}

:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

/* ---- reveal-on-scroll ---- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 600ms ease, transform 600ms ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@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;
  }
  .reveal { opacity: 1; transform: none; }
}
