/* Sable & Feu (a fictional shop, a Repliwave demo): a small working shop. Sand, cobalt, terracotta, clay, charcoal.
   Bodoni Moda for headings and product names, Geist Mono for prices and labels, Geist for text; Arabic uses the system font.
   Logical properties only, so Arabic (right to left) mirrors by itself. Breakpoints: base (375), 768, 1280. */
@property --g { syntax: '<color>'; inherits: true; initial-value: #efe1c6; }
@property --k { syntax: '<color>'; inherits: true; initial-value: #1d3a6e; }
:root {
  --sand: #f2e5d0; --cobalt: #1d3a6e; --terra: #b5562e; --clay: #e8d6b8; --char: #2b2a26;
  --hair: rgba(43, 42, 38, .18); --soft: rgba(43, 42, 38, .72);
  --display: 'Bodoni Moda', 'Bodoni 72', Didot, 'Times New Roman', serif;
  --mono: 'Geist Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --sans: 'Geist', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ar: 'Geeza Pro', 'Noto Naskh Arabic', 'Noto Sans Arabic', 'Segoe UI', Tahoma, 'DejaVu Sans', sans-serif;
  --ease: cubic-bezier(.2, .8, .2, 1);
  --gut: clamp(1.25rem, 5vw, 5rem);
}
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } *, *::before, *::after { transition-duration: .01ms !important; animation: none !important; } ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; } }
body { background: var(--sand); color: var(--char); font: 400 1.0625rem/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: clip; min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1; }
[dir='rtl'] body, [dir='rtl'] input, [dir='rtl'] textarea, [dir='rtl'] select, [dir='rtl'] button { font-family: var(--ar); }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
[hidden] { display: none !important; }
::selection { background: var(--cobalt); color: var(--sand); }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; }
.foot :focus-visible, body[data-view='home'] .bar:not(.on) :focus-visible, .stage :focus-visible { outline-color: var(--sand); }
.skip { position: absolute; inset-inline-start: -999px; top: .5rem; z-index: 60; background: var(--char); color: var(--sand); padding: .5rem .9rem; }
.skip:focus { inset-inline-start: .5rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.defs { position: absolute; }
.mono { font-family: var(--mono); }
[dir='rtl'] .mono { font-family: var(--ar); }
h1, h2, h3 { font-family: var(--display); font-weight: 400; }
[dir='rtl'] h1:not(.latin), [dir='rtl'] h2, [dir='rtl'] h3 { font-family: var(--ar); font-weight: 700; }

/* the hero's glaze, behind the first screen of the home page only */
#scene { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; background: var(--cobalt); }
#scene.static, body.nogl #scene { background: radial-gradient(50% 40% at 70% 30%, rgba(242, 229, 208, .5), transparent 70%), radial-gradient(60% 50% at 25% 70%, rgba(181, 86, 46, .35), transparent 70%), conic-gradient(from 200deg at 45% 45%, #10254c, #1d3a6e, #2a5596, #1d3a6e, #10254c); }
body:not([data-view='home']) #scene, body.on-paper #scene { visibility: hidden; }

/* header */
.bar { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 1rem; padding: max(.55rem, env(safe-area-inset-top)) var(--gut) .55rem; background: rgba(242, 229, 208, .94); box-shadow: 0 1px 0 var(--hair); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s var(--ease); }
body[data-view='home'] .bar { position: fixed; inset-inline: 0; }
body[data-view='home'] .bar:not(.on) { background: transparent; box-shadow: none; color: var(--sand); backdrop-filter: none; -webkit-backdrop-filter: none; }
.brand { font: 500 1.4rem/1 var(--display); text-decoration: none; white-space: nowrap; }
.menu { display: none; gap: 1.6rem; margin-inline-start: auto; }
.menu a { display: inline-flex; align-items: center; font-size: .92rem; text-decoration: none; min-height: 2.75rem; }
.menu a:hover, .menu a[aria-current='page'] { text-decoration: underline; text-underline-offset: .4em; text-decoration-thickness: 1px; }
.tools { display: flex; align-items: center; gap: .45rem; margin-inline-start: auto; }
.langs { display: flex; }
.langs button { background: none; border: 0; font: 400 .74rem/1 var(--mono); padding: .5rem .45rem; min-width: 2.3rem; min-height: 2.75rem; cursor: pointer; opacity: .75; border-radius: 99px; }
.langs button[lang='ar'] { font-family: var(--ar); font-size: .95rem; }
.langs button[aria-pressed='true'] { opacity: 1; background: var(--char); color: var(--sand); }
body[data-view='home'] .bar:not(.on) .langs button[aria-pressed='true'] { background: var(--sand); color: var(--char); }
.cartbtn { position: relative; display: inline-grid; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; text-decoration: none; }
.cartbtn svg { width: 1.35rem; height: 1.35rem; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.cartbtn b { position: absolute; top: .2rem; inset-inline-end: .1rem; min-width: 1.15rem; height: 1.15rem; padding-inline: .25rem; border-radius: 99px; background: var(--terra); color: #fff; font: 500 .66rem/1.15rem var(--mono); text-align: center; }
.cartbtn.bump b { animation: bump .5s var(--ease); }
@keyframes bump { 40% { transform: scale(1.5); } }
.menubtn, .badge { display: inline-flex; align-items: center; white-space: nowrap; min-height: 2.75rem; font-size: .78rem; text-decoration: none; background: none; border: 1px solid currentColor; border-radius: 99px; padding: .5rem .85rem; cursor: pointer; }
.badge .full { display: none; }
.menu .badge { display: none; }
body.menu-open .menu { display: grid; position: fixed; inset-inline: 0; top: 0; padding: 4.6rem var(--gut) 1.5rem; gap: 0; background: var(--sand); color: var(--char); box-shadow: 0 1px 0 var(--hair); z-index: -1; }
body.menu-open .menu a:not(.badge) { font: 400 1.8rem/1.2 var(--display); border-top: 1px solid var(--hair); padding-block: .7rem; }
[dir='rtl'] body.menu-open .menu a:not(.badge) { font-family: var(--ar); font-size: 1.3rem; font-weight: 600; }
body.menu-open .menu .badge { display: inline-flex; justify-self: start; margin-top: 1rem; }
body.menu-open .bar { background: var(--sand) !important; color: var(--char) !important; }
@media (max-width: 599px) { .tools .badge { display: none; } .brand { font-size: 1.15rem; } .langs button { min-width: 1.95rem; padding-inline: .25rem; } .tools { gap: .2rem; } .bar { gap: .4rem; } .menubtn { padding-inline: .6rem; } }
@media (min-width: 600px) { .badge .full { display: inline; } .badge .short { display: none; } .langs button { padding-inline: .55rem; } }
@media (min-width: 1060px) { .menu { display: flex; } .tools { margin-inline-start: 1.2rem; } .menubtn { display: none; } }

/* buttons */
.cta { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; font-size: .95rem; font-weight: 500; text-decoration: none; text-align: center; border: 1px solid currentColor; border-radius: 99px; padding: .9rem 1.5rem; min-height: 3rem; cursor: pointer; background: transparent; color: inherit; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), opacity .25s; }
.cta:hover { background: var(--char); color: var(--sand); border-color: var(--char); }
.cta.primary { background: var(--cobalt); border-color: var(--cobalt); color: var(--sand); }
.cta.primary:hover { background: var(--char); border-color: var(--char); }
.cta.terra { background: var(--terra); border-color: var(--terra); color: #fff; }
.cta.terra:hover { background: var(--char); border-color: var(--char); }
.cta.light { background: var(--sand); border-color: var(--sand); color: var(--char); }
.cta.light:hover { background: var(--terra); border-color: var(--terra); color: #fff; }
.cta.wide { width: 100%; }
.cta[disabled] { opacity: .4; cursor: default; pointer-events: none; }
.stage .cta:hover { background: var(--sand); color: var(--char); border-color: var(--sand); }
.stage .cta.primary { background: var(--sand); border-color: var(--sand); color: var(--cobalt); }
.textlink { background: none; border: 0; padding: 0; min-height: 2.75rem; cursor: pointer; font-size: .92rem; color: var(--cobalt); text-decoration: underline; text-underline-offset: .3em; text-decoration-thickness: 1px; display: inline-flex; align-items: center; }
.textlink:hover { text-decoration-thickness: 2px; }

/* home: one screen of glaze, then the shop */
.story { position: relative; height: 175vh; height: 175svh; z-index: 2; }
.stage { position: sticky; top: 0; height: 100vh; height: 100dvh; overflow: hidden; color: var(--sand); }
.stage::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(10, 24, 52, .5), transparent 55%); opacity: var(--hero, 1); pointer-events: none; }
.hero { position: absolute; z-index: 1; inset-inline: 0; bottom: max(11svh, 5rem); padding-inline: var(--gut); opacity: var(--hero, 1); transform: translateY(calc((1 - var(--hero, 1)) * -30px)); visibility: var(--hero-vis, visible); }
.hero > * { animation: rise 1.3s var(--ease) both; }
.hero h1 { animation-delay: .12s; } .hero .sub { animation-delay: .3s; } .hero .ctas { animation-delay: .45s; }
@keyframes rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.kicker { font: 400 .8rem/1.4 var(--mono); opacity: .9; margin-bottom: .8rem; }
[dir='rtl'] .kicker { font-family: var(--ar); font-size: .95rem; }
.hero h1 { font-size: clamp(3.6rem, 15vw, 13rem); line-height: .88; letter-spacing: -.035em; text-shadow: 0 6px 60px rgba(10, 24, 52, .5); }
.sub { font-size: clamp(1.1rem, 1.9vw, 1.45rem); max-width: 30ch; margin-top: 1.2rem; }
[dir='rtl'] .sub { line-height: 1.9; }
.ctas { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.6rem; }
body.nogl .story { height: 100vh; height: 100svh; }
.paper { position: relative; z-index: 3; background: var(--sand); }
.wrap { max-width: 82rem; margin-inline: auto; padding-inline: var(--gut); }
.sec { padding-block: clamp(3.5rem, 8vw, 7rem); }
.sec + .sec { border-top: 1px solid var(--hair); }
.sechead { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.8rem, 4vw, 3rem); }
h2 { font-size: clamp(2.2rem, 5.6vw, 4.4rem); line-height: 1; letter-spacing: -.02em; max-width: 16ch; text-wrap: balance; }
[dir='rtl'] h2 { letter-spacing: 0; line-height: 1.3; font-size: clamp(1.9rem, 4.4vw, 3.2rem); }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.2rem); color: var(--soft); max-width: 48ch; margin-top: 1rem; }
[dir='rtl'] .lead { line-height: 1.9; }

