/* Weaver Food Group — site styles, v2
   Palette from the Delicious & Done asset sheet. Navy is the ink, sky blue the accent field,
   warm paper the ground. Layout idea: magazine pages, not dashboards. Photos bleed off the edge,
   text sits in the negative space, sections are offset rather than stacked in equal cards. */
:root {
  --navy: #21145F;
  --sky: #6CC5E9;
  --sky-pale: #E6F4FA;
  --paper: #FBF8F2;
  --paper-2: #F3EDE2;
  --white: #FFFFFF;
  --teal: #2D7888;
  --mint: #5DBA92;
  --gold: #F2C955;
  --ink: #241E3F;
  --ink-soft: #5B5572;
  --line: #E2DCD0;
  --font-display: "Lora", Georgia, "Times New Roman", serif;
  --font-body: "Work Sans", "Helvetica Neue", Arial, sans-serif;
  --max: 1200px;
  --gutter: clamp(18px, 4.5vw, 56px);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition: none !important; animation: none !important; } }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font-body); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible { outline: 3px solid var(--sky); outline-offset: 3px; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.05; margin: 0 0 .45em; color: var(--navy); text-wrap: balance; letter-spacing: -.01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); }
h2 { font-size: clamp(2rem, 3.8vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); }
p { margin: 0 0 1em; max-width: 60ch; }
.lead { font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.5; color: var(--ink); max-width: 36em; }
.eyebrow { font-weight: 600; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin: 0 0 1em; display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--gold); }
.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(64px, 9vw, 130px); }
.section--tight { padding-block: clamp(40px, 5vw, 72px); }
.panel-sky { background: var(--sky-pale); }
.panel-paper { background: var(--paper-2); }
.panel-navy { background: var(--navy); color: #EDEAF6; }
.panel-navy h1, .panel-navy h2, .panel-navy h3 { color: var(--white); }
.panel-navy .eyebrow { color: var(--sky); }
.panel-navy p { color: #EDEAF6; }
.panel-navy a { color: var(--white); }
.amp { font-family: var(--font-display); font-style: italic; }

/* Header */
.header { position: sticky; top: 0; z-index: 50; background: rgba(251,248,242,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 86px; }
.brand img { height: 60px; width: auto; }
.nav { display: flex; align-items: center; gap: clamp(16px, 2.2vw, 34px); }
.nav a { text-decoration: none; color: var(--navy); font-weight: 500; font-size: .98rem; padding: 6px 0; position: relative; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px; background: var(--gold); transition: right .2s; }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { right: 0; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 14px 26px; border-radius: 999px; font-weight: 600; font-size: .98rem; text-decoration: none; border: 2px solid transparent; cursor: pointer; font-family: var(--font-body); line-height: 1.1; transition: background .15s, color .15s, transform .15s; }
.btn--primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn--primary:hover { background: #2d1e7d; border-color: #2d1e7d; }
.btn--sky { background: var(--sky); color: var(--navy); border-color: var(--sky); }
.btn--sky:hover { background: #8ad3ee; border-color: #8ad3ee; }
.btn--gold { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.btn--gold:hover { background: #f7d675; border-color: #f7d675; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: var(--white); }
.panel-navy .btn--ghost { color: var(--white); border-color: rgba(255,255,255,.7); }
.panel-navy .btn--ghost:hover { background: var(--white); color: var(--navy); }
.nav .btn { padding: 11px 20px; color: var(--white); }
.textlink { font-weight: 600; text-decoration: none; color: var(--navy); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.textlink:hover { border-bottom-color: var(--navy); }
.nav-toggle { display: none; background: none; border: 2px solid var(--navy); color: var(--navy); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-family: var(--font-body); font-size: .95rem; }
@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--paper); border-bottom: 1px solid var(--line); flex-direction: column; align-items: stretch; padding: 10px var(--gutter) 22px; gap: 2px; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 0; border-bottom: 1px solid var(--line); }
  .nav a:not(.btn)::after { display: none; }
  .nav .btn { margin-top: 14px; border-bottom: 0; justify-content: center; }
  .brand img { height: 50px; }
}

/* Home hero: text on paper, photograph bleeding off the right edge */
.hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; gap: 0; }
.hero__copy { padding: clamp(40px, 6vw, 96px) var(--gutter) clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--max)) / 2)); position: relative; }
.hero__copy .leaf { position: absolute; right: 6%; top: 24px; width: 56px; opacity: .9; transform: rotate(180deg); }
.hero__copy h1 { margin-bottom: .35em; }
.hero__copy .lead { margin-bottom: 1.6em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }
.hero__media { min-height: 520px; height: 100%; position: relative; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 45% 50%; }
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; }
  .hero__copy { padding-inline: var(--gutter); order: 2; }
  .hero__media { min-height: 0; aspect-ratio: 4 / 3; order: 1; }
  .hero__copy .leaf { display: none; }
}

