/* Service-page heroes in the site's current type and button (Ed, 2026-12-02: "some of the hero section
   are using the old font and old buttons and style"). The overnight service families each brought their
   own typefaces and buttons; the approved pages (Services, Design & Build, Website design, Web
   development) and the homepage use Geist Pixel and the shared hero button. This sheet puts the text of
   every family hero in Geist Pixel and gives the hero's main action the Web development button
   (markup: .svh-cta.hero-ref-button with the roll label and arrow). Demos inside a hero that show other
   type on purpose (the brand plate) keep their own. Layouts and the rest of each page are unchanged. */
@font-face {
  font-family: "LER Hero Pixel";
  src: url("/assets/fonts/geist-pixel/LERPixel-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content :is(.sg-hero, .sd-hero, .shp-hero, .sa-hero, .sb-top, .ux-top, .sc-top, .sr-top) :is(h1, h2, h3, p, li, a, span, small, strong, b, em, i, dt, dd, blockquote, figcaption, q, label, time):not(.sb-top__plate *) {
  font-family: "LER Hero Pixel", ui-monospace, monospace !important;
  font-weight: 400 !important;
  font-style: normal;
  font-synthesis: none;
  font-variation-settings: normal;
}

/* headline: the approved pages' scale (Website design 114px at 1440), pixel tracking */
body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content :is(.sg-hero, .sd-hero, .shp-hero, .sa-hero, .sb-top, .ux-top, .sc-top, .sr-top) h1 {
  font-size: var(--svh-h1, clamp(42px, 7.6vw, 112px)) !important;
  line-height: .92 !important;
  letter-spacing: -.03em !important;
  text-wrap: balance;
}
/* families whose headline column is narrower get a smaller cap */
body:is(.sd-page, .svc-shop, .sb-page) #main-content :is(.sd-hero, .shp-hero, .sb-top) h1 { --svh-h1: clamp(40px, 6.2vw, 92px); }
body.sa-page #main-content .sa-hero h1 { --svh-h1: clamp(46px, 9.4vw, 140px); }

/* small text keeps the families' sizes but loses tracking tuned for other faces */
body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content :is(.sg-hero, .sd-hero, .shp-hero, .sa-hero, .sb-top, .ux-top, .sc-top, .sr-top) :is(p, li, dt, dd, small, blockquote, figcaption):not(.sb-top__plate *) {
  letter-spacing: 0 !important;
}

/* the main action: the Web development hero button */
body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content a.svh-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  min-width: 0;
  min-height: 40px;
  margin: 0;
  padding: 8px 14px;
  border: 0;
  border-radius: var(--ler-action-radius, 8px);
  background: var(--ler-action-primary, #c43706);
  box-shadow: none;
  color: #fff !important;
  font-size: 14px !important;
  line-height: 1.15 !important;
  letter-spacing: 0 !important;
  text-decoration: none;
  text-transform: none;
  white-space: nowrap;
}
body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content a.svh-cta .site-icon { width: 14px; height: 14px; }
body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content a.svh-cta :is(.roll, .roll__in > span) { color: inherit !important; font-size: inherit !important; }
@media (any-pointer: coarse) {
  body:is(.sg-brand, .sg-systems, .sd-page, .svc-shop, .sa-page, .sb-page, .svc-uiux, .sc-page, .sr-page) #main-content a.svh-cta { min-height: 44px; }
}
