/* ======================================================================
   Praatbox Widget Lab — visuals for 4 widget variants × multiple states.
   ====================================================================== */

:root {
  --w-accent: #16a34a;
  --w-accent-ink: #ffffff;
  --w-paper: #ffffff;
  --w-paper-2: #f7f6f2;
  --w-ink: #14110d;
  --w-ink-2: #2d2925;
  --w-muted: #807a72;
  --w-line: #e8e4dc;
  --w-line-soft: #f0ece4;
  --w-shadow: 0 24px 60px rgba(20, 17, 13, 0.18), 0 4px 12px rgba(20, 17, 13, 0.06);
  --w-radius: 18px;
  --w-radius-bubble: 14px;
  --w-radius-msg: 14px;
  --w-font: "Geist", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
  --w-font-mono: "Geist Mono", ui-monospace, monospace;
  --w-font-display: "Instrument Serif", Georgia, serif;
}

/* === wrappers used by the Lab page === */
.widget-stage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 24px;
  box-sizing: border-box;
  position: relative;
  background: transparent;
  font-family: var(--w-font);
  color: var(--w-ink);
}
.widget-stage__caption {
  position: absolute;
  bottom: -32px;
  left: 0;
  font-family: var(--w-font-mono);
  font-size: 11px;
  color: #807a72;
  letter-spacing: 0.04em;
}

/* === closed bubble === */
.w-bubble {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--w-accent);
  color: var(--w-accent-ink);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: var(--w-shadow);
  position: relative;
  transition: transform 0.2s;
}
.w-bubble:hover { transform: scale(1.05); }
.w-bubble svg { width: 26px; height: 26px; }
.w-bubble__dot {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ef4444;
  border: 2px solid var(--w-paper);
  color: white;
  font-size: 9px;
  font-weight: 600;
  display: grid;
  place-items: center;
}

/* === proactive popup tail === */
.w-proactive {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  padding: 14px 16px 14px 14px;
  box-shadow: var(--w-shadow);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  max-width: 280px;
  margin-bottom: 12px;
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--w-ink);
  position: relative;
}
.w-proactive__avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--w-accent);
  color: var(--w-accent-ink);
  display: grid;
  place-items: center;
  font-family: var(--w-font-display);
  font-size: 18px;
  flex-shrink: 0;
}
.w-proactive__close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: var(--w-muted);
  font-size: 16px;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.w-proactive::after {
  content: "";
  position: absolute;
  bottom: -8px;
  right: 28px;
  width: 16px;
  height: 16px;
  background: var(--w-paper);
  border-right: 1px solid var(--w-line);
  border-bottom: 1px solid var(--w-line);
  transform: rotate(45deg);
}

/* === main panel === */
.w-panel {
  width: 380px;
  height: 580px;
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: var(--w-radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--w-shadow);
  font-family: var(--w-font);
  color: var(--w-ink);
}

/* === header === */
.w-head {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  position: relative;
}
.w-head__avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: white;
  display: grid;
  place-items: center;
  font-family: var(--w-font-display);
  font-size: 22px;
  flex-shrink: 0;
}
.w-head__name {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.1;
}
.w-head__status {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.92;
  margin-top: 3px;
  font-family: var(--w-font-mono);
  letter-spacing: 0.02em;
}
.w-head__status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #6ee7b7;
  box-shadow: 0 0 0 3px rgba(110, 231, 183, 0.3);
}
.w-head__status.is-waiting::before { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.3); }
.w-head__status.is-offline::before { background: rgba(255,255,255,0.5); box-shadow: none; }
.w-head__actions {
  margin-left: auto;
  display: flex;
  gap: 4px;
}
.w-head__btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: rgba(255,255,255,0.12);
  border: none;
  color: white;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
}
.w-head__btn:hover { background: rgba(255,255,255,0.22); }
.w-head__btn svg { width: 16px; height: 16px; }

