/* Peak AI · sample A "Kopitiam" */
:root{
  --jade-900:#123f2f;
  --jade-700:#1f6b4f;
  --jade-600:#26805e;
  --jade-500:#3fae84;
  --mint-300:#b9dfcd;
  --mint-200:#d3ebdf;
  --mint-100:#e7f4ed;
  --teak-950:#1e120c;
  --teak-900:#2a1a12;
  --teak-800:#3b2519;
  --teak-600:#6b4630;
  --yolk:#f2b33d;
  --yolk-deep:#e09a24;
  --yolk-soft:#fcefd2;
  --chilli:#c8382c;
  --chilli-soft:#fbe5e1;
  --marble:#f7f4ee;
  --marble-2:#fffdf9;
  --ink:#24190f;
  --ink-2:#4a3d33;
  --muted:#6e6259;
  --line:#e6dfd3;
  --radius:22px;
  --shadow:0 1px 0 rgba(42,26,18,.04), 0 10px 30px -12px rgba(42,26,18,.18);
  --card:0 1px 0 rgba(42,26,18,.04), 0 10px 30px -14px rgba(42,26,18,.16), inset 0 0 0 1px rgba(42,26,18,.06);
  --display:"Fraunces", Georgia, serif;
  --body:"Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;
  --nav-h:70px;
  --mbar-h:96px;
  --marble-veins:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='700'%3E%3Cfilter id='m'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.003 .009' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .44 0 0 0 0 .42 1 0 0 0 0'/%3E%3CfeComponentTransfer%3E%3CfeFuncA type='table' tableValues='0 0 0 0 0 0 0 0 0 0 .17 0 0 0 0 0 0 0 0 0 0'/%3E%3C/feComponentTransfer%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23m)'/%3E%3C/svg%3E");
}

*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:84px;-webkit-text-size-adjust:100%}
body{
  margin:0;background:var(--marble);color:var(--ink);
  font-family:var(--body);font-size:17px;line-height:1.6;
  -webkit-font-smoothing:antialiased;overflow-x:hidden;
  text-wrap:pretty;
}
img,svg{display:block;max-width:100%}
a{color:inherit}
h1,h2,h3{font-family:var(--display);font-weight:600;letter-spacing:-.02em;line-height:1.06;margin:0;text-wrap:balance;font-variation-settings:"opsz" 96}
h2{font-size:clamp(2rem,4.2vw,3.25rem)}
h3{font-size:clamp(1.35rem,2.2vw,1.7rem);line-height:1.15}
p{margin:0}
ul,ol{margin:0;padding:0;list-style:none}
button{font:inherit;color:inherit}
:focus-visible{outline:3px solid var(--jade-900);outline-offset:3px;border-radius:8px}
.teak :focus-visible,.tour-band :focus-visible,.foot :focus-visible{outline-color:var(--yolk)}
.skip{position:absolute;left:-999px;top:8px;background:var(--teak-900);color:#fff;padding:12px 18px;border-radius:999px;z-index:100}
.skip:focus{left:max(16px, env(safe-area-inset-left))}
.vh{position:absolute;width:1px;height:1px;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
.noscript{max-width:1200px;margin:0 auto;padding:16px 32px;background:var(--yolk-soft);color:var(--teak-900);font-weight:600}

/* side gutters clear the notch and rounded corners on a sideways iPhone (viewport-fit=cover) */
.wrap{width:100%;max-width:1200px;margin:0 auto;padding-inline:max(32px, env(safe-area-inset-left)) max(32px, env(safe-area-inset-right))}
.section{padding:96px 0}
/* where two marble sections meet, one gap is enough */
.pains,.depts,.engineer{padding-top:56px}
.sec-head{max-width:760px;margin-bottom:48px}
.sec-head h2{margin:10px 0 16px}
.sec-head h2:first-child{margin-top:0}
.sec-head h2:last-child{margin-bottom:0}
.sec-head-c{margin-inline:auto;text-align:center}
.sec-head-c .eyebrow{justify-content:center}
.sec-head-c .sub{margin-inline:auto}
.sub{font-size:1.125rem;color:var(--ink-2);max-width:640px}
.eyebrow{font-size:.8125rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teak-600);display:flex;align-items:center;gap:10px;flex-wrap:wrap}
.eyebrow::before{content:"";width:8px;height:8px;border-radius:50%;background:var(--jade-500);box-shadow:0 0 0 3px rgba(63,174,132,.2);flex:none}
.hero .eyebrow{color:var(--jade-700)}

/* ===== Field · atmospheric colour field =====
   Marble white drifting into soft mint, a hint of egg-yolk warmth, fine paper grain,
   and two brand motifs in SVG: a steam curl, and a bowl rim that closes the hero and
   opens the teak band. Layers sit at z-index 0; direct children are lifted to z-index 1.
   The six SVG tokens are generated by _src/field-svg.py. */
:root{
  --field-paper:#fffdf9;
  --field-mint-wash:#e6f3eb;
  --field-mint-pool:176,219,197;   /* rgb: mint glow */
  --field-mint-soft:211,235,223;   /* rgb: pale mint corner */
  --field-yolk-warm:251,227,180;   /* rgb: egg-yolk warmth */
  --field-rim-h:64px;              /* height of the bowl-rim edges */
  --field-grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch' seed='4'/%3E%3CfeColorMatrix values='0 0 0 0 .16  0 0 0 0 .10  0 0 0 0 .06  0 0 0 1.25 -.5'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  --field-grain-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='g' x='0' y='0'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='2' stitchTiles='stitch' seed='9'/%3E%3CfeColorMatrix values='0 0 0 0 1  0 0 0 0 .94  0 0 0 0 .84  0 0 0 1.25 -.52'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23g)'/%3E%3C/svg%3E");
  --field-steam:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 520'%3E%3Cdefs%3E%3ClinearGradient id='v' gradientUnits='userSpaceOnUse' x1='0' y1='520' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23fff' stop-opacity='0'/%3E%3Cstop offset='.28' stop-color='%23fff' stop-opacity='1'/%3E%3Cstop offset='.78' stop-color='%23fff' stop-opacity='.7'/%3E%3Cstop offset='1' stop-color='%23fff' stop-opacity='0'/%3E%3C/linearGradient%3E%3ClinearGradient id='l' gradientUnits='userSpaceOnUse' x1='0' y1='520' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%231f6b4f' stop-opacity='0'/%3E%3Cstop offset='.32' stop-color='%231f6b4f' stop-opacity='.24'/%3E%3Cstop offset='.8' stop-color='%231f6b4f' stop-opacity='.10'/%3E%3Cstop offset='1' stop-color='%231f6b4f' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-60%25' y='-10%25' width='220%25' height='120%25'%3E%3CfeGaussianBlur stdDeviation='10'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M96 512C58 438 146 398 108 318C74 246 60 196 112 134C150 88 132 44 102 8' stroke='url(%23v)' stroke-width='34' filter='url(%23b)' opacity='.9'/%3E%3Cpath d='M164 476C134 414 200 376 174 306C154 254 150 214 184 166C206 136 200 110 186 88' stroke='url(%23v)' stroke-width='24' filter='url(%23b)' opacity='.75'/%3E%3Cpath d='M96 512C58 438 146 398 108 318C74 246 60 196 112 134C150 88 132 44 102 8' stroke='url(%23l)' stroke-width='1.6'/%3E%3Cpath d='M164 476C134 414 200 376 174 306C154 254 150 214 184 166C206 136 200 110 186 88' stroke='url(%23l)' stroke-width='1.2'/%3E%3C/g%3E%3C/svg%3E");
  --field-steam-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 260 520'%3E%3Cdefs%3E%3ClinearGradient id='v' gradientUnits='userSpaceOnUse' x1='0' y1='520' x2='0' y2='0'%3E%3Cstop offset='0' stop-color='%23fff4e2' stop-opacity='0'/%3E%3Cstop offset='.3' stop-color='%23fff4e2' stop-opacity='1'/%3E%3Cstop offset='.8' stop-color='%23fff4e2' stop-opacity='.6'/%3E%3Cstop offset='1' stop-color='%23fff4e2' stop-opacity='0'/%3E%3C/linearGradient%3E%3Cfilter id='b' x='-60%25' y='-10%25' width='220%25' height='120%25'%3E%3CfeGaussianBlur stdDeviation='8'/%3E%3C/filter%3E%3C/defs%3E%3Cg fill='none' stroke-linecap='round' stroke='url(%23v)'%3E%3Cpath d='M96 512C58 438 146 398 108 318C74 246 60 196 112 134C150 88 132 44 102 8' stroke-width='22' filter='url(%23b)'/%3E%3Cpath d='M164 476C134 414 200 376 174 306C154 254 150 214 184 166C206 136 200 110 186 88' stroke-width='16' filter='url(%23b)' opacity='.8'/%3E%3Cpath d='M96 512C58 438 146 398 108 318C74 246 60 196 112 134C150 88 132 44 102 8' stroke-width='1.4' opacity='.55'/%3E%3C/g%3E%3C/svg%3E");
  --field-rim-above:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40C270 70 490 80 720 80S1170 70 1440 40V0H0Z' fill='%23f7f4ee'/%3E%3Cpath d='M0 40C270 70 490 80 720 80S1170 70 1440 40' fill='none' stroke='%23f2b33d' stroke-width='2' stroke-opacity='.75' vector-effect='non-scaling-stroke' transform='translate(0 2)'/%3E%3C/svg%3E");
  --field-rim-below:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80' preserveAspectRatio='none'%3E%3Cpath d='M0 40C270 70 490 80 720 80S1170 70 1440 40V80H0Z' fill='%23f7f4ee'/%3E%3Cpath d='M0 40C270 70 490 80 720 80S1170 70 1440 40' fill='none' stroke='%23e09a24' stroke-width='1.5' stroke-opacity='.55' vector-effect='non-scaling-stroke' transform='translate(0 -1.5)'/%3E%3C/svg%3E");
}
.field{position:relative;isolation:isolate;background-color:var(--field-paper)}
.field > *{position:relative;z-index:1}
.field::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--field-grain) 0 0/200px 200px;opacity:.16}

