:root {
  --bg: #F6EBD8;
  --text: #3B2A1E;
  --accent: #D4A017;
  --hover: #EDD77A;
  --max-width: 36rem;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  min-width: 360px;
  background-color: var(--bg);
  color: var(--text);
}

body {
  margin: 0;
  font-family: 'Quicksand', system-ui, sans-serif;
  font-weight: 500;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.5;
}

::selection {
  background-color: var(--hover);
  color: var(--text);
}

main {
  max-width: var(--max-width);
  margin: 2rem 1rem 0;
  padding: 1.5rem 0.5rem 0;
  display: flex;
  flex-direction: column;
}

@media (min-width: 64rem) {
  main {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }
}

/* Typography */
h1, h2, h3 {
  font-family: 'Coiny', cursive;
  font-weight: 400;
  color: var(--accent);
  margin: 0;
  line-height: 1.2;
}

h1 { font-size: 1.75rem; margin-bottom: 1rem; letter-spacing: -0.01em; }
h2 { font-size: 1.25rem; margin-bottom: 0.5rem; }
h3 { font-size: 1rem; margin-bottom: 0.25rem; }

p { margin: 0; }

small, .small { font-size: 0.875rem; font-weight: 400; }

.muted { color: var(--text); opacity: 0.75; }

.lead { font-size: 1.125rem; margin-bottom: 0.5rem; }

/* Layout helpers */
.stack > * + * { margin-top: 1rem; }

.fieldlist > p + p { margin-top: 0.25rem; }

ul {
  padding-left: 1.25rem;
  margin: 0.5rem 0;
}

ul > li + li { margin-top: 0.25rem; }

/* Navigation */
.nav-wrap {
  margin-left: -0.5rem;
  margin-bottom: 4rem;
}

nav {
  display: flex;
  gap: 0.25rem;
}

nav a {
  padding: 0.25rem 0.5rem;
}

/* Home hero */
.hero {
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
}

/* Contact — social list */
.social {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 0;
}

.social li + li { margin-top: 0.5rem; }

.social a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.social svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

/* Links */
.site-link {
  color: var(--text);
  text-decoration: none;
  transition: color 0.15s ease;
}

.site-link:hover {
  color: var(--hover);
}

a strong { color: inherit; }

/* Footer */
footer {
  margin-top: 3rem;
  margin-bottom: 4rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.75rem;
}

@media (min-width: 48rem) {
  footer {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
  }
}
