/* =====================================================
   GOLDFINCH ASSETS — style.css
   ===================================================== */

/* --- Reset --- */

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

/* --- Design tokens --- */

:root {
  --green:  #1E3D2F;
  --accent: #B8906A;
  --bg:     #F8F5F0;
  --text:   #1C1C1A;
  --muted:  #736E6A;
  --rule:   #E0DAD0;
}

/* --- Base --- */

html {
  font-size: 18px;
  scroll-behavior: smooth;
}

body {
  font-family: 'EB Garamond', Georgia, 'Times New Roman', serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* --- Layout --- */

.container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* --- Header --- */

header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.wordmark {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--green);
  font-style: normal;
}

/* --- Hero --- */

.hero {
  padding: 5rem 0 4.5rem;
  border-bottom: 1px solid var(--rule);
}

.positioning {
  font-size: 1.85rem;
  font-weight: 400;
  line-height: 1.45;
  color: var(--green);
  max-width: 560px;
  margin-bottom: 1.75rem;
}

.secondary {
  font-size: 1rem;
  font-style: italic;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Content sections --- */

.section {
  padding: 3.75rem 0;
  border-bottom: 1px solid var(--rule);
}

.section-label {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.75rem;
}

.prose p {
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.4rem;
}

.prose p:last-child {
  margin-bottom: 0;
}

/* --- Footer --- */

footer {
  padding: 3rem 0 2.5rem;
}

.contact {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.contact a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--rule);
  transition: color 0.25s ease, text-decoration-color 0.25s ease;
}

.contact a:hover {
  color: var(--accent);
  text-decoration-color: var(--accent);
}

.contact a:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 1px;
  text-decoration: none;
}

.legal {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.65;
}

/* --- Responsive --- */

@media (max-width: 580px) {
  html {
    font-size: 17px;
  }

  .container {
    padding: 0 1.25rem;
  }

  .hero {
    padding: 3.25rem 0 3rem;
  }

  .positioning {
    font-size: 1.5rem;
  }

  .section {
    padding: 2.75rem 0;
  }
}
