@font-face {
  font-family: "Inter Variable";
  src: url("./assets/inter-variable-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 100 600;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/inter-regular-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

@font-face {
  font-family: "Inter";
  src: url("./assets/inter-bold-latin.woff2") format("woff2");
  font-display: swap;
  font-style: normal;
  font-weight: 600;
}

:root {
  color-scheme: dark;
  --bg: oklch(0 0 0);
  --panel: oklch(0.15 0.002 286.141);
  --panel-2: oklch(0.192 0.002 286.21);
  --line: oklch(0.27 0.007 285.898);
  --text: oklch(1 0 0);
  --muted: oklch(0.64 0 0);
  --muted-2: oklch(0.784 0.007 286.237);
  --blue: oklch(0.542 0.253 266.112);
  --blue-2: oklch(0.361 0.159 266.671);
  --label-primary: oklch(1 0 0 / .96);
  --label-secondary: oklch(1 0 0 / .76);
  --label-tertiary: oklch(1 0 0 / .54);
  --label-white: oklch(1 0 0 / .98);
  --label-on-fill: oklch(1 0 0 / .98);
  --fill-glass:
    linear-gradient(135deg, oklch(1 0 0 / .024), oklch(1 0 0 / .01) 52%, oklch(0 0 0 / .012)),
    oklch(0.183 0.002 286.198 / .34);
  --fill-glass-tint:
    linear-gradient(135deg, oklch(1 0 0 / .018), oklch(1 0 0 / .006) 48%, oklch(0 0 0 / .012));
  --fill-glass-selected:
    linear-gradient(135deg, oklch(1 0 0 / .072), oklch(1 0 0 / .028) 52%, oklch(0 0 0 / .014)),
    oklch(0.979 0.01 267.36 / .072);
  --stroke-glass: oklch(1 0 0 / .055);
  --stroke-glass-strong: oklch(1 0 0 / .105);
  --shadow-glass:
    inset 0 0 0 1px var(--stroke-glass),
    inset 1px 1px 0 oklch(1 0 0 / .055),
    inset -1px -1px 0 oklch(0 0 0 / .13),
    0 6px 14px oklch(0 0 0 / .12),
    0 1px 4px oklch(0 0 0 / .12);
  --shadow-glass-selected:
    inset 0 0 0 1px oklch(1 0 0 / .09),
    inset 1px 1px 0 oklch(1 0 0 / .095),
    inset -1px -1px 0 oklch(0 0 0 / .1),
    0 2px 6px oklch(0 0 0 / .1);
  --material-glass-filter: blur(12px) url("#tab-glass-distortion") saturate(132%) brightness(1.02);
  --material-glass-filter-webkit: blur(12px) saturate(132%) brightness(1.02);
  --material-glass-selected-filter: blur(10px) url("#tab-glass-distortion") saturate(132%) brightness(1.02);
  --material-glass-selected-filter-webkit: blur(10px) saturate(132%) brightness(1.02);
  --radius: 12px;
  --spring: cubic-bezier(.16, 1, .3, 1);
  --quick: cubic-bezier(.2, 0, 0, 1);
  --resize-dur: 300ms;
  --resize-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --morph-open-dur: 280ms;
  --morph-close-dur: 220ms;
  --morph-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --morph-close-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --tab-glass-bg:
    linear-gradient(180deg, oklch(1 0 0 / .035), oklch(1 0 0 / .012)),
    oklch(0.174 0.004 285.967 / .46);
  --tab-active-bg:
    linear-gradient(180deg, oklch(1 0 0 / .18), oklch(1 0 0 / .075)),
    oklch(0.269 0.004 286.151 / .58);
  --tab-label-rest: var(--label-tertiary);
  --tab-label-hover: var(--label-secondary);
  --tab-label-active: oklch(1 0 0 / .99);
  --tab-label-shadow:
    0 1px 2px oklch(0 0 0 / .48),
    0 0 1px oklch(0 0 0 / .36);
  --tab-active-shadow: none;
  --font-sans: "Inter Variable", "Inter", sans-serif;
  --font-mono: IBMPlexMono, "IBM Plex Mono", monospace;
  --font-hand: "Square Peg", "Segoe Print", "Bradley Hand ITC", "Marker Felt", "Comic Sans MS", cursive;
  --type-ui-size: 13px;
  --type-ui-line: 18.2px;
  --type-body-size: 13px;
  --type-body-line: 18.2px;
  --type-heading-size: 16px;
  --type-heading-line: 20.8px;
  --type-note-size: 11px;
  --type-note-line: 13px;
  --type-hand-size: 28px;
  --type-hand-line: 32px;
  --font-weight-regular: 400;
  --font-weight-medium: 500;
  --font-weight-semibold: 600;
  --type-card-title-weight: var(--font-weight-semibold);
  --button-mini-font-size: 11px;
  --button-mini-line-height: 13px;
  --button-mini-padding-block: 4px;
  --button-mini-padding-inline: 8px;
  --button-mini-image-padding: 4px;
  --button-mini-icon-size: 12px;
  --button-small-font-size: 13px;
  --button-small-line-height: 18px;
  --button-small-padding-block: 5px;
  --button-small-padding-inline: 12px;
  --button-small-image-padding: 5px;
  --button-small-icon-size: 14px;
  --button-regular-font-size: 17px;
  --button-regular-line-height: 22px;
  --button-regular-padding-block: 7px;
  --button-regular-padding-inline: 14px;
  --button-regular-image-padding: 6px;
  --button-regular-icon-size: 16px;
  --button-large-font-size: 17px;
  --button-large-line-height: 22px;
  --button-large-padding-block: 12px;
  --button-large-padding-inline: 20px;
  --button-large-image-padding: 8px;
  --button-large-icon-size: 18px;
  --tracking-default: -0.01em;
  --shell-x: 40px;
  --shell-y: 40px;
  --rail-width: 410px;
  --shell-gap: 40px;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--label-primary);
  font-family: var(--font-sans);
  font-size: var(--type-body-size);
  font-weight: var(--font-weight-regular);
  line-height: 1.4;
  letter-spacing: var(--tracking-default);
}

html.is-lightbox-open {
  overscroll-behavior: none;
}

body.is-scroll-locked {
  position: fixed;
  top: var(--locked-scroll-y, 0);
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}

:where(strong, b, h1, h2, h3, h4, h5, h6) {
  font-weight: var(--font-weight-semibold);
}

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

button,
input,
textarea {
  font: inherit;
}

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

.text-ui,
.text-body,
.text-heading,
.text-card-title,
.text-note {
  font-family: inherit;
  letter-spacing: var(--tracking-default);
}

.label-primary {
  color: var(--label-primary);
}

.label-secondary {
  color: var(--label-secondary);
}

.label-tertiary {
  color: var(--label-tertiary);
}

.label-on-fill {
  color: var(--label-on-fill);
}

.fill-glass {
  background: var(--fill-glass);
  box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--material-glass-filter-webkit);
  backdrop-filter: var(--material-glass-filter);
}

.fill-glass-selected {
  background: var(--fill-glass-selected);
  box-shadow: var(--shadow-glass-selected);
  -webkit-backdrop-filter: var(--material-glass-selected-filter-webkit);
  backdrop-filter: var(--material-glass-selected-filter);
}

.text-ui {
  font-size: var(--type-ui-size);
  line-height: var(--type-ui-line);
  font-weight: var(--font-weight-regular);
}

.text-body {
  font-size: var(--type-body-size);
  line-height: var(--type-body-line);
  font-weight: var(--font-weight-regular);
  text-wrap: pretty;
}

.text-note {
  font-size: var(--type-note-size);
  line-height: var(--type-note-line);
  font-weight: var(--font-weight-regular);
  text-wrap: pretty;
}

.text-heading {
  font-size: var(--type-heading-size);
  line-height: var(--type-heading-line);
  font-weight: var(--font-weight-regular);
  text-wrap: balance;
}

.text-card-title {
  font-size: var(--type-ui-size);
  line-height: var(--type-ui-line);
  font-weight: var(--type-card-title-weight);
}

.text-muted {
  color: var(--label-tertiary);
}

.text-mono {
  font-family: var(--font-mono);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0;
}

.text-hand {
  font-family: var(--font-hand);
  font-size: var(--type-hand-size);
  line-height: var(--type-hand-line);
  font-weight: var(--font-weight-regular);
  letter-spacing: 0;
  text-wrap: balance;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.app-shell {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  margin: 0;
  display: grid;
  grid-template-columns: var(--rail-width) minmax(0, 1fr);
  gap: var(--shell-gap);
  padding: var(--shell-y) var(--shell-x);
}

.rail {
  position: sticky;
  top: var(--shell-y);
  z-index: 40;
  height: calc(100vh - (var(--shell-y) * 2));
  min-height: 680px;
  padding-bottom: 0;
  display: grid;
  grid-template-rows: auto auto minmax(0, 1fr) auto;
  align-content: stretch;
  gap: 0;
  overflow: visible;
}

.profile {
  position: relative;
  z-index: 20;
  grid-row: 1;
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  grid-template-rows: minmax(48px, auto) auto;
  align-items: center;
  column-gap: 12px;
  row-gap: 0;
  width: 100%;
  max-width: 100%;
  padding-right: 0;
  opacity: 0.001;
  transform: translateY(16px);
  cursor: pointer;
  margin-bottom: 12px;
}

.profile:hover,
.profile:focus-visible {
  z-index: 1000;
}

.avatar-media {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: var(--panel-2);
}

.avatar-media {
  position: relative;
  grid-column: 1;
  grid-row: 1;
  flex: 0 0 48px;
  overflow: hidden;
  width: 48px;
  height: 48px;
  transition: none;
  will-change: auto;
  backface-visibility: hidden;
  contain: paint;
}

.profile.is-avatar-active .avatar-media,
.profile:focus-visible .avatar-media {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
}

.avatar-image,
.avatar-video,
.avatar-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.avatar-image,
.avatar-video,
.avatar-canvas {
  filter: grayscale(1);
  transition: filter 700ms ease-in-out;
}

.profile.is-avatar-active .avatar-image,
.profile.is-avatar-active .avatar-video,
.profile.is-avatar-active .avatar-canvas,
.profile:focus-visible .avatar-image,
.profile:focus-visible .avatar-video,
.profile:focus-visible .avatar-canvas {
  filter: grayscale(0);
}

.avatar-image.is-hidden,
.avatar-video.is-hidden,
.avatar-canvas.is-hidden {
  opacity: 0;
}

.profile-copy,
.profile-default {
  display: grid;
}

.profile-copy {
  grid-column: 2;
  grid-row: 1;
  align-content: center;
  justify-items: start;
  min-width: 0;
  min-height: 48px;
  max-width: calc(100% - 112px);
}

.profile-default {
  gap: 0;
  align-content: center;
  justify-items: start;
}

.profile-copy {
  position: relative;
  z-index: 2;
  overflow: visible;
  pointer-events: none;
}

.profile-default {
  grid-area: 1 / 1;
}

.profile-default,
.profile-quote {
  align-self: center;
  transition:
    opacity 240ms var(--quick),
    filter 300ms var(--spring),
    transform 300ms var(--spring);
}

.profile-default > *,
.profile-quote > * {
  display: block;
  margin: 0;
  min-height: 0;
}

.profile-quote {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 1;
  align-self: start;
  justify-self: start;
  display: grid;
  align-content: center;
  justify-items: stretch;
  gap: 4px;
  width: 100%;
  max-width: 100%;
  max-height: 0;
  min-height: 0;
  padding-left: 0;
  color: var(--label-primary);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-4px);
  overflow: hidden;
  pointer-events: none;
  transition:
    max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 240ms var(--quick),
    filter 300ms var(--spring),
    transform 300ms var(--spring);
}

.profile-quote .text-hand {
  display: block;
  position: relative;
  width: 100%;
  max-width: none;
  font-family: var(--font-hand);
  line-height: var(--type-hand-line);
  text-wrap: balance;
  text-align: left;
  color: var(--label-secondary);
  overflow: visible;
  clip-path: inset(-0.28em 100% -0.36em -0.08em);
  transform: translateZ(0);
}

.profile-quote .text-hand[data-handwrite] {
  clip-path: none;
}

.quote-line {
  display: block;
  line-height: inherit;
  text-wrap: balance;
  overflow: visible;
}

.quote-word {
  display: inline-block;
  white-space: nowrap;
}

.quote-char {
  display: inline-block;
  min-width: 0;
  vertical-align: baseline;
  opacity: 0;
  clip-path: inset(-0.28em 100% -0.36em -0.08em);
  filter: blur(2px);
  transform: translate3d(-1px, 2px, 0) rotate(-1deg);
  transform-origin: 0 72%;
  will-change: clip-path, opacity, filter, transform;
}

