/* site-more.css: the older small style files joined into one, so the page waits for one file instead of four. Order matters; keep it.
   Sections in order: motion (timeline, photo viewer base, jump bar, touch targets), site-scroll (scroll movement), site-polish (phone review refinements), crop-focus (per-photo crops). */

/* The ink colour as plain numbers, so see-through versions of it (overlays, bars) come from one place. Same colour as --color-ink. */
:root { --ink-rgb: 14 16 17; }

/* ===== motion ===== */
/* Approach timeline: unlit steps. Lit is the default, so no-JS and reduced motion show every step lit. */
.tl-step.tl-off > span:nth-of-type(3){background-color:transparent;border-color:var(--color-line);color:var(--color-stone)}
.tl-step.tl-off > p:nth-of-type(1){color:var(--color-mist)}
.tl-step.tl-off > p:nth-of-type(2){opacity:.88}
@media (prefers-reduced-motion:reduce){.tl-step.tl-off > span:nth-of-type(3){background-color:var(--color-ink);border-color:var(--color-ink);color:var(--color-paper)}.tl-step.tl-off > p:nth-of-type(1){color:var(--color-ink)}.tl-step.tl-off > p:nth-of-type(2){opacity:1}}

/* Photo viewer: soft low-res copy first over a dark blurred backdrop, then the sharp photo (0.5 s). */
.mtb-lb-bg{position:absolute;inset:0;z-index:-1;pointer-events:none;overflow:hidden}
.mtb-lb-bg img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0;object-fit:cover;filter:blur(48px) brightness(.42);transform:scale(1.2)}
.mtb-lb .mtb-lb-stage{position:relative;margin:auto 0;max-width:100%;overflow:hidden;border-radius:6px;flex:none}
.mtb-lb .mtb-lb-stage img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;border-radius:0;object-fit:contain}
.mtb-lb .mtb-lb-sharp{transition:opacity .5s ease}
.mtb-lb .mtb-lb-low{filter:blur(10px);transform:scale(1.03);transition:opacity .5s ease}
.mtb-lb .mtb-lb-low.is-off{opacity:0;pointer-events:none}
.mtb-lb .mtb-lb-low.no-t,.mtb-lb .mtb-lb-sharp.no-t{transition:none}
@media (prefers-reduced-motion:reduce){.mtb-lb .mtb-lb-low,.mtb-lb .mtb-lb-sharp{transition:none}}

/* Portfolio: a bar that follows you and jumps to each section. */
.mtb-jump{position:fixed;z-index:40;left:50%;transform:translateX(-50%);bottom:calc(88px + env(safe-area-inset-bottom,0px));max-width:calc(100vw - 32px)}
.mtb-jump[hidden]{display:none!important}
.mtb-jump-btn{display:flex;align-items:center;gap:10px;height:44px;padding:0 16px;border-radius:999px;background:rgb(var(--ink-rgb) / .88);color:#fff;border:1px solid rgba(255,255,255,.14);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);font:inherit;font-size:13.5px;box-shadow:0 8px 24px rgba(0,0,0,.18);cursor:pointer}
.mtb-jump-lab{font-family:var(--font-mono);font-size:12px;letter-spacing:.12em;text-transform:uppercase;opacity:.65}
.mtb-jump-cur{font-weight:600}
.mtb-jump-btn svg{transition:rotate .3s ease}
.mtb-jump.is-open .mtb-jump-btn svg{rotate:180deg}
.mtb-jump-list{position:absolute;left:50%;bottom:calc(100% + 8px);transform:translateX(-50%);margin:0;padding:8px;list-style:none;min-width:220px;border-radius:18px;background:rgb(var(--ink-rgb) / .94);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);border:1px solid rgba(255,255,255,.12);box-shadow:0 12px 32px rgba(0,0,0,.25);display:none}
.mtb-jump.is-open .mtb-jump-list{display:block}
.mtb-jump-list a{display:block;padding:12px 14px;border-radius:10px;color:rgba(255,255,255,.8);text-decoration:none;font-size:15px}
.mtb-jump-list a[aria-current="true"]{background:rgba(255,255,255,.12);color:#fff;font-weight:600}
@media (min-width:1024px){
  .mtb-jump{bottom:24px}
  .mtb-jump-btn{display:none}
  .mtb-jump-list{position:static;transform:none;display:flex;gap:2px;padding:6px;min-width:0;border-radius:999px}
  .mtb-jump-list a{padding:9px 16px;border-radius:999px;font-size:14px;white-space:nowrap;transition:background-color .3s ease,color .3s ease}
  .mtb-jump-list a:hover{background:rgba(255,255,255,.1);color:#fff}
}
@media (prefers-reduced-motion:reduce){.mtb-jump-btn svg,.mtb-jump-list a{transition:none}}

/* Touch targets: standalone links get at least 24 px (44 px on touch screens); footer legal links get room. */
a.group.items-center{min-height:24px}
@media (pointer:coarse){a.group.items-center{min-height:44px}}
footer a[href="/privacy"],footer a[href="/terms"]{display:inline-block;padding-block:6px}
@media (pointer:coarse){footer a[href="/privacy"],footer a[href="/terms"]{padding-block:12px}}
a[href="/contact"].font-display{display:inline-block;padding-block:4px}
/* Photo zoom: only ask the browser to prepare the animation while a card is hovered. */
.zoom-img{will-change:auto}
@media (hover:hover){.group:hover .zoom-img{will-change:scale}}

/* ===== site-scroll ===== */
/* Meet the Bryants: movement tied to scrolling, run by the browser itself where it can.
   The browser moves these on its own thread, in step with the scroll, so nothing lags the finger.
   site-scroll.js marks the elements and sets the numbers; browsers without scroll-driven animations get the same movement from the script. */
@media (prefers-reduced-motion: reduce) {
  [data-ss="grow"] { transform: scale(1) !important; }
  [data-ss="row"] { transform: translateX(0) !important; }
  [data-ss="word"] { opacity: 1 !important; }
}
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    @keyframes sf-pt { from { translate: calc(var(--sf-d, 0px) * -1) var(--sf-d, 0px); } to { translate: var(--sf-d, 0px) calc(var(--sf-d, 0px) * -1); } }
    @keyframes sf-ps { from { scale: 1.02; } to { scale: 1; } }
    @keyframes sf-grow { from { transform: scale(var(--sf-s0, 0.9)); } to { transform: scale(1); } }
    @keyframes sf-row { from { transform: translateX(2vw); } to { transform: translateX(calc(-86vw - 36px)); } }
    @keyframes sf-cu { from { transform: translateY(40px); } to { transform: translateY(-40px); } }
    @keyframes sf-cd { from { transform: translateY(-25px); } to { transform: translateY(25px); } }
    @keyframes sf-word { from { opacity: 0.2; } to { opacity: 1; } }
    html.sf-sd [data-ssc] { overflow: clip !important; }
    [data-ssf] { view-timeline: --sf-fr block; }
    [data-ssw] { view-timeline: --sf-wr block; }
    [data-ssl] { view-timeline: --sf-ln block; }
    /* large framed photos: diagonal drift, plus a 2% zoom that eases out */
    html.sf-sd img[data-ss="para"] { animation: sf-pt linear both, sf-ps cubic-bezier(0.215, 0.61, 0.355, 1) both; animation-timeline: --sf-fr, --sf-fr; animation-range: cover 0% cover 100%; }
    /* photos that grow to full size: top reaches the bottom of the screen, then 30% from the top (service pages: center to center) */
    html.sf-sd [data-ss="grow"] { animation: sf-grow linear both; animation-timeline: view(); animation-range: cover 0% cover 70vh; }
    html.sf-sd [data-ss="grow"][data-sc] { animation-range: cover 0% cover 50%; }
    /* homepage partnership row */
    html.sf-sd [data-ss="row"] { animation: sf-row linear both; animation-timeline: --sf-wr; animation-range: cover 0% cover 115vh; }
    html.sf-sd [data-ss="cols"] > li:nth-child(odd) { animation: sf-cu linear both; animation-timeline: --sf-wr; animation-range: cover 0% cover 100%; }
    html.sf-sd [data-ss="cols"] > li:nth-child(even) { animation: sf-cd linear both; animation-timeline: --sf-wr; animation-range: cover 0% cover 100%; }
    /* words darken one after another as the line is read: line top 85% down the screen until its bottom is halfway up */
    html.sf-sd [data-ss="word"] { animation: sf-word linear both; animation-timeline: --sf-ln; animation-range: cover calc(15vh + (var(--i) / var(--n)) * (100% - 65vh)) cover calc(15vh + ((var(--i) + 1) / var(--n)) * (100% - 65vh)); }
  }
}

