:root {
  --bg: #ece7dc;
  --paper: #f7f3ec;
  --surface: #e1dacb;
  --fg: #1a1c16;
  --fg-2: #45473c;
  --mute: #66655a;
  --line: rgba(26, 28, 22, .13);
  --line-2: rgba(26, 28, 22, .36);
  --accent: #5a6135;
  --on-accent: #f7f3ec;
  --bar: rgba(236, 231, 220, .93);
  --media: #d5cebe;
  --lift: 0 1.25rem 3rem rgba(38, 34, 22, .16);
  --leaf: .2;
  --ink-inv: 0;
  --ink-theme: 0;
  --grain: url("../assets/img/grain.png");
  --display: "Prata", "Didot", "Bodoni MT", "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: "Jost", "Futura", "Avenir Next", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --pad: clamp(1.25rem, 3.2vw, 3.25rem);
  --gap: clamp(1rem, 1.8vw, 1.75rem);
  --sec: clamp(5rem, 10vw, 9.5rem);
  --top: 5.25rem;
  --ease: cubic-bezier(.2, .7, .1, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  color-scheme: light;
}

:root[data-theme="dark"],
.section--alt,
.foot {
  --bg: #10140f;
  --paper: #1c2219;
  --surface: #171c15;
  --fg: #ece6d8;
  --fg-2: #c0baab;
  --mute: #918e7e;
  --line: rgba(236, 230, 216, .13);
  --line-2: rgba(236, 230, 216, .34);
  --accent: #cda66e;
  --on-accent: #10140f;
  --bar: rgba(16, 20, 15, .88);
  --media: #232a20;
  --lift: 0 1.25rem 3rem rgba(0, 0, 0, .45);
  --leaf: .55;
  --ink-inv: .93;
}

:root[data-theme="dark"] {
  --ink-theme: .93;
  color-scheme: dark;
}

.section--alt {
  --bg: #1b2018;
}

.foot {
  --bg: #141811;
}

:root[data-theme="dark"] .section--alt {
  --bg: #181e16;
}

:root[data-theme="dark"] .foot {
  --bg: #0b0e0a;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme]) {
    --bg: #10140f;
    --paper: #1c2219;
    --surface: #171c15;
    --fg: #ece6d8;
    --fg-2: #c0baab;
    --mute: #918e7e;
    --line: rgba(236, 230, 216, .13);
    --line-2: rgba(236, 230, 216, .34);
    --accent: #cda66e;
    --on-accent: #10140f;
    --bar: rgba(16, 20, 15, .88);
    --media: #232a20;
    --lift: 0 1.25rem 3rem rgba(0, 0, 0, .45);
    --leaf: .55;
    --ink-inv: .93;
    --ink-theme: .93;
    color-scheme: dark;
  }

  :root:not([data-theme]) .section--alt {
    --bg: #181e16;
  }

  :root:not([data-theme]) .foot {
    --bg: #0b0e0a;
  }

  :root:not([data-theme]) .sheet {
    padding: clamp(.6rem, 1.4vw, 1.4rem);
    background-color: #ece7dc;
    background-image: none;
  }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

html.is-locked {
  overflow: hidden;
}

body {
  margin: 0;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1.08rem;
  line-height: 1.7;
  font-synthesis: none;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

.theme-anim,
.theme-anim *,
.theme-anim *::before,
.theme-anim *::after {
  transition: background-color .5s ease, color .5s ease, border-color .5s ease, box-shadow .5s ease, fill .5s ease, stroke .5s ease !important;
}

::selection {
  background: var(--accent);
  color: var(--on-accent);
}

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

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
ul,
ol,
dl,
dd,
figure,
address {
  margin: 0;
  padding: 0;
  font-style: normal;
  font-weight: 400;
}

strong {
  font-weight: 400;
}

ul,
ol {
  list-style: none;
}

:focus-visible {
  outline: 1px solid currentColor;
  outline-offset: 4px;
}

.wrap {
  position: relative;
  width: 100%;
  max-width: 1720px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

.label {
  display: block;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.6;
  color: var(--mute);
}

.skip {
  position: fixed;
  top: .75rem;
  left: .75rem;
  z-index: 300;
  padding: .7rem 1.1rem;
  background: var(--fg);
  color: var(--bg);
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  transform: translateY(-250%);
}

.skip:focus {
  transform: none;
}

.line {
  display: block;
  overflow: hidden;
  padding: .12em 0 .2em;
  margin: -.12em 0 -.2em;
}

.line > span {
  display: block;
}

.tone img {
  filter: grayscale(1) contrast(1.05);
  transition: filter 1.1s var(--ease), transform 1.6s var(--ease);
}

.tone:hover img,
.tone.is-live img,
.work__link:hover .tone img,
.work__link:focus-visible .tone img {
  filter: grayscale(0) contrast(1);
}

.sheet {
  background-color: var(--bg);
  background-image: var(--grain);
  isolation: isolate;
}

.sheet img {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

[data-theme="dark"] .sheet {
  padding: clamp(.6rem, 1.4vw, 1.4rem);
  background-color: #ece7dc;
  background-image: none;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
}

.logo__mark,
.logo__word,
.intro__mark,
.intro__word,
.intro__leaf,
.enso {
  display: block;
  flex: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
}

.logo__mark,
.logo__word,
.intro__mark,
.intro__word,
.enso {
  filter: invert(var(--ink-inv));
}

.logo__mark,
.enso {
  background-image: url("../assets/img/logo-mark.png");
}

.logo__word {
  background-image: url("../assets/img/logo-word-sm.png");
}

.logo--lg .logo__word {
  background-image: url("../assets/img/logo-word-md.png");
}

.intro__word {
  background-image: url("../assets/img/logo-word.png");
}

.logo__mark {
  width: 3.1rem;
  height: 3.1rem;
  transition: transform 1.1s var(--ease), filter .45s ease;
}

@media (hover: hover) {
  .logo:hover .logo__mark {
    transform: rotate(-32deg);
  }
}

.logo__word {
  width: 8.1rem;
  height: 2.45rem;
  transition: filter .45s ease;
}

.logo--lg {
  gap: 1.1rem;
}

.logo--lg .logo__mark {
  width: 4.6rem;
  height: 4.6rem;
}

.logo--lg .logo__word {
  width: 11.25rem;
  height: 3.4rem;
}

.enso {
  position: absolute;
  pointer-events: none;
  opacity: .07;
}

.intro {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 200;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--fg);
  animation: intro-out .8s var(--ease-io) 2.35s forwards;
}

.intro__leaf {
  position: absolute;
  top: -5%;
  left: -5%;
  width: 110%;
  height: 110%;
  background-image: url("../assets/img/leaf.png");
  background-size: cover;
  opacity: 0;
  filter: opacity(var(--leaf));
  transform: scale(1.07) translate(-1.2%, .8%);
  animation: leaf-in 3s ease-out forwards;
}

.intro__lockup {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 1.5rem;
  animation: lockup-out .8s var(--ease-io) 2.35s forwards;
}

.intro__mark {
  width: clamp(9.5rem, 26vmin, 17rem);
  height: clamp(9.5rem, 26vmin, 17rem);
}

.intro__mark svg {
  width: 100%;
  height: 100%;
  overflow: visible;
}

.intro__mark path {
  fill: none;
  stroke: #fff;
  stroke-width: 22;
  stroke-dasharray: 287;
  stroke-dashoffset: 287;
  animation: brush 1.55s cubic-bezier(.45, .05, .2, 1) .2s forwards;
}

.intro__word {
  width: clamp(13.5rem, 36vmin, 19rem);
  height: clamp(4.08rem, 10.9vmin, 5.74rem);
  margin-top: 1.75rem;
  opacity: 0;
  transform: translateY(.75rem);
  animation: settle .75s var(--ease) 1.3s forwards;
}

.intro__tag {
  margin-top: 1.35rem;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .2em;
  text-align: center;
  color: var(--mute);
  opacity: 0;
  animation: fade .6s ease 1.6s forwards;
}

@keyframes brush {
  to { stroke-dashoffset: 0; }
}

@keyframes leaf-in {
  35% { opacity: 1; }
  to { opacity: 1; transform: none; }
}

@keyframes settle {
  to { opacity: 1; transform: none; }
}

@keyframes rise {
  to { transform: translateY(0); }
}

@keyframes fade {
  to { opacity: 1; }
}

@keyframes intro-out {
  to { transform: translateY(-100%); visibility: hidden; }
}

@keyframes lockup-out {
  to { transform: translateY(45vh); }
}

.top {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 120;
  width: 100%;
  height: var(--top);
  display: flex;
  align-items: center;
  padding: 0 var(--pad);
  color: #fff;
  transition: background-color .45s ease, color .45s ease, box-shadow .45s ease, height .45s var(--ease);
}

.top {
  --ink-inv: 1;
}

.top.is-solid,
.top.is-menu {
  --ink-inv: var(--ink-theme);
}

.top.is-solid {
  height: calc(var(--top) - .75rem);
  background: var(--bar);
  color: var(--fg);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
}

.top.is-menu {
  height: var(--top);
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.nav {
  display: flex;
  gap: clamp(1.5rem, 2.8vw, 3rem);
  margin-left: auto;
}

.nav a {
  position: relative;
  padding: .85rem 0;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.nav a::after,
.contact__list a::after,
.foot a::after,
.menu__foot a::after,
.cases__crumb a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: .35rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}

.nav a:hover::after,
.nav a.is-current::after,
.contact__list a:hover::after,
.foot a:hover::after,
.menu__foot a:hover::after,
.cases__crumb a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.top.is-solid .nav a.is-current {
  color: var(--accent);
}

.foot .logo {
  display: inline-flex;
}

.foot .logo::after {
  content: none;
}

.top__tools {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-left: clamp(1.25rem, 2.6vw, 2.75rem);
}

.theme,
.burger {
  position: relative;
  width: 2.6rem;
  height: 2.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme {
  border: 1px solid currentColor;
  border-radius: 50%;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

.top:not(.is-solid):not(.is-menu) .theme {
  border-color: rgba(255, 255, 255, .45);
}

.top.is-solid .theme,
.top.is-menu .theme {
  border-color: var(--line-2);
}

.theme svg,
.menu__theme svg {
  width: 1.1rem;
  height: 1.1rem;
  transition: transform .7s var(--ease);
}

.theme circle,
.menu__theme circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
}

.theme path,
.menu__theme path {
  fill: currentColor;
}

@media (hover: hover) {
  .theme:hover svg {
    transform: rotate(40deg);
  }
}

[data-theme="dark"] .theme svg,
[data-theme="dark"] .menu__theme svg {
  transform: rotate(180deg);
}

@media (hover: hover) {
  [data-theme="dark"] .theme:hover svg {
    transform: rotate(220deg);
  }
}

.burger {
  display: none;
}

.burger i {
  position: absolute;
  left: .45rem;
  width: 1.7rem;
  height: 1px;
  background: currentColor;
  transition: transform .45s var(--ease), top .45s var(--ease), width .45s var(--ease);
}

.burger i:nth-child(1) { top: 1.05rem; }
.burger i:nth-child(2) { top: 1.5rem; width: 1.1rem; left: 1.05rem; }

.burger[aria-expanded="true"] i:nth-child(1) { top: 1.28rem; transform: rotate(45deg); }
.burger[aria-expanded="true"] i:nth-child(2) { top: 1.28rem; left: .45rem; width: 1.7rem; transform: rotate(-45deg); }

.menu {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 110;
  width: 100%;
  height: 100%;
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--fg);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  transform: translateY(-100%);
  visibility: hidden;
  transition: transform .7s var(--ease-io), visibility 0s .7s;
}

.menu.is-open {
  transform: translateY(0);
  visibility: visible;
  transition: transform .7s var(--ease-io), visibility 0s;
}

.menu__inner {
  position: relative;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 3rem;
  padding: calc(var(--top) + 2rem) var(--pad) 2rem;
  overflow: hidden;
}

.enso--menu {
  right: -7.5rem;
  bottom: 4rem;
  width: 22rem;
  height: 22rem;
}

.menu__list,
.menu__foot {
  position: relative;
}

.menu__list li {
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.menu__list li:first-child {
  border-top: 1px solid var(--line-2);
}

.menu__list a {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  padding: 1.05rem 0 1.15rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 9.4vw, 3.4rem);
  letter-spacing: -.015em;
  line-height: 1.15;
  transform: translateY(115%);
  transition: transform .8s var(--ease);
}

.menu__list a span {
  min-width: 1.6rem;
  font-family: var(--sans);
  font-size: .76rem;
  letter-spacing: .2em;
  color: var(--accent);
}

.menu.is-open .menu__list a {
  transform: translateY(0);
}

.menu.is-open .menu__list li:nth-child(1) a { transition-delay: .25s; }
.menu.is-open .menu__list li:nth-child(2) a { transition-delay: .31s; }
.menu.is-open .menu__list li:nth-child(3) a { transition-delay: .37s; }
.menu.is-open .menu__list li:nth-child(4) a { transition-delay: .43s; }
.menu.is-open .menu__list li:nth-child(5) a { transition-delay: .49s; }

.menu__foot {
  display: grid;
  gap: 1.1rem;
  font-size: .98rem;
  color: var(--fg-2);
}

.menu__foot a,
.contact__list a,
.foot a,
.cases__crumb a {
  position: relative;
  display: inline-block;
}

.menu__foot a::after,
.contact__list a::after,
.foot a::after,
.cases__crumb a::after {
  bottom: -.05rem;
}

.menu__theme {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  justify-self: start;
  margin-top: .6rem;
  padding: .85rem 1.3rem .85rem 1.1rem;
  border: 1px solid var(--line-2);
  border-radius: 10rem;
  color: var(--fg);
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}

[data-theme="dark"] .when-light,
:root:not([data-theme="dark"]) .when-dark {
  display: none;
}

.hero {
  position: relative;
  height: 100vh;
  height: 100svh;
  min-height: 35rem;
  overflow: hidden;
  background: #11140f;
  color: #fff;
}

.hero__slides,
.hero__slide,
.hero__shade {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hero__slides {
  z-index: 0;
  overflow: hidden;
}

.hero__slide {
  overflow: hidden;
  visibility: hidden;
  z-index: 0;
}

.hero__slide.is-active {
  visibility: visible;
  z-index: 2;
  transition: transform 1.7s var(--ease-io);
}

.hero__slide.is-leaving {
  visibility: visible;
  z-index: 1;
  transform: translate3d(-14%, 0, 0);
  transition: transform 1.7s var(--ease-io);
}

.hero__pane {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: transform 1.7s var(--ease-io), opacity 1.7s var(--ease-io);
}

.hero__slide.is-leaving .hero__pane {
  opacity: .35;
}

.hero__slide.is-from {
  transform: translate3d(100%, 0, 0);
  transition: none;
}

.hero__slide.is-from .hero__pane {
  transform: translate3d(-100%, 0, 0);
  transition: none;
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.05);
  transition: filter 2.6s ease 1.1s;
}

.hero__slide.is-lit img,
html:not(.js) .hero__slide img {
  filter: grayscale(0) contrast(1);
}

.hero__slide.is-active img,
.hero__slide.is-leaving img {
  animation: ken 11s cubic-bezier(.33, 0, .3, 1) both;
}

@keyframes ken {
  from { transform: scale(1.1); }
  to { transform: scale(1); }
}

.hero__caption > * {
  transition: opacity .45s ease, transform .6s var(--ease);
}

.hero__caption.is-swap > * {
  opacity: 0;
  transform: translateY(.45rem);
}

.hero__shade {
  background:
    linear-gradient(180deg, rgba(11, 14, 9, .62) 0%, rgba(11, 14, 9, .1) 24%, rgba(11, 14, 9, 0) 46%, rgba(11, 14, 9, .5) 74%, rgba(11, 14, 9, .9) 100%),
    linear-gradient(90deg, rgba(11, 14, 9, .34) 0%, rgba(11, 14, 9, 0) 58%);
}

.hero__content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  padding-bottom: clamp(2rem, 4.2vw, 3.5rem);
}

.hero__label {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  font-size: .8rem;
  color: #fff;
  text-shadow: 0 0 1.25rem rgba(11, 14, 9, .7);
  opacity: 0;
  animation: fade 1s ease 2.7s forwards;
}

.hero__label::before {
  content: "";
  flex: none;
  width: clamp(2rem, 4vw, 3.5rem);
  height: 1px;
  background: currentColor;
}

.hero__title {
  margin-top: 1.5rem;
  font-family: var(--display);
  font-size: clamp(2.35rem, 5.7vw, 6.1rem);
  letter-spacing: -.018em;
  line-height: 1.12;
  text-shadow: 0 .1rem 2.5rem rgba(11, 14, 9, .35);
}

.hero__title .line > span {
  transform: translateY(118%);
  animation: rise 1.25s var(--ease) forwards;
}

.hero__title .line:nth-child(1) > span { animation-delay: 2.45s; }
.hero__title .line:nth-child(2) > span { animation-delay: 2.57s; }

.hero__meta {
  flex: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1rem;
  padding-bottom: .9rem;
  opacity: 0;
  animation: fade 1s ease 2.9s forwards;
}

.hero__caption {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.hero__name {
  position: relative;
  padding-bottom: .2rem;
  background: linear-gradient(currentColor, currentColor) left bottom / 0 1px no-repeat;
  transition: background-size .6s var(--ease);
}

.hero__name:hover,
.hero__name:focus-visible {
  background-size: 100% 1px;
}

.hero__bars button[hidden] {
  display: none;
}

.hero__count {
  font-family: var(--display);
  font-size: 1.15rem;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .8);
}

.hero__bars {
  display: flex;
  gap: .45rem;
}

.hero__bars button {
  position: relative;
  width: 3.75rem;
  height: 1.5rem;
}

.hero__bars button::before,
.hero__bars i {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
}

.hero__bars button::before {
  background: rgba(255, 255, 255, .38);
}

.hero__bars i {
  height: 3px;
  margin-top: -1px;
  background: #fff;
  transform: scaleX(0);
  transform-origin: left;
}

.hero__bars .is-active i {
  transform: scaleX(1);
}

.hero.is-playing .hero__bars .is-active i {
  animation: slide-bar 7s linear both;
}

@keyframes slide-bar {
  from { transform: scaleX(0); }
  to { transform: scaleX(1); }
}

.section {
  position: relative;
  padding: var(--sec) 0;
}

.section--studio {
  overflow: hidden;
}

.enso--studio {
  top: clamp(-9rem, -7vw, -4rem);
  right: clamp(-16rem, -12vw, -6rem);
  width: clamp(20rem, 46vw, 46rem);
  height: clamp(20rem, 46vw, 46rem);
  opacity: .055;
}

.section--alt {
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--fg);
}

.head {
  position: relative;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1.5rem;
  padding-bottom: clamp(1rem, 2vw, 1.9rem);
  margin-bottom: clamp(2.5rem, 5.5vw, 5rem);
  border-bottom: 1px solid var(--line-2);
}

.head::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: clamp(3.5rem, 9vw, 8.5rem);
  height: 3px;
  background: var(--accent);
  transform-origin: left;
  transition: transform 1.3s var(--ease) .35s;
}

.js .head:not(.in)::after {
  transform: scaleX(0);
}

.head__title {
  order: 1;
  font-family: var(--display);
  font-size: clamp(2.5rem, 6.6vw, 6.9rem);
  letter-spacing: -.022em;
  line-height: 1.08;
}

.head__no {
  order: 2;
  flex: none;
  font-family: var(--display);
  font-size: clamp(4rem, 12vw, 12rem);
  letter-spacing: -.01em;
  line-height: .8;
  color: var(--line-2);
}

@supports (-webkit-text-stroke: 1px #000) {
  .head__no {
    color: transparent;
    -webkit-text-stroke: 1px var(--line-2);
  }
}

.cols {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: var(--gap);
}

.cols__side .label {
  display: flex;
  align-items: center;
  gap: .9rem;
  padding-top: 1.1rem;
  color: var(--accent);
}

.cols__side .label::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.statement {
  max-width: 19em;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.35vw, 3.3rem);
  letter-spacing: -.012em;
  line-height: 1.26;
}

