@font-face {
  font-family: "Archivo";
  src: url("/fonts/archivo-variable.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 75% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* BC Field brand palette (lmh-solutions-brand/final, v1.0) */
  --brand-ink: #0A0D10;      /* Ink: dark backgrounds, text, mark on light */
  --brand-graphite: #14191E; /* Graphite: panels on dark */
  --brand-bone: #F2EFE8;     /* Bone: light backgrounds, text on dark */
  --signal: #22B8AA;         /* Signal: teal on DARK only (2.2:1 on light, never use there) */
  --signal-deep: #007F86;    /* Signal Deep: teal on light */

  --ink: var(--brand-ink);
  --graphite: var(--brand-graphite);
  --paper: var(--brand-bone);
  --surface: #FBFAF7;        /* raised cards/inputs on Bone */
  --gray-1: #E9E5DC;         /* warm panel tint */
  --gray-2: #D8D3C8;         /* hairlines/borders */
  --gray-3: #5A5F66;         /* muted text (5.6:1 on Bone) */
  --accent: var(--signal-deep);
  --sidebar-width: 248px;
  --font: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --focus: 3px solid var(--accent);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
  min-height: 100vh;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--ink);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-color: var(--accent);
}

:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -48px;
  z-index: 1000;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 14px;
  border-radius: 8px;
}

.skip-link:focus {
  top: 16px;
}

.topbar {
  display: none;
}

.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-width);
  background: var(--paper);
  border-right: 1px solid var(--gray-2);
  z-index: 40;
}

.sidebar__inner {
  display: flex;
  flex-direction: column;
  height: 100%;
  padding: 28px 20px 24px;
}

.sidebar__logo img,
.topbar__logo img {
  width: 180px;
  height: auto;
}

.topbar__logo img {
  width: 140px;
}

.sidebar__groups {
  margin-top: 40px;
  flex: 1;
}

.nav-group + .nav-group {
  margin-top: 28px;
}

.nav-group__label {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-3);
}

.nav-group__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  display: block;
  padding: 7px 10px 7px 12px;
  margin-left: -12px;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  border-left: 2px solid transparent;
}

.nav-link:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.nav-link.is-current {
  font-weight: 700;
  border-left-color: var(--accent);
}

.sidebar__footer {
  margin: 24px 0 0;
  font-size: 13px;
  color: var(--gray-3);
  line-height: 1.4;
}

.sidebar-backdrop {
  display: none;
}

.page {
  margin-left: var(--sidebar-width);
  min-height: 100vh;
}

.content {
  max-width: 1160px;
  margin: 0 auto;
  padding: 96px 56px 96px;
}

.page-header {
  margin-bottom: 40px;
}

.page-header h1,
.hero__copy h1 {
  margin: 0 0 16px;
  font-size: 64px;
  font-weight: 750;
  font-stretch: 92%;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

.page-header p,
.hero__lead,
.section-lead,
.band p,
.prose > p {
  max-width: 68ch;
  color: var(--ink);
}

.tagline {
  margin: 0;
  color: var(--gray-3);
  font-size: 18px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  margin-bottom: 72px;
}

.hero__mark {
  width: auto;
  height: 200px;
  flex-shrink: 0;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0 16px;
}

.hero__note,
.band__note {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-3);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border-radius: 8px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn--primary {
  background: var(--ink);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--graphite);
  text-decoration: none;
}

.btn--secondary {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--ink);
}

.btn--secondary:hover {
  background: var(--gray-1);
  text-decoration: none;
}

.btn--small {
  padding: 8px 12px;
  font-size: 13px;
}

.section {
  margin: 72px 0;
  scroll-margin-top: 24px;
}

.section h2,
.band h2,
.apps-teaser h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
}

.section-lead {
  margin: 0 0 28px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 0 0 24px;
}

.service-card {
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 28px;
  background: var(--surface);
}

.service-card h3 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 650;
}

.service-card p {
  margin: 0;
  color: var(--ink);
}

.checklist {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  max-width: 68ch;
}

.checklist li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
}

.checklist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

.text-link {
  font-weight: 600;
}

.apps-teaser {
  margin: 80px 0;
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.app-card {
  display: flex;
  flex-direction: column;
}

.app-card__cover {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: var(--gray-1);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.app-card__cover > img:not(.app-card__placeholder) {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__placeholder {
  width: 80px;
  height: 80px;
  opacity: 0.25;
}

.app-card__body {
  padding-top: 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.app-card__identity {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}

.app-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  flex-shrink: 0;
  object-fit: cover;
}

.app-card__icon--empty {
  display: block;
  background: var(--gray-1);
}

.app-card__name {
  margin: 0 0 4px;
  font-size: 20px;
  font-weight: 650;
}

.app-card__tagline {
  margin: 0;
  font-size: 15px;
  color: var(--gray-3);
  line-height: 1.4;
}

.app-card__status {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  background: var(--gray-1);
  font-size: 13px;
  font-weight: 600;
}

.app-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 28px;
}

.filter-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 16px;
  border: 0;
  border-radius: 999px;
  background: var(--gray-1);
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.filter-pill:hover {
  text-decoration: none;
}

.filter-pill.is-active {
  background: var(--ink);
  color: var(--paper);
}

.filter-pill.is-active::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 2px;
  background: var(--accent);
}

.empty-filter {
  display: none;
  margin: 16px 0 40px;
  max-width: 68ch;
}

.empty-filter.is-visible {
  display: block;
}

.band {
  margin-top: 80px;
  background: var(--gray-1);
  border-radius: 16px;
  padding: 56px;
}

.band .hero__actions {
  margin-top: 24px;
}

.form {
  max-width: 560px;
  display: grid;
  gap: 18px;
}

.form-row {
  display: grid;
  gap: 6px;
}

.form-row label,
.form-fieldset legend {
  font-size: 15px;
  font-weight: 600;
}

.form-row .hint {
  font-size: 14px;
  font-weight: 400;
  color: var(--gray-3);
}

.form-error {
  font-size: 14px;
  color: #a10000;
}

.form-row[hidden],
[hidden] {
  display: none !important;
}

.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  font: inherit;
  background: var(--surface);
}

.form-row textarea {
  min-height: 140px;
  resize: vertical;
}

