/* DAP Work Blocks: the Case Studies index. Rules ported from the design's pages.css (dap-rebrand-catalin.netlify.app, 2026-09-23).
   Loads after the DAP Homepage Blocks bundle, which supplies the tokens, primitives, .section, .container, .eyebrow, .hl, .btn and the tg-card. */
/* hero top padding: the design's current value, 60% of a section's padding plus 16px (57.6px desktop, 33.6px phones;
   both designs' .cs-hero/.cse-hero, as the industry pages' pages.css already has; QA Our Work issue 19) */
:root { --hero-pad-top: calc((var(--section-padding-y) + var(--space-8)) * .6); --space-7: 1.75rem; }

/* ===== from pages.css ===== */

/* the desktop grid is defined once, in the hero balance block further down */
.hc-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-2); font-size: var(--text-xs); color: var(--white-50); margin-bottom: var(--space-4); }

.hc-crumbs a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--space-2); color: var(--white-50); text-decoration: none; }

.hc-crumbs a:hover { color: var(--primary-300); }

.hc-crumbs span[aria-current] { color: var(--text-on-dark); }


/* Contrast, measured against rendered values (not assumed hex):
   1. .hc-person__r is --primary-500 on the bare section background rgb(251,251,252)
      = 4.48:1, failing 4.5:1 by 0.02. The same token passes inside .hc-case only
      because that card paints itself white. These labels sit on no card, so they
      take the darker step: 6.20:1.
   2. .hc-crumbs is white-50 over the hero gradient. Against the gradient's
      LIGHTEST stop (--secondary-600 #033748) that is 4.35:1, not 4.5:1.
      white-60 measures 5.59:1 at the same worst-case stop. */
#people .hc-crumbs { color: var(--white-60); }

.hc-crumbs a { color: var(--white-60); min-width: 44px; justify-content: center; }

/* the first crumb kept the shared horizontal padding and centred itself in its
   44px hit target, so "Home" started indented while the H1 below it sat flush */
.hc-crumbs > a:first-child { padding-left: 0; justify-content: flex-start; }
@media (min-width: 1024px) {
  .hc-hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: var(--space-32);
    align-items: start;
  }
  .hc-hero__grid > div:first-child { align-self: start; display: flex; flex-direction: column; }
  .hc-hero__sub { max-width: 100%; margin-top: var(--space-8); }
  .hc-audit { max-width: 100%; margin-top: var(--space-12); padding-top: var(--space-10); }
  .hc-audit__row { flex-wrap: wrap; }
  .hc-audit__input { flex: 1 1 100%; }
  .hc-audit__row > .btn { flex: 0 0 auto; white-space: nowrap; margin-top: var(--space-3); }
  .hc-crumbs { margin-bottom: var(--space-6); }
}





/* ==========================================================================
   ABOUT · careers band
   The simplest version: no photographs, no columns. Three things centred on the
   navy band, so it closes the page without competing with the eleven sections
   above it.
   ========================================================================== */
/* the same gradient .hc-closeband uses: it starts at --secondary-900 and only
   reaches --secondary-800 at its end, which is what gives the band a surface of
   its own against the footer's flat --secondary-800. A flat fill here made the
   closing CTA read as the top of the footer. */
.careers {
  position: relative; isolation: isolate; overflow: hidden;
  background: linear-gradient(135deg, var(--secondary-900) 0%, var(--secondary-800) 100%);
  text-align: center;
}

/* accent glow: mirrored warm blooms pinned to both bottom corners, so the navy
   band is lit from either side rather than tinted. Kept behind the copy
   (z-index -1) and low enough alpha that white text still measures well past
   4.5:1 over the brightest stop. */
.careers::before, .careers::after {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  bottom: -55%; width: min(760px, 78%); aspect-ratio: 1;
  background: radial-gradient(circle at center, var(--accent-main) 0%, rgba(240,109,58,.42) 38%, rgba(240,109,58,0) 70%);
  opacity: .5; filter: blur(6px);
}

.careers::before { right: -14%; }

.careers::after { left: -14%; }

.careers__h {
  margin: 0; font-family: var(--t-font-display); font-weight: 800;
  font-size: var(--t-h2); line-height: 1.06;
  letter-spacing: -.035em; color: #fff;
}

/* copy plus buttons left, the HubSpot scheduler card right — the same split the
   healthcare and ABA pages use for their closing band */
.careers__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-12); align-items: center; text-align: left; }

.p-cases .careers__grid { align-items: stretch; }
@media (min-width: 1024px) { .careers__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: var(--space-16); } }

.careers__grid .careers__cta { justify-content: flex-start; }

.careers__copy { min-width: 0; }

.careers__s { margin: var(--space-5) 0 0; }

.careers__s a {
  font-family: var(--t-font-display); font-weight: 800;
  font-size: clamp(1.25rem, 2vw, 1.5rem); color: var(--primary-300);
  text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 3px;
}

