:root {
  --bg: #f3f3f3;
  --ink: #1e1e1e;
  --muted: #5a6271;
  --line: #d0d8e4;
  --soft: #eef0f6;
  --white: #fff;
  --sans: "Funnel Display", system-ui, sans-serif;
  --mono: "Chivo Mono", ui-monospace, monospace;
  --r: 28px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: auto
}

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

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

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

.mono {
  font-family: var(--mono)
}

.small {
  font-size: 12px
}

.container {
  width: min(1520px, calc(100% - 48px));
  margin-inline: auto
}

.center {
  display: flex;
  justify-content: center;
  margin-top: 56px
}

/* viewport edge blur glow */
.edge-blur {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 90
}

.edge-blur i {
  position: absolute;
  background: rgba(150, 165, 240, .18);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px)
}

.edge-blur i:nth-child(1) {
  top: 0;
  left: 0;
  right: 0;
  height: 14px;
  -webkit-mask: linear-gradient(#000, transparent);
  mask: linear-gradient(#000, transparent)
}

.edge-blur i:nth-child(2) {
  bottom: 0;
  left: 0;
  right: 0;
  height: 14px;
  -webkit-mask: linear-gradient(transparent, #000);
  mask: linear-gradient(transparent, #000)
}

.edge-blur i:nth-child(3) {
  top: 0;
  bottom: 0;
  left: 0;
  width: 14px;
  -webkit-mask: linear-gradient(90deg, #000, transparent);
  mask: linear-gradient(90deg, #000, transparent)
}

.edge-blur i:nth-child(4) {
  top: 0;
  bottom: 0;
  right: 0;
  width: 14px;
  -webkit-mask: linear-gradient(270deg, #000, transparent);
  mask: linear-gradient(270deg, #000, transparent)
}

/* nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  z-index: 100;
  mix-blend-mode: difference;
  color: #fff
}

.nav__logo {
  font-weight: 800;
  font-size: 28px;
  line-height: 1
}

.nav__menu {
  position: relative;
  width: 26px;
  height: 26px;
  background: none;
  border: 0;
  cursor: pointer
}

.nav__menu span {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1.5px;
  background: #fff;
  transition: transform .5s var(--ease)
}

.nav__menu span:last-child {
  transform: rotate(90deg)
}

.nav__menu[aria-expanded=true] span:first-child {
  transform: rotate(45deg)
}

.nav__menu[aria-expanded=true] span:last-child {
  transform: rotate(-45deg)
}

.overlay {
  position: fixed;
  inset: 0;
  background: var(--ink);
  color: var(--bg);
  z-index: 95;
  display: grid;
  place-items: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path .8s var(--ease);
  visibility: hidden
}

.overlay.open {
  clip-path: inset(0 0 0 0);
  visibility: visible
}

.overlay ul {
  display: flex;
  flex-direction: column;
  gap: 24px;
  list-style: none;
  text-align: center
}

@media (min-width:1200px) {
  .overlay ul {
    gap: 48px
  }
}

.overlay a {
  display: inline-block;
  font-size: clamp(24px, 6vw, 34px);
  font-weight: 600;
  letter-spacing: -.04em;
  line-height: 1.05;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .45s ease, transform .55s var(--ease), filter .3s
}

.overlay.open a {
  opacity: 1;
  transform: translateY(0)
}

.overlay.open li:nth-child(1) a {
  transition-delay: .07s
}

.overlay.open li:nth-child(2) a {
  transition-delay: .14s
}

.overlay.open li:nth-child(3) a {
  transition-delay: .21s
}

.overlay.open li:nth-child(4) a {
  transition-delay: .28s
}

.overlay.open li:nth-child(5) a {
  transition-delay: .35s
}

.overlay.open li:nth-child(6) a {
  transition-delay: .42s
}

.overlay ul:hover a {
  opacity: .3;
  filter: blur(3px)
}

.overlay ul a:hover {
  opacity: 1;
  filter: none
}

@media (min-width:1200px) {
  .overlay a {
    font-size: 34px
  }
}

/* hero */
.hero {
  position: relative;
  min-height: 100vh;
  padding-top: 70px;
  padding-bottom: 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow: hidden
}

.hero__title {
  font-size: clamp(84px, 16vw, 220px);
  font-weight: 800;
  letter-spacing: -.06em;
  line-height: .9;
  margin-top: 2.5vh;
  display: flex;
  align-items: flex-start
}

.hero__title sup {
  font-size: .2em;
  font-weight: 600;
  letter-spacing: 0;
  margin: .35em 0 0 .1em
}

.hero__sub {
  font-size: 16px;
  margin: 2vh 0 4vh;
  letter-spacing: -.01em;
  color: var(--ink);
  opacity: .9
}

.hero__clock {
  position: absolute;
  left: 24px;
  top: 45%;
  transform: translateY(-50%) rotate(180deg);
  writing-mode: vertical-rl;
  font-size: 11px
}

.hero__social {
  position: absolute;
  right: 24px;
  top: 45%;
  transform: translateY(-50%);
  font-size: 10px;
  opacity: .9
}

.marquee {
  width: 100%;
  margin-top: auto;
  position: relative;
  overflow: hidden;
  display: flex;
  mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 4%, #000 96%, transparent 100%)
}

.marquee__track {
  display: flex;
  gap: 12px;
  width: max-content;
  will-change: transform, filter;
  padding: 0 20px
}

.pill {
  flex: none;
  width: clamp(145px, 11vw, 185px);
  height: clamp(460px, 53vh, 530px);
  border-radius: 90px;
  overflow: hidden;
  position: relative;
  background: #d5d8e0
}

.pill img,
.pill video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none
}

.hero__fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 240px;
  pointer-events: none;
  z-index: 6;
  background: linear-gradient(to bottom, rgba(243, 243, 243, 0) 0%, rgba(243, 243, 243, 0.2) 30%, rgba(243, 243, 243, 0.7) 65%, rgba(243, 243, 243, 0.98) 92%, var(--bg) 100%);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 35%, black 100%);
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.5) 35%, black 100%);
  transition: opacity .2s ease
}

/* intro */
.intro {
  padding: 12vh 0 8vh;
  text-align: center
}

.intro__text {
  max-width: 520px;
  margin: auto;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.2;
  letter-spacing: -.03em;
  font-weight: 500
}

/* headings */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px
}

.h2 {
  font-size: clamp(34px, 4.4vw, 56px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.02
}

.link {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  font-size: 14px;
  position: relative;
  padding-bottom: 3px
}

.link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--ink);
  transform: scaleX(.18);
  transform-origin: left;
  transition: transform .5s var(--ease)
}

.link:hover::after {
  transform: scaleX(1)
}

.link i {
  font-style: normal
}

/* projects */
.work {
  padding: 10vh 0
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 16px
}

@media (min-width:1200px) {
  .grid {
    gap: 48px
  }
}

.works-archive {
  min-height: 75vh;
  padding: 150px 0 10vh
}

.works-archive__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 40px
}