.form-fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.radio-row {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.radio-row label {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-weight: 400;
}

.hp-field {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.form-aside {
  margin-top: 32px;
  color: var(--gray-3);
  font-size: 15px;
}

.form-success {
  max-width: 560px;
  padding: 24px;
  border-radius: 12px;
  background: var(--gray-1);
}

.form-banner {
  display: none;
  margin-bottom: 12px;
  color: #a10000;
  font-size: 15px;
}

.form-banner.is-visible {
  display: block;
}

.faq {
  max-width: 68ch;
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.faq details {
  border: 1px solid var(--gray-2);
  border-radius: 12px;
  padding: 14px 18px;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  font-size: 18px;
}

.faq details p {
  margin: 12px 0 4px;
}

.prose {
  max-width: 68ch;
}

.prose h2 {
  margin: 36px 0 12px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.prose h3 {
  margin: 24px 0 8px;
  font-size: 20px;
  font-weight: 650;
}

.prose ul {
  padding-left: 1.2em;
}

.legal-updated {
  color: var(--gray-3);
  font-size: 14px;
  font-weight: 500;
}

.delete-cta {
  margin-top: 28px;
}

.error-page {
  text-align: left;
  max-width: 560px;
}

.error-page img {
  width: 160px;
  height: auto;
  margin-bottom: 28px;
}

@media (max-width: 1023px) {
  body {
    font-size: 17px;
  }

  .topbar {
    display: flex;
    position: sticky;
    top: 0;
    z-index: 50;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 16px;
    background: var(--paper);
    border-bottom: 1px solid var(--gray-2);
  }

  .topbar__menu {
    appearance: none;
    -webkit-appearance: none;
    border: none;
    background: none;
    color: var(--ink);
    font: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    padding: 8px 4px;
  }

  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
    width: min(320px, 88vw);
  }

  .sidebar.is-open {
    transform: translateX(0);
  }

  .sidebar-backdrop {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.35);
    z-index: 35;
  }

  .sidebar-backdrop[hidden] {
    display: none;
  }

  .page {
    margin-left: 0;
  }

  .content {
    padding: 40px 20px 72px;
  }

  .page-header h1,
  .hero__copy h1 {
    font-size: 40px;
  }

  .section h2,
  .band h2,
  .apps-teaser h2 {
    font-size: 28px;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .hero__mark {
    display: block;
    width: auto;
    height: 96px;
    max-height: 96px;
    max-width: 100%;
    order: -1;
    justify-self: start;
    margin-bottom: 24px;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .band {
    padding: 32px 24px;
  }
}

@media (max-width: 1023px) and (prefers-reduced-motion: reduce) {
  .sidebar {
    transition: none;
  }
}

/* App cards: coming-soon meta row, disabled store button, details link */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-card__cover picture {
  display: block;
  width: 100%;
  height: 100%;
}

.app-card__cover picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.app-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.app-card__meta .app-card__status {
  align-self: center;
}

.app-card__more {
  font-size: 14px;
  font-weight: 600;
}

.btn--disabled,
.btn[aria-disabled="true"] {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
  border-style: dashed;
}

/* App detail section (/apps/) */
.app-detail {
  margin: 56px 0 24px;
  padding: 48px;
  border-radius: 16px;
  background: var(--gray-1);
  scroll-margin-top: 24px;
}

.app-detail[hidden] {
  display: none;
}

.app-detail__head {
  display: flex;
  gap: 20px;
  align-items: center;
  margin-bottom: 20px;
}

.app-detail__icon {
  width: 88px;
  height: 88px;
  border-radius: 20px;
  flex-shrink: 0;
}

.app-detail__eyebrow {
  margin: 0 0 4px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.app-detail h2 {
  margin: 0;
  font-size: 32px;
  line-height: 1.15;
}

.app-detail__tagline {
  margin: 6px 0 0;
  font-size: 18px;
  color: var(--gray-3);
}

.app-detail__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr);
  gap: 40px;
  align-items: start;
}

.app-detail__copy p {
  max-width: 60ch;
}

.app-detail__copy .checklist {
  margin: 16px 0 24px;
}

.app-detail__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
}

.app-detail__note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--gray-3);
}

.app-screens {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.app-screens figure {
  margin: 0;
}

.app-screens img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 14px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.18);
}

.app-screens figcaption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-3);
  text-align: center;
}

@media (max-width: 1100px) {
  .app-detail__grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .app-detail {
    margin-top: 40px;
    padding: 24px 20px;
  }

  .app-detail h2 {
    font-size: 26px;
  }

  .app-detail__icon {
    width: 64px;
    height: 64px;
    border-radius: 15px;
  }

  .app-screens {
    display: flex;
    gap: 10px;
    margin: 0 -20px;
    padding: 4px 20px 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .app-screens li {
    flex: 0 0 58%;
    scroll-snap-align: start;
  }
}

/* Recent deployments (home, under #wireless) */
.deployments {
  margin: 8px 0 28px;
}

.deployments__heading {
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 650;
}

.deployments__lead {
  margin: 0 0 16px;
  color: var(--gray-3);
  font-size: 16px;
}

.deployments__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.deployment {
  margin: 0;
}

.deployment--feature {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
}

.deployment picture {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--gray-2);
  background: var(--gray-1);
  aspect-ratio: 4 / 3;
}

.deployment--feature picture {
  flex: 1 1 auto;
  aspect-ratio: auto;
  min-height: 0;
}

