/* Royal blue and white stand in for the source site's dark neutral palette.
   The RK mark replaces the two-letter company title. Layout follows the
   same visitor path: find work, hire, consulting, insights, about. */

:root {
  --ink: #0b1220;
  --red: #4169e1;
  --red-deep: #1e3a8a;
  --red-soft: #e7eeff;
  --gold: #ffffff;
  --gold-bright: #ffffff;
  --cream: #f5f5f5;
  --paper: #ffffff;
  --muted: #5e534c;
  --line: rgba(11, 18, 32, 0.14);
  --shadow: 0 18px 50px rgba(11, 18, 32, 0.16);
  --sans: "Manrope", "Segoe UI", sans-serif;
  --display: "Fraunces", Georgia, serif;
  --max: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { line-height: 1.15; }
.skip {
  position: absolute;
  left: 12px;
  top: -40px;
  background: white;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 12px;
  z-index: 20;
}
.skip:focus { top: 12px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px 32px;
  background: rgba(8, 16, 36, 0.94);
  color: white;
  backdrop-filter: blur(10px);
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  min-width: max-content;
}
.mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: linear-gradient(160deg, #f0d48a, #c6a15a);
  border: 0;
  color: var(--red-deep);
  font-family: var(--display);
  font-weight: 700;
  letter-spacing: 0.02em;
}
.brand-name { font-weight: 700; letter-spacing: -0.02em; }
.nav { display: flex; align-items: center; gap: 6px; flex: 1; }
.nav-item { position: relative; }
.nav-row { display: flex; align-items: center; }
.nav-row a, .header-tools a {
  color: white;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 600;
}
.nav-row a { padding: 10px 8px; }
.nav-row a:hover, .nav-row a[aria-current="page"] { color: white; }
.nav-row a[aria-current="page"] { text-decoration: underline; text-underline-offset: 5px; }
.menu-btn {
  border: 0;
  background: transparent;
  color: var(--gold-bright);
  cursor: pointer;
  padding: 8px 4px;
}
.menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: min(420px, 80vw);
  padding: 16px;
  background: white;
  color: var(--ink);
  border-radius: 14px;
  box-shadow: var(--shadow);
  display: none;
}
.nav-item.open .menu, .nav-item:hover .menu { display: grid; gap: 4px; }
.menu a {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--ink);
}
.menu a:hover { background: var(--red-soft); }
.menu small { display: block; color: var(--muted); font-weight: 500; }
.header-tools { display: flex; align-items: center; gap: 16px; margin-left: auto; }
.header-tools a { text-decoration: none; font-weight: 700; font-size: 14.5px; }
.icon-btn {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
}
.burger {
  display: none;
  margin-left: auto;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  color: white;
  border-radius: 8px;
  padding: 8px 10px;
}

