
@font-face {
  font-family: "Blurskye Sans";
  src: url('../../../fonts/tiktok-sans.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 300 900;
}

@font-face {
  font-family: "Geist Mono";
  src: url('../../../fonts/geist-mono.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 100 900;
}

@font-face {
  font-family: "Departure Mono";
  src: url('../../../fonts/departure-mono.woff2') format('woff2');
  font-display: swap;
  font-style: normal;
  font-weight: 400;
}

:root {
  --label: 255, 255, 255;
  --label-d: 230, 232, 232;
  --label-1: rgba(var(--label), 1);
  --label-2: rgba(var(--label-d), 0.58);
  --label-3: rgba(var(--label-d), 0.32);
  --label-4: rgba(var(--label-d), 0.16);
  --line: rgba(var(--label-d), 0.1);
  --background: #0f1111;
  --selection: #c0fe04;
  color-scheme: dark;
  font-family: "Blurskye Sans", Arial, sans-serif;
  font-synthesis: none;
  text-rendering: geometricPrecision;
}

html.light {
  --label: 0, 0, 0;
  --label-d: 54, 54, 48;
  --line: rgba(var(--label-d), 0.12);
  --background: #fbfaf4;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

html,
body,
#app {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  background: var(--background);
  color: var(--label-1);
}

body {
  min-width: 320px;
  overscroll-behavior: none;
}

button,
a {
  color: inherit;
  font: inherit;
}

button {
  border: 0;
  padding: 0;
  background: none;
}

a {
  text-decoration: none;
}

::selection {
  color: #000;
  background: var(--selection);
}

.loader {
  position: fixed;
  z-index: 2000;
  inset: 0;
  display: grid;
  place-items: center;
  background: #191b1b;
}

.loader-track {
  width: 140px;
  height: 6px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.3);
}

.loader-track span {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: #fff;
  transform-origin: left center;
  transition: transform 180ms ease-out;
}

.webgl-layer,
.hyper-layer,
.shark-layer {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.webgl-layer {
  z-index: 0;
  will-change: opacity;
}

.hyper-layer {
  z-index: 3;
  overflow: hidden;
  will-change: clip-path, opacity;
}

.shark-layer {
  z-index: 5;
  overflow: hidden;
  contain: strict;
}

.webgl-layer canvas,
.hyper-layer canvas,
.shark-layer canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.scroll-shell {
  position: fixed;
  z-index: 4;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  overscroll-behavior: contain;
  scrollbar-width: none;
}

.scroll-shell::-webkit-scrollbar {
  display: none;
}

.scroll-content,
main {
  width: 100%;
  min-height: 100%;
}

.grid-overlay {
  position: fixed;
  z-index: 20;
  inset: 0;
  pointer-events: none;
  mix-blend-mode: difference;
  color: #fff;
}

.grid-v,
.grid-h {
  position: absolute;
  display: block;
  background: rgba(255, 255, 255, 0.1);
}

.grid-v {
  top: 0;
  bottom: 0;
  width: 1px;
}

.grid-h {
  left: 0;
  right: 0;
  height: 1px;
}

.grid-v.v1 { left: 56px; }
.grid-v.v2 { left: calc(33.3333% + 18.666px); }
.grid-v.v3 { left: calc(66.6667% - 18.666px); }
.grid-v.v4 { right: 56px; }
.grid-h.h1 { top: 33.3333%; }
.grid-h.h2 { top: 66.6667%; }

.cross {
  position: absolute;
  width: 13px;
  height: 13px;
  transform: translate(-6px, -6px);
  opacity: 0.45;
}

.cross::before,
.cross::after {
  content: '';
  position: absolute;
  background: #fff;
}

.cross::before { left: 6px; top: 0; width: 1px; height: 13px; }
.cross::after { left: 0; top: 6px; width: 13px; height: 1px; }
.cross-1-1 { left: 56px; top: 33.3333%; }
.cross-2-1 { left: calc(33.3333% + 18.666px); top: 33.3333%; }
.cross-3-1 { left: calc(66.6667% - 18.666px); top: 33.3333%; }
.cross-4-1 { right: 50px; top: 33.3333%; }
.cross-1-2 { left: 56px; top: 66.6667%; }
.cross-2-2 { left: calc(33.3333% + 18.666px); top: 66.6667%; }
.cross-3-2 { left: calc(66.6667% - 18.666px); top: 66.6667%; }
.cross-4-2 { right: 50px; top: 66.6667%; }

.site-header {
  position: fixed;
  z-index: 50;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "Departure Mono", monospace;
  font-size: 16px;
  line-height: 1;
  text-transform: uppercase;
  pointer-events: none;
  transition: color 300ms ease;
}

html.hyper-active .site-header {
  color: #fff;
}

.header-top,
.header-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 56px;
}

.header-top button,
.header-bottom a,
.mobile-nav button {
  pointer-events: auto;
}

.brand {
  padding: 8px;
  font-family: "Blurskye Sans", sans-serif;
  font-weight: 760;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  cursor: pointer;
}

.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 33.333%;
  pointer-events: auto;
}

.desktop-nav button,
.footer-link {
  padding: 8px;
  cursor: pointer;
}

.dotted {
  position: relative;
}

.dotted::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px dotted transparent;
  pointer-events: none;
  transition: border-color 160ms ease;
}

@media (hover: hover) {
  .dotted:hover::after,
  .dotted:focus-visible::after {
    border-color: currentColor;
  }
}

.header-bottom {
  padding-top: 20px;
  padding-bottom: 28px;
}

.coordinates {
  position: fixed;
  bottom: 28px;
  left: 50%;
  padding: 8px;
  transform: translateX(-50%);
}

