.home-section { padding: clamp(64px, 8vw, 108px) 0; }
.home-heading { margin-bottom: clamp(34px, 5vw, 58px); }
.home-heading--split {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .65fr);
  gap: clamp(28px, 7vw, 96px);
  align-items: end;
}
.home-heading h2,
.founder__copy h2,
.start-band__title {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(38px, 5.4vw, 68px);
  font-weight: var(--fw-black);
  letter-spacing: -.045em;
  line-height: .98;
  color: var(--ink);
}
.home-heading--split > p {
  max-width: 42ch;
  margin: 0 0 4px;
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  color: var(--fog);
}
.home-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(650px, calc(100svh - var(--header-h)), 820px);
  overflow: clip;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7,31,49,.98) 0%, rgba(7,31,49,.94) 42%, rgba(7,31,49,.58) 70%, rgba(7,31,49,.28) 100%),
    linear-gradient(180deg, rgba(7,31,49,.62) 0%, rgba(7,31,49,0) 28%, rgba(7,31,49,.38) 100%),
    transparent;
}
.home-hero__background { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: right 62%; }
.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(7,31,49,.98), rgba(7,31,49,.94) 42%, rgba(7,31,49,.58) 70%, rgba(7,31,49,.28)); }
.home-hero__credit { position: absolute; z-index: 2; right: max(28px, calc((100vw - 1180px) / 2)); bottom: 14px; width: 32ch; margin: 0; padding: 10px 14px; font-size: 13px; line-height: 1.5; color: #fff; background: var(--deep); }
.home-hero__inner {
  position: relative;
  z-index: 2;
  display: grid;
  min-height: inherit;
  align-items: center;
  padding-block: clamp(62px, 9vh, 96px);
}
.home-hero__copy { width: min(790px, 64vw); }
.home-hero h1 {
  margin: 0;
  max-width: 12ch;
  font-size: clamp(52px, 6.6vw, 94px);
  font-weight: var(--fw-black);
  letter-spacing: -.058em;
  line-height: .94;
  color: var(--white);
}
.home-hero__copy > p {
  max-width: 46ch;
  margin: clamp(22px, 3vh, 30px) 0 0;
  font-size: clamp(19px, 1.75vw, 23px);
  line-height: 1.5;
  color: rgba(255,255,255,.9);
}
.home-hero__copy > .home-hero__location {
  max-width: 58ch;
  margin-top: 14px;
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(255,255,255,.68);
}
.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin-top: clamp(26px, 4vh, 38px);
}
.home-hero__link {
  color: var(--white);
}
.home-hero__link:is(:hover, :focus-visible) { color: var(--white); }
.home-hero__link span { color: var(--steel-bright); }
.home-hero__media {
  position: absolute;
  inset: 0 0 0 48%;
  z-index: 0;
  pointer-events: none;
  opacity: .64;
  mask-image: linear-gradient(90deg, transparent 0%, #000 23%, #000 100%);
}
.home-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7,31,49,.35), transparent 35%, rgba(7,31,49,.42));
}
.home-hero__frame {
  position: absolute;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 24px 70px rgba(0,0,0,.4);
  transform: perspective(1200px) rotateY(-8deg);
}
.home-hero__frame img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.home-hero__frame--site { inset: 7% -20% 30% 7%; }
.home-hero__frame--tool { inset: 47% 4% -8% 22%; opacity: .94; }
@media (min-width: 1600px) {
  .home-hero { --hero-inner-max: clamp(var(--container-max), calc(100% - 420px), 1600px); }
  .home-hero__inner { max-width: var(--hero-inner-max); }
  .home-hero__media { left: auto; right: calc((100% - 1600px) / 2 + var(--container-pad)); width: 800px; }
  .home-hero__credit { right: calc((100% - var(--hero-inner-max)) / 2 + var(--container-pad)); }
}
@supports (animation-timeline: view()) {
  .home-hero { view-timeline-name: --home-hero; view-timeline-axis: block; }
  .home-hero__frame--site {
    animation: hero-site-shift linear both;
    animation-timeline: --home-hero;
    animation-range: exit 0% exit 90%;
  }
  .home-hero__frame--tool {
    animation: hero-tool-shift linear both;
    animation-timeline: --home-hero;
    animation-range: exit 0% exit 90%;
  }
}
@keyframes hero-site-shift {
  to { opacity: .18; transform: perspective(1200px) rotateY(-3deg) translate3d(8%, -5%, 0); }
}
@keyframes hero-tool-shift {
  to { opacity: .2; transform: perspective(1200px) rotateY(-3deg) translate3d(-6%, -12%, 0); }
}
.home-problems { background: #e8eff3; }
.home-problems__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: clamp(26px, 3.5vw, 40px);
}
.home-problems .home-heading { margin: 0; }
.home-problems__controls { display: flex; flex: none; gap: 12px; }
.home-problems__control {
  display: grid;
  width: 48px;
  height: 48px;
  padding: 0;
  place-items: center;
  border: 1px solid rgba(20, 62, 84, .22);
  border-radius: 50%;
  color: var(--ink);
  background: rgba(255, 255, 255, .82);
  box-shadow: 0 7px 18px rgba(8, 37, 56, .06);
  cursor: pointer;
  transition: color var(--dur-fast) var(--ease-out), background var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out);
}
.home-problems__control span { font-size: 21px; line-height: 1; transform: translateY(-1px); }
.home-problems__control:is(:hover, :focus-visible):not(:disabled) {
  color: var(--white);
  background: var(--steel);
  box-shadow: var(--shadow-btn-steel);
  transform: translateY(-2px);
}
.home-problems__control:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.home-problems__control:disabled { opacity: .34; cursor: default; box-shadow: none; }
.home-problems__list {
  display: flex;
  gap: clamp(16px, 1.8vw, 22px);
  margin: -12px 0 -24px;
  padding: 12px 0 24px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-padding-inline: 0;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}
