/* YUMPAC website styles
   Brand colours taken from the logo and business card. */
:root {
  --navy: #17303d;
  --navy-2: #1f3d4d;
  --gold: #c39456;
  --gold-dark: #a87a3f;
  --sage: #7f9465;
  --cream: #faf6ee;
  --sand: #f2eadb;
  --ink: #1d2a31;
  --muted: #5b6970;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(23, 48, 61, 0.10);
  --head: "Josefin Sans", "Avenir Next", system-ui, sans-serif;
  --serif: "Playfair Display", Georgia, serif;
  --body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); color: var(--navy); line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); font-weight: 700; letter-spacing: -.01em; }
h1 em, h2 em { font-family: var(--serif); font-style: italic; font-weight: 500; color: var(--gold-dark); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); font-weight: 700; }
h3 { font-size: 1.3rem; font-weight: 600; }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-sub { color: var(--muted); }
.eyebrow {
  font-family: var(--head);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: .82rem;
  font-weight: 600;
  color: var(--gold-dark);
  margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--head);
  font-weight: 600;
  letter-spacing: .04em;
  text-decoration: none;
  padding: 14px 28px 12px;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-navy { background: var(--navy); color: var(--white); }
.btn-navy:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--white); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-ghost { border-color: var(--navy); color: var(--navy); }
.btn-ghost:hover { background: var(--navy); color: var(--white); }
.btn-sm { padding: 9px 18px 7px; font-size: .92rem; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 246, 238, .92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid rgba(23, 48, 61, .08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: auto; }
.brand span { font-family: var(--head); font-weight: 700; font-size: 1.45rem; letter-spacing: .06em; color: var(--navy); padding-top: 4px; }
.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav a:not(.btn) {
  font-family: var(--head); font-weight: 600; text-decoration: none; color: var(--navy);
  font-size: .98rem; letter-spacing: .03em; padding-top: 3px;
}
.site-nav a:not(.btn):hover { color: var(--gold-dark); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--navy); margin: 5px 0; transition: .2s; }

/* Hero */
.hero { padding: clamp(40px, 6vw, 80px) 0 clamp(56px, 7vw, 90px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 70px); align-items: center; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 520px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin: 28px 0 32px; }
.tagline { font-family: var(--head); font-size: 1.2rem; letter-spacing: .08em; color: var(--gold-dark); margin: 0; }
.tagline span { color: var(--navy); }
.hero-media { position: relative; }
.hero-media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3.3; object-fit: cover; width: 100%; }
.hero-badge {
  position: absolute; left: -22px; bottom: 28px;
  background: var(--navy); color: var(--white);
  border-radius: var(--radius); padding: 16px 22px;
  display: flex; align-items: center; gap: 14px; box-shadow: var(--shadow);
}
.hero-badge strong { font-family: var(--head); font-size: 2.4rem; color: var(--gold); line-height: 1; padding-top: 6px; }
.hero-badge span { font-size: .9rem; line-height: 1.35; }