/* inner pages */
.page { padding-block: clamp(2rem, 5vw, 4rem) clamp(4rem, 8vw, 7rem); }
.page h1 { font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: .95; letter-spacing: -.03em; outline: none; }
[dir='rtl'] .page h1:not(.latin) { letter-spacing: 0; line-height: 1.3; font-size: clamp(2.1rem, 5.4vw, 4rem); }
.crumb { margin-bottom: 1rem; }

/* product cards */
.grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2rem 1rem; }
@media (min-width: 768px) { .grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 1.6rem; } }
.card { position: relative; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.tile { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--clay); border-radius: 1.2rem; overflow: hidden; text-decoration: none; }
.tile svg { width: 78%; height: 78%; filter: drop-shadow(0 16px 18px rgba(43, 42, 38, .28)); transition: rotate .9s var(--ease), scale .9s var(--ease); }
.card:hover .tile svg { rotate: 18deg; scale: 1.04; }
.plate .ground { fill: var(--g); } .plate .ink { fill: var(--k); } .plate .inks { stroke: var(--k); fill: none; }
.cardname { font: 400 clamp(1.25rem, 2.2vw, 1.75rem)/1.1 var(--display); text-decoration: none; }
[dir='rtl'] .cardname { font-family: var(--ar); font-weight: 700; font-size: clamp(1.1rem, 1.9vw, 1.4rem); line-height: 1.5; }
.cardname::after { content: ''; position: absolute; inset: 0; } /* the whole card opens the product */
.cardrow { display: flex; align-items: center; justify-content: space-between; gap: .6rem; }
.price { font: 500 1rem/1.2 var(--mono); }
[dir='rtl'] .price { font-family: var(--ar); }
.quick { position: relative; z-index: 1; display: inline-flex; align-items: center; justify-content: center; min-width: 2.75rem; min-height: 2.75rem; padding-inline: .9rem; border-radius: 99px; border: 1px solid var(--char); background: transparent; cursor: pointer; font-size: .82rem; transition: background-color .25s var(--ease), color .25s var(--ease); }
.quick:hover { background: var(--char); color: var(--sand); }

