:root {
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Segoe UI", Arial, sans-serif;

  --font-size-xs: 0.72rem;
  --font-size-sm: 0.84rem;
  --font-size-base: 1rem;
  --font-size-lg: clamp(1.05rem, 1.6vw, 1.2rem);
  --font-size-xl: clamp(1.3rem, 2vw, 1.6rem);
  --font-size-2xl: clamp(2.5rem, 5vw, 5.2rem);

  --shell-width: 75rem;
  --shell-padding: clamp(1.25rem, 4vw, 3rem);
  --section-space: clamp(5.5rem, 11vw, 10rem);
  --section-space-small: clamp(3.75rem, 7vw, 6.5rem);

  --radius-sm: 0.7rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.8rem;
  --radius-pill: 999px;

  --shadow-soft: 0 1.5rem 4rem rgb(0 0 0 / 18%);
  --shadow-deep: 0 2.5rem 7rem rgb(0 0 0 / 38%);
  --focus-ring: 0 0 0 3px rgb(var(--rgb-gold-400) / 38%);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.65, 0, 0.35, 1);
  --duration-fast: 180ms;
  --duration-base: 420ms;
  --duration-slow: 800ms;

  --header-height: 5.5rem;
}

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

html {
  overflow-x: clip;
  color-scheme: dark;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 1rem);
  scrollbar-color: var(--color-gold-500) var(--color-night-950);
}

body {
  min-width: 20rem;
  margin: 0;
  overflow-x: clip;
  color: var(--color-copy);
  background:
    radial-gradient(circle at 70% 10%, rgb(var(--rgb-violet) / 14%), transparent 30rem),
    var(--color-night-900);
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  line-height: 1.75;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

button,
select {
  cursor: pointer;
}

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

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

h1,
h2,
h3 {
  color: var(--color-ivory-100);
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 0.98;
  text-wrap: balance;
}

h1 em,
h2 em {
  color: var(--color-gold-300);
  font-weight: 400;
}

::selection {
  color: var(--color-night-950);
  background: var(--color-gold-300);
}

:focus-visible {
  outline: 2px solid var(--color-gold-300);
  outline-offset: 4px;
}

.shell {
  width: min(calc(100% - (var(--shell-padding) * 2)), var(--shell-width));
  margin-inline: auto;
}

.section {
  position: relative;
  padding-block: var(--section-space);
}

.noscript-note {
  max-width: 42rem;
  margin: 2rem auto 0;
  padding: 1rem 1.25rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-sm);
  text-align: center;
}