/* === message body === */
.w-body {
  flex: 1;
  background: var(--w-paper-2);
  padding: 20px 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.w-msg {
  max-width: 78%;
  padding: 11px 14px;
  border-radius: var(--w-radius-msg);
  font-size: 14px;
  line-height: 1.45;
  word-wrap: break-word;
}
.w-msg.is-bot {
  background: var(--w-paper);
  color: var(--w-ink);
  border: 1px solid var(--w-line);
  border-bottom-left-radius: 4px;
  align-self: flex-start;
}
.w-msg.is-user {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.w-msg.is-system {
  align-self: center;
  background: transparent;
  border: 1px dashed var(--w-line);
  color: var(--w-muted);
  font-size: 12px;
  padding: 8px 14px;
  font-family: var(--w-font-mono);
  letter-spacing: 0.04em;
}
.w-msg__time {
  font-size: 10px;
  opacity: 0.55;
  margin-top: 4px;
  font-family: var(--w-font-mono);
}
.w-msg-row {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* typing indicator */
.w-typing {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  align-self: flex-start;
  padding: 12px 14px;
  border-radius: var(--w-radius-msg);
  border-bottom-left-radius: 4px;
  display: flex;
  gap: 4px;
}
.w-typing span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--w-muted);
  animation: w-bounce 1.2s infinite;
  opacity: 0.45;
}
.w-typing span:nth-child(2) { animation-delay: 0.15s; }
.w-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes w-bounce {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.45; }
  30% { transform: translateY(-4px); opacity: 1; }
}

/* suggested chips */
.w-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
  align-self: flex-start;
  max-width: 90%;
}
.w-chip {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  color: var(--w-ink);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 12.5px;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.w-chip:hover {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  border-color: var(--w-accent);
}

/* === input row === */
.w-input {
  border-top: 1px solid var(--w-line);
  background: var(--w-paper);
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.w-input input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--w-line);
  border-radius: 999px;
  padding: 9px 14px;
  font-family: inherit;
  font-size: 14px;
  outline: none;
  background: var(--w-paper-2);
  color: var(--w-ink);
}
.w-input input:focus {
  border-color: var(--w-accent);
  background: var(--w-paper);
}
.w-input__btn {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--w-paper-2);
  border: none;
  color: var(--w-ink-2);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.15s;
  flex-shrink: 0;
  padding: 0;
}
.w-input__btn:hover { background: color-mix(in oklab, var(--w-ink) 8%, transparent); }
.w-input__btn.is-send { background: var(--w-accent); color: var(--w-accent-ink); }
.w-input__btn.is-send:hover { background: color-mix(in oklab, var(--w-accent) 90%, black); }
.w-input__btn svg { width: 16px; height: 16px; }
.w-input__btn.is-rec {
  background: #ef4444;
  color: white;
  animation: w-pulse 1.6s infinite;
}
@keyframes w-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.5); }
  50% { box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
}

/* === voice recording overlay === */
.w-voice {
  flex: 1;
  background: var(--w-paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  text-align: center;
  gap: 24px;
}
.w-voice__pulse {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: var(--w-accent);
  color: var(--w-accent-ink);
  display: grid;
  place-items: center;
  position: relative;
  animation: w-pulse-ring 1.6s infinite;
}
.w-voice__pulse svg { width: 36px; height: 36px; }
@keyframes w-pulse-ring {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in oklab, var(--w-accent) 50%, transparent); }
  50% { box-shadow: 0 0 0 24px color-mix(in oklab, var(--w-accent) 0%, transparent); }
}
.w-voice__waves {
  display: flex;
  gap: 4px;
  align-items: center;
  height: 32px;
}
.w-voice__wave {
  width: 3px;
  background: var(--w-accent);
  border-radius: 2px;
  animation: w-wave 0.9s infinite ease-in-out;
}
@keyframes w-wave {
  0%, 100% { height: 8px; }
  50% { height: 28px; }
}
.w-voice__label {
  font-size: 14px;
  color: var(--w-ink-2);
}
.w-voice__time {
  font-family: var(--w-font-mono);
  font-size: 24px;
  color: var(--w-ink);
  letter-spacing: 0.04em;
}
.w-voice__actions { display: flex; gap: 10px; margin-top: 8px; }
.w-voice__action {
  padding: 10px 22px;
  border-radius: 999px;
  font-family: inherit;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid var(--w-line);
  background: var(--w-paper);
  color: var(--w-ink-2);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s;
}
.w-voice__action:hover { background: color-mix(in oklab, var(--w-ink) 5%, var(--w-paper)); }
.w-voice__action.is-stop {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  border-color: var(--w-accent);
  padding-left: 16px;
}
.w-voice__action.is-stop:hover { background: color-mix(in oklab, var(--w-accent) 90%, black); }
.w-voice__action svg { width: 12px; height: 12px; }

