/* The factory, the clouds and the characters are independent layers. */
.hero--world { position: relative; isolation: isolate; background: #f9d87c; }
.hero-world { position: absolute; inset: 0; z-index: -1; overflow: hidden; background: linear-gradient(90deg, rgba(255, 244, 213, .9) 0%, rgba(255, 244, 213, .55) 33%, transparent 66%), url('./cookie-factory.webp') center 54% / cover no-repeat; }
.hero--world .hero-inner { min-height: 680px; padding-block: 55px; }
.hero-message { position: relative; z-index: 2; max-width: 560px; padding: 37px 38px; border: 2px solid rgba(104, 62, 39, .17); border-radius: 28px; background: rgba(255, 251, 236, .94); box-shadow: 0 10px 0 rgba(101, 62, 29, .12); }
.hero-message .eyebrow { color: #9a5b42; }
.hero-message h1 { color: #48342b; }
.hero-message h1 em { box-shadow: inset 0 -.25em #ffe97e; }
.hero-message .hero-copy { color: #54483d; }
.opening-replay { min-height: 44px; margin: 16px 0 0; padding: 3px 0; border: 0; border-bottom: 1px solid currentColor; background: none; color: #714d3b; cursor: pointer; font-size: .72rem; font-weight: 800; }
.hero--world .hero-bottom { position: relative; color: #493e2b; text-shadow: 0 1px 5px #fff8e3, 0 1px 5px #fff8e3; }
.world-cloud { position: absolute; width: 110px; height: 36px; border: 2px solid rgba(147, 103, 146, .35); border-radius: 100px; background: rgba(255, 252, 239, .85); box-shadow: 0 7px 0 rgba(215, 160, 188, .2); }
.world-cloud::before, .world-cloud::after { content: ''; position: absolute; bottom: 8px; border-radius: 50%; background: inherit; }
.world-cloud::before { left: 15px; width: 45px; height: 45px; }
.world-cloud::after { right: 16px; width: 34px; height: 34px; }
.world-cloud--one { top: 11%; left: 57%; animation: cloud-drift 8s ease-in-out infinite alternate; }
.world-cloud--two { top: 22%; right: 3%; transform: scale(.65); animation: cloud-drift-small 10s ease-in-out infinite alternate; }
.hero-stage { position: relative; min-height: 500px; }
.hero-stage__bubble { position: absolute; z-index: 2; top: 10%; right: 7%; padding: 15px 20px; border: 3px solid #50382c; border-radius: 50%; background: #fff7dc; color: #50382c; text-align: center; font-size: clamp(.75rem, 1.3vw, 1rem); font-weight: 900; line-height: 1.45; transform: rotate(7deg); box-shadow: 0 5px 0 rgba(77, 50, 38, .14); }
.hero-stage__bubble::after { content: ''; position: absolute; bottom: -14px; left: 26%; width: 17px; height: 17px; border-right: 3px solid #50382c; border-bottom: 3px solid #50382c; background: #fff7dc; transform: rotate(45deg); }
.world-actors { position: absolute; pointer-events: none; }
.world-actors > span { position: absolute; display: block; }
.world-actors img { width: 100%; height: auto; filter: drop-shadow(0 7px 0 rgba(73, 44, 32, .12)); }
.world-actors__butters { bottom: 9%; left: 34%; width: 48%; transform-origin: 50% 90%; }
.world-actors__salt { bottom: 7%; left: 4%; width: 36%; transform-origin: 50% 90%; }
.world-actors__shadow { bottom: 4%; height: 5%; border-radius: 50%; background: rgba(83, 55, 47, .18); }
.world-actors__shadow--butters { left: 42%; width: 38%; }
.world-actors__shadow--salt { left: 9%; width: 29%; }
.world-actors--hero { inset: 7% 0 56px; }
.hero-stage.is-visible .world-actors__butters, .world-scene.is-visible .world-actors__butters { animation: actor-bob 2s ease-in-out infinite; }
.hero-stage.is-visible .world-actors__salt, .world-scene.is-visible .world-actors__salt { animation: actor-bob 1.7s ease-in-out .2s infinite; }
.world-scene { position: relative; min-height: 390px; overflow: hidden; border: 3px solid #634635; border-radius: 28px; background: #b7dce3; box-shadow: 0 9px 0 #e4c48f; }
.world-scene__art { position: absolute; inset: 0; overflow: hidden; background: url('./cookie-factory.webp') center / cover no-repeat; }
.world-scene .world-cloud--one { top: 15%; left: 10%; transform: scale(.75); }
.world-scene .world-cloud--two { top: 23%; right: 4%; }
.world-scene__spark { position: absolute; top: 12%; right: 14%; color: #fff3aa; font-size: 3rem; text-shadow: 0 2px #9f5c5f; animation: sparkle 2.6s ease-in-out infinite; }
.world-actors--scene { inset: 5% 8% 3% 12%; }
.world-scene__label { position: absolute; top: 22px; left: 22px; z-index: 2; padding: 10px 15px; border: 2px solid #634635; border-radius: 15px; background: #fff9e4; color: #614b40; transform: rotate(-4deg); }
.world-scene__label span, .world-scene__label strong { display: block; }
.world-scene__label span { color: #a15a53; font-size: .57rem; font-weight: 900; letter-spacing: .1em; }
.world-scene__label strong { font-size: .82rem; }
.ticker { position: relative; overflow: hidden; }
.ticker-cookies { position: absolute; right: -4px; bottom: -13px; display: flex; gap: 18px; color: #e9b9a2; opacity: .65; font-size: 1.3rem; animation: ticker-roll 13s linear infinite; }
.brand-mark { transition: transform .3s; }
.brand:hover .brand-mark, .brand:focus-visible .brand-mark { transform: rotate(-16deg); }
.service-card { border-color: #e2c4a3; box-shadow: 0 6px 0 rgba(227, 196, 151, .35); }
.service-icon { border: 2px solid rgba(96, 66, 43, .19); transition: transform .35s; }
.service-card:hover .service-icon, .service-card:focus-visible .service-icon { transform: rotate(-12deg) scale(1.08); }
.process-item { position: relative; }
.process-art { position: relative; display: grid; place-items: end center; height: 160px; margin-top: 14px; overflow: hidden; border-radius: 18px; background: rgba(255, 255, 255, .42); }
.process-art::before { content: ''; position: absolute; bottom: 10px; width: 115px; height: 115px; border-radius: 50%; background: #f9e8ad; }
.process-art--think::before { background: #c2dcd2; }
.process-art--create::before { background: #f4cbb9; }
.process-art--grow::before { background: #f3dda0; }
.process-art svg { position: absolute; z-index: 1; inset: 0; width: 100%; height: 100%; overflow: visible; }
.process-art__figure, .process-art__part { transform-box: view-box; }
.process-art__figure { transform-origin: 240px 490px; }
.process-art--listen .process-art__part--arm { transform-origin: 149px 320px; }
.process-art--listen .process-art__part--foot { transform-origin: 212px 478px; }
.process-art--think .process-art__part--arm { transform-origin: 308px 286px; }
.process-art--think .process-art__part--foot { transform-origin: 235px 478px; }
.process-art--create .process-art__part--arm { transform-origin: 270px 300px; }
.process-art--create .process-art__part--foot { transform-origin: 120px 475px; }
.process-art--grow .process-art__part--arm { transform-origin: 180px 278px; }
.process-art--grow .process-art__part--other-arm { transform-origin: 296px 269px; }
.process-art--grow .process-art__part--foot { transform-origin: 210px 355px; }
.process-art--grow .process-art__part--other-foot { transform-origin: 258px 355px; }
.process.is-visible .process-art--listen .process-art__figure { animation: process-lean 3.4s ease-in-out infinite; }
.process.is-visible .process-art--listen .process-art__part--arm { animation: process-wave 3.4s ease-in-out infinite; }
.process.is-visible .process-art--listen .process-art__part--foot { animation: process-tap 3.4s ease-in-out infinite; }
.process.is-visible .process-art--think .process-art__figure { animation: process-thought 4s ease-in-out infinite; }
.process.is-visible .process-art--think .process-art__part--arm { animation: process-point 4s ease-in-out infinite; }
.process.is-visible .process-art--think .process-art__part--foot { animation: process-tap 4s ease-in-out infinite; }
.process.is-visible .process-art--create .process-art__part--arm { animation: process-draw 1.5s ease-in-out infinite; }
.process.is-visible .process-art--create .process-art__part--foot { animation: process-tap 3s ease-in-out infinite; }
.process.is-visible .process-art--grow .process-art__figure { animation: process-jump 2.8s ease-in-out infinite; }
.process.is-visible .process-art--grow .process-art__part--arm, .process.is-visible .process-art--grow .process-art__part--foot { animation: process-cheer 2.8s ease-in-out infinite; }
.process.is-visible .process-art--grow .process-art__part--other-arm, .process.is-visible .process-art--grow .process-art__part--other-foot { animation: process-cheer-reverse 2.8s ease-in-out infinite; }
.factory-belt { position: relative; overflow: hidden; background: #f7dda6; }
.factory-belt__inner { display: grid; grid-template-columns: .65fr 1.35fr; align-items: center; gap: 32px; padding-block: 48px; }
.factory-belt__copy { position: relative; z-index: 2; }
.factory-belt__copy .eyebrow { color: #9a5b42; }
.factory-belt__copy h2 { margin: 12px 0; color: #49372c; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.5; }
.factory-belt__copy p:not(.eyebrow) { margin: 0; color: #765d4d; font-size: .8rem; }
.factory-belt__stage { position: relative; min-width: 0; }
.factory-conveyor { display: none; position: absolute; top: 56px; right: 7%; left: 7%; height: 190px; border: 8px solid #a87958; border-radius: 50%; background: repeating-linear-gradient(90deg, transparent 0 35px, rgba(115, 73, 49, .12) 36px 39px), linear-gradient(#efcda1, #cc9d73); box-shadow: 0 12px 0 #896149, inset 0 0 0 5px rgba(255, 244, 210, .3); }
.factory-conveyor::after { content: ''; position: absolute; inset: 18% 8%; border: 3px solid rgba(117, 76, 52, .24); border-radius: 50%; }
.factory-dock { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.factory-dock__item { display: flex; min-width: 0; align-items: center; flex-direction: column; gap: 9px; border-radius: 16px; color: #513b2f; text-align: center; text-decoration: none; }
.factory-dock__icon { display: grid; width: min(100%, 82px); aspect-ratio: 1; place-items: center; overflow: hidden; border: 3px solid #654b39; border-radius: 22%; background: #fff5d8; box-shadow: 0 6px 0 rgba(99, 67, 45, .23); transition: transform .22s ease, box-shadow .22s ease; }
.factory-dock__icon img { display: block; width: 100%; height: 100%; object-fit: cover; }
.factory-dock__label { display: block; max-width: 100%; padding: 3px 6px; border-radius: 9px; background: #fff9e8; color: #4e3a2d; font-size: .76rem; font-weight: 850; line-height: 1.35; overflow-wrap: anywhere; }
.factory-dock__item:hover .factory-dock__icon, .factory-dock__item:focus-visible .factory-dock__icon { transform: translateY(-4px); box-shadow: 0 10px 0 rgba(99, 67, 45, .16); }
.factory-dock__item:focus-visible { outline: 3px solid #276b70; outline-offset: 4px; }
.factory-orbit__stop { display: none; }
.factory-orbit__announcement { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.factory-belt__stage.is-enhanced .factory-conveyor { display: block; }
.factory-belt__stage.is-enhanced .factory-orbit__scroller { position: relative; height: 300px; overflow-x: auto; overflow-y: hidden; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.factory-belt__stage.is-enhanced .factory-orbit__scroller::-webkit-scrollbar { display: none; }
.factory-belt__stage.is-enhanced .factory-orbit__track { position: relative; width: 900%; height: 100%; }
.factory-belt__stage.is-enhanced .factory-orbit__sticky { position: sticky; left: 0; z-index: 1; width: 11.111111%; height: 100%; }
.factory-belt__stage.is-enhanced .factory-orbit__stop { display: block; position: absolute; top: 0; width: 11.111111%; height: 1px; scroll-snap-align: start; pointer-events: none; }
.factory-belt__stage.is-enhanced .factory-dock { position: relative; display: block; width: 100%; height: 100%; }
.factory-belt__stage.is-enhanced .factory-dock__item { position: absolute; width: 110px; transform: translate(-50%, -50%); transform-origin: center; }

/* These screen illustrations describe the offered workflows, not client work. */
.service-visual { scroll-margin-top: 24px; padding: 82px 0; background: #f7f2e8; }
.service-visual__inner { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(32px, 6vw, 90px); }
.service-visual__label { display: inline-block; margin: 14px 0 0; padding: 6px 12px; border: 1px solid #bd9c82; border-radius: 100px; color: #76543c; font-size: .72rem; font-weight: 800; }
.service-visual__copy h2 { margin: 22px 0; color: var(--ink); font-size: clamp(1.8rem, 3.3vw, 3rem); line-height: 1.45; }
.service-visual__copy > p:not(.eyebrow):not(.service-visual__label) { color: var(--muted); line-height: 1.9; }
.service-visual__copy > small { display: block; margin-top: 22px; color: #716e66; line-height: 1.6; }
.service-visual__steps { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 25px 0 0; padding: 0; list-style: none; }
.service-visual__steps li { position: relative; color: #326b6c; font-size: .75rem; font-weight: 850; }
.service-visual__steps li:not(:last-child)::after { content: '→'; position: absolute; right: -16px; color: #ad947d; }
.web-showcase { position: relative; background: #f1f2eb; }
.web-showcase__legacy { position: absolute; top: 0; }
.web-showcase__points { display: flex; flex-wrap: wrap; gap: 8px; margin: 26px 0 0; padding: 0; list-style: none; }
.web-showcase__points li { padding: 6px 12px; border: 1px solid #c4d3ca; border-radius: 100px; color: #3c665b; font-size: .7rem; font-weight: 800; }
.web-demo { min-width: 0; }
.web-demo__toolbar { display: flex; min-height: 44px; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 12px; color: #526a5d; font-size: .72rem; font-weight: 800; }
.web-demo__devices { display: flex; gap: 4px; padding: 4px; border: 1px solid #c8d3c8; border-radius: 100px; background: #fff; }
.web-demo__devices[hidden], .web-demo__nav button[hidden], .web-demo__cta[hidden], .web-demo__back[hidden], .web-demo__panel[hidden] { display: none; }
.web-demo__devices button { min-height: 44px; padding: 6px 15px; border: 0; border-radius: 100px; background: transparent; color: #526a5d; cursor: pointer; font-size: .72rem; font-weight: 800; }
.web-demo__devices button[aria-pressed="true"] { background: #365b4f; color: #fff; }
.web-demo__scroll-hint { display: none; }
.web-demo__canvas { display: flex; min-height: 380px; justify-content: center; align-items: flex-start; padding: clamp(16px, 3vw, 30px); border: 1px solid #d0d9cd; border-radius: 24px; background: #e2e9df; }
.web-demo__browser { width: 100%; max-width: 620px; overflow: hidden; border: 1px solid #c7d3ca; border-radius: 12px; background: #fff; box-shadow: 0 16px 40px rgba(45, 74, 57, .12); transition: width .35s ease, border-radius .35s ease; }
.web-demo__browser[data-device="mobile"] { width: min(100%, 270px); border-radius: 20px; }
.web-demo__browser-bar { display: flex; height: 30px; align-items: center; gap: 5px; padding: 0 12px; background: #f5f5ef; }
.web-demo__browser-bar i { width: 6px; height: 6px; border-radius: 50%; background: #b9c7b9; }
.web-demo__browser-bar span { margin: 0 auto; color: #809285; font-size: .5rem; letter-spacing: .08em; }
.web-demo__site { background: #fbfaf5; color: #293f34; }
.web-demo__header { display: flex; align-items: center; justify-content: space-between; gap: 6px; padding: 10px 16px; border-bottom: 1px solid #e4e9e0; }
.web-demo__brand { flex: none; font-size: 1.2rem; font-weight: 700; letter-spacing: -.05em; line-height: 1; }
.web-demo__brand > span { color: #9cae85; }
.web-demo__brand small { display: block; margin-top: 4px; color: #839185; font-size: .35rem; font-weight: 700; letter-spacing: .1em; }
.web-demo__nav { display: flex; align-items: center; gap: 3px; }
.web-demo__nav button { min-width: 44px; min-height: 44px; padding: 4px 7px; border: 0; background: transparent; color: #586d5f; cursor: pointer; font-size: .72rem; font-weight: 700; white-space: nowrap; }
.web-demo__nav button[aria-pressed="true"] { color: #254b3b; text-decoration: underline; text-underline-offset: .45em; }
.web-demo__panel { display: grid; min-height: 290px; grid-template-columns: 1fr 1fr; }
.web-demo__copy, .web-demo__info > div { display: flex; align-items: flex-start; justify-content: center; flex-direction: column; padding: clamp(18px, 3vw, 32px); }
.web-demo__copy > span, .web-demo__info > div > span { color: #7e917d; font-size: .5rem; font-weight: 800; letter-spacing: .13em; }
.web-demo__panel h3 { margin: 13px 0; color: #344b3d; font-size: clamp(1.25rem, 2.2vw, 1.8rem); font-weight: 600; line-height: 1.55; letter-spacing: .03em; }
.web-demo__panel p { margin: 0; color: #607668; font-size: .75rem; line-height: 1.85; }
.web-demo__photo { width: 100%; height: 100%; min-height: 290px; object-fit: cover; }
.web-demo__cta, .web-demo__back { min-height: 44px; margin-top: 18px; padding: 9px 14px; border: 1px solid #3d6250; border-radius: 2px; background: #3d6250; color: #fff; cursor: pointer; font-size: .72rem; font-weight: 700; }
.web-demo__cta span { padding-left: 10px; }
.web-demo__back { border: 0; background: transparent; color: #345a47; padding-inline: 0; }
.web-demo__info dl { width: 100%; margin: 15px 0 0; color: #516759; font-size: .68rem; }
.web-demo__info dl div { display: flex; gap: 12px; padding: 5px 0; border-bottom: 1px solid #e4e9e0; }
.web-demo__info dt { min-width: 4.5em; font-weight: 800; }
.web-demo__info dd { margin: 0; }
.web-demo__browser[data-device="mobile"] .web-demo__panel { grid-template-columns: 1fr; }
.web-demo__browser[data-device="mobile"] .web-demo__photo { order: -1; height: 160px; min-height: 0; }
.web-demo__browser[data-device="mobile"] .web-demo__copy, .web-demo__browser[data-device="mobile"] .web-demo__info > div { padding: 23px 20px 25px; }
.web-demo__browser[data-device="mobile"] .web-demo__panel h3 { font-size: 1.35rem; }
.web-demo__hint { margin: 12px 2px 0; color: #64746b; font-size: .68rem; line-height: 1.7; }
.service-visual__scene { display: flex; min-height: 315px; align-items: center; justify-content: center; gap: clamp(8px, 2vw, 24px); padding: 30px; overflow: hidden; border: 2px solid #d9c7ad; border-radius: 28px; background: #f7dfb0; }
.service-visual__controls { display: flex; align-items: center; flex-wrap: wrap; gap: 10px 18px; padding: 18px 2px 0; }
.service-visual__controls p { flex: 1 1 200px; margin: 0; color: #6e6962; font-size: .68rem; line-height: 1.6; }
.demo-run { min-height: 44px; padding: 10px 18px; border: 2px solid #335f60; border-radius: 100px; background: #335f60; color: white; cursor: pointer; font-size: .76rem; font-weight: 850; }
.demo-run:hover { background: #244b4c; }
.demo-run:focus-visible { outline: 3px solid #d49267; outline-offset: 3px; }
#booking-demo .service-visual__scene { background: #cfe5df; }
#inquiry-demo .service-visual__scene { background: #eadde9; }
.demo-window { position: relative; width: 48%; max-width: 240px; min-width: 0; overflow: hidden; border: 2px solid #6a5143; border-radius: 13px; background: #fffdf7; box-shadow: 0 8px 0 rgba(93, 68, 52, .15); }
.demo-window__bar { display: flex; height: 32px; align-items: center; gap: 4px; padding: 0 10px; border-bottom: 1px solid #dbcbb9; background: #fff7e8; }
.demo-window__bar i { width: 6px; height: 6px; border-radius: 50%; background: #e5a580; }
.demo-window__bar i:nth-child(2) { background: #e7cb78; }
.demo-window__bar i:nth-child(3) { background: #a3c8b4; }
.demo-window__bar span { margin-left: 5px; color: #806f62; font-size: .58rem; font-weight: 800; }
.demo-editor__body, .demo-result__body, .demo-calendar__body { display: flex; min-height: 155px; flex-direction: column; align-items: flex-start; gap: 10px; padding: 18px 16px; }
.demo-label { color: #408082; font-size: .58rem; font-weight: 900; letter-spacing: .08em; }
.demo-editor__body strong, .demo-result__body strong, .demo-calendar__body strong { color: #473d34; font-size: clamp(.68rem, 1.2vw, .9rem); line-height: 1.4; }
.demo-line { display: block; width: 100%; height: 6px; border-radius: 5px; background: #e5ded1; }
.demo-line--short { width: 60%; }
.demo-pill { margin-top: auto; padding: 6px 10px; border-radius: 8px; background: #f6d865; color: #4a3d2e; font-size: .65rem; font-weight: 850; }
.demo-result__body small, .demo-calendar__body > small { margin-top: auto; color: #397e71; font-size: .6rem; font-weight: 850; }
.demo-arrow { flex: none; color: #a87557; font-size: 1.7rem; font-weight: 900; }
.demo-calendar__grid { display: grid; width: 100%; grid-template-columns: repeat(4, 1fr); gap: 4px; color: #8c7b6b; text-align: center; font-size: .48rem; }
.demo-calendar__grid b { display: grid; min-height: 40px; place-content: center; border: 1px solid #e9e0d4; border-radius: 5px; color: #62574f; font-size: .7rem; }
.service-visual.is-demo-active .demo-calendar__grid .demo-calendar__selected { background: #f8de79; color: #51422d; }
.demo-calendar__selected small { font-size: .45rem; }
.service-visual.is-demo-active .demo-result, .service-visual.is-demo-active .demo-calendar, .service-visual.is-demo-active .demo-summary { border-color: #488878; box-shadow: 0 8px 0 rgba(72, 136, 120, .18); }
.service-visual.is-visible .demo-result, .service-visual.is-visible .demo-calendar, .service-visual.is-visible .demo-summary { animation: demo-arrive 3.6s ease-in-out infinite; }
.service-visual.is-visible .demo-arrow { animation: demo-arrow 3.6s ease-in-out infinite; }
.page-hero { position: relative; overflow: hidden; }
.page-hero .wrap { position: relative; }
.page-hero__world { position: absolute; inset: 0; pointer-events: none; }
.page-hero__world span { position: absolute; display: grid; place-items: center; }
.page-butter { right: 23%; bottom: 16%; width: 63px; height: 48px; border: 3px solid #9c6b42; border-radius: 8px; background: #ffe580; box-shadow: inset -12px -9px #efbd5b; transform: rotate(-14deg); }
.page-spark { top: 17%; right: 27%; color: #c78573; font-size: 2.4rem; animation: sparkle 3s ease-in-out infinite; }
.cta-panel { position: relative; overflow: hidden; }
.cta-panel .wrap { position: relative; }
.cta-sprinkles { position: absolute; inset: 0; pointer-events: none; color: #f5d657; }
.cta-sprinkles span { position: absolute; font-size: clamp(2rem, 5vw, 4rem); opacity: .65; animation: sparkle 4s ease-in-out infinite; }
.cta-sprinkles span { top: 30%; right: 15%; animation-delay: 1s; }

/* The opening is optional, skippable, and remains hidden without JavaScript. */
body.opening-active { overflow: hidden; }
.opening:not([hidden]) { position: fixed; z-index: 1000; inset: 0; display: grid; place-items: center; overflow: hidden; background: #fffdf7; touch-action: manipulation; animation: opening-fade .3s ease 5.7s forwards; }
.opening__stage { width: min(640px, calc(100vw - 28px)); transform: translateY(-3%); }
.opening__visual { display: block; width: 100%; height: auto; overflow: visible; }
.opening__leg-outline, .opening__leg-fill { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.opening__leg-outline { stroke: #302b2c; stroke-width: 27; }
.opening__leg-fill { stroke: #6a9bd0; stroke-width: 21; }
.opening__shoe { fill: #3b3738; stroke: #302b2c; stroke-width: 3; stroke-linejoin: round; }
.opening__shoe-toe { fill: #faf8f4; stroke: #302b2c; stroke-width: 2; }
.opening__shoe-detail { fill: none; stroke: #faf8f4; stroke-width: 2; stroke-linecap: round; }
.opening__wordmark { fill: #273638; font-size: 26px; font-weight: 850; letter-spacing: -1.5px; }
.opening__accessible { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
@keyframes opening-fade { to { opacity: 0; } }
@keyframes process-lean { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(2deg); } }
@keyframes process-wave { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(9deg); } }
@keyframes process-tap { 0%, 35%, 100% { transform: rotate(0); } 50% { transform: rotate(-5deg); } 65% { transform: rotate(0); } }
@keyframes process-thought { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-2deg); } }
@keyframes process-point { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-7deg); } }
@keyframes process-draw { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(3deg); } }
@keyframes process-jump { 0%, 15%, 75%, 100% { transform: translateY(0); } 42% { transform: translateY(-22px); } }
@keyframes process-cheer { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(7deg); } }
@keyframes process-cheer-reverse { 0%, 100% { transform: rotate(0); } 45% { transform: rotate(-7deg); } }
@keyframes demo-arrive { 0%, 20%, 100% { transform: translateY(0); } 48%, 75% { transform: translateY(-7px); } }
@keyframes demo-arrow { 0%, 20%, 100% { opacity: .45; transform: translateX(0); } 48%, 75% { opacity: 1; transform: translateX(4px); } }
@keyframes actor-bob { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-7px) rotate(1deg); } }
@keyframes cloud-drift { from { translate: 0 0; } to { translate: 28px 0; } }
@keyframes cloud-drift-small { from { translate: 0 0; } to { translate: -22px 0; } }
@keyframes sparkle { 0%, 100% { transform: scale(.8) rotate(-10deg); opacity: .65; } 50% { transform: scale(1.1) rotate(10deg); opacity: 1; } }
@keyframes gentle-turn { to { transform: rotate(360deg); } }
@keyframes ticker-roll { from { transform: translateX(0); } to { transform: translateX(-80px); } }
@media (max-width: 760px) {
  .hero-world { background-position: 60% center; }
  .hero--world .hero-inner { gap: 0; padding-block: 32px 25px; }
  .hero-message { max-width: none; padding: 26px 23px; border-radius: 23px; }
  .hero-stage { min-height: 370px; }
  .world-actors--hero { inset: -2% 0 38px; }
  .hero-stage__bubble { top: 8%; right: 2%; }
  .factory-belt__inner { grid-template-columns: 1fr; gap: 14px; padding-block: 40px 30px; }
  .service-visual { padding: 60px 0; }
  .service-visual__inner { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .service-visual__scene { min-height: 255px; padding: 20px; }
  .hero--world .hero-bottom { gap: 8px; padding-bottom: 13px; }
  .world-scene { min-height: 340px; }
  .page-hero__world { opacity: .22; }
  .page-butter { right: 20%; }
}
@media (max-width: 420px) {
  .opening__visual { width: 125%; margin-left: -12.5%; }
  .web-showcase .service-visual__copy h2 { font-size: 1.55rem; }
  .process-item { display: grid; grid-template-columns: minmax(0, 1fr) 105px; column-gap: 12px; }
  .process-item small { grid-column: 1; grid-row: 1; }
  .process-item h3 { grid-column: 1; grid-row: 2; margin-top: 12px; }
  .process-item p { grid-column: 1 / -1; grid-row: 3; }
  .process-item .process-art { grid-column: 2; grid-row: 1 / 3; align-self: start; height: 125px; margin: 0; }
  .process-art::before { width: 85px; height: 85px; }
}
@media (max-width: 600px) {
  .web-demo__scroll-hint:not([hidden]) { display: block; margin: 0 2px 10px; color: #365b4f; font-size: .75rem; font-weight: 700; line-height: 1.6; }
  .web-demo__canvas[data-device="desktop"] { justify-content: flex-start; overflow-x: auto; overscroll-behavior-x: contain; -webkit-overflow-scrolling: touch; }
  .web-demo__canvas[data-device="desktop"] .web-demo__browser { flex: 0 0 520px; max-width: none; }
  .web-demo__canvas[data-device="desktop"] .web-demo__copy, .web-demo__canvas[data-device="desktop"] .web-demo__info > div { padding: 28px; }
  .web-demo__canvas[data-device="desktop"] .web-demo__panel h3 { font-size: 1.5rem; }
  .web-demo__canvas[data-device="desktop"] .web-demo__panel p { font-size: .9rem; }
  .web-demo__canvas[data-device="desktop"] .web-demo__nav button, .web-demo__canvas[data-device="desktop"] .web-demo__cta, .web-demo__canvas[data-device="desktop"] .web-demo__back { font-size: .85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-stage.is-visible .world-actors__butters, .hero-stage.is-visible .world-actors__salt,
  .world-scene.is-visible .world-actors__butters, .world-scene.is-visible .world-actors__salt,
  .process.is-visible .process-art__figure, .process.is-visible .process-art__part, .world-cloud, .world-scene__spark, .ticker-cookies, .page-spark, .cta-sprinkles span { animation: none !important; }
  .service-visual.is-visible .demo-result, .service-visual.is-visible .demo-calendar, .service-visual.is-visible .demo-summary, .service-visual.is-visible .demo-arrow { animation: none !important; }
  .web-demo__browser { transition: none; }
}
@media print { .opening, .opening-replay { display: none !important; } }

/* Price references remain explicit about scope and ongoing costs. */
.price-catalog { margin-top: 48px; }
.surface .price-number { color: var(--ink); font-size: clamp(2.6rem, 5vw, 4.2rem); }
.price-catalog > h2 { margin: 0; font-size: 1.6rem; }
.price-catalog > p { max-width: 850px; color: var(--muted); font-size: .82rem; line-height: 1.9; }
.price-table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-table { width: 100%; border-collapse: collapse; text-align: left; font-size: .8rem; }
.price-table th, .price-table td { padding: 17px 20px; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table tr:last-child th, .price-table tr:last-child td { border-bottom: 0; }
.price-table thead { background: #f7e9c0; }
.price-table th:first-child { width: 60%; }
.price-table th small { display: block; margin-top: 4px; color: var(--muted); font-weight: 500; line-height: 1.7; }
.price-table td { white-space: nowrap; font-weight: 800; }
.price-plan .price-plan__amount { margin-bottom: 12px; color: var(--ink); font-size: 1.25rem; font-weight: 850; }
.price-plan__amount small { font-size: .68rem; font-weight: 500; }
.price-plan p + p { margin-top: 8px; }
.estimate-provisional { margin-bottom: 28px; padding: 18px 20px; border-left: 4px solid #b57a39; background: #fff3d6; font-size: .8rem; font-weight: 700; line-height: 1.8; }
.estimate-step > p { color: var(--muted); font-size: .8rem; line-height: 1.8; }
.website-scope { margin-top: 22px; padding: 20px; border-radius: 12px; background: #f6f3e6; }
.website-scope h3 { margin: 0 0 6px; font-size: .9rem; }
.website-scope p { margin: 7px 0; color: var(--muted); font-size: .76rem; line-height: 1.7; }
.website-scope label { display: block; margin-top: 15px; font-size: .8rem; font-weight: 800; }
.page-count-control { display: flex; align-items: center; gap: 9px; margin-top: 7px; font-size: .8rem; }
.page-count-control input { width: 95px; min-height: 44px; padding: 8px 10px; border: 1px solid #9da9a4; border-radius: 8px; background: white; color: var(--ink); font: inherit; font-weight: 800; }
.website-scope .page-count-cost { color: #275f64; font-weight: 800; }
.choice--feature { align-items: flex-start; min-height: 120px; }
.choice--feature input { margin-top: 3px; }
.choice__body, .choice--plan span { display: grid; gap: 5px; }
.choice__body { flex: 1; min-width: 0; }
.choice__body strong { font-size: .86rem; }
.choice__body small, .choice--plan small { color: var(--muted); font-size: .7rem; font-weight: 500; line-height: 1.6; }
.choice__body b { color: #275f64; font-size: .7rem; line-height: 1.5; }
.choice__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 6px; padding-top: 9px; border-top: 1px solid var(--line); }
.choice__prices > span { color: var(--muted); font-size: .65rem; font-weight: 600; }
.choice__prices b { display: block; margin-top: 2px; font-size: .78rem; }
.choice__detail { display: grid; grid-template-columns: 3em minmax(0, 1fr); gap: 8px; margin-top: 8px; color: var(--muted); font-size: .7rem; font-weight: 500; line-height: 1.65; }
:lang(en) .choice__detail { grid-template-columns: 5.6em minmax(0, 1fr); }
.choice__detail .choice__prices { margin: 0; padding: 0; border: 0; }
.choice__detail > span { min-width: 0; overflow-wrap: anywhere; }
.estimate-summary .estimate-total-label { margin: 24px 0 4px; color: #d0ddda; font-weight: 700; }
.estimate-summary .estimate-base { margin: 0 0 4px; font-size: clamp(1.2rem, 2.2vw, 1.8rem); overflow-wrap: anywhere; }
.estimate-summary li { margin-block: 7px; line-height: 1.6; }
@media (max-width: 420px) {
  .price-table th, .price-table td { padding: 14px 12px; font-size: .72rem; }
  .mobile-estimate-bar strong { font-size: .72rem; }
}
@media (max-width: 650px) {
  .choice__detail .choice__prices { grid-template-columns: 1fr; gap: 7px; }
}

/* Service pages explain purpose, delivery and illustrative scenarios. */
.service-purpose { background: #fff9e9; border-color: #e8d5a6; }
.detail-grid { row-gap: 16px; }
.service-offering { border-color: #e6dfd1; box-shadow: 0 5px 20px rgba(52, 69, 57, .04); }
.service-offering h3 { margin-bottom: 12px; }
.service-offering p, .example-goal { color: #586965; font-size: .8rem; line-height: 1.9; }
.example-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.example-card { padding: 26px; border: 1px solid #e1d2bd; border-radius: 18px; background: #fff; box-shadow: 0 7px 0 rgba(225, 200, 163, .22); }
.example-card h3 { margin: 0 0 14px; font-size: 1.02rem; }
.example-combination { margin: 0 0 20px; padding: 12px 14px; border-radius: 10px; background: #f9edc9; color: #67513e; font-size: .73rem; font-weight: 800; line-height: 1.7; overflow-wrap: anywhere; }
.detail-next { display: flex; justify-content: space-between; align-items: end; gap: 30px; }
.detail-next p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: .86rem; line-height: 1.9; }
[data-reveal] { transition: opacity .65s ease, transform .65s cubic-bezier(.22, 1, .36, 1); }
[data-reveal].reveal-pending { opacity: 0; transform: translateY(18px); }
@media (min-width: 761px) {
  .detail-grid [data-reveal]:nth-child(3n + 2), .example-grid [data-reveal]:nth-child(3n + 2) { transition-delay: .08s; }
  .detail-grid [data-reveal]:nth-child(3n + 3), .example-grid [data-reveal]:nth-child(3n + 3) { transition-delay: .16s; }
}
@media (max-width: 760px) {
  .example-grid { grid-template-columns: 1fr; }
  .detail-next { align-items: flex-start; flex-direction: column; }
}

/* Short introductions on information pages. */
.explanation-intro { max-width: 1050px; margin: 0 0 38px; padding: 26px 30px; border: 1px solid #e5d6b5; border-radius: 18px; background: #fff9e9; }
.explanation-intro h2 { margin: 0; font-size: 1.35rem; }
.plain-purpose { margin: 14px 0 0; color: #4e5c59; font-size: .8rem; line-height: 1.9; }
.explanation-intro--compact { padding: 22px 24px; background: #fff; }
.contact-guide { margin-top: 32px; }
@media (max-width: 420px) {
  .explanation-intro { padding: 22px 19px; }
}
@media print {
  .estimate-provisional, .estimator .explanation-intro { display: none; }
  [data-reveal].reveal-pending { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal], [data-reveal].reveal-pending { opacity: 1; transform: none; transition: none; }
}

/* Project recipe: select a base, then add items to it. */
.recipe-screen[hidden], .recipe-group[hidden], .recipe-base[hidden], .mobile-estimate-bar[hidden] { display: none !important; }
.recipe-section { padding-block: 72px 100px; overflow-x: clip; }
.recipe-screen { scroll-margin-top: 20px; }
.recipe-screen > h2, .recipe-heading h2 { margin: 0; font-size: clamp(1.75rem, 3.3vw, 2.7rem); line-height: 1.5; }
.recipe-screen h2:focus { outline: none; }
.recipe-intro { margin: 12px 0 30px; color: var(--muted); font-size: .86rem; line-height: 1.9; }
.recipe-products { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.recipe-product { display: flex; align-items: center; gap: 16px; min-height: 170px; padding: 24px; border: 1px solid #e2d4bb; border-radius: 20px; background: #fffdf8; color: var(--ink); text-align: left; cursor: pointer; box-shadow: 0 6px 0 #ead8b7; transition: transform .2s, box-shadow .2s, border-color .2s; }
.recipe-product:hover, .recipe-product:focus-visible { transform: translateY(-4px); border-color: #5a9c96; box-shadow: 0 10px 0 #d9e9da; }
.recipe-product img { width: 72px; height: 72px; flex: 0 0 auto; border-radius: 18px; }
.recipe-product > span:nth-child(2) { display: grid; flex: 1; min-width: 0; gap: 7px; }
.recipe-product strong { font-size: 1rem; }
.recipe-product small { color: var(--muted); font-size: .72rem; line-height: 1.7; }
.recipe-product__arrow { color: var(--blue); font-size: 1.2rem; }
.recipe-enter-forward { animation: recipe-from-right .38s ease both; }
.recipe-enter-back { animation: recipe-from-left .38s ease both; }
@keyframes recipe-from-right { from { opacity: .2; transform: translateX(38px); } to { opacity: 1; transform: translateX(0); } }
@keyframes recipe-from-left { from { opacity: .2; transform: translateX(-38px); } to { opacity: 1; transform: translateX(0); } }
.recipe-back { padding: 7px 0; border: 0; border-bottom: 1px solid currentColor; background: transparent; color: #476d6b; font-size: .75rem; font-weight: 800; cursor: pointer; }
.recipe-back__short { display: none; }
.recipe-heading { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin: 32px 0 12px; }
.recipe-heading .eyebrow { margin-bottom: 9px; }
.recipe-jump { display: none; }
.recipe-type { flex: 0 0 auto; margin-bottom: 34px; padding: 7px 14px; border-radius: 100px; background: #d6ebe6; color: #245f63; font-size: .75rem; font-weight: 800; }
.recipe-workspace { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 24px; align-items: start; }
.recipe-board { position: sticky; top: 18px; min-width: 0; padding: 22px; border: 2px solid #a87851; border-radius: 22px; background: #f9e4b6; box-shadow: 0 8px 0 #dfbf8c; transition: border-color .2s, background .2s; }
.recipe-board__heading { display: flex; justify-content: space-between; gap: 10px; align-items: center; margin-bottom: 13px; color: #8e6349; font-size: .65rem; font-weight: 850; letter-spacing: .08em; }
.recipe-board__heading strong { display: inline-flex; align-items: center; gap: 5px; color: #654833; font-size: .7rem; letter-spacing: 0; }
.recipe-board__heading strong::before { content: '+'; display: grid; place-items: center; width: 19px; height: 19px; border-radius: 50%; background: #805d42; color: #fff9e8; font-size: .9rem; line-height: 1; }
.recipe-base { padding: 19px; border: 1px solid #e8c76f; border-radius: 15px; background: #fff7d5; }
.recipe-base > span, .recipe-base > div > span:first-child { color: #956f39; font-size: .63rem; font-weight: 900; letter-spacing: .1em; }
.recipe-base h3 { margin: 2px 0 3px; font-size: 1.05rem; }
.recipe-base p { margin: 3px 0; color: #675e4e; font-size: .75rem; line-height: 1.7; }
.recipe-base .recipe-base__included { margin: 10px 0; padding-top: 9px; border-top: 1px solid #ead7aa; }
.recipe-page-options { margin-top: 12px; }
.recipe-page-options summary { color: #286866; font-size: .76rem; font-weight: 800; cursor: pointer; }
.recipe-base label { display: block; margin-top: 10px; font-size: .75rem; font-weight: 800; }
.recipe-base .page-count-cost { color: #275f64; font-weight: 800; }
.recipe-picked { margin: 18px 0; }
.recipe-picked > p { margin: 0 0 8px; color: #705844; font-size: .72rem; font-weight: 800; }
.recipe-picked__items { display: flex; flex-wrap: wrap; gap: 7px; }
.recipe-picked__chip { max-width: 100%; padding: 7px 10px; border: 1px solid #b89e7c; border-radius: 100px; background: #fffdf5; color: #4c4740; font-size: .71rem; font-weight: 750; cursor: pointer; }
.recipe-picked__chip:hover { background: #ffe69a; }
.recipe-picked__empty { display: block; padding: 14px; border: 1px solid #dec7a3; border-radius: 12px; background: #fff8e7; color: #765b43; font-size: .75rem; text-align: center; }
.recipe-picked__empty[hidden] { display: none; }
.recipe-board__totals { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding-top: 14px; border-top: 1px solid #d5b895; }
.recipe-board__totals small { display: block; color: #765d4c; font-size: .64rem; }
.recipe-board__totals strong { display: block; color: #263c3b; font-size: .85rem; line-height: 1.5; overflow-wrap: anywhere; }
.recipe-plan-warning { margin: 10px 0; padding: 9px 12px; border-radius: 9px; background: #fff8e7; color: #76512f; font-size: .72rem; font-weight: 700; line-height: 1.5; }
.recipe-plan-warning[hidden], .recipe-plans[hidden] { display: none; }
.recipe-plan-warning a { color: #245f63; text-underline-offset: 3px; white-space: nowrap; }
.recipe-board__hint { position: absolute; z-index: 2; inset: 5px; display: grid; place-items: center; border: 3px solid #2c7775; border-radius: 17px; background: rgba(231, 248, 232, .93); color: #245f63; font-size: 1.05rem; font-weight: 850; opacity: 0; pointer-events: none; transition: opacity .15s; }
.recipe-board.is-drop-target { border-color: #2c7775; background: #e5f4e4; }
.recipe-board.is-drop-target .recipe-board__hint { opacity: 1; }
.recipe-board.is-added { animation: recipe-added .7s ease-out; }
.recipe-picked__chip.is-new { animation: recipe-chip-added .5s ease-out both; }
@keyframes recipe-added { 0%, 35% { border-color: #2c7775; background: #dcf1dd; } 100% { border-color: #a87851; background: #f9e4b6; } }
@keyframes recipe-chip-added { from { opacity: 0; transform: translateY(7px) scale(.92); } 65% { opacity: 1; transform: translateY(0) scale(1.04); } to { opacity: 1; transform: translateY(0) scale(1); } }
.recipe-pantry { min-width: 0; }
.recipe-pantry__swipe { display: none; }
.recipe-pantry__heading .eyebrow { margin: 0 0 5px; }
.recipe-pantry__heading h3 { margin: 0; font-size: 1.35rem; }
.recipe-pantry__note { margin: 6px 0 14px; color: var(--muted); font-size: .72rem; }
.ingredient-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ingredient { min-width: 0; padding: 17px; border: 1px solid #dfd7c8; border-radius: 16px; background: #fffefa; box-shadow: 0 4px 0 #e7ddcc; cursor: grab; touch-action: none; user-select: none; }
.ingredient:active { cursor: grabbing; }
.ingredient.is-selected { border-color: #54928a; background: #f0faf3; box-shadow: 0 4px 0 #cde5d6; }
.ingredient__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.ingredient__number { color: #9e7a58; font-size: .61rem; font-weight: 900; letter-spacing: .12em; }
.ingredient__grip { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #b7cbc1; border-radius: 13px; background: #e5f2ec; color: #356d67; font-size: 1.6rem; line-height: 1; cursor: grab; touch-action: none; user-select: none; }
.ingredient__grip:active { cursor: grabbing; }
.ingredient h4 { margin: 4px 0 5px; font-size: .95rem; }
.ingredient > p { min-height: 3em; margin: 0; color: var(--muted); font-size: .73rem; line-height: 1.7; }
.ingredient__cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; min-height: 3.8em; margin: 12px 0; padding-top: 10px; border-top: 1px solid #e7e4da; line-height: 1.5; }
.ingredient__cost--quote { grid-template-columns: 1fr; }
.ingredient__cost span { display: block; color: #687771; font-size: .65rem; font-weight: 700; }
.ingredient__cost strong { display: block; color: #286866; font-size: .77rem; font-weight: 850; overflow-wrap: anywhere; }
.ingredient__toggle { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid #2b7773; border-radius: 100px; background: #fff; color: #286866; font-size: .74rem; font-weight: 850; cursor: pointer; }
.ingredient__toggle[aria-pressed="true"] { background: #286e68; color: #fff; }
.ingredient__more { margin-top: 12px; color: #5c746d; font-size: .72rem; }
.ingredient__more summary { cursor: pointer; font-weight: 800; }
.ingredient__more p { margin: 10px 0 0; color: #4e5c59; font-size: .7rem; line-height: 1.8; }
.recipe-drag-ghost { position: fixed; z-index: 1000; padding: 13px 18px; border: 2px solid #28726e; border-radius: 14px; background: #ecfaf0; color: #244e4a; font-size: .85rem; font-weight: 850; box-shadow: 0 8px 24px rgba(30, 55, 47, .2); transform: translate(-50%, -50%) rotate(-3deg); pointer-events: none; }
.recipe-dragging { cursor: grabbing; user-select: none; }
.recipe-plans { margin: 55px 0 28px; padding: 24px; border: 1px solid var(--line); border-radius: 17px; background: #fff; }
.recipe-plans legend { padding: 0 8px; color: var(--blue); font-weight: 850; }
.recipe-plans p { margin: 0 0 16px; color: var(--muted); font-size: .78rem; }
.recipe-plans .recipe-plans__note { margin: 14px 0 0; }
.recipe-plans .option-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.choice--plan:has(input:disabled) { border-style: dashed; background: #f5f4ef; cursor: not-allowed; }
.recipe-result { position: static; }
.recipe-result [data-estimate-handoff][hidden] { display: none; }
.recipe-result .recipe-print { border-color: #a5b4aa; background: transparent; color: #fff; }
.recipe-result .recipe-print:hover { background: #ffffff19; }
.recipe-announcement { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
@media (max-width: 760px) {
  .recipe-section { padding-block: 52px 80px; }
  .recipe-products, .recipe-workspace { grid-template-columns: 1fr; }
  .recipe-product { min-height: 112px; padding: 18px; }
  .recipe-product img { width: 62px; height: 62px; }
  .recipe-back { float: right; min-height: 36px; margin-left: 8px; }
  .recipe-back__long { display: none; }
  .recipe-back__short { display: inline; }
  .recipe-heading { display: block; margin: 2px 0 10px; }
  .recipe-heading .eyebrow, .recipe-type, .recipe-jump { display: none; }
  .recipe-heading h2 { font-size: 1.35rem; line-height: 1.35; }
  .recipe-heading .recipe-intro { margin: 3px 0 0; font-size: .72rem; line-height: 1.5; }
  .recipe-workspace { clear: both; gap: 6px; }
  .recipe-board { position: relative; top: auto; padding: 9px; border-radius: 17px; box-shadow: 0 4px 0 #dfbf8c; }
  .recipe-board__heading { display: flex; margin-bottom: 6px; }
  .recipe-board__heading strong { display: inline-flex; }
  .recipe-base { padding: 9px 11px; }
  .recipe-base > span, .recipe-base > div > span:first-child { display: none; }
  .recipe-base > div:first-child { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; column-gap: 8px; }
  .recipe-base h3 { margin: 0; font-size: .9rem; }
  .recipe-base p { margin: 0; font-size: .68rem; line-height: 1.45; }
  .recipe-base .recipe-base__included { margin: 4px 0 0; padding: 0; border: 0; }
  .recipe-page-options { margin-top: 4px; }
  .recipe-page-options summary { min-height: 28px; font-size: .69rem; }
  .recipe-picked { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px; min-width: 0; margin: 7px 0 0; }
  .recipe-picked > p { margin: 0; font-size: .66rem; }
  .recipe-picked__items { flex-basis: 100%; min-width: 0; gap: 5px; }
  .recipe-picked__items:empty { display: none; }
  .recipe-picked__chip { min-height: 36px; padding: 5px 9px; }
  .recipe-picked__empty { padding: 5px 8px; font-size: .68rem; }
  .recipe-board__totals { display: none; }
  .recipe-pantry__heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
  .recipe-pantry__heading .eyebrow { display: none; }
  .recipe-pantry__heading h3 { font-size: 1.05rem; }
  .recipe-pantry__note { margin: 1px 0 5px; font-size: .62rem; line-height: 1.4; }
  .recipe-pantry__swipe { display: block; flex: none; margin: 0; color: #62746c; font-size: .68rem; font-weight: 700; }
  .ingredient-grid { display: flex; gap: 8px; padding: 2px 2px 7px; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .ingredient { flex: 0 0 calc((100% - 28px) / 2); padding: 8px; border-radius: 13px; scroll-snap-align: start; touch-action: pan-x; }
  .ingredient__top { display: none; }
  .ingredient h4 { margin: 0 0 4px; font-size: .8rem; line-height: 1.4; }
  .ingredient > p { min-height: 2.8em; font-size: .68rem; line-height: 1.4; }
  .ingredient__cost { gap: 5px; min-height: 0; margin: 7px 0; padding-top: 6px; }
  .ingredient__cost span { font-size: .6rem; }
  .ingredient__cost strong { font-size: .68rem; }
  .ingredient__toggle { min-height: 40px; padding: 6px; font-size: .67rem; line-height: 1.3; }
  .ingredient__more { margin-top: 5px; font-size: .68rem; }
  .ingredient__more summary { min-height: 24px; }
  .recipe-plans .option-grid { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .recipe-plans { padding: 18px; }
}
@media (max-width: 360px) {
  .recipe-base { padding: 7px 9px; }
  .recipe-board__heading { margin-bottom: 3px; }
  .recipe-pantry__note { max-width: 170px; }
  .ingredient { flex-basis: calc(100% - 28px); padding-block: 6px; }
  .ingredient > p { min-height: 0; }
  .ingredient__cost { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-block: 5px; }
  .ingredient__cost > div { display: flex; justify-content: space-between; gap: 3px; }
  :lang(en) .ingredient__cost > div { display: block; }
  .ingredient__cost span, .ingredient__cost strong { white-space: nowrap; }
}
@media (prefers-reduced-motion: reduce) {
  .recipe-enter-forward, .recipe-enter-back, .recipe-board.is-added, .recipe-picked__chip.is-new { animation: none; }
}
@media print {
  .recipe-back, .recipe-heading, .recipe-workspace, .recipe-plans, .recipe-announcement { display: none !important; }
}

/* The estimate is kept separate from the playful project planner. */
.ingredient__quantity { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 3px 0; color: #385e59; font-size: .7rem; font-weight: 700; cursor: default; }
.ingredient__quantity input { width: 64px; min-height: 36px; padding: 4px 7px; border: 1px solid #9dbcb1; border-radius: 6px; background: #fff; color: #203638; font: inherit; }
.ingredient__quantity input[aria-invalid="true"] { border-color: #a12e2e; }
.ingredient__quantity-help { margin: 0 0 8px !important; min-height: 0 !important; font-size: .62rem !important; }
.quotation[hidden] { display: none !important; }
.quotation { max-width: 960px; margin: 60px auto 100px; padding: 0 24px; color: #202f31; scroll-margin-top: 30px; }
.quotation__tools { margin-bottom: 20px; font-size: .82rem; line-height: 1.7; }
.quotation__tools > div { display: flex; flex-wrap: wrap; gap: 10px; }
.quotation__tools button, .quotation__add, .quotation__remove { padding: 10px 16px; border: 1px solid #2a6664; border-radius: 5px; background: white; color: #245d5a; font: inherit; font-size: .8rem; font-weight: 700; cursor: pointer; }
.quotation__tools [data-print-quotation] { background: #255d5a; color: #fff; }
.quotation__tools button:disabled { opacity: .5; cursor: not-allowed; }
.quotation__validation { color: #a12e2e; font-weight: 700; }
.quotation__paper { padding: clamp(24px, 5vw, 54px); border: 1px solid #d5d9d4; background: #fff; box-shadow: 0 8px 28px #20363812; }
.quotation__header { display: flex; justify-content: space-between; align-items: start; gap: 20px; padding-bottom: 22px; border-bottom: 3px solid #285e5a; }
.quotation__header h2 { margin: 0; font-size: clamp(1.45rem, 3vw, 2rem); letter-spacing: .08em; }
.quotation__brand { font-size: 1.5rem; font-weight: 900; }
.quotation__brand span { color: #d7ad2b; }
.quotation__header p { margin: 5px 0 0; color: #647473; font-size: .65rem; letter-spacing: .08em; }
.quotation__meta { display: grid; grid-template-columns: 1.4fr 1.4fr 1fr; gap: 18px; margin: 28px 0; }
.quotation__meta label, .quotation__terms label { display: grid; gap: 4px; color: #536461; font-size: .74rem; font-weight: 700; }
.quotation__meta input, .quotation__terms textarea { width: 100%; min-width: 0; padding: 8px 4px; border: 0; border-bottom: 1px solid #a8b5b1; border-radius: 0; background: transparent; color: #203638; font: inherit; font-size: .84rem; }
.quotation__intro { font-size: .82rem; }
.quotation__totals { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin: 24px 0; border: 1px solid #c4d0cb; background: #c4d0cb; }
.quotation__totals div { padding: 14px; background: #f4f8f5; }
.quotation__totals span { display: block; color: #536461; font-size: .72rem; }
.quotation__totals strong { display: block; margin-top: 5px; font-size: 1.25rem; }
.quotation__table-wrap { overflow-x: auto; }
.quotation__table { width: 100%; min-width: 560px; margin-top: 22px; border-collapse: collapse; font-size: .73rem; table-layout: fixed; }
.quotation__table caption { padding: 0 0 8px; text-align: left; font-size: .95rem; font-weight: 800; }
.quotation__table th, .quotation__table td { padding: 8px; border: 1px solid #cfd7d2; vertical-align: middle; line-height: 1.45; }
.quotation__table thead th { background: #edf3f0; text-align: left; }
.quotation__table th:first-child { width: 46%; }
.quotation__table th:nth-child(2) { width: 11%; }
.quotation__table th:nth-child(3), .quotation__table th:nth-child(4) { width: 21.5%; }
.quotation__table td:not(:first-child) { text-align: right; }
.quotation__table tfoot th { text-align: right; background: #fafbf9; }
.quotation__table input { width: 100%; min-width: 0; padding: 7px 3px; border: 1px solid #aebdb6; border-radius: 3px; background: #fff; color: #203638; font: inherit; }
.quotation__table input[aria-invalid="true"] { border-color: #a12e2e; }
.quotation__handwrite td { height: 34px; }
.quotation__add { margin-top: 10px; padding: 7px 10px; font-size: .7rem; }
.quotation__remove { display: block; margin: 4px 0 0 auto; padding: 2px 4px; border: 0; font-size: .65rem; text-decoration: underline; }
.quotation__terms { margin-top: 28px; padding-top: 15px; border-top: 1px solid #a9b7b0; color: #40514d; font-size: .69rem; line-height: 1.8; }
.quotation__terms h3 { font-size: .8rem; }
.quotation__terms p { margin: 6px 0; }
.quotation__terms label { margin-top: 15px; }
@media (max-width: 600px) {
  .quotation { margin: 36px auto 90px; padding: 0 14px; }
  .quotation__paper { padding: 22px 16px; }
  .quotation__meta { grid-template-columns: 1fr; gap: 12px; }
  .quotation__totals strong { font-size: 1rem; }
  .quotation__table-wrap::after { content: '←  横にスクロール  →'; display: block; padding-top: 5px; color: #73847c; text-align: right; font-size: .65rem; }
  :lang(en) .quotation__table-wrap::after { content: '←  Scroll sideways  →'; }
}
@media print {
  @page { size: A4; margin: 12mm; }
  body.quotation-open > *:not(main), body.quotation-open main > *:not(#quotation) { display: none !important; }
  body.quotation-open main { display: block !important; }
  body.quotation-open #quotation { display: block !important; max-width: none; margin: 0; padding: 0; }
  body.quotation-open .quotation__tools, body.quotation-open .quotation__add, body.quotation-open .quotation__remove { display: none !important; }
  body.quotation-open .quotation__paper { border: 0; padding: 0; box-shadow: none; }
  body.quotation-open .quotation__table-wrap { overflow: visible; }
  body.quotation-open .quotation__table-wrap::after { content: none; }
  body.quotation-open .quotation__table { min-width: 0; }
  body.quotation-open .quotation__table input, body.quotation-open .quotation__meta input, body.quotation-open .quotation__terms textarea { border: 0; padding: 0; }
  body.quotation-open input::placeholder, body.quotation-open textarea::placeholder { color: transparent; }
  body.quotation-open .quotation__meta { grid-template-columns: 1.4fr 1.4fr 1fr; }
  body.quotation-open .quotation__table tr, body.quotation-open .quotation__totals, body.quotation-open .quotation__terms { break-inside: avoid; }
  body.quotation-open .quotation__header, body.quotation-open .quotation__totals div, body.quotation-open .quotation__table thead th { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
.quotation__print-error { display: none; }
@media print {
  body.quotation-open, body.quotation-open main { background: #fff !important; }
  body.quotation-open .quotation__header { padding-bottom: 12px; }
  body.quotation-open .quotation__meta { margin: 14px 0; }
  body.quotation-open .quotation__intro { margin: 10px 0; }
  body.quotation-open .quotation__totals { margin: 12px 0; }
  body.quotation-open .quotation__totals div { padding: 8px; }
  body.quotation-open .quotation__table { margin-top: 12px; font-size: .66rem; }
  body.quotation-open .quotation__table th, body.quotation-open .quotation__table td { padding: 5px; }
  body.quotation-open .quotation__table tfoot { display: table-row-group; }
  body.quotation-open .quotation__handwrite td { height: 25px; }
  body.quotation-open .quotation__terms { margin-top: 14px; padding-top: 8px; font-size: .63rem; }
  body.quotation-open .quotation__terms h3 { margin: 4px 0; }
  body.quotation-open .quotation__terms textarea { resize: none; }
  body.quotation-open .quotation__meta input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
  body.quotation-open.quotation-invalid .quotation__paper { display: none !important; }
  body.quotation-open.quotation-invalid .quotation__print-error { display: block !important; color: #202f31; font-size: 14pt; }
}
.quotation__print-value { display: none; }
@media print {
  body.quotation-open .quotation__paper input, body.quotation-open .quotation__paper textarea { display: none !important; }
  body.quotation-open .quotation__print-value { display: block; min-height: 1em; white-space: pre-wrap; overflow-wrap: anywhere; color: #202f31; }
}
.quotation__monthly-note { display: block; margin-top: 5px; color: #536461; font-size: .63rem; line-height: 1.5; }
