/* Brand typography from Google Fonts, self-hosted under the included OFL licenses. */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/marketing/geist-latin-90ac0fe7.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/assets/marketing/source-serif-4-latin-1152c123.woff2") format("woff2");
}
/* The approved marketing brand uses its own fixed light and dark sections. */
:root {
  --paper: #f4f2ee;
  --card: #faf9f6;
  --ink: #151515;
  --ink-2: #3b3a38;
  --muted: #77746f;
  --faint: #aaa69f;
  --line: #e0ddd6;
  --night: #121212;
  --night-2: #1a1a1a;
  --night-line: #2b2a29;
  --night-ink: #efede8;
  --night-muted: #9c9993;
  --footer-bg: #080808;
  --signal: #2fb565;
  --signal-ink: #1f8a4b;
  --serif: "Source Serif 4", Georgia, "Times New Roman", serif;
  --sans:
    "Geist", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --frame: 1280px;
  --gut: clamp(22px, 4.5vw, 64px);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.55;
  letter-spacing: -0.011em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "tnum" 0;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
img,
svg,
canvas {
  display: block;
}
::selection {
  background: rgba(47, 181, 101, 0.18);
}

/* ---------- frame: rails + rules ---------- */
.wrap {
  max-width: var(--frame);
  margin: 0 auto;
  padding-left: var(--gut);
  padding-right: var(--gut);
  border-left: 1px solid var(--line);
  border-right: 1px solid var(--line);
  position: relative;
}
.dark .wrap {
  border-color: var(--night-line);
}
.rule {
  height: 1px;
  background: var(--line);
  position: relative;
  max-width: var(--frame);
  margin: 0 auto;
}
.rule::before,
.rule::after {
  content: "";
  position: absolute;
  top: -6px;
  width: 13px;
  height: 13px;
  background:
    linear-gradient(var(--faint), var(--faint)) center/1px 13px no-repeat,
    linear-gradient(var(--faint), var(--faint)) center/13px 1px no-repeat;
}
.rule::before {
  left: -6px;
}
.rule::after {
  right: -6px;
}
/* Keep the decorative rule crosses inside narrow viewports. */
@media (max-width: 1292px) {
  .rule::before {
    left: 0;
  }
  .rule::after {
    right: 0;
  }
}
.rule.full {
  max-width: none;
}
.rule.full::before,
.rule.full::after {
  display: none;
}
.rule-row {
  border-top: 1px solid var(--line);
}
.dark .rule-row {
  border-color: var(--night-line);
}
.dark .rule {
  background: var(--night-line);
}
.dark .rule::before,
.dark .rule::after {
  background:
    linear-gradient(#57544f, #57544f) center/1px 13px no-repeat,
    linear-gradient(#57544f, #57544f) center/13px 1px no-repeat;
}
.dark {
  background: var(--night);
  color: var(--night-ink);
}
section {
  position: relative;
}
.sec {
  padding-top: clamp(64px, 7.5vw, 104px);
  padding-bottom: clamp(64px, 7.5vw, 104px);
}

/* ---------- type ---------- */
.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(46px, 6.2vw, 90px);
  line-height: 1;
  letter-spacing: -0.032em;
  font-variation-settings: "opsz" 60;
}
.h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(36px, 4.6vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.028em;
  font-variation-settings: "opsz" 60;
}
.label {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: -0.005em;
}
.dark .label {
  color: var(--night-muted);
}
.lede {
  font-size: clamp(18px, 1.55vw, 21px);
  line-height: 1.5;
  color: var(--ink-2);
  max-width: 32em;
}
.dark .lede {
  color: #c8c5bf;
}
.num {
  font-variant-numeric: tabular-nums;
}
h1,
h2,
h3,
.display,
.h2,
.cv-title {
  text-wrap: balance;
}
p,
blockquote,
li,
figcaption,
.lede {
  text-wrap: pretty;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 15.5px;
  font-weight: 500;
  letter-spacing: -0.015em;
  white-space: nowrap;
  transition:
    background 0.25s var(--ease),
    color 0.25s var(--ease),
    border-color 0.25s var(--ease);
}
.btn .arr {
  transition: transform 0.3s var(--ease);
}
.btn:hover .arr {
  transform: translateX(3px);
}
.btn-solid {
  background: var(--ink);
  color: var(--paper);
}
.btn-solid:hover {
  background: #000;
}
.btn-line {
  border: 1px solid #cfcbc3;
}
.btn-line:hover {
  border-color: var(--ink);
}
.dark .btn-solid {
  background: var(--night-ink);
  color: var(--night);
}
.dark .btn-solid:hover {
  background: #fff;
}
.dark .btn-line {
  border-color: #3d3b39;
  color: var(--night-ink);
}
.dark .btn-line:hover {
  border-color: var(--night-ink);
}
.btn-sm {
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
}
.ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- header ---------- */
header.top {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(244, 242, 238, 0.86);
  backdrop-filter: saturate(1.3) blur(14px);
  -webkit-backdrop-filter: saturate(1.3) blur(14px);
  border-bottom: 1px solid var(--line);
  transition:
    background 0.35s var(--ease),
    border-color 0.35s var(--ease),
    color 0.35s var(--ease);
}
header.top .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  transition: border-color 0.35s var(--ease);
}
header.top.on-dark {
  background: rgba(18, 18, 18, 0.86);
  border-color: var(--night-line);
  color: var(--night-ink);
}
header.top.on-dark .wrap {
  border-color: var(--night-line);
}
header.top.on-dark .btn-line {
  border-color: #3d3b39;
  color: var(--night-ink);
}
header.top.on-dark .btn-solid {
  background: var(--night-ink);
  color: var(--night);
}
.wordmark {
  font-family: var(--serif);
  font-weight: 600;
  font-size: 21px;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
}
.caret {
  display: inline-block;
  width: 2px;
  height: 0.9em;
  background: var(--signal);
  margin-left: 3px;
  animation: blink 1.1s steps(1) infinite;
}
@keyframes blink {
  50% {
    opacity: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .caret {
    animation: none;
  }
}
.top-ctas {
  display: flex;
  gap: 8px;
}
@media (max-width: 640px) {
  .top-ctas .hide-sm {
    display: none;
  }
}

/* ---------- hero ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  min-height: calc(100svh - 68px - 58px);
  max-height: 900px;
  padding-left: 0;
  padding-right: 0;
}
.hero-copy {
  padding: clamp(56px, 8vh, 104px) var(--gut) 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hero .lede {
  margin-top: 32px;
}
.hero .ctas {
  margin-top: 40px;
}
.hero-note {
  margin-top: 56px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  font-size: 15px;
  color: var(--muted);
  max-width: 34em;
}
.hero-note b {
  color: var(--ink);
  font-weight: 500;
}
.hero-viz {
  position: relative;
  border-left: 1px solid var(--line);
  overflow: hidden;
  min-height: 520px;
}
#sphere {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-viz {
  cursor: grab;
  touch-action: pan-y;
  user-select: none;
  -webkit-user-select: none;
}
.hero-viz.dragging {
  cursor: grabbing;
}
.viz-labels {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.viz-label {
  position: absolute;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.25s ease;
  background: rgba(244, 242, 238, 0.82);
  padding: 3px 6px;
  border-radius: 6px;
  backdrop-filter: blur(2px);
}
.viz-label b {
  font-weight: 500;
  color: var(--ink);
  display: block;
}
.viz-label span {
  color: var(--muted);
}
.viz-label.pair b {
  color: var(--signal-ink);
}
.viz-foot {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  gap: 16px;
}
.viz-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  font-size: 12.5px;
  color: var(--muted);
}
.viz-legend span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.g {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: none;
}
.g.co {
  border: 1.2px solid var(--ink);
  background: var(--card);
}
.g.pe {
  border: 1.2px solid var(--ink);
  border-radius: 50%;
  background: var(--card);
}
.g.te {
  background: var(--ink-2);
  transform: rotate(45deg) scale(0.85);
}
.g.ve {
  background: #8d8981;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.viz-foot .tie {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.viz-foot .tie svg {
  color: var(--signal);
  flex: none;
}
.viz-foot em {
  font-style: normal;
  font-size: 13px;
  color: var(--faint);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s;
}
.hero-viz.hovering .viz-foot .tie {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-2);
}
.viz-foot .tie svg {
  color: var(--signal);
  flex: none;
}
.viz-foot em {
  opacity: 1;
}
.viz-cap {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 26px;
  pointer-events: none;
}
.viz-cap small {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}
.viz-cap small svg {
  color: var(--signal);
  flex: none;
}
.viz-cap span {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(19px, 1.7vw, 24px);
  line-height: 1.22;
  letter-spacing: -0.018em;
  color: var(--ink-2);
  max-width: 24em;
  text-wrap: balance;
  transition:
    opacity 0.35s var(--ease),
    transform 0.35s var(--ease);
}
.viz-cap span.swap {
  opacity: 0;
  transform: translateY(6px);
}
@media (max-width: 560px) {
  .viz-foot {
    left: 16px;
    right: 16px;
    bottom: 14px;
  }
  .viz-legend {
    gap: 4px 12px;
    font-size: 12px;
  }
  .viz-foot .tie {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--ink-2);
  }
  .viz-foot .tie svg {
    color: var(--signal);
    flex: none;
  }
  .viz-foot em {
    display: none;
  }
  .viz-cap {
    left: 18px;
    right: 18px;
    top: 18px;
  }
}
@media (max-width: 980px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    max-height: none;
  }
  .hero-viz {
    border-left: 0;
    border-top: 1px solid var(--line);
    min-height: 0;
    height: min(118vw, 540px);
  }
}

/* strip */
.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 58px;
  font-size: 14px;
  color: var(--muted);
}
.strip ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  width: 100%;
  gap: 12px 24px;
  padding: 16px 0;
  list-style: none;
}
.strip li {
  white-space: nowrap;
}
.strip li::before {
  content: "+";
  color: var(--faint);
  margin-right: 9px;
}
.strip .tie {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-2);
}
.strip .tie svg {
  color: var(--signal);
}
@media (max-width: 760px) {
  .strip {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    padding-top: 16px;
    padding-bottom: 16px;
  }
  .strip ul {
    flex-wrap: wrap;
    gap: 4px 18px;
  }
}

