/* ========================================
   Root variables
   ========================================= */
:root {
  --bg: #150e0b;
  --bg-soft: #1d120d;
  --panel: #22140d;
  --panel-2: #2a170f;
  --reserve: #8b4d1f;

  --text: #eacea9;
  --text-soft: rgba(234, 206, 169, 0.78);
  --text-faint: rgba(234, 206, 169, 0.56);
  --accent: #d39758;
  --accent-2: #85451d;
  --line: rgba(211, 151, 88, 0.42);
  --line-soft: rgba(234, 206, 169, 0.14);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.28);

  --page-max: 1180px;
  --page-wide: 1440px;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;

  --topbar-offset: 18px;
  --bottomnav-offset: 18px;
  --topbar-h: 88px;
  --bottomnav-h: 96px;

  --font-display: "Bebas Neue", "Arial Narrow", Arial, sans-serif;
  --font-body: "Bricolage Grotesque", Inter, Arial, sans-serif;
}

/* ========================================
   Base reset and global styles
   ========================================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

img[alt=""] {
  pointer-events: none;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.08),
      transparent 16%,
      transparent 84%,
      rgba(0, 0, 0, 0.14));
  z-index: 0;
}

main {
  position: relative;
  z-index: 1;
  padding-bottom: calc(var(--bottomnav-h) + 18px);
}