.pixel-design {
  --ink:#1a1a1b;
  --muted:#6b7280;
  --line:#e5e7eb;
  --bg:#ffffff;
  --bg-soft:#f6f7fb;
  --accent:#008972;     /* ThePixel green */
  --pass:#16a34a;
  --todo:#b91c1c;

  --radius:14px;
  --radius-lg:18px;
  --shadow-xs:0 4px 16px rgba(15,23,42,0.06);
  --container:1100px;

  --h1:clamp(1.9rem,2.7vw,2.4rem);
  --h2:clamp(1.5rem,2vw,1.9rem);
  --body:16px;
  --color:#646364;
  --line-height:53px;
}

/* Base */

.pixel-design *,
.pixel-design *::before,
.pixel-design *::after {
  box-sizing:border-box;
}

.pixel-design body {
  margin:0;
  color:#646364;
}

.pixel-design .section {
  padding:clamp(2rem,4vw,3rem) 0;
}

.pixel-design .section-soft {
  background:var(--bg-soft);
}

.pixel-design .container {
  width:min(var(--container), 92vw);
  margin-inline:auto;
}

.pixel-design .h1 {
  font-size:var(--h1);
  font-weight:800;
  color:var(--ink);
  margin:0 0 .7rem;
}

.pixel-design .h2 {
  font-size:var(--h2);
  font-weight:800;
  color:var(--ink);
  margin:0 0 .6rem;
}

.pixel-design .h3 {
  font-size:1.5rem;
  font-weight:700;
  color:var(--ink);
  margin:0 0 .3rem;
}

.pixel-design .intro,
.pixel-design .lead {
  font-size:var(--body);
  color:var(--muted);
  max-width:760px;
}

.pixel-design .lead {
  color:#4b5563;
}

.pixel-design p {
  margin:.25rem 0 0;
  font-size:.95rem;
  color:#646364;
}

.pixel-design .eyebrow {
  text-transform:uppercase;
  letter-spacing:.18em;
  font-size:.80rem;
  font-weight:700;
  color:#9ca3af;
  margin-bottom:.4rem;
}

/* ===== Custom text color helpers ===== */

.pixel-design .heading-white {
  color:#ffffff !important;
}

.pixel-design .text-gray {
  color:#e6e7e6 !important;
}

/* ================= HERO ================= */

.pixel-design .hero-grid {
  display:grid;
  grid-template-columns:minmax(0,1.5fr) minmax(0,1.1fr);
  gap:clamp(1.5rem,3vw,2.4rem);
  align-items:flex-start;
}

@media (max-width:960px){
  .pixel-design .hero-grid {
    grid-template-columns:1fr;
  }
}

.pixel-design .facts {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem 1.2rem;
  margin-top:1.2rem;
}

@media (max-width:720px){
  .pixel-design .facts {
    grid-template-columns:1fr;
  }
}

.pixel-design .fact {
  border-top:1px dashed var(--line);
  padding-top:.55rem;
}

.pixel-design .fact:first-child {
  border-top:none;
  padding-top:0;
}

.pixel-design .fact dt {
  font-size:.8rem;
  text-transform:uppercase;
  letter-spacing:.16em;
  color:#6b7280;
  margin:0 0 .15rem;
  font-weight:700;
}

.pixel-design .fact dd {
  margin:0;
  font-size:.95rem;
  color:#111827;
}

/* Hero side */

.pixel-design .hero-side {
  display:flex;
  flex-direction:column;
  gap:1rem;
  width: 100%;
}

.pixel-design .hero-ui {
  border-radius:var(--radius-lg);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-xs);
  overflow:hidden;
}

.pixel-design .hero-ui-img {
  display:block;
  width:100%;
  height:auto;
  border-bottom:1px solid var(--line);
}

/* widen hero image */
.pixel-design .hero-ui--wide .hero-ui-img {
  width:115%;
  max-width:115%;
}

