/* ============================================================
   Brand Colors & Typography
   ============================================================ */
:root {
  /* Color palette */
  --color-white:      #fff;
  --color-cream:      hsl(20, 12%, 95%);   /* page background, light surfaces */
  --color-brown:      hsl(19, 73%, 9%);    /* dark backgrounds, primary text */
  --color-primary:    hsl(32, 87%, 55%);
  --color-secondary:  hsl(313, 45%, 41%);
  --color-tertiary:   hsl(21, 77%, 46%);
  --color-card-background: rgb(236, 230, 223);
  --color-nav-mobile-border: hsl(19, 40%, 14%);
  --color-nav-mobile-sub-border: hsl(19, 40%, 10%);
  --color-nav-mobile-top-border: hsl(19, 73%, 20%);
  --home-hero-pattern-opacity: 0.28;

  /* Layout spacing */
  --site-pad-x: 16px;
  --site-pad-y: 28px;

  /* Typography */
  --font-heading:  "Bellota", serif;
  --font-body:     "Roboto", sans-serif;

  /* Type scale */
  --text-xs:   0.8rem;
  --text-sm:   1.2rem;
  --text-base: 1.4rem;
  --text-lg:   1.6rem;
  --text-h4:   1.8rem;
  --text-h3:   2.5rem;
  --text-h2:   3.4rem;
  --text-h1:   4.3rem;
}

/* ============================================================
   Reset / Base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  background: var(--color-white);
  color: var(--color-brown);
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin: 0 0 0.5em;
}

h1 { font-size: var(--text-h1); }
h2 { font-size: var(--text-h2); }
h3 { font-size: var(--text-h3); }
h4 { font-size: var(--text-h4); }

a {
  color: var(--color-primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

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

/* ============================================================
   Layout
   ============================================================ */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

.site-main {
  padding: var(--site-pad-y) var(--site-pad-x);
}

