/* Real project previews give each service a concrete point of reference. */
html body.obsidian-home.obsidian-home .ss-need-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px !important;
}
html body.obsidian-home.obsidian-home .ss-need {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
  overflow: hidden;
  padding: 0 !important;
  border: 1px solid #c9d5ee !important;
  border-radius: 22px !important;
  background: #fff !important;
  box-shadow: 0 10px 32px #17377109 !important;
  color: #10264b;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
html body.obsidian-home.obsidian-home .ss-need-media {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 12px;
  aspect-ratio: 2.05;
  min-width: 0;
  padding: 22px 24px 16px;
  background: linear-gradient(135deg, #eef3ff, #e2eafe);
  border-bottom: 1px solid #dfe7f6;
}
html body.obsidian-home.obsidian-home .ss-need:nth-child(2) .ss-need-media {
  background: linear-gradient(135deg, #f1f4ff, #dce8fc);
}
html body.obsidian-home.obsidian-home .ss-need:nth-child(3) .ss-need-media {
  background: linear-gradient(135deg, #e5edff, #f2f6ff);
}
html body.obsidian-home.obsidian-home .ss-need-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  filter: drop-shadow(0 4px 8px #1a397815);
}
html body.obsidian-home.obsidian-home .ss-need-preview-label {
  display: block;
  color: #425b85;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.35;
}
html body.obsidian-home.obsidian-home .ss-need-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  min-width: 0;
  padding: 28px 30px 26px;
}
html body.obsidian-home.obsidian-home .ss-need .ss-index {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 28px;
  margin: 0 0 16px;
  border-radius: 7px;
  background: #edf2ff;
  color: #174bea;
  font-size: 11px;
  font-weight: 700;
}
html body.obsidian-home.obsidian-home .ss-need h3 {
  margin: 0 0 14px;
  max-width: none;
  font-size: clamp(24px, 2.25vw, 30px) !important;
  line-height: 1.14;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
html body.obsidian-home.obsidian-home .ss-need p.ss-need-brief {
  margin: 0 0 24px;
  max-width: 52ch;
  font-size: 16px !important;
  line-height: 1.65;
}
html body.obsidian-home.obsidian-home .ss-need .ss-need-link {
  display: inline-flex;
  justify-content: flex-start;
  align-items: center;
  gap: 9px;
  width: auto;
  min-height: 44px;
  margin-top: auto;
  padding: 0;
  border: 0;
  color: #1644cd;
  font-size: 14px;
  line-height: 1.4;
}
/* An arrow belongs to its action, rather than the far edge of a wide row. */
html body.obsidian-home.obsidian-home main :is(.ss-button, .ss-case-button, .ss-text-link),
html body.obsidian-home.obsidian-home :is(.ss-hero, .ss-closing) .button {
  justify-content: flex-start !important;
  gap: 10px !important;
}
html body.obsidian-home.obsidian-home main :is(.ss-button, .ss-case-button, .ss-text-link, .ss-need-link) > :is(.ss-ui-icon, span[aria-hidden="true"]),
html body.obsidian-home.obsidian-home :is(.ss-hero .button, .ss-closing .button) > :is(.ss-ui-icon, span[aria-hidden="true"]) {
  flex: 0 0 auto;
  margin: 0 !important;
}
html body.obsidian-home.obsidian-home .ss-need:focus-visible {
  outline: 3px solid #174bea;
  outline-offset: 4px;
}

/* Overview tiles stay easy to scan before the four detailed service sections. */
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser {
  gap: 14px;
  overflow: visible;
  padding: 0;
  border: 0 !important;
  border-radius: 0;
  background: transparent !important;
  backdrop-filter: none;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a {
  border: 1px solid #baccec !important;
  border-radius: 16px;
  background: #ffffffb8;
  box-shadow: 0 5px 20px #17377106;
  transition: background-color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a > span:first-child {
  display: grid;
  place-items: center;
  min-width: 28px;
  min-height: 28px;
  margin-left: -3px;
  border-radius: 7px;
  background: #e7eeff;
  color: #1644cd;
  line-height: 1;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-service-choice-copy strong {
  padding-top: 2px;
  font-size: 19px;
  font-weight: 670;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(30px, 4.5vw, 68px);
  margin-bottom: 36px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase > :is(.brand-section-head, .ss-ai-service-head) {
  display: block;
  min-width: 0;
  max-width: none;
  margin: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase h2 {
  max-width: 16ch;
  margin: 14px 0 24px;
  font-size: clamp(34px, 3.6vw, 52px);
  line-height: 1.06;
  letter-spacing: -0.045em;
  text-wrap: balance;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase > :is(.brand-section-head, .ss-ai-service-head) > p:last-child {
  max-width: 48ch;
  margin: 0;
  font-size: 18px;
  line-height: 1.65;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase--reverse > :first-child {
  grid-column: 2;
  grid-row: 1;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase--reverse > .service-proof {
  grid-column: 1;
  grid-row: 1;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services a.service-proof {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  border: 1px solid #c6d4ee;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 14px 40px #153a7910;
  color: #10264b;
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-media,
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-media {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1.85;
  padding: 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #e5edff, #f0f4fc);
  border-bottom: 1px solid #dbe4f5;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) img {
  display: block;
  width: 100%;
  height: 100%;
  max-height: 100%;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  border-radius: 8px;
  filter: drop-shadow(0 4px 8px #1a397815);
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-copy {
  padding: 22px 26px 24px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-copy small {
  display: block;
  margin-bottom: 9px;
  color: #2856bb;
  font-size: 11px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: 0.05em;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-copy h3 {
  max-width: none;
  margin: 0 0 10px;
  font-size: 25px;
  line-height: 1.2;
  letter-spacing: -0.025em;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-copy p {
  margin: 0 0 14px;
  color: #526078;
  font-size: 15px;
  line-height: 1.6;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-link, .services-project-read) {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 9px;
  min-height: 28px;
  color: #1644cd;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
  text-decoration: none;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-link, .services-project-read) .ss-ui-icon {
  margin: 0;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-grid {
  gap: 20px;
  border: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card,
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card + .brand-service-card {
  min-width: 0;
  padding: 28px;
  border: 1px solid #d0dcef;
  border-radius: 18px;
  background: #f0f4fc;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card h3 {
  max-width: none;
  margin: 0 0 16px;
  font-size: clamp(24px, 2.3vw, 28px);
  line-height: 1.2;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card p {
  font-size: 16px;
  line-height: 1.65;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card li {
  padding-block: 9px;
  font-size: 15px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-web-scope {
  padding: 28px;
  gap: 32px;
  border: 1px solid #d0dcef;
  border-radius: 18px;
  background: #f0f4fc;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-focused-note h3 {
  font-size: 26px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-scope-note {
  border-radius: 16px;
  border: 1px solid #d0dcef;
  background: #f4f7fd;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-services {
  background: linear-gradient(135deg, #edf3ff, #f5f8fe);
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples {
  gap: 18px;
  border: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples article,
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples article + article {
  padding: 25px;
  border: 1px solid #ccd9ef;
  border-radius: 16px;
  background: #ffffffbf;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples article h3 {
  font-size: 24px;
  line-height: 1.2;
  max-width: none;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples article p:last-child {
  font-size: 15px;
  line-height: 1.65;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-quote {
  margin-block: 32px;
  padding: clamp(28px, 4vw, 56px) !important;
  border: 1px solid #c6d5ef;
  border-radius: 22px;
  background: linear-gradient(115deg, #eaf1ff, #f5f8ff);
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-quote .brand-section-head {
  margin-bottom: 24px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-quote h2 {
  font-size: clamp(32px, 3.3vw, 44px);
}

/* Portfolio previews use the same photographic frame as the service examples. */
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  border: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services a.services-project-link,
html body[data-page-family]:not(.obsidian-home) main.ss-services a.services-project-link + a.services-project-link {
  overflow: hidden;
  gap: 0;
  padding: 0;
  border: 1px solid #c9d5ee !important;
  border-radius: 20px !important;
  background: #fff !important;
  box-shadow: 0 10px 32px #17377109;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 28px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy h3 {
  display: block;
  margin: 0;
  font-size: 28px;
  line-height: 1.15;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy > p {
  margin: 0;
  color: #526078;
  font-size: 16px;
  line-height: 1.65;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy .services-project-read {
  margin-top: auto;
  padding-top: 9px;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(a.service-proof, a.services-project-link, .ss-services-chooser a):focus-visible {
  outline: 3px solid #174bea;
  outline-offset: 4px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  html body.obsidian-home.obsidian-home .ss-need:hover {
    transform: translateY(-4px) !important;
    border-color: #7699eb !important;
    box-shadow: 0 16px 36px #163a7a17 !important;
  }
  html body[data-page-family]:not(.obsidian-home) main.ss-services :is(a.service-proof, a.services-project-link):hover {
    transform: translateY(-3px);
    border-color: #7699eb !important;
    box-shadow: 0 16px 36px #163a7a17;
  }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-services-chooser a:hover {
    border-color: #7699eb !important;
    box-shadow: 0 7px 20px #163a7a12;
  }
}
@media (max-width: 1000px) {
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase { gap: 28px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .ss-ai-examples { grid-template-columns: 1fr; }
}
@media (max-width: 800px) {
  html body.obsidian-home.obsidian-home .ss-need-grid { grid-template-columns: 1fr; gap: 22px !important; }
  html body.obsidian-home.obsidian-home .ss-need-media { padding: 18px 18px 14px; }
  html body.obsidian-home.obsidian-home .ss-need-copy { padding: 24px; }
  html body.obsidian-home.obsidian-home .ss-need h3 { font-size: 27px !important; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase { grid-template-columns: 1fr; gap: 28px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase--reverse > :first-child,
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase--reverse > .service-proof { grid-column: auto; grid-row: auto; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-showcase h2 { max-width: 18ch; font-size: clamp(34px, 6.2vw, 46px); }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-media,
  html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-media { padding: 16px; }
  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 .brand-service-grid { grid-template-columns: 1fr; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card,
  html body[data-page-family]:not(.obsidian-home) main.ss-services .brand-service-card + .brand-service-card { padding: 24px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .services-web-scope { grid-template-columns: 1fr; padding: 24px; gap: 18px; }
}
@media (max-width: 450px) {
  html body.obsidian-home.obsidian-home .ss-need-media { aspect-ratio: 1.9; }
  html body.obsidian-home.obsidian-home .ss-need-copy { padding: 22px; }
  html body.obsidian-home.obsidian-home .ss-need h3 { font-size: 25px !important; }
  html body.obsidian-home.obsidian-home .ss-need p.ss-need-brief { font-size: 15px !important; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .service-proof-copy,
  html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy { padding: 22px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .services-project-copy h3 { font-size: 26px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services .services-quote { border-radius: 18px; padding: 26px 22px !important; }
}
@media (prefers-reduced-motion: reduce) {
  html body.obsidian-home.obsidian-home .ss-need,
  html body[data-page-family]:not(.obsidian-home) main.ss-services :is(a.service-proof, a.services-project-link, .ss-services-chooser a) {
    transition: none;
  }
}

/* A labelled workflow outline contextualises the actual wide n8n editor capture. */
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-preview {
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  padding: clamp(14px, 2vw, 26px);
  border: 1px solid #c8d6ef;
  border-radius: 12px;
  background: linear-gradient(135deg, #f9fbff, #fff);
  box-shadow: 0 6px 20px #1737710c;
}
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-label {
  display: block;
  color: #233e6c;
  font-size: clamp(12px, 1.2vw, 15px);
  line-height: 1.3;
  font-weight: 650;
}
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  min-width: 0;
}
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes > span {
  display: grid;
  place-items: center;
  position: relative;
  min-width: 0;
  padding: 11px 8px;
  border: 1px solid #b9cdef;
  border-radius: 9px;
  background: #ecf2ff;
  color: #1544a8;
  font-size: clamp(10px, 1.1vw, 13px);
  font-weight: 650;
  line-height: 1.25;
  text-align: center;
}
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes > span + span::before {
  content: "";
  position: absolute;
  right: 100%;
  width: 19px;
  height: 1px;
  background: #8facdf;
}
html body.obsidian-home.obsidian-home .ss-need-media .service-workflow-preview img,
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) .service-workflow-preview img {
  width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
  align-self: center;
  border-radius: 5px;
  filter: none;
}
@media (max-width: 450px) {
  html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-preview { padding: 12px; gap: 10px; }
  html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes { gap: 10px; }
  html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes > span { padding: 8px 5px; }
  html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-nodes > span + span::before { width: 11px; }
}

html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-caption {
  display: block;
  color: #60718d;
  font-size: 10px;
  font-weight: 400;
  line-height: 1.35;
}

/* Definite preview boxes: image intrinsic dimensions cannot stretch a card row. */
html body.obsidian-home.obsidian-home .ss-need-media {
  --preview-inset: 24px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 2.05;
  height: auto;
  min-height: 0;
  padding: 0;
}
html body.obsidian-home.obsidian-home .ss-need-media > img,
html body.obsidian-home.obsidian-home .ss-need-media > .service-workflow-preview {
  position: absolute;
  top: 20px;
  left: var(--preview-inset);
  width: calc(100% - 2 * var(--preview-inset));
  height: calc(100% - 64px);
  min-height: 0;
  max-height: none;
}
html body.obsidian-home.obsidian-home .ss-need-preview-label {
  position: absolute;
  bottom: 15px;
  left: var(--preview-inset);
  right: var(--preview-inset);
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) {
  --preview-inset: 20px;
  position: relative;
  display: block;
  flex: 0 0 auto;
  aspect-ratio: 1.85;
  height: auto;
  min-height: 0;
  padding: 0;
}
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) > img,
html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) > .service-workflow-preview {
  position: absolute;
  inset: var(--preview-inset);
  width: calc(100% - 2 * var(--preview-inset));
  height: calc(100% - 2 * var(--preview-inset));
  min-height: 0;
  max-height: none;
}
html body :is(.ss-need-media, .service-proof-media, .services-project-media) .service-workflow-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
@media (max-width: 800px) {
  html body.obsidian-home.obsidian-home .ss-need-media { --preview-inset: 18px; }
  html body[data-page-family]:not(.obsidian-home) main.ss-services :is(.service-proof-media, .services-project-media) { --preview-inset: 16px; }
}
@media (max-width: 450px) {
  html body.obsidian-home.obsidian-home .ss-need-media { aspect-ratio: 1.9; }
  html body.obsidian-home.obsidian-home .ss-need-media > img,
  html body.obsidian-home.obsidian-home .ss-need-media > .service-workflow-preview {
    top: 16px;
    height: calc(100% - 56px);
  }
  html body.obsidian-home.obsidian-home .ss-need-preview-label { bottom: 12px; }
}
@media (max-width: 450px) {
  html body.obsidian-home.obsidian-home .ss-need-media .service-workflow-preview {
    grid-template-rows: auto auto minmax(0, 1fr);
    padding: 8px;
    gap: 6px;
  }
  html body.obsidian-home.obsidian-home .ss-need-media .service-workflow-caption { display: none; }
  html body.obsidian-home.obsidian-home .ss-need-media .service-workflow-label { font-size: 11px; }
  html body.obsidian-home.obsidian-home .ss-need-media .service-workflow-nodes > span { padding: 6px 4px; font-size: 10px; }
}