/* Facts line */
.facts { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 18px 0; font-size: .9rem; letter-spacing: .04em; color: var(--ink-soft); display: flex; flex-wrap: wrap; gap: 8px 0; justify-content: center; }
.facts span { padding: 0 18px; position: relative; white-space: nowrap; }
.facts span + span::before { content: ""; position: absolute; left: -3px; top: 50%; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); transform: translateY(-50%); }
.facts b { color: var(--navy); font-weight: 600; }

/* Editorial two-column with offset photo stack */
.editorial { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.editorial__intro { margin-bottom: 2.2em; }
.chapters { list-style: none; padding: 0; margin: 0; }
.chapters li { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 56px 1fr; gap: 10px 18px; }
.chapters li:last-child { border-bottom: 1px solid var(--line); }
.chapters .num { font-family: var(--font-display); color: var(--sky); font-size: 1.6rem; line-height: 1.2; }
.chapters h3 { margin-bottom: .3em; }
.chapters p { margin: 0 0 .8em; color: var(--ink-soft); }
.stack { position: relative; padding-bottom: 22%; }
.stack img { border-radius: 10px; object-fit: cover; }
.stack .big { width: 86%; aspect-ratio: 4 / 5; margin-left: auto; }
.stack .small { position: absolute; left: 0; bottom: 0; width: 52%; aspect-ratio: 1; box-shadow: 0 18px 40px rgba(33,20,95,.18); border: 6px solid var(--paper); }
.stack .leaf { position: absolute; right: -10px; top: -34px; width: 70px; transform: rotate(200deg); }
@media (max-width: 900px) { .editorial { grid-template-columns: 1fr; } .stack { margin-top: 10px; } }

/* Feature: pale sky panel with photo pulled out of its edge */
.feature { position: relative; }
.feature__panel { background: var(--sky-pale); padding: clamp(40px, 6vw, 88px) 0; }
.feature__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 5vw, 80px); align-items: center; }
.feature__photo { margin: -12% 0; }
.feature__photo img { border-radius: 10px; aspect-ratio: 4 / 5; object-fit: cover; width: 100%; box-shadow: 0 24px 48px rgba(33,20,95,.16); }
.feature h2 { font-size: clamp(2.2rem, 4.2vw, 3.5rem); }
@media (max-width: 900px) { .feature__grid { grid-template-columns: 1fr; } .feature__photo { margin: 0 0 -20%; } .feature__photo img { aspect-ratio: 4 / 3; } .feature + * { padding-top: 24%; } }

/* Sector list as a wrapped line of pills */
.sectors { display: flex; flex-wrap: wrap; gap: 10px; list-style: none; padding: 0; margin: 1.2em 0 0; }
.sectors li { background: var(--white); border: 1px solid var(--line); color: var(--navy); border-radius: 999px; padding: 8px 16px; font-size: .92rem; font-weight: 500; }
.panel-navy .sectors li { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.25); color: var(--white); }

/* Prose with named customers */
.names { font-family: var(--font-display); font-size: clamp(1.4rem, 2.6vw, 2.1rem); line-height: 1.35; color: var(--navy); max-width: 30em; }
.names em { font-style: normal; color: var(--teal); }

/* Mosaic */
.mosaic { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: auto auto; gap: 12px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 8px; }
.mosaic .tall { grid-row: 1 / span 2; aspect-ratio: 4 / 3; }
.mosaic .short { aspect-ratio: 4 / 3; }
@media (max-width: 600px) { .mosaic { grid-template-columns: 1fr; } .mosaic .tall { grid-row: auto; } }
.figcap { font-size: .88rem; color: var(--ink-soft); margin-top: 10px; }

