/* Signal & Thread (agencies). The well-kept board: filled tiles, 8px gaps, one 8px radius, warm black, white ink, one gold accent.
   Type: Albert Sans only, five sizes. Every selector is scoped to .b-agencies. */
.b-agencies {
  --b-bg: #0c0a08; --b-ink: #ffffff; --b-acc: #c9a45a; --b-soft: #1c1814; --b-on: #0c0a08;
  --b-d: "Albert Sans", system-ui, sans-serif; --b-t: "Albert Sans", system-ui, sans-serif;
  --s1: #1c1814; --s2: #26211c; --s3: #352e27; --paper: #f1f0ed; --stone: #d6cfc2; --pale: #a89f92;
  --mute: #b3ada5; --soft-ink: #e4dfd8; --gold: #c9a45a; --gold-2: #d8b670; --gold-d: #b08b42; --blk: #0c0a08;
  --g: 8px; --m: 8px; --r: 8px; --pad: clamp(20px, 1.7vw, 28px);
  --t-sm: 14px; --t-body: clamp(17px, 16px + 0.15vw, 18px); --t-lead: clamp(20px, 1.1rem + 0.5vw, 24px);
  --t-head: clamp(32px, 1.2rem + 2.6vw, 56px); --t-disp: clamp(46px, 6.6vw, 104px);
  --sec: clamp(104px, 9vw, 136px);
  --ease: cubic-bezier(.2, .7, .2, 1); --ease-io: cubic-bezier(.65, 0, .35, 1);
}
body.b-agencies { background: var(--b-bg); color: var(--b-ink); font: 400 var(--t-body)/1.5 var(--b-t); scrollbar-color: #4a4239 var(--b-bg); caret-color: var(--gold); }
.b-agencies ::selection { background: var(--gold); color: var(--blk); }
.b-agencies :focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
.b-agencies a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: .07em; }
.b-agencies p { margin: 0; }
.b-agencies [hidden] { display: none !important; }
.b-agencies figure { margin: 0; }
.b-agencies h1, .b-agencies h2, .b-agencies h3 { font-family: var(--b-d); margin: 0; text-wrap: balance; }
.b-agencies h1 { font-size: var(--t-disp); font-weight: 600; letter-spacing: -0.035em; line-height: 1; }
.b-agencies h2 { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.02; }
.b-agencies h3 { font-size: var(--t-lead); font-weight: 500; letter-spacing: -0.01em; line-height: 1.2; }
.b-agencies main { display: grid; gap: var(--sec); padding-bottom: var(--sec); }
.b-agencies main > section { margin: 0 var(--m); }
.b-agencies .st-num { font-variant-numeric: tabular-nums; }
.b-agencies img { display: block; width: 100%; height: 100%; object-fit: cover; }
.b-agencies .st-mark { display: block; }