.profile:hover .quote-char,
.profile:focus-visible .quote-char {
  animation: quote-letter-write 260ms var(--quick) forwards;
  animation-delay: calc(70ms + (var(--char-index) * 26ms));
}

.profile-quote em {
  display: block;
  position: relative;
  width: fit-content;
  margin-left: auto;
  margin-top: 2px;
  color: var(--label-secondary);
  font: inherit;
  font-size: var(--type-note-size);
  line-height: var(--type-note-line);
  text-align: right;
  cursor: pointer;
  pointer-events: auto;
  justify-self: end;
}

.profile-quote em::before {
  content: "";
  position: absolute;
  inset: -10px -14px -16px -18px;
  z-index: -1;
}

.profile-quote .affleck-gif {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  z-index: 1001;
  width: 165px;
  height: 465px;
  max-width: none;
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 18px 36px oklch(0 0 0 / .34),
    0 0 0 1px oklch(1 0 0 / .12);
  opacity: 0;
  filter: blur(8px);
  transform: translateY(-6px) scale(.96);
  transform-origin: top right;
  pointer-events: none;
  transition:
    opacity 180ms var(--quick),
    filter 240ms var(--spring),
    transform 240ms var(--spring);
}

.profile-quote em:hover .affleck-gif,
.profile-quote em:focus-visible .affleck-gif {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
}

.profile:hover .profile-quote,
.profile:focus-visible .profile-quote {
  z-index: 3;
  max-height: 108px;
  opacity: 1;
  filter: blur(0);
  transform: translateY(6px);
  overflow: visible;
  pointer-events: auto;
}

.btn {
  font-size: var(--button-font-size, var(--button-regular-font-size));
  font-weight: var(--button-font-weight, var(--font-weight-regular));
  line-height: var(--button-line-height, var(--button-regular-line-height));
  letter-spacing: var(--tracking-default);
}

.footer,
.tab {
  font-size: var(--type-ui-size);
  font-weight: var(--font-weight-regular);
  line-height: var(--type-ui-line);
  letter-spacing: var(--tracking-default);
}

.footer {
  color: var(--label-tertiary);
}

.intro h1 {
  width: min(342px, 100%);
  min-height: calc(var(--type-body-line) * 4);
  margin: 0;
  color: var(--label-primary);
  text-wrap: balance;
}

.intro {
  grid-row: 2;
}

.intro-word {
  display: inline-block;
  opacity: 0.001;
  filter: blur(16px);
  transform: translateY(10px);
  animation: word-appear 900ms var(--spring) forwards;
  animation-delay: var(--word-delay, 0ms);
  will-change: transform, opacity, filter;
}

.services {
  position: relative;
  z-index: 1;
  grid-row: 3;
  align-self: center;
  opacity: 0.001;
  transform: translateY(16px);
}

.footer h2 {
  margin: 0 0 14px;
}

.services h2 {
  margin: 0 0 16px;
}

.services h2:has(.service-heading-back) {
  display: flex;
  align-items: center;
  gap: 6px;
  padding-left: 0;
}

.services h2:has(+ .service-heading-copy:not([hidden])) {
  margin-bottom: 0;
}

.service-heading-back {
  position: relative;
  width: 22px;
  height: 22px;
  margin: 0 0 0 -4px;
  padding: 0;
  display: inline-grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--label-secondary);
  background: transparent;
  cursor: pointer;
  transition:
    color 160ms var(--quick),
    background 160ms var(--quick),
    transform 160ms var(--quick);
}

.service-heading-back::before {
  content: "";
  position: absolute;
  width: 40px;
  height: 40px;
}

.service-heading-back svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-heading-back:hover {
  color: var(--label-primary);
  background: oklch(1 0 0 / .06);
}

.service-heading-back:active {
  transform: scale(.96);
}

.service-heading-copy {
  margin: 4px 0 24px;
  max-width: 320px;
  text-wrap: pretty;
}

.service-heading-copy[hidden] {
  display: none !important;
}

.service-matrix {
  display: grid;
  gap: 8px;
}

.service-picker {
  position: relative;
  display: grid;
  gap: 0;
}

.service-picker[data-service-direction="forward"] {
  --service-enter-y: 9px;
  --service-exit-y: -7px;
  --service-height-dur: 320ms;
  --service-height-delay: 0ms;
}

.service-picker[data-service-direction="backward"] {
  --service-enter-y: -7px;
  --service-exit-y: 9px;
  --service-height-dur: 480ms;
  --service-height-delay: 70ms;
  --service-height-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

.service-step[hidden] {
  display: none !important;
}

.service-step {
  align-self: start;
  display: none;
}

.service-step.is-active {
  display: grid;
  pointer-events: auto;
}

.service-picker.is-transitioning .service-step.is-active {
  animation: service-step-in 360ms cubic-bezier(0.22, 1, 0.36, 1) both;
  will-change: opacity, transform, filter;
}

.service-step.is-outgoing {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  pointer-events: none;
  animation: service-step-out 300ms cubic-bezier(0.32, 0, 0.67, 0) forwards;
  will-change: opacity, transform, filter;
}

.service-picker.is-transitioning {
  pointer-events: none;
}

@keyframes service-step-out {
  from {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
  to {
    opacity: 0;
    filter: blur(8px);
    transform: translateY(var(--service-exit-y, -8px)) scale(.988);
  }
}

@keyframes service-step-in {
  from {
    opacity: 0;
    filter: blur(10px);
    transform: translateY(var(--service-enter-y, 8px)) scale(.988);
  }
  72% {
    opacity: 1;
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0) scale(1);
  }
}

.service-step-services,
.service-form {
  gap: 24px;
}

.service-step-services {
  gap: 0;
}

.service {
  position: relative;
  isolation: isolate;
  min-height: 0;
  width: 100%;
  margin-left: 0;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  align-items: start;
  color: var(--label-secondary);
  overflow: visible;
  transition:
    padding-left 220ms cubic-bezier(0.22, 1, 0.36, 1),
    color 180ms var(--quick),
    border-color 180ms var(--quick);
  cursor: pointer;
}

.service::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 14px;
  background:
    linear-gradient(135deg, oklch(1 0 0 / .045), oklch(1 0 0 / .014)),
    oklch(1 0 0 / .018);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .07),
    inset 0 1px 0 oklch(1 0 0 / .04),
    0 10px 24px oklch(0 0 0 / .14);
  opacity: 0;
  transition:
    opacity 180ms var(--quick);
  pointer-events: none;
}

.service:hover {
  padding-left: 12px;
  color: var(--label-primary);
}

.service:hover::before,
.service.is-selected::before {
  opacity: 1;
}

.service.is-selected {
  padding-left: 12px;
  color: var(--label-primary);
}

.service-title {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--label-primary);
  white-space: nowrap;
}

.service-line {
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-right: 52px;
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  row-gap: 3px;
  line-height: var(--type-note-line);
  text-wrap: pretty;
}

.service-line span {
  min-width: 0;
}

.service-line span + span::before {
  content: "\2022";
  margin: 0 4px;
  color: oklch(1 0 0 / .24);
}

.service-check {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 2;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-50%) scale(.25);
  cursor: pointer;
  transition:
    opacity 180ms var(--quick),
    filter 200ms var(--quick),
    transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service:hover .service-check,
.service:focus-visible .service-check,
.service.is-selected .service-check {
  opacity: 1;
  filter: blur(0);
  transform: translateY(-50%) scale(1);
}

.service-check input {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.service-check-box {
  width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: transparent;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .052), oklch(1 0 0 / .018)),
    oklch(1 0 0 / .035);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .13),
    inset 0 1px 0 oklch(1 0 0 / .08),
    0 8px 18px oklch(0 0 0 / .16);
  -webkit-backdrop-filter: blur(12px) saturate(140%);
  backdrop-filter: blur(12px) saturate(140%);
  transition:
    color 160ms var(--quick),
    background 180ms var(--quick),
    box-shadow 180ms var(--quick),
    transform 180ms var(--quick);
}

.service-check-box svg {
  width: 11px;
  height: 10px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: scale(.72);
  opacity: 0;
  transition:
    opacity 160ms var(--quick),
    transform 200ms var(--quick);
}

.service-check input:focus-visible + .service-check-box {
  outline: 2px solid oklch(1 0 0 / .32);
  outline-offset: 3px;
}

.service-check input:checked + .service-check-box {
  color: var(--label-on-fill);
  background: var(--fill-glass-selected);
  box-shadow: var(--shadow-glass-selected);
}

.service-check input:checked + .service-check-box svg {
  opacity: 1;
  transform: scale(1);
}

.btn.primary.service-next,
.btn.primary.service-submit {
  width: 100%;
  justify-self: stretch;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .98), oklch(0.949 0 0 / .92)),
    oklch(1 0 0 / .94);
  color: oklch(0 0 0 / .9);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .86),
    inset 0 -1px 0 oklch(0 0 0 / .08),
    inset 0 0 0 1px oklch(1 0 0 / .18),
    0 10px 24px oklch(1 0 0 / .035),
    0 2px 7px oklch(0 0 0 / .16);
  -webkit-backdrop-filter: blur(18px) saturate(150%) brightness(1.04);
  backdrop-filter: blur(18px) saturate(150%) brightness(1.04);
  transition:
    color .25s cubic-bezier(.6, .6, 0, 1),
    background .25s cubic-bezier(.6, .6, 0, 1),
    box-shadow .25s cubic-bezier(.6, .6, 0, 1),
    transform .25s cubic-bezier(.6, .6, 0, 1),
    opacity 160ms var(--quick),
    filter 160ms var(--quick);
}

.btn.primary.service-next {
  max-height: 0;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px) scale(.985);
  pointer-events: none;
  overflow: hidden;
  color: oklch(0 0 0 / .9);
  background:
    linear-gradient(180deg, oklch(1 0 0 / .98), oklch(0.949 0 0 / .92)),
    oklch(1 0 0 / .94);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .86),
    inset 0 -1px 0 oklch(0 0 0 / .08),
    inset 0 0 0 1px oklch(1 0 0 / .18),
    0 10px 24px oklch(1 0 0 / .035),
    0 2px 7px oklch(0 0 0 / .16);
  transition:
    max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
    margin-top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-top 320ms cubic-bezier(0.22, 1, 0.36, 1),
    padding-bottom 320ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 220ms cubic-bezier(0.22, 1, 0.36, 1),
    filter 260ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 320ms cubic-bezier(0.22, 1, 0.36, 1),
    color .25s cubic-bezier(.6, .6, 0, 1),
    background .25s cubic-bezier(.6, .6, 0, 1),
    box-shadow .25s cubic-bezier(.6, .6, 0, 1);
}

.btn.primary.service-next.is-visible {
  max-height: 56px;
  margin-top: 24px;
  padding-top: var(--button-padding-block);
  padding-bottom: var(--button-padding-block);
  opacity: 1;
  filter: blur(0);
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.btn.primary.service-next:hover,
.btn.primary.service-submit:hover {
  color: oklch(0 0 0 / .94);
  background:
    linear-gradient(180deg, oklch(1 0 0), oklch(0.973 0 0 / .96)),
    oklch(1 0 0 / .98);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .9),
    inset 0 -1px 0 oklch(0 0 0 / .08),
    inset 0 0 0 1px oklch(1 0 0 / .2),
    0 12px 26px oklch(1 0 0 / .05),
    0 3px 9px oklch(0 0 0 / .18);
  transform: translateY(-1px);
}

.btn.primary.service-next:hover {
  color: oklch(0 0 0 / .94);
}

.service-form {
  gap: 12px;
}

.service-success {
  min-height: 212px;
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 14px;
  text-align: center;
}

.service-success h3,
.service-success p {
  margin: 0;
}

.service-success > div {
  display: grid;
  gap: 4px;
}

.service-success h3 {
  color: var(--label-primary);
}

.service-field {
  display: grid;
  gap: 6px;
}

.service-field span {
  display: block;
}

.service-field b {
  color: oklch(0.818 0.117 53.101 / .88);
  font-weight: var(--font-weight-medium);
}

.service-field input,
.service-field textarea {
  width: 100%;
  min-height: 34px;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  color: var(--label-primary);
  background:
    linear-gradient(180deg, oklch(1 0 0 / .032), oklch(1 0 0 / .012)),
    oklch(1 0 0 / .035);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .075),
    inset 0 1px 0 oklch(1 0 0 / .04);
  outline: 0;
  transition:
    background 180ms var(--quick),
    box-shadow 180ms var(--quick);
}

.service-field textarea {
  min-height: 82px;
  resize: none;
}

.service-field input:focus,
.service-field textarea:focus {
  background:
    linear-gradient(180deg, oklch(1 0 0 / .05), oklch(1 0 0 / .018)),
    oklch(1 0 0 / .052);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .14),
    inset 0 1px 0 oklch(1 0 0 / .055),
    0 0 0 3px oklch(1 0 0 / .045);
}