/* ---------- field / chips ---------- */
.field-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 24px 64px;
  align-items: end;
  margin-bottom: clamp(36px, 4.5vw, 56px);
}
@media (max-width: 860px) {
  .field-head {
    grid-template-columns: 1fr;
  }
}
.field {
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.6fr);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
  overflow: hidden;
}
.field > * {
  min-width: 0;
}
.uc-list {
  list-style: none;
  border-right: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.uc-list li {
  min-width: 0;
  flex: 1;
}
.uc {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  width: 100%;
  height: 100%;
  text-align: left;
  padding: 24px 28px;
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}
.uc-list li:last-child .uc {
  border-bottom: 0;
}
.uc .t {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--faint);
  transition: color 0.3s var(--ease);
}
.uc .c {
  font-size: 13px;
  color: var(--faint);
  transition: color 0.3s;
}
.uc:hover .t {
  color: var(--ink-2);
}
.uc[aria-selected="true"] {
  background: var(--paper);
}
.uc[aria-selected="true"] .t {
  color: var(--ink);
}
.uc[aria-selected="true"] .c {
  color: var(--muted);
}
.uc .bar {
  position: absolute;
  left: 0;
  bottom: -1px;
  height: 2px;
  width: 100%;
  background: transparent;
  overflow: hidden;
}
.uc .bar::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--signal);
  transform: scaleX(0);
  transform-origin: left;
}
.uc[aria-selected="true"] .bar::after {
  animation: fill var(--dur, 5200ms) linear forwards;
}
.field.paused .uc[aria-selected="true"] .bar::after {
  animation: none;
  transform: scaleX(1);
}
@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.chips-wrap {
  padding: clamp(22px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.chips-q {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 22px;
  background: var(--paper);
  font-size: 16px;
  color: var(--ink);
}
.chips-q svg {
  flex: none;
  color: var(--muted);
}
.chips-q .qt {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.chips-q .cur {
  display: inline-block;
  width: 2px;
  height: 18px;
  background: var(--signal);
  animation: blink 1.1s steps(1) infinite;
  margin-left: -8px;
  flex: none;
}
.chips-q .k {
  margin-left: auto;
  color: var(--faint);
  font-size: 13.5px;
  white-space: nowrap;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-content: flex-start;
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 15px;
  letter-spacing: -0.015em;
  color: var(--faint);
  background: var(--card);
  transition:
    color 0.45s var(--ease),
    border-color 0.45s var(--ease),
    background 0.45s var(--ease);
}
.chip .s {
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  color: var(--signal-ink);
  width: 0;
  overflow: hidden;
  opacity: 0;
  transition:
    width 0.45s var(--ease),
    opacity 0.45s var(--ease);
}
.chip.hit {
  color: var(--ink);
  border-color: #cfe9d8;
  background: #f2f9f4;
}
.chip.hit .s {
  width: 30px;
  opacity: 1;
}
.chip.hit.top {
  border-color: var(--signal);
}
@media (max-width: 860px) {
  .field {
    grid-template-columns: 1fr;
  }
  .uc-list {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .uc {
    padding: 16px 18px;
  }
  .uc-list li:nth-child(odd) .uc {
    border-right: 1px solid var(--line);
  }
  .uc-list li:nth-child(n + 3) .uc {
    border-bottom: 0;
  }
  .uc .t {
    font-size: 17px;
  }
  .uc .c {
    display: none;
  }
  .chips-wrap {
    padding: 18px;
  }
  .chips-q {
    height: 48px;
    font-size: 15px;
    padding: 0 16px;
  }
  .chip {
    height: 36px;
    font-size: 14px;
    padding: 0 13px;
  }
}

/* ---------- clients ---------- */
.clients .wrap {
  padding-top: clamp(56px, 6.5vw, 88px);
  padding-bottom: clamp(60px, 7vw, 96px);
}
.clients .label {
  text-align: center;
}
.logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px clamp(36px, 5vw, 72px);
  margin: 38px auto 0;
  max-width: 1040px;
}
.logos img {
  height: var(--h, 38px);
  width: auto;
  opacity: 0.78;
  filter: grayscale(1);
  transition: opacity 0.3s;
}
.logos img:hover {
  opacity: 1;
}
.logos .logo-clio {
  mix-blend-mode: multiply;
}
@media (max-width: 640px) {
  .logos img {
    height: calc(var(--h, 30px) * 0.8);
  }
  .logos {
    gap: 22px 30px;
  }
}
.client-testimonials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(32px, 4vw, 56px);
  margin-top: clamp(40px, 5vw, 64px);
}
.feature {
  margin: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
}
.feature blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.35;
  letter-spacing: -0.022em;
}
.feature figcaption {
  margin-top: 0;
  font-size: 15px;
  color: var(--muted);
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.feature figcaption b {
  color: var(--ink);
  font-weight: 500;
}
@media (max-width: 760px) {
  .client-testimonials {
    grid-template-columns: 1fr;
  }
}
.avatar {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  background: #e6e2da;
  color: var(--ink-2);
  flex: none;
}
.dark .avatar {
  background: #2a2928;
  color: var(--night-ink);
}

/* ---------- hire ---------- */
.hire-g {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 120px);
  align-items: end;
}
.hire .lede {
  margin-top: 28px;
}
.offers {
  border-top: 1px solid var(--ink);
}
.offer {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}
.offer h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.4vw, 32px);
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.offer p {
  color: var(--ink-2);
  margin-top: 8px;
}
.hire .ctas {
  margin-top: 36px;
}
@media (max-width: 960px) {
  .hire-g {
    grid-template-columns: 1fr;
  }
}

