/* The Food Biz — shared styles */
:root{
  --ink:#1c2321;
  --paper:#f6f7f5;
  --bottle:#1f3b33;
  --bottle-2:#2c5246;
  --steel:#6f7a76;
  --rule:#d5dad7;
  --brass:#b8862b;
  --on-dark:#eef2ef;
  color-scheme: light;
}
@media (prefers-color-scheme: dark){
  :root:not([data-theme="light"]){
    --ink:#e6ebe8; --paper:#121816; --bottle:#0d1a16; --bottle-2:#1d3a31;
    --steel:#9aa6a1; --rule:#2c3633; --brass:#d6a54a; --on-dark:#eef2ef;
    color-scheme: dark;
  }
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-padding-top:env(safe-area-inset-top,0px)}
:root{padding-top:env(safe-area-inset-top,0px);padding-bottom:env(safe-area-inset-bottom,0px)}
body{margin:0;background:var(--paper);color:var(--ink);
  font-family:"Source Serif 4",Georgia,"Times New Roman",serif;font-size:1.125rem;line-height:1.65}
h1,h2,h3,.wordmark,.nav a,.btn,.scale,.proof b{font-family:"Archivo",Arial,Helvetica,sans-serif}
h1,h2,h3{line-height:1.08;margin:0 0 .5em;font-stretch:85%;letter-spacing:-.01em}
h2{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:800}
h3{font-size:1.25rem;font-weight:700;font-stretch:100%}
p{margin:0 0 1em;max-width:66ch}
a{color:inherit}
a:focus-visible,.btn:focus-visible{outline:3px solid var(--brass);outline-offset:3px}
.wrap{max-width:1120px;margin:0 auto;padding:0 1.25rem}

/* header */
.site-head{border-bottom:1px solid var(--rule);background:var(--paper);position:sticky;top:env(safe-area-inset-top,0px);z-index:5}
body::before{content:"";position:fixed;inset:0 0 auto;height:env(safe-area-inset-top,0px);z-index:10;background:var(--paper)}
.site-head .wrap{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding-top:.9rem;padding-bottom:.9rem}
.wordmark{white-space:nowrap;font-weight:800;font-size:1.3rem;text-decoration:none;font-stretch:85%}
.wordmark span{color:var(--brass)}
.nav{display:flex;flex-wrap:wrap;gap:.25rem 1.25rem}
.nav a{text-decoration:none;font-size:.95rem;color:var(--steel)}
.nav a:hover,.nav a[aria-current="page"]{color:var(--ink)}

