/* Miguel Abreu — Blog stylesheet
   Locked brand identity (Sep 5, 2026): Racing Green / Champagne / Carmine
   Cormorant Garamond (headings) + Inter (body) */

:root {
  --linen: #fdfdfb;
  --charcoal: #2d2d2d;
  --racing-green: #16302b;
  --green-tint: #294a41;
  --champagne: #c9ae85;
  --carmine: #720019;
  --hairline: rgba(45, 45, 45, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--linen);
  color: var(--charcoal);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 300;
  line-height: 1.65;
  font-size: 18px;
}

h1, h2, h3, h4 {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 400;
  line-height: 1.2;
  margin: 0 0 0.5em;
  color: var(--racing-green);
}

h1 { font-weight: 300; }

a {
  color: var(--carmine);
  text-decoration: underline;
  text-decoration-color: rgba(114, 0, 25, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: var(--carmine);
}

.wrap {
  max-width: 680px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header / nav */
header.site-header {
  background: var(--racing-green);
  color: var(--linen);
  padding: 28px 0;
  margin-bottom: 48px;
}

header.site-header .wrap {
  max-width: 760px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

header.site-header .brand {
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 1.5rem;
  color: var(--linen);
  text-decoration: none;
}

header.site-header nav a {
  color: var(--champagne);
  text-decoration: none;
  font-family: "Inter", sans-serif;
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-left: 20px;
}

header.site-header nav a:hover {
  color: var(--linen);
}

/* Post list */
.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.post-list li {
  padding: 28px 0;
  border-bottom: 1px solid var(--hairline);
}

.post-list li:first-child {
  padding-top: 0;
}

.post-list h2 {
  font-size: 1.6rem;
  margin-bottom: 0.2em;
}

.post-list .meta {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--green-tint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
}

.post-list .excerpt {
  color: var(--charcoal);
}

.intro {
  margin-bottom: 40px;
}

.intro p {
  font-size: 1.1rem;
}

/* Single post */
article.post .meta {
  font-family: "Inter", sans-serif;
  font-size: 0.82rem;
  color: var(--green-tint);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1em;
}

article.post h1 {
  font-size: 2.3rem;
  margin-bottom: 0.3em;
}

article.post p {
  margin: 0 0 1.3em;
}

.callout {
  border-left: 3px solid var(--carmine);
  background: rgba(114, 0, 25, 0.05);
  padding: 14px 20px;
  margin: 1.5em 0;
  font-style: italic;
}

.post-cta {
  margin-top: 3em;
  padding: 24px;
  background: var(--racing-green);
  color: var(--linen);
}

.post-cta h3 {
  color: var(--champagne);
  margin-bottom: 0.4em;
}

.post-cta p {
  margin-bottom: 0.8em;
}

.post-cta a {
  color: var(--linen);
  font-weight: 500;
}

.back-link {
  display: inline-block;
  margin-top: 2.5em;
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
}

/* Footer */
footer.site-footer {
  margin-top: 64px;
  padding: 32px 0 60px;
  border-top: 1px solid var(--hairline);
  font-family: "Inter", sans-serif;
  font-size: 0.85rem;
  color: var(--green-tint);
}

footer.site-footer a {
  color: var(--carmine);
}

@media (max-width: 480px) {
  body { font-size: 16.5px; }
  article.post h1 { font-size: 1.9rem; }
  header.site-header .wrap { flex-direction: column; align-items: flex-start; }
  header.site-header nav a { margin-left: 0; margin-right: 18px; }
}