/* ---------- talent ---------- */
.talent {
  overflow: hidden;
}
.talent .contours {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.talent-g {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(40px, 6vw, 96px);
  position: relative;
}
.talent .lede {
  margin-top: 30px;
}
.talent .lede + .lede {
  margin-top: 14px;
}
.talent .ctas {
  margin-top: 40px;
  align-items: center;
}
.talent .ctas small {
  font-size: 14px;
  color: var(--night-muted);
  max-width: 30ch;
  line-height: 1.45;
  margin-left: 8px;
}
.steps {
  list-style: none;
  border-top: 1px solid var(--night-line);
  align-self: end;
  counter-reset: s;
}
.steps li {
  display: grid;
  grid-template-columns: 40px 1fr;
  padding: 20px 0;
  border-bottom: 1px solid var(--night-line);
}
.steps li::before {
  counter-increment: s;
  content: counter(s);
  font-size: 14px;
  color: var(--night-muted);
  padding-top: 2px;
}
.steps li:first-child::before {
  color: var(--signal);
}
.steps b {
  font-weight: 500;
  display: block;
}
.steps span {
  color: var(--night-muted);
  font-size: 15.5px;
}
@media (max-width: 960px) {
  .talent-g {
    grid-template-columns: 1fr;
  }
}
.tq {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: clamp(56px, 7vw, 88px);
  position: relative;
}
.tq figure {
  border: 1px solid var(--night-line);
  border-radius: 16px;
  background: rgba(26, 26, 26, 0.85);
  padding: clamp(26px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 32px;
}
.tq blockquote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(19px, 1.6vw, 22px);
  line-height: 1.42;
  letter-spacing: -0.012em;
  color: var(--night-ink);
}
.tq figcaption {
  font-size: 14.5px;
  color: var(--night-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}
.tq figcaption b {
  display: block;
  color: var(--night-ink);
  font-weight: 500;
}
@media (max-width: 820px) {
  .tq {
    grid-template-columns: 1fr;
  }
}

/* ---------- report ---------- */
.report {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.report .lede {
  margin-top: 28px;
}
.report .ctas {
  margin-top: 36px;
  align-items: center;
}
.rep-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 28px;
  font-size: 14px;
  color: var(--muted);
}
.rep-meta span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.rep-meta span::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--faint);
}
.rep-meta span:first-child::before {
  background: var(--signal);
}
.stage {
  position: relative;
  height: clamp(440px, 48vw, 600px);
  perspective: 1600px;
}
.page {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(240px, 25vw, 340px);
  aspect-ratio: 8.5/11;
  border-radius: 6px;
  background: #fdfcfa;
  box-shadow:
    0 1px 0 rgba(0, 0, 0, 0.04),
    0 30px 60px -28px rgba(30, 25, 15, 0.35),
    0 10px 20px -12px rgba(30, 25, 15, 0.18);
  overflow: hidden;
  transition: transform 1.2s var(--ease);
  will-change: transform;
  border: 1px solid #e9e6df;
}
.page .pg {
  position: absolute;
  inset: 0;
  padding: 8% 9%;
  display: flex;
  flex-direction: column;
}
.p-h {
  display: flex;
  justify-content: space-between;
  font-size: 9px;
  color: var(--muted);
  letter-spacing: 0;
  border-bottom: 1px solid #ece9e2;
  padding-bottom: 8px;
}
.p-t {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(14px, 1.3vw, 17px);
  letter-spacing: -0.02em;
  margin-top: 14px;
  line-height: 1.15;
}
.p-s {
  font-size: 8.5px;
  color: var(--muted);
  margin-top: 4px;
}
.page svg {
  width: 100%;
  height: auto;
}
.page.cover {
  background: var(--night);
  color: var(--night-ink);
  border-color: #222;
}
.page.cover .pg {
  padding: 9% 10%;
}
.cv-top {
  display: flex;
  justify-content: space-between;
  font-size: 9.5px;
  color: var(--night-muted);
}
.cv-top b {
  font-family: var(--serif);
  font-weight: 600;
  color: var(--night-ink);
  font-size: 11px;
}
.cv-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(26px, 2.6vw, 36px);
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: auto;
}
.cv-sub {
  font-size: 10px;
  color: var(--night-muted);
  margin-top: 10px;
  display: flex;
  justify-content: space-between;
}
.cv-globe {
  position: absolute;
  left: 0;
  right: 0;
  top: 12%;
  margin: auto;
  width: 84%;
}
.pdf {
  position: absolute;
  right: -8px;
  top: 18px;
  background: var(--signal);
  color: #06240f;
  font-size: 10px;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 999px;
  letter-spacing: 0.02em;
}
/* resting = stacked; .in = fanned */
.page.p3 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.page.p2 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.page.p1 {
  transform: translate(-50%, -50%) rotate(0deg);
}
.stage.in .page.p3 {
  transform: translate(-8%, -56%) rotate(7deg);
}
.stage.in .page.p2 {
  transform: translate(-50%, -47%) rotate(1.5deg);
}
.stage.in .page.p1 {
  transform: translate(-94%, -50%) rotate(-5deg);
}
.stage.in:hover .page.p3 {
  transform: translate(-2%, -58%) rotate(9deg);
}
.stage.in:hover .page.p1 {
  transform: translate(-100%, -50%) rotate(-7deg);
}
@media (max-width: 980px) {
  .report {
    grid-template-columns: 1fr;
  }
  .stage {
    height: clamp(380px, 100vw, 520px);
  }
}
@media (max-width: 560px) {
  .page {
    width: 56vw;
  }
  .stage.in .page.p3 {
    transform: translate(-14%, -56%) rotate(7deg);
  }
  .stage.in .page.p1 {
    transform: translate(-86%, -50%) rotate(-5deg);
  }
}
.arc {
  stroke-dasharray: var(--len);
  stroke-dashoffset: var(--len);
  transition: stroke-dashoffset 2.2s var(--ease);
}
.stage.in .arc {
  stroke-dashoffset: 0;
}
.barh {
  transform-origin: left;
  transform: scaleX(0.05);
  transition: transform 1.4s var(--ease);
}
.stage.in .barh {
  transform: scaleX(1);
}
@media (prefers-reduced-motion: reduce) {
  .page,
  .arc,
  .barh {
    transition: none;
  }
}