.statement .w {
  opacity: .34;
  transition: opacity .6s ease;
}

.statement .w.on {
  opacity: 1;
}

.studio {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: end;
  margin-top: clamp(3.5rem, 8vw, 7.5rem);
}

.studio__fig figcaption,
.founder__photo figcaption,
.case figcaption {
  margin-top: .95rem;
}

.studio__text {
  display: grid;
  gap: 1.3rem;
  color: var(--fg-2);
}

.lead {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.75vw, 1.6rem);
  letter-spacing: -.005em;
  line-height: 1.45;
  color: var(--fg);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  margin-bottom: clamp(1.75rem, 3vw, 2.75rem);
}

.filters button {
  display: inline-flex;
  align-items: baseline;
  gap: .55rem;
  padding: .7rem 1.25rem .68rem;
  border: 1px solid var(--line-2);
  border-radius: 10rem;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--fg-2);
  transition: color .35s ease, background-color .35s ease, border-color .35s ease;
}

@media (hover: hover) {
  .filters button:hover {
    border-color: var(--fg);
    color: var(--fg);
  }
}

.filters button.is-active {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

.works {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2.25rem, 3.6vw, 3.75rem) var(--gap);
}

.work {
  display: flex;
}

.work[hidden] {
  display: none;
}

.work__link {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.work__media {
  position: relative;
  padding-top: 68%;
  overflow: hidden;
  background: var(--media);
}

.work__media img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.work__link:hover .work__media img,
.work__link:focus-visible .work__media img {
  transform: scale(1.055);
}

.work__media::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 1;
  width: 100%;
  height: 45%;
  background: linear-gradient(180deg, rgba(11, 14, 9, 0), rgba(11, 14, 9, .5));
  opacity: 0;
  transition: opacity .7s ease;
}

