/* ═══════════════════════════════════════════════════════════════════════
   OUR WORK · the results ledger (2026-11-02)
   Six still cards, one per service, each carrying one number from the client's own dashboard.
   Used by the homepage #work section, /work and every /work/<slug>/ case study.
   The artifact fills its 16:10 stage edge to edge (Justyn, 2026-11-02): a site is its live screenshot,
   a dashboard is re-drawn at full size in that dashboard's own chrome (sizes in cqw so it stays
   proportional from a 342px phone card to a 520px desktop card), a workflow is a real screenshot.
   Nothing here moves on its own: a number nobody can read is not proof.
═══════════════════════════════════════════════════════════════════════ */
.rl-lede {
  margin: 14px 0 0;
  max-width: 64ch;
  font-size: clamp(15px, 1.2vw, 17px);
  line-height: 1.55;
  color: var(--text-muted, #b3b7c4);
}
.rl-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 1.6vw, 22px);
  margin-top: clamp(28px, 3.4vw, 44px);
}
.rl-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
}
a.rl-card:hover {
  transform: translateY(-4px);
}
a.rl-card:focus-visible {
  outline: 2px solid var(--lava, #ff5418);
  outline-offset: 3px;
}

/* the stage: a 16:10 box the artifact fills completely */
.rl-art {
  position: relative;
  z-index: 1;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #0c0d10;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
  container-type: inline-size;
}
.rl-art .rl-shot {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  display: block;
}
.rl-art .rl-shot.center {
  object-position: center;
}
.rl-dom {
  position: absolute;
  left: 3.4cqw;
  bottom: 3.4cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  padding: 1.8cqw 2.8cqw;
  border-radius: 1.8cqw;
  background: rgba(10, 10, 12, 0.82);
  color: #fff;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 2.9cqw;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  max-width: calc(100% - 6.8cqw);
  overflow: hidden;
  text-overflow: ellipsis;
}
.rl-dom svg {
  width: 2.8cqw;
  height: 2.8cqw;
  flex: none;
  color: #c9ccd6;
}
.rl-live {
  position: absolute;
  right: 3.4cqw;
  top: 3.4cqw;
  display: inline-flex;
  align-items: center;
  gap: 1.4cqw;
  padding: 1.6cqw 2.4cqw;
  border-radius: 99px;
  background: rgba(10, 10, 12, 0.82);
  color: #3ddc84;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  font-size: 2.5cqw;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.rl-live i {
  width: 1.6cqw;
  height: 1.6cqw;
  border-radius: 50%;
  background: #3ddc84;
}

/* dashboard panels, drawn at the stage's size in the dashboard's own chrome */
.pn {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  padding: 4.4cqw 4.8cqw 4cqw;
  background: #111216;
  color: #e8e9ee;
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
    sans-serif;
  line-height: 1.3;
  -webkit-font-smoothing: antialiased;
}
.pn-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2cqw;
  font-size: 2.6cqw;
  color: #9aa0ae;
  white-space: nowrap;
}
.pn-head b {
  display: inline-flex;
  align-items: center;
  gap: 1.6cqw;
  font-size: 3.1cqw;
  font-weight: 600;
  color: #fff;
}
.pn-head b svg {
  width: 3.6cqw;
  height: 3.6cqw;
  flex: none;
}
.pn-head .meta {
  font-weight: 700;
  color: #fff;
}
.pn-kpi{margin-top:2.6cqw}
.pn-kpi .lbl {
  display: block;
  font-size: 2.7cqw;
  font-weight: 600;
  color: #c9ccd6;
  margin-bottom: 1cqw;
}
.pn-kpi b{font-size:8.6cqw;font-weight:600;letter-spacing:-.035em;color:#fff;line-height:1;font-variant-numeric:tabular-nums}
.pn i.up {
  display: inline-flex;
  align-items: center;
  gap: 0.6cqw;
  font-style: normal;
  font-weight: 600;
  color: #31a24c;
  font-variant-numeric: tabular-nums;
}
.pn-kpi i.up {
  margin-left: 2.2cqw;
  font-size: 3cqw;
  vertical-align: 0.7cqw;
}
.pn i.up svg {
  width: 2.6cqw;
  height: 2.6cqw;
}
.pn-plot{position:relative;flex:1;min-height:17cqw;margin-top:2cqw}
.pn-plot svg {
  position: absolute;
  inset: 0 0 3.8cqw 0;
  width: 100%;
  height: calc(100% - 3.8cqw);
  overflow: visible;
}
.pn-plot polyline {
  fill: none;
  stroke: #6fc2ff;
  stroke-width: 1.8;
  stroke-linejoin: round;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
}
.pn-plot::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 3.8cqw;
  background: repeating-linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0 1px,
    transparent 1px 25%
  );
}
.pn-xlab {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: space-between;
  font-size: 2.1cqw;
  color: #9aa0ae;
}
.pn-grid{display:grid;grid-template-columns:1fr 1fr;gap:1.2cqw 3cqw;margin-top:2.4cqw;padding-top:2.2cqw;border-top:1px solid rgba(255,255,255,.1)}
.pn-grid span {
  display: flex;
  flex-direction: column;
  gap: 0.4cqw;
  min-width: 0;
}
.pn-grid b {
  font-size: 4.4cqw;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  line-height: 1.1;
}
.pn-grid em {
  font-style: normal;
  font-size: 2.2cqw;
  color: #9aa0ae;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pn-grid i.up {
  font-size: 2.3cqw;
}
.pn-note{margin-top:auto;padding-top:1.8cqw;font-size:2cqw;color:#767c8a;line-height:1.3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
/* Search Console: two months side by side */
.pn-bars{flex:1;min-height:17cqw;display:grid;grid-template-columns:1fr 1fr;gap:6cqw;align-items:end;padding:0 5cqw;margin-top:1.6cqw}
.pn-bars span {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  gap: 1.2cqw;
}
.pn-bars span b {
  font-size: 3.2cqw;
  font-weight: 600;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.pn-bars em {
  display: block;
  width: 100%;
  border-radius: 1.2cqw 1.2cqw 0 0;
  background: rgba(66, 133, 244, 0.42);
}
.pn-bars em.on {
  background: #4285f4;
}
.pn-bars small {
  font-size: 2.3cqw;
  color: #9aa0ae;
}
/* Ads Manager: the campaign row */
.pn-ads .pn-cols {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.2fr;
  gap: 2cqw;
  margin-top: 4cqw;
  padding: 2.2cqw 0;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 2.4cqw;
  color: #b9bec9;
}
.pn-ads .pn-cols u {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.8cqw;
  white-space: nowrap;
}
.pn-ads .pn-cols u svg {
  width: 2.4cqw;
  height: 2.4cqw;
  color: #8a8f9c;
}
.pn-ads .pn-row {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1.2fr;
  gap: 2cqw;
  margin-top: 4.6cqw;
}
.pn-ads .pn-row b {
  display: block;
  font-size: 7.6cqw;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.pn-ads .pn-row em {
  display: block;
  font-style: normal;
  font-size: 2.4cqw;
  color: #9aa0ae;
  margin-top: 1.4cqw;
  white-space: nowrap;
}
.pn-ads .pn-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 1.6cqw;
  font-size: 2.3cqw;
  color: #9aa0ae;
}
.pn-ads .pn-foot i {
  width: 1.8cqw;
  height: 1.8cqw;
  border-radius: 50%;
  background: #31a24c;
}

.rl-led {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 20px 22px 22px;
  flex: 1;
}
.rl-tag {
  align-self: flex-start;
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--lava-ink, #ff7a45);
  padding: 5px 10px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.18));
  border-radius: 100px;
}
.rl-num {
  display: block;
  margin-top: 8px;
  font-size: clamp(34px, 2.9vw, 46px);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  color: var(--text, #fff);
  font-variant-numeric: tabular-nums;
  text-wrap: balance;
}
.rl-num.q {
  font-size: clamp(22px, 1.85vw, 27px);
  letter-spacing: -0.03em;
  line-height: 1.15;
}
.rl-lbl {
  margin: 0;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text, #fff);
}
.rl-line {
  margin: 2px 0 0;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted, #b3b7c4);
}
.rl-meta {
  margin: auto 0 0;
  padding-top: 12px;
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim, #8c91a1);
}
.rl-meta b {
  display: block;
  color: var(--text-muted, #b3b7c4);
  font-weight: 600;
}
.rl-more {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 4px;
  font-size: 14px;
  font-weight: 700;
  color: var(--lava-ink, #ff7a45);
}
.rl-more svg {
  width: 15px;
  height: 15px;
  transition: transform 0.3s ease;
}
a.rl-card:hover .rl-more svg {
  transform: translateX(4px);
}
.rl-foot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px 22px;
  flex-wrap: wrap;
  margin-top: clamp(26px, 3vw, 40px);
  text-align: center;
}
.rl-foot span {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-muted, #b3b7c4);
}
.rl-foot .btn svg {
  width: 17px;
  height: 17px;
}

/* /work: filters, totals, the case study pages */
.rl-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 26px;
}
.rl-stat {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  padding: 8px 15px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.18));
  border-radius: 100px;
  color: var(--text, #fff);
}
.rl-stat b {
  color: var(--lava-ink, #ff7a45);
}
.rl-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: clamp(26px, 3vw, 40px);
}
.rl-filters button {
  font: inherit;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 9px 15px;
  border-radius: 100px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.18));
  background: transparent;
  color: var(--text-muted, #b3b7c4);
  cursor: pointer;
  transition:
    color 0.2s,
    border-color 0.2s,
    background 0.2s;
}
.rl-filters button:hover {
  color: var(--text, #fff);
  border-color: var(--text-dim, #8c91a1);
}
.rl-filters button[aria-pressed="true"] {
  color: #fff;
  background: var(--lava, #ff5418);
  border-color: var(--lava, #ff5418);
}
.rl-filters button:focus-visible {
  outline: 2px solid var(--lava, #ff5418);
  outline-offset: 3px;
}
.rl-card[hidden] {
  display: none;
}
.rl-empty {
  display: none;
  margin: 28px auto 0;
  max-width: 46ch;
  text-align: center;
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-muted, #b3b7c4);
}
.rl-empty.on {
  display: block;
}
.rl-sub {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lava-ink, #ff7a45);
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
}
.rl-sub::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border-strong, rgba(255, 255, 255, 0.18));
}
.wide {
  max-width: clamp(1320px, 92vw, 1600px);
  margin: 0 auto;
  padding: 0 clamp(22px, 5vw, 72px);
}

/* case study */
.st-head {
  text-align: center;
}
.st-head .lede {
  max-width: 680px;
  margin: 14px auto 0;
}
.st-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-top: 18px;
}
.st-tags span {
  font-family: var(--mono, ui-monospace, SFMono-Regular, Menlo, monospace);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 11px;
  border: 1px solid var(--border-strong, rgba(255, 255, 255, 0.18));
  border-radius: 100px;
  color: var(--text-muted, #b3b7c4);
}
.st-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 26px;
}
.st-ctas .btn svg {
  width: 17px;
  height: 17px;
}
.st-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 420px));
  gap: clamp(14px, 1.6vw, 22px);
  justify-content: center;
  margin-top: clamp(30px, 3.6vw, 48px);
}
.st-sec {
  margin-top: clamp(48px, 6vw, 84px);
}
.st-sec h2 {
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin: 0 0 18px;
}
.st-two {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 64px);
}
.st-sec p {
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.6;
  color: var(--text-muted, #b3b7c4);
  margin: 0 0 14px;
}
.st-sec ul {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.st-sec li {
  position: relative;
  padding-left: 26px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height: 1.55;
  color: var(--text, #fff);
}
.st-sec li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 12px;
  border-radius: 3px;
  background: var(--lava, #ff5418);
}
.st-nums {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(12px, 1.4vw, 18px);
}
.st-num {
  flex: 1 1 220px;
  max-width: 420px;
  border-radius: 18px;
  padding: clamp(20px, 2vw, 28px);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.st-num.wide {
  flex-basis: 100%;
  max-width: none;
}
.st-num b {
  font-size: clamp(36px, 3.4vw, 54px);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: var(--text, #fff);
  font-variant-numeric: tabular-nums;
}
.st-num.wide b {
  font-size: clamp(30px, 3vw, 46px);
}
.st-num span {
  font-size: 15.5px;
  line-height: 1.4;
  font-weight: 600;
  color: var(--text, #fff);
}
.st-num small {
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--text-dim, #8c91a1);
}
.st-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-dim, #8c91a1);
}
.st-proof {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(12px, 1.4vw, 18px);
  margin-top: 18px;
}
.st-proof figure {
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.st-proof img {
  width: 100%;
  height: auto;
  display: block;
  background: #0c0d10;
}
.st-proof .portrait img {
  max-height: 560px;
  width: auto;
  margin: 18px auto 0;
  border-radius: 14px;
}
.st-proof figcaption {
  padding: 14px 18px 16px;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--text-muted, #b3b7c4);
}
.st-quote {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}
.st-quote blockquote {
  margin: 0;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
  letter-spacing: -0.035em;
  font-weight: 800;
  color: var(--text, #fff);
  text-wrap: balance;
}
.st-quote blockquote::before {
  content: "\201C";
  display: block;
  height: 0.52em;
  font-size: 1.6em;
  line-height: 1;
  color: var(--lava, #ff5418);
}
.st-quote figcaption {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  font-size: 15px;
  color: var(--text-muted, #b3b7c4);
}
.st-quote figcaption i {
  width: 28px;
  height: 2px;
  background: var(--lava, #ff5418);
}
.st-quote figcaption b {
  color: var(--text, #fff);
  font-weight: 800;
}
.st-video {
  border-radius: 22px;
  overflow: hidden;
  aspect-ratio: 9/16;
  max-width: 320px;
  margin: 0 auto;
  background: #000;
}
.st-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.st-live {
  display: block;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}
.st-live .bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 13px;
  border-bottom: 1px solid var(--border, rgba(255, 255, 255, 0.1));
}
.st-live .bar i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}
.st-live .bar i:nth-child(1) {
  background: #ff5f57;
}
.st-live .bar i:nth-child(2) {
  background: #febc2e;
}
.st-live .bar i:nth-child(3) {
  background: #28c840;
}
.st-live .bar em {
  margin-left: 6px;
  font-style: normal;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #b3b7c4);
}
.st-live img {
  width: 100%;
  height: auto;
  aspect-ratio: 16/10;
  object-fit: cover;
  object-position: top;
  display: block;
}
.st-live .go {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 18px;
  font-size: 15px;
  font-weight: 700;
  color: var(--lava-ink, #ff7a45);
}
.st-live .go svg {
  width: 17px;
  height: 17px;
}
.st-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted, #b3b7c4);
  text-decoration: none;
  margin-bottom: 22px;
}
.st-back svg {
  width: 15px;
  height: 15px;
}

@media (max-width: 1100px) {
  .rl-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .st-two,
  .st-quote {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 640px) {
  .rl-grid {
    grid-template-columns: 1fr;
  }
  .rl-led {
    align-items: center;
    text-align: center;
  }
  .rl-tag {
    align-self: center;
  }
  .rl-meta {
    margin-top: 4px;
  }
  .st-cards {
    grid-template-columns: 1fr;
  }
  .st-sec {
    text-align: center;
  }
  .st-sec li {
    padding-left: 0;
    padding-top: 20px;
  }
  .st-sec li::before {
    left: 50%;
    top: 0;
    transform: translateX(-50%);
  }
  .st-num {
    align-items: center;
    text-align: center;
  }
  .st-quote figcaption {
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .rl-card,
  .rl-more svg {
    transition: none;
  }
}

/* the builder canvas: an SVG that fills the stage; the card caption names the client */
.pn-flow{padding:0;background:#f6f7fb}
.pn-flow svg{position:absolute;inset:0;width:100%;height:100%;display:block}