/* hero */
.hero{background:var(--bottle);color:var(--on-dark);padding:clamp(3.5rem,9vw,7rem) 0 3rem}
.hero h1{font-size:clamp(3rem,10vw,7.5rem);font-weight:900;font-stretch:75%;max-width:11ch;margin-bottom:.35em}
.hero .lede{font-size:clamp(1.2rem,2.2vw,1.45rem);max-width:40ch;margin-bottom:.6em}
.hero .sub{color:#b9c7c1;max-width:58ch}
.actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:1.75rem}
.btn{display:inline-block;padding:.8rem 1.3rem;border-radius:3px;text-decoration:none;font-weight:600;font-size:1rem}
.btn-solid{background:var(--brass);color:#1c1606}
.btn-line{border:1.5px solid currentColor}

/* the range scale: the signature element */
.scale{margin-top:3.5rem;position:relative;padding-top:1.6rem}
.scale::before{content:"";position:absolute;left:0;right:0;top:.55rem;height:2px;background:linear-gradient(90deg,#8fa59c,var(--brass))}
.scale ol{list-style:none;margin:0;padding:0;display:flex;justify-content:space-between;gap:.5rem}
.scale li{position:relative;font-size:.9rem;color:#c9d6d0;text-align:center;flex:1}
.scale li::before{content:"";position:absolute;left:50%;top:-1.35rem;width:10px;height:10px;margin-left:-5px;border-radius:50%;background:var(--bottle);border:2px solid #8fa59c}
.scale li:last-child::before{border-color:var(--brass);background:var(--brass)}
.scale li:first-child{text-align:left}.scale li:first-child::before{left:5px}
.scale li:last-child{text-align:right}.scale li:last-child::before{left:auto;right:0}
.scale-note{font-size:.85rem;color:#9fb1aa;margin-top:.9rem}
@media (max-width:620px){.scale li{font-size:.75rem}.scale li:nth-child(2),.scale li:nth-child(4){display:none}}

/* sections */
section{padding:clamp(3rem,7vw,5rem) 0}
section + section{border-top:1px solid var(--rule)}
.split{display:grid;grid-template-columns:1fr 1.4fr;gap:2.5rem}
@media (max-width:820px){.split{grid-template-columns:1fr}}
.proof{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem;margin:0;padding:0;list-style:none}
@media (max-width:820px){.proof{grid-template-columns:repeat(2,1fr)}}
.proof li{border-top:3px solid var(--bottle-2);padding-top:.8rem;font-size:1rem;color:var(--steel)}
.proof b{display:block;font-size:clamp(1.8rem,4vw,2.4rem);font-weight:800;color:var(--ink);font-stretch:80%;line-height:1.1}

.services{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:2rem 2.5rem;margin-top:1.5rem}
.services div{border-left:2px solid var(--rule);padding-left:1rem}
.services p{font-size:1.02rem;margin:0}

.work{list-style:none;padding:0;margin:1.5rem 0 0}
.work li{display:grid;grid-template-columns:minmax(0,18rem) 1fr;gap:1.5rem;padding:1.1rem 0;border-bottom:1px solid var(--rule)}
.work li:first-child{border-top:1px solid var(--rule)}
.work strong{font-family:"Archivo",Arial,sans-serif;font-weight:700;font-size:1.02rem;line-height:1.3}
.work span{font-size:1.02rem}
@media (max-width:700px){.work li{grid-template-columns:1fr;gap:.25rem}}
ol.work{counter-reset:p}

.band{background:var(--bottle);color:var(--on-dark)}
.band p{color:#c9d6d0}
.contact-lines{font-size:1.15rem;margin-top:1.25rem}
.contact-lines a{color:var(--on-dark)}

.timeline{list-style:none;padding:0;margin:1.5rem 0 0;border-left:2px solid var(--bottle-2)}
.timeline li{padding:0 0 1.5rem 1.4rem;position:relative}
.timeline li::before{content:"";position:absolute;left:-7px;top:.45rem;width:12px;height:12px;border-radius:50%;background:var(--paper);border:2px solid var(--bottle-2)}
.timeline h3{margin-bottom:.25em}
.timeline p{margin:0}

.faq h3{margin-top:1.75rem}
.faq p{margin-bottom:0}

.site-foot{border-top:1px solid var(--rule);padding:2rem 0;font-size:.95rem;color:var(--steel)}
.site-foot .wrap{display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem}

/* ---- colour and pizzazz pass ---- */
:root{--saffron:#e3a52a;--chilli:#b3312a;--aubergine:#4b2a4e;--olive:#5f6f22;--cream-ink:#fff8ea}
.hero{background:radial-gradient(120% 90% at 85% 10%,#2f5a4c 0%,var(--bottle) 55%)}
.hero h1{color:#fff}
.hero h1 .amp{color:var(--saffron)}

/* proof strip on saffron */
.proof-band{background:var(--saffron);color:#21180a;border-top:0}
.proof-band .proof li{border-top-color:#21180a;color:#3b2c0f}
.proof-band .proof b{color:#21180a}

/* service tiles, one colour each */
.services.tiles{gap:1rem}
.services.tiles div{border-left:0;padding:1.6rem 1.4rem 1.8rem;border-radius:6px;color:var(--cream-ink);min-height:12rem}
.services.tiles div:nth-child(1){background:var(--bottle-2)}
.services.tiles div:nth-child(2){background:var(--aubergine)}
.services.tiles div:nth-child(3){background:var(--chilli)}
.services.tiles div:nth-child(4){background:var(--olive)}
.services.tiles div:nth-child(5){background:#1d2a33}
.services.tiles h3{color:#fff;font-size:1.35rem;font-stretch:85%;font-weight:800}
.services.tiles p{color:#f1e9dc}

/* project feature cards */
.cases{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:1rem;margin-top:1.5rem;list-style:none;padding:0}
.cases li{background:var(--paper);border:1px solid var(--rule);border-top:6px solid var(--c,var(--saffron));border-radius:6px;padding:1.4rem 1.3rem 1.6rem;display:flex;flex-direction:column;gap:.6rem}
.cases .big{font-family:"Archivo",Arial,sans-serif;font-weight:900;font-stretch:75%;font-size:clamp(2.2rem,5vw,3rem);line-height:1;color:var(--c,var(--saffron))}
.cases strong{font-family:"Archivo",Arial,sans-serif;font-size:1.05rem;line-height:1.3}
.cases span{font-size:1rem;color:var(--steel)}
.cases li:nth-child(1){--c:var(--chilli)}
.cases li:nth-child(2){--c:var(--bottle-2)}
.cases li:nth-child(3){--c:var(--aubergine)}
.cases li:nth-child(4){--c:#b07a12}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .cases li{background:#18201d}}

/* coloured accent on long project lists */
.work strong{color:var(--bottle-2)}
@media (prefers-color-scheme: dark){:root:not([data-theme="light"]) .work strong{color:var(--saffron)}}

/* software band in aubergine */
.soft-band{background:var(--aubergine);color:var(--cream-ink);border-top:0}
.soft-band p{color:#e8dce8}
.soft-band h2{color:#fff}

.band{background:var(--chilli)}
.band p{color:#fbe3df}
.band .btn-solid{background:#fff;color:var(--chilli)}

/* service pages */
.hero.hero-sm h1{font-size:clamp(2.4rem,6vw,4.6rem);max-width:16ch}
.ticks{list-style:none;padding:0;margin:0;display:grid;gap:.7rem}
.ticks li{padding-left:1.6rem;position:relative}
.ticks li::before{content:"";position:absolute;left:0;top:.6em;width:.7rem;height:.7rem;border-radius:2px;background:var(--saffron)}
.services.tiles a{color:inherit;text-decoration:none;display:block;height:100%}
.services.tiles a:hover h3{text-decoration:underline}
.crumbs{font-size:.9rem;color:#b9c7c1;margin-bottom:1rem}
.crumbs a{color:#dfe8e4}

/* projects page */
.project{display:grid;grid-template-columns:minmax(0,16rem) 1fr;gap:2.5rem}
.project .big{font-family:"Archivo",Arial,sans-serif;font-weight:900;font-stretch:75%;font-size:clamp(2.6rem,6vw,3.8rem);line-height:1;color:var(--c,var(--chilli));display:block;margin-bottom:.4rem}
.project .where{color:var(--steel);font-size:1rem}
.project h2{font-size:clamp(1.5rem,3vw,2rem)}
@media (max-width:760px){.project{grid-template-columns:1fr;gap:1rem}}

/* ---- punch pass ---- */
.hero h1{font-size:clamp(3.4rem,11vw,8.5rem);letter-spacing:-.02em}
/* the one orchestrated moment: the range line draws itself on load */
@media (prefers-reduced-motion:no-preference){
  .scale::before{transform-origin:left;animation:draw 1.6s cubic-bezier(.6,.1,.2,1) .3s both}
  .scale li{animation:pop .4s ease both}
  .scale li:nth-child(1){animation-delay:.35s}.scale li:nth-child(2){animation-delay:.65s}
  .scale li:nth-child(3){animation-delay:.95s}.scale li:nth-child(4){animation-delay:1.25s}
  .scale li:nth-child(5){animation-delay:1.6s}
  @keyframes draw{from{transform:scaleX(0)}to{transform:scaleX(1)}}
  @keyframes pop{from{opacity:0;transform:translateY(6px)}to{opacity:1;transform:none}}
}
.scale li:last-child{color:#fff;font-weight:600}

/* giant motto band */
.motto{background:var(--saffron);color:#21180a;border-top:0;padding:clamp(3rem,8vw,6rem) 0}
.motto p{font-family:"Archivo",Arial,sans-serif;font-weight:900;font-stretch:75%;font-size:clamp(2.4rem,7vw,5.5rem);line-height:.98;letter-spacing:-.02em;margin:0;max-width:none}
.motto p span{display:block;color:var(--chilli)}

/* tiles and cards respond to the pointer */
.services.tiles div{transition:transform .15s ease}
.services.tiles div:has(a):hover{transform:translateY(-3px)}
.services.tiles a::after{content:"See how it works";display:inline-block;margin-top:1rem;font-family:"Archivo",Arial,sans-serif;font-weight:700;font-size:.95rem;border-bottom:2px solid currentColor}

/* ---- toned-down headings ---- */
h1,h2,.hero h1,.hero.hero-sm h1,.motto p,.cases .big,.project .big,.proof b{font-weight:700;font-stretch:95%;letter-spacing:-.005em}
.hero h1{font-size:clamp(2.2rem,5vw,3.6rem);max-width:none;line-height:1.1}
.hero.hero-sm h1{font-size:clamp(1.9rem,4vw,2.8rem);max-width:none}
h2{font-size:clamp(1.45rem,2.6vw,1.95rem);line-height:1.2}
.project h2{font-size:clamp(1.3rem,2.2vw,1.6rem)}
.motto{padding:clamp(2.5rem,6vw,4rem) 0}
.motto p{font-size:clamp(1.6rem,3.6vw,2.6rem);line-height:1.15}
.cases .big{font-size:clamp(1.5rem,2.8vw,2rem)}
.project .big{font-size:clamp(1.7rem,3.4vw,2.4rem)}
.proof b{font-size:clamp(1.4rem,2.6vw,1.8rem)}
.services.tiles h3{font-size:1.2rem;font-weight:700;font-stretch:100%}