.careers__s a:hover { color: #fff; }

.careers__cta { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: var(--space-4) var(--space-5); margin: var(--space-10) 0 0; }

.careers__cta .btn { gap: var(--space-3); }

/* the ghost button on the navy band: white ink, white hairline, fills on hover */
.careers__cta .btn--outline { color: #fff; border-color: rgba(255,255,255,.55); background: transparent; }

.careers__cta .btn--outline:hover { background: rgba(255,255,255,.12); border-color: #fff; color: #fff; }



/* .hc-crumbs carries white-alpha because on the other pages it sits inside the
   navy .hc-hero. This hero is a plain light section, so the crumb is restated
   behind the page hook and the other three pages are untouched. */
.p-awards .awp-h__cr { color: var(--text-muted); }



/* ==========================================================================
   TEAM MEMBERS · tm- prefix
   Built on the cluster's interior-page vocabulary: navy .hc-hero, the awards
   page's .awp-head section head, and the shared .careers closing band. The
   roster itself is the one new component: a portrait card with the name plate
   below and the LinkedIn chip revealed on hover.
   ========================================================================== */
/* hero: the team photograph carries the whole band, scrimmed to navy so the
   type sits on ink rather than on faces. The face row underneath is a live
   sample of the roster below it. */
.tm-hero2 { position: relative; isolation: isolate; overflow: hidden; background: var(--secondary-900); padding: calc(var(--section-padding-y) + var(--space-10)) 0 var(--section-padding-y); }

/* scoped to the bio hero: this padding matches .bio-hero__copy. Unscoped it hit
   every page with a #hero and pushed the crumb 44px right of its own H1. */
.bio-hero .hc-crumbs, #hero:has(.bio-hero__copy) .hc-crumbs { padding-left: 44px; }
@media (max-width: 599px) { .bio-hero .hc-crumbs, #hero:has(.bio-hero__copy) .hc-crumbs { padding-left: 32px; } }



/* ==========================================================================
   OUR WORK / CASE STUDIES · cs- and csc- prefixes
   Same interior-page vocabulary as Awards and Team Members: navy hero, hairline
   section heads, white cards on the cream page, orange accent for category and
   figures. The card is the one new component.
   ========================================================================== */
.cs-hero { position: relative; isolation: isolate; overflow: hidden; background: linear-gradient(135deg, var(--secondary-900) 0%, var(--secondary-800) 65%, var(--secondary-700) 100%); padding: calc(var(--section-padding-y) * .85) 0; }

.cs-hero::before, .cs-hero::after { content: ""; position: absolute; z-index: -1; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .5; pointer-events: none; }

.cs-hero::before { top: -280px; right: -180px; background: radial-gradient(circle, rgba(240,109,58,.55) 0%, rgba(240,109,58,0) 70%); }

.cs-hero::after { bottom: -320px; left: -220px; background: radial-gradient(circle, rgba(240,109,58,.34) 0%, rgba(240,109,58,0) 70%); }

.cs-hero__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: end; }
@media (min-width: 900px) { .cs-hero__grid { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: var(--space-16); } }

.cs-hero__h1 { margin: var(--space-4) 0 0; font-family: var(--t-font-display); font-weight: 800; font-size: clamp(28px, 3.4vw, 45px); line-height: 1.1; letter-spacing: var(--tracking-tight); color: #fff; }

.cs-hero__sub { margin: var(--space-6) 0 0; max-width: 52ch; font-size: var(--t-body-lg); line-height: 1.6; color: rgba(255,255,255,.88); }

.cs-hero__nums { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--space-6); margin: 0; padding-top: var(--space-6); border-top: 1px solid rgba(255,255,255,.18); }

.cs-hero__nums dt { font-size: var(--t-caption); font-weight: var(--weight-semibold); letter-spacing: .06em; text-transform: uppercase; color: rgba(255,255,255,.7); }

.cs-hero__nums dd { margin: var(--space-2) 0 0; font-family: var(--t-font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1; color: var(--accent-main); }


/* filter bar */
.cs-filters { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-5); padding-bottom: var(--space-6); margin-bottom: var(--space-10); border-bottom: 1px solid var(--border-subtle); }

.cs-filters__count { margin: 0; font-size: var(--t-caption); font-weight: var(--weight-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); }

.cs-filters__count b { color: var(--text-heading); }

.cs-filters__controls { display: flex; flex-wrap: wrap; align-items: center; gap: var(--space-4); }

.cs-select { position: relative; display: inline-flex; align-items: center; }

.cs-select select option { padding: 10px var(--space-5); }

.cs-select span { position: absolute; left: calc(var(--space-6) + 10px); font-size: var(--t-caption); font-weight: var(--weight-semibold); letter-spacing: .08em; text-transform: uppercase; color: var(--text-muted); pointer-events: none; top: 8px; }

.cs-select select {
  appearance: none; min-height: 60px; min-width: 250px; padding: 22px calc(var(--space-12) + 10px) 8px calc(var(--space-6) + 10px);
  font-family: var(--t-font-body); font-size: var(--t-small); font-weight: var(--weight-semibold); color: var(--text-heading);
  background: var(--bg-surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23f06d3a' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right calc(var(--space-6) + 10px) center/16px;
  border: 1px solid var(--border-subtle); border-radius: 999px; cursor: pointer;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.cs-select select:hover, .cs-select select:focus-visible { border-color: var(--accent-main); box-shadow: 0 8px 22px -16px rgba(4,28,44,.6); }

.cs-clear { min-height: 44px; padding-inline: var(--space-5); border: 0; background: none; font-family: var(--t-font-body); font-size: var(--t-small); font-weight: 700; color: var(--accent-main); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }

.cs-empty { margin: var(--space-12) 0 0; text-align: center; color: var(--text-muted); }


/* the roster of work */
.cs-grid { list-style: none; display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-8); margin: 0; padding: 0; align-items: stretch; }

  .cs-grid { grid-auto-rows: auto; }

  .cs-grid .csc { display: grid; grid-template-rows: subgrid; grid-row: span 2; }

  .cs-grid .csc__shot { grid-row: 1; }

  .cs-grid .csc__b { grid-row: 2; }

/* the frame shrink-wraps the screenshot and carries the category pill, so the
   pill can never float in the cell's slack; the frame is centred, which reads as
   deliberate window matting rather than a void under the image */
.csc__frame { position: relative; display: block; width: 100%; aspect-ratio: 2 / 1; overflow: hidden; background: #041422; }

/* cover anchored top-left: fills the frame edge to edge, so the pill and the
   gradient always sit over real image, and the only content lost on the
   ultra-wide screenshots is their right edge — logo, nav and hero headline all
   live top-left, which is what the client flagged as cut */
.csc__frame img { width: 100%; height: 100%; object-fit: cover; object-position: left top; }
@media (min-width: 700px)  { .cs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1080px) { .cs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.csc {
  position: relative; display: flex; flex-direction: column; min-width: 0;
  background: var(--bg-surface); border: 1px solid transparent;
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 1px 2px rgba(4,28,44,.06), 0 18px 34px -26px rgba(4,28,44,.5);
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
}

.csc:hover { transform: translateY(-6px); border-color: rgba(240,109,58,.35); box-shadow: 0 1px 2px rgba(4,28,44,.06), 0 34px 54px -30px rgba(4,28,44,.6); }

/* the screenshot sits in a browser plate — these are websites we shipped, so
   show them as windows rather than as flat crops */
.csc__shot {
  position: relative; display: block; overflow: hidden;
  background: #041422;
  padding: 30px 14px 14px;
  background: var(--secondary-900);
}

/* the chrome bar: three lights on the left, a URL pill filling the rest */
.csc__shot::before {
  content: ""; position: absolute; z-index: 1; top: 11px; left: 14px; right: 14px; height: 8px;
  background:
    radial-gradient(circle 4px at 4px 4px, rgba(255,255,255,.34) 98%, transparent 100%) left center/16px 8px no-repeat,
    radial-gradient(circle 4px at 4px 4px, rgba(255,255,255,.22) 98%, transparent 100%) 16px center/16px 8px no-repeat,
    radial-gradient(circle 4px at 4px 4px, rgba(240,109,58,.75) 98%, transparent 100%) 32px center/16px 8px no-repeat;
}

.csc__shot img {
  display: block; width: 100%; height: auto;
  /* no fixed aspect-ratio: the 33 screenshots span 1.46 to 3.51, so any single
     frame ratio crops one tail or letterboxes the other. Each frame now takes
     its own screenshot's ratio, so nothing is cropped and nothing floats. */
  background: #041422;
  border-radius: var(--radius-md); box-shadow: 0 0 0 1px rgba(255,255,255,.1);
  transition: filter var(--transition-base);
}

/* card screenshots as the designs (jobsity.html, case-studies.html; QA Case Study issue 7, Rhiannon 2 Dec):
   the frame keeps the 2:1 shape from the rule above and clips; the image inside is the design's 900x500
   box (9:5), filled from the top left whatever the screenshot's own shape, so it runs a little taller than
   the frame and the visible part is 2:1. The ratio is set outright, not from the attributes, so Chrome's
   size containment on lazy images cannot change it (never aspect-ratio:auto here). Replaces the 30 Nov
   16:9. The 190px letterbox stays only for browsers without subgrid (the @supports not rule further down). */
.csc__frame img { aspect-ratio: 9 / 5; object-fit: cover; object-position: left top; }

/* gradient and pill belong to the image box, not the stretched cell */
.csc__frame::after { content: ""; position: absolute; z-index: 1; inset: auto 0 0 0; height: 40%; border-radius: 0 0 6px 6px; background: linear-gradient(0deg, rgba(4,20,34,.8) 0%, rgba(4,20,34,0) 100%); }

.csc__shot img { filter: saturate(.95); }

.csc:hover .csc__shot img { filter: saturate(1.05) brightness(1.03); }

.csc__cat {
  position: absolute; z-index: 2; left: 12px; bottom: 12px;
  padding: 7px 14px; border-radius: 999px; background: rgba(255,255,255,.94);
  font-size: var(--t-caption); font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--secondary-900);
  box-shadow: 0 6px 16px -10px rgba(4,28,44,.7);
}
/* case card category pill on tablets and phones: smaller, tucked into the image's corner (Nick 9 Nov) */
@media (max-width: 768px) { .cs-grid .csc__cat { font-size: 12px; left: 0; bottom: 0; } }

.csc__b { display: flex; flex-direction: column; flex: 1; padding: var(--space-8); }

.csc__n { margin: 0; font-family: var(--t-font-display); font-weight: 800; font-size: var(--t-h4); line-height: 1.2; letter-spacing: var(--tracking-tight); }

.csc__n a { color: var(--text-heading); text-decoration: none; }

.csc__n a:hover { color: var(--accent-main); }

/* the headline result gets display scale; the others are a quiet ledger */
.csc__hero { display: flex; flex-direction: row-reverse; align-items: baseline; justify-content: space-between; gap: var(--space-5); margin: var(--space-6) 0 var(--space-6); padding-bottom: var(--space-6); border-bottom: 1px solid var(--border-subtle); }

.csc__hero b { flex: none; font-family: var(--t-font-display); font-weight: 800; font-size: clamp(1.9rem, 3vw, 2.5rem); line-height: .95; letter-spacing: -.03em; color: var(--accent-main); }

.csc__hero b { text-align: right; }

.csc__hero span { font-size: var(--t-small); line-height: 1.4; color: var(--text-main); text-wrap: pretty; }

.csc__stats { list-style: none; margin: 0 0 var(--space-8); padding: 0; display: grid; }

/* label reads first, the figure lands on the right rail so the numbers form a
   single column the eye can scan down */
.csc__stats li { display: flex; flex-direction: row-reverse; align-items: baseline; justify-content: space-between; gap: var(--space-5); padding: var(--space-3) 0; font-size: var(--t-small); line-height: 1.45; color: var(--text-muted); text-wrap: pretty; }

.csc__stats li + li { border-top: 1px solid var(--border-subtle); }

.csc__stats b { flex: none; font-family: var(--t-font-display); font-weight: 800; text-align: right; color: var(--text-heading); font-variant-numeric: tabular-nums; }

.csc__link { display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); margin-top: auto; min-height: 44px; font-family: var(--t-font-display); font-weight: 700; font-size: var(--t-small); color: var(--text-heading); text-decoration: none; }

.csc__link svg { width: 18px; height: 18px; stroke-width: 1.8; color: #fff; }

.csc__link::after { content: none; }

.csc__link > svg { flex: none; box-sizing: content-box; padding: 10px; border-radius: 50%; background: var(--secondary-900); transition: background var(--transition-base), transform var(--transition-base); }

.csc:hover .csc__link { color: var(--accent-main); }

.csc:hover .csc__link > svg { background: var(--accent-main); transform: translateX(4px); }

/* whole card is the click target: the title link stretches over the card.
   The shot and "View case study" link point at the same URL, so sitting
   under the overlay costs nothing. */
.csc { cursor: pointer; }

.csc__n a::after { content: ""; position: absolute; inset: 0; z-index: 3; }

.csc__n a:focus-visible::after { outline: 2px solid var(--accent-main); outline-offset: -4px; border-radius: inherit; }

/* client logo sits above the client name, capped so wordmarks and
   square marks read at the same optical weight */
/* client logo rides on the title row, pushed to the right edge */
.csc__head { display: flex; align-items: center; justify-content: space-between; gap: var(--space-5); }

.csc__head .csc__n { min-width: 0; }

.csc__logo { display: flex; align-items: center; justify-content: flex-end; flex: none; height: 26px; min-width: 26px; }

.csc__logo img { max-height: 100%; max-width: 110px; width: auto; object-fit: contain; object-position: right center; }

.cs-listing--rest { padding-top: 24px; }


/* "Why Clients Stay" band — reuses the homepage testimonial card (.tg-*)
   so it reads as the same component, on the alt surface between grid batches */
.cs-quote .tg-card.wide .tg-shot { width: 56px; height: 56px; border-radius: var(--radius-full); object-fit: cover; flex: none; background: var(--bg-section-alt); }
@media (min-width: 769px) { .cs-quote .tg-card.wide { grid-template-columns: 180px minmax(0, 1fr) 300px; } }



/* mid-grid CTA strip: slim orange nudge between card batches, deliberately
   lighter than the quote band so it does not read as another big section */
.cs-ctastrip { background: var(--accent-main); padding: var(--space-10) 0; }

.cs-ctastrip__row { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--space-6) var(--space-10); }

.cs-ctastrip__copy { display: flex; flex-direction: column; gap: var(--space-2); }

.cs-ctastrip__h { margin: 0; font-family: var(--t-font-display); font-weight: 800; font-size: clamp(1.15rem, 2vw, 1.6rem); line-height: 1.2; letter-spacing: var(--tracking-tight); color: #fff; text-wrap: pretty; }

.cs-ctastrip__btn { background: #fff; border-color: #fff; color: var(--secondary-900); gap: var(--space-3); flex: none; }

.cs-ctastrip__btn:hover { background: var(--secondary-900); border-color: var(--secondary-900); color: #fff; }

.cs-ctastrip__btn:focus-visible { outline: 3px solid var(--secondary-900); outline-offset: 3px; }

.cs-ctastrip__micro { font-size: var(--t-caption); color: rgba(255,255,255,.92); }
@media (max-width: 680px) {
  .cs-ctastrip__row { justify-content: center; text-align: center; }
  .cs-ctastrip__copy { align-items: center; }
}


/* video band */
.cs-video { position: relative; isolation: isolate; overflow: hidden; background: var(--secondary-900); padding: var(--section-padding-y) 0; }

.cs-video .container { position: relative; }

.cs-video::before { content: ""; position: absolute; z-index: -1; inset: auto auto -300px -240px; width: 620px; height: 620px; border-radius: 50%; filter: blur(90px); opacity: .45; background: radial-gradient(circle, rgba(240,109,58,.5) 0%, rgba(240,109,58,0) 70%); }

.cs-video__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--space-10); align-items: center; min-width: 0; }
@media (min-width: 960px) { .cs-video__grid { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: var(--space-16); } }

/* the mark is a watermark inside the band, not a badge above the copy: anchored
   to the section (which is tall enough to contain it) rather than to the short
   copy block, which used to push it under the band's overflow clip */
.cs-video__copy { position: relative; z-index: 1; }

.cs-video__icon {
  position: absolute; z-index: 0; left: max(-40px, -4vw); top: 50%; transform: translateY(-50%);
  width: clamp(180px, 26vw, 320px); aspect-ratio: 1; height: auto;
  color: var(--accent-main); opacity: .12; pointer-events: none;
}

.cs-video__icon svg { width: 100%; height: 100%; stroke-width: .7; }
@media (max-width: 959px) { .cs-video__icon { top: auto; bottom: 8%; transform: none; opacity: .09; } }

.cs-video__h { margin: 0; font-family: var(--t-font-display); font-weight: 800; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.15; letter-spacing: var(--tracking-tight); color: #fff; }
/* the design's .hl and [data-theme="dark-section"] .hl are orange; the bundle's .hl does not reach this band (QA Our Work issue 6) */
.cs-video__h .hl { color: var(--accent-main); }

.cs-video__s { margin: var(--space-5) 0 0; max-width: 40ch; font-size: var(--t-body); line-height: 1.6; color: rgba(255,255,255,.82); }

.cs-video__player { position: relative; z-index: 1; min-width: 0; max-width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 34px 70px -34px rgba(0,0,0,.75); background: #000; }

.cs-video__player iframe { display: block; width: 100%; max-width: 100%; aspect-ratio: 16 / 9; height: auto; border: 0; }


/* closing form, on the shared navy .careers band */
/* the photo column stretches to the form's height, so the two sides of the
   band end on the same line */
.cs-cta__art { min-width: 0; align-self: stretch; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(0,0,0,.65); }

@media (prefers-reduced-motion: reduce) {
  .csc, .csc__shot img, .csc__link > svg { transition: none; }
  .csc:hover { transform: none; }
  .csc:hover .csc__shot img { filter: none; }
}

.hc-hero, .tm-hero2, .bio-hero, .cs-hero, .cse-hero { padding-top: var(--hero-pad-top); padding-bottom: var(--section-padding-y); }

.hc-crumbs { margin-top: calc(var(--space-4) * -1); margin-bottom: var(--space-4); }

.hc-crumbs + * { margin-top: 0; }

/* .csc sets display:grid, which outranks the [hidden] UA rule — the filter
   sets .hidden on non-matching cards, so restore the hide explicitly */
.csc[hidden] { display: none; }

/* filtered view collapses into the first grid: make sure the folded-away
   batches and interstitials cannot be resurrected by a display rule */
.cs-listing[hidden], .cs-video[hidden], .cs-quote[hidden], .cs-ctastrip[hidden] { display: none; }


/* goal chips: buyer-language pre-filters, sitting under the two dropdowns */
.goal-chips { display: flex; flex-wrap: wrap; gap: var(--space-3); margin-top: var(--space-6); }

.goal-chip { flex: none; padding: var(--space-3) var(--space-7, var(--space-8)); border: 1px solid var(--border-strong); border-radius: var(--radius-full); background: var(--bg-surface); color: var(--text-muted); font-family: inherit; font-size: var(--t-caption); font-weight: var(--weight-semibold); line-height: 1.2; cursor: pointer; white-space: nowrap; transition: background var(--transition-base), border-color var(--transition-base), color var(--transition-base); }

.goal-chip:hover { border-color: var(--accent-main); color: var(--accent-main); }

.goal-chip:focus-visible { outline: 2px solid var(--accent-main); outline-offset: 2px; }

.goal-chip.is-on { background: var(--accent-main); border-color: var(--accent-main); color: var(--gray-0); }
@media (max-width: 640px) {
  .goal-chips { flex-wrap: nowrap; overflow-x: auto; padding-bottom: var(--space-2); scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .goal-chips::-webkit-scrollbar { display: none; }
}


/* CTA band: form and calendar share the navy, two equal columns of equal height */
.careers__grid--2{align-items:stretch;margin-top:var(--space-10)}
@media (min-width:1024px){.careers__grid--2{grid-template-columns:repeat(2,minmax(0,1fr))}}

.careers__cal{gap:var(--space-6)}



.careers .hc-formcard--onnavy .hc-form__legal{color:rgba(255,255,255,.78)}

.careers .hc-formcard--onnavy .hc-form__legal a{color:var(--primary-300);text-decoration:underline;text-underline-offset:2px}



.careers .hc-formcard--onnavy{--text-on-dark-muted:rgba(255,255,255,.78);--text-on-dark:rgba(255,255,255,.92)}

.careers .hc-formcard--onnavy .hc-formcard__note{color:rgba(255,255,255,.78);border-top-color:rgba(255,255,255,.18)}

.careers .hc-formcard--onnavy .hc-formcard__note b{color:#fff}

.careers .hc-formcard--onnavy .hc-formcard__note a{color:var(--accent-main)}


/* cards in the CTA band share one height */
.careers__grid--2{align-items:stretch}

/* the form is shorter than the calendar beside it, which left dead space at
   its foot; centre its content in the card instead of top-aligning it */
#contact-band .hc-formcard--onnavy:not(.careers__cal){justify-content:center}

/* any CTA band pairing a form with a calendar: the form is the shorter card,
   so centre its content rather than leaving dead space under it */
.careers__grid--2 .hc-formcard--onnavy:not(.careers__cal){justify-content:center}

.careers .cta2__h{margin:0;font-family:var(--t-font-display);font-weight:800;font-size:var(--text-xl);color:#fff}

.careers .cta2__b{margin:var(--space-3) 0 0;font-size:var(--t-small);line-height:1.6;color:var(--text-on-dark-muted)}

.careers .cta2__act{margin:var(--space-5) 0 0}


.careers .hc-formcard--onnavy .hc-formcard__sub{color:rgba(255,255,255,.78)}

/* the CTA keeps the shared card pattern: label left, circled arrow right */


/* ==========================================================================
   Card CTA contrast
   "Download now" / "Watch now" / "View case study" sit at 14px bold, so they
   need 4.5:1 on a white card. --accent-main lands at 3.09; the darker brand
   orange clears it at ~6.4 and still reads as the same accent.
   ========================================================================== */
.wp-c__cta a, .csc__link, .tg-foot-link { color: var(--primary-700); }

.wp-c__cta a:hover, .csc__link:hover, .tg-foot-link:hover { color: var(--accent-hover); }


/* card category labels sit at 12-14px, so they take the darker orange too */
.tg-cat, .csc .csc__meta, .cs-quote .tg-cat { color: var(--primary-700); }


/* the case-study card link needs the extra specificity to win */
.csc .csc__link { color: var(--primary-700); }

.csc:hover .csc__link, .csc:hover .csc__link:hover { color: #fff; }


/* form + calendar band: cards size to their own content instead of stretching the
   form to the calendar height, which left dead space above and below the form */
.careers__grid--2{align-items:start}

.careers__grid--2 .hc-formcard--onnavy:not(.careers__cal){justify-content:flex-start}

#cta-band.careers{padding-top:var(--space-20);padding-bottom:var(--space-20)}
@media (min-width:768px){.rs-ctastrip .cs-ctastrip__row{justify-content:space-between;text-align:left}.rs-ctastrip .cs-ctastrip__copy{align-items:flex-start}}

.bio-hero .hc-crumbs,#hero:has(.bio-hero__copy) .hc-crumbs{padding-left:0}
@media (max-width:599px){.bio-hero__copy{padding-left:0}.bio-hero .hc-crumbs,#hero:has(.bio-hero__copy) .hc-crumbs{padding-left:0}.bio-quote__m{left:0}.bio-quote__t,.bio-quote__c{padding-left:40px}}


/* form + calendar band: wider container so the HubSpot calendar fits in full beside the form */
.careers:has(.careers__grid--2)>.container{max-width:1440px}
@media (min-width:1024px){.careers__grid--2{grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:var(--space-8)}}
@media (min-width:900px){.sv-featcs__card{display:grid!important;grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:stretch}.sv-featcs__card .csc__shot{height:100%}.sv-featcs__card .csc__frame{height:100%}.sv-featcs__card .csc__frame img{height:100%;object-fit:cover}.sv-featcs__card .csc__b{display:flex;flex-direction:column;justify-content:center}}
@media (min-width:900px){.sv-featcs .sv-featcs__card{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center}.sv-featcs .sv-featcs__card .csc__shot,.sv-featcs .sv-featcs__card .csc__frame{height:auto}.sv-featcs .sv-featcs__card .csc__frame img{height:auto;aspect-ratio:auto}.sv-featcs .sv-featcs__card .csc__b{align-self:center;justify-content:center}}

.sv-featcs .csc__frame{border-radius:8px;background:var(--secondary-900)}

.sv-featcs .csc__frame img{border-radius:0;display:block}

.sv-featcs .csc__shot{align-self:stretch;border-radius:11px 0 0 11px}

.sv-featcs .sv-featcs__card .csc__frame img{height:100%!important;object-fit:cover;object-position:center}
@media (min-width:900px){.sv-featcs .sv-featcs__card .csc__b{align-self:start!important;justify-content:flex-start!important}}

/* ===== from shared.css ===== */


/* ===== from components.css ===== */


/* =========================================================================
 * Design refresh, 2026-10-21 (dap-rebrand-catalin case-studies.html).
 * 1. pages.css rules for the Our Work components (cs-*, csc*) that this file did not
 *    carry yet or carried in an older form: the contact band (cs-form, cs-cta__art),
 *    card grid alignment, card hover. Copied as written; later rules win.
 * 2. The page's own inline styles: csf-css and csf-ux-css (the filter bar).
 * ========================================================================= */
@supports (grid-template-rows: subgrid){.cs-grid{grid-auto-rows: auto;}}
@supports (grid-template-rows: subgrid){.cs-grid .csc{display: grid; grid-template-rows: subgrid; grid-row: span 2;}}
@supports (grid-template-rows: subgrid){.cs-grid .csc__shot{grid-row: 1;}}
@supports (grid-template-rows: subgrid){.cs-grid .csc__b{grid-row: 2;}}
.cs-cta__art img{display: block; width: 100%; height: 100%; min-height: 320px; aspect-ratio: 4 / 3; object-fit: cover;}
/* The contact band's image, as the design (pages.css; QA Case Study issue 5, Our Work issue 9): a rounded
   rectangle that stretches to the form's height, the image cropped to fill it. This replaces the live
   template's leaf shape (Nick, 2026-10-27). The image sits absolutely inside the frame, so the form alone
   sets the height and Chrome's size containment on lazy auto-sized images cannot stretch it. Below 1024px
   the frame is 4:3 and at least 320px tall, as in the design (width 100% keeps that minimum from widening it).
   .cs-cta__art--whole (a case study's CTA Image Fit = Whole image): the image keeps its own shape (the
   inline aspect-ratio from dapw_cta_image(), else 4:3), centred beside the form, for graphics whose
   figures sit near the edges. */
.cs-cta__art{position: relative; align-self: stretch; width: 100%; min-height: 320px; aspect-ratio: 4 / 3; border-radius: var(--radius-lg); overflow: hidden; box-shadow: 0 30px 60px -34px rgba(0,0,0,.65);}
@media (min-width: 1024px){.cs-cta__art{aspect-ratio: auto;}}
.cs-cta__art img{position: absolute; inset: 0; display: block; width: 100%; height: 100%; min-height: 0; max-width: none; object-fit: cover; border-radius: 0;}
.cs-cta__art--whole{align-self: center; min-height: 0; aspect-ratio: auto;}
.cs-cta__art--whole img{position: static; height: auto; aspect-ratio: 4 / 3; object-fit: contain;}
/* Our Work's form stacks Work email over Phone number at full width (case-studies.html; QA Our Work issue 12). The
   shared HubSpot grid pairs one-column rows, as the case study design does, so this skips case studies (also .dapw-page). */
.dapw-page:not(.p-case) #cta-band .dap-form-shortcode .hs-form fieldset.form-columns-1{grid-column: 1 / -1;}
/* the message box is 62px tall in both designs (.hc-form .form-textarea, case-studies.html and jobsity-v2.html), not
   the shared form's 120px; 6px top and bottom as the design, the sides stay level with the other fields (QA Our Work issue 13) */
.dapw-page #cta-band .dap-form-shortcode .hs-form textarea.hs-input:not(#dap-hb){height: 62px !important; min-height: 62px !important; padding-top: 6px !important; padding-bottom: 6px !important;}
/* the form button as both designs' .hc-form .btn--md: 40px tall (44px under 768px), a 16px label, then the thin
   #ico-arrow-right 6px after it, nudged 3px right on hover (QA Our Work issue 14). HubSpot's button is an <input>, which
   cannot hold the svg, so .actions::after draws the label and arrow over it (clicks pass through to the input) and the
   input's own text, the "Talk to a Strategist →" that blocks.js gives it (HS_SUBMIT), is hidden. Forced colours keep
   the input's text instead. The 25px right padding is the 6px gap, the 16px arrow and 3px of room for the hover nudge; min-height beats .cs-form input (52px). */
.dapw-page #cta-band .dap-form-shortcode .hs-form .hs_submit .actions{position: relative;}
.dapw-page #cta-band .dap-form-shortcode .hs-form .hs-button:not(#dap-hb){height: 40px !important; min-height: 40px !important; padding: 0 var(--space-12) !important; font-size: var(--t-body) !important; color: transparent !important;}
@media (max-width: 767px){.dapw-page #cta-band .dap-form-shortcode .hs-form .hs-button:not(#dap-hb){height: 44px !important; min-height: 44px !important;}}
.dapw-page #cta-band .dap-form-shortcode .hs-form .hs_submit .actions::after{
	content: "Talk to a Strategist"; content: "Talk to a Strategist" / "";
	position: absolute; left: calc(50% + 1.5px); top: 50%; transform: translate(-50%, -50%); padding-right: 25px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h15'/%3E%3Cpath d='M13 6l6 6-6 6'/%3E%3C/svg%3E") no-repeat right 3px center / 16px 16px;
	font-family: var(--t-font-body); font-size: var(--t-body); font-weight: var(--weight-bold); line-height: 1; color: #fff; white-space: nowrap; pointer-events: none;
	transition: transform var(--transition-base), background-position var(--transition-base);
}
.dapw-page #cta-band .dap-form-shortcode .hs-form .hs_submit .actions:hover::after{transform: translate(-50%, calc(-50% - 1px)); background-position: right 0 center;}
@media (forced-colors: active){
	.dapw-page #cta-band .dap-form-shortcode .hs-form .hs-button:not(#dap-hb){color: ButtonText !important;}
	.dapw-page #cta-band .dap-form-shortcode .hs-form .hs_submit .actions::after{display: none;}
}
/* the white form card sits in the navy band, whose dark tokens made the note's divider white on white; the designs'
   grey line (rgba(4,28,44,.15), case-studies.html and jobsity-v2.html; QA Our Work issue 16) */
.dapw-page #cta-band .cs-form .hc-formcard__note{border-top-color: rgba(4,28,44,.15);}
/* Our Work's form heading in the design's darker navy (--secondary-900), not the homepage contact band's --secondary-800
   (bundle.css [data-screen-label="contact"] h2 !important); the case study design uses its own shade (QA Our Work issue 21) */
.dapw-page:not(.p-case) #cta-band .cs-form__h{color: var(--secondary-900) !important;}
/* the consent line's links: the design's .hc-form__legal a (pages.css, not loaded here) is --primary-700, underlined on
   hover; without it they took the generic link orange (QA Our Work issue 11) */
.hc-form__legal a{color: var(--primary-700);}
.hc-form__legal a:hover{text-decoration: underline; text-underline-offset: 2px;}
.cs-form{min-width: 0; background: #fbfbfa; border-radius: var(--radius-lg); padding: var(--space-8); box-shadow: 0 30px 60px -30px rgba(0,0,0,.5);}
@media (min-width: 700px){.cs-form{padding: var(--space-10);}}
.cs-form__h{margin: 0 0 var(--space-8); font-family: var(--t-font-display); font-weight: 800; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: var(--tracking-tight); color: var(--secondary-900);}
.cs-form__h .hl{color: var(--accent-main);}
.cs-form__fields{display: grid; gap: var(--space-4);}
.cs-form__row{display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--space-4);}
.cs-form input::placeholder, .cs-form textarea::placeholder{color: var(--gray-500, #757575);}
.cs-form input, .cs-form textarea{width: 100%; min-height: 52px; padding: var(--space-4) var(--space-5); font-family: var(--t-font-body); font-size: var(--t-small); color: var(--secondary-900); background: #fff; border: 1px solid var(--border-subtle); border-radius: var(--radius-md); transition: border-color var(--transition-base), box-shadow var(--transition-base);}
.cs-form textarea{resize: vertical;}
.cs-form input:focus-visible, .cs-form textarea:focus-visible{outline: none; border-color: var(--accent-main); box-shadow: 0 0 0 3px rgba(240,109,58,.18);}
.cs-form__fine{margin: var(--space-2) 0 0; font-size: var(--t-caption); line-height: 1.55; color: var(--gray-600, #5b6b76);}
.cs-form__fine a{color: var(--accent-main);}
.cs-form__submit{width: 100%; justify-content: center; margin-top: var(--space-2);}
.cs-form__contact{display: flex; flex-wrap: wrap; gap: var(--space-3) var(--space-8); margin: var(--space-8) 0 0; padding-top: var(--space-6); border-top: 1px solid var(--border-subtle); font-size: var(--t-small); font-weight: var(--weight-semibold);}
.cs-form__contact a{color: var(--secondary-900); text-decoration: none;}
.cs-form__contact a:hover{color: var(--accent-main);}
@supports not (grid-template-rows: subgrid){.csc__shot img{height: 190px; object-fit: contain; object-position: center top;}}
.cs-form__h:has(+ .cs-form__sub){margin-bottom: var(--space-5);}
.cs-form__sub{margin: 0 0 var(--space-8); font-size: var(--t-small); line-height: 1.6; color: var(--gray-600, #5b6b76);}
.cs-form__fields{row-gap:14px}
.cs-form__submit{margin-top:10px}
.cs-form__fine{margin-top:-6px}
.csc:hover .csc__link, .csc:hover .csc__link:hover{color: var(--primary-700);}
.csc__link > svg{background:var(--primary-600)}
.csc:hover .csc__link > svg,.csc__link:hover > svg{background:var(--primary-700)}

/* csf-css (case-studies.html inline) */
.cs-filters{row-gap:var(--space-4)}
.cs-filters__row2{flex:1 0 100%;display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3) var(--space-4)}
.cs-filters__lab{font-size:10px;font-weight:var(--weight-semibold);letter-spacing:.07em;text-transform:uppercase;color:var(--text-muted)}
.cs-filters__row2 .goal-chips{margin-top:0}
.cs-filters .cs-clear[hidden]{display:inline-flex!important;visibility:hidden}
.cs-filters .cs-select span{font-size:10px;letter-spacing:.07em;top:9px}
.cs-filters .cs-select select{min-height:52px;padding-top:21px;padding-bottom:7px;font-weight:700;color:var(--text-heading);border:1px solid #E3E8EF;background-color:var(--bg-surface)}
.cs-filters .cs-select select:hover{border-color:var(--accent-main)}
.cs-filters .cs-select select:focus-visible{outline:2px solid var(--accent-main);outline-offset:2px;border-color:var(--accent-main)}
.cs-filters .cs-select select:has(option:not([value=""]):checked){border-color:#C8410D;color:#C8410D;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C8410D' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E")}
.cs-filters .cs-select select option{color:var(--text-heading)}
.cs-filters .goal-chip{display:inline-flex;align-items:center;min-height:52px;padding:0 var(--space-6);border:1px solid #E3E8EF;background:var(--bg-surface);color:var(--text-heading)}
.cs-filters .goal-chip:hover{border-color:var(--accent-main);color:var(--accent-main);background:var(--bg-surface)}
.cs-filters .goal-chip:focus-visible{outline:2px solid var(--accent-main);outline-offset:2px}
.cs-filters .goal-chip.is-on,.cs-filters .goal-chip.is-on:hover{background:#C8410D;border-color:#C8410D;color:#fff}
@media (max-width:767px){.cs-filters{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:var(--space-3)}
.cs-filters .cs-filters__controls{display:contents}
.cs-filters .cs-filters__count{grid-column:1;grid-row:1}
.cs-filters .cs-clear{grid-column:2;grid-row:1}
.cs-filters .cs-select{grid-column:1/-1;display:flex;width:100%}
.cs-filters .cs-select select{width:100%;min-width:0}
.cs-filters .cs-filters__row2{grid-column:1/-1;margin-top:var(--space-2)}
.cs-filters .goal-chips{flex-wrap:wrap!important;overflow:visible!important;padding-bottom:0}}

/* csf-ux-css (case-studies.html inline) */
.cs-filters{display:flex!important;flex-direction:column!important;align-items:flex-start!important;gap:var(--space-4)!important;grid-template-columns:none!important}.cs-filters .cs-filters__count{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 6px;margin:0;border:0!important;padding:0!important}.cs-filters #cs-active{font-weight:700;color:var(--text-heading)}.cs-filters .cs-clear{margin-left:8px}.cs-filters .cs-clear[hidden]{display:none!important}.cs-filters__bar{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3);width:100%}.cs-filters__out{display:flex;flex-wrap:wrap;align-items:center;gap:var(--space-3) var(--space-4)}.cs-filters__out .goal-chips{margin-top:0;flex-wrap:wrap!important;overflow:visible!important;padding-bottom:0}.cs-filters__bar{flex-direction:column;align-items:flex-start;gap:var(--space-3)}.cs-filters__sels{display:flex;flex-wrap:wrap;gap:var(--space-3);width:100%}.cs-filters .cs-select>span{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.cs-filters .cs-select select{min-height:42px!important;height:42px;padding:0 44px 0 20px!important;border-radius:999px!important;line-height:40px;min-width:240px}.cs-filters .goal-chip{min-height:42px!important;height:42px;padding:0 var(--space-5)!important;border-radius:999px!important}.cs-filters .cs-filters__count{align-items:baseline}@media (max-width:767px){.cs-filters .cs-select select{min-width:0}}@media (max-width:767px){.cs-filters__bar .cs-select{flex:1 1 100%;width:100%}.cs-filters__bar .cs-select select{width:100%}}

/* Our Work contact band (dapw/work-contact), 2026-10-21. The band is navy as designed: the
   homepage's #cta-band is white by decision, and that rule reaches this page through the
   shared bundle. The HubSpot form sits straight in the design's white card, so the homepage
   form band's own card around it goes, and the fine print and meeting line take the
   design's colours for a light card. HubSpot's own consent paragraph is hidden; the
   card's fine print carries the consent text, as on the industry pages. */
.dapw-page #cta-band.careers { background-color: var(--bg-section-dark, #041c2c) !important; }
.dapw-page .cs-form .dap-form-shortcode { background: none !important; padding: 0 !important; box-shadow: none !important; border-radius: 0 !important; }
.dapw-page .cs-form .hc-form__legal,
.dapw-page .cs-form .hc-form__legal .dap-recaptcha-note { color: #5b6770; font-size: 14px; }
.dapw-page .cs-form .hc-formcard__note { color: #4b5563; }
.dapw-page .cs-form .hc-formcard__note b { color: #041c2c; }
.dapw-page .cs-form .hs-richtext,
.dapw-page .cs-form .legal-consent-container { display: none !important; }
/* The homepage reserves 540px (640px on phones) for its longer HubSpot form so the page does
   not jump while it loads; this form is 421px (512px when its fields stack), so the
   reservation follows it here instead of leaving a gap under the button. Labels are dark,
   on the light card (the homepage writes them white, for its navy band). */
.dapw-page .cs-form .dap-form-shortcode { min-height: 421px !important; }
@media (max-width: 599px) { .dapw-page .cs-form .dap-form-shortcode { min-height: 512px !important; } }
.dapw-page .cs-form .hs-form label { color: #041c2c !important; }
/* The bundle's contact-band label rule carries an id (:not(#dap-hb)) and writes them white,
   so this one needs an id as well. The hero's highlighted word is orange, as designed. */
.dapw-page #cta-band .cs-form .hs-form .hs-form-field > label:not(#dapw) { color: #041c2c !important; }
.dapw-page .cs-hero .cs-hero__h1 .hl:not(#dapw) { color: var(--accent-main) !important; }

/* "Show more case studies" under the first set (2026-10-21; not in the design). */
.cs-listing .cs-more { display: flex; justify-content: center; margin: var(--space-10) 0 0; }
.cs-listing .cs-more [hidden] { display: none !important; }
.cs-grid .csc[hidden] { display: none !important; }
/* while Our Work fetches filtered cards or the next page (work.js) */
.cs-grid[aria-busy="true"] { opacity: .55; transition: opacity .2s; }

/* White logos (Client Details > White logo) on the light card body. */
.csc__logo--white img { filter: drop-shadow(0px 0px 4px rgba(0, 0, 0, .8)); }