.pixel-design .hero-ui figcaption {
  padding:.7rem .9rem .8rem;
  font-size:.9rem;
  color:#6b7280;
}

/* Hero KPIs */

.pixel-design .kpi-grid {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:.75rem;
}

@media (max-width:520px){
  .pixel-design .kpi-grid {
    grid-template-columns:1fr;
  }
}

.pixel-design .kpi-card {
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:linear-gradient(180deg,#ffffff,#f9fafb);
  box-shadow:var(--shadow-xs);
  padding:.7rem .9rem;
  text-align:left;
}

.pixel-design .kpi-value {
  font-size:1.5rem;
  font-weight:800;
  color:var(--accent);
  line-height:1.1;
}

.pixel-design .kpi-label {
  font-size:.85rem;
  color:#6b7280;
  margin-top:.1rem;
}

/* ================= GRID & CARDS ================= */

.pixel-design .grid-2 {
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:1.1rem;
}

@media (max-width:960px){
  .pixel-design .grid-2 {
    grid-template-columns:1fr;
  }
}

.pixel-design .card {
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-xs);
  padding:1rem 1.1rem;
}

.pixel-design .card-split {
  display:grid;
  grid-template-columns:minmax(0,1.1fr) minmax(0,1.5fr);
  gap:1rem;
}

@media (max-width:900px){
  .pixel-design .card-split {
    grid-template-columns:1fr;
  }
}

/* Screenshot images inside cards */

.pixel-design .section-img {
  display:block;
  width:100%;
  height:auto;
  border-radius:var(--radius);
  border:1px solid #cbd5e1;
}

/* Bullet lists */

.pixel-design .bullet-list {
  list-style:none;
  padding:0;
  margin:.3rem 0 0;
}

.pixel-design .bullet-list li {
  position:relative;
  padding-left:1.1rem;
  margin:.25rem 0;
  font-size:.95rem;
  color:#4b5563;
}

.pixel-design .bullet-list li::before {
  content:"•";
  position:absolute;
  left:.2rem;
  top:.05rem;
  font-size:.8rem;
  color:var(--accent);
}

.pixel-design .mt-16 {
  margin-top:1rem;
}

.pixel-design .mt-24 {
  margin-top:1.5rem;
}

.pixel-design .small-intro {
  font-size:.9rem;
  color:#6b7280;
  margin:.3rem 0 .4rem;
}

/* Stat list inside cards */

.pixel-design .stat-list {
  margin:.8rem 0 0;
  padding:0;
}

.pixel-design .stat {
  display:flex;
  align-items:baseline;
  gap:.45rem;
  margin:.2rem 0;
}

.pixel-design .stat dt {
  font-weight:800;
  color:var(--accent);
  min-width:3rem;
}

.pixel-design .stat dd {
  margin:0;
  font-size:.9rem;
  color:#4b5563;
}

/* ================= TABLES ================= */

.pixel-design .table-wrap {
  overflow:auto;
  margin-top:1rem;
}

.pixel-design .journey-table,
.pixel-design .journey-summary {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  background:#fff;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow-xs);
  font-size:.95rem;
}