/* ===== site-polish ===== */
/* Meet the Bryants: small refinements from phone review. */

/* Background loops never show the phone's own play button or controls (ours is the small pause button). */
video[data-vj]:not([controls])::-webkit-media-controls,
video[data-vj]:not([controls])::-webkit-media-controls-enclosure,
video[data-vj]:not([controls])::-webkit-media-controls-panel,
video[data-vj]:not([controls])::-webkit-media-controls-overlay-play-button,
video[data-vj]:not([controls])::-webkit-media-controls-start-playback-button {
  display: none !important;
  -webkit-appearance: none;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Style picker rows (Professional, Men's, Women's): the View / Showing label sits in the corner so the description can use the full row. */
button[aria-pressed].group.flex.w-full { position: relative; }
button[aria-pressed].group.flex.w-full > span.min-w-0 { flex: 1 1 0%; }
button[aria-pressed].group.flex.w-full > span.min-w-0 > span.flex { padding-right: 4.75rem; }
button[aria-pressed].group.flex.w-full > span.ml-auto { position: absolute; right: 0; top: 1.4rem; padding-top: 0; }
@media (min-width: 768px) { button[aria-pressed].group.flex.w-full > span.ml-auto { top: 1.75rem; } }
button[aria-pressed].group.flex.w-full > span.min-w-0 span.overflow-hidden { text-wrap: wrap; }

/* Film tiles on phones: play button, length and title only, so the face stays clear. */
@media (max-width: 767px) {
  button[aria-label^="Watch the video"] ~ span.absolute > span.mt-1.block { display: none; }
}

/* ERAS: the applicant strip sits right under the large photo on every screen, so the photo changes where you are looking. */
.mtb-eras-strip { display: block; margin-top: 1.25rem; }
.mtb-eras-strip ul { margin-top: 0.5rem; }
.mtb-eras-orig { display: none !important; }

/* The page title takes focus after a page change; no ring around it. */
h1:focus, h1:focus-visible, main:focus, main:focus-visible, [tabindex="-1"]:focus { outline: none !important; }

/* Case study cards on phones: darker gradient and a soft shadow so the words read over any photo. */
@media (max-width: 767px) {
  a.zoom-frame > span[aria-hidden="true"][class*="linear-gradient(180deg"] { background: linear-gradient(180deg, rgb(var(--ink-rgb) / 0.82) 0%, rgb(var(--ink-rgb) / 0.56) 30%, rgb(var(--ink-rgb) / 0.5) 52%, rgb(var(--ink-rgb) / 0.88) 78%, rgb(var(--ink-rgb) / 0.94) 100%) !important; }
  a.zoom-frame h3, a.zoom-frame p, a.zoom-frame ul li { text-shadow: 0 1px 14px rgba(0,0,0,0.6); }
  a.zoom-frame ul li { text-shadow: none; }
}

/* Services menu (desktop and iPad): fades in and drops 6px over 250ms; hidden below 1024px, where the phone menu is used. */
.mtb-mega2[hidden] { display: none !important; }
.mtb-mega2:not([hidden]) { animation: mtb-mega2-in 0.25s ease both; }
@keyframes mtb-mega2-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 1023px) { .mtb-mega2 { display: none !important; } }
@media (prefers-reduced-motion: reduce) { .mtb-mega2:not([hidden]) { animation: none; } .mtb-mega2 img { transition: none !important; } }

/* Phone bar: all white, full width and flush to the bottom with a thin line on top. No black frame around it. */
#site-bar { background: var(--color-ink, #0e1011) !important; padding: 6px 10px calc(6px + env(safe-area-inset-bottom)) !important; border-top: 0 !important; }
#site-bar > div { height: 52px !important; border-radius: 12px !important; background: #fff !important; padding-inline: 16px !important; box-shadow: none !important; }
#site-bar > div img { width: 44px !important; height: auto !important; }
/* The black bar is 64px plus the safe area. The page's own bottom padding (109px, gray) is replaced by footer padding so the black footer runs under the bar with no gap. */
@media (max-width: 767px) { body { padding-bottom: 0 !important; } footer.bg-ink { padding-bottom: calc(64px + env(safe-area-inset-bottom)) !important; } }