/* Real report views replace this empty state when supplied for publication. */
.report-data-preview {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--card);
}
.report-data-preview h3 {
  margin: 20px 0;
  font: 500 clamp(26px, 3vw, 36px)/1.15 var(--serif);
}
.report-data-preview ul {
  list-style: none;
  margin: 28px 0;
  border-top: 1px solid var(--line);
}
.report-data-preview li {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
.report-data-preview > p:last-child {
  font-size: 14px;
  color: var(--muted);
}

/* ---------- footer ---------- */
footer.dark {
  background: var(--footer-bg);
}
.foot-g {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: clamp(48px, 11vw, 150px) 0;
}
.foot-big {
  font-family: var(--serif);
  font-weight: 600;
  font-size: clamp(42px, 11vw, 156px);
  line-height: 0.95;
  letter-spacing: -0.025em;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  color: var(--night-ink);
}
.foot-big .caret {
  margin-left: 0.08em;
  /* Match the large serif wordmark's visible letter height. */
  height: 0.72em;
  width: 0.025em;
}
.foot-bot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: 24px;
  border-top: 1px solid var(--night-line);
  font-size: 14.5px;
  color: var(--night-muted);
}
.foot-bot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 28px;
}
.foot-bot a:hover {
  color: var(--night-ink);
}
footer .sec {
  padding-bottom: 40px;
}

