/* Generated pages (build-pages.mjs). Sits on home-r5.css (header, menu, footer, tokens) and services.css (body.sv, .sv-lk, .sv-cl, .sv-im, .cp).
   No new colours or fonts. Nothing here hides content until a script runs. */
.st main { overflow-x: clip; }
.st .mn-l a:nth-child(1) span { --i: 0; } .st .mn-l a:nth-child(2) span { --i: 1; } .st .mn-l a:nth-child(3) span { --i: 2; }
.st .mn-l a:nth-child(4) span { --i: 3; } .st .mn-l a:nth-child(5) span { --i: 4; } .st .mn-l a:nth-child(6) span { --i: 5; } .st .mn-l a:nth-child(7) span { --i: 6; } .st .mn-l a:nth-child(8) span { --i: 7; }
.st-bc { margin: calc(var(--hh) + 24px) var(--gm) 0; font-size: 13px; line-height: 1.4; }
.st-bc ol { display: flex; flex-wrap: wrap; align-items: center; }
.st-bc li { display: inline-flex; align-items: center; }
.st-bc li + li::before { content: "/"; margin: 0 .6em; color: var(--grey); }
.st-bc a { display: inline-flex; align-items: center; min-height: 44px; }
.st-bc a:hover { text-decoration: underline; text-underline-offset: 3px; }
.st-bc [aria-current] { color: var(--grey); }

.st-top { margin: var(--sp-large) var(--gm) 0; }
.st-top h1 { max-width: 14em; font-size: var(--fs-h1); line-height: 1; letter-spacing: -.05em; text-wrap: balance; }
.st-role { margin-top: 24px; font-size: var(--fs-l); line-height: 1.2; color: var(--grey); }
.st-lead { max-width: 46rem; margin-top: 40px; font-size: var(--fs-l); line-height: 1.25; letter-spacing: -.02em; }
.st-fa { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 var(--gut); margin-top: 48px; }
.st-fa > div { padding: 12px 0 20px; border-top: 1px solid rgba(1, 1, 1, .1); }
.st-fa dt { font-size: 12px; color: var(--grey); }
.st-fa dd { margin: 4px 0 0; }
.st-im { margin: var(--sp-large) var(--gm) 0; aspect-ratio: 16 / 9; overflow: hidden; border-radius: 4px; background: #e6e6e6; }
.st-im img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }

