:root {
  --paper: #f5f5f5;
  --ink: #0a0a0a;
  --muted: #656565;
  --line: #dedede;
  --blue: #2457c5;
  --display:
    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --sans:
    "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  --mono:
    "JetBrains Mono", ui-monospace, "Cascadia Mono", "Source Code Pro",
    monospace;
  --header-height: 64px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 24px);
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
h1,
h2,
h3,
p,
figure {
  margin: 0;
}
h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.15;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  border: 0;
}
button,
summary,
a {
  -webkit-tap-highlight-color: transparent;
}
img,
video,
svg {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--ink);
  color: var(--paper);
}
:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 5px;
}
.container {
  width: min(100% - 96px, 1320px);
  margin-inline: auto;
}
.icon,
.cover-icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.small-icon {
  width: 16px;
  height: 16px;
  flex-basis: 16px;
}
.skip-link {
  position: fixed;
  z-index: 30;
  left: 16px;
  top: 8px;
  padding: 12px 20px;
  background: white;
  transform: translateY(-160%);
}
.skip-link:focus {
  transform: none;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header-height);
  background: var(--paper);
}
.header-inner {
  width: min(100% - 96px, 1664px);
  height: 100%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1.5px solid var(--ink);
}
.navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 36px;
}
.navigation a {
  padding-block: 12px;
  font-weight: 500;
  color: #545454;
}
.navigation a:hover,
.text-link:hover,
.contact-bottom a:hover {
  color: var(--blue);
}
.mobile-brand,
.menu-toggle {
  display: none;
}
.icon-button {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  padding: 0;
  background: transparent;
  border-radius: 4px;
  transition: background 0.18s;
}
.icon-button:hover {
  background: rgba(128, 128, 128, 0.14);
}
.menu-toggle {
  display: none;
}
.mobile-nav {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  padding: 8px 24px 16px;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
}
.mobile-nav a {
  display: block;
  padding: 12px 0;
}

.hero {
  position: relative;
  padding-block: 36px 30px;
  background-image: linear-gradient(
    90deg,
    rgba(10, 10, 10, 0.045) 1px,
    transparent 1px
  );
  background-size: 132px 100%;
  background-position: center;
}
.hero-inner {
  max-width: 1056px;
}
h1 {
  font-size: 84px;
  font-weight: 300;
  line-height: 1.08;
  text-align: left;
}
.hero-description {
  max-width: 720px;
  margin-top: 12px;
  font-size: 19px;
  color: #484848;
  font-weight: 400;
  line-height: 1.45;
}
.hero-role {
  margin-top: 20px;
  font-family: var(--display);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.3;
  text-wrap: balance;
}
.text-link {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  min-height: 44px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  transition: color 0.18s;
}
.primary-link {
  color: var(--blue);
}
.primary-link:hover {
  color: var(--ink);
}

.film-section {
  max-width: 1056px;
  padding-top: 24px;
}
.story-video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: contain;
  background: #111;
}
.film-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 8px;
  border-bottom: 1px solid var(--line);
}
.film-toolbar p {
  color: var(--muted);
  font-size: 15px;
}
.film-controls {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 2px;
}

