:root {
  --green-dark: #123322;
  --green-deep: #183f2a;
  --gold: #d4a857;
  --cream: #faf5ea;
  --pepper-red: #7b1313;
  --text-main: #222222;
  --text-muted: #555555;
}

/* Base */

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background: var(--cream);
  color: var(--text-main);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Headers — default green */

header {
  background: radial-gradient(circle at top left, #24573a, var(--green-dark));
  color: #fdfcf8;
  padding: 1.2rem 1rem 1.8rem;
  border-bottom: 4px solid var(--gold);
}

.page-home header {
  padding: 1.5rem 1rem 2.5rem;
}

/* Hot sauce page gets a red header */

.page-hotsauce header {
  background: linear-gradient(135deg, var(--pepper-red), #3e0c0c);
}

/* Header layout */

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  justify-content: space-between;
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1 1 260px;
}

.brand-logos {
  display: flex;
  gap: 0.8rem;
  align-items: center;
}

.brand-logo,
.logo-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: #0a2015;
  overflow: hidden;
}

.page-home .brand-logo {
  width: 96px;
  height: 96px;
}

.logo-pepper {
  max-width: 50px;
}

.ravin-logo {
  max-height: 150px;
}

.ravin-logo-wrap {
  max-width: 70px;
}

.brand-text h1 {
  margin: 0 0 0.2rem;
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.page-home .brand-text h1 {
  font-size: 1.9rem;
}

.brand-text p {
  margin: 0;
  font-size: 0.9rem;
  color: #f1e3c7;
}

.page-home .brand-text p {
  max-width: 26rem;
  font-size: 0.98rem;
}

.hero-side {
  flex: 1 1 260px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;
}

.hero-tag {
  font-size: 0.95rem;
  color: #f6e8cb;
  max-width: 240px;
}

/* Nav */

nav {
  background: var(--green-deep);
  border-bottom: 2px solid #0b2417;
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
}

.nav-inner a {
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #fdf9f0;
  border: 1px solid rgba(212, 168, 87, 0.4);
}

.nav-inner a:hover {
  background: rgba(212, 168, 87, 0.18);
}

/* Main layout */

main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 1rem 3rem;
}

h2 {
  margin-top: 0;
  font-size: 1.6rem;
}

/* Intro / pills */

.intro {
  margin-bottom: 2.5rem;
}

.intro h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.intro p,
.intro-text {
  max-width: 54rem;
  color: var(--text-muted);
  font-size: 1.02rem;
}

.intro-text {
  max-width: 52rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 0.75rem;
  margin-bottom: 1.7rem;
}

.pill {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: #ffffff;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: var(--text-muted);
}

/* Sections, cards */

.section-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin: 2.25rem 0 1rem;
}

.section-heading h2 {
  font-size: 1.4rem;
  margin: 0;
}

.section-heading span {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.section-title {
  margin: 2.1rem 0 0.5rem;
  font-size: 1.3rem;
}

.section-note {
  margin: 0 0 1.3rem;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.card {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 170px;
}

.card h3 {
  margin-top: 0.2rem;
  margin-bottom: 0.3rem;
  font-size: 1.05rem;
}

.card p {
  margin: 0.25rem 0 0.7rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.card-tag,
.meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 0.35rem;
}

/* Buttons */

.btn-primary,
.btn-secondary,
.btn,
.btn-outline {
  display: inline-block;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  font-size: 0.86rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

/* Primary buttons (dark green) */

.btn-primary,
.btn {
  background: var(--green-dark);
  color: #fdf8eb;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.18);
}

.page-hotsauce .btn {
  background: var(--pepper-red);
  color: #ffeedd;
}

/* Secondary / outline */

.btn-secondary {
  background: #ffffff;
  color: var(--green-dark);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

.btn-outline {
  background: #ffffff;
  color: var(--green-dark);
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: none;
}

/* Featured callout (home) */

.featured-callout {
  background: linear-gradient(135deg, #ffffff, #f7f1e5);
  border-radius: 1.1rem;
  padding: 1.4rem 1.3rem;
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1.3fr);
  gap: 1.5rem;
  align-items: center;
  border: 1px solid rgba(0, 0, 0, 0.05);
  margin-bottom: 2rem;
}

.featured-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.featured-list li::before {
  content: "• ";
  color: var(--gold);
}

/* Subnav (on inner pages) */

.subnav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 2rem;
}

.subnav a {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

/* Download lists */

ul.download-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
}

ul.download-list li {
  margin-bottom: 0.5rem;
}

ul.download-list li a {
  text-decoration: underline;
}

/* Generic UL styling on about/ferments */

main ul {
  max-width: 52rem;
  color: var(--text-muted);
}

/* About page layout */

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}

.callout {
  background: #ffffff;
  border-radius: 1rem;
  padding: 1.1rem 1.1rem 1.2rem;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(0, 0, 0, 0.04);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.callout strong {
  color: var(--green-dark);
}

.cta {
  margin-top: 2.5rem;
  padding-top: 1.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

/* Footers */

footer {
  background: var(--green-dark);
  color: #f7edd7;
  padding: 1rem 1rem 1.2rem;
  text-align: center;
  font-size: 0.85rem;
}

footer a {
  color: var(--gold);
  text-decoration: underline;
}

/* Responsive tweaks */

@media (max-width: 720px) {
  .featured-callout {
    grid-template-columns: minmax(0, 1fr);
  }
  .page-home header {
    padding-bottom: 2rem;
  }
  .hero-side {
    justify-content: flex-start;
  }
}

@media (max-width: 800px) {
  .two-col {
    grid-template-columns: minmax(0, 1fr);
  }
}
