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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6.5rem;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background: #f9f7f3;
  color: var(--ink-900);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

body::selection {
  background: var(--champagne-300);
  color: var(--ink-950);
}

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

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

p,
h1,
h2,
h3 {
  margin-top: 0;
}

button,
a,
summary {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--champagne-500);
  outline-offset: 4px;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  transform: translateY(-150%);
  background: var(--ink-950);
  color: var(--white);
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  transform: translateY(0);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  gap: 0.8rem;
  padding: 0.9rem 1.45rem;
  border: 1px solid transparent;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--small {
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  font-size: 0.8125rem;
}

.button--dark {
  background: var(--ink-950);
  color: var(--ivory-50);
}

.button--dark:hover {
  background: var(--ink-700);
}

.button--primary {
  border-color: var(--ink-700);
  background: var(--ink-700);
  color: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.16);
}

.button--primary:hover {
  border-color: #3b3b3b;
  background: #3b3b3b;
}

.button--ghost {
  border-color: rgba(255, 255, 255, 0.36);
  background: transparent;
  color: var(--white);
}

.button--ghost:hover {
  border-color: rgba(255, 255, 255, 0.72);
  background: rgba(255, 255, 255, 0.06);
}

.button--champagne {
  background: var(--champagne-400);
  color: var(--ink-950);
  box-shadow: 0 14px 40px rgba(185, 145, 82, 0.25);
}

.button--champagne:hover {
  background: var(--champagne-300);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--champagne-500);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.19em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow span {
  width: 2.5rem;
  height: 1px;
  background: currentColor;
}

.noscript-message {
  padding: 1rem;
  background: var(--ink-950);
  color: var(--ivory-100);
  text-align: center;
}

.noscript-message a {
  color: var(--champagne-300);
  text-decoration: underline;
}
