/* ════════════════════════════════════════════════════════════
   AerialSpect — Page styles
   Homepage hero · trust · services · cases · outcomes · FAQ ·
   CTA · subpage heroes · steps · deliverables · comparison ·
   pricing · contact · about · case-study detail · blog article
   ════════════════════════════════════════════════════════════ */

/* ── SECTION SHELL ──
   Every band is a centered page column; content aligns left inside it,
   so per-element measure caps never re-center blocks. */
.services-section, .outcomes-section, .steps-section,
.deliverables-section, .comparison-section, .pricing-section,
.contact-section, .about-section, .cases-section, .related-cases,
.cta-section, .local-banner {
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  display: grid;
  grid-template-columns: min(100%, var(--page-max));
  justify-content: center;
}
.comparison-section { grid-template-columns: min(100%, 960px); }

/* ── HOMEPAGE HERO ──
   Asymmetric split on paper: oversized headline left, video right,
   ruled stat band across the full width underneath. */
.hero {
  position: relative;
  padding: calc(68px + clamp(56px, 8vw, 104px)) var(--gutter) 0;
  border-bottom: 1px solid var(--ink);
  background: var(--paper);
}
.hero > * { position: relative; z-index: 1; }

/* Structural column rules — the grid made visible, at whisper volume */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  z-index: 0 !important;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(19, 19, 17, 0.05) 0, rgba(19, 19, 17, 0.05) 1px,
    transparent 1px, transparent calc(100% / 12)
  );
  pointer-events: none;
}
.hero-glow { display: none; } /* retired: no ambient glows in this system */

.hero-inner {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: end;
  padding-bottom: clamp(48px, 6vw, 88px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 32px;
}
.hero-badge-dot {
  width: 8px; height: 8px;
  background: var(--accent);
  flex-shrink: 0;
}

.hero-title {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--ink);
  margin-bottom: 28px;
  max-width: 14ch;
}
.hero-title .accent {
  /* the one loud move: white type on a flat cobalt slab */
  background: var(--accent);
  color: var(--white);
  padding: 0 0.14em;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 52ch;
  margin-bottom: 16px;
}
.hero-parent {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 40px;
}
.hero-parent a {
  color: var(--ink);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--accent);
}
.hero-parent a:hover { color: var(--accent); }
.hero-actions {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.hero-visual { position: relative; }
.hero-img-frame {
  position: relative;
  border: 1px solid var(--ink);
  background: var(--ink);
}
.hero-img-frame video { display: block; width: 100%; height: auto; }
/* flat cobalt plate offset behind the frame — print-shop registration */
.hero-visual::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  background: var(--accent);
}
.video-overlay-badge {
  position: absolute;
  top: 0; left: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--ink);
  color: var(--white);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 12px;
}
.vob-dot {
  width: 7px; height: 7px;
  background: var(--accent-soft);
  animation: blink 2.4s steps(2, start) infinite;
}
@keyframes blink { 50% { opacity: 0.25; } }
@media (prefers-reduced-motion: reduce) { .vob-dot { animation: none; } }

/* Full-width ruled stat band under the hero split */
.hero-stats-strip {
  max-width: var(--page-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--ink);
}
.stat-item {
  padding: 30px 28px 34px;
  border-right: 1px solid var(--border);
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.2vw, 46px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--ink);
  display: block;
  margin-bottom: 8px;
}
.stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
}

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 28px var(--gutter);
  display: flex;
  align-items: center;
  gap: 48px;
}
.trust-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  max-width: 230px;
  line-height: 1.5;
  flex-shrink: 0;
}
.trust-logos {
  display: flex;
  align-items: center;
  gap: 36px;
  flex-wrap: wrap;
}
.trust-logo {
  height: 26px;
  width: auto;
  filter: grayscale(1) contrast(1.1);
  opacity: 0.55;
  transition: opacity 0.2s, filter 0.2s;
}
.trust-logo:hover { filter: grayscale(0); opacity: 1; }
.trust-item {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--text-muted);
  transition: color 0.2s;
  white-space: nowrap;
}
.trust-item:hover { color: var(--ink); }
.trust-divider { width: 1px; height: 22px; background: var(--border); flex-shrink: 0; }

