* {
  box-sizing: border-box;
}

html {
  scroll-behavior: auto;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--p-bg);
  color: var(--p-ink);
  -webkit-font-smoothing: antialiased;
}

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

figure {
  margin: 0;
}

.nav {
  background: color-mix(in oklab, var(--p-bg) 90%, transparent);
  backdrop-filter: blur(18px);
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: var(--display-tracking);
}

.nav__logo-image {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.hero--statement {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
}

.hero-statement-copy {
  max-width: 880px;
  margin-inline: auto;
}

.hero--statement .hero__in {
  align-items: center;
  text-align: center;
}

.hero--statement :is(h1, .hero__lead) {
  margin-inline: auto;
}

.hero--statement .btn-row {
  justify-content: center;
}

.hero--statement .hero__kicker {
  justify-content: center;
}

.hero--statement .hero__facts {
  width: 100%;
  text-align: center;
}

.hero--statement .hero__facts > div {
  justify-items: center;
}

.hero--statement .hero__facts dd {
  color: var(--ink);
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 500;
  letter-spacing: var(--display-tracking);
}

.work-section {
  --h: 1;
  --hm: 2;
  --padt: 64px;
}

.work-section .section-head > p {
  max-width: 38ch;
}

.work-section .section-head--row {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.work-section .section-head--row > div {
  grid-column: 1 / span 5;
}

.work-section .section-head--row > p {
  grid-column: 7 / -1;
}

.work-slider {
  min-width: 0;
}

.work-slider__bar {
  display: grid;
  grid-template-columns: minmax(80px, 1fr) auto auto;
  align-items: center;
  gap: var(--s-5);
  margin-bottom: var(--s-5);
}

.work-slider__progress {
  height: 1px;
  overflow: hidden;
  background: var(--line);
}

.work-slider__progress span {
  display: block;
  height: 100%;
  background: var(--accent);
  transition: width 240ms var(--ease);
}

.work-slider__count {
  min-width: 60px;
  color: var(--muted);
  font-size: var(--t-small);
  text-align: right;
}

.work-slider__count span {
  color: var(--ink);
  font-weight: 600;
}

.work-slider__buttons {
  display: flex;
  gap: var(--s-2);
}

.work-slider__button {
  width: 44px;
  min-width: 44px;
  padding: 0;
}

.work-slider__button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.work-slider__button:disabled {
  cursor: default;
  opacity: 0.36;
}

.work-slider__rail {
  display: grid;
  min-width: 0;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - (3 * var(--gutter))) / 4);
  gap: var(--gutter);
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
  touch-action: pan-x pan-y;
}

.work-slider__rail::-webkit-scrollbar {
  display: none;
}

.work-slide {
  min-width: 0;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.work-slide__media {
  width: 100%;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: #0b0c0a;
}

.work-slide video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #0b0c0a;
}

.work-section__link {
  margin-top: var(--s-4);
}

.services-head {
  width: 100%;
  max-width: 760px;
  margin-inline: auto;
  justify-items: center;
  text-align: center;
}

.services-lead {
  max-width: 38ch;
  color: var(--muted);
  font-size: var(--t-lead);
  line-height: 1.5;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1080px;
  margin: 0 auto;
  padding: 0;
  column-gap: var(--gutter);
  list-style: none;
}

.service-grid li {
  display: flex;
  min-height: 196px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  text-align: center;
}

.service-grid__status {
  color: var(--muted);
  font-size: var(--t-label);
}

.service-grid h3 {
  font-size: var(--t-lead);
}

.service-grid p {
  max-width: 34ch;
  margin-top: var(--s-2);
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.55;
}

.services-link {
  display: flex;
  width: fit-content;
  margin-top: var(--s-5);
  margin-inline: auto;
}

.process-story {
  --h: 1;
  background: var(--surface);
}

.process-inner {
  display: flex;
  height: 100%;
  align-items: center;
  flex-direction: column;
  text-align: center;
}

.process-inner > .t-label {
  margin-bottom: var(--s-6);
  color: var(--muted);
}

.process-inner .mo-wh__text {
  max-width: 1060px;
  margin-inline: auto;
  font-size: clamp(30px, 3.6vw, 48px);
  line-height: 1.06;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: auto 0 0;
  padding: 0;
  gap: var(--gutter);
  list-style: none;
  width: 100%;
}

.process-steps li {
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
  text-align: center;
}