/* buttons: one shape (8px), flat */
.b-agencies .st-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--r); background: var(--b-ink); color: var(--blk); font: 500 var(--t-body)/1 var(--b-t); text-decoration: none; cursor: pointer; transition: background-color .18s ease, transform .12s var(--ease); }
.b-agencies .st-btn:hover { background: var(--paper); }
.b-agencies .st-btn:active { transform: scale(.97); }
.b-agencies .st-btn--sm { min-height: 44px; padding: 0 18px; font-size: var(--t-sm); }
.b-agencies .st-btn--ink { background: var(--blk); color: var(--b-ink); }
.b-agencies .st-btn--ink:hover { background: var(--s3); }
.b-agencies .st-btn[disabled] { opacity: .55; cursor: default; }
.b-agencies .st-link { font: inherit; color: inherit; background: none; border: 0; padding: 0; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.b-agencies .st-arr { width: 1.2em; height: 1.2em; flex: none; transition: transform .25s var(--ease); }

/* ------------------------------------------------------------ header: a row of tiles */
.b-agencies .st-top { display: grid; grid-template-columns: 60px minmax(0, 1fr) auto; gap: var(--g); margin: var(--m); height: 60px; position: relative; z-index: 15; }
.b-agencies .st-top > * { border-radius: var(--r); }
.b-agencies .st-top__mark { display: grid; place-items: center; background: var(--b-ink); color: var(--blk); font-size: 18px; transition: background-color .18s; }
.b-agencies .st-top__mark:hover { background: var(--gold); }
.b-agencies .st-top__mid { display: grid; grid-template-columns: 1fr 1fr; align-items: center; padding: 0 20px; background: var(--s1); }
.b-agencies .st-top__word { font-weight: 600; font-size: var(--t-body); letter-spacing: -0.01em; text-decoration: none; justify-self: start; }
.b-agencies .st-top__nav { display: flex; gap: clamp(16px, 2vw, 32px); }
.b-agencies .st-top__nav a { color: var(--soft-ink); text-decoration: none; padding: 18px 0; font-size: var(--t-body); }
.b-agencies .st-top__nav a:hover, .b-agencies .st-top__nav a[aria-current] { color: var(--b-ink); text-decoration: underline; }
.b-agencies .st-top__go { display: flex; align-items: center; padding: 0 24px; background: var(--b-ink); color: var(--blk); font-weight: 500; text-decoration: none; transition: background-color .18s; }
.b-agencies .st-top__go:hover { background: var(--gold); }
.b-agencies .st-top__menu { display: none; }

/* ------------------------------------------------------------ hero: the two-by-two board */
.b-agencies .st-hero { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-template-rows: minmax(300px, 1.2fr) minmax(250px, 1fr); gap: var(--g); height: calc(100svh - 128px); min-height: 640px; max-height: 1000px; margin-top: 0 !important; }
.b-agencies main > .st-hero { margin: 0 var(--m); }
.b-agencies .st-hero > * { border-radius: var(--r); overflow: hidden; }
.b-agencies .st-hero__name { grid-area: 1 / 1 / 2 / 3; background: var(--s1); display: flex; align-items: flex-end; padding: var(--pad); }
.b-agencies .st-hero__name h1 { max-width: 14ch; }
.b-agencies .st-hero__a { grid-area: 1 / 3 / 2 / 5; background: var(--s2); }
.b-agencies .st-hero__a img { object-position: 50% 28%; filter: grayscale(1) contrast(1.08); }
.b-agencies .st-hero__b { grid-area: 2 / 1 / 3 / 3; background: var(--s2); }
.b-agencies .st-hero__b img { object-position: 50% 60%; filter: grayscale(1) contrast(1.1) brightness(.92); }
.b-agencies .st-hero__say { grid-area: 2 / 3 / 3 / 4; background: var(--s2); padding: var(--pad); }
.b-agencies .st-hero__say p { font-size: var(--t-lead); line-height: 1.3; }
.b-agencies .st-hero__go { grid-area: 2 / 4 / 3 / 5; background: var(--gold); color: var(--blk); padding: var(--pad); display: flex; flex-direction: column; justify-content: space-between; text-decoration: none; font-size: var(--t-lead); line-height: 1.3; font-weight: 500; transition: background-color .2s; }
.b-agencies .st-hero__go .st-arr { width: 44px; height: 44px; align-self: flex-end; }
.b-agencies .st-hero__go:hover { background: var(--gold-2); }
.b-agencies .st-hero__go:hover .st-arr { transform: translate(4px, -4px); }

/* the one loud move: the hero picture opens like a shutter */
.b-agencies .st-shut { overflow: hidden; }
@media (prefers-reduced-motion: no-preference) {
  .st-js .b-agencies .st-shut, .st-js.b-agencies .st-shut, .st-js .st-shut { clip-path: inset(0 0 100% 0); transition: clip-path 1100ms var(--ease-io); }
  .st-js .st-shut img { transform: scale(1.12); transition: transform 1500ms var(--ease); }
  .st-js .st-shut.is-in { clip-path: inset(0); }
  .st-js .st-shut.is-in img { transform: none; }
  .b-agencies .st-hero__b img { animation: stDrift 26s ease-in-out infinite alternate; transform-origin: 40% 60%; }
}
@keyframes stDrift { from { transform: scale(1); } to { transform: scale(1.08) translate(-1.5%, -1%); } }

/* ------------------------------------------------------------ prices that step up */
.b-agencies .st-steps { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.b-agencies .st-steps__h { grid-area: 1 / 1 / 2 / 9; align-self: start; display: grid; gap: 14px; position: relative; z-index: 1; }
.b-agencies .st-steps__h p { max-width: 54ch; color: var(--soft-ink); }
.b-agencies .st-step { grid-row: 1; display: flex; flex-direction: column; padding: var(--pad) var(--pad) 0; border-radius: var(--r); overflow: hidden; text-decoration: none; transition: filter .2s; }
.b-agencies .st-step--1 { grid-column: 1 / 5; height: 400px; background: var(--s3); color: var(--b-ink); --dk: #29231d; }
.b-agencies .st-step--2 { grid-column: 5 / 9; height: 540px; background: var(--stone); color: var(--blk); --dk: #c4bcad; }
.b-agencies .st-step--3 { grid-column: 9 / 13; height: 680px; background: var(--gold); color: var(--blk); --dk: var(--gold-d); }
.b-agencies .st-step__n { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; }
.b-agencies .st-step__p { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-top: 6px; font-variant-numeric: tabular-nums; }
.b-agencies .st-step__u { font-size: var(--t-sm); margin-top: 2px; }
.b-agencies .st-step__l { display: grid; gap: 6px; margin-top: 22px; }
.b-agencies .st-step__go { margin: auto calc(var(--pad) * -1) 0; min-height: 64px; padding: 0 var(--pad); display: flex; align-items: center; justify-content: space-between; background: var(--dk); font-weight: 500; transition: background-color .2s; }
.b-agencies .st-step:hover .st-step__go { background: color-mix(in srgb, var(--dk) 82%, #000); }
.b-agencies .st-step--1:hover .st-step__go { background: #1f1a15; }
.b-agencies .st-step:hover .st-arr { transform: translate(4px, -4px); }

/* ------------------------------------------------------------ the estimator section */
.b-agencies .st-estsec { display: grid; gap: clamp(28px, 3vw, 44px); scroll-margin-top: 12px; }
.b-agencies .st-estsec__h { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.b-agencies .st-estsec__h h2 { grid-column: 1 / 7; }
.b-agencies .st-estsec__h p { grid-column: 7 / 12; color: var(--soft-ink); max-width: 52ch; }

.b-agencies .st-est { container-type: inline-size; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); color: var(--b-ink); font-family: var(--b-t); }
.b-agencies .st-est > * { border-radius: var(--r); min-width: 0; }
.b-agencies .st-est__main { grid-column: 1 / 8; display: grid; gap: var(--g); align-content: start; }
.b-agencies .st-est__side { grid-column: 8 / 13; display: flex; flex-direction: column; gap: var(--g); }
.b-agencies .st-est__side > * { border-radius: var(--r); }
.b-agencies .st-est__in { display: grid; gap: var(--g); margin: 0; }
.b-agencies .st-est__f { margin: 0; border: 0; padding: 20px var(--pad) var(--pad); background: var(--s1); border-radius: var(--r); min-width: 0; }
.b-agencies .st-est__f legend { float: left; width: 100%; padding: 0; margin: 0 0 14px; font-weight: 500; font-size: var(--t-body); }
.b-agencies .st-svcs { clear: both; display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: var(--g); }
.b-agencies .st-svc { position: relative; display: grid; align-content: start; gap: 2px; min-height: 76px; padding: 14px 16px; background: var(--s2); border-radius: var(--r); cursor: pointer; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.b-agencies .st-svc:hover { background: var(--s3); }
.b-agencies .st-svc:active { transform: scale(.98); }
.b-agencies .st-svc input, .b-agencies .st-opt input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.b-agencies .st-svc__n { font-weight: 500; }
.b-agencies .st-svc__p { font-size: var(--t-sm); color: var(--mute); }
.b-agencies .st-svc:has(input:checked) { background: var(--b-ink); color: var(--blk); }
.b-agencies .st-svc:has(input:checked) .st-svc__p { color: #4a443d; }
.b-agencies .st-svc:has(input:focus-visible), .b-agencies .st-opt:has(input:focus-visible) { outline: 2px solid var(--gold); outline-offset: 2px; }
.b-agencies .st-opts { clear: both; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-opts--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.b-agencies .st-opt { position: relative; display: block; }
.b-agencies .st-opt span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 10px; background: var(--s2); border-radius: var(--r); cursor: pointer; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.b-agencies .st-opt:hover span { background: var(--s3); }
.b-agencies .st-opt:active span { transform: scale(.98); }
.b-agencies .st-opt input:checked + span { background: var(--b-ink); color: var(--blk); font-weight: 500; }

.b-agencies .st-est__out { background: var(--s2); padding: var(--pad); display: flex; flex-direction: column; gap: 14px; }
.b-agencies .st-est__big { font-size: clamp(30px, 3.5cqi, 56px); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; transition: opacity .2s; }
.b-agencies .st-est__big.is-new { animation: stPop .45s var(--ease); }
@keyframes stPop { from { opacity: .35; transform: translateY(6px); } }
.b-agencies .st-est__mo { font-size: var(--t-body); }
.b-agencies .st-est__lines { list-style: none; margin: 4px 0 0; padding: 0; display: grid; gap: 6px; }
.b-agencies .st-est__lines li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 14px; background: var(--s1); border-radius: var(--r); font-size: var(--t-sm); font-variant-numeric: tabular-nums; }
.b-agencies .st-est__note { font-size: var(--t-sm); color: var(--mute); }
.b-agencies .st-est__note b { color: var(--b-ink); font-weight: 500; }

.b-agencies .st-plan { background: var(--paper); border-radius: var(--r); color: var(--blk); padding: var(--pad); }
.b-agencies .st-plan__t { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; margin-bottom: 18px; }
.b-agencies .st-plan__cols { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2cqi, 28px); }
.b-agencies .st-plan__h { font-weight: 600; margin-bottom: 8px; }
.b-agencies .st-plan ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.b-agencies .st-plan li { font-size: var(--t-sm); line-height: 1.45; padding: 10px 12px; background: #e4e2dd; border-radius: var(--r); }
.b-agencies .st-plan li.is-new { animation: stPop .45s var(--ease); }

.b-agencies .st-fit { flex: 1; background: var(--s1); padding: var(--pad); }
.b-agencies .st-fit__h { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; margin-bottom: 10px; }
.b-agencies .st-fit__no p { margin-bottom: 14px; }
.b-agencies .st-fit__alt { display: grid; gap: var(--g); }
.b-agencies .st-alt { display: grid; gap: 4px; text-align: left; font: inherit; color: var(--b-ink); background: var(--s2); border: 0; border-radius: var(--r); padding: 14px 16px; min-height: 48px; cursor: pointer; transition: background-color .15s; }
.b-agencies .st-alt:hover { background: var(--s3); }
.b-agencies .st-alt b { font-weight: 500; }
.b-agencies .st-alt span { font-size: var(--t-sm); color: var(--mute); }

/* calendar */
.b-agencies .st-cal { display: grid; gap: 14px; }
.b-agencies .st-cal__note { color: var(--soft-ink); font-size: var(--t-sm); }
.b-agencies .st-cal__days { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.b-agencies .st-cal__day { display: grid; gap: 6px; align-content: start; }
.b-agencies .st-cal__d { font-size: var(--t-sm); font-weight: 500; padding: 2px 0 4px; }
.b-agencies .st-slot { font: 500 var(--t-sm)/1 var(--b-t); min-height: 44px; padding: 0 4px; border: 0; border-radius: var(--r); background: var(--s2); color: var(--b-ink); cursor: pointer; font-variant-numeric: tabular-nums; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.b-agencies .st-slot:hover { background: var(--s3); }
.b-agencies .st-slot:active { transform: scale(.96); }
.b-agencies .st-slot[aria-pressed="true"] { background: var(--b-ink); color: var(--blk); }
.b-agencies .st-cal__form { display: grid; gap: 12px; }
.b-agencies .st-cal__pick { font-weight: 500; }
.b-agencies .st-cal__fields { display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.b-agencies .st-cal__fields label, .b-agencies .st-brief label, .b-agencies .st-news label { display: grid; gap: 6px; font-size: var(--t-sm); color: var(--soft-ink); }
.b-agencies .st-in { font: 400 var(--t-body)/1.3 var(--b-t); width: 100%; min-height: 48px; padding: 11px 14px; border: 1px solid #4a4239; border-radius: var(--r); background: var(--blk); color: var(--b-ink); box-sizing: border-box; transition: border-color .15s; } /* taste-skill-ignore: form field */
.b-agencies .st-in:hover { border-color: #6b6157; }
.b-agencies .st-in:focus { border-color: var(--b-ink); outline: 2px solid var(--gold); outline-offset: 1px; }
.b-agencies .st-in[aria-invalid="true"] { border-color: #e2836b; }
.b-agencies textarea.st-in { resize: vertical; }
.b-agencies .st-cal__err, .b-agencies .st-brief__err { color: #f0a48f; font-size: var(--t-sm); }
.b-agencies .st-cal__done { padding: 16px 18px; border-radius: var(--r); background: var(--b-ink); color: var(--blk); font-weight: 500; }

/* estimator on narrow containers (phones, the Jefi case page column) */
@container (max-width: 860px) {
  .b-agencies .st-est__main, .b-agencies .st-est__side { display: contents; }
  .b-agencies .st-est__in, .b-agencies .st-est__out, .b-agencies .st-plan, .b-agencies .st-fit { grid-column: 1 / -1; }
  .b-agencies .st-est__in { order: 1; } .b-agencies .st-est__out { order: 2; margin-top: 48px; } .b-agencies .st-plan { order: 3; } .b-agencies .st-fit { order: 4; }
  .b-agencies .st-est__big { font-size: clamp(32px, 9cqi, 56px); }
  .b-agencies .st-plan__cols { grid-template-columns: 1fr; }
}
@container (max-width: 520px) {
  .b-agencies .st-svcs { grid-template-columns: 1fr 1fr; }
  .b-agencies .st-opts { grid-template-columns: 1fr 1fr; }
  .b-agencies .st-opts--3 { grid-template-columns: 1fr 1fr 1fr; }
  .b-agencies .st-cal__days { grid-template-columns: 1fr; }
  .b-agencies .st-cal__day { grid-template-columns: 86px repeat(3, minmax(0, 1fr)); align-items: center; }
  .b-agencies .st-cal__fields { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------ work: one strip per project */
.b-agencies .st-work { display: grid; grid-template-columns: 13% minmax(0, 1fr); gap: var(--g); }
.b-agencies .st-work__rail { position: sticky; top: 16px; align-self: start; display: grid; gap: 14px; }
.b-agencies .st-work__rail h2 { font-size: var(--t-lead); letter-spacing: -0.01em; }
.b-agencies .st-work__f { display: grid; gap: 6px; font-size: var(--t-sm); }
.b-agencies .st-work__f span { color: var(--b-ink); font-weight: 500; }
.b-agencies .st-work__f a { color: var(--mute); }
.b-agencies .st-work__list { display: grid; gap: 45px; overflow: hidden; }
.b-agencies .st-strip { display: grid; gap: 10px; text-decoration: none; transition: opacity .25s; }
.b-agencies .st-work__list:has(.st-strip:hover) .st-strip:not(:hover) { opacity: .4; }
.b-agencies .st-strip__row { display: flex; gap: var(--g); height: 190px; }
.b-agencies .st-fr { flex: none; height: 100%; border-radius: var(--r); overflow: hidden; }
.b-agencies .st-fr--pic { width: 285px; background: var(--s2); }
.b-agencies .st-fr--pic img { filter: grayscale(1) contrast(1.05); transition: filter .4s, transform .6s var(--ease); }
.b-agencies .st-strip:hover .st-fr--pic img { filter: none; transform: scale(1.04); }
.b-agencies .st-fr--num { width: 240px; padding: 18px; background: var(--b-ink); color: var(--blk); display: flex; flex-direction: column; justify-content: space-between; }
.b-agencies .st-fr--num b { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1; font-variant-numeric: tabular-nums; }
.b-agencies .st-fr--num span { font-size: var(--t-sm); line-height: 1.35; }
.b-agencies .st-fr--chart { width: 300px; background: var(--s2); display: grid; place-items: center; padding: 14px; }
.b-agencies .st-fr--chart svg, .b-agencies .st-case__chart svg { width: 100%; height: 100%; }
.b-agencies .st-fr--chart rect, .b-agencies .st-case__chart rect { fill: var(--s3); }
.b-agencies .st-fr--chart rect.on, .b-agencies .st-case__chart rect.on { fill: var(--b-ink); }
.b-agencies .st-fr--txt { width: 420px; padding: 18px; background: var(--s1); font-size: var(--t-body); line-height: 1.4; }
.b-agencies .st-fr--txt span { font-weight: 600; }
.b-agencies .st-fr--wide { width: 560px; }
.b-agencies .st-strip__row .st-fr--txt:not(.st-fr--wide) { display: none; }
.b-agencies .st-strip__row .st-fr--chart { order: 5; }
.b-agencies .st-strip__cap { display: grid; grid-template-columns: 1fr auto 1fr; gap: 16px; font-size: var(--t-sm); }
.b-agencies .st-strip__mid { text-align: center; color: var(--soft-ink); }
.b-agencies .st-strip__cap span:last-child { text-align: right; color: var(--soft-ink); }

/* ------------------------------------------------------------ process: tiles that grow */
.b-agencies .st-grow { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: end; }
.b-agencies .st-grow__h { grid-area: 1 / 1 / 2 / 8; align-self: start; display: grid; gap: 12px; position: relative; z-index: 1; }
.b-agencies .st-grow__h p { color: var(--soft-ink); }
.b-agencies .st-g { grid-row: 1; border-radius: var(--r); overflow: hidden; background: var(--s2); }
.b-agencies .st-g--1 { grid-column: 1 / 4; height: 30vh; min-height: 220px; }
.b-agencies .st-g--2 { grid-column: 4 / 8; height: 44vh; min-height: 320px; }
.b-agencies .st-g--3 { grid-column: 8 / 13; height: 60vh; min-height: 440px; }
.b-agencies .st-g img { filter: grayscale(1) contrast(1.05); }
.b-agencies .st-g__t { grid-row: 2; align-self: start; display: grid; gap: 6px; padding-top: 10px; }
.b-agencies .st-g__t p { color: var(--soft-ink); max-width: 40ch; }
.b-agencies .st-g__t.st-g--1, .b-agencies .st-g__t.st-g--2, .b-agencies .st-g__t.st-g--3 { height: auto; min-height: 0; background: none; overflow: visible; }

/* ------------------------------------------------------------ about mosaic */
.b-agencies .st-about { display: grid; gap: clamp(36px, 5vw, 72px); }
.b-agencies .st-about__h { display: grid; gap: 22px; max-width: 760px; }
.b-agencies .st-about__h p { font-size: var(--t-lead); line-height: 1.35; }
.b-agencies .st-about__row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; align-items: start; }
.b-agencies .st-about__pic { grid-column: 1 / 9; position: relative; aspect-ratio: 16 / 10; border-radius: var(--r); overflow: hidden; background: var(--s2); }
.b-agencies .st-about__pic img { filter: grayscale(1) sepia(.18) contrast(1.05); }
.b-agencies .st-about__over { position: absolute; top: 0; right: 0; width: 330px; padding: 20px; background: var(--paper); color: var(--blk); border-bottom-left-radius: var(--r); }
.b-agencies .st-about__side { grid-column: 9 / 13; display: grid; gap: 18px; }
.b-agencies .st-about__tile { aspect-ratio: 1.6; border-radius: var(--r); background: var(--stone); overflow: hidden; display: grid; }
.b-agencies .st-map { width: 100%; height: 100%; }
.b-agencies .st-map__land { fill: #b9b0a1; }
.b-agencies .st-map__river { fill: none; stroke: var(--stone); stroke-width: 12; }
.b-agencies .st-map__loop { fill: none; stroke: var(--blk); stroke-width: 6; }
.b-agencies .st-map__dot { fill: var(--blk); }
.b-agencies .st-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 16px; margin: 0; font-size: var(--t-sm); }
.b-agencies .st-facts dt { color: var(--mute); }
.b-agencies .st-facts dd { margin: 2px 0 0; font-weight: 500; }
.b-agencies .st-about__more { font-size: var(--t-body); }

/* ------------------------------------------------------------ faq: filled accordion tiles */
.b-agencies .st-faq { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-faq__h { grid-column: 1 / 5; position: sticky; top: 96px; }
.b-agencies .st-faq__list { grid-column: 5 / 13; display: grid; gap: var(--g); }
.b-agencies .st-q { background: var(--s1); border-radius: var(--r); transition: background-color .25s, color .25s; }
.b-agencies .st-q summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 72px; padding: 14px 24px; cursor: pointer; font-weight: 500; }
.b-agencies .st-q summary::-webkit-details-marker { display: none; }
.b-agencies .st-q summary:hover { color: var(--gold-2); }
.b-agencies .st-q i { position: relative; flex: none; width: 16px; height: 16px; }
.b-agencies .st-q i::before, .b-agencies .st-q i::after { content: ""; position: absolute; left: 0; top: 6.5px; width: 16px; height: 3px; background: currentColor; transition: transform .25s var(--ease); }
.b-agencies .st-q i::after { transform: rotate(90deg); }
.b-agencies .st-q[open] { background: var(--gold); color: var(--blk); }
.b-agencies .st-q[open] summary:hover { color: var(--blk); }
.b-agencies .st-q[open] i::after { transform: rotate(0); }
.b-agencies .st-q p { padding: 0 24px 24px; max-width: 52ch; }

/* ------------------------------------------------------------ cta: the action tile, cropped from a longer row */
.b-agencies main > .st-cta { margin: 0; display: grid; grid-template-columns: 3fr 7fr 2fr; gap: var(--g); height: 360px; }
.b-agencies .st-cta > * { border-radius: var(--r); overflow: hidden; }
.b-agencies .st-cta__l { border-top-left-radius: 0; border-bottom-left-radius: 0; background: var(--s2); }
.b-agencies .st-vid { display: block; width: 100%; height: 100%; object-fit: cover; filter: grayscale(1) contrast(1.05); }
.b-agencies .st-cta__r { border-top-right-radius: 0; border-bottom-right-radius: 0; background: var(--s3); }
.b-agencies .st-cta__c { background: var(--gold); color: var(--blk); padding: 40px; display: grid; align-content: center; justify-items: start; gap: 14px; }
.b-agencies .st-cta__c p { max-width: 52ch; }
.b-agencies .st-cta__c .st-btn { margin-top: 8px; }

/* ------------------------------------------------------------ inner page heads */
.b-agencies .st-head { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto; gap: var(--g); }
.b-agencies main > .st-head { margin: 0 var(--m); }
.b-agencies .st-head > * { border-radius: var(--r); overflow: hidden; }
.b-agencies .st-head__name { grid-column: 1 / 8; min-height: 44svh; background: var(--s1); display: flex; align-items: flex-end; padding: var(--pad); }
.b-agencies .st-head__say { grid-column: 8 / 13; background: var(--s2); padding: var(--pad); display: grid; align-content: end; gap: 16px; }
.b-agencies .st-head--pic .st-head__say { grid-column: 1 / 8; grid-row: 2; align-content: start; }
.b-agencies .st-head__pic { grid-column: 8 / 13; grid-row: 1 / 3; background: var(--s2); min-height: 320px; }
.b-agencies .st-head__pic img { filter: grayscale(1) contrast(1.05); }

/* services: the price board, the sheets, what we do not do */
.b-agencies .st-board { display: grid; gap: 24px; }
.b-agencies .st-board__wrap { overflow-x: auto; border-radius: var(--r); background: var(--s1); }
.b-agencies .st-table { width: 100%; border-collapse: collapse; font-size: var(--t-body); }
.b-agencies .st-table th, .b-agencies .st-table td { text-align: left; padding: 16px 20px; vertical-align: top; }
.b-agencies .st-table thead th { font-size: var(--t-sm); font-weight: 500; color: var(--mute); background: var(--s2); }
.b-agencies .st-table tbody tr + tr > * { border-top: 1px solid #3a332c; }
.b-agencies .st-table tbody th { font-weight: 500; }
.b-agencies .st-table tbody th a { text-decoration: none; }
.b-agencies .st-table tbody th a:hover { text-decoration: underline; }
.b-agencies .st-table .st-num { font-weight: 600; white-space: nowrap; }
.b-agencies .st-board__note { color: var(--soft-ink); max-width: 70ch; }
.b-agencies .st-sheets { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-sheet { display: flex; flex-direction: column; gap: 14px; padding: var(--pad); border-radius: var(--r); background: var(--s1); scroll-margin-top: 12px; }
.b-agencies .st-sheet--outbound { grid-column: span 7; }
.b-agencies .st-sheet--partner { grid-column: span 5; background: var(--s2); }
.b-agencies .st-sheet--positioning { grid-column: span 4; background: var(--stone); color: var(--blk); }
.b-agencies .st-sheet--content { grid-column: span 4; }
.b-agencies .st-sheet--revops { grid-column: span 4; background: var(--s2); }
.b-agencies .st-sheet__p { font-size: var(--t-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; margin-top: 6px; }
.b-agencies .st-sheet__u { font-size: var(--t-sm); }
.b-agencies .st-sheet__short { font-weight: 500; }
.b-agencies .st-sheet__inc { margin: 0; padding: 0 0 0 1.1em; display: grid; gap: 6px; }
.b-agencies .st-sheet__keep b, .b-agencies .st-sheet__lead b { font-weight: 600; }
.b-agencies .st-sheet__go { margin-top: auto; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 500; text-decoration: none; }
.b-agencies .st-sheet__go:hover .st-arr { transform: translate(4px, -4px); }
.b-agencies .st-not { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-not h2 { grid-column: 1 / 5; }
.b-agencies .st-not__list { grid-column: 5 / 13; display: grid; grid-template-columns: 1fr 1fr; gap: 28px 32px; padding: var(--pad); background: var(--s1); border-radius: var(--r); }
.b-agencies .st-not__i { display: grid; gap: 8px; align-content: start; }

/* work: the library */
.b-agencies .st-lib { display: grid; gap: var(--g); }
.b-agencies .st-lib__bar { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 24px; padding: var(--pad); background: var(--s1); border-radius: var(--r); }
.b-agencies .st-lib__g { display: grid; gap: 10px; align-content: start; }
.b-agencies .st-lib__l { font-weight: 500; }
.b-agencies .st-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.b-agencies .st-chip { font: 400 var(--t-sm)/1 var(--b-t); min-height: 44px; padding: 0 16px; border: 0; border-radius: var(--r); background: var(--s2); color: var(--b-ink); cursor: pointer; transition: background-color .15s, color .15s, transform .12s var(--ease); }
.b-agencies .st-chip:hover { background: var(--s3); }
.b-agencies .st-chip:active { transform: scale(.96); }
.b-agencies .st-chip[aria-pressed="true"] { background: var(--b-ink); color: var(--blk); font-weight: 500; }
.b-agencies .st-lib__count { grid-column: 1 / -1; color: var(--soft-ink); }
.b-agencies .st-lib__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-case { grid-column: span 6; display: grid; grid-template-rows: auto 1fr; background: var(--s1); border-radius: var(--r); overflow: hidden; scroll-margin-top: 12px; animation: stPop .4s var(--ease); }
.b-agencies .st-case:nth-child(4n+2), .b-agencies .st-case:nth-child(4n+3) { background: var(--s2); }
.b-agencies .st-case[hidden] { display: none; }
.b-agencies .st-case:not([data-size]):nth-child(3n+1), .b-agencies .st-case[data-size="wide"] { grid-column: 1 / -1; grid-template-columns: 5fr 7fr; grid-template-rows: auto; }
.b-agencies .st-case__pic { aspect-ratio: 3 / 2; background: var(--s2); }
.b-agencies .st-case[data-size="wide"] .st-case__pic, .b-agencies .st-case:not([data-size]):nth-child(3n+1) .st-case__pic { aspect-ratio: auto; min-height: 100%; }
.b-agencies .st-case__pic img { filter: grayscale(1) contrast(1.05); }
.b-agencies .st-case__body { display: grid; gap: 12px; align-content: start; padding: var(--pad); }
.b-agencies .st-case__body p { max-width: 62ch; }
.b-agencies .st-case__tag { color: var(--gold-2); font-weight: 500; }
.b-agencies .st-case__num b { display: block; font-size: var(--t-head); font-weight: 600; letter-spacing: -0.035em; line-height: 1.05; font-variant-numeric: tabular-nums; }
.b-agencies .st-case__chart { height: 120px; max-width: 360px; }
.b-agencies .st-case__m { font-size: var(--t-sm); color: var(--mute); }
.b-agencies .st-lib__empty { padding: var(--pad); background: var(--s1); border-radius: var(--r); }

/* process page */
.b-agencies .st-phases { display: grid; gap: var(--sec); margin: 0 var(--m); }
.b-agencies .st-phase { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-phase__side { grid-column: 1 / 6; position: sticky; top: 16px; display: grid; gap: 18px; }
.b-agencies .st-phase__side figure { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--s2); }
.b-agencies .st-phase__side img { filter: grayscale(1) contrast(1.05); }
.b-agencies .st-phase__weeks { grid-column: 6 / 13; list-style: none; margin: 0; padding: 0; display: grid; gap: var(--g); }
.b-agencies .st-wk { display: grid; gap: 10px; padding: var(--pad); background: var(--s1); border-radius: var(--r); min-height: 200px; align-content: start; }
.b-agencies .st-wk:nth-child(2n) { background: var(--s2); }
.b-agencies .st-wk p { max-width: 60ch; }
.b-agencies .st-wk__you { margin-top: auto; font-size: var(--t-sm); color: var(--gold-2); }
.b-agencies .st-rits { display: grid; gap: 28px; }
.b-agencies .st-rits__b { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-rit { display: grid; gap: 8px; align-content: start; padding: var(--pad); border-radius: var(--r); min-height: 240px; }
.b-agencies .st-rit--0 { grid-column: span 5; background: var(--b-ink); color: var(--blk); }
.b-agencies .st-rit--1 { grid-column: span 7; background: var(--s2); }
.b-agencies .st-rit--2 { grid-column: span 7; background: var(--s1); }
.b-agencies .st-rit--3 { grid-column: span 5; background: var(--stone); color: var(--blk); }
.b-agencies .st-rit__w { font-size: var(--t-sm); font-weight: 500; }
.b-agencies .st-rit p:last-child { margin-top: auto; max-width: 48ch; }
.b-agencies .st-promise { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-promise h2 { grid-column: 1 / 5; }
.b-agencies .st-promise__l { grid-column: 5 / 13; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: var(--g); }
.b-agencies .st-promise__l div { padding: var(--pad); background: var(--s1); border-radius: var(--r); display: grid; gap: 6px; }
.b-agencies .st-promise__l div:nth-child(2), .b-agencies .st-promise__l div:nth-child(3) { background: var(--s2); }
.b-agencies .st-promise__l dt { font-weight: 600; }
.b-agencies .st-promise__l dd { margin: 0; }

/* about page */
.b-agencies .st-team { display: grid; gap: 28px; }
.b-agencies .st-team__b { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-person { display: grid; gap: 8px; align-content: start; padding: var(--pad); border-radius: var(--r); background: var(--s1); min-height: 220px; }
.b-agencies .st-person--0 { grid-column: span 7; background: var(--stone); color: var(--blk); }
.b-agencies .st-person--1 { grid-column: span 5; background: var(--s2); }
.b-agencies .st-person--2, .b-agencies .st-person--3, .b-agencies .st-person--more { grid-column: span 4; }
.b-agencies .st-person--3 { background: var(--s2); }
.b-agencies .st-person--more { background: var(--s3); }
.b-agencies .st-person__r { font-size: var(--t-sm); font-weight: 500; }
.b-agencies .st-person p:last-child { max-width: 52ch; }
.b-agencies .st-rules { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-rules__pic { grid-column: 1 / 6; aspect-ratio: 1; border-radius: var(--r); overflow: hidden; background: var(--paper); }
.b-agencies .st-rules__pic img { object-fit: cover; }
.b-agencies .st-rules__t { grid-column: 6 / 13; padding: var(--pad); background: var(--s1); border-radius: var(--r); display: grid; gap: 24px; align-content: start; }
.b-agencies .st-rules ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.b-agencies .st-rules li b { font-weight: 600; }
.b-agencies .st-careers { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); scroll-margin-top: 12px; }
.b-agencies .st-careers__t { grid-column: 1 / 8; display: grid; gap: 18px; align-content: start; padding: var(--pad); background: var(--s2); border-radius: var(--r); }
.b-agencies .st-job { display: grid; gap: 10px; justify-items: start; padding-top: 10px; }
.b-agencies .st-careers__pic { grid-column: 8 / 13; border-radius: var(--r); overflow: hidden; background: #e9e2d2; min-height: 320px; }

/* insights page */
.b-agencies .st-feat { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-feat__t { grid-column: 1 / 6; display: grid; gap: 16px; align-content: start; padding: var(--pad); background: var(--s1); border-radius: var(--r); }
.b-agencies .st-feat__m { font-size: var(--t-sm); color: var(--mute); }
.b-agencies .st-feat__table { grid-column: 6 / 13; border-radius: var(--r); overflow-x: auto; background: var(--s2); }
.b-agencies .st-feat__table td:last-child { color: var(--soft-ink); font-size: var(--t-sm); }
.b-agencies .st-arts { display: grid; gap: 28px; }
.b-agencies .st-arts__b { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-art { grid-column: span 6; border-radius: var(--r); background: var(--s1); }
.b-agencies .st-art--0 { grid-column: span 7; } .b-agencies .st-art--1 { grid-column: span 5; background: var(--s2); }
.b-agencies .st-art--2 { grid-column: span 4; background: var(--s2); } .b-agencies .st-art--3 { grid-column: span 4; } .b-agencies .st-art--4 { grid-column: span 4; background: var(--stone); color: var(--blk); }
.b-agencies .st-art summary { list-style: none; display: grid; gap: 10px; padding: var(--pad); cursor: pointer; }
.b-agencies .st-art summary::-webkit-details-marker { display: none; }
.b-agencies .st-art__h { font-size: var(--t-lead); font-weight: 600; letter-spacing: -0.01em; line-height: 1.2; }
.b-agencies .st-art__m { font-size: var(--t-sm); }
.b-agencies .st-art__more { font-size: var(--t-sm); font-weight: 500; text-decoration: underline; text-underline-offset: .22em; }
.b-agencies .st-art[open] .st-art__more { display: none; }
.b-agencies .st-art summary:hover .st-art__h { text-decoration: underline; text-decoration-thickness: .06em; text-underline-offset: .15em; }
.b-agencies .st-art > p { padding: 0 var(--pad) var(--pad); max-width: 62ch; }
.b-agencies .st-news { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-news > div { grid-column: 1 / 7; display: grid; gap: 14px; align-content: start; padding: var(--pad) 0; }
.b-agencies .st-news > div p { max-width: 52ch; color: var(--soft-ink); }
.b-agencies .st-news__f { grid-column: 7 / 13; display: grid; gap: 12px; padding: var(--pad); background: var(--s2); border-radius: var(--r); align-content: start; }
.b-agencies .st-news__ok { font-weight: 500; }

/* start page */
.b-agencies .st-start { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); align-items: start; }
.b-agencies .st-start__form { grid-column: 1 / 8; display: grid; gap: var(--g); }
.b-agencies .st-brief, .b-agencies .st-after { display: grid; gap: 20px; padding: var(--pad); background: var(--s1); border-radius: var(--r); }
.b-agencies .st-brief .st-est__f { background: none; padding: 0; }
.b-agencies .st-brief__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.b-agencies .st-brief__wide { grid-column: 1 / -1; }
.b-agencies .st-brief .st-btn { justify-self: start; }
.b-agencies .st-check { display: flex !important; align-items: flex-start; gap: 12px; color: var(--b-ink) !important; font-size: var(--t-sm); cursor: pointer; }
.b-agencies .st-check input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--gold); }
.b-agencies .st-brief__fine { font-size: var(--t-sm); color: var(--mute); }
.b-agencies .st-after:focus { outline: none; }
.b-agencies .st-after > div { display: grid; gap: 16px; }
.b-agencies .st-after__alt { margin: 0; padding-left: 1.1em; display: grid; gap: 10px; }
.b-agencies .st-start__side { grid-column: 8 / 13; position: sticky; top: 16px; display: grid; gap: 18px; padding: var(--pad); background: var(--s2); border-radius: var(--r); }
.b-agencies .st-start__pic { aspect-ratio: 4 / 3; border-radius: var(--r); overflow: hidden; background: var(--s3); }
.b-agencies .st-flow { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.b-agencies .st-flow li { display: grid; grid-template-columns: 9.5em 1fr; gap: 14px; padding: 12px 14px; background: var(--s1); border-radius: var(--r); font-size: var(--t-sm); }
.b-agencies .st-flow b { font-weight: 600; }

/* ------------------------------------------------------------ footer: the mark, built from blocks */
.b-agencies .st-foot { margin: 0 var(--m); padding-top: 8px; display: grid; gap: 56px; }
.b-agencies .st-foot__word { display: flex; gap: 4px; height: 34svh; min-height: 220px; align-items: flex-end; }
.b-agencies .st-blk { flex: 1 1 0; height: var(--h); display: flex; align-items: flex-end; justify-content: center; padding-bottom: .1em; border-radius: var(--r); font-size: clamp(30px, 6.1vw, 94px); font-weight: 600; line-height: 1; letter-spacing: -0.03em; color: var(--blk); }
.b-agencies .st-blk--a { background: var(--stone); } .b-agencies .st-blk--b { background: var(--paper); } .b-agencies .st-blk--c { background: var(--pale); } .b-agencies .st-blk--g { background: var(--gold); }
.b-agencies .st-foot__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--g); }
.b-agencies .st-foot__links { grid-column: 1 / 9; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b-agencies .st-foot__links ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; align-content: start; }
.b-agencies .st-foot__links a { display: inline-block; padding: 8px 0; text-decoration: none; }
.b-agencies .st-foot__links a:hover { text-decoration: underline; }
.b-agencies .st-foot__contact { grid-column: 9 / 13; display: grid; gap: 14px; align-content: start; }
.b-agencies .st-foot__end { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; }
.b-agencies .st-foot__end p { font-size: var(--t-sm); color: var(--soft-ink); max-width: 34em; }
.b-agencies .st-foot__cred { font-size: var(--t-sm); color: var(--mute); padding-bottom: 28px; max-width: 36em; }
.b-agencies .st-foot__cred a { color: var(--soft-ink); }

/* kit chrome in this brand */
.b-agencies .dm-ribbon, .b-agencies .dm-credit { font-family: var(--b-t); }
.b-agencies .dm-ribbon { background: #000; }
.b-agencies .dm-credit { background: #000; }
.b-agencies .wc { border-radius: var(--r); }
.b-agencies .dm-chatpop { border-radius: var(--r); }
.b-agencies .dm-chatbtn > button { border-radius: var(--r); font-family: var(--b-t); font-weight: 500; min-height: 44px; }

/* the signature inside the Jefi case page */
.b-agencies.wk-sigwrap { background: var(--b-bg); color: var(--b-ink); font: 400 var(--t-body)/1.5 var(--b-t); padding: clamp(10px, 1.6vw, 20px); border-radius: var(--r); }
.b-agencies.wk-sigwrap p { margin: 0; }

/* ------------------------------------------------------------ tablet */
@media (max-width: 1100px) {
  .b-agencies .st-top__mid { grid-template-columns: auto 1fr; gap: 24px; }
  .b-agencies .st-top__nav { justify-content: flex-end; }
  .b-agencies .st-hero { grid-template-columns: 1fr 1fr; grid-template-rows: minmax(300px, 1fr) minmax(220px, .8fr) auto; height: auto; min-height: 0; max-height: none; }
  .b-agencies .st-hero__name { grid-area: 1 / 1 / 2 / 2; min-height: 46svh; }
  .b-agencies .st-hero__a { grid-area: 1 / 2 / 2 / 3; }
  .b-agencies .st-hero__b { grid-area: 2 / 1 / 3 / 3; }
  .b-agencies .st-hero__say { grid-area: 3 / 1 / 4 / 2; }
  .b-agencies .st-hero__go { grid-area: 3 / 2 / 4 / 3; min-height: 220px; }
  .b-agencies .st-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .b-agencies .st-steps__h { grid-area: 1 / 1 / 2 / -1; margin-bottom: 24px; }
  .b-agencies .st-step { grid-row: 2; }
  .b-agencies .st-step--1 { grid-column: 1; height: 470px; } .b-agencies .st-step--2 { grid-column: 2; height: 560px; }
  .b-agencies .st-step--3 { grid-column: 3; height: 680px; }
  .b-agencies .st-estsec__h h2, .b-agencies .st-estsec__h p { grid-column: 1 / -1; }
  .b-agencies .st-work { grid-template-columns: 1fr; }
  .b-agencies .st-work__rail { position: static; grid-template-columns: auto 1fr; align-items: baseline; }
  .b-agencies .st-work__f { display: flex; justify-content: flex-end; gap: 16px; }
  .b-agencies .st-strip__row { height: auto; display: grid; grid-template-columns: 1fr 1fr; }
  .b-agencies .st-fr { width: auto !important; height: clamp(150px, 26vw, 220px); }
  .b-agencies .st-fr--num { padding: 14px; }
  .b-agencies .st-fr--wide { grid-column: 1 / -1; height: auto; padding: 16px; }
  .b-agencies .st-fr--chart { display: none; }
  .b-agencies .st-faq__h { grid-column: 1 / -1; position: static; }
  .b-agencies .st-faq__list { grid-column: 1 / -1; }
  .b-agencies .st-about__pic, .b-agencies .st-about__side { grid-column: 1 / -1; }
  .b-agencies .st-about__side { grid-template-columns: 1fr 1fr; align-items: start; }
  .b-agencies .st-head__name { grid-column: 1 / -1; min-height: 34svh; }
  .b-agencies .st-head__say, .b-agencies .st-head--pic .st-head__say { grid-column: 1 / -1; grid-row: auto; }
  .b-agencies .st-head__pic { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 16 / 9; min-height: 0; }
  .b-agencies .st-sheet--outbound, .b-agencies .st-sheet--partner { grid-column: span 6; }
  .b-agencies .st-sheet--positioning, .b-agencies .st-sheet--content { grid-column: span 6; }
  .b-agencies .st-sheet--revops { grid-column: 1 / -1; }
  .b-agencies .st-not h2, .b-agencies .st-not__list, .b-agencies .st-promise h2, .b-agencies .st-promise__l { grid-column: 1 / -1; }
  .b-agencies .st-phase__side { grid-column: 1 / -1; position: static; grid-template-columns: 1fr 1fr; align-items: end; }
  .b-agencies .st-phase__weeks { grid-column: 1 / -1; }
  .b-agencies .st-feat__t, .b-agencies .st-feat__table, .b-agencies .st-news > div, .b-agencies .st-news__f { grid-column: 1 / -1; }
  .b-agencies .st-start__form, .b-agencies .st-start__side { grid-column: 1 / -1; position: static; }
  .b-agencies .st-rules__pic { grid-column: 1 / 5; } .b-agencies .st-rules__t { grid-column: 5 / 13; }
  .b-agencies .st-careers__t, .b-agencies .st-careers__pic { grid-column: 1 / -1; }
  .b-agencies .st-person--0, .b-agencies .st-person--1 { grid-column: span 6; }
  .b-agencies .st-person--2, .b-agencies .st-person--3 { grid-column: span 6; } .b-agencies .st-person--more { grid-column: 1 / -1; }
  .b-agencies .st-art--0, .b-agencies .st-art--1, .b-agencies .st-art--2, .b-agencies .st-art--3 { grid-column: span 6; } .b-agencies .st-art--4 { grid-column: 1 / -1; }
  .b-agencies .st-foot__links { grid-column: 1 / -1; } .b-agencies .st-foot__contact { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .b-agencies .st-top { grid-template-columns: 60px minmax(0, 1fr) 96px; }
  .b-agencies .st-top__mid { grid-template-columns: 1fr; }
  .b-agencies .st-top__nav, .b-agencies .st-top__go { display: none; }
  .b-agencies .st-top__menu { display: block; position: relative; }
  .b-agencies .st-top__menu summary { list-style: none; height: 60px; display: grid; place-items: center; background: var(--b-ink); color: var(--blk); border-radius: var(--r); font-weight: 500; cursor: pointer; }
  .b-agencies .st-top__menu summary::-webkit-details-marker { display: none; }
  .b-agencies .st-top__menu[open] summary { background: var(--gold); }
  .b-agencies .st-top__pop { position: absolute; right: 0; top: 68px; width: min(320px, calc(100vw - 16px)); display: grid; gap: 4px; padding: 8px; background: var(--s2); border-radius: var(--r); outline: 8px solid var(--b-bg); }
  .b-agencies .st-top__pop a { display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: var(--r); text-decoration: none; background: var(--s1); }
  .b-agencies .st-top__pop a[aria-current] { background: var(--b-ink); color: var(--blk); }
  .b-agencies .st-grow { grid-template-columns: 1fr; gap: 10px; }
  .b-agencies .st-grow__h { grid-area: auto; margin-bottom: 18px; }
  .b-agencies .st-g, .b-agencies .st-g__t { grid-row: auto !important; grid-column: 1 / -1 !important; }
  .b-agencies .st-g--1 { height: 34vw; min-height: 160px; order: 1; } .b-agencies .st-g__t.st-g--1 { order: 2; margin-bottom: 28px; }
  .b-agencies .st-g--2 { height: 46vw; min-height: 210px; order: 3; } .b-agencies .st-g__t.st-g--2 { order: 4; margin-bottom: 28px; }
  .b-agencies .st-g--3 { height: 62vw; min-height: 260px; order: 5; } .b-agencies .st-g__t.st-g--3 { order: 6; }
  .b-agencies .st-grow__h { order: 0; }
}

/* ------------------------------------------------------------ phone */
@media (max-width: 640px) {
  .b-agencies { --pad: 20px; }
  .b-agencies .st-top__word { font-size: 16px; }
  .b-agencies .st-hero { grid-template-columns: 1fr; grid-template-rows: none; gap: 6px; }
  .b-agencies .st-hero > * { grid-area: auto !important; }
  .b-agencies .st-hero__name { min-height: 30svh; }
  .b-agencies .st-hero__name h1 { font-size: 12vw; }
  .b-agencies .st-hero__a { aspect-ratio: 4 / 3; order: 1; }
  .b-agencies .st-hero__say { order: 2; }
  .b-agencies .st-hero__go { order: 3; min-height: 200px; }
  .b-agencies .st-hero__b { order: 4; aspect-ratio: 3 / 2; }
  .b-agencies .st-hero__name { order: 0; }
  .b-agencies .st-steps { grid-template-columns: 1fr; }
  .b-agencies .st-step, .b-agencies .st-step--1, .b-agencies .st-step--2, .b-agencies .st-step--3 { grid-column: 1; grid-row: auto; height: auto; min-height: 0; }
  .b-agencies .st-steps__h { grid-area: auto; }
  .b-agencies .st-step__l { margin-bottom: 22px; }
  .b-agencies .st-work__rail { grid-template-columns: 1fr; }
  .b-agencies .st-work__f { justify-content: flex-start; flex-wrap: wrap; }
  .b-agencies .st-strip__cap { grid-template-columns: 1fr auto; }
  .b-agencies .st-strip__mid { display: none; }
  .b-agencies .st-about__over { position: static; width: auto; border-radius: 0; }
  .b-agencies .st-about__pic { aspect-ratio: auto; display: grid; }
  .b-agencies .st-about__pic img { aspect-ratio: 4 / 3; height: auto; }
  .b-agencies .st-about__side { grid-template-columns: 1fr; }
  .b-agencies .st-about__tile { aspect-ratio: 3 / 2; }
  .b-agencies .st-q summary { min-height: 64px; padding: 14px 20px; }
  .b-agencies .st-q p { padding: 0 20px 20px; }
  .b-agencies main > .st-cta { grid-template-columns: 1fr 1fr; height: auto; margin: 0 var(--m); }
  .b-agencies .st-cta__c { grid-column: 1 / -1; grid-row: 1; padding: 28px 22px; min-height: 300px; }
  .b-agencies .st-cta__l, .b-agencies .st-cta__r { height: 140px; border-radius: var(--r) !important; }
  .b-agencies main > .st-cta { grid-template-columns: 3fr 1fr; }
  .b-agencies .st-head__name { min-height: 26svh; }
  .b-agencies .st-head__name h1 { font-size: 11vw; }
  .b-agencies .st-sheets > * { grid-column: 1 / -1 !important; }
  .b-agencies .st-not__list { grid-template-columns: 1fr; }
  .b-agencies .st-lib__bar { grid-template-columns: 1fr; }
  .b-agencies .st-lib__grid > .st-case { grid-column: 1 / -1 !important; grid-template-columns: 1fr !important; }
  .b-agencies .st-case__pic { aspect-ratio: 3 / 2 !important; min-height: 0 !important; }
  .b-agencies .st-phase__side { grid-template-columns: 1fr; }
  .b-agencies .st-rits__b > *, .b-agencies .st-team__b > *, .b-agencies .st-arts__b > * { grid-column: 1 / -1 !important; }
  .b-agencies .st-rit, .b-agencies .st-person { min-height: 0; }
  .b-agencies .st-promise__l { grid-template-columns: 1fr; }
  .b-agencies .st-rules__pic, .b-agencies .st-rules__t { grid-column: 1 / -1; }
  .b-agencies .st-rules__pic { aspect-ratio: 3 / 2; }
  .b-agencies .st-brief__row { grid-template-columns: 1fr; }
  .b-agencies .st-flow li { grid-template-columns: 1fr; gap: 2px; }
  .b-agencies .st-foot__word { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); grid-auto-rows: 19svh; height: auto; min-height: 0; align-items: end; }
  .b-agencies .st-blk { font-size: 11vw; height: var(--h); }
  .b-agencies .st-foot__links { grid-template-columns: 1fr 1fr; }
  .b-agencies .st-foot__end { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .b-agencies *, .b-agencies *::before, .b-agencies *::after { animation: none !important; transition-duration: .01ms !important; }
}