/* shop filters */
.filters { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-block: 1.6rem 2.2rem; }
.chip { border: 1px solid var(--hair); background: transparent; border-radius: 99px; padding: .5rem 1rem; min-height: 2.75rem; cursor: pointer; font-size: .9rem; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease); }
.chip[aria-pressed='true'] { background: var(--char); border-color: var(--char); color: var(--sand); }
.sort { margin-inline-start: auto; display: inline-flex; align-items: center; gap: .5rem; font-size: .85rem; color: var(--soft); }
select { appearance: none; -webkit-appearance: none; min-height: 2.75rem; padding-block: .5rem; padding-inline: .9rem 2.2rem; border: 1px solid var(--hair); border-radius: 99px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%232b2a26' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat; background-position: calc(100% - .9rem) center; cursor: pointer; color: var(--char); }
[dir='rtl'] select { background-position: .9rem center; }
.empty { padding-block: 3rem; display: grid; gap: 1rem; justify-items: start; color: var(--soft); }

/* product page */
.product { display: grid; gap: 2rem; }
.pshot { position: relative; display: grid; place-items: center; aspect-ratio: 1; background: var(--clay); border-radius: 1.6rem; transition: --g .7s var(--ease), --k .7s var(--ease); }
.pshot svg { width: 76%; height: 76%; filter: drop-shadow(0 26px 30px rgba(43, 42, 38, .3)); transition: rotate 1.1s var(--ease); }
.pshot.turn svg { rotate: 60deg; }
.pinfo .price { font-size: 1.5rem; margin-top: .8rem; }
.pinfo .desc { margin-top: 1rem; max-width: 46ch; }
.fieldlabel { display: block; font: 400 .76rem/1 var(--mono); color: var(--soft); margin-block: 1.6rem .6rem; }
[dir='rtl'] .fieldlabel { font-family: var(--ar); font-size: .9rem; }
.swatches { display: flex; flex-wrap: wrap; gap: .5rem; }
.sw { display: inline-flex; align-items: center; gap: .5rem; background: none; border: 1px solid var(--hair); border-radius: 99px; padding-block: .35rem; padding-inline: .4rem .9rem; min-height: 2.75rem; cursor: pointer; font-size: .9rem; }
.sw i { width: 1.7rem; height: 1.7rem; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(43, 42, 38, .25); }
.sw[aria-checked='true'] { border-color: var(--char); background: var(--clay); box-shadow: inset 0 0 0 1px var(--char); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--hair); border-radius: 99px; }
.qty button { width: 2.75rem; height: 2.75rem; border: 0; background: none; cursor: pointer; font-size: 1.2rem; border-radius: 50%; }
.qty button:hover { background: var(--clay); }
.qty output { min-width: 2rem; text-align: center; font: 500 1rem/1 var(--mono); }
.buyrow { display: flex; flex-wrap: wrap; align-items: center; gap: .8rem; margin-top: 1.6rem; }
.buyrow .cta { flex: 1 1 14rem; }
.tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: 1.6rem; padding: 0; list-style: none; }
.tags li { font-size: .82rem; border: 1px solid var(--hair); border-radius: 99px; padding: .35rem .8rem; }
.smallnote { font-size: .9rem; color: var(--soft); margin-top: 1.2rem; max-width: 46ch; }
@media (min-width: 900px) { .product { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; align-items: start; } .pshot { position: sticky; top: 5.5rem; } }