.deployment img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.deployment figcaption {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

@media (max-width: 720px) {
  .deployments__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .deployment--feature {
    grid-row: auto;
  }

  .deployment--feature picture {
    aspect-ratio: 4 / 3;
  }

  .deployment figcaption {
    font-size: 13px;
  }
}

/* ==========================================================================
   Design recommendations batch (2026-10-09) — items 1–18
   ========================================================================== */

:root {
  --accent-ink: #006A70; /* Signal Deep darkened for small text on Bone (5.6:1, AA) */
  --accent-tint: #DFECE8;
  --topbar-h: 64px;
}

/* 1. Anchor offset so headings clear the sticky phone topbar */
@media (max-width: 1023px) {
  .section,
  .app-detail,
  .prose h2,
  [id] {
    scroll-margin-top: calc(var(--topbar-h) + 16px);
  }
}

/* 8. Balanced headlines (no orphaned last word) */
.hero__copy h1,
.page-header h1,
.section h2,
.band h2,
.apps-teaser h2 {
  text-wrap: balance;
}

/* 6. Teal section eyebrows */
.eyebrow {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.eyebrow::before {
  content: "";
  display: inline-block;
  width: 18px;
  height: 2px;
  margin-right: 10px;
  vertical-align: middle;
  background: var(--accent);
}

/* 7. Service card icons */
.service-card__icon {
  display: block;
  width: 36px;
  height: 36px;
  margin-bottom: 16px;
  color: var(--accent);
}

/* 5. "What you get": deliverable cards (Consulting) + icon list (Site engineering) */
.deliverables {
  margin: 8px 0 28px;
  padding: 28px;
  border-radius: 16px;
  background: linear-gradient(180deg, var(--accent-tint) 0%, #EDF1EC 100%);
  border: 1px solid #C6DCD6;
}

.deliverables__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 4px 16px;
  margin-bottom: 20px;
}

.deliverables__label {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.deliverables__label--inline {
  margin: 0 0 14px;
  font-size: 18px;
}

.deliverables__sub {
  margin: 0;
  font-size: 15px;
  color: var(--accent-ink);
  font-weight: 600;
}

.deliverables__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  counter-reset: none;
}

.deliverable {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 22px 20px 22px;
  background: var(--surface);
  border: 1px solid var(--gray-2);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04), 0 8px 24px -12px rgba(0, 60, 64, 0.18);
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.deliverable::after {
  content: "";
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 0;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: var(--accent);
  transform: scaleX(0.18);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.deliverable:hover {
  transform: translateY(-3px);
  border-color: var(--accent);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 16px 32px -14px rgba(0, 60, 64, 0.28);
}

.deliverable:hover::after {
  transform: scaleX(1);
}

.deliverable__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 18px;
}

.deliverable__badge {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ink);
  color: var(--signal);
}

.deliverable__badge--sm {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.deliverable__icon {
  width: 24px;
  height: 24px;
}

.deliverable__badge--sm .deliverable__icon {
  width: 21px;
  height: 21px;
}

.deliverable__num {
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
  color: transparent;
  -webkit-text-stroke: 1.25px #7FB9B2;
}

.deliverable__title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.deliverable p {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.5;
  color: #2A2F35;
}

/* Site engineering: icon list as compact tiles */
.se-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.se-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px;
  border: 1px solid var(--gray-2);
  border-left: 3px solid var(--accent);
  border-radius: 12px;
  background: var(--surface);
}

.se-item strong {
  display: block;
  font-size: 16.5px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 3px;
}

.se-item span:not(.icon-tile) {
  display: block;
  font-size: 14.5px;
  line-height: 1.45;
  color: #3A3F45;
}

@media (prefers-reduced-motion: reduce) {
  .deliverable,
  .deliverable::after {
    transition: none;
  }
  .deliverable:hover {
    transform: none;
  }
}

/* 5. Site engineering: copy + photo */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.split__copy .section-lead {
  margin-bottom: 24px;
}

.split__media picture {
  aspect-ratio: 4 / 3;
}

/* 11. Bigger tap targets: arrow CTA links */
.link-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s ease, background 0.15s ease;
}

.link-cta::after {
  content: "→";
  color: var(--accent);
  transition: transform 0.15s ease;
}

.link-cta:hover {
  border-color: var(--accent);
  background: var(--accent-tint);
  text-decoration: none;
}

.link-cta:hover::after {
  transform: translateX(3px);
}

.link-cta--small {
  min-height: 40px;
  padding: 8px 12px;
  font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
  .link-cta,
  .link-cta::after {
    transition: none;
  }
}

/* 2. Coming-soon pill, larger variant in the detail block */
.app-card__status--lg {
  height: 40px;
  padding: 0 16px;
  font-size: 15px;
  background: var(--surface);
  border: 1px solid var(--gray-2);
}

.app-card__status::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* 6. Closing CTA band with teal accent */
.band--accent {
  border-left: 6px solid var(--accent);
}

/* 13. Screenshot strip: third screenshot peeks + dots on phone */
.app-screens {
  position: relative;
}

.app-screens__dots {
  display: none;
}

@media (max-width: 720px) {
  .app-screens li {
    flex: 0 0 42%;
  }

  .app-screens__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
  }

  .app-screens__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gray-2);
    transition: background 0.15s ease, width 0.15s ease;
  }

  .app-screens__dot.is-active {
    width: 20px;
    border-radius: 4px;
    background: var(--accent);
  }
}

/* 10. Site footer */
.site-footer {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 56px 48px;
  font-size: 15px;
  color: var(--gray-3);
}

.site-footer__inner {
  padding-top: 40px;
  border-top: 1px solid var(--gray-2);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px 48px;
}

.site-footer p {
  margin: 0 0 6px;
}

.site-footer__name {
  color: var(--ink);
  font-weight: 700;
}

.site-footer__brand a {
  color: var(--ink);
}

.site-footer__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, auto);
  gap: 0 32px;
}

.site-footer__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  color: var(--ink);
  text-decoration: none;
}

.site-footer__nav a:hover {
  text-decoration: underline;
  text-decoration-color: var(--accent);
}

.site-footer__legal {
  margin-top: 24px !important;
  font-size: 13px;
}

/* 14. Contact: form + "what happens next" column, bigger radios */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 560px) minmax(0, 1fr);
  gap: 56px;
  align-items: start;
}

.contact-aside {
  position: sticky;
  top: 32px;
  padding: 32px;
  border-radius: 16px;
  background: var(--gray-1);
  border-top: 4px solid var(--accent);
}

.contact-aside h2 {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: 700;
}

.next-steps {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 18px;
}

.next-steps li {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 14px;
  align-items: start;
}

.next-steps__num {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--paper);
  font-size: 15px;
  font-weight: 700;
}

.next-steps h3 {
  margin: 2px 0 2px;
  font-size: 17px;
  font-weight: 650;
}

.next-steps p {
  margin: 0;
  font-size: 15px;
  color: var(--gray-3);
}

.contact-aside__direct {
  border-top: 1px solid var(--gray-2);
  padding-top: 20px;
  font-size: 15px;
}

.contact-aside__direct p {
  margin: 0 0 4px;
}

.contact-aside__label {
  margin-top: 12px !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.contact-aside__label:first-child {
  margin-top: 0 !important;
}

.radio-row {
  gap: 12px;
}

.radio-option {
  display: inline-flex !important;
  align-items: center;
  gap: 10px !important;
  min-height: 48px;
  padding: 0 18px 0 14px;
  border: 1px solid var(--gray-2);
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
}

.radio-option:has(input:checked) {
  border-color: var(--accent);
  background: var(--accent-tint);
  font-weight: 600 !important;
}

.radio-option input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--accent);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  border-color: var(--accent);
}

