@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-Variable.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Satoshi";
  src: url("/assets/fonts/Satoshi-VariableItalic.woff2") format("woff2");
  font-style: italic;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: "Erode";
  src: url("/assets/fonts/Erode-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
}

@font-face {
  font-family: "Erode";
  src: url("/assets/fonts/Erode-VariableItalic.ttf") format("truetype");
  font-style: italic;
  font-weight: 300 700;
  font-display: swap;
}

:root {
  --ease-out-quart: cubic-bezier(.25, 1, .5, 1);
  --bg: #f4f2e8;
  --ink: #151414;
  --quiet: #78746a;
  --line: color-mix(in oklab, var(--ink) 12%, transparent);
  --red: #fe4a49;
  --blue: #0038ff;
  --terminal-green: #214f36;
  --canvas-bg-rgb: 244, 242, 232;
  --matrix-rgb: 33, 79, 54;
  --boot-rgb: 21, 20, 20;
  --mask-dark-rgb: 21, 20, 20;
  --mask-red-rgb: 254, 74, 73;
  --mask-blue-rgb: 0, 56, 255;
  --hover-fill: var(--ink);
  --hover-opacity: .93;
  --cell: 10px;
  --font-ui: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Satoshi", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Erode", Georgia, serif;
  --font-mono: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-ui);
  overflow: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricprecision;
}

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

.entry {
  isolation: isolate;
  width: 100vw;
  height: 100dvh;
  min-height: 560px;
  position: relative;
  overflow: hidden;
  color: var(--ink);
  background:
    linear-gradient(90deg, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)),
    var(--bg);
}

.home-entry,
.about-entry,
.work-entry,
.contact-entry {
  --bg: #151414;
  --ink: #f4f2e8;
  --quiet: rgba(244, 242, 232, .46);
  --line: rgba(244, 242, 232, .08);
  --canvas-bg-rgb: 21, 20, 20;
  --matrix-rgb: 244, 242, 232;
  --boot-rgb: 244, 242, 232;
  --mask-dark-rgb: 244, 242, 232;
  --hover-fill: #f4f2e8;
  --hover-opacity: .96;
}

.about-entry,
.work-entry,
.contact-entry {
  color: var(--ink);
}

.contact-entry {
  --bg: #171717;
  --canvas-bg-rgb: 23, 23, 23;
  background: var(--bg);
}

.terminal {
  z-index: 1;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
}

.hover-backdrop {
  z-index: 2;
  pointer-events: none;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.hover-panel {
  min-width: 0;
  opacity: 0;
  background: var(--hover-fill);
  transition: opacity 260ms ease;
}

.morph-source {
  width: 0;
  height: 0;
  opacity: 0;
  position: absolute;
  pointer-events: none;
}

.topbar {
  z-index: 24;
  height: 32px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  top: 20px;
  left: 20px;
  right: 20px;
  font-family: var(--font-ui);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.topbar > span {
  color: var(--quiet);
  transition: color 180ms ease;
}

.topbar .header-name {
  margin-left: 16px;
  color: var(--red);
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  white-space: nowrap;
  text-decoration: none;
  pointer-events: auto;
  transition: color 180ms ease, opacity 180ms ease;
}

.topbar .header-name:hover,
.topbar .header-name:focus-visible {
  color: var(--red);
  opacity: .78;
}

#systemState {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: clamp(92px, 8vw, 138px);
  color: var(--red);
  font-size: 18px;
  font-weight: 400;
  line-height: 1;
}

#systemState {
  cursor: pointer;
}

.audio-control {
  z-index: 10;
  height: 28px;
  position: fixed;
  top: 12px;
  right: clamp(22px, 3.3vw, 48px);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0;
  opacity: 0;
  transform: translateY(-8px);
  transition: opacity 700ms ease, transform 700ms ease, color 180ms ease;
}

body:has(.entry.is-ready) .audio-control {
  opacity: 1;
  transform: translateY(0);
}

.audio-toggle {
  width: 12px;
  height: 24px;
  padding: 0;
  border: 0;
  display: inline-grid;
  place-items: center;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  letter-spacing: inherit;
}

.audio-toggle::before {
  content: "";
}

.audio-control.is-playing .audio-toggle::before {
  content: "";
}

.audio-volume {
  width: 54px;
  height: 14px;
  margin: 0;
  appearance: none;
  background: transparent;
  accent-color: var(--red);
  cursor: pointer;
}

.audio-volume::-webkit-slider-runnable-track {
  height: 1px;
  background: color-mix(in oklab, var(--red) 46%, transparent);
}

.audio-volume::-webkit-slider-thumb {
  width: 8px;
  height: 8px;
  margin-top: -3.5px;
  border-radius: 0;
  background: currentColor;
  -webkit-appearance: none;
}

.audio-volume::-moz-range-track {
  height: 1px;
  background: color-mix(in oklab, var(--red) 46%, transparent);
}

.audio-volume::-moz-range-thumb {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 0;
  background: currentColor;
}

.brand {
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  position: relative;
  flex: 0 0 auto;
}

.logo-mark {
  width: 100%;
  height: 100%;
  display: block;
  transition: opacity 220ms ease;
}

.header-nav {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 64px;
  color: var(--quiet);
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0;
  line-height: 1.35;
  white-space: nowrap;
  z-index: 5;
  pointer-events: auto;
}

.header-nav a {
  color: inherit;
  transition: color 180ms ease;
}

.header-nav a:hover,
.header-nav a:focus-visible,
.header-nav a[aria-current="page"] {
  color: var(--red);
}

.logo-mark-light {
  opacity: 0;
  position: absolute;
  inset: 0;
}

.home-entry .logo-mark-dark,
.about-entry .logo-mark-dark,
.work-entry .logo-mark-dark,
.contact-entry .logo-mark-dark,
.case-entry .logo-mark-dark {
  opacity: 0;
}

.home-entry .logo-mark-light,
.about-entry .logo-mark-light,
.work-entry .logo-mark-light,
.contact-entry .logo-mark-light,
.case-entry .logo-mark-light {
  opacity: 1;
}

.entry:has(.zone-about:is(:hover, :focus-visible)) .logo-mark-dark {
  opacity: 0;
}

.entry:has(.zone-about:is(:hover, :focus-visible)) .logo-mark-light {
  opacity: 1;
}

.split-nav {
  z-index: 5;
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  opacity: 0;
  pointer-events: none;
  transition: opacity 700ms ease;
}

.zone {
  min-width: 0;
  display: flex;
  align-items: center;
  position: relative;
  outline-offset: -8px;
}

.zone span {
  z-index: 2;
  line-height: .9;
  font-family: var(--font-display);
  font-size: clamp(52px, 5vw, 72px);
  font-weight: 900;
  letter-spacing: 0;
  transition: color 260ms ease, transform 260ms ease;
}

.zone-about {
  justify-content: flex-start;
  padding-left: clamp(28px, 7.3vw, 105px);
}

.zone-work {
  justify-content: flex-end;
  padding-right: clamp(28px, 8.05vw, 116px);
}

.zone-about:hover span,
.zone-about:focus-visible span {
  color: var(--blue);
}

.zone-work:hover span,
.zone-work:focus-visible span {
  color: var(--red);
}

.zone-about:hover span,
.zone-about:focus-visible span {
  transform: translateX(14px);
}

.zone-work:hover span,
.zone-work:focus-visible span {
  transform: translateX(-14px);
}

.morph-figure {
  z-index: 3;
  width: min(50vw, calc((100dvh - 52px) * .92), 1180px);
  max-width: calc(100vw - 40px);
  aspect-ratio: 1;
  margin: 0;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%) translateY(22px) scale(.985);
  opacity: 0;
  filter: saturate(.9) contrast(1.08);
  pointer-events: none;
  transition: opacity 900ms ease, transform 900ms ease;
}

.morph-figure img {
  width: 100%;
  height: 100%;
  display: block;
}

.morph-vector {
  width: 100%;
  height: 100%;
  display: none;
}

.morph-vector svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.morph-figure.is-vector-ready .morph-vector {
  display: block;
}

.morph-figure.is-vector-ready .morph-fallback {
  display: none;
}

.morph-figure-home {
  width: min(38.2vw, calc((100dvh - 72px) * 550 / 688), 550px);
  bottom: 20px;
  transform: translateX(-50%) translateY(12px) scale(.985);
}

.morph-head,
.morph-hand,
.morph-tie {
  transition:
    transform 640ms var(--ease-out-quart),
    fill 320ms ease;
}

.morph-head,
.morph-hand {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  will-change: transform;
}

.work-hand {
  transform-box: view-box;
  will-change: transform;
}