.service-submit {
  margin-top: 14px;
}

.service-submit:disabled {
  opacity: .55;
  filter: saturate(.85);
  pointer-events: none;
}

.t-success-check {
  --check-opacity-dur: 500ms;
  --check-rotate-dur: 500ms;
  --check-rotate-from: 80deg;
  --check-bob-dur: 500ms;
  --check-y-amount: 40px;
  --check-blur-dur: 500ms;
  --check-blur-from: 10px;
  --check-path-dur: 500ms;
  --check-path-delay: 80ms;
  --check-ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-opacity: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-rotate: cubic-bezier(0.22, 1, 0.36, 1);
  --check-ease-bob: cubic-bezier(0.34, 1.35, 0.64, 1);
  --check-ease-path: cubic-bezier(0.22, 1, 0.36, 1);
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  color: oklch(0.936 0.104 154.421 / .96);
  background:
    linear-gradient(180deg, oklch(0.945 0.088 154.797 / .2), oklch(0.903 0.171 152.304 / .07)),
    oklch(0.9 0.175 152.541 / .08);
  box-shadow:
    inset 0 0 0 1px oklch(0.94 0.096 154.614 / .16),
    inset 0 1px 0 oklch(1 0 0 / .16),
    0 16px 34px oklch(0.888 0.209 149.829 / .08),
    0 4px 12px oklch(0 0 0 / .22);
  transform-origin: center;
  opacity: 0;
  will-change: transform, opacity, filter;
}

.t-success-check svg {
  width: 24px;
  height: 24px;
  display: block;
  overflow: visible;
}

.t-success-check svg path {
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 34;
  stroke-dashoffset: 34;
}

.t-success-check[data-state="in"] {
  animation:
    t-check-fade var(--check-opacity-dur) var(--check-ease-opacity) forwards,
    t-check-rotate var(--check-rotate-dur) var(--check-ease-rotate) forwards,
    t-check-blur var(--check-blur-dur) var(--check-ease-out) forwards,
    t-check-bob var(--check-bob-dur) var(--check-ease-bob) forwards;
}

.t-success-check[data-state="in"] svg path {
  animation: t-check-draw var(--check-path-dur) var(--check-ease-path) var(--check-path-delay) forwards;
}

@keyframes t-check-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes t-check-rotate {
  from { transform: rotate(var(--check-rotate-from)); }
  to { transform: rotate(0deg); }
}

@keyframes t-check-blur {
  from { filter: blur(var(--check-blur-from)); }
  to { filter: blur(0); }
}

@keyframes t-check-bob {
  from { translate: 0 var(--check-y-amount); }
  to { translate: 0 0; }
}

@keyframes t-check-draw {
  to { stroke-dashoffset: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .t-success-check {
    animation: none !important;
    opacity: 1;
  }

  .t-success-check svg path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}

.service-visual {
  position: absolute;
  right: 2px;
  top: 50%;
  z-index: 1;
  width: 58px;
  height: 42px;
  color: var(--label-primary);
  opacity: 0;
  filter: blur(4px);
  transform: translateY(-50%) scale(.25);
  transform-origin: right center;
  pointer-events: none;
  transition:
    opacity 180ms var(--quick),
    filter 220ms var(--quick),
    transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

.service:hover .service-visual {
  opacity: .86;
  filter: blur(0);
  transform: translateY(-50%) scale(1);
}

.service-visual span,
.service-visual::before,
.service-visual::after {
  position: absolute;
  content: "";
  display: block;
  box-sizing: border-box;
}

.service-visual-product::before {
  left: 6px;
  right: 7px;
  top: 21px;
  height: 1px;
  background: linear-gradient(90deg, transparent, oklch(1 0 0 / .44), transparent);
  transform: scaleX(.2);
  transform-origin: left center;
}

.service-visual-product span {
  width: 13px;
  height: 13px;
  border-radius: 4px;
  background: oklch(1 0 0 / .08);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .28);
}

.service-visual-product span:nth-child(1) {
  left: 3px;
  top: 15px;
}

.service-visual-product span:nth-child(2) {
  left: 22px;
  top: 5px;
}

.service-visual-product span:nth-child(3) {
  right: 4px;
  top: 15px;
}

.service-visual-product span:nth-child(4) {
  display: none;
}

.service:hover .service-visual-product::before {
  animation: service-flow-line 950ms var(--quick) both;
}

.service:hover .service-visual-product span {
  animation: service-node-pop 900ms var(--quick) both;
}

.service:hover .service-visual-product span:nth-child(2) {
  animation-delay: 80ms;
}

.service:hover .service-visual-product span:nth-child(3) {
  animation-delay: 160ms;
}

.service-visual-web span:nth-child(1),
.service-visual-web span:nth-child(2),
.service-visual-web span:nth-child(3) {
  border-radius: 5px;
  border: 1px solid oklch(1 0 0 / .32);
  background: oklch(1 0 0 / .055);
}

.service-visual-web span:nth-child(1) {
  width: 42px;
  height: 27px;
  right: 6px;
  top: 6px;
}

.service-visual-web span:nth-child(2) {
  width: 20px;
  height: 31px;
  right: 1px;
  top: 9px;
}

.service-visual-web span:nth-child(3) {
  width: 27px;
  height: 16px;
  right: 23px;
  top: 20px;
}

.service-visual-web span:nth-child(4) {
  right: 12px;
  top: 14px;
  width: 15px;
  height: 1px;
  background: oklch(1 0 0 / .46);
  box-shadow: 0 5px 0 oklch(1 0 0 / .28), 0 10px 0 oklch(1 0 0 / .18);
}

.service:hover .service-visual-web span {
  animation: service-frame-scan 1200ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-visual-brand::before {
  right: 10px;
  top: 8px;
  width: 24px;
  height: 24px;
  border-radius: 8px;
  border: 1px solid oklch(1 0 0 / .34);
  transform: rotate(45deg);
}

.service-visual-brand::after {
  right: 3px;
  bottom: 6px;
  width: 38px;
  height: 13px;
  border-radius: 999px;
  background: oklch(1 0 0 / .07);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .18);
}

.service-visual-brand span:nth-child(1) {
  right: 16px;
  top: 14px;
  width: 12px;
  height: 12px;
  border-radius: 4px;
  background: oklch(1 0 0 / .18);
}

.service-visual-brand span:nth-child(n+2) {
  display: none;
}

.service:hover .service-visual-brand::before {
  animation: service-brand-turn 1100ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service:hover .service-visual-brand::after {
  animation: service-label-slide 900ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

.service-visual-motion::before {
  left: 5px;
  right: 7px;
  bottom: 9px;
  height: 1px;
  background: oklch(1 0 0 / .2);
}

.service-visual-motion::after {
  right: 10px;
  top: 9px;
  width: 0;
  height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 12px solid oklch(1 0 0 / .6);
}

.service-visual-motion span {
  bottom: 6px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: oklch(1 0 0 / .2);
}

.service-visual-motion span:nth-child(1) {
  left: 8px;
}

.service-visual-motion span:nth-child(2) {
  left: 23px;
}

.service-visual-motion span:nth-child(3) {
  left: 38px;
}

.service-visual-motion span:nth-child(4) {
  display: none;
}

.service:hover .service-visual-motion::after {
  animation: service-play-pulse 900ms var(--quick) both;
}

.service:hover .service-visual-motion span {
  animation: service-timeline-step 900ms var(--quick) both;
}

.service:hover .service-visual-motion span:nth-child(2) {
  animation-delay: 70ms;
}

.service:hover .service-visual-motion span:nth-child(3) {
  animation-delay: 140ms;
}

@keyframes service-flow-line {
  from {
    transform: scaleX(.2);
    opacity: .35;
  }

  to {
    transform: scaleX(1);
    opacity: 1;
  }
}

@keyframes service-node-pop {
  0% {
    transform: translateY(2px) scale(.82);
    opacity: .45;
  }

  55% {
    transform: translateY(0) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

@keyframes service-frame-scan {
  from {
    transform: translateX(5px) scale(.96);
    opacity: .55;
  }

  to {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes service-brand-turn {
  from {
    transform: rotate(34deg) scale(.9);
    opacity: .55;
  }

  to {
    transform: rotate(45deg) scale(1);
    opacity: 1;
  }
}

@keyframes service-label-slide {
  from {
    transform: translateX(8px) scaleX(.72);
    opacity: .55;
  }

  to {
    transform: translateX(0) scaleX(1);
    opacity: 1;
  }
}

@keyframes service-play-pulse {
  0% {
    transform: translateX(-4px) scale(.92);
    opacity: .55;
  }

  60% {
    transform: translateX(0) scale(1.08);
    opacity: 1;
  }

  100% {
    transform: translateX(0) scale(1);
    opacity: 1;
  }
}

@keyframes service-timeline-step {
  from {
    transform: translateY(2px) scale(.8);
    opacity: .45;
  }

  to {
    transform: translateY(0) scale(1);
    opacity: 1;
  }
}

.actions {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  width: 100%;
  margin-top: 0;
  isolation: isolate;
}

.btn {
  --button-font-size: var(--button-regular-font-size);
  --button-line-height: var(--button-regular-line-height);
  --button-padding-block: var(--button-regular-padding-block);
  --button-padding-inline: var(--button-regular-padding-inline);
  --button-image-padding: var(--button-regular-image-padding);
  --button-icon-size: var(--button-regular-icon-size);
  --button-font-weight: var(--font-weight-regular);
  min-height: calc(var(--button-line-height) + (var(--button-padding-block) * 2));
  padding: var(--button-padding-block) var(--button-padding-inline);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 0;
  background: var(--fill-glass);
  box-shadow: var(--shadow-glass);
  -webkit-backdrop-filter: var(--material-glass-filter-webkit);
  backdrop-filter: var(--material-glass-filter);
  color: var(--label-secondary);
  position: relative;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color .25s cubic-bezier(.6, .6, 0, 1),
    background .25s cubic-bezier(.6, .6, 0, 1),
    box-shadow .25s cubic-bezier(.6, .6, 0, 1),
    transform .25s cubic-bezier(.6, .6, 0, 1);
}

.btn-mini {
  --button-font-size: var(--button-mini-font-size);
  --button-line-height: var(--button-mini-line-height);
  --button-padding-block: var(--button-mini-padding-block);
  --button-padding-inline: var(--button-mini-padding-inline);
  --button-image-padding: var(--button-mini-image-padding);
  --button-icon-size: var(--button-mini-icon-size);
}

.btn-small {
  --button-font-size: var(--button-small-font-size);
  --button-line-height: var(--button-small-line-height);
  --button-padding-block: var(--button-small-padding-block);
  --button-padding-inline: var(--button-small-padding-inline);
  --button-image-padding: var(--button-small-image-padding);
  --button-icon-size: var(--button-small-icon-size);
}

.btn-regular {
  --button-font-size: var(--button-regular-font-size);
  --button-line-height: var(--button-regular-line-height);
  --button-padding-block: var(--button-regular-padding-block);
  --button-padding-inline: var(--button-regular-padding-inline);
  --button-image-padding: var(--button-regular-image-padding);
  --button-icon-size: var(--button-regular-icon-size);
}

.btn-large {
  --button-font-size: var(--button-large-font-size);
  --button-line-height: var(--button-large-line-height);
  --button-padding-block: var(--button-large-padding-block);
  --button-padding-inline: var(--button-large-padding-inline);
  --button-image-padding: var(--button-large-image-padding);
  --button-icon-size: var(--button-large-icon-size);
  --button-font-weight: var(--font-weight-semibold);
}

.btn-icon {
  gap: var(--button-image-padding);
  padding-left: calc(var(--button-padding-inline) - 2px);
}

.btn-icon svg {
  width: var(--button-icon-size);
  height: var(--button-icon-size);
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn.primary {
  flex: 1 1 auto;
  min-width: 0;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .38), oklch(1 0 0 / .16)),
    oklch(1 0 0 / .12);
  color: var(--label-primary);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .22),
    inset 0 -1px 0 oklch(0 0 0 / .18),
    inset 0 0 0 1px oklch(1 0 0 / .11),
    0 10px 24px oklch(0 0 0 / .22),
    0 2px 7px oklch(0 0 0 / .16);
  -webkit-backdrop-filter: blur(18px) saturate(155%) brightness(1.05);
  backdrop-filter: blur(18px) saturate(155%) brightness(1.05);
}

#emailLink.btn.primary {
  z-index: 3;
  flex: 0 0 auto;
  width: fit-content;
  background: var(--fill-glass-selected);
  color: var(--label-primary);
  box-shadow: var(--shadow-glass-selected);
  -webkit-backdrop-filter: var(--material-glass-selected-filter-webkit);
  backdrop-filter: var(--material-glass-selected-filter);
}

.btn.secondary {
  background: var(--fill-glass);
}

.btn:hover {
  color: var(--label-primary);
  background: var(--fill-glass-selected);
  box-shadow: var(--shadow-glass-selected);
}

.btn.primary:hover {
  color: var(--label-white);
  background:
    linear-gradient(180deg, oklch(1 0 0 / .48), oklch(1 0 0 / .2)),
    oklch(1 0 0 / .16);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .28),
    inset 0 -1px 0 oklch(0 0 0 / .16),
    inset 0 0 0 1px oklch(1 0 0 / .16),
    0 12px 26px oklch(0 0 0 / .26),
    0 3px 9px oklch(0 0 0 / .18);
  transform: translateY(-1px);
}

#emailLink.btn.primary:hover {
  color: var(--label-white);
  background:
    linear-gradient(135deg, oklch(1 0 0 / .088), oklch(1 0 0 / .034) 52%, oklch(0 0 0 / .012)),
    oklch(0.979 0.01 267.36 / .086);
  box-shadow: var(--shadow-glass-selected);
}

.btn:active {
  transform: scale(.96);
  background: var(--fill-glass);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .05),
    inset 0 2px 6px oklch(0 0 0 / .16);
}

.btn.primary:active {
  color: var(--label-primary);
  background:
    linear-gradient(180deg, oklch(1 0 0 / .24), oklch(1 0 0 / .12)),
    oklch(1 0 0 / .1);
  box-shadow:
    inset 0 1px 5px oklch(0 0 0 / .18),
    inset 0 0 0 1px oklch(1 0 0 / .08);
}

.social-tabs {
  --segment-padding: 2px;
  --social-tab-count: 4;
  --social-tab-size: 28px;
  --social-tabs-closed: 62px;
  --social-tabs-height: calc(var(--button-small-line-height) + (var(--button-small-padding-block) * 2));
  --social-tabs-open-width: calc((var(--segment-padding) * 2) + (var(--social-tab-size) * var(--social-tab-count)));
  --social-tabs-open-height: calc((var(--segment-padding) * 2) + var(--social-tab-size));
  --social-tabs-dur: 260ms;
  --social-tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  isolation: isolate;
  width: var(--social-tabs-closed);
  min-width: var(--social-tabs-closed);
  height: var(--social-tabs-height);
  min-height: var(--social-tabs-height);
  padding: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  border-radius: 999px;
  overflow: visible;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .028), oklch(1 0 0 / .012)),
    oklch(1 0 0 / .022);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .05),
    inset 0 1px 0 oklch(1 0 0 / .03);
  -webkit-backdrop-filter: blur(12px) saturate(120%);
  backdrop-filter: blur(12px) saturate(120%);
  transform: translateZ(0);
  transition:
    box-shadow 220ms var(--quick),
    background 220ms var(--quick);
}