.work__link:hover .work__media::before,
.work__link:focus-visible .work__media::before {
  opacity: 1;
}

.work__media::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  width: 100%;
  height: 100%;
  background: var(--bg);
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 1.15s var(--ease-io);
}

.js .work:not(.in) .work__media::after {
  transform: scaleY(1);
}

.work__go {
  position: absolute;
  right: clamp(.9rem, 1.4vw, 1.4rem);
  bottom: clamp(.9rem, 1.4vw, 1.4rem);
  z-index: 1;
  width: 4.1rem;
  height: 4.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--paper);
  color: var(--fg);
  opacity: 0;
  transform: scale(.5) rotate(-60deg);
  transition: transform .7s var(--ease), opacity .4s ease, background-color .4s ease, color .4s ease;
}

.work__go svg {
  width: 1.2rem;
  height: 1.2rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
}

.work__link:hover .work__go,
.work__link:focus-visible .work__go {
  opacity: 1;
  transform: none;
}

.work__meta {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .3rem;
  padding: 1.05rem 0 1.1rem;
  border-bottom: 1px solid var(--line);
}

.work__meta::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .8s var(--ease);
}

.work__link:hover .work__meta::after,
.work__link:focus-visible .work__meta::after {
  transform: scaleX(1);
  transform-origin: left;
}

