/* L V Ward (Farm Produce) Limited — site styles
   Heritage palette: deep navy + British red on warm cream. */

:root {
  --navy: #16243d;
  --navy-soft: #2c3e5d;
  --red: #b5121b;
  --cream: #faf7f1;
  --paper: #ffffff;
  --ink: #23262b;
  --ink-soft: #5a5f68;
  --line: #e5dfd3;
  --max: 1080px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, .wordmark {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.15;
}

img { max-width: 100%; display: block; }

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

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

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

.site-header {
  background: var(--cream);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}

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

.brand {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  text-decoration: none;
}
.brand:hover { text-decoration: none; }

.wordmark {
  font-size: 1.45rem;
  letter-spacing: 0.01em;
  color: var(--navy);
}

.est {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.6rem;
}

.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--navy-soft);
  padding: 0.25rem 0;
  border-bottom: 2px solid transparent;
}

.site-nav a:hover { color: var(--navy); text-decoration: none; }

.site-nav a[aria-current="page"] {
  color: var(--navy);
  border-bottom-color: var(--red);
}

/* ---------- Hero (home) ---------- */

.hero {
  padding: 5.5rem 0 4.5rem;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 85% 10%, rgba(181, 18, 27, 0.05), transparent 55%),
    var(--cream);
}

.hero .kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1.2rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5.2vw, 3.6rem);
  max-width: 18ch;
  margin-bottom: 1.4rem;
}

.hero p {
  max-width: 56ch;
  font-size: 1.15rem;
  color: var(--ink-soft);
}

.hero .actions {
  margin-top: 2.2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}
.btn:hover { text-decoration: none; }

.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }

.btn-ghost { border: 1.5px solid var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: #fff; }

/* ---------- Stat strip ---------- */

.stats {
  background: var(--navy);
  color: #fff;
  padding: 2.5rem 0;
}

.stats .wrap {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.stat .num {
  font-family: "Fraunces", Georgia, serif;
  font-size: 2rem;
  font-weight: 600;
  color: #fff;
}

.stat .label {
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #b9c3d6;
  margin-top: 0.2rem;
}

/* ---------- General page sections ---------- */

.page-header {
  padding: 4rem 0 2.5rem;
}

.page-header .kicker {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.9rem;
}

.page-header h1 {
  font-size: clamp(2rem, 4.5vw, 2.9rem);
  max-width: 22ch;
}

.page-header .lede {
  margin-top: 1.2rem;
  max-width: 60ch;
  font-size: 1.12rem;
  color: var(--ink-soft);
}

section.band { padding: 3.5rem 0; }
section.band + section.band { border-top: 1px solid var(--line); }

.prose { max-width: 68ch; }
.prose p + p { margin-top: 1.1rem; }

h2.section-title {
  font-size: 1.7rem;
  margin-bottom: 1.6rem;
}

/* ---------- Cards ---------- */

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

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.7rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
}

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

.card .more {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 600;
  font-size: 0.92rem;
}

/* ---------- Produce grid (products page) ---------- */

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

.produce {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.4rem 1rem 1.2rem;
  text-align: center;
}

.produce svg {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.7rem;
  display: block;
  stroke: var(--navy);
}

.produce .name {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
}

/* ---------- Brand list (brands page) ---------- */

.brand-list { display: grid; gap: 1.4rem; }

.brand-entry {
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  border-radius: 8px;
  padding: 1.8rem 1.9rem;
}

.brand-entry h2 {
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.brand-entry p { color: var(--ink-soft); max-width: 70ch; }

.brand-entry .products {
  margin-top: 0.9rem;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--navy-soft);
}
.brand-entry .products span { color: var(--red); }

/* ---------- Timeline (history page) ---------- */

.timeline {
  list-style: none;
  position: relative;
  padding-left: 1.75rem;
  max-width: 68ch;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 6px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--line);
}

.timeline li {
  position: relative;
  padding-bottom: 2rem;
}
.timeline li:last-child { padding-bottom: 0; }

.timeline li::before {
  content: "";
  position: absolute;
  left: -1.75rem;
  top: 0.45rem;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--cream);
}

.timeline .year {
  font-family: "Fraunces", Georgia, serif;
  font-weight: 600;
  font-size: 1.2rem;
  color: var(--navy);
}

.timeline p {
  margin-top: 0.25rem;
  color: var(--ink-soft);
}

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

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1.4rem;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 1.8rem 1.7rem;
}

.contact-card h2 {
  font-size: 0.82rem;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.contact-card .big {
  font-family: "Fraunces", Georgia, serif;
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--navy);
}

.contact-card .sub {
  font-size: 0.95rem;
  color: var(--ink-soft);
  margin-top: 0.2rem;
}

.contact-card address {
  font-style: normal;
  line-height: 1.7;
}

/* ---------- CTA band ---------- */

.cta {
  background: var(--navy);
  color: #fff;
  padding: 4rem 0;
  text-align: center;
}

.cta h2 {
  color: #fff;
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.cta p { color: #b9c3d6; margin-bottom: 1.8rem; }

.cta .btn-primary { background: var(--red); }
.cta .btn-primary:hover { background: #d0161f; }

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

.site-footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.site-footer .wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.5rem 2rem;
}

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

/* ---------- Small screens ---------- */

@media (max-width: 640px) {
  .hero { padding: 3.5rem 0 3rem; }
  .page-header { padding: 2.8rem 0 1.8rem; }
  .site-header .wrap { justify-content: center; text-align: center; }
  .site-nav { justify-content: center; }
  .site-footer .wrap { justify-content: center; text-align: center; }
}