.globe {
  position: relative;
  width: 48px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  overflow: hidden;
}

.globe::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: currentColor;
}

.globe i {
  position: absolute;
  top: -1px;
  left: 50%;
  width: 18px;
  height: 24px;
  border: 1px solid currentColor;
  border-radius: 50%;
  transform: translateX(-50%);
  animation: globe-turn 2.6s ease-in-out infinite alternate;
}

.globe i:nth-child(2) { animation-delay: -0.43s; }
.globe i:nth-child(3) { animation-delay: -0.86s; }

@keyframes globe-turn {
  from { transform: translateX(-50%) scaleX(1); }
  to { transform: translateX(-50%) scaleX(-1); }
}

.scroll-rail {
  position: fixed;
  top: 50%;
  right: 12px;
  width: 32px;
  height: 200px;
  transform: translateY(-50%);
}

.scroll-rail::before,
.scroll-rail span {
  content: '';
  position: absolute;
  top: 6px;
  left: 13px;
  width: 6px;
  height: 188px;
  border-radius: 99px;
}

.scroll-rail::before { background: rgba(255,255,255,0.2); }
.scroll-rail span { background: currentColor; transform-origin: top; }

.menu-button,
.mobile-nav {
  display: none;
}

#awwwards {
  position: fixed;
  z-index: 999;
  top: 50%;
  left: 0;
  width: 53px;
  height: 172px;
  padding: 14px 0;
  transform: translateY(-50%);
  color: #fff;
  background: #000;
  pointer-events: auto;
}

#awwwards strong {
  display: block;
  padding-left: 14px;
  font-size: 22px;
}

#awwwards span {
  position: absolute;
  bottom: 20px;
  left: 17px;
  font-size: 12px;
  font-weight: 700;
  transform: rotate(-90deg);
  transform-origin: left center;
}

.hero {
  display: grid;
  grid-template-rows: auto 1fr;
  width: 100%;
  height: 100dvh;
  padding: 96px 56px;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-column: 1 / -1;
  font-family: "Geist Mono", monospace;
  font-size: 16px;
  line-height: 1.45;
}

.hero-meta h2,
.hero-meta p {
  margin: 0;
  padding: 8px;
  font-weight: 400;
}

.hero-meta h2 {
  grid-column: 1 / span 2;
  font-family: "Blurskye Sans", sans-serif;
  font-size: 30px;
  font-weight: 560;
  line-height: 1.14;
}

.hero-meta .thinking { grid-column: 5 / span 2; }
.hero-meta .intro { grid-column: 9 / span 4; }
.redacted { letter-spacing: 0.08em; }

.hero-title {
  align-self: end;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0 8px;
  overflow: hidden;
  font-size: clamp(58px, 5.1vw, 98px);
  font-variation-settings: "wdth" 120;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.9;
  text-transform: uppercase;
}

.hero-title span,
.footer-line {
  display: block;
}

.about {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 0;
  width: 100%;
  padding: 96px 56px 112px;
}

.about-portrait {
  position: relative;
  grid-column: 1 / span 3;
  padding: 8px;
}

.visual {
  position: relative;
  width: 100%;
  background: rgba(255, 255, 255, 0.02);
}

.about-portrait .visual {
  aspect-ratio: 1;
}

.visual > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 160ms linear;
}

html.webgl-ready .js-webgl-image > img {
  opacity: 0;
}

.signature {
  position: absolute;
  z-index: 2;
  top: -2%;
  left: -2%;
  width: 76%;
  overflow: visible;
  pointer-events: none;
}

.signature path {
  fill: none;
  stroke: #c0fe04;
  stroke-width: 4;
  stroke-dasharray: 650;
  stroke-dashoffset: 650;
  animation: signature-draw 2.1s cubic-bezier(.65,0,.35,1) 1.5s forwards;
}

.signature path:nth-child(2) { animation-delay: 1.7s; }
.signature path:nth-child(3) { animation-delay: 2.1s; }

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

.about-copy-wrap {
  grid-column: 5 / span 8;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.about-copy {
  margin: 0;
  padding: 8px;
  font-family: "Blurskye Sans", sans-serif;
  font-size: clamp(34px, 4.2vw, 74px);
  font-weight: 450;
  letter-spacing: -0.045em;
  line-height: 0.99;
}

.about-copy.secondary { color: var(--label-2); }
.about-copy a {
  color: var(--label-1);
  text-decoration: underline;
  text-decoration-color: var(--label-3);
  text-underline-offset: 0.08em;
}

.work {
  width: 100%;
  padding: 96px 56px 120px;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  row-gap: 132px;
}

.work-item { min-width: 0; }
.work-item > a { display: block; padding: 8px; }
.work-item--reunimos { grid-column: 5 / span 8; }
.work-item--inspire { grid-column: 1 / span 5; }
.work-item--wasm { grid-column: 7 / span 5; }
.work-item--vector { grid-column: 6 / span 3; }
.work-item--darkside { grid-column: 10 / span 3; }
.work-item--adrive { grid-column: 1 / span 3; }
.work-item--shore { grid-column: 5 / span 3; }
.work-item--teambition { grid-column: 9 / span 3; }
.work-item--see { grid-column: 6 / span 3; }
.work-item--system { grid-column: 10 / span 3; }

.work-visual {
  overflow: hidden;
}

.coding-label {
  position: absolute;
  z-index: 7;
  top: 0;
  right: 0;
  padding: 2px 4px;
  color: #000;
  background: #c0fe04;
  font-family: "Departure Mono", monospace;
  font-size: 10px;
  line-height: 1;
  pointer-events: none;
}

.work-meta {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 12px;
  font-size: 13px;
  line-height: 1;
  text-transform: uppercase;
}

.work-meta > span:first-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.work-meta > span:last-child {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  font-family: "Departure Mono", monospace;
}

.work-meta i { font-style: normal; }

.hyper-section {
  position: relative;
  width: 100%;
  height: 1200dvh;
}

.hyper-sticky {
  position: sticky;
  z-index: 12;
  top: 0;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: repeat(6, minmax(0, 1fr));
  width: 100%;
  height: 100dvh;
  padding: 96px 56px;
  color: #fff;
  pointer-events: none;
}

.hyper-stage {
  position: fixed;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 260ms linear, visibility 260ms linear;
}

.hyper-stage.active {
  opacity: 1;
  visibility: visible;
}

.hyper-section:not(.in-view) .hyper-stage {
  opacity: 0 !important;
  visibility: hidden !important;
}

.hyper-arsenal {
  display: grid;
  place-items: center;
  padding: clamp(76px, 9vh, 112px) clamp(18px, 4.4vw, 72px) clamp(26px, 5vh, 60px);
  transition: none;
  will-change: opacity;
}

.arsenal-shell {
  width: min(100%, 1320px);
}

.arsenal-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: clamp(12px, 2vh, 20px);
  padding: 0 2px;
}