.work__meta h3 {
  font-family: var(--display);
  font-size: clamp(1.35rem, 1.85vw, 1.8rem);
  letter-spacing: -.008em;
  line-height: 1.25;
}

.work__cat {
  flex: none;
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
  transition: color .4s ease;
}

.work__link:hover .work__cat,
.work__link:focus-visible .work__cat {
  color: var(--accent);
}

@media (min-width: 1101px) {
  .work.is-wide-3 {
    grid-column: span 2;
  }

  .work.is-wide-3 .work__media {
    flex: 1;
    padding-top: 33%;
  }
}

@media (min-width: 641px) and (max-width: 1100px) {
  .work.is-wide-2 {
    grid-column: span 2;
  }

  .work.is-wide-2 .work__media {
    padding-top: 50%;
  }
}

.founder {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
}

.founder__photo {
  position: sticky;
  top: calc(var(--top) + 1.5rem);
}

.founder__pic {
  position: relative;
  padding: clamp(.6rem, 1vw, .9rem);
  border: 1px solid var(--line-2);
}

.founder__frame {
  position: relative;
  padding-top: 122%;
  overflow: hidden;
  background: var(--media);
}

.founder__frame img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transition: transform 1.6s var(--ease);
}

@media (hover: hover) {
  .founder__pic:hover img {
    transform: scale(1.035);
  }
}

.founder__photo figcaption {
  margin-top: 1.5rem;
}

.founder__body > .label {
  color: var(--accent);
}

.founder__name {
  margin-top: .9rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 4.4vw, 4.2rem);
  letter-spacing: -.018em;
  line-height: 1.12;
}

.founder__bio {
  display: grid;
  gap: 1.3rem;
  max-width: 42em;
  margin-top: clamp(1.75rem, 3.4vw, 3rem);
  color: var(--fg-2);
  line-height: 1.8;
}