/* === pre-chat form === */
.w-form {
  flex: 1;
  background: var(--w-paper-2);
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}
.w-form__greet {
  font-family: var(--w-font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.w-form__greet em { color: var(--w-accent); font-style: italic; }
.w-form__sub { font-size: 13.5px; color: var(--w-muted); margin-top: -8px; }
.w-form__field { display: flex; flex-direction: column; gap: 5px; }
.w-form__field label {
  font-family: var(--w-font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--w-muted);
}
.w-form__field input {
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: 10px;
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  color: var(--w-ink);
  outline: none;
}
.w-form__field input:focus { border-color: var(--w-accent); }
.w-form__btn {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  border: none;
  border-radius: 10px;
  padding: 11px 16px;
  font-family: inherit;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  margin-top: 8px;
}
.w-form__skip {
  background: none;
  border: none;
  font-size: 12.5px;
  color: var(--w-muted);
  text-decoration: underline;
  cursor: pointer;
  font-family: inherit;
}

/* === handoff banner === */
.w-handoff {
  background: linear-gradient(0deg, color-mix(in oklab, var(--w-accent) 8%, var(--w-paper-2)), var(--w-paper-2));
  border: 1px solid color-mix(in oklab, var(--w-accent) 25%, var(--w-line));
  border-radius: 12px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-self: stretch;
  margin: 0 4px;
}
.w-handoff__head {
  display: flex;
  align-items: center;
  gap: 10px;
}
.w-handoff__avatars {
  display: flex;
  align-items: center;
}
.w-handoff__avatars > div {
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 2px solid var(--w-paper-2);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-family: var(--w-font-mono);
  font-weight: 600;
}
.w-handoff__avatars > div:not(:first-child) { margin-left: -10px; }
.w-handoff__title {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--w-ink);
}
.w-handoff__sub { font-size: 12px; color: var(--w-muted); margin-top: 1px; }
.w-handoff__progress {
  height: 4px;
  background: var(--w-line);
  border-radius: 2px;
  overflow: hidden;
  position: relative;
}
.w-handoff__progress::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--w-accent);
  width: 60%;
  border-radius: 2px;
  animation: w-progress 1.6s infinite;
}
@keyframes w-progress {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(165%); }
}