.process-steps li > span {
  color: var(--muted);
  font-size: var(--t-label);
}

.process-steps h3 {
  margin-top: var(--s-4);
  font-size: var(--t-lead);
}

.process-steps p {
  max-width: 30ch;
  margin-top: var(--s-2);
  margin-inline: auto;
  color: var(--muted);
  line-height: 1.5;
}

.pricing-section,
.faq-section {
  --hm: 2;
}

.services-section {
  --padt: 80px;
}

.pricing-section {
  --padt: 72px;
}

.pricing-intro > * + * {
  margin-top: var(--s-4);
}

.pricing-intro {
  grid-column: 3 / span 8;
  min-height: 0;
  margin: 0 auto;
  justify-items: center;
  text-align: center;
}

.pricing-layout {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-content: center;
  gap: var(--s-6) var(--gutter);
}

main > section.pricing-section > .wrap.pricing-layout {
  display: grid;
}

.pricing-note {
  max-width: 28ch;
  padding-top: var(--s-4);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: var(--t-small);
}

.pricing-section .plan {
  min-height: 460px;
}

.pricing-section .plan:first-of-type {
  grid-column: 3 / span 4;
}

.pricing-section .plan:last-of-type {
  grid-column: 7 / span 4;
}

.plan {
  gap: 0;
  text-align: center;
}

.plan__name {
  display: flex;
  height: 24px;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  justify-content: center;
}

.plan__price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-top: 20px;
  color: var(--ink);
  font: 600 44px/1 var(--font-display);
  letter-spacing: -0.04em;
  justify-content: center;
}

.plan__price small {
  color: var(--muted);
  font: 400 14px/20px var(--font-text);
  letter-spacing: 0;
}

.plan__for {
  min-height: 2lh;
  margin-top: 12px;
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
}

.plan__btn {
  display: inline-flex;
  height: var(--btn-h);
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  border-radius: var(--r-btn);
  font: 500 14px/1 var(--font-text);
}

.plan__list {
  display: grid;
  margin: 24px 0 0;
  padding: 20px 0 0;
  gap: 10px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 16px;
  line-height: 24px;
  list-style: none;
  width: 100%;
  max-width: 310px;
  margin-inline: auto;
  text-align: left;
}

.plan__list li {
  display: flex;
  gap: 10px;
}

.plan__list li::before {
  content: "";
  width: 16px;
  height: 16px;
  margin-top: 4px;
  flex: none;
  background: var(--ink);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.8 2.8 6.2-6.4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='m3.5 8.4 2.8 2.8 6.2-6.4' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.plan__badge {
  display: inline-flex;
  height: 22px;
  align-items: center;
  padding: 0 8px;
  border-radius: 6px;
  color: var(--ink);
  font: 500 var(--t-label)/1 var(--font-text);
}

.pricing-section .plan__btn {
  margin-top: var(--s-6);
}

.pricing-section .plan__list {
  margin-top: var(--s-6);
}

.pricing-section .plan.is-featured {
  border-color: var(--accent);
  background: var(--surface);
}

.pricing-section .plan__badge {
  background: color-mix(in oklab, var(--accent) 22%, transparent);
  box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--accent) 45%, transparent);
}

.pricing-section .plan.is-featured .plan__price small {
  color: var(--ink);
}

.pricing-section .plan {
  transition: transform 180ms var(--ease), border-color 180ms var(--ease);
}

.pricing-section .plan:hover,
.pricing-section .plan:focus-within {
  transform: translateY(-2px);
}

.faq-section .section-head .link {
  margin-top: var(--s-5);
}

.faq-layout {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
}

.faq-layout .section-head {
  margin-inline: auto;
  justify-items: center;
}

.faq-section .faq {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--gutter);
}

.faq-section .faq > .faq__item {
  padding-block: 12px;
  text-align: left;
}

.faq__item h3 {
  max-width: 32ch;
}

.faq__item p {
  max-width: 54ch;
}

.close--type .section-head p {
  margin-top: var(--s-2);
  color: var(--muted);
}

.closing__cta {
  align-items: center;
  text-align: center;
}

.close--type .section-head {
  margin-inline: auto;
  justify-items: center;
}

.closing__links,
.closing__links .grid,
.footer-company,
.footer__col,
.footer__legal {
  text-align: center;
}

