:root {
  color-scheme: light;
  --black: #090909;
  --black-soft: #151515;
  --white: #ffffff;
  --paper: #ffffff;
  --paper-deep: #eef1f6;
  --blue: #1769ff;
  --blue-dark: #0c49bd;
  --muted: #666662;
  --line: rgba(9,9,9,0.16);
  --line-light: rgba(255,255,255,0.18);
}

* {
  box-sizing: border-box;
  letter-spacing: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--black);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  min-height: 76px;
  padding: 0 4vw;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  background: var(--black);
  color: var(--white);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: fit-content;
  font-size: 15px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 6px;
  background: var(--white);
}

.brand-mark img {
  width: 38px;
  height: 38px;
  object-fit: contain;
}

#site-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 30px;
  font-size: 13px;
  font-weight: 700;
}

#site-nav a:not(.nav-contact) {
  color: rgba(255,255,255,0.72);
}

#site-nav a:hover,
#site-nav a:focus-visible {
  color: var(--white);
}

.nav-contact {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 15px;
  border-radius: 6px;
  background: var(--blue);
  color: var(--white);
}

.nav-contact:hover,
.nav-contact:focus-visible {
  background: #2c77ff;
}

.menu-button {
  display: none;
}

.hero {
  position: relative;
  min-height: min(760px, calc(100svh - 118px));
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.hero-mark {
  position: absolute;
  top: 50%;
  right: 2vw;
  width: min(65vw, 790px);
  height: min(65vw, 790px);
  object-fit: contain;
  transform: translateY(-50%);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: inherit;
  max-width: 720px;
  flex-direction: column;
  justify-content: center;
  padding: 70px 4vw 88px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--blue);
  font-size: 11px;
  font-weight: 850;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 680px;
  margin-bottom: 23px;
  font-size: 98px;
  line-height: 0.9;
  font-weight: 900;
}

.hero-statement {
  max-width: 580px;
  margin-bottom: 30px;
  font-size: 22px;
  line-height: 1.42;
  font-weight: 650;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 800;
}

.button.primary {
  background: var(--blue);
  color: var(--white);
}

.button.primary:hover,
.button.primary:focus-visible {
  background: var(--blue-dark);
}

.button.text-link {
  gap: 9px;
  padding-right: 8px;
  padding-left: 8px;
  color: var(--black);
}

.button.text-link span {
  color: var(--blue);
  font-size: 19px;
}

.hero-index {
  position: absolute;
  right: 4vw;
  bottom: 22px;
  z-index: 2;
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: end;
  padding: 42px 4vw;
  background: var(--blue);
  color: var(--white);
}

.intro-band p {
  max-width: 1040px;
  margin-bottom: 0;
  font-size: 28px;
  line-height: 1.28;
  font-weight: 800;
}

.intro-band span {
  font-size: 11px;
  line-height: 1.4;
  font-weight: 750;
  text-align: right;
  text-transform: uppercase;
}

.section {
  padding: 100px 4vw;
  scroll-margin-top: 88px;
}

.section-heading {
  max-width: 850px;
  margin-bottom: 54px;
}

.section-heading h2 {
  margin-bottom: 0;
  font-size: 52px;
  line-height: 1.02;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.service-list article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-media {
  width: 100%;
  aspect-ratio: 3 / 2;
  border-bottom: 1px solid var(--line);
  background: #f8f8f8;
  object-fit: cover;
}

.service-product {
  object-fit: contain;
}

.service-video {
  display: block;
  pointer-events: none;
}

.service-copy {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 12px;
  min-height: 230px;
  padding: 20px;
}

.service-copy > span {
  color: var(--blue);
  font-size: 12px;
  font-weight: 850;
}

.service-list h3 {
  margin-bottom: 9px;
  font-size: 27px;
}

.service-list p {
  max-width: 690px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.6;
}

.service-list small {
  grid-column: 2;
  align-self: end;
  color: var(--muted);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.automation-lab {
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: 7vw;
  padding: 26px 4vw 110px;
  background: var(--white);
}

.automation-heading {
  align-self: start;
  padding-top: 24px;
}

.automation-heading h2 {
  max-width: 600px;
  margin-bottom: 22px;
  font-size: 42px;
  line-height: 1.04;
}

.automation-heading > p:last-child {
  max-width: 560px;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
}

.automation-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.automation-grid article {
  min-height: 250px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #f7f8fa;
}

.automation-grid article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  margin-bottom: 54px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 850;
}

.automation-grid h3 {
  margin-bottom: 12px;
  font-size: 24px;
  line-height: 1.1;
}

.automation-grid p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.58;
}

.dark-section {
  background: var(--black);
  color: var(--white);
}

.dark-section .eyebrow {
  color: #6ea0ff;
}

.split-heading {
  display: grid;
  max-width: none;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 80px;
  align-items: end;
}

.split-heading > p {
  margin-bottom: 2px;
  color: rgba(255,255,255,0.6);
  font-size: 14px;
  line-height: 1.6;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.work-grid article {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-light);
  border-radius: 8px;
  background: var(--black-soft);
}

.work-number {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  font-size: 10px;
  font-weight: 850;
}