.work-hand-left {
  transform-origin: 174px 244px;
}

.work-hand-right {
  transform-origin: 350px 161px;
}

.morph-pill-blue {
  fill: var(--blue);
}

.morph-pill-red {
  fill: var(--red);
}

.home-entry:has(.zone-about:is(:hover, :focus-visible)) .morph-hand-about {
  transform: translate(12px, -92px) rotate(-13deg) scale(1.4);
}

.home-entry:has(.zone-work:is(:hover, :focus-visible)) .morph-hand-work {
  transform: translate(-12px, -92px) rotate(13deg) scale(1.4);
}

.home-entry:has(.zone-about:is(:hover, :focus-visible)) .morph-head {
  transform: rotate(-15deg);
}

.home-entry:has(.zone-work:is(:hover, :focus-visible)) .morph-head {
  transform: rotate(15deg);
}

.home-entry:has(.zone-about:is(:hover, :focus-visible)) .morph-tie {
  fill: var(--blue);
}

.home-entry:has(.zone-work:is(:hover, :focus-visible)) .morph-tie {
  fill: var(--red);
}

.entry.is-ready .topbar {
  opacity: 1;
  transform: translateY(0);
}

.about-entry .topbar,
.work-entry .topbar,
.contact-entry .topbar {
  opacity: 1;
  transform: translateY(0);
}

.entry.is-ready .split-nav {
  opacity: 1;
  pointer-events: auto;
}

.entry.is-ready .morph-figure {
  opacity: 1;
  transform: translateX(-50%) translateY(16px) scale(1);
}

.entry.is-ready .morph-figure-home {
  transform: translateX(-50%) translateY(0) scale(1);
}

.entry.is-booting .morph-figure {
  opacity: .04;
}

.placeholder-page {
  width: min(760px, calc(100vw - 48px));
  position: absolute;
  left: clamp(24px, 8vw, 112px);
  bottom: clamp(48px, 10vh, 120px);
}

.placeholder-page h1 {
  margin: 0 0 18px;
  font-size: clamp(64px, 12vw, 160px);
  line-height: .86;
  letter-spacing: 0;
}

.placeholder-page p {
  max-width: 420px;
  margin: 0;
  color: var(--quiet);
  font-family: var(--font-ui);
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.work-entry {
  height: 100dvh;
  min-height: 720px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
}

.work-entry::after {
  content: none;
}

.about-entry {
  height: 100dvh;
  min-height: 720px;
  overflow-y: auto;
  overscroll-behavior: contain;
  background: var(--bg);
}

.contact-entry {
  background: var(--bg);
}

.about-copy {
  z-index: 5;
  width: min(34vw, 520px);
  position: absolute;
  left: clamp(48px, 4.8vw, 92px);
  top: clamp(280px, 46dvh, 370px);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.about-copy h1 {
  margin: 0;
  color: #c5c5c5;
  font-family: var(--font-display);
  font-size: clamp(90px, 8.7vw, 138px);
  line-height: 1;
  font-weight: 900;
  letter-spacing: 0;
  white-space: normal;
}

.about-figure {
  width: clamp(520px, min(45vw, calc((100dvh - 54px) * 536 / 468)), 760px);
  aspect-ratio: 536 / 468;
  left: auto;
  right: clamp(24px, 7.2vw, 118px);
  bottom: 0;
  transform: translateY(20px) scale(.985);
  filter:
    drop-shadow(0 0 1px rgba(244, 242, 232, .72))
    drop-shadow(0 18px 28px rgba(0, 0, 0, .26))
    saturate(.98)
    contrast(1.03);
}

.about-head,
.about-eyes,
.about-glasses,
.about-hand {
  transform-box: view-box;
  will-change: transform;
}

.about-head {
  transform-origin: 268px 162px;
}

.about-eyes {
  transform-origin: 268px 143px;
}

.about-glasses {
  transform-origin: 268px 171px;
}

.about-hand {
  opacity: 1;
}

.entry.is-ready .about-copy {
  opacity: 1;
  transform: translateY(0);
}

.entry.is-ready .about-figure {
  transform: translateY(0) scale(1);
}

.entry.is-ready .about-hand {
  animation: none;
}

.about-content {
  z-index: 6;
  position: relative;
  --about-page-pad: clamp(24px, 4.8vw, 92px);
  width: calc(100vw - var(--about-page-pad) * 2);
  max-width: 1500px;
  margin-left: var(--about-page-pad);
  padding-top: calc(100dvh + clamp(36px, 5dvh, 84px));
  color: #c5c5c5;
}

.about-story {
  margin: 0 0 clamp(64px, 6vw, 108px);
}

.about-reveal-line {
  margin: 0;
  color: #c5c5c5;
  font-family: var(--font-display);
  font-weight: 900;
  letter-spacing: 0;
}

.about-reveal-line .about-word {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.about-lead {
  width: 100%;
  font-size: clamp(48px, 4.75vw, 76px);
  line-height: 1.15;
}

.about-red {
  color: var(--red);
}

.about-rainbow {
  background: linear-gradient(90deg, #ff27d6 0%, #1fc8ff 24%, #55ff68 52%, #eeff68 74%, #ff9c52 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.about-rainbow .about-word {
  background: none;
  color: inherit;
  -webkit-text-fill-color: inherit;
}

.about-leed-row {
  min-height: clamp(460px, 39vw, 640px);
  margin: 0 0 clamp(64px, 6vw, 108px);
  display: flex;
  align-items: center;
  gap: clamp(32px, 4.2vw, 72px);
}

.about-leed-visual {
  width: clamp(360px, 39.8%, 600px);
  flex: 0 0 auto;
  margin: 0;
}

.about-photo-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 634 / 510;
  overflow: hidden;
  background: #0b0b0b;
}

.about-leed-photo {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.01);
  animation: about-photo-one 9s linear infinite;
  will-change: opacity, transform;
}

.about-leed-photo-b {
  animation-name: about-photo-two;
}

.about-photo-progress {
  width: 100%;
  height: 1px;
  margin-top: 12px;
  overflow: hidden;
  background: rgba(222, 229, 240, .22);
}

.about-photo-progress span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: 0 50%;
  animation: about-photo-progress 4.5s linear infinite;
}

.about-leed-copy {
  width: min(57.6%, 860px);
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 2.2vw, 40px);
}

.about-leed-copy .about-reveal-line {
  font-size: clamp(22px, 1.78vw, 30px);
  line-height: 1.32;
}

.about-services {
  margin: 0 0 clamp(88px, 8.5vw, 148px);
}

.about-services h2 {
  margin: 0 0 clamp(38px, 4vw, 72px);
  color: #DEE5F0;
  font-family: var(--font-display);
  font-size: clamp(52px, 6.4vw, 112px);
  font-weight: 900;
  line-height: .9;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(28px, 3vw, 48px);
}

.about-service-card {
  min-height: clamp(250px, 18vw, 340px);
  padding: clamp(28px, 3vw, 52px);
  position: relative;
  background: #0b0b0b;
  border: 2px solid #DEE5F0;
  box-shadow: 10px 10px 0 var(--red);
  color: #DEE5F0;
}