/* 15. 404 uses the horizontal logo + mark like every other page */
.error-page .error-page__logo {
  width: 240px;
  height: auto;
  margin-bottom: 32px;
}

/* 16. Support: Chainword header, email button, custom FAQ chevrons */
.support-app {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  max-width: 68ch;
  padding: 18px 20px;
  margin-bottom: 24px;
  border: 1px solid var(--gray-2);
  border-radius: 14px;
}

.support-app__icon {
  width: 56px;
  height: 56px;
  border-radius: 13px;
}

.support-app__text {
  flex: 1 1 200px;
}

.support-app__name {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

.support-app__meta {
  margin: 2px 0 0;
  font-size: 15px;
  color: var(--gray-3);
}

.support-contact {
  max-width: 68ch;
  margin-bottom: 8px;
}

.support-contact p {
  margin: 0 0 14px;
}

.faq__title {
  margin: 24px 0 6px;
  font-size: 24px;
  font-weight: 700;
}

.faq details {
  padding: 0;
  transition: border-color 0.15s ease;
}

.faq details[open] {
  border-color: var(--accent);
}

.faq summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 56px;
  padding: 14px 18px;
  font-size: 17px;
}

.faq summary::-webkit-details-marker {
  display: none;
}

.faq summary::after {
  content: "";
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  margin-right: 4px;
  border-right: 2px solid var(--accent);
  border-bottom: 2px solid var(--accent);
  transform: translateY(-3px) rotate(45deg);
  transition: transform 0.15s ease;
}

.faq details[open] summary::after {
  transform: translateY(2px) rotate(225deg);
}

.faq details p {
  margin: 0;
  padding: 0 18px 16px;
}

@media (prefers-reduced-motion: reduce) {
  .faq summary::after,
  .faq details {
    transition: none;
  }
}

/* 17. Privacy / Terms: on-this-page nav, back to top, smaller H1 */
.legal .page-header h1 {
  font-size: 48px;
}

.toc {
  max-width: 68ch;
  margin: 0 0 32px;
  padding: 20px 24px;
  border-radius: 12px;
  background: var(--gray-1);
}

.toc__title {
  margin: 0 0 10px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

.toc ol {
  margin: 0;
  padding-left: 1.4em;
  columns: 2;
  column-gap: 32px;
  font-size: 15px;
}

.toc li {
  break-inside: avoid;
  padding: 3px 0;
}

.back-to-top {
  margin-top: 40px;
}

/* Responsive overrides for this batch */
@media (max-width: 1100px) {
  .deliverables__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .se-list {
    grid-template-columns: 1fr;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-aside {
    position: static;
  }
}

@media (max-width: 1023px) {
  .content {
    padding: 40px 20px 56px;
  }

  .site-footer {
    padding: 0 20px 40px;
  }

  .site-footer__inner {
    padding-top: 32px;
  }

  .split {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .legal .page-header h1 {
    font-size: 36px;
  }

  .contact-aside {
    padding: 24px 20px;
  }
}

@media (max-width: 600px) {
  .deliverables {
    padding: 20px 16px;
    margin-left: -4px;
    margin-right: -4px;
  }

  .deliverables__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .deliverable {
    display: grid;
    grid-template-columns: auto 1fr;
    column-gap: 14px;
    padding: 18px 16px;
  }

  .deliverable__top {
    grid-row: span 2;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0;
  }

  .deliverable__num {
    font-size: 20px;
  }

  .deliverable__title {
    font-size: 18px;
    margin-bottom: 4px;
  }

  .deliverable p {
    font-size: 15px;
  }

  .toc ol {
    columns: 1;
  }

  .site-footer__inner {
    flex-direction: column;
  }
}

/* ==========================================================================
   Narrative flow mock (2026-10-09): Services ↔ Apps
   ========================================================================== */

/* Sidebar: clearer group labels + a divider between Services and Apps */
.nav-group__label {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink);
}

.nav-group__hint {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--gray-3);
}

.nav-group + .nav-group {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-2);
}

/* Home: Apps band (dark, distinct from the services above and below) */
.product-band {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 48px;
  align-items: center;
  margin: 88px 0;
  padding: 56px;
  border-radius: 20px;
  background: var(--ink);
  color: var(--paper);
  scroll-margin-top: 24px;
}

.product-band h2 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.15;
  text-wrap: balance;
  color: var(--paper);
}

.eyebrow--on-dark {
  color: var(--signal);
}

.eyebrow--on-dark::before {
  background: var(--signal);
}

.product-band__lead {
  margin: 0 0 24px;
  max-width: 52ch;
  color: #C9CDD2;
}

.product-band__lines {
  list-style: none;
  margin: 0 0 28px;
  padding: 0;
  display: grid;
  gap: 10px;
  font-size: 15px;
  color: #C9CDD2;
}

.product-band__lines li {
  display: flex;
  align-items: center;
  gap: 12px;
}

.product-band__tag {
  flex: 0 0 76px;
  display: inline-flex;
  justify-content: center;
  padding: 4px 0;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--paper);
}

.product-band__tag--accent {
  border-color: var(--signal);
  background: var(--signal);
  color: var(--ink);
}

.product-band__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn--on-dark {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--paper);
}

.btn--on-dark:hover {
  background: var(--accent-tint);
  text-decoration: none;
}

.product-band__card .app-card {
  padding: 14px;
  border-radius: 16px;
  background: var(--graphite);
  border: 1px solid rgba(242, 239, 232, 0.12);
}

.product-band__card .app-card__body {
  padding: 16px 4px 4px;
}

.product-band__card .app-card__name {
  color: var(--paper);
}

.product-band__card .app-card__tagline {
  color: #B9BDC2;
}

.product-band__card .app-card__status {
  background: rgba(255, 255, 255, 0.12);
  color: var(--paper);
}

.product-band__card .link-cta {
  background: transparent;
  color: var(--paper);
  border-color: rgba(255, 255, 255, 0.3);
}

.product-band__card .link-cta:hover {
  border-color: var(--accent);
  background: rgba(34, 184, 170, 0.18);
}

