/* coss-hire.css — split from coss-site-components.css; do not edit aggregator directly */

/* Hire me — Play-style hero + coss-frame separated panels; lower half uses left index rail */
html:has(body.hire-page:not(.hire-page--v2)) {
  overflow-x: clip;
}

.hire-page {
  --hire-transition: 180ms ease;
  --hire-content-inset: var(--hub-content-inset);
  /* Hire page type scale — one hierarchy for display + body */
  --hire-fs-hero: clamp(32px, 5.5vw, 52px);
  --hire-fs-hero-sm: clamp(28px, 7vw, 40px);
  --hire-fs-frame: clamp(26px, 3vw, 32px);
  --hire-fs-section: clamp(20px, 2.35vw, 24px);
  --hire-fs-panel: clamp(18px, 2.1vw, 22px);
  --hire-fs-callout: 17px;
  --hire-fs-card-title: 16px;
  --hire-fs-stat: clamp(20px, 2.4vw, 24px);
  --hire-fs-body: 16px;
  --hire-fs-body-sm: 15px;
  --hire-fs-deck: 15px;
  --hire-fs-meta: 13.5px;
  --hire-fs-caption: 12.5px;
  --hire-fs-label: 13px;
  --hire-fs-kicker: 10.5px;
  --hire-lh-tight: 1.12;
  --hire-lh-heading: 1.2;
  --hire-lh-body: 1.65;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.play-hero.hire-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  justify-items: stretch;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  overflow-y: hidden;
}

.ai-practices-page .play-hero.hire-hero {
  background: var(--background);
  min-height: auto;
  padding: clamp(48px, 10vh, 96px) 0 clamp(32px, 6vh, 64px);
  justify-items: center;
}

.ai-practices-page .play-hero.hire-hero::after {
  display: none;
}

.ai-practices-page .hire-content {
  margin-top: 0;
}

.ai-practices-page .play-hero.hire-hero > .hire-hero__content {
  width: min(100%, var(--content-max-wide));
  max-width: var(--content-max-wide);
  margin-inline: auto;
  padding-inline: var(--hire-content-inset);
  align-items: flex-start;
}

.ai-practices-page .hire-hero__title {
  text-align: left;
}

.ai-practices-page .hire-hero .hire-hero__actions {
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

.ai-practices-page .hire-hero__lens-copy {
  align-items: flex-start;
  text-align: left;
}

.ai-practices-page .hire-hero__deck {
  margin: 4px 0 0;
  font-size: var(--hire-fs-body);
  line-height: var(--hire-lh-body);
  color: var(--detail-quiet);
}

.ai-practices-page .hire-hero__lens-buttons {
  justify-content: flex-start;
}

.ai-practices-page .hire-hero__lens-buttons .hire-hero__lens-btn {
  text-align: left;
}

.ai-practices-page .hire-hero__jump {
  justify-content: flex-start;
}

.ai-practices-page .hire-hero__lens .hire-hero__jump {
  margin-top: 4px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  width: 100%;
}

.ai-practices-page .hire-hero__lens {
  border-radius: var(--radius-2xl);
  border-color: var(--border);
}

.ai-practices-page .hire-practice-picker,
.ai-practices-page #practices-testimonials,
.ai-practices-page #practices-proof {
  scroll-margin-top: var(--practice-hub-scroll-offset);
}

.ai-practices-page {
  scroll-behavior: smooth;
}

/* ============================================================
   Hire page shell — spacing harness (Festina #spacing-hire)
   Page rhythm: --hire-page-* tokens in colors_and_type.css
   ============================================================ */
/* Hire me v2 — static hero + persona folder tabs (live: hire-me.html) */
.hire-page-v2 .play-hero.hire-hero {
  background: var(--background);
  min-height: auto;
  padding: clamp(48px, 10vh, 96px) 0 clamp(16px, 3vh, 32px);
  justify-items: center;
}

.hire-page-v2 .play-hero.hire-hero::after {
  display: none;
}

.hire-page-v2 .hire-content {
  margin-top: 0;
}

.hire-page-v2 .play-hero.hire-hero > .hire-hero__content {
  width: min(100%, var(--content-max-wide));
  max-width: var(--content-max-wide);
  margin-inline: auto;
  padding-inline: var(--hire-content-inset);
  align-items: flex-start;
}

.hire-page-v2 .hire-hero__title {
  text-align: left;
}

.hire-page-v2 .hire-hero .hire-hero__actions {
  align-items: flex-start;
  align-self: stretch;
  width: 100%;
  max-width: 100%;
}

.hire-page-v2 .hire-hero__lens-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: var(--hire-page-hero-stack);
}

.hire-page-v2 .hire-hero__experience {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4em;
  margin: 0;
}

.hire-page-v2 .hire-hero__experience-value {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-stat);
  line-height: 1.05;
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-page-v2 .hire-hero__experience-label {
  font-family: var(--font-body);
  font-size: var(--hire-fs-body);
  font-weight: 500;
  line-height: var(--hire-lh-body);
  color: var(--foreground);
}

.hire-page-v2 .hire-hero__deck {
  margin: 0;
  font-size: var(--hire-fs-body);
  line-height: var(--hire-lh-body);
  color: var(--detail-quiet);
  max-width: none;
}

.hire-page-v2 .hire-hero__deck-list {
  width: 100%;
  max-width: none;
}

.hire-page-v2 .hire-hero__deck-list li {
  font-size: var(--hire-fs-body);
  line-height: var(--hire-lh-body);
  color: var(--detail-quiet);
}

.hire-page-v2 .hire-hero__jump {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
  gap: var(--festina-space-group-tab) var(--festina-space-kicker);
  margin-top: 0;
  padding-top: var(--hire-page-hero-stack);
  border-top: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  width: 100%;
}

.hire-page-v2 #hire-proof,
.hire-page-v2 #about-proof {
  scroll-margin-top: calc(var(--detail-nav-h) + var(--festina-space-kicker));
}

.hire-page-v2 #hire-fitment {
  scroll-margin-top: calc(var(--detail-nav-h) + var(--festina-space-kicker));
}

.hire-page-v2 .hire-hero__jump-btn {
  text-align: left;
}

.hire-page-v2 {
  scroll-behavior: smooth;
}

.hire-page-v2 #testimonials {
  scroll-margin-top: calc(var(--detail-nav-h) + var(--festina-space-kicker));
}

.hire-page-v2 .hire-hero__lens {
  border-radius: var(--radius-2xl);
  border-color: var(--border);
}