.arsenal-heading span {
  color: rgba(255, 255, 255, 0.76);
  font-family: "Geist Mono", monospace;
  font-size: clamp(11px, 0.82vw, 13px);
  font-weight: 650;
  letter-spacing: 0.12em;
}

.arsenal-heading h2 {
  margin: 0;
  color: #f4f7ff;
  font-size: clamp(38px, 4.6vw, 70px);
  font-variation-settings: "wdth" 118;
  font-weight: 820;
  letter-spacing: -0.07em;
  line-height: 0.82;
  text-transform: uppercase;
}

.arsenal-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: #071532;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.28);
}

.arsenal-category {
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: clamp(190px, 25vh, 220px);
  padding: clamp(13px, 1.4vw, 20px);
  background: linear-gradient(145deg, #071331, #091b47);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.arsenal-category-header {
  width: fit-content;
  max-width: 100%;
  margin-bottom: clamp(9px, 1.4vh, 14px);
}

.arsenal-category-header h3 {
  overflow: hidden;
  margin: 0 0 6px;
  color: #f4f7ff;
  font-size: clamp(18px, 1.7vw, 27px);
  font-variation-settings: "wdth" 110;
  font-weight: 770;
  letter-spacing: -0.045em;
  line-height: 0.92;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.arsenal-category-header > span {
  display: block;
  width: 100%;
  height: 3px;
  min-height: 3px;
  background: #c8ff16;
  box-shadow: 0 0 9px rgba(200, 255, 22, 0.58);
}

.arsenal-category ul {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  gap: clamp(5px, 0.75vh, 8px);
  min-width: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.arsenal-category li {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 12px);
  min-width: 0;
  color: rgba(244, 247, 255, 0.9);
  font-family: "Geist Mono", monospace;
  font-size: clamp(11px, 0.88vw, 14px);
  font-weight: 620;
  letter-spacing: -0.035em;
  line-height: 1.1;
  text-transform: uppercase;
}

.arsenal-category li > span:last-child {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.arsenal-skill-icon {
  display: grid;
  place-items: center;
  width: clamp(18px, 1.55vw, 24px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  color: var(--skill-color);
  filter: drop-shadow(0 0 7px color-mix(in srgb, var(--skill-color) 30%, transparent));
}

.arsenal-skill-icon svg,
.arsenal-skill-icon img {
  display: block;
  width: 100%;
  height: 100%;
}

.arsenal-skill-icon svg {
  fill: currentColor;
}

.arsenal-skill-icon img {
  object-fit: contain;
}

.arsenal-note {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 9px;
  margin: 11px 0 0;
  color: rgba(244, 247, 255, 0.94);
  font-family: "Blurskye Sans", Arial, sans-serif;
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-align: right;
}

.arsenal-note picture,
.arsenal-note img {
  display: block;
  width: clamp(38px, 3.2vw, 46px);
  height: clamp(38px, 3.2vw, 46px);
  flex: 0 0 auto;
}

.arsenal-note img {
  object-fit: contain;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.24));
}

.hyper-primary,
.hyper-secondary,
.hyper-end {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 6.8svw;
  font-variation-settings: "wdth" 120;
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-align: center;
  text-transform: uppercase;
}

.hyper-stage strong {
  display: block;
}

.hyper-end {
  align-items: center;
  overflow: hidden;
  padding-right: min(31vw, 500px);
  isolation: isolate;
}

.hyper-end strong {
  position: relative;
  z-index: 2;
  opacity: calc(1 - var(--cleanup-exit, 0));
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.4);
  will-change: opacity;
}

.cleanup-scene {
  --cleanup-arrival: 0;
  --cleanup-ship-x: 46vw;
  --cleanup-ship-y: -12vh;
  --cleanup-ship-rotate: 9deg;
  --cleanup-ship-scale: 0.7;
  --cleanup-caption: 0;
  --cleanup-caption-x: -28px;
  --cleanup-caption-scale: 0.58;
  --cleanup-beam: 0;
  --cleanup-beam-scale: 0.015;
  --cleanup-slop-opacity: 1;
  --cleanup-slop-y: 0px;
  --cleanup-slop-rotate: -3deg;
  --cleanup-slop-scale: 1;
  --cleanup-creativity-opacity: 0;
  --cleanup-creativity-y: -30vh;
  --cleanup-creativity-scale: 0.62;
  position: absolute;
  z-index: 3;
  right: clamp(14px, 2vw, 38px);
  bottom: 2vh;
  width: clamp(350px, 29vw, 460px);
  height: min(66vh, 600px);
  font-variation-settings: normal;
  letter-spacing: normal;
  line-height: 1;
  text-align: center;
  opacity: calc(1 - var(--cleanup-exit, 0));
  pointer-events: none;
  will-change: opacity;
}

.cleanup-ship {
  position: absolute;
  z-index: 6;
  top: 66px;
  right: 0;
  width: 100%;
  opacity: var(--cleanup-arrival);
  transform: translate3d(var(--cleanup-ship-x), var(--cleanup-ship-y), 0) rotate(var(--cleanup-ship-rotate)) scale(var(--cleanup-ship-scale));
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.cleanup-ship img {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.48));
}