.work-visual {
  position: relative;
  display: grid;
  min-height: 320px;
  place-items: center;
  overflow: hidden;
  background: var(--white);
}

.showcase-empty {
  margin: 14px 14px 0;
  min-height: 292px;
  border: 1px solid rgba(9,9,9,0.18);
  background: #f7f8fa;
}

.showcase-empty::before,
.showcase-empty::after {
  position: absolute;
  width: 28px;
  height: 28px;
  content: "";
}

.showcase-empty::before {
  top: 16px;
  left: 16px;
  border-top: 2px solid var(--blue);
  border-left: 2px solid var(--blue);
}

.showcase-empty::after {
  right: 16px;
  bottom: 16px;
  border-right: 2px solid var(--blue);
  border-bottom: 2px solid var(--blue);
}

.showcase-empty span {
  color: #777b84;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-project-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work-project-motion {
  margin: 14px 14px 0;
  min-height: 292px;
  background: var(--black);
}

.work-project-motion video {
  width: 100%;
  height: 100%;
  min-height: 292px;
  object-fit: cover;
  pointer-events: none;
}

.website-visual span {
  position: absolute;
  display: block;
  border: 2px solid var(--black);
  background: var(--paper);
}

.website-visual span:nth-child(1) {
  width: 72%;
  height: 62%;
  transform: translate(-6%, -5%);
}

.website-visual span:nth-child(2) {
  width: 52%;
  height: 8%;
  border: 0;
  background: var(--blue);
  transform: translate(-18%, -180%);
}

.website-visual span:nth-child(3) {
  width: 24%;
  height: 48%;
  transform: translate(90%, 30%);
}

.identity-visual {
  background: var(--blue);
}

.identity-visual img {
  width: 75%;
  height: 75%;
  object-fit: contain;
}

.motion-visual {
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  padding: 22px;
  background: var(--paper-deep);
}

.motion-visual i {
  display: block;
  width: 100%;
  height: 68%;
  border: 2px solid var(--black);
  background: var(--white);
}

.motion-visual i:nth-child(2) {
  height: 82%;
  background: var(--blue);
}

.work-copy {
  min-height: 132px;
  padding: 18px;
}

.work-copy p {
  margin-bottom: 7px;
  color: #6ea0ff;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.work-copy h3 {
  margin-bottom: 15px;
  font-size: 20px;
}

.work-copy span {
  color: rgba(255,255,255,0.55);
  font-size: 11px;
  font-weight: 750;
  text-transform: uppercase;
}

.case-study {
  background: var(--white);
}

.dark-case {
  background: var(--black);
  color: var(--white);
}

.dark-case .case-kicker {
  border-bottom-color: var(--line-light);
}

.dark-case .case-kicker span,
.dark-case .case-copy > p {
  color: rgba(255,255,255,0.62);
}

.dark-case .case-details {
  border-top-color: var(--line-light);
  border-bottom-color: var(--line-light);
}

.dark-case .case-details div + div {
  border-left-color: var(--line-light);
}

.dark-case .case-details dd {
  color: var(--white);
}

.case-kicker {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 18px;
}

.case-kicker .eyebrow {
  margin-bottom: 0;
}

.case-kicker span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.case-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 0.72fr);
  gap: 42px;
  align-items: stretch;
}

.case-copy {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 520px;
  padding: 14px 0 6px;
}

.case-copy h2 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: 56px;
  line-height: 0.98;
}

.case-copy > p {
  max-width: 700px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.64;
}

.case-details {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 50px 0 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.case-details div {
  min-height: 116px;
  padding: 20px 18px 18px 0;
}

.case-details div + div {
  border-left: 1px solid var(--line);
  padding-left: 18px;
}

.case-details dt {
  margin-bottom: 16px;
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-details dd {
  margin: 0;
  color: var(--black);
  font-size: 14px;
  font-weight: 780;
  line-height: 1.35;
}

.case-visual {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-deep);
}

.hero-case-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.vertical-case-visual {
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at 50% 6%, rgba(255,255,255,0.2), transparent 34%),
    #050505;
}

.vertical-case-visual video {
  width: min(100%, 460px);
  height: 100%;
  min-height: 620px;
  object-fit: cover;
  pointer-events: none;
}

.wide-case-visual {
  display: grid;
  place-items: center;
  background: var(--black);
}

.wide-case-visual video {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  pointer-events: none;
}

.case-media-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.case-media-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.case-media-grid video {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-bottom: 1px solid var(--line);
  background: var(--black);
  object-fit: cover;
  pointer-events: none;
}

.case-media-grid article > div {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  min-height: 126px;
  padding: 20px;
}

.case-media-grid span {
  color: var(--blue);
  font-size: 10px;
  font-weight: 850;
  text-transform: uppercase;
}