.founder__bio p:first-child {
  font-family: var(--display);
  font-size: clamp(1.2rem, 1.75vw, 1.6rem);
  letter-spacing: -.005em;
  line-height: 1.48;
  color: var(--fg);
}

.cv {
  margin-top: clamp(2.5rem, 5vw, 4.25rem);
  border-bottom: 1px solid var(--line);
}

.cv li {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr) minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.2rem 0 1.25rem;
  border-top: 1px solid var(--line);
}

.cv__when {
  font-family: var(--display);
  font-size: 1.3rem;
  line-height: 1.2;
  color: var(--accent);
}

.cv h4 {
  font-size: 1.05rem;
  line-height: 1.45;
}

.cv p {
  font-size: .98rem;
  color: var(--fg-2);
  line-height: 1.55;
}

.contact {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
}

.contact__lead {
  max-width: 12.5em;
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.1vw, 3rem);
  letter-spacing: -.014em;
  line-height: 1.24;
}

.contact__note {
  max-width: 30em;
  margin-top: 1.4rem;
  color: var(--fg-2);
}

.contact__list {
  margin-top: clamp(2rem, 4vw, 3.5rem);
  border-bottom: 1px solid var(--line);
}

.contact__list > div,
.case__meta > div {
  display: grid;
  grid-template-columns: 7.5rem minmax(0, 1fr);
  gap: 1rem;
  align-items: baseline;
  padding: 1.1rem 0;
  border-top: 1px solid var(--line);
}

.contact__list dt,
.case__meta dt {
  font-size: .76rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--mute);
}

.contact__list dd {
  font-size: 1.08rem;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.contact__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 2.25rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.1rem 1.7rem 1.08rem;
  border: 1px solid var(--line-2);
  border-radius: 10rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  line-height: 1.3;
  transition: background-color .4s ease, color .4s ease, border-color .4s ease;
}

.btn::after {
  content: "";
  flex: none;
  width: .42rem;
  height: .42rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: rotate(45deg);
  transition: transform .5s var(--ease);
}

@media (hover: hover) {
  .btn:hover::after {
    transform: translateX(.3rem) rotate(45deg);
  }
}

@media (hover: hover) {
  .btn:hover {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
  }
}

.btn--solid {
  background: var(--fg);
  border-color: var(--fg);
  color: var(--bg);
}

@media (hover: hover) {
  .btn--solid:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--on-accent);
  }
}

.contact__map {
  position: relative;
  padding-top: 78%;
  overflow: hidden;
  background: var(--media);
  box-shadow: 0 0 0 1px var(--line);
}

.contact__map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(1) contrast(1.02) sepia(.16);
  transition: filter .9s var(--ease);
}

[data-theme="dark"] .contact__map iframe {
  filter: grayscale(1) invert(.92) contrast(.86) sepia(.14);
}

.contact__map:hover iframe,
.contact__map.is-live iframe {
  filter: grayscale(0) invert(0) contrast(1) sepia(0);
}

.foot {
  position: relative;
  overflow: hidden;
  padding: clamp(4rem, 8vw, 7.5rem) 0 1.75rem;
  background-color: var(--bg);
  background-image: var(--grain);
  font-size: .98rem;
  color: var(--fg-2);
}

.enso--foot {
  top: clamp(-10rem, -8vw, -4rem);
  right: clamp(-14rem, -10vw, -5rem);
  width: clamp(20rem, 44vw, 44rem);
  height: clamp(20rem, 44vw, 44rem);
  opacity: .06;
}

.foot__brand .logo {
  color: var(--fg);
}

.foot__tag {
  max-width: 13em;
  margin-top: clamp(2rem, 4.5vw, 4rem);
  font-family: var(--display);
  font-size: clamp(1.7rem, 3.4vw, 3.4rem);
  letter-spacing: -.02em;
  line-height: 1.16;
  color: var(--fg);
}

.foot__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2.5rem var(--gap);
  margin-top: clamp(3rem, 6.5vw, 6rem);
  padding-top: clamp(1.75rem, 3vw, 2.5rem);
  border-top: 1px solid var(--line-2);
  line-height: 1.9;
}

.foot .label {
  margin-bottom: .9rem;
  color: var(--accent);
}

.foot__row {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: .75rem 2rem;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: 1.25rem 0 0;
  font-size: .76rem;
  letter-spacing: .14em;
  color: var(--mute);
}

.foot__row::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}

.foot__row a {
  color: var(--fg);
  letter-spacing: .22em;
  text-transform: uppercase;
}

.dock {
  position: fixed;
  right: clamp(1rem, 2.2vw, 1.75rem);
  bottom: clamp(1rem, 2.2vw, 1.75rem);
  bottom: calc(clamp(1rem, 2.2vw, 1.75rem) + env(safe-area-inset-bottom, 0px));
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: .7rem;
}

.dock__btn {
  width: 3.3rem;
  height: 3.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform .6s var(--ease), opacity .45s ease, background-color .35s ease, color .35s ease, box-shadow .35s ease;
}

.dock__top {
  background: var(--paper);
  color: var(--fg);
  box-shadow: 0 0 0 1px var(--line-2), var(--lift);
}

.dock__top svg {
  width: 1.3rem;
  height: 1.3rem;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.4;
  transition: transform .5s var(--ease);
}

@media (hover: hover) {
  .dock__top:hover {
    background: var(--fg);
    color: var(--bg);
  }
}

@media (hover: hover) {
  .dock__top:hover svg {
    transform: translateY(-.15rem);
  }
}

.wa {
  background: #25d366;
  color: #fff;
  box-shadow: 0 .6rem 1.6rem rgba(18, 140, 66, .38);
}

@media (hover: hover) {
  .wa:hover {
    background: #1fbd5a;
  }
}

.wa svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: currentColor;
}

.js .dock__btn {
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
}

.js .dock.is-on .dock__btn {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}

.js .dock.is-on .dock__top {
  transition-delay: .09s;
}

.js .dock:not(.is-deep) .dock__top {
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
}

@media (hover: hover) {
  .js .dock.is-on .dock__btn:hover {
    transform: translateY(-.2rem);
    transition-delay: 0s;
  }
}

.cases {
  background-color: var(--bg);
  background-image: var(--grain);
  color: var(--fg);
}

.js .cases {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 160;
  width: 100%;
  height: 100%;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  visibility: hidden;
  opacity: 0;
  transform: translateY(2.5rem);
  transition: opacity .45s ease, transform .7s var(--ease), visibility 0s .7s;
}

