/* /opportunities: horizontal scroll reel of collage panels, role matcher, full role list. */
body.opps .wrap { max-width: 1180px; }
body.opps section { border-top: 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }

/* reel: stacked panels without JS or with reduced motion */
.reel { padding: 0 !important; overflow: hidden; }
.pn { position: relative; overflow: hidden; min-height: 92vh; min-height: 92svh; padding: 96px max(24px, calc((100vw - 1132px) / 2)) 48px; color: #15161f; background: var(--bg, #fcfcfd); }
.pn h1, .pn h2 { color: inherit; font-size: clamp(46px, 7vw, 112px); line-height: .98; letter-spacing: -.03em; position: relative; z-index: 2; }
.pn em { font-style: italic; }
.pn-intro { color: #fff; background: radial-gradient(50% 70% at 20% 0%, rgba(255,170,140,.26), rgba(255,170,140,0) 62%), radial-gradient(50% 70% at 85% 10%, rgba(160,150,255,.28), rgba(160,150,255,0) 62%), radial-gradient(50% 60% at 50% 100%, rgba(110,210,190,.2), rgba(110,210,190,0) 62%), #15161f; }
.pn-intro .eyebrow { color: rgba(255,255,255,.6); }
.pn-intro h1 { max-width: 12ch; }
.pn-intro em, .pn-end em { color: transparent; background: linear-gradient(100deg, #ffc1a0, #c9bcff, #9fe3d1); -webkit-background-clip: text; background-clip: text; padding: 0 .12em .2em .04em; margin: 0 -.12em -.2em -.04em; }
.pn-sub { position: relative; z-index: 2; margin: 24px 0 0; max-width: 46ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; opacity: .9; }
.pn-big { display: flex; align-items: baseline; gap: 14px; margin: 26px 0 0; }
.pn-big b { font: 400 clamp(56px, 7vw, 104px)/1 var(--serif); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.pn-big span { font: 500 12px/1.4 var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; max-width: 15ch; }
.pn-hint { display: none; align-items: center; gap: 8px; margin: 22px 0 0; font: 500 12px var(--mono); letter-spacing: .08em; text-transform: uppercase; opacity: .7; }
.pn-hint svg { width: 16px; height: 16px; }
.pn-word { position: absolute; left: 0; bottom: -2vh; z-index: 0; font: italic 400 clamp(150px, 30vw, 460px)/.8 var(--serif); letter-spacing: -.05em; color: rgba(21,22,31,.1); white-space: nowrap; pointer-events: none; }
.pn-text { position: relative; z-index: 2; max-width: min(56vw, 640px); }
.pn-c h2 { font-size: clamp(42px, 5.6vw, 88px); }
.pn-n { margin: 16px 0 0; font: 500 13px/1 var(--mono); letter-spacing: .08em; text-transform: uppercase; }
.pn-n b { font-weight: 500; }
.pn-list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; max-width: 520px; }
.pn-list a { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 13px 16px; border-radius: 12px; background: #fff; color: #15161f; text-decoration: none; font: 500 15px/1.25 var(--sans); box-shadow: 0 12px 30px rgba(21,22,31,.14); transition: transform .15s; }
.pn-list a:hover { transform: translateX(4px); }
.pn-list span { flex: none; font: 500 12px var(--mono); color: #5c5f66; }
.pn-art { position: absolute; z-index: 1; right: 4vw; bottom: 0; margin: 0; height: min(82vh, 56vw); }
.pn-art img { display: block; width: auto; height: 100%; }
.pn-obj { bottom: 7vh; height: min(70vh, 46vw); }
.pn-bar { position: absolute; display: block; background: linear-gradient(90deg, #e98a5f, #9a7fe0 50%, #3fa58f); transform: rotate(var(--r, 0deg)); transform-origin: left center; }
.pn-end { color: #15161f; background: linear-gradient(120deg, #f0a07a 0%, #a996f0 52%, #5cc3a8 100%); display: flex; flex-direction: column; justify-content: center; }
.pn-end em { color: inherit; background: none; padding: 0; margin: 0; }
.pn-go { align-self: flex-start; margin-top: 30px; padding: 22px 34px; font-size: 19px; border-radius: 10px; background: #15161f; border-color: #15161f; color: #fff; position: relative; z-index: 2; }
.pn-go svg { width: 20px; height: 20px; }

.pn-intro-art { position: absolute; right: max(24px, calc((100vw - 1132px) / 2)); bottom: 0; display: flex; align-items: flex-end; gap: 12px; height: min(70vh, 40vw); }
.in-a { position: relative; overflow: hidden; width: min(12vw, 180px); border-radius: 999px 999px 0 0; }
.in-a:nth-child(1) { height: 66%; background: #5cc3a8; }
.in-a:nth-child(2) { height: 100%; background: #a996f0; }
.in-a:nth-child(3) { height: 80%; background: #f3cf86; }
.in-i { position: absolute; left: 50%; bottom: 0; width: 112%; transform: translateX(-50%); display: block; }
.in-i img { display: block; width: 100%; height: auto; }

/* reel: pinned horizontal version */
.reel.is-live { height: 100vh; height: 100svh; }
.is-live .reel-track { display: flex; width: 600%; height: 100%; will-change: transform; }
.is-live .pn { flex: 0 0 calc(100% / 6); min-height: 0; height: 100%; }
.is-live .pn-hint { display: inline-flex; }
.is-live .pn-progress { display: block; }
.reel-rail { position: absolute; z-index: 5; left: max(24px, calc((100vw - 1132px) / 2)); right: max(24px, calc((100vw - 1132px) / 2)); top: 78px; height: 2px; background: rgba(127,127,127,.3); }
.reel-rail i { display: block; height: 100%; background: linear-gradient(90deg, #f0a07a, #a996f0, #5cc3a8); transform: scaleX(0); transform-origin: left; }

/* matcher */
.mt { background: #fcfcfd; padding: 104px 0 !important; }
.mt-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 32px; align-items: start; }
.mt-form { display: grid; gap: 26px; }
.mt-form fieldset { border: 0; margin: 0; padding: 0; }
.mt-form legend, .mt-f > span { display: block; padding: 0; margin-bottom: 10px; font: 500 16px/1.3 var(--sans); color: var(--ink); }
.mt-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.mt-chips button { padding: 11px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 15px/1.2 var(--sans); color: var(--body); cursor: pointer; }
.mt-chips button[aria-pressed="true"] { background: #15161f; border-color: #15161f; color: #fff; }
.mt-f input, .mt-f textarea, .rl-search input { width: 100%; padding: 14px 16px; border: 1px solid #d9d9d6; border-radius: 10px; background: #fff; font: 400 16px/1.4 var(--sans); color: var(--ink); resize: vertical; }
.mt-f input:focus, .mt-f textarea:focus, .rl-search input:focus { outline: 2px solid #9a7fe0; outline-offset: 1px; }
.mt-cv { position: sticky; top: 84px; padding: 26px 28px; border-radius: 20px; color: #15161f; background: linear-gradient(135deg, #fbd9c6 0%, #ded5fb 55%, #c6ebdf 100%); }
.mt-cv-top { display: flex; justify-content: space-between; align-items: center; }
.mt-cv-top .eyebrow { margin: 0; color: rgba(21,22,31,.7); }
.mt-copy { padding: 8px 14px; border: 0; border-radius: 8px; background: #15161f; color: #fff; font: 500 13px var(--sans); cursor: pointer; }
.mt-copy:disabled { opacity: .35; cursor: default; }
.mt-cv-body { margin-top: 16px; padding: 22px; min-height: 230px; border-radius: 12px; background: #fff; overflow-wrap: anywhere; }
.mt-empty { margin: 0; color: var(--muted); }
.mt-cv-body h3 { font: 400 28px/1.1 var(--serif); letter-spacing: -.015em; }
.mt-cv-body h4 { margin: 16px 0 6px; font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.mt-cv-body p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--body); }
.mt-cv-note { margin: 12px 0 0; font-size: 13px; color: rgba(21,22,31,.72); }
.mt-results { margin-top: 44px; }
.mt-results h3 { font: 400 clamp(32px, 4vw, 48px)/1.05 var(--serif); letter-spacing: -.02em; }
.mt-results > p { margin: 10px 0 0; color: var(--muted); }
.mt-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mt-list a { display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 20px 22px; border-radius: 14px; background: #15161f; color: #fff; text-decoration: none; transition: transform .15s; }
.mt-list a:hover { transform: translateY(-3px); }
.mt-top { display: flex; justify-content: space-between; gap: 14px; align-items: baseline; }
.mt-top b { font: 500 17px/1.3 var(--sans); }
.mt-top span { flex: none; font: 500 13px var(--mono); color: #c9bcff; }
.mt-why { display: flex; gap: 7px; font-size: 14px; line-height: 1.4; color: rgba(255,255,255,.75); }
.mt-why svg { flex: none; width: 13px; height: 13px; margin-top: 3px; color: #9fe3d1; }
.mt-apply { margin-top: auto; font: 500 14px var(--sans); color: #ffc1a0; }

/* all roles */
.rl { background: #fff; padding: 104px 0 !important; }
.rl-bar { display: grid; gap: 14px; }
.rl-cats { display: flex; flex-wrap: wrap; gap: 8px; }
.rl-cats button { padding: 10px 14px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font: 500 14px/1.2 var(--sans); color: var(--body); cursor: pointer; }
.rl-cats button[aria-pressed="true"] { background: #15161f; border-color: #15161f; color: #fff; }
.rl-count { margin: 20px 0 8px; font: 500 12px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.rl-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.rl-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto 18px; gap: 18px; align-items: center; padding: 16px 4px; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.rl-list a:hover { background: #f7f6fb; }
.rl-t { font: 500 16px/1.35 var(--sans); }
.rl-s { display: block; margin-top: 3px; font-size: 13.5px; font-weight: 400; color: var(--muted); overflow: hidden; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; }
.rl-p { font: 500 13px var(--mono); color: var(--body); white-space: nowrap; }
.rl-list svg { width: 16px; height: 16px; }
.rl-more { margin-top: 22px; }
.op-fine { background: #15161f; color: rgba(255,255,255,.8); padding: 56px 0 !important; }
.op-fine .eyebrow { color: rgba(255,255,255,.55); }
.op-fine p:last-child { margin: 0; max-width: 78ch; font-size: 15px; line-height: 1.6; }

@media (max-width: 880px) {
  .pn { padding: 92px 16px 28px; }
  .pn h1 { font-size: clamp(46px, 13vw, 84px); }
  .pn-c h2, .pn-end h2 { font-size: clamp(38px, 10.5vw, 68px); }
  .pn-text { max-width: none; }
  .pn-word { bottom: auto; top: 40svh; font-size: 42vw; }
  .pn-art { right: 0; height: 44svh; }
  .pn-intro-art { right: 16px; height: 31svh; gap: 8px; }
  .in-a { width: 27vw; }
  .pn-obj { right: 6vw; bottom: 3svh; height: 38svh; }
  .pn-list { margin-top: 14px; gap: 6px; }
  .pn-list a { padding: 10px 12px; font-size: 13.5px; }
  .pn-list li:nth-child(n+3) { display: none; }
  .mt, .rl { padding: 72px 0 !important; }
  .mt-grid { grid-template-columns: minmax(0, 1fr); }
  .mt-cv { position: static; padding: 18px; }
  .mt-list { grid-template-columns: minmax(0, 1fr); }
  .rl-list a { grid-template-columns: minmax(0, 1fr) 18px; gap: 4px 12px; }
  .rl-p { grid-column: 1; grid-row: 2; }
  .rl-list svg { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 880px) and (max-height: 720px) {
  .pn-intro-art { display: none; }
  .pn-sub { font-size: 15px; margin-top: 14px; }
  .pn-big { margin-top: 14px; }
  .pn-big b { font-size: 46px; }
  .pn-art { height: 37svh; }
  .pn-obj { height: 30svh; }
  .pn-list li:nth-child(n+2) { display: none; }
}

/* palettes.css washes every plain section, so these need to win explicitly */
body.opps main > section.mt { background: #fcfcfd !important; }
body.opps main > section.rl { background: #fff !important; }
body.opps main > section.op-fine { background: #15161f !important; }
.pn-intro h1 { max-width: 11ch; }
.pn-intro .pn-sub { max-width: 34ch; }
.rl-note { margin: 16px 0 0; max-width: 70ch; font-size: 14.5px; line-height: 1.5; color: var(--body); }
.sb { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px 24px; margin-bottom: 64px; padding: 16px 20px; border-radius: 12px; background: #f4f3fb; }
.sb p { margin: 0; font-size: 15.5px; line-height: 1.4; color: var(--body); }
.sb b { font-weight: 600; color: var(--ink); }
.sb .btn { flex: none; background: #fff; }
@media (max-width: 560px) { .sb { margin-bottom: 44px; } .sb span:not(#sb-n) { display: block; } }
.sb .btn { gap: .3em; }

/* link out to the churn study, under the role-list heading */
.rl-churn { max-width: 56ch; margin: 10px 0 0; font-size: 15px; line-height: 1.5; color: var(--muted); }
.rl-churn a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; white-space: nowrap; }