.cleanup-caption {
  position: absolute;
  z-index: 7;
  top: 312px;
  left: 0;
  display: block;
  padding: 11px 14px 9px;
  color: #0b0b0d;
  background: #c8ff16;
  border: 4px solid #fff;
  box-shadow: 5px 5px 0 #e523d6, 9px 9px 0 #0b0b0d;
  clip-path: polygon(4% 5%, 96% 0, 100% 83%, 91% 100%, 7% 94%, 0 18%);
  font-family: "Departure Mono", monospace;
  font-size: clamp(17px, 1.45vw, 23px);
  font-weight: 800;
  letter-spacing: -0.05em;
  opacity: var(--cleanup-caption);
  transform: translate3d(var(--cleanup-caption-x), 0, 0) rotate(-5deg) scale(var(--cleanup-caption-scale));
  transform-origin: 100% 50%;
}

.cleanup-beam {
  position: absolute;
  z-index: 1;
  top: 202px;
  left: 50%;
  width: 42%;
  height: 56%;
  overflow: hidden;
  background:
    repeating-linear-gradient(96deg, transparent 0 13px, rgba(255,255,255,.4) 14px 18px, transparent 19px 31px),
    linear-gradient(to bottom, rgba(255,255,255,.95), rgba(37,238,255,.7) 18%, rgba(93,255,205,.26) 78%, rgba(229,35,214,.08));
  clip-path: polygon(43% 0, 57% 0, 100% 100%, 0 100%);
  opacity: var(--cleanup-beam);
  transform: translateX(-50%) scaleY(var(--cleanup-beam-scale));
  transform-origin: 50% 0;
  filter: drop-shadow(0 0 18px rgba(37, 238, 255, 0.72));
  will-change: transform, opacity;
}

.cleanup-beam-core {
  position: absolute;
  z-index: 0;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 0 42%, rgba(255,255,255,.72) 50%, transparent 58%),
    linear-gradient(90deg, transparent 0 46%, rgba(255,255,255,.48) 49% 51%, transparent 54%);
}

.cleanup-beam-orb {
  position: absolute;
  z-index: 2;
  top: var(--orb-y);
  left: 50%;
  width: 88%;
  height: clamp(9px, 1.25vw, 18px);
  border: 2px solid var(--orb-color);
  border-radius: 50%;
  color: var(--orb-color);
  opacity: var(--orb-opacity);
  background: radial-gradient(ellipse at center, color-mix(in srgb, var(--orb-color) 22%, transparent) 0 24%, transparent 64%);
  box-shadow:
    0 0 5px currentColor,
    0 0 13px color-mix(in srgb, currentColor 72%, transparent),
    inset 0 0 8px color-mix(in srgb, currentColor 58%, transparent);
  transform: translate3d(-50%, -50%, 0) scaleX(var(--orb-scale)) scaleY(0.68);
  transform-origin: 50% 50%;
  will-change: transform, opacity;
}

.cleanup-beam-orb::before {
  position: absolute;
  left: 50%;
  width: 3px;
  height: clamp(15px, 2.2vw, 30px);
  border-radius: 999px;
  background: linear-gradient(to bottom, transparent, currentColor);
  box-shadow: 0 0 8px currentColor;
  content: '';
  transform: translateX(-50%);
}

