/* ============================================================
   Australian Cow — warm, rustic farm-life stylesheet
   Palette: cream / paddock green / saddle brown
   ============================================================ */

:root {
  --cream:        #FAF5E9;
  --cream-dark:   #F1E8D4;
  --paper:        #FFFDF7;
  --green:        #4C6B3C;
  --green-dark:   #3A5230;
  --green-light:  #8FA871;
  --brown:        #6B4C33;
  --brown-dark:   #4E3624;
  --brown-light:  #A98963;
  --rust:         #B5622F;
  --ink:          #3B322A;
  --ink-soft:     #6E6257;

  --font-head: "Georgia", "Iowan Old Style", "Times New Roman", serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;

  --maxw: 1080px;
  --maxw-article: 720px;
  --radius: 14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
}

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

a { color: var(--green); }
a:hover { color: var(--green-dark); }

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ---------- Header ---------- */

.site-header {
  background: var(--paper);
  border-bottom: 4px solid var(--green);
  position: relative;
}

.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  padding-top: 0.9rem;
  padding-bottom: 0.9rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  text-decoration: none;
}

.brand img { width: 52px; height: 52px; }

.brand-name {
  font-family: var(--font-head);
  font-size: 1.45rem;
  font-weight: bold;
  color: var(--brown-dark);
  letter-spacing: 0.01em;
}

.brand-name span { color: var(--green); }

.brand-tag {
  display: block;
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: normal;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.site-nav a {
  display: inline-block;
  margin-left: 1.1rem;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
  color: var(--brown);
  padding: 0.25rem 0.1rem;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--green-dark);
  border-bottom-color: var(--green);
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper) 0%, var(--cream) 100%);
  border-bottom: 1px solid var(--cream-dark);
  text-align: center;
  padding: 3.5rem 1.25rem 3rem;
}

.hero .mascot { width: 130px; height: 130px; margin: 0 auto 1.2rem; }

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3rem);
  color: var(--brown-dark);
  line-height: 1.15;
  margin-bottom: 0.9rem;
}

.hero p {
  max-width: 620px;
  margin: 0 auto 1.6rem;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.btn {
  display: inline-block;
  background: var(--green);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  border: 2px solid var(--green-dark);
  box-shadow: 0 3px 0 var(--green-dark);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn:hover { color: #fff; transform: translateY(1px); box-shadow: 0 2px 0 var(--green-dark); }

.btn.secondary {
  background: var(--paper);
  color: var(--brown);
  border-color: var(--brown-light);
  box-shadow: 0 3px 0 var(--brown-light);
}

/* ---------- Sections ---------- */

.section { padding: 3rem 0; }

.section-title {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--brown-dark);
  margin-bottom: 0.4rem;
}

.section-sub { color: var(--ink-soft); margin-bottom: 1.8rem; }

.section-title::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.5rem;
  border-radius: 2px;
  background: var(--green-light);
}

/* ---------- Post cards ---------- */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.card {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 6px rgba(78, 54, 36, 0.06);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 18px rgba(78, 54, 36, 0.12);
}

.card-banner {
  height: 10px;
  background: repeating-linear-gradient(
    45deg,
    var(--green-light) 0 14px,
    var(--cream-dark) 14px 28px
  );
}

.card-body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }

.card .kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.5rem;
}

.card h3 {
  font-family: var(--font-head);
  font-size: 1.25rem;
  line-height: 1.35;
  margin-bottom: 0.6rem;
}

.card h3 a { color: var(--brown-dark); text-decoration: none; }
.card h3 a:hover { color: var(--green-dark); text-decoration: underline; }

.card p { color: var(--ink-soft); font-size: 0.97rem; flex: 1; }

.card .meta {
  margin-top: 1rem;
  font-size: 0.85rem;
  color: var(--brown-light);
}

/* ---------- Intro strip ---------- */

.intro-strip {
  background: var(--green);
  color: #F4F1E4;
}

.intro-strip .wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.5rem;
  align-items: center;
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.intro-strip .mascot { width: 92px; height: 92px; }

.intro-strip h2 {
  font-family: var(--font-head);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #fff;
}

.intro-strip a { color: #EFE7C8; font-weight: 600; }

/* ---------- Article ---------- */

.article-wrap {
  max-width: var(--maxw-article);
  margin: 0 auto;
  padding: 2.75rem 1.25rem 3.5rem;
}

.article-header { margin-bottom: 2rem; }

.article-header .kicker {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rust);
  margin-bottom: 0.6rem;
}

.article-header h1 {
  font-family: var(--font-head);
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  line-height: 1.2;
  color: var(--brown-dark);
  margin-bottom: 0.8rem;
}

.article-header .meta { color: var(--ink-soft); font-size: 0.95rem; }

.article-body h2 {
  font-family: var(--font-head);
  font-size: 1.45rem;
  color: var(--green-dark);
  margin: 2.2rem 0 0.8rem;
}

.article-body h3 {
  font-family: var(--font-head);
  font-size: 1.15rem;
  color: var(--brown);
  margin: 1.8rem 0 0.6rem;
}

.article-body p { margin-bottom: 1.1rem; }

.article-body ul, .article-body ol { margin: 0 0 1.1rem 1.4rem; }
.article-body li { margin-bottom: 0.4rem; }

.article-body blockquote {
  border-left: 4px solid var(--green-light);
  background: var(--paper);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic;
  color: var(--ink-soft);
}

.divider {
  border: none;
  height: 6px;
  margin: 2.5rem auto;
  width: 120px;
  border-radius: 3px;
  background: repeating-linear-gradient(
    45deg,
    var(--green-light) 0 10px,
    var(--cream-dark) 10px 20px
  );
}

.back-link {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  text-decoration: none;
}

/* ---------- Page (about/contact) ---------- */

.page-body h2 {
  font-family: var(--font-head);
  font-size: 1.4rem;
  color: var(--green-dark);
  margin: 2rem 0 0.7rem;
}

.page-body p { margin-bottom: 1.1rem; }
.page-body ul { margin: 0 0 1.1rem 1.4rem; }

/* ---------- Contact ---------- */

.contact-card {
  background: var(--paper);
  border: 1px solid var(--cream-dark);
  border-radius: var(--radius);
  padding: 1.75rem;
  margin-top: 1.5rem;
}

.contact-card p { margin-bottom: 0.8rem; }

form .field { margin-bottom: 1.1rem; }

form label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--brown-dark);
}

form input, form textarea {
  width: 100%;
  padding: 0.7rem 0.9rem;
  font: inherit;
  color: var(--ink);
  background: var(--cream);
  border: 1.5px solid var(--brown-light);
  border-radius: 8px;
}

form input:focus, form textarea:focus {
  outline: 2px solid var(--green-light);
  border-color: var(--green);
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--brown-dark);
  color: #E9DFCE;
  margin-top: 2rem;
  padding: 2.25rem 0;
  font-size: 0.95rem;
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  align-items: center;
  justify-content: space-between;
}

.site-footer a { color: #C9D6AE; text-decoration: none; margin-right: 1rem; }
.site-footer a:hover { text-decoration: underline; }

/* ---------- Mobile ---------- */

@media (max-width: 640px) {
  .site-header .wrap { justify-content: center; text-align: center; }
  .site-nav { width: 100%; text-align: center; }
  .site-nav a { margin: 0 0.5rem; }
  .intro-strip .wrap { grid-template-columns: 1fr; text-align: center; }
  .intro-strip .mascot { margin: 0 auto; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}
