/* Sugo v6 — "From feed to table."
   One idea: a single coral thread runs from the feed carousel through four stops
   (Feed → Box → Kitchen → Table) and draws itself as you scroll. Everything else is quiet. */

:root {
  --cream: #F6F1EA;
  --paper: #FFFDF8;
  --ink: #2B1A14;
  --ink-2: #5E4B42;
  --muted: #8A7A70;
  --coral: #E23B3B;
  --coral-d: #C42F2F;
  --line: rgba(43, 26, 20, .12);
  --soft: rgba(43, 26, 20, .06);
  --f: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'SF Pro Display', 'Segoe UI', system-ui, sans-serif;
  --f-d: 'Baloo 2', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --sauce: #DA3232;
  --gut: clamp(20px, 5vw, 64px);
  --maxw: 1200px;
  --rail: clamp(110px, 11vw, 150px);
  --mark: 46px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--f); font-size: 18px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
::selection { background: var(--coral); color: var(--cream); }
:focus-visible { outline: 2px solid var(--coral); outline-offset: 3px; border-radius: 10px; }
.i { width: 1.15em; height: 1.15em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.mk { display: inline-block; width: .85em; height: 1.05em; flex: none; background: currentColor; -webkit-mask: url(/assets/sugo-mark-trim.png) center / contain no-repeat; mask: url(/assets/sugo-mark-trim.png) center / contain no-repeat; }

/* ---------- type ---------- */
h1, h2, h3 { margin: 0; letter-spacing: -.02em; text-wrap: balance; }
h1, h2, .close p, .price, .card h3, .pcard h3 { font-family: var(--f-d); }
h1 { font-size: clamp(50px, min(8vw, 13vh), 128px); line-height: .98; font-weight: 800; letter-spacing: -.02em; }
h2 { font-size: clamp(34px, 4.3vw, 60px); line-height: 1.04; font-weight: 800; }
h2 em, h1 .c, .close em { font-style: normal; color: var(--coral); }
.lede { margin: 22px 0 0; max-width: 31em; color: var(--muted); font-size: clamp(17px, 1.3vw, 19px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 22px; border-radius: 999px; font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .3s, transform .4s var(--ease); }
.btn:hover { transform: translateY(-2px); }
.btn-ink { background: var(--ink); color: var(--cream); } .btn-ink:hover { background: #3d2a20; }
.btn-coral { background: var(--coral); color: var(--paper); } .btn-coral:hover { background: var(--coral-d); }
.btn-lg { height: 58px; padding: 0 28px 0 24px; font-size: 16px; }
.btn .mk { color: var(--coral); } .btn-coral .mk { color: var(--paper); }
.btn small { display: block; font-size: 10.5px; font-weight: 500; letter-spacing: .04em; opacity: .7; line-height: 1.1; }
.btn .stack { display: flex; flex-direction: column; text-align: left; line-height: 1.15; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(246, 241, 234, .82); backdrop-filter: saturate(180%) blur(18px); -webkit-backdrop-filter: saturate(180%) blur(18px); }
.nav-in { max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 0 var(--gut); height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo img { height: 28px; width: auto; }
.nav-links { display: flex; gap: 6px; }
.nav-links a { padding: 8px 14px; border-radius: 99px; font-size: 15px; font-weight: 500; color: var(--ink-2); transition: background .25s, color .25s; }
.nav-links a:hover { background: var(--soft); color: var(--ink); }
.nav-links a b { font-weight: 600; color: var(--coral); margin-right: 6px; font-size: 12px; }
.nav-end { display: flex; align-items: center; gap: 12px; }
.lang { display: flex; padding: 3px; border-radius: 999px; background: var(--soft); }
.lang a { height: 28px; padding: 0 12px; display: flex; align-items: center; font-size: 13px; font-weight: 600; border-radius: 999px; color: var(--muted); }
.lang a[aria-current] { background: var(--paper); color: var(--ink); box-shadow: 0 1px 2px rgba(43, 26, 20, .12); }
.nav .btn { height: 40px; padding: 0 18px; }

/* ---------- hero ---------- */
.hero { padding: clamp(48px, 6vw, 84px) 0 0; text-align: center; }
.hero-text { padding: 0 var(--gut); }
.hero h1 .w { display: inline-block; animation: rise 1.2s var(--ease) both; animation-delay: calc(var(--i) * 90ms); }
.hero .sub { margin: 28px auto 0; max-width: 33em; color: var(--muted); font-size: clamp(17px, 1.4vw, 20px); animation: rise 1.2s var(--ease) .35s both; }
.cta { margin-top: 34px; display: flex; justify-content: center; align-items: center; gap: 18px; flex-wrap: wrap; animation: rise 1.2s var(--ease) .45s both; }
.cta .note { font-size: 14px; line-height: 1.45; color: var(--muted); text-align: left; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } }

/* the feed — a slow, draggable carousel */
.feed { position: relative; margin-top: clamp(44px, 5vw, 72px); overflow: hidden; cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent); mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  animation: rise 1.4s var(--ease) .55s both; }
.feed.dragging { cursor: grabbing; }
.feed-track { display: flex; gap: 20px; width: max-content; padding: 6px 0 46px; will-change: transform; }
.rc { flex: none; width: clamp(210px, 19vw, 280px); margin: 0; padding: 10px; background: var(--paper); border-radius: 24px; box-shadow: 0 0 0 1px var(--soft), 0 26px 44px -30px rgba(43, 26, 20, .4); transition: transform .6s var(--ease); }
.rc:hover { transform: translateY(-6px); }
.rc-im { aspect-ratio: 4 / 5; border-radius: 16px; overflow: hidden; background: #EEE7DC; }
.rc-im img { width: 100%; height: 100%; object-fit: cover; pointer-events: none; -webkit-user-drag: none; }
.rc figcaption { padding: 12px 6px 4px; text-align: left; }
.src { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--muted); }
.src .i { color: var(--coral); width: 14px; height: 14px; }
.rc b { display: block; margin-top: 5px; font-size: 16px; font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
.rc small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.thread-start { display: block; width: 1px; height: 1px; margin: 0 auto; }

/* ---------- the thread ---------- */
main { position: relative; }
.thread { position: absolute; left: 0; top: 0; width: 100%; pointer-events: none; z-index: 1; overflow: visible; }
.thread .ghost { fill: none; stroke: rgba(43, 26, 20, .14); stroke-width: 1.5; stroke-dasharray: 1 7; stroke-linecap: round; }
.thread .ink { fill: none; stroke: var(--coral); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.thread .tip { fill: var(--coral); }
.thread .halo { fill: var(--coral); opacity: .14; }

/* ---------- chapters ---------- */
.ch { position: relative; z-index: 2; max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: clamp(110px, 12vw, 180px) var(--gut) 0; display: grid; grid-template-columns: var(--rail) minmax(0, 1fr); }
.ch-rail { position: relative; display: flex; align-items: center; gap: 12px; height: var(--mark); margin-top: 6px; }
.mark { position: relative; width: var(--mark); height: var(--mark); border-radius: 50%; display: grid; place-items: center; background: var(--cream); border: 1.5px solid var(--line); font-size: 13px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: background .6s var(--ease), color .6s, border-color .6s, transform .8s var(--ease); }
.mark.on { border-color: var(--sauce); color: #fff; transform: scale(1.08); transition-delay: 0s, .5s, 0s, 0s; }
.ch-name { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); transition: color .6s; }
.mark.on + .ch-name { color: var(--ink); }
.duo { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 100px); align-items: center; }

/* calm reveal */
.js [data-r] { opacity: 0; transform: translateY(22px); transition: opacity 1s var(--ease), transform 1.1s var(--ease); transition-delay: var(--d, 0s); }
.js [data-r].in { opacity: 1; transform: none; }

/* 01 feed: noisy caption → clean card */
.pills { margin-top: 28px; display: flex; flex-wrap: wrap; gap: 8px; }
.pills span { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 15px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pills .i { color: var(--coral); width: 16px; height: 16px; }
.aside { margin-top: 34px; display: flex; gap: 18px; align-items: center; max-width: 470px; padding: 12px; border-radius: 20px; background: var(--paper); border: 1px solid var(--soft); }
.aside img { width: 86px; height: 104px; object-fit: cover; border-radius: 12px; flex: none; }
.aside b { display: block; font-size: 16px; line-height: 1.3; }
.aside p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--muted); }
.new { display: inline-block; margin-bottom: 6px; height: 20px; line-height: 20px; padding: 0 9px; border-radius: 99px; background: #FDECEC; color: var(--coral-d); font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.tr { position: relative; }
.post { width: 86%; padding: 22px 24px; border-radius: 22px; background: var(--paper); border: 1px solid var(--line); transform: rotate(-2deg); }
.post header { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; margin-bottom: 12px; }
.post .av { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-size: 12px; background: linear-gradient(135deg, #c13584, #e1306c, #fd9346); }
.post time { font-weight: 400; color: var(--muted); }
.cap { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
.cap .t { font-weight: 700; color: var(--ink); }
.cap .k { background: #E3EDE3; color: #2f5a31; padding: 1px 6px; border-radius: 5px; font-weight: 600; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.cap .j { background: linear-gradient(var(--coral), var(--coral)) 0 58% / 0 1.5px no-repeat; transition: background-size 1.1s var(--ease) .6s, color 1.1s .6s; }
.tr.in .cap .j { background-size: 100% 1.5px; color: rgba(94, 75, 66, .38); }
.card { position: relative; width: 74%; margin: -48px 0 0 auto; border-radius: 22px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--soft), 0 40px 70px -40px rgba(43, 26, 20, .5); transform: rotate(1.5deg); }
.js .tr .card { opacity: 0; transform: translateY(40px) rotate(1.5deg); transition: opacity 1s var(--ease) 1.5s, transform 1.2s var(--ease) 1.5s; }
.js .tr.in .card { opacity: 1; transform: rotate(1.5deg); }
.card .im { aspect-ratio: 16 / 8; overflow: hidden; background: #EEE7DC; }
.card .im img { width: 100%; height: 100%; object-fit: cover; }
.card .bd { padding: 16px 20px 20px; }
.card h3 { font-size: 24px; font-weight: 700; letter-spacing: -.01em; }
.card .meta { margin-top: 2px; font-size: 13px; color: var(--muted); }
.card ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 7px; font-size: 15px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.card li { display: flex; align-items: center; gap: 10px; }
.card li::before { content: ''; width: 7px; height: 7px; flex: none; background: #EE8686; border-radius: 0 50% 50% 50%; transform: rotate(45deg); }

/* 02 box */
.rows { margin-top: 30px; max-width: 470px; }
.rows div { display: flex; gap: 16px; align-items: flex-start; padding: 17px 0; border-top: 1px solid var(--line); font-size: 16px; color: var(--ink-2); line-height: 1.5; }
.rows div:last-child { border-bottom: 1px solid var(--line); }
.rows .i { color: var(--coral); margin-top: 2px; width: 21px; height: 21px; }
.rows b { color: var(--ink); font-weight: 600; }
.phone { --pw: 320px; width: var(--pw); aspect-ratio: 9 / 19; position: relative; border-radius: calc(var(--pw) * .15); padding: calc(var(--pw) * .028); background: #1b100b; box-shadow: 0 60px 90px -50px rgba(43, 26, 20, .55); justify-self: center; }
.phone-screen { container-type: inline-size; width: 100%; height: 100%; border-radius: calc(var(--pw) * .125); overflow: hidden; position: relative; background: var(--cream); color: var(--ink); font-family: -apple-system, 'SF Pro Text', var(--f); }
.island { position: absolute; z-index: 20; top: 3.4cqw; left: 50%; transform: translateX(-50%); width: 30cqw; height: 8.6cqw; border-radius: 9cqw; background: #000; }
.ph-box { padding: 17cqw 6cqw 0; }
.ph-top { display: flex; align-items: center; justify-content: space-between; }
.ph-top img { height: 7.4cqw; width: auto; }
.ph-top small { font-size: 3.2cqw; color: #B45309; font-weight: 500; }
.ph-h { font-size: 9.2cqw; font-weight: 700; letter-spacing: -.02em; margin: 3.5cqw 0 0; line-height: 1.2; }
.ph-search { margin-top: 3.4cqw; height: 12cqw; border-radius: 99px; background: var(--paper); border: 1px solid #DDD6C8; display: flex; align-items: center; gap: 2.6cqw; padding: 0 4.4cqw; font-size: 3.9cqw; color: #A2948A; }
.ph-search .i { width: 4.4cqw; height: 4.4cqw; }
.ph-hero { margin-top: 4cqw; border-radius: 5.6cqw; overflow: hidden; position: relative; aspect-ratio: 4 / 3; background: #EEE7DC; }
.ph-hero img, .ph-sm img { width: 100%; height: 100%; object-fit: cover; }
.ph-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(43, 26, 20, .75), transparent 60%); }
.ph-hero div { position: absolute; z-index: 1; left: 4.4cqw; bottom: 3.6cqw; color: var(--cream); }
.ph-hero b { display: block; font-size: 6.6cqw; line-height: 1.1; }
.ph-hero span { font-size: 3.5cqw; opacity: .88; }
.ph-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3cqw; margin-top: 3cqw; }
.ph-sm { background: var(--paper); border: 1px solid var(--soft); border-radius: 5cqw; overflow: hidden; }
.ph-sm .im { aspect-ratio: 1; background: #EEE7DC; }
.ph-sm .t { padding: 2.8cqw 3.2cqw 3.4cqw; }
.ph-sm b { display: block; font-size: 3.9cqw; line-height: 1.2; }
.ph-sm span { font-size: 3.1cqw; color: var(--muted); }

/* 03 kitchen — the steps carousel */
.awake { margin-top: 22px; display: flex; align-items: center; gap: 10px; font-size: 15px; color: var(--muted); }
.awake .i { color: var(--coral); }
.steps-wrap { margin-top: clamp(40px, 5vw, 64px); }
.steps { --sw: clamp(260px, 29vw, 360px); display: flex; gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px var(--gut) 34px 2px; margin-right: calc(var(--gut) * -1); scrollbar-width: none; overscroll-behavior-x: contain; }
.steps::-webkit-scrollbar { display: none; }
.steps::after { content: ''; flex: 0 0 max(0px, calc(100% - var(--sw) - 60px)); } /* lets the last step snap to the start */
.step { flex: none; width: var(--sw); min-height: 300px; scroll-snap-align: start; background: var(--paper); border-radius: 26px; padding: 28px 28px 26px; display: flex; flex-direction: column; box-shadow: 0 0 0 1px var(--soft); transition: box-shadow .6s var(--ease), transform .6s var(--ease); }
.step.on { box-shadow: 0 0 0 1px var(--soft), 0 34px 60px -36px rgba(43, 26, 20, .45); transform: translateY(-4px); }
.step .n { font-size: 15px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; transition: color .5s; }
.step.on .n { color: var(--coral); }
.step h3 { margin-top: 40px; font-size: clamp(22px, 1.9vw, 27px); line-height: 1.22; font-weight: 700; letter-spacing: -.025em; }
.step .note { margin: 14px 0 0; display: flex; gap: 8px; font-size: 15px; line-height: 1.5; color: var(--muted); }
.step .note .i { width: 15px; height: 15px; margin-top: 4px; }
.step .chips { margin-top: auto; padding-top: 22px; display: flex; flex-wrap: wrap; gap: 6px; }
.step .chips span { height: 30px; padding: 0 12px; border-radius: 99px; border: 1px solid var(--line); display: flex; align-items: center; font-size: 13px; color: var(--ink-2); }
.steps-ctl { display: flex; align-items: center; gap: 14px; }
.steps-ctl button { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: var(--paper); transition: background .25s, color .25s, border-color .25s, opacity .25s; }
.steps-ctl button:hover:not(:disabled) { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.steps-ctl button:disabled { opacity: .35; cursor: default; }
.steps-ctl .prev .i { transform: rotate(180deg); }
.steps-ctl .count { font-size: 14px; font-weight: 600; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 3.5em; }
.steps-bar { flex: 1; max-width: 220px; height: 2px; border-radius: 2px; background: var(--line); overflow: hidden; }
.steps-bar i { display: block; height: 100%; width: 100%; background: var(--coral); transform-origin: 0 50%; transform: scaleX(.1667); transition: transform .5s var(--ease); }

/* 04 table */
.linkpill { margin-top: 28px; display: flex; align-items: center; gap: 12px; width: fit-content; max-width: 100%; height: 56px; padding: 0 7px 0 22px; border-radius: 99px; background: var(--paper); border: 1px solid var(--line); }
.linkpill .i { color: var(--muted); }
.linkpill a { min-width: 0; font-size: 15px; color: var(--ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.linkpill .btn { height: 42px; }
.pcard { border-radius: 24px; overflow: hidden; background: var(--paper); box-shadow: 0 0 0 1px var(--soft), 0 40px 70px -44px rgba(43, 26, 20, .5); max-width: 440px; justify-self: center; width: 100%; }
.pcard .im { aspect-ratio: 16 / 10; background: #EEE7DC; }
.pcard .im img { width: 100%; height: 100%; object-fit: cover; }
.pcard .bd { padding: 20px 24px 22px; }
.pcard h3 { font-size: 28px; font-weight: 700; letter-spacing: -.01em; }
.pcard .meta { margin-top: 4px; font-size: 14px; color: var(--muted); }
.pcard .ft { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--soft); display: flex; justify-content: space-between; align-items: center; gap: 10px; font-size: 13px; color: var(--muted); }
.pcard .ft img { height: 16px; width: auto; }
.price-block { margin-top: clamp(80px, 9vw, 130px); padding-top: clamp(60px, 7vw, 100px); border-top: 1px solid var(--line); }
.price { font-size: clamp(50px, 7.6vw, 112px); line-height: .98; font-weight: 800; letter-spacing: -.02em; }
.price span { display: block; color: var(--muted); font-size: .5em; letter-spacing: -.01em; margin-top: .14em; }
.price-block .btn-lg { margin-top: 34px; }
.forever { margin-top: 30px; max-width: 520px; display: flex; gap: 14px; }
.forever .i { color: #4C7A4E; width: 22px; height: 22px; margin-top: 2px; stroke-width: 2.4; }
.forever b { display: block; font-size: 16px; }
.forever span { display: block; margin-top: 3px; font-size: 14.5px; line-height: 1.55; color: var(--muted); }
.fine { margin-top: 18px; font-size: 14px; color: var(--muted); }

/* closing — the thread ends here */
.close { position: relative; z-index: 2; text-align: center; padding: clamp(150px, 15vw, 220px) var(--gut) clamp(90px, 10vw, 140px); }
.close-dot { display: block; width: 14px; height: 14px; margin: 0 auto 40px; border-radius: 50%; background: var(--cream); box-shadow: 0 0 0 1.5px var(--line); transition: background .6s, box-shadow .6s; }
.close-dot.on { background: var(--coral); box-shadow: 0 0 0 7px rgba(226, 59, 59, .14); }
.close p { margin: 0 auto; max-width: 13em; font-size: clamp(38px, 5.6vw, 80px); line-height: 1.04; font-weight: 800; letter-spacing: -.02em; text-wrap: balance; }
.close .btn { margin-top: 40px; }
footer { border-top: 1px solid var(--line); }
.foot { max-width: calc(var(--maxw) + var(--gut) * 2); margin: 0 auto; padding: 28px var(--gut) 36px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 18px; font-size: 14px; color: var(--muted); }
.foot img { height: 22px; width: auto; }
.foot nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
.foot nav a:hover { color: var(--ink); }

/* ---------- responsive ---------- */
@media (max-width: 1020px) { .nav-links { display: none; } }
@media (max-width: 860px) {
  :root { --rail: 46px; --mark: 34px; }
  body { font-size: 17px; }
  .nav-in { height: 60px; }
  .nav-logo img { height: 24px; }
  .nav .btn .mk { display: none; }
  .ch { padding-top: 96px; }
  .mark { font-size: 11px; }
  .ch-name { display: none; }
  .ch-label-m { display: block !important; }
  .duo { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .phone { --pw: min(290px, 74vw); }
  .post { width: 94%; }
  .card { width: 88%; }
  .steps { padding-left: 2px; }
  .steps { --sw: min(300px, 78vw); }
  .step { min-height: 280px; }
  .foot { flex-direction: column; align-items: flex-start; }
}
.ch-label-m { display: none; margin-bottom: 12px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--coral); }
@media (max-width: 480px) { .lang a { padding: 0 9px; } .nav-end { gap: 8px; } .linkpill a { font-size: 13px; } .cta .note { text-align: center; } }

@media (prefers-reduced-motion: reduce) {
  .hero h1 .w, .hero .sub, .cta, .feed { animation: none; }
  .js [data-r], .js .tr .card, .cap .j { transition: none; }
  .steps { scroll-behavior: auto; }
}


/* ======================= sauce ======================= */
/* the thread is a line of sauce: glossy body, a droplet that leads it */
.thread .ink { stroke: var(--sauce); stroke-width: 5; }
.thread .gloss { fill: none; stroke: rgba(255, 236, 228, .6); stroke-width: 1.15; stroke-linecap: round; transform: translate(-1.3px, -.6px); }
.thread .drop-b { fill: var(--sauce); }
.thread .drop-s { fill: #fff; opacity: .6; }
@media (max-width: 860px) { .thread .ink { stroke-width: 3.5; } }

/* each stop fills up with sauce when the thread arrives */
.mark { overflow: hidden; isolation: isolate; }
.mark b { position: relative; z-index: 1; font-weight: 700; }
.mark .lvl { position: absolute; z-index: 0; left: -40%; width: 180%; aspect-ratio: 1; top: 110%; border-radius: 42%; background: var(--sauce); transition: top 1.5s var(--ease); animation: slosh 6s linear infinite; }
.mark.on .lvl { top: -30%; }
@keyframes slosh { to { transform: rotate(360deg); } }

/* the landing: a small splash on the table */
.splash .ring { fill: none; stroke: var(--sauce); stroke-width: 2; transform-box: fill-box; transform-origin: center; opacity: 0; }
.splash .sd { fill: var(--sauce); opacity: 0; transform-box: fill-box; transform-origin: center; }
.splash.go .ring { animation: ring 1s cubic-bezier(.2, .7, .3, 1) forwards; }
.splash.go .ring + .ring { animation-delay: .12s; }
.splash.go .sd { animation: splat .9s cubic-bezier(.2, .7, .4, 1) forwards; }
@keyframes ring { from { transform: scale(.3); opacity: .8; } to { transform: scale(3.4); opacity: 0; } }
@keyframes splat { 0% { opacity: 1; transform: translate(0, 0) scale(1); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) scale(.35); } }
.close-dot.on { background: var(--sauce); box-shadow: 0 0 0 6px rgba(218, 50, 50, .12); }

/* ======================= 03 shop ======================= */
.ph-shop { padding: 17cqw 6cqw 0; height: 100%; position: relative; }
.ph-shop .clr { color: var(--muted); }
.sg { margin-top: 3.6cqw; background: var(--paper); border: 1px solid var(--soft); border-radius: 5cqw; padding: 3.4cqw 4cqw 1.4cqw; }
.sg-h { display: flex; align-items: center; gap: 2.6cqw; font-size: 4.1cqw; font-weight: 700; padding-bottom: 2cqw; }
.sg-h img { width: 8.4cqw; height: 8.4cqw; border-radius: 2.2cqw; object-fit: cover; }
.sg-h .ct { margin-left: auto; font-size: 3.2cqw; color: var(--muted); font-weight: 500; }
.it { display: flex; align-items: center; gap: 2.8cqw; padding: 2.5cqw 0; border-top: 1px solid var(--soft); font-size: 3.8cqw; color: var(--ink-2); }
.bx { width: 5cqw; height: 5cqw; flex: none; border-radius: 50%; border: 1.5px solid #CFC6BA; display: grid; place-items: center; transition: background .45s, border-color .45s, transform .45s var(--ease); }
.bx svg { width: 3.4cqw; height: 3.4cqw; stroke: #fff; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; opacity: 0; transition: opacity .3s .1s; }
.it span { background: linear-gradient(currentColor, currentColor) 0 55% / 0 1px no-repeat; transition: background-size .55s var(--ease), color .45s; }
.it.done .bx { background: var(--sauce); border-color: var(--sauce); transform: scale(1.06); }
.it.done .bx svg { opacity: 1; }
.it.done span { color: #B5A99E; background-size: 100% 1px; }
.bring { position: absolute; left: 6cqw; right: 6cqw; bottom: 9cqw; height: 13cqw; border-radius: 99px; background: var(--ink); color: var(--cream); display: flex; align-items: center; justify-content: center; gap: 2.4cqw; font-size: 4.2cqw; font-weight: 600; }
.bring .i { width: 4.6cqw; height: 4.6cqw; color: #FF7A66; }

/* ======================= 04 cook mode — the real screen ======================= */
.cook-phone { background: #0c0705; }
.cook-phone .phone-screen { background: var(--ink); color: var(--cream); }
.ph-cook { height: 100%; display: flex; flex-direction: column; padding: 15cqw 0 0; }
.ph-cook .bar { display: flex; align-items: center; padding: 0 5cqw; }
.ph-cook .x { width: 11.5cqw; height: 11.5cqw; border-radius: 50%; background: rgba(246, 241, 234, .09); display: grid; place-items: center; }
.ph-cook .x .i { width: 5cqw; height: 5cqw; }
.ph-cook .aw { flex: 1; margin-right: 11.5cqw; display: flex; justify-content: center; align-items: center; gap: 1.6cqw; font-size: 3.6cqw; color: rgba(246, 241, 234, .55); }
.ph-cook .aw .i { width: 4cqw; height: 4cqw; }
.segs { display: flex; gap: 2cqw; padding: 6cqw 6cqw 0; }
.segs i { flex: 1; height: 1.2cqw; border-radius: 1cqw; background: rgba(246, 241, 234, .16); overflow: hidden; position: relative; }
.segs i::after { content: ''; position: absolute; inset: 0; background: #FF5A47; transform: scaleX(0); transform-origin: 0 50%; transition: transform .6s var(--ease); }
.segs i.on::after { transform: none; }
.cview { flex: 1; overflow: hidden; touch-action: pan-y; cursor: grab; }
.cview.dragging { cursor: grabbing; }
.ctrack { display: flex; height: 100%; transition: transform .7s var(--ease); will-change: transform; }
.cview.dragging .ctrack { transition: none; }
.cstep { flex: 0 0 100%; padding: 0 7cqw; display: flex; flex-direction: column; justify-content: center; user-select: none; -webkit-user-select: none; }
.cstep .n { font-size: 3.5cqw; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; color: rgba(246, 241, 234, .5); }
.cstep h3 { margin-top: 3.4cqw; font-size: 9.4cqw; line-height: 1.14; letter-spacing: -.02em; font-weight: 700; font-family: var(--f); text-wrap: pretty; }
.cstep .note { margin-top: 4.4cqw; display: flex; gap: 2.2cqw; font-size: 4.1cqw; line-height: 1.45; color: rgba(246, 241, 234, .66); }
.cstep .note .i { width: 4cqw; height: 4cqw; margin-top: .6cqw; }
.cstep .chips { margin-top: 6cqw; display: flex; flex-wrap: wrap; gap: 2.2cqw; }
.cstep .chips span { height: 10cqw; padding: 0 4cqw; border-radius: 99px; background: rgba(246, 241, 234, .08); border: 1px solid rgba(246, 241, 234, .16); display: flex; align-items: center; font-size: 4cqw; color: rgba(246, 241, 234, .86); }
.ph-cook .acts { display: flex; gap: 3cqw; padding: 0 5.5cqw 9cqw; }
.ph-cook .acts button { height: 14.5cqw; border-radius: 99px; font-size: 4.4cqw; font-weight: 600; transition: background .25s, opacity .25s; }
.ph-cook .back { width: 25cqw; background: rgba(246, 241, 234, .1); }
.ph-cook .back:disabled { opacity: .4; cursor: default; }
.ph-cook .next { flex: 1; background: var(--coral); color: var(--paper); }
.ph-cook .next:hover { background: var(--coral-d); }

@media (prefers-reduced-motion: reduce) {
  .mark .lvl { animation: none; }
  .splash.go .ring, .splash.go .sd { animation: none; }
  .mark .lvl, .ctrack { transition: none; }
}