.hero {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  min-height: 620px;
  padding: 72px 7vw 80px;
  color: var(--ink);
  background: #ffffff;
}
.eyebrow {
  color: var(--gold-bright);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 12px;
  margin: 0 0 12px;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(46px, 6vw, 78px);
  font-weight: 560;
  margin: 0 0 18px;
  letter-spacing: -0.03em;
  color: #0b1220;
}
.hero .eyebrow { color: var(--red-deep); }
.client-carousel .eyebrow {
  font-family: var(--display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 560;
  letter-spacing: -0.03em;
  text-transform: none;
  line-height: 1.15;
  margin: 8px 0 18px;
}
.lede { font-size: 18px; max-width: 560px; color: rgba(255, 255, 255, 0.88); }
.hero .lede { margin-bottom: 28px; color: #4b5563; }
.hero .btn-gold { background: var(--red); color: white; }
.hero .btn-gold:hover { background: var(--red-deep); }
.hero .btn-ghost { color: var(--red-deep); border-color: var(--red); }
.hero .btn-ghost:hover { color: white; background: var(--red); border-color: var(--red); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 13px 22px;
  text-decoration: none;
  border: 1.5px solid transparent;
  font-weight: 700;
  cursor: pointer;
}
.btn-gold { background: white; color: var(--ink); }
.btn-gold:hover { background: #f2f2f2; }
.btn-red { background: var(--red); color: white; }
.btn-red:hover { background: var(--red-deep); }
.btn-ghost { background: transparent; color: white; border-color: rgba(255,255,255,0.45); }
.btn-ghost:hover { border-color: var(--gold-bright); color: var(--gold-bright); }
.btn-line { background: white; color: var(--red-deep); border-color: var(--red); }

.hero-art {
  position: relative;
  min-height: 420px;
}
.hero-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 28px;
  display: block;
}
.orb {
  position: absolute;
  inset: 30px 10px 20px 40px;
  border-radius: 28px;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), transparent 40%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.06) 0 12px, transparent 12px 24px),
    #1a3368;
  border: 1px solid rgba(255, 255, 255, 0.45);
}
.frame {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 16px;
  width: auto;
  max-height: calc(100% - 32px);
  overflow: auto;
  padding: 18px 20px;
  border-radius: 18px;
  color: #0b1220;
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(30, 58, 138, 0.18);
}
.frame .eyebrow { text-transform: none; letter-spacing: 0.02em; color: var(--red-deep); margin: 12px 0 0; }
.frame-title { font-family: var(--sans); font-size: 15px; font-weight: 600; line-height: 1.45; margin: 0; }
.photo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.photo-grid img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 16px;
}
.photo-grid figcaption {
  margin-top: 10px;
  font-weight: 700;
  color: var(--red-deep);
}
.office-photos img { height: 420px; }
.office-photos figure:first-child img { object-position: center 78%; }
.office-photos figure:nth-child(2) img { object-position: center 42%; }
.office-photos figure:nth-child(3) img { object-position: center 38%; }
.section > .lede { color: var(--ink); max-width: 640px; }
.client-carousel { grid-column: 1 / -1; min-width: 0; }
.client-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.client-track {
  display: flex;
  flex-wrap: nowrap;
  gap: 12px;
  width: max-content;
  margin: 0;
  padding: 0;
  animation: client-revolve 42s linear infinite;
}
.client-carousel:hover .client-track { animation-play-state: paused; }
.client-track span {
  display: inline-flex;
  flex: 0 0 auto;
  padding: 10px 16px;
  color: #1e3a8a;
  border: 1px solid rgba(30, 58, 138, 0.28);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}
@keyframes client-revolve {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .client-track { animation: none; }
  .client-viewport { overflow-x: auto; mask-image: none; }
}

