/* Vorex theme "atelier" (4 Nov 2026, local experiment). Every page is crisp (imported below; _layout.html gives the body
   both theme-atelier and theme-crisp because themes.json says atelier extends crisp). Only the home page differs:
   templates/themes/atelier/home.html + static/js/atelier-home.js. Same brand: maroon #1E3A8A, Bricolage Grotesque,
   paper background, 6 px radius, hard maroon offset shadows, dashed hairlines, labels in the body font (no mono, no
   uppercase), the mascot in its original purple (CTA band). */
@import url("crisp.css?v=1795198670");

/* ---------- shared bits ---------- */
.theme-atelier .at-hide, .theme-atelier [hidden] { display: none !important; }
.theme-atelier .at-link { background: none; border: 0; padding: 0; font: inherit; font-weight: 700; color: var(--ember); cursor: pointer; text-decoration: none; border-bottom: 2px solid var(--ember); }
.theme-atelier .at-link:hover { color: var(--ember-d); }
.theme-atelier .at-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px 48px; margin-bottom: 28px; }
.theme-atelier .at-head h2 { margin: 0; max-width: 22ch; }
.theme-atelier .at-head p { margin: 0; max-width: 52ch; font-size: .98rem; color: var(--muted); line-height: 1.5; }
.theme-atelier .at-head .eyebrow { margin-bottom: 8px; }
.theme-atelier .at-ribbon { position: relative; z-index: 2; }

