/* Reusable pieces: buttons, badges, numbered rows, live frames, phone frames. */
.btn {
  display: inline-block;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 18px 28px;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.2;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
}
.btn:hover { color: var(--accent-ink); background: #1F30B0; }
.btn--glow { box-shadow: 0 14px 30px -12px rgba(43, 63, 209, .6); }
.btn--small { padding: 15px 22px; font-size: 15px; }
.btn--paper { background: var(--paper); color: var(--ink); align-self: flex-start; }
.btn--paper:hover { background: #FFFFFF; color: var(--ink); }

.link-underline { font-size: 16px; border-bottom: 1px solid var(--ink); padding-bottom: 3px; }
.link-underline:hover { border-bottom-color: var(--accent); }

.actions { display: flex; flex-wrap: wrap; gap: 14px 28px; align-items: center; }

.badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 6px 10px;
}
.badge--paper { background: var(--paper); color: var(--ink); letter-spacing: .1em; padding: 5px 8px; }

/* Numbered editorial rows (services, design story, dev-team services) */
.num-row {
  display: grid;
  grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.3fr) 220px;
  gap: 32px;
  align-items: baseline;
  padding: 36px 0;
  border-top: 1px solid var(--ink);
}
.num-row:last-child { border-bottom: 1px solid var(--ink); }
.num-row__n { font-family: var(--font-mono); font-size: 14px; color: var(--accent); }
.num-row__body { font-size: 17px; line-height: 1.6; color: var(--ink-soft); text-wrap: pretty; }
.num-row__price { font-family: var(--font-mono); font-size: 13px; color: var(--ink); text-align: right; }
.num-row--story { grid-template-columns: 80px minmax(0, 1fr) minmax(0, 1.6fr); }
.num-row--story .num-row__body { font-size: 18px; line-height: 1.65; max-width: 640px; }

@media (max-width: 899px) {
  .num-row, .num-row--story { grid-template-columns: 48px minmax(0, 1fr); gap: 12px 16px; padding: 28px 0; }
  .num-row > :nth-child(n+3) { grid-column: 2; }
  .num-row__price { text-align: left; }
}

/* Live frames: a fixed-size page (data-w x data-h) scaled to fit its box by frames.js. */
.frame { position: relative; overflow: hidden; background: #FFFFFF; }
.frame__page { transform-origin: 0 0; transform: scale(var(--frame-scale, .25)); }
.frame__page iframe { border: 0; width: 1440px; height: 900px; max-width: none; }
.frame--desktop { aspect-ratio: 1440 / 900; }
.frame--shadow { box-shadow: var(--shadow-frame); }
.frame--static iframe { pointer-events: none; }

.phone { background: var(--ink); padding: 7px; border-radius: 30px; box-shadow: var(--shadow-phone); }
.phone .frame { aspect-ratio: 390 / 844; border-radius: 24px; }
.phone .frame__page iframe { width: 390px; height: 844px; }

.caption {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Static screenshot tiles (home): a tall screenshot cropped to the top of its box. */
.shot { position: relative; overflow: hidden; background: #FFFFFF; }
.shot img { width: 100%; height: auto; }

/* Mono feature lists */
.feature-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  line-height: 1.5;
  letter-spacing: .02em;
}
.feature-list li::before { content: "+ "; }

/* People: portraits with name and role (home teaser, team page) */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }
.person { display: flex; flex-direction: column; gap: 14px; }
.portrait { aspect-ratio: 4 / 5; overflow: hidden; background: var(--paper-photo); }
.portrait img { width: 100%; height: 100%; object-fit: cover; mix-blend-mode: multiply; filter: contrast(1.05); }
.portrait--justin img { object-position: 50% 18%; }
.portrait--andy img { object-position: 50% 40%; }
.portrait--charity img { object-position: 50% 30%; }
.person__line { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.person__name { font-family: var(--font-display); font-weight: 400; font-size: 26px; line-height: 1.2; }

