/* Inject Group ranking pages — studio chrome, system fonts only (no Google Fonts). WCAG 2.1 AA. */
:root {
  --black: #0b0b0b;
  --chrome: #000000;
  --paper: #f5f5f5;
  --white: #ffffff;
  --ink: #141414;
  --muted: #3a3a3a;
  --rule: rgba(0, 0, 0, 0.12);
  --accent: #3131a1;
  --gold-text: #7a5e1a;
  --hairline: rgba(255, 255, 255, 0.2);
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
}

body {
  margin: 0;
  background: var(--black);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
}

.skip {
  position: absolute;
  left: -999px;
  top: 0.75rem;
  z-index: 20;
  padding: 0.65rem 1rem;
  background: var(--white);
  color: var(--black);
  min-height: 44px;
}

.skip:focus {
  left: 0.75rem;
}

a {
  color: inherit;
  text-underline-offset: 0.18em;
}

a:hover {
  text-decoration-thickness: 2px;
}

a:focus-visible,
.cta:focus-visible,
.brand:focus-visible {
  outline: 3px solid var(--white);
  outline-offset: 3px;
}

article a:focus-visible,
article .cta:focus-visible {
  outline-color: var(--black);
}

.masthead,
.site-footer {
  background: var(--chrome);
  color: var(--paper);
}

.masthead {
  padding: 1.25rem 1.5rem 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.masthead a {
  color: var(--paper);
}

.masthead-inner,
.wrap,
.site-footer-inner {
  max-width: 44rem;
  margin: 0 auto;
}

.kicker {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.72);
  margin: 0 0 0.85rem;
}

.brand {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.1rem;
  text-decoration: none;
  min-height: 44px;
}

.inject-mark {
  display: inline-flex;
  align-items: stretch;
  gap: 0.7rem;
  height: 28px;
  color: var(--white);
}

.ig {
  position: relative;
  display: block;
  height: 100%;
}

.ig i {
  position: absolute;
  background: currentColor;
}

.ig-i {
  width: 3px;
  background: currentColor;
}

.ig-n {
  width: 18px;
  overflow: hidden;
}

.ig-n i:nth-child(1),
.ig-n i:nth-child(3) {
  top: 0;
  width: 3px;
  height: 100%;
}

.ig-n i:nth-child(1) {
  left: 0;
}

.ig-n i:nth-child(3) {
  right: 0;
}

.ig-n i:nth-child(2) {
  left: 2px;
  top: 0;
  width: 3px;
  height: 118%;
  transform: rotate(-38deg);
  transform-origin: top left;
}

.ig-j {
  width: 14px;
}

.ig-j i:nth-child(1) {
  right: 0;
  top: 0;
  width: 3px;
  height: 100%;
}

.ig-j i:nth-child(2) {
  left: 0;
  bottom: 0;
  width: 100%;
  height: 3px;
}

.ig-e,
.ig-c {
  width: 13px;
}

.ig-e i:nth-child(1),
.ig-c i:nth-child(1) {
  left: 0;
  top: 0;
  width: 3px;
  height: 100%;
}

.ig-e i:nth-child(2),
.ig-e i:nth-child(4),
.ig-c i:nth-child(2),
.ig-c i:nth-child(3) {
  left: 3px;
  width: 100%;
  height: 3px;
}

.ig-e i:nth-child(2),
.ig-c i:nth-child(2) {
  top: 0;
}

.ig-e i:nth-child(4),
.ig-c i:nth-child(3) {
  bottom: 0;
}

.ig-e i:nth-child(3) {
  left: 3px;
  top: calc(50% - 1.5px);
  width: 100%;
  height: 3px;
}

.ig-t {
  width: 16px;
}

.ig-t i:nth-child(1) {
  left: 0;
  top: 0;
  width: 80%;
  height: 3px;
}