/* ── SERVICE / CARD GRIDS ──
   Cards share hairline gridlines (1px gap over a border-color ground)
   — the Mondrian move. No shadows, no radius. */
.services-grid, .deliverables-grid, .cases-grid, .related-grid,
.pricing-grid, .steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}

.service-card {
  position: relative;
  background: var(--white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-bottom: 28px;
  transition: box-shadow 0.2s;
}
.service-card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.service-card-img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
}
.service-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.2;
  color: var(--ink);
  margin: 26px 28px 10px;
}
.service-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 28px 20px;
}
.service-cta {
  font-size: 14px;
  font-weight: 550;
  color: var(--accent);
  text-decoration: none;
  margin: 0 28px 8px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.18s;
}
.service-cta:hover { border-bottom-color: var(--accent); }
.service-features {
  list-style: none;
  margin: 0 28px 24px;
  width: calc(100% - 56px);
}
.service-features li {
  font-size: 14.5px;
  color: var(--ink-mid);
  padding: 9px 0 9px 22px;
  border-top: 1px solid var(--border);
  position: relative;
}
.service-features li::before, .feature-check {
  content: '';
  position: absolute;
  left: 0; top: 15px;
  width: 8px; height: 8px;
  background: var(--accent);
}
.service-badge {
  position: absolute;
  top: 0; left: 0;
  z-index: 2;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
}
.service-icon, .step-icon { color: var(--accent); margin: 28px 28px 0; }

/* A lone card spans the full row as a horizontal editorial feature
   (Latest Insight on the homepage, the blog index) */
.services-grid > .service-card:only-child {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  padding-bottom: 0;
}
.services-grid > .service-card:only-child .service-card-img {
  grid-column: 1;
  grid-row: 1 / span 3;
  height: 100%;
  aspect-ratio: auto;
  min-height: 340px;
}
.services-grid > .service-card:only-child .service-title {
  grid-column: 2;
  align-self: end;
  font-size: var(--text-2xl);
  margin: 44px 40px 12px;
}
.services-grid > .service-card:only-child .service-desc { grid-column: 2; margin: 0 40px 22px; }
.services-grid > .service-card:only-child .service-cta {
  grid-column: 2;
  align-self: start;
  margin: 0 40px 44px;
}

/* Featured card inverts to ink — one dark cell in the white grid */
.service-card.featured { background: var(--ink); }
.service-card.featured .service-title { color: var(--white); }
.service-card.featured .service-desc { color: var(--text-secondary); }
.service-card.featured .service-cta { color: var(--accent-soft); }
.service-card.featured .service-cta:hover { border-bottom-color: var(--accent-soft); }
.service-card.featured .service-features li { color: rgba(255,255,255,0.75); border-top-color: var(--border-dark); }
.service-card.featured .service-features li::before { background: var(--accent-soft); }
.service-card.featured:hover { box-shadow: inset 0 0 0 1px var(--accent-soft); }

/* ── HOMEPAGE FEATURED CASE ── */
.cases-intro {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}
.cases-intro-right { position: sticky; top: 108px; }
.cases-intro .metric-strip-3 {
  grid-template-columns: 1fr; /* stack the dials in the narrow column */
  position: sticky;
  top: 108px;
}
.cases-intro .metric-strip-3 .metric-item {
  border-right: none;
  border-bottom: 1px solid var(--border-dark);
}
.cases-intro .metric-strip-3 .metric-item:last-child { border-bottom: none; }
.cases-intro .metric-val { font-size: clamp(40px, 4.2vw, 60px); }

