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

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-ink-soft);
  background: var(--color-bg);
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

img { height: auto; }

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--color-ink);
  letter-spacing: -0.005em;
  line-height: 1.15;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.5rem, 5vw + 1rem, 4rem);
  font-weight: 300;
  line-height: 1.08;
}
h2 { font-size: clamp(1.875rem, 3vw + 0.5rem, 2.75rem); }
h3 { font-size: clamp(1.375rem, 1.5vw + 0.5rem, 1.75rem); font-weight: 500; line-height: 1.25; }

p { text-wrap: pretty; }

::selection {
  background: var(--color-taupe);
  color: var(--color-bg);
}

:focus { outline: none; }
:focus-visible {
  outline: 2px solid var(--color-taupe);
  outline-offset: 4px;
  border-radius: var(--radius-sm);
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 1000;
  padding: 12px 20px;
  background: var(--color-ink);
  color: var(--color-bg);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-md);
  transition: top var(--dur-quick) var(--ease-standard);
}
.skip-link:focus-visible {
  top: 16px;
  outline-color: var(--color-bg);
}

main {
  display: block;
  min-height: 60vh;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--color-taupe);
  display: inline-block;
}

.divider {
  width: 56px;
  height: 1px;
  background: currentColor;
  opacity: 0.4;
  border: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-inline: var(--gutter);
}
.container--text {
  max-width: var(--container-text);
}
.container--product {
  max-width: var(--container-product);
}

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

.tabular { font-variant-numeric: tabular-nums; }

@media (max-width: 599px) {
  body { font-size: 15px; }
}