.social-label {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  color: var(--label-secondary);
  font-size: var(--button-small-font-size);
  line-height: var(--button-small-line-height);
  pointer-events: none;
  transition:
    opacity 160ms var(--quick),
    transform 220ms var(--social-tabs-ease),
    filter 160ms var(--quick),
    color 160ms var(--quick);
}

.social-tabs::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--social-tabs-closed);
  height: 100%;
  z-index: 0;
  border-radius: inherit;
  background: none;
  transform: translateY(-50%);
  transition:
    width var(--social-tabs-dur) var(--social-tabs-ease),
    height var(--social-tabs-dur) var(--social-tabs-ease),
    background 220ms var(--quick);
  pointer-events: none;
}

.social-tabs::after {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: var(--social-tabs-closed);
  height: 100%;
  z-index: 1;
  border-radius: inherit;
  box-shadow: none;
  transform: translateY(-50%);
  transition:
    width var(--social-tabs-dur) var(--social-tabs-ease),
    height var(--social-tabs-dur) var(--social-tabs-ease),
    box-shadow 220ms var(--quick);
  pointer-events: none;
}

.social-tabs:is(:hover, :focus, :focus-within) {
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: blur(22px) saturate(150%) brightness(.96);
  backdrop-filter: blur(22px) saturate(150%) brightness(.96);
}

.social-tabs:is(:hover, :focus, :focus-within)::before {
  width: var(--social-tabs-open-width);
  height: var(--social-tabs-open-height);
  background: var(--tab-glass-bg);
}

.social-tabs:is(:hover, :focus, :focus-within)::after {
  width: var(--social-tabs-open-width);
  height: var(--social-tabs-open-height);
  box-shadow: none;
}

.social-tabs:is(:hover, :focus, :focus-within) .social-label {
  opacity: 0;
  transform: translateX(8px) scale(.92);
  filter: blur(4px);
  color: var(--label-primary);
}

.social-tab {
  position: relative;
  z-index: 2;
  width: var(--social-tab-size);
  height: var(--social-tab-size);
  flex: 0 0 var(--social-tab-size);
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--label-secondary);
  opacity: 0;
  transform: translateX(-18px) scale(.25);
  filter: blur(4px);
  pointer-events: none;
  transition:
    color 180ms var(--quick),
    opacity 200ms var(--morph-close-ease),
    transform var(--social-tabs-dur) var(--social-tabs-ease),
    filter 200ms var(--morph-close-ease),
    background 180ms var(--quick);
}

.social-tabs:is(:hover, :focus, :focus-within) .social-tab {
  opacity: 1;
  transform: translateX(var(--segment-padding)) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.social-tabs:is(:hover, :focus, :focus-within) .social-tab:nth-of-type(1) {
  transition-delay: 0ms;
}

.social-tabs:is(:hover, :focus, :focus-within) .social-tab:nth-of-type(2) {
  transition-delay: 30ms;
}

.social-tabs:is(:hover, :focus, :focus-within) .social-tab:nth-of-type(3) {
  transition-delay: 60ms;
}

.social-tabs:is(:hover, :focus, :focus-within) .social-tab:nth-of-type(4) {
  transition-delay: 90ms;
}

.social-tab:hover,
.social-tab:focus-visible {
  color: var(--label-on-fill);
  background: var(--fill-glass-selected);
  box-shadow: var(--shadow-glass-selected);
  outline: 0;
}

.social-tab:active {
  transform: scale(.96);
}

.social-icon,
.social-icon svg {
  width: 17px;
  height: 17px;
  display: block;
}

.social-icon svg {
  fill: currentColor;
  stroke: none;
}

.social-icon-x svg {
  width: 14px;
  height: 14px;
}

.social-icon-x {
  display: grid;
  place-items: center;
}

.t-tt-wrap {
  position: relative;
}

.t-tt {
  --tt-scale: .98;
  --tt-shift: 0px;
  position: absolute;
  left: 50%;
  top: calc(100% + 8px);
  bottom: auto;
  z-index: 80;
  max-width: calc(100vw - 48px);
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--label-primary);
  background: var(--panel-2);
  font-size: var(--type-note-size);
  line-height: var(--type-note-line);
  font-weight: var(--font-weight-regular);
  box-shadow:
    inset 0 0 0 1px var(--stroke-glass-strong),
    0 10px 26px oklch(0 0 0 / .34);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0;
  transform: translate(calc(-50% + var(--tt-shift)), -3px) scale(var(--tt-scale));
  transform-origin: 50% 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition:
    opacity 50ms ease-out,
    transform 50ms ease-out;
}

.t-tt-wrap:hover .t-tt,
.t-tt-wrap:focus-within .t-tt,
.t-tt-trigger:focus-visible + .t-tt {
  opacity: 1;
  transform: translate(calc(-50% + var(--tt-shift)), 0) scale(1);
  transition-duration: 150ms;
  transition-timing-function: ease-out;
  transition-delay: 80ms;
}

.footer {
  grid-row: 4;
  opacity: 0.001;
  transform: translateY(16px);
}

.footer-actions {
  margin-bottom: 18px;
}

.footer p {
  margin: 7px 0;
}

.footer-meta {
  width: 100%;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  font-variant-numeric: tabular-nums;
}

.footer-meta time {
  min-width: 0;
  color: var(--label-primary);
  white-space: nowrap;
}

.mobile-footer-meta {
  display: none;
}

.language-menu {
  position: relative;
  z-index: 70;
  margin-left: auto;
  line-height: 1;
}

.language-trigger,
.language-dropdown button {
  border: 0;
  background: transparent;
  color: var(--label-secondary);
  cursor: pointer;
  font-family: inherit;
  font-size: var(--type-ui-size);
  line-height: var(--type-ui-line);
}

.language-trigger {
  position: relative;
  z-index: 1;
  min-width: calc(var(--button-mini-line-height) + (var(--button-mini-padding-inline) * 2));
  min-height: calc(var(--button-mini-line-height) + (var(--button-mini-padding-block) * 2));
  padding:
    var(--button-mini-padding-block)
    0
    var(--button-mini-padding-block)
    var(--button-mini-padding-inline);
  display: inline-grid;
  place-items: center;
  text-align: right;
  transition: color 180ms var(--quick), opacity 180ms var(--quick);
}

.language-trigger:hover,
.language-trigger[aria-expanded="true"] {
  color: var(--label-primary);
}

.language-dropdown {
  position: absolute;
  right: 0;
  bottom: calc(100% + 8px);
  z-index: 2;
  min-width: max-content;
  padding: 4px;
  display: grid;
  gap: 2px;
  border-radius: 10px;
  overflow: visible;
  isolation: isolate;
  background:
    linear-gradient(180deg, oklch(0.231 0 0 / .96), oklch(0.178 0 0 / .96)),
    oklch(0.182 0 0 / .96);
  box-shadow:
    inset 0 1px 0 oklch(1 0 0 / .04),
    inset 0 0 0 1px oklch(1 0 0 / .05),
    0 12px 28px oklch(0 0 0 / .28);
  -webkit-backdrop-filter: blur(12px) saturate(110%);
  backdrop-filter: blur(12px) saturate(110%);
}

.language-dropdown::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .05), oklch(1 0 0 / .015)),
    oklch(1 0 0 / .02);
  pointer-events: none;
}

.language-dropdown button {
  position: relative;
  z-index: 1;
  width: 100%;
  min-width: 0;
  min-height: 24px;
  border-radius: 6px;
  padding: 3px 5px 3px 6px;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 4px;
  transition:
    color 160ms var(--quick),
    background 160ms var(--quick),
    transform 160ms var(--quick);
}

.language-dropdown button:hover,
.language-dropdown button[aria-checked="true"] {
  color: var(--label-primary);
  background: oklch(1 0 0 / .075);
}

.language-dropdown button:active {
  transform: scale(.96);
}

.language-dropdown button::before {
  content: "";
  position: absolute;
  inset: 0;
}

.language-flag {
  width: calc(var(--type-ui-size) * 1.28);
  height: calc(var(--type-ui-size) * .78);
  max-height: calc(var(--type-ui-size) * .78);
  flex: 0 0 auto;
  display: block;
  border-radius: 2px;
  object-fit: cover;
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .2),
    0 1px 3px oklch(0 0 0 / .2);
  image-rendering: auto;
}

.t-dropdown {
  transform-origin: top left;
  transform: scale(.97);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 250ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 250ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
}

.t-dropdown[data-origin="bottom-right"] {
  transform-origin: bottom right;
}

.t-dropdown.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}

.t-dropdown.is-closing {
  transform: scale(.99);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 150ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 150ms cubic-bezier(0.22, 1, 0.36, 1);
}

.footer strong {
  color: var(--label-primary);
}

.work-area {
  min-width: 0;
  padding-top: 0;
  padding-bottom: 0;
  position: relative;
}

.work-toolbar {
  position: sticky;
  top: var(--shell-y);
  z-index: 30;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin: 0;
  pointer-events: none;
  isolation: isolate;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition:
    opacity 220ms var(--quick),
    transform 280ms var(--quick),
    visibility 0ms linear 220ms;
}

.work-toolbar.is-ready {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition:
    opacity 220ms var(--quick),
    transform 280ms var(--quick),
    visibility 0ms linear 0ms;
}

.segmented-control {
  --segment-padding: 2px;
  --segment-tab-height: 28px;
  --view-tab-slot: 28px;
  --view-tab-count: 4;
  position: relative;
  isolation: isolate;
  width: fit-content;
  margin: 0;
  padding: var(--segment-padding);
  display: flex;
  align-items: center;
  gap: 0;
  border: 0;
  border-radius: 999px;
  background: var(--tab-glass-bg);
  box-shadow: none;
  -webkit-backdrop-filter: blur(22px) saturate(150%) brightness(.96);
  backdrop-filter: blur(22px) saturate(150%) brightness(.96);
  overflow: clip;
  pointer-events: auto;
  transform: translateZ(0);
}

