@font-face{font-family:Bricolage;src:url("assets/display.woff2") format("woff2");font-weight:400 800;font-display:swap}
@font-face{font-family:Caprasimo;src:url("assets/title.woff2") format("woff2");font-weight:900;font-display:swap}
@font-face{font-family:Space;src:url("assets/mono.woff2") format("woff2");font-display:swap}

:root {
  --ink:#171d90;
  --blue:#2035c6;
  --paper:#faf2e4;
  --orange:#ff7953;
  --yellow:#ffe866;
  --mint:#e0f8d9;
  --lavender:#ddc5f5;
  --edge:1.5px solid var(--ink);
  --headline:Caprasimo,Georgia,serif;
  --mono:Space,monospace;
}

*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;color:var(--ink);font:500 1rem Bricolage,Arial,sans-serif;background:var(--paper) url("assets/paper.webp") repeat;background-size:440px}
button,textarea,input{font:inherit}
button{color:inherit;cursor:pointer}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
h1,h2,h3,p,figure{margin:0}
[hidden]{display:none!important}
:focus-visible{outline:3px dashed var(--ink);outline-offset:4px}
.sprite{position:absolute;width:0;height:0}
.icon{width:1.1em;height:1.1em;flex:none;vertical-align:middle}
.sr-only{position:absolute;width:1px;height:1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.shell{width:min(100% - 88px, 1280px);margin-inline:auto}

.masthead{padding-top:13px}
.masthead nav{border-block:var(--edge);min-height:47px;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:0 5px}
.home-word{display:inline-flex;align-items:center;gap:8px;font:900 clamp(17px,2vw,23px)/1 var(--headline);letter-spacing:-.04em}
.home-word .icon{width:15px;height:15px}
.nav-links{display:flex;align-items:center;gap:clamp(12px,3.1vw,46px);font-weight:800}
.nav-links a{display:inline-flex;align-items:center;gap:3px}
.nav-links a:hover,.footer-link:hover{text-decoration:underline;text-underline-offset:4px}
.nav-bag{display:inline-flex;align-items:center;gap:6px;background:transparent;padding:6px 1px;border:0}
.nav-bag [data-bag-count]{display:grid;place-items:center;background:var(--yellow);border:1px solid var(--ink);min-width:23px;height:23px;border-radius:50%;font:400 11px var(--mono);padding-inline:3px}

.wordmark{padding:14px 10px 0}
.wordmark img{width:100%;height:auto}
.hero{padding-bottom:35px}
.hero-story{display:grid;grid-template-columns:.96fr 1.04fr;align-items:center;gap:clamp(12px,2vw,38px);margin-top:-1.25%;padding-inline:18px 45px}
.hero-copy{padding:26px 0 10px;z-index:1}
.hero h1{font:900 clamp(39px,5.35vw,78px)/.91 var(--headline);letter-spacing:-.065em}
.hero h1 em{white-space:nowrap;font-style:normal;display:inline-block;transform:skewX(-10deg);transform-origin:bottom left}
.hero-copy p{max-width:480px;font-size:clamp(18px,2.15vw,29px);line-height:1.06;font-weight:720;margin:24px 0}
.button{display:inline-flex;justify-content:center;align-items:center;gap:.48em;min-height:48px;border:var(--edge);border-radius:100vw;padding:.57em 1.12em;font:900 19px/1.12 var(--headline);letter-spacing:-.025em;transition:transform .16s ease,box-shadow .16s ease,background-color .16s ease;text-align:center}
.button:hover:not(:disabled){transform:translate(-2px,-2px);box-shadow:3px 3px var(--ink)}
.button:active:not(:disabled){transform:none;box-shadow:none}
.button:disabled{cursor:wait;opacity:.77}
.button-orange{background:var(--orange);color:var(--ink)}
.button-blue{color:#fff8ea;background:var(--blue)}
.hero .button{font-size:clamp(21px,2.35vw,33px);border-width:2px}
.hero-art{position:relative;padding:8px 0 6px}
.hero-photo{background:#fff9eb;border:8px solid #fff9eb;box-shadow:1px 8px 14px #3c2b472a;transform:rotate(5deg)}
.hero-photo img{width:100%;height:auto;aspect-ratio:1.31;object-fit:cover}
.club-sticker{width:clamp(92px,12vw,156px);position:absolute;right:-5%;top:-4%;aspect-ratio:1;display:grid;place-items:center;transform:rotate(9deg);z-index:1}
.club-sticker svg{width:100%;position:absolute;filter:drop-shadow(1px 2px 0 #171d9020)}
.club-sticker span{font:900 clamp(13px,1.9vw,25px)/.84 var(--headline);letter-spacing:-.035em;text-align:center;position:relative}
.doodle{position:absolute;overflow:visible;width:36px;height:54px;pointer-events:none}
.sparkle-one{left:-9%;top:6%;transform:rotate(13deg)}
.sparkle-two{right:-8%;bottom:15%;transform:rotate(14deg) scale(.85)}

.ticker{background:var(--yellow);border-block:var(--edge);overflow:hidden}
.ticker-inner{display:flex;width:max-content;margin-inline:auto;padding-left:clamp(15px,5vw,78px);font:900 clamp(18px,3vw,36px)/1 var(--headline);text-transform:uppercase;letter-spacing:.039em}
.ticker-inner span{display:flex;align-items:center;gap:clamp(14px,3vw,38px);white-space:nowrap;padding:12px clamp(14px,3vw,38px) 12px 0}
.ticker .icon{height:.88em;width:.88em}

.lab{background-color:var(--mint);background-image:linear-gradient(90deg,#508fc142 1px,transparent 1px),linear-gradient(#508fc142 1px,transparent 1px);background-size:15px 15px;border-bottom:var(--edge);padding:clamp(39px,5.5vw,75px) 0}
.lab-grid{display:grid;grid-template-columns:1fr .95fr;gap:clamp(25px,5vw,74px);align-items:start}
h2{font:900 clamp(41px,6vw,80px)/.95 var(--headline);letter-spacing:-.065em}
.section-intro{font-weight:650;font-size:clamp(16px,1.65vw,23px);line-height:1.16;text-wrap:pretty}
.lab h2{font-size:clamp(35px,5.2vw,72px)}
.lab .section-intro{margin:12px 0 19px;max-width:520px}
.design-form{background:#fff9ee;border:var(--edge);border-radius:20px;padding:clamp(15px,2vw,24px);box-shadow:3px 4px 0 #171d9030}
.studio-access{display:grid;gap:6px;margin-top:16px;font-weight:750}
.studio-access input{min-width:0;width:100%;border:1px solid var(--ink);border-radius:8px;background:#fcf5ff;padding:8px 10px;color:var(--ink);font:inherit}
.control-label{display:block;font:900 18px var(--headline);letter-spacing:-.015em;margin-bottom:7px}
textarea{color:var(--ink);width:100%;min-height:98px;resize:vertical;border:var(--edge);border-radius:12px;background:#fcf5ff;padding:12px 13px;line-height:1.35;font-size:16px}
textarea::placeholder{color:#51488b}
.idea-starters,.reference-control{margin-top:15px}
.reference-toggle{display:flex;width:fit-content;max-width:100%;align-items:center;gap:7px;border:1px solid var(--ink);border-radius:30px;background:#f2e6fb;padding:6px 10px;list-style:none;font-weight:760;font-size:14px;cursor:pointer}
.reference-toggle::-webkit-details-marker{display:none}
.reference-toggle:hover,.reference-control[open] .reference-toggle{background:#e5d1f7}
.reference-toggle .icon{width:17px;height:17px}
.reference-control[open] .reference-plus-stem{display:none}
.reference-file-badge{font:400 10px var(--mono);white-space:nowrap;text-overflow:ellipsis;overflow:hidden;min-width:0}
.reference-control .reference-slot{margin-top:9px}
.reference-slot{position:relative}
.reference-drop{display:flex;min-height:66px;align-items:center;gap:11px;padding:10px 12px;border:1.5px dashed var(--ink);border-radius:11px;background:#f2e6fb;cursor:pointer}
.reference-drop:hover,.reference-drop.is-over,.reference-drop:focus-within{background:#e5d1f7}
.reference-drop:focus-within{outline:2px solid var(--ink);outline-offset:2px}
.reference-drop[aria-disabled=true]{opacity:.67;cursor:wait}
.reference-drop.has-reference{padding-right:48px}
.reference-icon{width:23px;height:23px}
.reference-thumbnail{width:42px;height:42px;border-radius:6px;object-fit:cover;flex:none}
.reference-slot:has(.has-reference) .reference-icon{display:none}
.reference-copy{display:grid;gap:4px;min-width:0}
.reference-copy strong{font-size:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.reference-copy small{font:400 10px/1.3 var(--mono)}
.reference-remove,.title-edit{display:grid;place-items:center;width:32px;height:32px;padding:0;border:1px solid var(--ink);border-radius:50%;background:var(--paper);flex:none}
.reference-remove{position:absolute;top:50%;right:9px;transform:translateY(-50%)}
.reference-remove:hover:not(:disabled),.title-edit:hover:not(:disabled){background:var(--yellow)}
.chips{display:flex;gap:6px;flex-wrap:wrap}
.chip{background:#eadcf8;border:1px solid var(--ink);padding:5px 10px;border-radius:30px;font-size:13px;font-weight:730}
.chip:hover,.chip[aria-pressed=true]{background:var(--yellow)}
.generate{width:100%;margin-top:17px}
.form-error{background:#ffe4d7;padding:8px 11px;margin-top:10px;border-radius:6px;font-weight:700}
.preview{scroll-margin-top:14px;border:var(--edge);border-radius:20px;overflow:hidden;margin-top:13px;background:#fff8ee;box-shadow:3px 4px 0 #171d9030}
.preview-image{position:relative;background:var(--lavender)}
.preview-image img{object-fit:cover;width:100%;height:auto;aspect-ratio:1}
.preview-tag{position:absolute;top:13px;left:13px;background:var(--paper);border:1px solid var(--ink);padding:4px 8px;font:400 10px var(--mono);text-transform:uppercase;letter-spacing:.04em;transform:rotate(-4deg)}
.preview-caption{border-top:var(--edge);padding:13px 15px;display:flex;gap:10px;align-items:center;justify-content:space-between}
.preview-caption>div:first-child{min-width:0;overflow-wrap:anywhere}
.preview-caption strong{font:900 20px var(--headline)}
.preview-name-area{flex:1}
.preview-name-line{display:flex;align-items:center;gap:8px}
.title-edit{width:30px;height:30px}
.name-form{display:grid;gap:6px}
.name-form input{min-width:0;width:100%;border:1px solid var(--ink);border-radius:6px;background:#fcf5ff;padding:6px 7px;color:var(--ink)}
.name-actions{display:flex;flex-wrap:wrap;gap:5px}
.preview-action{display:flex;align-items:center;gap:11px;flex:none}
.preview-action .button{min-height:35px;font-size:14px;padding:7px 10px}
.loading{position:absolute;inset:0;background:#ddc5f5ea;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:18px;text-align:center;font:900 clamp(20px,3vw,33px) var(--headline)}
.loading small{font:400 13px var(--mono)}
.loading .icon{animation:twinkle 1.2s ease-in-out infinite alternate}
@keyframes twinkle{to{transform:rotate(14deg) scale(1.2)}}

.floor{padding-block:clamp(44px,6vw,85px) clamp(55px,7vw,100px)}
.floor-header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:21px;margin-bottom:26px}
.floor-header h2{font-size:clamp(37px,5.3vw,76px)}
.floor-header h2 a:hover{text-decoration:underline;text-underline-offset:.13em}
.floor-header .button{justify-self:start}
.floor-rug{position:relative;isolation:isolate;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:center;gap:5px;min-height:290px;padding:23px 22px 32px}
.floor-rug::before{content:"";position:absolute;z-index:-1;inset:0;border-radius:5% 4% 6% 4% / 17% 13% 16% 12%;background-color:#c6a6e8;background-image:repeating-linear-gradient(0deg,transparent 0 44px,#f7e5f7b0 45px 47px,transparent 48px 49px),repeating-linear-gradient(90deg,transparent 0 44px,#f7e5f7b0 45px 47px,transparent 48px 49px),url("assets/paper.webp");background-blend-mode:normal,normal,multiply;background-size:auto,auto,270px;transform:rotate(-.8deg);box-shadow:0 4px 9px #51346c27}
.floor-piece{border:0;background:transparent;display:flex;min-width:0;align-items:center;flex-direction:column;justify-content:flex-end;padding:0;transform:rotate(var(--turn));position:relative;transition:transform .22s ease;touch-action:manipulation}
.floor-piece:nth-child(1){--turn:-9deg;--label:#ffe567;margin-top:-8px}
.floor-piece:nth-child(2){--turn:9deg;--label:#e6f7ba;margin-top:49px}
.floor-piece:nth-child(3){--turn:-7deg;--label:#ffd2dd;margin-top:-22px}
.floor-piece:nth-child(4){--turn:6deg;--label:#ffe5b8;margin-top:28px}
.floor-piece:hover,.floor-piece:focus-visible{transform:rotate(0) translateY(-7px);z-index:1}
.floor-piece img{height:clamp(120px,20vw,270px);width:100%;object-fit:contain;filter:drop-shadow(4px 9px 4px #3827674a)}
.floor-label{display:flex;justify-content:space-between;align-items:center;gap:8px;background:var(--label);border:1px solid var(--ink);padding:7px 9px;border-radius:2px 7px 2px 5px;box-shadow:2px 2px 0 #171d9045;font:400 clamp(10px,1.15vw,15px)/1.2 var(--mono);text-align:left;margin-top:-3px}
.floor-label .icon{flex:none}
.footer{border-top:var(--edge)}
.footer-inner{min-height:67px;display:flex;align-items:center;justify-content:space-between}
.footer-link{font-weight:800;display:inline-flex;align-items:center;gap:5px}

.studio-dialog{width:min(100% - 28px,560px);max-height:calc(100dvh - 32px);border:2px solid var(--ink);border-radius:22px;background:#fff9ee;color:var(--ink);padding:24px;box-shadow:7px 7px var(--ink);overflow:auto}
.studio-dialog::backdrop{background:#12194f69}
.dialog-close{position:absolute;top:9px;right:9px;width:40px;height:40px;border:var(--edge);border-radius:50%;background:var(--yellow);display:grid;place-items:center;z-index:1}
.dialog-close:hover{background:var(--orange)}
.dialog-close .icon{width:20px;height:20px}
.dialog-title{font:900 clamp(29px,6vw,46px)/.98 var(--headline);letter-spacing:-.045em;margin:0 32px 13px 0}
.dialog-product-img{width:100%;height:clamp(150px,36dvh,285px);object-fit:contain;border-radius:12px;margin-bottom:15px;filter:none;padding:12px}
.product-detail p,.order-empty p,.order-success p{line-height:1.35;margin-bottom:15px}
.product-buttons,.total-line{display:flex;align-items:center;gap:8px;justify-content:space-between}
.product-buttons{flex-wrap:wrap}
.button-quiet{background:transparent;font-size:16px}
.cart-line{display:grid;grid-template-columns:65px 1fr auto;gap:10px;align-items:center;padding:11px 0;border-top:1px solid #171d9040}
.cart-line img{width:65px;height:65px;object-fit:contain;background:var(--lavender);border-radius:8px}
.cart-name{font-weight:800;font-size:16px;line-height:1.15;overflow-wrap:anywhere}
.cart-line-price{font:400 12px var(--mono);margin-top:3px}
.qty{display:flex;align-items:center;gap:5px;font:400 13px var(--mono)}
.qty button{width:31px;height:31px;border:1px solid var(--ink);border-radius:50%;display:grid;place-items:center;background:var(--paper);padding:0;font-size:17px}
.qty button:hover{background:var(--yellow)}
.total-line{border-top:var(--edge);margin-top:5px;padding-top:13px;font:900 23px var(--headline)}
.checkout-note{margin:9px 0 13px;font-size:14px}
.checkout{width:100%}
.toast{position:fixed;bottom:20px;right:20px;z-index:4;background:var(--yellow);border:var(--edge);border-radius:12px;padding:10px 14px;font-weight:800;box-shadow:3px 3px var(--ink);pointer-events:none}
.toast:empty{display:none}

@media(max-width:1060px){
  .hero-story{padding-inline:8px 30px}
  .preview-caption{align-items:flex-start}
  .preview-action{flex-direction:column;align-items:flex-end;gap:4px}
}
@media(max-width:760px){
  .shell{width:calc(100% - 36px)}
  .hero-story{gap:15px;padding-inline:0 16px}
  .hero h1{font-size:clamp(31px,5.75vw,49px)}
  .hero-photo{border-width:6px}
  .hero-copy p{margin:17px 0;font-size:clamp(16px,2.9vw,21px)}
  .club-sticker{width:77px}
  .club-sticker span{font-size:13px}
  .doodle{width:23px;height:36px}
  .sparkle-one{display:none}
  .lab-grid{gap:20px}
  .preview-caption{display:block}
  .preview-action{flex-direction:row;align-items:center;justify-content:space-between;margin-top:10px}
  .floor-header{grid-template-columns:1fr;gap:14px}
  .floor-rug{min-height:0;padding:15px 12px 22px}
}
@media(max-width:560px){
  .shell{width:calc(100% - 28px)}
  .masthead{padding-top:8px}
  .masthead nav{padding-inline:0;gap:9px;min-height:44px}
  .home-word{gap:4px}
  .home-word .icon{width:11px;height:11px}
  .nav-links{gap:10px;font-size:13px}
  .nav-links a{gap:0}
  .nav-bag{gap:4px}
  .nav-bag [data-bag-count]{min-width:19px;height:19px}
  .nav-bag>span:first-of-type{position:absolute;width:1px;height:1px;clip-path:inset(50%);overflow:hidden}
  .wordmark{padding:13px 2px 0}
  .hero{padding-bottom:25px}
  .hero-story{grid-template-columns:1fr;margin:0;gap:19px;padding:0}
  .hero-copy{padding:20px 5px 0}
  .hero h1{font-size:clamp(34px,10.8vw,58px);line-height:.89}
  .hero-copy p{max-width:345px;margin:15px 0;font-size:19px}
  .hero .button{font-size:21px}
  .hero-art{margin:4px 20px 3px 13px}
  .hero-photo{transform:rotate(4deg)}
  .hero-photo img{aspect-ratio:1.34}
  .club-sticker{right:-5%;top:-6%}
  .sparkle-one{display:block;top:10%;left:-7%}
  .sparkle-two{right:-7%;bottom:11%}
  .lab-grid{grid-template-columns:1fr}
  .preview{margin-top:0}
  .preview-caption{display:flex}
  .preview-action{flex-direction:column;align-items:flex-end;margin-top:0}
  .floor-rug{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 6px}
  .floor-piece img{height:clamp(122px,36vw,185px)}
  .floor-piece:nth-child(3){margin-top:0}
  .floor-piece:nth-child(4){margin-top:4px}
  .floor-label{font-size:11px}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{scroll-behavior:auto!important;animation:none!important;transition:none!important}
}

.photo-status{font:400 11px/1.4 var(--mono);margin-top:9px}
.preview-image img.preview-cutout{object-fit:contain;padding:10%}
.tone-lilac{background-color:#d9c2ef}
.tone-mint{background-color:#cfeacd}
.tone-blue{background-color:#c7dcef}
.tone-peach{background-color:#f6caad}
.tone-rose{background-color:#f3c1cf}
.tone-butter{background-color:#fae6a3}
.product-byline{font:400 13px/1.3 var(--mono)}
.dialog-product-img.product-photo{padding:0}