.pixel-design .journey-table thead th,
.pixel-design .journey-summary thead th {
  text-align:left;
  padding:.9rem 1rem;
  background:linear-gradient(90deg,#e0f2fe,#dcfce7);
  font-weight:700;
  color:#374151;
}

.pixel-design .journey-table td,
.pixel-design .journey-summary td {
  padding:.8rem 1rem;
  border-top:1px solid var(--line);
  vertical-align:top;
  color:#4b5563;
}

.pixel-design .journey-table .row-label,
.pixel-design .journey-summary .row-label {
  font-weight:700;
  color:var(--ink);
  white-space:nowrap;
}

/* Responsive tables */

@media (max-width:860px){
  .pixel-design .journey-table thead,
  .pixel-design .journey-summary thead {
    display:none;
  }
  .pixel-design .journey-table,
  .pixel-design .journey-table tbody,
  .pixel-design .journey-table tr,
  .pixel-design .journey-table td,
  .pixel-design .journey-summary,
  .pixel-design .journey-summary tbody,
  .pixel-design .journey-summary tr,
  .pixel-design .journey-summary td {
    display:block;
    width:100%;
  }
  .pixel-design .journey-table tr,
  .pixel-design .journey-summary tr {
    border-top:1px solid var(--line);
    padding:.6rem 0;
  }
  .pixel-design .journey-table td,
  .pixel-design .journey-summary td {
    border:none;
    padding:.3rem 1rem;
  }
  .pixel-design .journey-table td[data-col]::before,
  .pixel-design .journey-summary td[data-col]::before {
    content:attr(data-col) " — ";
    font-weight:600;
    color:#6b7280;
  }
}

/* ================= EMOTION CURVE ================= */

.pixel-design .emotion-curve {
  margin:1.5rem 0 1.2rem;
  padding:1rem 1.1rem 1.2rem;
  border-radius:var(--radius);
  border:1px solid var(--line);
  box-shadow:var(--shadow-xs);
  background:#fff;
}

.pixel-design .curve-header {
  display:flex;
  align-items:center;
  gap:.5rem;
  font-size:.85rem;
  color:var(--muted);
  font-weight:600;
  margin-bottom:.6rem;
}

.pixel-design .curve-label-dot {
  width:.75rem;
  height:.75rem;
  border-radius:999px;
  background:var(--accent);
  box-shadow:0 0 0 4px rgba(0,137,114,0.18);
}

.pixel-design .curve-body svg {
  width:100%;
  max-height:200px;
  display:block;
}

/* Journey stages grid */

.pixel-design .steps-grid {
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:1rem;
  margin-top:1.5rem;
}

@media (max-width:960px){
  .pixel-design .steps-grid {
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:640px){
  .pixel-design .steps-grid {
    grid-template-columns:1fr;
  }
}

.pixel-design .stage {
  padding:1rem 1.1rem;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-xs);
  font-size:.95rem;
  color:#4b5563;
}

.pixel-design .stage-head {
  display:flex;
  align-items:center;
  gap:.75rem;
  margin-bottom:.35rem;
}

.pixel-design .stage-index {
  width:1.8rem;
  height:1.8rem;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:.85rem;
  font-weight:700;
  color:#111827;
  background:#e5f5f0;
}

.pixel-design .stage-title {
  margin:0 0 .1rem;
  font-size:1rem;
  font-weight:700;
  color:var(--ink);
}

/* Emotion tags */

.pixel-design .emotion-tag {
  display:inline-flex;
  align-items:center;
  padding:.18rem .6rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.12em;
}

.pixel-design .emotion-tag.is-confident {
  background:#ecfdf3;
  color:#166534;
}

.pixel-design .emotion-tag.is-delight {
  background:#fef3c7;
  color:#b45309;
}

.pixel-design .emotion-tag.is-neutral {
  background:#e5e7eb;
  color:#374151;
}

.pixel-design .emotion-tag.is-relieved {
  background:#e0f2fe;
  color:#1d4ed8;
}

/* ================= VALIDATION CHECKLIST ================= */

.pixel-design .checklist {
  width:100%;
  border-collapse:separate;
  border-spacing:0;
  border-radius:var(--radius);
  border:1px solid var(--line);
  background:#fff;
  box-shadow:var(--shadow-xs);
  margin-top:1rem;
  font-size:.95rem;
}

.pixel-design .checklist th,
.pixel-design .checklist td {
  padding:.7rem .9rem;
  text-align:left;
  border-bottom:1px solid var(--line);
}

.pixel-design .checklist thead th {
  background:#f3f4f6;
  font-weight:700;
  color:#374151;
}

.pixel-design .status-chip {
  display:inline-flex;
  align-items:center;
  padding:.2rem .6rem;
  border-radius:999px;
  font-size:.75rem;
  font-weight:700;
  border:1px solid transparent;
}

.pixel-design .status-chip.is-pass {
  background:#ecfdf3;
  color:#166534;
  border-color:#bbf7d0;
}

.pixel-design .status-chip.is-todo {
  background:#fef2f2;
  color:#b91c1c;
  border-color:#fecaca;
}

/* Responsive checklist */

@media (max-width:860px){
  .pixel-design .checklist thead {
    display:none;
  }
  .pixel-design .checklist,
  .pixel-design .checklist tbody,
  .pixel-design .checklist tr,
  .pixel-design .checklist td {
    display:block;
    width:100%;
  }
  .pixel-design .checklist tr {
    border-top:1px solid var(--line);
    padding:.5rem 0;
  }
  .pixel-design .checklist td {
    border:none;
    padding:.3rem .9rem;
  }
  .pixel-design .checklist td[data-col]::before {
    content:attr(data-col) " — ";
    font-weight:600;
    color:#6b7280;
  }
}

/* Feature cards: full-width with large UI images */

.pixel-design .feature-section {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.pixel-design .feature-card {
  padding: 1.25rem 1.25rem 1.4rem;
}

.pixel-design .feature-media {
  margin: 0 0 1rem;
}

.pixel-design .feature-media .section-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
}

.pixel-design .feature-body {
  max-width: 900px;
}

.pixel-design .feature-body .bullet-list {
  margin-top: 0.7rem;
}

/* Two-column feature grid */

.pixel-design .feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  align-items: start;
  padding: 2rem;
}