.about-service-card h3 {
  max-width: 92%;
  margin: 0 0 clamp(28px, 2.8vw, 44px);
  color: #DEE5F0;
  font-family: var(--font-display);
  font-size: clamp(24px, 2.05vw, 36px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.about-service-card ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.about-service-card li {
  position: relative;
  padding-left: 28px;
  color: #c5c5c5;
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.3vw, 23px);
  line-height: 1.35;
}

.about-service-card li::before {
  content: "";
  width: 9px;
  height: 9px;
  position: absolute;
  left: 0;
  top: .54em;
  background: var(--red);
  border: 1px solid #DEE5F0;
  transform: translateY(-50%);
}

.about-touch {
  height: clamp(640px, 56.25vw, 980px);
  margin: 0 0 clamp(64px, 6vw, 108px);
  position: relative;
  overflow: visible;
  isolation: isolate;
}

.about-word-marquee {
  position: absolute;
  left: calc(20px - var(--about-page-pad));
  right: auto;
  top: 0;
  width: calc(100vw - 40px);
  height: clamp(56px, 5.4vw, 88px);
  overflow: hidden;
  z-index: 1;
  color: #DEE5F0;
  font-family: var(--font-display);
  font-size: clamp(48px, 4.7vw, 76px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  pointer-events: none;
}

.about-word-track {
  position: absolute;
  left: 0;
  width: max-content;
  display: flex;
  align-items: center;
  gap: 0;
  opacity: 1;
  animation: about-word-marquee 36s linear infinite;
  will-change: transform;
}

.about-word-set {
  display: inline-flex;
  align-items: center;
  gap: clamp(18px, 1.7vw, 32px);
  flex: 0 0 auto;
  padding-right: clamp(18px, 1.7vw, 32px);
}

.about-word-track-a {
  top: 0;
}

.about-touch-cats {
  z-index: 2;
  width: 100%;
  height: calc(100% - clamp(144px, 14.4vw, 248px));
  position: absolute;
  left: 50%;
  top: clamp(112px, 9.6vw, 172px);
  transform: translateX(-50%);
  pointer-events: none;
}

.about-touch-cat {
  position: absolute;
  top: 0;
  height: auto;
  width: auto;
  max-width: none;
  filter: drop-shadow(0 18px 28px rgba(0, 0, 0, .24));
  will-change: transform, opacity;
}

.about-touch-cat-left {
  left: 3.12%;
  top: 7%;
  width: clamp(460px, 46.8%, 720px);
}

.about-touch-cat-right {
  right: 1.64%;
  top: -16%;
  width: clamp(500px, 49.8%, 760px);
}

.about-touch-cat-right-inline {
  aspect-ratio: 640 / 581;
  display: block;
  background: url("/assets/right-cats.svg?v=right-cats-2") center / contain no-repeat;
}

.about-touch-cat-right-inline svg {
  width: 100%;
  height: 100%;
  display: block;
  overflow: visible;
}

.about-touch-cat-right-inline.is-inline-ready {
  background: none;
}

.about-small-cat-head {
  transform-box: fill-box;
  transform-origin: center;
  will-change: transform;
  animation: about-small-head-float 5.8s ease-in-out infinite;
}

.about-small-cat-head:nth-of-type(2n) {
  animation-name: about-small-head-float-alt;
  animation-duration: 6.7s;
}

.about-small-cat-head:nth-of-type(3n) {
  animation-delay: -2.2s;
}

.about-contact-button {
  --cta-size: clamp(132px, 10.8vw, 176px);
  --ray-length: clamp(32px, 2.2vw, 42px);
  --ray-start: calc(var(--cta-size) * .86);
  z-index: 5;
  width: var(--cta-size);
  height: var(--cta-size);
  position: absolute;
  left: 50%;
  top: 38%;
  margin: 0;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #DEE5F0;
  font-family: var(--font-display);
  font-size: clamp(18px, 1.45vw, 24px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  opacity: 0;
  isolation: isolate;
  box-shadow: 0 20px 54px rgba(0, 0, 0, .34);
  transform: translate(-50%, -50%) scale(.62);
  transition: transform 220ms var(--ease-out-quart), filter 180ms ease, opacity 220ms ease;
  will-change: transform, opacity;
}

.about-contact-button::before,
.about-contact-button::after,
.about-contact-rays {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  opacity: 0;
  z-index: -1;
  pointer-events: none;
  transition: opacity 220ms ease, transform 260ms var(--ease-out-quart);
}

.about-contact-button::before {
  width: calc(var(--cta-size) * 1.37);
  height: calc(var(--cta-size) * 1.37);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent calc(87% - .5px), var(--red) calc(87% - .5px) calc(87% + .5px), transparent calc(87% + .5px)),
    radial-gradient(circle, transparent calc(99% - .5px), var(--red) calc(99% - .5px) calc(99% + .5px), transparent calc(99% + .5px));
  transform: translate(-50%, -50%) scale(.82) rotate(0deg);
}

.about-contact-button::after {
  width: calc(var(--cta-size) * 1.02);
  height: calc(var(--cta-size) * 1.02);
  border-radius: 50%;
  background: var(--red);
  transform: translate(-50%, -50%) scale(1);
}

.about-contact-label {
  position: relative;
  z-index: 2;
}

.about-contact-rays {
  width: 0;
  height: 0;
  transform: translate(-50%, -50%) scale(.76);
}

.about-contact-rays i {
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 0;
  transform-origin: 0 0;
  transform: rotate(calc(var(--i) * 12deg));
}

.about-contact-rays i::before {
  content: "";
  position: absolute;
  left: calc(var(--ray-start) - 10px);
  top: -.5px;
  width: var(--ray-length);
  height: 1px;
  background: var(--red);
  opacity: 0;
  transform: scaleX(.24);
  transform-origin: 0 50%;
  transition:
    opacity 120ms ease,
    transform 320ms var(--ease-out-quart);
  transition-delay: calc(var(--i) * 5ms);
}

.about-contact-button:hover,
.about-contact-button:focus-visible {
  filter: brightness(1.08);
}

.about-contact-button.is-visible {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.about-contact-button.is-visible:hover,
.about-contact-button.is-visible:focus-visible {
  transform: translate(-50%, -50%) scale(1.1);
}

.about-contact-button:hover::before,
.about-contact-button:focus-visible::before {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.about-contact-button:hover::after,
.about-contact-button:focus-visible::after {
  opacity: 0;
}

.about-contact-button:hover .about-contact-rays,
.about-contact-button:focus-visible .about-contact-rays {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.about-contact-button:hover .about-contact-rays i,
.about-contact-button:focus-visible .about-contact-rays i {
  transform: rotate(calc(var(--i) * 12deg));
}

.about-contact-button:hover .about-contact-rays i::before,
.about-contact-button:focus-visible .about-contact-rays i::before {
  opacity: 1;
  transform: translateX(10px) scaleX(1);
}

.contact-layout {
  z-index: 5;
  position: absolute;
  inset: 52px 20px 20px;
  display: grid;
  grid-template-columns: minmax(0, 695fr) minmax(0, 704fr);
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.entry.is-ready .contact-layout {
  opacity: 1;
  transform: translateY(0);
}

.contact-main {
  min-width: 0;
  position: relative;
  padding-left: clamp(36px, 4.02vw, 58px);
  padding-top: clamp(140px, 25.4vh, 193px);
}

.contact-main h1 {
  max-width: 800px;
  margin: 0;
  color: #c5c5c5;
  font-family: var(--font-display);
  font-size: clamp(50px, 4.74vw, 68px);
  font-weight: 900;
  line-height: .94;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-cal-button {
  width: 256px;
  height: 56px;
  margin-top: 56px;
  padding: 0 28px;
  border: 1px solid var(--red);
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: 0;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, box-shadow 180ms ease;
}

.contact-cal-button:hover,
.contact-cal-button:focus-visible {
  background: transparent;
  color: var(--red);
  box-shadow: inset 0 0 0 1px var(--red);
}

.contact-cal-button:active {
  background: color-mix(in oklab, var(--red) 12%, transparent);
}

.contact-links {
  margin-top: 76px;
}

.contact-social {
  display: flex;
  gap: 30px;
  margin-bottom: 27px;
  color: #f4f2e8;
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-social a,
.contact-email {
  transition: color 180ms ease;
}

.contact-social a:hover,
.contact-social a:focus-visible,
.contact-email:hover,
.contact-email:focus-visible {
  color: var(--red);
}

.contact-email {
  color: var(--red);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 900;
  line-height: 1.2;
  text-transform: uppercase;
}

.contact-figure {
  width: min(70.5%, 496px);
  margin: 0;
  position: absolute;
  right: min(7.14vw, 103px);
  top: clamp(128px, 25.13vh, 173px);
}

.contact-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.contact-corner {
  z-index: 6;
  width: 16px;
  height: 16px;
  position: absolute;
  pointer-events: none;
}

.contact-corner::before,
.contact-corner::after {
  content: "";
  position: absolute;
  background: var(--red);
}

.contact-corner::before {
  width: 16px;
  height: 1px;
}

.contact-corner::after {
  width: 1px;
  height: 16px;
}

.contact-corner-top-right {
  top: 20px;
  right: 20px;
}

.contact-corner-top-right::before,
.contact-corner-top-right::after {
  right: 0;
  top: 0;
}

.contact-corner-bottom-right {
  right: 20px;
  bottom: 20px;
}

.contact-corner-bottom-right::before {
  right: 0;
  bottom: 0;
}

.contact-corner-bottom-right::after {
  right: 0;
  bottom: 0;
}

.contact-corner-bottom-left {
  left: 20px;
  bottom: 20px;
}

.contact-corner-bottom-left::before {
  left: 0;
  bottom: 0;
}

.contact-corner-bottom-left::after {
  left: 0;
  bottom: 0;
}

.work-copy {
  z-index: 5;
  width: min(40vw, 520px);
  position: absolute;
  left: clamp(28px, 4.72vw, 68px);
  top: clamp(292px, 54.2vh, 412px);
  transform: translateY(18px);
  opacity: 0;
  transition: opacity 700ms ease, transform 700ms ease;
}

.work-kicker {
  margin: 0 0 clamp(12px, 1.8vw, 20px);
  color: rgba(222, 229, 240, .54);
  font-family: var(--font-ui);
  font-size: clamp(11px, .95vw, 14px);
  line-height: 1;
  letter-spacing: .08em;
}

.work-copy h1 {
  margin: 0;
  color: #c5c5c5;
  font-family: var(--font-display);
  font-size: clamp(78px, 8.33vw, 120px);
  line-height: .82;
  font-weight: 900;
  letter-spacing: 0;
}

.work-copy h1 span {
  display: block;
}

.case-grid {
  z-index: 5;
  position: absolute;
  left: 20px;
  right: 19px;
  top: calc(100dvh + 20px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  column-gap: clamp(14px, 1.56vw, 22.5px);
  row-gap: 30px;
}

.case-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: #DEE5F0;
  outline-offset: 4px;
}

.case-image {
  width: 100%;
  height: clamp(240px, 23.6vw, 340px);
  display: block;
  object-fit: cover;
  background: #262626;
  transition: filter 260ms ease, transform 520ms var(--ease-out-quart);
}

.case-meta {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  overflow: hidden;
  color: #eee;
  font-family: var(--font-ui);
  font-size: clamp(16px, 1.66vw, 24px);
  font-weight: 900;
  line-height: 1;
  transition: color 220ms ease;
}

.case-title,
.case-type {
  display: block;
  min-width: 0;
  line-height: 1;
  letter-spacing: 0;
  transition: color 220ms ease;
}

.case-title {
  color: #eee;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.case-type {
  color: #777;
  flex: 0 0 auto;
}

.case-card:hover .case-image,
.case-card:focus-visible .case-image {
  filter: saturate(1.18) contrast(1.08);
  transform: scale(.985);
}

.case-card:hover .case-title,
.case-card:hover .case-type,
.case-card:focus-visible .case-title,
.case-card:focus-visible .case-type {
  color: var(--red);
}

.work-figure {
  width: min(62.4vw, calc((100dvh - 72px) * 593 / 688), 593px);
  aspect-ratio: 593 / 614;
  right: clamp(24px, 12vw, 173px);
  left: auto;
  bottom: 0;
  transform: translateY(18px) scale(.985);
  filter:
    drop-shadow(0 0 1px rgba(244, 242, 232, .72))
    drop-shadow(0 18px 28px rgba(0, 0, 0, .28));
}

.work-figure img {
  height: auto;
}

.work-figure.is-vector-ready .morph-vector {
  display: block;
}

.entry.is-ready .work-copy {
  opacity: 1;
  transform: translateY(0);
}

.entry.is-ready .work-figure {
  transform: translateY(0) scale(1);
}

.work-footer {
  z-index: 5;
  height: 507px;
  --footer-meta-top: 32px;
  --footer-meta-size: clamp(11px, 1.38vw, 20px);
  --footer-name-gap: 88px;
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100dvh + 1334px);
  overflow: hidden;
  border-top: 1px solid #2d2d2d;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 900;
}

.work-footer-logo {
  width: 32px;
  height: 32px;
  position: absolute;
  left: 20px;
  top: 21px;
}

.work-footer-copy,
.work-footer-line,
.work-footer-social {
  position: absolute;
  top: var(--footer-meta-top);
  font-size: var(--footer-meta-size);
  line-height: 1;
  white-space: nowrap;
}

.work-footer-copy {
  left: 78px;
}

.work-footer-line {
  left: 29.25%;
  text-transform: uppercase;
}

.work-footer-social {
  right: 20px;
  display: flex;
  gap: clamp(18px, 2.2vw, 32px);
}

.work-footer-social a {
  color: inherit;
  transition: color 180ms ease;
}

.work-footer-social a:hover,
.work-footer-social a:focus-visible {
  color: var(--red);
}

.work-footer-name {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(var(--footer-meta-top) + var(--footer-meta-size) + var(--footer-name-gap));
  width: 100%;
  aspect-ratio: 1440 / 359;
  display: block;
  overflow: hidden;
  cursor: crosshair;
  contain: paint;
}

.work-footer-name img,
.work-footer-name::before,
.work-footer-name::after {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.work-footer-name img {
  display: block;
  object-fit: contain;
  transform: translateZ(0);
  transition: filter 220ms ease, transform 360ms var(--ease-out-quart);
  will-change: transform, filter;
}

.work-footer-name::before,
.work-footer-name::after {
  content: "";
  pointer-events: none;
  background: url("/assets/dmytro-text.svg") left top / 100% auto no-repeat;
  opacity: 0;
  mix-blend-mode: screen;
  will-change: clip-path, opacity, transform;
}

.work-footer-name::before {
  filter: brightness(1.24) saturate(1.25);
}

.work-footer-name::after {
  filter: hue-rotate(-8deg) brightness(.78);
  mix-blend-mode: multiply;
}

.work-footer-name:hover img {
  filter: brightness(1.1) saturate(1.18);
  transform: translate3d(0, -2px, 0);
}

.work-footer-name:hover::before {
  animation: footer-name-signal-a 420ms steps(2, end) both;
}

.work-footer-name:hover::after {
  animation: footer-name-signal-b 420ms steps(2, end) both;
}

.about-footer {
  position: relative;
  left: 0;
  right: auto;
  top: auto;
  width: 100vw;
  margin-top: 44px;
  transform: none;
}

body.case-page {
  min-height: 100%;
  overflow: auto;
  background: #1f1f1d;
}

.case-entry {
  --bg: #1f1f1d;
  --ink: #dee5f0;
  --quiet: rgba(222, 229, 240, .52);
  --line: rgba(222, 229, 240, .08);
  height: auto;
  min-height: 100dvh;
  overflow: visible;
  color: var(--ink);
  background: var(--bg);
}

.case-entry .topbar {
  position: fixed;
  height: 48px;
  top: 12px;
  left: 12px;
  right: 12px;
  padding: 8px 20px;
  border: 1px solid transparent;
  border-radius: 999px;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 700ms ease,
    transform 700ms ease,
    background-color 240ms ease,
    left 280ms var(--ease-out-quart),
    right 280ms var(--ease-out-quart),
    padding 280ms var(--ease-out-quart),
    border-color 240ms ease,
    box-shadow 240ms ease,
    backdrop-filter 240ms ease;
}

body.case-page.is-scrolled .case-entry .topbar {
  left: 28px;
  right: 28px;
  padding-left: 24px;
  padding-right: 24px;
  border-color: rgba(222, 229, 240, .16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .025)),
    rgba(31, 31, 29, .68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 18px 48px rgba(0, 0, 0, .22);
  backdrop-filter: blur(18px) saturate(1.35);
  -webkit-backdrop-filter: blur(18px) saturate(1.35);
}

body.case-page.is-scrolled .case-entry .topbar::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: .14;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, .85) 0 1px, transparent 1px),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, .5) 0 1px, transparent 1px);
  background-size: 18px 18px, 23px 23px;
  mix-blend-mode: screen;
}

.case-entry #systemState {
  display: inline-flex;
  align-items: center;
  height: 32px;
  margin-right: clamp(78px, 7vw, 112px);
  line-height: 1;
}

body.case-page .audio-control {
  top: 36px;
  right: clamp(42px, 4.8vw, 72px);
  height: 18px;
  transform: translateY(calc(-50% - 8px));
}

body.case-page:has(.entry.is-ready) .audio-control {
  transform: translateY(-50%);
}

body.case-page.is-scrolled .audio-control {
  right: clamp(56px, 5.8vw, 88px);
}

.case-study,
.case-final-cta,
.case-footer {
  position: relative;
  z-index: 5;
}

.case-study {
  width: 100%;
  padding-top: 0;
}

.case-hero {
  min-height: 100dvh;
  padding: clamp(104px, 12vh, 144px) 20px clamp(72px, 8vh, 112px);
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  isolation: isolate;
}

.case-hero::before,
.case-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.case-hero::before {
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(31, 31, 29, .72) 0%, rgba(31, 31, 29, .38) 34%, rgba(31, 31, 29, .86) 100%),
    radial-gradient(circle at 50% 44%, rgba(31, 31, 29, .2) 0%, rgba(31, 31, 29, .68) 72%);
}

.case-hero::after {
  z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .86) 18%, rgba(0, 0, 0, .32) 48%, rgba(0, 0, 0, .92) 100%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .86) 18%, rgba(0, 0, 0, .32) 48%, rgba(0, 0, 0, .92) 100%);
}

