/* ============================================================
   AERISTO — Color Card (shared component)
   Full PDF-style colour profile panel. Used by the Color Lab and
   the Article Library. Self-contained: a fixed dark palette,
   hardcoded so it never collides with a host page's CSS variables.
   Right-side panel on desktop, bottom sheet on mobile.
   ============================================================ */

.card-backdrop {
  position: fixed; inset: 0;
  z-index: 4000;
  background: rgba(6, 6, 9, 0.55);
  opacity: 0; pointer-events: none;
  transition: opacity 0.4s ease;
}
.card-backdrop.is-open { opacity: 1; pointer-events: auto; }

.color-card {
  position: fixed;
  top: 0; right: 0;
  height: 100vh;
  width: clamp(380px, 32vw, 480px);
  z-index: 4001;
  background: rgba(10, 10, 13, 0.98);
  backdrop-filter: blur(26px) saturate(135%);
  -webkit-backdrop-filter: blur(26px) saturate(135%);
  border-left: 1px solid rgba(235, 231, 224, 0.22);
  color: #ebe7e0;
  overflow-y: auto;
  overflow-x: hidden;
  transform: translateX(102%);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  -webkit-overflow-scrolling: touch;
  font-family: 'Inter', -apple-system, system-ui, sans-serif;
}
.color-card.is-open { transform: translateX(0); }