/* Diagnostics: ?off=marquee, scroll, blur, all (see initPlayGate). Switches one effect off so a device that struggles can be bisected. */
html.off-marquee .animate-marquee, html.off-all .animate-marquee { animation: none !important; }
html.off-scroll [data-ss], html.off-all [data-ss] { animation: none !important; transform: none !important; translate: none !important; scale: none !important; }
html.off-blur *, html.off-all * { -webkit-backdrop-filter: none !important; backdrop-filter: none !important; }
/* Phones and tablets: no scroll-driven movement. On Jason's iPhone the home page was rough until ?off=scroll switched these off, and the VertexOne page felt the same.
   Words, photos and rows simply sit at their finished position. Desktop with a mouse keeps the effects. */
@media (max-width: 767px), (hover: none) { [data-ss]:not([data-ss="row"]) { animation: none !important; transform: none !important; translate: none !important; scale: none !important; } [data-ss="word"] { opacity: 1 !important; } }
/* MOTION CONTRACT: the home "More than great work. True partnership." photo row (ul[data-ss="row"]) slides sideways as you scroll, on phones too.
   It is one transform on one element, so it stays on the browser's own thread. Never put it back in the phone kill rule above (that was the v32 mistake).
   tests: sitewatch/scripts/motion.js checks it on an iPhone-sized browser before every publish. */

/* The sheet sits directly on the flush bar (64px tall plus the phone's bottom safe area). */
.mtb-sheet-panel { bottom: calc(64px + env(safe-area-inset-bottom)) !important; max-height: calc(100svh - 64px - env(safe-area-inset-bottom) - 56px) !important; border-radius: 18px 18px 0 0; }

/* Form and calendar pages: no second "Work with us" in the phone bar (the page is already the ask). */
html.no-bar-cta .mtb-bar-cta { display: none !important; }

/* Individual headshot pages, wide screens: Calendly puts about 45px of its own empty padding above its box. Trim a little of it (conservative; the heading row stays whole). */
@media (min-width: 768px) {
  .mtb-embed-book { overflow: hidden; }
  .mtb-embed-book iframe { margin-top: -20px; height: calc(720px + 20px); }
}

/* Forms and calendars: no "loads here" box while they start. A quiet loading state shows, the old link only after 9 seconds. */
.mtb-embed:not(.is-live) .mtb-embed-wait { display: none; }
.mtb-embed:not(.is-live).is-slow .mtb-embed-wait { display: flex; }
/* DUBSADO FORM FRAME: same frame rules as Dubsado's own embed code (width 1px, min-width 100%, which stops iOS Safari from resizing the frame to its content). While the form loads, the frame keeps its real size but is invisible, instead of display:none, so Safari lays the form out at the right width. */
.mtb-embed iframe[data-resize] { width: 1px; min-width: min(100%, 740px); max-width: 740px; display: block; margin-inline: auto; }
/* WHY 740px: Dubsado's form collapses to zero width in any frame 768px wide or more (its restyle code block sets .container to width 100% inside a fieldset that sizes to its content), so the form was blank on iPad and desktop and fine on phones. Keeping the frame under 768px keeps the form in the layout that works. Remove this cap once Dubsado's code block has fieldset { width: 100% !important }. */
.mtb-embed iframe[data-resize][hidden] { display: block; visibility: hidden; position: absolute; top: 0; left: 0; pointer-events: none; }
/* EMBED LOADING: hold the finished height while the frame loads so the card does not grow and push the page, and keep the spinner near the top where the visitor is looking. */
.mtb-embed-quote { --eh: 1100px; } .mtb-embed-quote.mtb-embed-team { --eh: 1190px; } .mtb-embed-quote.mtb-embed-biz { --eh: 1290px; } .mtb-embed-quote.mtb-embed-product { --eh: 1210px; }
.mtb-embed-book, .mtb-embed-call { --eh: 1060px; } .mtb-embed-express { --eh: 900px; }
@media (min-width: 768px) { .mtb-embed-book, .mtb-embed-call { --eh: 720px; } }
.mtb-embed:not(.is-live):not(.is-slow) { min-height: var(--eh, 360px); display: grid; place-items: start center; padding-top: 96px; }
.mtb-embed:not(.is-live):not(.is-slow)::before { content: ""; width: 28px; height: 28px; border-radius: 50%; border: 2px solid rgb(var(--ink-rgb) / 0.12); border-top-color: var(--color-ink); animation: mtb-embed-spin .8s linear infinite; }
@keyframes mtb-embed-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .mtb-embed:not(.is-live):not(.is-slow)::before { animation: none; } }

/* Testimonials: the quote that leaves fades out first (0.18 s), then the next one fades in. All quotes share one grid cell,
   so the old cross-fade printed two quotes on top of each other for half a second. */
figure[aria-roledescription="slide"] { transition-property: opacity, translate, transform, visibility !important; transition-duration: .18s, .18s, .18s, 0s !important; transition-delay: 0s, 0s, 0s, .18s !important; transition-timing-function: ease !important; }
figure[aria-roledescription="slide"][aria-hidden="false"] { transition-duration: .4s, .4s, .4s, 0s !important; transition-delay: .18s, .18s, .18s, 0s !important; transition-timing-function: cubic-bezier(.22,1,.36,1) !important; }
@media (prefers-reduced-motion: reduce) { figure[aria-roledescription="slide"] { transition: none !important; } }

/* Filter buttons (case studies, blog): the pressed button holds the dark fill, the others stay outlined. The colour follows aria-pressed
   because the page's own classes never changed after the first tap. */
