:root {
 --paper: #fff9ef;
 --muted-brown: #664e39;
 --shadow: 0 8px 25px #5e3c1910, 0 1px 2px #5e3c1912;
}
[hidden] { display: none !important; }
.skip-link { position: fixed; z-index: 20; inset: 8px auto auto 8px; padding: 12px; background: var(--paper); transform: translateY(-150%); }
.skip-link:focus { transform: none; }
.top .top-inner { display: flex; gap: clamp(12px, 2vw, 30px); }
.top .desktop-nav { flex-wrap: wrap; column-gap: clamp(12px, 1.4vw, 24px); row-gap: 0; }
.top .desktop-nav a { font-size: .88rem; white-space: nowrap; }
nav a[aria-current="page"] { color: #74501e; text-decoration: underline; text-underline-offset: 6px; }
.header-actions { display: flex; align-items: center; gap: 6px; }
.icon-link { display: grid; position: relative; place-items: center; width: 44px; height: 44px; border: 1px solid transparent; border-radius: 9px; background: transparent; color: #36251b; }
.icon-link:hover { background: #eee1cf; border-color: var(--line); }
.icon-link svg { width: 23px; height: 23px; }
.menu-trigger { display: none; }
.cart-icon span { position: absolute; top: 0; right: 0; min-width: 18px; background: #6a4418; color: white; text-align: center; border-radius: 999px; padding: 1px 4px; font-size: .7rem; }
.mobile-menu { inset: 0 0 0 auto; margin: 0; width: min(380px, 100%); max-width: 100%; height: 100dvh; max-height: 100dvh; background: #f9f1e5; color: #2d1b11; border: 0; border-left: 1px solid var(--line); padding: 22px; box-shadow: -12px 0 70px #2d1b1140; }
.mobile-menu::backdrop { background: #2d1b1170; }
.menu-heading { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.mobile-menu nav { display: grid; gap: 0; justify-content: stretch; }
.mobile-menu nav a { padding: 13px 4px; border-top: 1px solid var(--line); font-size: 1rem; }
body:has(.mobile-menu[open]) { overflow: hidden; }
.site-footer { display: block; padding: 26px clamp(20px, 4vw, 60px); }
.footer-layout { max-width: 1350px; margin: auto; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; }
.footer-brand-copy p { margin-top: 5px; color: var(--muted-brown); font: .94rem/1.35 system-ui; }
.site-footer nav { justify-content: end; flex-wrap: wrap; gap: 0 14px; }
.site-footer nav a { font-size: .84rem; }
.button { box-shadow: 0 2px 5px #5f3b1b12; }
.button.gold { background: linear-gradient(135deg, #966425, #744914 75%, #5d3910); }
.button:disabled { opacity: .6; cursor: wait; }
.feature img { box-shadow: var(--shadow); }
.page-inner { width: min(1190px, calc(100% - 2 * clamp(18px, 4vw, 56px))); margin-inline: auto; }
.page-lead { padding: clamp(35px, 6vw, 90px) 0; background: radial-gradient(ellipse at 86% 20%, #fffaf1, transparent 57%), linear-gradient(110deg, #eedfc9, #f6ecdd); border-bottom: 1px solid var(--line); }
.page-lead h1 { font-size: clamp(2.55rem, 5vw, 5rem); }
.page-lead p { max-width: 57ch; margin-top: 16px; color: var(--muted-brown); font-size: clamp(1rem, 1.5vw, 1.2rem); }
.page-section { margin-block: clamp(28px, 4.5vw, 65px); }
.page-section h2, .menu-heading h2 { font: 700 clamp(1.6rem, 2.6vw, 2.35rem)/1.07 var(--serif); letter-spacing: -.035em; }
.page-section p { color: var(--muted-brown); }
.surface { border: 1px solid var(--line); border-radius: 15px; background: var(--paper); box-shadow: var(--shadow); }
.collection-grid, .step-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(15px, 2vw, 24px); }
.puzzle-card { overflow: hidden; }
.puzzle-card img { width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
.puzzle-card > div, .product-panel > div, .shop-form, .cart-panel, .feature-panel > div, .step-grid li { padding: clamp(17px, 2.5vw, 32px); }
.puzzle-card p, .product-panel p, .contact-layout p, .cart-panel p { margin-block: 9px 16px; }
.puzzle-card small { display: block; margin-top: 13px; color: var(--muted-brown); }
.center { text-align: center; }
.feature-panel { display: grid; grid-template-columns: 1fr 1.15fr; align-items: center; overflow: hidden; }
.feature-panel p { margin-block: 13px; max-width: 52ch; }
.feature-panel > img { width: 100%; height: 100%; max-height: 460px; object-fit: cover; }
.feature-panel .button { margin-top: 4px; }
.upload-control { position: relative; cursor: pointer; }
.upload-control input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.upload-control:focus-within { outline: 3px solid #946123; outline-offset: 3px; }
.simple-callout { padding: clamp(18px, 3vw, 30px); border-top: 1px solid var(--line); }
.simple-callout p { margin: 8px 0 14px; }
.simple-callout .button { margin: 3px 4px 3px 0; }
.step-grid { padding: 0; list-style-position: inside; }
.step-grid li::marker { font-weight: 800; color: #76501c; }
.step-grid h2 { margin: 10px 0 7px; }
.faq-list { display: grid; max-width: 790px; gap: 10px; justify-items: stretch; }
.faq-list .button { justify-self: start; margin-top: 10px; }
.faq-list summary { padding: 17px 20px; font-weight: 700; cursor: pointer; }
.faq-list details p { padding: 0 20px 20px; }
.shop-layout { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(16px, 3vw, 36px); align-items: start; }
.product-panel { overflow: hidden; }
.product-panel img { width: 100%; height: auto; max-height: 355px; object-fit: cover; }
.shop-form { display: grid; gap: 15px; }
.shop-form label { display: grid; gap: 5px; font-weight: 650; }
.shop-form small { font-weight: 500; }
.shop-form :is(input, textarea, select) { min-width: 0; width: 100%; border: 1px solid #aa8d67; border-radius: 8px; background: #fffdf8; padding: 10px 12px; min-height: 44px; font: inherit; color: inherit; }
.shop-form textarea { resize: vertical; }
.form-trap { position: absolute; left: -10000px; }
.form-status:empty { display: none; }
.cart-line { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 14px; padding-block: 13px; border-bottom: 1px solid var(--line); }
.cart-line div { display: grid; gap: 3px; }
.cart-line button { padding: 8px 2px; background: none; color: #70450e; border: 0; font: inherit; text-decoration: underline; text-underline-offset: 4px; }
.cart-panel > .button { margin-top: 16px; }
[data-gallery-page] { margin-bottom: 20px; }
.gallery-page.jigsaw-gallery { display: grid; position: static; width: 100%; max-height: none; margin: 0; gap: 16px; color: #25180f; background: var(--paper); border: 1px solid #d5bd9c; border-radius: 15px; box-shadow: var(--shadow); --line: #dfcbb1; --accent: #946123; --ink: #25180f; --muted: #664e39; }
.gallery-page.jigsaw-gallery [data-account] { border: 0; padding: 0; background: transparent; }
.gallery-page.jigsaw-gallery [data-auth-submit], .gallery-page .jigsaw-gallery-items button { background: #75501e; border-color: #694417; }
.gallery-page .jigsaw-gallery-items button:focus-visible { outline-color: #694417; }
@media (min-width: 960px) and (prefers-reduced-motion: no-preference) {
 @view-transition { navigation: auto; }
 ::view-transition-group(root) { animation-duration: 150ms; }
}
@media (max-width: 1050px) {
 .top .desktop-nav { display: none; }
 .menu-trigger { display: grid; }
}
@media (max-width: 760px) {
 .collection-grid, .step-grid, .shop-layout, .feature-panel { grid-template-columns: 1fr; }
 .puzzle-card img { max-height: 360px; }
 .footer-layout { grid-template-columns: 1fr auto; }
 .site-footer nav { grid-column: 1 / -1; justify-content: start; }
 .site-footer .footer-brand { grid-column: 2; grid-row: 1; width: clamp(100px, 25vw, 160px); }
}

.premium-panel { max-width: 900px; margin-inline: auto; padding: clamp(20px, 5vw, 50px); }
.premium-kicker { font-weight: 700; color: var(--gold); }
.premium-panel h2 { margin: 6px 0 12px; font: 700 clamp(2rem, 4vw, 3rem)/1 var(--serif); }
.premium-plans { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin: 24px 0; }
.premium-plans article { padding: 20px; border: 1px solid var(--line); border-radius: 14px; }
.premium-plans article > * + *, .premium-panel [role=status] { margin-top: 10px; }
.premium-price { font: 700 1.65rem/1.15 var(--serif); }
.premium-actions:not([hidden]) { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
@media(max-width: 650px) { .premium-plans { grid-template-columns: 1fr; } }
.membership-badge:not([hidden]) { display: inline-block; padding: 3px 9px; margin: 4px 8px 4px 0; background: #f1dfbc; color: #4b3216; border: 1px solid #c19c62; border-radius: 6px; font-weight: 700; }