.js .cases.is-open {
  visibility: visible;
  opacity: 1;
  transform: none;
  transition: opacity .45s ease, transform .7s var(--ease), visibility 0s;
}

.cases__bar {
  position: sticky;
  top: 0;
  z-index: 2;
  height: calc(var(--top) - .75rem);
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 var(--pad);
  background: var(--bar);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.3) blur(16px);
  backdrop-filter: saturate(1.3) blur(16px);
}

.js .cases__bar {
  display: flex;
}

.cases__crumb {
  display: flex;
  align-items: baseline;
  gap: .9rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.cases__crumb a {
  color: var(--mute);
}

.cases__name::before {
  content: "";
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  margin-right: .9rem;
  vertical-align: middle;
  background: var(--accent);
}

.cases__close {
  display: inline-flex;
  align-items: center;
  gap: .9rem;
  padding: .45rem .5rem .45rem 1.2rem;
  border: 1px solid var(--line-2);
  border-radius: 10rem;
  font-size: .76rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: background-color .35s ease, color .35s ease, border-color .35s ease;
}

@media (hover: hover) {
  .cases__close:hover {
    background: var(--fg);
    border-color: var(--fg);
    color: var(--bg);
  }
}

.cases__close i {
  position: relative;
  display: block;
  width: 1.7rem;
  height: 1.7rem;
  transition: transform .5s var(--ease);
}

.cases__close i::before,
.cases__close i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 20%;
  width: 60%;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.cases__close i::after {
  transform: rotate(-45deg);
}

@media (hover: hover) {
  .cases__close:hover i {
    transform: rotate(90deg);
  }
}

.cases__body {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--pad) clamp(2.5rem, 5vw, 4rem);
}

.case {
  padding-top: clamp(2.5rem, 6vw, 5.5rem);
}

.js .case {
  display: none;
}

.js .case.is-active {
  display: block;
}

.case__head .label {
  display: flex;
  align-items: center;
  gap: .9rem;
  color: var(--accent);
}

.case__head .label::before {
  content: "";
  width: 1.75rem;
  height: 1px;
  background: currentColor;
}

.case__title {
  margin-top: .9rem;
  font-family: var(--display);
  font-size: clamp(2.9rem, 8.4vw, 8.4rem);
  letter-spacing: -.025em;
  line-height: 1.06;
}

.case__hero,
.case > .cmp {
  margin-top: clamp(1.75rem, 4vw, 3.5rem);
}

.case__hero {
  background: var(--media);
}

.case__hero img,
.case__gallery img {
  width: 100%;
  height: auto;
}

.case__text {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  align-items: start;
  padding: clamp(2.5rem, 6vw, 5.5rem) 0;
}

.case__meta {
  border-bottom: 1px solid var(--line);
}

.case__meta > div:first-child {
  border-top-color: var(--line-2);
}

.case__meta dd {
  font-size: 1rem;
  line-height: 1.55;
}

.case__desc {
  display: grid;
  gap: 1.25rem;
  max-width: 44em;
  color: var(--fg-2);
  line-height: 1.8;
}

.case__desc p:first-child {
  font-family: var(--display);
  font-size: clamp(1.25rem, 2vw, 1.85rem);
  letter-spacing: -.008em;
  line-height: 1.45;
  color: var(--fg);
}

.case__gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 2.75rem) var(--gap);
  align-items: start;
}

.case__gallery > * {
  grid-column: span 2;
}

.case__gallery > .is-half {
  grid-column: span 1;
}

.case__stack {
  display: grid;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.cases__cta {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem 2.5rem;
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: clamp(1.75rem, 3.5vw, 3rem);
  border-top: 1px solid var(--line-2);
}

.js .cases__cta {
  display: flex;
}

.cases__cta-title {
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  letter-spacing: -.014em;
  line-height: 1.2;
}

.cases__cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.cases__cta + .cases__nav {
  margin-top: clamp(2rem, 4.5vw, 3.75rem);
}

.cases__nav {
  display: none;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: clamp(3rem, 7vw, 6rem);
  border-top: 1px solid var(--line-2);
  border-bottom: 1px solid var(--line);
}

.js .cases__nav {
  display: grid;
}

.cases__nav a {
  display: block;
  padding: clamp(1.4rem, 3vw, 2.5rem) 0;
  transition: color .4s ease;
}

@media (hover: hover) {
  .cases__nav a:hover {
    color: var(--accent);
  }
}

.cases__nav strong {
  display: block;
  margin-top: .6rem;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3.8vw, 3.5rem);
  letter-spacing: -.018em;
  line-height: 1.15;
  transition: transform .6s var(--ease);
}

.cases__next {
  padding-left: var(--gap);
  border-left: 1px solid var(--line);
  text-align: right;
}

@media (hover: hover) {
  .cases__prev:hover strong {
    transform: translateX(-.6rem);
  }
}

@media (hover: hover) {
  .cases__next:hover strong {
    transform: translateX(.6rem);
  }
}

.lost {
  position: relative;
  overflow: hidden;
}

.lost__inner {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1.4rem;
  padding: 2rem var(--pad) clamp(2rem, 6vw, 5rem);
}

.lost__inner .logo {
  margin-bottom: auto;
}

.enso--lost {
  top: -8vw;
  right: -10vw;
  width: clamp(20rem, 60vw, 54rem);
  height: clamp(20rem, 60vw, 54rem);
}

.lost__code {
  font-family: var(--display);
  font-size: clamp(6rem, 24vw, 19rem);
  letter-spacing: -.03em;
  line-height: .9;
}

.lost__text {
  max-width: 26em;
  color: var(--fg-2);
}

.js [data-reveal] {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 1s var(--ease), transform 1.2s var(--ease);
}

.js [data-reveal].in {
  opacity: 1;
  transform: none;
}

.js .work {
  opacity: 0;
  transition: opacity .7s ease;
}

.js .work.in {
  opacity: 1;
}

@media (min-width: 1800px) {
  html {
    font-size: 106.25%;
  }
}

@media (min-width: 2100px) {
  html {
    font-size: 118.75%;
  }
}

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

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