/* hero: mint pools behind the phone, yolk warms the copy side */
.hero.field{
  background:
    radial-gradient(48% 62% at 76% 46%, rgba(var(--field-mint-pool),.85), rgba(var(--field-mint-pool),0) 72%),
    radial-gradient(36% 46% at 102% -4%, rgba(var(--field-mint-soft),1), rgba(var(--field-mint-soft),0) 72%),
    radial-gradient(46% 60% at -4% 106%, rgba(var(--field-yolk-warm),.95), rgba(var(--field-yolk-warm),0) 72%),
    linear-gradient(168deg, var(--field-paper) 0%, #f8f8f1 32%, var(--field-mint-wash) 70%, #e1efe6 100%);
}
/* the bowl rim: the field curves down into the page */
.hero-rim{position:absolute;left:0;right:0;bottom:-1px;height:var(--field-rim-h);background:var(--field-rim-below) 0 100%/100% 100% no-repeat;box-shadow:none}

/* engineer: one soft wash. Light mint behind the heading, a low yolk glow under the chats,
   fading in and out of the page */
.engineer.field{
  overflow:hidden;
  background:
    linear-gradient(180deg, var(--mint-100) 0, rgba(231,244,237,0) 160px, rgba(247,244,238,0) calc(100% - 160px), var(--marble) 100%),
    radial-gradient(80% 70% at 78% 22%, rgba(var(--field-mint-pool),.3), rgba(var(--field-mint-pool),0) 78%),
    radial-gradient(70% 30% at 50% 78%, rgba(var(--field-yolk-warm),.45), rgba(var(--field-yolk-warm),0) 72%),
    linear-gradient(180deg, var(--mint-100) 0%, #eef6f0 28%, var(--field-mint-wash) 70%, var(--marble) 100%);
}
.engineer.field::after{-webkit-mask-image:linear-gradient(transparent, #000 160px, #000 calc(100% - 160px), transparent);mask-image:linear-gradient(transparent, #000 160px, #000 calc(100% - 160px), transparent)}

/* closing band: lamp-lit teak, steam from the sides, the bowl rim on top.
   The glows end above the bottom edge and the grain and steam fade out over the last 140px,
   so the band settles into the flat teak footer with no seam. */
.close.teak{
  isolation:isolate;overflow:hidden;
  background:
    linear-gradient(180deg, rgba(30,18,12,0) calc(100% - 160px), var(--teak-950) 100%),
    radial-gradient(46% 62% at 50% 36%, rgba(242,179,61,.18), rgba(242,179,61,0) 72%),
    radial-gradient(42% 64% at -2% 70%, rgba(63,174,132,.17), rgba(63,174,132,0) 72%),
    radial-gradient(34% 54% at 102% 70%, rgba(200,56,44,.09), rgba(200,56,44,0) 72%),
    linear-gradient(180deg, var(--teak-800) 0%, var(--teak-900) 52%, var(--teak-950) 100%);
}
.close.teak::before,.close.teak::after{-webkit-mask-image:linear-gradient(#000 calc(100% - 140px), transparent);mask-image:linear-gradient(#000 calc(100% - 140px), transparent)}
.close.teak::before{
  content:"";position:absolute;inset:0;z-index:0;pointer-events:none;opacity:.13;
  background:
    var(--field-steam-dark) no-repeat left max(0px, calc(50% - 600px)) bottom -20px/210px 420px,
    var(--field-steam-dark) no-repeat right max(0px, calc(50% - 560px)) bottom 30px/170px 340px;
}
.close.teak::after{content:"";position:absolute;inset:0;z-index:0;pointer-events:none;background:var(--field-grain-light) 0 0/200px 200px;opacity:.22}
.close > *{position:relative;z-index:1}
.close-rim{height:var(--field-rim-h);background:var(--field-rim-above) 0 0/100% 100% no-repeat;border:0;opacity:1;margin-top:-1px}
/* ===== end field ===== */

.teak{background-color:var(--teak-900);color:#f6efe6}

/* buttons: enamel-cup rim */
.btn{
  display:inline-flex;align-items:center;justify-content:center;gap:10px;
  font:700 1rem/1 var(--body);text-decoration:none;border-radius:999px;
  min-height:52px;padding:0 28px;border:0;cursor:pointer;white-space:nowrap;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn svg{width:18px;height:18px;flex:none}
.btn-yolk{background:var(--yolk);color:var(--teak-900);box-shadow:inset 0 -3px 0 rgba(120,70,0,.25), 0 6px 16px -6px rgba(224,154,36,.7)}
.btn-ghost{background:rgba(255,255,255,.78);color:var(--teak-900);box-shadow:inset 0 0 0 2px var(--teak-900)}
.btn-teak{background:var(--teak-900);color:#fff;box-shadow:inset 0 -3px 0 rgba(0,0,0,.25)}
.btn-teak svg,.btn-ghost svg,.live-link svg{fill:var(--yolk);stroke:none}
.btn-ghost svg{fill:var(--jade-700)}
.btn-sm{min-height:44px;padding:0 18px;font-size:.92rem}
.btn-lg{min-height:60px;padding:0 36px;font-size:1.1rem}

/* nav */
.nav{position:sticky;top:0;z-index:50;background:rgba(247,244,238,.97);backdrop-filter:saturate(1.4) blur(14px);-webkit-backdrop-filter:saturate(1.4) blur(14px);border-bottom:1px solid rgba(42,26,18,.08)}
.nav-in{display:flex;align-items:center;gap:24px;height:var(--nav-h)}
.brand{display:inline-flex;align-items:center;gap:10px;min-height:44px;text-decoration:none;font:600 1.45rem/1 var(--display);letter-spacing:-.02em;color:var(--jade-900);flex:none}
.brand img{width:34px;height:34px}
.brand-light{color:#f6efe6}
.brand span{white-space:nowrap}
.nav-links{display:flex;gap:22px;margin-left:auto}
.nav-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-weight:600;font-size:.95rem;color:var(--ink-2);white-space:nowrap}
.nav-cta{display:flex;align-items:center;gap:10px;flex:none}
.live-link{display:inline-flex;align-items:center;gap:8px;min-height:44px;text-decoration:none;font-weight:700;font-size:.92rem;line-height:1;color:#fff;background:var(--teak-900);padding:0 16px 0 14px;border-radius:999px;white-space:nowrap;box-shadow:inset 0 -2px 0 rgba(0,0,0,.25);transition:background .18s ease, transform .18s ease}
.live-link svg{width:14px;height:14px}
.menu-btn{display:none;align-items:center;gap:8px;min-height:44px;min-width:44px;padding:0 14px 0 12px;border:0;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1.5px rgba(42,26,18,.18);font-weight:700;font-size:.92rem;color:var(--teak-900);cursor:pointer}
.burger{position:relative;width:18px;height:12px;flex:none}
.burger::before,.burger::after,.burger i{content:"";position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .2s ease, opacity .2s ease}
.burger::before{top:0}
.burger i{top:5px}
.burger::after{bottom:0}
.menu-btn[aria-expanded="true"] .burger::before{transform:translateY(5px) rotate(45deg)}
.menu-btn[aria-expanded="true"] .burger::after{transform:translateY(-5px) rotate(-45deg)}
.menu-btn[aria-expanded="true"] .burger i{opacity:0}
.menu{position:absolute;left:0;right:0;top:100%;background:var(--marble-2);border-bottom:1px solid var(--line);box-shadow:0 24px 40px -24px rgba(42,26,18,.45);max-height:calc(100vh - var(--nav-h));max-height:calc(100dvh - var(--nav-h));overflow-y:auto;overscroll-behavior:contain;animation:sheet .22s ease both}
.menu[hidden]{display:none}
/* menu open: the bar takes the sheet colour, so bar and dropdown read as one surface */
html.menu-open .nav{background:var(--marble-2)}
/* the menu keeps the page gutter from .wrap, so its rows line up with the logo */
.menu-in{padding-block:8px 20px}
.menu-list li{border-bottom:1px solid #efe8dd}
.menu-list a{display:flex;align-items:center;justify-content:space-between;min-height:56px;padding:0 4px;font:600 1.2rem/1.2 var(--display);letter-spacing:-.01em;color:var(--teak-900);text-decoration:none}
.menu-list a::after{content:"";width:9px;height:9px;border-top:2px solid var(--jade-700);border-right:2px solid var(--jade-700);transform:rotate(45deg);margin-right:6px}
.menu-ctas{display:grid;gap:10px;margin-top:18px}
.menu-scrim{position:fixed;inset:0;z-index:40;background:rgba(30,18,12,.35);touch-action:none}
.menu-scrim[hidden]{display:none}
@keyframes sheet{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:none}}

/* hero */
.hero{position:relative;padding:80px 0 0;overflow:hidden}
.hero-copy h1{font-size:clamp(2.6rem,5vw,4.25rem);line-height:1.02;margin:18px 0 24px;color:var(--teak-900);text-wrap:pretty}
.hero-copy .lede{font-size:1.2rem;color:var(--ink-2);max-width:580px;line-height:1.6;text-wrap:pretty}
.for-line{margin-top:16px;font-weight:400;color:var(--teak-600);max-width:580px;text-wrap:pretty}
.cta-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}

.msg{max-width:86%;padding:8px 10px 6px;border-radius:12px;font-size:.84rem;line-height:1.45;color:#1d1611;box-shadow:0 1px 1px rgba(0,0,0,.08);position:relative;animation:pop .38s cubic-bezier(.2,.9,.3,1.2) both}
.msg time{display:block;text-align:right;font-size:.66rem;color:#7a7067;margin-top:2px}
@keyframes pop{from{opacity:0;transform:translateY(8px) scale(.97)}to{opacity:1;transform:none}}
.replay{display:inline-flex;align-items:center;gap:8px;min-height:44px;margin-top:14px;background:none;border:0;font:600 .92rem var(--body);cursor:pointer;padding:0 12px;border-radius:999px;text-decoration:underline;text-underline-offset:4px}
.replay svg{width:16px;height:16px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* proof: a kopitiam order chit */
.proof{padding-top:88px}
.chit{position:relative;max-width:1000px;margin:0 auto;background:#fffdf6;border-radius:8px 8px 0 0;box-shadow:0 1px 0 rgba(42,26,18,.05), 0 18px 40px -24px rgba(42,26,18,.35), inset 0 0 0 1px rgba(42,26,18,.05);padding:16px 0 8px}
.chit::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:8px;background:radial-gradient(circle at 7px 0, #fffdf6 6.5px, transparent 7px) 0 0/14px 8px repeat-x}
.chit-top{margin:0 24px;padding-bottom:14px;border-bottom:1.5px dashed #d9cfbf;text-align:center;font-size:.86rem;color:var(--muted)}
.proof-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.proof-grid li{padding:28px 26px 26px;border-left:1.5px dashed #d9cfbf}
.proof-grid li:first-child{border-left:0}
.proof-grid .n{display:block;font:600 clamp(2.1rem,3.6vw,3rem)/1 var(--display);letter-spacing:-.03em;color:var(--teak-900);font-variant-numeric:tabular-nums}
.proof-grid .l{display:block;margin-top:10px;color:var(--ink-2);font-size:1rem;line-height:1.4;text-wrap:balance}
.quote{margin:52px auto 0;max-width:620px;padding:26px 30px;border-radius:20px;background:#fff;box-shadow:inset 0 0 0 1px var(--line)}
.quote blockquote{margin:0;font:600 clamp(1.4rem,2.2vw,1.85rem)/1.25 var(--display);letter-spacing:-.015em;color:var(--teak-900)}
.quote blockquote::before{content:"\201C";display:block;font-size:3.2rem;line-height:.5;margin:6px 0 8px;color:var(--yolk-deep)}
.quote figcaption{margin-top:12px;color:var(--muted);font-weight:600;font-size:.95rem}

/* problems */
.pains{background:var(--marble)}
.prob{background:#fff;border-radius:var(--radius);box-shadow:var(--shadow), inset 0 0 0 1px var(--line)}
.prob-feat{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}
.prob-big{padding:30px 30px 22px;display:flex;flex-direction:column}
.prob-ico{width:56px;height:56px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--marble);color:var(--teak-800);box-shadow:inset 0 0 0 1px var(--line)}
.prob-ico svg{width:28px;height:28px}
.prob-big .prob-ico{margin-bottom:18px}
.prob-big h3{font-size:clamp(1.4rem,2.1vw,1.65rem);color:var(--teak-900);margin-bottom:10px}
.prob-d{color:var(--ink-2);font-size:.98rem;line-height:1.55}
.ba{margin:18px 0 0;display:grid;gap:12px}
.ba dt{display:flex;align-items:center;gap:8px;font:700 .8125rem/1.2 var(--body);letter-spacing:.08em;text-transform:uppercase;margin-bottom:6px}
.ba dt svg{width:20px;height:20px;flex:none;border-radius:50%;padding:3px;fill:none;stroke:#fff;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
.ba dd{margin:0;padding-left:28px}
.ba-late dt{color:var(--chilli)}
.ba-late dt svg{background:var(--chilli)}
.ba-late dd{font:600 .98rem/1.4 var(--body);color:#a92a1f}
.ba-now{background:var(--mint-100);padding:14px 16px 15px;border-radius:16px}
.ba-now dt{color:var(--jade-700)}
.ba-now dt svg{background:var(--jade-600)}
.ba-now dd{font-size:.96rem;line-height:1.5;color:var(--ink)}
.prob-shot{margin:18px 0 0}
.prob-shot .ph-c::after,.prob-shot .ph-c em{display:none}
/* checklist photos as simple pictures: a chiller with its thermometer, the hand-wash sink, a mopped floor.
   Plain photos only, no detection boxes. */
.prob-shot .ph-a{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='120' height='90' fill='%23e6ecea'/%3E%3Crect y='82' width='120' height='8' fill='%23d9cfbf'/%3E%3Crect x='22' y='6' width='72' height='80' rx='4' fill='%23c3cdcf'/%3E%3Crect x='27' y='11' width='58' height='70' rx='2' fill='%23eef6f7' stroke='%239aa7a9' stroke-width='1.5'/%3E%3Cg stroke='%239aa7a9' stroke-width='2'%3E%3Cpath d='M28 32h56M28 50h56M28 68h56'/%3E%3C/g%3E%3Crect x='31' y='21' width='12' height='10' rx='1.5' fill='%23f2b33d'/%3E%3Crect x='46' y='23' width='15' height='8' rx='1.5' fill='%23d3ebdf' stroke='%233fae84'/%3E%3Crect x='64' y='19' width='7' height='12' rx='2' fill='%23fff' stroke='%239aa7a9'/%3E%3Crect x='32' y='40' width='11' height='9' rx='1.5' fill='%23c8382c' opacity='.85'/%3E%3Crect x='47' y='42' width='19' height='7' rx='1.5' fill='%23fff' stroke='%239aa7a9'/%3E%3Crect x='69' y='40' width='11' height='9' rx='1.5' fill='%23b9dfcd'/%3E%3Crect x='31' y='58' width='21' height='9' rx='1.5' fill='%23b9dfcd'/%3E%3Crect x='56' y='60' width='11' height='7' rx='1.5' fill='%23f2b33d'/%3E%3Crect x='88' y='36' width='3' height='22' rx='1.5' fill='%236e7b7d'/%3E%3Ccircle cx='97' cy='17' r='11' fill='%23fff' stroke='%231f6b4f' stroke-width='1.5'/%3E%3Crect x='95.3' y='9.5' width='3.4' height='10' rx='1.7' fill='none' stroke='%231f6b4f' stroke-width='1.4'/%3E%3Ccircle cx='97' cy='21.5' r='2.8' fill='%231f6b4f'/%3E%3Cpath d='M97 14.5v6' stroke='%231f6b4f' stroke-width='1.4'/%3E%3C/svg%3E") center/cover no-repeat,#e6ecea}
.prob-shot .ph-b{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' preserveAspectRatio='xMidYMid slice'%3E%3Cdefs%3E%3Cpattern id='t' width='12' height='12' patternUnits='userSpaceOnUse'%3E%3Crect width='12' height='12' fill='%23e7f4ed'/%3E%3Cpath d='M12 0V12H0' fill='none' stroke='%23cbe2d6'/%3E%3C/pattern%3E%3C/defs%3E%3Crect width='120' height='90' fill='url(%23t)'/%3E%3Crect x='12' y='16' width='22' height='20' rx='3' fill='%23fff' stroke='%23c3cdcf' stroke-width='1.5'/%3E%3Crect x='18' y='36' width='10' height='7' rx='1' fill='%23f7f4ee' stroke='%23d9cfbf'/%3E%3Cpath d='M60 52V37q0-6 6-6h4v4' fill='none' stroke='%238b989a' stroke-width='4' stroke-linecap='round' stroke-linejoin='round'/%3E%3Crect x='54' y='40' width='12' height='3.5' rx='1.75' fill='%238b989a'/%3E%3Cpath d='M70 38v10' stroke='%238fcfe0' stroke-width='2' stroke-linecap='round' stroke-dasharray='3 3'/%3E%3Crect x='6' y='52' width='108' height='7' rx='2' fill='%23c3cdcf'/%3E%3Crect x='6' y='59' width='108' height='31' fill='%23d7e2df'/%3E%3Cpath d='M38 59h50l-4 13q-1 4-5 4H47q-4 0-5-4z' fill='%23fff' stroke='%239aa7a9' stroke-width='1.5'/%3E%3Cpath d='M60 77v13' stroke='%23c3cdcf' stroke-width='1.2'/%3E%3Crect x='92' y='34' width='13' height='18' rx='3' fill='%233fae84'/%3E%3Crect x='94.5' y='40' width='8' height='7' rx='1' fill='%23fff' opacity='.85'/%3E%3Crect x='96.5' y='28' width='4' height='6' fill='%231f6b4f'/%3E%3Crect x='96.5' y='27' width='9' height='2.6' rx='1' fill='%231f6b4f'/%3E%3C/svg%3E") center/cover no-repeat,#e6ecea}
.prob-shot .ph-c{background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 90' preserveAspectRatio='xMidYMid slice'%3E%3Crect width='120' height='34' fill='%23efe6d8'/%3E%3Crect y='31' width='120' height='4' fill='%236b4630'/%3E%3Crect y='35' width='120' height='55' fill='%23f6f1e8'/%3E%3Cg stroke='%23ddd2c1' stroke-width='1.2' fill='none'%3E%3Cpath d='M0 42h120M0 52h120M0 66h120M0 84h120'/%3E%3Cpath d='M4 35L-76 90M18 35L-42 90M32 35L-8 90M46 35L26 90M60 35V90M74 35L94 90M88 35L128 90M102 35L162 90M116 35L196 90'/%3E%3C/g%3E%3Cellipse cx='36' cy='70' rx='20' ry='4.5' fill='%23fff' opacity='.75'/%3E%3Cpath d='M84 54L58 6' stroke='%236b4630' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M70 60h32l-3.5 22h-25z' fill='%23f2b33d'/%3E%3Crect x='68' y='56' width='36' height='5' rx='2.5' fill='%23e09a24'/%3E%3Crect x='72' y='49' width='14' height='7' rx='1.5' fill='%233b2519' opacity='.85'/%3E%3Cpath d='M76 68h20' stroke='%23e09a24' stroke-width='1.5' stroke-linecap='round'/%3E%3Ccircle cx='77' cy='85' r='3' fill='%233b2519'/%3E%3Ccircle cx='95' cy='85' r='3' fill='%233b2519'/%3E%3C/svg%3E") center/cover no-repeat,#e6ecea}
.prob-shot .ms{box-shadow:0 0 0 1px var(--line), 0 18px 36px -22px rgba(42,26,18,.45)}
.prob-built{font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin:18px 0 8px}
.pcaps{display:grid;gap:6px}
.pcaps li{display:flex;align-items:flex-start;gap:9px;font-size:.94rem;line-height:1.4;color:var(--ink-2)}
.pcaps .tk{width:18px;height:18px;flex:none;margin-top:1px;border-radius:50%;background:var(--mint-200);display:grid;place-items:center}
.pcaps .tk svg{width:10px;height:10px;stroke:var(--jade-700);stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.prob-links{display:flex;flex-wrap:wrap;gap:0 22px;margin-top:auto;padding-top:12px}
.prob-mini .prob-links{margin-top:10px;padding-top:0}
.prob-dept,.prob-tour{display:inline-flex;align-items:center;gap:7px;min-height:44px;font-weight:700;font-size:.92rem;color:var(--jade-700);text-decoration:none;white-space:nowrap}
.prob-tour{color:var(--teak-800)}
.prob-dept svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .18s ease}
.prob-tour svg{width:13px;height:13px;fill:var(--yolk-deep)}
.prob-more{display:flex;align-items:baseline;justify-content:space-between;gap:8px 24px;flex-wrap:wrap;margin:64px 0 20px}
.prob-more-h{font-size:clamp(1.5rem,2.6vw,2rem);color:var(--teak-900)}
.prob-more-sub{color:var(--muted);font-size:.95rem}
.prob-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 16px;align-items:start}
.prob-col{display:flex;flex-direction:column;gap:14px}
.prob-mini{display:block}
.prob-mini summary{list-style:none;cursor:pointer;display:grid;grid-template-columns:44px 1fr 28px;gap:16px;align-items:center;padding:18px 20px;border-radius:var(--radius);transition:transform .15s ease}
.prob-mini summary::-webkit-details-marker{display:none}
.prob-mini .prob-ico{width:44px;height:44px}
.prob-mini .prob-ico svg{width:23px;height:23px}
.pm-txt{display:flex;flex-direction:column;gap:6px;min-width:0}
.pm-t{font:600 1.12rem/1.22 var(--display);letter-spacing:-.01em;color:var(--teak-900)}
.pm-late{display:flex;align-items:flex-start;gap:6px;font-size:.88rem;font-weight:600;color:#a92a1f;line-height:1.35}
.pm-late svg{width:15px;height:15px;flex:none;margin-top:2px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.pm-pm{width:28px;height:28px;border-radius:50%;background:var(--mint-100);position:relative;transition:transform .2s ease, background .2s ease}
.pm-pm::before,.pm-pm::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;background:var(--jade-700);border-radius:2px}
.pm-pm::after{transform:rotate(90deg);transition:transform .2s ease}
.prob-mini[open] .pm-pm{background:var(--jade-700)}
.prob-mini[open] .pm-pm::before,.prob-mini[open] .pm-pm::after{background:#fff}
.prob-mini[open] .pm-pm::after{transform:rotate(0)}
.pm-body{padding:0 20px 14px 80px;animation:pop .3s ease both}
.pm-body .ba{margin:14px 0 0}
.prob-mini.is-feat .pm-t{font-size:1.22rem}

.cta-mail{display:flex;flex-wrap:wrap;align-items:center;gap:0 10px;margin-top:12px;font-size:.92rem;color:var(--ink-2);line-height:1.3}
.cta-mail a{display:inline-block;padding:10px 0;font-weight:600;color:var(--teak-900);text-underline-offset:3px}
.copy-mail{min-height:34px;padding:0 13px;border:0;border-radius:999px;background:rgba(42,26,18,.07);font-weight:700;font-size:.82rem;color:var(--teak-900);cursor:pointer;transition:background .15s ease}
.copy-mail[hidden]{display:none}
.copy-mail.done{background:var(--mint-200);color:var(--jade-900)}
.ic-act{display:flex;flex-direction:column;align-items:flex-end}
.ic-act .cta-mail{justify-content:flex-end;margin-top:4px}
.menu-in .cta-mail{justify-content:center;margin-top:8px}
.inline-cta{display:flex;align-items:center;justify-content:space-between;gap:16px 28px;flex-wrap:wrap;margin-top:48px;padding:24px 28px;border-radius:var(--radius);background:var(--yolk-soft);box-shadow:inset 0 0 0 1px #f1d9a6}
.inline-cta p{font-size:1.08rem;color:var(--ink-2);max-width:560px}
.inline-cta p b{display:block;font:600 1.4rem/1.2 var(--display);letter-spacing:-.01em;color:var(--teak-900);margin-bottom:2px}
.ic-act p.cta-mail{font-size:.92rem}

/* fit: a short band that names the software Peak AI connects to.
   Fit and loop sit on a pale jade band, so the page changes surface between sections.
   The loop band runs straight into the engineer field below it. */
.fit-sec{background:radial-gradient(70% 90% at 100% 0%, rgba(var(--field-mint-pool),.38), rgba(var(--field-mint-pool),0) 70%),var(--mint-100);box-shadow:inset 0 1px 0 rgba(31,107,79,.10), inset 0 -1px 0 rgba(31,107,79,.10)}
.fit-sec.section{padding:72px 0}
.fit-in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:24px 56px;align-items:center}
.fit-in .sec-head{margin-bottom:0}
.fit-chips{display:flex;flex-wrap:wrap;gap:10px}
.fit-chips li{display:inline-flex;align-items:center;gap:9px;min-height:44px;padding:7px 16px 7px 8px;border-radius:999px;background:#fff;box-shadow:inset 0 0 0 1px var(--line), 0 6px 14px -10px rgba(42,26,18,.4);font-size:.95rem;font-weight:600;line-height:1.25;color:var(--ink-2)}
.fit-chips .fc-ic{width:30px;height:30px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--mint-100);color:var(--jade-700)}
.fit-chips svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* day */
.day{background:var(--marble)}
.day-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}
.moment{display:flex;flex-direction:column;gap:10px;padding:24px 24px 26px;border-radius:var(--radius);background:#fff;box-shadow:var(--card)}
.moment .time{font:600 2.1rem/1 var(--display);letter-spacing:-.02em;color:var(--jade-700);font-variant-numeric:tabular-nums}
.moment .who{display:flex;align-items:center;gap:8px;font-weight:700;font-size:.8125rem;color:var(--teak-600);text-transform:uppercase;letter-spacing:.08em;white-space:nowrap}
.moment .who svg{width:20px;height:20px;flex:none;color:var(--jade-700)}
.moment p{font-size:1rem;color:var(--ink-2);line-height:1.5}

.tour-band{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:0;margin-top:56px;border-radius:28px;overflow:hidden;background:var(--teak-900);color:#f6efe6;box-shadow:0 30px 60px -34px rgba(42,26,18,.6)}
.tour-shot{position:relative;display:block;min-height:320px;background:#e9f1ea}
.tour-shot img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.tour-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:14px;padding:40px 40px 42px}
.tour-copy .eyebrow{color:var(--yolk)}
.tour-copy .eyebrow::before{background:var(--yolk);box-shadow:0 0 0 3px rgba(242,179,61,.22)}
.tour-copy h3{font-size:clamp(1.6rem,2.8vw,2.2rem);color:#fff}
.tour-copy p{color:#e9dccd;font-size:1.05rem}
.tour-copy .btn{margin-top:8px}

/* departments */
.depts{background:var(--marble)}
.dgrid{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.dtile{
  appearance:none;border:0;font:inherit;text-align:left;cursor:pointer;color:inherit;
  display:flex;flex-direction:column;gap:12px;padding:20px 18px 18px;border-radius:var(--radius);
  background:#fff;box-shadow:var(--card);
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease;position:relative;min-height:168px;
}
.dt-txt{display:flex;flex-direction:column;gap:6px;flex:1}
.dtile .ico{width:52px;height:52px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--mint-200);color:var(--jade-700)}
.dtile .ico svg{width:28px;height:28px}
.dtile .nm{font:600 1.2rem/1.15 var(--display);letter-spacing:-.01em;color:var(--teak-900)}
.dtile .ct{font-size:.86rem;color:var(--muted);margin-top:auto}
.chev{position:absolute;top:18px;right:16px;width:28px;height:28px;border-radius:50%;background:var(--mint-100)}
.chev::before,.chev::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2px;margin:-1px 0 0 -6px;background:var(--jade-700);border-radius:2px;transition:transform .2s ease}
.chev::after{transform:rotate(90deg)}
.dtile[aria-expanded="true"]{background:var(--jade-700);color:#fff;transform:none;box-shadow:0 14px 30px -14px rgba(18,63,47,.7)}
.dtile[aria-expanded="true"] .nm{color:#fff}
.dtile[aria-expanded="true"] .ct{color:#d7eee3}
.dtile[aria-expanded="true"] .ico{background:var(--yolk);color:var(--teak-900)}
.dtile[aria-expanded="true"] .chev{background:rgba(255,255,255,.16)}
.dtile[aria-expanded="true"] .chev::before,.dtile[aria-expanded="true"] .chev::after{background:#fff}
.dtile[aria-expanded="true"] .chev::after{transform:rotate(0)}

.dpanel{grid-column:1/-1;position:relative;margin:6px 0 10px;border-radius:28px;background:#fff;box-shadow:var(--shadow), inset 0 0 0 1px var(--line);padding:40px;display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:44px;align-items:start;animation:pop .35s ease both}
.dpanel::before{content:"";position:absolute;top:-9px;left:var(--caret,50%);width:18px;height:18px;background:#fff;transform:translateX(-50%) rotate(45deg);border-radius:3px;box-shadow:-1px -1px 0 var(--line)}
.dpanel.no-caret::before{display:none}
.dp-head{position:sticky;top:100px}
.dp-head h3{font-size:clamp(1.6rem,2.8vw,2.2rem);line-height:1.1;margin:12px 0 16px;color:var(--teak-900)}
.dp-corp{color:var(--ink-2);font-size:.98rem;line-height:1.55}
.dp-corp b{color:var(--teak-900)}
.dp-kpi{margin-top:16px;font-size:.95rem;color:var(--ink-2);line-height:1.55}
.dp-kpi b{display:block;font-size:.8125rem;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:2px}
.dp-link{display:inline-flex;align-items:center;min-height:44px;margin-top:10px;font-weight:700;color:var(--jade-700);text-underline-offset:4px}
.dp-back{display:inline-flex;align-items:center;gap:6px;min-height:44px;margin:-10px 0 6px;font-weight:700;font-size:.92rem;color:var(--jade-700);text-decoration:none}
.dp-back svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.caps{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:28px}
.cap{display:grid;grid-template-columns:24px 1fr;gap:12px;align-items:start;padding:13px 0;border-bottom:1px solid #f0ebe3}
.cap .tk{width:22px;height:22px;border-radius:50%;background:var(--jade-700);display:grid;place-items:center;margin-top:1px}
.cap .tk svg{width:12px;height:12px;stroke:#fff;stroke-width:3;fill:none;stroke-linecap:round;stroke-linejoin:round}
.cap b{display:block;font-weight:700;font-size:1rem;line-height:1.35}
.cap span.d{display:block;font-size:.92rem;color:var(--muted);line-height:1.45;margin-top:2px}
.caps-more{display:none}

/* loop */
.loop{background:radial-gradient(60% 70% at 0% 0%, rgba(var(--field-mint-pool),.32), rgba(var(--field-mint-pool),0) 70%),var(--mint-100);box-shadow:inset 0 1px 0 rgba(31,107,79,.10)}
.loop-row{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}
.step{position:relative;padding:28px 24px;border-radius:var(--radius);background:#fff;box-shadow:var(--card)}
.step:not(:last-child)::after{content:"";position:absolute;right:-17px;top:50px;width:14px;height:14px;border-top:3px solid var(--yolk-deep);border-right:3px solid var(--yolk-deep);transform:rotate(45deg);z-index:2}
.step .who{display:block;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted)}
.step .cup{position:relative;width:62px;height:62px;border-radius:50%;display:grid;place-items:center;background:#fff;box-shadow:inset 0 0 0 2px var(--jade-700), 0 6px 14px -6px rgba(18,63,47,.35);margin-bottom:18px;color:var(--jade-700)}
.step.person .cup{box-shadow:inset 0 0 0 2px var(--yolk-deep), 0 6px 14px -6px rgba(224,154,36,.45);color:#9a6408}
.step .cup svg{width:28px;height:28px}
.step .num{position:absolute;top:-4px;right:-6px;width:24px;height:24px;border-radius:50%;display:grid;place-items:center;background:var(--jade-700);color:#fff;font:700 .78rem/1 var(--body)}
.step.person .num{background:var(--yolk);color:var(--teak-900)}
.step h3{font-size:1.6rem;margin:8px 0 8px}
.step p{color:var(--ink-2);font-size:.98rem}
.loop-back{display:flex;align-items:center;justify-content:center;gap:10px;margin-top:28px;color:var(--jade-700);font-weight:600;text-align:center}
.loop-back svg{width:22px;height:22px;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}

/* engineer */
.engineer .sec-head{max-width:780px}
.engineer .sub{max-width:none}
.eng-tabs{display:none}
.eng-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.grp{border-radius:24px;overflow:hidden;background:#efe6d8;background-image:radial-gradient(rgba(107,70,48,.08) 1.2px, transparent 1.4px);background-size:16px 16px;box-shadow:0 24px 40px -24px rgba(18,63,47,.5);display:flex;flex-direction:column}
.grp-h{display:flex;align-items:center;gap:10px;padding:14px 16px;background:var(--jade-700);color:#fff}
.grp-h .av{width:34px;height:34px;flex:none;border-radius:50%;display:grid;place-items:center;background:var(--jade-900)}
.grp-h .av svg{width:20px;height:20px;color:#fff}
.grp-h b{display:block;font-size:.95rem;line-height:1.2}
.grp-h small{font-size:.78rem;opacity:.9}
.grp-b{padding:16px 14px 18px;display:flex;flex-direction:column;gap:10px;flex:1}
.grp .msg{max-width:90%;font-size:.92rem;animation:none}
.grp .msg .nm{display:block;font-size:.78rem;font-weight:700;margin-bottom:2px}
.grp .msg-in .nm{color:#a3461f}
.grp .msg-in{align-self:flex-start;background:#fff;border-top-left-radius:4px}
.grp .msg-out{align-self:flex-end;background:#d8f3c6;border-top-right-radius:4px}
.grp .msg-out .nm{color:var(--jade-700)}
.grp .sys{align-self:center;font-size:.8125rem;font-weight:600;color:#5e5249;background:#fff8e6;padding:5px 12px;border-radius:8px;box-shadow:0 1px 1px rgba(0,0,0,.06);text-align:center}

/* rollout: marble, so the engineer field fades straight into it */
.rollout{background:var(--marble)}
.roll{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:18px;position:relative}
.roll::before{content:"";position:absolute;left:20px;right:20px;top:19px;height:4px;border-radius:4px;background:repeating-linear-gradient(90deg,var(--mint-300) 0 12px,transparent 12px 20px)}
.rstep{position:relative}
.rstep .dot{position:relative;width:42px;height:42px;border-radius:50%;display:grid;place-items:center;background:var(--jade-700);color:#fff;font:600 1.05rem var(--display);box-shadow:0 0 0 6px var(--marble), inset 0 -3px 0 rgba(0,0,0,.2)}
.rstep:nth-child(3) .dot{background:var(--yolk);color:var(--teak-900)}
.rstep .w{display:block;margin-top:20px;font-size:.8125rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--jade-700)}
.rstep h3{font-size:1.35rem;margin:6px 0 8px}
.rstep p{font-size:.96rem;color:var(--ink-2)}

/* security + faq */
.trust{background:var(--marble);padding-top:24px}
.trust-in{display:grid;grid-template-columns:.8fr 1.2fr;gap:64px;align-items:start}
.sec-box{position:sticky;top:100px;padding:36px 32px;border-radius:28px;background:var(--mint-100);box-shadow:inset 0 0 0 1px var(--mint-300)}
.sec-box h2{font-size:clamp(1.7rem,3vw,2.3rem);margin:0 0 24px}
.ticks{display:flex;flex-direction:column;gap:10px}
.ticks li{display:flex;gap:12px;align-items:flex-start;line-height:1.45;font-size:1rem}
.ticks li::before{content:"";flex:none;width:22px;height:22px;border-radius:50%;margin-top:1px;background:var(--jade-700) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.3l3 3 6-6.2' fill='none' stroke='white' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/22px no-repeat}
.faq h2{margin:0 0 14px}
.qa{border-bottom:1px solid var(--line)}
.qa summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:16px;min-height:64px;padding:16px 4px;font:600 1.2rem/1.3 var(--display);letter-spacing:-.01em;color:var(--teak-900)}
.qa summary::-webkit-details-marker{display:none}
.qa summary .pm{flex:none;width:32px;height:32px;border-radius:50%;background:var(--mint-200);position:relative;transition:transform .25s ease, background .2s}
.qa summary .pm::before,.qa summary .pm::after{content:"";position:absolute;left:50%;top:50%;width:12px;height:2.5px;border-radius:2px;background:var(--jade-700);transform:translate(-50%,-50%)}
.qa summary .pm::after{transform:translate(-50%,-50%) rotate(90deg)}
.qa[open] summary .pm{transform:rotate(45deg);background:var(--yolk)}
.qa p{padding:0 48px 22px 4px;color:var(--ink-2);font-size:1.02rem}

/* close */
.close{position:relative;text-align:center;padding:0 0 110px}
.close-in{display:flex;flex-direction:column;align-items:center;gap:22px;padding-top:88px}
.close h2{font-size:clamp(2.4rem,5.6vw,4.4rem);color:#fff}
.close p{max-width:560px;color:#e9dccd;font-size:1.15rem}
.close .btn{margin-top:10px}
.close .close-alt{font-size:1rem;color:#d9c8b6;margin-top:-4px;justify-content:center}
.close .copy-mail{background:rgba(255,255,255,.14);color:#fff}
.close .copy-mail.done{background:var(--jade-600);color:#fff}
.close-alt a{display:inline-block;padding:10px 2px;color:#fff;font-weight:600;text-underline-offset:4px}

/* footer */
.foot{background:var(--teak-950);color:#cbb8a5;padding:34px 0 40px;font-size:.95rem}
.foot-in{display:flex;flex-wrap:wrap;gap:8px 28px;align-items:center}
.foot-in .brand{font-size:1.2rem}
.foot-in .brand img{width:28px;height:28px}
.foot a{color:#f6efe6;text-underline-offset:4px}
.foot-links{display:flex;flex-wrap:wrap;gap:0 22px;margin-left:auto}
.foot-links a{display:inline-flex;align-items:center;min-height:44px;text-decoration:none;font-weight:600}
.foot-contact{flex-basis:100%;display:flex;flex-wrap:wrap;align-items:center;gap:0 18px}
.foot-contact span{white-space:nowrap}
.foot-contact a{display:inline-block;padding:12px 0}
.foot-note{flex-basis:100%;font-size:.86rem;color:#a8968a}

/* mobile action bar */
.mbar{display:none}

/* hover only where there is a real pointer, so taps don't leave things stuck */
@media (hover:hover) and (pointer:fine){
  .btn-yolk:hover{transform:translateY(-2px);box-shadow:inset 0 -3px 0 rgba(120,70,0,.25), 0 12px 22px -8px rgba(224,154,36,.8)}
  .btn-ghost:hover{background:#fff}
  .btn-teak:hover{background:var(--jade-900)}
  .nav-links a:hover{color:var(--jade-700)}
  .live-link:hover{background:var(--jade-900);transform:translateY(-1px)}
  .menu-btn:hover{box-shadow:inset 0 0 0 1.5px var(--teak-900)}
  .prob-dept:hover,.prob-tour:hover,.dp-back:hover{text-decoration:underline;text-underline-offset:4px}
  .prob-dept:hover svg{transform:translateX(3px)}
  .prob-mini summary:hover .pm-t{color:var(--jade-700)}
  .dtile:not([aria-expanded="true"]):hover{transform:translateY(-3px)}
  .menu-list a:hover{color:var(--jade-700)}
}
.btn:active,.live-link:active,.menu-btn:active,.dtile:active,.prob-mini summary:active{transform:scale(.98)}

/* responsive */
@media (max-width:1100px){
  .nav-links{display:none}
  .menu-btn{display:inline-flex}
  .nav-in{justify-content:space-between}
  .dgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
  .dtile{display:grid;grid-template-columns:52px minmax(0,1fr) 28px;align-items:center;gap:16px;min-height:80px;padding:14px 18px}
  .dtile .ct{margin-top:0}
  .chev{position:relative;top:auto;right:auto;flex:none}
  .dpanel{grid-template-columns:1fr;gap:22px;padding:32px}
  .dp-head{position:static}
  /* two columns while there is room, and a "Show all" after six */
  .caps{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:24px}
  .caps.clip .cap:nth-child(n+7){display:none}
  .caps-more{display:inline-flex;align-items:center;justify-content:center;min-height:44px;margin-top:14px;padding:0 22px;border:0;border-radius:999px;background:var(--mint-100);font-weight:700;font-size:.95rem;color:var(--jade-900);cursor:pointer}
}
@media (min-width:641px) and (max-width:1000px){
  /* the call-to-action band stacks: text, then the button and the email line, all left-aligned */
  .inline-cta{flex-direction:column;align-items:flex-start}
  .ic-act{flex-direction:row;flex-wrap:wrap;align-items:center;gap:4px 18px}
  .ic-act .cta-mail{justify-content:flex-start;margin-top:0}
}
@media (max-width:900px){
  :root{--field-rim-h:48px}
  .section{padding:72px 0}
  .pains,.depts,.engineer,.trust{padding-top:44px}
  .nav-book{display:none}
  .tour-band{grid-template-columns:1fr}
  .tour-shot{aspect-ratio:16/9;min-height:0}
  .tour-shot img{object-position:30% 50%}
  .tour-copy{padding:28px 28px 32px}
  .prob-feat{grid-template-columns:1fr;gap:14px}
  /* the eight below use the same single column as the four above */
  .prob-list{grid-template-columns:1fr;gap:14px}
  .prob-big{padding:24px 22px 18px}
  /* problems are an open/close list here; the featured ones carry the product screen */
  .prob-mini.is-feat .prob-ico{width:48px;height:48px}
  .prob-mini.is-feat summary{grid-template-columns:48px minmax(0,1fr) 28px}
  .prob-mini.is-feat .pm-body{padding:0 22px 16px 84px}
  .loop-row{grid-template-columns:repeat(2,minmax(0,1fr))}
  .step:nth-child(2)::after{display:none}
  .eng-tabs{display:flex;gap:4px;max-width:560px;margin:0 0 18px;padding:4px;border-radius:999px;background:rgba(255,253,249,.92);box-shadow:inset 0 0 0 1px rgba(42,26,18,.1)}
  .eng-tabs button{flex:1;min-height:44px;padding:0 8px;border:0;border-radius:999px;background:none;font-weight:700;font-size:.92rem;color:var(--ink-2);cursor:pointer;white-space:nowrap}
  .eng-tabs button[aria-pressed="true"]{background:var(--jade-700);color:#fff;box-shadow:0 6px 14px -8px rgba(18,63,47,.7)}
  .eng-grid{grid-template-columns:1fr;max-width:560px;margin-inline:auto}
  .eng-tabs{margin-inline:auto}
  .eng-grid .grp:not(.on){display:none}
  .proof-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .proof-grid li:nth-child(3){border-left:0}
  .proof-grid li:nth-child(n+3){border-top:1.5px dashed #d9cfbf}
  .roll{grid-template-columns:1fr;gap:26px}
  .roll::before{left:19px;right:auto;top:20px;bottom:20px;width:4px;height:auto;background:repeating-linear-gradient(180deg,var(--mint-300) 0 12px,transparent 12px 20px)}
  .rstep{display:grid;grid-template-columns:42px 1fr;column-gap:18px}
  .rstep .dot{grid-row:1/4}
  .rstep .w{margin-top:2px}
  .trust-in{grid-template-columns:1fr;gap:56px}
  .sec-box{position:static}
  /* fit band stacks: the words, then the chips */
  .fit-in{grid-template-columns:minmax(0,1fr)}
  .fit-sec.section{padding:56px 0}
  .mbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:45;padding:10px max(16px, env(safe-area-inset-right)) calc(10px + env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));background:rgba(247,244,238,.95);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border-top:1px solid rgba(42,26,18,.1);transform:translateY(110%);visibility:hidden;transition:transform .25s ease, visibility 0s linear .25s}
  .mbar.on{transform:none;visibility:visible;transition:transform .25s ease, visibility 0s}
  .mbar{flex-direction:column;align-items:stretch;padding-top:8px;padding-bottom:calc(4px + env(safe-area-inset-bottom))}
  .mbar .btn{flex:none}
  .mbar-mail{justify-content:center;gap:0 8px;margin-top:2px;font-size:.84rem}
  .mbar-mail a{padding:5px 0}
  .mbar .copy-mail{min-height:28px;padding:0 11px;font-size:.78rem}
  .foot{padding-bottom:calc(40px + env(safe-area-inset-bottom))}
  .foot-links{margin-left:0;flex-basis:100%;gap:0 18px}
  /* focus and in-page jumps stop above the bottom bar */
  html{scroll-padding-bottom:calc(var(--mbar-h) + 12px + env(safe-area-inset-bottom))}
}
@media (min-width:641px) and (max-width:1100px){
  /* tablet menu: the two buttons side by side at a sensible width, the email line under them */
  .menu-ctas{grid-template-columns:1fr 1fr;max-width:560px}
  .menu-in .cta-mail{justify-content:flex-start}
}
@media (min-width:641px) and (max-width:900px){
  /* tablet bottom bar: a centred button, not a pill across the whole screen */
  .mbar{align-items:center}
  .mbar .btn{width:100%;max-width:420px}
}
@media (max-width:700px){
  .caps{grid-template-columns:1fr}
}
@media (max-width:640px){
  :root{--field-rim-h:34px}
  body{font-size:16px}
  .wrap{padding-inline:max(16px, env(safe-area-inset-left)) max(16px, env(safe-area-inset-right))}
  .noscript{padding:14px max(16px, env(safe-area-inset-right)) 14px max(16px, env(safe-area-inset-left))}
  .section{padding:48px 0}
  .pains,.depts,.engineer,.trust{padding-top:32px}
  .sec-head{margin-bottom:30px}
  .sub{font-size:1.06rem}
  .proof{padding-top:56px}
  .close.teak::before{opacity:.11;background:var(--field-steam-dark) no-repeat right -40px bottom 10px/150px 300px}
  .brand{font-size:1.3rem}
  .nav-in{gap:8px}
  .nav-cta{gap:8px}
  .nav .brand{gap:7px;font-size:1.15rem}
  .nav .brand img{width:28px;height:28px}
  .live-link{font-size:.88rem;padding:0 14px 0 12px}
  .menu-btn{padding:0 12px 0 11px}

  /* day: a vertical timeline, nothing hidden sideways */
  .day-strip{grid-template-columns:1fr;gap:0}
  .moment{position:relative;display:grid;grid-template-columns:64px minmax(0,1fr);column-gap:14px;row-gap:4px;padding:12px 0 14px;background:none;box-shadow:none;border-radius:0}
  .moment .time{grid-row:1/3;align-self:start;padding:6px 0;text-align:center;font-size:1.3rem}
  .moment:not(:last-child)::before{content:"";position:absolute;left:31px;top:46px;bottom:-6px;width:2px;background:repeating-linear-gradient(180deg,var(--mint-300) 0 6px,transparent 6px 11px)}
  .moment .who{padding-top:5px;font-size:.8125rem}
  .moment .who svg{width:18px;height:18px}
  .moment p{font-size:.98rem}
  .tour-band{margin-top:36px;border-radius:22px}
  .tour-copy{padding:22px 20px 24px}
  .tour-copy .btn{width:100%}

  /* problems: all twelve in the same open/close list */
  .prob-feat{grid-template-columns:1fr;gap:12px}
  .prob-list{grid-template-columns:1fr;gap:12px}
  .prob-col{gap:12px}
  .prob-mini summary{grid-template-columns:40px minmax(0,1fr) 28px;gap:12px;padding:16px 14px}
  .prob-mini .prob-ico{width:40px;height:40px}
  .prob-mini .prob-ico svg{width:21px;height:21px}
  .prob-mini.is-feat .prob-ico{width:46px;height:46px}
  .prob-mini.is-feat summary{grid-template-columns:46px minmax(0,1fr) 28px}
  .prob-mini.is-feat .pm-t{font-size:1.16rem}
  .pm-body,.prob-mini.is-feat .pm-body{padding:0 14px 10px}
  .ba dd{padding-left:0}
  .ba-now{padding:12px 14px 13px}
  .prob-more{margin:40px 0 16px}
  .prob-links{gap:0 18px}
  .inline-cta{margin-top:32px;padding:20px 18px}
  .inline-cta .btn,.ic-act{width:100%}
  .ic-act{align-items:center}
  .ic-act .cta-mail{justify-content:center}

  /* departments: one column of rows that open in place */
  .dgrid{grid-template-columns:1fr;gap:10px}
  .dtile{grid-template-columns:44px minmax(0,1fr) 28px;gap:14px;min-height:64px;padding:12px 14px;border-radius:18px}
  .dtile .ico{width:44px;height:44px}
  .dtile .ico svg{width:24px;height:24px}
  .dtile .nm{font-size:1.1rem}
  .dtile .ct{font-size:.84rem}
  .dpanel{padding:22px 18px;margin:0 0 6px;border-radius:22px}
  .dp-head h3{font-size:1.5rem}
  .caps-more{display:flex;width:100%;margin-top:12px}

  .loop-row{grid-template-columns:1fr;gap:12px}
  .step{display:grid;grid-template-columns:62px 1fr;column-gap:16px;padding:20px 18px}
  .step .cup{grid-row:1/4;margin:0}
  .step h3{margin:4px 0 4px;font-size:1.4rem}
  .step::after{display:none}
  .loop-back{justify-content:flex-start;text-align:left}

  .eng-tabs button{font-size:.88rem;padding:0 4px}

  .fit-sec.section{padding:44px 0}
  .fit-chips{gap:8px}
  .fit-chips li{font-size:.9rem;padding:6px 14px 6px 7px}

  .chit-top{margin:0 16px}
  .proof-grid li{padding:20px 16px}
  .proof-grid .n{font-size:clamp(1.7rem,8vw,2.2rem)}
  .proof-grid .l{font-size:.92rem}
  .quote{margin-top:40px;padding:22px 20px}

  .qa summary{font-size:1.08rem}
  .qa p{padding-right:8px}
  .sec-box{padding:28px 22px}
  .close-in{padding-top:44px}
  .close{padding-bottom:80px}
  .foot-links{margin-left:0;gap:0 18px}
}
@media (max-width:400px){
  .menu-btn{padding:0;width:44px;justify-content:center}
  .menu-lbl{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
}

/* ===== HERO: "assemble" =====
   Loose paperwork from eight systems (a POS end-of-day, a delivery payout, a handwritten invoice,
   a payroll sheet, a WhatsApp order, a bank statement) is read and joins one group view; then a
   morning of work goes out to every department, printed on the "Since closing" log.
   The resting state below IS the finished picture: with reduced motion, or if the script never
   runs, that is what people see. html.asm-anim (set in <head>) + .asm.is-play (set by app.js)
   hide the parts so the script can bring them in.
   Phones (600px and down) are the base layout; 601px and up switches to three columns;
   1181px and up puts the words beside the picture. */
.hero{padding-top:64px}
.hero-in{
  display:grid;
  grid-template-columns:minmax(0,.68fr) minmax(0,1.32fr);
  grid-template-areas:". vis" "copy vis" "after vis" ". vis";
  grid-template-rows:1fr auto auto 1fr;
  column-gap:40px;padding-bottom:84px;
}
.hero-copy{grid-area:copy;position:relative;z-index:2}
.hero-after{grid-area:after;position:relative;z-index:2}
.hero-visual{grid-area:vis;position:relative;min-width:0;container:asm / inline-size}
.hero-copy h1{font-size:clamp(2.5rem,3.6vw,3.3rem);line-height:1.04;margin:16px 0 20px;text-wrap:balance}
.hero-copy h1 span{display:block}
.hero-copy h1 .h1-b{color:var(--jade-700)}
.hero-copy .lede{max-width:500px}
/* phones get the short line; a CSS swap, so nothing shifts once the script runs */
.lede-short{display:none}
.hero-after .cta-mail{margin-top:10px}
.hero-after .for-line{margin-top:18px;font-size:1rem}
/* the mint pool sits behind the picture */
.hero.field{
  background:
    radial-gradient(44% 62% at 70% 48%, rgba(var(--field-mint-pool),.8), rgba(var(--field-mint-pool),0) 72%),
    radial-gradient(36% 46% at 102% -4%, rgba(var(--field-mint-soft),1), rgba(var(--field-mint-soft),0) 72%),
    radial-gradient(46% 60% at -4% 106%, rgba(var(--field-yolk-warm),.95), rgba(var(--field-yolk-warm),0) 72%),
    linear-gradient(168deg, var(--field-paper) 0%, #f8f8f1 32%, var(--field-mint-wash) 70%, #e1efe6 100%);
}

.asm{margin:0;position:relative}
/* phones: systems as one row of eight (two rows of four at 400px and down), the Peak AI card, the departments
   as tiles (4 then 3) with the job each one got under its name, then the log.
   .asm-core only groups the card and the log in the markup; the stage grid places them. */
.asm-stage{position:relative;display:grid;grid-template-columns:minmax(0,1fr);grid-template-areas:"src" "core" "act" "log";row-gap:12px}
.asm-lbl-core{display:none;grid-area:lcore}
.asm-src{grid-area:src}
.asm-core{display:contents}
.gv{grid-area:core}
.asm-log{grid-area:log}
.asm-act{grid-area:act}
.asm-col,.gv,.asm-log{position:relative;z-index:1;min-width:0}
.asm-lines{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:0}
.asm-movers{position:absolute;left:0;top:0;width:100%;height:100%;overflow:visible;pointer-events:none;z-index:2}
.mv-route{fill:none;stroke:none}
/* wires. Yolk always means a person approves. */
.ln{fill:none;stroke-width:1.6;stroke-linecap:round;stroke-dasharray:1 2;stroke-dashoffset:0;transition:stroke-dashoffset .5s cubic-bezier(.4,0,.2,1), stroke .35s ease, opacity .35s ease, stroke-width .2s ease}
.ln-in{stroke:var(--jade-500);opacity:.75}
.ln-out{stroke:var(--jade-600);opacity:.55}
.ln-out.money{stroke:var(--yolk-deep);opacity:.72}
.ln.hot{opacity:1;stroke-width:2.1}
.dot{fill:var(--marble-2);stroke-width:1.6;transition:opacity .3s ease .3s}
.dot-in{stroke:var(--jade-500)}
.dot-out{stroke:var(--jade-600)}
.dot-out.money{stroke:var(--yolk-deep)}
/* the piece of work travelling out to a department */
.mv-halo{fill:var(--jade-500);opacity:.28}
.mv-dot{fill:var(--jade-600);stroke:var(--marble-2);stroke-width:2}
.mover.ap .mv-halo{fill:var(--yolk)}
.mover.ap .mv-dot{fill:var(--yolk-deep)}
.asm-lbl{font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--teak-600);margin:0 0 8px;line-height:1.2;transition:opacity .4s ease}
.asm-act .asm-lbl{color:#8a5a0c}

/* your systems: phone tiles */
.src-list{display:grid;grid-template-columns:repeat(8,minmax(0,1fr));gap:0 2px}
.src{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;transition:opacity .35s ease}
.src-ic{position:relative;display:grid;place-items:center;width:36px;height:36px;flex:none;border-radius:11px;background:rgba(255,253,249,.96);color:var(--teak-800);box-shadow:inset 0 0 0 1px rgba(42,26,18,.08), 0 6px 12px -10px rgba(42,26,18,.5)}
.src-ic svg{width:17px;height:20px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.src-t{min-width:0;max-width:100%;display:flex;justify-content:center}
.src-t b{display:none}
.src-t i{display:block;font-style:normal;font-size:.6rem;font-weight:700;letter-spacing:-.01em;line-height:1.1;color:var(--ink-2);text-align:center;white-space:nowrap}
.src-ok{position:absolute;top:-4px;left:calc(50% + 10px);width:14px;height:14px;background-size:10px !important;border-radius:50%;background:var(--jade-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/11px no-repeat;box-shadow:0 0 0 2px var(--marble-2);transition:transform .35s cubic-bezier(.2,.9,.3,1.5) .1s}
/* a system sends something in: one soft ring */
.src::after,.act::after{content:"";position:absolute;pointer-events:none;opacity:0}
.src::after{left:50%;top:0;width:36px;height:36px;margin-left:-18px;border-radius:11px}
.src.emit::after{animation:asm-emit .6s ease-out}
@keyframes asm-emit{from{opacity:1;box-shadow:0 0 0 0 rgba(63,174,132,.6)}to{opacity:0;box-shadow:0 0 0 9px rgba(63,174,132,0)}}

/* the group view */
.gv{border-radius:20px;background:var(--marble-2);box-shadow:0 1px 0 rgba(42,26,18,.04), 0 28px 50px -26px rgba(18,63,47,.6), inset 0 0 0 1px rgba(42,26,18,.07), 0 0 0 6px rgba(63,174,132,.14);overflow:hidden;transition:opacity .4s ease, box-shadow .6s ease}
.gv-h{display:flex;align-items:center;gap:9px;padding:8px 14px;background:var(--jade-700);color:#fff}
.gv-h img{width:26px;height:26px;flex:none;padding:3px;border-radius:50%;background:var(--jade-900)}
.gv-h b{font:600 1.08rem/1 var(--display);letter-spacing:-.01em;white-space:nowrap}
.gv-h span{margin-left:auto;font-size:.72rem;font-weight:600;color:#d7eee3;white-space:nowrap}
.gv-h span i,.gv-h span em{font-style:normal}
.gv-row{position:relative;padding:8px 14px 9px;border-top:1px solid #efe8dd;transition:background-color .35s ease, box-shadow .35s ease}
.gv-sales{border-top:0}
.gv-row > *{transition:opacity .35s ease}
.gv-t{display:flex;justify-content:space-between;align-items:baseline;gap:8px;font-size:.78rem;font-weight:700;color:var(--ink-2);line-height:1.2}
.gv-t b{font:600 1.02rem/1 var(--display);color:var(--teak-900);font-variant-numeric:tabular-nums;white-space:nowrap}
.bars{display:grid;gap:3px;margin-top:6px}
.bars li{display:grid;grid-template-columns:6.7em minmax(0,1fr) 3.1em;align-items:center;gap:8px;font-size:.74rem;line-height:1.2;color:var(--ink-2)}
.bars span{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.bars i{position:relative;height:8px;border-radius:4px;background:var(--mint-100);overflow:hidden}
.bars i::after{content:"";position:absolute;left:0;top:0;bottom:0;width:calc(var(--v) * 100%);border-radius:4px;background:var(--jade-600);transform-origin:0 50%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.bars li:nth-child(2) i::after{transition-delay:.08s}
.bars li:nth-child(3) i::after{transition-delay:.16s}
.bars b{text-align:right;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
/* phones: food cost and staff cost share one row */
.gv-meters{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);column-gap:12px;padding:0 14px;border-top:1px solid #efe8dd}
.gv-meters .gv-row{padding:8px 0 10px;border-top:0}
.gv-meter .track{position:relative;display:block;height:8px;margin-top:8px;border-radius:4px;background:var(--mint-100)}
.gv-meter .track i{position:absolute;left:0;top:0;bottom:0;width:calc(var(--v) * 100%);border-radius:4px;background:var(--jade-600);transform-origin:0 50%;transition:transform .6s cubic-bezier(.2,.8,.2,1)}
.gv-meter.is-over .track i{background:var(--chilli)}
.gv-meter .track em{position:absolute;top:-3px;bottom:-3px;left:calc(var(--tg) * 100%);width:2px;margin-left:-1px;border-radius:1px;background:var(--teak-900)}
/* the notes under the meters: 601px and up (phones keep the meters and their target marks) */
.gv-meter small{display:none;margin-top:6px;font-size:.7rem;line-height:1.3;color:var(--muted)}
.gv-meter.is-over small{color:#a92a1f;font-weight:600}
.gv-todo{display:flex;flex-wrap:wrap;gap:6px;padding:8px 14px 10px;border-top:1px solid #efe8dd}
.pill{position:relative;display:inline-flex;align-items:center;gap:5px;padding:5px 10px;border-radius:999px;font-size:.72rem;font-weight:700;line-height:1.2;white-space:nowrap;transition:background-color .35s ease, color .35s ease, box-shadow .35s ease}
.pill svg{width:11px;height:11px;flex:none;fill:none;stroke:currentColor;stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.pill-yolk{background:var(--yolk-soft);color:#7a4c00;box-shadow:inset 0 0 0 1px #f1d9a6}
.pill-jade{background:var(--jade-700);color:#fff}
.pill-mint{background:var(--mint-100);color:var(--jade-900);box-shadow:inset 0 0 0 1px var(--mint-300)}
/* a row the morning's work is drawn from: a short wash (yolk when a person approves) */
.gv-row.hot:not(.pill){background-color:var(--mint-100)}
.gv-row.hot.ap:not(.pill){background-color:var(--yolk-soft)}
.gv-meters .gv-row.hot{border-radius:2px;box-shadow:0 0 0 7px var(--mint-100)}
.gv-meters .gv-row.hot.ap{box-shadow:0 0 0 7px var(--yolk-soft)}
.pill.gv-row.hot{box-shadow:0 0 0 3px var(--mint-300)}
.pill.gv-row.hot.ap{box-shadow:0 0 0 3px var(--yolk)}

/* every department: phone tiles, 4 then 3, with the label under them so the wires stay clear */
.asm-act{display:flex;flex-direction:column}
.asm-act .asm-lbl{order:2;margin:14px 0 0;text-align:center}
.act-list{display:flex;flex-wrap:wrap;justify-content:center;gap:14px 8px}
.act{position:relative;flex:0 0 calc((100% - 24px) / 4);display:flex;flex-direction:column;align-items:center;gap:5px;min-width:0;transition:opacity .3s ease, transform .45s cubic-bezier(.2,.9,.3,1.3), box-shadow .5s ease, background-color .3s ease}
.act-ic{position:relative;width:48px;height:48px;flex:none;border-radius:50%;display:grid;place-items:center;background:#fff;color:var(--jade-700);box-shadow:inset 0 0 0 1px var(--line), 0 8px 16px -12px rgba(42,26,18,.45)}
.act-ic svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.act-t{display:none}
.act-s{display:block;max-width:100%;font-style:normal;font-size:.72rem;font-weight:700;line-height:1.1;color:var(--ink-2);text-align:center;white-space:nowrap}
/* the job the department got, kept under its name (two lines at most). While the picture plays it
   waits for the job to arrive; at rest, and with reduced motion, every department shows its job. */
.act-j{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;max-width:100%;min-height:2.5em;margin-top:-2px;padding:0 1px;font-style:normal;font-size:11px;font-weight:600;line-height:1.25;color:var(--ink-2);text-align:center;text-wrap:balance;transition:opacity .3s ease}
.act-j.is-ap{color:#7a4c00}
/* work arrives (phones): the new job fades in under the name and is lit for 1.6s, jade, or yolk when a
   person approves. The light is on the words only, so a one-line job has no empty box under it. */
.act-j span{border-radius:4px;padding:1px 3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;transition:background-color .3s ease, color .3s ease}
.act.got .act-j{animation:act-j-in .4s ease both}
.act.got .act-j span{background:var(--jade-700);color:#fff}
.act.got .act-j.is-ap span{background:var(--yolk);color:var(--teak-900)}
@keyframes act-j-in{from{opacity:0;transform:translateY(3px)}}
.act-tick{position:absolute;top:-3px;left:calc(50% + 13px);width:18px;height:18px;border-radius:50%;background:var(--jade-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 0 0 2px var(--marble-2);transition:transform .35s cubic-bezier(.2,.9,.3,1.5) .1s}
.act-ok{position:absolute;top:-3px;left:calc(50% - 33px);width:20px;height:20px;border-radius:50%;display:grid;place-items:center;background:var(--yolk);box-shadow:0 0 0 2px var(--marble-2), 0 4px 8px -4px rgba(224,154,36,.8)}
.act-ok svg{width:12px;height:12px;fill:none;stroke:var(--teak-900);stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
/* work arrives: the department lifts, with a ring (yolk when a person approves) */
.act::after{left:50%;top:0;width:48px;height:48px;margin-left:-24px;border-radius:50%;box-shadow:0 0 0 3px var(--jade-500)}
.act.ap::after{box-shadow:0 0 0 3px var(--yolk)}
.act.flash{animation:asm-lift .5s ease-out}
.act.flash::after{animation:asm-ring .5s ease-out}
@keyframes asm-lift{40%{transform:scale(1.03)}}
@keyframes asm-ring{30%{opacity:1}to{opacity:0}}
/* work has arrived: held for 1.6s. Phones tint the icon and light the job under it; 601px and up the
   tile washes and its name line reads "Sent 07:10" (or "Needs approval"). */
.act-ic{transition:background-color .3s ease, color .3s ease}
.act.got .act-ic{background:var(--jade-600);color:#fff}
.act.got.ap .act-ic{background:var(--yolk);color:var(--teak-900)}
.act-sent{display:none}

/* "Since closing": the morning's log, on the same scalloped paper as the proof chit */
.asm-log{padding:10px 14px 2px;background:var(--marble-2);border-radius:12px 12px 0 0;box-shadow:0 1px 0 rgba(42,26,18,.05), 0 16px 30px -24px rgba(42,26,18,.45), inset 0 0 0 1px rgba(42,26,18,.06);transition:opacity .24s ease, transform .24s ease}
.asm-log::after{content:"";position:absolute;left:0;right:0;bottom:-8px;height:8px;background:radial-gradient(circle at 7px 0, var(--marble-2) 6.5px, transparent 7px) 0 0/14px 8px repeat-x}
.asm-log-h{display:flex;justify-content:space-between;align-items:center;gap:10px;padding-bottom:7px;border-bottom:1.5px dashed #d9cfbf;font-size:.68rem;font-weight:700;letter-spacing:.1em;line-height:1.2;text-transform:uppercase;color:var(--teak-600)}
.asm-log-h time{font-size:.84rem;font-weight:700;letter-spacing:0;color:var(--teak-900);font-variant-numeric:tabular-nums}
/* one line on phones, three from 601px */
.asm-log-roll{--ln:48px;height:var(--ln);overflow:hidden}
#asm-feed li{display:grid;grid-template-columns:2.8em minmax(0,1fr);grid-template-rows:auto auto;column-gap:8px;row-gap:3px;align-content:center;min-height:var(--ln);padding:5px 0;border-top:1px dashed #ebe3d6;font-size:.78rem;line-height:1.25;color:var(--ink)}
#asm-feed{padding-bottom:calc(var(--ln) * 2)}
#asm-feed li:first-child{border-top:0}
#asm-feed time{grid-row:1/3;align-self:start;padding-top:1px;font-weight:600;color:var(--teak-600);font-variant-numeric:tabular-nums}
.lg-say{font-weight:600}
.lg-to,.lg-ap{grid-column:2;justify-self:start;display:inline-flex;align-items:center;gap:4px;padding:3px 8px;border-radius:999px;font-size:.68rem;font-weight:700;line-height:1.15;white-space:nowrap}
.lg-to{background:var(--mint-100);color:var(--jade-900)}
.lg-ap{background:var(--yolk-soft);color:#7a4a08}
.lg-ap svg{width:12px;height:12px;flex:none;fill:none;stroke:currentColor;stroke-width:2.1;stroke-linecap:round;stroke-linejoin:round}
#asm-feed li.new{animation:asm-print .45s ease both}
@keyframes asm-print{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}

/* the caption under the picture */
.asm-foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 16px;margin-top:22px;font-size:.82rem;line-height:1.35;color:var(--muted);text-align:center}
.asm-key{display:inline-flex;align-items:center;gap:8px;font-weight:600;color:var(--ink-2)}
.asm-key .act-ok{position:static;width:20px;height:20px;flex:none;box-shadow:none}
.asm-key .act-ok svg{width:12px;height:12px}
.asm-foot .replay{margin:0;min-height:40px;padding:0 10px;color:var(--jade-900);text-decoration-thickness:1px}
.asm-foot .replay[hidden]{display:none}

/* the loose paperwork: only on screen while the picture assembles */
.frags{position:absolute;left:0;top:0;right:0;bottom:0;z-index:3;pointer-events:none}
.frag{position:absolute;left:var(--x);top:var(--y);width:var(--w);opacity:0;transform:rotate(var(--r));transform-origin:50% 50%;color:var(--ink);line-height:1.3;box-shadow:0 16px 28px -16px rgba(42,26,18,.55), 0 2px 5px rgba(42,26,18,.08)}
.asm.is-play .frag{will-change:transform,opacity}
.frag p{margin:0}
.frag mark{color:inherit;background:linear-gradient(rgba(242,179,61,.6),rgba(242,179,61,.6)) 0 88%/0% 46% no-repeat;transition:background-size .35s ease;padding:0 1px}
.frag.read mark{background-size:100% 46%}
.frag::before{content:"";position:absolute;top:-8px;right:-8px;z-index:3;width:20px;height:20px;border-radius:50%;background:var(--jade-600) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.8 6.2l2 2 4.4-4.6' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/13px no-repeat;box-shadow:0 0 0 2px #fff;transform:scale(0);transition:transform .3s cubic-bezier(.2,.9,.3,1.5)}
.frag.read::before{transform:scale(1)}
.scan{position:absolute;left:0;top:0;right:0;bottom:0;overflow:hidden;border-radius:inherit;pointer-events:none;z-index:2}
.scan i{position:absolute;left:0;right:0;top:0;height:34%;background:linear-gradient(180deg, rgba(63,174,132,0), rgba(63,174,132,.22) 70%, rgba(63,174,132,.9) 96%, rgba(63,174,132,0));transform:translateY(-100%)}
.frag.reading .scan i{animation:asm-scan .5s cubic-bezier(.45,0,.55,1) forwards}
@keyframes asm-scan{to{transform:translateY(300%)}}

/* a POS end-of-day slip */
.f-pos{--w:146px;background:#fff;padding:9px 11px 12px;font:500 9.5px/1.5 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;text-transform:uppercase;letter-spacing:.02em;color:#3a312a;box-shadow:none;filter:drop-shadow(0 10px 12px rgba(42,26,18,.22)) drop-shadow(0 1px 1px rgba(42,26,18,.1))}
.f-pos::after{content:"";position:absolute;left:0;right:0;bottom:-6px;height:6px;background:radial-gradient(circle at 5px 0, #fff 4.6px, transparent 5px) 0 0/10px 6px repeat-x}
.f-pos .r-h{text-align:center;font-weight:700;padding-bottom:5px;margin-bottom:4px;border-bottom:1px dashed #b9ada0;line-height:1.35}
.f-pos .r-l{display:flex;justify-content:space-between;gap:6px}
.f-pos .r-tot{margin-top:4px;padding-top:4px;border-top:1px dashed #b9ada0;font-weight:700;color:#1d1611}
/* a delivery app payout */
.f-app{--w:160px;background:#fff;border-radius:14px;padding:10px 12px 11px;font-size:9.5px;color:var(--muted)}
.f-app .a-h{display:flex;align-items:center;gap:6px;font-size:10px;font-weight:700;color:var(--ink-2)}
.f-app .a-h i{width:14px;height:14px;border-radius:4px;background:var(--chilli);box-shadow:inset 0 -3px 0 rgba(0,0,0,.18)}
.f-app .a-n{margin:6px 0 4px;font:600 17px/1.1 var(--display);color:var(--teak-900);font-variant-numeric:tabular-nums}
/* a handwritten supplier invoice, carbon copy */
.f-inv{--w:172px;padding:8px 12px 9px;border-radius:3px;background:repeating-linear-gradient(180deg, transparent 0 17px, rgba(70,100,160,.2) 17px 18px) 0 6px, #fbf3d4;font-family:"Bradley Hand","Segoe Print","Ink Free","Noteworthy","Comic Sans MS",cursive;color:#2a3f8a}
.f-inv .i-h{display:flex;justify-content:space-between;gap:8px;font:700 8.5px/1.2 var(--body);letter-spacing:.1em;text-transform:uppercase;color:#8a3b2b;padding-bottom:4px;margin-bottom:2px;border-bottom:1.5px solid rgba(138,59,43,.45)}
.f-inv .i-w{font-size:12.5px;line-height:18px;white-space:nowrap}
.f-inv .i-tot{font-weight:700}
/* a payroll sheet */
.f-pay{--w:206px;background:#fff;border-radius:4px;font-size:9.5px;line-height:1.2;color:#2b3238;box-shadow:0 16px 28px -16px rgba(42,26,18,.55), 0 2px 5px rgba(42,26,18,.08), inset 0 0 0 1px #d9dee3}
.f-pay p{display:grid;grid-template-columns:15px minmax(0,1.6fr) minmax(0,.6fr) minmax(0,1fr)}
.f-pay span,.f-pay mark{padding:4px 5px;border-right:1px solid #e3e7ea;border-bottom:1px solid #e3e7ea;white-space:nowrap;overflow:hidden}
.f-pay .s-h span,.f-pay .s-r span:first-child{background:#eef1f3;color:#7a858f;font-weight:700;text-align:center;padding-inline:2px}
.f-pay .s-r:nth-child(2){font-weight:700}
.f-pay .s-r span:last-child,.f-pay mark{text-align:right}
.f-pay mark{background:#fff;transition:box-shadow .3s ease, background-color .3s ease}
.f-pay.read mark{background:var(--yolk-soft);box-shadow:inset 0 0 0 2px var(--jade-600)}
/* a WhatsApp order */
.f-wa{--w:190px;background:#fff;border-radius:3px 12px 12px 12px;padding:6px 9px 5px;font-size:11px;line-height:1.35;color:#1d1611}
.f-wa .w-n{font-size:10px;font-weight:700;color:#b5541b}
.f-wa .w-m{text-align:right;font-size:8.5px;color:#7a7067}
.f-wa .w-m i{font-style:normal;color:#3b8fc4;letter-spacing:-2px}
/* a bank statement */
.f-bank{--w:226px;background:#fff;border-radius:4px;padding:0 0 4px;font:500 9px/1.3 ui-monospace,"SF Mono",SFMono-Regular,Menlo,Consolas,monospace;color:#2b3238}
.f-bank .b-h{padding:5px 8px;margin-bottom:2px;border-radius:4px 4px 0 0;background:#e6ecf0;color:#40505e;font:700 8.5px/1.2 var(--body);letter-spacing:.08em;text-transform:uppercase}
.f-bank .b-r{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:6px;padding:3px 8px;border-bottom:1px dotted #d5dce2}
.f-bank .b-r span:nth-child(2){white-space:nowrap;overflow:hidden}

/* where each piece lands at the start, phones: a loose pile over the card, under the row of systems */
.f-pos{--x:0px;--y:56px;--r:-6deg}
.f-app{--x:calc(100% - 160px);--y:52px;--r:6deg}
.f-inv{--x:calc(50% - 118px);--y:132px;--r:3deg}
.f-pay{--x:calc(100% - 206px);--y:182px;--r:-3deg}
.f-wa{--x:2px;--y:230px;--r:-4deg}
.f-bank{--x:calc(100% - 228px);--y:282px;--r:2deg}

/* 601px and up: systems on the left, the group view with its log under it, departments on the right */
@media (min-width:601px){
  /* three heads on one line (Your systems, Checks and joins, Every department); the two side columns
     stretch to the card's height. The gutters are wide so the work can be seen travelling. */
  /* rows: the heads, then the card (1fr takes any extra height of the side columns, so the heads stay on one line) */
  .asm-stage{grid-template-columns:minmax(104px,142px) minmax(236px,310px) minmax(150px,190px);grid-template-areas:"src lcore act" "src core act" ". log .";grid-template-rows:auto 1fr auto;justify-content:center;align-items:start;column-gap:clamp(24px,6cqi,44px);row-gap:0}
  .asm-lbl-core{display:block;color:var(--jade-700)}
  .asm-src{display:flex;flex-direction:column;align-self:stretch}
  .src-list{flex:1;grid-template-columns:1fr;gap:5px;align-content:space-between}
  .src{flex-direction:row;justify-content:flex-start;align-items:center;gap:8px;padding:6px 10px 6px 8px;border-radius:12px;background:rgba(255,253,249,.94);box-shadow:inset 0 0 0 1px rgba(42,26,18,.08), 0 6px 12px -10px rgba(42,26,18,.5);transition:opacity .35s ease, transform .45s cubic-bezier(.2,.9,.3,1.3)}
  .src-ic{display:block;width:20px;height:24px;border-radius:0;background:none;box-shadow:none}
  .src-ic svg{width:100%;height:100%;stroke-width:1.6}
  .src-t{display:block}
  .src-t b{display:block;font-size:.76rem;font-weight:700;line-height:1.15;color:var(--ink-2)}
  .src-t i{display:none}
  .src-ok{top:50%;left:auto;right:-7px;margin-top:-7.5px;width:15px;height:15px;background-size:11px !important}
  .src::after{left:0;top:0;width:100%;height:100%;margin:0;border-radius:12px}
  /* the card fills the row, so all three columns end on one line; the spare height goes to its rows */
  .gv{align-self:stretch;display:flex;flex-direction:column}
  .gv-sales,.gv-meters .gv-row{flex:1 1 auto;display:flex;flex-direction:column;justify-content:center}
  .gv-h{padding:12px 16px}
  /* the subline goes on two lines beside the title: "Group view" over "Yesterday, 3 outlets" */
  .gv-h span{display:flex;flex-direction:column;align-items:flex-end;font-size:.68rem;line-height:1.25;text-align:right}
  .gv-h span em{display:none}
  .gv-todo{gap:6px 4px}
  .gv-todo .pill{padding:5px 8px;font-size:.7rem}
  .gv-row{padding:12px 16px 13px}
  .bars{gap:5px;margin-top:8px}
  .gv-meter small{display:block}
  .gv-meters{flex:2 1 auto;display:flex;flex-direction:column;padding:0;border-top:0}
  .gv-meters .gv-row{padding:12px 16px 13px;border-top:1px solid #efe8dd}
  .gv-meters .gv-row.hot,.gv-meters .gv-row.hot.ap{border-radius:0;box-shadow:none}
  .gv-todo{padding:12px 16px 14px}
  .asm-act{display:flex;flex-direction:column;align-self:stretch}
  .asm-act .asm-lbl{order:0;margin:0 0 8px;text-align:left}
  .act-list{flex:1;display:grid;grid-template-columns:1fr;gap:7px;align-content:space-between}
  .act{flex-direction:row;align-items:center;gap:9px;min-height:56px;padding:7px 10px 7px 8px;border-radius:14px;background:#fff;box-shadow:inset 0 0 0 1px var(--line), 0 8px 16px -12px rgba(42,26,18,.45)}
  .act-ic{width:32px;height:32px;background:var(--mint-200);box-shadow:none}
  .act-ic svg{width:18px;height:18px}
  .act-t{display:flex;flex-direction:column;min-width:0}
  .act-t small{font-size:.62rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);line-height:1.3}
  .act-t b{font-size:.78rem;font-weight:700;line-height:1.25;color:var(--ink)}
  .act-s,.act-j{display:none}
  /* the lasting mark that a job arrived, where its wire meets the tile, like the systems' ticks:
     a tick, or the approver when the job waits for a person. Reduced motion shows them all. */
  .act-tick{top:50%;left:-9px;margin-top:-9px}
  .act.job-ap .act-tick{background:var(--yolk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='%232a1a12' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='10' cy='7.5' r='3.5'/%3E%3Cpath d='M3 20c0-3.6 3-6.5 7-6.5 1 0 1.9.2 2.7.5'/%3E%3Cpath d='M14 17.5l2.5 2.5L21 15.2'/%3E%3C/g%3E%3C/svg%3E") center/12px no-repeat;box-shadow:0 0 0 2px var(--marble-2), 0 4px 8px -4px rgba(224,154,36,.8)}
  .act-ok{top:-7px;left:auto;right:-5px;width:22px;height:22px}
  .act-ok svg{width:13px;height:13px}
  .act::after{left:0;top:0;width:100%;height:100%;margin:0;border-radius:14px;box-shadow:0 0 0 2px var(--jade-500)}
  .act.ap::after{box-shadow:0 0 0 2px var(--yolk)}
  /* work arrives: the tile washes and, for 1.6s, its name line says when the job was sent, or that it
     needs approval. It stays inside its own tile. */
  .act.got{z-index:2;background:var(--mint-100)}
  .act.got.ap{background:var(--yolk-soft)}
  .act.got .act-ic{background:var(--jade-600);color:#fff}
  .act.got.ap .act-ic{background:var(--yolk);color:var(--teak-900)}
  .act-t{position:relative}
  .act-t small{transition:opacity .2s ease}
  .act-sent{position:absolute;left:0;top:0;right:0;display:flex;align-items:center;gap:4px;font-size:.62rem;font-weight:700;letter-spacing:.06em;text-transform:uppercase;line-height:1.3;color:var(--jade-700);white-space:nowrap;opacity:0;transform:translateY(3px);transition:opacity .2s ease, transform .25s ease;pointer-events:none}
  .act-sent span{min-width:0;overflow:hidden;text-overflow:ellipsis}
  .act-sent svg{width:11px;height:11px;flex:none;fill:none;stroke:currentColor;stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round}
  .act.ap .act-sent{color:#7a4c00}
  .act.ap .act-sent svg{stroke-width:2.2}
  .act.got .act-sent{opacity:1;transform:none}
  .act.got .act-t small{opacity:0}
  .asm-log{margin-top:16px}
  .asm-log-roll{height:calc(var(--ln) * 3)}
  /* the loose paperwork starts over the card and the departments, clear of the systems column */
  .f-pos{--x:27%;--y:6%;--r:-7deg}
  .f-app{--x:66%;--y:2%;--r:6deg}
  .f-inv{--x:46%;--y:17%;--r:3deg}
  .f-pay{--x:30%;--y:40%;--r:4deg}
  .f-wa{--x:62%;--y:36%;--r:-5deg}
  .f-bank{--x:38%;--y:60%;--r:-2deg}
}
/* narrow tiles (601 to 740px): the name-line stamp drops its icon so "Needs approval" fits whole */
@media (min-width:601px) and (max-width:740px){
  .act-sent{letter-spacing:.03em}
  .act-sent svg{display:none}
}
@container asm (min-width:700px){
  .asm-stage{column-gap:clamp(40px,8cqi,72px)}
}
@container asm (min-width:760px){
  .src-t b{font-size:.8rem}
  .act-t b{font-size:.82rem}
}

/* the picture while it plays: everything waits for its moment */
html.asm-anim .asm:not(.is-play):not(.is-done) .asm-stage{visibility:hidden;animation:asm-failsafe 0s 3s forwards}
@keyframes asm-failsafe{to{visibility:visible}}
.asm.is-play .asm-act .asm-lbl:not(.on),.asm.is-play .asm-lbl-core:not(.on){opacity:0}
/* the systems are there from the start, dimmed and unticked, until their paperwork is read */
.asm.is-play .src:not(.on){opacity:.5}
.asm.is-play .src:not(.on) .src-ok{transform:scale(0)}
.asm.is-play .act:not(.on){opacity:0;transform:scale(.84)}
/* a department's tick, and on phones its job line, wait for its first job */
html.asm-anim .asm.is-play .act:not(.rcv) .act-tick,html.asm-anim .asm.is-done .act:not(.rcv) .act-tick{transform:scale(0)}
html.asm-anim .asm.is-play .act:not(.rcv) .act-j,html.asm-anim .asm.is-done .act:not(.rcv) .act-j{opacity:0}
.asm.is-play .gv:not(.on){opacity:0}
.asm.is-play .gv-row:not(.on) > *{opacity:0}
.asm.is-play .gv-row:not(.on)::before{content:"";position:absolute;left:14px;right:40%;top:12px;height:8px;border-radius:4px;background:#efe9df;box-shadow:0 16px 0 #f3eee6}
.asm.is-play .gv-meters .gv-row:not(.on)::before{left:0;right:30%}
.asm.is-play .gv-sales:not(.on)::before{box-shadow:0 18px 0 #f3eee6, 0 33px 0 #f3eee6, 0 48px 0 #f3eee6}
.asm.is-play .pill.gv-row:not(.on){background:#f1ece4;color:transparent;box-shadow:none}
.asm.is-play .pill.gv-row:not(.on) svg{opacity:0}
.asm.is-play .pill.gv-row::before{display:none}
.asm.is-play .gv-row:not(.on) .bars i::after,.asm.is-play .gv-row:not(.on) .track i{transform:scaleX(0)}
/* a system's wire is not there until its paperwork lands; then it draws on towards the card */
.asm.is-play .ln-in:not(.on){stroke-dashoffset:1}
.asm.is-play .ln-out:not(.on){stroke-dashoffset:1}
.asm.is-play .dot:not(.on){opacity:0;transition-delay:0s}
/* the soft ring round the view arrives once the last piece has landed */
.asm.is-play .gv:not(.full){box-shadow:0 1px 0 rgba(42,26,18,.04), 0 28px 50px -26px rgba(18,63,47,.6), inset 0 0 0 1px rgba(42,26,18,.07), 0 0 0 0 rgba(63,174,132,0)}
.act.lit .act-ic{box-shadow:inset 0 0 0 1.5px var(--yolk), 0 8px 18px -10px rgba(224,154,36,.75)}
/* the log waits under the card until the picture is built, then rises into place */
.asm.log-wait .asm-log{opacity:0;transform:translateY(8px)}
@media (min-width:601px){
  .act.lit{box-shadow:inset 0 0 0 1.5px var(--yolk), 0 8px 18px -10px rgba(224,154,36,.75)}
  .act.lit .act-ic{box-shadow:none}
}

/* 1101px and up: the email is in the nav, so the hero stops at the buttons and one quiet line */
@media (min-width:1101px){
  .hero-after .cta-mail{display:none}
}

/* 1181px and up: the log keeps two lines, so the caption ("A person approves...") stays on a laptop's first screen */
@media (min-width:1181px){
  .hero{padding-top:48px}
  .hero-copy h1{font-size:clamp(2.3rem,3.1vw,2.6rem)}
  .asm-log{margin-top:12px}
  .asm-log-roll{height:calc(var(--ln) * 2)}
  .asm-foot{margin-top:16px}
}

/* 1180px and down: the picture goes under the words (below 1181 the card would drop under 300px wide) */
@media (max-width:1180px){
  .hero-in{grid-template-columns:minmax(0,1fr);grid-template-areas:"copy" "vis" "after";grid-template-rows:auto;row-gap:0}
  .hero-copy{text-align:center;max-width:760px;margin-inline:auto}
  .hero-copy .eyebrow{justify-content:center}
  .hero-copy .lede{margin-inline:auto;max-width:600px}
  .hero-copy .cta-row{justify-content:center}
  .hero-visual{margin-top:44px}
  .hero-after{display:flex;flex-direction:column;align-items:center;text-align:center;margin-top:20px}
  .hero-after .cta-mail{justify-content:center;margin-top:0}
  .hero.field{
    background:
      radial-gradient(80% 40% at 55% 64%, rgba(var(--field-mint-pool),.8), rgba(var(--field-mint-pool),0) 72%),
      radial-gradient(60% 22% at 104% -2%, rgba(var(--field-mint-soft),1), rgba(var(--field-mint-soft),0) 72%),
      radial-gradient(70% 26% at -8% 30%, rgba(var(--field-yolk-warm),.8), rgba(var(--field-yolk-warm),0) 72%),
      linear-gradient(176deg, var(--field-paper) 0%, #f8f8f1 24%, var(--field-mint-wash) 60%, #e1efe6 100%);
  }
}
@media (max-width:900px){
  .hero{padding-top:44px}
  .hero-in{padding-bottom:72px}
  /* the bottom bar carries Book a call and the email from here down */
  .hero-after .cta-mail{display:none}
}
/* phones: short headline, one short line, the buttons, and the picture starts on the first screen */
@media (max-width:600px){
  .hero{padding-top:20px}
  .hero-in{padding-bottom:calc(var(--field-rim-h) + 18px)}
  .hero-copy{text-align:left}
  .hero-copy .eyebrow{justify-content:flex-start;font-size:.75rem}
  .hero-copy h1{font-size:clamp(2rem,9.4vw,2.5rem);line-height:1.04;margin:8px 0 8px}
  .hero-copy .lede{font-size:1rem;line-height:1.45}
  .lede-long{display:none}
  .lede-short{display:inline}
  .hero-copy .cta-row{justify-content:flex-start;flex-wrap:nowrap;margin-top:14px;gap:10px}
  .hero-copy .cta-row .btn{flex:1 1 0;min-width:0;min-height:50px;padding:0 12px;gap:8px;font-size:.95rem}
  .hero-visual{margin-top:14px}
  /* the to-do pills go: the jobs under the departments say the same, and the first row of departments
     comes up onto the first screen */
  .gv-todo{display:none}
  .asm-src .asm-lbl{margin-bottom:6px}
  .gv-h{padding:7px 14px}
  .bars{gap:2px}
  .hero-after{align-items:flex-start;text-align:left;margin-top:22px}
  .hero-after .cta-mail{justify-content:flex-start}
  .hero-after .for-line{margin-top:10px;font-size:.95rem}
  .asm-foot{margin-top:20px;font-size:.78rem}
  .hero.field{
    background:
      radial-gradient(90% 34% at 50% 58%, rgba(var(--field-mint-pool),.75), rgba(var(--field-mint-pool),0) 72%),
      radial-gradient(70% 18% at 104% -2%, rgba(var(--field-mint-soft),1), rgba(var(--field-mint-soft),0) 72%),
      radial-gradient(85% 20% at -8% 14%, rgba(var(--field-yolk-warm),.8), rgba(var(--field-yolk-warm),0) 72%),
      linear-gradient(176deg, var(--field-paper) 0%, #f8f8f1 20%, var(--field-mint-wash) 56%, #e1efe6 100%);
  }
}
/* short phones (780px tall and less): the eyebrow goes and the card tightens, so the first row of
   departments is on the first screen and the work can be seen going out without a scroll */
@media (max-width:600px) and (max-height:780px){
  .hero{padding-top:14px}
  .hero-copy .eyebrow{display:none}
  .hero-copy h1{margin-top:0}
  .hero-copy .cta-row{margin-top:12px}
  .hero-visual{margin-top:12px}
  .asm-stage{row-gap:10px}
  .asm-src .asm-lbl{margin-bottom:5px}
  .gv-h{padding:5px 14px}
  .gv-row{padding:6px 14px 7px}
  .gv-meters .gv-row{padding:6px 0 8px}
}
/* the shortest first screens (a 360x640 Android, an iPhone SE): a few px more, so the first row of
   department icons is whole above the fold */
@media (max-width:600px) and (max-height:700px){
  .hero-copy h1{margin-bottom:6px}
  .hero-copy .cta-row{margin-top:10px}
  .hero-visual{margin-top:10px}
  .asm-stage{row-gap:8px}
}
/* 400px and down: eight labels in one row would touch, so the systems go in two rows of four:
   small chips (icon beside its name, like the wide layout), and icon over name at 340px and down.
   The wires of the top row run down through the gaps of the row below (app.js). */
@media (max-width:400px){
  .gv-h span i{display:none}
  .src-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px 6px}
  .src{flex-direction:row;justify-content:flex-start;gap:4px;min-height:30px;padding:4px 6px 4px 4px;border-radius:10px;background:rgba(255,253,249,.96);box-shadow:inset 0 0 0 1px rgba(42,26,18,.08), 0 6px 12px -10px rgba(42,26,18,.5)}
  .src-ic{width:18px;height:22px;border-radius:0;background:none;box-shadow:none}
  .src-ic svg{width:100%;height:100%;stroke-width:1.6}
  .src-t{justify-content:flex-start}
  .src-t i{font-size:.66rem;letter-spacing:-.01em;text-align:left}
  .src-ok{top:-5px;left:auto;right:-4px}
  .src::after{left:0;top:0;width:100%;height:100%;margin:0;border-radius:10px}
}
@media (max-width:340px){
  .src-list{gap:10px 6px}
  .src{flex-direction:column;justify-content:flex-start;gap:4px;min-height:0;padding:0;border-radius:0;background:none;box-shadow:none}
  .src-ic{width:34px;height:34px;border-radius:11px;background:rgba(255,253,249,.96);box-shadow:inset 0 0 0 1px rgba(42,26,18,.08), 0 6px 12px -10px rgba(42,26,18,.5)}
  .src-ic svg{width:16px;height:19px;stroke-width:1.7}
  .src-t{justify-content:center}
  .src-t i{font-size:.68rem;text-align:center}
  .src-ok{top:-4px;right:auto;left:calc(50% + 9px)}
  .src::after{left:50%;width:34px;height:34px;margin-left:-17px;border-radius:11px}
}
@media (max-width:360px){
  .hero-copy .cta-row .btn{font-size:.9rem;padding:0 10px}
  .hero-copy .cta-row .btn svg{display:none}
  .act-s{font-size:.68rem}
}
/* ===== end hero ===== */

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation:none !important;transition:none !important}
}