.hire-page-v2 .hire-hero__lens-logos {
  --hire-marquee-logo-band: 20px;
  --hire-marquee-logo-height: 18px;
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-group-tab);
  width: 100%;
  min-width: 0;
  padding-top: var(--hire-page-hero-stack);
  border-top: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-strip__label {
  margin: 0;
  padding-inline: 0;
  font-family: var(--font-label);
  font-size: var(--hire-fs-meta);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-strip__marquee-row {
  min-width: 0;
  padding-inline: 0;
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-strip__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
  min-height: var(--hire-marquee-logo-band, 20px);
  padding: var(--hire-page-marquee-pad) 0 0;
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo {
  display: block;
  width: auto;
  max-width: 120px;
  height: var(--hire-marquee-logo-height, 18px);
  object-fit: contain;
  object-position: left center;
  opacity: 0.68;
  filter: grayscale(1);
  flex-shrink: 0;
}

/* Marquee per-mark optical nudges — mechanical centering fails on uneven SVG viewBoxes */
.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--aampe,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--aampe {
  height: 18px;
  max-width: 92px;
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--amazon,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--amazon {
  height: 17px;
  max-width: 82px;
  /* Smile arrow sits low in viewBox */
  transform: translateY(1px);
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--lendingkart,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--lendingkart {
  height: 17px;
  max-width: 108px;
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--capri-global,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--capri-global {
  height: 16px;
  max-width: 68px;
  /* Mountain + wordmark stack reads tall */
  transform: translateY(1px);
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--framer,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--framer {
  height: 17px;
  max-width: 88px;
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__logo--scapia,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__logo--scapia {
  height: 18px;
  max-width: 50px;
  /* Short lowercase wordmark — +1px height to match neighbours */
  transform: translateY(0);
}

.hire-page-v2 .hire-hero__lens-logos .hire-logo-marquee__more,
.hire-page-v2 .hire-logo-strip .hire-logo-marquee__more {
  align-self: center;
  font-family: var(--font-label);
  font-size: var(--hire-fs-meta);
  font-weight: 500;
  line-height: 1;
  color: var(--muted-foreground);
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .hire-page-v2 .hire-hero__lens-logos .hire-logo-strip__logos {
    gap: 20px;
  }
}

.hire-page-v2 #hire-persona,
.hire-page-v2 #hire-persona-folders {
  scroll-margin-top: calc(var(--detail-nav-h) + 12px);
}

.hire-frame__work-previews-nudges {
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-kicker);
}

.hire-work-timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.hire-work-timeline__item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  column-gap: var(--hire-proof-item-col-gap);
  align-items: start;
  padding-block: var(--hire-proof-item-pad);
  border-top: 1px solid var(--border);
}

.hire-work-timeline__item:first-child {
  padding-top: 0;
  border-top: none;
}

.hire-work-timeline__item:last-child {
  padding-bottom: 0;
}

.hire-work-timeline__mark {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.hire-work-timeline__item--logo-lg {
  grid-template-columns: 40px minmax(0, 1fr);
}

.hire-work-timeline__mark--logo-lg {
  width: 40px;
  height: 40px;
}

.hire-work-timeline__logo--lg {
  width: 40px;
  height: 40px;
}

.hire-work-timeline__logo-fallback--lg {
  width: 40px;
  height: 40px;
  font-size: 12px;
}

.hire-work-timeline__logo {
  display: block;
  width: 32px;
  height: 32px;
  object-fit: contain;
  border-radius: 6px;
}

.hire-work-timeline__logo-fallback {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  font-family: var(--font-label);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.hire-work-timeline__body {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-logo-row-gap);
  min-width: 0;
}

.hire-work-timeline__copy {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-content-gap);
  min-width: 0;
}

.hire-work-timeline__head {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-meta-tight);
  min-width: 0;
}

.hire-work-timeline__meta {
  margin: 0;
  font-size: var(--hire-fs-deck);
  line-height: 1.35;
}

.hire-work-timeline__company {
  font-weight: 600;
  color: var(--foreground);
}

.hire-work-timeline__dates {
  color: var(--muted-foreground);
}

.hire-work-timeline__tags {
  margin: 0;
  font-size: var(--hire-fs-meta);
  line-height: 1.4;
  color: var(--muted-foreground);
}

.hire-work-timeline__desc {
  margin: 0;
  font-size: var(--hire-fs-deck);
  line-height: 1.5;
  color: var(--muted-foreground);
}

.hire-work-timeline__acquired {
  /* Same 16px band as client rows — label + logo share one text line */
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: var(--festina-space-group-tab);
  margin: 0;
  padding: 0;
  height: var(--hire-timeline-logo-band, 16px);
}

.hire-work-timeline__acquired-label {
  font-family: var(--font-label);
  font-size: var(--hire-fs-meta);
  font-weight: 500;
  line-height: 1;
  color: var(--muted-foreground);
}

.hire-work-timeline__acquired-logo {
  display: block;
  width: auto;
  height: var(--hire-timeline-logo-height, 14px);
  max-width: 104px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.68;
  filter: grayscale(1);
  /* MoEngage wordmark sits low in viewBox — nudge onto shared baseline */
  transform: translateY(1px);
}

.hire-work-timeline__ai-preview {
  width: 100%;
}

.hire-work-timeline__ai-preview-link {
  width: 100%;
  justify-content: center;
}

/* Client / partner logo row — one shared baseline band (like a line of text) */
.hire-work-timeline__clients {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--hire-proof-logo-inline-gap-loose) var(--hire-proof-logo-inline-gap);
  margin: 0;
  padding: 0;
  min-height: var(--hire-timeline-logo-band, 16px);
  list-style: none;
}

.hire-work-timeline__client {
  /* Chip = flex row; center aligns mark + composite labels on one baseline */
  display: flex;
  flex-direction: row;
  align-items: center;
  height: var(--hire-timeline-logo-band, 16px);
  min-width: 0;
}

.hire-work-timeline__client-logo {
  display: block;
  width: auto;
  max-width: 110px;
  height: var(--hire-timeline-logo-height, 15px);
  object-fit: contain;
  object-position: left center;
  opacity: 0.68;
  filter: grayscale(1);
  flex-shrink: 0;
}

/* Per-mark optical nudges — mechanical centering is wrong for SVG viewBox padding */
.hire-work-timeline__client-logo--framer {
  height: 14px;
}

.hire-work-timeline__client-logo--lendingkart {
  height: 14px;
  max-width: 86px;
}

.hire-work-timeline__client-logo--capri-loans {
  height: 14px;
  max-width: 56px;
  /* Mountain icon adds top weight */
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--scapia {
  height: 14px;
  max-width: 46px;
  /* Short lowercase wordmark — +1px height; lift 1px so cap line matches Finverse */
  transform: translateY(0);
}

.hire-work-timeline__client-logo--plum {
  height: 13px;
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--townhall {
  height: 14px;
  max-width: 76px;
}

.hire-work-timeline__client-logo--growth-school {
  height: 14px;
  max-width: 96px;
}

.hire-work-timeline__client-logo--amazon {
  height: 14px;
  max-width: 68px;
}

.hire-work-timeline__client-logo--vodafone {
  height: 14px;
  max-width: 72px;
  /* Swirl mark sits low in source art */
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--essilor {
  height: 13px;
  max-width: 64px;
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--philips {
  height: 13px;
  max-width: 58px;
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--isha {
  height: 15px;
  max-width: 52px;
  margin-left: 4px;
  filter: grayscale(1) brightness(0.5);
  /* Thin script wordmark — +1px height, lift 1px, extra gap after bold PHILIPS */
  transform: translateY(-1px);
}

.hire-work-timeline__client-logo--microsoft {
  height: 14px;
  max-width: 76px;
  /* Four-square mark is visually heavier than wordmarks */
  transform: translateY(-1px);
}

.hire-work-timeline__client-logo--university-of-washington {
  height: 14px;
  max-width: 22px;
  /* Tall serif W — cap height exceeds wordmark band */
  transform: translateY(-1px);
}

.hire-work-timeline__client-logo--ondeck {
  height: 13px;
  max-width: 56px;
  transform: translateY(1px);
}

.hire-work-timeline__client-logo--nextleap {
  height: 14px;
  max-width: 72px;
  margin-left: 2px;
  /* Thin lowercase wordmark — +1px height; lift 1px to sit with OnDeck cap height */
  transform: translateY(0);
}

@font-face {
  font-family: "Ranade Bold";
  src: url("/assets/fonts/Ranade-Bold.otf") format("opentype");
  font-style: normal;
  font-weight: 700;
  font-display: swap;
}

.hire-work-timeline__client--finverse {
  align-items: center;
  gap: 5px;
  height: var(--hire-timeline-logo-band, 16px);
}

.hire-work-timeline__client-mark {
  display: block;
  width: auto;
  height: 13px;
  object-fit: contain;
  object-position: left center;
  opacity: 0.68;
  filter: grayscale(1);
  flex-shrink: 0;
}

.hire-work-timeline__client--finverse .hire-work-timeline__client-mark {
  height: 13px;
}

.hire-work-timeline__client-wordmark--finverse {
  font-family: "Ranade Bold", serif;
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--muted-foreground);
  opacity: 0.68;
  /* Wordmark cap height aligned to mark, not img box center */
  transform: translateY(1px);
}

.hire-work-timeline__clients-more {
  align-self: center;
  font-family: var(--font-label);
  font-size: var(--hire-fs-meta);
  font-weight: 500;
  line-height: 1;
  color: var(--muted-foreground);
  white-space: nowrap;
}

.hire-page-v2 .hire-practice-picker {
  margin-top: 12px;
}

.hire-page-v2 {
  scroll-behavior: smooth;
}

/* Practice picker section — spec: docs/practice-picker-section.md · Festina: /festina-ui#practice-picker */
.hire-practice-section .hire-practice-picker {
  margin-top: 16px;
}

.ai-practices-page .hire-practice-picker {
  gap: var(--practice-hub-picker-gap);
}

.ai-practices-page .hire-practice-picker__list {
  gap: var(--practice-hub-picker-gap);
}

.ai-practices-page .hire-practice-picker__card {
  padding: var(--practice-hub-card-pad-y) var(--practice-hub-card-pad-x);
  gap: var(--festina-space-stack);
}

.ai-practices-page .hire-practice-picker__card-body {
  gap: var(--practice-hub-card-body-gap);
}

.hire-practice-picker {
  display: grid;
  gap: 10px;
}

.hire-practice-picker__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hire-practice-picker__item {
  margin: 0;
}

.hire-practice-picker__card {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 0;
  padding: 16px 18px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hire-practice-picker__card-body {
  display: grid;
  gap: 4px;
  min-width: 0;
  flex: 1 1 auto;
}

.hire-practice-picker__card-title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-card-title);
  line-height: 1.3;
  color: var(--foreground);
}

.hire-practice-picker__card-copy {
  font-size: var(--hire-fs-caption);
  line-height: 1.45;
  color: var(--detail-quiet);
}

.hire-practice-picker__card-icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--detail-line);
  border-radius: 999px;
  background: var(--secondary);
  color: var(--detail-quiet);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.hire-practice-picker__card-icon .ph {
  font-size: 18px;
}

.hire-practice-picker__card:hover {
  border-color: color-mix(in oklab, var(--grass-8) 58%, var(--detail-line));
  box-shadow: var(--shadow-sm);
}

.hire-practice-picker__card:hover .hire-practice-picker__card-icon {
  border-color: color-mix(in oklab, var(--grass-8) 58%, var(--detail-line));
  color: var(--grass-11);
  background: color-mix(in oklab, var(--grass-3) 42%, var(--secondary));
}

.hire-practice-picker__card:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.hire-practice-picker__card:active {
  transform: translateY(1px);
}

.hire-practice-picker__card.is-disabled,
.hire-practice-picker__card[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
  pointer-events: auto;
}

.hire-practice-picker__card.is-disabled:hover,
.hire-practice-picker__card[aria-disabled="true"]:hover {
  border-color: var(--detail-line);
  box-shadow: none;
}

.hire-practice-picker__card.is-disabled:hover .hire-practice-picker__card-icon,
.hire-practice-picker__card[aria-disabled="true"]:hover .hire-practice-picker__card-icon {
  border-color: var(--detail-line);
  color: var(--detail-quiet);
  background: var(--secondary);
}

.hire-practice-picker__card.is-disabled:focus-visible,
.hire-practice-picker__card[aria-disabled="true"]:focus-visible {
  outline: none;
}

.hire-practice-primary.is-disabled,
.hire-practice-primary[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.72;
  box-shadow: none;
}

.hire-practice-primary.is-disabled:hover,
.hire-practice-primary[aria-disabled="true"]:hover {
  border-color: var(--detail-line);
  box-shadow: none;
}

.hire-practice-primary {
  display: grid;
  gap: 14px;
  width: 100%;
  padding: 18px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.hire-practice-primary__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.hire-practice-primary__body {
  display: grid;
  gap: 6px;
  min-width: 0;
  flex: 1 1 auto;
}

.hire-practice-primary__title {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-section);
  line-height: 1.25;
  color: var(--foreground);
}

.hire-practice-primary__copy {
  font-size: var(--hire-fs-meta);
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-practice-primary__icon {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--detail-line);
  border-radius: 999px;
  background: var(--secondary);
  color: var(--detail-quiet);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease;
}

.hire-practice-primary__icon .ph {
  font-size: 18px;
}

.hire-practice-primary__media {
  display: block;
  overflow: hidden;
  border-radius: calc(var(--radius-md) - 4px);
  border: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  background: var(--secondary);
}

.hire-practice-primary__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  object-position: top center;
}

.hire-practice-primary__media--contain {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 16px;
  background: var(--background);
}

.hire-practice-primary__media--contain img {
  width: auto;
  max-width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hire-practice-primary:hover {
  border-color: color-mix(in oklab, var(--grass-8) 58%, var(--detail-line));
  box-shadow: var(--shadow-sm);
}

.hire-practice-primary:hover .hire-practice-primary__icon {
  border-color: color-mix(in oklab, var(--grass-8) 58%, var(--detail-line));
  color: var(--grass-11);
  background: color-mix(in oklab, var(--grass-3) 42%, var(--secondary));
}

.hire-practice-primary:focus-visible {
  outline: 2px solid var(--focus-ring);
  outline-offset: 2px;
}

.hire-practice-primary:active {
  transform: translateY(1px);
}

@media (max-width: 640px) {
  .hire-practice-primary__title {
    font-size: var(--hire-fs-card-title);
  }
}

.play-hero.hire-hero > .hire-hero__content {
  justify-self: center;
  width: 100%;
  max-width: 720px;
}

.hire-content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--content-max-wide);
  min-width: 0;
  margin: clamp(-132px, -15vh, -88px) auto 0;
  padding: 0 var(--hire-content-inset) var(--shell-pad-bottom);
  box-sizing: border-box;
}

.hire-frame.coss-frame {
  box-shadow: var(--shadow-md);
}

.hire-content > .hire-frame.coss-frame + .hire-frame.coss-frame {
  margin-top: var(--hire-page-frame-gap);
}

.hire-page-v2 .hire-content > .hire-frame--persona:first-child {
  margin-top: var(--hire-persona-section-gap);
}

.hire-frame--persona .practice-folders {
  padding: 0 0 var(--hire-proof-panel-pad-bottom);
  gap: 0;
}

.hire-frame--persona .practice-folders__tabs {
  padding-inline: var(--hire-proof-panel-pad-inline);
}

.hire-frame--persona .practice-folders__panel {
  padding: var(--hire-proof-panel-pad-block) var(--hire-proof-panel-pad-inline)
    var(--hire-proof-panel-pad-bottom);
}

.hire-frame__proof-header {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-panel-title-gap);
  padding: var(--hire-proof-panel-pad-block) var(--hire-proof-panel-pad-inline)
    var(--hire-proof-panel-pad-bottom);
}

.hire-frame__proof-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-frame);
  line-height: var(--hire-lh-tight);
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-frame__proof-deck {
  width: 100%;
  max-width: none;
  font-size: var(--hire-fs-deck);
  line-height: var(--hire-lh-body);
}

