:root {
  --bg: #f1eee8;
  --bg-alt: #e8e3d9;
  --white: #ffffff;
  --dark: #1f1b17;
  --text: #1f1b17;
  --text-secondary: #7a746a;
  --on-dark: #f1eee8;
  --accent: #ffe362;
  --accent-10: #ffe3621a;
  --bg-65: #f1eee8a6;
  --bg-85: #f1eee8d9;
  --hairline: #e5e5e5;

  --serif: 'EB Garamond', Georgia, serif;
  --sans: 'Cabin', system-ui, sans-serif;

  --content: 1200px;
  --pad: 120px;
  --gutter: 40px;
  --column: calc((min(100vw - 2 * var(--pad), var(--content)) - 11 * var(--gutter)) / 12);
  --section: 160px;
  --page-top: calc(80px + var(--section));

  --h1-size: 48px;
  --h1-line: 60px;
  --h2-size: 32px;
  --h2-line: 40px;
  --h3-size: 26px;
  --h3-line: 32px;

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --fast: 150ms;
  --slow: 300ms;
}

@media (max-width: 1023px) {
  :root {
    --pad: 40px;
  }
}

@media (max-width: 767px) {
  :root {
    --pad: 20px;
    --section: 80px;
    --h1-size: 40px;
    --h1-line: 48px;
    --h2-size: 28px;
    --h2-line: 36px;
  }
}
