/* THE STOREFRONT: stylesheet. Manrope for reading, Lora for headings. Three looks: merchant, kiln, signal. */
/* Metric-matched fallbacks (measured in Chrome against the Google faces, 2026-09-25): the page keeps its shape while Manrope and Lora load. */
@font-face { font-family: "Manrope Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"); size-adjust: 101%; ascent-override: 105.9%; descent-override: 29.7%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"); size-adjust: 102.6%; ascent-override: 104.3%; descent-override: 29.2%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 98.1%; ascent-override: 109.1%; descent-override: 30.6%; line-gap-override: 0%; }
@font-face { font-family: "Manrope Fallback"; font-weight: 700 900; src: local("Arial Bold"), local("Arial-BoldMT"); size-adjust: 99.6%; ascent-override: 107.5%; descent-override: 30.1%; line-gap-override: 0%; }
@font-face { font-family: "Lora Fallback"; font-weight: 400 500; src: local("Georgia"); size-adjust: 105.2%; ascent-override: 96%; descent-override: 25.7%; line-gap-override: 0%; }
@font-face { font-family: "Lora Fallback"; font-weight: 600; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 92%; ascent-override: 109.7%; descent-override: 29.3%; line-gap-override: 0%; }
@font-face { font-family: "Lora Fallback"; font-weight: 700 900; src: local("Georgia Bold"), local("Georgia-Bold"); size-adjust: 92.7%; ascent-override: 108.9%; descent-override: 29.1%; line-gap-override: 0%; }
:root {
  --font-head: "Lora", "Lora Fallback", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", "Manrope Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --radius: 6px;
  --wrap: 1180px;
  --bg: #f7f1e6;
  --bg2: #efe6d6;
  --panel: #fffaf1;
  --line: #d8ccb6;
  --ink: #1f2a3a;
  --ink2: #52596a;
  --accent: #7a1f2b;
  --accent-ink: #ffffff;
  --link: #5f1620;
  --hero-a: #f9f4ea;
  --hero-b: #ece2cf;
  --hero-ink: #1f2a3a;
  --mote: rgba(122,31,43,.26);
  --lamp: rgba(226,178,58,.32);
  --grain: rgba(31,42,58,.05);
  --foot: #1f2a3a;
  --foot-ink: #d7dbe3;
  --ok: #256a3d;
  --warn: #b98a1c;
  --bad: #c0392b;
}
html[data-look="kiln"] {
  --bg: #2a211c; --bg2: #352a24; --panel: #3a2e27; --line: #5a4a40; --ink: #f3e9dc; --ink2: #cbbba9;
  --accent: #d9932c; --accent-ink: #1e1611; --link: #e8ad55;
  --hero-a: #33281f; --hero-b: #221a15; --hero-ink: #f3e9dc; --mote: rgba(217,147,44,.4); --lamp: rgba(217,147,44,.22); --grain: rgba(255,255,255,.035);
  --foot: #1b1410; --foot-ink: #cbbba9;
}
html[data-look="signal"] {
  --bg: #ffffff; --bg2: #f2f4f8; --panel: #ffffff; --line: #d6dbe6; --ink: #101828; --ink2: #4a5468;
  --accent: #1d3fbf; --accent-ink: #ffffff; --link: #1735a0;
  --hero-a: #ffffff; --hero-b: #e9edf8; --hero-ink: #101828; --mote: rgba(29,63,191,.28); --lamp: rgba(29,63,191,.12); --grain: rgba(16,24,40,.035);
  --foot: #101828; --foot-ink: #cdd3e0;
}
html[data-font="lora"] { --font-head: "Lora", "Lora Fallback", Georgia, serif; }
html[data-font="manrope"] { --font-head: "Manrope", "Manrope Fallback", "Helvetica Neue", Helvetica, Arial, sans-serif; }
html[data-font="system"] { --font-head: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; --font-body: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
html[data-corners="round"] { --radius: 16px; }
html[data-corners="sharp"] { --radius: 0px; }
html[data-zone="center"] .hero-in { text-align: center; margin-inline: auto; }
html[data-zone="center"] .hero-in .ctas { justify-content: center; }
html[data-zone="center"] .hero .sub { margin-inline: auto; }
html[data-zone="right"] .hero-in { margin-left: auto; text-align: right; }
html[data-zone="right"] .hero-in .ctas { justify-content: flex-end; }
html[data-zone="right"] .hero .sub { margin-left: auto; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.62 var(--font-body); }
img, svg { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.12; margin: 0 0 .5em; text-wrap: balance; letter-spacing: 0; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 6vw, 4.3rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: 1.25rem; }
.wrap { width: min(var(--wrap), 100% - 32px); margin-inline: auto; }
.wrap.narrow { max-width: 760px; }
.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 8px; top: -60px; background: var(--accent); color: var(--accent-ink); padding: 8px 12px; z-index: 50; border-radius: var(--radius); }
.skip:focus { top: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.tiny { font-size: .85rem; color: var(--ink2); }
.lead { font-size: 1.1rem; color: var(--ink2); max-width: 37.82em; }
.row { display: flex; flex-wrap: wrap; gap: 10px 14px; align-items: center; }
.linkish { background: none; border: 0; padding: 0; font: inherit; color: var(--link); text-decoration: underline; cursor: pointer; }
.caps, .kicker, .when, .meta, .more a, .status, .nav a, .foot-head { font-family: var(--font-body); text-transform: uppercase; letter-spacing: .12em; font-size: .76rem; font-weight: 600; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; gap: 8px; background: var(--accent); color: var(--accent-ink); border: 1.5px solid var(--accent); border-radius: var(--radius); padding: 11px 20px; font: 600 .94rem/1.1 var(--font-body); letter-spacing: .01em; text-decoration: none; cursor: pointer; }
.btn.big { padding: 15px 26px; font-size: 1rem; }
.btn.small { padding: 8px 14px; font-size: .86rem; }
.btn.ghost { background: transparent; color: var(--ink); border-color: var(--ink2); }
.hero .btn.ghost { color: var(--hero-ink); border-color: var(--hero-ink); }
.btn svg { width: 1.1em; height: 1.1em; fill: currentColor; flex: none; }
.btn[disabled], .btn.soldout { opacity: .55; cursor: not-allowed; }
.btn.soldout { background: var(--ink2); border-color: var(--ink2); color: #fff; }
.chip { display: inline-block; background: var(--bg2); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; font: 500 .82rem/1.3 var(--font-body); color: var(--ink); cursor: pointer; }

/* Notice line (free shipping) and the demo ribbon */
.notice { margin: 0; background: var(--ink); color: var(--bg); text-align: center; font-size: .86rem; padding: 7px 16px; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 28px; }
html[data-look="kiln"] .notice { background: var(--accent); color: var(--accent-ink); }
.notice-in { margin: 0 0 16px; padding: 10px 14px; background: var(--bg2); border-left: 4px solid var(--accent); font-size: .92rem; }
.ribbon { background: #fff4d6; color: #3a2a00; border-bottom: 3px solid #e2b23a; font-size: .92rem; }
.ribbon .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 24px; padding: 8px 0; }
.ribbon p { margin: 0; }
.ribbon a { color: #7a4a00; }
.yours { display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: end; margin: 0; }
.yours label { display: flex; flex-direction: column; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: #3a2a00; }
.yours input, .yours select { width: 150px; border: 1px solid #b89658; background: #fff; color: #222; border-radius: 4px; padding: 6px 8px; margin: 2px 0 0; font: inherit; font-size: .9rem; }
.yours .btn.small { background: #7a4a00; border-color: #7a4a00; color: #fff; }
.yours .btn.small.ghost { background: transparent; color: #7a4a00; }
.yours .yours-lead { margin: 0; flex: 1 1 100%; }
@media (max-width: 720px) { .yours { display: grid; grid-template-columns: 1fr 1fr; } .yours .yours-lead { grid-column: 1 / -1; } .yours input, .yours select { width: 100%; } }

/* Header */
.top { background: var(--bg); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 20; }
.bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 28px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font: 600 1.4rem/1 var(--font-head); }
.mark { width: 32px; height: 32px; fill: var(--accent); flex: none; }
.mark-cut { fill: var(--bg); }
.nav { display: flex; flex-wrap: wrap; gap: 2px 20px; }
.nav a { color: var(--ink); text-decoration: none; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--accent); }
.tools { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.cartbtn { position: relative; }
.cartbtn .count { display: inline-grid; place-items: center; min-width: 1.5em; height: 1.5em; padding: 0 .35em; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: .78rem; font-style: normal; font-weight: 700; margin-left: 2px; }
.cartbtn.here { border-color: var(--accent); }
@media (max-width: 720px) {
  .call span b { display: none; }
  .bar { padding: 10px 0; gap: 8px 16px; }
  .brand { font-size: 1.15rem; }
  .nav { gap: 2px 12px; font-size: .72rem; }
  .cartbtn span { font-size: .84rem; }
}

/* Language picker */
.langpick { position: relative; }
.langpick summary { list-style: none; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: var(--radius); border: 1px solid var(--line); font-size: .85rem; }
.langpick summary::-webkit-details-marker { display: none; }
.globe { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.langmenu { position: absolute; right: 0; top: calc(100% + 6px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,.18); padding: 6px; min-width: 160px; z-index: 30; list-style: none; margin: 0; }
.langmenu a { display: block; padding: 6px 10px; text-decoration: none; color: var(--ink); border-radius: 4px; white-space: nowrap; }
.langmenu a:hover, .langmenu a[aria-current="true"] { background: var(--bg2); }

/* Hero */
.hero { position: relative; overflow: hidden; background: linear-gradient(165deg, var(--hero-a), var(--hero-b)); color: var(--hero-ink); padding: clamp(60px, 9vw, 130px) 0 clamp(64px, 8vw, 110px); isolation: isolate; }
.hero.small { padding: clamp(40px, 6vw, 76px) 0 clamp(48px, 6vw, 80px); }
.hero.small h1 { font-size: clamp(2rem, 4.4vw, 3.1rem); }
.hero-in { position: relative; z-index: 2; max-width: 800px; border-top: 2px solid var(--accent); padding-top: 26px; }
.kicker { color: var(--accent); margin: 0 0 16px; }
.hero .sub { font-size: clamp(1.06rem, 2vw, 1.28rem); color: var(--ink2); max-width: 34.16em; /* was 56ch: em keeps the width steady while Manrope loads */ }
.ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 0; }
.paper { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.grain { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent 0 3px, var(--grain) 3px 4px); opacity: .6; }
.lamp { position: absolute; right: -10%; top: min(-120px, -14vw); width: 55vw; max-width: 720px; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at center, var(--lamp), transparent 62%); }
.motes { position: absolute; inset: 0; overflow: hidden; }
.mote { position: absolute; bottom: -12px; left: 18%; width: 7px; height: 7px; border-radius: 50%; background: var(--mote); animation: drift 22s linear infinite; }
.mote.m2 { left: 36%; width: 5px; height: 5px; animation-duration: 27s; animation-delay: -9s; }
.mote.m3 { left: 55%; animation-duration: 19s; animation-delay: -4s; }
.mote.m4 { left: 70%; width: 9px; height: 9px; animation-duration: 31s; animation-delay: -16s; }
.mote.m5 { left: 86%; width: 4px; height: 4px; animation-duration: 24s; animation-delay: -12s; }
@keyframes drift { 0% { transform: translate3d(0,0,0); opacity: 0; } 12% { opacity: 1; } 88% { opacity: 1; } 100% { transform: translate3d(28px,-520px,0); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mote { animation: none; opacity: 0; } }
html[data-still] .mote { animation: none; opacity: 0; }
.still { position: absolute; right: 0; bottom: 0; z-index: 3; background: var(--panel); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font: 500 .78rem/1 var(--font-body); cursor: pointer; }

/* Bands */
.band { padding: clamp(46px, 7vw, 92px) 0; }
.band.alt { background: var(--bg2); }
.band-head { display: grid; grid-template-columns: 1fr; gap: 6px 48px; align-items: end; margin-bottom: clamp(24px, 4vw, 40px); }
@media (min-width: 900px) { .band-head { grid-template-columns: 1.1fr 1fr; } }
.band-head p { margin: 0; }
.more { margin: 32px 0 0; }
.more a { color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--accent); padding-bottom: 3px; }

/* Line-drawn pottery */
.art { display: grid; place-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); aspect-ratio: 16 / 11; padding: 10%; color: var(--accent); }
.art svg { width: 100%; height: auto; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
a.art { text-decoration: none; transition: border-color .2s, transform .2s; }
a.art:hover { border-color: var(--accent); }
.art.big { aspect-ratio: 4 / 3; padding: 8%; }
html[data-look="kiln"] .art { background: var(--bg2); }

/* Shop grid and product cards */
.grid.products { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px 22px; }
.grid.products.three { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.product { display: flex; flex-direction: column; gap: 12px; }
.product .caption h3 { margin: 0 0 4px; font-size: 1.15rem; }
.product .caption h3 a { color: var(--ink); text-decoration: none; }
.product .caption h3 a:hover { text-decoration: underline; text-decoration-color: var(--accent); }
.price { margin: 0 0 6px; font-family: var(--font-body); font-weight: 700; font-variant-numeric: tabular-nums; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; }
.price .amount { font-size: 1.05rem; }
.price.big .amount { font-size: 1.6rem; }
.flag { display: inline-block; background: var(--ink2); color: #fff; border-radius: 999px; padding: 2px 10px; font-size: .74rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.stock { display: inline-block; color: var(--ok); font-size: .8rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
html[data-look="kiln"] .stock { color: #8fd19e; }
html[data-look="kiln"] .totals .free { color: #8fd19e; }
.short { margin: 0 0 12px; color: var(--ink2); font-size: .95rem; }
.product .row { margin: auto 0 0; }
.product.is-out .art { opacity: .6; }

/* Product page */
.product-in { display: grid; grid-template-columns: 1fr; gap: 32px 48px; align-items: start; }
@media (min-width: 860px) { .product-in { grid-template-columns: 1.05fr 1fr; } .product-in .art.big { position: sticky; top: 90px; } }
.product-copy h1 { font-size: clamp(1.9rem, 4vw, 2.9rem); }
.product-copy .kicker a { color: var(--accent); text-decoration: none; }
.product-copy .ctas { margin-top: 18px; }
.pay-note { margin: 10px 0 22px; }
.details { margin: .4em 0 0; padding-left: 20px; color: var(--ink2); }
.details li { margin: 0 0 4px; }
#share-note:empty { display: none; }

/* Cart */
.cart-lines { display: grid; gap: 10px; margin: 0 0 20px; }
.cart-lines .line { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 12px 16px; }
.cart-lines .line b { font-weight: 600; }
.cart-lines .line a { color: var(--ink); }
.cart-lines .line .qty { display: inline-flex; align-items: center; gap: 6px; }
.cart-lines .line .qty button { width: 30px; height: 30px; border-radius: 999px; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font: 600 1rem/1 var(--font-body); cursor: pointer; }
.cart-lines .line .qty output { min-width: 1.6em; text-align: center; font-variant-numeric: tabular-nums; }
.cart-lines .line .each { color: var(--ink2); font-size: .88rem; }
.cart-lines .line .sum { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.cart-lines .line .drop { grid-column: 1 / -1; justify-self: start; }
.cart-lines .empty { margin: 0; padding: 18px; background: var(--bg2); border-radius: var(--radius); }
.cart-lines .empty a { font-weight: 600; }
.totals { display: grid; grid-template-columns: 1fr auto; gap: 6px 24px; margin: 0 0 18px; padding: 14px 16px; border-top: 2px solid var(--ink); border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.totals dt { color: var(--ink2); }
.totals dd { margin: 0; text-align: right; font-weight: 700; }
.totals .free { color: var(--ok); }
#cart-actions { margin: 0 0 30px; }
#order-head { margin-top: 10px; }

/* Shipping table */
.rates { width: 100%; border-collapse: collapse; margin: 16px 0 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.rates th, .rates td { text-align: left; padding: 10px 14px; border-top: 1px solid var(--line); vertical-align: top; }
.rates thead th { border-top: 0; background: var(--bg2); font-family: var(--font-body); text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; }
.rates tbody th { font-weight: 600; }
.rates td:nth-child(2) { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Story blocks */
.colophon { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 28px 36px; }
.colophon > div { border-top: 2px solid var(--accent); padding-top: 16px; }
.colophon h3 { font-size: 1.15rem; }
.colophon p { margin: 0; color: var(--ink2); }
.colophon.three { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.contact-cards p { color: var(--ink); }
.timeline { list-style: none; padding: 0 0 0 28px; margin: 0; border-left: 2px solid var(--line); }
.timeline li { position: relative; padding: 0 0 26px; }
.timeline li::before { content: ""; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--bg); border: 2px solid var(--accent); }
.timeline .when { display: block; color: var(--accent); margin-bottom: 6px; }
.timeline p { margin: 0; color: var(--ink2); }
.quote-band { background: var(--bg2); }
.faq .qa { border-top: 1px solid var(--line); padding: 20px 0 8px; }
.faq .qa h3 { font-size: 1.1rem; }
.faq .qa p { margin: 0 0 8px; color: var(--ink2); }
.hours table { width: 100%; border-collapse: collapse; background: var(--panel); border: 1px solid var(--line); }
.hours th, .hours td { text-align: left; padding: 9px 14px; border-top: 1px solid var(--line); }
.hours thead th { border-top: 0; text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; background: var(--bg2); }
.prose h2 { font-size: 1.5rem; margin-top: 1.6em; }
.prose p, .prose li { color: var(--ink2); }
.prose p strong, .prose li strong { color: var(--ink); }
.steps { padding-left: 22px; }
.steps li { margin: 0 0 8px; }
.big-steps { font-size: 1.04rem; counter-reset: none; }
.big-steps li { padding-left: 4px; margin: 0 0 12px; }
.big-steps li::marker { color: var(--accent); font-weight: 700; }

/* Forms */
label { display: block; font-weight: 500; font-size: .95rem; }
input, select, textarea { font: inherit; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 10px 12px; width: 100%; margin-top: 4px; }
input[type="color"] { width: 48px; height: 36px; padding: 2px; }
.grid2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 14px; }
.block { margin-bottom: 14px; }
.hp { position: absolute; left: -9999px; }
.form-status { min-height: 1.4em; font-weight: 500; }
.quote { border-top: 1px solid var(--line); padding-top: 24px; }
.receipt { background: var(--panel); border: 1px solid var(--line); border-left: 4px solid var(--accent); padding: 18px 20px; border-radius: var(--radius); }
.signup { border-top: 1px solid var(--line); }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; align-items: end; }
.signup-form input { flex: 1 1 240px; margin: 0; }
.fallback { background: var(--panel); border: 1px solid var(--line); padding: 14px 16px; border-radius: var(--radius); }

/* Footer */
.foot { background: var(--foot); color: var(--foot-ink); padding: 48px 0 90px; }
.foot a { color: #fff; }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px 40px; margin-bottom: 30px; }
.foot-grid p { margin: 0 0 8px; }
.foot-brand { font: 600 1.4rem/1 var(--font-head); color: #fff; }
.foot-head { color: #fff; margin-bottom: .5em; }
.foot-links { display: flex; flex-wrap: wrap; gap: 4px 16px; }
.foot-line { border-top: 1px solid rgba(255,255,255,.15); padding-top: 18px; font-size: .9rem; margin: 0; }
.foot .linkish { color: var(--foot-ink); }
.foot .tiny { color: var(--foot-ink); }
.noscript { padding: 10px 16px; background: var(--bg2); text-align: center; font-size: .9rem; margin: 0; }

/* Call bar on small screens */
.callbar { display: none; }
@media (max-width: 720px) {
  .callbar { display: flex; justify-content: center; align-items: center; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; background: var(--accent); color: var(--accent-ink); text-decoration: none; padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px)); z-index: 25; font-weight: 600; }
  .callbar[hidden] { display: none; }
  .callbar svg { width: 20px; height: 20px; fill: currentColor; }
  .top .call { display: none; }
}

/* Owner panel */
.owner { position: fixed; right: 0; top: 0; bottom: 0; width: min(440px, 100%); background: var(--panel); border-left: 1px solid var(--line); box-shadow: -12px 0 40px rgba(0,0,0,.22); z-index: 40; overflow-y: auto; padding: 0 18px 30px; font-size: .95rem; }
.owner[hidden] { display: none; }
.owner-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 0 10px; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: var(--panel); z-index: 2; }
.owner-title { font: 600 1.1rem var(--font-head); }
.owner-title .tiny { display: block; font: .8rem var(--font-body); }
.x { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); background: var(--bg2); color: var(--ink); font-size: 1.1rem; cursor: pointer; flex: none; }
.tabs { display: flex; flex-wrap: wrap; gap: 4px; margin: 12px 0; }
.tabs button { background: var(--bg2); color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 11px; font: 500 .8rem var(--font-body); cursor: pointer; }
.tabs button[aria-selected="true"] { background: var(--accent); color: var(--accent-ink); border-color: var(--accent); }
.pane[hidden] { display: none; }
.pane .lead { font-size: 1rem; }
.pane label { margin-bottom: 8px; }
.pane .row label { flex: 1 1 160px; }
.looks { display: grid; gap: 8px; margin: 0 0 14px; }
.look { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: center; text-align: left; background: var(--bg2); color: var(--ink); border: 2px solid var(--line); border-radius: var(--radius); padding: 10px; font: inherit; cursor: pointer; }
.look[aria-pressed="true"] { border-color: var(--accent); }
.look small { display: block; color: var(--ink2); }
.swatch { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(0,0,0,.15); }
.swatch-merchant { background: linear-gradient(135deg, #f7f1e6 50%, #7a1f2b 50%); }
.swatch-kiln { background: linear-gradient(135deg, #2a211c 50%, #d9932c 50%); }
.swatch-signal { background: linear-gradient(135deg, #ffffff 50%, #1d3fbf 50%); }
.sections { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sections li { display: flex; align-items: center; gap: 8px; background: var(--bg2); padding: 8px 10px; border-radius: var(--radius); }
.sections li b { flex: 1; font-weight: 500; }
.sections li.off b { text-decoration: line-through; color: var(--ink2); }
.sections button { border: 1px solid var(--line); background: var(--panel); color: var(--ink); border-radius: 4px; padding: 4px 8px; font: .8rem var(--font-body); cursor: pointer; }
.checks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; gap: 6px; }
.checks li { padding: 8px 10px; background: var(--bg2); border-left: 4px solid var(--ok); border-radius: 4px; }
.checks li.warn { border-left-color: var(--warn); }
.checks li.bad { border-left-color: var(--bad); }
.ld { background: var(--bg2); padding: 10px; font-size: .75rem; max-height: 260px; overflow: auto; white-space: pre-wrap; word-break: break-word; }
.team { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.team li { background: var(--bg2); padding: 8px 10px; border-radius: var(--radius); }
.team a { display: block; }
.url { display: block; background: var(--bg2); padding: 8px 10px; word-break: break-all; font-size: .85rem; margin: 6px 0 10px; }
.benches span { display: block; color: var(--ink2); font-size: .88rem; }
.answer { white-space: pre-wrap; background: var(--bg2); padding: 10px 12px; border-radius: var(--radius); }
.answer:empty { display: none; }
.nums { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0 0 12px; }
.nums div { background: var(--bg2); padding: 10px 12px; border-radius: var(--radius); }
.nums dt { color: var(--ink2); font-size: .8rem; }
.nums dd { margin: 0; font: 600 1.8rem var(--font-head); font-variant-numeric: tabular-nums; }
body.editing [data-edit] { outline: 2px dashed var(--accent); outline-offset: 3px; }
[data-edit][contenteditable="true"]:focus { outline: 3px solid var(--accent); }

/* Front desk */
.desk-open { position: fixed; left: 16px; bottom: 16px; z-index: 26; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.desk-open[hidden] { display: none; }
@media (max-width: 720px) { .desk-open { bottom: 76px; } }
.desk-panel { position: fixed; left: 16px; bottom: 16px; width: min(380px, calc(100% - 32px)); max-height: min(70vh, 560px); background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 12px 40px rgba(0,0,0,.25); z-index: 41; padding: 0 14px 14px; display: flex; flex-direction: column; }
.desk-panel[hidden] { display: none; }
.desk-panel .owner-head { padding: 12px 0 8px; }
.desk-log { overflow-y: auto; flex: 1; display: grid; gap: 8px; margin: 10px 0; align-content: start; }
.desk-log p { margin: 0; padding: 8px 12px; background: var(--bg2); border-radius: var(--radius); max-width: 92%; font-size: .94rem; }
.desk-log p.you { background: var(--accent); color: var(--accent-ink); margin-left: auto; }
.starters { display: flex; flex-wrap: wrap; gap: 4px; margin: 0 0 8px; }
.starters .chip { border: 0; }
.desk-form { display: flex; gap: 6px; }
.desk-form input { margin: 0; }

/* The look peek in the demo ribbon: three swatch buttons, each a whole look, pressed one outlined */
.peek { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.peek-cap { font-size: .72rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; margin-right: 2px; }
.peek-btn { display: inline-flex; align-items: center; gap: 6px; background: #fff; color: #3a2a00; border: 2px solid #d9c08a; border-radius: 999px; padding: 4px 12px 4px 5px; font-size: .82rem; font-weight: 600; line-height: 1.2; font-family: inherit; cursor: pointer; }
.peek-btn .swatch { width: 18px; height: 18px; border-radius: 50%; border: 1px solid rgba(0,0,0,.2); }
.peek-btn:hover { border-color: #7a4a00; }
.peek-btn[aria-pressed="true"] { border-color: #3a2a00; background: #3a2a00; color: #fff; }
@media (max-width: 720px) { .peek { grid-column: 1 / -1; } }