/* Split rows */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 6vw, 96px); align-items: center; }
.split img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.split--rev > :first-child { order: 2; }
.split--wide { grid-template-columns: 5fr 7fr; }
@media (max-width: 900px) { .split, .split--wide { grid-template-columns: 1fr; } .split--rev > :first-child { order: 0; } }

/* Lists */
.checks { list-style: none; padding: 0; margin: 0 0 1.4em; display: grid; gap: 10px; }
.checks li { padding-left: 26px; position: relative; }
.checks li::before { content: ""; position: absolute; left: 0; top: .55em; width: 12px; height: 12px; border-radius: 50%; background: var(--mint); }

/* Page hero (inner pages): split, photo bleeding right */
.page-hero { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); align-items: center; border-bottom: 1px solid var(--line); }
.page-hero__copy { padding: clamp(40px, 6vw, 90px) var(--gutter) clamp(40px, 6vw, 90px) max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.page-hero__media { min-height: 420px; height: 100%; position: relative; }
.page-hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 900px) { .page-hero { grid-template-columns: 1fr; } .page-hero__copy { padding-inline: var(--gutter); } .page-hero__media { min-height: 0; aspect-ratio: 16 / 10; } }

/* Range */
.range-cat { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(24px, 5vw, 72px); padding-block: clamp(40px, 6vw, 80px); border-top: 1px solid var(--line); align-items: start; }
.range-cat:first-of-type { border-top: 0; }
.range-cat:nth-of-type(even) > :first-child { order: 2; }
.range-cat img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; position: sticky; top: 110px; }
.flavours { list-style: none; padding: 0; margin: .6em 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px 32px; }
.flavours li { padding: 11px 0; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; }
.flavours small { font-weight: 600; font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; color: var(--mint); white-space: nowrap; }
.flavours small.mto { color: #a39db5; }
@media (max-width: 900px) { .range-cat { grid-template-columns: 1fr; } .range-cat:nth-of-type(even) > :first-child { order: 0; } .range-cat img { position: static; aspect-ratio: 16 / 9; } }
@media (max-width: 520px) { .flavours { grid-template-columns: 1fr; } }
.key { display: flex; gap: 24px; flex-wrap: wrap; font-size: .92rem; color: var(--ink-soft); margin-top: 1em; }
.key b { font-size: .7rem; letter-spacing: .08em; text-transform: uppercase; margin-right: 6px; color: var(--mint); }
.key b.mto { color: #a39db5; }

/* Notes (definition-style, not tiles) */
.notes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 clamp(32px, 5vw, 72px); margin: 0; }
.notes > div { padding: 22px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 160px 1fr; gap: 8px 20px; }
.notes dt { font-weight: 600; color: var(--navy); font-size: .95rem; }
.notes dd { margin: 0; color: var(--ink-soft); font-size: .98rem; }
.notes dd strong { color: var(--ink); font-weight: 600; }
.panel-navy .notes > div { border-top-color: rgba(255,255,255,.18); }
.panel-navy .notes dt { color: var(--sky); }
.panel-navy .notes dd { color: #D9D4EA; }
.panel-navy .notes dd strong { color: var(--white); }
@media (max-width: 900px) { .notes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .notes > div { grid-template-columns: 1fr; } }

/* Steps as a numbered path */
.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: step; padding: 26px 22px 26px 0; border-right: 1px solid var(--line); }
.steps li:last-child { border-right: 0; }
.steps li + li { padding-left: 22px; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--font-display); font-size: 1.5rem; color: var(--sky); display: block; margin-bottom: 8px; }
.steps h3 { font-size: 1.25rem; margin-bottom: .35em; }
.steps p { font-size: .95rem; color: var(--ink-soft); margin: 0; }
@media (max-width: 960px) { .steps { grid-template-columns: 1fr 1fr; } .steps li:nth-child(2n) { border-right: 0; } .steps li:nth-child(2n+1) { padding-left: 0; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } .steps li { border-right: 0; padding-left: 0 !important; border-bottom: 1px solid var(--line); } }

/* Table */
.table-wrap { overflow-x: auto; }
table { border-collapse: collapse; width: 100%; font-size: .98rem; }
th, td { text-align: left; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
th { font-weight: 600; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); border-bottom: 2px solid var(--navy); }
td:first-child { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); }