.segmented-control::before {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.segmented-control::after {
  content: none;
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  box-shadow: none;
  pointer-events: none;
}

.filter-tabs {
  background: var(--tab-glass-bg);
  box-shadow: none;
  -webkit-backdrop-filter: blur(22px) saturate(150%) brightness(.96);
  backdrop-filter: blur(22px) saturate(150%) brightness(.96);
}

.filter-tabs::before {
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.filter-tabs::after {
  box-shadow: none;
}

.tab-indicator {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  border-radius: 999px;
  overflow: hidden;
  clip-path: inset(0 round 999px);
  background: var(--tab-active-bg);
  box-shadow: var(--tab-active-shadow);
  opacity: 0;
  transition:
    width 260ms var(--morph-close-ease),
    height 260ms var(--morph-close-ease),
    transform 260ms var(--morph-close-ease),
    opacity 160ms var(--quick);
  pointer-events: none;
}

.segmented-control.is-ready .tab-indicator {
  opacity: 1;
}

.segmented-control.is-hydrating .tab-indicator,
.segmented-control.is-hydrating .tab {
  transition: none !important;
}

.tab {
  height: var(--segment-tab-height);
  min-height: var(--segment-tab-height);
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--tab-label-rest);
  cursor: pointer;
  position: relative;
  z-index: 3;
  text-shadow: none;
  transition:
    color 180ms var(--quick),
    transform 180ms var(--quick);
}

.tab-text {
  position: relative;
  z-index: 1;
  mix-blend-mode: normal;
  color: var(--tab-label-rest);
  text-shadow: var(--tab-label-shadow);
}

.tab.active .tab-text {
  color: var(--tab-label-active);
  text-shadow: var(--tab-label-shadow);
}

.tab:hover {
  color: var(--tab-label-hover);
}

.tab:hover .tab-text {
  color: var(--label-secondary);
}

.tab.active {
  color: var(--tab-label-active);
}

.tab:active {
  transform: scale(.96);
}

.icon-tab {
  width: var(--view-tab-slot);
  padding: 2px;
  aspect-ratio: 1;
}

.view-tabs {
  --view-tabs-dur: 260ms;
  --view-tabs-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --view-icon-color: var(--tab-label-rest);
  --view-icon-hover-color: var(--tab-label-hover);
  --view-icon-active-color: var(--tab-label-active);
  margin-left: auto;
  width: calc((var(--segment-padding) * 2) + var(--view-tab-slot));
  min-width: calc((var(--segment-padding) * 2) + var(--view-tab-slot));
  height: calc((var(--segment-padding) * 2) + var(--segment-tab-height));
  justify-content: flex-end;
  border-radius: 999px;
  overflow: visible;
  transition:
    width var(--view-tabs-dur) var(--view-tabs-ease),
    min-width var(--view-tabs-dur) var(--view-tabs-ease),
    border-radius var(--view-tabs-dur) var(--view-tabs-ease);
}

.view-tabs::before,
.view-tabs::after {
  clip-path: inset(0 round 999px);
}

.view-tabs:is(:hover, :focus-within, [data-open="true"]) {
  width: calc((var(--segment-padding) * 2) + (var(--view-tab-slot) * var(--view-tab-count)));
  min-width: calc((var(--segment-padding) * 2) + (var(--view-tab-slot) * var(--view-tab-count)));
  border-radius: 999px;
}

.view-tabs .icon-tab {
  width: var(--view-tab-slot);
  height: var(--segment-tab-height);
  min-height: var(--segment-tab-height);
  flex: 0 0 var(--view-tab-slot);
  z-index: 4;
  color: var(--view-icon-color);
  opacity: 0;
  transform: translateX(38px) scale(.25);
  filter: blur(4px);
  pointer-events: none;
  transition:
    opacity 200ms var(--morph-close-ease),
    transform var(--view-tabs-dur) var(--view-tabs-ease),
    filter 200ms var(--morph-close-ease),
    color 180ms var(--quick);
}

.view-tabs .tab-indicator {
  display: none;
}

.view-tabs .view-active-orb {
  position: absolute;
  top: var(--segment-padding);
  left: var(--segment-padding);
  z-index: 2;
  width: var(--view-tab-slot);
  height: var(--segment-tab-height);
  border-radius: 999px;
  background: var(--tab-active-bg);
  box-shadow: var(--tab-active-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 1;
  transform: translateX(var(--view-orb-x, 0px));
  transition:
    transform var(--view-tabs-dur) var(--view-tabs-ease),
    opacity 150ms var(--quick);
  pointer-events: none;
}

.view-tabs:is(:hover, :focus-within, [data-open="true"]) .view-active-orb {
  transform: translateX(var(--view-active-x, 0px));
}

.view-tabs .icon-tab::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: var(--tab-active-bg);
  box-shadow: var(--tab-active-shadow);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  opacity: 0;
  transition: opacity 150ms var(--quick);
  pointer-events: none;
}

.view-tabs .icon-tab::after {
  content: attr(data-tooltip);
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 80;
  max-width: calc(100vw - 48px);
  padding: 5px 8px;
  border-radius: 8px;
  color: var(--label-primary);
  background: var(--panel-2);
  font-size: var(--type-note-size);
  line-height: var(--type-note-line);
  font-weight: var(--font-weight-regular);
  box-shadow:
    inset 0 0 0 1px var(--stroke-glass-strong),
    0 10px 26px oklch(0 0 0 / .34);
  opacity: 0;
  transform: translateY(-3px) scale(.98);
  transform-origin: 100% 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  transition:
    opacity 50ms ease-out,
    transform 50ms ease-out;
}

.view-tabs .icon-tab.active::before {
  opacity: 0;
}

.view-tabs .view-icon {
  position: relative;
  z-index: 5;
  color: currentColor;
}

.view-tabs .icon-tab.active {
  color: var(--view-icon-active-color);
  opacity: 1;
  transform: translateX(var(--view-active-offset, 0px)) scale(1);
  filter: blur(0);
  pointer-events: auto;
  text-shadow: none;
}

.view-tabs:is(:hover, :focus-within, [data-open="true"]) .icon-tab {
  opacity: 1;
  transform: translateX(0) scale(1);
  filter: blur(0);
  pointer-events: auto;
}

.view-tabs:is(:hover, :focus-within, [data-open="true"]) .icon-tab:not(.active):hover,
.view-tabs .icon-tab:not(.active):focus-visible {
  color: var(--view-icon-hover-color);
}

.view-tabs .icon-tab:hover::after,
.view-tabs .icon-tab:focus-visible::after {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-duration: 150ms;
  transition-timing-function: ease-out;
  transition-delay: 80ms;
}

.view-tabs.is-hydrating,
.view-tabs.is-hydrating .icon-tab {
  transition: none !important;
}

.view-icon {
  width: 14px;
  height: 14px;
  display: grid;
  gap: 2px;
  color: currentColor;
}

.view-icon-bento {
  position: relative;
  display: block;
  background:
    linear-gradient(currentColor 0 0) 0 0 / 7px 1px no-repeat,
    linear-gradient(currentColor 0 0) 0 13px / 7px 1px no-repeat,
    linear-gradient(currentColor 0 0) 0 0 / 1px 14px no-repeat,
    linear-gradient(currentColor 0 0) 6px 0 / 1px 14px no-repeat,
    linear-gradient(currentColor 0 0) 9px 0 / 5px 1px no-repeat,
    linear-gradient(currentColor 0 0) 9px 5px / 5px 1px no-repeat,
    linear-gradient(currentColor 0 0) 9px 0 / 1px 6px no-repeat,
    linear-gradient(currentColor 0 0) 13px 0 / 1px 6px no-repeat,
    linear-gradient(currentColor 0 0) 9px 8px / 5px 1px no-repeat,
    linear-gradient(currentColor 0 0) 9px 13px / 5px 1px no-repeat,
    linear-gradient(currentColor 0 0) 9px 8px / 1px 6px no-repeat,
    linear-gradient(currentColor 0 0) 13px 8px / 1px 6px no-repeat;
}

.view-icon-bento::before,
.view-icon-bento::after {
  content: "";
  display: none;
}

.view-icon-two {
  grid-template-columns: repeat(2, 1fr);
}

.view-icon-two::before,
.view-icon-two::after {
  content: "";
  border: 1px solid currentColor;
  border-radius: 2px;
}

.view-icon-four {
  border: 1px solid currentColor;
  border-radius: 2px;
  background:
    linear-gradient(currentColor 0 0) 50% 0 / 1px 100% no-repeat,
    linear-gradient(currentColor 0 0) 0 50% / 100% 1px no-repeat;
}

.view-icon-single {
  grid-template-rows: repeat(3, 1fr);
}

.view-icon-single::before,
.view-icon-single::after {
  content: "";
  border: 1px solid currentColor;
  border-radius: 2px;
}

.view-icon-single {
  border: 1px solid currentColor;
  border-radius: 2px;
}

.project-detail-panel[hidden],
.project-showcase[hidden] {
  display: none !important;
}

.app-shell.is-project-detail .rail {
  grid-template-rows: auto;
  align-content: start;
}

.app-shell.is-project-detail .rail > :not(.project-detail-panel) {
  display: none;
}

.app-shell.is-project-detail .work-area {
  padding-top: 0;
  padding-bottom: 0;
}

.app-shell.is-project-detail .work-toolbar,
.app-shell.is-project-detail .project-grid {
  display: none;
}

.app-shell.is-project-detail .site-quote {
  display: none;
}

.detail-visual-toolbar[hidden] {
  display: none !important;
}

.detail-visual-toolbar {
  position: sticky;
  top: var(--shell-y);
  z-index: 30;
  display: flex;
  justify-content: flex-end;
  margin: 0;
  padding-bottom: 20px;
  pointer-events: none;
  isolation: isolate;
}

.detail-visual-toolbar .segmented-control {
  pointer-events: auto;
}

.project-detail-panel {
  min-height: calc(100vh - (var(--shell-y) * 2));
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  animation: block-appear 620ms var(--spring) both;
}

.project-detail-header {
  display: grid;
  gap: 16px;
  align-content: start;
}

.project-back {
  width: 32px;
  min-width: 32px;
  height: 32px;
  min-height: 32px;
  padding: 0;
}

.project-back svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  transform: translateX(-1px);
}

.project-detail-copy {
  display: grid;
  gap: 16px;
}

.project-detail-copy p,
.project-detail-copy h1 {
  margin: 0;
}

.project-detail-copy h1 {
  max-width: 330px;
  color: var(--label-primary);
  font-size: clamp(26px, 3.2vw, 42px);
  line-height: .98;
  font-weight: var(--font-weight-medium);
  letter-spacing: 0;
  text-wrap: balance;
}

.project-detail-description {
  max-width: 342px;
  margin: 0;
  color: var(--label-secondary);
}

.project-detail-divider {
  height: 1px;
  background: var(--line);
  margin: 4px 0 2px;
}

.project-detail-info {
  padding: 14px 0 2px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 32px;
  row-gap: 28px;
}

.project-info-column {
  display: grid;
  align-content: start;
  gap: 14px;
}

.project-info-column h2 {
  margin: 0;
  font-weight: var(--font-weight-regular);
  color: var(--label-tertiary);
}

.project-info-column ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.project-info-column li {
  margin: 0;
  color: var(--label-secondary);
}

.project-detail-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: auto;
  padding-top: 24px;
}

.project-nav-link {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 0;
  border-radius: 0;
  color: var(--label-tertiary);
  text-decoration: none;
  transition:
    color 160ms var(--quick),
    transform 160ms var(--quick);
}

.project-nav-link:hover,
.project-nav-link:focus-visible {
  color: var(--label-primary);
}

.project-nav-link:active {
  transform: scale(.98);
}

.project-nav-icon {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: var(--label-secondary);
  background: var(--fill-tertiary);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .055),
    inset 0 1px 0 oklch(1 0 0 / .04);
  transition:
    color 160ms var(--quick),
    background 160ms var(--quick),
    box-shadow 160ms var(--quick);
}

.project-nav-link:hover .project-nav-icon,
.project-nav-link:focus-visible .project-nav-icon {
  color: var(--label-primary);
  background: var(--fill-secondary);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .09),
    inset 0 1px 0 oklch(1 0 0 / .055);
}

.project-nav-icon svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.project-nav-copy {
  min-width: 0;
  display: block;
}

.project-nav-link strong {
  display: block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.project-nav-link strong {
  font-weight: var(--font-weight-medium);
  color: var(--label-secondary);
  transition: color 160ms var(--quick);
}

.project-nav-link:hover strong,
.project-nav-link:focus-visible strong {
  color: var(--label-primary);
}

.project-nav-next {
  justify-content: flex-end;
  text-align: right;
}

.project-showcase {
  display: grid;
  gap: 12px;
  margin-top: 0;
  padding-bottom: 0;
  animation: block-appear 620ms var(--spring) both;
}

.project-showcase.view-single {
  grid-template-columns: 1fr;
}

.project-showcase.view-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.project-showcase.view-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
}