/* cart and checkout */
.two { display: grid; gap: 2.5rem; margin-top: 2rem; }
@media (min-width: 960px) { .two { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 4rem; align-items: start; } }
.lines { list-style: none; padding: 0; border-bottom: 1px solid var(--hair); }
.line { display: grid; grid-template-columns: 4.6rem 1fr auto; gap: .3rem 1rem; align-items: center; padding-block: 1rem; border-top: 1px solid var(--hair); }
.line .thumb { grid-row: 1 / span 2; width: 4.6rem; aspect-ratio: 1; background: var(--clay); border-radius: .8rem; display: grid; place-items: center; }
.line .thumb svg { width: 80%; height: 80%; }
.line h3 { font-size: 1.3rem; line-height: 1.15; }
[dir='rtl'] .line h3 { font-size: 1.1rem; line-height: 1.5; }
.line .meta { font-size: .85rem; color: var(--soft); }
.line .ltotal { font: 500 1rem/1 var(--mono); text-align: end; }
.line .lctl { grid-column: 2 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.summary { background: var(--clay); border-radius: 1.2rem; padding: 1.5rem; display: grid; gap: .9rem; position: sticky; top: 5.5rem; }
.summary h2 { font-size: 1.7rem; }
.sumrow { display: flex; justify-content: space-between; gap: 1rem; font-size: .98rem; }
.sumrow b { font: 500 1rem/1.4 var(--mono); }
.sumrow.total { border-top: 1px solid var(--char); padding-top: .9rem; font-size: 1.15rem; }
.sumrow.total b { font-size: 1.25rem; }
.summary label { display: grid; gap: .35rem; font-size: .82rem; color: var(--soft); }
.summary select { width: 100%; background-color: var(--sand); }
.summary .tiny { font-size: .8rem; color: var(--soft); }
.form { display: grid; gap: 1.1rem; }
.form h2 { font-size: 1.7rem; margin-top: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .84rem; color: var(--soft); }
.form input, .form textarea { width: 100%; background: rgba(255, 255, 255, .5); border: 1px solid rgba(43, 42, 38, .4); border-radius: .7rem; padding: .8rem .95rem; font-size: 1.02rem; color: var(--char); min-height: 3rem; }
.form textarea { resize: vertical; }
.form input:focus-visible, .form textarea:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 1px; }
.form [aria-invalid='true'] { border-color: var(--terra); background: rgba(181, 86, 46, .06); }
.form .err { font-size: .8rem; color: var(--terra); min-height: 1em; }
.form .paynote { background: var(--clay); border-radius: .8rem; padding: 1rem 1.1rem; font-size: .95rem; }
@media (min-width: 640px) { .form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; } }
.note { font-size: .85rem; color: var(--soft); }
.note.ok { color: var(--cobalt); font-weight: 600; }