/* Apps page: cross-link back to services */
.crosslink {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px 40px;
  align-items: center;
  margin-top: 72px;
  padding: 36px 40px;
  border: 1px solid var(--gray-2);
  border-left: 6px solid var(--accent);
  border-radius: 16px;
  background: var(--gray-1);
}

.crosslink__title {
  margin: 0 0 10px;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
}

.crosslink p:not(.eyebrow) {
  margin: 0;
  max-width: 60ch;
  font-size: 16px;
}

.crosslink__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: flex-end;
}

@media (max-width: 1023px) {
  .product-band {
    grid-template-columns: 1fr;
    gap: 32px;
    scroll-margin-top: calc(var(--topbar-h) + 16px);
  }

  .crosslink {
    grid-template-columns: 1fr;
  }

  .crosslink__actions {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .product-band {
    margin: 64px -8px;
    padding: 32px 22px;
  }

  .product-band h2 {
    font-size: 28px;
  }

  .crosslink {
    padding: 28px 22px;
  }
}

/* Mobile hero fix: smaller mark, tighter H1, CTAs above the fold */
@media (max-width: 600px) {
  .content > .hero:first-child,
  .hero {
    margin-bottom: 56px;
  }

  .hero__mark {
    height: 52px;
    max-height: 52px;
    margin-bottom: 20px;
  }

  .hero__copy h1 {
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.1;
    letter-spacing: -0.015em;
    margin-bottom: 14px;
    text-wrap: balance;
  }

  .hero__lead {
    font-size: 16px;
    line-height: 1.55;
    margin: 0;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 24px 0 16px;
  }

  .hero__actions .btn {
    width: 100%;
    min-height: 48px;
  }
}

/* ==========================================================================
   BC Field premium system (2026-10-09)
   One set of tokens for radii, rhythm, type, lines and teal, applied site-wide.
   Square-and-arc brand => tight radii, hairline structure, Archivo tracked-caps labels
  , Signal Deep #007F86 on light, Signal #22B8AA on dark only.
   ========================================================================== */

:root {
  --r-xs: 2px;   /* tags, status chips */
  --r-sm: 4px;   /* buttons, inputs, icon tiles */
  --r-md: 6px;   /* cards, photos */
  --r-lg: 8px;   /* bands, panels */
  --line: var(--gray-2);
  --line-strong: #BDB7AA;
  --line-dark: rgba(242, 239, 232, 0.12);
  --muted-dark: #A9AEB4;
  --font-label: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --section-gap: 96px;
  --pad-card: 32px;
  --pad-panel: 72px;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

::selection {
  background: var(--signal-deep);
  color: var(--paper);
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ---- Type scale ---------------------------------------------------------- */
.page-header h1,
.hero__copy h1 {
  font-size: clamp(44px, 4.4vw, 66px);
  font-weight: 720;
  letter-spacing: -0.028em;
  line-height: 1.02;
  margin-bottom: 24px;
}

.section h2,
.band h2,
.apps-teaser h2,
.product-band h2 {
  font-size: clamp(30px, 2.9vw, 42px);
  font-weight: 700;
  font-stretch: 96%;
  letter-spacing: -0.022em;
  line-height: 1.08;
  margin-bottom: 20px;
}

.service-card h3,
.deliverable__title,
.app-card__name,
.deployments__heading,
.deliverables__label {
  font-size: 20px;
  font-weight: 680;
  letter-spacing: -0.012em;
  line-height: 1.25;
}

.section-lead,
.hero__lead,
.tagline,
.product-band__lead {
  font-size: 19px;
  line-height: 1.6;
}

.hero__lead { color: #2A2F35; max-width: 62ch; }
.section-lead { color: #2A2F35; margin-bottom: 40px; max-width: 64ch; }
.tagline { color: var(--gray-3); }

/* Labels: Archivo, tracked caps, like the wordmark's SOLUTIONS */
.eyebrow,
.nav-group__label,
.deliverables__sub,
.deliverable__num,
.app-detail__eyebrow,
.toc__title,
.contact-aside__label,
.site-footer__label,
.legal-updated,
.hero__note,
.band__note,
.product-band__tag,
.app-card__status,
.deployment figcaption,
.app-screens figcaption {
  font-family: var(--font-label);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal-deep);
}

/* Accent system: the big teal section number + rule replaces the small square */
.eyebrow::before { display: none; }

.eyebrow__num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--signal-deep);
  font-size: 34px;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

.eyebrow__num::after {
  content: "";
  width: 56px;
  height: 4px;
  background: var(--signal-deep);
}

.eyebrow--on-dark,
.eyebrow--on-dark .eyebrow__num { color: var(--signal); }
.eyebrow--on-dark .eyebrow__num::after { background: var(--signal); }

/* Teal underline under every section heading */
.section h2,
.band--cta h2 {
  position: relative;
  padding-bottom: 18px;
}

.section h2::after,
.band--cta h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 6px;
  border-radius: 3px;
  background: var(--signal-deep);
}

.hero__note,
.band__note {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--gray-3);
}

/* ---- Buttons + links: one family ---------------------------------------- */
.btn {
  min-height: 52px;
  padding: 0 26px;
  border-radius: var(--r-sm);
  font-size: 16px;
  font-weight: 620;
  letter-spacing: 0.005em;
  transition: background-color 0.18s var(--ease), color 0.18s var(--ease), border-color 0.18s var(--ease);
}

.btn--primary { background: var(--signal-deep); color: #FFFFFF; border-color: var(--signal-deep); }
.btn--primary:hover { background: var(--accent-ink); border-color: var(--accent-ink); }
.btn--secondary { background: transparent; color: var(--accent-ink); border-color: var(--signal-deep); }
.btn--secondary:hover { background: var(--signal-deep); color: #FFFFFF; }
.btn--on-dark { background: var(--signal); color: var(--ink); border-color: var(--signal); }
.btn--on-dark:hover { background: var(--paper); border-color: var(--paper); color: var(--ink); }
.btn--small { min-height: 40px; padding: 0 16px; font-size: 14px; }

.link-cta {
  gap: 10px;
  min-height: 44px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-size: 16px;
  font-weight: 620;
  color: var(--accent-ink);
  background-image: linear-gradient(currentColor, currentColor);
  background-size: 100% 1px;
  background-position: 0 calc(50% + 0.85em);
  background-repeat: no-repeat;
}

.link-cta::after {
  content: "";
  width: 14px;
  height: 10px;
  background: var(--accent);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M9 0l5 5-5 5-1.4-1.4L10.2 6H0V4h10.2L7.6 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 14 10'%3E%3Cpath d='M9 0l5 5-5 5-1.4-1.4L10.2 6H0V4h10.2L7.6 1.4z'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform 0.18s var(--ease);
}

.link-cta:hover {
  background-color: transparent;
  background-image: linear-gradient(var(--accent), var(--accent));
  color: var(--ink);
}

.link-cta:hover::after { transform: translateX(4px); }
.link-cta--small { min-height: 40px; padding: 0; font-size: 15px; }

/* ---- Page frame + section rhythm ---------------------------------------- */
.content { padding: 88px 56px 112px; }

.section {
  margin: var(--section-gap) 0 0;
  padding-top: var(--section-gap);
  border-top: 2px solid var(--signal-deep);
}

.page-header { margin-bottom: 56px; }

/* ---- Hero --------------------------------------------------------------- */
.hero {
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 64px;
  align-items: center;
  margin-bottom: 72px;
}

.hero__actions { margin: 36px 0 20px; gap: 12px; }

.hero__visual {
  position: relative;
  width: 300px;
  height: 300px;
  color: var(--line-strong);
}

.hero__construct {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero__visual .hero__mark {
  position: absolute;
  left: 14.2857%;
  top: 14.2857%;
  width: 71.4286%;
  height: 71.4286%;
}

/* ---- Panel grid: one recipe for every card set (hairline, shared borders) */
.card-grid,
.deliverables__grid,
.se-list {
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  overflow: hidden;
}

.service-card,
.deliverable,
.se-item {
  border: 0;
  border-radius: 0;
  box-shadow: inset 0 3px 0 var(--signal-deep); /* teal top edge */
  background: var(--surface);
  transition: background-color 0.2s var(--ease);
}

.service-card:hover,
.deliverable:hover,
.se-item:hover {
  transform: none;
  box-shadow: inset 0 3px 0 var(--signal-deep);
  background: #FFFFFF;
}

.service-card { padding: 36px var(--pad-card) 36px; }
.service-card h3 { margin: 0 0 10px; }
.service-card p { color: #2A2F35; font-size: 17px; line-height: 1.6; }
.card-grid { margin-bottom: 64px; }

/* Icon tiles: Ink square + Bone/Signal geometry, the app-icon treatment */
.icon-tile {
  display: inline-grid;
  place-items: center;
  flex: none;
  width: 52px;
  height: 52px;
  margin-bottom: 28px;
  border-radius: var(--r-sm);
  background: var(--ink);
  color: var(--paper);
}

.icon-tile .bc-icon { width: 32px; height: 32px; display: block; }
.icon-tile .ic-b { fill: var(--signal); }
.icon-tile--sm { width: 40px; height: 40px; margin: 0; }
.icon-tile--sm .bc-icon { width: 24px; height: 24px; }

/* ---- Deployments -------------------------------------------------------- */
.deployments { margin: 0 0 48px; }

.deployments__heading { margin: 0 0 8px; }
.deployments__lead { margin: 0 0 24px; font-size: 16px; }
.deployments__grid { gap: 12px; counter-reset: dep; }

.deployment { position: relative; }

.deployment picture {
  border-radius: var(--r-md);
  border: 0;
  background: var(--gray-1);
}

.deployment img { transition: transform 0.6s var(--ease); }
.deployment:hover img { transform: scale(1.025); }

.deployment figcaption {
  counter-increment: dep;
  display: flex;
  gap: 10px;
  margin-top: 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-ink);
}

/* Teal circular number badge on each deployment photo */
.deployments .deployment figcaption::before {
  content: counter(dep, decimal-leading-zero);
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--signal-deep);
  color: #FFFFFF;
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0;
  box-shadow: 0 0 0 3px #FFFFFF, 0 6px 16px rgba(10, 13, 16, 0.3);
}

.split__media figcaption {
  font-size: 12px;
  letter-spacing: 0.06em;
  line-height: 1.5;
  color: var(--accent-ink);
  text-transform: none;
  font-weight: 500;
}

/* ---- Consulting: deliverables ------------------------------------------ */
.deliverables {
  margin: 0 0 48px;
  padding: 0;
  background: none;
  border: 0;
  border-radius: 0;
}

.deliverables__head { margin-bottom: 20px; align-items: baseline; }
.deliverables__label { margin: 0; }

.deliverables__sub {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-3);
}

.deliverable { padding: 32px 28px 36px; }
.deliverable::after { display: none; }
.deliverable__top { margin-bottom: 28px; align-items: flex-start; }
.deliverable__top .icon-tile { margin: 0; }

.deliverable__num {
  letter-spacing: 0.14em;
  color: var(--signal-deep);
  font-size: 18px;
  font-weight: 800;
  -webkit-text-stroke: 0;
}

.deliverable p { color: #2A2F35; font-size: 16px; }

/* ---- Site engineering --------------------------------------------------- */
.split { gap: 56px; align-items: start; }
.deliverables__label--inline { margin: 0 0 16px; font-size: 20px; }
.se-list { margin-bottom: 40px; }
.se-item { padding: 22px 20px; gap: 16px; border-left: 0; }
.se-item strong { font-size: 16.5px; font-weight: 680; margin-bottom: 4px; }
.se-item span:not(.icon-tile) { color: #3A3F45; }

/* ---- Apps band ---------------------------------------------------------- */
.product-band {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin: var(--section-gap) 0 0;
  padding: var(--pad-panel);
  gap: 64px;
  border-radius: var(--r-lg);
  background: var(--ink);
  box-shadow: inset 0 6px 0 var(--signal); /* bright top edge */
}

.product-band h2 { color: var(--paper); }

.product-band::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 0;
  bottom: 0;
  width: 560px;
  height: 560px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23F2EFE8' stroke-opacity='.09' stroke-width='.22'%3E%3Cpath d='M0 54A46 46 0 0 1 46 100M0 45A55 55 0 0 1 55 100M0 27A73 73 0 0 1 73 100M0 18A82 82 0 0 1 82 100M0 0A100 100 0 0 1 100 100'/%3E%3C/svg%3E") left bottom / contain no-repeat;
  pointer-events: none;
}

.product-band__lead { color: #C9CDD2; margin-bottom: 32px; }
.product-band__lines { gap: 14px; margin-bottom: 36px; }

.product-band__tag {
  flex: 0 0 84px;
  padding: 5px 0;
  border-radius: var(--r-xs);
  background: transparent;
  border-color: var(--signal);
  color: var(--signal);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
}

.product-band__tag--accent { background: var(--signal); border-color: var(--signal); color: var(--ink); }

.product-band__card .app-card {
  padding: 12px;
  border-radius: var(--r-md);
  background: var(--graphite);
  border: 1px solid var(--line-dark);
  box-shadow: 0 0 0 2px var(--signal);
}

.product-band__card .app-card__cover { border-radius: var(--r-sm); }
.product-band__card .app-card__body { padding: 20px 12px 12px; gap: 16px; }
.product-band__card .app-card__tagline { color: var(--muted-dark); }
.product-band__card .link-cta { color: var(--signal); background-color: transparent; border: 0; }
.product-band__card .link-cta::after { background: var(--signal); }
.product-band__card .link-cta:hover { background-color: transparent; background-image: linear-gradient(var(--signal), var(--signal)); }
.product-band__card .app-card__status { background: rgba(242, 239, 232, 0.08); color: var(--paper); }
.product-band__card .app-card__status::before { background: var(--signal); }

/* ---- App cards (everywhere) -------------------------------------------- */
.app-grid { gap: 24px; margin: 0 0 24px; }

.app-grid .app-card {
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.app-grid .app-card__body { padding: 20px 12px 12px; gap: 16px; }

.app-card__cover { border-radius: var(--r-sm); background: var(--ink); }
.app-card__placeholder { opacity: 1; width: 72px; height: 72px; }
.app-card__icon { border-radius: 10px; }

.app-card__icon--empty {
  display: grid;
  place-items: center;
  background: var(--ink);
}

.app-card__status {
  height: 28px;
  padding: 0 10px;
  border-radius: var(--r-xs);
  background: var(--gray-1);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.app-card__status::before {
  width: 6px;
  height: 6px;
  border-radius: 0;
  background: var(--accent);
}

.app-card__status--lg {
  height: 44px;
  padding: 0 16px;
  font-size: 13px;
  border-radius: var(--r-sm);
  background: var(--surface);
  border: 1px solid var(--line);
}

.filter-pill { border-radius: var(--r-xs); font-family: var(--font-label); font-size: 13px; letter-spacing: 0.04em; }

/* App detail (/apps/) */
.app-detail {
  margin: 48px 0 0;
  padding: 56px;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line);
}

.app-detail__head { gap: 24px; margin-bottom: 36px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.app-detail__icon { border-radius: 20px; }
.app-detail__eyebrow { font-size: 12px; letter-spacing: 0.14em; color: var(--accent-ink); margin-bottom: 8px; }
.app-detail h2 { font-size: clamp(28px, 2.6vw, 36px); letter-spacing: -0.02em; font-weight: 700; }
.app-detail__grid { gap: 56px; }
.app-screens { gap: 14px; }
.app-screens img { border-radius: 12px; box-shadow: 0 1px 0 rgba(10, 13, 16, 0.04), 0 18px 36px -18px rgba(10, 13, 16, 0.45); }
.app-screens figcaption { margin-top: 12px; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; }
.checklist li::before { width: 7px; height: 7px; top: 0.62em; }

/* Cross-link on /apps/ */
.crosslink {
  margin-top: 48px;
  padding: 48px 56px;
  border: 1px solid var(--line);
  border-left: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--gray-1);
}

.crosslink__title { font-size: 26px; letter-spacing: -0.015em; }

/* ---- Closing CTA -------------------------------------------------------- */
.band {
  border-radius: var(--r-lg);
}

.band--accent { border-left: 0; }

.band--cta {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  margin-top: 24px;
  padding: var(--pad-panel);
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: inset 8px 0 0 var(--signal-deep); /* teal left edge */
}

.band__construct {
  position: absolute;
  z-index: -1;
  right: -1px;
  bottom: -1px;
  width: 380px;
  height: 380px;
  color: var(--line-strong);
  transform: scaleX(-1);
  pointer-events: none;
}

.band--cta h2 { max-width: 18ch; }
.band--cta p:not(.eyebrow):not(.band__note) { color: #2A2F35; max-width: 56ch; }
.band .hero__actions { margin: 32px 0 20px; }

/* ---- Sidebar + topbar --------------------------------------------------- */
.sidebar { border-right-color: var(--line); }
.sidebar__inner { padding: 32px 24px 24px; }
.sidebar__groups { margin-top: 48px; }

.nav-group__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  margin-bottom: 12px;
}

.nav-group__hint { font-family: var(--font); font-size: 11px; letter-spacing: 0; text-transform: none; }
.nav-group + .nav-group { border-top-color: var(--line); margin-top: 24px; padding-top: 24px; }

.nav-link {
  padding: 7px 10px 7px 14px;
  margin-left: -14px;
  border-left-width: 2px;
  color: #2A2F35;
  transition: color 0.15s var(--ease), border-color 0.15s var(--ease);
}

.nav-link:hover { color: var(--ink); text-decoration: none; border-left-color: var(--line-strong); }
.nav-link.is-current { color: var(--ink); font-weight: 650; border-left-color: var(--accent); }
.sidebar__footer { font-family: var(--font-label); font-size: 11px; letter-spacing: 0.04em; }

/* ---- Forms + contact ---------------------------------------------------- */
.form-row input,
.form-row select,
.form-row textarea {
  min-height: 52px;
  padding: 14px 16px;
  border-color: var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--surface);
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(0, 127, 134, 0.18);
}

.form-row label,
.form-fieldset legend { font-size: 14px; font-weight: 650; letter-spacing: 0.01em; }
.form { gap: 22px; }
.radio-option { border-radius: var(--r-sm); border-color: var(--line-strong); background: var(--surface); }

.contact-aside {
  padding: 40px;
  border-radius: var(--r-lg);
  border-top: 0;
  background: var(--ink);
  color: var(--paper);
}

.contact-aside h2 { color: var(--paper); font-size: 24px; letter-spacing: -0.015em; }
.next-steps__num { border-radius: var(--r-sm); background: var(--signal); color: var(--ink); font-family: var(--font-label); font-size: 13px; }
.next-steps h3 { color: var(--paper); }
.next-steps p { color: var(--muted-dark); }
.contact-aside__direct { border-top-color: var(--line-dark); }
.contact-aside__label { font-size: 11px; letter-spacing: 0.14em; color: var(--signal); }
.contact-aside a { color: var(--paper); text-decoration-color: var(--signal); }
.contact-aside p { color: #C9CDD2; }

/* ---- Support + legal ---------------------------------------------------- */
.support-app {
  padding: 20px 24px;
  border-color: var(--line);
  border-radius: var(--r-md);
  background: var(--surface);
}

.faq details {
  border-color: var(--line);
  border-radius: var(--r-sm);
  background: var(--surface);
}

.faq summary { font-weight: 650; }
.faq__title { font-size: 26px; letter-spacing: -0.015em; }

.toc {
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
}

.toc__title { font-size: 11px; letter-spacing: 0.14em; }
.legal-updated { font-size: 13px; letter-spacing: 0.02em; }
.form-success { border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); }

/* ---- 404 ---------------------------------------------------------------- */
.error-page h1 { font-size: clamp(44px, 4.4vw, 66px); font-weight: 720; letter-spacing: -0.028em; line-height: 1.02; margin: 0 0 16px; }

/* ---- Footer (Ink, full width of the page column) ----------------------- */
.site-footer {
  max-width: none;
  margin: 0;
  padding: 80px 56px 32px;
  background: var(--ink);
  color: var(--muted-dark);
  font-size: 15px;
}

.site-footer__inner,
.site-footer__base {
  max-width: 1048px;
  margin: 0 auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
  gap: 48px 64px;
  padding: 0 0 56px;
  border-top: 0;
}

.site-footer__logo { display: inline-block; margin-bottom: 20px; }
.site-footer__logo img { width: 180px; height: auto; }
.site-footer__brand p { max-width: 38ch; color: var(--muted-dark); margin: 0 0 12px; }
.site-footer__brand a,
.site-footer__email { color: var(--paper); text-decoration-color: var(--signal); }

.site-footer__nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
}

.site-footer__label {
  margin: 0 0 14px !important;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--signal);
}

.site-footer__nav ul { display: grid; grid-template-columns: 1fr; gap: 0; }
.site-footer__nav a { min-height: 34px; color: var(--paper); }
.site-footer__nav a:hover { color: var(--signal); text-decoration: none; }

.site-footer__base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  padding-top: 24px;
  border-top: 1px solid var(--line-dark);
}

.site-footer__legal {
  margin: 0 !important;
  font-family: var(--font-label);
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted-dark);
}