.project-showcase.view-bento {
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: 8px;
  grid-auto-flow: dense;
  align-items: start;
}

.project-visual {
  position: relative;
  margin: 0;
  min-height: clamp(360px, 62vh, 780px);
  overflow: hidden;
  border: 2px solid oklch(1 0 0 / .1);
  border-radius: 40px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .04), oklch(1 0 0 / .02)),
    oklch(1 0 0 / .03);
  opacity: 0.001;
  transform: translateY(16px);
}

.project-visual::before,
.project-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(110deg, oklch(1 0 0 / 0) 0%, oklch(1 0 0 / .08) 38%, oklch(1 0 0 / .16) 50%, oklch(1 0 0 / .08) 62%, oklch(1 0 0 / 0) 100%),
    linear-gradient(180deg, oklch(1 0 0 / .03), oklch(1 0 0 / .015)),
    oklch(1 0 0 / .02);
  background-size: 220% 100%, 100% 100%, 100% 100%;
  background-position: 180% 0, 0 0, 0 0;
  opacity: 1;
  pointer-events: none;
  animation: media-skeleton-shimmer 1.35s linear infinite;
  transition: opacity 220ms ease-out;
}

.project-visual.is-loaded::before,
.project-card.is-loaded::before {
  opacity: 0;
}

.project-visual:first-of-type {
  min-height: clamp(440px, 76vh, 860px);
}

.project-showcase.view-two .project-visual,
.project-showcase.view-four .project-visual {
  min-height: clamp(240px, 30vw, 420px);
}

.project-showcase.view-bento .project-visual {
  grid-column: span var(--bento-col-span, 6);
  grid-row: span var(--bento-row-span, 48);
  height: 100%;
  min-height: 0;
}

.project-visual-zoom {
  width: 100%;
  height: 100%;
  min-height: inherit;
  display: block;
  padding: 0;
  border: 0;
  border-radius: inherit;
  background: transparent;
  color: inherit;
  cursor: zoom-in;
  overflow: hidden;
}

.project-visual-zoom:active {
  transform: scale(.996);
}

.project-visual img,
.project-visual video,
.project-visual-zoom img,
.project-visual-zoom video {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  border-radius: inherit;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
  opacity: 0;
  transition: opacity 260ms ease-out;
}

.project-visual.is-loaded img,
.project-visual.is-loaded video,
.project-visual.is-loaded .project-visual-zoom img,
.project-visual.is-loaded .project-visual-zoom video {
  opacity: 1;
}

.project-showcase.view-bento .project-visual img,
.project-showcase.view-bento .project-visual video,
.project-showcase.view-bento .project-visual-zoom img,
.project-showcase.view-bento .project-visual-zoom video {
  object-fit: cover;
}

.visual-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: clamp(16px, 3vw, 40px);
  border: 0;
  overflow: hidden;
  background: oklch(0 0 0 / .72);
  -webkit-backdrop-filter: blur(18px) saturate(120%);
  backdrop-filter: blur(18px) saturate(120%);
  opacity: 0;
  transition:
    opacity 180ms var(--quick),
    backdrop-filter 180ms var(--quick),
    -webkit-backdrop-filter 180ms var(--quick);
}

.visual-lightbox[hidden] {
  display: none !important;
}

.visual-lightbox.is-open {
  opacity: 1;
}

.visual-lightbox.is-closing {
  opacity: 0;
  -webkit-backdrop-filter: blur(6px) saturate(110%);
  backdrop-filter: blur(6px) saturate(110%);
}

.visual-lightbox-media {
  position: relative;
  width: fit-content;
  max-width: calc(100vw - clamp(32px, 6vw, 80px));
  max-height: calc(100vh - clamp(32px, 6vw, 80px));
  display: grid;
  place-items: center;
  line-height: 0;
  border-radius: 40px;
  overflow: hidden;
  background: oklch(1 0 0 / .035);
  box-shadow:
    0 0 0 1px oklch(1 0 0 / .1),
    0 28px 90px oklch(0 0 0 / .62);
  opacity: 0;
  transform: translateY(12px) scale(.985);
  filter: blur(8px);
  transition:
    opacity 220ms var(--quick),
    transform 320ms cubic-bezier(.22, 1, .36, 1),
    filter 260ms var(--quick);
}

.visual-lightbox.is-open .visual-lightbox-media {
  opacity: 1;
  transform: translateY(0) scale(1);
  filter: blur(0);
}

.visual-lightbox.is-closing .visual-lightbox-media {
  opacity: 0;
  transform: translateY(-8px) scale(.992);
  filter: blur(5px);
}

.visual-lightbox-media img,
.visual-lightbox-media video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, calc(100vw - clamp(32px, 6vw, 80px)));
  max-height: calc(100vh - clamp(96px, 10vw, 144px));
  border-radius: inherit;
  object-fit: contain;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
}

.visual-lightbox-media img[hidden],
.visual-lightbox-media video[hidden] {
  display: none !important;
}

.visual-lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 999px;
  color: var(--label-primary);
  background: oklch(0.227 0.004 286.092 / .72);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .08),
    0 12px 32px oklch(0 0 0 / .34);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  backdrop-filter: blur(18px) saturate(160%);
  cursor: pointer;
  transition:
    transform 160ms var(--quick),
    background 160ms var(--quick),
    color 160ms var(--quick);
}

.visual-lightbox-close:hover {
  color: oklch(1 0 0);
  background: oklch(0.31 0.004 286.192 / .82);
}

.visual-lightbox-close:active {
  transform: scale(.96);
}

.visual-lightbox-close svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: clamp(118px, 10.5vw, 172px);
  grid-auto-flow: dense;
  gap: clamp(8px, .8vw, 12px);
  transition:
    grid-template-columns var(--resize-dur) var(--resize-ease),
    grid-auto-rows var(--resize-dur) var(--resize-ease),
    gap var(--resize-dur) var(--resize-ease);
}

.project-grid.view-bento {
  grid-auto-rows: 8px;
}

#work.project-grid {
  margin-top: 26px;
}

.site-quote {
  width: 100%;
  margin: clamp(56px, 8vw, 104px) 0 0;
  padding: 0 clamp(8px, 4vw, 56px);
  display: grid;
  justify-items: center;
  gap: 8px;
  text-align: center;
  color: var(--label-secondary);
  overflow: visible;
}

.site-quote-text {
  width: 100%;
  max-width: min(100%, 920px);
  margin: 0;
  font-family: var(--font-hand);
  font-size: clamp(28px, 4.2vw, 52px);
  line-height: 1.16;
  font-weight: 300;
  text-align: center;
  text-wrap: balance;
  color: var(--label-secondary);
  overflow: visible;
}

.site-quote-author {
  position: relative;
  z-index: 20;
  margin: 0;
  color: var(--label-tertiary);
  opacity: 0;
  filter: blur(4px);
  transform: translateY(4px);
  transition:
    opacity 260ms var(--quick),
    filter 300ms var(--quick),
    transform 300ms var(--quick);
  transition-delay: 1800ms;
}

.site-quote-author-trigger {
  position: relative;
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  outline: 0;
}

.site-quote-author-trigger::before {
  content: "";
  position: absolute;
  inset: -12px -16px;
  z-index: -1;
}

.site-quote-author .affleck-gif {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 12px);
  z-index: 1001;
  width: 165px;
  height: 465px;
  max-width: none;
  object-fit: cover;
  border-radius: 16px;
  box-shadow:
    0 18px 36px oklch(0 0 0 / .34),
    0 0 0 1px oklch(1 0 0 / .12);
  opacity: 0;
  filter: blur(8px);
  transform: translate3d(-50%, 8px, 0) scale(.96);
  transform-origin: bottom center;
  pointer-events: none;
  transition:
    opacity 180ms var(--quick),
    filter 240ms var(--spring),
    transform 240ms var(--spring);
}

.site-quote-author-trigger:hover .affleck-gif,
.site-quote-author-trigger:focus-visible .affleck-gif {
  opacity: 1;
  filter: blur(0);
  transform: translate3d(-50%, 0, 0) scale(1);
}

.site-quote.is-in-view .quote-char {
  animation: quote-letter-write 260ms var(--quick) forwards;
  animation-delay: calc(80ms + (var(--char-index) * 24ms));
}

.site-quote.is-in-view .site-quote-author {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.project-grid.is-flipping {
  transition: none;
}

.t-resize {
  transition:
    transform 420ms var(--resize-ease),
    filter 420ms var(--resize-ease),
    border-color 260ms var(--quick);
  will-change: transform, filter;
}

.project-card {
  position: relative;
  overflow: hidden;
  min-height: 0;
  height: 100%;
  display: grid;
  align-items: end;
  border: 2px solid oklch(1 0 0 / .1);
  border-radius: 40px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .04), oklch(1 0 0 / .02)),
    oklch(1 0 0 / .03);
  cursor: pointer;
  opacity: 0.001;
  transform: translateY(16px);
  transition: border-color 260ms var(--quick);
  will-change: transform, opacity;
  contain: layout paint;
}

.project-card.t-resize {
  align-self: start;
  transition:
    transform 420ms var(--resize-ease),
    filter 420ms var(--resize-ease),
    border-color 260ms var(--quick);
  transform-origin: top left;
  will-change: transform, filter;
}

.project-grid.view-bento .project-card {
  grid-column: span var(--card-bento-col-span, 6);
  grid-row: span var(--card-bento-row-span, 32);
  height: 100%;
}

.project-grid.view-single {
  grid-template-columns: 1fr;
  grid-auto-rows: 640px;
}

.project-grid.view-two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 430px;
}

.project-grid.view-four {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 320px;
}

.project-grid.view-single .project-card,
.project-grid.view-two .project-card,
.project-grid.view-four .project-card {
  grid-column: span 1;
  grid-row: span 1;
}

.project-card:hover {
  border-color: oklch(1 0 0 / .2);
}

.project-card img,
.project-card video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.001);
  transition: transform 650ms var(--spring), opacity 650ms var(--spring);
}

.project-card.is-loaded img,
.project-card.is-loaded video {
  opacity: 1;
}

.project-grid.view-bento .project-card img,
.project-grid.view-bento .project-card video {
  object-fit: cover;
}

.project-card:hover img,
.project-card:hover video {
  transform: scale(1.018);
}

.project-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 0;
  height: 62%;
  background:
    linear-gradient(180deg, transparent 0%, oklch(0 0 0 / .28) 38%, oklch(0 0 0 / .62) 72%, oklch(0 0 0 / .82) 100%),
    radial-gradient(120% 90% at 0% 100%, oklch(0 0 0 / .36), transparent 68%);
  opacity: 0;
  transition: opacity 320ms var(--quick);
  pointer-events: none;
}

.project-card:hover::after,
.project-card:focus-visible::after {
  opacity: 1;
}

@keyframes media-skeleton-shimmer {
  0% {
    background-position: 180% 0, 0 0, 0 0;
  }
  100% {
    background-position: -80% 0, 0 0, 0 0;
  }
}

.project-info {
  position: absolute;
  z-index: 1;
  width: min(448px, calc(100% - 48px));
  padding: 0;
  bottom: 24px;
  left: 20px;
  display: grid;
  gap: 2px;
  opacity: 0;
  filter: blur(8px);
  transform: translateY(10px);
  transition:
    opacity 320ms var(--quick),
    filter 420ms var(--spring),
    transform 420ms var(--spring);
  pointer-events: none;
  text-shadow:
    0 1px 2px oklch(0 0 0 / .72),
    0 6px 18px oklch(0 0 0 / .58);
}

.project-card:not(:first-child) .project-info {
  width: calc(100% - 32px);
  left: 16px;
  bottom: 14px;
}

.project-card:hover .project-info,
.project-card:focus-visible .project-info {
  opacity: 1;
  filter: blur(0);
  transform: translateY(0);
}

.project-name,
.project-scope,
.project-date {
  margin: 0;
  min-width: 0;
  max-width: 100%;
}

.project-line {
  min-width: 0;
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.project-name,
.project-scope {
  color: var(--label-primary);
}

.project-date {
  color: oklch(1 0 0 / .72);
}

.project-name,
.project-scope,
.project-date {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
}

.project-date {
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.cms-page {
  --tracking-default: 0;
  min-height: 100vh;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .035), transparent 26%),
    radial-gradient(120% 80% at 50% 0%, oklch(0.24 0.018 258 / .28), transparent 58%),
    var(--bg);
}

.cms-shell {
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 20px;
  padding: 24px;
}

.cms-sidebar,
.cms-content {
  min-width: 0;
}