.pixel-design .feature-media {
  width: 100%;
}

.pixel-design .feature-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  border: 1px solid #cbd5e1;
  display: block;
}

.pixel-design .feature-body {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.pixel-design .feature-body .bullet-list {
  margin-top: .25rem;
}

.pixel-design .stat-list {
  margin-top: .75rem;
}

/* Responsive */

@media (max-width: 900px) {
  .pixel-design .feature-grid {
    grid-template-columns: 1fr;
  }
}

/* Project Details Table */

.pixel-design .project-details {
  margin-top: 1.75rem;
  margin-bottom: 2rem;
}

.pixel-design .details-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  font-size: 0.95rem;
}

.pixel-design .details-table th,
.pixel-design .details-table td {
  padding: 0.9rem 1.1rem;
  vertical-align: top;
  border-bottom: 1px solid #e5e7eb;
}

.pixel-design .details-table th {
  width: 180px;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 0.75rem;
}

.pixel-design .details-table td {
  color: #475569;
  line-height: 1.55;
}

.pixel-design .details-table tr:last-child th,
.pixel-design .details-table tr:last-child td {
  border-bottom: none;
}

/* Responsive */

@media (max-width: 720px) {
  .pixel-design .details-table th,
  .pixel-design .details-table td {
    display: block;
    width: 100%;
  }

  .pixel-design .details-table th {
    border-bottom: none;
    background: #f1f5f9;
  }

  .pixel-design .details-table td {
    padding-top: 0.4rem;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* Project Details Table (2-column only) */

.pixel-design .project-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  font-size: 0.95rem;
  margin-top: 1.6rem;
}

.pixel-design .project-table th,
.pixel-design .project-table td {
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}

.pixel-design .project-table th {
  width: 190px;
  font-weight: 800;
  color: #0f172a;
  background: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 1.00rem;
}

.pixel-design .project-table td {
  color: #475569;
  line-height: 1.55;
}

.pixel-design .project-table tr:last-child th,
.pixel-design .project-table tr:last-child td {
  border-bottom: none;
}

/* Responsive table */

@media (max-width: 720px) {
  .pixel-design .project-table th,
  .pixel-design .project-table td {
    display: block;
    width: 100%;
  }

  .pixel-design .project-table th {
    border-bottom: none;
    background: #f1f5f9;
  }

  .pixel-design .project-table td {
    padding-top: 0.4rem;
    border-bottom: 1px solid #e5e7eb;
  }
}

/* ========== Local SEO section ========== */

.pixel-design .seo-section {
  /* background intentionally left transparent */
  background:transparent;
  border-top:1px solid var(--line);
}

.pixel-design .seo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(14px, 2.2vw, 22px);
  margin-top: 1.5rem;
}