.hire-hero::after {
  height: clamp(160px, 30vh, 260px);
  background: linear-gradient(
    180deg,
    transparent 0%,
    color-mix(in oklab, var(--background) 28%, transparent) 40%,
    color-mix(in oklab, var(--background) 78%, transparent) 72%,
    var(--background) 100%
  );
}

.hire-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(20px, 3vh, 28px);
  width: 100%;
  max-width: 720px;
  min-width: 0;
  margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 24px);
  box-sizing: border-box;
}

.hire-hero__title {
  margin: 0;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-hero);
  line-height: 1.06;
  letter-spacing: 0;
  text-align: center;
  color: var(--foreground);
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.hire-hero .hire-hero__actions {
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 0;
  width: 100%;
  max-width: min(760px, 100%);
  min-width: 0;
}

.hire-hero__lens {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: var(--hire-page-hero-stack);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  padding: var(--hire-page-hero-pad) var(--hire-proof-panel-pad-inline)
    var(--festina-space-stack);
  border: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--background) 88%, transparent);
  transition:
    border-color var(--hire-transition),
    box-shadow var(--hire-transition);
  box-sizing: border-box;
  overflow: hidden;
  isolation: isolate;
}

.hire-hero__lens::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: color-mix(in oklab, var(--background) 72%, transparent);
  backdrop-filter: saturate(130%) blur(10px);
  pointer-events: none;
}

.hire-hero__lens > * {
  position: relative;
  z-index: 1;
}

.hire-hero__lens.is-lens-hint {
  border-color: color-mix(in oklab, var(--grass-8) 55%, var(--border));
  box-shadow:
    0 0 0 1px color-mix(in oklab, var(--grass-8) 35%, transparent),
    0 8px 24px color-mix(in oklab, var(--foreground) 8%, transparent);
}

.hire-hero__lens-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  min-width: 0;
  text-align: center;
}

.hire-hero__lens-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-panel);
  line-height: var(--hire-lh-heading);
  color: var(--foreground);
}

.hire-hero__lens-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap: var(--festina-space-group-tab);
  width: 100%;
  min-width: 0;
}

.hire-hero__lens-buttons .hire-hero__lens-btn {
  flex: 0 1 auto;
  max-width: 100%;
  height: auto;
  min-height: 32px;
  white-space: normal;
  text-align: center;
  line-height: 1.35;
}

.hire-page .hire-hero__lens-buttons .hire-hero__lens-btn,
.hire-page .hire-hero__jump-btn {
  font-size: var(--fs-sm);
}

.hire-page .coss-tabs__list--segmented {
  display: flex;
  max-width: 100%;
  min-width: 0;
}

.hire-persona-tabs__row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  min-width: 0;
}

.hire-persona-tabs__row .coss-tabs__list--segmented {
  position: relative;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 4px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  touch-action: pan-x;
}

.hire-persona-tabs__row .coss-tabs__list--segmented.is-scrollable:not(.is-scrolled-end) {
  -webkit-mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - 32px),
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    #000 0%,
    #000 calc(100% - 32px),
    transparent 100%
  );
}

.hire-persona-tabs__row .coss-tabs__list--segmented.is-scrollable:not(.is-scrolled-end)::after {
  content: "";
  position: absolute;
  top: 3px;
  right: 3px;
  bottom: 3px;
  width: 32px;
  pointer-events: none;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    color-mix(in oklab, var(--secondary) 88%, var(--card)) 72%
  );
}

.hire-persona-tabs__row .coss-tabs__list--segmented::-webkit-scrollbar {
  display: none;
}

.hire-persona-tabs__row .coss-tabs__tab {
  flex: none;
  scroll-snap-align: start;
}

.hire-hero__jump {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 12px;
}

.hire-hero__actions-label {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

.hire-hero .hire-hero__actions .coss-button--ghost {
  border: 1px solid var(--border);
  background: color-mix(in oklab, var(--background) 68%, transparent);
  backdrop-filter: saturate(130%) blur(8px);
}

.hire-hero .hire-hero__actions .coss-button--ghost:hover {
  background: color-mix(in oklab, var(--muted) 88%, var(--background));
  border-color: var(--border-strong);
}

.hire-frame__header {
  --hire-frame-header-pad-x: 24px;
  --hire-frame-header-pad-y: var(--s-7);
  --hire-frame-header-logo-gap: 20px;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--hire-frame-header-pad-y) var(--hire-frame-header-pad-x)
    calc(var(--hire-frame-header-pad-y) - 4px);
}

.hire-frame__deck {
  width: 100%;
  max-width: none;
  margin: 0;
  font-size: var(--hire-fs-body);
  line-height: var(--hire-lh-body);
  color: var(--foreground);
  overflow-wrap: anywhere;
}

/* Logo marquee — base (v1 hire); v2 overrides live in coss-hire-v2.css */
.hire-logo-marquee {
  position: relative;
  overflow: hidden;
  padding: 10px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.hire-logo-marquee__track {
  display: flex;
  width: max-content;
}

.hire-logo-marquee__group {
  display: flex;
  align-items: center;
  gap: clamp(36px, 5vw, 56px);
  padding-right: clamp(36px, 5vw, 56px);
}

.hire-logo-marquee__group img {
  height: 22px;
  width: auto;
  opacity: 0.72;
  filter: grayscale(1);
}

@keyframes hire-marquee {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

@media (prefers-reduced-motion: reduce) {
  .hire-logo-marquee__track {
    animation: none;
    flex-wrap: wrap;
    width: 100%;
    justify-content: center;
  }

  .hire-logo-marquee__group[aria-hidden="true"] {
    display: none;
  }

  .hire-logo-marquee__group {
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 16px;
    padding-right: 0;
  }
}

.hire-frame__logo-carousel {
  display: grid;
  gap: 12px;
  width: 100%;
  min-width: 0;
  margin-top: var(--hire-frame-header-logo-gap);
  padding-top: var(--hire-frame-header-logo-gap);
  border-top: 1px solid var(--border);
  overflow: hidden;
}

.hire-frame__logo-carousel-label {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--hire-fs-caption);
  font-weight: 500;
  letter-spacing: 0.01em;
  line-height: 1.4;
  color: var(--muted-foreground);
}

.hire-frame__logo-carousel .hire-logo-marquee {
  margin-inline: 0;
  padding: 6px 0 8px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}

.hire-frame__logo-carousel .hire-logo-marquee__track {
  animation: hire-marquee 52s linear infinite;
}

.hire-frame__logo-carousel .hire-logo-marquee__group img {
  height: 20px;
  opacity: 0.68;
}

.hire-frame__logo-carousel .hire-logo-marquee__logo--isha {
  height: 24px;
  filter: grayscale(1) brightness(0.45);
}

@media (max-width: 767px) {
  .hire-frame__header {
    --hire-frame-header-pad-x: 20px;
    --hire-frame-header-pad-y: 24px;
    --hire-frame-header-logo-gap: 18px;
  }

  .hire-frame__logo-carousel .hire-logo-marquee__track {
    animation-duration: 58s;
  }
}

.hire-frame__nav-sentinel {
  height: 1px;
  margin: 0;
  pointer-events: none;
}

.hire-frame__rail-label {
  overflow: hidden;
  max-height: 0;
  margin: 0;
  opacity: 0;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--detail-soft);
  transition:
    max-height 160ms ease,
    opacity 160ms ease,
    margin 160ms ease;
}

/* COSS Tabs — underline variant (coss.com/ui/docs/components/tabs#underline-variant) */
.coss-tabs {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.coss-tabs__list {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 20px;
  margin: 0;
  padding: 0;
  border-bottom: 1px solid var(--border);
}

.coss-tabs--underline .coss-tabs__tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 -1px;
  padding: 10px 2px 12px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  font-family: var(--font-label);
  font-size: 13.5px;
  font-weight: 500;
  line-height: 18px;
  color: var(--muted-foreground);
  white-space: nowrap;
  cursor: pointer;
  transition: color var(--hire-transition), border-color var(--hire-transition);
}

.coss-tabs--underline .coss-tabs__tab:hover {
  color: var(--foreground);
}

.coss-tabs--underline .coss-tabs__tab[aria-selected="true"] {
  color: var(--foreground);
  border-bottom-color: var(--foreground);
  font-weight: 600;
}