.cc-close {
  position: absolute;
  top: 16px; right: 16px;
  z-index: 3;
  width: 34px; height: 34px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(20, 20, 26, 0.7);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  color: #9a9aa2;
  font-size: 18px; line-height: 1;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cc-close:hover { color: #ebe7e0; border-color: #ebe7e0; }

/* Hero — leather render fills the top */
.cc-render {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #1a1a1f center/cover no-repeat;
  border-bottom: 1px solid rgba(235, 231, 224, 0.22);
}
.cc-render canvas, .cc-render img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.cc-render .cc-render-ph {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #6e6e76;
}
.cc-dl {
  position: absolute;
  bottom: 12px; right: 12px;
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px;
  background: rgba(10, 10, 13, 0.82);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  color: #ebe7e0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cc-dl:hover { color: #c0383f; border-color: #c0383f; }
.cc-dl[disabled] { opacity: 0.5; cursor: default; }

/* Render picker — choose which article's texture / photo to show */
.cc-render-picker {
  padding: 12px 16px 14px;
  border-bottom: 1px solid rgba(235, 231, 224, 0.22);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}
.cc-render-picker-label {
  width: 100%;
  font-family: 'JetBrains Mono', monospace;
  font-size: 8.5px; letter-spacing: 0.24em; text-transform: uppercase;
  color: #6e6e76;
  margin-bottom: 2px;
}
.cc-render-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 11px;
  background: transparent;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  color: #9a9aa2;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.06em;
  cursor: pointer;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  -webkit-tap-highlight-color: transparent;
}
.cc-render-chip:hover { color: #ebe7e0; border-color: #9a9aa2; }
.cc-render-chip.is-active {
  color: #0a0a0d;
  background: #ebe7e0;
  border-color: #ebe7e0;
}
.cc-render-chip .ph-dot {
  width: 5px; height: 5px; border-radius: 50%;
  background: #c0383f;
  display: inline-block;
}

.cc-head { padding: 22px 24px 18px; }
.cc-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.04;
  letter-spacing: 0.01em;
  color: #ebe7e0;
  margin: 0 0 8px;
}
.cc-sub {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9a9aa2;
  display: flex; flex-wrap: wrap; gap: 6px 10px; align-items: center;
}
.cc-sub .dot { width: 3px; height: 3px; border-radius: 50%; background: #6e6e76; display: inline-block; }
.cc-sub .tone-warm { color: #c9966a; }
.cc-sub .tone-cool { color: #7fa6c9; }

.cc-section { padding: 20px 24px; border-top: 1px solid rgba(235, 231, 224, 0.10); }
.cc-section h4 {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.26em; text-transform: uppercase;
  color: #6e6e76;
  font-weight: 400;
  margin: 0 0 14px;
}

/* Articles */
.cc-article {
  display: flex; align-items: baseline; gap: 10px;
  padding: 9px 0;
  border-bottom: 1px solid rgba(235, 231, 224, 0.10);
}
.cc-article:last-child { border-bottom: none; }
.cc-article .no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #ebe7e0; letter-spacing: 0.04em;
  flex-shrink: 0;
}
.cc-article .desc {
  font-size: 12px; color: #9a9aa2; margin-left: auto;
  text-align: right;
}
.cc-empty {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: 15px; color: #6e6e76;
}

/* Palette bars */
.cc-pal { margin-bottom: 16px; }
.cc-pal:last-child { margin-bottom: 0; }
.cc-pal-label {
  font-size: 11px; color: #ebe7e0; margin-bottom: 7px;
  display: flex; justify-content: space-between; align-items: baseline;
}
.cc-pal-label .pct {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; color: #6e6e76; letter-spacing: 0.12em;
}
.cc-pal-bar {
  display: flex; height: 56px;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px; overflow: hidden;
}
.cc-pal-seg {
  position: relative;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 6px 7px;
  overflow: hidden;
}
.cc-pal-seg .swname {
  font-family: 'JetBrains Mono', monospace;
  font-size: 7.5px; letter-spacing: 0.06em; text-transform: uppercase;
  line-height: 1.2;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Similar colors */
.cc-similar {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px;
}
.cc-sim {
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.cc-sim .sw {
  width: 100%; aspect-ratio: 3 / 2;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  transition: border-color 0.2s;
}
.cc-sim:hover .sw { border-color: #ebe7e0; }
.cc-sim .nm {
  font-family: 'JetBrains Mono', monospace;
  font-size: 8px; letter-spacing: 0.04em; text-transform: uppercase;
  color: #9a9aa2;
  margin-top: 5px;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* Locked technical section */
.cc-locked {
  background: rgba(20, 20, 26, 0.5);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 3px;
  padding: 18px;
  text-align: center;
}
.cc-locked .ic {
  font-size: 16px; color: #9a9aa2; margin-bottom: 8px;
}
.cc-locked p {
  font-size: 12px; line-height: 1.55; color: #9a9aa2;
  margin: 0 auto 14px; max-width: 30ch;
}

.cc-btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 9px;
  width: 100%;
  padding: 13px 18px;
  background: transparent;
  border: 1px solid #ebe7e0;
  border-radius: 2px;
  color: #ebe7e0;
  font-family: 'Inter', sans-serif;
  font-size: 10px; font-weight: 500;
  letter-spacing: 0.20em; text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
  -webkit-tap-highlight-color: transparent;
}
.cc-btn:hover { background: #ebe7e0; color: #0a0a0d; }
.cc-btn.ghost {
  border-color: rgba(235, 231, 224, 0.22);
  color: #9a9aa2;
}
.cc-btn.ghost:hover { background: transparent; color: #c0383f; border-color: #c0383f; }
.cc-btn .arrow { transition: transform 0.25s; }
.cc-btn:hover .arrow { transform: translateX(3px); }

/* Spec sheet rows (signed-in customers see actual values) */
.cc-specs {
  background: rgba(20, 20, 26, 0.5);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 3px;
  padding: 12px 16px;
}
.cc-spec-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 8px 0;
  border-bottom: 1px solid rgba(235, 231, 224, 0.08);
  font-size: 12px;
}
.cc-spec-row:last-child { border-bottom: 0; }
.cc-spec-row .lbl {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9a9aa2; flex: 0 0 90px;
}
.cc-spec-row .val { color: #ebe7e0; text-align: right; flex: 1; }
.cc-spec-row .val.mono { font-family: 'JetBrains Mono', monospace; font-feature-settings: 'tnum' 1; letter-spacing: 0.04em; }
.cc-pantone-sw {
  display: inline-block; width: 12px; height: 12px;
  border: 1px solid rgba(235, 231, 224, 0.22);
  vertical-align: middle; margin: 0 6px 0 4px; border-radius: 2px;
}
.cc-de {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; color: #9a9aa2; margin-left: 6px;
}

/* Primary button variant — used for "Save to project" */
.cc-btn.primary {
  background: #a8252c;
  border-color: #a8252c;
  color: #ebe7e0;
}
.cc-btn.primary:hover {
  background: #c0383f; border-color: #c0383f; color: #ebe7e0;
}

.cc-foot { padding: 22px 24px 32px; border-top: 1px solid rgba(235, 231, 224, 0.10); display: flex; flex-direction: column; gap: 10px; }

/* Save-to-project picker overlay — viewport-fixed, ABOVE the color card
   (the card uses z-index 4001 and a `transform` that traps fixed children;
   that's why the picker DOM gets appended to document.body, not the card). */
.cc-picker-backdrop {
  position: fixed; inset: 0;
  background: rgba(10, 10, 13, 0.74);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 5000;
}
.cc-picker {
  position: fixed;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5001;
  width: min(520px, calc(100vw - 40px));
  max-height: min(86vh, 720px);
  background: #14141a;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 3px;
  padding: 22px 22px 18px;
  display: flex; flex-direction: column;
  /* Flex items shrink to fit max-height; without min-height:0 the article
     list would overflow rather than scroll. */
  min-height: 0;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.55);
}
.cc-picker > * { flex-shrink: 0; }
.cc-picker .cc-art-list, .cc-picker .cc-picker-list { flex: 1 1 auto; min-height: 0; }
.cc-picker-tall { width: min(560px, calc(100vw - 40px)); }

/* Step indicator */
.cc-picker-step {
  display: flex; align-items: center; gap: 12px;
  padding: 8px 0 12px;
  border-bottom: 1px solid rgba(235, 231, 224, 0.08);
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9aa2;
}
.cc-picker-step .cc-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 20px; height: 20px; border-radius: 50%;
  background: #c0383f; color: #ebe7e0;
  font-size: 10px; font-weight: 500; letter-spacing: 0;
}
.cc-picker-step .cc-step-label em { color: #ebe7e0; font-style: italic; }
.cc-picker-step .cc-step-back {
  background: transparent; border: none; padding: 0;
  margin-left: auto; cursor: pointer;
  color: #9a9aa2; font: inherit;
  text-transform: uppercase; letter-spacing: 0.12em;
  transition: color 0.2s;
}
.cc-picker-step .cc-step-back:hover { color: #c0383f; }
.cc-picker-help {
  font-size: 12px; color: #9a9aa2;
  line-height: 1.5;
  margin: 0 0 14px;
  font-family: 'Inter', sans-serif;
}

/* Article checkbox rows — flex-shrinks within the picker's max-height so the
   action buttons below it ALWAYS stay visible. Min-height: 0 is required
   for Firefox/Chrome to honor flex shrinking on scrollable children. */
.cc-art-list {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  border-top: 1px solid rgba(235, 231, 224, 0.10);
  border-bottom: 1px solid rgba(235, 231, 224, 0.10);
  margin-bottom: 12px;
}
.cc-art-row {
  display: grid;
  grid-template-columns: 18px 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 9px 4px;
  border-bottom: 1px solid rgba(235, 231, 224, 0.06);
  cursor: pointer;
  transition: background 0.15s;
}
.cc-art-row:last-child { border-bottom: 0; }
.cc-art-row:hover { background: rgba(235, 231, 224, 0.04); }
.cc-art-row.is-locked { background: rgba(192, 56, 63, 0.06); cursor: default; }
.cc-art-row input[type="checkbox"] {
  appearance: none; width: 16px; height: 16px;
  border: 1px solid rgba(235, 231, 224, 0.32); border-radius: 2px;
  background: transparent;
  position: relative; cursor: pointer; margin: 0;
}
.cc-art-row input[type="checkbox"]:checked {
  background: #c0383f; border-color: #c0383f;
}
.cc-art-row input[type="checkbox"]:checked::after {
  content: ''; position: absolute;
  left: 4px; top: 1px; width: 4px; height: 9px;
  border: solid #ebe7e0; border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
.cc-art-row input[type="checkbox"]:disabled { opacity: 0.7; cursor: not-allowed; }
.cc-art-no {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; letter-spacing: 0.06em;
  color: #ebe7e0;
}
.cc-art-desc {
  font-family: 'Inter', sans-serif;
  font-size: 12px; color: #9a9aa2;
  line-height: 1.4;
}

/* "Request new article" row gets its own visual separation */
.cc-art-newdev {
  margin-bottom: 14px;
  padding: 4px 0;
  border-top: 1px dashed rgba(235, 231, 224, 0.10);
}
.cc-art-newdev .cc-art-row { border-bottom: 0; }

/* Stack the action buttons vertically — Save on top (primary, full-width,
   impossible to miss), Cancel underneath as a quieter outlined button.
   Sticks to the bottom of the picker because of flex-shrink:0. */
.cc-picker-actions {
  display: flex; flex-direction: column; gap: 8px;
  margin-top: 4px;
  flex-shrink: 0;
}
.cc-picker-actions .cc-btn { width: 100%; padding: 12px 16px; }
.cc-picker-head {
  display: flex; align-items: flex-start; justify-content: space-between;
  margin-bottom: 14px;
}
.cc-picker h4 {
  margin: 0;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-weight: 500; font-variant: small-caps;
  letter-spacing: 0.04em; font-size: 18px;
  color: #ebe7e0;
}
.cc-picker h4 em {
  font-variant: normal; font-style: italic;
  color: #c0383f; font-weight: 400;
}
.cc-picker-close {
  background: transparent; border: none;
  color: #9a9aa2; font-size: 22px; line-height: 1;
  cursor: pointer; padding: 0 4px;
}
.cc-picker-close:hover { color: #ebe7e0; }
.cc-picker-list {
  flex: 1 1 auto;
  overflow-y: auto;
  border-top: 1px solid rgba(235, 231, 224, 0.10);
  border-bottom: 1px solid rgba(235, 231, 224, 0.10);
  margin-bottom: 14px;
  max-height: 240px;
}
.cc-picker-empty {
  padding: 18px 0; text-align: center;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-style: italic; font-size: 15px;
  color: #9a9aa2;
}
.cc-picker-row {
  display: flex; align-items: center; justify-content: space-between;
  width: 100%; padding: 12px 4px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(235, 231, 224, 0.08);
  cursor: pointer; text-align: left;
  transition: background 0.2s;
}
.cc-picker-row:last-child { border-bottom: 0; }
.cc-picker-row:hover { background: rgba(235, 231, 224, 0.04); }
.cc-picker-name {
  color: #ebe7e0; font-size: 13px; font-family: 'Inter', sans-serif;
}
.cc-picker-count {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  color: #9a9aa2;
}
.cc-picker-new {
  display: flex; gap: 10px; align-items: stretch;
}
.cc-picker-new input {
  flex: 1;
  background: transparent;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  padding: 11px 12px;
  color: #ebe7e0;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}
.cc-picker-new input:focus {
  outline: none; border-color: #c0383f;
}
.cc-picker-new input::placeholder { color: #6e6e76; }
.cc-picker-new .cc-btn { width: auto; flex: 0 0 auto; padding: 11px 16px; }
.cc-picker-msg {
  margin-top: 10px; min-height: 16px;
  font-family: 'Inter', sans-serif; font-size: 12px;
  color: #9a9aa2;
}
.cc-picker-msg.ok  { color: #6FBF7A; }
.cc-picker-msg.err { color: #c0383f; }

/* ─── Request-a-sample dialog (single color) ──────────────────────── */
.cc-sample-dialog { width: min(560px, calc(100vw - 40px)); }

.cc-sample-section {
  margin-bottom: 14px;
  flex-shrink: 0;
}
.cc-sample-label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9a9aa2;
  margin-bottom: 8px;
}

/* Industry chips */
.cc-industry-row {
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-bottom: 10px;
}
.cc-industry-chip {
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: #9a9aa2;
  background: transparent;
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 14px;
  padding: 4px 12px;
  cursor: pointer;
  transition: all 0.2s;
}
.cc-industry-chip:hover { color: #ebe7e0; border-color: #ebe7e0; }
.cc-industry-chip.is-active {
  background: #a8252c; color: #ebe7e0; border-color: #a8252c;
}

/* Article select + quantity input — match the picker dark theme */
.cc-art-select, .cc-qty-input, .cc-notes-input {
  width: 100%;
  background: rgba(20, 20, 26, 0.62);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  padding: 10px 12px;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  color: #ebe7e0;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.cc-art-select option { background: #14141a; color: #ebe7e0; }
.cc-qty-input {
  font-family: 'JetBrains Mono', monospace;
  font-feature-settings: 'tnum' 1;
  text-align: center;
  max-width: 120px;
}
.cc-notes-input { resize: vertical; min-height: 64px; line-height: 1.5; }
.cc-art-select:focus, .cc-qty-input:focus, .cc-notes-input:focus {
  outline: none;
  border-color: #c0383f;
  box-shadow: 0 0 0 3px rgba(192, 56, 63, 0.18);
}

/* Address block */
.cc-address-block {
  background: rgba(20, 20, 26, 0.62);
  border: 1px solid rgba(235, 231, 224, 0.22);
  border-radius: 2px;
  padding: 12px 14px;
}
.cc-address-block.locked .cc-saved-addr { display: block; }
.cc-address-block.locked .cc-addr-override { display: none; }
.cc-address-block:not(.locked) .cc-saved-addr { display: none; }
.cc-address-block:not(.locked) .cc-addr-override { display: block; }

.cc-addr-lines {
  font-size: 12.5px;
  line-height: 1.55;
  color: #ebe7e0;
}
.cc-addr-lines em { font-style: italic; color: #9a9aa2; }

.cc-addr-toggle {
  background: transparent;
  border: none;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #c0383f;
  cursor: pointer;
  padding: 8px 0 0;
}
.cc-addr-toggle:hover { color: #ebe7e0; }

.cc-addr-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px 12px;
}
.cc-addr-grid .cc-addr-full { grid-column: 1 / -1; }
.cc-addr-grid label {
  display: block;
  font-family: 'JetBrains Mono', monospace;
  font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase;
  color: #9a9aa2;
  margin-bottom: 4px;
}
.cc-addr-grid input {
  width: 100%;
  background: rgba(10, 10, 13, 0.6);
  border: 1px solid rgba(235, 231, 224, 0.18);
  border-radius: 2px;
  padding: 8px 10px;
  font-family: 'Inter', sans-serif;
  font-size: 12.5px;
  color: #ebe7e0;
}
.cc-addr-grid input:focus {
  outline: none;
  border-color: #c0383f;
  box-shadow: 0 0 0 2px rgba(192, 56, 63, 0.18);
}

/* Mobile — bottom sheet */
@media (max-width: 820px) {
  .color-card {
    top: auto; bottom: 0; right: 0; left: 0;
    width: 100%;
    height: 90vh;
    border-left: none;
    border-top: 1px solid rgba(235, 231, 224, 0.22);
    border-radius: 10px 10px 0 0;
    transform: translateY(102%);
  }
  .color-card.is-open { transform: translateY(0); }
}

/* ============================================================
   Color tile — compact grid cell used on p.html (shared project)
   and any future shared-spec view. Flat, hairline-only.
   ============================================================ */
.color-tile {
  background: #fff;
  border: 1px solid var(--hairline);
  border-radius: var(--radius-2);
  overflow: hidden;
}
.color-tile .sw { height: 110px; }
.color-tile .meta { padding: 12px 14px; }
.color-tile .name {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 13px;
  color: var(--tarmac);
}
.color-tile .code {
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tarmac-mute);
  margin-top: 3px;
}
.color-tile .article {
  margin-top: 8px;
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tuscany);
  border: 1px solid rgba(127, 35, 32, 0.3);
  border-radius: var(--radius-1);
  padding: 2px 8px;
}