/* order confirmation */
.done { max-width: 44rem; }
.ordernum { display: inline-grid; gap: .2rem; margin-top: 1.6rem; padding: 1rem 1.3rem; background: var(--clay); border-radius: 1rem; }
.ordernum b { font: 500 1.5rem/1.1 var(--mono); letter-spacing: .02em; }
.ordernum span { font-size: .8rem; color: var(--soft); }
.done .lines { margin-top: 2rem; }
.done .ctas { margin-top: 2rem; }

/* how it is made, questions, ask */
.steps { list-style: none; padding: 0; display: grid; gap: 0; counter-reset: st; border-bottom: 1px solid var(--hair); }
.steps li { counter-increment: st; display: grid; grid-template-columns: 3.4rem 1fr; gap: .2rem 1rem; padding-block: 1.3rem; border-top: 1px solid var(--hair); }
.steps li::before { content: counter(st); grid-row: 1 / span 2; font: 400 2.6rem/1 var(--display); color: var(--terra); }
.steps h3 { font-size: 1.6rem; line-height: 1.1; }
[dir='rtl'] .steps h3 { font-size: 1.3rem; line-height: 1.5; }
.steps p { color: var(--soft); max-width: 44ch; }
@media (min-width: 900px) { .steps.cols { grid-template-columns: 1fr 1fr; column-gap: 4rem; } }
.faq { border-bottom: 1px solid var(--hair); }
.faq details { border-top: 1px solid var(--hair); }
.faq summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; min-height: 3rem; font: 400 clamp(1.2rem, 2.2vw, 1.6rem)/1.2 var(--display); }
[dir='rtl'] .faq summary { font-family: var(--ar); font-weight: 700; font-size: 1.15rem; line-height: 1.6; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font: 400 1.4rem/1 var(--mono); color: var(--terra); transition: rotate .3s var(--ease); }
.faq details[open] summary::after { rotate: 45deg; }
.faq details p { padding-block: 0 1.2rem; max-width: 54ch; color: var(--soft); }
.chips { display: flex; flex-wrap: wrap; gap: .6rem; }
.chips button { background: transparent; border: 1px solid var(--cobalt); color: var(--cobalt); border-radius: 99px; padding: .75rem 1.2rem; min-height: 3rem; cursor: pointer; font-size: 1rem; text-align: start; transition: background-color .25s var(--ease), color .25s var(--ease); }
.chips button:hover { background: var(--cobalt); color: var(--sand); }
.narrow { max-width: 46rem; }

