/* WORK PAGES (2026-10-08): the five case studies, the three industries, About and Careers.
   Built on inner.css (hero, grounds, section openers, cards, FAQ) and the home page's own pieces (the client site and
   its phone scrolling together, bar charts, the five-year chart, client films). This file only adds what those lack. */

/* ---------- hero visuals ---------- */
/* the client's live site, desktop and phone together, exactly as on the home page, minus the home's sticky column */
.pg-visual .case-visual { position: relative; top: auto; width: 100%; padding-bottom: 12%; }
.pg-hero .case-phone { border-color: #2c2c31; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .8); }
.pg-hero .frame { border-color: rgba(255, 255, 255, .14); }
.pg-hero .frame-bar { background: #f5f4f0; color: var(--mute); }
/* a real photo from a client's house call */
.pg-photo { position: relative; margin: 0; }
.pg-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.pg-photo.tall img { aspect-ratio: 5 / 4; }
/* a film in a frame */
.frame-film .frame-view { aspect-ratio: 16 / 9; background: #000; }
.frame-film video { width: 100%; height: 100% !important; object-fit: cover; }
/* the five-year chart beside the headline */
.pg-visual .line { margin: 0; }
/* the people behind the work, as a mosaic */
.pg-team { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.pg-team figure { margin: 0; position: relative; }
.pg-team img { width: 100%; aspect-ratio: 400 / 462; object-fit: cover; border-radius: 16px; filter: grayscale(1) contrast(1.05); }
.pg-team figcaption { position: absolute; left: 8px; right: 8px; bottom: 8px; padding: 7px 10px; border-radius: 10px; background: rgba(12, 12, 13, .72); font-size: 12px; line-height: 1.3; color: #c9c8cd; }
.pg-team figcaption b { display: block; color: #fff; font-size: 13px; }

/* ---------- at a glance: the story beside a fact card ---------- */
.glance { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 4.5vw, 80px); align-items: start; max-width: 1240px; margin: 0 auto; }
.story .lead { font-family: var(--wide); font-weight: 600; font-size: clamp(1.25rem, 1.9vw, 1.75rem); line-height: 1.3; letter-spacing: -.025em; text-wrap: pretty; }
.story .lead em { color: var(--aqua-ink); }
.story p:not(.lead) { margin-top: 20px; color: #33322f; font-size: clamp(1rem, 1.15vw, 1.12rem); line-height: 1.65; max-width: 64ch; }
.facts { padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 24px 50px -36px rgba(12, 12, 13, .4); }
.pg-white .facts { background: var(--bone); box-shadow: none; }
.facts-logo { display: block; height: 52px; width: auto; max-width: 70%; object-fit: contain; object-position: left; margin-bottom: 18px; }
.facts dl > div { padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.facts dd { margin-top: 6px; font-weight: 600; font-size: 15.5px; line-height: 1.45; }
.facts .tags { margin-top: 10px; }
.facts .tags li { font-size: 12px; padding: 5px 11px; }

/* ---------- cards in a row: the challenge, the pillars, the phases ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cards.c2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 1100px; margin: 0 auto; }
.cards.c4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.cards.c5 { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.card { display: flex; flex-direction: column; padding: clamp(24px, 2.4vw, 34px); border-radius: 24px; background: var(--bone); }
.pg-bone .card { background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 24px 50px -36px rgba(12, 12, 13, .35); }
.card .card-k { margin-top: 0; font-family: var(--wide); font-weight: 800; font-size: clamp(2rem, 2.6vw, 2.6rem); line-height: 1; letter-spacing: -.05em; color: var(--aqua-ink); }
.card-t, .card .card-t { margin-top: 0; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }
.card h3 { margin-top: 14px; font-family: var(--wide); font-weight: 700; font-size: clamp(1.15rem, 1.4vw, 1.35rem); line-height: 1.2; letter-spacing: -.03em; }
.card p { margin-top: 10px; color: #3f3e3b; font-size: 15.5px; line-height: 1.55; }
.card ul { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.card li { position: relative; padding-left: 22px; color: #33322f; font-size: 14.5px; line-height: 1.45; }
.card li::before { content: ''; position: absolute; left: 2px; top: 6px; width: 9px; height: 9px; border-radius: 50%; background: var(--aqua); }
.card-foot { margin-top: auto; padding-top: 18px; }
/* a line under a row of cards */
.after { max-width: 900px; margin: clamp(28px, 3vw, 40px) auto 0; text-align: center; color: #33322f; font-size: 1.05rem; line-height: 1.6; }
.after b { color: var(--ink); }

/* ---------- results, on ink: big numbers beside the chart ---------- */
.res-ink { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.big { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 2px solid var(--bone); }
.big > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 20px 18px 22px 0; border-bottom: 1px solid var(--line-d); }
.big > div:nth-child(even) { padding-left: 18px; border-left: 1px solid var(--line-d); }
.big dd { font-family: var(--wide); font-weight: 800; font-size: clamp(2rem, 3.4vw, 3.4rem); line-height: 1; letter-spacing: -.05em; color: #fff; white-space: nowrap; }
.big dd i { font-style: normal; color: var(--aqua); margin: 0 .05em; }
.big dt { font-size: 14px; line-height: 1.4; color: var(--mute-d); }
.big-note { margin-top: 18px; font-size: 14px; line-height: 1.5; color: var(--mute-d); }
.big-note b { color: var(--bone); }
.res-ink .chart { margin: 0; padding: clamp(20px, 2.2vw, 30px); border-radius: 22px; background: var(--ink-2); border: 1px solid var(--line-d); }
.res-ink .bars { height: clamp(200px, 20vw, 300px); }
.res-ink .bar-c b { font-size: 12px; }
.res-ink .bar-c span { font-size: 11px; }
.res-ink .hbars { gap: 16px; }
.res-ink .hb { grid-template-columns: 170px 1fr 70px; font-size: 14px; }
.res-ink .hb i { height: 28px; }
.res-ink .chart + .chart { margin-top: 16px; }
.chart-stack { display: grid; gap: 16px; }
.chart-stack .chart + .chart { margin-top: 0; }
/* the second row on ink: what the client portal shows since the case study */
.since-row { margin-top: clamp(32px, 4vw, 56px); padding-top: clamp(24px, 3vw, 36px); border-top: 1px solid var(--line-d); display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.since-row .since-t { color: var(--aqua); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.since-row h3 { margin-top: 10px; font-family: var(--wide); font-weight: 700; font-size: clamp(1.3rem, 2vw, 1.9rem); line-height: 1.15; letter-spacing: -.03em; }
.since-row .stamp { color: var(--aqua); }
.since-nums { display: grid; grid-template-columns: repeat(var(--n, 2), minmax(0, 1fr)); gap: 12px; }
.since-nums > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; gap: 8px; padding: 20px 22px; border-radius: 18px; background: var(--ink-2); border: 1px solid var(--line-d); }
.since-nums dd { font-family: var(--wide); font-weight: 800; font-size: clamp(1.8rem, 2.8vw, 2.7rem); line-height: 1; letter-spacing: -.05em; color: var(--aqua); white-space: nowrap; }
.since-nums dt { font-size: 13.5px; line-height: 1.4; color: var(--mute-d); }
.pg-ink .med-legal { border-top-color: var(--line-d); color: #8d8c92; }

/* ---------- the client's own words, with their film ---------- */
.say { max-width: 1180px; margin: 0 auto; }
.voice.say-film { margin: 0 auto; display: grid; grid-template-columns: minmax(200px, 330px) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: center; padding: 0; background: none; border: 0; border-radius: 0; max-width: 1080px; }
.say-film .film { border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(12, 12, 13, .6); }
.say-film .vplay { width: 64px; height: 64px; margin: -32px 0 0 -32px; }
.say-film .vplay span { left: 25px; top: 20px; border-left-width: 19px; border-top-width: 12px; border-bottom-width: 12px; }
.say-film .film.playing .vplay span { left: 23px; top: 22px; }
.say-film .film .vbig { width: 38px; height: 38px; top: 10px; right: 10px; }
.say-q, .voice .say-q { font-family: var(--wide); font-weight: 600; font-size: clamp(1.35rem, 2.3vw, 2.2rem); line-height: 1.22; letter-spacing: -.03em; text-wrap: pretty; }
.say-q + .say-q, .voice .say-q + .say-q { margin-top: 22px; font-size: clamp(1.05rem, 1.5vw, 1.35rem); font-weight: 500; color: #33322f; }
.say-film .who { margin-top: 22px; font-size: 14px; }
.say-film .who b { font-size: 16px; }
.say-film .vfull { margin-top: 16px; font-size: 14.5px; }
.say-note { margin-top: 14px; font-size: 13.5px; color: var(--mute); }
.say-solo { max-width: 1000px; margin: 0 auto; text-align: center; }
.say-solo .say-q { font-size: clamp(1.6rem, 3vw, 2.8rem); }
.say-solo cite { display: block; margin-top: 20px; font: 600 12.5px var(--sans); font-style: normal; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- what we learned: numbered lessons, two columns ---------- */
.lessons { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 clamp(28px, 4vw, 64px); counter-reset: ls; border-top: 1px solid var(--line); }
.lessons li { counter-increment: ls; display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 16px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.lessons li::before { content: counter(ls, decimal-leading-zero); font-family: var(--wide); font-weight: 800; font-size: 1.6rem; line-height: 1.1; letter-spacing: -.04em; color: var(--aqua-ink); }
.lessons b { display: block; font-family: var(--wide); font-weight: 700; font-size: 1.12rem; line-height: 1.3; letter-spacing: -.025em; }
.lessons span { display: block; margin-top: 6px; color: #3f3e3b; font-size: 15.5px; line-height: 1.55; }

/* ---------- more of the work: the other case studies ---------- */
.more-grid { display: grid; grid-template-columns: repeat(var(--n, 4), minmax(0, 1fr)); gap: 16px; }
.mcard { display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.2vw, 30px); border-radius: 24px; background: var(--bone); transition: transform .2s, box-shadow .2s; }
.pg-bone .mcard { background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 24px 50px -36px rgba(12, 12, 13, .4); }
a.mcard:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -36px rgba(12, 12, 13, .55); }
.mcard-logo { height: 54px; display: flex; align-items: center; }
.mcard-logo img { max-height: 54px; width: auto; max-width: 78%; object-fit: contain; }
.mcard-logo .mcard-word { font-family: var(--wide); font-weight: 800; font-size: 1.15rem; letter-spacing: -.03em; line-height: 1.1; }
.mcard-logo .mcard-word small { display: block; font: 700 11.5px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--mute); margin-top: 4px; }
.mcard b { margin-top: 6px; font-family: var(--wide); font-weight: 800; font-size: clamp(1.9rem, 2.8vw, 2.7rem); line-height: 1; letter-spacing: -.05em; white-space: nowrap; }
.mcard b i { font-style: normal; color: var(--aqua-ink); margin: 0 .04em; }
.mcard p { color: #3f3e3b; font-size: 15px; line-height: 1.45; }
.mcard .more { margin-top: auto; padding-top: 6px; width: fit-content; font-size: 14px; }
.mcard-where { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- a row of real photos ---------- */
.photos { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 14px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 20px; }
.photos figcaption { margin-top: 10px; font-size: 13.5px; color: var(--mute); text-align: center; }

/* ---------- services we run for an industry: linked cards ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.svc { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 4px 16px; padding: clamp(22px, 2.2vw, 30px); border-radius: 22px; background: var(--bone); transition: transform .2s, box-shadow .2s, background .2s; }
.pg-bone .svc { background: #fff; }
a.svc:hover { transform: translateY(-3px); box-shadow: 0 26px 50px -34px rgba(12, 12, 13, .5); }
.svc svg { grid-row: span 3; width: 28px; height: 28px; margin-top: 2px; fill: none; stroke: var(--aqua-ink); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc h3 { font-family: var(--wide); font-weight: 700; font-size: 1.18rem; letter-spacing: -.03em; line-height: 1.2; }
.svc p { color: #3f3e3b; font-size: 15px; line-height: 1.5; }
.svc .go { margin-top: 6px; font-weight: 700; font-size: 14px; color: var(--aqua-ink); }
.svc-med { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 30px; padding: clamp(22px, 2.2vw, 30px); border-radius: 22px; background: var(--ink); color: var(--bone); }
.svc-med p { max-width: 70ch; color: #c9c8cd; font-size: 15.5px; line-height: 1.55; }
.svc-med p b { color: #fff; }
.svc-med .more { flex: none; }

/* ---------- proof: the case studies as cards, three then two ---------- */
.proof-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
.proof-grid > * { grid-column: span 2; }
.proof-grid > :nth-child(4), .proof-grid > :nth-child(5) { grid-column: span 3; }
.pg-ink .mcard { background: var(--ink-2); border: 1px solid var(--line-d); }
.pg-ink .mcard p { color: #c9c8cd; }
.pg-ink .mcard b i { color: var(--aqua); }
.pg-ink .mcard-where { color: var(--mute-d); }
.pg-ink .mcard-logo img { filter: brightness(0) invert(1); opacity: .9; }
.pg-ink .mcard-logo .mcard-word small { color: var(--mute-d); }
.pg-ink a.mcard:hover { border-color: var(--aqua); box-shadow: none; }

/* ---------- client logos (the home page's grid, written out) ---------- */
.pg-sec .logos { margin-top: 0; }
.pg-white .logos li:hover { background: var(--bone); }
/* 2026-11-16: four former clients came off the mobile IV page (Ian: "these aren't clients anymore"), leaving 20 logos.
   Five across above a phone is four full rows. On a phone it stays three across, and when the count leaves a short last
   row, those logos share that row (two at half each, one alone full width), so no row ends in an empty box. */
/* 2026-11-16 late: four clients that were missing went on (Drp IV, IV Revival, Rapid Relief, The IV Guy AZ), so the
   mobile IV page has 24: six across on a laptop is four full rows, four across on a tablet six */
@media (min-width: 721px) { .pg-sec .logos { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1181px) { .pg-sec .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 720px) {
  .pg-sec .logos { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .pg-sec .logos li { grid-column: span 2; }
  .pg-sec .logos li:nth-last-child(2):nth-child(3n+1), .pg-sec .logos li:last-child:nth-child(3n+2) { grid-column: span 3; }
  .pg-sec .logos li:last-child:nth-child(3n+1) { grid-column: 1 / -1; }
}
.logo-note { margin-top: 22px; text-align: center; color: var(--mute); font-size: 15px; }

/* ---------- state by state, city by city ---------- */
.places { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr); gap: clamp(24px, 3.4vw, 56px); align-items: start; }
.places h3 { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 12px; border-bottom: 2px solid var(--ink); font-family: var(--wide); font-weight: 700; font-size: 1.25rem; letter-spacing: -.03em; }
.places h3 span { font: 600 13px var(--sans); color: var(--mute); letter-spacing: 0; }
.place-list { margin-top: 8px; display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); gap: 0 18px; }
.place-list a { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 11px 2px; border-bottom: 1px solid var(--line); font-weight: 600; font-size: 15.5px; transition: color .2s, padding .2s; }
.place-list a::after { content: '\2192'; color: var(--aqua-ink); font-weight: 700; }
.place-list a:hover { color: var(--aqua-ink); padding-left: 6px; }

/* ---------- the partner medical team, on a page about an industry ---------- */
.partner { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 4vw, 72px); align-items: center; max-width: 1240px; margin: 0 auto; }
.partner-copy p { margin-top: 16px; color: #33322f; font-size: 1.05rem; line-height: 1.6; max-width: 58ch; }
.partner-copy .kick { margin-bottom: 0; }
.partner-copy h2 { margin-top: 18px; font-size: clamp(1.9rem, 3.2vw, 3rem); }
.partner-copy .more { margin-top: 22px; }
.partner-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner-tiles .med-tile { padding: clamp(22px, 2.4vw, 32px) 16px; }
.partner-tiles .med-tile dd { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.partner-people { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.partner-people figure { margin: 0; display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 14px; align-items: center; padding: 12px; border-radius: 18px; background: var(--bone); }
.pg-bone .partner-people figure { background: #fff; }
.partner-people img { width: 64px; height: 64px; object-fit: cover; object-position: top; border-radius: 12px; }
.partner-people figcaption { font-size: 13px; line-height: 1.35; color: var(--mute); }
.partner-people figcaption b { display: block; color: var(--ink); font-size: 15px; }
.partner + .med-legal { max-width: 1240px; }

/* ---------- AmSpa: the membership, on ink ---------- */
.member { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(32px, 5vw, 90px); align-items: center; }
.member-badge { display: grid; place-items: center; text-align: center; gap: 10px; padding: clamp(36px, 5vw, 70px) 24px; border-radius: 30px; border: 1px solid var(--line-d); background: var(--ink-2); }
.member-badge b { font-family: var(--wide); font-weight: 800; font-size: clamp(2.2rem, 4.4vw, 4.2rem); line-height: 1; letter-spacing: -.05em; color: var(--aqua); }
.member-badge span { font-size: 15px; font-weight: 600; color: var(--bone); letter-spacing: .02em; }
.member-badge small { font-size: 13px; color: var(--mute-d); }
.member-copy h2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.member-copy > p { margin-top: 18px; color: #c9c8cd; font-size: 1.05rem; line-height: 1.6; max-width: 58ch; }
.member-copy ul { margin-top: 24px; display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.member-copy li { position: relative; padding: 14px 0 14px 30px; border-bottom: 1px solid var(--line-d); color: #e3e1dc; font-size: 15.5px; line-height: 1.5; }
.member-copy li::before { content: ''; position: absolute; left: 4px; top: 20px; width: 10px; height: 10px; border-radius: 50%; background: var(--aqua); }
.member-copy .more { margin-top: 24px; }

/* ---------- About: Joe, in his own words ---------- */
.pg-sec .ops { padding: 0; }
.joe-words { margin-top: 30px; display: grid; gap: 14px; }
.joe-more { margin-top: 26px; }
.joe-words blockquote { padding: 18px 22px; border-radius: 18px; background: #fff; font-family: var(--wide); font-weight: 500; font-size: clamp(1rem, 1.25vw, 1.15rem); line-height: 1.35; letter-spacing: -.02em; }
.joe-words cite { display: block; margin-top: 8px; font: 600 12px var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }

/* About: the team, every face and what they do */
.team { display: grid; grid-template-columns: repeat(var(--n, 6), minmax(0, 1fr)); gap: clamp(12px, 1.4vw, 20px); }
.team figure { margin: 0; }
.team img { width: 100%; aspect-ratio: 400 / 462; object-fit: cover; border-radius: 18px; filter: grayscale(1) contrast(1.05); transition: filter .3s; }
.team figure:hover img { filter: none; }
.team figcaption { margin-top: 12px; font-size: 13.5px; line-height: 1.4; color: var(--mute-d); }
.team figcaption b { display: block; color: #fff; font-size: 15.5px; }
.team figcaption i { display: block; margin-top: 6px; font-style: normal; color: #a9a8ae; font-size: 13px; }
.team-note { margin-top: clamp(24px, 3vw, 36px); text-align: center; font-size: 13.5px; color: var(--mute-d); }

/* About: credentials, the footer's badges on a light ground */
.creds { display: flex; flex-wrap: wrap; align-items: stretch; justify-content: center; gap: 14px; max-width: 1100px; margin: 0 auto; }
.cred { display: grid; place-items: center; height: 104px; padding: 14px 22px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .2s; }
a.cred:hover { border-color: var(--aqua-ink); }
.cred img { height: 70px; width: auto; max-width: 200px; object-fit: contain; }
.cred.wide img { height: 48px; }
.cred-assoc { text-align: center; padding: 14px 26px; }
.cred-assoc b { display: block; font-family: var(--wide); font-weight: 800; font-size: 1.3rem; letter-spacing: -.03em; line-height: 1.1; }
.cred-assoc span { display: block; margin-top: 6px; font-size: 13px; color: var(--mute); }

/* ---------- Careers ---------- */
.role { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(24px, 4vw, 64px); align-items: start; max-width: 1240px; margin: 0 auto; }
.role-card { padding: clamp(24px, 3vw, 40px); border-radius: 26px; background: #fff; box-shadow: 0 1px 0 rgba(12, 12, 13, .06), 0 24px 50px -36px rgba(12, 12, 13, .4); }
.pg-white .role-card { background: var(--bone); box-shadow: none; }
.role-card .card-t { display: block; }
.role-card h3 { margin-top: 12px; font-family: var(--wide); font-weight: 700; font-size: clamp(1.4rem, 2.2vw, 2rem); line-height: 1.15; letter-spacing: -.03em; }
.role-card > p { margin-top: 14px; color: #33322f; font-size: 1.05rem; line-height: 1.6; }
.role-card .tags { margin-top: 18px; }
.role-card .btn { margin-top: 26px; }
.role-side h3 { font-family: var(--wide); font-weight: 700; font-size: 1.15rem; letter-spacing: -.03em; }
.role-side .ap-steps { margin-top: 12px; }
.checks { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 1100px; margin: 0 auto; }
.checks li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 12px; align-items: center; padding: 18px 20px; border-radius: 18px; background: var(--bone); font-weight: 600; font-size: 15.5px; line-height: 1.4; }
.pg-bone .checks li { background: #fff; }
.checks li::before { content: ''; width: 30px; height: 30px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%2322e0cf' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 18px no-repeat; }
.apply-card { max-width: 980px; margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(26px, 3.4vw, 48px); border-radius: 28px; background: var(--ink); color: var(--bone); }
.apply-card h2 { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.apply-card h2 em { color: var(--aqua); }
.apply-card p { margin-top: 14px; color: #c9c8cd; font-size: 1.02rem; line-height: 1.6; }
.apply-card ul { display: grid; gap: 8px; }
.apply-card li { padding: 10px 14px; border-radius: 12px; background: rgba(255, 255, 255, .06); font-size: 14.5px; color: #e3e1dc; }
.apply-card .btn { margin-top: 22px; }
.apply-card .sf-mail { display: inline-block; margin-top: 14px; }

/* ---------- smaller screens ---------- */
@media (max-width: 1180px) {
  .glance, .res-ink, .since-row, .partner, .member, .role { grid-template-columns: minmax(0, 1fr); }
  .glance { max-width: 760px; }
  .story { text-align: center; }
  .story p:not(.lead) { margin-left: auto; margin-right: auto; }
  .facts { max-width: 560px; width: 100%; margin: 0 auto; }
  .res-ink > :first-child, .since-row > :first-child { text-align: center; }
  .res-ink .big { max-width: 640px; margin: 0 auto; }
  .res-ink .chart, .chart-stack { max-width: 820px; width: 100%; margin-left: auto; margin-right: auto; }
  .since-row .stamp { justify-content: center; display: flex; }
  .since-nums { max-width: 640px; width: 100%; margin: 0 auto; }
  .big-note { max-width: 60ch; margin-left: auto; margin-right: auto; }
  .cards.c4, .cards.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cards.c5 > :last-child { grid-column: 1 / -1; }
  .more-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .proof-grid > *, .proof-grid > :nth-child(4), .proof-grid > :nth-child(5) { grid-column: span 3; }
  .proof-grid > :nth-child(5) { grid-column: 2 / span 4; }
  .places { grid-template-columns: 1fr; }
  .partner-copy { text-align: center; }
  .partner-copy p { margin-left: auto; margin-right: auto; }
  .partner-copy .more { display: table; margin-left: auto; margin-right: auto; }
  .partner-tiles { max-width: 640px; width: 100%; margin: 0 auto; }
  .member-badge { max-width: 560px; width: 100%; margin: 0 auto; }
  .member-copy { text-align: center; }
  .member-copy > p { margin-left: auto; margin-right: auto; }
  .member-copy ul { text-align: left; max-width: 560px; margin-left: auto; margin-right: auto; }
  .member-copy .more { display: table; margin-left: auto; margin-right: auto; }
  .team { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .pg-team { max-width: 640px; margin: 0 auto; }
  .role { max-width: 760px; }
  .apply-card { grid-template-columns: 1fr; text-align: center; }
  .pg-sec .ops-copy { text-align: center; }
}
@media (max-width: 900px) {
  .cards { grid-template-columns: 1fr; max-width: 640px; margin: 0 auto; }
  .cards.c4, .cards.c5 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: none; }
  .lessons { grid-template-columns: 1fr; }
  .photos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .photos > :nth-child(3) { display: none; }
  .place-list { --n: 2 !important; }
  .voice.say-film { grid-template-columns: minmax(0, 260px) minmax(0, 1fr); }
}
@media (max-width: 720px) {
  .cards, .cards.c2, .cards.c4, .cards.c5, .more-grid, .svc-grid { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-grid > *, .proof-grid > :nth-child(4), .proof-grid > :nth-child(5) { grid-column: auto; }
  .card { text-align: center; align-items: center; }
  .card ul { text-align: left; align-self: stretch; }
  .mcard { text-align: center; align-items: center; }
  .mcard-logo { justify-content: center; }
  .mcard-logo img { object-position: center; }
  .big { grid-template-columns: 1fr; }
  .big > div, .big > div:nth-child(even) { flex-direction: column-reverse; align-items: center; text-align: center; padding: 16px 0; border-left: 0; }
  .res-ink .hb { grid-template-columns: 96px 1fr 58px; font-size: 12.5px; gap: 8px; }
  .res-ink .hb i { height: 22px; }
  .res-ink .bars { height: 190px; gap: 2px; }
  .bars-long .bar-c:nth-child(even) span { visibility: hidden; }
  .res-ink .bar-c b { font-size: 8.5px; }
  .res-ink .bar-c span { font-size: 8.5px; }
  .res-ink .chart { padding: 16px 12px 14px; }
  .since-nums { grid-template-columns: 1fr; }
  .since-nums > div { align-items: center; text-align: center; }
  .voice.say-film { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .say-film .film { width: min(240px, 70vw); }
  .say-film .who { text-align: center; }
  .lessons li { grid-template-columns: 44px minmax(0, 1fr); }
  .lessons li::before { font-size: 1.3rem; }
  .svc { text-align: left; }
  .photos { grid-template-columns: 1fr 1fr; gap: 10px; }
  .photos img { border-radius: 14px; }
  .place-list { --n: 2 !important; gap: 0 14px; }
  .place-list a { font-size: 14px; padding: 10px 0; }
  .places h3 { font-size: 1.1rem; }
  .partner-tiles .med-tile { flex-direction: column; justify-content: center; text-align: center; }
  .partner-tiles .med-tile dt { text-align: center; max-width: 20ch; }
  .partner-people { grid-template-columns: 1fr; }
  .team { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .pg-team { gap: 8px; }
  .pg-team figcaption { left: 5px; right: 5px; bottom: 5px; padding: 5px 7px; font-size: 10.5px; }
  .pg-team figcaption b { font-size: 11.5px; }
  .checks { grid-template-columns: 1fr; }
  .cred { height: 84px; padding: 10px 14px; }
  .cred img { height: 54px; }
  .cred.wide img { height: 36px; }
  .say-solo .say-q { font-size: 1.45rem; }
  .apply-card .btn { width: 100%; }
}

/* a real photo in place of a film, beside the quote */
.say-pic { margin: 0; }
.say-pic img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 22px; box-shadow: 0 40px 80px -40px rgba(12, 12, 13, .6); }
@media (max-width: 720px) { .say-pic { width: min(300px, 80vw); } }

/* a film with no typed words: the owner's name leads, the case study's line sits under it */
.say-who { margin-top: 4px; font-size: 14.5px; color: var(--mute); }
.say-who b { display: block; font-family: var(--wide); font-weight: 700; font-size: clamp(1.6rem, 2.6vw, 2.5rem); line-height: 1.1; letter-spacing: -.04em; color: var(--ink); margin-bottom: 6px; }
.voice .say-q.say-cs { margin-top: 30px; padding-top: 26px; border-top: 1px solid var(--line); font-size: clamp(1.1rem, 1.6vw, 1.5rem); }
.say-cs cite, .say-q cite { display: block; margin-top: 12px; font: 600 12.5px var(--sans); font-style: normal; letter-spacing: .08em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 720px) { .voice .say-q.say-cs { text-align: center; } }
.line-cap { margin-top: 6px; font-size: 14px; color: var(--mute-d); }
.line-cap b { color: var(--aqua); }
.card .card-t + .card-k { margin-top: 10px; }
.pg-photo img { object-position: 50% 30%; }
.logos + .photos { margin-top: clamp(28px, 3vw, 44px); }
.faq-col details p .more { font-size: inherit; border-bottom-width: 2px; padding-bottom: 0; }

/* a short row of client logos, centered */
.logo-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logo-row li { display: grid; place-items: center; width: clamp(150px, 15vw, 220px); height: clamp(84px, 8vw, 116px); padding: 14px 20px; border-radius: 18px; background: #fff; }
.pg-white .logo-row li { background: var(--bone); }
.logo-row img { max-height: 54px; max-width: 100%; width: auto; opacity: .85; }
.logo-row img.sq { max-height: 80px; }
.logo-row + .more-grid { margin-top: clamp(28px, 3.4vw, 48px); }
@media (max-width: 720px) { .logo-row { gap: 10px; } .logo-row li { width: calc(50% - 5px); height: 84px; } .logo-row img { max-height: 40px; } .logo-row img.sq { max-height: 60px; } }
.pg-sec .ops-in { isolation: isolate; }
.joe-words cite { font-style: normal; }
.next-links { margin-top: clamp(40px, 4.5vw, 64px); }
.med-tiles + .med-src { margin-bottom: 0; }

/* Careers: what experience is required, under the two roles */
.role-need { max-width: 1100px; margin: clamp(22px, 2.6vw, 34px) auto 0; padding: clamp(20px, 2.4vw, 30px); border-radius: 22px; border: 1.5px solid var(--line); text-align: center; }
.role-need > p:not(.card-t) { margin-top: 8px; color: #33322f; font-size: 15.5px; }
.role-need .card-t { margin: 0; }
.role-need .tags { justify-content: center; margin-top: 14px; }
.apply-card .kick { margin-bottom: 14px; }
.apply-card .kick::before { box-shadow: 0 0 20px var(--aqua); }
/* the partner team's second tile on a bone ground */
.pg-bone .partner-tiles .med-tile:not(.med-tile-lead) { background: #fff; }
/* credentials: an even grid of tiles, each badge named under it */
.creds { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1180px; }
.cred { height: auto; min-height: 170px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 22px; text-align: center; }
.cred img { height: 84px; max-width: 220px; }
.cred.wide img { height: 56px; }
.cred > span { font-size: 13.5px; font-weight: 600; color: var(--mute); max-width: 26ch; line-height: 1.35; }
.cred-assoc { grid-column: span 2; } /* one association card since 2026-11-13 (AIVA ended): it fills two cells so 5 cards make full rows */
.cred-assoc b { font-size: clamp(1.5rem, 2.2vw, 2.1rem); }
.cred-assoc span { font-size: 13.5px; }
@media (max-width: 900px) { .creds { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 720px) { .cred { min-height: 130px; padding: 16px 12px; } .cred img { height: 60px; } .cred.wide img { height: 40px; } .cred > span { font-size: 12px; } .cred-assoc b { font-size: 1.2rem; } }
/* the five-year chart's axis labels are drawn bigger on a phone (omg.css); let them show past the drawing's edge */
.line svg { overflow: visible; }
