/* Top Figures — Dark website. Built from the "Dark" page of the Top Figures Website Refresh canvas. */

/* Inter (SIL Open Font License 1.1), self-hosted: one variable file per character set covers weights 300–400 */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/inter-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 300 400;
  font-display: swap;
  src: url("fonts/inter-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #0f1729;
  --bg-deep: #0a1020;
  --field: #0b1222;
  --ink: #e8eefc;
  --ink-2: #b8c5e0;
  --ink-3: #94a7cc;
  --line: rgba(148, 167, 204, 0.16);
  --line-soft: rgba(148, 167, 204, 0.12);
  --line-strong: rgba(148, 167, 204, 0.28);
  --line-hover: rgba(148, 167, 204, 0.45);
  --line-input: #5873a6;
  --cobalt: #2563eb;
  --cobalt-deep: #1d4ed8;
  --ease: cubic-bezier(0.2, 0, 0.2, 1);
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-feature-settings: "ss01";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; }
::selection { background: #2f4a85; color: #ffffff; }
a { color: var(--ink); text-decoration: none; transition: color 240ms var(--ease); }
a:hover { color: #ffffff; }
:focus-visible { outline: 2px solid var(--cobalt); outline-offset: 3px; border-radius: 4px; }
.tnum { font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; }
.skip-link { position: absolute; left: 16px; top: -48px; background: var(--cobalt); color: #fff; padding: 10px 16px; border-radius: 9999px; z-index: 100; }
.skip-link:focus { top: 12px; }

/* Layout */
.wrap { max-width: 1200px; margin: 0 auto; padding-left: 32px; padding-right: 32px; }
.g12 { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 32px; }
.g4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 32px; }
.g3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.band { background: var(--bg-deep); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.pad { padding-top: 136px; padding-bottom: 136px; }

/* Type */
.eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink-3); font-weight: 400; }
.hero-h { margin: 0; font-size: 88px; line-height: 1; letter-spacing: -2.6px; font-weight: 300; color: var(--ink); }
.page-h { margin: 0; font-size: 80px; line-height: 1.02; letter-spacing: -2.4px; font-weight: 300; color: var(--ink); }
.page-h-long { font-size: 76px; letter-spacing: -2.2px; }
.sec-h { margin: 0; font-size: 52px; line-height: 1.06; letter-spacing: -1.4px; font-weight: 300; color: var(--ink); }
.prac-h { margin: 0; font-size: 44px; line-height: 1.08; letter-spacing: -1.1px; font-weight: 300; color: var(--ink); }
.lead { margin: 0; font-size: 17px; line-height: 1.65; color: var(--ink-2); }
.body { margin: 0; font-size: 15px; line-height: 1.7; color: var(--ink-2); }
.quote { margin: 0; font-size: 40px; line-height: 1.25; letter-spacing: -0.8px; color: var(--ink); font-weight: 300; }

/* Buttons and links */
.cta {
  display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px;
  border: 0; border-radius: 9999px; background: var(--cobalt); color: #ffffff !important;
  font: inherit; font-size: 15px; font-weight: 400; cursor: pointer;
  transition: background 240ms var(--ease);
}
.cta:hover { background: var(--cobalt-deep); }
.cta-sm { min-height: 40px; padding: 0 16px; font-size: 14px; }
.link {
  display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 400;
  padding-bottom: 4px; border-bottom: 1px solid rgba(148, 167, 204, 0.4);
  transition: border-color 240ms var(--ease), color 240ms var(--ease);
}
.link:hover { border-bottom-color: var(--ink); }
.arrow { display: inline-block; color: var(--ink-3); transition: transform 240ms var(--ease), color 240ms var(--ease); }
.link:hover .arrow, .row:hover .arrow { transform: translateX(3px); color: var(--ink); }
.inline { color: var(--ink); border-bottom: 1px solid rgba(148, 167, 204, 0.4); transition: border-color 240ms var(--ease); }
.inline:hover { border-bottom-color: var(--ink); }

/* Rows (services index, service lists, contact details) */
.row { border-bottom: 1px solid var(--line); transition: border-color 320ms var(--ease); }
.row:hover { border-bottom-color: var(--line-hover); }
.row-title { transition: color 240ms var(--ease); }
.row:hover .row-title { color: #ffffff; }
.rule-top { border-top: 1px solid var(--line); }
.index-row { padding: 36px 0; align-items: baseline; row-gap: 12px; }
.index-num { grid-column: 1 / span 1; font-size: 13px; color: var(--ink-3); }
.index-title { grid-column: 2 / span 4; font-size: 30px; letter-spacing: -0.6px; color: var(--ink); }
.index-desc { grid-column: 6 / span 6; font-size: 15px; line-height: 1.65; color: var(--ink-2); }
.index-arrow { grid-column: 12 / span 1; justify-self: end; font-size: 18px; }
.svc { display: grid; grid-template-columns: 40px minmax(0, 0.9fr) minmax(0, 1.3fr); column-gap: 24px; row-gap: 6px; align-items: center; padding: 22px 0; }
.svc h3 { margin: 0; font-size: 18px; font-weight: 300; color: var(--ink); }
.svc p { margin: 0; font-size: 14px; line-height: 1.6; color: var(--ink-2); }
.svc-icon {
  display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px;
  border-radius: 9999px; border: 1px solid rgba(148, 167, 204, 0.24); color: var(--ink-3);
  transition: color 240ms var(--ease), border-color 240ms var(--ease);
}
.row:hover .svc-icon { color: var(--ink); border-color: rgba(148, 167, 204, 0.5); }
.svc-icon svg { width: 18px; height: 18px; }
.ruled { border-top: 1px solid var(--line-strong); padding-top: 20px; display: flex; flex-direction: column; gap: 10px; }
.ruled-t { font-size: 17px; color: var(--ink); }
.ruled-d { font-size: 14px; line-height: 1.65; color: var(--ink-2); }

/* Panels and cards */
.panel {
  background: linear-gradient(180deg, rgba(148, 167, 204, 0.06), rgba(148, 167, 204, 0.015));
  border: 1px solid rgba(148, 167, 204, 0.14); border-radius: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
  transition: border-color 400ms var(--ease);
}
.panel:hover, .panel:focus-within { border-color: rgba(148, 167, 204, 0.5); }
.card {
  background: rgba(148, 167, 204, 0.04); border: 1px solid rgba(148, 167, 204, 0.14); border-radius: 12px;
  padding: 32px 24px; display: flex; flex-direction: column; gap: 10px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
  transition: border-color 400ms var(--ease);
}
.card:hover { border-color: rgba(148, 167, 204, 0.5); }
.card h2 { margin: 0; font-size: 20px; line-height: 1.25; letter-spacing: -0.2px; font-weight: 300; color: var(--ink); transition: color 240ms var(--ease); }
.card:hover h2 { color: #ffffff; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; }

/* Header */
.site-header { background: var(--bg); border-bottom: 1px solid var(--line-soft); position: relative; z-index: 20; }
.nav-inner { max-width: 1200px; margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: inline-flex; flex: 0 0 auto; }
.brand img { height: 52px; width: auto; display: block; }
.nav-links { display: flex; flex: 1; justify-content: center; gap: 24px; }
.nav-links a { font-size: 15px; letter-spacing: 0; color: var(--ink-3); padding-bottom: 2px; border-bottom: 1px solid transparent; }
.nav-links a:hover { color: var(--ink); }
.nav-links a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--cobalt); }
.nav-right { display: flex; align-items: center; gap: 16px; flex: 0 0 auto; }
.burger { display: none; background: none; border: 0; padding: 10px; margin: -10px; color: var(--ink); cursor: pointer; }
.burger svg { width: 22px; height: 22px; display: block; }
.mobile-menu { display: none; border-top: 1px solid var(--line-soft); padding: 16px 24px 24px; flex-direction: column; gap: 4px; background: var(--bg); }
.mobile-menu a { font-size: 17px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
.mobile-menu .cta { margin-top: 16px; align-self: flex-start; }
.site-header.open .mobile-menu { display: flex; }

/* Footer */
.site-footer { background: var(--bg-deep); border-top: 1px solid var(--line-soft); color: var(--ink-3); padding: 64px 24px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; gap: 64px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-start; }
.footer-brand { flex: 1 1 300px; max-width: 300px; display: flex; flex-direction: column; gap: 12px; }
.footer-brand img { width: 217px; max-width: 100%; height: auto; align-self: flex-start; display: block; }
.footer-brand p { margin: 0; font-size: 13px; line-height: 1.4; letter-spacing: -0.39px; color: var(--ink-3); max-width: 260px; }
.social { display: flex; gap: 12px; margin-top: 4px; }
.social a { color: var(--ink-3); display: inline-flex; }
.social a:hover { color: var(--ink); }
.social svg { width: 16px; height: 16px; }
.footer-cols { flex: 2 1 480px; display: grid; grid-template-columns: repeat(auto-fit, minmax(116px, 1fr)); gap: 32px 24px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.footer-col h2 { margin: 0; font-size: 10px; font-weight: 400; letter-spacing: 0.1px; text-transform: uppercase; color: var(--ink-2); }
.footer-col a { font-size: 13px; letter-spacing: -0.39px; color: var(--ink-3); }
.footer-col a:hover { color: var(--ink); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; padding-top: 24px; border-top: 1px solid var(--line-soft); font-size: 11px; }
.footer-bottom a { color: var(--ink-3); }
.footer-bottom a:hover { color: var(--ink); }

/* Clients strip */
.clients { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; font-size: 18px; letter-spacing: -0.1px; color: var(--ink); }
.clients li { display: flex; align-items: center; min-height: 28px; transition: opacity 640ms var(--ease); }
.clients.rotating li { opacity: 0; }
.clients.rotating li.on { opacity: 1; }
.clients img { height: 22px; width: auto; display: block; }

/* Contact */
.detail { display: flex; flex-direction: column; gap: 10px; padding: 24px 0; }
.detail-v { font-size: 22px; line-height: 1.35; letter-spacing: -0.3px; color: var(--ink); }
.form { padding: 48px; display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; align-items: end; }
.field { display: flex; flex-direction: column; gap: 8px; font-size: 13px; color: var(--ink-2); font-weight: 400; }
.field input, .field select, .field textarea {
  font: inherit; font-size: 15px; font-weight: 300; color: var(--ink); background: var(--field);
  min-height: 42px; padding: 10px 12px; border: 1px solid var(--line-input); border-radius: 6px; width: 100%;
  transition: border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}
.field textarea { resize: vertical; min-height: 128px; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cobalt); box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.25); }
.req { color: var(--ink-3); }

/* Policy */
.policy-sec { padding: 48px 0; border-bottom: 1px solid var(--line); row-gap: 16px; }
.policy-sec .eyebrow { grid-column: 1 / span 3; padding-top: 6px; }
.policy-body { grid-column: 4 / span 7; display: flex; flex-direction: column; gap: 16px; }
.policy-body p { margin: 0; font-size: 16px; line-height: 1.75; color: var(--ink-2); }
.policy-body ul { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 8px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }

/* Responsive */
@media (max-width: 900px) {
  .g12 { grid-template-columns: minmax(0, 1fr); }
  .g12 > * { grid-column: 1 / -1 !important; }
  .g4, .g3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .index-arrow { justify-self: start; }
}
@media (max-width: 767px) {
  .wrap { padding-left: 20px; padding-right: 20px; }
  .pad { padding-top: 88px; padding-bottom: 88px; }
  .hero-h { font-size: 46px; letter-spacing: -1.2px; }
  .page-h, .page-h-long { font-size: 44px; letter-spacing: -1.2px; }
  .sec-h { font-size: 32px; letter-spacing: -0.8px; }
  .prac-h { font-size: 32px; }
  .quote { font-size: 28px; }
  .g4, .g3 { grid-template-columns: minmax(0, 1fr); }
  .nav-links, .nav-right .cta { display: none; }
  .burger { display: inline-flex; }
  .brand img { height: 40px; }
  .svc { grid-template-columns: 40px minmax(0, 1fr); }
  .svc > p { grid-column: 2; }
  .form { padding: 32px 24px; }
  .cta-panel { padding: 48px 24px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