/* Trust strip */
.trust { background: var(--navy); color: var(--white); padding: 30px 0; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.trust-item { display: flex; align-items: center; gap: 14px; }
.trust-item svg { width: 34px; height: 34px; flex: none; fill: none; stroke: var(--gold); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.trust-item strong { display: block; font-family: var(--head); font-weight: 600; letter-spacing: .03em; }
.trust-item span { font-size: .86rem; color: rgba(255,255,255,.72); }

/* Story */
.story-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.story-media img { border-radius: 24px; aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.story-copy p { color: #34434a; }
blockquote {
  margin: 28px 0 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold);
  font-family: var(--serif); font-style: italic; font-size: 1.35rem; line-height: 1.45; color: var(--navy);
}

/* Farm to pack */
.farm { background: var(--sand); }
.steps { list-style: none; padding: 0; margin: 0 0 48px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.steps li { background: var(--white); border-radius: var(--radius); padding: 28px 24px; box-shadow: 0 2px 10px rgba(23,48,61,.05); }
.step-num { font-family: var(--head); font-weight: 700; font-size: 1.1rem; color: var(--gold); letter-spacing: .1em; display: block; margin-bottom: 10px; }
.steps p { color: var(--muted); font-size: .96rem; margin: 0; }
.farm-photos { display: grid; grid-template-columns: 1fr 1.7fr; gap: 22px; }
.farm-photos img { border-radius: var(--radius); width: 100%; height: 360px; object-fit: cover; }

/* Products */
.product-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.product-card { background: var(--white); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.product-img img { width: 100%; aspect-ratio: 1.15/1; object-fit: cover; }
.product-body { padding: 28px 30px 32px; display: flex; flex-direction: column; flex: 1; }
.product-body p { color: var(--muted); }
.product-body .btn { align-self: flex-start; margin-top: auto; }
.product-tag { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--sage); margin-bottom: 8px; }
.sizes { list-style: none; padding: 0; margin: 0 0 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.sizes li { border: 1.5px solid var(--gold); color: var(--gold-dark); border-radius: 999px; padding: 4px 14px 2px; font-family: var(--head); font-weight: 600; font-size: .92rem; }

/* Gifting */
.gifting { background: var(--white); }
.gifting-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.gifting-copy p { color: var(--muted); }
.gifting-copy .btn { margin-top: 10px; }
.gifting-photos { display: grid; grid-template-columns: 1.1fr 1fr; grid-template-rows: 1fr 1fr; gap: 16px; height: 520px; }
.gifting-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.gifting-photos .g-main { grid-row: span 2; }

/* Vision & mission */
.vm { background: var(--navy); color: var(--white); }
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.vm-card { border: 1px solid rgba(195,148,86,.45); border-radius: 20px; padding: clamp(28px, 4vw, 48px); }
.vm-card h2 { color: var(--white); font-family: var(--serif); font-weight: 500; font-style: italic; }
.vm-card p { color: rgba(255,255,255,.82); }
.vm .eyebrow { color: var(--gold); }
.mission-list { list-style: none; padding: 0; margin: 0; }
.mission-list li { position: relative; padding-left: 30px; margin-bottom: 14px; color: rgba(255,255,255,.88); }
.mission-list li::before {
  content: ""; position: absolute; left: 0; top: .55em; width: 14px; height: 14px;
  border-radius: 50% 0 50% 0; background: var(--gold); transform: rotate(-10deg);
}

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
.contact-grid > div > p { color: var(--muted); }
.contact-list { list-style: none; padding: 0; margin: 24px 0 0; }
.contact-list li { display: flex; gap: 18px; padding: 14px 0; border-bottom: 1px solid rgba(23,48,61,.1); }
.contact-list span { width: 64px; flex: none; font-family: var(--head); font-weight: 600; color: var(--gold-dark); text-transform: uppercase; letter-spacing: .1em; font-size: .82rem; padding-top: 3px; }
.contact-list a { text-decoration: none; font-weight: 500; color: var(--navy); }
.contact-list a:hover { color: var(--gold-dark); }
.address-cards { display: grid; gap: 20px; }
.address-card { background: var(--white); border-radius: var(--radius); padding: 26px 28px; box-shadow: 0 2px 12px rgba(23,48,61,.06); border-left: 4px solid var(--gold); }
.address-card p { color: var(--muted); margin-bottom: .6em; }
.address-card a { color: var(--gold-dark); font-weight: 600; text-decoration: none; }

/* Footer */
.site-footer { background: #10232d; color: rgba(255,255,255,.75); padding: 60px 0 24px; font-size: .93rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1.2fr; gap: 40px; align-items: start; }
.footer-brand img { width: 88px; height: auto; background: var(--white); border-radius: 50%; padding: 4px; margin-bottom: 14px; }
.footer-brand .tagline { color: var(--gold); font-size: 1.05rem; }
.footer-brand .tagline span { color: var(--white); }
.footer-nav { display: flex; flex-direction: column; gap: 8px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--gold); }
.footer-legal p { margin: 0 0 4px; }
.footer-legal strong { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 40px; padding-top: 20px; font-size: .85rem; }
.footer-bottom p { margin: 0; }

/* Responsive */
@media (max-width: 960px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .site-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: 4px;
    background: var(--cream); padding: 12px 20px 22px;
    border-bottom: 1px solid rgba(23,48,61,.1);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav a:not(.btn) { padding: 10px 0; width: 100%; }
  .site-nav .btn { margin-top: 8px; }
  .hero-grid, .story-grid, .gifting-grid, .contact-grid, .vm-grid, .product-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 14px; bottom: 14px; }
  .story-media img { aspect-ratio: 4/3; }
  .farm-photos { grid-template-columns: 1fr; }
  .farm-photos img { height: 260px; }
  .gifting-photos { height: 420px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .trust-grid, .steps { grid-template-columns: 1fr; }
  .gifting-photos { height: 340px; }
}
h1 em { white-space: nowrap; }