/* ---------- reveal ---------- */
.js .rv {
  opacity: 0;
  transform: translateY(16px);
  transition:
    opacity 0.9s var(--ease),
    transform 0.9s var(--ease);
}
.js .rv.in {
  opacity: 1;
  transform: none;
}
.d1 {
  transition-delay: 0.08s;
}
.d2 {
  transition-delay: 0.16s;
}
.d3 {
  transition-delay: 0.24s;
}
@media (prefers-reduced-motion: reduce) {
  .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- modal ---------- */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[open] {
  display: flex;
}
.modal .scrim {
  position: absolute;
  inset: 0;
  background: rgba(18, 18, 18, 0.5);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  animation: fadein 0.3s var(--ease);
}
.sheet {
  position: relative;
  width: min(560px, 100%);
  max-height: calc(100svh - 40px);
  overflow: auto;
  background: var(--paper);
  border-radius: 20px;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
  animation: rise 0.45s var(--ease);
}
.sheet.dk {
  background: var(--night);
  color: var(--night-ink);
}
@keyframes fadein {
  from {
    opacity: 0;
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
}
.sheet .x {
  position: absolute;
  right: 14px;
  top: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: inherit;
}
.sheet .x:hover {
  background: rgba(127, 127, 127, 0.12);
}
.sheet-b {
  padding: 40px clamp(22px, 4vw, 36px) 30px;
}
.sheet h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(30px, 4vw, 38px);
  letter-spacing: -0.028em;
  line-height: 1.05;
  padding-right: 30px;
}
.sheet .sub {
  color: var(--muted);
  margin-top: 12px;
  font-size: 16px;
}
.sheet.dk .sub {
  color: var(--night-muted);
}
form .f {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-top: 18px;
}
form .row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (max-width: 520px) {
  form .row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
form label {
  font-size: 14px;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
}
form label em {
  font-style: normal;
  font-weight: 400;
  color: var(--muted);
}
form input,
form textarea,
form select {
  font: inherit;
  font-size: 16px;
  color: inherit;
  background: var(--card);
  border: 1px solid #d8d4cc;
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s;
  width: 100%;
}
.sheet.dk form input,
.sheet.dk form textarea,
.sheet.dk form select {
  background: var(--night-2);
  border-color: var(--night-line);
}
form textarea {
  min-height: 100px;
  resize: vertical;
}
form input:focus,
form textarea:focus,
form select:focus {
  border-color: currentColor;
}
form .hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
form .err {
  font-size: 14px;
  color: #c55;
  margin-top: 12px;
}
form .err:empty {
  display: none;
}
form .actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 24px;
}
.done {
  display: none;
}
.sheet.sent form {
  display: none;
}
.sheet.sent .done {
  display: block;
}
.done .next {
  margin-top: 28px;
}
.preview-note {
  font-size: 12.5px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  padding: 12px clamp(22px, 4vw, 36px);
}
.sheet.dk .preview-note {
  border-color: var(--night-line);
  color: var(--night-muted);
}
body.locked {
  overflow: hidden;
}
:focus-visible {
  outline: 2px solid var(--signal);
  outline-offset: 2px;
  border-radius: 6px;
}

/* Native dialog supplies focus containment, Escape, and focus restoration. */
.modal {
  border: 0;
  background: transparent;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  color: var(--ink);
}
.modal::backdrop {
  background: transparent;
}
.marketing-alert {
  padding-top: 18px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}
@media (prefers-reduced-motion: reduce) {
  .js .rv {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .scrim,
  .sheet {
    animation: none;
  }
}
