/* Clickpros-Marketing — inner pages (Work, Services, Contact).
   Builds on the tokens and components in styles.css. */

/* ───────── Page hero ───────── */
.page-hero { position: relative; isolation: isolate; overflow: clip; padding: clamp(150px, 16vw, 216px) 0 clamp(56px, 7vw, 100px); background: radial-gradient(55% 80% at 84% 18%, #ffe4d8 0%, #fff4ef 44%, #ffffff00 80%), linear-gradient(#fff, #fffaf8); }
.page-hero::after { content: ''; position: absolute; z-index: -1; right: -180px; top: -220px; width: 640px; aspect-ratio: 1; border-radius: 50%; border: 1px solid #f04a2240; box-shadow: 0 0 0 70px #f04a220a, 0 0 0 140px #f04a2206; }
.page-hero .display { margin-top: clamp(20px, 2.4vw, 32px); font-size: clamp(2.9rem, 7.8vw, 8.2rem); }
.page-hero .lead { max-width: 58ch; }
.jump-row, .filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.jump-row { margin-top: clamp(32px, 4vw, 56px); }

.pill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px; background: #ffffffb3; box-shadow: inset 0 0 0 1px #22222226; font: 500 14px/1 var(--body); color: var(--ink); white-space: nowrap; transition: background-color .2s ease-out, color .2s ease-out, box-shadow .2s ease-out, scale .15s ease-out; }
.pill:hover { box-shadow: inset 0 0 0 1px #22222280; }
.pill:active { scale: .97; }
.pill[aria-pressed="true"] { background: var(--ink); color: #fff; box-shadow: none; }

/* ───────── Work: case grid ───────── */
.work { padding-block: clamp(40px, 5vw, 72px) var(--section); }
.case-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-block: clamp(24px, 3vw, 36px); }
.case { grid-column: span 4; display: flex; flex-direction: column; min-height: 400px; padding: clamp(22px, 2.4vw, 34px); border-radius: var(--r-card); background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); }
.case.wide { grid-column: span 8; }
.case-grid.is-filtered .case { grid-column: span 6; }
.case[hidden] { display: none; }
.case.tone-dark { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.case.tone-orange { background: var(--orange); color: #141211; box-shadow: none; }
.case-top { display: flex; justify-content: space-between; gap: 16px; font: 600 13px/1.3 var(--display); letter-spacing: .02em; font-variant-numeric: tabular-nums; }
.case-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 16px; }
.case-tags li { padding: 6px 11px; border-radius: 999px; font-size: 12px; font-weight: 500; line-height: 1.2; box-shadow: inset 0 0 0 1px color-mix(in srgb, currentColor 30%, transparent); }
.case h2 { max-width: 26ch; margin-top: auto; padding-top: 44px; font-size: clamp(1.3rem, 1.9vw, 1.75rem); line-height: 1.15; letter-spacing: -.03em; }
.case.wide h2 { max-width: 30ch; font-size: clamp(1.4rem, 2.4vw, 2.2rem); }
.case-stat { display: flex; align-items: baseline; flex-wrap: wrap; gap: 6px 16px; margin-top: 22px; padding-top: 20px; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); }
.case-stat strong { font: 600 clamp(2.8rem, 5.2vw, 4.8rem)/1 var(--display); letter-spacing: -.06em; color: var(--orange); font-variant-numeric: tabular-nums; }
.tone-dark .case-stat strong { color: var(--orange-soft); }
.tone-orange .case-stat strong { color: #141211; }
.case-stat span { font-size: 14px; font-weight: 500; }

/* ───────── Work: partners ───────── */
.partners { padding-bottom: var(--section); }
.partner-list { display: flex; flex-wrap: wrap; gap: 10px; margin-block: clamp(28px, 3.4vw, 44px) 20px; }
.partner-list li { padding: 16px 24px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); font: 600 clamp(1rem, 1.5vw, 1.25rem)/1 var(--display); letter-spacing: -.02em; }
.partner-list li:nth-child(-n+4) { background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); }

/* ───────── Voices ───────── */
.voices { position: relative; overflow: hidden; isolation: isolate; margin-inline: clamp(8px, 1.2vw, 20px); padding-block: var(--section); border-radius: var(--r-sheet); background: var(--dark); color: var(--on-dark); }
.voice-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.voice { display: flex; flex-direction: column; justify-content: space-between; gap: 36px; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-card); background: var(--dark-2); box-shadow: inset 0 0 0 1px #ffffff14; }
.voice blockquote { margin: 0; }
.voice blockquote::before { content: '\201C'; display: block; height: .55em; font: 600 4rem/1 var(--display); color: var(--orange); }
.voice blockquote p { margin-top: 18px; font-size: clamp(1.05rem, 1.35vw, 1.2rem); line-height: 1.6; }
.voice figcaption { display: grid; gap: 4px; padding-top: 20px; border-top: 1px solid #ffffff1f; font-size: 14px; }
.voice figcaption span { color: var(--on-dark-muted); }
.single-voice { padding-bottom: var(--section); }
.voice-large { background: var(--peach); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-warm); padding: clamp(28px, 5vw, 72px); }
.voice-large blockquote p { max-width: 30ch; font: 600 clamp(1.5rem, 3.2vw, 2.8rem)/1.2 var(--display); letter-spacing: -.035em; }
.voice-large figcaption { border-top-color: #2222221f; }
.voice-large figcaption span { color: var(--muted); }

/* ───────── CTA band ───────── */
.cta-band { padding-block: var(--section); }
.cta-band-inner { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 32px; padding-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.cta-band h2 { font-size: clamp(2.8rem, 7.6vw, 7.4rem); line-height: .98; letter-spacing: -.055em; }
.cta-band .hero-actions { margin-top: 0; }

/* ───────── Services ───────── */
.svc-list { padding-block: clamp(24px, 4vw, 56px) var(--section); }
.svc { display: grid; grid-template-columns: 110px minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(20px, 4vw, 64px); padding-block: clamp(40px, 5.5vw, 84px); border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.svc:first-child { border-top: 0; }
.svc-num { font: 600 clamp(2rem, 3.4vw, 3.2rem)/1 var(--display); letter-spacing: -.04em; color: var(--orange); }
.svc-main h2 { font-size: clamp(2.1rem, 4vw, 3.8rem); }
.svc-main > p { max-width: 38ch; margin-top: 22px; font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.65; color: var(--muted); }
.svc-main .link-arrow { margin-top: 22px; }
.svc-detail { display: grid; gap: 14px; align-content: start; }
.svc-block { padding: clamp(20px, 2.2vw, 28px); border-radius: 22px; background: #fff7f3; box-shadow: inset 0 0 0 1px var(--line-warm); }
.svc-block h3 { font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.svc-block > ul:not(.tag-list) { margin-top: 8px; }
.svc-block > ul:not(.tag-list) li { display: flex; gap: 14px; padding-block: 12px; border-bottom: 1px solid #2222221a; font-size: 15px; font-weight: 500; line-height: 1.45; }
.svc-block > ul:not(.tag-list) li:last-child { border-bottom: 0; padding-bottom: 0; }
.svc-block > ul:not(.tag-list) li::before { content: ''; width: 6px; height: 6px; margin-top: .5em; rotate: 45deg; background: var(--orange); flex-shrink: 0; }
.svc-block > p { margin-top: 12px; font-size: 15px; line-height: 1.65; }
.tag-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.tag-list li { padding: 8px 13px; border-radius: 999px; background: #fff; box-shadow: inset 0 0 0 1px #2222221f; font-size: 13px; font-weight: 500; line-height: 1.2; }

.statement-band { padding-bottom: var(--section); }
.tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); padding-top: var(--section); }
.tile { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(26px, 3.6vw, 52px); border-radius: var(--r-sheet); background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); }
.tile h2 { font-size: clamp(1.9rem, 3.4vw, 3.2rem); }
.tile > p:not(.eyebrow) { max-width: 44ch; margin-top: 20px; margin-bottom: 32px; font-size: clamp(1.02rem, 1.25vw, 1.15rem); line-height: 1.65; color: var(--muted); }
.tile .hero-actions { margin-top: auto; }
.tile-dark { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.tile-dark .eyebrow, .tile-dark > p:not(.eyebrow) { color: var(--on-dark-muted); }

/* ───────── Contact ───────── */
.contact.is-inset { margin-inline: clamp(8px, 1.2vw, 20px); border-radius: var(--r-sheet); }
.contact-info { display: grid; gap: 0; align-content: start; }
.info-block { padding-block: 22px; border-top: 1px solid #ffffff1f; }
.info-block:first-child { border-top: 0; padding-top: 0; }
.info-block h2 { font: 600 12px/1.3 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--on-dark-muted); }
.info-block p { margin-top: 10px; font: 500 clamp(1.1rem, 1.7vw, 1.45rem)/1.4 var(--display); letter-spacing: -.02em; }
.info-block a { display: inline-flex; align-items: center; min-height: 44px; overflow-wrap: anywhere; transition: color .2s ease-out; }
.info-block a:hover { color: var(--orange-soft); }
.brief-form .form-note a { color: #fff; }

.pill-field { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.pill-field legend { padding: 0; margin-bottom: 10px; font-size: 13px; font-weight: 500; color: var(--on-dark-muted); }
.pill-options { display: flex; flex-wrap: wrap; gap: 8px; }
.brief-form .check-pill { position: relative; display: inline-flex; flex-direction: row; margin: 0; cursor: pointer; }
.brief-form .check-pill input { position: absolute; inset: 0; width: 100%; height: 100%; min-height: 0; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.check-pill span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; background: var(--dark-3); box-shadow: inset 0 0 0 1px #ffffff2e; font-size: 14px; font-weight: 500; color: #fff; transition: background-color .2s ease-out, box-shadow .2s ease-out, color .2s ease-out; }
.check-pill:hover span { box-shadow: inset 0 0 0 1px #ffffff66; }
.check-pill input:checked + span { background: var(--orange); color: #141211; box-shadow: none; }
.check-pill input:focus-visible + span { box-shadow: inset 0 0 0 2px var(--orange-soft), 0 0 0 4px #f04a2233; }

.inner-page .faq { padding-block: var(--section); }

/* ───────── About ───────── */
.principles { padding-block: var(--section); }
.principle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.principle { display: flex; flex-direction: column; min-height: 380px; padding: clamp(24px, 2.8vw, 40px); border-radius: var(--r-card); }
.principle.tone-light { background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); }
.principle-num { font: 600 clamp(2rem, 3.2vw, 3rem)/1 var(--display); letter-spacing: -.04em; color: var(--orange); }
.principle.tone-dark .principle-num { color: var(--orange-soft); }
.principle.tone-orange .principle-num { color: #141211; }
.principle h3 { margin-top: auto; padding-top: 48px; font-size: clamp(1.5rem, 2.3vw, 2.1rem); }
.principle > p:last-child { margin-top: 16px; font-size: 16px; line-height: 1.65; }
.principle.tone-light > p:last-child { color: var(--muted); }
.principle.tone-dark > p:last-child { color: var(--on-dark-muted); }
.principle.tone-orange > p:last-child { font-weight: 500; }
.tiles.is-flush { padding-top: 0; }

.numbers { padding-block: var(--section); }
.number-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); margin-bottom: 22px; }
.number-grid article { padding: clamp(22px, 2.4vw, 32px); border-radius: 24px; background: #fff7f3; box-shadow: inset 0 0 0 1px var(--line-warm); }
.number-grid strong { display: block; font: 600 clamp(2.8rem, 5.4vw, 5rem)/1 var(--display); letter-spacing: -.06em; color: var(--orange); font-variant-numeric: tabular-nums; }
.number-grid p { margin-top: 20px; font-size: 15px; line-height: 1.6; color: var(--muted); }

.team { padding-bottom: var(--section); }
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.team-card { display: grid; gap: 4px; padding: clamp(18px, 2vw, 26px); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); transition: background-color .25s ease-out, translate .5s var(--ease-out); }
.team-card:hover { background: var(--peach); translate: 0 -4px; }
.team-mark { display: grid; place-items: center; width: 72px; aspect-ratio: 1; margin-bottom: 28px; border-radius: 22px; background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); font: 600 1.5rem/1 var(--display); letter-spacing: -.03em; color: var(--orange-deep); }
.team-card:nth-child(3n+2) .team-mark { background: var(--dark); color: var(--on-dark); box-shadow: none; }
.team-card:nth-child(3n) .team-mark { background: var(--orange); color: #141211; box-shadow: none; }
.team-card strong { font: 600 1.2rem/1.25 var(--display); letter-spacing: -.02em; }
.team-card > span:last-child { font-size: 14px; line-height: 1.45; color: var(--muted); }

.statement-band .hero-actions { margin-top: clamp(28px, 3.4vw, 44px); }
.partners.is-after-dark { padding-top: var(--section); }
.partners.is-after-dark h2 { font-size: clamp(1.9rem, 3.6vw, 3.4rem); }

/* ───────── Industries: core verticals first, CFD as a smaller note ───────── */
.programs, .industries { padding-block: clamp(40px, 5vw, 72px) var(--section); }
.program-grid, .industry-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 20px); }
.program, .industry-card { display: flex; flex-direction: column; align-items: flex-start; padding: clamp(24px, 2.6vw, 36px); border-radius: var(--r-card); scroll-margin-top: 100px; }
.program.tone-light, .industry-card.tone-light { background: var(--peach); box-shadow: inset 0 0 0 1px var(--line-warm); }
.program.tone-dark, .industry-card.tone-dark { background: var(--dark); color: var(--on-dark); }
.program.tone-orange, .industry-card.tone-orange { background: var(--orange); color: #141211; }
.program-head { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.program-icon { display: grid; place-items: center; width: 56px; height: 56px; flex-shrink: 0; border-radius: 18px; background: #fff; color: var(--orange-deep); box-shadow: inset 0 0 0 1px var(--line-warm); }
.program-icon .icon { width: 28px; height: 28px; stroke-width: 2.4; }
.tone-dark .program-icon { background: var(--dark-2); color: var(--orange-soft); box-shadow: inset 0 0 0 1px #ffffff1f; }
.tone-orange .program-icon { background: #ff6b45; color: #141211; box-shadow: none; }
.program-num { font: 600 13px/1 var(--display); font-variant-numeric: tabular-nums; }
.program-num span { opacity: .72; font-weight: 500; }
.tone-orange .program-num span { opacity: 1; }
.program-tag { margin-top: 30px; font: 600 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.tone-orange .program-tag { opacity: 1; }
.program h3 { margin-top: 10px; font-size: clamp(2rem, 3.2vw, 2.9rem); line-height: 1; letter-spacing: -.045em; }
.program-title { margin-top: 14px; font: 600 clamp(1.1rem, 1.5vw, 1.3rem)/1.3 var(--display); letter-spacing: -.02em; }
.program-copy { margin-top: 14px; font-size: 15px; line-height: 1.65; opacity: .82; }
.tone-orange .program-copy { opacity: 1; font-weight: 500; }
.program-list { width: 100%; margin-top: 22px; }
.program-list li { display: flex; gap: 12px; padding-block: 11px; border-top: 1px solid color-mix(in srgb, currentColor 16%, transparent); font-size: 14px; font-weight: 500; line-height: 1.45; }
.program-list li::before { content: ''; width: 6px; height: 6px; margin-top: .5em; rotate: 45deg; background: var(--orange); flex-shrink: 0; }
.tone-orange .program-list li::before { background: currentColor; }
.program-reports { width: 100%; margin-top: auto; padding-top: 22px; }
.program-reports > p { font: 600 12px/1.3 var(--body); letter-spacing: .12em; text-transform: uppercase; opacity: .78; }
.metric-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 10px; }
.metric-chips li { padding: 7px 12px; border-radius: 999px; font-size: 13px; font-weight: 600; line-height: 1.2; background: #fff; color: var(--ink); }
.tone-dark .metric-chips li { background: var(--dark-2); color: var(--on-dark); box-shadow: inset 0 0 0 1px #ffffff1f; }
.tone-orange .metric-chips li { background: #141211; color: #fff; }
.program .link-arrow, .industry-card .link-arrow { margin-top: 22px; }
.tone-dark .link-arrow:hover { color: var(--orange-soft); }
.tone-orange .link-arrow:hover { color: #fff; }
.industry-card h3 { margin-top: 28px; font-size: clamp(1.7rem, 2.6vw, 2.3rem); line-height: 1.05; letter-spacing: -.04em; }
.industry-card > p { margin-top: 12px; font: 600 1.05rem/1.35 var(--display); letter-spacing: -.02em; }
.industry-card .metric-chips { margin-top: 20px; }
.industry-card .link-arrow { margin-top: auto; padding-top: 22px; }
.specialist { display: flex; align-items: flex-start; gap: 20px; margin-top: clamp(14px, 1.8vw, 22px); padding: clamp(20px, 2.2vw, 28px); border-radius: 24px; box-shadow: inset 0 0 0 1px var(--line); }
.specialist .program-tag { margin-top: 0; color: var(--muted); opacity: 1; }
.specialist h3 { margin-top: 6px; font-size: 1.25rem; }
.specialist p:not(.program-tag) { max-width: 78ch; margin-top: 8px; font-size: 15px; line-height: 1.6; color: var(--muted); }

/* ───────── Responsive ───────── */
@media (max-width: 980px) {
  .case, .case.wide, .case-grid.is-filtered .case { grid-column: span 6; }
  .voice-grid, .tiles, .principle-grid, .program-grid, .industry-grid { grid-template-columns: 1fr; }
  .specialist { flex-direction: column; }
  .principle { min-height: 0; }
  .number-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc { grid-template-columns: 1fr; gap: 20px; }
  .svc-num { font-size: 2rem; }
  .cta-band-inner { flex-direction: column; align-items: flex-start; }
  .filter-row, .jump-row { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter) * -1); padding: 4px var(--gutter); scrollbar-width: none; }
  .filter-row::-webkit-scrollbar, .jump-row::-webkit-scrollbar { display: none; }
  .pill { flex: 0 0 auto; }
}
@media (max-width: 640px) {
  .case, .case.wide, .case-grid.is-filtered .case { grid-column: 1 / -1; min-height: 0; }
  .case h2 { padding-top: 56px; }
  .partner-list li { padding: 13px 18px; }
  .cta-band .btn { width: 100%; justify-content: space-between; }
  .cta-band .btn-ghost { justify-content: center; }
  .cta-band .btn span { overflow-wrap: anywhere; white-space: normal; }
  .page-hero::after { width: 420px; right: -220px; top: -180px; }
}
