/* Upside Down Cow — shared styles */
:root {
  --cream: #F7F3EC;
  --cream-dark: #EFE8DC;
  --green: #1B4332;
  --green-mid: #2D6A4F;
  --gold: #6B4F2A;
  --brown: #8B5E3C;
  --text: #2C2416;
  --muted: #5C5346;
  --white: #FFFEFB;
  --shadow: 0 4px 20px rgba(27, 67, 50, 0.08);
}

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

body {
  font-family: "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
}

a { color: var(--green-mid); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header */
header {
  background: var(--white);
  border-bottom: 1px solid #E5DFD4;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--green);
}
.brand img {
  height: 56px;
  width: auto;
  border-radius: 50%;
}
.brand-name {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.brand-name span { display: block; font-size: 0.75rem; font-weight: 400; color: var(--muted); letter-spacing: 1px; text-transform: uppercase; }
nav { display: flex; gap: 28px; }
nav a {
  color: var(--green);
  font-weight: 500;
  font-size: 0.95rem;
  text-decoration: none;
}
nav a:hover, nav a.active { color: var(--green-mid); text-decoration: underline; }

/* Hero */
.hero {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 24px 32px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: center;
}
.hero img.logo-hero {
  width: 100%;
  max-width: 380px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}
.hero h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.6rem;
  color: var(--green);
  line-height: 1.15;
  margin-bottom: 12px;
}
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  margin-bottom: 18px;
}
.location {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--gold);
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

/* Sections */
section { padding: 20px 0 40px; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }
h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.9rem;
  color: var(--green);
  margin-bottom: 16px;
}
h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.35rem;
  color: var(--green);
  margin-bottom: 8px;
}
p { margin-bottom: 14px; }
.muted { color: var(--muted); }

/* Cards */
.cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 24px;
}
.card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid #E8E2D6;
}
.card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
}
.card-body { padding: 22px 24px 28px; }
.card h3 { margin-top: 0; }
.tag {
  display: inline-block;
  background: #E8F0EC;
  color: var(--green-mid);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 12px;
  margin-bottom: 10px;
}

/* Name brainstorm box */
.brainstorm {
  background: var(--cream-dark);
  border-left: 4px solid var(--green);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin: 16px 0 20px;
  font-size: 0.95rem;
}
.brainstorm strong { color: var(--green); }
.brainstorm ul { margin: 8px 0 0 18px; }
.brainstorm li { margin-bottom: 4px; }

/* Footer */
footer {
  background: var(--green);
  color: #E8EDE9;
  text-align: center;
  padding: 28px 20px;
  font-size: 0.9rem;
  margin-top: 20px;
}
footer a { color: #C8E0D4; }

/* Herd photo */
.herd-photo {
  max-width: 360px;
  margin: 18px 0 22px;
}
.herd-photo img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}
.herd-photo figcaption {
  margin-top: 8px;
  font-size: 0.85rem;
  font-style: italic;
  color: var(--muted);
}

/* Responsive */
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .hero img.logo-hero { margin: 0 auto; }
  .cards { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 10px; }
  nav { gap: 20px; }
  .hero h1 { font-size: 2.1rem; }
}