.coss-tabs--underline .coss-tabs__tab:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* COSS Tabs — default segmented variant (coss.com/ui/docs/components/tabs#tabstab):
   muted rounded list, active tab raised on a card surface. */
.coss-tabs__list--segmented {
  display: inline-flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2px;
  margin: 0;
  padding: 3px;
  border-bottom: 0;
  border-radius: 10px;
  background: var(--secondary);
}

.coss-tabs--segmented .coss-tabs__tab {
  appearance: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  font-family: var(--font-label);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 18px;
  color: var(--muted-foreground);
  white-space: nowrap;
  cursor: pointer;
  transition:
    color var(--hire-transition),
    background-color var(--hire-transition),
    box-shadow var(--hire-transition);
}

.coss-tabs--segmented .coss-tabs__tab:hover {
  color: var(--foreground);
}

.coss-tabs--segmented .coss-tabs__tab[aria-selected="true"] {
  background: var(--card);
  color: var(--foreground);
  font-weight: 600;
  box-shadow:
    0 0 0 1px var(--border),
    0 1px 2px color-mix(in oklab, var(--foreground) 8%, transparent);
}

.coss-tabs--segmented .coss-tabs__tab:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

/* Segmented tabs — sliding indicator pill (COSS TabsIndicator, vanilla) */
.coss-tabs--segmented-indicator .coss-tabs__list--segmented {
  position: relative;
}

.coss-tabs--segmented-indicator .coss-tabs__indicator {
  position: absolute;
  top: 3px;
  left: 0;
  z-index: 0;
  height: calc(100% - 6px);
  border-radius: 8px;
  background: var(--card);
  box-shadow:
    0 0 0 1px var(--border),
    0 1px 2px color-mix(in oklab, var(--foreground) 8%, transparent);
  pointer-events: none;
  transition:
    transform var(--dur-base) var(--ease),
    width var(--dur-base) var(--ease),
    opacity var(--dur-base) var(--ease);
}

.coss-tabs--segmented-indicator .coss-tabs__indicator[hidden] {
  opacity: 0;
}

.coss-tabs--segmented-indicator .coss-tabs__tab {
  position: relative;
  z-index: 1;
}

.coss-tabs--segmented-indicator .coss-tabs__tab[aria-selected="true"] {
  background: transparent;
  box-shadow: none;
}

@media (prefers-reduced-motion: reduce) {
  .coss-tabs--segmented-indicator .coss-tabs__indicator {
    transition: none;
  }
}

.coss-tabs__panels {
  min-width: 0;
}

.coss-tabs__panel {
  min-width: 0;
}

.hire-persona-tabs.coss-frame__panel {
  padding: 16px 20px 24px;
  scroll-margin-top: var(--detail-nav-h);
}

#hire-proof.hire-frame,
#hire-fitment.hire-frame {
  scroll-margin-top: var(--detail-nav-h);
}

.hire-persona-tabs__sticky {
  position: sticky;
  top: var(--detail-nav-h);
  z-index: 15;
  margin: -16px -20px 0;
  padding: 16px 20px 10px;
  background: color-mix(in oklab, var(--card) 96%, transparent);
  backdrop-filter: saturate(140%) blur(12px);
  border-top: 1px solid transparent;
  border-radius: calc(var(--radius-xl) - 1px) calc(var(--radius-xl) - 1px) 0 0;
  transition:
    box-shadow var(--hire-transition),
    border-color var(--hire-transition),
    border-radius var(--hire-transition);
}

.hire-persona-tabs__sticky.is-stuck {
  border-top-color: var(--border);
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  box-shadow:
    0 1px 0 var(--border),
    0 6px 16px color-mix(in oklab, var(--foreground) 5%, transparent);
}

.hire-persona-tabs__sticky .hire-persona__label {
  margin: 0 0 10px;
}

.hire-persona-tabs__row .hire-persona__label {
  margin: 0;
}

.hire-persona-tabs__bar {
  margin: 0;
  padding: 0;
}

.hire-persona-tabs .coss-tabs__panels {
  padding-top: 24px;
}

.hire-persona-pane.coss-tabs__panel {
  display: none;
  animation: hirePaneIn 240ms ease both;
}

.hire-persona-pane.coss-tabs__panel.is-active {
  display: block;
}

.hire-content > .hire-frame__cta {
  margin-top: clamp(16px, 2.5vw, 24px);
  scroll-margin-top: calc(var(--detail-nav-h) + var(--detail-anchor-offset));
}

.hire-frame__cta {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 32px 28px 36px;
  border-radius: var(--radius-xl);
  border: none;
  background: var(--grass-12);
  color: var(--primary-foreground);
}

.hire-frame__cta a {
  color: inherit;
}

.hire-frame__cta .hire-cta-block__title,
.hire-frame__cta .hire-cta-block__body {
  margin: 0;
}

.hire-frame__cta .hire-cta-block__title {
  color: var(--primary-foreground);
  font-size: var(--hire-fs-section);
  line-height: var(--hire-lh-heading);
}

.hire-frame__cta .hire-cta-block__body {
  color: color-mix(in oklab, var(--primary-foreground) 76%, var(--grass-3));
  max-width: none;
}

.hire-frame__cta .hire-cta-block__body a {
  color: var(--primary-foreground);
  text-decoration: underline;
  text-decoration-color: color-mix(in oklab, var(--primary-foreground) 42%, transparent);
  text-underline-offset: 3px;
}

.hire-frame__cta .hire-cta-block__body a:hover {
  text-decoration-color: var(--primary-foreground);
}

.hire-frame__cta .hire-cta-block__actions {
  margin-top: 6px;
}

.hire-frame__cta .hire-cta-block__actions .coss-button--default {
  background: var(--primary-foreground);
  border-color: var(--primary-foreground);
  color: var(--grass-12);
  box-shadow:
    inset 0 1px 0 color-mix(in oklab, var(--grass-12) 10%, transparent),
    var(--shadow-xs);
}

.hire-frame__cta .hire-cta-block__actions .coss-button--default:hover {
  background: color-mix(in oklab, var(--primary-foreground) 92%, var(--grass-3));
  border-color: color-mix(in oklab, var(--primary-foreground) 92%, var(--grass-3));
  color: var(--grass-12);
}

.hire-frame__cta .hire-cta-block__actions .coss-button--ghost {
  color: color-mix(in oklab, var(--primary-foreground) 90%, transparent);
}

.hire-frame__cta .hire-cta-block__actions .coss-button--ghost:hover {
  background: color-mix(in oklab, var(--primary-foreground) 12%, transparent);
  color: var(--primary-foreground);
}

.hire-frame__cta .hire-cta-block__actions .coss-icon-button {
  color: color-mix(in oklab, var(--primary-foreground) 88%, transparent);
  border-color: color-mix(in oklab, var(--primary-foreground) 26%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 8%, transparent);
}

.hire-frame__cta .hire-cta-block__actions .coss-icon-button:hover {
  color: var(--primary-foreground);
  border-color: color-mix(in oklab, var(--primary-foreground) 38%, transparent);
  background: color-mix(in oklab, var(--primary-foreground) 14%, transparent);
}

.hire-content > .hire-play-nudge {
  margin-top: clamp(16px, 2.5vw, 24px);
}

.hire-play-nudge {
  display: flex;
  align-items: center;
  gap: var(--festina-space-stack);
  padding: var(--s-5) var(--festina-space-stack);
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--card);
  box-shadow: none;
}

.hire-play-nudge__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--secondary);
  color: var(--muted-foreground);
  font-size: var(--fs-xl);
  line-height: 1;
}

.hire-play-nudge__content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--s-1);
}

.hire-play-nudge__title {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--hire-fs-body-sm);
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--foreground);
}

.hire-play-nudge__body {
  margin: 0;
  font-size: var(--hire-fs-deck);
  line-height: 1.55;
  color: var(--muted-foreground);
  max-width: 52ch;
}

.hire-play-nudge__action {
  flex-shrink: 0;
}

/* ============================================================
   Hire proof + fitment frames — spacing harness (Festina #spacing-hire)
   Proof rhythm: --hire-proof-* tokens · parent gap stacks, no child margin hacks
   ============================================================ */
.hire-frame__testimonials.coss-frame__panel,
.hire-frame__work-previews.coss-frame__panel,
.hire-frame__work-timeline.coss-frame__panel,
.hire-frame__stack.coss-frame__panel,
.hire-frame__roles.coss-frame__panel,
.hire-frame__visa.coss-frame__panel {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-panel-title-gap);
  padding: var(--hire-proof-panel-pad-block) var(--hire-proof-panel-pad-inline)
    var(--hire-proof-panel-pad-bottom);
}

.hire-frame__testimonials-title,
.hire-frame__roles-title,
.hire-frame__work-previews-title,
.hire-frame__work-timeline-title,
.hire-frame__stack-title,
.hire-frame__visa-title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-panel);
  line-height: var(--hire-lh-heading);
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-frame__lower {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: var(--hire-proof-rail-gap);
  margin-top: 0;
  min-width: 0;
}

.hire-frame__rail.coss-frame__panel {
  position: sticky;
  top: calc(var(--detail-nav-h) + 20px);
  flex: 0 0 184px;
  min-width: 148px;
  max-width: 184px;
  align-self: flex-start;
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-rail-stack);
  padding: var(--hire-proof-rail-pad-block) var(--hire-proof-rail-pad-inline)
    var(--hire-proof-rail-pad-block);
}

/* Proof index rail — mobile/tablet only; desktop scrolls proof without side nav */
.hire-frame--proof .hire-frame__rail.coss-frame__panel {
  display: none;
}

.hire-frame__lower-main {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-section-gap);
  min-width: 0;
  min-height: min-content;
}

.hire-frame__lower--no-rail .hire-frame__lower-main {
  flex: 1 1 100%;
  width: 100%;
}

.hire-frame__lower-main > .coss-frame__panel + .coss-frame__panel {
  margin-top: 0;
}

.hire-frame__index.detail-index-list a {
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.35;
}

.hire-testimonials__stream {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: start;
  gap: var(--hire-proof-panel-stack);
  min-width: 0;
  margin: 0;
  padding: 0;
}

.hire-frame__testimonials .hire-testimonials__stream {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.hire-testimonials__stream .hire-testimonial-card {
  flex: none;
  width: auto;
  min-width: 0;
  min-height: 0;
  scroll-snap-align: unset;
  box-shadow: 0 1px 2px color-mix(in oklab, var(--foreground) 5%, transparent);
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease),
    box-shadow 160ms var(--ease),
    transform 160ms var(--ease);
}

.hire-testimonial-card--grid {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-right: 36px;
}

.hire-testimonial-card__body {
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-group-tab);
  min-width: 0;
}

.hire-testimonial-card__open {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--detail-quiet);
  line-height: 1;
  pointer-events: none;
  transition: color 160ms var(--ease);
}

.hire-testimonial-card__open .ph {
  font-size: 15px;
}

.hire-testimonials__stream .hire-testimonial-card:hover {
  box-shadow: 0 6px 16px color-mix(in oklab, var(--foreground) 8%, transparent);
  transform: translateY(-1px);
}