/* footer */
.foot { background: var(--char); color: var(--sand); padding-block: clamp(3rem, 7vw, 5rem) 5.5rem; position: relative; z-index: 3; }
.wordmark { font: 400 clamp(3rem, 15vw, 13rem)/.85 var(--display); letter-spacing: -.04em; white-space: nowrap; overflow: hidden; }
.footgrid { display: grid; gap: 1.5rem; margin-top: 2.5rem; align-items: start; justify-items: start; }
.foot-note { max-width: 44ch; opacity: .85; }
.footnav { display: grid; gap: .1rem; }
.footnav a { text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; }
.footnav a:hover { text-decoration: underline; text-underline-offset: .3em; }
@media (min-width: 900px) { .footgrid { grid-template-columns: 2fr 1fr auto; gap: 3rem; } }

/* a small message when something is added to the cart */
.toast { position: fixed; z-index: 50; inset-inline: 0; bottom: 1.2rem; margin-inline: auto; width: max-content; max-width: calc(100% - 7rem); display: flex; align-items: center; gap: 1rem; background: var(--char); color: var(--sand); border-radius: 99px; padding: .5rem .6rem .5rem 1.2rem; font-size: .92rem; box-shadow: 0 16px 40px rgba(43, 42, 38, .35); animation: toast .45s var(--ease); }
[dir='rtl'] .toast { padding: .5rem 1.2rem .5rem .6rem; }
.toast a { background: var(--sand); color: var(--char); border-radius: 99px; padding: .5rem 1rem; text-decoration: none; min-height: 2.75rem; display: inline-flex; align-items: center; white-space: nowrap; }
@keyframes toast { from { opacity: 0; translate: 0 1rem; } }