.ig-t i:nth-child(2) {
  left: 55%;
  top: 0;
  width: 3px;
  height: 100%;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brand-name {
  font-size: 0.82rem;
  font-weight: 650;
  letter-spacing: 0.22em;
}

.brand-tag {
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245, 245, 245, 0.72);
}

.studio-banner {
  margin: 1rem 0 0;
}

.studio-banner a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0;
  font-size: 0.92rem;
  font-weight: 650;
}

nav.primary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.25rem;
  margin-top: 1rem;
}

nav.primary a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 0.65rem;
  text-decoration: none;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  border: 1px solid var(--hairline);
}

nav.primary a[aria-current="page"] {
  background: var(--paper);
  color: var(--black);
  border-color: var(--paper);
}

main.wrap {
  padding: 1.5rem 1rem 3.5rem;
}

article {
  background: var(--paper);
  color: var(--ink);
  padding: 1.75rem 1.25rem 2.25rem;
}

h1,
h2,
h3 {
  line-height: 1.2;
  font-weight: 650;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(1.85rem, 4vw, 2.5rem);
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: 1.25rem;
  margin: 2.25rem 0 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--rule);
}

p.lede {
  font-size: 1.12rem;
  color: var(--muted);
}

ul {
  padding-left: 1.2rem;
}

li + li {
  margin-top: 0.4rem;
}

.meta-line {
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.5rem 0 0;
}

.studio-cta {
  margin-top: 1.25rem;
}

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.65rem 1.1rem;
  background: var(--black);
  color: var(--paper);
  text-decoration: none;
  font-size: 0.9rem;
  letter-spacing: 0.04em;
}

.cta.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.note {
  font-size: 0.95rem;
  color: rgba(245, 245, 245, 0.78);
}

article .note {
  color: var(--muted);
}

.site-footer {
  padding: 1.5rem 1.5rem 2rem;
  font-size: 0.95rem;
  border-top: 1px solid var(--hairline);
}

.site-footer a {
  color: var(--paper);
}

.footer-brand {
  margin: 0 0 1.1rem;
}

.legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  font-size: 0.82rem;
}

.legal-links a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.people-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(12rem, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.people-grid article {
  border: 1px solid var(--rule);
  padding: 0;
}

.people-grid img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--black);
}

.people-grid h2 {
  border: 0;
  padding: 0.75rem 0.85rem 0;
  margin: 0;
  font-size: 1.05rem;
}

.people-grid p {
  margin: 0.25rem 0.85rem 0.85rem;
  font-size: 0.95rem;
}

.people-grid .cta {
  margin: 0 0.85rem 0.85rem;
}

.role-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
  gap: 1.25rem;
  margin: 1.5rem 0;
}

.role-grid article {
  border: 1px solid var(--rule);
  padding: 1rem 1rem 1.1rem;
  display: flex;
  flex-direction: column;
}

