:root {
  color-scheme: dark;
  --purple: #5501da;
  --cyan: #01dae9;
  --pink: #fd54ac;
  --black: #000;
  --white: #fff;
  --line: rgb(255 255 255 / 39%);
  --muted: rgb(255 255 255 / 88%);
  --inset: clamp(18px, 5vw, 52px);
  --photo-radius: 16%;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--purple);
  color: var(--white);
}
* { box-sizing: border-box; }
body { margin: 0; line-height: 1.5; }
[hidden] { display: none !important; }
:where(h1,h2,h3,p,ol,ul,dl,dd) { margin: 0; }
a { color: inherit; text-underline-offset: 4px; }
button, input, select, textarea { font: inherit; }
button:not(:disabled), select { cursor: pointer; }
button:disabled { cursor: default; opacity: .42; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--photo-radius); }
.shell { width: min(100% - 2 * var(--inset), 1140px); margin-inline: auto; }
.skip { position: absolute; transform: translateY(-150%); z-index: 1; padding: 12px; background: var(--black); }
.skip:focus { transform: translateY(0); }
.header, .footer { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 6px 22px; min-height: 64px; }
.header { border-bottom: 1px solid var(--line); }
.header nav, .footer div { display: flex; align-items: center; flex-wrap: wrap; gap: 2px clamp(13px, 2.5vw, 26px); }
.header a, .footer a { min-height: 44px; display: inline-flex; align-items: center; gap: 7px; text-decoration: none; font-size: .88rem; }
.header a:hover, .footer a:hover, .text-link:hover { text-decoration: underline; }
.header-contact { color: var(--cyan); font-weight: 700; }
.brand-mark {
  display: inline-block;
  flex: 0 0 30px;
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: url('/assets/brand-original.jpg') 90% 58% / 497% auto no-repeat;
}
.footer { border-top: 1px solid var(--line); padding-block: 10px; }
.section { padding-block: clamp(28px, 5vw, 52px); border-top: 1px solid var(--line); }
.hero { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, 1fr); align-items: center; gap: 26px 54px; padding-block: clamp(36px, 8vw, 94px); }
.hero > :first-child { container-type: inline-size; }
.hero h1 { font-size: clamp(1.75rem, 12.5cqi, 5.85rem); }
.hero h1 span { white-space: nowrap; }
h1 { font-size: clamp(2.5rem, 7.3vw, 5.85rem); line-height: 1.08; font-weight: 830; overflow-wrap: anywhere; }
h2 { font-size: clamp(1.7rem, 4vw, 3rem); line-height: 1.16; font-weight: 800; }
h3 { font-size: 1.05rem; line-height: 1.24; }
.eyebrow { color: var(--cyan); font-size: .76rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 800; margin-bottom: 8px; }
.hero-kicker { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.lede { max-width: 46ch; font-size: clamp(1.05rem, 2vw, 1.27rem); color: var(--muted); margin-top: 18px; }
.action, .outline {
  display: inline-flex; width: fit-content; max-width: 100%; align-items: center; justify-content: center; gap: 12px;
  min-height: 46px; padding: 10px 17px; border: 1px solid transparent; border-radius: 999px;
  color: var(--white); background: var(--pink); text-decoration: none; font-size: .92rem; font-weight: 800;
}
.action:hover { text-decoration: underline; }
.outline { background: transparent; border-color: var(--line); }
.outline:hover { border-color: var(--white); }
.hero .action, .page-intro .action, .work button { margin-top: 22px; }
.wordmark { color: var(--cyan); width: min(100%, 510px); }
.wordmark-image {
  width: 100%; aspect-ratio: 3;
  background: url('/assets/brand-inverted.jpg') 19% 35% / 178% auto no-repeat;
  mask-image: linear-gradient(to right, transparent, #fff 3% 97%, transparent),
              linear-gradient(to bottom, transparent, #fff 4% 98%, transparent);
  mask-composite: intersect;
}
.wordmark p { padding-left: 4%; margin-top: .2rem; font-size: clamp(.95rem, 2vw, 1.55rem); line-height: 1.18; font-weight: 760; }
.section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; }
.rail-controls { display: flex; gap: 8px; }
.rail-controls button, .filter button {
  min-height: 44px; min-width: 44px; padding: 8px 12px; border: 1px solid var(--line);
  color: var(--white); background: transparent; border-radius: 999px;
}
.direction-rail {
  display: grid; grid-auto-flow: column; grid-auto-columns: max(174px, calc((100% - 48px) / 5));
  overflow-x: auto; overscroll-behavior-inline: contain; gap: 12px; scroll-snap-type: x mandatory;
  padding: 5px 4px 13px; list-style: none; margin-top: 16px;
  scrollbar-color: var(--cyan) transparent; scrollbar-width: thin;
}
.direction-rail li { scroll-snap-align: start; min-width: 0; }
.direction-rail a { display: grid; align-content: start; gap: 6px; height: 100%; min-height: 115px; padding: 11px 13px; border: 1px solid var(--line); text-decoration: none; }
.direction-rail a:hover { border-color: var(--cyan); }
.direction-rail li:first-child a { background: var(--cyan); color: var(--black); border-color: var(--cyan); }
.direction-rail li:first-child a:focus-visible { outline-color: var(--white); }
.direction-meta { display: flex; justify-content: space-between; font-size: .77rem; font-weight: 800; }
.direction-rail strong { font-size: 1rem; line-height: 1.17; }
.direction-rail small { font-size: .76rem; }
.learning { display: grid; grid-template-columns: minmax(0, .75fr) minmax(0, 1.6fr); gap: 24px 35px; align-items: start; }
.learning aside h3 { margin-bottom: 10px; }
.level-picker { display: grid; gap: 7px; }
.level-picker button {
  display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 9px; align-items: center;
  min-height: 58px; padding: 8px 11px; text-align: left; border: 1px solid var(--line);
  background: transparent; color: var(--white); border-radius: 5px;
}
.level-picker button[aria-pressed="true"] { border-color: var(--pink); background: var(--pink); color: var(--black); }
.level-picker strong, .level-picker small { display: block; }
.level-picker small, .step-number { font-size: .77rem; }
.step-number { font-weight: 800; }
.specialization { margin-bottom: 16px; }
.focus, .outcomes p:last-child, .contact p:last-child, .section > .lede { margin-top: 9px; }
.steps { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; list-style: none; padding: 0; margin-top: 18px; }
.steps li { border-top: 1px solid var(--line); padding-top: 9px; }
.steps .step-number { color: var(--cyan); }
.steps h3 { margin: 4px 0 6px; }
.steps p, .outcomes p:last-child { color: var(--muted); font-size: .93rem; }
.outcomes, .contact, .work, .profile-intro { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 38px; }
.outcomes h2 { font-size: clamp(1.5rem, 3.2vw, 2.45rem); }
.contact { align-items: start; scroll-margin-top: 12px; }
.contact:has(> [data-close-contact]) { position: relative; }
.contact:has(> [data-close-contact]) > div { padding-right: 52px; }
.contact > [data-close-contact] { top: 18px; right: 0; }
.contact:has(> [data-close-contact]) > .lead-form { padding-top: 40px; }
.form-context { margin-top: 12px; font-weight: 800; color: var(--pink); }
.lead-form { display: grid; gap: 13px; }
.form-pair { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 12px; }
label { display: grid; gap: 5px; font-size: .88rem; font-weight: 700; }
input:not([type="checkbox"]), select, textarea {
  width: 100%; min-height: 45px; border: 1px solid var(--white); border-radius: 4px;
  padding: 9px 11px; color: var(--black); background: var(--white); color-scheme: light; font-size: 1rem;
}
.select-wrap { position: relative; display: block; }
.select-wrap select { appearance: none; padding-right: 38px; }
.select-wrap::after { content: ''; position: absolute; right: 17px; top: 50%; width: 8px; height: 8px; border: solid var(--black); border-width: 0 2px 2px 0; transform: translateY(-70%) rotate(45deg); pointer-events: none; }
input[type="checkbox"] { width: 18px; height: 18px; margin: 1px 0 0; accent-color: var(--pink); }
.consent label { display: flex; gap: 10px; align-items: start; }
.consent input { flex: 0 0 18px; }
.lead-form .local-note, .lead-form .consent p { font-size: .78rem; margin: 0; }
.lead-form .consent p { padding-left: 27px; margin-top: 4px; }
.form-status { font-size: .87rem; font-weight: 700; color: var(--cyan); }
.form-status:empty { display: none; }
.page-intro { padding-block: clamp(30px, 6vw, 68px); }
.page-intro h1 { font-size: clamp(2.45rem, 7vw, 5.1rem); }
.back { display: inline-block; margin-bottom: 18px; color: var(--muted); font-size: .88rem; }
.founder p:not(.eyebrow) { max-width: 60ch; margin-top: 11px; }
.founder { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 24px 44px; align-items: center; }
.team-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 15px; margin-top: 20px; }
.team-grid h3 { margin-top: 10px; }
.team-photo, .talent-picture { aspect-ratio: 1; overflow: hidden; border-radius: var(--photo-radius); }
.team-photo { background: var(--cyan); }
.founder .team-photo { max-width: 325px; }
.team-photo img { width: 100%; height: 100%; }
.team-placeholder { display: grid; place-items: center; background: linear-gradient(148deg, var(--cyan) 0 59%, var(--pink) 59% 64%, var(--purple) 64%); border: 1px solid var(--line); }
.team-placeholder .brand-mark { width: 54px; height: 54px; border-radius: 10px; }
.filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.filter button[aria-pressed="true"] { color: var(--black); border-color: var(--cyan); background: var(--cyan); }
[data-talent-list] { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 19px; }
.talent-card { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1fr); border: 1px solid var(--line); }
.talent-picture { position: relative; align-self: start; background: var(--black); }
.talent-picture img { width: 100%; height: 100%; }
.talent-picture span { position: absolute; inset: 9px auto auto 9px; padding: 4px 7px; background: var(--black); font-size: .73rem; }
.talent-copy { padding: 13px; }
.talent-copy .eyebrow { font-size: .67rem; }
.talent-copy h2 { font-size: clamp(1.15rem, 2.5vw, 1.85rem); margin-bottom: 8px; }
.talent-copy h2 a { text-decoration: none; }
.talent-copy p, .pace { font-size: .86rem; }
.pace { margin-top: 8px; color: var(--cyan); }
.card-work { display: flex; align-items: center; gap: 8px; margin: 11px 0 4px; }
.card-work img { flex: none; width: 49px; border-radius: 12px; }
.card-work strong, .card-work small { display: block; font-size: .78rem; }
.text-link { display: inline-flex; align-items: center; min-height: 44px; margin-right: 9px; font-size: .82rem; }
.talent-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 5px 10px; }
.request-dialog { width: min(92%, 650px); max-height: 88dvh; border: 1px solid var(--line); background: var(--purple); color: var(--white); padding: 0; }
.request-dialog::backdrop { background: rgb(0 0 0 / 65%); }
.request-dialog .contact { width: auto; display: grid; grid-template-columns: 1fr; padding: 28px clamp(16px, 4vw, 36px); border: 0; }
.request-dialog h2 { padding-right: 40px; }
.dialog-close { position: absolute; top: 10px; right: 12px; width: 44px; min-height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--white); font-size: 1.4rem; }
.empty { grid-column: 1 / -1; }
.empty p { margin-top: 8px; }
.profile-intro { align-items: center; }
.profile-intro img { width: min(100%, 360px); justify-self: end; }
.profile-facts { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; margin-top: 17px; }
.profile-facts dt { color: var(--cyan); font-weight: 750; }
.profile-facts dd { margin-top: 5px; }
.work { align-items: center; }
.work img { width: min(100%, 370px); justify-self: end; }
.work p:not(.eyebrow), .legal p, .legal h2 { margin-top: 12px; }
.legal p { max-width: 70ch; }
@media (max-width: 1020px) {
  .talent-card { grid-template-columns: 1fr; }
}
@media (max-width: 690px) {
  .hero, .learning, .contact, .profile-intro, .work, .founder { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero { gap: 30px; }
  .wordmark { width: min(88%, 380px); }
  .profile-intro img, .work img { justify-self: start; }
}
@media (max-width: 460px) {
  .steps, .outcomes, .form-pair, [data-talent-list], .profile-facts { grid-template-columns: 1fr; }
}
.work-toggle { min-height: 44px; padding: 0; border: 0; background: none; color: var(--white); font-size: .76rem; text-decoration: underline; text-underline-offset: 3px; }