.case-hero-nav {
  position: absolute;
  top: 92px;
  left: 20px;
  right: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px;
  pointer-events: none;
}

.case-back {
  color: var(--quiet);
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  transition: color 180ms ease;
  pointer-events: auto;
}

.case-back:hover,
.case-back:focus-visible {
  color: var(--red);
}

.case-hero-copy {
  max-width: min(1120px, calc(100vw - 40px));
  text-align: center;
}

.case-kicker,
.case-block-eyebrow {
  margin: 0;
  color: var(--red);
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 900;
  line-height: 1;
  text-align: right;
  text-transform: uppercase;
}

.case-block-eyebrow {
  margin-bottom: 16px;
  text-align: left;
}

.case-hero h1 {
  max-width: 13ch;
  margin: 0;
  color: #dee5f0;
  font-family: var(--font-display);
  font-size: clamp(68px, 11.4vw, 176px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: .8;
  text-transform: uppercase;
}

.case-summary {
  max-width: 38ch;
  margin: clamp(22px, 2.6vw, 36px) auto 0;
  color: rgba(222, 229, 240, .82);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.24;
}

.case-hero-media {
  z-index: -2;
  margin: 0;
  position: absolute;
  inset: 0;
  background: #080808;
}

.case-hero-media img {
  width: 100%;
  height: 100%;
  display: block;
  aspect-ratio: auto;
  object-fit: cover;
  transform: scale(1.04);
}

.case-meta-strip {
  margin: 0 20px;
  border-top: 1px solid rgba(222, 229, 240, .26);
  border-bottom: 1px solid rgba(222, 229, 240, .26);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
}

.case-meta-item {
  min-height: 112px;
  padding: 20px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  border-right: 1px solid rgba(222, 229, 240, .16);
}

.case-meta-item:last-child {
  border-right: 0;
}

.case-meta-item span {
  color: var(--quiet);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.case-meta-item strong {
  color: #dee5f0;
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.08;
}

.case-blocks {
  padding: clamp(72px, 9vw, 140px) 20px 0;
}

.case-reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 720ms ease, transform 720ms var(--ease-out-quart);
}

.case-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.case-intro {
  width: min(960px, calc(100vw - 40px));
  margin: 0 auto clamp(88px, 11vw, 160px);
}

.case-intro p:not(.case-block-eyebrow) {
  margin: 0;
  color: rgba(222, 229, 240, .72);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.3;
}

.case-challenge {
  margin: 0 0 clamp(88px, 11vw, 152px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(222, 229, 240, .26);
  border-bottom: 1px solid rgba(222, 229, 240, .26);
}

.case-challenge > div {
  min-height: 460px;
  padding: clamp(28px, 4vw, 56px);
  border-right: 1px solid rgba(222, 229, 240, .16);
}

.case-challenge > div:last-child {
  border-right: 0;
}

.case-challenge span,
.case-process article span {
  color: var(--red);
  font-size: 14px;
  font-weight: 900;
}

.case-challenge h2,
.case-role h2,
.case-process h2,
.case-section-text h2 {
  margin: 22px 0 clamp(28px, 4vw, 52px);
  color: #dee5f0;
  font-size: clamp(42px, 5.4vw, 86px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}

.case-challenge p,
.case-section-text p {
  max-width: 660px;
  margin: 0;
  color: rgba(222, 229, 240, .68);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.28;
}

.case-role,
.case-process,
.case-solution-visuals,
.case-section-text {
  width: min(1260px, calc(100vw - 40px));
  margin: 0 auto clamp(88px, 11vw, 152px);
}

.case-solution-visuals {
  display: grid;
  gap: clamp(28px, 4vw, 54px);
}

.case-solution-head {
  max-width: 860px;
}

.case-solution-head h2 {
  max-width: 11ch;
  margin: 0 0 clamp(22px, 3vw, 36px);
  color: #dee5f0;
  font-size: clamp(48px, 7vw, 112px);
  font-weight: 900;
  line-height: .86;
  text-transform: uppercase;
}

.case-solution-head p:not(.case-block-eyebrow) {
  max-width: 42ch;
  margin: 0;
  color: rgba(222, 229, 240, .68);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.28;
}

.case-solution-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px;
}

.case-solution-visuals[data-grid-columns="1"] {
  --case-visual-columns: 1;
  --case-visual-media-height: clamp(420px, 48vw, 720px);
}

.case-solution-visuals[data-grid-columns="2"] {
  --case-visual-columns: 2;
  --case-visual-media-height: clamp(320px, 34vw, 560px);
}

.case-solution-visuals[data-grid-columns="3"] {
  --case-visual-columns: 3;
  --case-visual-media-height: clamp(260px, 24vw, 420px);
}

.case-solution-visuals[data-grid-columns="4"] {
  --case-visual-columns: 4;
  --case-visual-media-height: clamp(220px, 20vw, 360px);
}

.case-solution-visuals[data-grid-columns] .case-solution-grid {
  grid-template-columns: repeat(var(--case-visual-columns), minmax(0, 1fr));
}

.case-solution-item {
  min-width: 0;
  display: grid;
  gap: 16px;
}

.case-solution-visuals[data-grid-columns] .case-solution-item:nth-child(n) {
  grid-column: auto;
}

.case-solution-item:nth-child(3n + 1) {
  grid-column: span 3;
}

.case-solution-item:nth-child(3n + 2) {
  grid-column: span 3;
}

.case-solution-item:nth-child(3n) {
  grid-column: span 6;
}

.case-solution-media {
  min-height: clamp(300px, 34vw, 560px);
  border: 1px solid rgba(222, 229, 240, .24);
  background:
    linear-gradient(90deg, rgba(222, 229, 240, .055) 1px, transparent 1px),
    linear-gradient(180deg, rgba(222, 229, 240, .055) 1px, transparent 1px),
    #0b0b0b;
  background-size: 32px 32px;
  overflow: hidden;
  position: relative;
}

.case-solution-visuals[data-grid-columns] .case-solution-media {
  min-height: var(--case-visual-media-height);
}

.case-solution-item:nth-child(3n) .case-solution-media {
  min-height: clamp(360px, 45vw, 680px);
}

.case-solution-visuals[data-grid-columns] .case-solution-item:nth-child(3n) .case-solution-media {
  min-height: var(--case-visual-media-height);
}

.case-solution-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.case-solution-placeholder {
  width: 100%;
  height: 100%;
  min-height: inherit;
  padding: 22px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  color: rgba(222, 229, 240, .62);
  background:
    linear-gradient(135deg, transparent calc(50% - .5px), rgba(254, 74, 73, .56) calc(50% - .5px), rgba(254, 74, 73, .56) calc(50% + .5px), transparent calc(50% + .5px)),
    radial-gradient(circle at 76% 22%, rgba(254, 74, 73, .14), transparent 38%);
}

.case-solution-placeholder span,
.case-solution-placeholder strong {
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 900;
  line-height: 1;
}

.case-solution-placeholder strong {
  color: var(--red);
}

.case-solution-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: start;
}

.case-solution-copy h3 {
  margin: 0;
  color: #dee5f0;
  font-size: clamp(22px, 2vw, 32px);
  font-weight: 900;
  line-height: .98;
  text-transform: uppercase;
}

.case-solution-copy p,
.case-solution-copy small {
  margin: 0;
  color: rgba(222, 229, 240, .66);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.24;
}

.case-solution-copy small {
  margin-top: 12px;
  color: var(--quiet);
  font-size: 14pt;
}

.case-role-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.case-role-tags span {
  padding: 14px 18px;
  border: 1px solid rgba(222, 229, 240, .32);
  color: #dee5f0;
  font-size: clamp(16px, 1.55vw, 22px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.case-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(222, 229, 240, .26);
  border-left: 1px solid rgba(222, 229, 240, .26);
}

.case-process article {
  min-height: 300px;
  padding: 22px;
  border-right: 1px solid rgba(222, 229, 240, .26);
  border-bottom: 1px solid rgba(222, 229, 240, .26);
}

.case-process h3 {
  margin: 42px 0 18px;
  color: #dee5f0;
  font-size: clamp(22px, 2.15vw, 34px);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.case-process p {
  margin: 0;
  color: rgba(222, 229, 240, .58);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
  line-height: 1.28;
}

.case-image-full {
  width: calc(100vw - 40px);
  margin: 0 20px clamp(88px, 11vw, 152px);
}

.case-image-full img {
  width: 100%;
  max-height: 78dvh;
  display: block;
  object-fit: cover;
  border: 1px solid rgba(222, 229, 240, .26);
}

.case-image-full figcaption {
  margin-top: 14px;
  color: var(--quiet);
  font-family: var(--font-body);
  font-size: 18pt;
  font-weight: 500;
}

.case-section-text {
  display: grid;
  grid-template-columns: minmax(260px, .72fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 96px);
  align-items: start;
}

.case-section-text h2 {
  margin-top: 0;
}

.case-stats {
  width: calc(100vw - 40px);
  margin: 0 20px clamp(88px, 10vw, 140px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(222, 229, 240, .26);
  border-bottom: 1px solid rgba(222, 229, 240, .26);
}

.case-stats div {
  min-height: 190px;
  padding: 22px;
  border-right: 1px solid rgba(222, 229, 240, .18);
}

.case-stats div:last-child {
  border-right: 0;
}

.case-stats strong {
  display: block;
  color: var(--red);
  font-size: clamp(42px, 6vw, 92px);
  font-weight: 900;
  line-height: .9;
  text-transform: uppercase;
}

.case-stats span {
  display: block;
  margin-top: 20px;
  color: rgba(222, 229, 240, .68);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 900;
  text-transform: uppercase;
}

.case-final-cta {
  min-height: 420px;
  padding: clamp(70px, 10vw, 140px) 20px;
  display: grid;
  place-items: center;
  text-align: center;
}

.case-final-cta p {
  max-width: 980px;
  margin: 0 0 34px;
  color: #dee5f0;
  font-size: clamp(44px, 7.4vw, 118px);
  font-weight: 900;
  line-height: .92;
  text-transform: uppercase;
}

.case-final-cta a {
  width: clamp(142px, 13vw, 190px);
  aspect-ratio: 1;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 900;
  line-height: 1;
  transition: transform 260ms var(--ease-out-quart), box-shadow 260ms ease;
}

.case-final-cta a:hover,
.case-final-cta a:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 0 0 1px var(--red), 0 0 0 18px rgba(254, 74, 73, .12);
}

.case-footer {
  position: relative;
  top: auto;
  left: 0;
  right: auto;
  width: 100vw;
}

@keyframes about-small-head-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(-1.4deg);
  }

  35% {
    transform: translate3d(4px, -7px, 0) rotate(2.2deg);
  }

  68% {
    transform: translate3d(-5px, 4px, 0) rotate(-2.4deg);
  }
}

@keyframes about-small-head-float-alt {
  0%,
  100% {
    transform: translate3d(0, 0, 0) rotate(1.2deg);
  }

  40% {
    transform: translate3d(-6px, -5px, 0) rotate(-2deg);
  }

  74% {
    transform: translate3d(5px, 6px, 0) rotate(2.6deg);
  }
}

@keyframes about-photo-one {
  0%,
  46% {
    opacity: 1;
    transform: scale(1.01);
  }

  50%,
  96% {
    opacity: 0;
    transform: scale(1.035);
  }

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

@keyframes about-photo-two {
  0%,
  46% {
    opacity: 0;
    transform: scale(1.035);
  }

  50%,
  96% {
    opacity: 1;
    transform: scale(1.01);
  }

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

@keyframes about-photo-progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}

@keyframes about-word-marquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes footer-name-signal-a {
  0% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 0, 0);
  }
  18% {
    opacity: .72;
    clip-path: inset(8% 0 76% 0);
    transform: translate3d(10px, -2px, 0);
  }
  38% {
    opacity: .34;
    clip-path: inset(42% 0 41% 0);
    transform: translate3d(-8px, 2px, 0);
  }
  62% {
    opacity: .66;
    clip-path: inset(71% 0 12% 0);
    transform: translate3d(6px, 1px, 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate3d(0, 0, 0);
  }
}

@keyframes footer-name-signal-b {
  0% {
    opacity: 0;
    clip-path: inset(100% 0 0 0);
    transform: translate3d(0, 0, 0);
  }
  22% {
    opacity: .44;
    clip-path: inset(25% 0 60% 0);
    transform: translate3d(-12px, 1px, 0);
  }
  48% {
    opacity: .28;
    clip-path: inset(55% 0 31% 0);
    transform: translate3d(9px, -1px, 0);
  }
  72% {
    opacity: .5;
    clip-path: inset(84% 0 3% 0);
    transform: translate3d(-5px, 2px, 0);
  }
  100% {
    opacity: 0;
    clip-path: inset(0 0 100% 0);
    transform: translate3d(0, 0, 0);
  }
}

.work-scroll-space {
  height: calc(100dvh + 1841px);
  min-height: 2605px;
  pointer-events: none;
}

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

  .case-hero {
    min-height: 94dvh;
  }

  .case-hero-copy {
    max-width: min(940px, calc(100vw - 40px));
  }

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

  .case-meta-item:nth-child(2n) {
    border-right: 0;
  }

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

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

  .case-solution-item:nth-child(n) {
    grid-column: span 1;
  }

  .about-leed-row {
    min-height: 0;
    flex-direction: column;
    align-items: flex-start;
  }

  .about-leed-visual {
    width: clamp(340px, 54vw, 520px);
  }

  .about-leed-copy {
    width: 100%;
    margin-left: 0;
  }

  .about-touch-cat-left {
    left: -7vw;
  }

  .about-touch-cat-right {
    right: -11vw;
  }
}