.cms-sidebar {
  position: sticky;
  top: 24px;
  height: calc(100vh - 48px);
  padding: 16px;
  display: grid;
  grid-template-rows: auto auto auto minmax(0, 1fr);
  gap: 20px;
  align-content: start;
  border-radius: 18px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .045), oklch(1 0 0 / .012)),
    oklch(0.183 0.002 286.198 / .52);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .07),
    0 18px 46px oklch(0 0 0 / .2);
}

.cms-brand {
  display: grid;
  gap: 4px;
}

.cms-brand h1,
.cms-brand p,
.cms-toolbar h2,
.cms-toolbar p,
.cms-editor-head h2,
.cms-editor-head p {
  margin: 0;
}

.cms-stats {
  display: grid;
  gap: 8px;
}

.cms-stat {
  min-height: 40px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-radius: 10px;
  color: var(--label-secondary);
  background: oklch(1 0 0 / .035);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .055);
}

.cms-stat strong {
  color: var(--label-primary);
  font-variant-numeric: tabular-nums;
}

.cms-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.cms-actions .btn,
.cms-toolbar .btn {
  width: 100%;
}

.cms-status {
  align-self: end;
  margin: 0;
  min-height: 40px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  background: oklch(1 0 0 / .035);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .055);
  text-wrap: pretty;
}

.cms-status[data-tone="success"] {
  color: oklch(0.928 0.118 154.44 / .78);
}

.cms-status[data-tone="warning"] {
  color: oklch(0.91 0.097 84.997 / .82);
}

.cms-status[data-tone="error"] {
  color: oklch(0.769 0.137 20.73 / .86);
}

.cms-content {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: 16px;
}

.cms-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  padding: 12px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .035), oklch(1 0 0 / .012)),
    oklch(0.183 0.002 286.198 / .42);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .065),
    0 14px 34px oklch(0 0 0 / .14);
}

.cms-toolbar .btn {
  width: auto;
}

.cms-layout {
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 16px;
}

.cms-list-panel,
.cms-editor-panel {
  min-height: 0;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, oklch(1 0 0 / .035), oklch(1 0 0 / .012)),
    oklch(0.183 0.002 286.198 / .5);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .07),
    0 16px 42px oklch(0 0 0 / .18);
  overflow: hidden;
}

.cms-list {
  height: calc(100vh - 120px);
  overflow: auto;
  padding: 8px;
  display: grid;
  align-content: start;
  gap: 6px;
}

.cms-project-row {
  width: 100%;
  min-height: 68px;
  padding: 10px 12px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 6px;
  border: 0;
  border-radius: 10px;
  color: var(--label-secondary);
  background: transparent;
  text-align: left;
  cursor: pointer;
  transition:
    color 180ms var(--quick),
    background 180ms var(--quick),
    transform 180ms var(--quick);
}

.cms-project-row span {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.cms-project-row strong,
.cms-project-row small,
.cms-project-row em {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cms-project-row em {
  font-style: normal;
}

.cms-project-row:hover,
.cms-project-row.active {
  color: var(--label-primary);
  background: oklch(1 0 0 / .055);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .07);
}

.cms-project-row:active {
  transform: scale(.96);
}

.cms-editor-panel {
  height: calc(100vh - 120px);
  overflow: auto;
}

.cms-editor {
  padding: 18px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cms-editor-head,
.cms-editor-section,
.cms-fieldset,
.cms-cover-panel,
.cms-media-manager {
  grid-column: 1 / -1;
}

.cms-editor-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 4px;
}

.cms-field,
.cms-fieldset {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.cms-editor-section {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background:
    linear-gradient(180deg, oklch(1 0 0 / .028), oklch(1 0 0 / .012)),
    oklch(1 0 0 / .018);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .055);
}

.cms-field-grid {
  min-width: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.cms-field small {
  margin-top: -2px;
}

.cms-field input,
.cms-field textarea,
.cms-field select {
  width: 100%;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 10px 11px;
  color: var(--label-primary);
  background: oklch(1 0 0 / .045);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .07),
    inset 0 1px 2px oklch(0 0 0 / .18);
  outline: 0;
  transition:
    background 180ms var(--quick),
    box-shadow 180ms var(--quick);
}

.cms-field textarea {
  resize: vertical;
}

.cms-field textarea[data-list-field] {
  min-height: 128px;
  resize: vertical;
}

.cms-field input:focus,
.cms-field textarea:focus,
.cms-field select:focus {
  background: oklch(1 0 0 / .07);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .16),
    0 0 0 3px oklch(1 0 0 / .035);
}

.cms-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
}

.cms-category-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-check {
  min-height: 40px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border-radius: 999px;
  color: var(--label-secondary);
  background: oklch(1 0 0 / .04);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .06);
  cursor: pointer;
}

.cms-check input {
  width: 16px;
  height: 16px;
  accent-color: oklch(1 0 0);
}

.cms-check:has(input:checked) {
  color: var(--label-primary);
  background: oklch(1 0 0 / .085);
}

.cms-cover-panel,
.cms-media-manager {
  display: grid;
  gap: 12px;
  padding: 14px;
  border-radius: 14px;
  background: oklch(1 0 0 / .03);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .06);
}

.cms-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.cms-section-head p,
.cms-section-head h3 {
  margin: 0;
}

.cms-cover-grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  align-items: end;
}

.cms-media-preview {
  position: relative;
  min-height: 112px;
  overflow: hidden;
  border-radius: 12px;
  background: oklch(1 0 0 / .035);
  box-shadow:
    inset 0 0 0 1px oklch(1 0 0 / .08),
    0 8px 22px oklch(0 0 0 / .16);
}

.cms-media-preview img,
.cms-media-preview video {
  width: 100%;
  height: 100%;
  min-height: 112px;
  display: block;
  object-fit: cover;
  outline: 1px solid oklch(1 0 0 / .1);
  outline-offset: -1px;
}

.cms-media-empty {
  min-height: 112px;
  display: grid;
  place-items: center;
  padding: 12px;
  border-radius: 12px;
  background: oklch(1 0 0 / .025);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .055);
  text-align: center;
}

.cms-media-list {
  display: grid;
  gap: 12px;
}

.cms-media-item {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 12px;
  padding: 10px;
  border-radius: 14px;
  background: oklch(0 0 0 / .12);
  box-shadow: inset 0 0 0 1px oklch(1 0 0 / .055);
}

.cms-media-fields {
  min-width: 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
}

.cms-field-wide {
  grid-column: span 2;
}

.cms-media-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cms-media-actions .btn,
.cms-file-button {
  flex: 0 0 auto;
  min-height: 40px;
  cursor: pointer;
}

.cms-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.framer-reveal {
  animation: block-appear 950ms var(--spring) forwards;
  animation-delay: var(--appear-delay, 0ms);
}