.works-archive__eyebrow {
  margin-bottom: 18px;
  color: var(--muted);
  text-transform: uppercase
}

.works-filters {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 40px
}

.work-filter {
  min-height: 76px;
  padding: 14px 16px;
  border: 1px solid transparent;
  border-radius: 20px;
  background: var(--c);
  color: var(--ink);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  text-align: left;
  cursor: pointer;
  transition: transform .35s var(--ease), border-color .25s
}

.work-filter:hover {
  transform: translateY(-3px)
}

.work-filter[aria-pressed=true] {
  border-color: rgba(30, 30, 30, .3)
}

.work-filter:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 3px
}

.work-filter__n {
  font: 400 10px var(--mono);
  opacity: .65
}

.work-filter__name {
  font: 700 11px var(--mono);
  text-transform: uppercase
}

@media (max-width:560px) {
  .works-filters {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .works-archive {
    padding-top: 120px
  }
}

.card {
  display: block
}

.card__media {
  position: relative;
  aspect-ratio: 1/1.02;
  border-radius: var(--r);
  overflow: hidden;
  clip-path: inset(0 round var(--r))
}

.card__media img,
.card__media .ph {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s
}

.card__media .ph {
  display: grid;
  place-items: center;
  font: 500 12px var(--mono);
  color: rgba(255, 255, 255, .75);
  letter-spacing: .1em
}

.card:hover .card__media img,
.card:hover .card__media .ph {
  transform: scale(1.07)
}

.card__meta {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px 14px;
  font: 400 11px var(--mono);
  text-transform: uppercase
}

.card__meta span:last-child {
  opacity: .6
}

/* services */
.services {
  padding: 10vh 0
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  padding: 0 0 6px
}

@media (min-width:1200px) {
  .cards {
    gap: 48px
  }
}

.svc {
  min-width: 0;
  height: min(54vh, 356px);
  border-radius: var(--r);
  padding: 30px 28px;
  background: var(--c);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .7s var(--ease)
}

.svc:hover {
  transform: translateY(-8px)
}

.svc__n {
  font: 400 12px var(--mono)
}

.svc__icon {
  align-self: center;
  width: 44px;
  height: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0
}

.svc__icon b {
  background: transparent;
  aspect-ratio: 1
}

.svc__icon b.on {
  background: #000
}

.svc h3 {
  font: 700 11px var(--mono);
  letter-spacing: .04em;
  margin-bottom: 8px
}

.svc p {
  font: 400 11px/1.5 var(--mono);
  opacity: .7
}

@media (max-width:1000px) {
  .cards {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }
}

@media (max-width:560px) {
  .cards {
    grid-template-columns: 1fr
  }
}

/* reviews */
.reviews {
  padding: 10vh 0
}

.reviews__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 36px;
  flex-wrap: wrap;
  gap: 24px
}

