/* 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 85vh; }
    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: #fff !important; padding: 0 0 env(safe-area-inset-bottom) !important; border-top: 1px solid rgb(var(--ink-rgb) / 0.12); }
#site-bar > div { height: 76px !important; border-radius: 0 !important; box-shadow: none !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] { animation: none !important; transform: none !important; translate: none !important; scale: none !important; } [data-ss="word"] { opacity: 1 !important; } }
/* Home "More than great work" photo row on phones: it used to slide sideways as you scrolled down. Now it is a row you swipe with your thumb (native, smooth),
   starting in line with the page edge and with the next photo peeking in. */
@media (max-width: 767px) {
  div:has(> ul[data-ss="row"]) { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-overflow-scrolling: touch; padding-inline: 23px; }
  div:has(> ul[data-ss="row"])::-webkit-scrollbar { display: none; }
  ul[data-ss="row"] { padding-right: 23px; }
  ul[data-ss="row"] > li { scroll-snap-align: start; scroll-margin-left: 23px; }
}

/* The sheet sits directly on the flush bar (76px tall plus the phone's bottom safe area). */
.mtb-sheet-panel { bottom: calc(76px + env(safe-area-inset-bottom)) !important; max-height: calc(100svh - 76px - 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; }
.mtb-embed:not(.is-live):not(.is-slow) { min-height: 360px; display: grid; place-items: center; }
.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; }
  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; }
}
