/* =========================
   BASE STYLES
   J. M. Taggart Website
   ========================= */

/* ✨ RESET / GLOBAL DEFAULTS */
* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

/* ✨ BODY FOUNDATION */
body {
  font-family: 'EB Garamond', serif;
  color: #f5ecd9;
  font-size: 20px;
  background: radial-gradient(circle at top, #163d31, #0f2e24 60%);
  overflow-x: hidden;
  line-height: 1.6;
}

/* ✨ GLOBAL LAYERING RULES */
header,
section,
footer {
  position: relative;
  z-index: 1;
}

/* ✨ DEFAULT LINKS (fallback styling only) */
a {
  color: inherit;
  text-decoration: none;
}

/* Optional subtle hover fallback if no component style exists */
a:hover {
  opacity: 0.9;
}

/* ✨ BASIC TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 10px 0;
  font-weight: normal;
}

p {
  margin: 0 0 15px 0;
}

/* ✨ IMAGES */
img {
  max-width: 100%;
  display: block;
}

/* ✨ PAGE LAYOUT HELPERS */
section {
  padding: 80px 20px;
  max-width: 900px;
  margin: auto;
  text-align: center;
}

/* ✨ ACCESSIBILITY / SMOOTHING */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ✨ OPTIONAL: TEXT SELECTION COLOUR (nice polish) */
::selection {
  background: rgba(203,178,122,0.25);
  color: #ffffff;
}