/* Electric studio — every page shares the homepage's light studio and blue accents.
   The site shell, consent controls, content, forms and routing keep their own contracts. */
html body[data-page-family]:not(.obsidian-home) {
  --electric-blue: #1649ef;
  --electric-ink: #09142f;
  --electric-paper: #faf9f6;
  --electric-muted: #526079;
  --electric-line: #cbd5e9;
  --electric-inset: max(var(--ss-gutter, 24px), calc((100% - 1360px) / 2));
}

html body[data-page-family]:not(.obsidian-home) main {
  background: var(--electric-paper) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(section, article, figure, form, aside, nav, .home-section-head) {
  min-width: 0;
}
html body[data-page-family]:not(.obsidian-home) main :is(h1, h2, h3) {
  text-wrap: balance;
}
html body[data-page-family]:not(.obsidian-home) main .section {
  padding-block: clamp(60px, 7vw, 104px) !important;
  border-color: var(--electric-line) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(
    .button,
    .ss-editorial-link,
    .service-plan-cta,
    .case-project-link,
    .insights-card-cta
  ) {
  transition:
    background-color 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}

/* The same quiet studio opening as the homepage, with readable ink typography. */
html body[data-page-family]:not(.obsidian-home) main .page-hero {
  position: relative;
  isolation: isolate;
  display: block !important;
  width: 100% !important;
  max-width: none !important;
  padding: clamp(48px, 4.5vw, 64px) var(--electric-inset) clamp(42px, 4vw, 56px) !important;
  margin: 0 !important;
  overflow: hidden;
  border: 0 !important;
  border-radius: 0;
  background: var(--electric-opening) !important;
  color: var(--electric-heading) !important;
}
html body[data-page-family]:not(.obsidian-home) main .page-hero > * {
  position: relative;
  z-index: 1;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  :is(h1, h1 span, h1 em, h2, strong) {
  color: var(--electric-heading) !important;
}
html body[data-page-family]:not(.obsidian-home) main .page-hero h1 {
  max-width: 19ch !important;
  margin: 22px 0 28px !important;
  font-size: clamp(42px, 5.3vw, 76px) !important;
  line-height: 1.035 !important;
  letter-spacing: -0.055em !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  :is(p, li, .upgrade-case-key span) {
  color: var(--electric-copy) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  :is(.eyebrow, .proof-tags) {
  color: #31579b !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
  letter-spacing: 0.16em !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  > p:not(.eyebrow) {
  max-width: 64ch !important;
  font-size: clamp(17px, 1.45vw, 18px) !important;
  line-height: 1.65 !important;
}
html body[data-page-family]:not(.obsidian-home) main .page-hero .cta-row {
  margin-top: 30px;
}
html body[data-page-family]:not(.obsidian-home) main .page-hero a.button {
  background: var(--electric-action) !important;
  border-color: var(--electric-action) !important;
  color: #fff !important;
  box-shadow: 0 10px 35px #07174718;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  a.button.secondary {
  background: #ffffff80 !important;
  border-color: #8096b9 !important;
  color: #1d3d75 !important;
  box-shadow: none;
}
html body[data-page-family]:not(.obsidian-home) main .page-hero a.button:hover {
  background: #1c4292 !important;
  border-color: #1c4292 !important;
  color: #fff !important;
  transform: translateY(-2px);
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  a.button.secondary:hover {
  background: #fff !important;
  border-color: var(--electric-accent) !important;
  color: #1d3d75 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  :is(a, button):focus-visible {
  outline-color: var(--electric-accent) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.services-hero, .about-hero, .contact-hero)::after {
  content: "";
  display: block !important;
  position: absolute;
  z-index: 0;
  width: clamp(200px, 28vw, 440px);
  height: clamp(200px, 28vw, 440px);
  inset: 50% 5% auto auto;
  transform: translateY(-45%) rotate(-8deg);
  background: url("/assets/images/simion-systems-symbol-2026.png") center /
    contain no-repeat;
  filter: none;
  opacity: 0.075;
  pointer-events: none;
}

/* Services: four clear entry points, open editorial sections, then clear commercial options. */
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-chooser {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 44px;
  background: #ffffff70 !important;
  border: 1px solid #b8c8e0 !important;
  border-radius: 10px;
  backdrop-filter: blur(10px);
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-chooser
  a {
  min-height: 72px;
  padding: 18px 22px;
  color: var(--electric-heading) !important;
  border-color: #b8c8e0 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-chooser
  a
  > span {
  color: var(--electric-accent) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-chooser
  a:hover {
  background: #fff !important;
}
html body[data-page-family]:not(.obsidian-home) main .brand-section-head {
  max-width: 850px;
  margin-bottom: 44px;
}
html body[data-page-family]:not(.obsidian-home) main .brand-section-head h2 {
  max-width: 22ch;
  font-size: clamp(34px, 4.4vw, 62px);
  line-height: 1.08;
}
html body[data-page-family]:not(.obsidian-home) main .brand-service-grid {
  gap: 0;
  border-block: 1px solid var(--electric-line);
}
html body[data-page-family]:not(.obsidian-home) main .brand-service-card {
  padding: 42px 46px 42px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .brand-service-card
  + .brand-service-card {
  padding: 42px 0 42px 46px;
  border-left: 1px solid var(--electric-line);
}
html body[data-page-family]:not(.obsidian-home) main .brand-service-card h3 {
  max-width: 18ch;
  margin-bottom: 24px;
  font-size: clamp(32px, 3.2vw, 46px);
}
html body[data-page-family]:not(.obsidian-home) main .brand-service-card ul {
  margin-top: 14px;
}
html body[data-page-family]:not(.obsidian-home) main .brand-service-card li {
  padding: 13px 0;
}
html body[data-page-family]:not(.obsidian-home) main .brand-scope-note {
  margin-top: 28px;
  border: 0;
  border-left: 3px solid #0647f5;
  border-radius: 0 12px 12px 0;
  background: #edf2fd;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-route {
  grid-template-columns: 48px minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(24px, 4vw, 58px);
  align-items: center;
  padding-block: clamp(42px, 5vw, 76px);
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-route__number {
  align-self: start;
  color: #788aaf;
  font-size: 20px;
  font-weight: 500;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-proof__image {
  padding: 18px 18px 0;
  border: 1px solid #c0cfe9;
  border-radius: 18px;
  background: #e3eaff;
  box-shadow: 0 18px 50px #17386812;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-proof__image
  img {
  aspect-ratio: 1.2;
  border-radius: 8px 8px 0 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .ss-services-proof--text {
  padding: clamp(28px, 3.8vw, 48px);
  border: 1px solid #bfd0f3;
  border-radius: 18px;
  box-shadow: 0 18px 50px #1738680a;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes {
  width: 100% !important;
  padding: clamp(54px, 7vw, 100px) var(--electric-inset) !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: #e9eef8 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .home-section-head {
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.7fr);
  gap: 28px 50px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .home-section-head
  h2 {
  font-size: clamp(34px, 4.5vw, 64px);
  line-height: 1.08;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .service-quote-note {
  padding: 28px 0;
  margin-bottom: 36px;
  background: transparent;
  border: 0;
  border-block: 1px solid #bfcee5;
  border-radius: 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid {
  gap: 20px !important;
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  align-items: stretch;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article {
  display: flex;
  min-height: 0 !important;
  padding: clamp(24px, 2.5vw, 36px) !important;
  border: 1px solid #cbd6e9 !important;
  border-radius: 18px !important;
  background: #fff !important;
  box-shadow: 0 14px 36px #13336a06;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article.is-featured {
  background: #fff !important;
  border: 2px solid #0647f5 !important;
  box-shadow: 0 14px 36px #0647f50b;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .service-plan-head {
  margin-bottom: 36px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article
  h3 {
  min-height: 2.3em;
  font-size: clamp(26px, 2.2vw, 33px);
  line-height: 1.12;
  margin-bottom: 24px !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article
  .b2b-price {
  color: #08349f !important;
  font-size: clamp(24px, 2.1vw, 30px);
  margin-bottom: 24px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article
  .service-output {
  min-height: 116px;
  padding: 18px;
  border-radius: 10px;
  background: #eff3fd !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article
  .service-plan-cta {
  background: #f2f5ff !important;
  border-color: #aac2f8 !important;
  color: #0539b5 !important;
  min-height: 52px;
  padding: 15px 18px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article.is-featured
  .service-plan-cta {
  background: #0647f5 !important;
  border-color: #0647f5 !important;
  color: #fff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-modes
  .services-mode-grid
  article
  .service-plan-cta:hover {
  box-shadow: 0 7px 18px #053bb21c;
  transform: translateY(-2px);
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-project-grid {
  gap: 0;
  border-block: 1px solid var(--electric-line);
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-project-link {
  padding: 30px;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-project-link
  + .services-project-link {
  border-left: 1px solid var(--electric-line) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-services
  .services-project-link:hover {
  background: #edf2ff !important;
}

/* About: a real portrait, generous two-column editorial rhythm and open capability columns. */
html body[data-page-family]:not(.obsidian-home) main.ss-about .about-intro {
  padding-top: clamp(60px, 7vw, 96px) !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important;
  gap: clamp(40px, 7vw, 96px) !important;
  align-items: center !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-portrait-card {
  max-width: 560px;
  border: 0 !important;
  border-radius: 24px !important;
  box-shadow: 0 24px 64px #16325313;
  background: #fff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-portrait-card
  img {
  filter: none;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .ss-about-caption {
  padding: 22px 28px;
  border-top: 3px solid #0647f5;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  .card-grid {
  gap: 0 !important;
  border-block: 1px solid var(--electric-line);
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  .card {
  padding: 32px 26px !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  .card
  + .card {
  border-left: 1px solid var(--electric-line) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  .card
  h3 {
  font-size: clamp(25px, 2.25vw, 32px);
  line-height: 1.13;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-proof.about-proof-compact {
  display: grid;
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 32px;
  padding: clamp(28px, 5vw, 68px) !important;
  margin-bottom: 76px;
  border: 1px solid #b6c7ec !important;
  border-radius: 22px;
  background: #eaf0ff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-proof
  .home-section-head {
  display: block;
  max-width: 780px;
  margin: 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-proof
  .home-section-head
  h2 {
  font-size: clamp(34px, 4.5vw, 60px);
  line-height: 1.08;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .ss-about-proof-list {
  gap: 24px;
  margin: 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .ss-about-proof-list
  > a {
  padding: 28px 0;
  border: 0;
  border-top: 1px solid #a8bae0;
  border-radius: 0;
  background: transparent;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .ss-about-proof-list
  > a:hover {
  background: transparent;
}

html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  > p.b2b-scope-note {
  display: block;
  width: auto;
  max-width: 65ch;
  min-height: 0;
  padding: 0 !important;
  margin: 28px 0 0;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
  font-size: 15px;
  line-height: 1.75;
}
html
  body[data-page-family]:not(.obsidian-home)
  main.ss-about
  .about-capabilities
  > p.b2b-scope-note
  a {
  color: #0643ce;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Contact: recognisable white fields, a quiet sidebar, no competition with the form. */
html body[data-page-family]:not(.obsidian-home) main .upgrade-contact-routes {
  margin-top: 36px;
  margin-bottom: 0;
  gap: 0;
  border-bottom: 1px solid var(--electric-line);
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .upgrade-contact-routes
  > a {
  padding: 28px;
  border: 0;
  border-radius: 0;
  background: transparent;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .upgrade-contact-routes
  > a
  + a {
  border-left: 1px solid var(--electric-line);
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .upgrade-contact-routes
  > a:hover {
  background: #eaf0ff;
}
html body[data-page-family]:not(.obsidian-home) main .section.contact-grid {
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.85fr) !important;
  gap: clamp(24px, 4vw, 52px) !important;
  border: 0 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-form-wrap {
  padding: clamp(24px, 3.5vw, 46px) !important;
  border: 1px solid #b9cae8 !important;
  border-radius: 20px !important;
  box-shadow: 0 16px 52px #14326b09;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-aside {
  padding: 30px !important;
  border: 0 !important;
  border-radius: 20px;
  background: #eaf0fd !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-aside
  h2 {
  font-size: clamp(28px, 2.8vw, 36px);
  line-height: 1.12;
}
html body[data-page-family]:not(.obsidian-home) main .contact-form {
  gap: 24px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-form
  :is(input:not([type="hidden"]), textarea, select) {
  min-width: 0;
  min-height: 52px;
  border-color: #adbeda !important;
  border-radius: 9px !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-form
  [aria-invalid="true"] {
  border-color: #b72d39 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .section.contact-grid
  .contact-form
  :is(.field-error, .form-error) {
  color: #a92a36 !important;
}
html body[data-page-family]:not(.obsidian-home) main .direct-contact {
  padding: 24px !important;
  background: #fff !important;
  border: 1px solid #c0cfe7 !important;
  border-radius: 14px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .direct-contact
  a.direct-contact-card {
  padding: 16px !important;
  background: #f2f5fc !important;
  border-color: #c0cfe7 !important;
  margin-top: 14px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .direct-contact
  .direct-contact-detail {
  overflow-wrap: anywhere;
  font-size: 13px;
}

/* Portfolio: the work supplies the visual impact; surfaces frame the actual captures. */
html body[data-page-family]:not(.obsidian-home) main .case-library-breadcrumb {
  width: 100% !important;
  max-width: none;
  padding: 22px var(--electric-inset) 0;
  margin: 0;
  background: var(--electric-paper);
  border: 0 !important;
  color: var(--electric-copy) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-library-breadcrumb
  a {
  color: var(--electric-accent) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-library-breadcrumb
  + .page-hero {
  background: var(--electric-opening) !important;
  padding-top: 42px !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  .upgrade-case-intro {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(30px, 5vw, 72px);
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  .upgrade-case-intro
  h1 {
  font-size: clamp(42px, 5vw, 72px) !important;
  max-width: 20ch !important;
  margin-bottom: 0 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .page-hero
  .upgrade-case-key {
  border-color: #b8c8e0 !important;
  padding-top: 26px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-library-index
  .case-category-grid {
  gap: 28px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.case-category-card, .case-project-card) {
  border: 1px solid #c4d0e3 !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 14px 34px #0e2d6607;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.case-category-card, .case-project-card):hover {
  border-color: #88a6e2 !important;
  box-shadow: 0 20px 44px #0e2d6612;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.case-category-visual, .case-project-visual) {
  padding: 24px 24px 0;
  background: #e4ebfb !important;
  border-color: #c4d0e3 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.case-category-copy, .case-project-copy) {
  padding: clamp(24px, 3vw, 38px);
}
html body[data-page-family]:not(.obsidian-home) main .case-category-nav {
  gap: 10px;
  margin-block: 32px;
}
html body[data-page-family]:not(.obsidian-home) main .case-category-nav a {
  min-height: 46px;
  padding: 12px 16px;
  border-radius: 9px;
}
html body[data-page-family]:not(.obsidian-home) main .project-preview-section {
  margin-top: 48px !important;
  padding: clamp(26px, 4vw, 56px) !important;
  gap: clamp(28px, 5vw, 70px) !important;
  border: 1px solid #c4d0e3 !important;
  border-radius: 22px;
  background: #eaf0fb !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .project-preview-section
  h2 {
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.045em;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.project-browser-frame, .project-phone-frame) {
  box-shadow: 0 16px 40px #13326a14 !important;
  border-radius: 12px !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-template.case-story-grid {
  grid-template-columns: minmax(0, 1fr) !important;
  gap: 0 !important;
  padding-inline: 0 !important;
  background: transparent !important;
  border: 0 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  > .case-story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: 22px clamp(40px, 6vw, 90px);
  padding: clamp(40px, 5vw, 72px) 0 !important;
  border: 0 !important;
  border-bottom: 1px solid var(--electric-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  > .case-story-card
  > .case-story-index {
  grid-column: 1;
  grid-row: 1;
  position: static;
  margin: 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  > .case-story-card
  > h2 {
  grid-column: 1;
  grid-row: 2;
  max-width: 16ch;
  margin: 0;
  font-size: clamp(30px, 3.5vw, 50px);
  line-height: 1.1;
  letter-spacing: -0.045em;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  > .case-story-card
  > :not(h2):not(.case-story-index) {
  grid-column: 2;
  margin: 0;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  > .case-story-card
  > :nth-child(3) {
  grid-row: 1 / span 2;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  .case-story-card
  :is(p, li) {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.75;
}
html body[data-page-family]:not(.obsidian-home) main .case-detail-capture img {
  border: 1px solid #c4d0e3;
  border-radius: 16px;
  box-shadow: 0 18px 50px #13326a0d;
}

/* The two bespoke case templates keep their captures, with the same studio opening. */
html body[data-page-family]:not(.obsidian-home) main .evbv2-hero {
  padding-block: 64px 70px;
  border-radius: 0;
  background: var(--electric-opening) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .evbv2-hero
  :is(h1, p, .evbv2-eyebrow, .evbv2-scroll-cue) {
  color: var(--electric-heading) !important;
}
html body[data-page-family]:not(.obsidian-home) main .evbv2-hero-screen {
  box-shadow: 0 24px 64px #13326a1a;
  border: 1px solid #adc6ff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .evbv2-hero-screen
  figcaption {
  color: #526079 !important;
}
html body[data-page-family]:not(.obsidian-home) main .ghl-hero {
  width: 100vw;
  max-width: none;
  margin-inline: calc(50% - 50vw);
  padding: 56px max(var(--ss-gutter, 24px), calc((100vw - 1200px) / 2)) 64px;
  border-radius: 0;
  background: var(--electric-opening);
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .ghl-hero
  :is(h1, h1 span, p, .ghl-kicker) {
  color: var(--electric-heading) !important;
}
html body[data-page-family]:not(.obsidian-home) main .ghl-hero .ghl-demo-badge {
  color: var(--electric-accent);
  background: #ffffff70;
  border-color: #b8c8e0;
}
html body[data-page-family]:not(.obsidian-home) main .ghl-disclosure {
  margin-top: 40px;
}
html body[data-page-family]:not(.obsidian-home) main .ghl-proof {
  border-radius: 16px;
  box-shadow: 0 16px 44px #1535610c;
}

html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.ghl-hero, .evbv2-hero)
  a.button {
  background: var(--electric-action) !important;
  border-color: var(--electric-action) !important;
  color: #fff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.ghl-hero, .evbv2-hero)
  a.button.secondary {
  background: #ffffff80 !important;
  border-color: #8096b9 !important;
  color: #1d3d75 !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.ghl-hero, .evbv2-hero)
  a.button:hover {
  background: #1c4292 !important;
  border-color: #1c4292 !important;
  color: #fff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.ghl-hero, .evbv2-hero)
  a.button.secondary:hover {
  background: #fff !important;
  border-color: var(--electric-accent) !important;
  color: #1d3d75 !important;
}

/* Insights: an editorial cover, real article artwork, and a comfortable reading column. */
html body[data-page-family="insights"]:not(.obsidian-home) main .insights-hero {
  width: 100vw;
  margin-inline: calc(50% - 50vw);
  padding: 64px max(var(--ss-gutter, 24px), calc((100vw - 1360px) / 2)) 54px;
  border-radius: 0;
  background: var(--electric-opening);
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-hero
  :is(h1, h1 span, h2, p, li, .insights-kicker) {
  color: var(--electric-heading) !important;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-hero
  h1 {
  font-size: clamp(52px, 7.8vw, 108px);
  margin-block: 20px 36px;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-hero
  .insights-intro {
  gap: 36px;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-hero
  .insights-topics {
  border-color: #b8c8e0;
  padding-block: 18px !important;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-library {
  padding-top: 64px;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  :is(.insights-card--featured, .insights-grid .insights-card) {
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  gap: clamp(28px, 4vw, 56px);
  padding: 0 0 44px !important;
  border: 0 !important;
  border-bottom: 1px solid var(--electric-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  overflow: visible;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-card-image {
  border: 1px solid #c4d0e3;
  border-radius: 16px;
  box-shadow: 0 16px 42px #1435630c;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-card
  h2
  a {
  color: var(--electric-ink);
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-article-header {
  padding-block: 50px 40px;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-article-header
  h1 {
  font-size: clamp(38px, 5vw, 70px);
  line-height: 1.08;
  max-width: 25ch;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-breadcrumb {
  margin-bottom: 34px;
  color: #526079;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-cover
  img {
  border: 1px solid #c4d0e3;
  border-radius: 20px;
}
html body[data-page-family="insights"]:not(.obsidian-home) main .insights-toc {
  padding: 22px;
  border-radius: 12px !important;
  background: #edf2fd !important;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-prose
  h2 {
  padding-top: 22px;
  font-size: clamp(28px, 3vw, 39px);
  line-height: 1.18;
  letter-spacing: -0.035em;
}
html
  body[data-page-family="insights"]:not(.obsidian-home)
  main
  .insights-prose
  :is(p, li) {
  color: #405069 !important;
  font-size: 18px;
  line-height: 1.85;
}

/* Utility routes should feel equally finished without turning reading into a spectacle. */
html body[data-page-family="utility"]:not(.obsidian-home) main .page-hero h1 {
  max-width: 23ch !important;
  font-size: clamp(38px, 5vw, 68px) !important;
}
html body[data-page-family="utility"]:not(.obsidian-home) main .legal-content {
  width: min(calc(100% - 2 * var(--ss-gutter, 24px)), 1000px) !important;
  padding-block: 52px 72px !important;
  border-top: 0 !important;
}
html
  body[data-page-family="utility"]:not(.obsidian-home)
  main
  .legal-content
  article {
  padding-block: 28px;
  border-bottom: 1px solid var(--electric-line);
}
html
  body[data-page-family="utility"]:not(.obsidian-home)
  main
  .legal-content
  article
  h2 {
  margin-bottom: 20px;
  font-size: clamp(26px, 3vw, 34px) !important;
  line-height: 1.2;
}
html
  body[data-page-family="utility"]:not(.obsidian-home)
  main
  .legal-content
  :is(p, li) {
  line-height: 1.8;
}
html
  body[data-page-family="resource"]:not(.obsidian-home)
  main
  .hero.lead-page {
  padding-block: clamp(52px, 6vw, 88px) !important;
  align-items: center;
  gap: clamp(32px, 6vw, 80px);
  border: 0 !important;
  background: var(--electric-opening) !important;
}
html
  body[data-page-family="resource"]:not(.obsidian-home)
  main
  .hero.lead-page
  > img {
  border: 1px solid #c3d1eb;
  border-radius: 22px;
  box-shadow: 0 20px 60px #12366b16;
}
html
  body[data-page-family="resource"]:not(.obsidian-home)
  main
  .inline-form-wrap {
  padding: 26px;
  margin-top: 30px;
  border: 1px solid #c3d1eb;
  border-radius: 16px;
  background: #fff;
}

/* Quiet closing panels leave the shared navy footer as the final visual anchor. */
html body[data-page-family]:not(.obsidian-home) main .section.final-cta {
  padding: clamp(30px, 5vw, 68px) !important;
  margin-top: 32px;
  margin-bottom: 72px;
  border: 1px solid #c4d0e3 !important;
  border-radius: 22px;
  background: #edf2fa !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .final-cta
  :is(h2, h3, strong) {
  color: var(--electric-heading) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .final-cta
  :is(p, .eyebrow) {
  color: var(--electric-copy) !important;
}
html body[data-page-family]:not(.obsidian-home) main .final-cta h2 {
  max-width: 19ch;
  font-size: clamp(34px, 4.6vw, 64px);
  line-height: 1.07;
}
html body[data-page-family]:not(.obsidian-home) main .final-cta .brief-capsule {
  border-color: #b8c8e0 !important;
  background: #ffffff70 !important;
}
html body[data-page-family]:not(.obsidian-home) main .final-cta a.button {
  background: var(--electric-action) !important;
  border-color: var(--electric-action) !important;
  color: #fff !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .final-cta
  a.button.secondary {
  background: #ffffff80 !important;
  border-color: #8096b9 !important;
  color: #1d3d75 !important;
}

/* Quiet text and visible keyboard focus on every light opening variant. */
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.evbv2-hero, .ghl-hero, .insights-hero)
  :is(p, li) {
  color: var(--electric-copy) !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(.evbv2-hero, .ghl-hero, .insights-hero)
  :is(.evbv2-eyebrow, .ghl-kicker, .insights-kicker) {
  color: #31579b !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  :is(
    .page-hero,
    .evbv2-hero,
    .ghl-hero,
    .insights-hero,
    .hero.lead-page,
    .final-cta
  )
  :is(a, button):focus-visible {
  outline-color: var(--electric-accent) !important;
}

@media (max-width: 1120px) {
  html
    body[data-page-family]:not(.obsidian-home)
    main
    :is(.services-hero, .about-hero, .contact-hero)::after {
    right: -5%;
    opacity: 0.04;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid {
    grid-template-columns: 1fr !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: 36px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    > * {
    min-width: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    .service-plan-head {
    grid-column: 1 / -1;
    margin-bottom: 26px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    h3 {
    min-height: 0;
    grid-column: 1;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    ul {
    grid-column: 2;
    grid-row: 2 / 6;
    margin-top: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    .service-plan-cta {
    grid-column: 1 / -1;
    margin-top: 18px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card:nth-child(odd) {
    border-left: 0 !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card:nth-child(n + 3) {
    border-top: 1px solid var(--electric-line) !important;
  }
  html body[data-page-family]:not(.obsidian-home) main .section.contact-grid {
    grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr) !important;
    gap: 24px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-aside {
    padding: 24px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-form {
    grid-template-columns: 1fr;
  }
  html body[data-page-family]:not(.obsidian-home) main .direct-contact {
    padding: 18px !important;
  }
}

@media (max-width: 850px) {
  html body[data-page-family]:not(.obsidian-home) main .page-hero {
    padding-block: 52px 50px !important;
    border-radius: 0;
  }
  html body[data-page-family]:not(.obsidian-home) main .page-hero h1 {
    font-size: clamp(40px, 7.3vw, 62px) !important;
    max-width: 20ch !important;
  }
  html body[data-page-family]:not(.obsidian-home) main .section {
    padding-block: 52px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser {
    grid-template-columns: 1fr;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser
    a {
    min-height: 60px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-chooser
    a
    + a {
    border-left: 0;
    border-top: 1px solid #b8c8e0;
  }
  html body[data-page-family]:not(.obsidian-home) main .brand-service-card {
    padding-right: 28px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .brand-service-card
    + .brand-service-card {
    padding-left: 28px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-route {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 24px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-proof {
    grid-column: 2;
    max-width: 640px;
    margin-top: 4px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-proof__image
    img {
    aspect-ratio: 16 / 10;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .home-section-head {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .home-section-head
    > p:not(.eyebrow) {
    max-width: 58ch;
    margin-top: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-project-grid {
    grid-template-columns: 1fr;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-project-link
    + .services-project-link {
    border-left: 0 !important;
    border-top: 1px solid var(--electric-line) !important;
  }
  html body[data-page-family]:not(.obsidian-home) main.ss-about .about-intro {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-portrait-card {
    position: static;
    max-width: 520px;
  }
  html body[data-page-family]:not(.obsidian-home) main .section.contact-grid {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-aside {
    position: static;
    padding: 28px !important;
  }
  html body[data-page-family]:not(.obsidian-home) main .upgrade-contact-routes {
    grid-template-columns: 1fr;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .upgrade-contact-routes
    > a {
    padding: 26px 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .upgrade-contact-routes
    > a
    + a {
    border-left: 0;
    border-top: 1px solid var(--electric-line);
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .page-hero
    .upgrade-case-intro {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-library-index
    .case-category-card:nth-child(n + 3) {
    display: flex;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-library-index
    .case-category-card:nth-child(n + 3)
    .case-category-visual {
    height: auto;
    min-height: 180px;
    aspect-ratio: 16 / 9;
    border-right: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-grid
    > .case-story-card {
    grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
    gap: 18px 30px;
  }
  html
    body[data-page-family="insights"]:not(.obsidian-home)
    main
    .insights-hero {
    padding-block: 48px;
    border-radius: 0;
  }
  html
    body[data-page-family="insights"]:not(.obsidian-home)
    main
    :is(.insights-card--featured, .insights-grid .insights-card) {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 600px) {
  html body[data-page-family]:not(.obsidian-home) main .page-hero {
    padding-block: 40px 44px !important;
    border-radius: 0;
  }
  html body[data-page-family]:not(.obsidian-home) main .page-hero h1 {
    font-size: clamp(36px, 10vw, 50px) !important;
    line-height: 1.075 !important;
    letter-spacing: -0.05em !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .page-hero
    > p:not(.eyebrow) {
    font-size: 17px !important;
  }
  html body[data-page-family]:not(.obsidian-home) main .page-hero .cta-row {
    flex-direction: column;
    align-items: stretch;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .page-hero
    :is(.button, .button.secondary) {
    width: 100%;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    :is(.services-hero, .about-hero, .contact-hero)::after {
    display: none !important;
  }
  html body[data-page-family]:not(.obsidian-home) main .brand-service-grid {
    grid-template-columns: 1fr;
  }
  html body[data-page-family]:not(.obsidian-home) main .brand-service-card,
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .brand-service-card
    + .brand-service-card {
    padding: 32px 0;
    border-left: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .brand-service-card
    + .brand-service-card {
    border-top: 1px solid var(--electric-line);
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-route {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .ss-services-proof {
    grid-column: 1;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article {
    display: flex;
    padding: 25px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-modes
    .services-mode-grid
    article
    .service-output {
    min-height: 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-services
    .services-project-link {
    padding: 28px 0;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card-grid {
    grid-template-columns: 1fr !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card,
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card
    + .card {
    padding: 28px 0 !important;
    border-left: 0 !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-capabilities
    .card
    + .card {
    border-top: 1px solid var(--electric-line) !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .about-proof.about-proof-compact {
    padding: 25px !important;
    margin-bottom: 44px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main.ss-about
    .ss-about-proof-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-form {
    grid-template-columns: 1fr;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-form-wrap {
    padding: 22px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .section.contact-grid
    .contact-aside {
    padding: 23px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-library-index
    .case-category-grid,
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-library-section
    .case-project-grid {
    grid-template-columns: 1fr;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .project-preview-section {
    padding: 24px !important;
    margin-top: 32px !important;
    border-radius: 16px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-grid
    > .case-story-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-block: 34px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-grid
    > .case-story-card
    > h2 {
    max-width: 20ch;
    font-size: clamp(30px, 8.6vw, 42px);
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    :is(.evbv2-hero, .ghl-hero) {
    padding-block: 42px;
    border-radius: 0;
  }
  html
    body[data-page-family="insights"]:not(.obsidian-home)
    main
    .insights-hero
    .insights-intro {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  html
    body[data-page-family="insights"]:not(.obsidian-home)
    main
    .insights-article-header
    h1 {
    font-size: clamp(34px, 9vw, 46px);
  }
  html
    body[data-page-family="insights"]:not(.obsidian-home)
    main
    .insights-prose
    :is(p, li) {
    font-size: 17px;
    line-height: 1.8;
  }
  html
    body[data-page-family="resource"]:not(.obsidian-home)
    main
    .inline-form-wrap {
    padding: 20px;
  }
  html body[data-page-family]:not(.obsidian-home) main .section.final-cta {
    padding: 26px !important;
    margin-bottom: 44px;
    border-radius: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html
    body[data-page-family]:not(.obsidian-home)
    main
    :is(
      .button,
      .ss-editorial-link,
      .service-plan-cta,
      .case-project-link,
      .insights-card-cta,
      .ss-services-proof img,
      .case-category-card,
      .case-project-card
    ) {
    transition: none !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    :is(.button, .service-plan-cta):hover {
    transform: none;
  }
}

/* Case-study contents: light chips on desktop, a compact disclosure on mobile. */
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-grid
  .case-story-nav {
  position: sticky !important;
  top: 96px !important;
  z-index: 8;
  display: block !important;
  margin: 0 0 24px;
  padding: 12px;
  border: 1px solid #d2dbea !important;
  border-radius: 16px;
  background: #faf9f6fa !important;
  box-shadow: 0 8px 24px #14295209;
  overflow: visible;
  backdrop-filter: blur(12px);
}
html body[data-page-family]:not(.obsidian-home) main .case-story-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
html body[data-page-family]:not(.obsidian-home) main .case-story-links[hidden] {
  display: none !important;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-nav
  .case-story-links
  a {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 1 auto;
  min-width: 0 !important;
  min-height: 44px;
  margin: 0;
  padding: 10px 15px;
  border: 1px solid transparent !important;
  border-radius: 999px;
  background: transparent !important;
  color: #405472 !important;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  white-space: normal;
  text-decoration: none;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-nav
  .case-story-links
  a:hover,
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-story-nav
  .case-story-links
  a[aria-current] {
  background: #e8eefb !important;
  color: #214b9b !important;
  border-color: #c8d6ed !important;
  box-shadow: none;
}
html body[data-page-family]:not(.obsidian-home) main .case-story-toggle {
  display: none;
}
html body[data-page-family]:not(.obsidian-home) main .case-story-card[id] {
  scroll-margin-top: 230px;
}
@media (max-width: 800px) {
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-grid
    .case-story-nav {
    top: 82px !important;
    padding: 0;
    border-radius: 14px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-toggle:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    width: 100%;
    min-height: 72px;
    padding: 14px 18px;
    border: 0;
    border-radius: 14px;
    background: transparent;
    color: #14284f;
    font: inherit;
    text-align: left;
    cursor: pointer;
  }
  .case-story-caption {
    display: block;
    margin-bottom: 4px;
    color: #586982;
    font-size: 11px;
    font-weight: 500;
  }
  .case-story-current {
    display: block;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.3;
  }
  .case-story-toggle-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    background: #2453b5;
    mask: url("/assets/icons/heroicons/arrow-right.svg") center / contain
      no-repeat;
    -webkit-mask: url("/assets/icons/heroicons/arrow-right.svg") center /
      contain no-repeat;
    transform: rotate(90deg);
    transition: transform 180ms ease;
  }
  [aria-expanded="true"] .case-story-toggle-icon {
    transform: rotate(-90deg);
  }
  html body[data-page-family]:not(.obsidian-home) main .case-story-links {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
    max-height: min(390px, calc(100dvh - 210px));
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 8px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-nav
    .case-story-links
    a {
    min-height: 46px;
    padding: 11px 12px;
    border-radius: 9px;
    font-size: 14px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-story-nav.is-expanded
    .case-story-links {
    border-top: 1px solid #d2dbea;
  }
  html body[data-page-family]:not(.obsidian-home) main .case-story-card[id] {
    scroll-margin-top: 180px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .case-story-toggle-icon {
    transition: none;
  }
}

/* Category navigation: wrapping pills on desktop, disclosure on mobile. */
html body[data-page-family]:not(.obsidian-home) main .case-category-picker {
  margin-top: 32px;
  min-width: 0;
}
html body[data-page-family]:not(.obsidian-home) main .case-category-caption {
  margin: 0 0 12px;
  color: #526681;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.03em;
}
html body[data-page-family]:not(.obsidian-home) main .case-category-nav {
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 4px 0 8px;
  border: 0;
}
html body[data-page-family]:not(.obsidian-home) main .case-category-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  gap: 9px;
  width: auto !important;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid #c9d4e6;
  border-radius: 999px;
  color: #294268;
  background: #ffffffad;
  box-shadow: 0 2px 4px #1b386006;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    box-shadow 160ms ease;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-category-nav
  a:hover {
  color: #193e8a;
  background: #fff;
  border-color: #829cc7;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-category-nav
  a[aria-current="page"] {
  background: #2e51af !important;
  color: #fff !important;
  border-color: #2e51af;
  box-shadow: 0 5px 14px #21438825;
}
.case-category-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.45;
}
[aria-current="page"] .case-category-dot {
  opacity: 1;
}
html body[data-page-family]:not(.obsidian-home) main .case-category-toggle {
  display: none;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-category-nav[hidden] {
  display: none !important;
}
@media (max-width: 800px) {
  html body[data-page-family]:not(.obsidian-home) main .case-category-picker {
    margin-top: 26px;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-category-toggle:not([hidden]) {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    min-height: 62px;
    padding: 16px 20px;
    border: 1px solid #bbcbe4;
    border-radius: 16px;
    background: #fffffff0;
    box-shadow: 0 6px 18px #1738650b;
    color: #244383;
    font: inherit;
    font-size: 15px;
    font-weight: 650;
    line-height: 1.4;
    text-align: left;
    cursor: pointer;
  }
  .case-category-chevron {
    flex: 0 0 20px;
    height: 20px;
    background: currentColor;
    mask: url("/assets/icons/heroicons/arrow-right.svg") center / contain
      no-repeat;
    -webkit-mask: url("/assets/icons/heroicons/arrow-right.svg") center /
      contain no-repeat;
    transform: rotate(90deg);
    transition: transform 180ms ease;
  }
  [aria-expanded="true"] .case-category-chevron {
    transform: rotate(-90deg);
  }
  html body[data-page-family]:not(.obsidian-home) main .case-category-nav {
    display: flex !important;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: 4px;
    margin-top: 8px;
    padding: 8px;
    border: 1px solid #d0dbee;
    border-radius: 16px;
    background: #ffffffed;
    box-shadow: 0 12px 28px #1738650b;
  }
  html body[data-page-family]:not(.obsidian-home) main .case-category-nav a {
    justify-content: flex-start;
    min-height: 48px;
    padding: 12px;
    border: 0;
    border-radius: 10px;
    background: transparent !important;
    box-shadow: none;
    white-space: normal;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-category-nav
    a[aria-current="page"] {
    color: #244383 !important;
    background: #eaf0fc !important;
    box-shadow: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body[data-page-family]:not(.obsidian-home) main .case-category-nav a,
  .case-category-chevron {
    transition: none;
  }
}

/* One portfolio, optional in-page category filter. */
html body[data-page-family]:not(.obsidian-home) main .case-portfolio {
  padding-inline: var(--electric-inset);
}
html body[data-page-family]:not(.obsidian-home) main .case-filter-bar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 32px;
  padding: 0 0 28px;
  border-bottom: 1px solid #cbd5e4;
}
.case-filter-control {
  width: min(100%, 360px);
}
.case-more-card[hidden],
.case-filter-control[hidden],
.case-filter-group[hidden] {
  display: none !important;
}
.case-filter-control label {
  display: block;
  margin-bottom: 10px;
  color: #526681;
  font-size: 13px;
  font-weight: 600;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-filter-control
  select {
  appearance: none;
  display: block;
  width: 100%;
  min-height: 56px;
  margin: 0;
  padding: 15px 48px 15px 18px;
  border: 1px solid #bbcbe4 !important;
  border-radius: 14px !important;
  background: #fff url("/assets/icons/filter-chevron.svg") right 18px center /
    18px no-repeat !important;
  box-shadow: 0 5px 18px #17386508 !important;
  color: #244383 !important;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  cursor: pointer;
}
.case-filter-control select:focus-visible {
  outline: 3px solid #2e51af !important;
  outline-offset: 3px;
}
html body[data-page-family]:not(.obsidian-home) main .case-filter-status {
  margin: 0 0 17px;
  color: #526681;
  font-size: 14px;
  line-height: 1.5;
}
html body[data-page-family]:not(.obsidian-home) main .case-filter-group {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 36px 0 32px !important;
  border-top: 0;
}
html body[data-page-family]:not(.obsidian-home) main .case-filter-group-heading h2 {
  margin: 0 0 24px !important;
  font-size: clamp(27px, 3vw, 40px) !important;
  line-height: 1.15 !important;
}
.case-filter-group-heading h2 a {
  color: inherit;
  text-decoration: none;
}
.case-filter-group-heading h2 a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
html
  body[data-page-family]:not(.obsidian-home)
  main
  .case-filter-reports-title {
  margin: 36px 0 20px;
  font-size: clamp(22px, 2.5vw, 30px);
}
@media (max-width: 600px) {
  html body[data-page-family]:not(.obsidian-home) main .case-filter-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding-bottom: 22px;
  }
  .case-filter-control {
    width: 100%;
  }
  html body[data-page-family]:not(.obsidian-home) main .case-filter-status {
    margin: 0;
    font-size: 13px;
  }
  html body[data-page-family]:not(.obsidian-home) main .case-filter-group {
    padding-top: 26px !important;
  }
  html
    body[data-page-family]:not(.obsidian-home)
    main
    .case-filter-group-heading
    h2 {
    font-size: 27px;
    line-height: 1.15;
  }
}

/* Four service directions: descriptions are visible before the detailed sections. */
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a {
  grid-template-columns: 24px minmax(0, 1fr) 22px;
  align-items: start;
  gap: 14px;
  padding: 24px;
  border: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-service-choice-copy { min-width: 0; }
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-service-choice-copy strong {
  display: block;
  font-size: 20px;
  line-height: 1.3;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-service-choice-copy p {
  margin: 10px 0 0;
  font-size: 15px;
  line-height: 1.6;
  font-weight: 400;
  color: #526078;
  max-width: none;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a:nth-child(even) { border-left: 1px solid #b8c8e0; }
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a:nth-child(n+3) { border-top: 1px solid #b8c8e0; }
html body main .services-interventions { scroll-margin-top: 110px; }
@media (max-width: 700px) {
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser { grid-template-columns: 1fr; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a { padding: 20px 16px; gap: 10px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a:nth-child(even) { border-left: 0; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a + a { border-top: 1px solid #b8c8e0; }
}
