/* ============================================================
   PRINT BED HEADER AND FOOTER for the pages kept outside the menu
   (owner's pick, 2026-11-01). The five menu pages use css/printbed.css;
   these pages keep site.css for their content and take only the header,
   footer and self-printing logo from here. Every class is prefixed pb- so
   nothing collides with site.css.
   ============================================================ */
.pb-bar, .pb-foot, .pb-layer {
    --paper: #fdfcff; --card: #ffffff; --ink: #1c1830; --ink-2: #5d5774;
    --hair: rgba(60, 40, 120, 0.14); --violet: #7b4fd6; --violet-dk: #4e2e98;
    --pink: #c93a86; --orange: #f08a3c;
    --display: "Pixelify Sans", ui-monospace, Menlo, monospace;
    --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --page: 1180px;
    --gut-l: max(16px, env(safe-area-inset-left, 0px));
    --gut-r: max(16px, env(safe-area-inset-right, 0px));
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    font-family: var(--body);
}
.pb-bar *, .pb-foot * { box-sizing: border-box; }
.pb-bar img, .pb-foot img { max-width: 100%; height: auto; display: block; }
.pb-wrap { max-width: var(--page); margin-inline: auto; padding-left: var(--gut-l); padding-right: var(--gut-r); }
@media (min-width: 1212px) { .pb-wrap { padding-left: 0; padding-right: 0; } }
.pb-foot p { margin: 0; }
.pb-bar a, .pb-foot a { color: inherit; }
/* the layer line, as on the menu pages: a filament strand laid down, colours drifting */
.pb-layer {
    position: relative;
    height: 12px;
    margin: -2px 10px;
    background:
        linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0) 45%, rgba(0, 0, 0, 0.14)),
        linear-gradient(90deg, #f58a2c, #c93a86, #8e4bd0, #1aa19a, #8e4bd0, #c93a86, #f58a2c);
    background-size: 100% 100%, 300% 100%;
    -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2712%27%20viewBox%3D%270%200%2080%2012%27%3E%3Cpath%20d%3D%27M-20%206%20Q0%203%2020%206%20T60%206%20T100%206%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") 0 0 / 80px 12px repeat-x;
    mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%27http%3A//www.w3.org/2000/svg%27%20width%3D%2780%27%20height%3D%2712%27%20viewBox%3D%270%200%2080%2012%27%3E%3Cpath%20d%3D%27M-20%206%20Q0%203%2020%206%20T60%206%20T100%206%27%20fill%3D%27none%27%20stroke%3D%27black%27%20stroke-width%3D%275%27%20stroke-linecap%3D%27round%27/%3E%3C/svg%3E") 0 0 / 80px 12px repeat-x;
    filter: drop-shadow(0 2px 2px rgba(60, 20, 100, 0.28));
    animation: lnFlow 9s linear infinite, lnRip 5s linear infinite;
}
/* laid down left to right when it comes into view (printbed.js adds .is-laid) */
.js .pb-layer { clip-path: inset(-6px 100% -6px 0); }
.js .pb-layer.is-laid { animation: lnLay 1.6s cubic-bezier(0.4, 0, 0.2, 1) forwards, lnFlow 9s linear infinite, lnRip 5s linear infinite; }
@media (prefers-reduced-motion: reduce) {
    .pb-layer, .js .pb-layer, .js .pb-layer.is-laid { animation: none; clip-path: none; }
}
@keyframes lnFlow { to { background-position: 0 0, 300% 0; } }
@keyframes lnRip { to { -webkit-mask-position: 80px 0; mask-position: 80px 0; } }
@keyframes lnLay { to { clip-path: inset(-6px 0 -6px 0); } }
/* ---------- buttons ---------- */
.pb-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 18px;
    border-radius: 10px;
    border: 0;
    font: 700 15px/1.2 var(--body);
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s;
}
.pb-btn--big { padding: 14px 24px; font-size: 16px; }
.pb-btn--go { background: var(--violet); color: #fff; box-shadow: 0 3px 0 var(--violet-dk); }
.pb-btn--go:hover { transform: translateY(-2px); box-shadow: 0 5px 0 var(--violet-dk); }
.pb-btn--line { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink), 0 3px 0 var(--ink); }
.pb-btn--line:hover { transform: translateY(-2px); box-shadow: inset 0 0 0 2px var(--ink), 0 5px 0 var(--ink); }
.pb-btn--wa { background: var(--wa); color: #fff; box-shadow: 0 3px 0 #13703b; }
.pb-btn--wa:hover { transform: translateY(-2px); box-shadow: 0 5px 0 #13703b; }
.pb-btn:active { transform: translateY(2px); box-shadow: none; }
.pb-btn .ripple { background: rgba(255, 255, 255, 0.4); }
/* ---------- toolbar header ---------- */
.pb-bar {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}
.pb-bar__in {
    max-width: var(--page);
    margin-inline: auto;
    padding: 10px var(--gut-r) 10px var(--gut-l);
    display: flex;
    align-items: center;
    gap: 14px;
    transition: padding 0.25s var(--ease);
}
@media (min-width: 1212px) { .pb-bar__in { padding-left: 0; padding-right: 0; } }
.pb-bar.is-scrolled .pb-bar__in { padding-top: 6px; padding-bottom: 6px; }
.pb-badge {
    flex: none;
    display: grid;
    place-items: center;
    width: 58px;
    height: 58px;
    padding: 6px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 0 0 1px var(--hair), 0 3px 0 rgba(60, 40, 120, 0.12);
    transition: width 0.25s var(--ease), height 0.25s var(--ease);
}
.pb-badge .lg { width: 66%; }
.pb-bar.is-scrolled .pb-badge { width: 48px; height: 48px; }
.pb-bar__name { display: grid; text-decoration: none; font: 700 19px/1.05 var(--display); }
.pb-bar__name small { font: 500 12px/1.3 var(--body); color: var(--ink-2); }
.pb-tabs { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.pb-tabs a:not(.pb-btn) {
    position: relative;
    padding: 9px 14px;
    border-radius: 9px;
    font-weight: 650;
    font-size: 15px;
    text-decoration: none;
    color: var(--ink-2);
    transition: background 0.2s, color 0.2s;
}
.pb-tabs a:not(.pb-btn):hover { background: #f1ecfb; color: var(--ink); }
.pb-tabs a[aria-current="page"] { background: var(--ink); color: #fff; }
.pb-tabs a[aria-current="page"]:hover { background: var(--ink); color: #fff; }
.pb-tabs__cta { display: none; }
.pb-bar__cta { margin-left: 8px; }
.pb-burger { display: none; }

@media (max-width: 900px) {
    .pb-bar__name small { display: none; }
    .pb-bar__cta { display: none; }
    .pb-burger {
        margin-left: auto;
        display: grid;
        align-content: center;
        gap: 5px;
        width: 46px;
        height: 46px;
        padding: 0 12px;
        border: 0;
        border-radius: 10px;
        background: var(--ink);
        cursor: pointer;
    }
    .pb-burger span { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform 0.2s, opacity 0.2s; }
    .pb-burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
    .pb-burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
    .pb-burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
    .pb-tabs {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px var(--gut-r) 18px var(--gut-l);
        background: #fff;
        box-shadow: 0 18px 30px -18px rgba(40, 20, 80, 0.4);
    }
    .pb-tabs.is-open { display: flex; }
    .pb-tabs a:not(.pb-btn) { padding: 13px 14px; font-size: 17px; }
    .pb-tabs__cta { display: inline-flex; margin-top: 8px; padding: 14px; }
}

/* ---------- shared bits ---------- */
.label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font: 700 13px/1 var(--display);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--violet);
}
.pb-foot { background: #fff; margin-top: 0; }
.pb-foot__in { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 1fr)); gap: 24px 40px; padding-block: 40px 24px; }
.pb-foot__brand { display: flex; gap: 14px; align-items: center; }
.pb-foot__brand img { width: 44px; }
.pb-foot__brand p { color: var(--ink-2); font-size: 14.5px; line-height: 1.4; }
.pb-foot__brand b { color: var(--ink); font: 700 18px/1.2 var(--display); }
.pb-foot__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: 14.5px; }
.pb-foot__list a { color: var(--ink-2); text-decoration: none; }
.pb-foot__list a:hover { color: var(--violet); text-decoration: underline; }
.pb-foot__legal { padding-block: 16px 28px; border-top: 1px dashed var(--hair); font-size: 12.5px; color: var(--ink-2); }
@media (max-width: 1060px) { .pb-foot__in { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .pb-foot__brand { grid-column: 1 / -1; } }
@media (max-width: 640px) { .pb-foot__in { grid-template-columns: minmax(0, 1fr); } }

/* ---------- living logo (logo.js): it prints itself ---------- */
.lg { position: relative; display: block; overflow: hidden; line-height: 0; }
.lg img { position: relative; z-index: 1; width: 100%; height: auto; }
.lg__scaf, .lg__lines, .lg__layer, .lg__shine, .lg__spark { position: absolute; pointer-events: none; }
.lg__lines, .lg__layer, .lg__shine, .lg__spark { z-index: 2; }
/* 24 visible layers while printing, fading once it is done */
.lg__lines { inset: 0; background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.35) 0 1px, transparent 1px 4.1667%); opacity: 0; mix-blend-mode: soft-light; }
.lg__layer { left: 0; right: 0; bottom: 0; height: 2px; opacity: 0; background: linear-gradient(90deg, transparent, #ffb347 20%, #fff7c2 50%, #ffb347 80%, transparent); box-shadow: 0 0 8px 1px rgba(255, 154, 60, 0.9); }
.lg__layer::after { content: ""; position: absolute; top: -3px; left: 0; width: 8px; height: 8px; border-radius: 50%; background: #fff7c2; box-shadow: 0 0 10px 3px #ff9a3c; }
.lg-auto img { animation: lgprint 1.9s steps(24, end) 0.15s both; }
.lg-auto .lg__layer { animation: lglayer 1.9s steps(24, end) 0.15s both; }
.lg-auto .lg__layer::after { animation: lgnozzle 0.16s linear 0.15s 12 alternate; }
.lg-auto .lg__lines { animation: lglines 3.4s ease 0.15s both; }
@keyframes lgprint { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lglayer { 0% { bottom: 0; opacity: 1; } 96% { opacity: 1; } 100% { bottom: 100%; opacity: 0; } }
@keyframes lgnozzle { from { left: 4%; } to { left: calc(96% - 8px); } }
@keyframes lglines { 0%, 55% { opacity: 1; } 100% { opacity: 0; } }
/* On hover: build a support scaffold first, then print the logo over it with
   the filament feeding the nozzle, then knock the scaffold away. */
.lg__scaf {
    inset: 4% 6% 2%;
    opacity: 0;
    background:
        repeating-linear-gradient(90deg, rgba(122, 82, 190, 0.55) 0 1px, transparent 1px 11.1%),
        repeating-linear-gradient(0deg, rgba(122, 82, 190, 0.4) 0 1px, transparent 1px 7.14%),
        repeating-linear-gradient(45deg, rgba(201, 58, 134, 0.28) 0 1px, transparent 1px 10%),
        repeating-linear-gradient(-45deg, rgba(201, 58, 134, 0.28) 0 1px, transparent 1px 10%);
}
.lg__layer::before { content: ""; position: absolute; bottom: 4px; left: 3px; width: 2px; height: 400px; background: linear-gradient(to top, #ff9a3c, #ffb347 30%, rgba(255, 179, 71, 0)); }
.lg-build .lg__scaf { opacity: 1; animation: lgscafup 0.9s steps(14, end) both, lgscafoff 0.55s cubic-bezier(.5, 0, .9, .4) 3.45s both; }
.lg-build img { animation: lgprint 2.4s steps(28, end) 0.95s both; }
.lg-build .lg__layer { animation: lglayer 2.4s steps(28, end) 0.95s forwards; }
.lg-build .lg__layer::after,
.lg-build .lg__layer::before { animation: lgnozzle 0.18s linear 0.95s 13 alternate; }
.lg-build .lg__lines { animation: lglines 3.4s ease 0.95s both; }
@keyframes lgscafup { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes lgscafoff { from { opacity: 1; transform: none; } to { opacity: 0; transform: translateY(18%); } }
.lg__shine { inset: -20% -60%; background: linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.75) 50%, transparent 60%); transform: translateX(-70%); mix-blend-mode: soft-light; }
.lg-live .lg__shine { animation: lgshine 7s var(--ease) 3s infinite; }
@keyframes lgshine { 0%, 75% { transform: translateX(-70%); } 100% { transform: translateX(70%); } }
.lg__spark { left: 23%; top: 36%; width: 9%; aspect-ratio: 1; margin: -4.5% 0 0 -4.5%; border-radius: 50%; background: radial-gradient(circle, #fff7c2 0%, #ffb347 35%, rgba(245, 138, 44, 0) 70%); opacity: 0; }
.lg-live .lg__spark { animation: lgspark 2.8s ease-in-out 2.4s infinite; }
@keyframes lgspark {
    0% { left: 23%; top: 36%; opacity: 0; transform: scale(0.6); }
    12% { opacity: 1; transform: scale(1.2); }
    55% { left: 50%; top: 43%; opacity: 1; transform: scale(0.9); }
    70%, 100% { left: 50%; top: 43%; opacity: 0; transform: scale(0.4); }
}