.hire-testimonial-card--grid:hover .hire-testimonial-card__open,
.hire-testimonial-card--grid:focus-visible .hire-testimonial-card__open {
  color: var(--grass-11);
}

.hire-testimonials__stream .hire-testimonial-card__quote {
  -webkit-line-clamp: 3;
  line-clamp: 3;
}

@media (max-width: 900px) {
  .hire-testimonials__stream {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .hire-testimonials__stream {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hire-testimonials__stream:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--grass-8) 55%, transparent);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}

.hire-testimonial-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 14px 14px 12px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition:
    border-color 160ms var(--ease),
    background 160ms var(--ease);
}

.hire-testimonial-card:hover {
  border-color: color-mix(in oklab, var(--detail-line) 55%, var(--foreground));
  background: var(--secondary);
}

.hire-testimonial-card:focus-visible {
  outline: 2px solid color-mix(in oklab, var(--grass-9) 55%, transparent);
  outline-offset: 2px;
}

.hire-testimonial-card__quote {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--foreground);
}

.hire-testimonial-card__cite {
  margin: 0;
  margin-top: auto;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 500;
  line-height: 1.35;
  color: var(--detail-soft);
}

.hire-persona-testimonial {
  margin: 0;
  padding: var(--hire-persona-card-pad);
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.hire-persona-testimonials {
  display: flex;
  flex-direction: column;
  gap: var(--hire-persona-card-gap);
  width: 100%;
}

.hire-persona-testimonial__quote {
  margin: 0;
}

.hire-persona-testimonial__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 400;
  font-style: normal;
  line-height: 1.5;
  color: var(--foreground);
}

.hire-persona-testimonial__cite {
  display: block;
  margin: var(--festina-space-group-tab) 0 0;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 500;
  line-height: 1.35;
  color: var(--detail-soft);
  font-style: normal;
}

/* COSS Dialog — vanilla (DialogPopup / DialogPanel / DialogFooter; scroll inside panel) */
.coss-dialog {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 20px;
}

.coss-dialog[hidden] {
  display: none;
}

.coss-dialog__backdrop {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--foreground) 28%, transparent);
  backdrop-filter: blur(3px);
}

.coss-dialog__viewport {
  position: relative;
  z-index: 1;
  display: flex;
  width: min(100%, 520px);
  max-height: min(80vh, 640px);
}

.coss-dialog__popup {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-height: min(80vh, 640px);
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background: var(--card);
  box-shadow: var(--shadow-lg);
  outline: none;
}

.coss-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
}

.coss-dialog__panel-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}

.coss-dialog__panel-wrap::before,
.coss-dialog__panel-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--hire-transition, 180ms ease);
}

.coss-dialog__panel-wrap::before {
  top: 0;
  background: linear-gradient(
    to bottom,
    var(--coss-dialog-panel-fade, var(--card)) 0%,
    transparent 100%
  );
}

.coss-dialog__panel-wrap::after {
  bottom: 0;
  background: linear-gradient(
    to top,
    var(--coss-dialog-panel-fade, var(--card)) 0%,
    transparent 100%
  );
}

.coss-dialog__panel-wrap[data-scroll-top="true"]::before {
  opacity: 1;
}

.coss-dialog__panel-wrap[data-scroll-bottom="true"]::after {
  opacity: 1;
}

.coss-dialog__panel {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 28px 24px 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--border) 80%, transparent) transparent;
}

.coss-dialog__panel::-webkit-scrollbar {
  width: 8px;
}

.coss-dialog__panel::-webkit-scrollbar-thumb {
  border-radius: 999px;
  background: color-mix(in oklab, var(--border) 85%, transparent);
}

.coss-dialog__footer {
  flex-shrink: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px 14px;
  padding: 16px 24px;
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 72%, var(--card));
}

body.is-coss-dialog-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: no-preference) {
  .coss-dialog:not([hidden]) {
    animation: coss-dialog-fade 160ms var(--ease) both;
  }

  .coss-dialog__popup {
    animation: coss-dialog-pop 220ms var(--ease) both;
  }
}

@keyframes coss-dialog-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes coss-dialog-pop {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (max-width: 640px) {
  .coss-dialog {
    place-items: end center;
    padding: 0;
  }

  .coss-dialog__viewport {
    width: 100%;
    max-height: min(92vh, 720px);
  }

  .coss-dialog__popup {
    max-height: min(92vh, 720px);
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }

  .coss-dialog__panel {
    padding: 24px 18px 12px;
  }

  .coss-dialog__footer {
    padding: 14px 18px 18px;
  }
}

/* Hire testimonial drawer — COSS Sheet on mobile, left panel on desktop */
.hire-testimonial-drawer {
  position: fixed;
  inset: 0;
  z-index: 130;
  pointer-events: none;
}

.hire-testimonial-drawer:not([hidden]) {
  pointer-events: auto;
}

.hire-testimonial-drawer__scrim {
  position: absolute;
  inset: 0;
  background: color-mix(in oklab, var(--foreground) 28%, transparent);
  opacity: 0;
  transition: opacity var(--dur-base, 180ms) var(--ease, ease);
}

.hire-testimonial-drawer.is-open .hire-testimonial-drawer__scrim {
  opacity: 1;
}

.hire-testimonial-drawer__panel {
  --hire-drawer-pad-x: 24px;
  --hire-drawer-toolbar-pad-y: 20px;
  --hire-drawer-meta-pad-y: 16px;
  --hire-drawer-body-pad-y: 20px;
  --hire-drawer-footer-pad-y: 16px;
  position: fixed;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  min-width: 0;
  max-height: 100dvh;
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transition: transform var(--dur-base, 180ms) var(--ease, ease);
}

.hire-testimonial-drawer__handle {
  display: none;
  flex: 0 0 auto;
  width: 42px;
  height: 5px;
  margin: 10px auto 0;
  border-radius: 999px;
  background: color-mix(in oklab, var(--detail-soft) 62%, white);
}

.hire-testimonial-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: var(--hire-drawer-toolbar-pad-y) var(--hire-drawer-pad-x) 0;
}

.hire-testimonial-drawer__close {
  flex: 0 0 auto;
  margin-left: auto;
}

.hire-testimonial-drawer__counter {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--hire-fs-label);
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: 0.02em;
  color: var(--muted-foreground);
}

.hire-testimonial-drawer__counter:empty {
  display: none;
}

.hire-testimonial-drawer__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: var(--hire-drawer-meta-pad-y) var(--hire-drawer-pad-x) calc(var(--hire-drawer-meta-pad-y) + 4px);
  border-bottom: 1px solid var(--border);
}

.hire-testimonial-drawer__cite {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--hire-fs-meta);
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: var(--foreground);
}

.hire-testimonial-drawer__meta:has(.hire-testimonial-drawer__cite:empty) {
  display: none;
}

.hire-testimonial-drawer__body-wrap {
  position: relative;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
}

.hire-testimonial-drawer__body-wrap::before,
.hire-testimonial-drawer__body-wrap::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 22px;
  pointer-events: none;
  z-index: 1;
  opacity: 0;
  transition: opacity var(--hire-transition, 180ms ease);
}

.hire-testimonial-drawer__body-wrap::before {
  top: 0;
  background: linear-gradient(to bottom, var(--card) 0%, transparent 100%);
}

.hire-testimonial-drawer__body-wrap::after {
  bottom: 0;
  background: linear-gradient(to top, var(--card) 0%, transparent 100%);
}

.hire-testimonial-drawer__body-wrap[data-scroll-top="true"]::before {
  opacity: 1;
}

.hire-testimonial-drawer__body-wrap[data-scroll-bottom="true"]::after {
  opacity: 1;
}

.hire-testimonial-drawer__body {
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: var(--hire-drawer-body-pad-y) var(--hire-drawer-pad-x) calc(var(--hire-drawer-body-pad-y) + 4px);
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: color-mix(in oklab, var(--border) 80%, transparent) transparent;
}

.hire-testimonial-drawer__quote {
  margin: 0;
}

.hire-testimonial-drawer__quote p {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--hire-fs-body-sm);
  font-style: normal;
  font-weight: 400;
  line-height: var(--hire-lh-body);
  color: var(--foreground);
  overflow-wrap: anywhere;
}

.hire-testimonial-drawer__nav {
  flex: 0 0 auto;
}

.hire-testimonial-drawer__nav:disabled {
  opacity: 0.35;
  pointer-events: none;
}

.hire-testimonial-drawer__footer {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: var(--hire-drawer-footer-pad-y) var(--hire-drawer-pad-x) calc(var(--hire-drawer-footer-pad-y) + 4px);
  border-top: 1px solid var(--border);
  background: color-mix(in oklab, var(--muted) 72%, var(--card));
}

.hire-testimonial-drawer__linkedin {
  align-self: stretch;
  justify-content: center;
}

body.is-hire-testimonial-drawer-open {
  overflow: hidden;
}

@media (min-width: 901px) {
  .hire-testimonial-drawer__panel {
    top: 0;
    left: 0;
    bottom: 0;
    width: min(440px, 38vw);
    max-width: 100%;
    border-radius: 0;
    border-top: 0;
    border-bottom: 0;
    border-left: 0;
    transform: translateX(-102%);
  }

  .hire-testimonial-drawer.is-open .hire-testimonial-drawer__panel {
    transform: translateX(0);
  }
}

@media (max-width: 900px) {
  .hire-testimonial-drawer__panel {
    --hire-drawer-pad-x: 20px;
    --hire-drawer-toolbar-pad-y: 12px;
    --hire-drawer-meta-pad-y: 12px;
    --hire-drawer-body-pad-y: 16px;
    --hire-drawer-footer-pad-y: 14px;
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: min(88dvh, 760px);
    max-height: min(88dvh, 760px);
    grid-template-rows: auto auto auto minmax(0, 1fr) auto;
    padding-top: 8px;
    padding-bottom: env(safe-area-inset-bottom, 0px);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    transform: translateY(102%);
  }

  .hire-testimonial-drawer.is-open .hire-testimonial-drawer__panel {
    transform: translateY(0);
  }

  .hire-testimonial-drawer__handle {
    display: block;
  }

  .hire-testimonial-drawer__footer {
    padding-bottom: calc(var(--hire-drawer-footer-pad-y) + 4px);
  }
}

.hire-frame__roles .hire-fit-groups {
  margin-top: 0;
}

.hire-fit-groups {
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-example);
}

.hire-fit-group + .hire-fit-group {
  margin-top: 0;
}

.hire-fit-group__title {
  margin: 0;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-foreground);
}

