:root {
  --color-text: rgba(44, 27, 27, 0.85);
  --color-text-light: rgba(44, 27, 27, 0.85);
  --color-link: rgba(44, 27, 27, 0.85);
  --color-link-hover: rgba(44, 27, 27, 0.3);
  --header-height: 112px;
  --footer-height: 50px;
  --max-width: 800px;
  --spacing: 4rem;
}

/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
    font-family: "EB Garamond", serif;  line-height: 1.3;
  color: var(--color-text);
  background: #fff;
  border-color: rgba(255, 255, 255, 0.85);
    border-width: 3.6rem;
    border-style: solid;
}

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

a:hover {
  text-decoration: none;
}

a:click {
    color: var(--color-link-hover);
}

figure {
    margin: 2rem 0;
}

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

figcaption {
  font-family: "EB Garamond", serif;
  font-size: 0.85rem;
  margin-top: 0.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  display: flex;
  align-items: center;
  padding: 5rem var(--spacing) 2rem;
  background: #fff;
  z-index: 1000;
}

.site-header .site-name {
    font-family: "Pinyon Script", serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: normal;
  color: var(--color-text-light);
}

/* ---------- Footer ---------- */
.site-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: var(--footer-height);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem var(--spacing) 5rem;
  background: #fff;
  font-size: 1rem;
  font-family: "Pinyon Script", serif;
  font-size: 1.1rem;
  font-weight: 400;
  font-style: normal;
}

/* ---------- Container ---------- */
.container {
  max-width: var(--max-width);
  padding: 10rem;
}

/* ---------- Bio ---------- */
.bio {
  margin-bottom: 2rem;
  margin-left: 3.5rem;
  font-size: .85rem;
  line-height: 1.3;
  font-style:italic;
}

.bio a {
    text-decoration: underline;
}

/* ---------- Categories / Sections ---------- */
.category {
  margin-bottom: 0rem;
  margin-left:2rem;
}

.category h2 {
  font-weight: 400;
  font-size: .85rem;
  color: var(--color-text-light);
  letter-spacing: 0.02em;
  font-weight:bold;
  text-transform: uppercase;
}

.category ul {
  list-style: none;
  padding-left: 0;
}

.category li {
  padding-left: 4rem; /* nested subsections */

}

.category li a {
  font-family: "EB Garamond", serif;
  font-weight: 400;
  font-size: .85rem;
  color: var(--color-text);
}

/* ---------- Article / Single Page ---------- */
.single-article {
  margin-bottom: 3rem;
  margin-left:2rem;
}

.single-article h1 {
  font-family: "EB Garamond", serif;
  font-size: 1rem;
  font-weight: 400;
  color: var(--color-text-light);
  margin-bottom: 1rem;
}

.single-article p {
  margin-bottom: 1rem;
  line-height: 1.5;
  font-size:.85rem;
}

.single-article ul {
    margin-left: 1rem;
    list-style-type: none;
    font-size: .85rem;
    margin-bottom:1rem;
}

/* ---------- Responsive / Mobile ---------- */
@media (max-width: 768px) {

  .container {
    padding: calc(var(--header-height) + 1.5rem) 1rem calc(var(--footer-height) + 1.5rem) 1rem;
  }

  .site-header .site-name {
    font-size: 2rem;
  }
  .site-footer {
    font-size: 1.5rem;
  }

  .bio {
    font-size: 1.5rem;
  }

  .category h2 {
    font-size: 1.5rem;
  }

  .category li a {
    font-size: 1.5rem;
  }

  .single-article h1 {
    font-size: 1.5rem;
  }

  .single-article p {
    font-size: 1.4rem;
  }


}