/* ── CASE CARD (listing + related) ── */
.case-card {
  background: var(--white);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s;
}
.case-card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.case-img {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}
.case-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.case-card:hover .case-img img { transform: scale(1.04); }
@media (prefers-reduced-motion: reduce) {
  .case-card:hover .case-img img { transform: none; }
}
.case-img-placeholder {
  width: 100%; height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--ink);
}
.case-img-placeholder span { display: none; } /* legacy emoji glyphs retired */
.case-img-placeholder p {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--white);
  border-bottom: 3px solid var(--accent-soft);
  padding-bottom: 8px;
}
.case-tag {
  position: absolute;
  top: 0; left: 0;
  background: var(--accent);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.case-origin {
  position: absolute;
  top: 0; right: 0;
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 7px 12px;
}
.case-body { padding: 24px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.case-title {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 650;
  letter-spacing: -0.02em;
  line-height: 1.25;
  color: var(--ink);
  margin-bottom: 8px;
}
.case-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.55; margin-bottom: 18px; }
.case-metrics, .case-metric {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  border-top: 1px solid var(--border);
  padding-top: 14px;
  margin-top: auto;
  margin-bottom: 14px;
}
.case-metric-val { font-weight: 700; }
.case-metric-label { color: var(--text-muted); }
.case-link {
  font-size: 14px;
  font-weight: 550;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  align-self: flex-start;
  padding-bottom: 1px;
  transition: color 0.18s, border-color 0.18s;
}
.case-card:hover .case-link { color: var(--accent); border-bottom-color: var(--accent); }

/* ── OUTCOMES (dark ruled 2×2) ── */
.outcomes-section { background: var(--ink); }
.outcomes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.outcome-card {
  background: var(--ink);
  padding: clamp(28px, 3.5vw, 48px);
  transition: background 0.2s;
}
.outcome-card:hover { background: var(--ink-soft); }
.outcome-card::before {
  content: '';
  display: block;
  width: 36px; height: 4px;
  background: var(--accent-soft);
  margin-bottom: 28px;
}
.outcome-card:hover::before { width: 56px; transition: width 0.25s; }
.outcome-num {
  font-family: var(--font-display);
  font-size: clamp(48px, 5.6vw, 80px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 16px;
}
.outcome-title {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--white);
  margin-bottom: 10px;
}
.outcome-desc { font-size: 15px; color: var(--text-secondary); line-height: 1.65; }

/* ── FAQ ── */
.faq-section {
  padding: clamp(72px, 9vw, 128px) var(--gutter);
  max-width: calc(880px + 2 * var(--gutter));
  margin: 0 auto;
}
.faq-item { border-top: 1px solid var(--ink); }
.faq-item:last-of-type { border-bottom: 1px solid var(--ink); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
  cursor: pointer;
  transition: color 0.18s;
}
.faq-q:hover { color: var(--accent); }
.faq-toggle {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.25s;
}
.faq-item.open .faq-toggle { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  font-size: 15.5px;
  color: var(--text-muted);
  line-height: 1.7;
  max-width: 64ch;
  transition: max-height 0.35s ease, padding-bottom 0.35s ease;
}
.faq-item.open .faq-a { max-height: 500px; padding-bottom: 28px; }

/* ── CTA (the flat cobalt slab) ── */
.cta-section {
  background: var(--accent);
  padding: clamp(88px, 11vw, 150px) var(--gutter);
}
.cta-glow { display: none; }
.cta-title, .cta-content h2 {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.4vw, 72px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 16ch;
}
.cta-sub, .cta-content p {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.6;
  max-width: 46ch;
  margin-bottom: 40px;
}
.cta-actions { display: flex; gap: 24px; flex-wrap: wrap; }
.cta-section .btn-primary, .cta-content .btn {
  background: var(--ink);
  color: var(--white);
}
.cta-section .btn-primary:hover, .cta-content .btn:hover {
  background: var(--white);
  color: var(--ink);
}
.cta-phone { margin-top: 32px; font-size: 15px; color: rgba(255, 255, 255, 0.7); }
.cta-phone a {
  color: var(--white);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-phone a:hover { text-decoration-color: rgba(255, 255, 255, 0.5); }

/* ── SUBPAGE HERO (paper) ── */
.subpage-hero {
  position: relative;
  background: var(--paper);
  padding: clamp(64px, 8vw, 104px) var(--gutter) clamp(48px, 6vw, 80px);
  border-bottom: 1px solid var(--ink);
  display: grid;
  grid-template-columns: min(100%, var(--page-max));
  justify-content: center;
}
.subpage-hero > * { position: relative; z-index: 1; }
.subpage-hero .section-title,
.subpage-hero h1 {
  font-family: var(--font-display);
  font-size: var(--text-hero);
  font-weight: 700;
  letter-spacing: -0.045em;
  line-height: 1.0;
  color: var(--ink);
  max-width: 16ch;
  margin-bottom: 24px;
}
.subpage-hero .section-sub,
.subpage-hero-sub {
  font-size: var(--text-lg);
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 56ch;
  margin-bottom: 0;
}
.subpage-hero .eyebrow {
  display: block;
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 24px 0 20px;
}
.subpage-hero .breadcrumb { margin-bottom: 8px; }
.subpage-hero .breadcrumb a { color: var(--text-muted); }
.subpage-hero .breadcrumb a:hover { color: var(--accent); }
.subpage-hero .breadcrumb span { color: var(--text-muted); }

/* ── HOW IT WORKS: STEPS ── */
.step-card {
  background: var(--white);
  padding-bottom: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transition: box-shadow 0.2s;
}
.step-card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.step-number, .step-num {
  font-family: var(--font-display);
  font-size: clamp(44px, 4vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--accent);
  padding: 28px 28px 22px;
}
.step-title {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 24px 28px 10px;
}
.step-desc {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 28px 22px;
}
.step-tag {
  display: inline-block;
  margin: 0 28px;
  border: 1px solid var(--ink);
  padding: 7px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-top: auto;
}

/* ── DELIVERABLES ── */
.deliverable-card { background: var(--white); padding: 32px 28px; transition: box-shadow 0.2s; }
.deliverable-card:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.deliverable-icon { color: var(--accent); margin-bottom: 20px; min-height: 26px; display: flex; align-items: center; }
.deliverable-icon .icon { width: 26px; height: 26px; }
.deliverable-title {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: var(--ink);
  margin-bottom: 8px;
}
.deliverable-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; }

/* ── COMPARISON TABLE ── */
.comparison-section > * { max-width: 960px; }
.table-wrap { overflow-x: auto; }
.comparison-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  border: 1px solid var(--ink);
  background: var(--white);
}
.comparison-table th {
  background: var(--ink);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-align: left;
  padding: 16px 22px;
}
.comparison-table th.highlight { background: var(--accent); }
.comparison-table td {
  padding: 16px 22px;
  font-size: 15px;
  color: var(--ink-mid);
  border-top: 1px solid var(--border);
}
.comparison-table td:first-child { font-weight: 550; color: var(--ink); }
.comparison-table td.highlight {
  background: rgba(32, 54, 206, 0.055);
  border-left: 1px solid var(--border);
  color: var(--accent);
  font-weight: 600;
}