[role="group"][aria-label^="Filter by"] button[aria-pressed="true"] { background-color: var(--color-ink) !important; border-color: var(--color-ink) !important; color: #fff !important; }
[role="group"][aria-label^="Filter by"] button[aria-pressed="false"] { background-color: transparent !important; border-color: color-mix(in srgb, var(--color-ink) 15%, transparent) !important; color: var(--color-ink) !important; }
@media (hover: hover) { [role="group"][aria-label^="Filter by"] button[aria-pressed="false"]:hover { border-color: color-mix(in srgb, var(--color-ink) 50%, transparent) !important; } }
/* Case studies on phones: all five buttons show at once, no sideways scrolling to find Branding or Product. */
@media (max-width: 767px) { [role="group"][aria-label="Filter by service"] { flex-wrap: wrap; overflow-x: visible; margin-inline: 0; padding-inline: 0; } }

/* About: "Read our story" lands on the Our story label itself, with a little room above it, not on the photo above the section. */
/* A zero-height marker sits 32px above the label; the page's own scroll code lines the marker up, so the label gets a little air. */
#our-story { display: block; height: 0; position: relative; top: -32px; }
@media (min-width: 768px) { #our-story { scroll-margin-top: 112px; } }

/* Page-change title card on phones: smooth, never skipped. The card fades in over the old page (0.18 s, the same time the old page fades out),
   the word rises in, and when the new page is already showing underneath the card fades away (0.4 s). Short enough to feel quick, long enough to read the word.
   site-motion.js adds tc-phone only on phones and is-leaving when the new page has arrived. */
@media (max-width: 767px) {
  .title-card.tc-phone { animation: mtb-tc-in .18s ease-out both; }
  .title-card.tc-phone span { animation: mtb-tc-word .5s cubic-bezier(.22,1,.36,1) .08s both; }
  .title-card.tc-phone.is-leaving { animation: mtb-tc-out .4s ease both; pointer-events: none; }
  @keyframes mtb-tc-in { from { opacity: 0; } to { opacity: 1; } }
  @keyframes mtb-tc-out { from { opacity: 1; } to { opacity: 0; visibility: hidden; } }
  @keyframes mtb-tc-word { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .title-card.tc-phone, .title-card.tc-phone span { animation: none !important; } }

/* Case study cards on phones: they stack like on desktop. Each card sticks near the top while the next one slides over it, leaving a thin edge of the card
   underneath showing (10px per card). Plain CSS, no scripts and no scaling, so scrolling stays smooth on iPhone. The whole top card stays tappable, Read the case study included.
   Skipped on short screens (landscape phones), where a 429px card would leave no room to slide. */
@media (max-width: 767px) and (min-height: 560px) {
  :is(ul, ol):has(> li[class*="min-height:680px)]:sticky"]) { display: block; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"] { position: sticky; top: 64px; margin-bottom: 16px; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"]:nth-child(2) { top: 74px; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"]:nth-child(3) { top: 84px; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"]:nth-child(4) { top: 94px; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"]:nth-child(n+5) { top: 104px; }
  :is(ul, ol) > li[class*="min-height:680px)]:sticky"]:last-child { margin-bottom: 0; }
}

/* Calendly on phones: once it reports its height, the frame and the box around it are exactly that tall (no blank white area under the calendar). */
@media (max-width: 767px) { div:has(> .mtb-embed.is-fit) { height: auto !important; } }

/* Services page: the small heading above the title fits on one line on phones (slightly tighter letters). Very narrow screens still wrap, evenly. */
.mtb-hub-eyebrow { text-wrap: balance; }
@media (max-width: 767px) { .mtb-hub-eyebrow { font-size: 12px; letter-spacing: 0.02em; } }

/* Home "We meet you where you are" steps: the number sits in its own column so a title that wraps lines up under the title, not under the number.
   Desktop keeps "01 - Title" on one line. On phones all three rows are the same height, so the list reads as one rhythm. */
.mtb-step b { font-weight: inherit; }
.mtb-step b::after { content: " -"; }
.mtb-step i { font-style: normal; }
@media (max-width: 767px) {
  /* Phones: the number hangs in its own column; the step name, the line under it and the opened answer all start on the same left edge to its right.
     Line 1: step name. Line 2: what the step does, in the softer grey. (Same pattern as the shoot-day list on the service pages.) */
  .mtb-step { display: grid; grid-template-columns: 2.5rem minmax(0, 1fr); column-gap: 12px; align-items: baseline; min-width: 0; flex: 1 1 auto; }
  details:has(.mtb-step) div[role="region"] > div > div { width: 100%; padding-left: calc(13px + 2.5rem + 12px); padding-right: 12px; }
  .mtb-step b { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; font-weight: 400; color: var(--color-stone); }
  .mtb-step b::after { content: none; }
  .mtb-st { font-weight: 600; letter-spacing: -0.01em; }
  .mtb-st i { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .mtb-sd { grid-column: 2; margin-top: 2px; font-size: 0.86em; line-height: 1.3; color: var(--color-stone); }
}

/* Contents list (blogs, "On this page"): the numbers and titles sit 20px inside the box, never on its edge. Standard for every boxed list. */
.mtb-toc { padding: 6px 20px 12px; }

/* Phone menu open: the menu has its own Work With Us button, so the bar keeps only the logo and the close button. */
html.mm-open .mtb-bar-cta { display: none !important; }

/* Touch screens: no hover zoom on photos, so scrolling past them costs nothing. */
@media (hover: none) {
  .zoom-img { transition: none !important; }
  .zoom-frame:hover .zoom-img { transform: none !important; scale: none !important; }
}

/* Photo viewer: photo first. Swipe or use the keys to move; details open from one small button. */
.mtb-lb { touch-action: pan-y; }
.mtb-lb .mtb-lb-nav, .mtb-lb figcaption { display: none !important; }
.mtb-lb-pill { position: fixed; right: 1rem; bottom: calc(1.25rem + env(safe-area-inset-bottom)); z-index: 3; display: inline-flex; align-items: center; gap: 0.9rem; padding: 0.95rem 1.3rem; border-radius: 999px; background: rgb(var(--ink-rgb) / 0.72); border: 1px solid rgba(255,255,255,0.18); color: #fff; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); cursor: pointer; transition: opacity 0.25s ease; }
.mtb-lb-ps { width: 1px; height: 16px; background: rgba(255,255,255,0.35); }
.mtb-lb.has-details .mtb-lb-pill { opacity: 0; pointer-events: none; }
.mtb-lb-panel { position: fixed; left: 0.75rem; right: 0.75rem; bottom: calc(0.75rem + env(safe-area-inset-bottom)); max-width: 720px; margin-inline: auto; z-index: 4; border-radius: 22px; padding: 1.4rem 1.5rem 1.15rem; background: rgba(20,24,26,0.84); border: 1px solid rgba(255,255,255,0.12); color: #fff; -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); transform: translateY(calc(100% + 2rem)); transition: transform 0.38s cubic-bezier(0.22,1,0.36,1); }
.mtb-lb.has-details .mtb-lb-panel { transform: none; }
.mtb-lb-ph { display: flex; justify-content: space-between; gap: 1rem; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,0.62); }
.mtb-lb-pt { margin: 0.5rem 0 1rem; font-size: 26px; line-height: 1.15; font-weight: 600; letter-spacing: -0.015em; }
.mtb-lb-th { display: flex; gap: 0.5rem; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.mtb-lb-th::-webkit-scrollbar { display: none; }
.mtb-lb-th button { flex: none; width: 56px; height: 70px; padding: 0; border: 2px solid transparent; border-radius: 7px; overflow: hidden; background: rgba(255,255,255,0.08); opacity: 0.7; cursor: pointer; }
.mtb-lb-th button.is-on { border-color: #fff; opacity: 1; }
.mtb-lb-th img { display: block; width: 100%; height: 100%; object-fit: cover; }
.mtb-lb-pf { display: flex; justify-content: space-between; align-items: center; margin-top: 0.6rem; padding-top: 1rem; border-top: 1px solid rgba(255,255,255,0.14); }
.mtb-lb-hide { background: none; border: 0; padding: 0 0 3px; color: #fff; font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.14em; text-transform: uppercase; border-bottom: 1px solid rgba(255,255,255,0.7); cursor: pointer; }
.mtb-lb-pa { display: flex; gap: 0.6rem; }
.mtb-lb-pa button { width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgba(255,255,255,0.3); background: transparent; color: #fff; cursor: pointer; }
.mtb-lb-pa svg { width: 16px; height: 16px; }
/* The viewer's older round-button rules must not reach these buttons; the photo gets the full width now the arrows are gone. */
.mtb-lb { grid-template-columns: 10px minmax(0, 1fr) 10px !important; padding: 56px 0 96px !important; }
.mtb-lb .mtb-lb-pill { display: inline-flex; width: auto; height: auto; border-radius: 999px; font-size: 12.5px; line-height: 1; justify-self: auto; }
.mtb-lb .mtb-lb-pill:hover { background: rgb(var(--ink-rgb) / 0.82); }
.mtb-lb .mtb-lb-hide { display: inline-block; width: auto; height: auto; border-radius: 0; font-size: 12.5px; line-height: 1.2; justify-self: auto; }
.mtb-lb .mtb-lb-hide:hover { background: none; }
.mtb-lb .mtb-lb-th button { display: block; width: 56px; height: 70px; border-radius: 7px; justify-self: auto; }
.mtb-lb .mtb-lb-th button:hover { background: rgba(255,255,255,0.08); opacity: 1; }
.mtb-lb .mtb-lb-pa button { width: 46px; height: 46px; border-radius: 50%; }
.mtb-lb .mtb-lb-th img { max-height: none; max-width: none; border-radius: 0; margin: 0; }
@media (prefers-reduced-motion: reduce) { .mtb-lb-panel, .mtb-lb-pill { transition: none; } }

/* Testimonials on phones: arrows and counter at the top so they are always in reach, and quotes a little smaller so the card is not a screen tall. */
@media (max-width: 767px) {
  .mtb-tc { position: relative; }
  .mtb-tc { padding-top: 4.75rem !important; }
  .mtb-tc .mtb-tc-ctl { position: absolute; top: 0.9rem; left: 1.5rem; right: 1rem; margin: 0 !important; padding: 0 !important; border: 0 !important; flex-direction: row; justify-content: space-between; align-items: center; gap: 0.75rem; z-index: 2; }
  .mtb-tc .mtb-tc-ctl button { width: 44px; height: 44px; }
  .mtb-tc .mtb-tc-ctl button svg { width: 16px; height: 16px; }
  .mtb-tc blockquote > p:first-child:not(:only-child) { font-size: clamp(22px, 6.2vw, 26px) !important; line-height: 1.18 !important; }
  .mtb-tc blockquote > p:not(:first-child) { font-size: 15.5px !important; line-height: 1.5 !important; margin-top: 1rem !important; }
}

/* ===== crop-focus ===== */
/* crop-focus.css: per-photo focal points and tight crops, keyed by media id (the 32-character id in the photo's address).
   One place to fix a crop without touching page files. Add a line, run tools/crop-check, look at the result on phone and desktop.
   Rules: headshots crop chest-up (head and shoulders), never arms or wide shots on headshot pages; never cut the top of a head;
   never crop a group into a small tile. */

/* Executive photo (arms crossed) used in small square tiles: zoom to head and chest so the tile reads as a headshot */
.size-\[84px\] > img[src*="/2fe393c14b9a10ed78fef194635db7e8/"],
.size-\[84px\] > img[src*="/eb12ca15d6b44acd83b5df649c25fbe4/"] { scale: 2; transform-origin: 50% 4%; }
@media (min-width: 768px) {
  .md\:size-\[96px\] > img[src*="/eb12ca15d6b44acd83b5df649c25fbe4/"] { scale: 2; transform-origin: 50% 4%; }
  .md\:size-auto > img[src*="/2fe393c14b9a10ed78fef194635db7e8/"] { scale: 1; }
}

/* Prodigy team photo on a phone: keep two faces in frame instead of torsos */
@media (max-width: 767px) {
  img[src*="/c7a60badc2fa6c903c60a2dfc6be2be7/"] { object-position: 30% 20% !important; }
}

/* ===== audit fixes (Dec 3) ===== */
/* Phones: no label smaller than 12px. The small mono labels (tags, dates, "Featured", step numbers) were 9.5 to 11.5px; the services heading keeps its own fit rule above. */
@media (max-width: 767px) {
  :is([class~="text-[9.5px]"], [class~="text-[10.5px]"], [class~="text-[11px]"], [class~="text-[11.5px]"]):not(.mtb-hub-eyebrow) { font-size: 12px; }
}

/* Touch screens: every standalone link and button gets a 44px target. Visible size stays as designed wherever it can (padding with a matching negative margin, or an invisible 4px halo). */
@media (max-width: 767px), (pointer: coarse) {
  footer a[class~="py-[6px]"] { display: inline-flex; align-items: center; min-height: 44px; }
  footer a[class~="underline-offset-4"] { display: inline-flex; align-items: center; min-height: 44px; }
  footer a[class~="size-[42px]"] { width: 44px; height: 44px; }
  footer button.inline-flex.shrink-0 { min-height: 44px; }
  button[class~="h-[37px]"][class~="w-[47px]"] { height: 44px; }
  button[aria-label^="Play video"]::before, button[aria-label^="Pause video"]::before { content: ""; position: absolute; inset: -4px; }
  a[class~="inline-flex"][class~="items-center"][class~="underline"] { padding-block: 10px; margin-block: -10px; }
  nav[class~="font-mono"] a[class~="underline"] { display: inline-block; padding-block: 12px; margin-block: -12px; }
  button[class~="h-10"][class~="shrink-0"][class~="rounded-full"] { min-height: 44px; }
  a[href="/contact"].font-display { padding-block: 8px; margin-block: -4px; }
}

/* Phone footer buttons. A page that ends with its own closing band already makes the ask, and the form and calendar pages are the ask, so those get no footer buttons.
   Every other page (legal pages, 404) gets only "Work With Us". Wider screens are unchanged. */
@media (max-width: 767px) {
  .mtb-ft-cta a[href="/discovery-call"] { display: none; }
  html.has-close-cta .mtb-ft-cta, html.no-bar-cta .mtb-ft-cta { display: none; }
}
/* The phone bar's "Work with us" steps aside while the page's own closing buttons or the footer button are on screen (set in site-load.js). */
html.cta-seen .mtb-bar-cta { display: none !important; }

/* Phone bar slides away while reading down the page and returns the moment you scroll up (set in site.js, same rule as the desktop header). */
#site-bar { transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1), visibility 0s, background-color 0.3s; will-change: transform; }
#site-bar.bar-away { transform: translate3d(0, calc(100% + 10px), 0); visibility: hidden; transition: transform 0.45s cubic-bezier(0.45, 0, 0.2, 1), visibility 0s 0.45s; }
@media (prefers-reduced-motion: reduce) { #site-bar, #site-bar.bar-away { transition: none; } }

/* Team gallery card (Event Headshots): the preview opens inside the card, over the grid. Same look as the approved design: white veil with a soft blur, arrows either side of a 4:5 photo, counter bottom left, download mark and heart bottom right, close top right. */
.mtb-gp { position: absolute; inset: 0; z-index: 2; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 12px; background: rgba(255,255,255,0.95); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); animation: mtb-gp-in .25s ease both; }
.mtb-gp[hidden] { display: none; }
@keyframes mtb-gp-in { from { opacity: 0; } to { opacity: 1; } }
.mtb-gp-photo { position: relative; flex: none; height: 100%; max-width: calc(100% - 100px); aspect-ratio: 4 / 5; overflow: hidden; border-radius: 6px; background: var(--color-line); }
.mtb-gp-img { position: absolute; inset: 0; overflow: hidden; }
.mtb-gp-img img { display: block; position: absolute; max-width: none; }
.mtb-gp-img.is-swap { animation: mtb-gp-swap .22s ease both; }
@keyframes mtb-gp-swap { from { opacity: 0.35; } to { opacity: 1; } }
.mtb-gp-bar { position: absolute; left: 8px; right: 8px; bottom: 8px; display: flex; align-items: center; justify-content: space-between; }
.mtb-gp-n { border-radius: 999px; background: rgba(255,255,255,0.9); padding: 4px 8px; font-family: var(--font-mono); font-size: 10px; line-height: 1; letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-ink); }
.mtb-gp-acts { display: flex; gap: 6px; }
.mtb-gp-btn { flex: none; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,0.9); color: var(--color-ink); box-shadow: 0 1px 2px rgba(0,0,0,0.08); cursor: pointer; transition: background-color .3s ease, translate .3s ease; }
.mtb-gp-btn:hover { background: #fff; translate: 0 -1px; }
.mtb-gp-btn:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; }
span.mtb-gp-btn { pointer-events: none; }
.mtb-gp-btn[aria-pressed="true"] svg { fill: #e0393e; color: #e0393e; }
.mtb-gp-x { position: absolute; top: 12px; right: 12px; }
.mtb-gp-n { white-space: nowrap; }
@media (max-width: 480px) { .mtb-gp { gap: 8px; padding: 10px; } .mtb-gp-bar { left: 6px; right: 6px; bottom: 6px; } .mtb-gp-acts { gap: 4px; } .mtb-gp-bar .mtb-gp-btn { width: 26px; height: 26px; } .mtb-gp-bar .mtb-gp-btn svg { width: 12px; height: 12px; } .mtb-gp-n { padding: 4px 6px; font-size: 9px; letter-spacing: 0.06em; } }
@media (prefers-reduced-motion: reduce) { .mtb-gp, .mtb-gp-img.is-swap { animation: none; } .mtb-gp-btn { transition: none; } }

/* Fallback link under every form and calendar. Always visible (not only after a slow load), so a visitor whose embed shows blank or cramped has a way out that goes straight to the right form or calendar on its own page, in a new tab.
   Quiet by design: one line of grey text and one underlined link; on phones the link drops to its own line with a 44px target. Matches the frame width (740px) so it sits right under the form. */
.mtb-embed-alt { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 10px; max-width: 740px; margin: 14px auto 0; padding-top: 14px; border-top: 1px solid var(--color-line); font-size: 14.5px; line-height: 1.4; color: var(--color-stone); text-align: center; }
.mtb-embed-alt-a { display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 500; color: var(--color-ink); text-decoration: underline; text-decoration-color: rgb(var(--ink-rgb) / 0.3); text-underline-offset: 4px; transition: text-decoration-color .3s ease; }
.mtb-embed-alt-a:hover { text-decoration-color: var(--color-ink); }
.mtb-embed-alt-a:focus-visible { outline: 2px solid var(--color-ink); outline-offset: 2px; border-radius: 4px; }
.mtb-embed-alt-a svg { flex: none; transition: translate .3s ease; }
.mtb-embed-alt-a:hover svg { translate: 1px -1px; }
@media (max-width: 480px) { .mtb-embed-alt { flex-direction: column; gap: 0; } }
@media (prefers-reduced-motion: reduce) { .mtb-embed-alt-a, .mtb-embed-alt-a svg { transition: none; } }

/* New Hire Headshots team page toggle ("Without / With Meet the Bryants"): the brand name never splits mid-name. Where the pill is narrow it breaks after "Without" / "With" and centers; on wide desktop it stays on one line. */
[role="group"][aria-label="Show the team page"] > button { text-align: center; line-height: 1.2; }
.mtb-tg-b { white-space: nowrap; }
@media (max-width: 1279px) { .mtb-tg-b { display: block; } }

/* New Hire Headshots, "Your to-do list" card under the team page mock. It flips with the Without / With Meet the Bryants toggle (site-extras.js initHr):
   without = three open chores (one overdue), with = three ticked. Ticked circles reuse .mtb-ck-on. */
.mtb-hr { margin-top: 20px; padding: 18px 20px; border: 1px solid var(--color-line); border-radius: 16px; background: #fff; }
.mtb-hr-top { display: flex; align-items: center; justify-content: space-between; margin: 0; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--color-stone); }
.mtb-hr-n { font-variant-numeric: tabular-nums; }
.mtb-hr-list { margin: 8px 0 0; padding: 0; list-style: none; }
.mtb-hr-list[hidden] { display: none; }
.mtb-hr-list li { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-top: 1px solid var(--color-line); }
.mtb-hr-list li:first-child { border-top: 0; }
.mtb-hr-dot { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border: 1px solid rgb(var(--ink-rgb) / 0.25); border-radius: 50%; }
.mtb-hr-dot svg { display: block; color: inherit; }
.mtb-hr-t { flex: 1; min-width: 0; font-size: 15.5px; line-height: 1.35; }
.mtb-hr-tag { flex: none; padding: 5px 9px; border-radius: 999px; background: rgb(var(--ink-rgb) / 0.07); font-family: var(--font-mono); font-size: 12px; line-height: 1; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-ink); }
@media (max-width: 767px) { .mtb-hr-top { font-size: 12px; } }


/* New hire checklist footer: what the HR contact does, what we do. */
.mtb-ck-foot { margin: 14px 0 0; padding-top: 14px; border-top: 1px solid var(--color-line); font-size: 14.5px; line-height: 1.45; color: var(--color-stone); }
.mtb-ck-foot b { font-weight: 600; color: var(--color-ink); }

/* New Hire Headshots, program section: who the program is for ("Not only new hires"), as three rows beside the six-face photo.
   Replaced the five tick bullets (Dec 5), which repeated the onboarding and how-it-works sections and made the text column much taller than the photo. */
.mtb-mo-k { margin: 32px 0 0; font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--color-stone); }
.mtb-mo { margin: 12px 0 0; border-top: 1px solid var(--color-line); }
.mtb-mo > div { display: grid; gap: 2px 20px; padding: 14px 0; border-bottom: 1px solid var(--color-line); }
.mtb-mo dt { font-size: 16px; font-weight: 600; line-height: 1.45; }
.mtb-mo dd { margin: 0; font-size: 15.5px; line-height: 1.5; color: var(--color-stone); }
.mtb-prog-cta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 28px; margin-top: 32px; }
.mtb-prog-cta > a.group { min-height: 44px; }
@media (max-width: 767px) { .mtb-prog-cta > a.group { margin: 0 auto; } }
/* Program section layout. The grid has four pieces: the photo, A (label, heading, paragraph), B (the three rows), C (button and proof link).
   Wide (1240+): photo left, A / B / C stacked on the right; rows are name-left, line-right so the column stays close to the photo's height.
   Laptop and tablet (768 to 1239): photo beside A and C, then B across the full width in three columns. Without this the photo shrank while the
   text column grew to about twice its height (measured Dec 5 at 820, 1024, 1100). Phones: plain stack. */
@media (max-width: 767px) { .mtb-prog-c { margin-top: 0; } }
@media (min-width: 768px) {
  .mtb-prog > img { grid-area: img; }
  .mtb-prog-a { grid-area: a; align-self: end; }
  .mtb-prog-b { grid-area: b; }
  .mtb-prog-c { grid-area: c; align-self: start; }
  .mtb-prog-cta { gap: 14px 28px; }
}
@media (min-width: 768px) and (max-width: 1239px) {
  .mtb-prog { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important; grid-template-areas: "img a" "img c" "b b"; }
  .mtb-prog-b { margin-top: 48px; }
  .mtb-prog-b .mtb-mo-k { margin-top: 0; }
  .mtb-mo { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 28px; }
  .mtb-mo > div { border-bottom: 0; padding: 16px 0 0; align-content: start; }
}
@media (min-width: 1240px) {
  .mtb-prog { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr) !important; grid-template-areas: "img a" "img b" "img c"; }
  .mtb-mo > div { grid-template-columns: 10.75rem minmax(0, 1fr); align-items: baseline; }
  .mtb-prog-cta > a.group { min-height: 24px; }
}
/* Balance (Dec 5): the photo gets a little more room in the program section; in the team page section the to-do list sits under the toggle on the left
   (.mtb-hr-d) so the right column is the team page picture alone. Phones keep the list under the picture and the toggle pill (.mtb-hr-m). */
@media (min-width: 768px) {
  .mtb-gap { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr) !important; }
  .mtb-hr-m { display: none; }
  .mtb-hr-d { max-width: 30rem; }
}
@media (max-width: 767px) { .mtb-hr-d { display: none; } }

/* New hire checklist (New Hire Headshots): a ticked circle is filled ink with a white check; on the dark "Headshot booked" row it is a white ring with a soft white fill and a white check.
   site-extras.js (initChecklist) adds .mtb-ck-on one row at a time when the card scrolls into view. The unticked page is the design's "0 / 5" card. */
.mtb-ck-dot.mtb-ck-on { background-color: var(--color-ink); border-color: var(--color-ink); color: #fff; animation: mtb-ck-pop .38s cubic-bezier(.22,1,.36,1) both; }
.mtb-ck-dark .mtb-ck-dot.mtb-ck-on { background-color: rgba(255,255,255,0.2); border-color: #fff; color: #fff; }
@keyframes mtb-ck-pop { 0% { scale: .82; } 60% { scale: 1.08; } 100% { scale: 1; } }
.mtb-ck-dot svg { color: inherit; }
@media (prefers-reduced-motion: reduce) { .mtb-ck-dot.mtb-ck-on { animation: none; } }

/* New hire checklist: the dark "Headshot booked" row is a highlight, not an indented row. Its circle and text line up with the rows above (circle at the same left edge,
   text at the same left edge, avatar at the same right edge); only the dark box itself reaches 12px past the dividers. Measured Dec 5: before, its circle sat 16px right of the others. */
ul > li.mtb-ck-dark { margin-inline: -12px; padding-inline: 12px; }

/* ===== New Hire Headshots: the Without / With Meet the Bryants moment (Dec 5) =====
   One gentle sequence, about 1.2 seconds, same easing as the rest of the site (cubic-bezier(.22,1,.36,1), the "SessionFlow monthly / annual" feel):
   1) the dark pill slides to the other option, 2) the three new hire photos rise in one after another (site-load.js sets the delays), 3) the caption fades,
   4) the to-do list items arrive one by one and, for "With", tick one by one, 5) the counter letters rise in with a small stagger.
   JS (site-extras.js) only sets --tg-x / --tg-w on the toggle and adds .mtb-swapped to the section after the first tap, so nothing animates on page load.
   Reduced motion: no movement at all, the state just changes. Without JS: the old plain pill (dark button) still works. */
[role="group"][aria-label="Show the team page"] { position: relative; isolation: isolate; }
[role="group"][aria-label="Show the team page"]::before { content: ""; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 0; width: var(--tg-w, 0px); translate: var(--tg-x, 0px) 0; border-radius: 999px; background: var(--color-ink); opacity: 0; }
.mtb-tg-on[role="group"]::before { opacity: 1; }
.mtb-tg-anim[role="group"]::before { transition: translate .55s cubic-bezier(.22,1,.36,1), width .55s cubic-bezier(.22,1,.36,1); }
.mtb-tg-on[role="group"] > button { background-color: transparent !important; position: relative; transition: color .3s ease .1s; }
.mtb-hr-n { display: inline-block; overflow: hidden; vertical-align: bottom; line-height: 1.6; }
.mtb-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.mtb-ch { display: inline-block; white-space: pre; animation: mtb-ch-in .55s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 38ms); }
@keyframes mtb-ch-in { from { translate: 0 110%; opacity: 0; } to { translate: 0 0; opacity: 1; } }
.mtb-hr-list li:nth-child(2) { --i: 1; } .mtb-hr-list li:nth-child(3) { --i: 2; }
.mtb-swapped .mtb-hr-list li { animation: mtb-hr-in .6s cubic-bezier(.22,1,.36,1) both; animation-delay: calc(var(--i, 0) * 80ms + 40ms); }
/* What is leaving fades up and out first (JS adds .mtb-leave for 0.23 s), so the swap is never a hard cut. */
@keyframes mtb-hr-out { to { opacity: 0; translate: 0 -6px; } }
.mtb-leave { animation: mtb-hr-out .22s cubic-bezier(.4, 0, 1, 1) both !important; }
.mtb-ch-rest { animation: none; }
.mtb-ch.mtb-ch-out { animation: mtb-ch-out .26s cubic-bezier(.4, 0, 1, 1) both; animation-delay: calc(var(--i, 0) * 20ms); }
@keyframes mtb-ch-out { to { translate: 0 -110%; opacity: 0; } }
@keyframes mtb-hr-in { from { opacity: 0; translate: 0 8px; } to { opacity: 1; translate: 0 0; } }
.mtb-hr-dot.mtb-ck-on { background-color: var(--color-ink); border-color: var(--color-ink); color: #fff; }
.mtb-swapped .mtb-hr-dot.mtb-ck-on { animation: mtb-hr-tick .5s cubic-bezier(.34,1.3,.64,1) both; animation-delay: calc(var(--i, 0) * 110ms + 300ms); }
@keyframes mtb-hr-tick { 0% { background-color: #fff; border-color: rgb(var(--ink-rgb) / 0.25); color: transparent; scale: .9; } 55% { scale: 1.07; } 100% { background-color: var(--color-ink); border-color: var(--color-ink); color: #fff; scale: 1; } }
.mtb-swapped p > span[data-hr-l] { animation: mtb-hr-in .6s cubic-bezier(.22,1,.36,1) both; animation-delay: .06s; }
/* the three new hire photos also rise 12px as they fade in (the page already fades and scales them) */
.mtb-gap ul.grid > li > div > img { transition-property: opacity, scale, translate; }
.mtb-gap ul.grid > li > div > img.opacity-0 { translate: 0 12px; }
.mtb-gap ul.grid > li > div > img.opacity-100 { translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .mtb-tg-anim[role="group"]::before, .mtb-tg-on[role="group"] > button { transition: none; }
  .mtb-ch, .mtb-ch.mtb-ch-out, .mtb-leave, .mtb-swapped .mtb-hr-list li, .mtb-swapped .mtb-hr-dot.mtb-ck-on, .mtb-swapped p > span[data-hr-l] { animation: none !important; }
  .mtb-gap ul.grid > li > div > img, .mtb-gap ul.grid > li > div > span[aria-hidden="true"] { transition: none !important; }
  .mtb-gap ul.grid > li > div > img.opacity-0 { translate: 0 0; }
}

/* Phones: the two long headings in the program and team page sections break on their own sentence. Before, the page's balanced wrapping stretched each
   sentence over 3 to 4 lines at about two thirds of the width (and iPhone Safari left "headshots" alone on a line). The size follows the screen (6.9vw, never above
   the site's 31px) so "Your team keeps growing." and "Headshot day was great." each fit on one line from 340px up; the grey second sentence is its own block. Measured Dec 5. */
@media (max-width: 767px) {
  .mtb-prog h2, .mtb-gap h2 { font-size: min(31px, 6.9vw); text-wrap: wrap; }
  .mtb-prog h2 > span, .mtb-gap h2 > span { display: block; text-wrap: balance; }
  /* Built into onboarding heading: same idea as the two above: each sentence is its own block and the size follows the screen, so "Add one line to day one." sits on one line, then the grey line. */
  #dayone-heading { font-size: min(31px, 6.9vw); text-wrap: wrap; }
  #dayone-heading > span { display: block; text-wrap: balance; }
}
/* Tablets and small laptops (768 to 1239), where the heading sits in a half-width column: same fix, so iPad portrait does not break "Your team keeps / growing. Your / headshots keep up."
   The size follows the width (3.1vw, never above 34px; the team page column fits up to about 3.2vw) so each first sentence fits one line; the grey sentence is its own block. */
@media (min-width: 768px) and (max-width: 1239px) {
  .mtb-prog h2, .mtb-gap h2 { font-size: min(34px, 3.1vw); text-wrap: wrap; }
  .mtb-prog h2 > span, .mtb-gap h2 > span { display: block; text-wrap: balance; }
}
/* The "Form not showing" note under every form: the two lines come out even, never one word left alone. */
.mtb-embed-alt > span { text-wrap: balance; }