.role-grid .track {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.role-grid h2 {
  border: 0;
  padding: 0;
  margin: 0 0 0.4rem;
  font-size: 1.05rem;
}

.role-grid p {
  margin: 0 0 0.85rem;
  font-size: 0.95rem;
  flex: 1;
}

.role-grid .cta {
  align-self: flex-start;
  margin-top: auto;
}

.role-index {
  margin: 1.25rem 0 2rem;
  padding: 0;
  columns: 1;
  column-gap: 2rem;
}

.role-index li {
  margin: 0.35rem 0;
  break-inside: avoid;
}

@media (min-width: 720px) {
  .role-index {
    columns: 2;
  }
}

.job-post {
  border-top: 1px solid var(--rule);
  padding: 1.75rem 0 1.35rem;
}

.job-post .track {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.4rem;
}

.job-post h3 {
  border: 0;
  padding: 0;
  margin: 0 0 0.35rem;
  font-size: 1.25rem;
}

.job-meta {
  color: var(--muted);
  font-size: 0.95rem;
  margin: 0 0 1rem;
}

.job-post h4 {
  margin: 1.2rem 0 0.4rem;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.job-post ul {
  margin: 0 0 0.4rem;
  padding-left: 1.2rem;
}

.job-post li {
  margin: 0.3rem 0;
}

.job-post .cta {
  margin-top: 0.35rem;
}

.job-post .job-portrait {
  display: block;
  width: min(16rem, 100%);
  aspect-ratio: 2 / 3;
  object-fit: cover;
  background: var(--black);
  margin: 0 0 1rem;
}

.open-role {
  color: var(--gold-text);
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.people-grid .open-role {
  margin: 0.5rem 0.85rem 0.35rem;
}

.related {
  margin-top: 2.5rem;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--rule);
}

.related h2 {
  margin-top: 0;
  border-top: 0;
  padding-top: 0;
}

.related ul {
  list-style: none;
  padding: 0;
}

.related a {
  font-size: 1rem;
}

.faq details {
  border-top: 1px solid var(--rule);
  padding: 0.85rem 0;
}

.faq summary {
  cursor: pointer;
  font-weight: 650;
  min-height: 44px;
  display: flex;
  align-items: center;
}

.hero-figure {
  margin: 0 0 1.75rem;
}

.hero-figure img {
  display: block;
  width: 100%;
  height: auto;
  background: var(--black);
}

html[dir="rtl"] nav.primary,
html[dir="rtl"] .cta-row,
html[dir="rtl"] .brand {
  flex-direction: row-reverse;
}

.lang-switch {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.75rem 0 0;
  font-size: 0.82rem;
}

.lang-switch a {
  color: var(--paper);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.step-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
  gap: 1rem;
  margin: 1.25rem 0 0;
  padding: 0;
  list-style: none;
  counter-reset: none;
}

.step-grid li {
  border: 1px solid var(--rule);
  padding: 1rem 1.1rem 1.15rem;
}

.step-grid h3 {
  margin: 0 0 0.5rem;
  padding: 0;
  border: 0;
  font-size: 1.05rem;
}

.table-wrap {
  overflow-x: auto;
  margin: 1rem 0 0;
}

.outcome-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 1rem;
}

.outcome-table caption {
  text-align: left;
  font-weight: 650;
  margin: 0 0 0.65rem;
}

.outcome-table th,
.outcome-table td {
  border: 1px solid var(--rule);
  padding: 0.75rem 0.85rem;
  vertical-align: top;
  text-align: left;
}

.outcome-table th {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: #ececec;
}

.plate {
  margin: 1.5rem 0 0;
  padding: 1rem;
  border: 1px solid var(--rule);
  background: var(--white);
}

.plate figcaption {
  font-size: 0.88rem;
  margin: 0 0 0.75rem;
}

.plate svg {
  display: block;
  width: 100%;
  height: auto;
}

.product-split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem 2.5rem;
  align-items: start;
  margin: 0 0 2rem;
}

.product-copy {
  min-width: 0;
  overflow-wrap: break-word;
}

.product-shot {
  margin: 0;
  min-width: 0;
}

.product-shot img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid rgba(0, 0, 0, 0.12);
  background: #0b0b0b;
}

.product-shot figcaption {
  margin: 0.65rem 0 0;
  font-size: 0.88rem;
  color: #3d3d3d;
}

.investor-facts {
  margin: 1.25rem 0 1.75rem;
}

.investor-facts dt {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 650;
  margin: 1rem 0 0.3rem;
}

.investor-facts dt:first-child {
  margin-top: 0;
}

.investor-facts dd {
  margin: 0;
  line-height: 1.6;
}

.product-copy h3:first-child {
  margin-top: 0;
}

@media (min-width: 56rem) {
  .wrap:has(.product-split) {
    max-width: 72rem;
  }

  .product-split {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
}

@media (min-width: 640px) {
  article {
    padding: 2.25rem 2rem 2.75rem;
  }

  .inject-mark {
    height: 36px;
    gap: 0.85rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