/* ---- Motion preferences ------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  .btn, .link-cta::after, .deployment img, .nav-link,
  .service-card, .deliverable, .se-item { transition: none; }
  .deployment:hover img { transform: none; }
}

/* ---- Responsive --------------------------------------------------------- */
@media (max-width: 1100px) {
  .hero { grid-template-columns: minmax(0, 1fr) 220px; gap: 40px; }
  .hero__visual { width: 220px; height: 220px; }
  .app-detail { padding: 40px; }
}

@media (max-width: 1023px) {
  :root { --section-gap: 72px; --pad-panel: 40px; --pad-card: 24px; }
  .content { padding: 40px 20px 72px; }
  .topbar {
    background: rgba(242, 239, 232, 0.92);
    -webkit-backdrop-filter: saturate(1.2) blur(10px);
    backdrop-filter: saturate(1.2) blur(10px);
    border-bottom-color: var(--line);
  }
  .topbar__menu {
    min-height: 40px;
    padding: 0 14px !important;
    border: 1px solid var(--ink) !important;
    border-radius: var(--r-sm);
    font-family: var(--font-label);
    font-size: 12px !important;
    letter-spacing: 0.14em;
    text-transform: uppercase;
  }
  .hero { grid-template-columns: 1fr; gap: 0; margin-bottom: 56px; }
  .hero__visual { order: -1; width: auto; height: auto; margin-bottom: 24px; }
  .hero__construct { display: none; }
  .hero__visual .hero__mark { position: static; width: auto; height: 96px; margin: 0; }
  .site-footer { padding: 56px 20px 28px; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 40px; }
  .split { gap: 32px; }
  .product-band { gap: 40px; }
  .band__construct { width: 240px; height: 240px; }
}