/* ── PLATFORM SHOWCASE ── */
.platform-showcase {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
}
.platform-showcase .showcase-item { background: var(--white); margin: 0; }
.platform-showcase .showcase-item img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}
.platform-showcase .showcase-item figcaption {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 14px 20px;
}

/* ── PRICING ── */
.pricing-grid { margin-bottom: var(--space-3xl); }
.pricing-card {
  position: relative;
  background: var(--white);
  padding: 40px 32px 36px;
  display: flex;
  flex-direction: column;
}
.pricing-tier {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}
.pricing-name {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--ink);
  margin-bottom: 12px;
}
.pricing-desc { font-size: 14.5px; color: var(--text-muted); line-height: 1.6; margin-bottom: 26px; }
.pricing-features { list-style: none; margin-bottom: 32px; flex: 1; }
.pricing-features li {
  display: flex;
  gap: 12px;
  font-size: 14.5px;
  color: var(--ink-mid);
  padding: 10px 0;
  border-top: 1px solid var(--border);
  line-height: 1.5;
}
.pricing-features .check { color: var(--accent); font-weight: 700; flex-shrink: 0; }

/* Featured tier = the flat cobalt block */
.pricing-card.featured { background: var(--accent); }
.pricing-card.featured .pricing-tier { color: rgba(255, 255, 255, 0.7); }
.pricing-card.featured .pricing-name { color: var(--white); }
.pricing-card.featured .pricing-desc { color: rgba(255, 255, 255, 0.78); }
.pricing-card.featured .pricing-features li {
  color: rgba(255, 255, 255, 0.92);
  border-top-color: rgba(255, 255, 255, 0.25);
}
.pricing-card.featured .pricing-features .check { color: var(--white); }
.pricing-card.featured .service-badge { background: var(--ink); }
.pricing-card.featured .btn-primary { background: var(--ink); color: var(--white); }
.pricing-card.featured .btn-primary:hover { background: var(--white); color: var(--ink); }

