:root {
  --porcelain: #f4f1ec;
  --porcelain-deep: #ebe6de;
  --ink: #1a1a18;
  --ink-soft: #2c2a26;
  --stone: #8a8175;
  --stone-light: #b4aaa0;
  --bronze: #9a7b4f;
  --bronze-deep: #7e633e;
  --white: #fffcf7;
  --line: rgba(26, 26, 24, 0.12);
  --line-strong: rgba(26, 26, 24, 0.22);
  --veil: rgba(18, 16, 14, 0.38);

  --font-serif: "Cormorant Garamond", "Times New Roman", serif;
  --font-sans: "Outfit", "Segoe UI", sans-serif;

  --text-xs: 0.72rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.15rem;
  --display: clamp(2.6rem, 6vw, 5.4rem);
  --display-sm: clamp(1.8rem, 3.4vw, 2.8rem);

  --space: clamp(1.25rem, 3vw, 2.5rem);
  --gutter: clamp(1.1rem, 4vw, 3.5rem);
  --max: 1180px;
  --header: 4.5rem;
  --header-offset: calc(var(--header) + env(safe-area-inset-top, 0px));
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}

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

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

body {
  margin: 0;
  background: var(--porcelain);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: var(--text-base);
  font-weight: 400;
  line-height: 1.7;
  letter-spacing: 0.01em;
  overflow-x: hidden;
}

img,
video,
iframe,
svg {
  max-width: 100%;
}

img {
  display: block;
  height: auto;
}

video {
  display: block;
}

iframe {
  border: 0;
}

:focus-visible {
  outline: 1px solid var(--bronze);
  outline-offset: 3px;
}

h1,
h2,
h3 {
  overflow-wrap: break-word;
}

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

button,
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

@media (max-width: 480px) {
  :root {
    --header: 4rem;
    --gutter: 1.05rem;
    --display: clamp(2.15rem, 11vw, 3.4rem);
    --display-sm: clamp(1.55rem, 7.2vw, 2.2rem);
  }
}
