:root {
  --bg: #000;
  --fg: #fff;
  --dim: rgba(255, 255, 255, 0.42);
  --faint: rgba(255, 255, 255, 0.14);
  --panel: #0a0a0a;
  --bad: #ff8f8f;
  --gutter: 28px;
  --head: clamp(84px, 6.6vw, 124px);
  --accent: #ff3b30;     /* the one colour in the header: Start A Project and the mascot */
  --head-line: rgba(255, 255, 255, 0.2);
  --head-ink: #f5f1e3;
  --serif: 'Instrument Serif', Georgia, serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font: 'Roboto Flex', ui-sans-serif, system-ui, sans-serif;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font);
  font-size: 15px;
  font-variation-settings: "wght" 420, "wdth" 100;
  -webkit-font-smoothing: antialiased;
  overflow: hidden;
  overscroll-behavior: none;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; color: inherit; }
::selection { background: #fff; color: #000; }
:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ── canvas ───────────────────────────────────────── */
.gl {
  position: fixed; inset: 0; width: 100%; height: 100%;
  display: block; touch-action: none; cursor: grab;
}
.gl.is-pointer { cursor: pointer; }
.gl.is-grabbing { cursor: grabbing; }
body:not([data-view="featured"]) .gl, body.ring-open .gl { cursor: default; }

/* ── loader: three pulsing bars ───────────────────── */
.loader {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  background: var(--bg);
}
.loader span {
  width: 26px; height: 2px; background: var(--fg);
  animation: bar 1s var(--ease) infinite;
}
.loader span:nth-child(2) { animation-delay: 0.12s; }
.loader span:nth-child(3) { animation-delay: 0.24s; }
@keyframes bar { 0%, 100% { opacity: 0.2; transform: scaleX(0.6); } 50% { opacity: 1; transform: scaleX(1); } }

/* ── header: a ruled grid ─────────────────────────── */
.head {
  position: fixed; top: 0; left: 0; right: 0; height: var(--head); z-index: 95;
  display: grid; grid-template-columns: minmax(156px, 10%) 1fr 1fr 1fr minmax(156px, 10%); grid-template-rows: 1fr 1fr 1fr;
  background: var(--bg); color: var(--head-ink); border-bottom: 1px solid var(--head-line);
  visibility: hidden;
}
.head > * { min-width: 0; }
.head-nav { grid-row: 1; display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--head-line); }
.head-nav-l { grid-column: 1; border-right: 1px solid var(--head-line); }
.head-nav-r { grid-column: 5; border-left: 1px solid var(--head-line); }
.head-nav a, .head-nav button {
  display: flex; align-items: center; justify-content: center; white-space: pre;
  font-size: 11px; letter-spacing: 0.03em; font-variation-settings: "wght" 560, "wdth" 92;
  color: inherit; transition: background 0.3s, color 0.3s;
}
.head-nav > :first-child { border-right: 1px solid var(--head-line); }
.head-nav a:hover, .head-nav button:hover { background: var(--head-ink); color: #000; }
#cartBtn { transform-origin: center; }
.head-mark { grid-column: 1; grid-row: 2 / 4; display: grid; place-items: center; padding: 5px; border-right: 1px solid var(--head-line); min-height: 0; overflow: hidden; }
.head-mark svg { height: 100%; width: auto; max-height: 100%; animation: blot-bob 3.2s ease-in-out infinite; transform-origin: 50% 80%; }
.head-mark .blot { fill: var(--accent); }
.head-mark .eye { fill: #fff; }
.head-mark .pupil { fill: #000; animation: blot-look 5s ease-in-out infinite; }
.head-mark .mouth { fill: none; stroke: #000; stroke-width: 3; stroke-linecap: round; }
@keyframes blot-bob { 0%, 100% { transform: translateY(1px) rotate(-4deg) scale(1, 1); } 50% { transform: translateY(-1px) rotate(4deg) scale(0.98, 1.03); } }
@keyframes blot-look { 0%, 40%, 100% { transform: translateX(0); } 50%, 80% { transform: translateX(-2.5px); } }
.head-line {
  grid-row: 2; margin: 0; display: flex; align-items: center; justify-content: center; white-space: nowrap;
  border-block: 1px solid var(--head-line);
  font-family: var(--serif); font-variation-settings: normal; font-size: clamp(15px, 1.5vw, 29px); line-height: 1; letter-spacing: -0.005em;
}
.head-line-l { grid-column: 2; }
.head-line-r { grid-column: 4; }
.head-logo {
  grid-column: 3; grid-row: 1 / 4; display: flex; align-items: center; justify-content: center; gap: 0.2em; white-space: nowrap;
  border-inline: 1px solid var(--head-line); font-size: clamp(26px, 3.1vw, 60px); line-height: 1;
}
.head-logo b { font-weight: normal; font-variation-settings: "wght" 640, "wdth" 92; letter-spacing: -0.045em; }
.head-logo i { font-family: var(--serif); font-variation-settings: normal; font-style: italic; font-size: 1.1em; letter-spacing: -0.01em; }
.head-cta { grid-column: 5; grid-row: 2 / 4; padding: 5px; border-left: 1px solid var(--head-line); display: block; min-height: 0; }
.head-cta span {
  display: flex; align-items: center; justify-content: center; height: 100%; border-radius: 6px; white-space: nowrap;
  background: var(--accent); color: #fff; font-family: var(--serif); font-variation-settings: normal; font-size: clamp(14px, 1.3vw, 25px); line-height: 1;
  transition: background 0.3s, color 0.3s;
}
.head-cta:hover span { background: var(--head-ink); color: #000; }

/* ── bottom corners ───────────────────────────────── */
.corner {
  position: fixed; z-index: 40;
  font-size: 11px; line-height: 1; letter-spacing: 0.03em; text-transform: uppercase;
  font-variation-settings: "wght" 640, "wdth" 100;
  display: flex; gap: 22px; align-items: center;
  visibility: hidden;
}
.corner a, .corner button { white-space: pre; transition: opacity 0.3s; }
.bl { bottom: var(--gutter); left: var(--gutter); gap: 6px; }
.br { bottom: var(--gutter); right: var(--gutter); }
.bl a { color: var(--dim); transition: color 0.3s; }
.bl a.is-active, .bl a:hover { color: var(--fg); }
.bl .sep { color: var(--dim); }

/* ── views ────────────────────────────────────────── */
.view {
  position: fixed; inset: 0; z-index: 10;
  visibility: hidden; opacity: 0; pointer-events: none;
}
.view.is-active { pointer-events: auto; }
body.ring-open .index-view,
body.ring-open .product-view,
body.ring-open .checkout-view { opacity: 0 !important; pointer-events: none; transition: opacity 0.4s; }

.ch { display: inline-block; white-space: pre; }
.w { display: inline-block; white-space: nowrap; }

/* ── index ────────────────────────────────────────── */
/* the list scrolls, so every name sits clear of the filter pill and the corner labels;
   a short list (one industry) still sits in the middle */
.index-view {
  display: flex; flex-direction: column; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  padding: calc(var(--head) + 84px) var(--gutter) 110px;
  -webkit-mask-image: linear-gradient(to bottom, transparent calc(var(--head) + 30px), #000 calc(var(--head) + 80px), #000 calc(100% - 96px), transparent calc(100% - 44px));
  mask-image: linear-gradient(to bottom, transparent calc(var(--head) + 30px), #000 calc(var(--head) + 80px), #000 calc(100% - 96px), transparent calc(100% - 44px));
}
.index-view::-webkit-scrollbar { display: none; }
.index-list {
  position: relative; z-index: 2;
  list-style: none; margin: auto; padding: 0;
  max-width: 880px; text-align: center;
  font-size: clamp(22px, 2.6vw, 34px); line-height: 1.32; letter-spacing: -0.015em;
  --fvs: "wght" 430, "wdth" 100, "slnt" 0;
}
.index-list li { display: inline; }
.index-list a { display: inline-block; transition: opacity 0.35s; }
.index-list.is-hovering a:not(.is-hover) { opacity: 0.35; }
.index-list .dot { margin: 0 0.32em; color: var(--fg); }
.index-thumb {
  position: fixed; left: 0; top: 0; z-index: 1;
  width: clamp(120px, 13vw, 190px); aspect-ratio: var(--card-ar, 0.8);
  margin: calc(clamp(120px, 13vw, 190px) / var(--card-ar, 0.8) * -0.5) 0 0 calc(clamp(120px, 13vw, 190px) * -0.5);
  border-radius: 10px; overflow: hidden;
  pointer-events: none; opacity: 0; visibility: hidden; transform: scale(0.85);
}
.index-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 719px) {
  .index-view { padding: calc(var(--head) + 70px) var(--gutter) 100px; }
  .index-list { font-size: 21px; }
}

/* ── ring overlays ────────────────────────────────── */
/* the overlay itself never blocks the strip: only the circle's content takes input */
.ring-view, .ring-view.is-active { display: flex; align-items: center; justify-content: center; pointer-events: none; padding-top: var(--head); }
.ring-view.is-active .ring-content { pointer-events: auto; }
/* the hole sits behind this circle: its centre and width set the disc */
.ring-content {
  width: min(31vw, 62vh); aspect-ratio: 1; border-radius: 50%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 0 calc(min(31vw, 62vh) * 0.15); text-align: center;
}
.ring-text {
  margin: 0 0 26px; font-size: 14px; line-height: 1.38;
  --fvs: "wght" 460, "wdth" 100, "slnt" 0;
}
.ring-proof { margin: 0 0 20px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.ring-links { margin: 0; display: flex; justify-content: center; gap: 12px; font-size: 10px; letter-spacing: 0.04em; font-variation-settings: "wght" 640; }
.ring-links span { color: var(--dim); }
.ring-note { min-height: 1em; margin: 14px 0 0; font-size: 10px; letter-spacing: 0.06em; color: var(--dim); }

.nl-form { width: 100%; display: flex; gap: 8px; align-items: center; justify-content: center; }
@property --spin { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.rainbow {
  flex: 1; display: block; padding: 1px; border-radius: 999px;
  background: #fff;
  transition: padding .3s;
}
.rainbow:focus-within {
  padding: 1.5px;
  background: conic-gradient(from var(--spin), #ff5f6d, #ffc371, #f9f871, #47e891, #3fc8ff, #8a6bff, #ff5fd2, #ff5f6d);
  animation: spin 4s linear infinite;
}
.rainbow input {
  width: 100%; height: 38px; padding: 0 16px; border: 0; border-radius: 999px;
  background: #000; outline: none; font-size: 12px; text-align: center;
}
.rainbow input::placeholder { color: var(--dim); }
@keyframes spin { to { --spin: 360deg; } }
.round {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--fg); color: #000; display: grid; place-items: center;
  transition: transform 0.5s var(--ease);
}
.round:hover { transform: scale(1.08) rotate(-45deg); }

/* ── buttons: the pill is the system shape ────────── */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center;
  height: 48px; padding: 0 26px; border-radius: 999px; overflow: hidden; isolation: isolate;
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase; font-variation-settings: "wght" 640;
  transition: color 0.45s var(--ease), border-color 0.45s;
}
.btn::before {
  content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
  transform: translateY(101%); transition: transform 0.55s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, 0.32); }
.btn-ghost::before { background: var(--fg); }
.btn-ghost:hover { color: #000; border-color: var(--fg); }
.btn-solid { background: var(--fg); color: #000; }
.btn-solid::before { background: #c9c9c9; }
.btn.is-disabled { opacity: 0.3; pointer-events: none; }

.pill {
  height: 34px; padding: 0 15px; border-radius: 999px;
  border: 1px solid var(--faint); font-size: 12px;
  transition: border-color 0.3s, background 0.3s, color 0.3s;
}
.pill:hover { border-color: var(--dim); }
.pill.is-on { background: var(--fg); color: #000; border-color: var(--fg); }

.qty { display: inline-flex; align-items: center; border: 1px solid var(--faint); border-radius: 999px; height: 34px; }
.qty button { width: 34px; height: 100%; font-size: 15px; color: var(--dim); transition: color 0.2s; }
.qty button:hover { color: var(--fg); }
.qty span { min-width: 18px; text-align: center; font-size: 12px; }
.qty.small { height: 28px; }
.qty.small button { width: 28px; }

/* ── product ──────────────────────────────────────── */
.product-view { pointer-events: none; }
.product-view .pv-panel, .product-view .pv-gallery { pointer-events: auto; }
.pv { position: absolute; inset: 0; }
/* the panel: ruled cells like the header, filling the space between header and bottom labels */
.pv-panel {
  position: absolute; top: var(--head); right: 0; bottom: 67px; left: 54%;
  display: flex; flex-direction: column; overflow: auto; scrollbar-width: none;
  background: var(--bg); color: var(--head-ink);
  border-left: 1px solid var(--head-line); border-bottom: 1px solid var(--head-line);
}
.pv-panel::-webkit-scrollbar { display: none; }
.pv-panel > * { flex: none; }
.pv-meta { display: flex; gap: 8px; margin: 0 0 18px; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); font-variation-settings: "wght" 600; }
.pv-edition { margin-left: auto; color: var(--fg); border: 1px solid var(--faint); border-radius: 999px; padding: 4px 9px; margin-top: -4px; }
.pv-specs { margin: 0 0 26px; border-top: 1px solid var(--faint); }
.pv-specs div { display: flex; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--faint); font-size: 12px; }
.pv-specs dt { color: var(--dim); }
.pv-specs dd { margin: 0; }
.pl-cell { margin: 0; padding: 12px 24px; border-bottom: 1px solid var(--head-line); }
.pl-meta {
  display: flex; justify-content: space-between; gap: 16px; white-space: nowrap;
  font-size: 10px; letter-spacing: 0.04em; color: var(--dim); font-variation-settings: "wght" 560, "wdth" 92;
}
.pl-meta span:first-child { text-transform: uppercase; }
.pl-meta em { font-style: normal; color: var(--accent); }
.pl-head { flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 6px; padding-block: 14px; }
.pv-title {
  margin: 0; font-weight: normal; font-size: clamp(34px, 3.7vw, 68px); line-height: 1; letter-spacing: -0.04em;
  --fvs: "wght" 560, "wdth" 92, "slnt" 0;
}
.pl-sub { margin: 0; font-family: var(--serif); font-variation-settings: normal; font-size: clamp(17px, 1.5vw, 26px); line-height: 1.1; color: rgba(245, 241, 227, 0.72); }
.pl-desc { font-size: 13.5px; line-height: 1.45; color: rgba(245, 241, 227, 0.78); }

/* licences: two cells, both prices in view */
.pl-lics { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--head-line); }
.pl-lic {
  display: flex; flex-direction: column; gap: 3px; padding: 12px 24px; text-align: left; color: inherit;
  transition: background 0.3s, color 0.3s;
}
.pl-lic + .pl-lic { border-left: 1px solid var(--head-line); }
.pl-lic:hover:not(.is-on) { background: rgba(245, 241, 227, 0.07); }
.pl-lic.is-on { background: var(--head-ink); color: #000; }
.pl-lic-name { font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; font-variation-settings: "wght" 620, "wdth" 92; }
.pl-lic-price { font-family: var(--serif); font-variation-settings: normal; font-size: clamp(25px, 2.2vw, 38px); line-height: 1; }
.pl-lic-note { font-size: 11px; line-height: 1.3; opacity: 0.68; }

.pl-specs { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; margin: 0; border-bottom: 1px solid var(--head-line); }
.pl-specs > div { padding: 10px 24px; min-width: 0; }
.pl-specs > div + div { border-left: 1px solid var(--head-line); }
.pl-specs dt { margin-bottom: 3px; font-size: 10px; letter-spacing: 0.04em; text-transform: uppercase; color: var(--dim); font-variation-settings: "wght" 560, "wdth" 92; }
.pl-specs dd { margin: 0; font-size: 11.5px; line-height: 1.3; }

/* actions: the same red as Start A Project, the rest ruled */
.pl-actions { display: grid; grid-template-columns: 1.6fr 1fr; padding: 8px; gap: 6px; border-bottom: 1px solid var(--head-line); }
.pl-buy, .pl-btn { display: flex; align-items: center; justify-content: center; height: 46px; border-radius: 6px; white-space: nowrap; transition: background 0.3s, color 0.3s, border-color 0.3s; }
.pl-buy { background: var(--accent); color: #fff; font-family: var(--serif); font-variation-settings: normal; font-size: clamp(17px, 1.45vw, 24px); }
.pl-buy b { font-weight: normal; font-style: italic; margin-left: 0.3em; }
.pl-buy:hover { background: var(--head-ink); color: #000; }
.pl-btn { gap: 10px; border: 1px solid var(--head-line); color: inherit; font-size: 11px; letter-spacing: 0.04em; text-transform: uppercase; font-variation-settings: "wght" 620, "wdth" 92; }
.pl-btn:hover { background: var(--head-ink); border-color: var(--head-ink); color: #000; }
.pl-btn i { font-style: normal; transition: transform 0.4s var(--ease); }
.pl-btn:hover i { transform: translateX(4px); }
.pl-custom { grid-column: 1 / -1; height: 40px; }

.pl-links { display: flex; border-bottom: 1px solid var(--head-line); }
.pl-links a { flex: 1; padding: 11px 8px; text-align: center; font-size: 11px; color: rgba(245, 241, 227, 0.72); transition: background 0.3s, color 0.3s; white-space: nowrap; }
.pl-links a + a { border-left: 1px solid var(--head-line); }
.pl-links a:hover { background: rgba(245, 241, 227, 0.07); color: var(--head-ink); }
.pl-nav { display: flex; justify-content: space-between; margin-top: auto; }
.pl-nav a { padding: 11px 24px; white-space: pre; font-size: 10px; letter-spacing: 0.04em; font-variation-settings: "wght" 620, "wdth" 92; color: var(--dim); transition: color 0.3s; }
.pl-nav a:hover { color: var(--head-ink); }
.pv-gallery {
  position: absolute; left: var(--gutter); top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 6px;
}
.g-dot {
  font-size: 10px; letter-spacing: 0.06em; color: var(--dim);
  padding: 6px 10px; border-radius: 999px; border: 1px solid transparent; transition: all 0.3s;
}
.g-dot:hover { color: var(--fg); }
.g-dot.is-on { color: var(--fg); border-color: var(--faint); }

/* ── checkout ─────────────────────────────────────── */
.checkout-view { scrollbar-width: none; overflow: auto; display: flex; align-items: center; justify-content: center; padding: calc(var(--head) + 56px) var(--gutter) 70px; }
.co { width: min(980px, 100%); display: grid; grid-template-columns: 1.3fr 1fr; gap: 64px; margin: auto; }
.co-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 18px; max-width: 520px; }
.co-title {
  margin: 0 0 30px; font-weight: normal; font-size: clamp(30px, 3.4vw, 46px); line-height: 1; letter-spacing: -0.03em;
  --fvs: "wght" 440, "wdth" 100, "slnt" 0;
}
.co-empty .co-title { margin: 0; }
.co-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px; margin-bottom: 22px; }
.co-grid label { display: flex; flex-direction: column; gap: 8px; }
.co-grid label.wide { grid-column: 1 / -1; }
.co-grid span { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.co-grid input {
  height: 38px; border: 0; border-bottom: 1px solid var(--faint); background: transparent; outline: none;
  font-size: 15px; transition: border-color 0.3s;
}
.co-grid input:focus { border-color: var(--fg); }
.co-grid label.is-bad input { border-color: var(--bad); }
.co-form .btn { width: 100%; margin-top: 6px; }
.co-error { min-height: 1em; font-size: 12px; color: var(--bad); }
.fine { font-size: 11.5px; line-height: 1.5; color: var(--dim); margin: 0 0 16px; }
.co-summary { align-self: start; border-top: 1px solid var(--faint); padding-top: 8px; }
.co-summary ul { list-style: none; margin: 0 0 12px; padding: 0; }
.co-summary li, .cart-lines li { display: grid; grid-template-columns: 56px 1fr auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px solid var(--faint); }
.co-summary img, .cart-lines img { width: 56px; aspect-ratio: var(--card-ar, 0.8); object-fit: cover; border-radius: 6px; display: block; }
.co-summary strong, .cl-info a { display: block; font-weight: normal; font-size: 14px; margin-bottom: 3px; }
.co-summary span, .cl-info > span { font-size: 12px; color: var(--dim); }
.co-summary em, .cart-lines em { font-style: normal; font-size: 13px; }
.row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 13px; color: var(--dim); }
.row.total { color: var(--fg); font-size: 16px; border-top: 1px solid var(--faint); margin-top: 6px; padding-top: 14px; }

.checkout-view::-webkit-scrollbar, .product-view::-webkit-scrollbar { display: none; }
.product-view { scrollbar-width: none; }

/* ── account, sign in, tracking ───────────────────── */
.acc { width: min(440px, 100%); margin: auto; display: flex; flex-direction: column; gap: 18px; }
.acc-wide { width: min(980px, 100%); }
.acc .co-title { margin: 0; }
.acc .pv-meta { margin: 0; }
.acc .fine { margin: 0; }
.acc .fine strong { color: var(--fg); font-weight: normal; }
.demo-note { display: inline-block; margin-top: 4px; color: var(--fg); border: 1px dashed var(--faint); border-radius: 999px; padding: 2px 9px; font-size: 10.5px; }
.acc-form { display: flex; flex-direction: column; gap: 16px; margin-top: 6px; }
.acc-form .btn { width: 100%; }
.acc-field { display: flex; flex-direction: column; gap: 8px; }
.acc-field span { font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.acc-field input {
  height: 42px; border: 0; border-bottom: 1px solid var(--faint); background: transparent; outline: none;
  font-size: 16px; transition: border-color 0.3s;
}
.acc-field input:focus { border-color: var(--fg); }
.acc-field.is-bad input { border-color: var(--bad); }
.code-input { font-size: 30px !important; height: 56px !important; letter-spacing: 0.5em; text-align: center; font-variation-settings: "wght" 360, "wdth" 110; }
.acc-link {
  align-self: flex-start; font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase;
  font-variation-settings: "wght" 640; color: var(--dim); transition: color 0.3s;
}
.acc-link:hover { color: var(--fg); }
.acc-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 18px; }
.acc-head .pv-meta { margin-bottom: 14px; }
.acc-grid { display: grid; grid-template-columns: 1.35fr 1fr; gap: 64px; align-items: start; }
.acc-h { margin: 0 0 12px; font-weight: normal; font-size: 10px; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.acc-h-gap { margin-top: 26px; }
.acc-grid aside .acc-link { margin-top: 18px; display: inline-block; }
.acc-grid .btn { margin-top: 14px; }

.orders { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--faint); }
.order-row {
  display: grid; grid-template-columns: 56px 1fr auto auto; gap: 16px; align-items: center;
  padding: 14px 6px; border-bottom: 1px solid var(--faint); transition: background 0.3s;
}
.order-row:hover { background: rgba(255, 255, 255, 0.04); }
.order-row img { width: 56px; aspect-ratio: var(--card-ar, 0.8); object-fit: cover; border-radius: 6px; display: block; }
.order-row strong { display: block; font-weight: normal; font-size: 14px; margin-bottom: 3px; }
.order-row span { font-size: 12px; color: var(--dim); }
.order-row em { font-style: normal; font-size: 13px; min-width: 84px; text-align: right; }
.tag { font-style: normal; font-size: 9px; letter-spacing: 0.06em; text-transform: uppercase; border: 1px solid var(--faint); border-radius: 999px; padding: 2px 7px; margin-left: 6px; color: var(--dim); }
.status {
  font-size: 10px !important; letter-spacing: 0.05em; text-transform: uppercase; white-space: nowrap;
  border: 1px solid var(--faint); border-radius: 999px; padding: 5px 10px; color: var(--fg) !important;
}
.status.s-2 { background: var(--fg); color: #000 !important; border-color: var(--fg); }
.status.s-3 { color: var(--dim) !important; }

.timeline { list-style: none; margin: 0; padding: 0; }
.timeline li { position: relative; display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding-bottom: 30px; color: var(--dim); }
.timeline li::before {
  content: ''; position: absolute; left: 5px; top: 14px; bottom: -2px; width: 1px; background: var(--faint);
}
.timeline li:last-child::before { display: none; }
.timeline li.done::before { background: var(--fg); }
.timeline .dot { width: 11px; height: 11px; margin-top: 4px; border-radius: 50%; border: 1px solid var(--dim); background: #000; position: relative; z-index: 1; }
.timeline li.done .dot { background: var(--fg); border-color: var(--fg); }
.timeline li.now .dot { background: var(--fg); border-color: var(--fg); box-shadow: 0 0 0 0 rgba(255,255,255,.5); animation: pulse 2s infinite; }
.timeline li.done, .timeline li.now { color: var(--fg); }
.timeline strong { display: block; font-weight: normal; font-size: 16px; margin-bottom: 4px; }
.timeline span { font-size: 12.5px; line-height: 1.45; color: var(--dim); }
.timeline .trk { display: table; margin-top: 10px; color: var(--fg); border: 1px solid var(--faint); border-radius: 999px; padding: 4px 10px; font-size: 11px; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(255,255,255,.45); } 70% { box-shadow: 0 0 0 10px rgba(255,255,255,0); } 100% { box-shadow: 0 0 0 0 rgba(255,255,255,0); } }

.co-who { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 12px; margin: -12px 0 28px; font-size: 13px; color: var(--dim); }
.co-who strong { color: var(--fg); font-weight: normal; }
.co-who .fine { margin: 0; flex-basis: 100%; }
.co-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }

/* ── shop details: stock, enquiry, help ───────────── */
.pv-wide { grid-column: 1 / -1; }
.pill.is-out { color: var(--dim); text-decoration: line-through; }
.pill.is-out.is-on { background: transparent; color: var(--dim); border-color: var(--dim); }
.pv-edition.is-sold { background: var(--fg); color: #000; border-color: var(--fg); }
.index-list .sold { font-size: 0.32em; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-left: 4px; vertical-align: super; }
.cl-row { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.cl-row .qty { margin-top: 0 !important; }
.cl-remove { font-size: 10px; letter-spacing: 0.05em; text-transform: uppercase; color: var(--dim); transition: color 0.3s; }
.cl-remove:hover { color: var(--fg); }
.fine a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.co-assure { margin-top: 14px; }

.help-toc { display: flex; flex-direction: column; gap: 12px; position: sticky; top: 0; }
.help-list details { border-bottom: 1px solid var(--faint); }
.help-list details:first-child { border-top: 1px solid var(--faint); }
.help-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-size: clamp(18px, 1.6vw, 22px); letter-spacing: -0.01em;
}
.help-list summary::-webkit-details-marker { display: none; }
.help-list summary i { position: relative; width: 12px; height: 12px; flex: none; }
.help-list summary i::before, .help-list summary i::after { content: ''; position: absolute; left: 0; top: 50%; width: 12px; height: 1px; background: var(--fg); transition: transform 0.4s var(--ease); }
.help-list summary i::after { transform: rotate(90deg); }
.help-list details[open] summary i::after { transform: rotate(0deg); }
.help-body { padding: 0 0 22px; font-size: 13.5px; line-height: 1.6; color: rgba(255, 255, 255, 0.78); max-width: 60ch; }
.help-body p { margin: 0 0 12px; }
.help-body ul { margin: 0 0 12px; padding-left: 18px; }
.help-body li { margin-bottom: 6px; }
.help-body strong { color: var(--fg); font-weight: normal; }
.help-body a { color: var(--fg); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--faint); }
.help-body .pv-specs { margin: 0; }
.help-toc .acc-link { font-size: 11px; }
.help .acc-grid { grid-template-columns: 200px 1fr; }

/* no WebGL: plain image on the product page */
.pv-img { position: absolute; left: 6vw; top: 50%; transform: translateY(-50%); width: min(40vw, 62vh); aspect-ratio: var(--card-ar, 0.8); object-fit: cover; border-radius: 14px; }
body.no-gl #featuredLink, body.no-gl .bl .sep { display: none; }

/* ── ink bleed: above everything, only while it runs ─ */
.over-ink { z-index: 95 !important; pointer-events: none !important; }
.ink { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 90; display: block; visibility: hidden; pointer-events: none; }
.ink.is-on { visibility: visible; pointer-events: auto; }

/* the menu stays steady above the page change */
.corner, .filter, .head { z-index: 95 !important; }

/* ── industry filter ──────────────────────────────── */
/* one compact button that opens a panel of industries */
.filter {
  position: fixed; top: calc(var(--head) + 22px); left: 50%; transform: translateX(-50%); z-index: 40;
  font-size: 11px; line-height: 1; letter-spacing: 0.03em; font-variation-settings: "wght" 640, "wdth" 100;
  opacity: 0; visibility: hidden; transition: opacity 0.5s, visibility 0.5s;
}
body[data-view="featured"]:not(.ring-open) .filter,
body[data-view="index"]:not(.ring-open) .filter { opacity: 1; visibility: visible; }
.filter button { white-space: pre; }
.filter sup { font-size: 8px; margin-left: 2px; vertical-align: 4px; line-height: 0; }
.filter-toggle {
  display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px 9px 16px;
  color: var(--fg); border: 1px solid var(--faint); border-radius: 999px; background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color 0.3s, background 0.3s;
}
.filter-toggle:hover, .filter.is-open .filter-toggle { border-color: rgba(255, 255, 255, 0.45); }
.filter-toggle:focus-visible { outline: 1px solid var(--fg); outline-offset: 3px; }
.filter-count { color: var(--dim); }
.filter-chev { width: 10px; height: 6px; margin-left: 2px; transition: transform 0.35s var(--ease); }
.filter.is-open .filter-chev { transform: rotate(180deg); }
.filter-menu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translateX(-50%);
  display: grid; grid-template-columns: repeat(4, max-content); gap: 14px 26px; padding: 18px 22px;
  background: var(--panel); border: 1px solid var(--faint); border-radius: 14px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.6); max-width: calc(100vw - 2 * var(--gutter));
}
.filter-menu[hidden] { display: none; }
.filter-menu button { color: var(--dim); text-align: left; transition: color 0.3s; }
.filter-menu button:hover, .filter-menu button[aria-checked="true"] { color: var(--fg); }
.filter-menu button:focus-visible { outline: 1px solid var(--fg); outline-offset: 4px; }
@media (max-width: 940px) {
  .filter { top: calc(var(--head) + 14px); }
  .filter-menu { grid-template-columns: repeat(2, max-content); gap: 14px 22px; }
}

/* ── template store ───────────────────────────────── */
.file-row { display: grid; grid-template-columns: 56px 1fr auto; gap: 16px; align-items: center; padding: 14px 6px; border-bottom: 1px solid var(--faint); }
.file-row img { width: 56px; aspect-ratio: var(--card-ar, 0.8); object-fit: cover; border-radius: 6px; display: block; }
.file-row strong { display: block; font-weight: normal; font-size: 14px; margin-bottom: 3px; }
.file-row span { font-size: 12px; color: var(--dim); }
.file-row .btn span { color: inherit; font-size: inherit; }
.btn[disabled] { opacity: 0.3; pointer-events: none; }
.co-summary .pv-wide { width: 100%; margin-top: 6px; }
.co-grid select, .co-grid textarea {
  width: 100%; border: 0; border-bottom: 1px solid var(--faint); background: transparent; color: inherit;
  outline: none; font: inherit; font-size: 15px; transition: border-color 0.3s;
}
.co-grid select { height: 38px; }
.co-grid select option { background: var(--panel); }
.co-grid textarea { padding: 8px 0; resize: vertical; line-height: 1.45; }
.co-grid select:focus, .co-grid textarea:focus { border-color: var(--fg); }
.co-grid label.is-bad textarea { border-color: var(--bad); }
.co-grid textarea::placeholder, .co-grid input::placeholder { color: var(--dim); }

/* ── cart drawer ──────────────────────────────────── */
.scrim {
  position: fixed; inset: 0; z-index: 60; background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  opacity: 0; pointer-events: none; transition: opacity 0.6s var(--ease);
}
.cart {
  position: fixed; top: 0; right: 0; bottom: 0; z-index: 61;
  width: min(420px, 100%); display: flex; flex-direction: column;
  background: var(--panel); border-left: 1px solid var(--faint);
  transform: translateX(102%); transition: transform 0.8s var(--ease);
}
body.cart-open .scrim { opacity: 1; pointer-events: auto; }
body.cart-open .cart { transform: none; }
.cart-head {
  display: flex; justify-content: space-between; padding: var(--gutter);
  font-size: 11px; letter-spacing: 0.03em; font-variation-settings: "wght" 640;
}
.cart-head button { white-space: pre; }
.cart-lines { flex: 1; overflow: auto; list-style: none; margin: 0; padding: 0 var(--gutter); }
.cl-info .qty { margin-top: 8px; }
.cart-empty { display: block !important; color: var(--dim); font-size: 13px; padding: 30px 0 !important; border: 0 !important; }
.cart-foot { padding: 20px var(--gutter) var(--gutter); border-top: 1px solid var(--faint); }
.cart-foot .row { color: var(--fg); font-size: 15px; }
.cart-foot .btn { width: 100%; }

/* ── cursor label + add-to-cart flyer ─────────────── */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 30; pointer-events: none;
}
.cursor span {
  display: block; transform: translate(16px, 16px) scale(0.6); opacity: 0;
  padding: 7px 11px; border-radius: 999px; background: var(--fg); color: #000;
  font-size: 10px; letter-spacing: 0.05em; white-space: nowrap; font-variation-settings: "wght" 640;
  transition: transform 0.45s var(--ease), opacity 0.3s;
}
.cursor.is-on span { transform: translate(16px, 16px) scale(1); opacity: 1; }
@media (hover: none) { .cursor { display: none; } }
.fly {
  position: fixed; left: 0; top: 0; z-index: 80; width: 80px; aspect-ratio: var(--card-ar, 0.8);
  object-fit: cover; border-radius: 8px; pointer-events: none;
}

.noscript { position: fixed; inset: 0; display: grid; place-items: center; margin: 0; }

/* ── mobile ───────────────────────────────────────── */
@media (max-width: 719px) {
  /* --pv-h matches the image height on the template page */
  :root { --gutter: 16px; --head: 92px; --pv-h: min(calc(78vw / var(--card-ar, 1.6)), 42vh); }
  /* scrolling pages fade out under the bottom labels */
  body:not([data-view="featured"]):not([data-view="index"])::after {
    content: ""; position: fixed; left: 0; right: 0; bottom: 0; height: 72px; z-index: 94; pointer-events: none;
    background: linear-gradient(to top, #000 55%, rgba(0, 0, 0, 0));
  }
  .head { grid-template-columns: repeat(4, 1fr); grid-template-rows: 56px 36px; }
  .head-mark, .head-line { display: none; }
  .head-nav { display: contents; }
  .head-nav a, .head-nav button { grid-row: 2; border: 0; border-top: 1px solid var(--head-line); border-right: 1px solid var(--head-line); }
  .head-nav-r button { border-right: 0; }
  .head-logo { grid-column: 1 / 3; grid-row: 1; justify-content: flex-start; padding-left: var(--gutter); border: 0; font-size: 25px; }
  .head-cta { grid-column: 3 / 5; grid-row: 1; padding: 8px 10px 8px 0; border: 0; }
  .head-cta span { font-size: 17px; }
  .ring-content { width: 84vw; padding: 0 12vw; }
  .corner { gap: 16px; }
  .product-view { overflow: auto; pointer-events: auto; }
  .pv { position: relative; inset: auto; }
  .pv-panel {
    position: relative; top: auto; right: auto; bottom: auto; left: auto; overflow: visible;
    margin-top: calc(var(--head) + 24px + var(--pv-h) + 44px); padding-bottom: 72px; border: 0; border-top: 1px solid var(--head-line);
  }
  .pl-cell, .pl-lic, .pl-specs > div, .pl-nav a { padding-inline: var(--gutter); }
  .pl-meta { flex-direction: column; gap: 4px; white-space: normal; }
  .pl-lic-note { min-height: 2.6em; }
  .pl-specs { grid-auto-flow: row; }
  .pl-specs > div + div { border-left: 0; border-top: 1px solid var(--head-line); }
  .pl-specs > div { display: grid; grid-template-columns: 96px 1fr; gap: 8px; }
  .pl-specs dt { margin: 0; }
  .pl-actions { grid-template-columns: 1fr; padding: 8px var(--gutter); }
  .pl-custom { grid-column: auto; height: 46px; }
  .pl-links a { font-size: 10.5px; padding-inline: 4px; }
  .pv-gallery {
    position: absolute; top: calc(var(--head) + 24px + var(--pv-h) + 6px); left: 0; right: 0; transform: none;
    flex-direction: row; justify-content: center;
  }
  .co { grid-template-columns: 1fr; gap: 36px; }
  .acc-grid, .help .acc-grid { grid-template-columns: 1fr; gap: 40px; }
  .help-toc { position: static; flex-direction: row; flex-wrap: wrap; gap: 10px 16px; }
  .pv-img { position: relative; left: auto; top: auto; transform: none; display: block; width: calc(100% - 32px); margin: 70px auto 0; }
  body.no-gl .pv-panel { margin-top: 24px; }
  .acc-head { flex-direction: column; align-items: flex-start; }
  .order-row { grid-template-columns: 48px 1fr auto; }
  .order-row em { display: none; }
  .co-grid { grid-template-columns: 1fr; }
  .checkout-view { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .rainbow { animation: none; }
  .loader span { animation-duration: 2s; }
}

/* short laptop screens: the template panel stays on one screen */
@media (max-height: 700px) and (min-width: 720px) {
  .pl-specs { display: none; }
  .pl-cell { padding-block: 8px; }
  .pl-head { padding-block: 8px; }
  .pl-lic { padding-block: 8px; }
  .pl-buy, .pl-btn { height: 40px; }
  .pl-custom { height: 36px; }
  .pl-links a, .pl-nav a { padding-block: 8px; }
}

/* ── forms, everywhere ─────────────────────────────
   One system. Empty field: the label rests just above the line. Click in or
   type: it lifts, leaving the line free for the text. Spacing runs on 8s. */
:root { --field-h: 34px; --field-lift: 20px; }
.co-grid { gap: 12px 24px; margin-bottom: 24px; }
.co-grid label, .acc-field { position: relative; display: block; padding-top: var(--field-lift); }
.co-grid label > span, .acc-field > span {
  position: absolute; left: 0; bottom: 9px; pointer-events: none; white-space: nowrap;
  transform-origin: left bottom; transition: transform 0.25s var(--ease), color 0.25s;
}
.co-grid input, .co-grid select, .co-grid textarea, .acc-field input {
  display: block; width: 100%; height: var(--field-h); padding: 0; border: 0; border-bottom: 1px solid var(--dim);
  border-radius: 0; background: transparent; color: inherit; outline: none; font: inherit; font-size: 15px;
  transition: border-color 0.25s, height 0.35s var(--ease);
}
.co-grid input:focus, .co-grid select:focus, .co-grid textarea:focus, .acc-field input:focus { border-color: var(--fg); }

/* lifted: in use, filled, or always for a select (it is never empty) */
.co-grid label:focus-within > span,
.co-grid label:has(input:not(:placeholder-shown)) > span,
.co-grid label:has(textarea:not(:placeholder-shown)) > span,
.co-grid label:has(select) > span,
.acc-field:focus-within > span,
.acc-field:has(input:not(:placeholder-shown)) > span { transform: translateY(calc(var(--field-h) * -1 + 8px)); color: var(--dim); }
.co-grid label:focus-within > span, .acc-field:focus-within > span { color: var(--fg); }
.co-grid label.is-bad > span, .acc-field.is-bad > span { color: var(--bad); }
.co-grid label.is-bad input, .co-grid label.is-bad textarea, .acc-field.is-bad input { border-color: var(--bad); }

/* the select has no hover "hand" problem, and its own label sits on the value's top */
.co-grid select { cursor: pointer; }

/* the brief starts as one line like the rest, and opens when it's being written */
.co-grid textarea { padding: 7px 0 0; resize: none; overflow: hidden; line-height: 1.4; }
.co-grid textarea::placeholder { color: transparent; transition: color 0.25s; }
.co-grid textarea:focus::placeholder { color: var(--dim); }
.co-grid textarea:focus, .co-grid textarea:not(:placeholder-shown) { height: 88px; overflow: auto; }
.co-grid label:has(textarea:focus) > span,
.co-grid label:has(textarea:not(:placeholder-shown)) > span { bottom: auto; top: 6px; transform: none; }

/* the six-digit code is a taller field, so its label lifts further */
.acc-field:has(.code-input):focus-within > span,
.acc-field:has(.code-input:not(:placeholder-shown)) > span { transform: translateY(-48px); }

/* browser autofill keeps the dark look */
.co-grid input:-webkit-autofill, .acc-field input:-webkit-autofill {
  -webkit-text-fill-color: var(--fg); caret-color: var(--fg); transition: background-color 9999s;
}

/* rhythm */
.co-title { margin-bottom: 24px; }
.co-empty .co-title { margin-bottom: 0; }
.co-who { margin: -8px 0 24px; }
.co-form .fine { margin: 0 0 16px; }
.co-form .btn { margin-top: 0; }
.co-error { margin: 8px 0 0; }
.acc-head { margin-bottom: 24px; }
.acc-form { gap: 12px; margin-top: 4px; }
.acc-form .btn { margin-top: 12px; }
.acc-grid .co-form .co-grid { margin-bottom: 24px; }
.custom-page { gap: 0; }
.custom-page .acc-grid .btn { margin-top: 0; }
.custom-page .co-error { margin: 8px 0 0; }
.custom-page .timeline li { padding-bottom: 24px; }
.custom-page .timeline li:last-child { padding-bottom: 0; }
.custom-page aside .acc-h { margin-bottom: 16px; }
.custom-page aside { padding-top: var(--field-lift); }

/* the dropdown's text starts on the same edge as the other fields */
.co-grid select {
  appearance: none; -webkit-appearance: none; padding-right: 24px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none' stroke='white' stroke-width='1.4'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 2px center;
}
/* a password manager's fill counts as filled */
.co-grid label:has(input:autofill) > span,
.acc-field:has(input:autofill) > span { transform: translateY(calc(var(--field-h) * -1 + 8px)); }

/* the custom page holds still when the brief opens or an error appears */
.custom-page { margin: 0 auto; }
.checkout-view:has(.custom-page) { align-items: flex-start; padding-top: calc(var(--head) + clamp(32px, 7vh, 72px)); }

/* account: the two links read as two links */
.acc-grid aside > .acc-link { display: block; width: fit-content; margin-top: 16px; }
.acc-grid aside > dl + .acc-link { margin-top: 24px; }

/* order: one rule above "Paid", level with the rule on the left */
.co-summary { padding-top: 0; }
.co-summary > .row.total:first-child { border-top: 0; margin-top: 0; }
.co-summary .fine:empty { display: none; }
.acc .co-summary > .row.total:first-child + .fine { margin: 4px 0 16px; }

/* phones: 16px text stops the browser zooming in on a field */
@media (max-width: 719px) {
  .co-grid input, .co-grid select, .co-grid textarea, .acc-field input { font-size: 16px; }
  .acc-grid > .co-summary { border-top: 0; }
}

/* help: an opened section stops clear of the header and the bottom labels */
.help-list details { scroll-margin: calc(var(--head) + 24px) 0 64px; }
.help-toc { top: calc(var(--head) + 24px); }

/* short laptop screens: less air, same order */
@media (max-height: 700px) and (min-width: 720px) {
  .checkout-view { padding-top: calc(var(--head) + 24px); padding-bottom: 56px; }
  .co-grid { gap: 4px 24px; margin-bottom: 16px; }
  .co-title { margin-bottom: 16px; }
  .co-who { margin-bottom: 12px; }
  .custom-page .timeline li { padding-bottom: 12px; }
}

/* ── AI assistant: the orb and its stage ─────────────── */
.orb {
  position: fixed; z-index: 201; left: 0; top: 0; transform-origin: 0 0;
  width: 400px; height: 400px; padding: 0; border-radius: 50%;
  visibility: hidden; -webkit-tap-highlight-color: transparent;
}
.orb canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; }
.orb:focus-visible { outline: none; }
.orb:focus-visible canvas { filter: drop-shadow(0 0 18px rgba(255, 255, 255, 0.6)); }
.ask-open .orb { cursor: default; pointer-events: none; }
/* without WebGL: a plain gradient orb */
.orb-css { display: none; position: absolute; inset: 17%; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #ffe1ec 0 8%, transparent 30%), radial-gradient(circle at 60% 65%, #ff4536, transparent 55%), radial-gradient(circle at 30% 70%, #41c6ff, transparent 50%), #8452ff;
  box-shadow: 0 0 60px 10px rgba(132, 82, 255, 0.45); }
.orb.no-gl .orb-css { display: block; }
.orb.no-gl canvas { display: none; }
.orb-hello {
  position: fixed; z-index: 200; max-width: 250px; margin: 0; padding: 12px 14px;
  border-radius: 16px 16px 4px 16px; background: rgba(20, 16, 34, 0.86); border: 1px solid rgba(255, 255, 255, 0.14);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.9); cursor: pointer;
  visibility: hidden; box-shadow: 0 14px 40px rgba(0, 0, 0, 0.5);
}

.ask-stage { position: fixed; inset: 0; z-index: 199; visibility: hidden; }
.ask-stage[hidden] { display: none; }
.ask-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(60vmax 60vmax at 78% 50%, rgba(132, 82, 255, 0.22), transparent 60%),
    radial-gradient(40vmax 40vmax at 90% 95%, rgba(255, 69, 54, 0.14), transparent 60%),
    radial-gradient(50vmax 40vmax at 0% 0%, rgba(65, 198, 255, 0.08), transparent 60%),
    #07060c;
}
.ask-top { position: absolute; top: 22px; right: 28px; display: flex; gap: 10px; align-items: center; z-index: 2; }
.ask-x, .ask-new { height: 40px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); color: #fff; transition: background 0.3s, border-color 0.3s; }
.ask-x { width: 40px; display: grid; place-items: center; }
.ask-new { padding: 0 16px; font-size: 12.5px; letter-spacing: 0.02em; }
.ask-x:hover, .ask-new:hover { background: rgba(255, 255, 255, 0.14); border-color: rgba(255, 255, 255, 0.35); }
.ask-col {
  position: absolute; z-index: 1; left: clamp(20px, 6vw, 96px); bottom: clamp(28px, 7vh, 72px);
  width: min(560px, 46vw); display: flex; flex-direction: column; gap: 14px;
}
.ask-log {
  max-height: min(52vh, 520px); overflow-y: auto; overscroll-behavior: contain;
  display: flex; flex-direction: column; gap: 12px; padding: 24px 4px 4px;
  -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 36px); mask-image: linear-gradient(to bottom, transparent 0, #000 36px);
  scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}
.ask-msg { max-width: 88%; padding: 12px 16px; border-radius: 18px; font-size: 15px; line-height: 1.55; }
.ask-msg p { margin: 0; }
.ask-msg p + p { margin-top: 8px; }
.ask-msg.bot { align-self: flex-start; background: rgba(255, 255, 255, 0.07); border: 1px solid rgba(255, 255, 255, 0.1); border-bottom-left-radius: 6px; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ask-msg.me { align-self: flex-end; background: #fff; color: #0b0a12; border-bottom-right-radius: 6px; }
.ask-msg.bot a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255, 255, 255, 0.45); }
.ask-msg.bot a:hover { text-decoration-color: #fff; }
.ask-msg.note { align-self: flex-start; max-width: none; padding: 6px 12px; font-size: 12px; color: #9be6a8; background: none; border: 1px solid rgba(155, 230, 168, 0.35); border-radius: 999px; }
.ask-msg.is-err { color: var(--bad); }
.caret { display: inline-block; width: 7px; height: 1.05em; margin-left: 2px; vertical-align: -0.15em; background: #fff; animation: ask-caret 0.9s steps(1) infinite; }
@keyframes ask-caret { 50% { opacity: 0; } }
.ask-dots { display: flex; gap: 5px; padding: 6px 0; }
.ask-dots span { width: 6px; height: 6px; border-radius: 50%; background: rgba(255, 255, 255, 0.6); animation: ask-dot 1.2s infinite ease-in-out; }
.ask-dots span:nth-child(2) { animation-delay: 0.15s; } .ask-dots span:nth-child(3) { animation-delay: 0.3s; }
@keyframes ask-dot { 0%, 80%, 100% { opacity: 0.25; transform: translateY(0); } 40% { opacity: 1; transform: translateY(-3px); } }
.ask-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ask-chips[hidden] { display: none; }
.ask-chips button { padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, 0.06); border: 1px solid rgba(255, 255, 255, 0.14); font-size: 13px; color: rgba(255, 255, 255, 0.88); transition: background 0.3s, border-color 0.3s, transform 0.3s var(--ease); }
.ask-chips button:hover { background: rgba(255, 255, 255, 0.13); border-color: rgba(255, 255, 255, 0.4); transform: translateY(-1px); }
.ask-form {
  position: relative; display: flex; align-items: flex-end; gap: 10px; padding: 8px 8px 8px 20px;
  border-radius: 999px; background: #fff; color: #0b0a12;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5), 0 0 40px 4px rgba(132, 82, 255, 0.45), 0 0 90px 10px rgba(255, 69, 54, 0.18);
  transition: box-shadow 0.5s;
}
.ask-form:focus-within { box-shadow: 0 0 0 1px #fff, 0 0 50px 8px rgba(132, 82, 255, 0.6), 0 0 110px 16px rgba(255, 69, 54, 0.24); }
.ask-form textarea { flex: 1; resize: none; border: 0; background: none; color: inherit; font: inherit; font-size: 15px; line-height: 1.45; padding: 9px 0; max-height: 120px; outline: none; }
.ask-form textarea::placeholder { color: rgba(11, 10, 18, 0.45); }
.ask-send { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: #fff;
  background: linear-gradient(135deg, #8452ff, #ff4536); transition: transform 0.3s var(--ease), opacity 0.3s; }
.ask-send:hover { transform: scale(1.06); }
.ask-form.is-busy .ask-send { opacity: 0.4; pointer-events: none; }
.ask-fine { margin: 0 0 0 20px; font-size: 11px; color: rgba(255, 255, 255, 0.4); }
@media (max-width: 760px) {
  .ask-top { top: 14px; right: 14px; }
  .ask-col { left: 14px; right: 14px; width: auto; bottom: 16px; }
  .ask-log { max-height: 40vh; }
  .ask-msg { font-size: 14.5px; }
  .ask-form textarea { font-size: 16px; } /* stops iOS zooming into the field */
  .orb-hello { max-width: 210px; }
}
@media (prefers-reduced-motion: reduce) { .caret, .ask-dots span { animation: none; } }

/* ── selling paused (SHOP_OPEN = false in config.js): no account or cart in the header ── */
.shop-closed .head-nav-r { display: none; }
@media (min-width: 720px) { .shop-closed .head-cta { grid-row: 1 / 4; } }
@media (max-width: 719px) {
  .shop-closed .head-nav-l a { grid-column: span 2; }
  .shop-closed .head-nav-l a:last-child { border-right: 0; }
}

/* ── search: a round button beside the filter pill that opens into a field ── */
.search {
  position: fixed; top: var(--y, calc(var(--head) + 22px)); left: var(--x, calc(50% + 96px)); z-index: 41;
  height: var(--h, 31px); width: var(--h, 31px);
  display: flex; align-items: center; overflow: hidden;
  border: 1px solid var(--faint); border-radius: 999px; background: rgba(0, 0, 0, 0.55);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  opacity: 0; visibility: hidden;
  transition: width 0.55s var(--ease), opacity 0.5s, visibility 0.5s, border-color 0.3s;
}
body[data-view="featured"]:not(.ring-open) .search,
body[data-view="index"]:not(.ring-open) .search { opacity: 1; visibility: visible; }
.search:hover, .search.is-open { border-color: rgba(255, 255, 255, 0.45); }
.search:focus-within { border-color: rgba(255, 255, 255, 0.7); }
.search.is-open { width: 270px; }
.search-btn { flex: none; width: calc(var(--h, 31px) - 2px); height: 100%; display: grid; place-items: center; color: var(--fg); }
.search input {
  flex: 1; min-width: 0; height: 100%; padding: 0 4px 0 0; border: 0; background: none; outline: none;
  color: var(--fg); font-size: 12px; letter-spacing: 0.02em; opacity: 0; transition: opacity 0.3s;
}
.search input::placeholder { color: var(--dim); }
.search input::-webkit-search-cancel-button { display: none; }
.search.is-open input { opacity: 1; }
.search-x { flex: none; width: 28px; height: 100%; font-size: 16px; line-height: 1; color: var(--dim); display: none; }
.search-x:hover { color: var(--fg); }
.search.is-open.has-q .search-x { display: block; }
.index-list .index-empty { display: block; font-size: 0.62em; color: var(--dim); }
@media (max-width: 719px) {
  /* on a phone the open field spans the width, over the filter pill */
  .search.is-open { left: var(--gutter); width: calc(100vw - 2 * var(--gutter)); }
  body.search-open .filter { opacity: 0 !important; visibility: hidden !important; }
  .search input { font-size: 16px; } /* stops iOS zooming into the field */
}