/* the potter's wheel: shape your own piece */
.maker { display: grid; gap: 2rem; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 960px) { .maker { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 4rem; align-items: start; } }
.wheelbox { position: relative; background: radial-gradient(110% 80% at 50% 30%, #f6ead2, #e4d0ac 70%, #d8c097); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .5), 0 30px 60px -40px rgba(43, 42, 38, .5); border-radius: 1.6rem; max-width: min(100%, max(20rem, calc(100svh - 9rem) * .95)); margin-inline: auto; width: 100%; transition: --g .6s var(--ease); }
@media (min-width: 960px) { .wheelbox { position: sticky; top: 5.5rem; } }
#wheel { display: block; width: 100%; height: auto; touch-action: none; user-select: none; -webkit-user-select: none; }
#wheel .hd { cursor: ew-resize; outline: none; }
#wheel .hd .vis { fill: #fff; stroke: var(--char); stroke-width: 2.5; }
#wheel .hd.ht { cursor: ns-resize; }
#wheel .hd.ht .vis { fill: var(--terra); stroke: #fff; }
#wheel .hd:hover .vis, #wheel .hd:focus-visible .vis, #wheel .hd.on .vis { fill: var(--cobalt); stroke: #fff; }
#wheel .guide { stroke: rgba(43, 42, 38, .3); stroke-width: 1; stroke-dasharray: 3 5; }
#wheel .spin { animation: spin 1.6s linear infinite; }
#wheel .marks { animation: marks 2.4s linear infinite; }
@keyframes spin { to { transform: translateX(-48px); } }
@keyframes marks { to { stroke-dashoffset: -60; } }
.presets { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; }
.dims { display: flex; flex-wrap: wrap; gap: .4rem; list-style: none; padding: 0; margin-top: 1rem; }
.dims li { font-size: .85rem; border: 1px solid var(--hair); border-radius: 99px; padding: .35rem .85rem; }
.dims b { font-family: var(--mono); font-weight: 500; }
.line .thumb svg.pot { width: 92%; height: 92%; }

/* finish: weight and light on everything you can press, steadier numerals, cleaner type */
body { text-rendering: optimizeLegibility; font-kerning: normal; }
h1, h2, h3 { text-wrap: balance; }
output, time, .price, .mono, .qtotal b, .priceline b, .ref b, .num { font-variant-numeric: tabular-nums; }
.cta, .chip, .day, .slot, .sw, .quick, .wchip, .qchips button, .chips button, .nudge button, .qty button, .moon, .langs button { transition-property: background-color, color, border-color, transform, box-shadow, opacity; transition-duration: .2s; transition-timing-function: cubic-bezier(.2, .8, .2, 1); }
.cta:active, .chip:active, .day:active, .slot:active, .sw:active, .quick:active, .wchip:active, .qchips button:active, .chips button:active, .nudge button:active { transform: translateY(1px) scale(.985); }
.cta.primary, .cta.terra { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), 0 12px 22px -14px rgba(0, 0, 0, .65); }
.cta.primary:hover, .cta.terra:hover { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 16px 26px -14px rgba(0, 0, 0, .7); transform: translateY(-1px); }
.card, .panel, .summary { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .7), 0 1px 2px rgba(0, 0, 0, .06), 0 22px 44px -26px rgba(0, 0, 0, .5), 0 60px 90px -70px rgba(0, 0, 0, .45); }
input[type=text], input[type=email], input[type=tel], textarea { transition: border-color .2s, box-shadow .2s; box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06); }
input[type=text]:focus-visible, input[type=email]:focus-visible, input[type=tel]:focus-visible, textarea:focus-visible { box-shadow: inset 0 1px 2px rgba(0, 0, 0, .06), 0 0 0 4px color-mix(in srgb, currentColor 14%, transparent); }
.day[aria-pressed='true'], .slot[aria-pressed='true'], .chip[aria-pressed='true'] { box-shadow: inset 0 1px 0 rgba(255, 255, 255, .2), 0 8px 14px -10px rgba(0, 0, 0, .6); }