.band {
  background: #070d18;
  color: white;
  padding: 72px 7vw;
}
.band h2, .section h2, .page-hero h1 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
}
.band h2 { font-size: clamp(36px, 5vw, 64px); margin: 0 0 28px; color: rgba(255,255,255,0.92); }
.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.card {
  display: flex;
  flex-direction: column;
  min-height: 250px;
  padding: 20px;
  border-radius: 16px;
  text-decoration: none;
  color: white;
  background: linear-gradient(180deg, rgba(65, 105, 225, 0.25), rgba(0,0,0,0.25)), #1e3a8a;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.card:nth-child(2) { background: linear-gradient(200deg, #ffffff, #d9d9d9); color: var(--ink); }
.card:nth-child(3) { background: linear-gradient(200deg, #4169e1, #152a5c); }
.card:nth-child(4) { background: linear-gradient(200deg, #ffffff, #c8c8c8); color: var(--ink); }
.card span { margin-top: auto; font-size: 14px; opacity: 0.9; }
.card h3 { margin: 12px 0; font-size: 22px; }

.section { padding: 72px 7vw; }
.section h2 { font-size: clamp(32px, 4vw, 52px); margin: 0 0 12px; }
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 28px;
}
.stat {
  padding: 22px;
  background: #f3f3f3;
  border-top: 4px solid white;
  box-shadow: var(--shadow);
}
.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 40px;
  color: var(--red);
}
.pillars, .practice-grid, .story-grid, .split {
  display: grid;
  gap: 18px;
}
.pillars { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.pillars-4 { grid-template-columns: repeat(4, 1fr); }
.client-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 8px 0 12px;
}
.client-list li {
  background: white;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 12px;
  padding: 16px 18px;
  font-weight: 700;
}
.pillar, .panel, .person, .job, .form, .table-wrap {
  background: white;
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 16px;
  padding: 22px;
}
.pillar h3 { margin-top: 0; }
.cream { background: var(--cream); }
.founded {
  margin-top: 28px;
  padding: 22px 24px;
  border-left: 5px solid var(--red);
  background: white;
}

.tabs { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0; }
.tabs button {
  border-radius: 999px;
  border: 1px solid var(--line);
  background: white;
  padding: 10px 14px;
  cursor: pointer;
  font-weight: 700;
}
.tabs button[aria-selected="true"] {
  background: var(--red);
  color: white;
  border-color: var(--red);
}
.role-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; padding: 0; list-style: none; }
.role-list a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  background: var(--cream);
  text-decoration: none;
  font-weight: 700;
}
.role-list a:hover { background: var(--gold-bright); }

.quotes { display: grid; grid-template-columns: 0.7fr 1.3fr; gap: 24px; align-items: center; }
.page-quote { margin: 0; }
.page-quote blockquote {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
}
.page-quote figcaption {
  margin-top: 14px;
  font-weight: 700;
  color: var(--red-deep);
}
.quote-nav { display: flex; gap: 8px; margin-top: 16px; }
.quote-nav button, .filters button {
  border: 0;
  background: var(--red);
  color: white;
  border-radius: 999px;
  padding: 8px 14px;
  cursor: pointer;
}

.site-footer {
  background: #0b1224;
  color: rgba(255,255,255,0.86);
  padding: 48px 7vw 24px;
}
.footer-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.site-footer h2 { color: var(--gold-bright); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; }
.site-footer a { color: white; text-decoration: none; }
.site-footer li { margin: 8px 0; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.legal {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  font-size: 14px;
}
.founded-foot { max-width: 760px; color: var(--gold-bright); }

.page-hero {
  padding: 64px 7vw 36px;
  background:
    linear-gradient(100deg, #122a5c, #2a56c9 70%);
  color: white;
}
.page-hero h1 { font-size: clamp(36px, 5vw, 60px); margin: 0 0 12px; }
.page-hero .lede { color: rgba(255,255,255,0.9); }
.wrap { width: min(var(--max), calc(100% - 10vw)); margin: 0 auto; }
.stack { display: grid; gap: 16px; padding: 36px 0 64px; }
.statement { max-width: 760px; }
.statement h3 {
  margin: 28px 0 8px;
  color: var(--red-deep);
}
.statement p { margin: 0 0 14px; }
.statement ol { margin: 8px 0 0; padding-left: 1.25em; }
.statement li { margin: 0 0 16px; }
.statement li strong { display: block; margin-bottom: 4px; }
.stack h2 {
  font-family: var(--display);
  font-weight: 560;
  letter-spacing: -0.03em;
  font-size: clamp(28px, 3vw, 42px);
  margin: 12px 0 0;
}
.role-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.role-cards a { text-decoration: none; color: inherit; }
.role-cards h3 { margin: 0 0 6px; color: var(--red-deep); }
.role-cards p { margin: 0; }
.practice-grid { grid-template-columns: repeat(2, 1fr); }
.practice-grid a { text-decoration: none; }
.practice-grid h3 { color: var(--red-deep); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; }
.filters input, .filters select { flex: 1 1 180px; width: auto; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.filters input, .filters select, .form input, .form select, .form textarea {
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  background: white;
}
.form input, .form select, .form textarea { width: 100%; font-weight: 500; }
.form input[type="file"] { padding: 8px; }
.file-name { font-weight: 500; color: var(--muted); }
.file-name:empty { display: none; }
.form { display: grid; gap: 12px; max-width: 640px; }
.jobs { display: grid; gap: 12px; }
.job { display: grid; grid-template-columns: 1.4fr 0.8fr 0.6fr auto; gap: 12px; align-items: center; }
.job h3 { margin: 0 0 4px; }
.meta { color: var(--muted); font-size: 14px; }
.detail { border-left: 4px solid white; background: #f3f3f3; }
.table-wrap { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { text-align: left; padding: 10px 8px; border-bottom: 1px solid #ececec; }
th { color: var(--red-deep); }
.note { color: var(--muted); font-size: 14px; }
.success { padding: 12px 14px; background: white; border: 1px solid #e4e4e4; border-radius: 10px; }

.cookie {
  position: fixed;
  right: 16px;
  bottom: 16px;
  width: min(380px, calc(100% - 32px));
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  box-shadow: var(--shadow);
  z-index: 40;
}
.cookie p { margin: 0 0 12px; font-size: 14px; }

@media (max-width: 980px) {
  .hero, .cards, .stats, .pillars, .quotes, .footer-grid, .job, .role-list, .practice-grid, .role-cards, .client-list, .photo-grid {
    grid-template-columns: 1fr;
  }
  .site-header { flex-wrap: wrap; }
  .burger { display: inline-flex; }
  .nav, .header-tools { display: none; }
  .site-header.open .nav,
  .site-header.open .header-tools {
    display: flex;
    position: static;
    width: 100%;
    padding-top: 8px;
  }
  .site-header.open .nav { flex-direction: column; align-items: stretch; }
  .menu { position: static; width: auto; margin: 4px 0 8px; }
  .nav-item:hover .menu { display: none; }
  .nav-item.open .menu { display: grid; }
}