@media (max-width: 980px) {
  .pixel-design .seo-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .pixel-design .seo-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-design .seo-card {
  background: #fff;
  border-radius: 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  padding: min(4vw, 1.6rem);
}

.pixel-design .seo-card .h3 {
  margin-bottom: 0.75rem;
}

.pixel-design .seo-metric-list {
  list-style: none;
  padding: 0;
  margin: 0.25rem 0 0 0;
  display: grid;
  gap: 0.6rem;
}

.pixel-design .seo-metric {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.95rem;
  color: #374151;
}

.pixel-design .seo-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 3.2rem;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: #ecfdf5;
  color: #047857;
  border: 1px solid #bbf7d0;
}

/* ===== Solutions section stat highlight ===== */

.pixel-design .solutions-section .stat-list {
  background: #f1f5f9;
  border-radius: var(--radius-lg);
  border: 1px solid #e5e7eb;
  padding: 0.9rem 1rem;
  margin-top: 1.1rem;
}

.pixel-design .solutions-section .stat {
  margin: 0.3rem 0;
}

.pixel-design .solutions-section .stat dt {
  font-size: 1.15rem;   /* larger stat number */
  font-weight: 800;
}

.pixel-design .solutions-section .stat dd {
  font-size: 0.95rem;   /* slightly larger label */
}

/* ===== Services section (5-column grid) ===== */

.pixel-design .services-section {
  border-top: 1px solid var(--line);
}

.pixel-design .services-intro {
  max-width: 720px;
}

.pixel-design .services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

@media (max-width: 1100px) {
  .pixel-design .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .pixel-design .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pixel-design .services-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-design .service-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
}

.pixel-design .service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2f1;
  color: #064e3b;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.pixel-design .service-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
}

.pixel-design .service-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0;
}

.pixel-design .service-btn {
  margin-top:1rem;
  align-self:flex-start;
}

/* ===== Comparison / graph section ===== */

.pixel-design .comparison-section {
  border-top: 1px solid var(--line);
}

.pixel-design .comparison-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1.4fr);
  gap: 1.6rem;
  align-items: stretch;
  margin-top: 1.4rem;
}

@media (max-width: 900px) {
  .pixel-design .comparison-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-design .graph-card {
  padding: 1.2rem 1.2rem 1.4rem;
}

.pixel-design .graph-subtitle {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0.2rem 0 0.6rem;
}

.pixel-design .graph-bars {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.6rem;
}

.pixel-design .graph-row {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 0.65rem;
  align-items: center;
  font-size: 0.9rem;
}

@media (max-width: 640px) {
  .pixel-design .graph-row {
    grid-template-columns: 1fr;
  }
}

.pixel-design .graph-label {
  font-weight: 600;
  color: #374151;
}

.pixel-design .graph-track {
  position: relative;
  width: 100%;
  height: 0.7rem;
  border-radius: 999px;
  background: #f3f4f6;
  overflow: hidden;
}

.pixel-design .graph-bar {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, #10b981, #0f766e);
  box-shadow:
    0 0 0 1px rgba(16, 185, 129, 0.1),
    0 8px 18px rgba(16, 185, 129, 0.25);
}

.pixel-design .graph-bar--design      { width: 96%; }
.pixel-design .graph-bar--dev         { width: 93%; }
.pixel-design .graph-bar--ux          { width: 95%; }
.pixel-design .graph-bar--hosting     { width: 94%; }
.pixel-design .graph-bar--maintenance { width: 97%; }

.pixel-design .graph-note {
  margin-top: 0.8rem;
  font-size: 0.83rem;
  color: #6b7280;
}

/* ===== Case studies section ===== */

.pixel-design .case-section {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.pixel-design .case-header-visual {
  display:flex;
  flex-direction:column;
  gap:0.75rem;
  margin-top:1.4rem;
}

.pixel-design .case-header-visual img {
  width:100%;
  max-height:260px;
  object-fit:cover;
  border-radius:var(--radius-lg);
  border:1px solid #d1d5db;
}

.pixel-design .case-header-tags {
  display:flex;
  flex-wrap:wrap;
  gap:.5rem;
  font-size:.85rem;
  color:#4b5563;
}

.pixel-design .case-header-tag {
  padding:.2rem .7rem;
  border-radius:999px;
  background:#ecfdf5;
  color:#047857;
  font-weight:600;
  text-transform:uppercase;
  letter-spacing:.08em;
  font-size:.75rem;
}

.pixel-design .case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
  margin-top: 1.6rem;
}

@media (max-width: 980px) {
  .pixel-design .case-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .pixel-design .case-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-design .case-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  padding: 1rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  height: 100%;
}

.pixel-design .case-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  background: #ecfdf5;
  color: #047857;
}