.projects {
  padding-block: 88px 80px;
}
.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 36px;
}
.section-heading h2 {
  font-size: 42px;
  font-weight: 400;
  line-height: 1.12;
}
.demo-channels {
  flex-shrink: 0;
  padding-bottom: 3px;
}
.demo-channels p {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 14px;
}
.channel-links {
  display: flex;
  align-items: center;
  gap: 10px;
}
.channel-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 12px 20px;
  color: #fff;
  background: var(--blue);
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 17px;
  font-weight: 500;
  transition:
    background 0.18s,
    transform 0.18s,
    box-shadow 0.18s;
}
.channel-link:last-child {
  background: var(--ink);
}
.channel-link:hover {
  background: #1947a8;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgb(10 10 10 / 12%);
}
.channel-link:last-child:hover {
  background: #333;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}
.project {
  min-width: 0;
}
.project-link {
  display: block;
  height: 100%;
}
.project-cover {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: 5px;
  border: 1px solid #d8dedb;
  background: #fff;
  padding: 12px;
}
.project[data-demo="knowledge"] .project-cover {
  background: #0d121c;
  border-color: #263040;
}
.project[data-demo="consultant"] .project-cover {
  background: #c6d6a7;
  border-color: #b5c594;
}
.project[data-demo="voice"] .project-cover {
  background: #0e1411;
  border-color: #30443a;
}
.project-cover img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: contain;
  transition: transform 0.45s cubic-bezier(0.2, 0.65, 0.3, 1);
}
.project-link:hover .project-cover img,
.project-link:focus-visible .project-cover img {
  transform: scale(1.035);
}
.project h3 {
  padding-top: 16px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.3;
  transition: color 0.18s;
}
.project-link:hover h3,
.project-link:focus-visible h3 {
  color: var(--blue);
}
.project-action {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  margin-top: 4px;
  color: var(--blue);
  font-size: 16px;
  font-weight: 500;
}
.project-action > span {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.project-action .icon {
  transform: rotate(-90deg);
  transition: transform 0.2s ease;
}
.project-link:hover .project-action .icon,
.project-link:focus-visible .project-action .icon {
  transform: translateX(3px) rotate(-90deg);
}

.about {
  padding-block: 60px 72px;
  border-top: 1px solid var(--line);
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
  align-items: center;
  gap: 100px;
}
.about-copy {
  max-width: 650px;
}
.about-copy h2 {
  font-size: 48px;
  font-weight: 400;
  margin-bottom: 28px;
}
.about-copy > p {
  font-size: 19px;
  line-height: 1.6;
  color: #484848;
}
.about-copy > p + p {
  margin-top: 16px;
}
.skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin-top: 24px;
  font-size: 14px;
}
.about-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0 24px;
  margin-top: 16px;
}
.about-links p {
  flex-basis: 100%;
  font-size: 15px;
  color: var(--muted);
  margin-top: 12px;
  max-width: 440px;
}
.experience-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 36px;
  margin-top: 48px;
}
.experience-grid article {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.experience-grid h3 {
  font-size: 21px;
  margin-bottom: 12px;
}
.experience-grid p {
  font-size: 17px;
  color: #484848;
  line-height: 1.6;
}
.portrait {
  justify-self: end;
  width: min(100%, 350px);
}
.portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 60%;
}
.process-strip {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 40px;
  border-top: 1px solid var(--line);
  padding-top: 30px;
  margin-top: 60px;
}
.process-strip h3 {
  font-size: 19px;
  font-weight: 500;
}
.process-strip ol {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.process-strip li {
  position: relative;
  min-width: 0;
  font-size: 15px;
}
.process-strip li:not(:last-child)::before,
.process-strip li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 19px;
  left: 19px;
  width: calc(100% + 24px);
  height: 1px;
  background: #c9cdd1;
}
.process-strip li:not(:last-child)::after {
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}
.process-strip li.is-complete::after {
  transform: scaleX(1);
}
.step-number {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 16px;
  border: 1px solid #c9cdd1;
  border-radius: 50%;
  background: var(--paper);
  color: var(--muted);
  font: 400 12px var(--mono);
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.step-label {
  display: block;
  max-width: 190px;
}
.is-active .step-number {
  color: white;
  background: var(--blue);
  border-color: var(--blue);
}
.is-complete .step-number {
  color: var(--blue);
  border-color: var(--blue);
}
.is-active .step-label {
  color: var(--blue);
}

.contact {
  background: #0a0a0a;
  color: #f5f5f5;
  padding-block: 60px 24px;
}
.contact-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}
.contact .contact-marquee {
  overflow: hidden;
  margin-bottom: 32px;
  font-size: 112px;
  font-weight: 300;
  line-height: 1.25;
}
.contact-marquee-track {
  display: flex;
  width: max-content;
}
.contact-marquee-group {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex: 0 0 auto;
  gap: 80px;
  min-width: 100vw;
  padding-inline: 48px;
  white-space: nowrap;
}
.marquee-separator {
  color: #626262;
}
.contact-top p {
  color: #b5b5b5;
  font-size: 17px;
}
.contact-top > a {
  font-size: 19px;
  border-bottom: 1px solid #858585;
  flex-shrink: 0;
}
.contact a:hover {
  color: #b9d0ff;
}
.contact :focus-visible,
.film-dialog :focus-visible {
  outline-color: #b9d0ff;
}
.contact-bottom {
  margin-top: 56px;
  padding-top: 20px;
  border-top: 1px solid #343434;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 40px;
  color: #b5b5b5;
  font-size: 14px;
}
.contact-bottom > a:last-child {
  margin-left: auto;
  font-size: 14px;
}
.up-arrow {
  transform: rotate(180deg);
}

