/* Redlab — service page template. Loaded after base.css and blocks.css; the closing brief comes from brief.css.
   A service page speaks the homepage's language: an isometric scene, the client strip, a dark chapter,
   product cards, the tray, the five stations, the format scenes and proof numbers. This file only adds
   what is specific to a service and adapts the shared blocks. */

/* ==========================================================================
   1. Hero: built like the homepage hero — the crumbs where the descriptor sits, a display title,
      one paragraph, the actions and the Clutch proof — with the product drawn on the right.
   ========================================================================== */
main > .svc-hero { display: flex; flex-direction: column; min-height: clamp(640px, calc(100svh - 76px), 1040px); padding-block: clamp(32px, 5vh, 64px) 0; }
.svc-hero-grid { flex: 1; display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 32px clamp(24px, 3vw, 56px); align-items: center; padding-block: clamp(32px, 5vh, 56px) clamp(40px, 6vh, 72px); }
.svc-hero-copy { display: grid; justify-items: start; gap: 28px; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; font-size: var(--t-small); color: var(--muted); }
.crumbs a { text-decoration: none; transition: color .2s var(--ease); }
.crumbs a:hover { color: var(--red); }
.crumbs a::after { content: '/'; margin-inline: 10px; color: var(--faint); }
.crumbs [aria-current] { color: var(--ink-2); }
.svc-hero h1 { font-size: var(--t-title); }
/* Long service names (two-part titles): smaller, words flow on one line on desktop. Same as the LMS page. */
.svc-hero h1.is-long { font-size: clamp(44px, 4.4vw + 8px, 84px); line-height: .98; letter-spacing: -.045em; max-width: 11.5em; }
@media (min-width: 760px) { .svc-hero h1.is-long > span { display: inline; } }
.svc-hero .hero-actions { display: grid; justify-items: start; gap: 24px; }
.svc-hero .hero-proof { padding-left: 0; border-left: 0; }
.svc-hero-art { align-self: stretch; display: grid; place-items: center; min-height: 0; }
.svc-hero-art svg { display: block; width: 100%; height: auto; max-height: min(60vh, 560px); }

/* ==========================================================================
   2. Signs: the dark chapter — three statements set large, with a still red light behind them.
   ========================================================================== */
