/* BrokerConnector · Agencies
   Builds on style.css and about.css (the inner pages' hero, FAQs, where next, the WhatsApp button). Here: why agencies
   join (a bento led by the numbers), the agencies on board, the way into the calculator, and why it's good for you. */

.why, .board, .try, .good { position: relative; isolation: isolate; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: clamp(16px, 2vw, 32px); padding: clamp(110px, 16vh, 180px) var(--gutter); color: var(--ink); }

/* =========================================================
   02 · Why agencies join: five tiles, each led by its number
   ========================================================= */
.why__head { grid-column: 1 / -1; margin-bottom: clamp(40px, 7vh, 72px); }
.why__title { margin: 0; max-width: 14ch; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
/* the homepage's bento, its tiles and tints (style.css .bento, .tile); here only the sizes, the tints and the visuals */
.ag-bento { grid-column: 1 / -1; grid-template-rows: minmax(400px, auto) minmax(380px, auto); } /* 40px shorter each without the labels (Hasan, 3 Nov) */
.ag-tile { color: var(--ink); }
.ag-tile--hours { grid-column: span 7; background: #EEF3FB; }
.ag-tile--stock { grid-column: span 5; background: radial-gradient(90% 70% at 100% 0%, rgba(46, 89, 209, .10), transparent 60%), linear-gradient(160deg, #EEF2FB 0%, #DCE4F5 100%); }
.ag-tile--a2a { grid-column: span 4; background: linear-gradient(160deg, #F0F3FD 0%, #DFE7FA 100%); }
.ag-tile--areas { grid-column: span 4; background: linear-gradient(120deg, #E3F7F2 0%, #CDEFE7 100%); }
.ag-tile--refer { grid-column: span 4; background: linear-gradient(170deg, #F3F5F9 0%, #E1E7F1 100%); }
.ag-big { margin: 0; font-size: clamp(44px, 4vw, 68px); letter-spacing: -.05em; line-height: .95; }
.ag-big b { font-weight: 400; font-variant-numeric: tabular-nums; }
.ag-big small { margin-left: 6px; font-size: 15px; letter-spacing: 0; color: rgba(9, 15, 27, .55); }
/* the hours tile: its visual top to bottom, the number, the day, the key */
.ag-day { flex-direction: column; align-items: stretch; justify-content: center; gap: 22px; }
.ag-day .why__key { margin: 6px 0 0; }
/* the referral tile: the number, then the partners drifting past across the tile */
.ag-partners { flex-direction: column; align-items: stretch; justify-content: center; gap: 26px; margin-left: -24px; margin-right: -24px; }
.ag-partners .ag-big { padding: 0 24px; }

/* hours back: the working day as hour blocks; the portal hours turn teal, back to you */
.why__day { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(16px, 1.4vw, 22px); }
.why__hours { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)); gap: 6px; }
.why__hours i { position: relative; height: clamp(56px, 7vh, 76px); border-radius: 10px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); }
.why__hours i[data-portal] { background: repeating-linear-gradient(135deg, #DDE2EA 0 6px, #E8ECF2 6px 12px); }
/* back to you: teal fills each portal hour from the bottom (agencies.js adds the fill) */
.why__fill { position: absolute; inset: 0; border-radius: inherit; background: #19E8C9; transform-origin: bottom; }
.why__hours span { position: absolute; left: 0; right: 0; bottom: -18px; font-size: 11px; text-align: center; color: rgba(9, 15, 27, .45); }
.why__key { display: flex; flex-wrap: wrap; gap: 4px 14px; margin: 22px 0 0; font-size: 12px; color: rgba(9, 15, 27, .55); }
.why__key .k { display: inline-flex; align-items: center; gap: 8px; }
.why__key .k::before { content: ""; width: 12px; height: 12px; border-radius: 4px; }
.why__key .k--portal::before { background: repeating-linear-gradient(135deg, #DDE2EA 0 3px, #E8ECF2 3px 6px); box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .1); }
.why__key .k--back::before { background: #19E8C9; }

/* off-market: a ring drawn to 70% */
.why__ring { display: grid; place-items: center; }
.why__ring svg { width: min(70%, 210px) !important; }
.why__ring svg { width: min(78%, 190px); aspect-ratio: 1; transform: rotate(-90deg); }
.why__ring circle { fill: none; stroke-width: 7; stroke-linecap: round; }
.why__track { stroke: rgba(9, 15, 27, .09); }
.why__arc { stroke: #19E8C9; stroke-dasharray: 70 100; stroke-dashoffset: 0; }
.why__ring p { position: absolute; display: grid; justify-items: center; margin: 0; font-size: clamp(36px, 3vw, 52px); letter-spacing: -.05em; line-height: 1; }
.why__ring p b { font-weight: 400; font-variant-numeric: tabular-nums; }
.why__over { margin-bottom: 2px; font-size: 13px; font-style: normal; letter-spacing: 0; line-height: 1.2; color: rgba(9, 15, 27, .6); } /* small, so the 70% fits inside the ring */
.why__ring small { max-width: 13ch; margin-top: 6px; font-size: 12px; letter-spacing: 0; line-height: 1.3; text-align: center; color: rgba(9, 15, 27, .5); }

/* A2A: the agreement fills in, the timer counts, and the stamp lands */
.why__doc { display: grid; place-items: center; }
.why__paper { position: relative; display: grid; gap: 9px; width: min(84%, 240px); padding: 16px 16px 18px; border-radius: 14px; background: #fff; box-shadow: 0 1px 2px rgba(9, 15, 27, .06), 0 18px 40px -20px rgba(20, 40, 90, .35); transform: rotate(-2deg); }
.why__doc-t { display: flex; justify-content: space-between; margin: 0 0 4px; font-size: 13px; font-weight: 600; }
.why__timer { font-weight: 500; color: #0E9E8A; font-variant-numeric: tabular-nums; }
.why__timer b { font-weight: 500; }
.why__field { display: block; height: 8px; border-radius: 4px; background: #E9EDF3; transform-origin: left; }
.why__field--s { width: 62%; }
.why__sign { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 8px; }
.why__sign svg { display: block; width: 100%; height: 24px; border-bottom: 1.5px solid rgba(9, 15, 27, .2); overflow: visible; }
.why__sign path { fill: none; stroke: #141C30; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.why__stamp { position: absolute; right: 14px; top: 50px; padding: 5px 10px; border: 2px solid #0E9E8A; border-radius: 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #0E9E8A; transform: rotate(-10deg); }

/* your areas: Dubai's areas as chips, only yours lit */
.why__areas { flex-wrap: wrap; align-content: center; gap: 8px; }
.why__areas span { padding: 7px 11px; border-radius: 999px; font-size: 13px; color: rgba(9, 15, 27, .4); background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); transition: color .35s ease, background-color .35s ease, box-shadow .35s ease; }
.why__areas span { display: inline-flex; align-items: center; }
.why__areas span::before { content: ""; width: 0; height: 9px; margin-right: 0; border: solid #0E9E8A; border-width: 0 2px 2px 0; opacity: 0; transform: rotate(45deg) translateY(-2px); transition: width .3s ease, margin .3s ease, opacity .3s ease; }
.why__areas span.is-lit { color: var(--ink); background: #D6FBF4; box-shadow: inset 0 0 0 1.5px #19E8C9; }
.why__areas span.is-lit::before { width: 5px; margin-right: 8px; opacity: 1; } /* a check ticks in */

/* referrals: the partners' services drifting past under the number */
.why__partners { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(20px, 2vw, 28px) 0; }
.why__partners .why__big { padding: 0 clamp(16px, 1.4vw, 22px); }
.why__belt { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.why__belt div { display: flex; gap: 8px; width: max-content; animation: board-run 22s linear infinite; animation-play-state: paused; }
.why__belt.is-on div { animation-play-state: running; }
.why__belt span { padding: 7px 11px; border-radius: 999px; font-size: 13px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); white-space: nowrap; }
@keyframes board-run { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .why__belt div { animation: none; } }

/* =========================================================
   03 · Already on board: three numbers, then the names drifting past
   ========================================================= */
.board { color: #EEF2FA; row-gap: clamp(36px, 6vh, 64px); overflow: hidden; }
.board__title { grid-column: 1 / 7; align-self: start; margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.board__lede { grid-column: 8 / 13; align-self: start; margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(238, 242, 250, .7); }
/* the big number, the other two beside it */
.board__hero { position: relative; isolation: isolate; grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); align-items: end; gap: clamp(24px, 4vw, 64px); padding: clamp(28px, 5vh, 56px) 0; border-top: 1px solid rgba(255, 255, 255, .12); border-bottom: 1px solid rgba(255, 255, 255, .12); }
.board__big { display: flex; align-items: baseline; flex-wrap: wrap; margin: 0; font-size: clamp(120px, 17vw, 280px); letter-spacing: -.07em; line-height: .8; color: #fff; }
.board__big b { font-weight: 400; font-variant-numeric: tabular-nums; }
.board__big small { margin-left: clamp(12px, 1.4vw, 24px); font-size: clamp(20px, 1.8vw, 30px); letter-spacing: -.01em; color: rgba(238, 242, 250, .7); }
.board__side { display: grid; gap: clamp(18px, 3vh, 28px); margin: 0 0 clamp(6px, 1vh, 14px); }
.board__side div { display: grid; gap: 6px; }
.board__side dd { order: -1; margin: 0; font-size: clamp(44px, 4.2vw, 72px); letter-spacing: -.05em; line-height: .95; }
.board__side dd b { font-weight: 400; font-variant-numeric: tabular-nums; }
.board__side dt { font-size: 15px; color: rgba(238, 242, 250, .62); }
/* the agencies: their logos in a row of glass cards (placeholders for now), the last one teal */
.board__cards { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1vw, 16px); margin: 0; padding: 0; list-style: none; }
.board__card { display: grid; place-items: center; min-height: clamp(110px, 14vh, 140px); padding: 18px; border-radius: 20px; text-align: center; background: rgba(255, 255, 255, .04); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .09); }
.board__logo { width: auto; max-width: 100%; height: clamp(24px, 2vw, 30px); opacity: .9; }
.board__logo text { font-family: inherit; font-size: 17px; font-weight: 600; letter-spacing: -.02em; fill: #fff; }
.board__card span { font-size: clamp(20px, 1.7vw, 28px); letter-spacing: -.03em; color: #fff; }
.board__card--more { background: rgba(25, 232, 201, .1); box-shadow: inset 0 0 0 1px rgba(25, 232, 201, .35); }
.board__card--more span { font-size: clamp(16px, 1.2vw, 19px); letter-spacing: -.01em; color: #19E8C9; }

/* =========================================================
   04 · The way into the calculator: one sentence you change, and the clock of light in a night panel beside it
   ========================================================= */
.try { align-items: center; row-gap: 40px; padding-top: clamp(100px, 14vh, 160px); padding-bottom: clamp(100px, 14vh, 160px); }
.try__words { grid-column: 1 / 8; display: grid; justify-items: start; }
/* the hierarchy: the title, the number, one quiet line with the agents in it */
.try__title { margin: 0; max-width: 14ch; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.try__big { display: flex; align-items: flex-start; gap: .14em; margin: clamp(32px, 5vh, 52px) 0 10px; font-size: clamp(56px, 6vw, 104px); letter-spacing: -.055em; line-height: .9; }
.try__big span { margin-top: .16em; font-size: .28em; letter-spacing: 0; color: rgba(9, 15, 27, .5); }
.try__big b { font-weight: 400; font-variant-numeric: tabular-nums; }
.try__cap { margin: 0; font-size: clamp(17px, 1.3vw, 20px); line-height: 1.5; color: rgba(9, 15, 27, .62); }
/* the agents in the line: a pill that follows the slider */
.try__pill { display: inline-block; min-width: 2.4ch; padding: 0 .4em; border-radius: .4em; font-weight: 500; text-align: center; color: var(--ink); background: #D6FBF4; box-shadow: inset 0 0 0 1.5px #19E8C9; font-variant-numeric: tabular-nums; }
/* the slider: wide, a fine track filled in teal, a round handle, a few marks under it */
.try__slide { width: min(100%, 560px); margin-top: clamp(28px, 5vh, 44px); }
.try__range { -webkit-appearance: none; appearance: none; display: block; width: 100%; height: 28px; margin: 0; background: transparent; cursor: pointer; --p: 15%; }
.try__range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(to right, #10B39B var(--p), #E4E8EF var(--p)); }
.try__range::-moz-range-track { height: 4px; border-radius: 4px; background: #E4E8EF; }
.try__range::-moz-range-progress { height: 4px; border-radius: 4px; background: #10B39B; }
.try__range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; margin-top: -11px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(9, 15, 27, .12), 0 6px 14px rgba(9, 15, 27, .2); transition: transform .2s ease, box-shadow .2s ease; }
.try__range::-moz-range-thumb { width: 26px; height: 26px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 1px rgba(9, 15, 27, .12), 0 6px 14px rgba(9, 15, 27, .2); }
.try__range:hover::-webkit-slider-thumb, .try__range:focus-visible::-webkit-slider-thumb { transform: scale(1.1); box-shadow: 0 0 0 7px rgba(25, 232, 201, .25), 0 6px 14px rgba(9, 15, 27, .2); }
.try__range:focus { outline: none; }
.try__ctas { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 24px; margin-top: clamp(32px, 5vh, 48px); }
/* the clock, in a square night panel */
.try__panel { grid-column: 8 / 13; position: relative; aspect-ratio: 1; } /* no card: the clock sits straight on the night */
/* on the night: light type and a darker track */
.try.sec-night .try__title, .try.sec-night .try__big b { color: #fff; }
.try.sec-night .try__big span, .try.sec-night .try__cap { color: rgba(238, 242, 250, .6); }
.try.sec-night .try__pill { color: #fff; background: rgba(25, 232, 201, .14); }
.try.sec-night .try__range::-webkit-slider-runnable-track { background: linear-gradient(to right, #19E8C9 var(--p), rgba(255, 255, 255, .14) var(--p)); }
.try.sec-night .try__range::-moz-range-track { background: rgba(255, 255, 255, .14); }
.try.sec-night .try__range::-moz-range-progress { background: #19E8C9; }
.try__clock { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }

/* =========================================================
   05 · Why it's good for you: the title left, four big rows right, on the mint
   ========================================================= */
.good { row-gap: clamp(40px, 6vh, 64px); overflow: hidden; }
.good__title { grid-column: 1 / 7; align-self: start; margin: 0; font-size: clamp(40px, 4.4vw, 72px); font-weight: 400; letter-spacing: -.04em; line-height: 1; text-wrap: balance; }
.good__side { grid-column: 8 / 13; align-self: start; display: grid; justify-items: end; }
.good__ctas { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 12px 24px; }
.good__link { font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
/* the card: five rows, a label and a big value each; the value rolls between without and with */
.vs { grid-column: 1 / -1; padding: clamp(8px, 1.4vw, 20px) clamp(24px, 3vw, 48px); border-radius: 28px; background: rgba(255, 255, 255, .78); box-shadow: 0 0 0 1px rgba(9, 15, 27, .05), 0 50px 100px -70px rgba(20, 60, 60, .5); }
.vs__rows { margin: 0; padding: 0; list-style: none; }
/* which side you're looking at, rolling with the values */
.vs__state { display: grid; overflow: hidden; margin: 0; padding: clamp(14px, 2vh, 20px) 0 clamp(6px, 1vh, 10px); font-size: 14px; font-weight: 500; }
.vs__state .vs__off { color: rgba(9, 15, 27, .5); }
.vs__state .vs__on { color: #0E9E8A; }
.vs__state .vs__on::before { display: none; }
.vs__rows li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); align-items: center; gap: 24px; padding: clamp(18px, 2.8vh, 28px) 0; border-top: 1px solid rgba(9, 15, 27, .09); }
.vs__rows li:first-child { border-top: 0; }
.vs__label { font-size: clamp(15px, 1.15vw, 18px); color: rgba(9, 15, 27, .6); }
.vs__val { position: relative; display: grid; overflow: hidden; font-size: clamp(26px, 2.6vw, 44px); letter-spacing: -.035em; line-height: 1.15; }
.vs__off, .vs__on { grid-area: 1 / 1; transition: transform .4s cubic-bezier(.65, 0, .35, 1), opacity .4s ease, color .4s ease; }
.vs__off { color: rgba(9, 15, 27, .45); }
.vs__on { display: flex; align-items: center; gap: .35em; color: var(--ink); }
.vs__on::before { content: ""; flex: none; width: .62em; height: .62em; border-radius: 50%; background: #19E8C9 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23090F1B' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3.5 8.5l3 3 6-7'/%3E%3C/svg%3E") center / 70% no-repeat; }
.vs:not(.is-on) .vs__on { transform: translateY(105%); opacity: 0; }
.vs.is-on .vs__off { transform: translateY(-105%); opacity: 0; }
/* each row rolls a beat after the one above */
.vs__rows li:nth-child(2) span { transition-delay: .04s; } .vs__rows li:nth-child(3) span { transition-delay: .08s; }
.vs__rows li:nth-child(4) span { transition-delay: .12s; } .vs__rows li:nth-child(5) span { transition-delay: .16s; }
@media (prefers-reduced-motion: reduce) { .vs__off, .vs__on { transition: none; } }

/* =========================================================
   Tablets and phones
   ========================================================= */
/* the bento turns six wide where the homepage's does (style.css, 1100px) */
@media (max-width: 1100px) {
  .ag-bento { grid-template-rows: none; }
  .ag-tile--hours, .ag-tile--stock, .ag-tile--refer { grid-column: span 6; }
  .ag-tile--a2a, .ag-tile--areas { grid-column: span 3; }
}
@media (max-width: 1024px) {
  .board__title, .board__lede { grid-column: 1 / -1; }
  .board__cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .try__words, .try__panel { grid-column: 1 / -1; }
  .try__panel { width: min(100%, 520px); justify-self: center; }
  .good__title, .good__side { grid-column: 1 / -1; justify-items: start; }
  .good__ctas { justify-content: flex-start; }
}
@media (max-width: 720px) {
  .ag-partners { margin-left: -20px; margin-right: -20px; }
  .ag-partners .ag-big { padding: 0 20px; }
  .why__hours { gap: 4px; }
  .why__hours i { border-radius: 7px; }
  .board__hero { grid-template-columns: 1fr; }
  .board__side { grid-template-columns: 1fr 1fr; }
  .board__cards { grid-template-columns: 1fr 1fr; }
  .board__card { min-height: 88px; }
  .board__card--more { grid-column: 1 / -1; min-height: 64px; }
  .try__panel { border-radius: 22px; }
  .vs__rows li { grid-template-columns: 1fr; gap: 6px; }
}

/* (24 Nov) the hero's words: the problem, then the offer (Hugh and Tom's copy), two short paragraphs */
.ag-hero__copy { display: grid; gap: .7em; max-width: 36ch; }
.ag-hero__copy p { margin: 0; }
/* (24 Nov) the hero title is two longer sentences now: on phones each may wrap at a word, so it never runs off the screen */
@media (max-width: 720px) { .ab-hero__title .line { white-space: normal; } }

/* =========================================================
   (24 Nov) Why join BrokerConnector? The client's nine boxes, in their order. On a computer a zigzag of rows: 7+5,
   4+4+4, 5+7, 7+5; six wide at 1100px; one column on phones (style.css)
   ========================================================= */
.ag-bento { grid-template-rows: none; grid-auto-rows: minmax(360px, auto); }
.ag-tile--hours { grid-column: span 7; }
.ag-tile--stock { grid-column: span 5; }
.ag-tile--areas, .ag-tile--close, .ag-tile--outsource { grid-column: span 4; }
.ag-tile--refer { grid-column: span 5; }
.ag-tile--network { grid-column: span 7; background: linear-gradient(160deg, #F0F3FD 0%, #DFE7FA 100%); }
.ag-tile--market { grid-column: span 7; background: radial-gradient(90% 70% at 100% 0%, rgba(25, 232, 201, .16), transparent 60%), linear-gradient(160deg, #EEF6F5 0%, #DDEDEA 100%); }
.ag-tile--a2a { grid-column: span 5; }
.ag-tile--close { background: linear-gradient(200deg, #E8F2FB 0%, #D5E6F6 100%); }
.ag-tile--outsource { background: #EEF3FB; }
.ag-tile .tile__title { max-width: 26ch; text-wrap: balance; }
.ag-tile .tile__text { max-width: 44ch; }
/* the hours tile's way into the calculator */
.ag-tile__link { display: inline-flex; align-items: center; gap: 8px; justify-self: start; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(9, 15, 27, .3); transition: color .25s ease; }
.ag-tile__link svg { width: 14px; height: 14px; }
.ag-tile__link:hover { color: #0E9E8A; }

/* close before the portals: the deal runs its steps while the portal listing waits, struck through */
.ag-race { flex-direction: column; align-items: stretch; justify-content: center; gap: 14px; }
.ag-race__steps { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; counter-reset: s; }
.ag-race__steps li { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); }
.ag-race__steps li::before { counter-increment: s; content: counter(s); display: grid; place-items: center; flex: none; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 600; background: #EEF1F6; }
.ag-race__steps li.is-win { font-weight: 600; background: #D6FBF4; box-shadow: inset 0 0 0 1.5px #19E8C9; }
.ag-race__steps li.is-win::before { content: "✓"; background: #19E8C9; }
.ag-race__late { margin: 0; padding: 9px 12px; border-radius: 12px; font-size: 13.5px; color: rgba(9, 15, 27, .45); border: 1px dashed rgba(9, 15, 27, .2); }
.ag-race__late span { text-decoration: line-through; text-decoration-color: rgba(9, 15, 27, .35); }

/* outsource the searching: the requirement goes in, the team takes it */
.ag-ask { align-items: center; }
.ag-ask__card { display: grid; gap: 12px; width: min(100%, 300px); padding: 16px; border-radius: 16px; background: #fff; box-shadow: 0 1px 2px rgba(9, 15, 27, .06), 0 18px 40px -24px rgba(20, 40, 90, .35); }
.ag-ask__req { display: grid; gap: 3px; margin: 0; font-size: 13px; color: rgba(9, 15, 27, .6); }
.ag-ask__req b { font-size: 14px; font-weight: 600; color: var(--ink); }
.ag-ask__status { display: flex; align-items: center; gap: 9px; margin: 0; padding: 9px 11px; border-radius: 10px; font-size: 13px; font-weight: 500; color: #0B7F70; background: #D6FBF4; }
.ag-ask__status i { position: relative; flex: none; width: 8px; height: 8px; border-radius: 50%; background: #19E8C9; }
.ag-ask__status i::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid #19E8C9; opacity: 0; animation: ag-ping 1.6s ease-out infinite; }
@keyframes ag-ping { 0% { transform: scale(.5); opacity: .9; } 100% { transform: scale(1.6); opacity: 0; } }
.ag-ask__time { margin: 0; font-size: 12.5px; color: rgba(9, 15, 27, .55); }
.ag-ask__time b { font-weight: 600; color: var(--ink); }

/* the network: brokers joined up, the lines drawing in from you */
.ag-net svg { width: 100%; max-width: 460px; height: auto; overflow: visible; }
.ag-net__links path { fill: none; stroke: rgba(46, 89, 209, .35); stroke-width: 1.6; stroke-linecap: round; }
.ag-net__nodes circle { fill: #fff; stroke: rgba(46, 89, 209, .5); stroke-width: 1.5; }
.ag-net__nodes circle.is-you { fill: #19E8C9; stroke: #0E9E8A; }

/* the whole market: what the portals show, against everything */
.ag-reach { flex-direction: column; align-items: stretch; justify-content: center; gap: 16px; }
.ag-reach__row { display: grid; gap: 7px; }
.ag-reach__label { font-size: 13px; color: rgba(9, 15, 27, .6); }
.ag-reach__row.is-us .ag-reach__label { font-weight: 600; color: var(--ink); }
.ag-reach__bar { display: block; height: 14px; overflow: hidden; border-radius: 99px; background: rgba(9, 15, 27, .07); }
.ag-reach__bar i { display: block; height: 100%; border-radius: inherit; background: #B9C3D6; transform-origin: left; }
.ag-reach__row.is-us .ag-reach__bar i { background: linear-gradient(90deg, #2E59D1, #19E8C9); }
.ag-reach__key { margin: 2px 0 0; font-size: 12.5px; color: rgba(9, 15, 27, .55); }

@media (max-width: 1100px) {
  .ag-tile--hours, .ag-tile--stock, .ag-tile--areas, .ag-tile--close, .ag-tile--outsource, .ag-tile--refer, .ag-tile--network, .ag-tile--market, .ag-tile--a2a { grid-column: span 3; }
  .ag-tile--hours, .ag-tile--refer, .ag-tile--network, .ag-tile--market, .ag-tile--a2a { grid-column: span 6; } /* pairs left over: stock and areas, close and outsource */
}

/* =========================================================
   (24 Nov) the agencies' logos, kept from Already on board as one banner drifting past under the hero
   ========================================================= */
.logos { position: relative; display: grid; gap: 18px; padding: clamp(28px, 5vh, 48px) 0 clamp(36px, 6vh, 64px); color: #EEF2FA; border-top: 1px solid rgba(255, 255, 255, .08); }
.logos__label { margin: 0; padding: 0 var(--gutter); font-size: 14px; color: rgba(238, 242, 250, .6); }
.logos__belt { display: flex; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.logos__run { display: flex; flex: none; gap: clamp(10px, 1vw, 16px); margin: 0; padding: 0 clamp(5px, .5vw, 8px); list-style: none; animation: logos-run 90s linear infinite; animation-play-state: paused; }
.logos__belt.is-on .logos__run { animation-play-state: running; }
.logos__run .board__card { min-width: clamp(170px, 16vw, 240px); min-height: clamp(84px, 11vh, 110px); }
@keyframes logos-run { to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .logos__run { animation: none; } }

/* (24 Nov, Hasan: "too noisy") Why join BrokerConnector? made calm: an even 3 by 3 grid, every box the same soft colour,
   each a small line icon, the bold line and the small text. No visuals or animations. Two across on tablets, one on phones */
.ag-bento { grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.ag-bento .ag-tile { grid-column: auto !important; justify-content: flex-start; gap: clamp(28px, 5vh, 56px); min-height: clamp(260px, 32vh, 320px); padding: clamp(24px, 2.2vw, 32px); background: #F2F5FA; }
.ag-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); }
.ag-ico svg { width: 22px; height: 22px; fill: none; stroke: #0B7F70; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.ag-ico svg .f { fill: #0B7F70; }
.ag-bento .tile__foot { margin-top: auto; }
.ag-bento .tile__title { font-size: clamp(20px, 1.6vw, 25px); max-width: 24ch; }
.ag-bento .tile__text { font-size: 14.5px; max-width: 40ch; color: rgba(9, 15, 27, .66); opacity: 1; }
@media (max-width: 1100px) { .ag-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .ag-bento { grid-template-columns: 1fr; } .ag-bento .ag-tile { min-height: 0; } }

/* =========================================================
   (24 Nov, Hasan: no bento) Why join BrokerConnector? as a list: the title holds on the left (sticky) while the nine
   reasons pass on the right, numbered, on hairlines. One column on tablets and phones
   ========================================================= */
.why .why__head { grid-column: 1 / 5; align-self: start; position: sticky; top: clamp(96px, 14vh, 140px); margin-bottom: 0; }
.ag-why { grid-column: 6 / 13; margin: 0; padding: 0; list-style: none; counter-reset: why; border-top: 1px solid rgba(9, 15, 27, .12); }
.ag-why__row { display: grid; grid-template-columns: 3.2rem minmax(0, 1fr); column-gap: clamp(12px, 1.6vw, 24px); row-gap: 10px; padding: clamp(24px, 3.6vh, 36px) 0; border-bottom: 1px solid rgba(9, 15, 27, .12); counter-increment: why; }
.ag-why__row::before { content: counter(why, decimal-leading-zero); grid-row: 1 / span 3; padding-top: .35em; font-size: 14px; font-weight: 500; font-variant-numeric: tabular-nums; color: #0E9E8A; }
.ag-why__title { grid-column: 2; margin: 0; max-width: 30ch; font-size: clamp(21px, 1.7vw, 27px); font-weight: 400; letter-spacing: -.025em; line-height: 1.2; text-wrap: balance; }
.ag-why__text { grid-column: 2; margin: 0; max-width: 52ch; font-size: clamp(15px, 1.1vw, 16.5px); line-height: 1.55; color: rgba(9, 15, 27, .64); }
.ag-why__link { grid-column: 2; justify-self: start; display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 500; color: var(--ink); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: rgba(9, 15, 27, .3); transition: color .25s ease; }
.ag-why__link svg { width: 14px; height: 14px; }
.ag-why__link:hover { color: #0E9E8A; }
@media (max-width: 1024px) {
  .why .why__head { grid-column: 1 / -1; position: static; margin-bottom: clamp(28px, 5vh, 48px); }
  .ag-why { grid-column: 1 / -1; }
}
@media (max-width: 720px) { .ag-why__row { grid-template-columns: 2.4rem minmax(0, 1fr); } }

/* =========================================================
   (24 Nov, Hasan: "visual, sexy, award winning, modern and premium"; no bento, no numbers) Why join BrokerConnector?
   On a computer the reasons scroll past on the left, the one in focus bright and the rest dimmed; on the right a large
   stage on the light brand gradient holds still and shows one visual at a time. Tablets and phones: each reason with
   its own visual above it
   ========================================================= */
.why { row-gap: 0; }
.why .why__head { grid-column: 1 / 6; grid-row: 1; position: static; align-self: end; margin-bottom: clamp(20px, 4vh, 40px); }
.ag-why { grid-column: 1 / 6; grid-row: 2; border-top: 0; padding-bottom: 18vh; }
.ag-why__row { display: flex; flex-direction: column; justify-content: center; gap: 12px; min-height: 52vh; padding: 0; border-bottom: 0; opacity: .24; transition: opacity .5s ease; }
.ag-why__row::before { content: none; }
.ag-why__row.is-on { opacity: 1; }
.ag-why__title { font-size: clamp(26px, 2.3vw, 38px); letter-spacing: -.035em; line-height: 1.08; max-width: 18ch; }
.ag-why__text { max-width: 42ch; font-size: clamp(15.5px, 1.15vw, 17px); }
.ag-why__art { display: none; }

/* the stage */
.ag-stage { grid-column: 7 / 13; grid-row: 1 / span 2; align-self: stretch; }
.ag-stage__in { position: sticky; top: calc(50vh - min(34vh, 300px)); height: min(68vh, 600px); overflow: hidden; border-radius: 32px; background: radial-gradient(55% 50% at 78% 82%, rgba(201, 247, 236, .95) 0%, rgba(201, 247, 236, 0) 70%), radial-gradient(60% 55% at 12% 10%, rgba(255, 255, 255, .55) 0%, rgba(255, 255, 255, 0) 70%), linear-gradient(160deg, #AEBDF2 0%, #BDCDF1 45%, #D2E3F0 100%); box-shadow: 0 40px 90px -60px rgba(20, 40, 90, .45); }
.ag-scene { position: absolute; inset: 0; display: grid; place-items: center; padding: clamp(28px, 4vw, 64px); opacity: 0; visibility: hidden; transform: translateY(18px) scale(.985); transition: opacity .55s ease, transform .7s cubic-bezier(.22, 1, .36, 1), visibility 0s linear .55s; }
.ag-scene.is-on { opacity: 1; visibility: visible; transform: none; transition: opacity .55s ease .1s, transform .7s cubic-bezier(.22, 1, .36, 1) .1s, visibility 0s; }
/* a scene's art: as it sat in its tile, drawn larger on the stage */
.ag-scene__art { position: relative; display: flex; align-items: center; justify-content: center; width: min(100%, 460px); }
.ag-stage .ag-scene__art { transform: scale(1.22); transform-origin: center; }
.ag-stage .ag-scene__art.ag-day, .ag-stage .ag-scene__art.ag-reach, .ag-stage .ag-scene__art.ag-partners { width: min(100%, 420px); }
.ag-scene__art.ag-partners { margin: 0; overflow: hidden; }
.ag-scene__art.ag-partners .ag-big { padding: 0; }
.ag-scene__art .why__ring svg { width: 220px !important; }

@media (max-width: 1024px) {
  .why .why__head, .ag-why { grid-column: 1 / -1; }
  .ag-why { padding-bottom: 0; }
  .ag-stage { display: none; }
  .ag-why__row { min-height: 0; opacity: 1; gap: 10px; padding: 0 0 clamp(36px, 6vh, 56px); }
  .ag-why__art { display: grid; place-items: center; height: clamp(230px, 34vh, 300px); margin-bottom: 10px; overflow: hidden; padding: 24px; border-radius: 26px; background: radial-gradient(55% 50% at 78% 82%, rgba(201, 247, 236, .95) 0%, rgba(201, 247, 236, 0) 70%), linear-gradient(160deg, #AEBDF2 0%, #BDCDF1 45%, #D2E3F0 100%); }
  .ag-why__art .ag-scene__art { width: min(100%, 420px); }
}
/* the stacked visuals fill their width (the scene's centring rule would otherwise shrink them) */
.ag-scene__art.ag-race, .ag-scene__art.ag-reach, .ag-scene__art.ag-day, .ag-scene__art.ag-partners { flex-direction: column; align-items: stretch; }
.ag-scene__art.ag-race { width: min(100%, 340px); }

/* =========================================================
   (24 Nov, Hasan: "make the whole section sexier") the stage on the live brand fluid (fluid.js: royal, azure, the mint
   pool, which drifts to a new place for each reason), the white cards sitting on it like glass. Scenes change with a
   focus pull (blur out, sharpen in), nine dots below show where you are, and the reason in focus gets a teal line
   ========================================================= */
.ag-stage__in { isolation: isolate; color: #fff; background: linear-gradient(160deg, #2E59D1 0%, #1A338C 60%, #0D1C42 100%); box-shadow: 0 50px 110px -60px rgba(13, 28, 66, .7), inset 0 0 0 1px rgba(255, 255, 255, .08); }
.ag-stage__fluid { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; display: block; }
.ag-scene { filter: blur(10px); transform: scale(.96); transition: opacity .5s ease, transform .8s cubic-bezier(.22, 1, .36, 1), filter .6s ease, visibility 0s linear .5s; }
.ag-scene.is-on { filter: none; transform: none; transition: opacity .6s ease .12s, transform .9s cubic-bezier(.22, 1, .36, 1) .12s, filter .7s ease .12s, visibility 0s; }
/* the visuals' words, white on the stage */
.ag-stage .ag-big, .ag-stage .why__ring p { color: #fff; }
.ag-stage .ag-big small, .ag-stage .why__ring small, .ag-stage .why__key, .ag-stage .why__hours span, .ag-stage .ag-reach__label, .ag-stage .ag-reach__key { color: rgba(255, 255, 255, .72); }
.ag-stage .ag-reach__row.is-us .ag-reach__label { color: #fff; }
.ag-stage .why__track { stroke: rgba(255, 255, 255, .16); }
.ag-stage .ag-reach__bar { background: rgba(255, 255, 255, .14); }
.ag-stage .ag-reach__bar i { background: rgba(255, 255, 255, .45); }
.ag-stage .ag-reach__row.is-us .ag-reach__bar i { background: linear-gradient(90deg, #8FB0FF, #19E8C9); }
.ag-stage .ag-net__links path { stroke: rgba(255, 255, 255, .45); }
.ag-stage .ag-net__nodes circle { fill: #fff; stroke: rgba(255, 255, 255, .7); }
.ag-stage .ag-net__nodes circle.is-you { fill: #19E8C9; stroke: #fff; }
.ag-stage .ag-race__late { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .35); }
.ag-stage .ag-race__late span { text-decoration-color: rgba(255, 255, 255, .5); }
.ag-stage .why__hours i, .ag-stage .why__areas span, .ag-stage .why__belt span, .ag-stage .ag-race__steps li, .ag-stage .ag-ask__card, .ag-stage .why__paper { box-shadow: 0 1px 0 rgba(255, 255, 255, .6) inset, 0 18px 40px -22px rgba(5, 12, 40, .6); }
.ag-stage .why__hours i[data-portal] { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 6px, rgba(255, 255, 255, .12) 6px 12px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25); }
.ag-stage .why__key .k--portal::before { background: rgba(255, 255, 255, .25); }
.ag-stage .why__areas span:not(.is-lit) { color: rgba(9, 15, 27, .45); }
/* where you are: nine dots, the current one stretched in teal */
.ag-stage__dots { position: absolute; left: 50%; bottom: clamp(16px, 3vh, 26px); z-index: 2; display: flex; gap: 7px; transform: translateX(-50%); }
.ag-stage__dots i { width: 6px; height: 6px; border-radius: 99px; background: rgba(255, 255, 255, .35); transition: width .5s cubic-bezier(.22, 1, .36, 1), background-color .4s ease; }
.ag-stage__dots i.is-on { width: 22px; background: #19E8C9; }
/* the reasons: the one in focus in full ink with a teal line growing beside it, the rest further back */
.ag-why__row { position: relative; opacity: .16; padding-left: clamp(18px, 1.6vw, 26px); }
.ag-why__row::after { content: ""; position: absolute; left: 0; top: 50%; width: 2px; height: 0; border-radius: 2px; background: #19E8C9; transform: translateY(-50%); transition: height .7s cubic-bezier(.22, 1, .36, 1); }
.ag-why__row.is-on::after { height: min(72%, 180px); }
.ag-why__row.is-on .ag-why__title { color: var(--ink); }
@media (max-width: 1024px) {
  .ag-why__row { opacity: 1; padding-left: 0; }
  .ag-why__row::after { content: none; }
  .ag-why__art { color: #fff; background: linear-gradient(160deg, #2E59D1 0%, #1A338C 60%, #0D1C42 100%); }
  .ag-why__art .ag-big, .ag-why__art .why__ring p { color: #fff; }
  .ag-why__art .ag-big small, .ag-why__art .why__ring small, .ag-why__art .why__key, .ag-why__art .why__hours span, .ag-why__art .ag-reach__label, .ag-why__art .ag-reach__key { color: rgba(255, 255, 255, .72); }
  .ag-why__art .ag-reach__row.is-us .ag-reach__label { color: #fff; }
  .ag-why__art .why__track { stroke: rgba(255, 255, 255, .16); }
  .ag-why__art .ag-reach__bar { background: rgba(255, 255, 255, .14); }
  .ag-why__art .ag-reach__bar i { background: rgba(255, 255, 255, .45); }
  .ag-why__art .ag-reach__row.is-us .ag-reach__bar i { background: linear-gradient(90deg, #8FB0FF, #19E8C9); }
  .ag-why__art .ag-net__links path { stroke: rgba(255, 255, 255, .45); }
  .ag-why__art .ag-net__nodes circle.is-you { stroke: #fff; }
  .ag-why__art .ag-race__late { color: rgba(255, 255, 255, .6); border-color: rgba(255, 255, 255, .35); }
  .ag-why__art .why__hours i[data-portal] { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, .22) 0 6px, rgba(255, 255, 255, .12) 6px 12px); }
}

/* the logo banner is hidden until the real logos arrive (24 Nov): the hidden attribute in agencies.html */
.logos[hidden] { display: none; }
/* (24 Nov, Hasan: "one size, the small one") both hero paragraphs at one smaller size, set on each paragraph */
.ag-hero__copy, .ag-hero__copy p { font-size: 16px; line-height: 1.5; }
@media (min-width: 1441px) { .ag-hero__copy, .ag-hero__copy p { font-size: 17px; } }
/* (24 Nov) the two paragraphs read as different sizes because the hero balances its lines (text-wrap: balance): the
   first broke into two long lines, the second into three short ones. Both now fill the same width */
.ag-hero__copy, .ag-hero__copy p { text-wrap: pretty; }
.ag-hero__copy { width: min(100%, 31rem); max-width: none; }
/* (24 Nov, Hasan: "too small, make it bigger") both paragraphs back up to the hero's text size, still one size and one width */
.ag-hero__copy, .ag-hero__copy p { font-size: clamp(17px, 1.35vw, 21px); line-height: 1.45; }
.ag-hero__copy { width: min(100%, 34rem); }
@media (max-width: 720px) { .ag-hero__copy, .ag-hero__copy p { font-size: 17px; } }

/* (24 Nov, Hasan: the Why join animations faster) the scenes and reasons change quicker */
.ag-scene { transition: opacity .3s ease, transform .45s cubic-bezier(.22, 1, .36, 1), filter .35s ease, visibility 0s linear .3s; }
.ag-scene.is-on { transition: opacity .35s ease .05s, transform .5s cubic-bezier(.22, 1, .36, 1) .05s, filter .4s ease .05s, visibility 0s; }
.ag-why__row { transition: opacity .3s ease; }
.ag-why__row::after { transition: height .45s cubic-bezier(.22, 1, .36, 1); }
.ag-stage__dots i { transition: width .3s cubic-bezier(.22, 1, .36, 1), background-color .25s ease; }
/* (24 Nov, QA) the narrowest phones: "BrokerConnector?" is one long word, so the title steps down to fit (it pushed 320px
   screens 11px too wide) */
@media (max-width: 400px) { .why .why__title { font-size: clamp(30px, 9.6vw, 40px); } }

/* =========================================================
   (27 Nov, Hasan: "a bento grid like on the homepage") Why join BrokerConnector? as the homepage's bento: the nine
   reasons as tiles with their live visuals, in a zigzag of 7+5, 4+4+4, 5+7, 7+5 (the .ag-tile--* spans above); six across
   at 1100px, one column on phones (style.css). Overrides the list and stage layouts above, which are no longer used
   ========================================================= */
.why .why__head { grid-column: 1 / -1; grid-row: auto; margin-bottom: clamp(32px, 5vh, 56px); }
.ag-grid { grid-column: 1 / -1; grid-template-rows: none; grid-auto-rows: minmax(400px, auto); }
.ag-grid .ag-tile { justify-content: space-between; gap: 20px; }
.ag-grid .tile__visual { min-height: 200px; margin: 6px 0 0; }
.ag-grid .tile__visual .ag-scene__art { width: min(100%, 440px); }
.ag-grid .tile__title { font-size: clamp(22px, 1.75vw, 28px); font-weight: 400; max-width: 24ch; margin: 0; }
.ag-grid .tile__text { margin: 0; max-width: 46ch; }
.ag-grid .tile__foot { gap: 10px; }
.ag-tile--areas { background: linear-gradient(120deg, #E3F7F2 0%, #CDEFE7 100%); }
.ag-tile--hours { background: #EEF3FB; }
.ag-tile--stock { background: radial-gradient(90% 70% at 100% 0%, rgba(46, 89, 209, .10), transparent 60%), linear-gradient(160deg, #EEF2FB 0%, #DCE4F5 100%); }
.ag-tile--refer { background: linear-gradient(170deg, #F3F5F9 0%, #E1E7F1 100%); }
.ag-tile--a2a { background: linear-gradient(160deg, #F0F3FD 0%, #DFE7FA 100%); }
@media (max-width: 1100px) { .ag-grid { grid-auto-rows: minmax(380px, auto); } }
@media (max-width: 720px) { .ag-grid { grid-auto-rows: auto; } .ag-grid .ag-tile { min-height: 380px; } }

/* (27 Nov, Hugh) box 1's graphic is the button into the Calculator: the homepage's calculator (style.css .calc) and a
   button under it; the whole graphic is one link. On hover the calculator lifts and the button answers, as on the homepage */
.ag-calc { flex-direction: column; gap: 18px; color: inherit; text-decoration: none; cursor: pointer; }
.ag-calc .calc, .ag-calc .calc__screen, .ag-calc .calc__keys { display: grid; }
.ag-calc .calc__label, .ag-calc .calc__sum, .ag-calc .calc__out { display: block; }
.ag-calc .calc__label { margin-bottom: 6px; }
.ag-calc:hover .calc { transform: translateY(-6px); background-color: rgba(255, 255, 255, .64); box-shadow: 0 40px 60px -34px rgba(20, 40, 90, .45), inset 0 0 0 1px rgba(255, 255, 255, .9); }
.ag-calc:hover .ui-btn__label { background: var(--b-bg-h); }
.ag-calc:hover .ui-btn__arrows svg { transform: translateX(18px); }
.ag-calc:hover .roll__in { transform: translateY(-1.2em); }
.ag-calc:focus-visible { outline: 2px solid var(--ink); outline-offset: 4px; border-radius: var(--r-lg); }

/* (27 Nov) box 1 as the homepage's calculator tile: the words on the left, the calculator and its button on the right.
   Phones stack them again, the calculator first */
@media (min-width: 721px) {
  .ag-grid .ag-tile--hours { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; column-gap: clamp(24px, 3vw, 48px); }
  .ag-tile--hours .tile__foot { grid-column: 1; grid-row: 1; align-self: end; }
  .ag-tile--hours .ag-calc { grid-column: 2; grid-row: 1; align-self: center; margin: 0; }
  .ag-tile--hours .tile__title { max-width: none; text-wrap: balance; }
}

/* (27 Nov, Hugh) box 3: requirements come in on the left and are routed to the right brokers on the right. The lines are
   drawn by agencies.js from where the cards sit, so they fit at every width */
.ag-grid .tile__visual .ag-route { width: min(100%, 420px); }
.ag-route { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: clamp(28px, 4vw, 48px); align-items: center; }
.ag-route__lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ag-route__lines path { fill: none; stroke-width: 1.5; stroke-linecap: round; }
.ag-route__base path { stroke: rgba(9, 15, 27, .14); stroke-dasharray: 2 5; }
.ag-route__live path { stroke: #0E9E8A; stroke-width: 2; stroke-dasharray: 1 1; } /* the offset is an attribute so GSAP can draw it */
.ag-route__reqs { position: relative; display: grid; }
.ag-route__req { grid-area: 1 / 1; margin: 0; padding: 12px 14px; border-radius: 14px; background: #fff; font-size: 13px; line-height: 1.35; color: var(--ink); text-wrap: balance; box-shadow: 0 18px 34px -22px rgba(9, 40, 60, .45), inset 0 0 0 1px rgba(9, 15, 27, .06); opacity: 0; }
.ag-route__req small { display: block; margin-bottom: 4px; font-size: 11px; color: rgba(9, 15, 27, .45); }
.ag-route__brokers { position: relative; display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ag-route__brokers li { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: 10px; align-items: center; padding: 8px 10px; border-radius: 12px; background: #fff; box-shadow: inset 0 0 0 1px rgba(9, 15, 27, .07); transition: background-color .35s ease, box-shadow .35s ease; }
.ag-route__brokers b { font-weight: 500; font-size: 13px; line-height: 1.2; color: var(--ink); }
.ag-route__brokers small { grid-column: 2; font-size: 11.5px; line-height: 1.25; color: rgba(9, 15, 27, .5); }
.ag-route__av { grid-row: 1 / 3; display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; font-size: 12px; font-weight: 500; color: var(--ink); background: #EEF3FB; transition: background-color .35s ease; }
.ag-route__brokers li.is-lit { background: #D6FBF4; box-shadow: inset 0 0 0 1.5px #19E8C9; }
.ag-route__brokers li.is-lit .ag-route__av { background: #19E8C9; }

/* (27 Nov) the agencies' real logos in the banner: white on clear, each sized by --k so a wide wordmark and a square mark
   carry the same weight */
/* (27 Nov, Hasan: "doesn't look premium and modern") no boxes: the logos float free on two rails, a hairline between
   them, wide fades at both edges. At 80% white; no hover (Hasan, 27 Nov) */
.logos { gap: 0; padding-bottom: clamp(28px, 5vh, 52px); }
.logos__label { margin-bottom: clamp(14px, 2.4vh, 24px); }
.logos__belt { padding: clamp(18px, 3vh, 30px) 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); mask-image: linear-gradient(90deg, transparent, #000 18%, #000 82%, transparent); }
.logos__belt + .logos__belt { border-top: 1px solid rgba(255, 255, 255, .07); }
.logos__run { gap: 0; padding: 0; animation-duration: 120s; }
.logos__run .board__card { min-width: 0; min-height: 0; padding: 0 clamp(30px, 3.4vw, 56px); border-radius: 0; background: none; box-shadow: none; }
.logos__img { display: block; width: auto; height: calc(var(--k, 1) * clamp(46px, 3.8vw, 62px)); max-width: none; object-fit: contain; opacity: .8; }
.logos__belt--rev .logos__run { animation-direction: reverse; }
@media (max-width: 720px) { .logos__belt { -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); } }

/* (27 Nov, Hasan: "larger, award winning style") the logo strip as an editorial gallery: edge to edge, each logo in an
   equal cell with hairlines between, above, between and below the rows; the logos much bigger, each still sized by --k
   (and never wider than 74% of its cell) */
.logos { padding-top: clamp(36px, 6vh, 64px); padding-bottom: clamp(36px, 6vh, 64px); border-top: 0; }
.logos__label { margin-bottom: clamp(18px, 3vh, 28px); }
.logos__belt { padding: 0; border-top: 1px solid rgba(255, 255, 255, .09); }
.logos__belt:last-of-type { border-bottom: 1px solid rgba(255, 255, 255, .09); }
.logos__belt + .logos__belt { border-top: 1px solid rgba(255, 255, 255, .09); }
.logos__run { animation-duration: 150s; }
.logos__run .board__card { box-sizing: border-box; width: clamp(200px, 19vw, 320px); height: clamp(120px, 15vh, 168px); padding: 0; border-right: 1px solid rgba(255, 255, 255, .09); }
.logos__img { height: calc(var(--k, 1) * clamp(52px, 4.6vw, 80px)); max-width: 74%; opacity: .92; }
@media (max-width: 720px) { .logos__run .board__card { width: 180px; height: 112px; } .logos__img { height: calc(var(--k, 1) * 50px); } }
