@font-face{font-family:Bahnschrift;src:url('assets/bahnschrift.ttf') format('truetype');font-weight:300 700;font-display:swap}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:24px}body{margin:0;background:#f6f6f2;color:#142b40;font:16px/1.5 Bahnschrift,sans-serif;--blue:#0c56a1;--muted:#647482;--radius:6px;--icon-size:28px;--pattern-bg:#bbe5ef;--pattern-fg:#fff;--pattern-scale:100%;--pattern-opacity:1}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:var(--radius);padding:0 18px;min-height:40px;font-size:14px;font-weight:500;transition:background .15s,box-shadow .15s}button:disabled{cursor:not-allowed;background:#e9ecec;color:#89979d}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,[contenteditable]:focus-visible{outline:3px solid #f26531;outline-offset:4px}button.primary{background:var(--blue);color:white}.primary:hover{background:#084787}.secondary{background:white;color:var(--blue);border:1px solid var(--blue)}.secondary:hover{background:#edf5fa}.accent{background:#f26531;color:#142b40}.accent:hover{background:#e65320}.text-button{color:var(--blue);background:none;padding:0}.text-button:hover{text-decoration:underline}a{color:var(--blue);text-decoration:none;font-size:14px}a:hover{text-decoration:underline}aside{position:fixed;inset:0 auto 0 0;width:226px;padding:34px 24px;border-right:1px solid #dce2e4;background:#fbfbf8;display:flex;flex-direction:column}.side-brand{display:flex;align-items:center;gap:12px}.symbol{display:block;width:28px;height:40px;color:var(--blue)}svg{width:100%;height:100%;display:block}.eyebrow{font-size:11px;letter-spacing:.12em;color:var(--blue);font-weight:500;margin:0 0 18px}aside .eyebrow{margin-top:28px;color:var(--muted)}nav{display:grid;gap:6px}nav a{padding:10px 0;color:#536779}.side-bottom{margin-top:auto;font-size:12px;color:var(--muted)}.side-bottom small{display:block;margin:4px 0 16px}.dot{display:inline-block;width:6px;height:6px;background:#438667;border-radius:50%;margin-right:5px}main{margin-left:226px;padding:48px 48px 20px;max-width:1800px}.intro{display:flex;justify-content:space-between;gap:30px;align-items:center;padding-bottom:28px;border-bottom:1px solid #dce2e4}.intro .eyebrow{margin-bottom:12px}h1{font-size:36px;font-weight:500;line-height:1.15;margin:0 0 14px}p{margin:0 0 16px}.muted{color:var(--muted)}.intro p:last-child{margin-bottom:0}section{margin:48px 0 0}.section-title{display:flex;justify-content:space-between;align-items:center;gap:20px;margin-bottom:20px}.section-title h2{font-size:20px;font-weight:500;margin:0}.section-title h2 small{font-size:12px;color:var(--blue);margin-right:16px}.section-title>span,.section-title>label{font-size:12px;color:var(--muted)}.header-scroll{overflow:auto;border-radius:6px}.shop-header{background:var(--blue);color:white;height:72px;min-width:1000px;padding:0 24px;display:flex;align-items:center;justify-content:space-between;gap:20px}.brand{display:block;width:180px;height:27px;flex:none}.segmented{display:flex;gap:3px;background:#286cae;padding:3px;border-radius:6px}.segmented button{padding:0 12px;min-height:34px;color:white;background:none}.segmented button.active{background:white;color:var(--blue)}.header-link{padding:0;background:none;color:white;white-space:nowrap}.header-link:hover{text-decoration:underline}.cart{background:white;color:var(--blue);display:flex;gap:20px;white-space:nowrap}.cart span{border-left:1px solid #dce2e4;padding-left:16px}.caption{font-size:12px;color:var(--muted);margin:12px 0}.two-col{display:grid;grid-template-columns:1fr 1fr;gap:24px}.panel{background:white;border:1px solid #e0e5e5;border-radius:8px;padding:28px}.specimen #editableSample{font-size:40px;font-weight:500;line-height:1.12;margin-bottom:24px}.specimen>p:not(.eyebrow):not(.caption){font-size:21px;color:var(--blue)}.type-scale{display:grid;gap:20px}.type-scale>div{display:flex;justify-content:space-between;align-items:center;gap:20px}.type-scale strong{font-weight:500;line-height:1.2}.type-scale>div>span:last-child{font-size:12px;color:var(--muted);white-space:nowrap}.range-label{display:flex;gap:12px;align-items:center;font-size:13px}.range-label input{width:130px;accent-color:var(--blue)}output{font-variant-numeric:tabular-nums}.button-gallery{display:flex;flex-wrap:wrap;gap:28px}.button-gallery>div{display:grid;gap:12px}.button-gallery small{font-size:12px;color:var(--muted)}.focus-demo{outline:2px solid #f26531;outline-offset:3px}select{border:1px solid #dce2e4;background:white;border-radius:4px;padding:7px;margin-left:10px;color:var(--blue)}.category-row{display:grid;grid-template-columns:repeat(8,1fr);padding:14px;gap:8px}.category{display:flex;flex-direction:column;align-items:center;gap:16px;background:white;padding:12px 5px;font-size:13px;color:#142b40;border:1px solid transparent;border-radius:6px}.category .icon{display:block;width:var(--icon-size);height:var(--icon-size);color:var(--blue)}.category:hover{background:#f3f8fb}.category.selected{border-color:#bad1e4;background:#f3f8fb}.download-row{display:flex;gap:24px;margin-top:10px}.pattern-settings{display:flex;align-items:center;gap:24px;flex-wrap:wrap;padding:18px 24px;margin-bottom:20px}.pattern-settings label{display:flex;align-items:center;gap:10px;font-size:12px}.pattern-settings input[type=color]{width:34px;height:30px;border:0;padding:0;background:none;cursor:pointer}.presets{display:flex;gap:8px;margin-left:auto}.presets button{min-height:28px;width:28px;border:1px solid #c9d5dc;padding:0;border-radius:50%}.pattern-grid{display:grid;grid-template-columns:1fr 1.5fr;gap:24px}.pattern-sample,.pattern-usage{height:245px;background:var(--pattern-bg);border-radius:8px;position:relative;overflow:hidden}.scales{position:absolute;right:0;top:0;height:var(--pattern-scale);width:55%;color:var(--pattern-fg);opacity:var(--pattern-opacity);pointer-events:none}.pattern-usage{padding:30px;display:flex;align-items:center}.pattern-usage>div{position:relative;z-index:1;max-width:65%}.pattern-usage .scales{width:30%}.pattern-usage h3{font-size:24px;line-height:1.2;margin:0 0 16px;font-weight:500}.pattern-usage p{font-size:14px;margin:0}.pattern-usage .eyebrow{font-size:10px;margin-bottom:15px;color:inherit}.signature-panel{margin-top:24px;display:flex;align-items:center;gap:40px}.signature{width:185px;height:65px;color:var(--blue)}.signature-panel p{font-size:14px;margin:0}.signature-panel small{color:var(--muted)}.signature-panel .symbol{margin-left:auto}.card-workbench{display:flex;gap:60px;align-items:center}.food-card{width:302px;flex:none;border:1px solid #dce2e4;border-radius:6px;overflow:hidden;background:white}.food-card>img{width:100%;height:184px;object-fit:cover;object-position:center 64%;display:block}.food-content{padding:16px}.food-content h3{font-size:18px;font-weight:500;margin:0 0 8px}.food-content p{font-size:12px;color:var(--muted);line-height:1.5}.food-bottom{display:flex;align-items:center;gap:14px}.food-bottom strong{font-size:20px;font-weight:500}.food-bottom small{font-size:12px;color:var(--muted)}.food-bottom button{margin-left:auto;padding:0 14px}.workbench-note h3{font-size:26px;font-weight:500;margin:0 0 12px}.workbench-note p{font-size:14px}.workbench-note .eyebrow{font-size:11px}#quantity:not([hidden]){display:flex;justify-content:flex-end;align-items:center;gap:18px;margin-top:12px}#quantity button{background:#edf5fa;color:var(--blue);padding:0 14px}footer{display:flex;justify-content:space-between;font-size:12px;color:var(--muted);margin-top:56px;border-top:1px solid #dce2e4;padding:22px 0}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#142b40;color:white;border-radius:6px;padding:14px 22px;font-size:14px;box-shadow:0 5px 20px #142b4020;opacity:0;pointer-events:none;transition:opacity .2s;max-width:90vw;z-index:10}#toast.show{opacity:1}@media(max-width:1100px){aside{width:190px;padding:26px 18px}main{margin-left:190px;padding:32px 24px}.two-col{grid-template-columns:1fr}.category-row{grid-template-columns:repeat(4,1fr)}.pattern-grid{grid-template-columns:1fr}.intro{align-items:flex-start}.intro>button{white-space:nowrap}.card-workbench{gap:28px}}@media(max-width:700px){aside{position:static;width:auto;border-right:0;border-bottom:1px solid #dce2e4;padding:20px}.side-bottom,aside>.eyebrow{display:none}nav{display:flex;overflow:auto;margin-top:15px;gap:20px}nav a{white-space:nowrap;font-size:12px}main{margin:0;padding:28px 20px}.intro{display:block}.intro>button{margin-top:20px}h1{font-size:30px}.section-title{align-items:flex-start;flex-wrap:wrap}.panel{padding:20px}.specimen #editableSample{font-size:32px}.type-scale strong[style]{font-size:24px!important}.category-row{padding:8px}.category{font-size:12px}.card-workbench{flex-direction:column;align-items:flex-start}.signature-panel{gap:20px;flex-wrap:wrap}.download-row{flex-wrap:wrap}.pattern-settings .range-label{flex-wrap:wrap}.presets{margin-left:0}footer{display:block}footer span{display:block;margin-top:8px}.pattern-usage{padding:22px}.pattern-usage h3{font-size:21px}}@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Component refinement: alignment, original icon scale, food hierarchy. */
.shop-header{gap:18px;min-width:1040px}
.header-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;line-height:20px;flex-shrink:0}
.header-link .address-chevron{width:16px;height:16px;flex:0 0 16px;display:block}
.cart{height:40px;min-height:40px;align-items:center;justify-content:center;gap:16px;line-height:20px;flex-shrink:0}
.cart span{display:flex;align-items:center;height:20px;line-height:20px;min-width:52px;justify-content:flex-end;font-variant-numeric:tabular-nums}
body{--icon-size:40px}
.category{gap:12px;padding:16px 8px}
.category .icon{flex:none}
.food-card{border-radius:10px;border-color:#dbe2e5;box-shadow:0 5px 18px #142b4005}
.food-photo{position:relative;overflow:hidden}
.food-photo>img{width:100%;height:204px;object-fit:cover;object-position:center 64%;display:block;transition:transform .3s}
.food-card:hover .food-photo>img{transform:scale(1.025)}
.food-category{position:absolute;top:14px;left:14px;border-radius:4px;background:#fffffff2;color:var(--blue);font-size:10px;font-weight:600;letter-spacing:.1em;padding:5px 9px}
.food-content{padding:0 18px 18px}
.portion{position:relative;display:inline-flex;align-items:center;gap:12px;margin-top:-16px;margin-bottom:15px;min-height:32px;padding:6px 11px;background:#e8f4f7;border:1px solid #fff;border-radius:5px;color:var(--blue);box-shadow:0 2px 5px #142b4008;font-size:12px;font-weight:500}
.portion>span{display:inline-flex;align-items:center;gap:6px;white-space:nowrap}
.portion svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.2;flex:none}
.portion-weight{border-left:1px solid #c5dde7;padding-left:12px}
.food-content h3{font-size:19px;line-height:24px;margin:0 0 6px;font-weight:500}
.food-content .food-description{font-size:12px;line-height:18px;margin:0 0 14px;color:#647482}
.food-content .ingredients{display:flex;flex-wrap:wrap;gap:4px 0;margin:0 0 20px;font-size:12px;line-height:18px;color:#365268}
.ingredients span+span:before{content:'·';padding:0 7px;color:#f26531;font-weight:700}
.food-bottom{border-top:1px solid #edf0ef;padding-top:16px;gap:10px;justify-content:space-between;min-height:57px}
.price{display:grid;gap:1px}
.price strong{font-size:24px;line-height:26px;font-weight:600;font-variant-numeric:tabular-nums}
.price strong span{font-size:16px;font-weight:400}
.price small{font-size:10px;line-height:14px;color:#647482}
.purchase{margin-left:auto;width:122px}
.purchase>#add{display:flex;align-items:center;justify-content:space-between;gap:16px;width:100%;padding:0 16px;height:40px;color:#142b40}
.purchase>#add[hidden]{display:none}
.purchase>#add span{font-size:20px;font-weight:400}
#quantity:not([hidden]){display:flex;justify-content:space-between;align-items:center;gap:0;margin:0;height:40px;border:1px solid #cbdde9;background:#f5f9fc;border-radius:var(--radius)}
#quantity button{padding:0;width:36px;min-height:38px;background:transparent;font-size:18px;display:flex;align-items:center;justify-content:center}
#quantity output{min-width:24px;text-align:center;font-size:14px}
@media(prefers-reduced-motion:reduce){.food-card:hover .food-photo>img{transform:none}}
.header-scroll{container-type:inline-size}
.shop-header{min-width:0}
@container (max-width: 1000px){
.shop-header{height:auto;min-height:112px;padding:14px 18px;display:grid;grid-template-columns:150px 1fr auto auto;gap:12px 18px;align-items:center}
.shop-header .brand{width:150px;grid-column:1;grid-row:1}
.shop-header .segmented{grid-column:2 / 4;grid-row:1;justify-self:start}
.shop-header .cart{grid-column:4;grid-row:1}
.shop-header .header-link{justify-self:start;min-height:28px}
.shop-header .header-link:nth-child(3){grid-column:1 / 3;grid-row:2}
.shop-header .header-link:nth-child(4){grid-column:3;grid-row:2}
.shop-header .header-link:nth-child(5){display:none}
.shop-header .header-link:nth-child(6){grid-column:4;grid-row:2;justify-self:end}
}
@container (max-width: 540px){
.shop-header{grid-template-columns:1fr auto;gap:12px}
.shop-header .brand{grid-column:1;grid-row:1;width:140px}
.shop-header .cart{grid-column:2;grid-row:1;gap:8px;padding:0 10px}
.shop-header .cart span{padding-left:8px;min-width:35px}
.shop-header .segmented{grid-column:1 / 3;grid-row:2;justify-self:stretch}
.shop-header .segmented button{flex:1}
.shop-header .header-link:nth-child(3){grid-column:1;grid-row:3;font-size:13px}
.shop-header .header-link:nth-child(4){grid-column:1;grid-row:4}
.shop-header .header-link:nth-child(6){grid-column:2;grid-row:3}
}

.pattern-sample,.pattern-usage{position:relative;overflow:hidden}
.pattern-sample .scales,.pattern-usage .scales{position:absolute;inset:0;width:auto;height:auto;transform:none;background:var(--pattern-fg);opacity:var(--pattern-opacity);mask-image:url('assets/scales-tile.svg');mask-repeat:repeat;mask-size:var(--pattern-tile-size,96px) auto;mask-position:center}
.pattern-usage .scales{left:auto;width:32%}.pattern-sample .scales>svg,.pattern-usage .scales>svg{display:none}