.reviews__meta {
  margin-top: 14px
}

.reviews__google-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--line);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .03);
  color: var(--ink)
}

.reviews__google-tag svg {
  flex-shrink: 0
}

.reviews__score {
  font-weight: 700;
  color: var(--ink)
}

.reviews__stars {
  color: #fbbc05;
  letter-spacing: 1px;
  font-size: 13px
}

.reviews__actions {
  display: flex;
  align-items: center;
  gap: 20px
}

.reviews__nav {
  display: flex;
  gap: 8px
}

.reviews__btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: all .3s var(--ease)
}

.reviews__btn:hover {
  background: var(--ink);
  color: var(--white);
  border-color: var(--ink);
  transform: scale(1.05)
}

.reviews__btn:active {
  transform: scale(.95)
}

.reviews__slider {
  position: relative;
  overflow: hidden;
  padding: 8px 0 20px;
  -webkit-mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 140px), transparent 100%);
  mask-image: linear-gradient(to right, #000 0%, #000 calc(100% - 140px), transparent 100%);
  transition: -webkit-mask-image .4s ease, mask-image .4s ease
}

.reviews__slider.has-left-fade {
  -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 50px, #000 calc(100% - 140px), transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, #000 50px, #000 calc(100% - 140px), transparent 100%)
}

.reviews__track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  user-select: none;
  padding: 0 0 6px 0
}

@media (min-width:1200px) {
  .reviews__track {
    gap: 48px
  }
}

.reviews__track::-webkit-scrollbar {
  display: none
}

.reviews__track.dragging {
  cursor: grabbing;
  scroll-behavior: auto
}

.rev-card {
  flex: none;
  width: clamp(300px, 36vw, 410px);
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, .06);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, .03);
  transition: transform .6s var(--ease), box-shadow .6s var(--ease)
}

.rev-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 34px rgba(0, 0, 0, .06)
}

.rev-card__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px
}

.rev-card__author {
  display: flex;
  align-items: center;
  gap: 12px
}

.rev-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  background: #eef0f6;
  display: grid;
  place-items: center;
  font-weight: 600;
  font-size: 13px;
  color: var(--ink);
  border: 1px solid var(--line);
  flex-shrink: 0
}

.rev-card__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink)
}

.rev-card__sub {
  font-size: 11px;
  color: var(--muted);
  margin-top: 2px
}

.rev-card__gmark {
  width: 20px;
  height: 20px;
  flex-shrink: 0
}

.rev-card__stars {
  color: #fbbc05;
  font-size: 13px;
  letter-spacing: 2px;
  margin: 12px 0 8px
}

.rev-card__text {
  font-size: 14px;
  line-height: 1.6;
  color: var(--ink);
  opacity: .9
}

.rev-card__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #f0f2f6;
  font-size: 11px;
  color: var(--muted)
}

.rev-card__verified {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #1e8e3e;
  font-weight: 500
}

/* faq */
.faq {
  padding: 10vh 0
}

.faq__item {
  border-top: 1px solid var(--line)
}

.faq__item:last-child {
  border-bottom: 1px solid var(--line)
}

.faq__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  background: none;
  border: 0;
  padding: 26px 4px;
  font: 500 clamp(18px, 2vw, 24px) var(--sans);
  letter-spacing: -.03em;
  text-align: left;
  cursor: pointer;
  color: var(--ink)
}