/* ---------- 1. hero: full-bleed video, headline, one question ---------- */
.theme-atelier main > .at-hero { position: relative; display: flex; align-items: flex-end; min-height: min(84vh, 800px); padding: 0; overflow: hidden; background: var(--ink); color: #fff; isolation: isolate; }
.theme-atelier .at-hero-media { position: absolute; inset: 0; z-index: 0; }
.theme-atelier .at-hero-media img, .theme-atelier .at-hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.theme-atelier .at-hero-video { background: var(--ink); }
.theme-atelier .at-hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23, 18, 27, .12) 0%, rgba(23, 18, 27, .28) 40%, rgba(23, 18, 27, .82) 100%), linear-gradient(90deg, rgba(23, 18, 27, .55) 0%, rgba(23, 18, 27, 0) 60%); }
.theme-atelier .at-hero .hw-bats { z-index: 1; }
.theme-atelier .at-hero-in { position: relative; z-index: 2; width: 100%; padding-top: 120px; padding-bottom: 56px; }
.theme-atelier .at-hero-copy { max-width: 720px; }
.theme-atelier .at-hero .eyebrow { color: #CED4E5; margin-bottom: 14px; }
.theme-atelier .at-hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4.1rem); letter-spacing: -.035em; line-height: 1; margin: 0 0 .45em; max-width: 15ch; text-wrap: balance; }
.theme-atelier .at-hero h1 .at-accent { color: #CED4E5; }
.theme-atelier .at-hero .lead { color: rgba(255, 255, 255, .86); max-width: 54ch; margin: 0 0 26px; }
.theme-atelier .at-ask { border-top: 1px dashed rgba(255, 255, 255, .35); padding-top: 20px; }
.theme-atelier .at-ask-q { margin: 0 0 12px; font-size: 1.1rem; font-weight: 800; letter-spacing: -.01em; color: #fff; }
.theme-atelier .at-chips { display: flex; flex-wrap: wrap; gap: 10px; }
.theme-atelier .at-chip { font: 700 .95rem/1 var(--sans); color: #fff; background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .6); border-radius: var(--radius); padding: 12px 16px; cursor: pointer; transition: background .15s, color .15s, border-color .15s, transform .15s; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.theme-atelier .at-chip:hover { background: #fff; color: var(--ink); border-color: #fff; transform: translateY(-1px); }
.theme-atelier .at-chip[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #fff; }
.theme-atelier .at-chip:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.theme-atelier .at-ask-note { margin: 14px 0 0; font-size: .9rem; color: rgba(255, 255, 255, .72); }
.theme-atelier .at-ask-note a { color: #fff; font-weight: 700; text-decoration-color: #CED4E5; }
@media (prefers-reduced-motion: reduce) { .theme-atelier .at-hero-video { display: none; } }

/* ---------- 2. build your box ---------- */
.theme-atelier main > .at-build { padding: 72px 0 64px; background: var(--paper); }
.theme-atelier .at-build-card { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 0; background: var(--board); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 10px 10px 0 var(--ember); }
.theme-atelier .at-steps { padding: 8px 28px 24px; min-width: 0; }
.theme-atelier .at-step { padding: 22px 0 20px; border-bottom: 1px dashed var(--line); }
.theme-atelier .at-step:last-child { border-bottom: 0; }
.theme-atelier .at-step h3 { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; margin: 0 0 14px; }
.theme-atelier .at-step h3 small { font-weight: 500; color: var(--muted); font-size: .88rem; }
.theme-atelier .at-n { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: var(--radius-s); background: var(--ember); color: #fff; font-size: .85rem; font-weight: 800; }
.theme-atelier .at-styles { display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x proximity; padding: 2px 2px 10px; scrollbar-width: thin; }
.theme-atelier .at-style { flex: 0 0 auto; width: 128px; scroll-snap-align: start; display: flex; flex-direction: column; gap: 6px; padding: 8px; text-align: left; background: var(--board); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, box-shadow .15s, transform .15s; }
.theme-atelier .at-style img { width: 100%; height: 82px; object-fit: cover; border-radius: var(--radius-s); background: var(--bone); display: block; }
.theme-atelier .at-style-l { font-weight: 800; font-size: .9rem; line-height: 1.2; letter-spacing: -.01em; }
.theme-atelier .at-style-c { font-size: .78rem; color: var(--muted); }
.theme-atelier .at-style:hover { border-color: var(--ink); transform: translateY(-2px); box-shadow: 0 6px 0 -2px var(--ember); }
.theme-atelier .at-style[aria-selected="true"] { border-color: var(--ember); box-shadow: inset 0 0 0 1px var(--ember); background: var(--tint); }
.theme-atelier .at-style[aria-selected="true"] .at-style-c { color: var(--ember-d); }
.theme-atelier .at-sizes-find { margin: 0 0 10px; }
.theme-atelier .at-sizes-find input { width: 100%; max-width: 420px; }
.theme-atelier .at-sizes { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; max-height: 318px; overflow-y: auto; padding: 2px; scrollbar-width: thin; }
.theme-atelier .at-size { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "size price" "name price" "mat mat"; gap: 2px 10px; align-items: start; text-align: left; padding: 10px 12px; background: var(--board); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.theme-atelier .at-size b { grid-area: size; font-size: 1rem; font-weight: 800; letter-spacing: -.01em; }
.theme-atelier .at-size span { grid-area: name; font-size: .86rem; color: var(--ink-2); line-height: 1.3; }
.theme-atelier .at-size small { grid-area: mat; font-size: .78rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.theme-atelier .at-size em { grid-area: price; font-style: normal; font-weight: 800; color: var(--ember); font-size: 1rem; white-space: nowrap; }
.theme-atelier .at-size:hover { border-color: var(--ink); }
.theme-atelier .at-size[aria-selected="true"] { border-color: var(--ember); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ember); }
.theme-atelier .at-sizes-empty { margin: 0; font-size: .95rem; color: var(--muted); max-width: 60ch; }
.theme-atelier .at-qty { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.theme-atelier .at-q { font: 700 .92rem/1 var(--sans); color: var(--ink); background: var(--board); border: 1.5px solid var(--line); border-radius: var(--radius-s); padding: 10px 14px; cursor: pointer; transition: border-color .15s, background .15s, color .15s; }
.theme-atelier .at-q:hover { border-color: var(--ink); }
.theme-atelier .at-q[aria-pressed="true"] { background: var(--ember); border-color: var(--ember); color: #fff; }
.theme-atelier .at-q-custom { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--muted); }
.theme-atelier .at-q-custom input { width: 110px; padding: 8px 10px !important; font-size: .95rem; }
.theme-atelier .at-sum { position: sticky; top: 90px; align-self: start; padding: 26px 24px 24px; border-left: 1px dashed var(--line); background: var(--paper); border-radius: 0 var(--radius) var(--radius) 0; }
.theme-atelier .at-sum-item { margin: 0; font-size: 1.15rem; font-weight: 800; letter-spacing: -.015em; line-height: 1.2; }
.theme-atelier .at-sum-spec { margin: 4px 0 0; font-size: .88rem; color: var(--muted); min-height: 1.3em; }
.theme-atelier .at-sum-price { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--ink); }
.theme-atelier .at-each { margin: 0; display: flex; align-items: baseline; gap: 8px; }
.theme-atelier .at-each b { font-size: 2.3rem; font-weight: 800; letter-spacing: -.03em; line-height: 1; color: var(--ink); }
.theme-atelier .at-each span { font-size: .85rem; color: var(--muted); }
.theme-atelier .at-total { margin: 12px 0 0; display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 10px 12px; border: 1px dashed var(--ember); border-radius: var(--radius); background: var(--board); font-size: .9rem; }
.theme-atelier .at-total > b { font-size: 1.15rem; font-weight: 800; color: var(--ember-d); }
.theme-atelier .at-sum-note, .theme-atelier .at-sum-quoteonly, .theme-atelier .at-sum-cartnote { margin: 12px 0 0; font-size: .8rem; color: var(--muted); line-height: 1.45; }
.theme-atelier .at-sum-quoteonly { margin-top: 16px; }
.theme-atelier .at-sum-acts { display: grid; gap: 10px; margin-top: 18px; }
.theme-atelier .at-sum-acts .btn { width: 100%; justify-content: center; }
.theme-atelier .at-cart { margin: 0; }
.theme-atelier .at-cart .cart-added { margin: 8px 0 0; }
.theme-atelier .at-sum-link { font-size: .9rem; font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ember); justify-self: start; }
.theme-atelier .at-sum-link:hover { color: var(--ember); }
.theme-atelier .at-sum-3d { margin: 16px 0 0; font-size: .88rem; }

/* ---------- 3. gallery of renders ---------- */
.theme-atelier main > .at-gallery { padding: 64px 0 64px; background: var(--board); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.theme-atelier .at-photo-note { display: block; margin-top: 8px; font-size: .84rem; color: var(--muted); }
.theme-atelier .at-filter { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin: -8px 0 18px; padding: 10px 14px; border: 1px dashed var(--ember); border-radius: var(--radius); background: var(--tint); font-size: .92rem; }
.theme-atelier .at-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-flow: dense; gap: 14px; }
.theme-atelier .at-tile { grid-column: span 4; display: grid; grid-template-rows: minmax(0, 1fr) auto; min-width: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; color: var(--ink); text-decoration: none; transition: transform .2s, box-shadow .2s; }
.theme-atelier .at-tile-big { grid-column: span 8; grid-row: span 2; }
.theme-atelier .at-tile img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; background: var(--bone); transition: transform .5s ease; }
.theme-atelier .at-tile-big img { aspect-ratio: auto; }
.theme-atelier .at-cap { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; padding: 12px 14px 13px; border-top: 1px dashed var(--line); background: var(--board); }
.theme-atelier .at-cap p { margin: 0; }
.theme-atelier .at-cap-t { font-weight: 800; font-size: 1rem; letter-spacing: -.01em; line-height: 1.2; }
.theme-atelier .at-cap-c { font-size: .8rem; color: var(--ember); white-space: nowrap; }
.theme-atelier .at-tile:hover { transform: translateY(-3px); box-shadow: 0 10px 0 -4px var(--ember); }
.theme-atelier .at-tile:hover img { transform: scale(1.03); }
.theme-atelier .at-tile:hover .at-cap-t { color: var(--ember-d); }
.theme-atelier .at-more { margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.theme-atelier .at-tiles .reveal:nth-child(3n+2) { transition-delay: 80ms; }
.theme-atelier .at-tiles .reveal:nth-child(3n+3) { transition-delay: 160ms; }

/* ---------- 4. trust facts (real offers only) ---------- */
.theme-atelier main > .at-trust { padding: 48px 0 8px; }
.theme-atelier .at-facts { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.theme-atelier .at-facts li { position: relative; padding: 16px 16px 16px 30px; border-bottom: 1px dashed var(--line); border-left: 1px dashed var(--line); display: flex; flex-direction: column; gap: 4px; }
.theme-atelier .at-facts li:first-child { border-left: 0; padding-left: 26px; }
.theme-atelier .at-facts li::before { content: ""; position: absolute; left: 6px; top: 22px; width: 14px; height: 14px; border-radius: 3px; background: var(--ember) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 10px no-repeat; }
.theme-atelier .at-facts li:first-child::before { left: 2px; }
.theme-atelier .at-facts b { font-weight: 800; font-size: .98rem; letter-spacing: -.01em; line-height: 1.25; }
.theme-atelier .at-facts span { font-size: .84rem; color: var(--muted); line-height: 1.4; }
.theme-atelier .at-facts .reveal:nth-child(2) { transition-delay: 60ms; }
.theme-atelier .at-facts .reveal:nth-child(3) { transition-delay: 120ms; }
.theme-atelier .at-facts .reveal:nth-child(4) { transition-delay: 180ms; }
.theme-atelier .at-facts .reveal:nth-child(5) { transition-delay: 240ms; }
.theme-atelier .at-facts .reveal:nth-child(6) { transition-delay: 300ms; }

/* ---------- 5. kept sections, spacing ---------- */
.theme-atelier .quote-band { padding-top: 56px; }
.theme-atelier .at-process > section { padding-top: 56px; }
.theme-atelier .at-process .steps-moq { margin-top: 18px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .theme-atelier .at-facts { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .theme-atelier .at-facts li:nth-child(4) { border-left: 0; padding-left: 26px; }
  .theme-atelier .at-facts li:nth-child(4)::before { left: 2px; }
}
@media (max-width: 980px) {
  .theme-atelier .at-build-card { grid-template-columns: 1fr; box-shadow: 8px 8px 0 var(--ember); }
  .theme-atelier .at-sum { position: static; border-left: 0; border-top: 1px dashed var(--line); border-radius: 0 0 var(--radius) var(--radius); }
  .theme-atelier .at-steps { padding: 4px 20px 16px; }
}
@media (max-width: 860px) {
  .theme-atelier .at-head { display: block; }
  .theme-atelier .at-head p { margin-top: 10px; max-width: none; }
  .theme-atelier main > .at-hero { min-height: min(78vh, 720px); }
  .theme-atelier .at-hero-in { padding-top: 72px; padding-bottom: 36px; }
  .theme-atelier .at-hero h1 { font-size: clamp(2.05rem, 8.6vw, 2.9rem); max-width: none; }
  .theme-atelier .at-hero .lead { font-size: 1.02rem; margin-bottom: 20px; }
  .theme-atelier .at-chip { padding: 11px 13px; font-size: .9rem; }
  .theme-atelier main > .at-build { padding: 48px 0 44px; }
  .theme-atelier main > .at-gallery { padding: 44px 0; }
}
@media (max-width: 700px) {
  .theme-atelier .at-tiles { grid-template-columns: 1fr 1fr; gap: 10px; }
  .theme-atelier .at-tile, .theme-atelier .at-tile-big { grid-column: span 1; grid-row: auto; }
  .theme-atelier .at-tile-big { grid-column: span 2; }
  .theme-atelier .at-tile img, .theme-atelier .at-tile-big img { aspect-ratio: 4 / 3; height: auto; }
  .theme-atelier .at-cap { padding: 10px 12px 11px; flex-direction: column; gap: 2px; }
  .theme-atelier .at-cap-t { font-size: .95rem; }
  .theme-atelier .at-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-atelier .at-facts li { padding: 14px 10px 14px 26px; }
  .theme-atelier .at-facts li:nth-child(4) { border-left: 1px dashed var(--line); padding-left: 26px; }
  .theme-atelier .at-facts li:nth-child(4)::before { left: 6px; }
  .theme-atelier .at-facts li:nth-child(odd) { border-left: 0; }
  .theme-atelier .at-sizes { grid-template-columns: 1fr; max-height: 280px; }
}
@media (max-width: 520px) {
  .theme-atelier .at-build-card { box-shadow: 6px 6px 0 var(--ember); }
  .theme-atelier .at-steps { padding: 0 14px 12px; }
  .theme-atelier .at-sum { padding: 20px 16px; }
  .theme-atelier .at-style { width: 112px; }
  .theme-atelier .at-style img { height: 70px; }
  .theme-atelier .at-each b { font-size: 2rem; }
  .theme-atelier .at-more .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  .theme-atelier .at-tile:hover, .theme-atelier .at-style:hover, .theme-atelier .at-chip:hover { transform: none; }
  .theme-atelier .at-tile:hover img { transform: none; }
}
.theme-atelier .at-volume-note { margin: 0; padding: 14px 16px; border: 1px dashed var(--ember); border-radius: var(--radius-s); background: var(--tint); color: var(--ink); font-size: .98rem; }
/* Owner, 4 Nov 2026: keep the live crisp hero; the "What are you packaging?" ask becomes its own band under it. */
.theme-atelier .at-ask-band { background: var(--board); border-bottom: 1px solid var(--line); padding: 26px 0 28px; }
.theme-atelier .at-ask-band .at-ask { max-width: none; }
.theme-atelier .at-ask-band .at-ask-q { color: var(--ink); font-size: 1.15rem; font-weight: 700; margin: 0 0 10px; }
.theme-atelier .at-ask-band .at-chip { color: var(--ink); border-color: var(--line); background: #fff; }
.theme-atelier .at-ask-band .at-chip[aria-pressed="true"] { background: var(--ember); color: #fff; border-color: var(--ember); }
.theme-atelier .at-ask-band .at-ask-note { color: var(--muted); }
.theme-atelier .at-ask-band .at-ask-note a { color: var(--ember); }

/* Build-your-box picker (owner, 5 Nov 2026: "make the products bigger and sizes smaller, sizes are taking all the space"):
   bigger style cards with taller photos; compact size chips (size + price, product name on one line, material only in
   the summary panel), shorter scroll area. */
.theme-atelier .at-style { width: 264px; padding: 12px; gap: 10px; }  /* +50% (owner, 5 Nov 2026) */
.theme-atelier .at-style img { height: 198px; }
.theme-atelier .at-style-l { font-size: 1rem; }
.theme-atelier .at-style-c { font-size: .8rem; }
.theme-atelier .at-sizes { grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 6px; max-height: 196px; }
.theme-atelier .at-size { padding: 6px 9px; gap: 0 6px; grid-template-areas: "size price" "name name"; }
.theme-atelier .at-size b { font-size: .84rem; white-space: nowrap; }
.theme-atelier .at-size span { font-size: .74rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.theme-atelier .at-size small { display: none; }
.theme-atelier .at-size em { font-size: .86rem; }
.theme-atelier .at-size em s { display: none; }   /* the struck price shows in the summary panel */
@media (max-width: 720px) {
  .theme-atelier .at-style { width: 148px; }
  .theme-atelier .at-style img { height: 108px; }
  .theme-atelier .at-sizes { grid-template-columns: repeat(2, minmax(0, 1fr)); max-height: 210px; }
}

/* Simple picker (owner, 5 Nov 2026: "keep it simple, with the size step designed to help the user"): 8 photo cards with
   a "best for" line (swipeable row), then Small / Medium / Large / My own size presets with big tap targets. */
.theme-atelier .at-style { width: 264px; }  /* +50% (owner, 5 Nov 2026) */
.theme-atelier .at-style-c { font-size: .8rem; line-height: 1.3; color: var(--muted); }
.theme-atelier .at-more-styles { margin: 6px 0 0; font-size: .92rem; }
.theme-atelier .at-more-styles a { font-weight: 700; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--ember); }
.theme-atelier .at-more-styles a:hover { color: var(--ember); }
.theme-atelier .at-presets { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.theme-atelier .at-presets[hidden] { display: none; }
.theme-atelier .at-preset { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; min-height: 60px; padding: 8px 10px; text-align: left;  /* -50% (owner, 5 Nov 2026) */ background: var(--board); border: 1.5px solid var(--line); border-radius: var(--radius); cursor: pointer; font: inherit; color: var(--ink); transition: border-color .15s, background .15s; }
.theme-atelier .at-preset:hover { border-color: var(--ink); }
.theme-atelier .at-preset[aria-selected="true"] { border-color: var(--ember); background: var(--tint); box-shadow: inset 0 0 0 1px var(--ember); }
.theme-atelier .at-p-l { font-weight: 800; font-size: .92rem; letter-spacing: -.01em; }
.theme-atelier .at-p-h { font-size: .76rem; color: var(--ink-2); line-height: 1.35; }
.theme-atelier .at-p-s { font-size: .7rem; color: var(--muted); }
.theme-atelier .at-p-pr { margin-top: 2px; font-size: .8rem; color: var(--ink-2); }
.theme-atelier .at-p-pr b { color: var(--ember); font-size: .92rem; }
.theme-atelier .at-p-pr s { color: var(--muted); font-size: .8rem; }
.theme-atelier .at-p-tag { font-size: .7rem; font-weight: 700; color: var(--ember-d); line-height: 1.25; }
.theme-atelier .at-p-q { margin-top: 2px; font-size: .76rem; font-weight: 600; color: var(--ink-2); }
.theme-atelier .at-preset-own { border-style: dashed; }
.theme-atelier .at-own { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 8px 10px; margin-top: 14px; padding: 14px; border: 1px dashed var(--ember); border-radius: var(--radius); background: var(--tint); }
.theme-atelier .at-own[hidden] { display: none; }
.theme-atelier .at-own label { display: grid; gap: 4px; font-size: .84rem; font-weight: 700; }
.theme-atelier .at-own input { width: 86px; padding: 10px !important; font-size: 1rem; }
.theme-atelier .at-own > span { padding-bottom: 12px; color: var(--muted); }
.theme-atelier .at-own small { flex-basis: 100%; font-size: .78rem; color: var(--muted); }
.theme-atelier .at-each { flex-wrap: wrap; gap: 4px 8px; }
.theme-atelier .at-preset:focus-visible { outline: 2px solid var(--ember); outline-offset: 2px; }
.theme-atelier .at-sum-trust { margin: 16px 0 0; font-size: .84rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.theme-atelier .at-sum-foot { margin: 8px 0 0; font-size: .74rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 720px) {
  .theme-atelier .at-presets { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .theme-atelier .at-style { width: 210px; }
  .theme-atelier .at-style img { height: 150px; }
  .theme-atelier .at-preset { min-height: 56px; padding: 8px 10px; }
  .theme-atelier .at-own input { width: 72px; }
}

/* New Year's sale block (owner, 5 Nov 2026; replaces the style/size picker after the hero) */
.theme-atelier .ny-sale { padding: 56px 0 48px; background: var(--paper); }
.theme-atelier .ny-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px; align-items: center;
  padding: 40px 44px; border-radius: var(--radius); color: #fff; border: 1px solid #14275E;
  /* crisp version (owner, 6 Nov 2026: "super crispy"): solid accent, hard-edged darker panel right, dashed dieline inset,
     hard tint offset shadow; the dotted pattern, gradient and glow are gone */
  /* rich + crisp (owner, 6 Nov 2026: "a gradient or something which will give it a rich look") */
  background:
    linear-gradient(104deg, transparent 0 66%, rgba(0,0,0,.3) 66% 100%),
    linear-gradient(104deg, transparent 0 40%, rgba(255,255,255,.08) 40% 52%, transparent 52% 100%),
    linear-gradient(135deg, #465D9F 0%, #1E3A8A 42%, #14275E 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.28), 10px 10px 0 #CED4E5; }
.theme-atelier .ny-banner::after { content: ""; position: absolute; inset: 10px; border: 1px dashed rgba(255,255,255,.38); border-radius: 3px; pointer-events: none; }
.theme-atelier .ny-eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase;
  color: #0D193D; background: #CED4E5; padding: 5px 12px; border-radius: 3px; position: relative; z-index: 1; }
.theme-atelier .ny-banner h2 { margin: 14px 0 10px; color: #fff; font-size: clamp(1.8rem, 3.6vw, 3rem); line-height: 1.05; letter-spacing: -.02em; }
.theme-atelier .ny-banner h2 b { color: #CED4E5; }
.theme-atelier .ny-banner p { margin: 0; max-width: 56ch; color: rgba(255,255,255,.88); font-size: 1rem; line-height: 1.55; }
.theme-atelier .ny-acts { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; margin-top: 22px; }
.theme-atelier .ny-btn { background: #fff; color: #0D193D; border: 0; font-weight: 800; }
.theme-atelier .ny-btn:hover { background: #CED4E5; color: #0D193D; }
.theme-atelier .ny-link { color: #fff; font-weight: 700; border-bottom: 2px solid #CED4E5; text-decoration: none; }
.theme-atelier .ny-count { position: relative; z-index: 1; display: flex; gap: 10px; }
.theme-atelier .ny-c { display: flex; flex-direction: column; align-items: center; min-width: 78px; padding: 14px 10px 10px; border-radius: 4px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.6); }
.theme-atelier .ny-c b { font-size: 2rem; line-height: 1; font-weight: 800; color: #fff; font-variant-numeric: tabular-nums; }
.theme-atelier .ny-c .ny-cl { margin-top: 6px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; color: #CED4E5; }
.theme-atelier .ny-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 34px; }
.theme-atelier .ny-card { position: relative; display: flex; flex-direction: column; gap: 8px; padding: 10px 10px 14px; background: var(--board);
  border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); text-decoration: none; transition: transform .15s, box-shadow .15s; }
.theme-atelier .ny-card:hover { transform: translateY(-3px); box-shadow: 0 8px 0 -2px #1E3A8A; border-color: #1E3A8A; }
.theme-atelier .ny-img { display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-s); background: var(--bone); }
.theme-atelier .ny-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.theme-atelier .ny-badge { position: absolute; top: 18px; left: 18px; z-index: 1; background: #1E3A8A; color: #fff; font-weight: 800; font-size: .85rem;
  padding: 5px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(13,25,61,.25); }
.theme-atelier .ny-name { font-weight: 800; font-size: .98rem; line-height: 1.25; padding: 0 4px; }
.theme-atelier .ny-price { padding: 0 4px; display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px; }
.theme-atelier .ny-price b { font-size: 1.25rem; color: #1E3A8A; }
.theme-atelier .ny-price s { color: var(--muted); }
.theme-atelier .ny-unit { padding: 0 4px; margin-top: -6px; color: var(--muted); font-size: .78rem; }
.theme-atelier .ny-note { margin: 18px 0 0; font-size: .8rem; color: var(--muted); }
@media (max-width: 980px) { .theme-atelier .ny-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .theme-atelier .ny-banner { grid-template-columns: 1fr; } }
@media (max-width: 720px) {
  .theme-atelier .ny-sale { padding: 36px 0 32px; }
  .theme-atelier .ny-banner { padding: 26px 20px; box-shadow: 6px 6px 0 #CED4E5; }
  .theme-atelier .ny-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .theme-atelier .ny-c { min-width: 64px; } .theme-atelier .ny-c b { font-size: 1.5rem; }
}

/* Occasion tag on the hero (owner, 5 Nov 2026: "make it sexier", then "white and a little sleeker"): slim white pill,
   1px warm-grey border, thin magenta wheat sprig (no maple leaf on the US site), honest copy, hover = magenta border +
   arrow nudge. 32px visual height; an invisible ::before keeps a 44px tap area. Reduced-motion safe. */
.theme-atelier .tg-tag { position: relative; display: inline-flex; align-items: center; gap: 7px; min-height: 32px; max-width: 100%;
  margin: 0 12px 14px 0; padding: 0 12px 0 10px; border: 1px solid #E8E1DC; border-radius: 999px; vertical-align: middle;
  background: #fff; color: #0F1623; font-weight: 500; font-size: .84rem; letter-spacing: -.005em; line-height: 1.25; text-decoration: none;
  box-shadow: 0 1px 2px rgba(42,20,32,.05); transition: border-color .2s, color .2s; }
.theme-atelier .tg-tag::before { content: ""; position: absolute; inset: -6px -2px; }
.theme-atelier .tg-tag:hover, .theme-atelier .tg-tag:focus-visible { color: #0F1623; border-color: #1E3A8A; }
.theme-atelier .tg-tag:focus-visible { outline: 2px solid #1E3A8A; outline-offset: 3px; }
.theme-atelier .tg-tag-ico { width: 15px; height: 15px; flex: none; stroke: #1E3A8A; stroke-width: 1.3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.theme-atelier .tg-tag-txt { white-space: nowrap; }
.theme-atelier .tg-tag-arr { width: 13px; height: 13px; flex: none; stroke: #1E3A8A; stroke-width: 1.8; fill: none; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.theme-atelier .tg-tag:hover .tg-tag-arr, .theme-atelier .tg-tag:focus-visible .tg-tag-arr { transform: translateX(2px); }
@media (max-width: 520px) { .theme-atelier .tg-tag { font-size: .8rem; padding: 4px 11px 4px 9px; } .theme-atelier .tg-tag-txt { white-space: normal; } }
@media (prefers-reduced-motion: reduce) { .theme-atelier .tg-tag, .theme-atelier .tg-tag-arr { transition: none; }
  .theme-atelier .tg-tag:hover .tg-tag-arr, .theme-atelier .tg-tag:focus-visible .tg-tag-arr { transform: none; } }

/* Warmth on the chrome (owner, 6 Nov 2026: "a little teal or orangish-yellow effect on header and footer so it does not
   look very flat"): soft teal and amber washes plus a thin teal -> forest -> amber ribbon; content colours unchanged. */
.theme-atelier .cr-announce { background: linear-gradient(90deg, #E7F0FE 0%, #F6F7FA 48%, #FEF4E0 100%); border-bottom: 0; }
.theme-atelier .site-header { background:
    radial-gradient(420px 120px at 0% 0%, rgba(59, 130, 246, .10), rgba(59, 130, 246, 0) 70%),
    radial-gradient(420px 120px at 100% 100%, rgba(245, 183, 49, .13), rgba(245, 183, 49, 0) 70%), #fff;
  border-bottom: 0; box-shadow: 0 10px 24px -22px rgba(13, 25, 61, .45); }
.theme-atelier .site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; pointer-events: none;
  background: linear-gradient(90deg, #3B82F6 0%, #1E3A8A 45%, #F5B731 100%); }
.theme-atelier .site-footer { position: relative; overflow: hidden; background:
    radial-gradient(640px 420px at 6% 0%, rgba(59, 130, 246, .22), rgba(59, 130, 246, 0) 70%),
    radial-gradient(560px 380px at 98% 100%, rgba(245, 183, 49, .18), rgba(245, 183, 49, 0) 70%),
    linear-gradient(180deg, #111827, #0C111B); }
.theme-atelier .site-footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px;
  background: linear-gradient(90deg, #3B82F6 0%, #1E3A8A 45%, #F5B731 100%); }
.theme-atelier .site-footer h4 { color: #F8C964; }

/* Lighter headings (owner, 7 Nov 2026: "reduce the boldness of the heading font, just for headings"): Bricolage Grotesque
   is variable (200-800), so every heading, its accent spans and the hero title go from 800 to 650; body text unchanged. */
.theme-atelier :is(h1, h2, h3, h4, .display), .theme-atelier :is(h1, h2, h3, h4) :is(span, em, strong, b) { font-weight: 650 !important; }

/* Mobile hero (owner, 8 Nov 2026: "on mobile show video before hero text ... make the font a little sleeker; it looks
   too big and low res"). Phones (<= 768 px) only; desktop unchanged.
   1. The video sheet moves above the copy, full-bleed 4:3. The eager flatlay <img> (aspect-ratio 4/3) keeps the box
      reserved before the video loads, so no layout shift; the poster is the 960 px file (was the 640 px one: the
      template's -960 -> -1600 swap never matched the -640 src), sharp on 3x screens.
   2. Root cause of the "low res" look: Bricolage Grotesque has an optical-size axis (opsz 12-96) and the browser's
      font-optical-sizing:auto picked opsz = font size, i.e. the wide small-text cut with deep ink traps, which at 650
      weight and -.035em tracking reads as blobby, smudged letters; the hero's dot grid also printed through the text.
      Headings now use the display cut (opsz 96, fine ink traps), a lighter 600 weight, less negative tracking and
      smaller fluid sizes; the dot grid is off behind the copy on phones. Real variable font, no synthetic bold,
      no shadows or transforms on text. */
@media (max-width: 768px) {
  .theme-atelier :is(h1, h2, h3, h4, .display), .theme-atelier :is(h1, h2, h3, h4) :is(span, em, strong, b) {
    font-variation-settings: "opsz" 96; font-weight: 600 !important; }
  .theme-atelier h2 { font-size: clamp(1.35rem, 5.6vw, 1.6rem); letter-spacing: -.015em; line-height: 1.15; }
  .theme-atelier h3 { letter-spacing: -.01em; }
  .theme-atelier .cr-hero::before, .theme-atelier .cr-hero::after { display: none; }
  .theme-atelier .cr-hero-grid { display: flex; flex-direction: column; gap: 22px; padding-top: 0; padding-bottom: 32px; }
  .theme-atelier .cr-hero-media { order: -1; margin-inline: calc(50% - 50vw); }
  .theme-atelier .cr-sheet { padding: 0; border: 0; border-radius: 0; box-shadow: none; background: var(--bone); }
  .theme-atelier .cr-sheet img { aspect-ratio: 4 / 3; border-radius: 0; }
  .theme-atelier .cr-hero-video { left: 0; top: 0; width: 100%; height: 100%; border-radius: 0; }
  .theme-atelier .cr-stk, .theme-atelier .cr-badge, .theme-atelier .cr-tag { display: none; }
  .theme-atelier .cr-hero .eyebrow { font-size: .78rem; margin-bottom: 8px; }
  .theme-atelier .cr-hero h1 { font-size: clamp(1.65rem, 7vw, 2rem); line-height: 1.12; letter-spacing: -.02em; margin: 0 0 .5em; max-width: 22ch; text-wrap: balance; }
  .theme-atelier .cr-hero .lead { font-size: .98rem; line-height: 1.55; }
  .theme-atelier .cr-hero .hero-cta { margin: 18px 0 14px; gap: 10px 18px; }
  .theme-atelier .cr-hero .hero-cta .btn-lg { min-height: 48px; padding: 0 22px; font-size: .98rem; font-weight: 600; }
  .theme-atelier .cr-hero .hero-cta .v3-link { font-size: .95rem; }
  .theme-atelier .cr-hero .hero-checks { font-size: .9rem; }
  .theme-atelier .cr-hero .hero-checks li { margin: 0; padding-top: 4px; padding-bottom: 4px; }
  .theme-atelier .tg-tag { margin-bottom: 12px; }
}