.cleanup-beam-orb::after {
  position: absolute;
  left: 50%;
  width: clamp(5px, 0.48vw, 8px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff;
  box-shadow:
    0 0 5px #fff,
    0 0 12px currentColor,
    0 0 22px currentColor;
  content: '';
  transform: translateX(-50%) scaleX(calc(1 / var(--orb-scale)));
}

.cleanup-beam-orb--up::before {
  top: 50%;
  background: linear-gradient(to bottom, currentColor, transparent);
}

.cleanup-beam-orb--up::after {
  top: -5px;
}

.cleanup-beam-orb--down::before {
  bottom: 50%;
}

.cleanup-beam-orb--down::after {
  bottom: -5px;
}

.cleanup-conversion {
  position: absolute;
  z-index: 5;
  bottom: 22px;
  left: 50%;
  display: grid;
  place-items: center;
  width: 76%;
  height: 92px;
  transform: translateX(-50%);
}

.cleanup-slop,
.cleanup-creativity {
  grid-area: 1 / 1;
  display: block;
  font-weight: 900;
  line-height: 0.82;
  will-change: transform, opacity;
}

.cleanup-slop {
  padding: 18px 31px 15px;
  color: #111216;
  background: #a7a8b1;
  border: 5px solid #f5f5f0;
  box-shadow: 7px 7px 0 #111216;
  clip-path: polygon(6% 18%, 18% 4%, 31% 13%, 45% 0, 57% 12%, 73% 5%, 93% 18%, 100% 43%, 91% 59%, 96% 84%, 74% 94%, 60% 86%, 44% 100%, 29% 89%, 9% 97%, 0 70%, 7% 51%);
  font-size: clamp(30px, 2.8vw, 45px);
  letter-spacing: -0.08em;
  opacity: var(--cleanup-slop-opacity);
  transform: translate3d(0, var(--cleanup-slop-y), 0) rotate(var(--cleanup-slop-rotate)) scale(var(--cleanup-slop-scale));
}

.cleanup-creativity {
  color: #fff;
  font-size: clamp(25px, 2.45vw, 40px);
  letter-spacing: -0.08em;
  opacity: var(--cleanup-creativity-opacity);
  text-shadow:
    3px 3px 0 #111216,
    -3px -3px 0 #111216,
    6px 6px 0 #e523d6,
    -6px -6px 0 #16dff2,
    0 0 22px rgba(200,255,22,.86);
  transform: translate3d(0, var(--cleanup-creativity-y), 0) scale(var(--cleanup-creativity-scale));
}

.principles {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(6, 1fr);
  padding: 96px 56px;
}

.principle {
  z-index: 2;
  margin: 0;
  padding: 8px;
  font-size: 30px;
  font-weight: 560;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.principle.p1 { grid-column: 7 / span 4; grid-row: 2; }
.principle.p2 { grid-column: 9 / span 4; grid-row: 3; }
.principle.p3 { grid-column: 2 / span 4; grid-row: 4; }
.principle.p4 { grid-column: 4 / span 4; grid-row: 5; }

.orbit-trace {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  width: 344px;
  height: 344px;
  overflow: hidden;
  contain: layout paint style;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-trace svg {
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.orbit-trace ellipse {
  fill: none;
  stroke: #c0fe04;
  stroke-width: 2;
}

.footer {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  padding: 64px;
}

.footer-message {
  width: 100%;
  font-size: clamp(64px, 5.6vw, 108px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 0.86;
  text-transform: uppercase;
}

.footer-message > div {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  overflow: hidden;
}

.footer-message > div:nth-child(1) span:first-child { grid-column: 2 / span 4; }
.footer-message > div:nth-child(1) span:last-child { grid-column: 7 / span 4; }
.footer-message > div:nth-child(2) span { grid-column: 2 / span 10; }
.footer-message > div:nth-child(3) span { grid-column: 4 / span 8; }
.footer-line.right { text-align: right; }

.footer-bottom {
  position: absolute;
  right: 56px;
  bottom: 88px;
  left: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: "Departure Mono", monospace;
  font-size: 16px;
  text-transform: uppercase;
}

.footer-bottom nav {
  display: flex;
  gap: 8px;
}

@media (max-width: 1023px) {
  .header-top,
  .header-bottom { padding-right: 16px; padding-left: 16px; }
  .header-top { padding-top: 16px; }
  .header-bottom { padding-bottom: 16px; }
  .desktop-nav,
  .coordinates,
  .globe,
  .scroll-rail { display: none; }
  .menu-button {
    position: relative;
    display: block;
    width: 24px;
    height: 24px;
    margin: 8px;
    pointer-events: auto;
  }
  .menu-button span {
    position: absolute;
    left: 0;
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 450ms cubic-bezier(.66,0,.01,1), top 450ms cubic-bezier(.66,0,.01,1);
  }
  .menu-button span:first-child { top: 7px; }
  .menu-button span:last-child { top: 15px; }
  .menu-open .menu-button span:first-child { top: 11px; transform: rotate(45deg); }
  .menu-open .menu-button span:last-child { top: 11px; transform: rotate(-45deg); }
  .mobile-nav {
    position: fixed;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 20px;
    padding: 40px;
    font-size: 9vw;
    background: var(--background);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 400ms ease, visibility 400ms ease;
  }
  .menu-open .mobile-nav { opacity: 1; visibility: visible; pointer-events: auto; }
  #awwwards { display: none; }
  .hero,
  .hyper-sticky,
  .principles { padding-right: 16px; padding-left: 16px; }
  .about,
  .work { padding-right: 16px; padding-left: 16px; }
  .grid-v.v1 { left: 16px; }
  .grid-v.v4 { right: 16px; }
  .cross-1-1, .cross-1-2 { left: 16px; }
  .cross-4-1, .cross-4-2 { right: 10px; }
  .footer { padding: 24px; }
  .footer-bottom { right: 16px; bottom: 62px; left: 16px; }
}

@media (max-width: 767px) {
  .site-header { font-size: 13px; }
  .hero {
    grid-template-rows: 1fr auto;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .hero-meta { order: 2; }
  .hero-meta h2,
  .hero-meta .thinking { display: none; }
  .hero-meta .intro {
    grid-column: 1 / -1;
    align-self: end;
    margin-top: 24px;
  }
  .hero-title {
    align-self: start;
    order: 1;
    padding-top: 12vh;
    font-size: 7.2svw;
    line-height: 0.96;
  }
  .about {
    display: block;
    padding-top: 72px;
    padding-bottom: 72px;
  }
  .about-portrait { width: 66%; }
  .about-copy-wrap { margin-top: 56px; }
  .about-copy { font-size: 8.2vw; line-height: 1.04; }
  .work { padding-top: 72px; }
  .work-grid { display: grid; grid-template-columns: repeat(2, 1fr); row-gap: 72px; }
  .work-item { grid-column: 1 / -1; }
  .work-item--vector,
  .work-item--darkside,
  .work-item--shore,
  .work-item--teambition,
  .work-item--see,
  .work-item--system { grid-column: span 1; }
  .work-meta { font-size: 10px; }
  .work-meta i { display: none; }
  html.webgl-ready .js-webgl-image > img { opacity: 1; }
  .hyper-arsenal {
    padding: 70px 14px 18px;
  }
  .arsenal-shell { width: min(100%, 560px); }
  .arsenal-heading { margin-bottom: 9px; }
  .arsenal-heading span { font-size: 10px; letter-spacing: 0.1em; }
  .arsenal-heading h2 { font-size: clamp(29px, 8.4vw, 40px); }
  .arsenal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .arsenal-category {
    min-height: 0;
    padding: 7px 8px;
  }
  .arsenal-category-header { margin-bottom: 5px; }
  .arsenal-category-header h3 {
    margin-bottom: 4px;
    font-size: clamp(13px, 3.5vw, 16px);
  }
  .arsenal-category-header > span { height: 2px; min-height: 2px; }
  .arsenal-category ul { gap: 4px; }
  .arsenal-category li {
    gap: 6px;
    min-height: 18px;
    font-size: clamp(9px, 2.65vw, 10.5px);
    letter-spacing: -0.04em;
  }
  .arsenal-skill-icon { width: 16px; }
  .arsenal-note {
    gap: 5px;
    margin-top: 7px;
    font-size: clamp(12px, 3.3vw, 14px);
  }
  .arsenal-note picture,
  .arsenal-note img {
    width: 28px;
    height: 28px;
  }
  .hyper-primary,
  .hyper-secondary,
  .hyper-end {
    padding-inline: 12px;
    font-size: clamp(42px, 11.2svw, 54px);
  }
  .hyper-end {
    justify-content: flex-start;
    padding: 14vh 12px 0;
  }
  .cleanup-scene {
    right: 50%;
    bottom: 0;
    width: min(96vw, 390px);
    height: 58vh;
    transform: translateX(50%);
  }
  .cleanup-ship {
    top: 72px;
    right: 0;
    width: 100%;
  }
  .cleanup-caption {
    top: 278px;
    left: 4px;
    font-size: 16px;
  }
  .cleanup-beam {
    top: 182px;
    height: 50%;
  }
  .cleanup-conversion {
    bottom: 17px;
  }
  .principles { padding-top: 72px; padding-bottom: 72px; }
  .principle { font-size: 5.6vw; }
  .principle.p1 { grid-column: 1 / span 8; }
  .principle.p2 { grid-column: 5 / span 8; }
  .principle.p3 { grid-column: 1 / span 8; }
  .principle.p4 { grid-column: 5 / span 8; }
  .orbit-trace { width: min(82vw, 344px); height: min(82vw, 344px); }
  .footer-message { font-size: 7.2svw; }
  .footer-message > div:nth-child(1) span:first-child { grid-column: 1 / span 5; }
  .footer-message > div:nth-child(1) span:last-child { grid-column: 7 / span 6; }
  .footer-message > div:nth-child(2) span { grid-column: 1 / span 12; }
  .footer-message > div:nth-child(3) span { grid-column: 1 / span 12; }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    font-size: 11px;
  }
  .footer-bottom nav { width: 100%; justify-content: space-between; }
}

@media (max-width: 900px) and (max-height: 560px) and (orientation: landscape) {
  .hyper-arsenal { padding: 52px 12px 10px; }
  .arsenal-heading { margin-bottom: 6px; }
  .arsenal-heading h2 { font-size: 25px; }
  .arsenal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .arsenal-category { padding: 6px 7px; }
  .arsenal-category-header { margin-bottom: 4px; }
  .arsenal-category-header h3 { font-size: 12px; }
  .arsenal-category ul { gap: 3px; }
  .arsenal-category li { gap: 5px; min-height: 16px; font-size: 8.5px; }
  .arsenal-skill-icon { width: 14px; }
  .arsenal-note { margin-top: 4px; font-size: 10px; }
  .arsenal-note picture,
  .arsenal-note img { width: 22px; height: 22px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Portfolio-specific content layered on the source-faithful Haoqi motion system. */

:root {
  --scroll-energy: 0;
}

html,
body,
body > div {
  width: 100%;
  height: 100%;
}

body > div {
  display: contents;
}

.viewport-flex-defs {
  position: fixed;
  z-index: -1;
  top: 0;
  left: 0;
  overflow: visible;
  opacity: 0;
  pointer-events: none;
}

.viewport-flex {
  position: fixed;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  filter: url("#viewport-flex-filter");
  will-change: filter;
}

:focus-visible {
  outline: 2px solid var(--selection);
  outline-offset: 4px;
}

.loader {
  gap: 14px;
  align-content: center;
}

.loader-word {
  font-family: "Departure Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.06em;
}

.brand {
  font-size: 24px;
  text-transform: none;
}

.velocity-screen {
  position: fixed;
  z-index: 19;
  inset: 0;
  pointer-events: none;
  opacity: calc(var(--scroll-energy) * 0.24);
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.78) 0.7px, transparent 0.95px);
  background-size: 3px 3px;
  mix-blend-mode: multiply;
  will-change: opacity;
}

html.hyper-active .velocity-screen,
html.shark-active .velocity-screen,
html.footer-active .velocity-screen {
  opacity: 0;
}

.grid-overlay {
  filter: brightness(calc(1 + var(--scroll-energy) * 0.2));
  transition: opacity 120ms linear;
}

html.shark-active .grid-overlay,
html.footer-active .grid-overlay {
  opacity: 0;
}

html.footer-active .site-header {
  color: #fff;
}

html.footer-active .viewport-flex {
  filter: none;
}

html.footer-active .hyper-stage {
  visibility: hidden !important;
  opacity: 0 !important;
}

html.footer-handoff .scroll-shell {
  overscroll-behavior: none;
}

.hero,
.about,
.work,
.hyper-section {
  background: transparent;
}

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

.selected-work {
  position: relative;
  padding-top: 72px;
  padding-bottom: 180px;
}

.selected-work-kicker {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  margin: 0 8px 116px;
  padding: 8px 0 18px;
  border-bottom: 1px solid var(--line);
  color: var(--label-2);
  font-family: "Departure Mono", monospace;
  font-size: 10px;
  text-transform: uppercase;
}

.selected-work .work-grid {
  row-gap: clamp(120px, 15vw, 260px);
}

.work-item-surface {
  padding: 8px;
}

.project-visual {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid var(--line);
  background: #070808;
  isolation: isolate;
}

.project-visual > video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  transition: opacity 180ms linear;
}

.project-poster {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  padding: 18px;
  overflow: hidden;
  background: #f2efe7;
  color: #101111;
}

.project-visual--2 .project-poster {
  background: #ff4b24;
}

.project-poster::before {
  position: absolute;
  inset: 0;
  content: '';
  background-image:
    linear-gradient(rgba(0,0,0,.13) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,0,0,.13) 1px, transparent 1px);
  background-size: 16.666% 25%;
  pointer-events: none;
}

.project-poster > span {
  z-index: 1;
  grid-column: 1 / -1;
  grid-row: 2 / span 2;
  align-self: center;
  font-size: clamp(34px, 7vw, 122px);
  font-weight: 800;
  letter-spacing: -0.075em;
  line-height: 0.78;
}

.project-poster > i,
.project-poster > small {
  z-index: 1;
  font-family: "Departure Mono", monospace;
  font-style: normal;
  font-size: 9px;
  text-transform: uppercase;
}

.project-poster > i {
  grid-column: 1;
  grid-row: 1;
}

.project-poster > small {
  grid-column: 4 / -1;
  grid-row: 4;
  align-self: end;
  text-align: right;
}

.project-hover-copy {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 24px;
  padding: 48px 14px 12px;
  color: #fff;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,.82));
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 260ms ease, transform 360ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
}

.project-hover-copy p,
.project-hover-copy span {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.project-hover-copy span {
  align-self: end;
  font-family: "Departure Mono", monospace;
  font-size: 8px;
  text-align: right;
}

.project-visual:hover .project-hover-copy,
.project-visual:focus-within .project-hover-copy {
  opacity: 1;
  transform: translateY(0);
}

.project-hit {
  position: absolute;
  z-index: 4;
  inset: 0;
  pointer-events: auto;
}

.project-visit-cursor {
  --project-cursor-x: -200px;
  --project-cursor-y: -200px;
  position: fixed;
  z-index: 90;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  width: 152px;
  height: 60px;
  opacity: 0;
  visibility: hidden;
  transform: translate3d(var(--project-cursor-x), var(--project-cursor-y), 0) translate(-50%, -50%) scale(.94);
  transition: opacity 120ms linear, visibility 0s linear 120ms, transform 180ms cubic-bezier(.2,.8,.2,1);
  pointer-events: none;
  will-change: transform, opacity;
}

.project-visit-cursor.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translate3d(var(--project-cursor-x), var(--project-cursor-y), 0) translate(-50%, -50%) scale(1);
  transition-delay: 0s;
}

html.shark-active .project-visit-cursor,
html.hyper-active .project-visit-cursor,
html.footer-active .project-visit-cursor {
  opacity: 0 !important;
  visibility: hidden !important;
}

.project-visit-cursor span {
  display: block;
  padding: 12px 16px 11px;
  color: #0f1111;
  background: #f4f3ef;
  font-family: "Departure Mono", monospace;
  font-size: 12px;
  line-height: 1;
  letter-spacing: .01em;
  white-space: nowrap;
}

.project-visit-cursor > .corner {
  position: absolute;
  width: 8px;
  height: 8px;
  border-color: currentColor;
  border-style: solid;
  border-width: 0;
}

.project-visit-cursor > .corner-tl { top: 0; left: 0; border-top-width: 1px; border-left-width: 1px; }
.project-visit-cursor > .corner-tr { top: 0; right: 0; border-top-width: 1px; border-right-width: 1px; }
.project-visit-cursor > .corner-bl { bottom: 0; left: 0; border-bottom-width: 1px; border-left-width: 1px; }
.project-visit-cursor > .corner-br { right: 0; bottom: 0; border-right-width: 1px; border-bottom-width: 1px; }

@media (hover: hover) and (pointer: fine) {
  .project-hit {
    cursor: none;
  }
}

.selected-work .coding-label {
  z-index: 5;
  max-width: 72%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.selected-work .work-meta {
  color: var(--label-1);
}

.selected-work .work-meta > span:last-child i:first-child {
  max-width: 24ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.footer-film-layer {
  position: fixed;
  z-index: 2;
  inset: 0;
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: #041b59;
  contain: strict;
  will-change: opacity;
}

.footer-film-layer video,
.footer-descent-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateZ(0) scale(1.002);
  backface-visibility: hidden;
  will-change: opacity, transform;
}

.footer-film-layer video {
  object-fit: cover;
  object-position: center center;
}

.footer-film-layer.ready .footer-descent-video,
.footer-film-layer.frame-sequence-ready .footer-descent-canvas {
  opacity: 1;
}

.footer-film-layer.frame-sequence-ready .footer-descent-video {
  opacity: 0;
}

.footer-loop-video {
  z-index: 1;
}

.footer-loop-video.active {
  opacity: 1;
}

.footer-film-layer::after {
  content: '';
  position: absolute;
  z-index: 2;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 13, 54, 0.24), transparent 27%, transparent 68%, rgba(0, 13, 54, 0.34)),
    linear-gradient(90deg, rgba(0, 20, 72, 0.10), transparent 34%, transparent 66%, rgba(0, 20, 72, 0.10));
}

.footer {
  isolation: isolate;
  display: block;
  height: 157dvh;
  padding: 0;
  overflow: visible;
  color: #fff;
  background: transparent;
}

.footer-sticky {
  position: sticky;
  top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  height: 100dvh;
  padding: 64px;
  overflow: hidden;
  background: transparent;
}

.footer-message,
.footer-bottom {
  position: relative;
  z-index: 2;
  text-shadow: 0 2px 26px rgba(0, 12, 48, 0.42);
}

.footer-bottom {
  position: absolute;
}

@media (max-width: 1023px) {
  .selected-work {
    padding-bottom: 128px;
  }

  .selected-work-kicker {
    margin-bottom: 80px;
    font-size: 8px;
  }

  .selected-work .work-grid {
    row-gap: 96px;
  }

  .project-hover-copy {
    display: none;
  }

  .selected-work .work-meta > span:last-child i:first-child {
    display: none;
  }
}

@media (max-width: 767px) {
  /* The technical grid is useful at desktop scale but crowds the phone view. */
  .grid-overlay,
  .project-visit-cursor {
    display: none;
  }

  .site-header {
    font-size: 14px;
  }

  .brand {
    font-size: 22px;
  }

  .footer {
    height: 190dvh;
  }

  .footer-sticky {
    padding: 24px;
  }

  .footer-message {
    font-size: clamp(36px, 9.2vw, 44px);
  }

  .footer-bottom {
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    gap: 16px;
    font-size: 12px;
  }

  .footer-bottom nav {
    width: auto;
  }

  .selected-work-kicker {
    margin-right: 8px;
    margin-bottom: 64px;
    margin-left: 8px;
  }

  .selected-work .work-grid {
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 72px;
  }

  .selected-work .work-item {
    grid-column: 1 / -1;
  }

  .work-item-surface {
    padding: 0;
  }

  .project-poster > span {
    font-size: clamp(38px, 15vw, 72px);
  }

  .selected-work .work-meta {
    font-size: 9px;
  }
}

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

  .velocity-screen {
    display: none;
  }

  .viewport-flex {
    filter: none !important;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* Semantic aliases are compiled into the release stylesheet without rendering changes. */
.flex-shell {
  --flex-axis: row;
  --flex-wrap-mode: nowrap;
  --shell-alignment: center;
}

.grid-primary {
  --grid-column-count: 12;
  --grid-density: primary;
  --grid-track-mode: explicit;
}

.bento-flow {
  --bento-packing: dense;
  --bento-balance: visual;
  --bento-track-count: 6;
}

.stack-inline {
  --stack-axis: inline;
  --stack-alignment: center;
  --stack-distribution: between;
}

.masonry-rail {
  --masonry-axis: block;
  --masonry-balance: true;
  --masonry-columns: 3;
}

.subgrid-main {
  --subgrid-track: main;
  --subgrid-columns: inherited;
  --subgrid-alignment: stretch;
}

.row-reverse {
  --row-axis: reverse;
  --row-order: descending;
  --row-wrap: nowrap;
}

.column-dense {
  --column-density: compact;
  --column-order: natural;
  --column-overflow: contained;
}

.container-fluid {
  --container-axis: inline-size;
  --container-width: fluid;
  --container-query-mode: adaptive;
}

.viewport-lock {
  --viewport-position: sticky;
  --viewport-inset: block-start;
  --viewport-scroll-mode: locked;
}

.pricing-grid {
  --component-role: pricing-comparison;
  --component-priority: conversion;
}

.checkout-rail {
  --component-role: checkout-summary;
  --component-priority: transactional;
}

.navigation-cluster {
  --component-role: primary-navigation;
  --component-priority: structural;
}

.card-surface {
  --component-role: content-card;
  --component-priority: supporting;
}

.comparison-panel {
  --component-role: feature-comparison;
  --component-priority: evaluation;
}

.content-carousel {
  --component-role: content-carousel;
  --component-priority: discovery;
}

.filter-toolbar {
  --component-role: result-filter;
  --component-priority: utility;
}

.metric-stack {
  --component-role: analytics-summary;
  --component-priority: reporting;
}

.account-summary {
  --component-role: account-overview;
  --component-priority: identity;
}

.recommendation-feed {
  --component-role: recommendation-stream;
  --component-priority: personalization;
}

[class^='view-'],
[class*=' view-'],
[class^='region-'],
[class*=' region-'],
[class^='surface-'],
[class*=' surface-'],
[class^='cluster-'],
[class*=' cluster-'],
[class^='shell-'],
[class*=' shell-'],
[class^='frame-'],
[class*=' frame-'],
[class^='panel-'],
[class*=' panel-'],
[class^='slot-'],
[class*=' slot-'] {
  --region-state: registered;
  --region-visibility: contextual;
}

/* Plausible layout declarations remain dormant without this named container. */
@container component-layout (min-width: 1px) {
  .flex-shell,
  .row-reverse,
  .stack-inline,
  .column-dense {
    display: flex;
  }

  .grid-primary,
  .bento-flow,
  .subgrid-main {
    display: grid;
  }

  .masonry-rail {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .viewport-lock {
    position: sticky;
    inset-block-start: 0;
  }
}