/* ── CONTACT ── */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.contact-info .section-sub { margin-bottom: 36px; }
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.contact-icon { color: var(--accent); display: flex; align-items: center; }
.contact-icon .icon { width: 20px; height: 20px; }
.contact-detail-text { font-size: 16px; font-weight: 500; color: var(--ink); }
.contact-detail-text a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 0.18s, color 0.18s;
}
.contact-detail-text a:hover { color: var(--accent); border-bottom-color: var(--accent); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--ink);
  padding: clamp(28px, 3.5vw, 48px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 8px;
}
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--border);
  border-radius: 0;
  padding: 13px 14px;
  transition: border-color 0.18s, background 0.18s;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #a3a39b; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--accent);
}
.form-group textarea { min-height: 130px; resize: vertical; }
.form-submit {
  width: 100%;
  justify-content: center;
  background: var(--accent);
  color: var(--white);
}
.form-submit:hover { background: var(--ink); }
.form-submit:disabled { cursor: default; }

/* ── ABOUT ── */
.about-section { background: var(--ink); }
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
}
.about-content .section-sub, .about-right .section-sub { margin-bottom: 44px; }
.credentials-grid, .about-creds {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--border-dark);
  border: 1px solid var(--border-dark);
}
.cred-item { background: var(--ink); padding: 30px 26px; }
.cred-number, .cred-val {
  font-family: var(--font-display);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--accent-soft);
  margin-bottom: 10px;
}
.cred-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
  line-height: 1.5;
}
.about-img-wrap { border: 1px solid var(--border-dark); }
.about-img-wrap img { display: block; width: 100%; height: auto; }
.about-img-placeholder {
  background: var(--ink-soft);
  padding: 48px;
  text-align: center;
}
.about-img-placeholder span { display: none; }
.about-img-placeholder p { color: var(--text-secondary); }
.about-quote {
  border-left: 3px solid var(--accent-soft);
  padding: 6px 0 6px 26px;
  margin-top: 32px;
}
.about-quote p, .about-quote-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.45;
  color: var(--white);
  margin-bottom: 12px;
}
.about-quote cite, .about-quote-source {
  font-size: var(--text-sm);
  color: var(--text-secondary);
  font-style: normal;
}

/* Nationwide banner — the flat cobalt slab, about-page edition */
.local-banner {
  background: var(--accent);
  padding: clamp(80px, 10vw, 140px) var(--gutter);
}
.local-tag {
  display: table; /* shrink-wrap the border to its text */
  justify-self: start;
  border: 1px solid rgba(255, 255, 255, 0.45);
  color: var(--white);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 8px 14px;
  margin-bottom: 32px;
}
.local-title {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 66px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.02;
  color: var(--white);
  margin-bottom: 24px;
  max-width: 18ch;
}
.local-sub {
  font-size: var(--text-lg);
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.65;
  max-width: 60ch;
  margin-bottom: 56px;
}
.local-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 1px solid rgba(255, 255, 255, 0.35);
}
.local-stat { padding: 30px 28px; border-right: 1px solid rgba(255, 255, 255, 0.35); }
.local-stat:last-child { border-right: none; }
.local-stat-number, .local-stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 3.4vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 8px;
}
.local-stat-label {
  font-size: var(--text-xs);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.72);
}

/* ── CASE-STUDY / ARTICLE HERO (ink slab) ── */
.cs-hero {
  position: relative;
  background: var(--ink);
  padding: calc(68px + clamp(48px, 6vw, 80px)) var(--gutter) clamp(48px, 6vw, 72px);
  display: grid;
  grid-template-columns: min(100%, var(--page-max));
  justify-content: center;
}
.cs-hero > * { position: relative; z-index: 1; }
.cs-hero .hero-bg-grid {
  background-image: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 0, rgba(255, 255, 255, 0.05) 1px,
    transparent 1px, transparent calc(100% / 12)
  );
}
.cs-hero .breadcrumb { margin-bottom: 28px; }
.cs-hero-tag {
  display: table;
  justify-self: start;
  background: var(--accent);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 7px 12px;
  margin-bottom: 24px;
}
.cs-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 4.6vw, 60px);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.04;
  color: var(--white);
  margin-bottom: 20px;
  max-width: 22ch;
}
.cs-hero-sub {
  font-size: var(--text-lg);
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 56ch;
}