.hire-fit-group__box {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card);
  padding: var(--s-5) var(--festina-space-stack);
}

.hire-fit-group {
  display: flex;
  flex-direction: column;
  gap: var(--hire-proof-chip-gap);
}

.hire-fit-group .hire-visa-box__row {
  gap: var(--festina-space-kicker);
}

.hire-frame__work-timeline.coss-frame__panel {
  /* Shared logo-row band — client marks, acquired line, +N more suffix */
  --hire-timeline-logo-band: 16px;
  --hire-timeline-logo-height: 15px;
  --hire-proof-item-pad: var(--s-6);
  --hire-proof-content-gap: var(--festina-space-kicker);
  --hire-proof-meta-tight: var(--s-2);
  --hire-proof-logo-row-gap: var(--festina-space-stack);
}

.hire-frame__work-timeline .hire-work-timeline {
  gap: var(--hire-proof-section-gap);
}

.hire-frame__work-timeline .hire-work-timeline__item {
  padding-block: 0;
  border-top: none;
}

.hire-frame__work-timeline .hire-work-timeline__item + .hire-work-timeline__item {
  padding-top: var(--hire-proof-section-gap);
  border-top: 1px solid var(--border);
}

.hire-frame__work-previews-deck {
  margin: 0;
  font-size: var(--hire-fs-deck);
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-frame__work-previews .hire-proof-grid {
  margin-top: 0;
}

.hire-frame__work-previews-footer {
  margin-top: 0;
}

.hire-frame__stack-deck {
  margin: 0;
  font-size: var(--hire-fs-deck);
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-frame__stack-deck a {
  color: var(--foreground);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hire-frame__stack-deck a:hover {
  color: var(--grass-11);
}

.hire-stack {
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-section);
  margin-top: 0;
}

.hire-stack__group-title {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 600;
  line-height: 1.35;
  color: var(--foreground);
}

.hire-stack__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--hire-proof-chip-gap) var(--hire-proof-section-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hire-stack__item {
  min-width: 0;
}

.hire-stack__chip {
  display: inline-flex;
  align-items: center;
  gap: var(--hire-proof-chip-gap);
  min-width: 0;
  max-width: 100%;
  font-family: var(--font-body);
  font-size: var(--fs-sm);
  font-weight: 500;
  line-height: 1.3;
  color: var(--foreground);
  text-decoration: none;
}

.hire-stack__chip:hover {
  color: var(--grass-11);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hire-stack__chip-icon {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.hire-stack__chip-icon img {
  display: block;
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.hire-stack__chip-label {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.hire-persona__label {
  margin: 0 0 12px;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 15px;
  text-transform: uppercase;
  color: var(--detail-soft);
}

@keyframes hirePaneIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   Hire persona panels — spacing harness (Festina #spacing-hire)
   Persona rhythm: --hire-persona-* tokens · pane + section gap stacks
   ============================================================ */
.hire-persona-pane.practice-folders__panel {
  gap: var(--hire-persona-section-gap);
}

.hire-persona-pane .hire-section {
  display: flex;
  flex-direction: column;
  gap: var(--hire-persona-content-gap);
  margin-bottom: 0;
}

.hire-section__header {
  display: flex;
  align-items: baseline;
  gap: var(--hire-persona-grid-gap);
  margin: 0;
  padding-bottom: var(--hire-persona-header-pad);
  border-bottom: 1px solid var(--detail-line);
}

.hire-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-section);
  line-height: var(--hire-lh-heading);
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-body {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--hire-fs-body);
  line-height: 1.7;
  color: var(--detail-quiet);
}

.hire-body strong {
  color: var(--foreground);
  font-weight: 600;
}

.hire-overlap-diagram {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 100%;
  max-width: none;
  margin: 0;
  position: relative;
}

.hire-overlap-diagram__side {
  flex: 1;
  min-width: 0;
}

.hire-overlap-diagram__side-label {
  margin: 0 0 var(--hire-persona-grid-gap);
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  line-height: 16px;
  text-transform: uppercase;
  color: var(--detail-soft);
}

.hire-overlap-diagram__side--left .hire-overlap-diagram__side-label {
  padding-right: 20px;
  text-align: right;
}

.hire-overlap-diagram__side--right .hire-overlap-diagram__side-label {
  padding-left: 20px;
  text-align: left;
}

.hire-overlap-diagram__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hire-overlap-diagram__side--left .hire-overlap-diagram__items {
  align-items: flex-end;
  padding-right: 20px;
}

.hire-overlap-diagram__side--right .hire-overlap-diagram__items {
  align-items: flex-start;
  padding-left: 20px;
}

.hire-overlap-diagram__item {
  padding: 5px 12px;
  border: 1px solid var(--detail-line);
  border-radius: 999px;
  background: var(--card);
  font-family: var(--font-label);
  font-size: 12.5px;
  font-weight: 500;
  line-height: 16px;
  color: var(--detail-quiet);
  white-space: nowrap;
}

.hire-overlap-diagram__center {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 160px;
  position: relative;
  z-index: 2;
}

.hire-overlap-diagram__svg {
  display: block;
  width: 160px;
  height: 100px;
}

.hire-overlap-diagram__svg .hire-venn-left {
  fill: color-mix(in oklab, var(--grass-3) 70%, transparent);
  stroke: color-mix(in oklab, var(--grass-7) 72%, var(--detail-line));
}

.hire-overlap-diagram__svg .hire-venn-right {
  fill: color-mix(in oklab, var(--secondary) 82%, var(--card));
  stroke: color-mix(in oklab, var(--detail-line) 88%, var(--foreground));
}

.hire-overlap-diagram__svg .hire-venn-overlap {
  fill: color-mix(in oklab, var(--grass-4) 90%, var(--card));
}

.hire-overlap-diagram__svg .hire-venn-dot {
  fill: var(--grass-11);
}

.hire-overlap-diagram__label {
  margin: 0;
  font-family: var(--font-label);
  font-size: 11.5px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--grass-11);
}

.hire-section .coss-accordion--learnings {
  margin-top: 0;
}

.hire-persona-accordion-stack {
  display: flex;
  flex-direction: column;
  gap: var(--hire-persona-accordion-stack-gap);
  width: 100%;
}

.hire-persona-accordion-stack .coss-accordion {
  width: 100%;
}

.hire-persona-accordion-stack .coss-accordion + .coss-accordion {
  margin-top: calc(-1 * var(--hire-persona-accordion-stack-gap));
}

.hire-persona-accordion-stack .coss-accordion:not(:first-child) {
  border-top: none;
  border-radius: 0;
}

.hire-persona-accordion-stack .coss-accordion:first-child {
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.hire-persona-accordion-stack .coss-accordion:last-child {
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

a.coss-accordion__trigger.coss-accordion__jump {
  text-decoration: none;
  color: inherit;
}

.hire-persona-accordion-stack .coss-accordion--jump .coss-accordion__icon {
  transform: none;
}

.hire-section--accordion {
  gap: 0;
}

.hire-section--accordion .coss-accordion--section {
  width: 100%;
}

.hire-section--accordion .coss-accordion--learnings {
  margin-top: 0;
}

.hire-principles {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--hire-persona-grid-gap);
  margin: 0;
}

.hire-principle {
  display: flex;
  flex-direction: column;
  gap: var(--hire-persona-card-gap);
  padding: var(--hire-persona-card-pad);
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.hire-principle__label {
  margin: 0;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--detail-soft);
}

.hire-principle__text {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-principle__text strong {
  color: var(--foreground);
  font-weight: 600;
}

.hire-principle--embed {
  display: flex;
  flex-direction: column;
  gap: var(--festina-space-group-tab);
  padding: var(--hire-persona-grid-gap);
}

.hire-principle--embed .hire-proof-card__media {
  margin-top: 0;
}

.hire-principle__caption {
  margin: 0;
  font-size: var(--hire-fs-caption);
  line-height: 1.45;
  color: var(--detail-soft);
}

.hire-principle--results .hire-principle__results {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 0;
  flex-wrap: nowrap;
}

.hire-principle__results-stack {
  display: grid;
  gap: 16px;
  margin-top: 2px;
}

.hire-principle__results-group + .hire-principle__results-group {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.hire-principle__scale-stack {
  display: grid;
  gap: 16px;
  margin-top: 2px;
}

.hire-principle__scale-stack .hire-principle__result + .hire-principle__result {
  padding-top: 14px;
  border-top: 1px solid var(--border);
}

.hire-work-group__results--split .hire-principle__scale-stack .hire-principle__result {
  min-width: 0;
}

.hire-work-group__results--split .hire-principle__scale-stack .hire-principle__result-num {
  line-height: 1.15;
  white-space: normal;
}

.hire-principle__result-meta {
  margin: 0 0 4px;
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1.35;
  color: var(--detail-quiet);
}

.hire-principle--results .hire-principle__results .hire-principle__result {
  flex: 0 1 auto;
  min-width: auto;
}

.hire-principle--results .hire-principle__results .hire-principle__result-label {
  white-space: nowrap;
}

.hire-principle__results-panel {
  display: grid;
  gap: 14px;
}

.hire-work-group__results--split {
  display: grid;
  gap: 10px;
}

.hire-work-group__results--split .hire-principle__scale-stack,
.hire-work-group__results--split .hire-principle__results-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.hire-work-group__results--split .hire-principle__results-group {
  min-width: 0;
}

.hire-work-group__results--split .hire-principle__results-stack .hire-principle__results-group + .hire-principle__results-group {
  padding-top: 0;
  border-top: none;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.hire-work-group__results--split .hire-principle__scale-stack .hire-principle__result + .hire-principle__result {
  padding-top: 0;
  border-top: none;
  padding-left: 16px;
  border-left: 1px solid var(--border);
}

.hire-work-group__results--split .hire-principle__result-label {
  white-space: normal;
}

@media (max-width: 640px) {
  .hire-work-group__results--split .hire-principle__scale-stack,
  .hire-work-group__results--split .hire-principle__results-stack {
    grid-template-columns: 1fr;
  }

  .hire-work-group__results--split .hire-principle__results-stack .hire-principle__results-group + .hire-principle__results-group {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    padding-left: 0;
    border-left: none;
  }

  .hire-work-group__results--split .hire-principle__scale-stack .hire-principle__result + .hire-principle__result {
    padding-top: 14px;
    border-top: 1px solid var(--border);
    padding-left: 0;
    border-left: none;
  }

  .hire-principle--results .hire-principle__results {
    flex-wrap: wrap;
    min-width: 0;
    row-gap: 8px;
  }

  .hire-principle--results .hire-principle__results .hire-principle__result {
    flex: 1 1 calc(50% - 20px);
    min-width: 0;
  }

  .hire-principle--results .hire-principle__results .hire-principle__result-label {
    white-space: normal;
  }

  .hire-media-carousel {
    --hire-media-carousel-peek: 32px;
  }
}

@media (max-width: 480px) {
  .hire-principle--results .hire-principle__results {
    flex-direction: column;
    align-items: stretch;
  }

  .hire-principle--results .hire-principle__results .hire-principle__result {
    flex: 1 1 auto;
  }

  .hire-principle__result-arrow {
    align-self: center;
    transform: rotate(90deg);
  }
}

.hire-principle--scale .hire-principle__result-label {
  white-space: normal;
}

.hire-principle__result {
  display: grid;
  gap: 2px;
  flex: 1;
  min-width: 0;
}

.hire-principle__result-num {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-stat);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-principle__result-label {
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  line-height: 1.35;
  color: var(--detail-soft);
}

.hire-principle__result-arrow {
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1;
  color: var(--detail-soft);
}

.hire-work-group {
  display: grid;
  gap: 12px;
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid var(--detail-line);
}

.hire-work-group:first-of-type {
  margin-top: 16px;
  padding-top: 0;
  border-top: none;
}

.hire-work-group__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-card-title);
  line-height: 1.35;
  color: var(--foreground);
}

.hire-work-group__kicker {
  margin: 12px 0 8px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--detail-soft);
}

.hire-work-group__intro {
  display: grid;
  gap: 6px;
}

.hire-work-group__intro .hire-work-group__kicker {
  margin: 0;
}

.hire-work-group__body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.6;
  color: var(--detail-quiet);
}

.hire-work-group__body code {
  font-size: 0.92em;
}

.hire-work-group .hire-principles {
  margin-top: 16px;
}

.hire-work-group__results {
  margin-top: 16px;
}

.hire-work-group__process {
  margin-top: 16px;
}

.hire-work-group__results .hire-principle--results,
.hire-work-group__process .hire-principle--process {
  max-width: none;
}

.hire-principle--process .hire-principle__process-stack {
  display: grid;
  gap: 0;
  margin-top: 2px;
}

.hire-principle__process-item + .hire-principle__process-item {
  padding-top: 14px;
  margin-top: 14px;
  border-top: 1px solid var(--border);
}

.hire-principle__process-label {
  margin: 0 0 5px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--detail-soft);
}

.hire-principle__process-copy {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-principle__process-copy strong {
  color: var(--foreground);
  font-weight: 600;
}

.hire-principle__process-item .hire-proof-card__actions {
  margin-top: 10px;
}

.coss-accordion__learning .hire-proof-card__actions {
  margin-top: 10px;
  padding-top: 0;
}

.work-detail-modal--project .hire-work-group__intro + .hire-proof-card__actions {
  margin-top: 4px;
  padding-top: 0;
}

.work-detail-modal--project .coss-accordion__learning .hire-proof-card__actions {
  margin-top: 16px;
  padding-top: 0;
}

.hire-work-group .hire-proof-card__actions {
  margin-top: 0;
}

.hire-work-group .hire-proof-card__media {
  margin-top: 0;
}

.hire-proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  margin-top: 16px;
}

.hire-proof-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.hire-proof-card__label {
  margin: 0 0 7px;
  font-family: var(--font-label);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 14px;
  text-transform: uppercase;
  color: var(--grass-9);
}

.hire-proof-card__title {
  margin: 0 0 8px;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-card-title);
  line-height: 1.35;
  color: var(--foreground);
}

.hire-proof-card__body {
  margin: 0;
  font-size: var(--hire-fs-meta);
  line-height: 1.6;
  color: var(--detail-quiet);
}

.hire-proof-card__actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: auto;
  padding-top: 16px;
}

.hire-proof-card__actions .hire-proof-card__link {
  margin-top: 0;
}

.hire-proof-card__link {
  width: 100%;
  justify-content: space-between;
  white-space: normal;
  text-align: left;
}

.hire-proof-card__link:hover {
  opacity: 1;
}

.hire-proof-card__media {
  position: relative;
  margin-top: 12px;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--detail-line);
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--secondary);
}