.signs-band { padding-block: var(--section); }
.signs-band .bg-pixel {
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 95%), linear-gradient(to right, transparent 25%, #000 85%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 30%, #000 95%), linear-gradient(to right, transparent 25%, #000 85%); mask-composite: intersect;
}
.signs { border-top: 1px solid var(--dark-line); }
.signs li { display: grid; grid-template-columns: 64px minmax(0, 7fr) minmax(0, 4fr); align-items: baseline; gap: 16px clamp(24px, 3vw, 56px); padding-block: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--dark-line); }
.sign-n { font-family: var(--mono); font-size: var(--t-label); color: var(--red-on-dark); }
.sign { font-size: clamp(28px, 2.2vw + 12px, 48px); line-height: 1.08; letter-spacing: -.035em; color: #fff; transition: transform .45s var(--ease); }
.sign-text { font-size: var(--t-body); line-height: 1.55; color: var(--on-dark-2); }
.sign-text a { color: #fff; text-underline-offset: 3px; }
.sign-text a:hover { color: var(--red-on-dark); }
.signs li:hover .sign { transform: translateX(8px); }

/* Fixes: the same dark chapter, as problem → what we do about it. The problem is set small, the answer large,
   so the page reads as help, not as a list of pains. Replaces Signs on the newer service pages. */
.fixes-band { padding-block: var(--section); }
.fixes-band .bg-pixel {
  -webkit-mask-image: linear-gradient(to bottom, transparent 30%, #000 95%), linear-gradient(to right, transparent 25%, #000 85%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to bottom, transparent 30%, #000 95%), linear-gradient(to right, transparent 25%, #000 85%); mask-composite: intersect;
}
.fixes { border-top: 1px solid var(--dark-line); }
.fixes li { display: grid; grid-template-columns: 64px minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; gap: 12px clamp(24px, 3vw, 56px); padding-block: clamp(28px, 3vw, 40px); border-bottom: 1px solid var(--dark-line); }
.fix-n { font-family: var(--mono); font-size: var(--t-label); color: var(--red-on-dark); }
.fix-q { max-width: 22em; font-size: var(--t-lead); line-height: 1.5; color: var(--on-dark-2); }
.fix-a { max-width: 30em; font-size: var(--t-h3); line-height: 1.35; letter-spacing: -.02em; color: #fff; }
.fix-a a { color: #fff; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.fix-a a:hover { color: var(--red-on-dark); }

/* Risks: the homepage AI showcase (vertical tabs, dark), with a text panel instead of a scene: what goes wrong
   and what we do. All panels share one cell so the block keeps its height. */
.dark .section-sub a { color: #fff; text-underline-offset: 3px; }
.dark .section-sub a:hover { color: var(--red-on-dark); }
.risks .sc-stage { display: grid; min-height: 0; }
.risks .sc-panel { position: relative; inset: auto; grid-area: 1 / 1; grid-template-rows: none; align-content: start; gap: 28px; padding: var(--card-pad); }
.js .risks .sc-panel[hidden] { display: grid; visibility: hidden; }
.risk-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 2.4vw, 40px); }
.risk-k { margin-bottom: 12px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.risk-k.is-do { color: var(--red-on-dark); }
.risk-list li { padding-block: 12px; border-top: 1px solid var(--dark-line); line-height: 1.5; color: var(--on-dark-2); }
.risk-list.is-do li { color: var(--on-dark); }

/* Stack: a grid of groups, each with a hairline on top, like Reasons. Plain text, so every name is indexed. */
.stack-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(24px, 3vw, 48px); }
.stack-grid li { display: grid; align-content: start; gap: 10px; padding-block: 24px 32px; border-top: 1px solid var(--hair); }
.stack-grid h3 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.stack-grid p { font-size: var(--t-lead); line-height: 1.5; color: var(--ink); }

/* ==========================================================================
   3. Cases reuse the homepage cards as they are. 4. Types reuse the Industries index.
   ========================================================================== */
.types .ind-case { text-align: right; }

/* ==========================================================================
   5. How it works: the homepage's stations, plus what the client holds after each step.
   ========================================================================== */
/* How long each step takes, beside its number. */
.steps .step-n em { padding-left: 10px; border-left: 1px solid var(--dark-line); font-style: normal; color: var(--on-dark-2); }
.step-get { margin-top: 4px; padding-top: 12px; border-top: 1px solid var(--dark-line); color: #fff !important; }
.step-get span { display: block; margin-bottom: 4px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red-on-dark); }


/* ==========================================================================
   6. AI tray: one panel of the homepage tray, its title promoted to a section title.
   ========================================================================== */
.panel-kicker { margin-bottom: 14px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.panel-h { max-width: 14em; margin-bottom: 18px; }
.ai-tray .panel-lead { font-size: var(--t-lead); line-height: 1.5; letter-spacing: 0; color: var(--muted); }

/* ==========================================================================
   8. Formats link to their own pages.
   ========================================================================== */
.fmt-link { text-decoration: none; }
.fmt-link::after { content: ' →'; color: var(--muted); transition: color .2s var(--ease); }
.fmt-link:hover, .fmt-link:hover::after { color: var(--red); }
/* The person card leads to the calendar on the Contact page, so its arrow points ahead. */
.person-call.person-call-out::after { content: "→"; }
.person-call.person-call-out:hover::after { transform: translateX(3px); }

/* ==========================================================================
   Shared service-page blocks from the audit skeleton: what's included, why us, cost, related.
   ========================================================================== */
/* Two case cards instead of three. */
.case-grid.is-two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
/* Two cards keep the height of a three-card row instead of growing into squares. */
@media (min-width: 761px) {
  .case-grid.is-two .pcard { aspect-ratio: 6 / 5; }
  .case-grid.is-two .mock-browser { width: 120%; }
  .case-grid.is-two .mock-phone { width: auto; height: 100%; min-height: 0; max-width: none; overflow: hidden; gap: 7px; padding: 30px 11px 11px; border-width: 5px; border-radius: 30px; font-size: 11.5px; }
}

/* One case card: a wide card, the cover centred at full height. */
@media (min-width: 761px) {
  .case-grid.is-one { grid-template-columns: 1fr; }
  .case-grid.is-one .pcard { aspect-ratio: 12 / 5; }
  .case-grid.is-one .pcard-stage { inset: 3% 0 0; padding: 0; display: flex; justify-content: center; }
  .case-grid.is-one .pcard-cover { width: auto; height: 100%; }
  .case-grid.is-one .pcard-info { right: auto; width: min(420px, calc(100% - 20px)); }
}

/* Why Redlab for this service: three plain facts on a hairline, not badges. */
.reasons { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px clamp(24px, 3vw, 48px); }
.reasons li { display: grid; align-content: start; gap: 12px; padding-top: 24px; border-top: 1px solid var(--hair); }
.reasons h3 { font-weight: 400; }
.reasons p { color: var(--muted); line-height: 1.55; }

/* Cost and timeline: what moves the number on the left, the typical figures in a tray card on the right. */
.cost-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 40px clamp(32px, 5vw, 96px); align-items: start; }
.cost-list { border-top: 1px solid var(--hair); }
.cost-list li { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding-block: 20px; border-bottom: 1px solid var(--hair); }
.cost-list b { font-size: var(--t-lead); font-weight: 500; }
.cost-list span { color: var(--muted); line-height: 1.55; }
.cost-card { position: sticky; top: 110px; display: grid; gap: 8px; padding: 8px; border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--surface); }
.cost-card dl { display: grid; gap: 8px; }
.cost-card dl > div { padding: 24px var(--card-pad); border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--white); }
.cost-card dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cost-card dd { margin-top: 8px; font-size: var(--t-h2); line-height: 1.1; letter-spacing: -.03em; }
.cost-card p { padding: 12px 16px 8px; font-size: var(--t-small); color: var(--muted); }

/* Phases of one client's product (the contact page route): the current phase carries the red dot. */
.route.is-now li:first-child::before { background: var(--graphic); }
.route.is-now li:last-child::before { background: var(--red); }

/* Stories: real work told as notes (NDA cases without names). A tray card, a white card inside, then labelled rows. */
.stories { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--gap); }
.story { padding: 8px; border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--surface); }
.story-body { display: grid; align-content: start; gap: 20px; height: 100%; padding: var(--card-pad); border: 1px solid var(--hair); border-radius: var(--r-m); background: var(--white); }
.story-k { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.story h3 { margin-top: -8px; font-weight: 400; }
.story dl { border-top: 1px solid var(--hair); }
.story dl > div { display: grid; grid-template-columns: 128px minmax(0, 1fr); gap: 8px 20px; padding-block: 14px; border-bottom: 1px solid var(--hair); }
.story dt { padding-top: 3px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.story dd { line-height: 1.55; color: var(--ink-2); }

@media (max-width: 1080px) {
  .stories { grid-template-columns: 1fr; }
  .cost-grid { grid-template-columns: 1fr; }
  .cost-card { position: static; }
}
@media (max-width: 760px) {
  .case-grid.is-two { grid-template-columns: 1fr; }
  .reasons { grid-template-columns: 1fr; }
  .cost-list li { grid-template-columns: 1fr; }
  .story dl > div { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Web app template (16 Nov): light situations, a card without a case page yet, the call, risks in the path,
   and the compact block after the brief.
   ========================================================================== */
/* Situations: the story cards, with the situation as the title and what changes set apart. */
.situations { padding-block: var(--section); }
.story-sub { margin-top: -8px; color: var(--muted); line-height: 1.55; }
.story dl > div.is-result dt { color: var(--red); }
.story dl > div.is-result dd { color: var(--ink); }

/* A case card with no case page yet: the same card, without the arrow. */
.pcard-link.is-soon { color: var(--muted); }
.pcard-link.is-soon::after { content: none; }
.pcard-logo { font-size: 22px; }
.pc-pik .pcard-logo { font-size: 17px; }

/* The path: which risk each step removes, under what the client gets. The fifth station leads to support. */
.steps:has(.step-risk) li { grid-row: span 5; }
/* Fit: two cards facing each other. Dark "good fit" on the left, light tray "not a fit" on the right. */
.fit-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--gap); align-items: stretch; }
.fit-card { display: flex; flex-direction: column; gap: 24px; padding: var(--card-pad); border-radius: var(--r-l); }
.fit-card.is-yes { background: var(--dark); color: var(--on-dark); }
.fit-card.is-no { border: 1px solid var(--hair); background: var(--surface); }
.fit-label { font-size: var(--t-h3); letter-spacing: -.02em; }
.fit-list { counter-reset: fit; flex: 1; }
.fit-list li { counter-increment: fit; display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 16px; padding-block: 18px; border-top: 1px solid var(--hair); font-size: var(--t-lead); line-height: 1.5; }
.fit-list li::before { content: counter(fit, decimal-leading-zero); padding-top: 4px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; color: var(--muted); }
.is-yes .fit-list li { border-color: var(--dark-line); }
.is-yes .fit-list li::before { color: var(--red-on-dark); }
.is-no .fit-list li { color: var(--ink-2); }
.fit-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.fit-foot p { color: var(--on-dark-2); }
@media (max-width: 1080px) { .fit-grid { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .fit-list li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px; } .fit-foot .button { width: 100%; } }

/* Three situations: three columns, the label sits above its text so the narrow cards still read. */
@media (min-width: 1081px) { .stories.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.stories.is-three dl > div { grid-template-columns: 1fr; gap: 6px; }
/* A phone mock for a case that isn't published yet: just the app name on a blank screen. */
.mock-soon .mp-title { border-bottom: 0; }
.step-link a + br + a { display: inline-block; margin-top: 8px; }
.step-risk { padding-top: 12px; border-top: 1px solid var(--dark-line); }
.step-risk span { display: block; margin-bottom: 4px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--on-dark-3); }
.step-link { padding-top: 12px; border-top: 1px solid var(--dark-line); }
.step-link a { color: #fff; text-underline-offset: 4px; }
.step-link a::after { content: ' →'; }
.step-link a:hover { color: var(--red-on-dark); }

/* After the brief: three short link lists for search, set like the stack groups. */
.stack-grid h2 { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.more .panel-list { margin: 4px 0 0; }
.more .panel-list li { display: block; padding: 0; }

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1080px) {
  main > .svc-hero { min-height: 0; }
  .svc-hero-grid { grid-template-columns: 1fr; }
  .svc-hero-art svg { max-height: 460px; }
  .signs li { grid-template-columns: 48px minmax(0, 1fr); }
  .sign-text { grid-column: 2; }
  .fixes li { grid-template-columns: 48px minmax(0, 1fr); }
  .risks .sc-stage { aspect-ratio: auto; }
  .fix-a { grid-column: 2; }
}

/* ==========================================================================
   Phone
   ========================================================================== */
@media (max-width: 760px) {
  .svc-hero h1 { font-size: clamp(44px, 13vw, 64px); }
  .svc-hero .hero-actions, .svc-hero .actions { width: 100%; }
  .svc-hero-art { margin-inline: -8px; }
  .signs li { grid-template-columns: 1fr; gap: 10px; }
  .sign-text { grid-column: 1; }
  .fixes li { grid-template-columns: 32px minmax(0, 1fr); gap: 12px 0; }
  .fix-a { grid-column: 1 / -1; }
  .risk-cols { grid-template-columns: 1fr; }
  .stack-grid { grid-template-columns: 1fr; }
  .types .ind-case { text-align: left; }
}

/* ==========================================================================
   Template v2 (17 Nov 2026): four blocks in the look of the LMS page, under their own sv- names so the LMS page
   (which also loads this file) is not touched. Facts on our grey instead of black, situations as the LMS
   "services we provide" cards, large case cards, the call card with Linda's photo, the process as step cards.
   ========================================================================== */

/* Facts in the hero: four numbers on a grey panel. */
.sv-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-bottom: clamp(24px, 3vw, 40px); border-radius: var(--r-l); background: var(--surface); }
.sv-facts > div { display: grid; align-content: start; gap: 8px; padding: clamp(24px, 2.4vw, 32px) clamp(20px, 2vw, 32px) clamp(28px, 3vw, 40px); border-left: 1px solid var(--hair); }
.sv-facts > div:first-child { border-left: 0; }
.sv-facts dt { font-size: clamp(36px, 2.4vw + 16px, 60px); font-weight: 300; line-height: 1; letter-spacing: -.04em; color: var(--ink); }
.sv-facts dd { max-width: 16em; font-size: var(--t-small); line-height: 1.45; color: var(--muted); }

/* Situations: a grey band with white cards, a heading and an icon on top, what we do and what you get below. */
.sv-band { padding-block: var(--section); background: var(--surface); }
.sv-sits { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.sv-sit { display: flex; flex-direction: column; gap: 14px; padding: clamp(28px, 2.6vw, 40px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 1px 2px rgb(23 25 25 / .04); }
.sv-sit-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; margin-bottom: 6px; }
.sv-sit h3 { max-width: 18em; font-size: clamp(21px, .5vw + 17px, 25px); font-weight: 400; line-height: 1.2; letter-spacing: -.015em; }
.sv-sit-sub { line-height: 1.6; color: var(--muted); }
.sv-sit dl { display: grid; gap: 14px; padding-top: 16px; border-top: 1px solid var(--hair); }
.sv-sit dl > div { display: grid; gap: 4px; }
.sv-sit dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-sit .is-result dt { color: var(--red); }
.sv-sit dd { line-height: 1.6; color: var(--ink-2); }
.sv-ico { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: var(--surface); color: var(--ink); }
.sv-ico svg { width: 24px; height: 24px; }
@media (min-width: 1081px) { .sv-sits.is-three { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* Case studies: large cards, the story on the left, the product on the right with a fact chip. */
.sv-cases { display: grid; gap: 16px; }
.sv-case { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 8px; padding: 8px; border-radius: calc(var(--r-l) + 4px); background: var(--surface); color: var(--ink); }
.sv-case-text { display: grid; align-content: start; gap: 16px; padding: clamp(24px, 2.8vw, 44px); }
.sv-case-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-size: var(--t-small); color: var(--muted); }
.sv-case-eyebrow::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.sv-case h3 { font-size: clamp(24px, 1vw + 17px, 34px); font-weight: 400; line-height: 1.12; letter-spacing: -.03em; }
.sv-case h3 a { color: var(--ink); text-decoration: none; transition: color .25s var(--ease); }
.sv-case h3 a:hover { color: var(--red); }
.sv-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.sv-tags li { padding: 6px 12px; border-radius: var(--r-pill); background: var(--white); font-size: var(--t-label); color: var(--ink-2); }
.sv-case-label { margin-top: 12px; padding-top: 18px; border-top: 1px solid rgb(23 25 25 / .09); font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-list { display: grid; gap: 10px; line-height: 1.5; color: var(--ink-2); }
.sv-list li { position: relative; padding-left: 22px; }
.sv-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 1.5px; background: var(--red); }
.sv-case-btn { justify-self: start; gap: 14px; margin-top: 12px; padding: 0 8px 0 26px; background: var(--ink); color: #fff; transition: background-color .3s var(--ease), transform .4s var(--ease); }
.sv-case-btn i, .sv-cta-btn i { display: grid; place-items: center; width: 38px; height: 38px; overflow: hidden; border-radius: 50%; background: #fff; color: var(--ink); }
.sv-case-btn svg, .sv-cta-btn svg { width: 15px; height: 15px; }
.sv-case-btn:hover { background: #000; color: #fff; transform: translateY(-2px); }
.sv-case-btn:hover svg, .sv-cta-btn:hover svg { animation: sv-arrow .55s cubic-bezier(.6, 0, .2, 1); }
@keyframes sv-arrow { 0% { transform: none; } 45% { transform: translateX(22px); } 46% { transform: translateX(-22px); } 100% { transform: none; } }
.sv-case-btn:focus-visible, .sv-cta-btn:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.sv-case-soon { justify-self: start; margin-top: 12px; padding: 12px 22px; border: 1px solid var(--hair); border-radius: var(--r-pill); background: var(--white); font-size: var(--t-small); color: var(--muted); }
.sv-case-pic { position: relative; isolation: isolate; display: block; overflow: hidden; min-height: 440px; border-radius: var(--r-l); background: #e9e3de; }
.sv-case-pic img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.sv-case:hover .sv-case-pic img { transform: scale(1.03); }
/* No screens yet: a white canvas until the case is published. */
.sv-case-pic.is-blank { background: var(--white); }
.sv-case-chip { position: absolute; z-index: 2; top: clamp(16px, 2vw, 28px); left: clamp(16px, 2vw, 28px); display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: rgb(255 255 255 / .94); color: var(--ink-2); font-size: 14px; line-height: 1; white-space: nowrap; box-shadow: 0 1px 2px rgb(23 25 25 / .06), 0 18px 32px -16px rgb(30 25 20 / .4); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(14px) scale(.95); transition: opacity .5s var(--ease) .2s, transform .8s cubic-bezier(.2, .9, .3, 1.2) .2s; }
.sv-case-chip::before { content: ''; width: 8px; height: 8px; border-radius: 2px; background: var(--red); }
.sv-case-chip b { font-weight: 600; color: var(--ink); }
.sv-case.is-in .sv-case-chip, html:not(.js) .sv-case-chip { opacity: 1; transform: none; }

/* The call: Linda's photo with a short chat on the left, our text and a red Book a call button on the right. */
/* The cases above sit on the same background, so the call takes no top padding of its own: one section gap, as between bands. */
main > section.sv-cta { padding-block: 0 var(--section); }
.sv-cta-card { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(24px, 4vw, 72px); align-items: center; padding: 8px; border: 1px solid var(--hair); border-radius: calc(var(--r-l) + 4px); background: var(--white); }
.sv-cta-bg { left: 30%; -webkit-mask-image: radial-gradient(70% 58% at 100% 100%, #000 22%, rgb(0 0 0 / .5) 52%, transparent 78%); mask-image: radial-gradient(70% 58% at 100% 100%, #000 22%, rgb(0 0 0 / .5) 52%, transparent 78%); }
.sv-cta-visual { position: relative; perspective: 900px; }
.sv-cta-photo { position: relative; isolation: isolate; overflow: hidden; margin: 0; aspect-ratio: 8 / 9; border-radius: var(--r-l); background: radial-gradient(52% 44% at 50% 36%, rgb(255 255 255 / .9), rgb(255 255 255 / 0) 70%), radial-gradient(70% 60% at 58% 70%, rgb(229 55 42 / .13), rgb(229 55 42 / 0) 70%), radial-gradient(circle, #d9d1c7 1px, transparent 1.4px) 0 0 / 18px 18px, linear-gradient(180deg, #f5f1ec, #ebe3d9); }
.sv-cta-photo img { position: absolute; left: 50%; bottom: 0; width: auto; height: 96%; max-width: none; transform: translateX(-50%); filter: drop-shadow(0 18px 28px rgb(70 45 25 / .18)) drop-shadow(0 2px 3px rgb(70 45 25 / .1)); }
.sv-cta-chat { position: absolute; z-index: 2; right: clamp(-56px, -3vw, -24px); bottom: clamp(20px, 2.4vw, 40px); width: min(330px, 78%); transform-style: preserve-3d; transition: transform .6s cubic-bezier(.2, .8, .3, 1); }
.sv-cta-float { display: grid; gap: 10px; animation: sv-bob 7s ease-in-out infinite; }
@keyframes sv-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.sv-cta-msg { margin: 0; font-size: 14px; line-height: 1.45; opacity: 0; transform: translateY(16px) scale(.96); transform-origin: 100% 100%; transition: opacity .5s var(--ease), transform .7s cubic-bezier(.2, .9, .3, 1.2); }
.sv-cta-you { justify-self: end; max-width: 86%; padding: 12px 16px; border-radius: 18px 18px 6px 18px; background: var(--ink); color: #f3efea; box-shadow: 0 18px 30px -18px rgb(10 10 10 / .6); transition-delay: .25s; }
.sv-cta-linda { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 10px; align-items: start; padding: 12px 16px 14px 12px; border-radius: 18px 18px 18px 6px; background: rgb(255 255 255 / .94); color: var(--ink-2); box-shadow: 0 1px 2px rgb(23 25 25 / .06), 0 22px 36px -20px rgb(60 40 20 / .5); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transform-origin: 0 100%; transition-delay: 1.15s; }
.sv-cta-linda img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.sv-cta-linda b { display: block; margin-bottom: 2px; font-size: 13px; font-weight: 600; color: var(--ink); }
.sv-cta-linda b span { margin-left: 6px; font-weight: 400; color: var(--muted); }
.sv-cta-linda p { max-height: 0; overflow: hidden; opacity: 0; }
.sv-cta-dots { display: flex; gap: 4px; height: 0; overflow: hidden; opacity: 0; transition: opacity .2s; }
.sv-cta-dots i { width: 6px; height: 6px; border-radius: 50%; background: var(--faint); animation: sv-dot 1s ease-in-out infinite; }
.sv-cta-dots i:nth-child(2) { animation-delay: .15s; } .sv-cta-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes sv-dot { 0%, 60%, 100% { transform: translateY(0); opacity: .5; } 30% { transform: translateY(-4px); opacity: 1; } }
.is-in .sv-cta-msg { opacity: 1; transform: none; }
.is-in .sv-cta-dots { height: 14px; margin-top: 6px; opacity: 1; animation: sv-typing 3s steps(1) forwards; }
@keyframes sv-typing { 0%, 99% { height: 14px; margin-top: 6px; opacity: 1; } 100% { height: 0; margin-top: 0; opacity: 0; } }
.is-in .sv-cta-linda p { max-height: 10em; opacity: 1; transition: max-height .8s var(--ease) 3s, opacity .5s var(--ease) 3.05s; }
html:not(.js) .sv-cta-msg, html:not(.js) .sv-cta-linda p { opacity: 1; transform: none; max-height: none; }
.sv-cta-copy { position: relative; display: grid; align-content: center; justify-items: start; gap: 20px; padding: clamp(24px, 3vw, 56px) clamp(16px, 3vw, 56px) clamp(24px, 3vw, 56px) clamp(24px, 3vw, 48px); }
.sv-cta h2 { font-size: clamp(34px, 2.4vw + 14px, 60px); line-height: 1; letter-spacing: -.045em; }
.sv-cta-copy > .section-sub { max-width: 30em; font-size: var(--t-lead); line-height: 1.55; color: var(--ink-2); }
.sv-cta-agenda { display: grid; gap: 12px; }
.sv-cta-agenda p { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-cta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; margin-top: 8px; }
.sv-cta-btn { gap: 14px; padding: 0 10px 0 30px; background: #d93224; color: #fff; box-shadow: 0 14px 30px -14px rgb(217 50 36 / .7), inset 0 1px 0 rgb(255 255 255 / .18); transition: background-color .3s var(--ease), box-shadow .4s var(--ease), transform .4s var(--ease); }
.sv-cta-btn i { width: 40px; height: 40px; color: #d93224; }
.sv-cta-btn:hover { background: var(--red-hover); color: #fff; transform: translateY(-2px); box-shadow: 0 20px 36px -14px rgb(217 50 36 / .8), inset 0 1px 0 rgb(255 255 255 / .18); }
.sv-cta-note { display: inline-flex; align-items: center; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgb(255 255 255 / .8); font-size: var(--t-small); color: var(--ink-2); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.sv-cta-note::before { content: ''; width: 7px; height: 7px; border-radius: 1.5px; background: var(--red); }

/* The process: five step cards and a sixth that starts the work. */
.sv-steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.sv-step { display: flex; flex-direction: column; gap: 12px; min-height: 260px; padding: clamp(24px, 2.4vw, 32px); border: 1px solid var(--dark-line); border-radius: var(--r-l); background: var(--dark-2); }
.sv-step .step-n { margin-bottom: clamp(16px, 2.4vw, 32px); font-family: var(--mono); font-size: var(--t-label); color: var(--on-dark-3); }
.sv-step h3 { font-size: clamp(20px, .5vw + 16px, 24px); font-weight: 400; color: #fff; }
.sv-step > p { line-height: 1.55; color: var(--on-dark-2); }
.sv-step > p.step-get, .sv-step > p.step-risk { padding-top: 14px; border-top: 1px solid var(--dark-line); }
.sv-step > p.step-get { color: #fff; }
.sv-step .step-more a { color: #fff; text-underline-offset: 3px; }
.sv-step.is-start { padding: 0; border-color: rgb(229 55 42 / .5); background: linear-gradient(150deg, #2a1512, var(--dark-2) 70%); }
.sv-step.is-start a { display: flex; flex-direction: column; gap: 12px; height: 100%; padding: clamp(24px, 2.4vw, 32px); color: #fff; text-decoration: none; }
.sv-step-arrow { display: grid; place-items: center; width: 48px; height: 48px; margin-bottom: clamp(20px, 2.6vw, 32px); background: var(--red); color: #fff; transition: transform .45s var(--ease); }
.sv-step-arrow svg { width: 44%; height: 44%; }
.sv-step.is-start a:hover .sv-step-arrow { transform: translate(4px, -4px); }
.sv-step.is-start p { line-height: 1.55; color: var(--on-dark-2); }
.sv-step-link { margin-top: auto; padding-top: 14px; border-top: 1px solid var(--dark-line); font-weight: 500; }

@media (prefers-reduced-motion: reduce) {
  .sv-case-chip, .sv-cta-msg, .sv-cta-linda p { opacity: 1; transform: none; max-height: none; transition: none; }
  .sv-cta-float, .sv-cta-dots i { animation: none; }
  .is-in .sv-cta-dots, .sv-cta-dots { display: none; }
}
@media (max-width: 1080px) {
  .sv-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-facts > div:nth-child(3) { border-left: 0; }
  .sv-facts > div:nth-child(n+3) { border-top: 1px solid var(--hair); }
  .sv-sits { grid-template-columns: minmax(0, 1fr); }
  .sv-case { grid-template-columns: minmax(0, 1fr); }
  .sv-case-pic { order: -1; min-height: 0; aspect-ratio: 5 / 4; }
  .sv-case-chip { padding: 8px 12px; font-size: 12px; }
  .sv-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1080px) and (min-width: 761px) { .sv-cta-card { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; } .sv-cta-chat { right: -20px; width: 86%; } .sv-cta-msg { font-size: 13px; } }
@media (max-width: 760px) {
  .sv-facts dt { font-size: 36px; }
  .sv-cta-card { grid-template-columns: minmax(0, 1fr); gap: 8px; }
  .sv-cta-bg { left: 0; top: auto; height: 150px; -webkit-mask-image: linear-gradient(180deg, transparent, #000 85%); mask-image: linear-gradient(180deg, transparent, #000 85%); }
  .sv-cta-photo { aspect-ratio: 1; }
  .sv-cta-chat { position: relative; right: auto; bottom: auto; width: auto; margin: -64px 10px 0 18%; }
  .sv-cta-copy { padding: 20px 16px 28px; }
  .sv-cta-btn { width: 100%; justify-content: space-between; }
  .sv-steps { grid-template-columns: minmax(0, 1fr); }
  .sv-step { min-height: 0; }
}
/* A screenshot with its own coloured frame is shown whole, on that colour. */
.sv-case-pic img.is-contain { object-fit: contain; }

/* Template v2: a heading with a side note sits like the LMS "Who works with us" head: the title on the left,
   the note in the right column, left-aligned and bottom-aligned with the title. Only on service pages. */
main:has(> .svc-hero) .section-head:has(> .section-aside > .section-sub:only-child) { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: end; gap: 24px clamp(32px, 5vw, 96px); }
main:has(> .svc-hero) .section-head:has(> .section-aside > .section-sub:only-child) .section-sub { max-width: 32em; line-height: 1.6; text-align: left; }
@media (max-width: 1080px) { main:has(> .svc-hero) .section-head:has(> .section-aside > .section-sub:only-child) { grid-template-columns: minmax(0, 1fr); } }

/* Six plain tiles, three to a row (Website: "Who we build websites for"): one hairline between the rows, not two. */
.tiles.is-three.is-rows li { border-bottom: 0; }
.tiles.is-three.is-rows li:nth-last-child(-n+3) { border-bottom: 1px solid var(--hair); }
/* These tiles have no arrow to line up with, so a name that wraps keeps a normal line height. */
.tiles.is-rows div.tile .tile-name { line-height: 1.3; }
@media (max-width: 1080px) {
  .tiles.is-three.is-rows li:nth-last-child(-n+3) { border-bottom: 0; }
  .tiles.is-three.is-rows li:last-child { border-bottom: 1px solid var(--hair); }
}

/* Plain rows with no link ("Kinds of websites we build", "What we design"): number, name and description,
   no arrow and no hover. The description stays visible on tablets and phones, since it is the content here. */
.ind-list.is-static .ind-row { display: grid; grid-template-columns: 64px minmax(0, 1fr) minmax(0, 1.6fr); align-items: center; gap: 24px; min-height: 88px; padding: 16px 20px; border-bottom: 1px solid var(--hair); }
@media (max-width: 1080px) {
  .ind-list.is-static .ind-row { grid-template-columns: 48px minmax(0, 1fr) minmax(0, 1.3fr); }
  .ind-list.is-static .ind-text { display: block; }
}
@media (max-width: 760px) {
  .ind-list.is-static .ind-row { grid-template-columns: minmax(0, 1fr); gap: 4px; min-height: 0; padding: 18px 4px; }
  .ind-list.is-static .ind-name::after { content: none; }
}

/* Awards (18 Nov, Linda): the LMS page's recognition row, one to one, on every service page (partials/awards.html).
   The same rules as in css/lms.css; if they change there, copy them here. */
.lms-awd { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); margin: clamp(40px, 4vw, 64px) 0 0; padding: 0; list-style: none; }
.lms-awd-t { position: relative; display: grid; grid-template-rows: auto 1fr; overflow: hidden; border: 1px solid var(--hair); border-radius: var(--r-l); background: var(--white); transition: border-color .3s var(--ease), box-shadow .45s var(--ease); }
.lms-awd-t:hover { border-color: #ddd6cd; box-shadow: 0 24px 48px -32px rgb(60 40 20 / .35); }
.lms-awd-stage { position: relative; isolation: isolate; display: grid; place-items: center; height: clamp(220px, 17vw, 260px); background: var(--surface); perspective: 700px; }
.lms-awd-stage .bg-pixel { opacity: .8; -webkit-mask-image: linear-gradient(180deg, transparent 22%, #000 92%); mask-image: linear-gradient(180deg, transparent 22%, #000 92%); transition: opacity .5s var(--ease); }
.lms-awd-t:hover .lms-awd-stage .bg-pixel { opacity: 1; }
.lms-awd-art { opacity: 0; transform: translateY(28px) scale(.92); transition: opacity .6s var(--ease), transform .9s cubic-bezier(.2, .9, .3, 1.15); transition-delay: calc(var(--i) * 120ms); }
.is-in .lms-awd-art { opacity: 1; transform: none; }
.lms-awd-float { animation: lms-awd-bob 6s ease-in-out infinite; animation-delay: calc(var(--i) * -1.4s); }
.lms-awd-tilt { transform-style: preserve-3d; transition: transform .5s cubic-bezier(.2, .8, .3, 1); will-change: transform; }
@keyframes lms-awd-bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
.lms-awd-badge { display: block; width: clamp(150px, 12vw, 184px); height: auto; filter: drop-shadow(0 18px 18px rgb(23 30 40 / .22)) drop-shadow(0 3px 4px rgb(23 30 40 / .14)); }
/* 12 design awards: three white tiles with the juries' marks, each with its count in red */
.lms-awd-marks { display: flex; align-items: flex-end; gap: 14px; }
.lms-awd-mark { position: relative; display: grid; place-items: center; width: clamp(62px, 4.6vw, 74px); aspect-ratio: 1; border-radius: 18px; background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgb(23 25 25 / .06), 0 16px 26px -14px rgb(60 40 20 / .4); }
.lms-awd-mark:nth-child(2) { transform: translateY(-22px); }
.lms-awd-mark svg { width: 46%; height: auto; }
.lms-awd-mark:nth-child(1) svg { width: 50%; }
.lms-awd-mark:nth-child(3) svg { width: 66%; }
.lms-awd-mark b { position: absolute; top: -9px; right: -9px; display: grid; place-items: center; min-width: 26px; height: 26px; padding: 0 7px; border: 2px solid var(--surface); border-radius: 13px; background: var(--red); color: #fff; font-size: 12px; font-weight: 600; line-height: 1; }
/* Upwork: the Top Rated Plus badge with the job success pill */
.lms-awd-up { position: relative; display: grid; justify-items: center; }
.lms-awd-trp { width: clamp(92px, 7vw, 112px); height: auto; filter: drop-shadow(0 16px 16px rgb(140 30 90 / .25)); }
.lms-awd-pill { margin-top: 14px; padding: 8px 14px; border-radius: 999px; background: var(--white); color: var(--ink-2); font-size: 13px; line-height: 1; white-space: nowrap; box-shadow: 0 1px 2px rgb(23 25 25 / .06), 0 12px 22px -12px rgb(60 40 20 / .4); }
.lms-awd-pill b { font-weight: 600; color: var(--ink); }
.lms-awd-text { display: grid; align-content: start; gap: 8px; padding: clamp(20px, 1.8vw, 28px); }
.lms-awd-text h3 { font-size: var(--t-h3); font-weight: 500; letter-spacing: -.015em; }
.lms-awd-text h3 a { color: inherit; text-decoration: none; }
.lms-awd-text h3 a::after { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.lms-awd-text h3 a:hover, .lms-awd-text h3 a:focus-visible { color: var(--red); }
.lms-awd-text p { font-size: var(--t-small); line-height: 1.5; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .lms-awd-art { opacity: 1; transform: none; transition: none; } .lms-awd-float { animation: none; } }
@media (max-width: 1080px) { .lms-awd { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .lms-awd { grid-template-columns: minmax(0, 1fr); gap: 12px; } .lms-awd-t { grid-template-columns: 44% minmax(0, 1fr); grid-template-rows: none; } .lms-awd-stage { height: 100%; min-height: 168px; } .lms-awd-badge { width: 118px; } .lms-awd-marks { gap: 7px; padding-top: 10px; } .lms-awd-mark { width: 38px; border-radius: 11px; } .lms-awd-mark:nth-child(2) { transform: translateY(-12px); } .lms-awd-mark b { min-width: 18px; height: 18px; top: -7px; right: -6px; font-size: 10px; padding: 0 4px; border-width: 1.5px; } .lms-awd-trp { width: 76px; } .lms-awd-pill { font-size: 11px; padding: 6px 10px; } .lms-awd-text { align-content: center; padding: 18px; } }

/* What we look after (18 Nov, Linda): Support's six areas in the look of the LMS page's "What's inside": the list on the left,
   the chosen area in a dark card on the right; on a tablet or phone every area is its own dark card.
   The lms-in, sq-list and lms-eyebrow rules are the same as in css/lms.css; if they change there, copy them here. */
.sq-list li { position: relative; padding-left: 22px; }
.sq-list li::before { content: ''; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 1.5px; background: var(--red); }
.lms-eyebrow { display: flex; align-items: center; gap: 10px; color: var(--muted); }
.lms-eyebrow::before { content: ''; width: 7px; height: 7px; border-radius: 1.5px; background: var(--red); }
.lms-in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; gap: clamp(32px, 5vw, 96px); }
.lms-in-list { border-top: 1px solid var(--hair); }
.lms-in-tab { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding: 22px 0; border: 0; border-bottom: 1px solid var(--hair); background: none; font: inherit; font-size: clamp(20px, .6vw + 15px, 26px); line-height: 1.2; letter-spacing: -.02em; text-align: left; color: var(--faint); cursor: pointer; transition: color .3s var(--ease); }
.lms-in-tab i { font-style: normal; opacity: 0; transform: translateX(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
.lms-in-tab:hover { color: var(--ink-2); }
.lms-in-tab.is-on { color: var(--ink); }
.lms-in-tab.is-on i { opacity: 1; transform: none; color: var(--red); }
.lms-in-card { position: sticky; top: 112px; display: grid; min-height: 460px; padding: clamp(32px, 3.4vw, 52px); border-radius: var(--r-l); background: var(--dark); color: #fff; overflow: hidden; isolation: isolate; }
.lms-in-card::after { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 60% at 85% 0%, rgb(229 55 42 / .22), transparent 70%); pointer-events: none; }
.lms-in-panel { grid-area: 1 / 1; display: grid; align-content: start; gap: 18px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .45s var(--ease), transform .45s var(--ease), visibility 0s .45s; }
.lms-in-panel.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .45s var(--ease), transform .45s var(--ease); }
.lms-in-ico { display: grid; place-items: center; width: 64px; height: 64px; margin-bottom: clamp(24px, 4vw, 56px); border: 1px solid var(--dark-line); border-radius: 18px; color: #fff; }
.lms-in-ico svg { width: 30px; height: 30px; }
.lms-in-n { font-family: var(--mono); font-size: var(--t-label); color: var(--on-dark-3); }
.lms-in-panel h3 { font-size: clamp(26px, 1vw + 18px, 34px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.lms-in-panel .sq-list { display: grid; gap: 14px; margin-top: 10px; font-size: var(--t-lead); line-height: 1.45; color: var(--on-dark); }
.lms-in-panel .sq-list li::before { background: var(--red-on-dark); }
@media (prefers-reduced-motion: reduce) { .lms-in-panel, .lms-in-panel.is-on { transition: none; transform: none; } }
.look-head { display: grid; gap: 14px; }
.sv-in-pain { display: grid; gap: 6px; max-width: 30em; padding-bottom: 18px; border-bottom: 1px solid var(--dark-line); font-size: var(--t-body); line-height: 1.5; color: var(--on-dark-2); }
.sv-in-pain span, .sv-in-label { font-family: var(--mono); font-size: var(--t-label); letter-spacing: .04em; text-transform: uppercase; color: var(--on-dark-3); }
.sv-in-label { margin-top: 4px; color: var(--red-on-dark); }
.lms-in-panel .sv-in-label + .sq-list { margin-top: 0; }
@media (max-width: 1080px) {
  .lms-in { grid-template-columns: minmax(0, 1fr); }
  .lms-in-list { display: none; }
  .lms-in-card { position: static; min-height: 0; gap: 12px; padding: 12px; background: none; overflow: visible; }
  .lms-in-card::after { content: none; }
  .lms-in-panel, .lms-in-panel.is-on { grid-area: auto; opacity: 1; visibility: visible; transform: none; padding: clamp(24px, 4vw, 36px); border-radius: var(--r-l); background: var(--dark); }
  .lms-in-ico { margin-bottom: 12px; }
}
@media (max-width: 760px) {
  .lms-in-card { padding: 0; }
}

/* What we fix, both lists (19 Nov, Vibe code rescue and Project rescue): the same dark card as "What we look after",
   with the area's one line under the title, then "What goes wrong" (muted) and "What we do" side by side. */
.sv-in-lead { max-width: 30em; font-size: var(--t-body); line-height: 1.5; color: var(--on-dark-2); }
.sv-in-cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(20px, 2.4vw, 36px); margin-top: 4px; padding-top: 20px; border-top: 1px solid var(--dark-line); }
.sv-in-cols > div { display: grid; align-content: start; gap: 14px; }
.sv-in-cols .sv-in-label { margin: 0; }
.sv-in-cols .is-wrong .sv-in-label { color: var(--on-dark-3); }
.lms-in-panel .sv-in-cols .sq-list { gap: 10px; margin-top: 0; font-size: var(--t-body); line-height: 1.45; }
.lms-in-panel .sv-in-cols .is-wrong .sq-list { color: var(--on-dark-2); }
.lms-in-panel .sv-in-cols .is-wrong .sq-list li::before { background: var(--on-dark-3); }
@media (max-width: 760px) { .sv-in-cols { grid-template-columns: minmax(0, 1fr); } }

/* What we do with AI (19 Nov, Linda): AI integration, AI chatbots and AI agents as three white cards on a grey band,
   each on its own anchor (#integration, #chatbots, #agents) from the services hub. What it is on the left,
   the plain list (no links) in a grey panel on the right. */
.sv-dirs { display: grid; gap: var(--gap); }
.sv-dir { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); padding: clamp(28px, 3.2vw, 52px); border-radius: var(--r-l); background: var(--white); box-shadow: 0 1px 2px rgb(23 25 25 / .04); }
.sv-dir-main { display: flex; flex-direction: column; gap: 16px; }
.sv-dir-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sv-dir-n { font-family: var(--mono); font-size: var(--t-label); color: var(--muted); }
.sv-dir h3 { font-size: clamp(28px, 1vw + 20px, 38px); font-weight: 400; line-height: 1.1; letter-spacing: -.03em; }
.sv-dir-what { max-width: 34em; font-size: var(--t-lead); line-height: 1.5; color: var(--ink-2); }
.sv-dir dl { display: grid; gap: 14px; margin-top: 8px; padding-top: 18px; border-top: 1px solid var(--hair); }
.sv-dir dl > div { display: grid; gap: 4px; }
.sv-dir dt { font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.sv-dir dd { max-width: 40em; line-height: 1.6; color: var(--ink-2); }
.sv-dir-side { align-self: start; padding: clamp(24px, 2.4vw, 36px); border-radius: var(--r-m); background: var(--surface); }
.sv-dir-label { margin-bottom: 16px; font-size: var(--t-label); font-weight: 500; letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.sv-dir-side .sq-list { display: grid; gap: 12px; line-height: 1.5; color: var(--ink); }
@media (max-width: 1080px) { .sv-dir { grid-template-columns: minmax(0, 1fr); } }

/* Fit with only the "good fit" card (AI development, 19 Nov): full width, the three points side by side on a wide screen. */
.fit-grid.is-one { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 1081px) { .fit-grid.is-one .fit-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; column-gap: var(--gap); } }