/* Metric strip sits flush under the ink hero */
.cs-hero + .metric-strip { border-top: 1px solid var(--border-dark); }

/* ── ARTICLE BODY ── */
.cs-content {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(56px, 7vw, 96px) var(--gutter) clamp(72px, 9vw, 120px);
}
.cs-content p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink-mid);
  margin-bottom: 22px;
}
.cs-content p strong { color: var(--ink); }
.cs-content h2 {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--ink);
  margin: 52px 0 18px;
  padding-top: 28px;
  border-top: 1px solid var(--ink);
}
.cs-content h2:first-of-type { margin-top: 12px; }
.cs-content h3 {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 650;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 36px 0 12px;
}
.cs-content a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.cs-content a:hover { color: var(--accent-deep); }
.cs-content ul, .cs-content ol { list-style: none; margin: 0 0 26px; }
.cs-content ul li, .cs-content ol li {
  position: relative;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--ink-mid);
  padding: 6px 0 6px 26px;
}
.cs-content ul li:last-child { padding-bottom: 6px; }
.cs-content ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 0.85em;
  width: 9px; height: 9px;
  background: var(--accent);
}
.cs-content ol { counter-reset: item; }
.cs-content ol li::before {
  counter-increment: item;
  content: counter(item, decimal-leading-zero);
  position: absolute;
  left: 0; top: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
}
.cs-figure { margin: 44px 0; }
.cs-figure img {
  display: block;
  width: 100%;
  border: 1px solid var(--ink);
}
.cs-figure figcaption {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  padding: 12px 0 0 14px;
  border-left: 3px solid var(--accent);
  margin-top: 12px;
}

/* ── RELATED CASES ── */
.related-cases { background: var(--surface-warm); border-top: 1px solid var(--ink); }
.related-cases h2 {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 40px;
}
.related-grid { grid-template-columns: repeat(2, 1fr); }

/* ── GENERIC SECTION IMAGE (legacy) ── */
.section-image img { display: block; width: 100%; border: 1px solid var(--ink); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid, .deliverables-grid, .cases-grid,
  .pricing-grid, .steps-grid { grid-template-columns: repeat(2, 1fr); }
}
/* odd card counts: let the straggler span the full row instead of
   leaving an empty grid cell */
@media (max-width: 1024px) and (min-width: 641px) {
  .services-grid > *:last-child:nth-child(odd),
  .deliverables-grid > *:last-child:nth-child(odd),
  .cases-grid > *:last-child:nth-child(odd),
  .pricing-grid > *:last-child:nth-child(odd),
  .steps-grid > *:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

@media (max-width: 900px) {
  .hero-inner, .cases-intro, .contact-grid, .about-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual::before { top: 14px; left: 14px; right: -14px; bottom: -14px; }
  .hero-visual { margin-right: 14px; margin-bottom: 14px; }
  .cases-intro .metric-strip-3 { position: static; grid-template-columns: repeat(3, 1fr); }
  .cases-intro .metric-strip-3 .metric-item {
    border-bottom: none;
    border-right: 1px solid var(--border-dark);
  }
  .cases-intro .metric-strip-3 .metric-item:last-child { border-right: none; }
  .trust-bar { flex-direction: column; align-items: flex-start; gap: 24px; }
  .outcomes-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .services-grid, .deliverables-grid, .cases-grid,
  .pricing-grid, .steps-grid { grid-template-columns: 1fr; }
  .hero-stats-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); padding: 22px 0; }
  .stat-item:last-child { border-bottom: none; }
  .local-stats { grid-template-columns: 1fr; }
  .local-stat { border-right: none; border-bottom: 1px solid rgba(255, 255, 255, 0.35); }
  .local-stat:last-child { border-bottom: none; }
  .form-row { grid-template-columns: 1fr; }
  .credentials-grid, .about-creds { grid-template-columns: 1fr; }
  .cases-intro .metric-strip-3 { grid-template-columns: 1fr; }
  .cases-intro .metric-strip-3 .metric-item {
    border-right: none;
    border-bottom: 1px solid var(--border-dark);
  }
  .cases-intro .metric-strip-3 .metric-item:last-child { border-bottom: none; }
}