/* Brand panels */
.brand-panel { display: grid; grid-template-columns: 1fr 1fr; border-radius: 14px; overflow: hidden; }
.brand-panel__copy { padding: clamp(32px, 5vw, 64px); display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.brand-panel img.photo { width: 100%; height: 100%; object-fit: cover; min-height: 360px; }
.brand-panel--dd { background: var(--navy); color: #EDEAF6; }
.brand-panel--dd h2 { color: var(--white); }
.brand-panel--dd p { color: #EDEAF6; }
.brand-panel--dd .eyebrow { color: var(--sky); }
.brand-panel--gsk { background: var(--white); border: 1px solid var(--line); }
.brand-logo { max-width: 230px; margin-bottom: 10px; }
.gsk-mark { font-family: var(--font-display); font-size: 2.2rem; line-height: 1; color: var(--navy); margin-bottom: 8px; }
@media (max-width: 900px) { .brand-panel { grid-template-columns: 1fr; } .brand-panel img.photo { min-height: 260px; } }

/* CTA band */
.cta { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center; position: relative; }
.cta .leaf { position: absolute; right: -10px; top: -60px; width: 90px; opacity: .35; transform: rotate(160deg); }
.cta .actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; justify-content: flex-end; }
.cta .textlink { color: var(--white); border-bottom-color: var(--sky); }
@media (max-width: 900px) { .cta { grid-template-columns: 1fr; } .cta .actions { justify-content: flex-start; } }

/* Contact */
.contact { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 6vw, 96px); align-items: start; }
.contact dl { margin: 1.5em 0 0; display: grid; gap: 16px; }
.contact dt { font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; color: var(--teal); }
.contact dd { margin: 2px 0 0; font-size: 1.15rem; font-weight: 500; color: var(--navy); }
.contact dd a { text-decoration: none; border-bottom: 2px solid var(--gold); }
.form { background: var(--white); padding: clamp(24px, 3.5vw, 40px); border-radius: 14px; border: 1px solid var(--line); display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 500; font-size: .95rem; color: var(--navy); }
.form input, .form select, .form textarea { font: inherit; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 8px; background: var(--paper); width: 100%; color: var(--ink); }
.form textarea { min-height: 150px; resize: vertical; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .note { font-size: .92rem; color: var(--ink-soft); margin: 0; }
.form .ok { background: var(--sky-pale); border-left: 4px solid var(--sky); padding: 14px 16px; font-size: .96rem; border-radius: 0 8px 8px 0; }
@media (max-width: 900px) { .contact { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .form .row { grid-template-columns: 1fr; } }

.contact-card { background: var(--white); padding: clamp(24px, 3.5vw, 40px); border-radius: 14px; border: 1px solid var(--line); }
.contact-card h2 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.contact-card .btn { margin-top: .4em; }

/* Footer */
.footer { background: var(--navy); color: #CFC9E3; padding-block: 64px 36px; font-size: .96rem; }
.footer .cols { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.footer h4 { color: var(--sky); font-family: var(--font-body); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer a { color: var(--white); text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer img.logo { height: 68px; width: auto; margin-bottom: 16px; }
.footer p { color: #CFC9E3; }
.footer .legal { margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); display: flex; flex-wrap: wrap; gap: 12px 30px; justify-content: space-between; font-size: .86rem; color: #9F97C2; }
@media (max-width: 900px) { .footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer .cols { grid-template-columns: 1fr; } }

/* Strips */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.strip img { aspect-ratio: 1; object-fit: cover; width: 100%; border-radius: 8px; }
.strip img:nth-child(2) { transform: translateY(28px); }
.strip img:nth-child(4) { transform: translateY(28px); }
@media (max-width: 600px) { .strip { grid-template-columns: repeat(2, 1fr); } .strip img:nth-child(n) { transform: none; } }
.strip--wide { grid-template-columns: repeat(3, 1fr); }
.strip--wide img { aspect-ratio: 3 / 1; transform: none !important; }
@media (max-width: 600px) { .strip--wide { grid-template-columns: 1fr; } .strip--wide img { aspect-ratio: 16 / 7; } }
.pad-strip { padding-bottom: 28px; }

/* Pull quote */
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 2.8vw, 2.3rem); line-height: 1.3; color: var(--navy); max-width: 28em; margin: 0; }
.pull cite { display: block; font-family: var(--font-body); font-style: normal; font-size: .92rem; color: var(--ink-soft); margin-top: 1em; }
