/* ============================================================
   Cipherverse — pages.css · shared inner-page pieces
   The inner-page hero (Work, services, Process, Contact, 404/500) and the
   inline-image headline. Page-only styles live in their own file
   (work.css, service.css, process.css, contact.css), loaded via $page_styles.
   ============================================================ */

/* Inner-page hero: mono label, a big Clash headline, then intro + actions on a
   row underneath. Same rhythm on every inner page. */
.page-hero { padding-top: calc(var(--bar-h) + var(--s-6)); padding-bottom: var(--s-6); border-bottom: 1px solid var(--line); }
.page-label { margin-bottom: var(--s-3); }
.page-title {
  font-family: var(--display); font-weight: 600; font-size: clamp(2.75rem, 1rem + 6.4vw, 8rem);
  line-height: 0.94; letter-spacing: -0.035em; max-width: 14ch; text-wrap: balance;
}
.page-title .soft { color: var(--grey); }
.page-foot {
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: var(--s-3);
  margin-top: var(--s-5);
}
.page-intro { max-width: 46ch; font-size: var(--t-md); line-height: 1.5; color: var(--grey); }
.page-intro strong { color: var(--paper); font-weight: 500; }
.page-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

/* A small rounded image set inside a headline line (same idea as the home hero
   pill): <span class="title-pill"><img …></span>. Decorative, aria-hidden. */
.title-pill {
  display: inline-block; width: 1.9em; height: 0.8em; margin-inline: 0.12em;
  border-radius: var(--r-pill); overflow: hidden; vertical-align: -0.06em;
  background: var(--surface-2); border: 1px solid var(--line-2);
}
.title-pill img { width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* Numbered rows: big number, title, note (service "what you get", process). */
.rows { border-top: 1px solid var(--line); }
.row {
  display: grid; grid-template-columns: 6rem 1fr 1.2fr; gap: var(--s-3); align-items: baseline;
  padding-block: var(--s-3); border-bottom: 1px solid var(--line);
}
.row-n { color: var(--grey); }
.row-title { font-family: var(--display); font-weight: 500; font-size: var(--t-lg); letter-spacing: -0.01em; line-height: 1.15; }
.row-note { color: var(--grey); max-width: 52ch; }

/* Error pages (404/500): oversized code behind the title. */
.error-code {
  font-family: var(--display); font-weight: 600; font-size: clamp(6rem, 3rem + 14vw, 16rem);
  line-height: 0.8; letter-spacing: -0.05em; color: transparent;
  -webkit-text-stroke: 1px var(--line-2); margin-bottom: var(--s-3);
}