.faq__q i {
  font-style: normal;
  font-size: 24px;
  font-weight: 300;
  transition: transform .5s var(--ease)
}

.faq__item.open .faq__q i {
  transform: rotate(45deg)
}

.faq__a {
  height: 0;
  overflow: hidden
}

.faq__a p {
  padding: 0 4px 28px;
  max-width: 640px;
  color: var(--muted);
  line-height: 1.6
}

/* footer */
.footer {
  background: #e4e5ea;
  min-height: 100vh;
  margin-top: 8vh;
  padding: 36px 22px 28px;
  display: flex;
  flex-direction: column
}

@media (min-width:1200px) {

  .nav,
  .footer {
    padding-inline: 48px
  }
}

.footer__top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start
}

.footer__logo {
  font-weight: 800;
  font-size: 34px;
  line-height: 1
}

.footer__social {
  font-size: 12px
}

.footer__social span {
  opacity: .9
}

.footer__main {
  flex: 1;
  display: grid;
  grid-template-columns: 1fr minmax(300px, 420px);
  gap: 48px;
  align-items: center;
  padding: 6vh 0
}

.footer__lead {
  max-width: 470px;
  font-size: clamp(22px, 2.1vw, 28px);
  line-height: 1.18;
  letter-spacing: -.03em;
  font-weight: 500
}

.footer__lead em {
  font-style: normal;
  color: var(--muted)
}

.footer__mail {
  display: inline-block;
  margin-top: 44px;
  font-size: clamp(24px, 2.4vw, 32px);
  letter-spacing: -.04em;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px
}

.footer__mail::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 26px;
  height: 1.5px;
  background: var(--ink);
  transition: width .6s var(--ease)
}

.footer__mail:hover::after {
  width: 100%
}

.footer__title {
  font-size: clamp(38px, 4vw, 54px);
  font-weight: 500;
  letter-spacing: -.05em;
  line-height: 1.02
}

.footer__note {
  margin: 14px 0 28px;
  color: var(--muted)
}

.field {
  display: block
}

.field input {
  width: 100%;
  background: none;
  border: 0;
  border-bottom: 1px solid #b9bfca;
  padding: 18px 0;
  font: 400 16px var(--sans);
  color: var(--ink);
  outline: none;
  transition: border-color .3s
}

.field input:focus {
  border-color: var(--ink)
}

.field input::placeholder {
  color: var(--muted)
}

.send {
  width: 100%;
  margin-top: 26px;
  background: var(--ink);
  color: #fff;
  border: 0;
  border-radius: 16px;
  padding: 22px;
  font: 500 15px var(--sans);
  cursor: pointer;
  transition: transform .5s var(--ease), background .3s
}

.send:hover {
  transform: scale(1.02);
  background: #000
}

.form-msg {
  margin-top: 14px;
  min-height: 16px;
  color: var(--muted)
}

.footer__nav {
  display: flex;
  align-items: center;
  gap: 28px;
  font-size: 15px
}

.footer__nav a {
  transition: opacity .3s
}

.footer__nav a:hover {
  opacity: .5
}

.footer__copy {
  margin-left: auto;
  opacity: .6
}

.sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0)
}

@media (max-width:809px) {
  .footer__main {
    grid-template-columns: 1fr
  }

  .footer__nav {
    flex-wrap: wrap;
    gap: 14px 22px
  }

  .footer__copy {
    margin-left: 0;
    width: 100%
  }
}

/* floating button */
.fab {
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 80;
  background: #000;
  color: #fff;
  padding: 12px 18px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 500;
  transition: transform .4s var(--ease)
}

.fab:hover {
  transform: translateY(-3px)
}

/* reveal helper */
.reveal .ln {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  padding-bottom: .12em;
  margin-bottom: -.12em
}

.reveal .ln>span {
  display: inline-block
}

@media (max-width:809px) {
  .grid {
    grid-template-columns: 1fr
  }

  .hero__clock,
  .hero__social {
    display: none
  }

  .footer__bar {
    flex-direction: column;
    gap: 8px
  }

  .reviews__slider {
    padding: 4px 0 16px
  }

  .rev-card {
    width: clamp(270px, 82vw, 360px);
    padding: 26px 22px
  }
}

@media (prefers-reduced-motion:reduce) {
  * {
    transition: none !important
  }
}