@keyframes block-appear {
  from {
    opacity: 0.001;
    transform: translateY(16px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes word-appear {
  from {
    opacity: 0.001;
    filter: blur(16px);
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    filter: blur(0);
    transform: translateY(0);
  }
}

@keyframes quote-letter-write {
  from {
    opacity: .08;
    clip-path: inset(-0.28em 100% -0.36em -0.08em);
    filter: blur(2px);
    transform: translate3d(-1px, 2px, 0) rotate(-1deg);
  }

  to {
    opacity: 1;
    clip-path: inset(-0.28em 0 -0.36em -0.08em);
    filter: blur(0);
    transform: translate3d(0, 0, 0) rotate(0deg);
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-delay: 0ms !important;
    transition-duration: .001ms !important;
  }

  .profile,
  .services,
  .footer,
  .project-card,
  .intro-word,
  .quote-char {
    opacity: 1 !important;
    clip-path: inset(0 0 0 0) !important;
    filter: none !important;
    transform: none !important;
  }

  .t-resize {
    transition: none !important;
  }

  .profile-quote .text-hand {
    clip-path: inset(-0.28em 0 -0.36em -0.08em);
  }

  .profile-quote .text-hand::after {
    display: none;
  }

  .site-quote-author {
    opacity: 1 !important;
    filter: none !important;
    transform: none !important;
  }
}

@media (max-width: 980px) {
  .cms-shell {
    grid-template-columns: 1fr;
    padding: 18px 14px;
  }

  .cms-sidebar {
    position: static;
    height: auto;
    grid-template-rows: auto;
  }

  .cms-layout {
    grid-template-columns: 1fr;
  }

  .cms-list,
  .cms-editor-panel {
    height: auto;
    max-height: none;
  }

  .cms-editor {
    grid-template-columns: 1fr;
  }

  .cms-field-grid,
  .cms-cover-grid,
  .cms-media-item,
  .cms-media-fields {
    grid-template-columns: 1fr;
  }

  .cms-field-wide {
    grid-column: auto;
  }

  .app-shell {
    grid-template-columns: 1fr;
    --shell-x: 14px;
    --shell-y: 24px;
    padding: var(--shell-y) var(--shell-x);
  }

  .app-shell.is-project-detail {
    gap: 18px;
  }

  .rail {
    position: static;
    height: auto;
    min-height: 0;
    gap: 0;
  }

  .intro {
    margin-bottom: 28px;
  }

  .app-shell.is-project-detail .rail {
    min-height: 0;
    padding-bottom: 0;
  }

  .project-detail-panel {
    min-height: 0;
    gap: 18px;
    padding-bottom: 0;
  }

  .project-detail-copy h1,
  .project-detail-description {
    max-width: 620px;
  }

  .project-detail-divider {
    margin: 6px 0 4px;
  }

  .project-showcase {
    gap: 10px;
  }

  .detail-visual-toolbar {
    top: var(--shell-y);
  }

  .project-showcase.view-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 8px;
  }

  .project-showcase.view-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .project-visual,
  .project-visual:first-of-type {
    min-height: clamp(320px, 58vh, 620px);
  }

  .project-showcase.view-bento .project-visual {
    grid-column: span 1;
    grid-row: span var(--bento-row-span, 40);
    min-height: 0;
  }

  .project-showcase.view-four .project-visual {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 0;
  }

  .intro h1 {
    width: 100%;
    max-width: 520px;
  }

  .services {
    align-self: auto;
  }

  .work-toolbar {
    top: var(--shell-y);
  }

  .project-card {
    min-height: 0;
  }

  .project-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .project-grid.view-bento {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 8px;
  }

  .project-grid.view-single {
    grid-template-columns: 1fr;
    grid-auto-rows: 520px;
  }

  .project-grid.view-two,
  .project-grid.view-four {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 260px;
  }

  .project-grid.view-bento .project-card {
    grid-column: span 1;
    grid-row: span var(--card-bento-row-span, 36);
  }

  .project-info {
    width: min(448px, calc(100% - 48px));
    left: 24px;
    bottom: 15px;
  }
}

@media (max-width: 560px) {
  .project-detail-meta div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .project-detail-copy h1 {
    font-size: 30px;
  }

  .project-detail-nav {
    grid-template-columns: 1fr;
  }

  .project-visual,
  .project-visual:first-of-type {
    min-height: 340px;
  }

  .project-showcase.view-bento,
  .project-showcase.view-two,
  .project-showcase.view-four {
    grid-template-columns: 1fr;
  }

  .project-showcase.view-bento {
    grid-auto-rows: 8px;
  }

  .project-showcase.view-two,
  .project-showcase.view-four {
    grid-auto-rows: auto;
  }

  .project-showcase.view-two .project-visual,
  .project-showcase.view-four .project-visual {
    min-height: 340px;
  }

  .project-showcase.view-bento .project-visual {
    grid-row: span var(--bento-row-span, 40);
    min-height: 0;
  }

  .work-toolbar {
    align-items: stretch;
    flex-direction: column;
  }

  .filter-tabs {
    width: 100%;
    padding: 2px;
    gap: 6px;
  }

  .filter-tabs .tab {
    flex: 1;
    padding: 0 8px;
  }

  .view-tabs {
    align-self: flex-end;
    width: calc((var(--segment-padding) * 2) + var(--view-tab-slot));
    min-width: calc((var(--segment-padding) * 2) + var(--view-tab-slot));
  }

  .view-tabs:is(:hover, :focus-within, [data-open="true"]) {
    width: calc((var(--segment-padding) * 2) + (var(--view-tab-slot) * var(--view-tab-count)));
    min-width: calc((var(--segment-padding) * 2) + (var(--view-tab-slot) * var(--view-tab-count)));
  }

  .view-tabs .icon-tab {
    flex: 0 0 var(--view-tab-slot);
  }

  .project-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .project-grid.view-bento {
    grid-template-columns: 1fr;
    grid-auto-rows: 8px;
  }

  .project-grid.view-single,
  .project-grid.view-two,
  .project-grid.view-four {
    grid-template-columns: 1fr;
    grid-auto-rows: 330px;
  }

  .project-grid.view-bento .project-card {
    grid-row: span var(--card-bento-row-span, 42);
  }

  .project-info {
    width: calc(100% - 48px);
    left: 24px;
    bottom: 15px;
  }

}

@media (max-width: 760px) {
  .app-shell {
    --shell-x: 16px;
    --shell-y: 20px;
    gap: 32px;
    padding:
      max(var(--shell-y), env(safe-area-inset-top))
      max(var(--shell-x), env(safe-area-inset-right))
      max(24px, env(safe-area-inset-bottom))
      max(var(--shell-x), env(safe-area-inset-left));
  }

  .rail {
    position: relative;
    min-width: 0;
  }

  .profile,
  .intro h1 {
    max-width: 100%;
  }

  .profile {
    width: 100%;
    min-height: 48px;
    padding-right: 0;
    grid-template-columns: 48px minmax(0, 1fr);
    grid-template-rows: minmax(48px, auto) auto;
    column-gap: 12px;
    row-gap: 0;
    align-items: center;
  }

  .profile-copy {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    min-height: 48px;
  }

  .profile-quote {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    max-width: none;
    min-height: 0;
    max-height: 0;
    padding-left: 0;
    padding-right: 0;
    align-self: start;
    overflow: hidden;
    transition:
      max-height 320ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 240ms var(--quick),
      filter 300ms var(--quick),
      transform 300ms var(--quick);
  }

  .profile:hover .profile-quote,
  .profile:focus-visible .profile-quote {
    max-height: 112px;
    overflow: visible;
  }

  .profile-quote .text-hand {
    width: 100%;
    max-width: none;
    text-align: left;
  }

  .profile-quote em {
    margin-top: 1px;
  }

  .site-quote {
    margin: 44px 0 0;
    padding: 0;
    gap: 6px;
  }

  .site-quote-text {
    max-width: 100%;
    font-size: clamp(27px, 7.4vw, 32px);
    line-height: 1;
  }

  .work-area {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
  }

  .work-toolbar {
    top: max(12px, env(safe-area-inset-top));
    justify-content: center;
    align-items: stretch;
    flex-direction: row;
    width: 100%;
    max-width: 100%;
  }

  .btn,
  .language-trigger,
  .service-check,
  .visual-lightbox-close,
  .project-visual-zoom {
    touch-action: manipulation;
  }

  .btn {
    min-height: 44px;
    padding-left: max(var(--button-padding-inline), 14px);
    padding-right: max(var(--button-padding-inline), 14px);
  }

  .footer-actions {
    --mobile-social-open-width: calc((var(--segment-padding) * 2) + (44px * var(--social-tab-count)));
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    min-height: 0;
    margin: 0 0 24px;
    padding: 0;
    border-radius: 0;
    overflow: visible;
    isolation: auto;
    background: none;
    box-shadow: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    transform: none;
    transition:
      width 260ms cubic-bezier(0.22, 1, 0.36, 1),
      background 180ms var(--quick),
      box-shadow 180ms var(--quick);
  }

  .footer-actions::before {
    display: none;
  }

  .footer-actions > * {
    position: relative;
    z-index: 1;
  }

  .footer.framer-reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .footer .footer-meta {
    display: none;
  }

  .mobile-footer-meta.footer-meta {
    position: relative;
    top: auto;
    right: auto;
    z-index: 10;
    width: 100%;
    min-width: 0;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    row-gap: 12px;
    column-gap: 12px;
    margin: 0 0 24px;
  }

  #emailLink.btn.primary {
    flex: 0 0 auto;
    width: auto;
    min-width: 74px;
    height: 52px;
    min-height: 52px;
    padding: 0 18px;
    justify-content: center;
    border-radius: 999px;
    color: var(--label-primary);
    background:
      linear-gradient(180deg, oklch(1 0 0 / .18), oklch(1 0 0 / .065)),
      oklch(1 0 0 / .075);
    box-shadow:
      inset 0 0 0 1px oklch(1 0 0 / .08),
      inset 0 1px 0 oklch(1 0 0 / .1);
    transition:
      flex-basis 260ms cubic-bezier(0.22, 1, 0.36, 1),
      color 180ms var(--quick),
      background 180ms var(--quick),
      box-shadow 180ms var(--quick),
      scale 120ms var(--quick);
  }

  .footer-actions .social-tabs {
    --social-tab-size: 44px;
    --social-tabs-closed: 84px;
    --social-tabs-height: 44px;
    --social-tabs-open-width: var(--mobile-social-open-width);
    --social-tabs-open-height: 52px;
    flex: 0 0 var(--social-tabs-closed);
    width: var(--social-tabs-closed);
    min-width: var(--social-tabs-closed);
    height: 52px;
    min-height: 52px;
    gap: 2px;
    justify-content: center;
    border-radius: 999px;
    background:
      linear-gradient(180deg, oklch(1 0 0 / .10), oklch(1 0 0 / .035)),
      oklch(1 0 0 / .04);
    box-shadow:
      inset 0 0 0 1px oklch(1 0 0 / .07),
      inset 0 1px 0 oklch(1 0 0 / .055);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
    transition:
      flex-basis 260ms cubic-bezier(0.22, 1, 0.36, 1),
      background 180ms var(--quick),
      box-shadow 180ms var(--quick);
  }

  .footer-actions .social-tabs::before,
  .footer-actions .social-tabs::after {
    display: none;
  }

  .footer-actions .social-tabs:not([data-open="true"]):is(:hover, :focus, :focus-within) {
    background:
      linear-gradient(180deg, oklch(1 0 0 / .12), oklch(1 0 0 / .045)),
      oklch(1 0 0 / .05);
    box-shadow:
      inset 0 0 0 1px oklch(1 0 0 / .08),
      inset 0 1px 0 oklch(1 0 0 / .06);
    -webkit-backdrop-filter: blur(14px) saturate(130%);
    backdrop-filter: blur(14px) saturate(130%);
  }

  .footer-actions .social-tabs:not([data-open="true"]):is(:hover, :focus, :focus-within)::before {
    background: none;
  }

  .footer-actions .social-tabs:not([data-open="true"]):is(:hover, :focus, :focus-within) .social-label {
    opacity: 1;
    transform: none;
    filter: none;
    color: var(--label-secondary);
  }

  .footer-actions .social-tabs:not([data-open="true"]):is(:hover, :focus, :focus-within) .social-tab {
    opacity: 0;
    transform: translateX(-6px) scale(.25);
    filter: blur(4px);
    pointer-events: none;
  }

  .footer-actions .social-tabs[data-open="true"] {
    position: relative;
    z-index: 2;
    flex: 0 0 var(--social-tabs-open-width);
    width: var(--social-tabs-open-width);
    min-width: var(--social-tabs-open-width);
    height: var(--social-tabs-open-height);
    min-height: var(--social-tabs-open-height);
    background:
      linear-gradient(180deg, oklch(1 0 0 / .16), oklch(1 0 0 / .055)),
      oklch(1 0 0 / .06);
    box-shadow:
      inset 0 0 0 1px oklch(1 0 0 / .08),
      inset 0 1px 0 oklch(1 0 0 / .1);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .footer-actions .social-tabs[data-open="true"] .social-label {
    opacity: 0;
    transform: translateX(6px) scale(.92);
    filter: blur(4px);
    color: var(--label-primary);
  }

  .footer-actions .social-tab {
    width: var(--social-tab-size);
    height: var(--social-tab-size);
    min-width: var(--social-tab-size);
    min-height: var(--social-tab-size);
    flex: 0 0 var(--social-tab-size);
    border-radius: 999px;
    transform: translateX(-6px) scale(.25);
  }

  .footer-actions .social-tabs[data-open="true"] .social-tab {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
    pointer-events: auto;
  }

  .footer-actions .social-icon,
  .footer-actions .social-icon svg {
    width: 20px;
    height: 20px;
  }

  .footer-actions .t-tt {
    display: none;
  }

  .language-trigger {
    width: fit-content;
    min-width: 0;
    height: auto;
    min-height: 0;
    padding: 0;
    line-height: 1;
  }

  .language-trigger::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 44px;
    height: 44px;
    transform: translate(-50%, -50%);
  }

  .language-dropdown {
    top: calc(100% + 8px);
    bottom: auto;
    padding: 6px;
    gap: 3px;
    border-radius: 14px;
  }

  .mobile-footer-meta .language-dropdown {
    top: auto;
    bottom: calc(100% + 8px);
  }

  .language-dropdown button {
    min-height: 40px;
    padding: 0 10px;
    gap: 6px;
    border-radius: 10px;
  }

  .work-toolbar .view-tabs,
  .detail-visual-toolbar {
    display: none !important;
  }

  .filter-tabs {
    --segment-tab-height: 40px;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .filter-tabs::-webkit-scrollbar {
    display: none;
  }

  .filter-tabs .tab {
    flex: 1 1 0;
    min-width: 0;
    min-height: 40px;
    padding: 0 8px;
  }

  .filter-tabs .tab-text {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  #work.project-grid {
    margin-top: 18px;
  }

  .project-grid,
  .project-grid.view-bento,
  .project-grid.view-single,
  .project-grid.view-two,
  .project-grid.view-four {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 10px;
    overflow: clip;
  }

  .project-grid.view-bento .project-card,
  .project-grid.view-single .project-card,
  .project-grid.view-two .project-card,
  .project-grid.view-four .project-card {
    grid-column: 1 / -1;
    grid-row: auto;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    height: auto;
    min-height: 280px;
    aspect-ratio: var(--card-media-ratio, 4 / 5);
  }

  .project-card::after {
    opacity: 1;
  }

  .project-card:hover img,
  .project-card:hover video {
    transform: scale(1.001);
  }

  .project-info,
  .project-card:not(:first-child) .project-info {
    width: calc(100% - 32px);
    left: 16px;
    bottom: 14px;
    opacity: 1;
    filter: none;
    transform: none;
  }

  .app-shell.is-project-detail {
    gap: 20px;
  }

  .project-detail-panel {
    min-height: 0;
    gap: 20px;
  }

  .project-detail-header {
    gap: 14px;
  }

  .project-back {
    width: 44px;
    min-width: 44px;
    height: 44px;
    min-height: 44px;
  }

  .project-detail-copy h1 {
    max-width: 100%;
    font-size: clamp(30px, 11vw, 42px);
  }

  .project-detail-description {
    max-width: 100%;
  }

  .project-detail-info {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 22px;
  }

  .service-check,
  .service:hover .service-check,
  .service:focus-visible .service-check,
  .service.is-selected .service-check {
    opacity: 1;
    filter: none;
    transform: translateY(-50%) scale(1);
  }

  .services {
    margin-bottom: 24px;
  }

  .service-step-services,
  .service-form {
    padding-bottom: 4px;
  }

  .project-detail-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 28px;
    margin-top: auto;
  }

  .project-nav-link,
  .project-nav-next {
    min-height: 52px;
    width: 100%;
    padding: 6px;
    justify-content: flex-start;
    text-align: left;
    border-radius: 999px;
    background: var(--fill-tertiary);
    box-shadow:
      inset 0 0 0 1px oklch(1 0 0 / .055),
      inset 0 1px 0 oklch(1 0 0 / .035);
  }

  .project-nav-link:hover,
  .project-nav-link:focus-visible {
    background: var(--fill-secondary);
  }

  .project-nav-icon {
    width: 40px;
    height: 40px;
  }

  .project-nav-copy {
    flex: 1 1 auto;
  }

  .project-nav-next .project-nav-icon {
    order: 2;
    margin-left: auto;
  }

  .project-nav-link strong {
    max-width: 100%;
  }

  .project-showcase,
  .project-showcase.view-bento,
  .project-showcase.view-single,
  .project-showcase.view-two,
  .project-showcase.view-four {
    grid-template-columns: 1fr;
    grid-auto-flow: row;
    grid-auto-rows: auto;
    gap: 10px;
  }

  .project-visual,
  .project-visual:first-of-type,
  .project-showcase.view-bento .project-visual,
  .project-showcase.view-single .project-visual,
  .project-showcase.view-two .project-visual,
  .project-showcase.view-four .project-visual {
    grid-column: 1 / -1;
    grid-row: auto;
    height: auto;
    min-height: 0;
    aspect-ratio: var(--media-ratio, 4 / 5);
  }

  .project-visual-zoom {
    min-height: 0;
  }

  .visual-lightbox {
    padding: 12px;
  }

  .visual-lightbox-media {
    max-width: calc(100vw - 24px);
    max-height: calc(100svh - 24px);
    border-radius: 24px;
  }

  .visual-lightbox-media img,
  .visual-lightbox-media video {
    max-width: 100%;
    max-height: calc(100svh - 24px);
  }

  .visual-lightbox-close {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 420px) {
  .filter-tabs .tab {
    padding: 0 10px;
  }

  .project-detail-info {
    grid-template-columns: 1fr;
  }
}