.modal-open {
  overflow: hidden;
}
.film-dialog {
  width: min(1120px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  padding: 0;
  border: 1px solid #444;
  border-radius: 6px;
  background: #141414;
  color: #f5f5f5;
}
.film-dialog::backdrop {
  background: rgba(0, 0, 0, 0.8);
}
.film-dialog-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 16px 10px 24px;
}
.film-dialog-bar h2 {
  font-size: 18px;
  font-weight: 400;
}
.film-dialog video {
  width: 100%;
  max-height: 70dvh;
  aspect-ratio: 16 / 9;
  background: black;
  object-fit: contain;
}
.film-dialog > p {
  margin: 16px 24px;
  font-size: 14px;
  color: #bdbdbd;
}
.film-transcript {
  margin: 16px 24px 24px;
  font-size: 15px;
  color: #bdbdbd;
}
.film-transcript summary {
  cursor: pointer;
  min-height: 44px;
  padding-block: 10px;
}
.film-transcript p {
  margin-top: 12px;
}

@media (min-width: 1600px) {
  h1 {
    font-size: 92px;
  }
}
@media (max-width: 1199px) {
  h1 {
    font-size: 72px;
  }
  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .about-grid {
    gap: 60px;
  }
  .process-strip {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .contact .contact-marquee {
    font-size: 80px;
  }
}
@media (max-width: 959px) {
  .container,
  .header-inner,
  .hero-inner {
    width: calc(100% - 64px);
  }
  h1 {
    font-size: 60px;
  }
  .hero-role {
    font-size: 24px;
  }
  .hero-description {
    font-size: 19px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .section-heading h2 {
    font-size: 38px;
  }
  .demo-channels {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px 24px;
  }
  .demo-channels p {
    margin: 0;
  }
  .project-grid {
    gap: 24px;
  }
  .about-grid {
    grid-template-columns: minmax(0, 1fr) 220px;
    gap: 32px;
  }
  .about-copy h2 {
    font-size: 38px;
  }
  .about-copy > p {
    font-size: 17px;
  }
  .contact-top {
    align-items: flex-start;
    flex-direction: column;
    gap: 24px;
  }
  .contact-bottom {
    gap: 12px 24px;
  }
}
@media (max-width: 640px) {
  :root {
    --header-height: 60px;
  }
  .container,
  .header-inner,
  .hero-inner {
    width: calc(100% - 40px);
  }
  .header-inner {
    justify-content: space-between;
  }
  .navigation {
    gap: 20px;
    width: 100%;
    justify-content: space-between;
  }
  .navigation a { font-size: 14px; }
  .site-header[data-enhanced] .navigation { display: none; }
  .site-header[data-enhanced] .mobile-brand {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    font-size: 24px;
    font-weight: 500;
  }
  .menu-toggle {
    display: grid;
  }
  .hero {
    padding-block: 28px 24px;
    background-size: 96px 100%;
  }
  h1 {
    font-size: 48px;
    text-align: left;
  }
  .hero-role {
    font-size: 22px;
    margin-top: 18px;
  }
  .hero-description {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 400;
  }
  .text-link {
    font-size: 15px;
  }
  .film-section {
    padding-top: 12px;
  }
  .film-toolbar {
    gap: 8px;
  }
  .film-toolbar p {
    font-size: 13px;
    max-width: 180px;
  }
  .projects {
    padding-block: 52px;
  }
  .section-heading {
    gap: 24px;
    margin-bottom: 24px;
  }
  .section-heading h2 {
    font-size: 32px;
  }
  .demo-channels {
    gap: 8px;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
  }
  .channel-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }
  .channel-link {
    padding-inline: 12px;
    gap: 8px;
    font-size: 16px;
  }
  .channel-link .small-icon {
    display: none;
  }
  .project-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .about {
    padding-block: 40px 48px;
  }
  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about-copy h2 {
    font-size: 36px;
    margin-bottom: 22px;
  }
  .portrait {
    width: 220px;
    justify-self: start;
  }
  .about-links p {
    font-size: 14px;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 32px;
  }
  .process-strip {
    margin-top: 36px;
    padding-top: 24px;
  }
  .process-strip ol {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .process-strip li {
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
    padding-bottom: 30px;
  }
  .process-strip li:last-child {
    padding-bottom: 0;
  }
  .process-strip li:not(:last-child)::before,
  .process-strip li:not(:last-child)::after {
    width: 1px;
    height: 100%;
  }
  .process-strip li:not(:last-child)::after {
    transform: scaleY(0);
    transform-origin: top;
  }
  .process-strip li.is-complete::after {
    transform: scaleY(1);
  }
  .step-number {
    margin-bottom: 0;
  }
  .step-label {
    max-width: none;
    padding-top: 7px;
  }
  .contact {
    padding-block: 40px 20px;
  }
  .contact .contact-marquee {
    font-size: 54px;
    margin-bottom: 28px;
  }
  .contact-marquee-group {
    gap: 40px;
    padding-inline: 20px;
  }
  .contact-top p {
    font-size: 16px;
  }
  .contact-top > a {
    font-size: 18px;
  }
  .contact-bottom {
    margin-top: 32px;
    align-items: flex-start;
    flex-direction: column;
  }
  .contact-bottom > a:last-child {
    margin-left: 0;
  }
  .film-dialog-bar {
    padding-inline: 16px;
  }
  .film-dialog-bar h2 {
    font-size: 16px;
  }
  .film-dialog > p,
  .film-transcript {
    margin-inline: 16px;
  }
}
@media (max-width: 359px) {
  h1 {
    font-size: 42px;
  }
  .hero-description {
    font-size: 17px;
  }
  .section-heading h2 {
    font-size: 30px;
  }
  .film-toolbar p {
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .reveal-pending {
    opacity: 0;
    transform: translateY(16px);
    transition:
      opacity 0.55s ease-out,
      transform 0.6s cubic-bezier(0.22, 0.65, 0.3, 1);
    transition-delay: var(--reveal-delay, 0ms);
  }
  .reveal-pending.is-visible {
    opacity: 1;
    transform: none;
  }
  .contact-marquee-track {
    animation: contact-drift 24s linear infinite;
    animation-play-state: paused;
  }
  .contact.is-moving .contact-marquee-track {
    animation-play-state: running;
  }
  @keyframes contact-drift {
    to {
      transform: translateX(-50%);
    }
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .contact-marquee-track,
  .contact-marquee-group {
    display: block;
    width: auto;
    min-width: 0;
    white-space: normal;
  }
  .contact-marquee-group + .contact-marquee-group,
  .marquee-separator {
    display: none;
  }
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