.footer__legal {
  justify-content: center;
  gap: var(--s-5);
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-3);
  font: var(--display-weight) 48px/1 var(--font-display);
  letter-spacing: var(--display-tracking-xl);
  justify-content: center;
}

.footer-company .footer__lede {
  margin-top: var(--s-5);
}

html[data-buttons="tonal"] .btn--secondary {
  border: 1px solid var(--line-strong);
  background: transparent;
  box-shadow: inset 0 0 0 1px var(--ink);
}

.nav__link[aria-current="true"] {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 6px;
}

@media (hover: hover) {
  .work-slide video {
    transition: transform 360ms var(--ease);
  }

  .work-slide:hover video {
    transform: scale(1.02);
  }
}

@media (max-width: 1023px) {
  .work-slider__rail {
    grid-auto-columns: calc((100% - var(--gutter)) / 2);
  }

  .pricing-intro {
    grid-column: 1 / -1;
    min-height: 0;
  }

  .pricing-section .plan {
    min-height: 440px;
  }

  .pricing-section .plan:first-of-type {
    grid-column: 1 / span 6;
  }

  .pricing-section .plan:last-of-type {
    grid-column: 7 / span 6;
  }
}

@media (max-width: 639px) {
  .work-section {
    --padt: 148px;
  }

  .nav__actions {
    display: none;
  }

  .work-section .section-head--row {
    display: block;
  }

  .work-slider__bar {
    grid-template-columns: minmax(60px, 1fr) auto auto;
    gap: var(--s-3);
  }

  .work-slider__rail {
    grid-auto-columns: min(82vw, 300px);
  }

  .services-head,
  .service-grid,
  .process-steps {
    display: block;
  }

  .services-lead {
    margin-top: var(--s-4);
  }

  .service-grid li {
    min-height: 0;
  }

  .service-grid__status {
    grid-column: auto;
  }

  .process-inner .mo-wh__text {
    font-size: 30px;
  }

  .process-steps {
    margin-top: var(--s-8);
  }

  .process-steps li + li {
    margin-top: var(--s-6);
  }

  .pricing-section .plan {
    grid-column: 1 / -1;
    min-height: 480px;
  }

  .pricing-section .plan:first-of-type,
  .pricing-section .plan:last-of-type {
    grid-column: 1;
  }

  .pricing-layout {
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
  }

  .pricing-intro {
    grid-column: 1;
  }

  .pricing-section .plan.is-featured {
    transform: none;
  }

  .pricing-section .plan__price {
    font-size: 32px;
  }

  .faq-section {
    border-top: 1px solid var(--line);
  }

  .faq-section .faq {
    display: block;
  }

  .footer-brand {
    font-size: 30px;
    min-height: 44px;
  }

  .btn,
  .btn--xl,
  .plan__btn,
  .nav .btn {
    font-size: 15px;
  }
}

/* Compact page rhythm: sections size to their content instead of filling entire screens. */
main#main-content > section.hero,
main#main-content > section.section,
footer#contact.closing {
  height: auto;
  min-height: 0;
}

main#main-content > section.hero {
  padding: 112px 0 64px;
}

main#main-content > section.section {
  padding: 64px 0;
}

footer#contact.closing {
  padding: 64px 0 40px;
}

main#main-content > section > .wrap,
footer#contact.closing > .wrap,
.hero > .wrap > .hero-text,
.process-inner,
.faq-layout {
  height: auto;
  min-height: 0;
}

.hero--statement .hero__in {
  justify-content: flex-start;
}

.hero--statement .hero__facts {
  margin-top: 56px;
}

main#main-content > section.section .section-head {
  margin-bottom: 32px;
}

.service-grid li {
  min-height: 160px;
}

.process-steps {
  margin-top: 48px;
}

.pricing-section .plan {
  min-height: 400px;
}

.closing__cta {
  gap: 24px;
}

footer#contact.closing > .wrap {
  row-gap: 48px;
}

@media (max-width: 639px) {
  main#main-content > section.hero {
    padding: 96px 0 48px;
  }

  main#main-content > section.section {
    padding: 48px 0;
  }

  footer#contact.closing {
    padding: 48px 0 32px;
  }

  .nav__logo-image {
    width: 32px;
    height: 32px;
  }

  .process-steps {
    margin-top: 40px;
  }

  .pricing-section .plan {
    min-height: 420px;
  }
}

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

  .work-slide video,
  .work-slider__progress span {
    transition: none;
  }
}