.pixel-design .case-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0.2rem 0 0.1rem;
}

.pixel-design .case-text {
  font-size: 0.9rem;
  color: #4b5563;
  margin: 0;
}

.pixel-design .case-meta {
  margin-top: 0.4rem;
  font-size: 0.82rem;
  color: #6b7280;
}

.pixel-design .case-stat {
  margin-top:.4rem;
  font-size:.9rem;
  font-weight:600;
  color:#047857;
}

/* ===========================
   Buttons — Compact, Wider, No Text Wrapping
   =========================== */

.pixel-design .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* Reduced height + wider layout */
  padding: 0.35rem 1.8rem;

  /* Keep text on ONE line */
  white-space: nowrap;
  width: max-content;

  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;

  border: 1px solid transparent;
  cursor: pointer;

  transition:
    background-color 0.18s ease,
    color 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.1s ease;
}

/* PRIMARY BUTTON STYLE */
.pixel-design .btn-primary {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(0, 137, 114, 0.32);
}

/* HOVER STATE */
.pixel-design .btn-primary:hover {
  background: #036956;
  box-shadow: 0 12px 30px rgba(0, 137, 114, 0.36);
  transform: translateY(-2px);
}

/* ACTIVE STATE */
.pixel-design .btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 137, 114, 0.26);
}

/* FOCUS ACCESSIBILITY */
.pixel-design .btn-primary:focus-visible {
  outline: 3px solid #0f766e;
  outline-offset: 3px;
}

/* =======================
   SERVICES SECTION STYLES
   ======================= */

.pixel-design .services-section {
  border-top: 1px solid var(--line);
}

.pixel-design .services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.6rem;
}

@media (max-width: 1100px) {
  .pixel-design .services-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 780px) {
  .pixel-design .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .pixel-design .services-grid {
    grid-template-columns: 1fr;
  }
}

.pixel-design .service-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  box-shadow: var(--shadow-xs);
  padding: 1rem 1.1rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  height: 100%;
}

.pixel-design .service-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0f2f1;
  color: #064e3b;
  font-size: 1.4rem;
  margin-bottom: 0.3rem;
}

.pixel-design .service-btn {
  margin-top: 1rem;
  align-self: flex-start;
}

/* ==========================
   LINKED IMAGE BLOCK (OPTION B)
   ========================== */

.pixel-design .linked-image-block {
  margin-top: 2rem;
}

.pixel-design .linked-image-block figure {
  margin: 0;
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-xs);
  transition: transform .2s ease, box-shadow .2s ease;
}

.pixel-design .linked-image-block figure:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(15,23,42,0.12);
}

.pixel-design .linked-image-block img {
  width: 100%;
  display: block;
}

.pixel-design .linked-image-block figcaption {
  padding: .75rem 1rem;
  font-size: .9rem;
  color: #4b5563;
  background: #f9fafb;
  border-top: 1px solid #e5e7eb;
  text-align: center;
  font-weight: 600;
}