@media (max-width: 760px) {
  body {
    overflow: auto;
  }

  .entry {
    min-height: 720px;
    background:
      linear-gradient(180deg, transparent calc(50% - .5px), var(--line) calc(50% - .5px), var(--line) calc(50% + .5px), transparent calc(50% + .5px)),
      var(--bg);
  }

  .brand {
    width: 32px;
    height: 32px;
  }

  .header-nav {
    left: 50%;
    gap: 9px;
    font-size: 9px;
    letter-spacing: .06em;
  }

  .topbar .header-name {
    display: none;
  }

  #systemState {
    margin-right: 82px;
    font-size: 0;
  }

  .split-nav {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .hover-backdrop {
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .zone {
    justify-content: flex-start;
    padding-left: clamp(24px, 10vw, 48px);
    padding-right: 24px;
  }

  .zone-about {
    align-items: end;
    padding-bottom: clamp(172px, 24vh, 220px);
  }

  .zone-work {
    align-items: start;
    padding-top: clamp(190px, 26vh, 238px);
  }

  .zone span {
    font-size: clamp(50px, 16vw, 78px);
  }

  .morph-figure {
    width: min(76vw, 430px);
    bottom: 50%;
    transform: translate(-50%, 52%) scale(.98);
  }

  .entry.is-ready .morph-figure {
    transform: translate(-50%, 52%) scale(1);
  }

  .home-entry:has(.zone-about:is(:hover, :focus-visible)) .morph-hand-about {
    transform: translate(8px, -58px) rotate(-11deg) scale(1.4);
  }

  .home-entry:has(.zone-work:is(:hover, :focus-visible)) .morph-hand-work {
    transform: translate(-8px, -58px) rotate(11deg) scale(1.4);
  }

  .placeholder-page {
    left: 24px;
    bottom: 80px;
  }

  .work-entry {
    min-height: 760px;
  }

  .about-entry {
    min-height: 760px;
  }

  .contact-entry {
    min-height: 720px;
  }

  .work-entry::after {
    display: none;
  }

  .about-copy {
    width: calc(100vw - 48px);
    left: 24px;
    top: 142px;
    transform: translateY(18px);
  }

  .entry.is-ready .about-copy {
    transform: translateY(0);
  }

  .about-copy h1 {
    font-size: clamp(56px, 18vw, 78px);
    line-height: .96;
  }

  .contact-entry {
    min-height: 760px;
  }

  .contact-layout {
    inset: 86px 20px 28px;
    display: block;
    overflow: visible;
  }

  .contact-main {
    padding: 0 4px;
  }

  .contact-main h1 {
    font-size: clamp(42px, 12.8vw, 64px);
    line-height: .95;
  }

  .contact-cal-button {
    width: min(256px, calc(100vw - 48px));
    height: 54px;
    margin-top: 34px;
    font-size: 22px;
  }

  .contact-links {
    margin-top: 40px;
  }

  .contact-social {
    gap: 24px;
    margin-bottom: 20px;
    font-size: 18px;
  }

  .contact-email {
    font-size: clamp(16px, 4.8vw, 19px);
  }

  .contact-figure {
    width: min(86vw, 390px);
    right: 50%;
    top: auto;
    bottom: 18px;
    transform: translateX(50%);
  }

  .about-figure {
    width: min(calc(100vw - 40px), calc((100dvh - 224px) * 536 / 468));
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%) translateY(18px) scale(.98);
  }

  .entry.is-ready .about-figure {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  .about-content {
    --about-page-pad: 24px;
    width: calc(100vw - 48px);
    margin-left: 24px;
    padding-top: calc(100dvh + 64px);
  }

  .about-story {
    margin-bottom: 56px;
  }

  .about-lead {
    font-size: clamp(34px, 10.4vw, 52px);
    line-height: 1.08;
  }

  .about-leed-row {
    min-height: 0;
    margin-bottom: 64px;
    flex-direction: column;
    align-items: flex-start;
    gap: 36px;
  }

  .about-leed-visual {
    width: min(82vw, 380px);
  }

  .about-leed-copy {
    width: 100%;
    gap: 22px;
  }

  .about-leed-copy .about-reveal-line {
    font-size: clamp(20px, 5.9vw, 28px);
    line-height: 1.22;
  }

  .about-services {
    margin-bottom: 64px;
  }

  .about-services h2 {
    margin-bottom: 28px;
    font-size: clamp(42px, 13vw, 64px);
  }

  .about-service-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-service-card {
    min-height: 0;
    padding: 28px 24px 30px;
    box-shadow: 7px 7px 0 var(--red);
  }

  .about-service-card h3 {
    margin-bottom: 28px;
    font-size: clamp(22px, 7vw, 30px);
  }

  .about-service-card li {
    padding-left: 24px;
    font-size: 16px;
  }

  .about-touch {
    height: min(112vw, 620px);
    margin-bottom: 56px;
  }

  .about-word-marquee {
    height: clamp(44px, 14vw, 68px);
    font-size: clamp(44px, 14vw, 68px);
  }

  .about-word-track {
    gap: 0;
    animation-duration: 28s;
  }

  .about-touch-cats {
    width: 100%;
    height: calc(100% - 112px);
    top: 96px;
  }

  .about-touch-cat {
    width: auto;
  }

  .about-touch-cat-left {
    left: -36vw;
    top: 17%;
    width: min(96vw, 420px);
  }

  .about-touch-cat-right {
    right: -42vw;
    top: 0;
    width: min(100vw, 440px);
  }

  .about-contact-button {
    --cta-size: clamp(76px, 22vw, 104px);
    left: 50%;
    top: 46%;
    font-size: 12px;
  }

  .about-footer {
    margin-top: 36px;
  }

  .work-copy {
    width: calc(100vw - 48px);
    left: 24px;
    top: 154px;
    transform: translateY(18px);
  }

  .entry.is-ready .work-copy {
    transform: translateY(0);
  }

  .work-copy h1 {
    font-size: clamp(54px, 16vw, 76px);
  }

  .work-kicker {
    margin-bottom: 12px;
    font-size: 11px;
  }

  .case-grid {
    left: 24px;
    right: 24px;
    top: calc(100dvh + 34px);
    grid-template-columns: 1fr;
    gap: 22px;
    padding-bottom: 44px;
  }

  .case-title {
    font-size: inherit;
  }

  .work-figure {
    width: min(calc(100vw - 40px), 360px, calc((100dvh - 20px) * 593 / 613));
    left: 50%;
    right: auto;
    bottom: 0;
    transform: translateX(-50%) translateY(18px) scale(.98);
  }

  .entry.is-ready .work-figure {
    transform: translateX(-50%) translateY(0) scale(1);
  }

}

@media (max-width: 760px) {
  .case-entry {
    min-height: 100dvh;
  }

  .case-study {
    padding-top: 0;
  }

  .case-entry .topbar {
    left: 12px;
    right: 12px;
  }

  .case-back {
    top: 76px;
    left: 20px;
    font-size: 12px;
  }

  .case-hero {
    min-height: 100dvh;
    padding: 112px 20px 64px;
  }

  .case-hero h1 {
    font-size: clamp(58px, 19vw, 94px);
  }

  .case-summary {
    max-width: 34ch;
    font-size: 18pt;
  }

  .case-hero::after {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .case-meta-strip {
    grid-template-columns: 1fr;
  }

  .case-meta-item {
    min-height: 86px;
    border-right: 0;
    border-bottom: 1px solid rgba(222, 229, 240, .16);
  }

  .case-meta-item:last-child {
    border-bottom: 0;
  }

  .case-challenge,
  .case-section-text,
  .case-stats {
    grid-template-columns: 1fr;
  }

  .case-challenge > div {
    min-height: 0;
    border-right: 0;
    border-bottom: 1px solid rgba(222, 229, 240, .16);
  }

  .case-challenge > div:last-child {
    border-bottom: 0;
  }

  .case-role-tags span {
    width: 100%;
  }

  .case-solution-grid {
    grid-template-columns: 1fr;
  }

  .case-solution-visuals[data-grid-columns] .case-solution-grid {
    grid-template-columns: 1fr;
  }

  .case-solution-media,
  .case-solution-visuals[data-grid-columns] .case-solution-media,
  .case-solution-item:nth-child(3n) .case-solution-media {
    min-height: clamp(260px, 82vw, 440px);
  }

  .case-solution-copy {
    grid-template-columns: 1fr;
  }

  .case-solution-copy small {
    grid-column: auto;
  }

  .case-process-list {
    grid-template-columns: 1fr;
  }

  .case-process article {
    min-height: 0;
  }

  .case-stats div {
    min-height: 140px;
    border-right: 0;
    border-bottom: 1px solid rgba(222, 229, 240, .18);
  }

  .case-stats div:last-child {
    border-bottom: 0;
  }

  .case-final-cta {
    min-height: 340px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .topbar,
  .split-nav,
  .morph-figure,
  .morph-head,
  .morph-hand,
  .morph-tie,
  .work-hand,
  .about-head,
  .about-eyes,
  .about-glasses,
  .about-hand,
  .about-small-cat-head,
  .zone::before,
  .zone span,
  .case-reveal {
    transition-duration: 1ms;
    animation-duration: 1ms;
  }

  .entry.is-ready .about-hand {
    animation: none;
  }

  .work-footer-name:hover::before,
  .work-footer-name:hover::after {
    animation: none;
    opacity: 0;
  }

  .about-word-track {
    animation: none;
  }

  .about-leed-photo,
  .about-photo-progress span {
    animation: none;
  }

  .about-leed-photo-a {
    opacity: 1;
    transform: none;
  }

  .work-footer-name:hover img {
    transform: none;
  }
}

body.admin-page {
  --admin-bg: #10100f;
  --admin-panel: #181817;
  --admin-panel-soft: #1d1d1b;
  --admin-border: rgba(222, 229, 240, .18);
  --admin-border-strong: rgba(222, 229, 240, .34);
  --admin-text: #dee5f0;
  --admin-muted: rgba(222, 229, 240, .62);
  --admin-faint: rgba(222, 229, 240, .38);
  min-height: 100dvh;
  overflow: auto;
  background: var(--admin-bg);
  color: var(--admin-text);
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.45;
}

.admin-page button,
.admin-page input,
.admin-page textarea,
.admin-page select {
  font: inherit;
}

.admin-page button,
.admin-page a,
.admin-page select,
.admin-page input,
.admin-page textarea {
  border-radius: 0;
}

.admin-topbar {
  z-index: 20;
  position: sticky;
  top: 0;
  min-height: 56px;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid var(--admin-border);
  background: color-mix(in srgb, var(--admin-bg) 92%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: .875rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.admin-brand img {
  width: 30px;
  height: 30px;
  flex: 0 0 auto;
  display: block;
}

.admin-nav {
  display: flex;
  align-items: center;
  gap: 28px;
  color: var(--admin-muted);
  font-family: var(--font-mono);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.admin-nav a:hover,
.admin-nav a:focus-visible {
  color: var(--red);
}

.admin-shell {
  width: min(1640px, calc(100vw - 32px));
  margin: 16px auto 56px;
  display: grid;
  grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
  gap: 16px;
}

.admin-sidebar,
.admin-editor {
  min-width: 0;
}

.admin-sidebar {
  position: sticky;
  top: 72px;
  height: calc(100dvh - 88px);
  padding: 14px;
  border: 1px solid var(--admin-border);
  background: var(--admin-panel);
  overflow: auto;
}

.admin-sidebar-head,
.admin-sidebar-actions,
.admin-editor-head,
.admin-panel-head,
.admin-block-head,
.admin-nested-head,
.admin-nested-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.admin-sidebar-head p,
.admin-eyebrow {
  margin: 0;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-sidebar button,
.admin-editor button,
.admin-editor a {
  min-height: 32px;
  padding: 7px 10px;
  border: 1px solid var(--admin-border-strong);
  background: transparent;
  color: var(--admin-text);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease, transform .18s ease;
}

.admin-sidebar button:hover,
.admin-editor button:hover,
.admin-editor a:hover,
.admin-sidebar button:focus-visible,
.admin-editor button:focus-visible,
.admin-editor a:focus-visible {
  border-color: var(--red);
  background: rgba(254, 74, 73, .08);
  color: var(--red);
  outline: 0;
}

.admin-sidebar button:active,
.admin-editor button:active,
.admin-editor a:active {
  transform: translateY(1px);
}

.admin-sidebar button:disabled,
.admin-editor button:disabled {
  opacity: .35;
  cursor: default;
}

.admin-case-list {
  display: grid;
  gap: 8px;
  margin: 14px 0;
}

.admin-case-list button {
  width: 100%;
  min-height: auto;
  padding: 10px;
  display: grid;
  justify-items: start;
  gap: 2px;
  text-align: left;
  background: transparent;
}

.admin-case-list button.is-selected {
  border-color: var(--red);
  background: rgba(254, 74, 73, .1);
}

.admin-case-list span {
  color: var(--admin-text);
  font-size: .8125rem;
  font-weight: 800;
  text-transform: uppercase;
}

.admin-case-list small {
  color: var(--admin-faint);
  font-size: .75rem;
}

.admin-sidebar-actions {
  align-items: stretch;
  flex-direction: column;
}

.admin-editor {
  display: grid;
  gap: 14px;
}

.admin-editor-head {
  min-height: auto;
  padding: 16px;
  border: 1px solid var(--admin-border);
  background: var(--admin-panel);
}

.admin-editor-head h1 {
  margin: 4px 0 0;
  color: var(--admin-text);
  font-size: 1.375rem;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.admin-editor-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

#adminStatus {
  color: var(--admin-faint);
  font-family: var(--font-mono);
  font-size: .6875rem;
  letter-spacing: .08em;
  text-transform: uppercase;
}

#adminStatus.is-fresh {
  color: var(--red);
}

#adminStatus.is-error {
  color: #ffcc00;
}

.admin-form,
.admin-panel,
.admin-block-list {
  display: grid;
  gap: 14px;
}

.admin-panel,
.admin-block {
  padding: 16px;
  border: 1px solid var(--admin-border);
  background: var(--admin-panel);
}

.admin-panel-head {
  align-items: flex-start;
  margin-bottom: 14px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(222, 229, 240, .1);
}

.admin-panel-head h2,
.admin-block-head h3 {
  margin: 0;
  color: var(--admin-text);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.admin-panel-head p {
  max-width: 560px;
  margin: 4px 0 0;
  color: var(--admin-muted);
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.45;
}

.admin-add-block {
  display: flex;
  align-items: center;
  gap: 8px;
}

.admin-add-block select {
  min-height: 32px;
  border: 1px solid var(--admin-border-strong);
  background: var(--admin-bg);
  color: var(--admin-text);
}

.admin-fields,
.admin-block-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.admin-field,
.admin-nested-card label {
  display: grid;
  gap: 6px;
}

.admin-field.is-wide,
.admin-nested-list.is-wide {
  grid-column: 1 / -1;
}

.admin-field span,
.admin-nested-card label span {
  color: rgba(222, 229, 240, .55);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.admin-page input,
.admin-page textarea,
.admin-page select {
  width: 100%;
  border: 1px solid var(--admin-border);
  background: #0d0d0c;
  color: var(--admin-text);
  font-size: .875rem;
}

.admin-page input,
.admin-page select {
  min-height: 36px;
  padding: 0 10px;
}

.admin-page textarea {
  min-height: 92px;
  padding: 10px;
  resize: vertical;
  font-family: var(--font-body);
  font-size: .875rem;
  line-height: 1.45;
}

.admin-page input:focus,
.admin-page textarea:focus,
.admin-page select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 2px rgba(254, 74, 73, .14);
  outline: 0;
}

.admin-image-field {
  display: grid;
  gap: 8px;
}

.admin-image-control {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 8px;
}

.admin-upload-button {
  min-height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--admin-border-strong);
  color: var(--admin-text);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color .18s ease, border-color .18s ease, background-color .18s ease;
}

.admin-upload-button:hover,
.admin-upload-button:focus-within {
  border-color: var(--red);
  background: rgba(254, 74, 73, .08);
  color: var(--red);
}

.admin-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.admin-image-preview {
  width: min(100%, 420px);
  max-height: 180px;
  display: block;
  object-fit: contain;
  border: 1px solid var(--admin-border);
  background: #090908;
}

.admin-image-hint {
  color: var(--admin-faint);
  font-size: .75rem;
}

.admin-list-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr) auto;
  gap: 10px;
  align-items: center;
}

.admin-meta-list {
  display: grid;
  gap: 10px;
}

.admin-block {
  background: var(--admin-panel-soft);
}

.admin-block-head {
  align-items: flex-start;
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(222, 229, 240, .1);
}

.admin-block-head span,
.admin-nested-title span {
  color: var(--red);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-block-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 6px;
}

.admin-nested-list {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px dashed var(--admin-border);
  background: rgba(222, 229, 240, .03);
}

.admin-nested-head strong {
  color: var(--admin-text);
  font-size: .875rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-nested-card {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--admin-border);
  background: #10100f;
}

.admin-json-box {
  min-height: 260px;
  font-family: var(--font-mono);
  font-size: .8125rem;
  line-height: 1.45;
  white-space: pre;
}

.admin-empty {
  margin: 0;
  color: var(--admin-muted);
  font-family: var(--font-body);
  font-size: .875rem;
}

.site-is-closed {
  overflow: hidden;
}

.site-is-closed .entry {
  filter: saturate(.75) brightness(.72);
}

body.site-preview-access::before {
  z-index: 9999;
  pointer-events: none;
  content: "PREVIEW ACCESS";
  position: fixed;
  right: 18px;
  bottom: 14px;
  padding: 8px 10px;
  border: 1px solid rgba(254, 74, 73, .7);
  background: rgba(21, 20, 20, .74);
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.site-closed-overlay {
  z-index: 10000;
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  color: #dee5f0;
  background:
    radial-gradient(circle at 50% 42%, rgba(254, 74, 73, .18), transparent 30%),
    rgba(8, 8, 8, .84);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.site-closed-card {
  width: min(900px, calc(100vw - 48px));
  min-height: clamp(360px, 52vh, 560px);
  padding: clamp(28px, 5vw, 72px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 1px solid rgba(222, 229, 240, .28);
  background:
    linear-gradient(90deg, rgba(222, 229, 240, .06) 1px, transparent 1px),
    linear-gradient(rgba(222, 229, 240, .06) 1px, transparent 1px),
    rgba(21, 20, 20, .82);
  background-size: 10px 10px;
  box-shadow: 0 24px 90px rgba(0, 0, 0, .55);
}

.site-closed-card p {
  margin: 0 0 18px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .18em;
}

.site-closed-card h1 {
  max-width: 9ch;
  margin: 0;
  color: #dee5f0;
  font-size: clamp(58px, 10vw, 132px);
  line-height: .86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.site-closed-card span {
  max-width: 58ch;
  margin-top: 28px;
  color: rgba(222, 229, 240, .72);
  font-family: var(--font-body);
  font-size: 18pt;
  line-height: 1.25;
}

.site-closed-card a {
  margin-top: 24px;
  color: var(--red);
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .08em;
}

.admin-site-grid {
  display: grid;
  grid-template-columns: minmax(220px, 300px) minmax(0, 1fr);
  gap: 12px;
}

.admin-site-card {
  min-height: auto;
  padding: 14px;
  display: grid;
  align-content: start;
  gap: 8px;
  border: 1px solid var(--admin-border);
  background: #0d0d0c;
}

.admin-site-card span {
  color: var(--admin-faint);
  font-family: var(--font-mono);
  font-size: .6875rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.admin-site-card strong {
  color: var(--red);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1.15;
  text-transform: uppercase;
}

.admin-site-card strong.is-open {
  color: #71ff8b;
}

.admin-site-card p {
  margin: 0;
  color: var(--admin-muted);
  font-family: var(--font-body);
  font-size: .8125rem;
  line-height: 1.45;
}

@media (max-width: 980px) {
  .admin-shell {
    width: calc(100vw - 28px);
    grid-template-columns: 1fr;
    margin-top: 24px;
  }

  .admin-sidebar {
    position: relative;
    top: auto;
    height: auto;
  }

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

  .admin-editor-head,
  .admin-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-editor-actions {
    justify-items: start;
  }

  .admin-site-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
    padding: 12px 16px;
  }

  .admin-brand span {
    white-space: normal;
  }

  .admin-case-list,
  .admin-fields,
  .admin-block-fields,
  .admin-list-row,
  .admin-image-control {
    grid-template-columns: 1fr;
  }

  .admin-panel,
  .admin-block,
  .admin-editor-head {
    padding: 18px;
  }

  .admin-add-block {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }
}