@media (max-width: 900px) {
  :root {
    --top: 4.75rem;
  }

  .nav {
    display: none;
  }

  .top__tools {
    margin-left: auto;
  }

  .burger {
    display: flex;
  }

  .cols {
    grid-template-columns: minmax(0, 1fr);
  }

  .cols__side {
    display: none;
  }

  .studio,
  .founder,
  .contact,
  .case__text {
    grid-template-columns: minmax(0, 1fr);
  }

  .studio {
    align-items: start;
  }

  .founder__photo {
    position: static;
    max-width: 24rem;
  }

  .hero__content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.9rem;
  }

  .hero__meta {
    align-items: flex-start;
    padding-bottom: 0;
  }
}

@media (max-width: 640px) {
  .logo__mark {
    width: 2.45rem;
    height: 2.45rem;
  }

  .logo__word {
    width: 6.1rem;
    height: 1.85rem;
  }

  .logo--lg .logo__mark {
    width: 3.5rem;
    height: 3.5rem;
  }

  .logo--lg .logo__word {
    width: 9rem;
    height: 2.72rem;
  }

  .label {
    letter-spacing: .2em;
  }

  .hero__slide:nth-child(1) img {
    object-position: 30% 50%;
  }

  .hero__label::before {
    display: none;
  }

  .hero__bars button {
    width: 3.25rem;
  }

  .head {
    gap: 1rem;
  }

  .works {
    grid-template-columns: minmax(0, 1fr);
  }

  .work__go {
    display: none;
  }

  .cv li {
    grid-template-columns: 5.9rem minmax(0, 1fr);
    gap: .2rem 1rem;
  }

  .cv p {
    grid-column: 2;
  }

  .contact__list > div,
  .case__meta > div {
    grid-template-columns: 6rem minmax(0, 1fr);
  }

  .contact__map {
    padding-top: 105%;
  }

  .contact__actions .btn,
  .cases__cta-actions .btn {
    flex: 1 1 100%;
  }

  .foot__grid {
    gap: 2rem var(--gap);
  }

  .foot__grid > :nth-child(3) {
    grid-column: 1 / -1;
  }

  .dock__btn {
    width: 2.85rem;
    height: 2.85rem;
  }

  .cases__cta-actions {
    width: 100%;
  }

  .case__gallery > .is-half {
    grid-column: span 2;
  }

  .cases__close {
    padding: .3rem;
  }

  .cases__close span {
    display: none;
  }

  .intro__tag {
    max-width: 16rem;
    line-height: 1.8;
  }
}

.section--svc {
  background-color: var(--surface);
  background-image: var(--grain);
}

.svc {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(2.5rem, 4vw, 4rem) var(--gap);
}

.svc__group {
  padding-top: 1.4rem;
  border-top: 1px solid var(--line-2);
}

.svc__no {
  display: block;
  font-size: .76rem;
  letter-spacing: .2em;
  color: var(--accent);
}

.svc__group h3 {
  margin-top: clamp(1.5rem, 3.4vw, 3.25rem);
  font-family: var(--display);
  font-size: clamp(1.5rem, 2.1vw, 2.05rem);
  letter-spacing: -.012em;
  line-height: 1.2;
}

.svc__group ul {
  margin-top: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.svc__group li {
  padding: .78rem 0 .8rem;
  border-top: 1px solid var(--line);
  color: var(--fg-2);
  line-height: 1.45;
}

.cmp__stage {
  position: relative;
  overflow: hidden;
  background: var(--media);
  cursor: ew-resize;
  touch-action: pan-y;
  -webkit-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
}

.cmp__stage img {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: none;
}

.cmp__top {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-clip-path: inset(0 0 0 50%);
  clip-path: inset(0 0 0 50%);
}

.cmp__top img {
  height: 100%;
  object-fit: cover;
}

.cmp__handle {
  position: absolute;
  top: 0;
  left: 50%;
  width: 3rem;
  height: 100%;
  margin-left: -1.5rem;
  pointer-events: none;
}

.cmp:not(.is-dragging) .cmp__top {
  transition: clip-path .9s var(--ease), -webkit-clip-path .9s var(--ease);
}

.cmp:not(.is-dragging) .cmp__handle {
  transition: left .9s var(--ease);
}

.cmp__handle::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(255, 255, 255, .92);
}

.cmp__handle i {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  height: 3rem;
  margin: -1.5rem 0 0 -1.5rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 .5rem 1.6rem rgba(11, 14, 9, .35);
  transition: transform .4s var(--ease);
}

.cmp.is-dragging .cmp__handle i {
  transform: scale(.9);
}

.cmp__handle i::before,
.cmp__handle i::after {
  content: "";
  position: absolute;
  top: 50%;
  width: .5rem;
  height: .5rem;
  margin-top: -.25rem;
  border-top: 1.5px solid #1a1c16;
  border-left: 1.5px solid #1a1c16;
}

.cmp__handle i::before {
  left: .85rem;
  transform: rotate(-45deg);
}

.cmp__handle i::after {
  right: .85rem;
  transform: rotate(135deg);
}

.cmp__tag {
  position: absolute;
  bottom: clamp(.6rem, 1.2vw, 1.1rem);
  padding: .5rem .85rem .48rem;
  border-radius: 10rem;
  background: rgba(11, 14, 9, .58);
  color: #fff;
  font-size: .76rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  line-height: 1.3;
  pointer-events: none;
}

.cmp__tag--day {
  left: clamp(.6rem, 1.2vw, 1.1rem);
}

.cmp__tag--night {
  right: clamp(.6rem, 1.2vw, 1.1rem);
}

.cmp__range {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1px;
  height: 1px;
  margin: 0;
  opacity: 0;
  pointer-events: none;
}

