.foodtrace {
  --ft-paper:#f5efe7; --ft-sage:#e5ebe0; --ft-green:#49684d; --ft-ink:#49443b;
  --ft-rule:#49684d35; color:var(--ft-ink); background:var(--ft-paper);
}
.foodtrace :is(h1,h2,h3) {font-family:var(--serif);font-weight:400;line-height:1.03;text-wrap:balance}
.foodtrace h2 {font-size:clamp(36px,6.8vw,96px);letter-spacing:-.048em;margin:.18em 0}
.foodtrace h3 {font-size:clamp(19px,2.5vw,36px);margin:.2em 0 .42em}
.foodtrace p {max-width:65ch}
.foodtrace summary {cursor:pointer;color:var(--ft-green);font-weight:650}
.foodtrace details {margin-top:2rem}
.foodtrace a:focus-visible,.foodtrace button:focus-visible,.ft-system-board li:focus-visible {outline:2px solid var(--ft-green);outline-offset:4px}
.ft-heading {margin-bottom:clamp(1.4rem,4vw,3.5rem)}
.ft-heading > p:last-child {font-size:clamp(16px,1.7vw,22px)}
.ft-hero-copy {padding-block:clamp(2rem,5vw,4.75rem) clamp(1.65rem,3.8vw,3.25rem)}
.ft-hero-copy > .eyebrow {margin:0 0 .85rem}
body[data-route] main .foodtrace .ft-hero-copy h1 {
 font-size:clamp(2.15rem,5.6vw,5.25rem) !important;
 margin:0;
 max-width:23ch;
 text-wrap:balance;
}
.ft-intro-summary {margin:.8rem 0 0}
.ft-intro-skills {
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:0 clamp(1rem,4vw,4rem);
 margin:clamp(1.3rem,2.6vw,2.35rem) 0 0;
 padding-top:.85rem;
 border-top:1px solid var(--ft-rule);
}
body[data-route] main .foodtrace .ft-intro-skills dt {
 font-size:.725rem !important;
 font-weight:650;
 letter-spacing:.1em;
 color:var(--ft-green);
}
.ft-intro-skills dd {margin:.32rem 0 0}
.ft-intro-skills ul {padding:0;margin:0;list-style:none}
@media(max-width:680px) {
 .ft-intro-skills {grid-template-columns:1fr;row-gap:.85rem}
 .ft-intro-skills > div + div {border-top:1px solid var(--ft-rule);padding-top:.7rem}
}
.ft-slogan {font-family:var(--serif);font-size:clamp(23px,3.8vw,49px);line-height:1.08;margin:.45em 0}
.ft-keywords,.ft-note {color:var(--ft-green)}
.ft-note {font-size:.92rem}
.ft-hero-art {margin:0;position:relative}
.ft-hero-art img {display:block;width:100%;height:auto}
.ft-hero-art figcaption {position:absolute;bottom:1rem;right:1rem;padding:.35rem .6rem;background:var(--ft-paper);font-size:.72rem}
.ft-hero-art > span {position:absolute;left:41%;top:28%;width:22%;height:40%;background:#c7f2ae45;clip-path:polygon(4% 0,18% 0,100% 100%,0 100%);pointer-events:none}
.ft-research,.ft-system,.ft-architecture,.ft-journey,.ft-thoughts,.ft-chapter {padding-block:clamp(50px,9vw,132px)}
.ft-research {background:linear-gradient(#f2eae3,var(--ft-paper))}
.ft-system {background:linear-gradient(var(--ft-paper),var(--ft-sage) 15% 85%,var(--ft-paper))}
.ft-architecture {background:#edf0e5}
.ft-journey {background:linear-gradient(#edf0e5,#f2eae3 92%,var(--ft-paper))}
.ft-thoughts {background:#fbfaf6}
.ft-research-grid,.ft-survey,.ft-system-board {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(18px,4vw,62px);align-items:start}
.ft-stat {font:400 clamp(48px,10vw,128px)/.9 var(--serif);color:var(--ft-green)}
.ft-survey {margin-top:1.3rem}
.ft-diagram {margin:1rem 0}
.ft-diagram img {display:block;width:auto;max-width:100%;max-height:570px;object-fit:contain}
.ft-diagram figcaption {margin-top:.65rem;font-size:.83rem}
.ft-flow,.ft-definitions {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(15px,3vw,36px)}
.ft-flow section,.ft-definitions > div {border-top:1px solid var(--ft-rule);padding-top:1rem}
.ft-flow ol,.ft-system-board ol {list-style:none;margin:0;padding:0}
.ft-flow li,.ft-system-board li {display:flex;align-items:center;gap:12px;padding:.5rem 0;border-bottom:1px solid var(--ft-rule)}
.ft-flow img,.ft-system-board li img {width:34px;height:38px;object-fit:contain;flex:none}
.ft-definitions {margin:2rem 0 0}
.ft-definitions dt {font-weight:650;color:var(--ft-green)}
.ft-definitions dd {margin:.35rem 0 0}
.ft-architecture .ft-definitions {grid-template-columns:repeat(4,minmax(0,1fr))}
.ft-system-board {align-items:center}
.ft-system-board > img {width:100%;height:auto}
.ft-system-board li {transition:transform .22s,border-color .22s}
.ft-system-board li:is(:hover,:focus-visible) {transform:translateX(6px);border-color:var(--ft-green)}
.ft-system-board li h3 {font-size:clamp(18px,2.6vw,28px);margin:0}
.ft-system-board li p {margin:.3rem 0 0}
.ft-icons {display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:1.5rem 1rem}
.ft-icons button {border:0;background:none;color:inherit;display:grid;justify-items:center;align-content:start;gap:.65rem;padding:.5rem;cursor:pointer;transform:translate(var(--ft-x,0),var(--ft-y,0));transition:transform .22s,filter .22s}
.ft-icons button:is(:hover,:focus-visible,[aria-pressed="true"]) {transform:translate(var(--ft-x,0),calc(var(--ft-y,0px) - 6px));filter:drop-shadow(0 7px 5px #49684d30)}
.ft-icons img {width:clamp(44px,7vw,92px);height:clamp(44px,7vw,92px);object-fit:contain}
.ft-scroll {display:grid;grid-template-columns:minmax(0,1.8fr) minmax(0,1fr);align-items:start;gap:clamp(10px,4vw,54px)}
.ft-stage {position:sticky;top:clamp(74px,15svh,140px);aspect-ratio:16/11;overflow:hidden;background:#dedfd0;isolation:isolate}
.ft-scene {position:absolute;inset:0;opacity:0}
.ft-scene:first-child {opacity:1}
.ft-scene img {width:100%;height:100%;object-fit:cover;display:block}
.ft-dish {position:absolute;width:39%;aspect-ratio:1.36;left:7%;bottom:8%;overflow:hidden;border-radius:50%;box-shadow:0 10px 30px #25351b39;transform:translate(calc(var(--ft-progress,0)*2%),calc(var(--ft-progress,0)*-2%)) rotate(calc(var(--ft-progress,0)*3deg));z-index:1}
.ft-dish img {width:100%;height:100%;object-fit:cover}
.ft-scan {opacity:0;position:absolute;pointer-events:none}
.ft-scan {inset:23% 26%;border:1px solid #d9f2b9;box-shadow:0 0 16px #c7f2ae65;transform:translateY(calc(var(--ft-progress,0)*3%))}
.ft-stage[data-step="1"] .ft-scan,.ft-stage[data-step="3"] .ft-scan {opacity:1}
.ft-stage-labels {position:absolute;z-index:3;right:4%;bottom:8%;width:min(47%,230px);font-size:clamp(10px,1.3vw,15px)}
.ft-stage-labels > div {padding:.65em .8em;background:#f5f9ebdf;color:#263c2b;border-left:2px solid var(--ft-green)}
.ft-stage-labels strong,.ft-stage-labels span {display:block}
.ft-stage-labels span {margin-top:.3em;line-height:1.35}
.ft-steps {margin:0;padding:0;list-style:none}
.ft-steps li {min-height:56svh;display:flex;flex-direction:column;justify-content:center;border-bottom:1px solid var(--ft-rule);padding:1.2rem 0}
.ft-steps li p {margin:.35em 0}
.ft-ending {font-family:var(--serif);font-size:clamp(22px,4.5vw,62px);margin:1.1em 0 0}
.ft-features {
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 gap:clamp(.75rem,2vw,1.75rem);
 margin:2rem 0 0;
 padding:0;
 list-style:none;
}
.ft-features > li {
 position:relative;
 display:flex;
 flex-direction:column;
 padding:clamp(.85rem,1.8vw,1.5rem);
 border:1px solid var(--ft-rule);
 min-width:0;
}
.ft-features > li:not(:last-child)::after {
 content:"";
 position:absolute;
 top:1.8rem;
 left:100%;
 width:clamp(.75rem,2vw,1.75rem);
 border-top:1px solid var(--ft-rule);
}
.ft-features .eyebrow {margin:0;color:var(--ft-green)}
.ft-features img {
 display:block;
 width:100%;
 max-width:10rem;
 aspect-ratio:16/9;
 object-fit:cover;
 margin-top:auto;
}
@media(max-width:820px) {
 .ft-features {grid-template-columns:1fr}
 .ft-features > li:not(:last-child)::after {
  top:100%;
  left:1.45rem;
  width:0;
  height:clamp(.75rem,2vw,1.75rem);
  border-top:0;
  border-left:1px solid var(--ft-rule);
 }
}
.ft-thoughts .wrap {max-width:850px}
@media (prefers-reduced-motion:no-preference) {
 .ft-hero-copy {animation:ft-arrive .7s ease both}
 .ft-hero-art > span {animation:ft-breathe 6s ease-in-out 2}
 @supports(animation-timeline:view()) {
   .ft-flow li {animation:ft-arrive linear both;animation-timeline:view();animation-range:entry 4% cover 22%}
 }
}
@keyframes ft-arrive {from {opacity:.35;transform:translateY(8px)}}
@keyframes ft-breathe {50% {opacity:.2}}
@media(max-width:680px) {
 .ft-scroll,.ft-system-board,.ft-research-grid {grid-template-columns:1fr}
 .ft-stage {top:62px;z-index:2;aspect-ratio:16/9}
 .ft-steps li {min-height:46svh;justify-content:flex-end;padding-block:14svh 1.2rem}
 .ft-flow,.ft-definitions,.ft-architecture .ft-definitions {grid-template-columns:repeat(2,minmax(0,1fr))}
 .ft-icons {grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce) {
 .ft-scroll {display:block}
 .ft-stage {position:relative;top:auto;max-width:850px}
 .ft-steps li {min-height:0;padding:1.15rem 0}
 .ft-scene:first-child {opacity:1!important}
 .ft-scene:not(:first-child) {opacity:0!important}
 .ft-icons button,.ft-system-board li {transition:none}
 .ft-dish,.ft-icons button:is(:hover,:focus-visible,[aria-pressed="true"]),.ft-system-board li:is(:hover,:focus-visible) {transform:none}
}

.ft-workflow-paper[open] {background:#fff;padding:clamp(12px,3vw,28px)}
.ft-system-collage {display:grid;grid-template-columns: minmax(0,1.55fr) minmax(0,1fr);gap:clamp(14px,5vw,60px);align-items:center;margin-top:clamp(20px,5vw,65px)}
.ft-system-collage .ft-diagram img {max-height:420px}
.ft-system-collage > div .ft-diagram img {max-height:220px}
.ft-prototype {padding-block:clamp(50px,9vw,132px);background:#fbfaf6}
.ft-prototype .ft-definitions {grid-template-columns:repeat(2,minmax(0,1fr))}
.ft-proof-grid {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:1.5rem}
.ft-journey {background:linear-gradient(#edf0e5,#f2eae3 92%,var(--ft-paper))}
.ft-scroll {grid-template-columns:minmax(0,2.8fr) minmax(0,1fr)}
.ft-stage {aspect-ratio:auto;height:min(79svh,760px);top:76px;background:radial-gradient(ellipse at 50% 45%,#fbf8f1,#e3eade);overflow:hidden}
.ft-orbit {position:absolute;inset:0 0 14%}
.ft-object-shadow {position:absolute;inset:auto 20% 16%;height:13%;background:#45664d36;filter:blur(28px);border-radius:50%}
.ft-ingredient {position:absolute;top:49%;left:50%;width:24%;aspect-ratio:1.25}
.ft-ingredient img,.ft-dish img {display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 14px 12px #303d2740)}
.ft-ingredient span {position:absolute;top:10%;left:85%;width:max-content;max-width:16ch;line-height:1.2;opacity:var(--ft-annotations,0);font-size:clamp(10px,1.4vw,16px);color:#263c2b;}
.ft-ingredient:nth-child(odd) span {left:auto;right:88%;text-align:right}
.ft-ingredient span::after {content:'';display:block;border-top:1px solid currentColor;margin-top:.25rem}
.ft-dish {width:63%;left:18.5%;bottom:16%;border-radius:0;aspect-ratio:1.5;box-shadow:none;opacity:0;transform:translateY(calc(var(--ft-progress,0)*-1%));overflow:visible}
.ft-stage-labels {right:auto;left:5%;bottom:7%;width:min(90%,360px)}
.ft-stage-labels > div {background:transparent}
.ft-progress {position:absolute;inset:auto 5% 3%;height:1px;background:#49684d38}
.ft-progress span {display:block;height:100%;width:calc(var(--ft-progress,0)*20%);background:#49684d}
@media(max-width:680px) {
 .ft-scroll,.ft-system-collage {grid-template-columns:1fr}
 .ft-stage {height:44svh;min-height:240px;top:62px}
 .ft-proof-grid img {width:100%;height:auto}
 .ft-steps li {min-height:54svh}
}
@media(prefers-reduced-motion:reduce) {
 .ft-stage {height:auto;aspect-ratio:16/10}
 .ft-ingredient,.ft-progress {display:none}
 .ft-stage .ft-dish {opacity:1!important}
}

.ft-journey .ft-scroll {width:min(100%,1520px);margin:auto;gap:0;grid-template-columns:minmax(0,3.3fr) minmax(204px,1fr)}
.ft-journey .ft-stage {height:calc(100svh - 80px);max-height:880px;min-height:420px;top:74px;background:radial-gradient(ellipse at 49% 40%,#fbf9ef,#d5e0cf 99%)}
.ft-journey .ft-orbit {inset:1% 2% 12%}
.ft-journey .ft-ingredient {width:21%;max-width:238px;pointer-events:none}
.ft-journey .ft-dish {z-index:32;bottom:0;left:12%;width:76%;height:65%;aspect-ratio:auto}
.ft-journey .ft-scan {z-index:95}
.ft-stage-labels {z-index:101}
.ft-progress {z-index:101}
.ft-leaders {position:absolute;inset:0;width:100%;height:100%;z-index:98;pointer-events:none;overflow:visible}
.ft-leaders path {fill:none;stroke:#45664d;stroke-width:1;vector-effect:non-scaling-stroke;stroke-dasharray:1;stroke-dashoffset:1}
.ft-orbit-label {position:absolute;z-index:99;line-height:1;transform:translate(-50%,-130%);font:italic clamp(11px,1.4vw,19px)/1 var(--serif);color:#263c2b;background:#f3f3e7e8;padding:.35em;white-space:nowrap;opacity:0}
.ft-journey .ft-steps {padding-inline:clamp(10px,3vw,46px)}
.ft-journey .ft-steps li {min-height:76svh}
@media(max-width:680px) {
 .ft-journey .ft-scroll {grid-template-columns:1fr}
 .ft-journey .ft-stage {height:53svh;min-height:240px;top:62px}
 .ft-journey .ft-steps li {min-height:63svh}
 .ft-orbit-label {font-size:10px}
}
@media(prefers-reduced-motion:reduce) {
 .ft-journey .ft-scroll {display:block}
 .ft-journey .ft-stage {height:auto;min-height:0;top:auto}
 .ft-journey .ft-steps li {min-height:0}
 .ft-leaders,.ft-orbit-label {display:none}
}

/* The contact sheet contains 41 frames of a Blender scene, in scroll order. */
.ft-handoff-render {
 position:absolute;
 z-index:95;
 left:50%;
 bottom:0;
 width:104.1667%;
 aspect-ratio:7/5;
 transform:translateX(-50%);
 background:url('/art/foodtrace/handoff-3d.webp') no-repeat 0 0 / 700% 600%;
 pointer-events:none;
 opacity:0;
}
@media(prefers-reduced-motion:reduce) {
 .ft-handoff-render {display:none}
}

.ft-research-grid {align-items:stretch}
.ft-research-stat,.ft-research-insight,.ft-business-grid > div {
 border-top:1px solid var(--ft-rule);
 padding-block:clamp(1rem,2vw,1.75rem);
 min-width:0;
}
.ft-research-stat .ft-stat {display:block;margin:.2em 0;font-size:clamp(4rem,10vw,8rem)}
.ft-research-insight ul {margin:1rem 0;padding-inline-start:1.25rem}
body[data-route] .foodtrace .ft-research-grid :is(p,li),
body[data-route] .foodtrace .ft-technical > p:not(.eyebrow) {
 font-size:clamp(1rem,1.45vw,1.1875rem) !important;
 line-height:1.6;
}
.ft-evidence-grid,.ft-business-grid {
 display:grid;
 grid-template-columns:repeat(2,minmax(0,1fr));
 gap:clamp(1.4rem,4vw,4rem);
}
.ft-evidence-grid .ft-proof-grid {display:grid;grid-template-columns:1fr;gap:1.2rem;margin:0}
.ft-proof {margin:0;min-width:0}
.ft-proof img {display:block;width:100%;height:auto}
.ft-proof figcaption {padding-top:.65rem}
.ft-proof p {margin:.2em 0 0}
.ft-technical {min-width:0;border-top:1px solid var(--ft-rule);padding-top:1rem}
.ft-technical pre {
 margin:1.2rem 0;
 padding:1rem;
 overflow:auto;
 background:var(--ft-sage);
 color:var(--ft-ink);
}
.ft-business {
 padding-block:clamp(50px,9vw,132px);
 background:var(--ft-paper);
}
.ft-business-grid {margin:0;gap:0 clamp(1.4rem,4vw,4rem)}
.ft-business-grid dt {color:var(--ft-green);font-weight:650}
.ft-business-grid dd {margin:.45em 0 0;max-width:58ch}
.ft-business .ft-diagram img {max-height:none}
@media(max-width:760px) {
 .ft-evidence-grid,.ft-business-grid {grid-template-columns:1fr}
}
@media(prefers-reduced-motion:no-preference) {
 .ft-entered.ft-research-stat .ft-stat,.ft-entered.ft-proof img {
  animation:ft-evidence-in .55s ease both;
 }
 .ft-entered.ft-research-insight {animation:ft-research-rule .55s ease both}
 @keyframes ft-evidence-in {
  from {opacity:.4;transform:translateY(6px)}
  to {opacity:1;transform:translateY(0)}
 }
 @keyframes ft-research-rule {
  from {border-top-color:transparent}
  to {border-top-color:var(--ft-rule)}
 }
}



/* FoodTrace display settings, with a local serif fallback for Canela. */
.foodtrace {--ft-display:Canela,Georgia,'Songti SC',serif}
body[data-route] main .foodtrace :is(h2,h3,h4,h5,h6) {
 font-weight:400 !important;
}
html[lang="en"] body[data-route] main .foodtrace h2 {
 font-family:var(--ft-display) !important;
}
body[data-route] main .foodtrace .ft-thoughts h2 {
 font-family:var(--ft-display) !important;
 font-style:italic;
 font-size:clamp(2rem,5vw,3.75rem) !important;
}
body[data-route] main .foodtrace .ft-thoughts .ft-slogan {
 font-family:var(--sans) !important;
 font-size:var(--type-copy) !important;
 font-weight:700 !important;
 line-height:1.55 !important;
 letter-spacing:normal !important;
}
.ft-icons button[aria-pressed="true"] {
 background:var(--ft-sage);
 box-shadow:inset 0 0 0 1px var(--ft-rule);
}

.ft-survey-mini {
 display:grid;
 gap:.85rem;
 max-width:22rem;
 margin-top:1.2rem;
 color:var(--ft-ink);
}
.ft-survey-mini figure {
 margin:0;
 padding-top:.65rem;
 border-top:1px solid var(--ft-rule);
 min-width:0;
}
body[data-route] main .foodtrace .ft-survey-mini :is(figcaption,dt,dd) {
 font-size:.8125rem !important;
 line-height:1.3;
}
.ft-survey-mini figcaption {font-weight:650;margin-bottom:.55rem}
.ft-survey-age > div {display:flex;align-items:center;gap:.65rem;font-size:.8125rem}
.ft-survey-age svg {display:block;width:2.6rem;height:2.6rem;flex:none;transform:rotate(-90deg)}
.ft-survey-age circle {fill:none;stroke-width:6}
.ft-age-track {stroke:var(--ft-rule)}
.ft-age-value {stroke:var(--ft-green);stroke-dasharray:54.13 100}
.ft-survey-choice dl {display:grid;gap:.38rem;margin:0}
.ft-survey-choice dl > div {display:grid;grid-template-columns:minmax(0,1fr) auto;gap:.15rem .5rem}
.ft-survey-choice dd {margin:0;font-variant-numeric:tabular-nums}
.ft-survey-choice dl span {grid-column:1/-1;height:3px;background:var(--ft-rule)}
.ft-survey-choice dl span::before {
 content:"";
 display:block;
 height:100%;
 width:var(--survey-share);
 background:var(--ft-green);
 transform-origin:left;
}
@media(prefers-reduced-motion:no-preference) {
 .ft-survey-mini.ft-entered .ft-age-value {animation:ft-survey-ring .65s ease-out both}
 .ft-survey-mini.ft-entered .ft-survey-choice dl span::before {animation:ft-survey-bar .65s ease-out both}
 @keyframes ft-survey-ring {from {stroke-dasharray:0 100}}
 @keyframes ft-survey-bar {from {transform:scaleX(0)}}
}

.ft-recognition-workflow {margin:0 0 clamp(1.6rem,4vw,3.5rem)}
.ft-recognition-workflow img {display:block;width:100%;height:auto}
.ft-recognition-workflow figcaption {margin-top:.65rem;color:var(--ft-green)}