/* === CSAT rating === */
.w-csat {
  flex: 1;
  background: var(--w-paper-2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  gap: 18px;
  text-align: center;
}
.w-csat__title {
  font-family: var(--w-font-display);
  font-size: 28px;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.w-csat__title em { color: var(--w-accent); font-style: italic; }
.w-csat__sub { font-size: 13.5px; color: var(--w-muted); }
.w-csat__stars { display: flex; gap: 6px; }
.w-csat__star {
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: var(--w-line);
  padding: 4px;
  line-height: 1;
  transition: transform 0.1s, color 0.15s;
}
.w-csat__star:hover { transform: scale(1.15); }
.w-csat__star.is-filled { color: #fbbf24; }
.w-csat__feedback {
  width: 100%;
  background: var(--w-paper);
  border: 1px solid var(--w-line);
  border-radius: 12px;
  padding: 12px;
  font-family: inherit;
  font-size: 13px;
  color: var(--w-ink);
  resize: none;
  outline: none;
  margin-top: 4px;
}
.w-csat__btn {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}

/* === offline / email capture === */
.w-offline {
  flex: 1;
  background: var(--w-paper-2);
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.w-offline__title {
  font-family: var(--w-font-display);
  font-size: 26px;
  line-height: 1.2;
  letter-spacing: -0.01em;
}
.w-offline__title em { color: var(--w-accent); font-style: italic; }
.w-offline__sub { font-size: 13.5px; color: var(--w-muted); }

/* === starter questions empty-state === */
.w-starters {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 28px 22px;
  background: var(--w-paper-2);
  overflow-y: auto;
}
.w-starters__intro {
  font-size: 13.5px;
  color: var(--w-muted);
  line-height: 1.5;
  margin-bottom: 4px;
}
.w-starter {
  background: color-mix(in oklab, var(--w-accent) 12%, var(--w-paper));
  color: color-mix(in oklab, var(--w-accent) 80%, var(--w-ink));
  border: 1px solid color-mix(in oklab, var(--w-accent) 22%, transparent);
  border-radius: 999px;
  padding: 11px 18px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-align: left;
  cursor: pointer;
  align-self: flex-start;
  max-width: 92%;
  transition: all 0.15s;
}
.w-starter:hover {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  border-color: var(--w-accent);
  transform: translateX(2px);
}
.v-minimal .w-starter,
.v-editorial .w-starter { border-radius: 4px; }
.v-dark .w-starter {
  background: color-mix(in oklab, var(--w-accent) 18%, #232020);
  color: var(--w-ink);
  border-color: color-mix(in oklab, var(--w-accent) 30%, transparent);
}
.w-foot {
  border-top: 1px solid var(--w-line-soft);
  background: var(--w-paper);
  padding: 6px 14px;
  font-family: var(--w-font-mono);
  font-size: 10px;
  color: var(--w-muted);
  text-align: center;
  letter-spacing: 0.06em;
  flex-shrink: 0;
}
.w-foot em { color: var(--w-ink-2); font-style: normal; }

/* ============================================================
   Variant overrides
   ============================================================ */

/* — Variant: Minimal (sharp, mono, no gradients) — */
.v-minimal {
  --w-radius: 4px;
  --w-radius-bubble: 4px;
  --w-radius-msg: 4px;
  --w-shadow: 0 2px 0 rgba(20,17,13,0.08), 0 0 0 1px rgba(20,17,13,0.06);
}
.v-minimal .w-bubble { border-radius: 4px; }
.v-minimal .w-head { background: var(--w-ink); }
.v-minimal .w-head__avatar {
  background: var(--w-accent);
  border-radius: 4px;
}
.v-minimal .w-msg.is-bot {
  border-radius: 4px;
}
.v-minimal .w-msg.is-user {
  background: var(--w-ink);
  color: var(--w-paper);
  border-radius: 4px;
}
.v-minimal .w-msg__time { font-family: var(--w-font-mono); }
.v-minimal .w-input input { border-radius: 4px; }
.v-minimal .w-input__btn { border-radius: 4px; }
.v-minimal .w-input__btn.is-send { background: var(--w-ink); color: var(--w-paper); }
.v-minimal .w-chip { border-radius: 4px; }
.v-minimal .w-voice__action { border-radius: 4px; }

/* — Variant: Dark — */
.v-dark {
  --w-paper: #1a1815;
  --w-paper-2: #131110;
  --w-ink: #f5f1e8;
  --w-ink-2: #d8d2c4;
  --w-muted: #8c857a;
  --w-line: #2d2925;
  --w-line-soft: #232020;
  --w-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 4px 12px rgba(0,0,0,0.3);
}
.v-dark .w-msg.is-bot {
  background: #232020;
  border-color: #2d2925;
  color: var(--w-ink);
}

/* — Variant: Glass — */
.v-glass {
  --w-paper: rgba(255, 255, 255, 0.72);
  --w-paper-2: rgba(255, 255, 255, 0.45);
  --w-line: rgba(20, 17, 13, 0.08);
  --w-line-soft: rgba(20, 17, 13, 0.05);
}
.v-glass .w-panel,
.v-glass .w-proactive {
  backdrop-filter: blur(28px) saturate(1.4);
  -webkit-backdrop-filter: blur(28px) saturate(1.4);
  background: var(--w-paper);
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 24px 60px rgba(20,17,13,0.18), inset 0 1px 0 rgba(255,255,255,0.7);
}
.v-glass .w-head {
  background: linear-gradient(180deg, color-mix(in oklab, var(--w-accent) 90%, white), var(--w-accent));
}
.v-glass .w-msg.is-bot {
  background: rgba(255,255,255,0.85);
  border-color: rgba(20,17,13,0.06);
}
.v-glass .w-input { background: rgba(255,255,255,0.6); }
.v-glass .w-input input { background: rgba(255,255,255,0.7); border-color: rgba(20,17,13,0.06); }
.v-glass .w-foot { background: rgba(255,255,255,0.4); }

/* — Variant: Editorial (serif heads, cream paper) — */
.v-editorial {
  --w-paper: #faf7f0;
  --w-paper-2: #f3eee2;
  --w-ink: #2a1f12;
  --w-ink-2: #4a3c28;
  --w-muted: #8b7e68;
  --w-line: #e6dfca;
  --w-line-soft: #efe9d6;
  --w-radius: 4px;
  --w-radius-msg: 4px;
}
.v-editorial .w-bubble { border-radius: 50%; }
.v-editorial .w-head {
  background: var(--w-paper-2);
  color: var(--w-ink);
  border-bottom: 1px solid var(--w-line);
  padding-bottom: 18px;
}
.v-editorial .w-head__name {
  font-family: var(--w-font-display);
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.01em;
}
.v-editorial .w-head__name em { color: var(--w-accent); font-style: italic; }
.v-editorial .w-head__avatar {
  background: var(--w-accent);
  color: var(--w-accent-ink);
  font-family: var(--w-font-display);
}
.v-editorial .w-head__status { color: var(--w-muted); }
.v-editorial .w-head__status::before { background: var(--w-accent); box-shadow: 0 0 0 3px color-mix(in oklab, var(--w-accent) 25%, transparent); }
.v-editorial .w-head__btn {
  background: rgba(0,0,0,0.04);
  color: var(--w-ink-2);
}
.v-editorial .w-msg.is-bot {
  background: var(--w-paper);
  border-color: var(--w-line);
  border-radius: 4px;
}
.v-editorial .w-msg.is-user {
  background: var(--w-ink);
  color: var(--w-paper);
  border-radius: 4px;
}
.v-editorial .w-input input { border-radius: 6px; background: var(--w-paper); }
.v-editorial .w-chip {
  border-radius: 4px;
  background: var(--w-paper);
  font-family: var(--w-font-mono);
  text-transform: lowercase;
  letter-spacing: 0.02em;
}
.v-editorial .w-voice__action { border-radius: 4px; }

/* — Variant: Embedded (inline, no panel chrome) — */
.v-embedded .w-panel {
  box-shadow: none;
  border: 1px solid var(--w-line);
  border-radius: 16px;
}

/* === Lab page chrome === */
.lab {
  font-family: "Geist", -apple-system, sans-serif;
  background: #f4efe6;
  min-height: 100vh;
}
.lab__hero {
  padding: 80px 48px 40px;
  border-bottom: 1px solid #e0d9cb;
  background: #f4efe6;
}
.lab__hero-inner { max-width: 1100px; margin: 0 auto; }
.lab__eyebrow {
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #8c857a;
}
.lab__title {
  font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(48px, 7vw, 88px);
  letter-spacing: -0.02em;
  line-height: 0.96;
  margin: 16px 0 0;
  font-weight: 400;
  color: #14110d;
}
.lab__title em { font-style: italic; color: #1b6e3b; }
.lab__sub {
  font-size: 18px;
  color: #5a5347;
  max-width: 60ch;
  margin: 24px 0 0;
  line-height: 1.5;
}

.lab__legend {
  display: flex;
  gap: 24px;
  margin-top: 32px;
  font-family: "Geist Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8c857a;
  flex-wrap: wrap;
}
.lab__legend span { display: flex; align-items: center; gap: 8px; }
.lab__legend span::before {
  content: "";
  width: 10px; height: 10px;
  border-radius: 2px;
  background: #c5b89a;
}
.lab__legend .l-default::before { background: #1b6e3b; }
.lab__legend .l-minimal::before { background: #14110d; }
.lab__legend .l-dark::before { background: #2d2925; }
.lab__legend .l-glass::before { background: linear-gradient(135deg, #b3d9c4, #fff); }
.lab__legend .l-editorial::before { background: #c5985f; }

.dc-artboard__inner {
  background: linear-gradient(135deg, #f0e8d6, #faf6ec) !important;
}
.is-dark .dc-artboard__inner {
  background: linear-gradient(135deg, #1a1815, #2a2622) !important;
}
.is-glass .dc-artboard__inner {
  background:
    radial-gradient(60% 60% at 30% 20%, #f9c5b0, transparent 60%),
    radial-gradient(50% 50% at 80% 80%, #b3d9c4, transparent 60%),
    linear-gradient(135deg, #faf6ec, #f0e8d6) !important;
}
