:root {
  --paper: #ffffff;
  --ink: #050505;
  --signature: #313131;
  --mute: #c3c3c3;
  --mute-letter: #c1c1c1;
  --line: #e8e8e8;
  --font-ui: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-serif: "Fraunces", "Times New Roman", serif;
  --font-mono: "Red Hat Mono", ui-monospace, monospace;
  --pad: 1.2vw;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
  overflow-x: hidden;
}

body {
  min-height: 100%;
}

a,
a:visited,
a:hover,
a:focus {
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 24px;
}

a:hover {
  color: var(--mute);
}

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

p {
  margin: 0;
}

.home-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  height: 100svh;
  background: var(--paper);
  overflow: hidden;
}

.nav-bar {
  z-index: 30;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: start;
  width: 100%;
  padding: 1vw var(--pad) 0;
}

.nav-bar__left {
  justify-self: start;
}

.nav-bar__center {
  justify-self: center;
}

.nav-bar__right {
  justify-self: end;
}

.nav-link {
  position: relative;
  display: inline-block;
  height: 1.5em;
  overflow: hidden;
  line-height: 1.5em;
  color: var(--ink);
}

.nav-link span {
  display: block;
  height: 1.5em;
  line-height: 1.5em;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.nav-link:hover {
  color: var(--ink);
}

.nav-link:hover span {
  transform: translateY(-100%);
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  height: auto;
}

.nav-logo img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 168px;
  object-fit: contain;
}

.nav-link.is-mark {
  height: 1.15em;
  font-size: 24px;
  line-height: 1.15em;
  font-weight: 300;
}

.nav-link.is-mark span {
  height: 1.15em;
  line-height: 1.15em;
}

.nav-mark {
  width: 22px;
  height: 22px;
  display: block;
  object-fit: contain;
}

.hero-middle {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 var(--pad);
}

.letter-grid-container {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 20px;
  background: transparent;
  width: 100%;
  cursor: default;
  user-select: none;
}

.letter-grid {
  display: flex;
  flex-direction: column;
  gap: 1.8vw;
  max-width: 100%;
  margin: 0 auto;
}

.letter-grid__row {
  display: grid;
  grid-template-columns: repeat(5, minmax(40px, 80px));
  gap: 0.85vw;
  justify-content: center;
}

.letter-cell {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: clamp(21.5px, 22.5px, 23.5px);
  color: #c1c1c1;
  font-kerning: none;
  font-feature-settings: "liga" 0;
}

.letter-cell span {
  display: block;
  position: relative;
  font-family: var(--font-mono);
  font-weight: 300;
  transition: none;
  will-change: transform, opacity;
}

.home-hero .letter-grid__row:nth-child(2) .letter-cell:nth-child(2) span,
.home-hero .letter-grid__row:nth-child(2) .letter-cell:nth-child(3) span,
.home-hero .letter-grid__row:nth-child(2) .letter-cell:nth-child(4) span {
  font-family: var(--font-serif);
  font-size: clamp(42px, 43px, 44px);
  font-weight: 600;
  font-optical-sizing: auto;
  color: #313131;
}

.hero-base {
  display: flex;
  justify-content: center;
  align-items: end;
  padding: 0 var(--pad) 1vw;
}

.hero-base__cta {
  text-align: center;
  padding-bottom: 2px;
}

.clients-band {
  background: var(--paper);
  padding: 4vh 0 16vh;
  overflow: hidden;
}

.clients-carousel {
  position: relative;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0 8px 44px;
}

.clients-swiper {
  width: 100%;
  overflow: hidden;
}

.clients-swiper .swiper-wrapper {
  align-items: stretch;
}

.clients-swiper .swiper-slide {
  height: 70vh;
  margin: 0 !important;
}

@media (min-width: 769px) {
  .clients-swiper .swiper-slide {
    width: 50% !important;
  }
}

.client-panel {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--paper);
}

.clients-swiper .client-mark {
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  object-fit: cover;
  transform: scale(1.12);
  opacity: 1;
  filter: invert(1);
  transition: opacity 0.5s ease;
}

.client-mark:hover {
  opacity: 1;
}

.clients-arrow {
  position: absolute;
  bottom: 0;
  z-index: 12;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.clients-arrow img {
  display: block;
  width: 80px;
  height: 22px;
  object-fit: contain;
  opacity: 0.5;
  transition: opacity 0.35s ease;
}

.clients-arrow:hover img {
  opacity: 1;
}

.clients-arrow--prev {
  left: 1%;
  transform: rotateY(180deg);
}

.clients-arrow--next {
  right: 1%;
}

.clients-band__cta {
  display: flex;
  justify-content: center;
  margin-top: 1.2vh;
  padding: 0 var(--pad);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  padding: 0 var(--pad) 1.2vw;
  min-height: 18vh;
  color: var(--ink);
}

.site-footer__social {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
  justify-self: start;
}

.site-footer__brand img {
  height: 28px;
  width: auto;
}

.site-footer__mail {
  justify-self: center;
  max-width: 22em;
  text-align: center;
  line-height: 1.45;
}

.site-footer__copy {
  justify-self: end;
  color: var(--mute);
}

.page-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.page-shell .nav-bar {
  position: relative;
}

.page-main {
  flex: 1;
  padding: 8vh var(--pad) 12vh;
}

.page-main--about {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12vh var(--pad);
}

.about-layout {
  width: 100%;
  max-width: 40em;
}

.about-copy {
  margin: 0 auto;
  color: var(--ink);
  text-align: center;
  font-size: clamp(17px, 1.4vw, 21px);
  line-height: 1.72;
  font-weight: 400;
}

.about-copy p + p {
  margin-top: 1.65em;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.archive-grid figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 248px;
  padding: 1.15rem 1rem;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.archive-grid figure:nth-child(3n) {
  border-right: none;
}

.archive-grid img {
  height: 168px;
  width: auto;
  max-width: 98%;
  object-fit: contain;
  opacity: 0.95;
  filter: invert(1);
}

.talk-hero {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  height: 100svh;
  background: #050505;
  color: #c3c3c3;
  overflow: hidden;
}

.talk-hero .nav-link,
.talk-hero a,
.talk-hero a:visited,
.talk-hero a:hover,
.talk-hero a:focus {
  color: #ffffff;
}

.talk-hero a:hover {
  color: #c3c3c3;
}

.talk-hero .nav-logo img {
  filter: invert(1);
}

.talk-hero .letter-grid__row:nth-child(2) .letter-cell span,
.talk-hero .letter-grid__row:nth-child(3) .letter-cell span {
  font-family: var(--font-serif);
  font-size: clamp(42px, 43px, 44px);
  font-weight: 600;
  font-optical-sizing: auto;
  color: #ffffff;
}

.talk-hero__base {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  align-items: end;
  padding: 0 var(--pad) 1.2vw;
}

.talk-hero__note {
  justify-self: center;
  max-width: 22em;
  text-align: center;
  line-height: 1.45;
}

.talk-hero__copy {
  justify-self: end;
  color: #c3c3c3;
}

.page-main .site-footer {
  padding-left: 0;
  padding-right: 0;
  margin-top: 16vh;
}

[data-aos] {
  pointer-events: auto;
}