.home-problems__list::-webkit-scrollbar { display: none; }
.home-problem {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-rows: clamp(210px, 18vw, 244px) minmax(0, 1fr);
  flex: 0 0 clamp(340px, 35vw, 430px);
  min-height: clamp(500px, 43vw, 548px);
  overflow: hidden;
  border: 1px solid rgba(20, 62, 84, .2);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(8, 37, 56, .05);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  transform: translateY(0);
  transition: transform 280ms var(--ease-out), border-color 280ms var(--ease-out), box-shadow 280ms var(--ease-out);
}
.home-problem:is(:hover, :focus-within) {
  border-color: rgba(20, 78, 110, .34);
  box-shadow: 0 18px 38px rgba(8, 37, 56, .14);
  transform: translateY(-8px);
}
.home-problem__media {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
  text-decoration: none;
}
.home-problem__media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(135deg, rgba(5, 35, 54, .08), rgba(20, 87, 120, .22));
}
.home-problem__media picture { display: block; width: 100%; height: 100%; }
.home-problem__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(.78) contrast(.96);
  transition: transform var(--dur-med) var(--ease-out), filter var(--dur-med) var(--ease-out);
}
.home-problem:first-child .home-problem__media img,
.home-problem:nth-child(3) .home-problem__media img { object-position: center top; }
.home-problem:is(:hover, :focus-within) .home-problem__media img { transform: scale(1.018); filter: saturate(.9) contrast(1); }
.home-problem__media iframe { display: block; width: 100%; height: 100%; border: 0; background: #0a0d11; }
.home-problem__play {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 3;
  display: grid;
  width: 68px;
  height: 48px;
  place-items: center;
  border-radius: 12px;
  color: var(--white);
  background: #ff0033;
  box-shadow: 0 10px 28px rgba(0, 0, 0, .28);
  transform: translate(-50%, -50%);
  transition: transform var(--dur-fast) var(--ease-out);
}
.home-problem__play svg { width: 29px; height: 29px; }
.home-problem:is(:hover, :focus-within) .home-problem__play { transform: translate(-50%, -50%) scale(1.07); }
.home-problem__content {
  position: relative;
  z-index: 1;
  grid-column: 1;
  grid-row: 2;
  display: flex;
  min-width: 0;
  flex-direction: column;
  padding: clamp(26px, 3vw, 34px);
}
.home-problem__content h3 {
  margin: 0;
  max-width: 15ch;
  font-size: clamp(29px, 2.8vw, 38px);
  letter-spacing: -.035em;
  line-height: 1.02;
  color: var(--ink);
}
.home-problem__content p {
  max-width: 39ch;
  margin: 17px 0 0;
  font-size: 16px;
  line-height: 1.55;
  color: var(--fog);
}
.home-problem__note { display: block; margin-top: 12px; color: var(--fog); font-size: 13px; line-height: 1.45; }
.home-problem__action {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 22px;
  color: var(--steel);
  font-weight: var(--fw-bold);
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}
.home-problem__hit { position: absolute; inset: 0; z-index: 4; border-radius: inherit; }
.home-problem__hit:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -5px; }
.home-problem.is-video-active { transform: none; }
.home-problem.is-video-active .home-problem__media::after { display: none; }
.home-problem.is-video-active .home-problem__action { color: var(--fog); text-decoration: none; }
.home-problem--workflow .home-problem__media { background: #f6f6f3; }
.home-problem--workflow .home-problem__media img { object-position: center; }
#ai-knowledge-assistant,
#product-selector-video { scroll-margin-top: calc(var(--header-h) + 18px); }
.work-models { --model-inset: clamp(32px, 4.5vw, 60px); background: var(--bg-page); }
.work-models .home-heading--split { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; align-items: start; }
.work-models .home-heading--split > p { max-width: none; margin: 8px 0 0; padding-inline: var(--model-inset); }
.work-models__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: auto auto 1fr auto;
  row-gap: 24px;
  border-top: 3px solid var(--fin-orange);
  border-bottom: 1px solid var(--hair-strong);
}
.work-model {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  row-gap: 24px;
  min-width: 0;
  min-height: 500px;
  padding: 52px var(--model-inset);
  background: var(--white);
}
@supports (grid-template-rows: subgrid) {
  .work-model { grid-row: span 4; grid-template-rows: subgrid; }
}
@supports not (grid-template-rows: subgrid) {
  .work-model h3 { min-height: 2.04em; }
  .work-model > p:first-of-type { min-height: 4.44em; }
}
.work-model + .work-model { border-left: 1px solid var(--hair-strong); }
.work-model h3 {
  margin: 0;
  font-size: clamp(38px, 4.5vw, 64px);
  letter-spacing: -.045em;
  line-height: 1.02;
  color: var(--ink);
}
.work-model > p {
  align-self: start;
  max-width: 36ch;
  margin: 0;
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.48;
  color: var(--fog);
}
.work-model > .work-model__examples { max-width: 40ch; font-size: 16px; line-height: 1.6; }
.work-model > a { display: flex; justify-content: space-between; align-items: center; min-height: 44px; margin: 0; padding-block: 20px 0; border-top: 1px solid var(--hair-strong); gap: 20px; color: var(--steel); font-weight: var(--fw-bold); }
.work-model > a span { flex: none; font-size: 24px; line-height: 1; }
.work-model--dark { color: var(--white); background: var(--deep); }
.work-model--dark h3 { color: var(--white); }
.work-model--dark > p { color: rgba(255,255,255,.78); }
.work-model--dark > a { border-top-color: rgba(255,255,255,.24); color: #9bd8f5; }
.work-model > .text-link:is(:hover, :focus-visible) { color: var(--electric); }
.work-model--dark > .text-link:is(:hover, :focus-visible) { color: var(--white); }
.home-capabilities { background: #081f32; color: var(--white); }
.home-heading--light h2 { color: var(--white); }
.home-heading--light.home-heading--split > p { color: rgba(255,255,255,.7); }
.home-capabilities__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255,255,255,.22);
  border-bottom: 1px solid rgba(255,255,255,.22);
}
.home-capability { min-width: 0; padding: clamp(34px, 5vw, 58px) clamp(10px, 4vw, 56px) clamp(40px, 5vw, 62px) 0; }
.home-capability + .home-capability { padding-right: 0; padding-left: clamp(28px, 5vw, 64px); border-left: 1px solid rgba(255,255,255,.22); }
.home-capability h3 { margin: 0; font-size: clamp(34px, 4.3vw, 56px); letter-spacing: -.04em; color: var(--white); }
.home-capability > p { max-width: 40ch; margin: 20px 0 30px; font-size: 17px; line-height: 1.62; color: rgba(255,255,255,.76); }
.home-capability .text-link { color: #9bd8f5; }
.home-capability .text-link:is(:hover, :focus-visible) { color: var(--white); }
.home-capability__links { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.home-capabilities .booking-demo { margin-top: clamp(38px, 5vw, 64px); grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); }
.home-capabilities .booking-demo h3 { font-size: clamp(30px, 3.2vw, 44px); line-height: 1.08; color: var(--white); }
.home-capabilities .booking-demo :is(.booking-demo__copy > p, .booking-demo__note) { color: rgba(255,255,255,.78); }
.home-capabilities .booking-demo :is(.booking-demo__copy a, .booking-demo__note a) { color: var(--steel-bright); }
.home-capabilities .booking-demo .booking-demo__stage { border-top: 3px solid var(--fin-orange); }
.home-accent { color: var(--orange-text); }
@media (max-width: 760px) { .home-capabilities .booking-demo { grid-template-columns: minmax(0, 1fr); } }
.founder { background: #f0f2f1; }
.founder__inner {
  display: grid;
  grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  gap: clamp(38px, 7vw, 96px);
  align-items: center;
}
.founder__portrait { margin: 0; }
.founder__portrait > a { display: block; }
.founder__portrait img { display: block; width: 100%; height: auto; filter: grayscale(1) contrast(1.04); }
.founder__copy { min-width: 0; }
.founder__bio { max-width: 55ch; margin: 22px 0 0; font-size: 17px; line-height: 1.66; color: var(--fog); }
.founder__links { display: flex; flex-wrap: wrap; gap: 10px; margin: 30px 0 0; }
.selected-work { background: #f7f8f8; }
.selected-work__all { justify-self: end; }
.work-stack { display: flex; flex-direction: column; gap: clamp(70px, 10vh, 108px); padding-bottom: 28px; }
.work-piece {
  position: sticky;
  min-height: min(70svh, 700px);
  overflow: hidden;
  border: 1px solid var(--hair-strong);
  border-radius: 16px 16px 0 0;
  background: var(--white);
  box-shadow: 0 -12px 32px rgba(9,38,59,.08);
}
.work-piece--1 { top: calc(var(--header-h) + 12px); z-index: 1; }
.work-piece--2 { top: calc(var(--header-h) + 24px); z-index: 2; }
.work-piece--3 { top: calc(var(--header-h) + 36px); z-index: 3; }
.work-piece--video .booking-demo {
  height: 100%;
  min-height: inherit;
  margin: 0;
  gap: 0;
  align-items: stretch;
  grid-template-columns: minmax(0, 1.18fr) minmax(340px, .82fr);
}
.work-piece--video .booking-demo__media {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(24px, 3.2vw, 42px);
  background: #dfe8ee;
}
.work-piece--2.work-piece--video .booking-demo__media { background: #e7ede3; }
.work-piece--3.work-piece--video .booking-demo__media { background: #e8edf1; }
.work-piece--video .booking-demo__copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 4.5vw, 58px);
}
.work-piece--video .booking-demo__copy :is(h2, h3) {
  max-width: 13ch;
  margin: 0 0 22px;
  font-size: clamp(34px, 4.2vw, 58px);
  letter-spacing: -.045em;
  line-height: .98;
}
.work-piece--video .booking-demo__copy > p:not(.booking-demo__more) { max-width: 44ch; font-size: 16px; line-height: 1.62; color: var(--fog); }
.work-piece--video .booking-demo__stage { box-shadow: 0 18px 42px rgba(9,38,59,.18); }
.work-piece--video .booking-demo__link img { max-height: none; object-fit: cover; box-shadow: none; }
.work-piece--video .booking-demo__note { color: var(--fog); }
.work-piece--video .booking-demo__note a,
.booking-demo__more a { color: var(--steel); font-weight: var(--fw-bold); }
.work-piece--video .booking-demo__more .text-link:is(:hover, :focus-visible) { color: var(--electric); }
.booking-demo__more { margin-top: 24px !important; }
.start { background: #dfe8ee; }
.start-band__title { max-width: 13ch; }
.start-band__reply { margin: 18px 0 0; max-width: 44ch; font-size: 16px; font-weight: var(--fw-bold); color: var(--ink); }
.start-band__contact { margin: 18px 0 0; font-size: 15px; color: var(--fog); }
.start-band__contact a { color: var(--steel); font-weight: var(--fw-bold); text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 900px) {
  .home-heading--split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .home-heading--split > p { max-width: 54ch; }
  .home-hero { min-height: 660px; }
  .home-hero__copy { width: min(680px, 86vw); }
  .home-hero__media { left: 42%; opacity: .42; }
  .work-models__grid,
  .home-capabilities__grid,
  .founder__inner { grid-template-columns: minmax(0, 1fr); }
  .work-models .home-heading--split { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .work-models .home-heading--split > p { max-width: 54ch; margin: 0; padding: 0; }
  .work-models__grid { grid-template-rows: none; row-gap: 0; }
  .work-model { grid-row: auto; grid-template-rows: none; row-gap: 20px; min-height: 0; }
  .work-model h3, .work-model > p:first-of-type { min-height: 0; }
  .work-model > a { margin-top: 8px; }
  .work-model + .work-model { border-top: 1px solid var(--hair-strong); border-left: 0; }
  .home-capability { padding-right: 0; }
  .home-capability + .home-capability { padding-left: 0; border-top: 1px solid rgba(255,255,255,.22); border-left: 0; }
  .founder__portrait { width: min(70vw, 430px); }
  .work-piece { position: relative; top: auto; min-height: 0; }
  .work-piece--video .booking-demo { grid-template-columns: minmax(0, 1fr); }
  .work-piece--video .booking-demo__media,
  .work-piece--video .booking-demo__copy { padding: clamp(22px, 5vw, 42px); }
}
@media (max-width: 700px) {
  .home-problems__head { align-items: flex-start; }
  .home-problem { grid-template-rows: 180px minmax(0, 1fr); flex-basis: clamp(280px, 82vw, 330px); min-height: 510px; }
  .home-problem__content { padding: 28px 24px 30px; }
  .home-problem__content h3 { max-width: 15ch; }
}
@media (min-width: 901px) and (max-height: 850px) {
  .home-hero { min-height: calc(100svh - var(--header-h)); }
  .home-hero__inner { padding-block: clamp(34px, 5vh, 54px); }
  .home-hero__copy { width: min(760px, 68vw); }
  .home-hero h1 { max-width: 14ch; font-size: clamp(60px, 5.8vw, 78px); line-height: .93; }
  .home-hero__copy > p { margin-top: 18px; font-size: clamp(18px, 1.55vw, 21px); }
  .home-hero__copy > .home-hero__location { margin-top: 10px; }
  .home-hero__actions { margin-top: 22px; }
}
@media (max-width: 600px) {
  .home-section { padding-block: 56px; }
  .home-hero { min-height: 650px; background-position: center, center, 72% 62%, center; }
  .home-hero__inner { align-items: end; padding-block: 54px 60px; }
  .home-hero__copy { width: 100%; }
  .home-hero h1 { max-width: 10ch; font-size: clamp(46px, 14vw, 66px); }
  .home-hero__copy > p { font-size: 18px; }
  .home-hero__media, .home-hero__credit { display: none; }
  .home-hero__background { object-position: 72% 62%; }
  .home-hero__actions { align-items: flex-start; flex-direction: column; }
  .home-problems__head { flex-direction: column; gap: 20px; }
  .home-problems__controls { align-self: flex-end; }
  .home-problems__control { width: 44px; height: 44px; }
  .work-model { min-height: 0; padding: 34px 24px; }
  .founder__portrait { width: 100%; }
  .selected-work__all { justify-self: start; margin: 0; }
  .work-stack { gap: 42px; }
  .work-piece { border-radius: 10px 10px 0 0; }
  .work-piece--video .booking-demo__media { padding: 14px; }
  .work-piece--video .booking-demo__copy { padding: 26px 20px; }
  .work-piece--video .booking-demo__copy :is(h2, h3) { font-size: clamp(31px, 10vw, 42px); }
}
@media (prefers-reduced-motion: reduce) {
  .home-hero__frame { animation: none !important; }
}