a.hire-proof-card__media {
  display: block;
  text-decoration: none;
}

.hire-proof-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hire-proof-card__media--contain {
  aspect-ratio: auto;
  overflow: visible;
  background: var(--background);
}

.hire-proof-card__media--contain img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.hire-proof-card__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: color-mix(in oklab, var(--primary) 28%, transparent);
  color: var(--card);
  font-size: 28px;
  pointer-events: none;
}

.hire-proof-card__media--embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Practice modal — Blossom media carousel (self-hosted vendor) */
.hire-media-carousel {
  margin-top: 12px;
  container-type: inline-size;
  --hire-media-carousel-peek: 64px;
  --hire-media-carousel-gap: 12px;
  --hire-media-carousel-frame-pad: 10px;
  --blossom-dot-color: var(--primary);
  --blossom-dot-opacity: 0.35;
  --blossom-dot-hover-opacity: 0.6;
  --blossom-dot-active-opacity: 1;
  --blossom-dot-size: 0.5rem;
  --blossom-dots-gap: 0.5rem;
}

.hire-media-carousel__track[blossom-carousel] {
  display: block;
  width: 100%;
  max-width: 100%;
  max-inline-size: 100%;
  box-sizing: border-box;
}

.hire-media-carousel__slide {
  width: 100%;
  box-sizing: border-box;
  vertical-align: top;
}

/* 2+ slides — active slide full width minus peek of the next */
.hire-media-carousel:has([data-blossom-slide] + [data-blossom-slide]) .hire-media-carousel__slide {
  width: calc(100cqw - var(--hire-media-carousel-peek));
  max-width: calc(100cqw - var(--hire-media-carousel-peek));
  margin-right: var(--hire-media-carousel-gap);
}

.hire-media-carousel__frame {
  padding: var(--hire-media-carousel-frame-pad);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: color-mix(in oklab, var(--muted) 40%, var(--card));
  overflow: hidden;
  box-shadow:
    inset 0 1px color-mix(in oklab, var(--foreground) 4%, transparent),
    0 1px 2px color-mix(in oklab, var(--foreground) 5%, transparent);
}

.hire-media-carousel__slide .hire-proof-card__media {
  margin-top: 0;
  padding: 0;
  border: none;
  border-radius: calc(var(--radius-md) - 2px);
  background: var(--card);
  box-shadow: none;
}

.hire-media-carousel__slide .hire-proof-card__media--embed iframe {
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: calc(var(--radius-md) - 2px);
  pointer-events: none;
}

.hire-media-carousel__slide .hire-proof-card__media--embed.is-embed-active iframe {
  pointer-events: auto;
}

.hire-media-carousel__embed-shield {
  position: absolute;
  inset: 0;
  z-index: 2;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: grab;
  appearance: none;
}

.hire-media-carousel__embed-shield:active,
.hire-media-carousel__track[has-overflow="true"]:active .hire-media-carousel__embed-shield {
  cursor: grabbing;
}

.hire-media-carousel__embed-shield[hidden] {
  display: none;
}

.hire-media-carousel__slide .hire-proof-card__media img {
  border-radius: calc(var(--radius-md) - 2px);
}

/* Fallback if media wrapper omitted — still constrain intrinsic dimensions */
.hire-media-carousel__frame > img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: calc(var(--radius-md) - 2px);
}

.hire-media-carousel__caption {
  margin: 8px 0 0;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--fs-xs);
  line-height: 1.45;
  color: var(--muted-foreground);
}

.hire-media-carousel__dots {
  display: block;
  margin-top: 8px;
}

.hire-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: var(--hire-persona-metric-gap);
  margin: 0;
}

.hire-metric {
  min-width: 130px;
  padding: var(--hire-proof-panel-stack) var(--hire-proof-panel-pad-inline);
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.hire-metric__num {
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-stat);
  line-height: 1.1;
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-metric__label {
  margin-top: var(--hire-proof-meta-tight);
  font-family: var(--font-label);
  font-size: var(--fs-xs);
  line-height: 1.4;
  color: var(--detail-soft);
}

.hire-signal-list {
  display: flex;
  flex-direction: column;
  gap: var(--hire-persona-list-gap);
  margin: 0;
  padding: 0;
  list-style: none;
}

.hire-signal-list li {
  position: relative;
  display: block;
  padding-left: 17px;
  min-width: 0;
  font-family: var(--font-body);
  font-size: var(--hire-fs-body-sm);
  line-height: 1.6;
  color: var(--detail-quiet);
}

.hire-signal-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--grass-9);
}

.hire-signal-list strong {
  display: block;
  margin-bottom: var(--hire-proof-meta-tight);
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--foreground);
}

.hire-quote {
  margin: 16px 0 0;
  padding: 16px 20px;
  border: 1px solid var(--detail-line);
  border-left: 3px solid var(--grass-9);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  background: var(--card);
}

.hire-quote + .hire-quote {
  margin-top: 12px;
}

.hire-quote p {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: 15.5px;
  font-style: italic;
  line-height: 1.6;
  color: var(--foreground);
}

.hire-quote cite {
  display: block;
  margin-top: 8px;
  font-family: var(--font-label);
  font-size: 12.5px;
  font-style: normal;
  font-weight: 500;
  line-height: 17px;
  color: var(--detail-soft);
}

.hire-fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}

.hire-fit-card {
  padding: 14px 18px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-md);
  background: var(--card);
}

.hire-fit-card.is-strong {
  border-color: color-mix(in oklab, var(--grass-7) 72%, var(--detail-line));
  background: color-mix(in oklab, var(--grass-2) 82%, var(--card));
}

.hire-fit-card.is-caution {
  border-color: color-mix(in oklab, var(--warning) 45%, var(--detail-line));
  background: color-mix(in oklab, var(--warning) 12%, var(--card));
}

.hire-fit-card__label {
  margin: 0 0 6px;
  font-family: var(--font-label);
  font-size: var(--fs-2xs);
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 14px;
  text-transform: uppercase;
}

.hire-fit-card.is-strong .hire-fit-card__label {
  color: var(--grass-11);
}

.hire-fit-card.is-caution .hire-fit-card__label {
  color: color-mix(in oklab, var(--warning) 82%, var(--foreground));
}

.hire-fit-card__title {
  margin: 0 0 5px;
  font-family: var(--font-label);
  font-size: var(--fs-sm);
  font-weight: 700;
  line-height: 18px;
  color: var(--foreground);
}