/* a section: title left, text in the right half (as the editorial block on service.html) */
.st-s { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin: var(--sp-big) var(--gm) 0; }
.st-s > h2 { grid-column: 1 / 6; margin: 0 0 24px; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; max-width: 20rem; }
.st-c { grid-column: 7 / -1; max-width: 38rem; min-width: 0; }
.st-c p { margin: 0 0 1.2em; }
.st-c p:last-child { margin-bottom: 0; }
.st-c a, .st-f a, .st-lead a, .st-note a { text-decoration: underline; text-underline-offset: 3px; }
.st-b { margin: 1.2em 0; }
.st-b li { padding: 10px 0 10px 1.2em; position: relative; border-top: 1px solid rgba(1, 1, 1, .1); }
.st-b li::before { content: ""; position: absolute; left: 0; top: 1.15em; width: 5px; height: 5px; border-radius: 50%; background: #010101; }
.st-n { margin: 1.2em 0; counter-reset: st; }
.st-n li { position: relative; padding: 14px 0 22px 3rem; border-top: 1px solid #010101; counter-increment: st; }
.st-n li::before { content: counter(st); position: absolute; left: 0; top: 12px; font-size: 21px; letter-spacing: -.025em; }
.st-n h3 { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; margin: 0 0 8px; }
.st-n p { margin: 0; }

/* project cards */
.st-p { display: block; }
.st-p > h2 { max-width: none; }
.st-pg { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: var(--sp-large) var(--gut); }
.st-pg .sv-cl { display: block; }
.st-note { margin-top: 12px; max-width: 34rem; font-size: 14px; line-height: 1.5; }

/* questions */
.st-f > div { padding: 18px 0 22px; border-top: 1px solid rgba(1, 1, 1, .1); }
.st-f dt { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; }
.st-f dd { margin: 8px 0 0; max-width: 34rem; }

/* lists of pages: hub rows, related pages */
.st-rl { display: block; }
.st-r { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-height: 44px; padding: 14px 1.4em 14px 0; border-top: 1px solid rgba(1, 1, 1, .1); }
.st-r .n { font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.st-r .d { color: var(--grey); font-size: 14px; line-height: 1.5; max-width: 34rem; }
a.st-r::after { content: "\2192"; position: absolute; right: 0; top: 14px; font-size: 18px; }
a.st-r:hover .n { text-decoration: underline; text-underline-offset: 3px; }
.st-r.off .n { color: var(--grey); }
.st-rel { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); margin: var(--sp-big) var(--gm) 0; }
.st-rel > h2 { grid-column: 1 / 6; margin: 0 0 24px; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.st-rel .st-rl { grid-column: 7 / -1; max-width: 38rem; }
.st .fpush .pb { min-height: 44px; }

@media (max-width: 999px) {
  .st-s > h2, .st-c, .st-rel > h2, .st-rel .st-rl { grid-column: 1 / -1; }
  .st-s, .st-rel { margin-top: var(--sp-large); }
  .st-lead { margin-top: 28px; }
}
.st .hmenu, .st .mn-x { min-height: 44px; }
@media (max-width: 999px) { .st-bc a { min-height: 44px; min-width: 44px; justify-content: center; } }

/* ---------- review round 2: hero, rhythm, layouts ---------- */
.st { --st-gap: clamp(56px, 6.7vw, 96px); }
.st-hero { min-height: 82svh; }
.st-hero .mh-bg::before { opacity: .5; }
.st-hero .mh-bgi > img { object-position: 50% 40%; }
.st-hero .sv-lab { font-size: var(--fs-h4); }
.st .st-bc { margin-top: 24px; }
.st-bc ol { flex-wrap: nowrap; overflow: hidden; }
.st-bc li { flex: none; white-space: nowrap; }
.st-bc li:last-child { flex: 0 1 auto; min-width: 0; }
.st-bc li:last-child > span { overflow: hidden; text-overflow: ellipsis; display: block; }
.st-top { margin-top: var(--st-gap); }
.st-pv, .st-nr { display: inline-block; padding: 2px 8px; border: 1px solid currentColor; border-radius: 4px; font-size: 11px; line-height: 1.6; letter-spacing: .04em; color: var(--grey); }
.st-pv { margin: 0 0 16px; }
.st-nr { margin-left: 10px; vertical-align: middle; }
.st-s, .st-rel { margin-top: var(--st-gap); }
.st-fa { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-fa > div { padding-top: 16px; }
.st-fa dd { font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
.st-f { grid-column: 7 / -1; max-width: 38rem; margin: 0; }

/* headings stay in view while a long section scrolls */
@media (min-width: 1000px) {
  .st-s > h2, .st-s > .st-h { position: sticky; top: 104px; align-self: start; }
  .st-s > .st-h { grid-column: 1 / 6; }
  .st-s > .st-h > h2 { max-width: 20rem; margin: 0 0 24px; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; }
}
.st-gi { margin: 0; aspect-ratio: 3 / 2; max-width: 22rem; overflow: hidden; border-radius: 4px; background: #e6e6e6; }
.st-gi img, .st-band img { width: 100%; height: 100%; object-fit: cover; display: block; }
.st-gi.wide { grid-column: 1 / -1; aspect-ratio: 21 / 6; max-width: none; margin-bottom: 32px; }

/* full-width sections: heading above, content across */
.st-w { display: block; }
.st-w > h2 { max-width: 30rem; margin: 0 0 32px; font-size: var(--fs-l); line-height: 1.2; letter-spacing: -.02em; position: static; }
.st-wt { max-width: 44rem; margin-bottom: 40px; }
.st-wt p, .st-cols p { margin: 0 0 1.2em; }
.st-pull > h2 { font-size: 14px; color: var(--grey); margin-bottom: 20px; }
.st-q { max-width: 60rem; font-size: var(--fs-h4); line-height: 1.15; letter-spacing: -.04em; margin: 0 0 40px; }
.st-cols { column-count: 2; column-gap: var(--gut); max-width: 62rem; }
.st-cols > * { break-inside: avoid-column; }
.st-cols .st-n, .st-cols .st-b { margin-top: 0; }
.st-n3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gut); counter-reset: st3; }
.st-n3 li { counter-increment: st3; padding: 18px 0 8px; border-top: 1px solid #010101; }
.st-n3 li::before { content: counter(st3); display: block; margin-bottom: 40px; font-size: var(--fs-l); line-height: 1; letter-spacing: -.02em; }
.st-n3 h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.3; letter-spacing: -.025em; }
.st-n3 p { margin: 0; max-width: 24rem; }
.st-cg { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: var(--gut); }
.st-cg li { padding: 20px; border: 1px solid rgba(1, 1, 1, .12); border-radius: 4px; }
.st-w .st-pg { margin-top: 8px; }

/* wide image band, edge to edge */
.st-band { margin: var(--st-gap) 0 0; aspect-ratio: 21 / 8; max-height: 560px; overflow: hidden; background: #e6e6e6; }

.st-rl.two { column-count: 2; column-gap: var(--gut); }
.st-rl.two li { break-inside: avoid; }
.st .st-hero ~ .st-bc { }

@media (max-width: 999px) {
  .st-hero { min-height: 70svh; }
  .st-fa { grid-template-columns: 1fr; }
  .st-n3 { grid-template-columns: 1fr; }
  .st-n3 li::before { margin-bottom: 12px; }
  .st-cols, .st-rl.two { column-count: 1; }
  .st-f { grid-column: 1 / -1; }
  .st-gi { max-width: none; margin-bottom: 24px; }
  .st-gi.wide { aspect-ratio: 3 / 2; }
  .st-band { aspect-ratio: 3 / 2; }
  .st-lead { font-size: 20px; line-height: 1.35; }
  .st-q { font-size: 28px; }
}
@media (max-width: 699px) {
  .st-band { margin-top: 56px; }
  .st-pg { gap: 40px var(--gut); }
  .st-note { padding: 0 2px; }
}

/* a page with no photo of its own work: plain black hero, white type */
.st-hero.st-type { min-height: 52svh; }
.st-type .mh-ct { height: 100%; }
.st-type .mh-in { position: relative; height: 100%; min-height: 52svh; }
@media (max-width: 999px) { .st-hero.st-type { min-height: 46svh; } .st-type .mh-in { min-height: 46svh; } }

/* ---------- hero grows with its text: label left, big H1 and the line under it on the right, no absolute positions ---------- */
.st .st-hero { display: block; min-height: 0; }
.st .st-hero .mh-bg { position: absolute; inset: 0; height: 100%; z-index: 0; }
.st .st-hero .mh-bgi { position: relative; height: 100%; }
.st .st-hero .mh-ct { position: relative; z-index: 1; top: auto; height: auto; }
.st .st-hero .mh-in { position: relative; top: auto; height: auto; min-height: clamp(380px, 62svh, 680px); display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gut); align-items: end; padding: calc(var(--hh) + 72px) var(--gm) 56px; }
.st .st-hero.st-type .mh-in { min-height: clamp(300px, 44svh, 520px); }
.st .st-hero .sv-lab { position: static; grid-column: 1 / 6; grid-row: 1; align-self: start; margin: 0; }
.st .st-hero h1 { position: static; grid-column: 7 / -1; grid-row: 1; width: auto; max-width: none; margin: 0; font-size: clamp(34px, 4.6vw, 72px); overflow-wrap: break-word; }
.st .st-hero .sv-tag { position: static; grid-column: 7 / -1; grid-row: 2; width: auto; min-width: 0; margin: 28px 0 0; max-width: 34rem; }
@media (max-width: 999px) {
  .st .st-hero .mh-in { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; padding: calc(var(--hh) + 48px) var(--gm) 40px; min-height: clamp(320px, 56svh, 520px); }
  .st .st-hero.st-type .mh-in { min-height: clamp(260px, 40svh, 420px); }
  .st .st-hero .sv-lab { font-size: 21px; line-height: 1.4; letter-spacing: -.025em; margin-bottom: 24px; }
  .st .st-hero h1 { font-size: clamp(32px, 9vw, 44px); }
  .st .st-hero .sv-tag { margin-top: 20px; }
}

/* ---------- review fixes: one sans (Switzer), plain left-aligned heroes, larger body, 3-column cards, darker greys ---------- */
body.sv.st { --wt-sans: "Switzer", "Helvetica Neue", Arial, sans-serif; --grey: #55554f; }
.st main { font-size: clamp(17px, 1.25vw, 18px); }
.st h1, .st .st-hero h1, .st-q { letter-spacing: -.03em; }
.st .st-hero h1 { grid-column: 1 / -1; grid-row: 1; max-width: 16em; }
.st .st-hero .sv-tag { grid-column: 1 / -1; grid-row: 2; max-width: 40rem; font-size: 16px; line-height: 1.5; margin-top: 24px; }
.st .st-hero .mh-bgi::after { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(to top, rgba(1, 1, 1, .88) 0%, rgba(1, 1, 1, .55) 40%, rgba(1, 1, 1, 0) 78%); }
.st-c, .st-f, .st-rel .st-rl { max-width: 46rem; }
.st-wt { max-width: 52rem; }
.st-lead { max-width: 52rem; }
.st-r .d { max-width: 42rem; font-size: 16px; color: #4a4a45; }
.st-note { font-size: 15px; color: #4a4a45; }
.st-rel .st-r .d, .st-rel .st-r .n { color: #010101; }
.st-rel .st-r .d { color: #4a4a45; }
.st-pg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 999px) { .st-pg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .st-pg { grid-template-columns: 1fr; } .st .st-hero .sv-tag { font-size: 16px; } }
.st .st-hero.mh { padding-left: 0; padding-right: 0; } /* the inner grid already has the page margin: text lines up with the breadcrumb below */
/* text cards: three across like the project cards (5 = 3 + 2, 6 = 3 + 3), four sit 2 + 2 */
.st-cg { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.st-cg:has(> li:nth-child(4):last-child), .st-pg:has(> li:nth-child(4):last-child) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 999px) { .st-cg { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 699px) { .st-cg, .st-cg:has(> li:nth-child(4):last-child), .st-pg:has(> li:nth-child(4):last-child) { grid-template-columns: 1fr; } }