.cmp__range:focus-visible + .cmp__handle i {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cmp figcaption {
  margin-top: .95rem;
}

.feature {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: clamp(1.75rem, 4vw, 4rem) var(--gap);
  align-items: end;
  margin-top: clamp(4rem, 9vw, 8.5rem);
  padding-top: clamp(1.75rem, 3vw, 2.75rem);
  border-top: 1px solid var(--line-2);
}

.feature__head .label {
  color: var(--accent);
}

.feature__title {
  margin-top: .9rem;
  font-family: var(--display);
  font-size: clamp(2.1rem, 3.6vw, 3.6rem);
  letter-spacing: -.018em;
  line-height: 1.1;
}

.feature__text {
  max-width: 19em;
  margin-top: 1.1rem;
  color: var(--fg-2);
}

.feature__head .btn {
  margin-top: 1.75rem;
}

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

@media (max-width: 900px) {
  .feature {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }
}

@media (max-width: 640px) {
  .svc {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc__group h3 {
    margin-top: 1.1rem;
  }

  .cmp__handle,
  .cmp__handle i {
    width: 2.75rem;
  }

  .cmp__handle {
    margin-left: -1.375rem;
  }

  .cmp__handle i {
    height: 2.75rem;
    margin: -1.375rem 0 0 -1.375rem;
  }

  .cmp__handle i::before {
    left: .75rem;
  }

  .cmp__handle i::after {
    right: .75rem;
  }
}

html {
  -webkit-tap-highlight-color: transparent;
}

a,
button {
  touch-action: manipulation;
}

.top,
.cases__bar,
.wrap,
.cases__body {
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
}

.menu__inner {
  padding-left: max(var(--pad), env(safe-area-inset-left));
  padding-right: max(var(--pad), env(safe-area-inset-right));
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.dock {
  right: max(clamp(1rem, 2.2vw, 1.75rem), env(safe-area-inset-right));
}

.menu,
.cases {
  overscroll-behavior: contain;
}

.logo {
  min-height: 2.75rem;
}

.theme,
.burger {
  width: 2.75rem;
  height: 2.75rem;
}

.hero__name {
  padding: .75rem 0;
  background-origin: content-box;
}

.hero__bars button {
  height: 2.75rem;
}

.filters button {
  min-height: 2.75rem;
  align-items: center;
}

.contact__list a {
  padding: .65rem 0;
  margin: -.65rem 0;
}

.contact__list a::after {
  bottom: .58rem;
}

.cases__crumb a,
.foot__row a {
  padding: .85rem 0;
}

.cases__crumb a::after,
.foot__row a::after {
  bottom: .72rem;
}

.cases__close {
  min-height: 2.75rem;
}

.btn:active,
.filters button:active,
.cases__close:active {
  opacity: .72;
}

.dock__btn:active {
  transform: scale(.94);
}

.js .dock.is-away .dock__btn {
  opacity: 0;
  transform: translateY(1.25rem);
  pointer-events: none;
}

html:not(.js) .foot__row {
  padding-right: 5.5rem;
}

.contact__map-link {
  display: none;
}

@media (hover: none) {
  .contact__map iframe {
    pointer-events: none;
  }

  .contact__map-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
  }

  .contact__map-link span {
    margin: 0 0 .9rem .9rem;
    padding: .7rem 1.1rem;
    border-radius: 10rem;
    background: var(--fg);
    color: var(--bg);
    font-size: .76rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    line-height: 1.3;
  }
}

@media (hover: none), (max-width: 900px) {
  .foot__grid a {
    padding: .46rem 0;
  }

  .menu__foot a {
    padding: .62rem 0;
  }

  .foot__grid a::after {
    bottom: .38rem;
  }

  .menu__foot a::after {
    bottom: .54rem;
  }
}

@media (max-width: 640px) {
  .cases__close {
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .contact__list > div,
  .case__meta > div {
    grid-template-columns: minmax(0, 1fr);
    gap: .35rem;
  }

  .contact__list a {
    padding: .55rem 0;
    margin: -.4rem 0 -.55rem;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  :root {
    --top: 3.75rem;
  }

  .hero {
    min-height: 17rem;
  }

  .hero__content {
    flex-direction: row;
    align-items: flex-end;
    gap: 1.5rem;
    padding-bottom: 1rem;
  }

  .hero__meta {
    align-items: flex-end;
    gap: .25rem;
  }

  .hero__title {
    margin-top: .6rem;
    font-size: clamp(1.8rem, 5vw, 2.7rem);
  }

  .logo__mark {
    width: 2.5rem;
    height: 2.5rem;
  }

  .intro__mark {
    width: 6.5rem;
    height: 6.5rem;
  }

  .intro__word {
    width: 10rem;
    height: 3.02rem;
    margin-top: 1rem;
  }

  .intro__tag {
    display: none;
  }

  .menu__inner {
    padding-top: calc(var(--top) + 1rem);
    gap: 2rem;
  }

  .menu__list a {
    padding: .55rem 0 .65rem;
    font-size: 1.9rem;
  }
}

.hero__title {
  margin-top: 0;
}

.hero__title .hero__label {
  margin-bottom: 1.5rem;
  font-weight: 400;
  text-shadow: 0 0 1.25rem rgba(11, 14, 9, .7);
}

.svc__intro {
  max-width: 30em;
  margin-bottom: clamp(2.5rem, 5vw, 4.75rem);
  font-family: var(--display);
  font-size: clamp(1.3rem, 2vw, 1.85rem);
  letter-spacing: -.01em;
  line-height: 1.4;
}

.svc__group p {
  margin-top: .9rem;
  color: var(--fg-2);
  font-size: .98rem;
  line-height: 1.6;
}

.svc__more {
  margin-top: clamp(2.5rem, 5vw, 4.25rem);
  color: var(--fg-2);
}

.svc__more a {
  padding: .8rem 0;
  color: var(--fg);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .28em;
}

.foot__about {
  max-width: 38em;
  margin-top: 1.6rem;
  color: var(--fg-2);
  font-size: .98rem;
  line-height: 1.7;
}

.foot__grid a {
  overflow-wrap: anywhere;
}

@media (max-height: 520px) and (orientation: landscape) {
  .hero__title .hero__label {
    margin-bottom: .6rem;
  }
}

.credit {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  padding: .55rem 0;
  color: var(--fg);
}

.foot__row .credit {
  display: inline-flex;
  letter-spacing: 0;
  text-transform: none;
}

.foot__row .credit::after {
  content: none;
}

.credit__label {
  font-size: .76rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mute);
}

.credit__mark {
  flex: none;
  width: 1.5rem;
  height: 1.5rem;
  border-radius: .4rem;
  transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}

.credit__name {
  position: relative;
  font-size: .9rem;
  letter-spacing: .02em;
}

.credit__name::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -.2rem;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .5s var(--ease);
}

@media (hover: hover) {
  .credit:hover .credit__mark {
    transform: rotate(-8deg) scale(1.08);
    box-shadow: 0 .4rem 1.2rem rgba(79, 140, 255, .35);
  }

  .credit:hover .credit__name::after {
    transform: scaleX(1);
    transform-origin: left;
  }
}

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

  .intro {
    display: none;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    transition-delay: 0s !important;
  }
}