.hire-fit-card__body {
  margin: 0;
  font-size: var(--fs-sm);
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-cta-block {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  padding: 28px;
  border: 1px solid var(--detail-line);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.hire-cta-block__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: var(--font-display-weight);
  font-size: var(--hire-fs-section);
  line-height: var(--hire-lh-heading);
  letter-spacing: 0;
  color: var(--foreground);
}

.hire-cta-block__body {
  margin: 0;
  width: 100%;
  max-width: none;
  font-size: var(--hire-fs-body-sm);
  line-height: var(--hire-lh-body);
  color: var(--detail-quiet);
}

.hire-cta-block__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.hire-visa-box__row {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hire-visa-box__item {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--detail-quiet);
}

.hire-visa-box__item strong {
  color: var(--foreground);
  font-weight: 600;
}

@media (max-width: 900px) {
  .hire-content {
    margin-top: clamp(-104px, -13vh, -72px);
    padding-bottom: 64px;
  }

  .hire-overlap-diagram {
    flex-direction: column;
    gap: 12px;
  }

  .hire-overlap-diagram__side--left .hire-overlap-diagram__items,
  .hire-overlap-diagram__side--right .hire-overlap-diagram__items {
    align-items: center;
    padding: 0;
  }

  .hire-overlap-diagram__side--left .hire-overlap-diagram__side-label,
  .hire-overlap-diagram__side--right .hire-overlap-diagram__side-label {
    padding: 0;
    text-align: center;
  }

  .hire-overlap-diagram__center {
    width: 140px;
  }

  .hire-overlap-diagram__svg {
    width: 140px;
    height: 88px;
  }

  .hire-overlap-diagram__item {
    white-space: normal;
    text-align: center;
  }

  .hire-principles {
    grid-template-columns: 1fr 1fr;
  }

  .hire-page--in-proof .hire-persona-tabs__sticky {
    position: relative;
    top: auto;
    z-index: 1;
    margin-bottom: 0;
    box-shadow: none;
    border-top-color: transparent;
  }

  .hire-page--in-proof .hire-frame__rail.coss-frame__panel {
    z-index: 16;
  }

  .hire-frame--proof .hire-frame__rail.coss-frame__panel {
    display: flex;
  }

  /* Stack proof rail above content on tablet — avoids side-column height capping scroll */
  .hire-frame__lower {
    display: flex;
    flex-direction: column;
    gap: var(--s-1);
  }

  .hire-frame__lower-main {
    flex: 1 1 auto;
    width: 100%;
  }

  .hire-frame__rail.coss-frame__panel {
    display: flex;
    position: sticky;
    top: var(--detail-nav-h);
    z-index: 15;
    flex: none;
    width: 100%;
    min-width: 0;
    max-width: none;
    align-self: auto;
    margin: 0;
    padding: 0 var(--hire-proof-rail-mobile-pad-inline) var(--hire-proof-rail-mobile-pad-bottom);
    border-radius: var(--radius-xl);
    background: color-mix(in oklab, var(--card) 96%, var(--background));
    backdrop-filter: saturate(140%) blur(12px);
    border-top: 1px solid transparent;
    transition:
      box-shadow 160ms ease,
      border-color 160ms ease;
  }

  .hire-frame__rail.is-stuck .hire-frame__rail-label {
    max-height: 20px;
    margin: var(--hire-proof-rail-stuck-label-margin-block-start) 0 var(--hire-proof-rail-stuck-label-margin-block-end);
    opacity: 1;
  }

  .hire-frame__rail.is-stuck {
    border-top-color: var(--border);
    box-shadow:
      0 1px 0 var(--border),
      0 6px 16px color-mix(in oklab, var(--foreground) 5%, transparent);
  }

  .hire-frame__index.detail-index-list {
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    border-left: none;
    border-bottom: 1px solid var(--detail-line);
    padding-bottom: 1px;
  }

  .hire-frame__index.detail-index-list::-webkit-scrollbar {
    display: none;
  }

  .hire-frame__index.detail-index-list a {
    flex: 0 0 auto;
    min-height: 0;
    padding: 8px 12px 10px;
    white-space: nowrap;
  }

  .hire-frame__index.detail-index-list a.is-child {
    padding-left: 12px;
  }

  .hire-frame__index.detail-index-list a[aria-current="true"]::before {
    top: auto;
    right: 12px;
    bottom: -1px;
    left: 12px;
    width: auto;
    height: 2px;
  }
}

@media (max-width: 600px) {
  .hire-content {
    padding-bottom: 60px;
  }

  .hire-hero__lens {
    padding: 14px 12px 12px;
  }

  .hire-hero__lens-buttons .hire-hero__lens-btn {
    min-height: 30px;
    padding: 5px 9px;
  }

  .hire-persona-tabs__row .coss-tabs--segmented .coss-tabs__tab {
    padding: 7px 10px;
    font-size: var(--fs-xs);
    line-height: 16px;
  }

  .hire-frame__header {
    --hire-frame-header-pad-x: 20px;
    --hire-frame-header-pad-y: 22px;
    --hire-frame-header-logo-gap: 16px;
  }

  .hire-frame__proof-header {
    padding: 22px 20px 20px;
  }

  .hire-persona-tabs.coss-frame__panel,
  .hire-frame__testimonials.coss-frame__panel,
  .hire-frame__cta {
    padding: 24px 18px 28px;
  }

  .hire-play-nudge {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 20px 18px;
  }

  .hire-frame__visa.coss-frame__panel {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hire-testimonials__stream .hire-testimonial-card__quote {
    font-size: 12.5px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }

  .hire-persona-tabs__sticky {
    margin: -16px -16px 0;
    padding: 16px 16px 10px;
  }

  .hire-proof-grid {
    grid-template-columns: 1fr;
  }

  .hire-stack__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hire-metrics {
    flex-direction: column;
  }

  .hire-metric {
    min-width: unset;
  }

  .coss-tabs__list {
    gap: 4px 14px;
  }

  .coss-tabs--underline .coss-tabs__tab {
    font-size: 12.5px;
    padding: 9px 2px 11px;
  }

  .hire-principles {
    grid-template-columns: 1fr;
  }

  .hire-fit-grid {
    grid-template-columns: 1fr;
  }
}

.practice-folders {
  --practice-folders-radius: var(--radius-2xl);
  --practice-folders-tab-gap: 3px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  scroll-margin-top: var(--practice-hub-scroll-offset);
}

.practice-folders__tabs {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  gap: var(--practice-folders-tab-gap);
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scroll-snap-type: x proximity;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 0;
  margin: 0;
  position: relative;
  z-index: 3;
}

.practice-folders__tabs::-webkit-scrollbar {
  display: none;
}

.practice-folders__tab {
  display: inline-flex;
  align-items: center;
  gap: var(--practice-hub-tab-icon-gap);
  flex: none;
  scroll-snap-align: start;
  padding: var(--practice-hub-tab-pad-y) 14px var(--practice-hub-tab-stack-gap);
  border: 1px solid var(--border);
  border-bottom: none;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: color-mix(in oklab, var(--secondary) 78%, var(--background));
  color: var(--muted-foreground);
  font-family: var(--font-body);
  font-size: var(--hire-fs-meta);
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  position: relative;
  transition:
    background var(--hire-transition),
    color var(--hire-transition),
    border-color var(--hire-transition),
    transform var(--hire-transition);
  transform: translateY(5px);
}

.practice-folders__tab:hover {
  color: var(--foreground);
  background: color-mix(in oklab, var(--secondary) 94%, var(--card));
}

.practice-folders__tab:focus-visible {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.practice-folders__tab.is-active {
  transform: translateY(0);
  z-index: 4;
  background: var(--card);
  color: var(--foreground);
  border: 1px solid var(--border);
  border-bottom: 1px solid var(--card);
  padding-bottom: 12px;
  margin-bottom: -1px;
}

.practice-folders__tab.is-active::after {
  display: none;
}

.practice-folders__tab-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--secondary) 88%, var(--background));
  color: var(--muted-foreground);
  flex-shrink: 0;
  transition: background var(--hire-transition), color var(--hire-transition);
}

.practice-folders__tab-icon .ph {
  font-size: 15px;
}

.practice-folders__tab.is-active .practice-folders__tab-icon {
  background: var(--foreground);
  color: var(--background);
}

.practice-folders__tab-label {
  white-space: nowrap;
}

.practice-folders .practice-folders-frame.coss-frame {
  position: relative;
  z-index: 1;
  padding: 0;
  margin-top: -1px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 0 var(--practice-folders-radius) var(--practice-folders-radius) var(--practice-folders-radius);
  background: var(--card);
  box-shadow: var(--shadow-xs);
}

.practice-folders .practice-folders-frame.coss-frame::before {
  display: none;
}

.practice-folders .practice-folders-panel {
  border: none;
  padding: 0;
  background: var(--card);
  border-radius: 0;
  box-shadow: none;
}

.practice-folders__shell {
  position: relative;
  overflow: hidden;
  background: var(--card);
  border-radius: 0 calc(var(--practice-folders-radius) - 1px) calc(var(--practice-folders-radius) - 1px) calc(var(--practice-folders-radius) - 1px);
}

.practice-folders__panel {
  display: flex;
  flex-direction: column;
  gap: var(--practice-hub-panel-gap);
  padding: var(--practice-hub-panel-pad);
  background: var(--card);
}

.practice-folders__panel[hidden] {
  display: none;
}

.practice-folders__overview {
  width: 100%;
  max-width: none;
}

.practice-folders__copy {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  gap: var(--practice-hub-copy-gap);
  min-width: 0;
}

.practice-folders__title {
  margin: 0;
}

.practice-folders__copy .hire-body {
  margin: 0;
}

.practice-folders__panel .hire-practice-picker {
  margin-top: 0;
}

.ai-practices-page #practice-folders {
  scroll-margin-top: var(--practice-hub-scroll-offset);
}

.ai-practices-page .hire-hero__jump {
  margin-top: 12px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in oklab, var(--border) 72%, transparent);
  width: 100%;
}

@media (max-width: 820px) {
  .practice-folders__tab {
    padding: 8px 12px 10px;
  }
}

@media (max-width: 640px) {
  .practice-folders__tabs {
    scroll-padding-inline: var(--hire-content-inset);
  }

  .practice-folders__tab {
    border-color: var(--border);
  }
}

@media (max-width: 520px) {
  .practice-folders__tab-label {
    max-width: 9.5rem;
    white-space: normal;
  }
}