/* talk: the assistant shown as a conversation; facts as numbered cards; the footer name fitted to its width */
:root { --t-acc: #1d3a6e; --t-bg: #e8d6b8; --t-fg: #2b2a26; }
.talk { background: var(--t-bg) !important; color: var(--t-fg) !important; }
.talk .lead { color: color-mix(in srgb, var(--t-fg) 82%, transparent) !important; }
.talkgrid { display: grid; gap: 2rem; align-items: center; }
@media (min-width: 900px) { .talkgrid { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 4rem; } }
.chat { background: #fffdf9; color: #1d2422; border-radius: 1.6rem; padding: 1.3rem; display: grid; gap: 1rem; max-width: 34rem; width: 100%; justify-self: end; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .9), 0 2px 4px rgba(0, 0, 0, .08), 0 30px 60px -30px rgba(0, 0, 0, .55), 0 70px 90px -70px rgba(0, 0, 0, .5); transform: rotate(-.6deg); }
[dir='rtl'] .chat { transform: rotate(.6deg); }
.chat .who { display: flex; align-items: center; gap: .8rem; padding-bottom: .9rem; border-bottom: 1px solid rgba(29, 36, 34, .1); }
.chat .av { width: 2.8rem; height: 2.8rem; border-radius: 50%; display: grid; place-items: center; background: radial-gradient(circle at 34% 28%, color-mix(in srgb, var(--t-acc) 60%, #fff), var(--t-acc) 62%, color-mix(in srgb, var(--t-acc) 70%, #000)); color: #fff; font-weight: 600; font-size: 1.15rem; box-shadow: 0 6px 12px -6px rgba(0, 0, 0, .5); }
.chat .who strong { display: block; font-weight: 600; font-size: 1.05rem; line-height: 1.2; }
.chat .who small { display: flex; align-items: center; gap: .4rem; font-size: .8rem; color: rgba(29, 36, 34, .65); }
.chat .who small::before { content: ''; width: .5rem; height: .5rem; border-radius: 50%; background: #3fae6a; box-shadow: 0 0 0 3px rgba(63, 174, 106, .2); }
.chat .bubble { justify-self: start; max-width: 90%; background: color-mix(in srgb, var(--t-acc) 9%, #f4f1ea); border-radius: 1.2rem; border-start-start-radius: .3rem; padding: .85rem 1.05rem; font-size: 1.02rem; line-height: 1.5; }
.chat .qchips { display: flex; flex-wrap: wrap; margin-top: 0 !important; justify-content: flex-end; gap: .45rem; }
.chat .qchips button { background: transparent !important; color: var(--t-acc) !important; border: 1.5px solid color-mix(in srgb, var(--t-acc) 55%, transparent) !important; border-radius: 1.2rem !important; border-end-end-radius: .3rem !important; padding: .6rem 1rem !important; min-height: 2.75rem; font: 500 .95rem/1.3 var(--sans, inherit) !important; text-align: start; }
[dir='rtl'] .chat .qchips button { font-family: var(--ar) !important; }
.chat .qchips button:hover { background: var(--t-acc) !important; color: #fff !important; border-color: var(--t-acc) !important; }
.rules { counter-reset: rule; grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); max-width: none !important; gap: .7rem !important; }
.rules li { counter-increment: rule; padding: 1rem 1.1rem 1.1rem !important; border: 1px solid color-mix(in srgb, currentColor 16%, transparent); border-radius: .9rem; background: color-mix(in srgb, currentColor 3%, transparent); line-height: 1.5; }
.rules li::before { content: counter(rule, decimal-leading-zero) !important; position: static !important; display: block; width: auto !important; height: auto !important; background: none !important; border-radius: 0 !important; font: 500 .74rem/1 ui-monospace, 'Geist Mono', Menlo, monospace; letter-spacing: .06em; opacity: .6; margin-bottom: .55rem; }
.wordmark { font-size: min(13rem, calc(150vw / var(--chars, 12))) !important; }

/* polish 2: brand mark, the confirmation moment, paper grain, sections that ease in */
.mark { display: none; flex: none; width: 1.75rem; height: 1.75rem; color: inherit; margin-inline-end: -.45rem; }
.mark svg { width: 100%; height: 100%; display: block; }
@media (min-width: 480px) { .mark { display: block; } }
.okmark { width: 3.2rem; height: 3.2rem; color: var(--t-acc); display: block; }
.okmark circle { fill: color-mix(in srgb, var(--t-acc) 10%, transparent); stroke: currentColor; stroke-width: 2.4; stroke-dasharray: 151; stroke-dashoffset: 151; animation: okdraw .65s cubic-bezier(.6, 0, .2, 1) forwards; }
.okmark path { fill: none; stroke: currentColor; stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 40; stroke-dashoffset: 40; animation: okdraw .4s .5s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes okdraw { to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: reduce) { .okmark circle, .okmark path { stroke-dashoffset: 0; } }
.ref, .ordernum { position: relative; border: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent); background: color-mix(in srgb, var(--t-acc) 6%, transparent) !important; padding-inline: 1.3rem 2.6rem !important; }
.ref::after, .ordernum::after { content: ''; position: absolute; inset-inline-end: .8rem; top: 50%; width: 1.1rem; height: 1.1rem; margin-top: -.55rem; border-radius: 50%; border: 1.5px dashed color-mix(in srgb, currentColor 35%, transparent); }
body::after { content: ''; position: fixed; inset: 0; z-index: 40; pointer-events: none; opacity: .055; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .5  0 0 0 0 .5  0 0 0 0 .5  0 0 0 1.1 -.2'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)'/%3E%3C/svg%3E"); }
@supports (animation-timeline: view()) { @media (prefers-reduced-motion: no-preference) {
  .sec > .wrap, .talk .chat { animation: easein linear both; animation-timeline: view(); animation-range: entry 0% entry 55%; }
  @keyframes easein { from { opacity: 0; transform: translateY(34px); } } } }
.tile { transition: transform .5s cubic-bezier(.2, .8, .2, 1), box-shadow .5s cubic-bezier(.2, .8, .2, 1); }
.card:hover .tile { transform: perspective(800px) rotateX(7deg) translateY(-6px); box-shadow: 0 34px 40px -26px rgba(43, 42, 38, .55); }

#wheel .hd .vis { transition: fill .2s, stroke .2s; } /* the handles ease on hover */