@media (max-width: 720px) {
  .product-band { margin: var(--section-gap) 0 0; padding: 36px 22px; }
  .product-band::before { width: 340px; height: 340px; }
  .app-detail { padding: 28px 20px; }
  .crosslink { padding: 32px 22px; }
  .site-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .deployments__grid { gap: 10px; }
  .deployment figcaption { font-size: 11px; letter-spacing: 0.08em; }
}

@media (max-width: 600px) {
  :root { --section-gap: 64px; --pad-panel: 28px; }
  .content > .hero:first-child, .hero { margin-bottom: 44px; }
  /* H1 leads on phone: the header logo already carries the mark */
  .hero__visual { display: none; }
  .hero__copy h1, .page-header h1 { font-size: clamp(32px, 8.8vw, 38px); letter-spacing: -0.022em; line-height: 1.08; }
  .section h2, .band h2, .product-band h2 { font-size: 28px; }
  .section-lead, .hero__lead, .tagline, .product-band__lead { font-size: 16.5px; }
  .service-card { padding: 28px 22px; }
  .icon-tile { width: 44px; height: 44px; margin-bottom: 20px; }
  .icon-tile .bc-icon { width: 28px; height: 28px; }
  .deliverable { padding: 22px 18px; }
  .deliverable__top .icon-tile { margin: 0; }
  .se-item { padding: 18px 16px; }
  .band--cta { padding: 36px 22px; }
  .band__construct { width: 180px; height: 180px; }
  .contact-aside { padding: 28px 22px; }
  .site-footer__base { flex-direction: column; }
}

/* Premium system: rhythm fixes */
.product-band + .band--cta { margin-top: 32px; }
.band__construct { color: var(--gray-2); }
/* Footer sits at the bottom on short pages (404, delete-data) */
.page { display: flex; flex-direction: column; }
.page > .content { flex: 1 0 auto; width: 100%; }

/* Custom apps: secondary CTA on the dark Apps band */
.btn--on-dark-ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(242, 239, 232, 0.4);
}
.btn--on-dark-ghost:hover { border-color: var(--signal); color: var(--signal); text-decoration: none; }
/* Apps page: custom-apps band sits right under the grid, before details */
.crosslink--custom { margin: 8px 0 72px; }