.case-media-grid h3 {
  margin-bottom: 0;
  font-size: 23px;
  line-height: 1.1;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 240px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.process-list li > span {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  font-size: 11px;
  font-weight: 850;
}

.process-list div {
  margin-top: 60px;
}

.process-list h3 {
  margin-bottom: 9px;
  font-size: 20px;
}

.process-list p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-section {
  position: relative;
  display: grid;
  min-height: 520px;
  place-items: center;
  overflow: hidden;
  padding: 80px 4vw;
  background: var(--blue);
  color: var(--white);
  text-align: center;
}

.contact-section > img {
  position: absolute;
  inset: 50% auto auto 50%;
  width: min(52vw, 620px);
  height: min(52vw, 620px);
  object-fit: contain;
  opacity: 0.13;
  transform: translate(-50%, -50%);
}

.contact-section > div {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.contact-section .eyebrow {
  color: var(--white);
}

.contact-section h2 {
  margin-bottom: 30px;
  font-size: 52px;
  line-height: 1.03;
}

.light-button {
  max-width: 100%;
  background: var(--white) !important;
  color: var(--black) !important;
  overflow-wrap: anywhere;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 30px;
  align-items: center;
  padding: 30px 4vw;
  background: var(--black);
  color: var(--white);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
}

.footer-brand img {
  width: 36px;
  height: 36px;
  padding: 3px;
  border-radius: 5px;
  background: var(--white);
  object-fit: contain;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 12px;
  font-weight: 700;
}

footer > p {
  margin: 0;
  color: rgba(255,255,255,0.54);
  font-size: 10px;
  text-align: right;
}

@media (max-width: 960px) {
  h1 {
    font-size: 72px;
  }

  .hero-statement {
    max-width: 500px;
    font-size: 19px;
  }

  .hero-mark {
    right: -10vw;
    width: 72vw;
    height: 72vw;
    opacity: 0.68;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 42px;
  }

  .work-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .case-copy {
    min-height: 0;
  }

  .case-copy h2 {
    font-size: 44px;
  }

  .hero-case-visual img {
    min-height: 460px;
  }

  .service-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .split-heading {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .automation-lab {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer > p {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 700px) {
  .site-header {
    grid-template-columns: 1fr auto;
    min-height: 68px;
    padding: 0 18px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
  }

  .brand-mark img {
    width: 34px;
    height: 34px;
  }

  .menu-button {
    display: grid;
    width: 42px;
    height: 42px;
    align-content: center;
    gap: 5px;
    padding: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 6px;
    background: transparent;
  }

  .menu-button > span:not(.sr-only) {
    display: block;
    height: 2px;
    background: var(--white);
  }

  #site-nav {
    position: fixed;
    inset: 68px 0 auto;
    display: none;
    align-items: stretch;
    padding: 18px;
    background: var(--black);
  }

  #site-nav.open {
    display: grid;
    gap: 4px;
  }

  #site-nav a {
    display: flex;
    min-height: 48px;
    align-items: center;
    padding: 0 10px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
  }

  .nav-contact {
    justify-content: center;
    margin-top: 8px;
    border-bottom: 0 !important;
  }

  .hero {
    min-height: calc(100svh - 112px);
  }

  .hero-copy {
    justify-content: flex-end;
    padding: 84px 18px 90px;
  }

  .hero-mark {
    top: 40%;
    right: -28vw;
    width: 118vw;
    height: 118vw;
    opacity: 0.43;
  }

  h1 {
    font-size: 52px;
    line-height: 0.94;
  }

  .hero-statement {
    max-width: 430px;
    font-size: 17px;
  }

  .hero-index {
    right: auto;
    left: 18px;
    gap: 12px;
  }

  .intro-band {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 32px 18px;
  }

  .intro-band p {
    font-size: 22px;
  }

  .intro-band span {
    text-align: left;
  }

  .section {
    padding: 74px 18px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2,
  .contact-section h2 {
    font-size: 36px;
  }

  .automation-lab {
    padding: 0 18px 74px;
  }

  .automation-heading h2 {
    font-size: 34px;
  }

  .automation-grid {
    grid-template-columns: 1fr;
  }

  .automation-grid article {
    min-height: 220px;
  }

  .automation-grid article > span {
    margin-bottom: 42px;
  }

  .service-list {
    grid-template-columns: 1fr;
  }

  .service-copy {
    min-height: 210px;
  }

  .work-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .work-visual {
    min-height: 280px;
  }

  .case-kicker {
    display: grid;
  }

  .case-copy h2 {
    font-size: 36px;
  }

  .case-copy > p {
    font-size: 15px;
  }

  .case-details,
  .case-media-grid {
    grid-template-columns: 1fr;
  }

  .case-details div + div {
    border-top: 1px solid var(--line);
    border-left: 0;
    padding-left: 0;
  }

  .dark-case .case-details div + div {
    border-top-color: var(--line-light);
  }

  .hero-case-visual img {
    min-height: 380px;
  }

  .vertical-case-visual video {
    width: 100%;
    min-height: 520px;
  }

  .wide-case-visual video {
    min-height: 320px;
  }

  .case-media-grid article > div {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .process-list li {
    min-height: 210px;
  }

  .process-list div {
    margin-top: 42px;
  }

  .contact-section {
    min-height: 500px;
    padding: 70px 18px;
  }

  .contact-section > img {
    width: 100vw;
    height: 100vw;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 28px 18px;
  }

  .footer-links {
    flex-wrap: wrap;
  }

  footer > p {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
