@charset "utf-8";
/* ================================================================
   Get Me Automated — /our-work/ page styles
   Loaded only on this page via $page_styles.
   Depends on tokens declared in global.css (:root).
   ================================================================ */

/* ----- Intro rail -------------------------------------------- */
.work-intro {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 48px;
  align-items: start;
}
@media (max-width: 900px) { .work-intro { grid-template-columns: 1fr; gap: 28px; } }
.work-intro .work-intro-note {
  background: var(--cream-2);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 20px 24px;
}
.work-intro .work-intro-note h4 { margin-bottom: 8px; }
.work-intro .work-intro-note p { font-size: .95rem; }

/* ----- The grid ---------------------------------------------- */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .work-grid { grid-template-columns: 1fr; } }

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 26px 26px 22px;
  overflow: hidden;
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.work-card:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-lg); }

/* colour stripe down the left edge */
.work-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 10px;
  background: var(--ink);
  border-right: 2px solid var(--ink);
}
.work-card.accent-teal::before    { background: var(--teal); }
.work-card.accent-teal-dk::before { background: var(--teal-dk); }
.work-card.accent-blue::before    { background: var(--blue); }
.work-card.accent-blue-dk::before { background: var(--blue-dk); }
.work-card.accent-yellow::before  { background: var(--yellow); }
.work-card.accent-navy::before    { background: var(--navy); }
.work-card > * { padding-left: 18px; }

/* ----- Card head --------------------------------------------- */
.work-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.work-sector {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink-mute);
  font-weight: 500;
}
.work-status {
  flex-shrink: 0;
  font-family: var(--font-mono);
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-weight: 500;
  padding: 4px 10px;
  border: 1.5px solid var(--ink);
  border-radius: var(--radius-pill);
  background: var(--cream-2);
  color: var(--ink);
  white-space: nowrap;
}
.work-status.is-ongoing   { background: var(--teal); color: var(--cream); }
.work-status.is-delivered { background: var(--cream-2); }
.work-status.is-building  { background: var(--yellow); }

.work-card h3 {
  font-size: 1.45rem;
  line-height: 1.1;
  margin-bottom: 12px;
}
.work-outcome {
  font-size: .96rem;
  line-height: 1.55;
  color: var(--ink-soft);
  margin-bottom: 18px;
}

/* ----- Tag chips --------------------------------------------- */
.work-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0 0 16px;
  padding-left: 18px;
}
.work-tags li {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 500;
  padding: 4px 9px;
  border: 1.5px solid var(--line-2);
  border-radius: 6px;
  background: var(--cream-2);
  color: var(--ink-soft);
  white-space: nowrap;
}

.work-card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.work-card-foot .work-since {
  font-family: var(--font-mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ink-mute);
}
.work-card-foot a {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 500;
  text-decoration: underline;
  white-space: nowrap;
}
.work-card-foot a:hover { color: var(--teal-dk); }

/* ----- In-house builds --------------------------------------- */
.inhouse-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 820px) { .inhouse-grid { grid-template-columns: 1fr; } }
.inhouse-card {
  background: var(--cream);
  border: 2px solid var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px;
}
.inhouse-card .pill { margin-bottom: 16px; }
.inhouse-card h3 { margin-bottom: 10px; }
.inhouse-card p { font-size: .96rem; line-height: 1.55; }

/* ----- Dark stat strip tweak --------------------------------- */
.work-stats .stat-num { letter-spacing: -.03em; }

/* ----- Four-up stat strip on this page ------------------------ */
.work-stats .stats-row { grid-template-columns: repeat(4, 1fr); gap: 28px; }
.work-stats .stat-num { font-size: clamp(2.2rem, 3.6vw, 3.2rem); }
@media (max-width: 1000px) { .work-stats .stats-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .work-stats .stats-row { grid-template-columns: 1fr; gap: 20px; } }

/* ----- The long tail ------------------------------------------ */
.more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 980px) { .more-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .more-grid { grid-template-columns: 1fr; } }

.more-col ul { list-style: none; margin: 0; padding: 0; }
.more-col li {
  font-size: .92rem;
  line-height: 1.5;
  color: var(--ink-soft);
  padding: 12px 0;
  border-bottom: 1px dashed var(--line);
}
.more-col li:last-child { border-bottom: 0; }
.more-col li strong { display: block; color: var(--ink); margin-bottom: 2px; }

.more-heading {
  font-family: var(--font-mono);
  font-size: .76rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: .16em;
  color: var(--ink);
  padding-bottom: 10px;
  margin-bottom: 4px;
  border-bottom: 2px solid var(--ink);
}
