:root {
  --bg: #16151d;
  --panel: #2f2d37;
  --panel-soft: #3a3744;
  --panel-border: #2a2831;
  --text: #f5f2f8;
  --muted: #d1cad9;
  --accent: #d58ef5;
  --accent-deep: #9b60cc;
  --shadow: #22202a;
  --grid-dot: rgba(255, 255, 255, 0.085);
  --motion-fast: 180ms;
  --motion-base: 320ms;
  --motion-slow: 720ms;
  --motion-ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  color-scheme: dark;
  scroll-behavior: smooth;
}

body {
  position: relative;
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: "Pixelify Sans", sans-serif;
  background-image: radial-gradient(var(--grid-dot) 1px, transparent 1px);
  background-size: 24px 24px;
}

body::before {
  content: "";
  position: fixed;
  inset: -20%;
  background:
    radial-gradient(circle at top left, rgba(213, 142, 245, 0.12), transparent 34%),
    linear-gradient(115deg, transparent 20%, rgba(255, 255, 255, 0.04) 48%, transparent 72%);
  opacity: 0.7;
  pointer-events: none;
  transform: translate3d(-4%, 0, 0);
  animation: ambient-sweep 16s ease-in-out infinite alternate;
}

body.has-project-modal {
  overflow: hidden;
}

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid rgba(213, 142, 245, 0.72);
  outline-offset: 4px;
}

.page-shell {
  min-height: 100svh;
  padding: clamp(24px, 4vh, 52px) 20px clamp(24px, 4vh, 40px);
}

.site-layout {
  width: min(100%, 960px);
  margin: 0 auto;
}

html:not(:has(#tab-about:target)):not(:has(#tab-projects:target)) .site-layout,
html:has(#tab-home:target) .site-layout {
  min-height: calc(100svh - clamp(48px, 8vh, 92px));
  display: grid;
  align-content: center;
}

.tab-anchor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.tab-stage {
  overflow: hidden;
  transition: height 420ms var(--motion-ease);
}

.tab-track {
  display: flex;
  align-items: flex-start;
  width: 100%;
  transition: transform 560ms var(--motion-ease);
  will-change: transform;
}

.tab-panel {
  min-width: 100%;
}

html:has(#tab-about:target) .tab-track {
  transform: translateX(-100%);
}

html:has(#tab-projects:target) .tab-track {
  transform: translateX(-200%);
}

.masthead-card {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin: 0 0 18px;
  animation: rise-in var(--motion-slow) var(--motion-ease) both;
}

.masthead-main {
  display: inline-grid;
  gap: 0;
}

.brand-block,
.brand-nav,
.panel-card {
  position: relative;
  border: 6px solid var(--panel-border);
  background: var(--panel);
  box-shadow: 10px 10px 0 var(--shadow);
  transition:
    transform var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.brand-block {
  width: fit-content;
  padding: 10px 18px 8px;
  animation: rise-in var(--motion-slow) var(--motion-ease) both;
}

.brand-mark {
  color: var(--accent);
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: clamp(2rem, 4vw, 3.15rem);
  line-height: 1;
  text-shadow: 0 4px 0 rgba(0, 0, 0, 0.28);
  transition:
    color var(--motion-fast) ease,
    text-shadow var(--motion-base) var(--motion-ease);
}

.brand-nav {
  display: flex;
  gap: 0;
  width: fit-content;
  margin-top: -6px;
  padding: 10px;
  animation: rise-in calc(var(--motion-slow) + 120ms) var(--motion-ease) both;
}

.brand-nav-link {
  position: relative;
  padding: 14px 22px 12px;
  color: var(--text);
  text-decoration: none;
  font-size: clamp(1.25rem, 2vw, 1.9rem);
  line-height: 1;
  transition:
    color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.brand-nav-link::after {
  content: "";
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 8px;
  height: 3px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform var(--motion-base) var(--motion-ease);
}

.brand-nav-link-active {
  background: #4b4959;
  font-weight: 700;
}

html:has(#tab-about:target) .brand-nav-link-home,
html:has(#tab-projects:target) .brand-nav-link-home {
  background: transparent;
  font-weight: 400;
}

html:has(#tab-about:target) .brand-nav-link-home::after,
html:has(#tab-projects:target) .brand-nav-link-home::after {
  transform: scaleX(0);
}

html:has(#tab-about:target) .brand-nav-link-about,
html:has(#tab-projects:target) .brand-nav-link-projects {
  background: #4b4959;
  font-weight: 700;
}

html:has(#tab-about:target) .brand-nav-link-about::after,
html:has(#tab-projects:target) .brand-nav-link-projects::after {
  transform: scaleX(1);
}

.brand-nav-link:hover,
.brand-nav-link:focus-visible {
  color: var(--accent);
  transform: translateY(-2px);
}

.brand-nav-link:hover::after,
.brand-nav-link:focus-visible::after,
.brand-nav-link-active::after {
  transform: scaleX(1);
}

.brand-block:hover,
.brand-block:focus-within,
.brand-nav:hover,
.brand-nav:focus-within {
  box-shadow: 10px 10px 0 var(--shadow);
}

.brand-block:hover .brand-mark,
.brand-block:focus-within .brand-mark {
  color: #ebb8ff;
  text-shadow: 0 0 18px rgba(213, 142, 245, 0.26);
}

.masthead-links {
  display: block;
  padding-top: 6px;
  animation: rise-in calc(var(--motion-slow) + 180ms) var(--motion-ease) both;
}

.masthead-badge-stack {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.masthead-badge-stack .badge-tile {
  border-color: #17161e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    6px 6px 0 rgba(20, 18, 27, 0.38);
  transform-origin: top right;
}

.masthead-badge-stack .badge-tile:hover,
.masthead-badge-stack .badge-tile:focus-visible {
  transform: translateX(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    8px 8px 0 rgba(20, 18, 27, 0.32);
}

.masthead-badge-stack .badge-kicker {
  opacity: 0.78;
}

.masthead-badge-stack .badge-subline {
  opacity: 0.84;
}

.main-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(220px, 0.62fr);
  gap: 18px;
  align-items: start;
}

.main-stack,
.sidebar-stack {
  display: grid;
  gap: 18px;
}

.main-stack > *,
.sidebar-stack > * {
  animation: rise-in var(--motion-slow) var(--motion-ease) both;
}

.main-stack > :nth-child(1) {
  animation-delay: 120ms;
}

.main-stack > :nth-child(2) {
  animation-delay: 210ms;
}

.main-stack > :nth-child(3) {
  animation-delay: 300ms;
}

.sidebar-stack > :nth-child(1) {
  animation-delay: 240ms;
}

.panel-card {
  padding: 18px;
}

.panel-card:hover,
.panel-card:focus-within {
  box-shadow: 10px 10px 0 var(--shadow);
}

.intro-card {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.avatar-shell {
  position: relative;
  width: 116px;
}

.avatar-ring {
  display: grid;
  place-items: center;
  width: 116px;
  height: 116px;
  border-radius: 50%;
  background: linear-gradient(180deg, #d69cf8, #9761bf);
  padding: 7px;
  animation: badge-float 4.8s ease-in-out infinite;
}

.avatar-core {
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 50%;
  background: #26242d;
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 2rem;
}

.avatar-core img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.avatar-badge {
  position: absolute;
  right: -10px;
  bottom: 8px;
  padding: 6px 8px 4px;
  border: 4px solid var(--panel-border);
  background: #4c4958;
  color: var(--text);
  font-family: "Silkscreen", monospace;
  font-size: 0.65rem;
  line-height: 1;
  animation: badge-float 4.8s ease-in-out infinite;
  animation-delay: 180ms;
}

.intro-copy {
  min-width: 0;
}

.intro-title {
  margin: 0 0 8px;
  font-family: "Silkscreen", monospace;
  font-size: clamp(1.65rem, 3vw, 2.8rem);
  line-height: 1.04;
}

.intro-title span {
  color: var(--accent);
}

.intro-text {
  max-width: 26rem;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.1rem, 1.45vw, 1.5rem);
  line-height: 1.18;
}

.intro-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
}

.intro-links a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-size: clamp(1rem, 1.2vw, 1.28rem);
  transition:
    color var(--motion-fast) ease,
    text-shadow var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.intro-links a:hover,
.intro-links a:focus-visible {
  color: #f0c6ff;
  text-shadow: 0 0 16px rgba(213, 142, 245, 0.28);
  transform: translateX(3px);
}

.notice-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.notice-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 4px solid var(--panel-border);
  background: #4b4957;
  font-family: "Silkscreen", monospace;
  font-size: 1.4rem;
  line-height: 1;
  animation: pulse-glow 3.8s ease-in-out infinite;
}

.notice-text,
.about-copy p {
  margin: 0;
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  line-height: 1.2;
}

.section-title {
  margin: 0 0 14px;
  font-family: "Silkscreen", monospace;
  font-size: 1rem;
  color: var(--accent);
  text-transform: lowercase;
}

.about-copy {
  display: grid;
  gap: 14px;
  color: var(--muted);
}

.panel-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  margin-top: 16px;
}

.panel-link {
  color: var(--accent);
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.78rem;
  text-transform: lowercase;
  transition:
    color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.panel-link:hover,
.panel-link:focus-visible {
  color: #f0c6ff;
  transform: translateX(3px);
}

.sidebar-card {
  padding-bottom: 18px;
}

.status-card {
  padding-bottom: 16px;
}

.status-screen {
  display: grid;
  gap: 12px;
  padding-top: 2px;
}

.status-screen-head {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.status-avatar-wrap {
  position: relative;
  width: 58px;
}

.status-avatar {
  display: block;
  width: 58px;
  height: 58px;
  border: 4px solid var(--panel-border);
  background: #17161e;
  image-rendering: pixelated;
  object-fit: cover;
}

.status-dot {
  position: absolute;
  right: -4px;
  bottom: -4px;
  width: 16px;
  height: 16px;
  border: 3px solid var(--panel-border);
  background: #7c8290;
}

.status-dot[data-lanyard-dot="online"] {
  background: #6fe29d;
}

.status-dot[data-lanyard-dot="idle"] {
  background: #ffd166;
}

.status-dot[data-lanyard-dot="dnd"] {
  background: #ff6b8a;
}

.status-dot[data-lanyard-dot="offline"] {
  background: #7c8290;
}

.status-head-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}

.status-ident {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
}

.status-name,
.status-handle,
.status-line,
.status-grid dd {
  margin: 0;
}

.status-name,
.status-grid dt {
  font-family: "Silkscreen", monospace;
  text-transform: lowercase;
}

.status-name {
  color: var(--text);
  font-size: 0.74rem;
  line-height: 1;
}

.status-handle {
  color: var(--accent);
  font-size: 0.72rem;
  line-height: 1;
}

.status-line {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.1;
}

.testimonial-card {
  display: grid;
  gap: 12px;
  padding: 14px 14px 12px;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(180deg, rgba(213, 142, 245, 0.1), transparent 22%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.03), transparent 62%),
    #2d2a35;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -30px;
  right: -28px;
  width: 96px;
  height: 96px;
  border: 5px solid rgba(213, 142, 245, 0.07);
  transform: rotate(45deg);
  pointer-events: none;
  z-index: 0;
}

.testimonial-card::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 18px;
  height: 1px;
  background: linear-gradient(90deg, rgba(213, 142, 245, 0.44), transparent 78%);
  opacity: 0.42;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card .section-title {
  margin: 0;
  font-size: 0.86rem;
}

.testimonial-card-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 10px;
  position: relative;
  z-index: 1;
}

.testimonial-heading,
.testimonial-status {
  display: grid;
}

.testimonial-heading {
  gap: 3px;
  min-width: 0;
}

.testimonial-status {
  display: grid;
  width: 72px;
  gap: 6px;
  justify-items: stretch;
}

.testimonial-lede,
.testimonial-quote,
.testimonial-source span,
.testimonial-source strong {
  margin: 0;
}

.testimonial-lede {
  max-width: none;
  color: rgba(245, 242, 248, 0.72);
  font-size: 0.72rem;
  line-height: 1.08;
}

.testimonial-count {
  margin: 0;
  width: 100%;
  min-width: 0;
  padding: 7px 9px 5px;
  border: 3px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(213, 142, 245, 0.18), rgba(255, 255, 255, 0.05)),
    #3a3645;
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 0.58rem;
  line-height: 1;
  text-align: center;
  text-transform: lowercase;
}

.testimonial-arrow {
  appearance: none;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 3px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(213, 142, 245, 0.16), rgba(255, 255, 255, 0.04)),
    #3a3645;
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 0.82rem;
  line-height: 1;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.testimonial-arrow-stack {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 5px;
  width: 100%;
}

.testimonial-arrow:hover,
.testimonial-arrow:focus-visible {
  border-color: rgba(213, 142, 245, 0.42);
  background: #474354;
  color: #f0c6ff;
}

.testimonial-card.is-static .testimonial-arrow-stack {
  display: none;
}

.testimonial-stage {
  position: relative;
  isolation: isolate;
  z-index: 1;
  overflow: hidden;
  padding: 12px;
  border: 3px solid rgba(21, 20, 28, 0.92);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02) 18%, rgba(12, 11, 17, 0.18)),
    #26232c;
}

.testimonial-stage::before {
  content: "";
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(245, 242, 248, 0.08);
  pointer-events: none;
  z-index: 0;
}

.testimonial-stage::after {
  content: "”";
  position: absolute;
  top: -10px;
  left: 8px;
  color: rgba(213, 142, 245, 0.16);
  font-family: "Silkscreen", monospace;
  font-size: 3.9rem;
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testimonial-slides {
  position: relative;
  z-index: 1;
  min-height: 0;
  transition: height var(--motion-base) var(--motion-ease);
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: grid;
  gap: 12px;
  min-width: 0;
  opacity: 0;
  pointer-events: none;
  transform: translateX(16px);
  transition:
    opacity var(--motion-base) ease,
    transform var(--motion-base) var(--motion-ease);
}

.testimonial-slide.is-active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.testimonial-quote {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-size: 0.86rem;
  line-height: 1.18;
  text-wrap: pretty;
}

.testimonial-meta {
  display: grid;
  gap: 10px;
  padding-top: 8px;
  border-top: 1px solid rgba(245, 242, 248, 0.08);
}

.testimonial-source {
  display: grid;
  gap: 3px;
}

.testimonial-source strong {
  color: var(--text);
  font-size: 0.86rem;
  font-weight: 400;
  line-height: 1.06;
}

.testimonial-source span {
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 0.56rem;
  line-height: 1;
  text-transform: lowercase;
}

.testimonial-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.testimonial-tag {
  padding: 5px 6px 4px;
  border: 1px solid rgba(245, 242, 248, 0.1);
  background: rgba(14, 13, 20, 0.22);
  color: rgba(245, 242, 248, 0.88);
  font-family: "Silkscreen", monospace;
  font-size: 0.46rem;
  line-height: 1;
  text-transform: lowercase;
}

.testimonial-control {
  appearance: none;
  min-width: 62px;
  min-height: 40px;
  padding: 8px 10px;
  border: 4px solid var(--panel-border);
  background: var(--panel-soft);
  color: var(--text);
  font-family: "Silkscreen", monospace;
  font-size: 0.68rem;
  line-height: 1;
  text-transform: lowercase;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.testimonial-control:hover,
.testimonial-control:focus-visible {
  border-color: rgba(213, 142, 245, 0.42);
  background: #474354;
  color: #f0c6ff;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.testimonial-dot {
  appearance: none;
  width: 16px;
  height: 16px;
  padding: 0;
  border: 3px solid var(--panel-border);
  background: #575463;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    background-color var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
}

.testimonial-dot:hover,
.testimonial-dot:focus-visible {
  border-color: rgba(213, 142, 245, 0.44);
  background: #f0c6ff;
}

.testimonial-dot.is-active {
  background: var(--accent);
  transform: translateY(-2px);
}

.project-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.project-item {
  display: grid;
  gap: 4px;
  padding: 12px 12px 10px;
  border: 4px solid var(--panel-border);
  background: var(--panel-soft);
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.project-item:hover,
.project-item:focus-within {
  border-color: rgba(213, 142, 245, 0.38);
  background: #454151;
}

.project-item strong {
  font-family: "Silkscreen", monospace;
  font-size: 0.72rem;
  color: var(--text);
  text-transform: lowercase;
}

.project-item span {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.15;
}

.page-intro-card {
  display: grid;
  gap: 10px;
}

.projects-hero-copy {
  display: grid;
  gap: 10px;
}

.page-intro-card:has(.client-carousel-card) {
  grid-template-columns: minmax(0, 1fr) minmax(210px, 248px);
  gap: 22px;
  align-items: start;
}

.eyebrow {
  margin: 0;
  font-family: "Silkscreen", monospace;
  font-size: 0.72rem;
  color: var(--accent);
  text-transform: lowercase;
}

.page-title {
  margin: 0;
  font-family: "Silkscreen", monospace;
  font-size: clamp(1.45rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.page-summary {
  max-width: 34rem;
  margin: 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.3vw, 1.22rem);
  line-height: 1.2;
}

.projects-layout {
  display: grid;
  gap: 18px;
}

.projects-layout > * {
  animation: rise-in var(--motion-slow) var(--motion-ease) both;
}

.projects-layout > :nth-child(1) {
  animation-delay: 120ms;
}

.projects-layout > :nth-child(2) {
  animation-delay: 210ms;
}

.project-grid,
.project-modal-grid {
  display: grid;
  gap: 12px;
}

.projects-board {
  display: grid;
  gap: 16px;
}

.client-carousel-card {
  display: grid;
  gap: 8px;
  align-self: start;
  justify-items: center;
  min-width: 0;
  padding: 8px 4px 2px;
}

.client-carousel-head {
  display: flex;
  justify-content: center;
}

.client-carousel-label {
  margin: 0;
  font-family: "Silkscreen", monospace;
  text-transform: lowercase;
  color: var(--accent);
  font-size: 0.62rem;
}

.client-carousel-window {
  position: relative;
  width: 188px;
  min-height: 126px;
}

.client-carousel-track {
  position: relative;
  min-height: 126px;
}

.client-carousel-item {
  position: absolute;
  top: 50%;
  left: 50%;
  opacity: 0.22;
  transform: translate(-50%, -50%) scale(0.68);
  transition:
    opacity 320ms ease,
    transform 320ms var(--motion-ease),
    filter 320ms ease;
  pointer-events: none;
}

.client-profile-image {
  display: block;
  width: 92px;
  height: 92px;
  padding: 0;
  border: 4px solid rgba(213, 142, 245, 0.18);
  border-radius: 999px;
  background:
    radial-gradient(circle at top, rgba(213, 142, 245, 0.26), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02)),
    #332f3d;
  object-fit: cover;
  box-shadow: 8px 8px 0 rgba(18, 16, 24, 0.24);
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.client-profile-image-brand {
  padding: 18px;
  object-fit: contain;
  background:
    radial-gradient(circle at top, rgba(213, 142, 245, 0.18), transparent 58%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02)),
    #332f3d;
}

.client-carousel-item.is-active {
  opacity: 1;
  transform: translate(-50%, -50%) scale(0.94);
  z-index: 3;
}

.client-carousel-item.is-active .client-profile-image {
  border-color: rgba(213, 142, 245, 0.42);
  box-shadow: 12px 12px 0 rgba(18, 16, 24, 0.3);
}

.client-carousel-item.is-prev,
.client-carousel-item.is-next {
  opacity: 0.54;
  z-index: 2;
}

.client-carousel-item.is-prev {
  transform: translate(-110%, -44%) scale(0.76);
}

.client-carousel-item.is-next {
  transform: translate(10%, -44%) scale(0.76);
}

.client-carousel-item.is-prev .client-profile-image,
.client-carousel-item.is-next .client-profile-image {
  filter: saturate(0.76) brightness(0.9);
}

.client-carousel-readout {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.client-carousel-name {
  margin: 0;
  color: var(--text);
  font-family: "Silkscreen", monospace;
  font-size: 0.82rem;
  line-height: 1.08;
  letter-spacing: 0.04em;
  text-transform: lowercase;
}

@media (prefers-reduced-motion: reduce) {
  .client-carousel-item {
    transition: none;
  }
}

.active-projects-card {
  display: grid;
  gap: 16px;
}

.project-carousel-count {
  margin: 0;
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 0.72rem;
  line-height: 1;
}

.project-carousel-screen {
  position: relative;
  overflow: hidden;
  padding: 8px 0 14px;
}

.project-carousel-slides {
  position: relative;
  min-height: 292px;
  perspective: 1200px;
}

.project-carousel-slide {
  position: absolute;
  top: 10px;
  bottom: 10px;
  left: 50%;
  width: min(100%, 48%);
  display: grid;
  gap: 12px;
  padding: 18px;
  border: 4px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent 38%),
    var(--panel-soft);
  box-shadow: 10px 10px 0 rgba(18, 16, 24, 0.28);
  opacity: 0;
  transform: translateX(-50%) scale(0.8);
  transform-origin: center center;
  pointer-events: none;
  transition:
    opacity var(--motion-base) ease,
    transform var(--motion-base) var(--motion-ease),
    filter var(--motion-base) ease,
    border-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.project-carousel-slide.is-active {
  opacity: 1;
  transform: translateX(-50%) scale(1);
  border-color: rgba(213, 142, 245, 0.42);
  box-shadow: 14px 14px 0 rgba(18, 16, 24, 0.34);
  z-index: 3;
  pointer-events: auto;
}

.project-carousel-slide.is-prev,
.project-carousel-slide.is-next {
  opacity: 0.7;
  pointer-events: auto;
  cursor: pointer;
  filter: saturate(0.72) brightness(0.9);
  z-index: 2;
}

.project-carousel-slide.is-prev {
  transform: translateX(-122%) scale(0.82) rotateY(10deg);
}

.project-carousel-slide.is-next {
  transform: translateX(22%) scale(0.82) rotateY(-10deg);
}

.project-carousel-slide.is-prev:hover,
.project-carousel-slide.is-prev:focus-within,
.project-carousel-slide.is-next:hover,
.project-carousel-slide.is-next:focus-within {
  opacity: 0.88;
  filter: saturate(0.9) brightness(0.96);
}

.project-carousel-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
}

.project-inline-action {
  display: inline-grid;
  place-items: center;
  justify-self: start;
  min-height: 40px;
  padding: 10px 14px 8px;
  border: 4px solid var(--panel-border);
  background: var(--panel);
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.project-inline-action:hover,
.project-inline-action:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213, 142, 245, 0.42);
  background: #454151;
}

.projects-board-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}

.projects-board-copy {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.15;
}

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

.project-card {
  display: grid;
  gap: 10px;
  min-height: 0;
  padding: 14px;
  border: 4px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 65%),
    var(--panel-soft);
  color: var(--text);
  text-align: left;
  font: inherit;
  cursor: pointer;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(213, 142, 245, 0.42);
  background: #444050;
  box-shadow: 10px 10px 0 rgba(18, 16, 24, 0.34);
}

.project-card-year,
.project-card-head span,
.project-card-action,
.project-modal-kicker,
.project-modal-label {
  font-family: "Silkscreen", monospace;
  text-transform: lowercase;
}

.project-card-year {
  color: var(--accent);
  font-size: 0.62rem;
}

.project-card-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: start;
}

.project-card-head h3,
.project-modal-title {
  margin: 0;
  font-family: "Silkscreen", monospace;
  text-transform: lowercase;
}

.project-card-head h3 {
  font-size: 0.82rem;
  line-height: 1.15;
}

.project-card-head span {
  color: var(--muted);
  font-size: 0.58rem;
  text-align: right;
}

.project-card-copy,
.project-modal-copy,
.project-modal-panel p:last-child {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.14;
}

.project-tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 6px 9px 5px;
  border: 2px solid rgba(213, 142, 245, 0.22);
  background: rgba(213, 142, 245, 0.08);
  color: #f0d9fa;
  font-family: "Silkscreen", monospace;
  font-size: 0.58rem;
  line-height: 1;
  text-transform: lowercase;
}

.project-card-action {
  margin-top: auto;
  color: var(--accent);
  font-size: 0.68rem;
}

.project-modal {
  display: grid;
  place-items: center;
  width: min(100% - 28px, 760px);
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  opacity: 0;
}

.project-modal[open],
.project-modal.is-open,
.project-modal.is-closing {
  opacity: 1;
}

.project-modal::backdrop {
  background:
    radial-gradient(circle at top, rgba(213, 142, 245, 0.2), transparent 36%),
    rgba(9, 8, 14, 0.78);
  backdrop-filter: blur(6px);
  animation: project-modal-backdrop-out 220ms ease forwards;
}

.project-modal[open]::backdrop {
  animation: project-modal-backdrop-in 240ms ease forwards;
}

.project-modal.is-closing::backdrop {
  animation: project-modal-backdrop-out 220ms ease forwards;
}

.project-modal-shell {
  position: relative;
  display: grid;
  gap: 20px;
  width: min(100%, 760px);
  padding: 26px 26px 22px;
  border: 4px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02) 18%, transparent 34%),
    linear-gradient(145deg, rgba(213, 142, 245, 0.08), transparent 34%),
    #2c2935;
  box-shadow: 18px 18px 0 rgba(14, 12, 20, 0.42);
  opacity: 0;
  transform: translateY(18px) scale(0.96);
  transform-origin: center top;
  transition:
    opacity 220ms ease,
    transform 240ms var(--motion-ease),
    box-shadow var(--motion-fast) ease,
    border-color var(--motion-fast) ease;
  will-change: opacity, transform;
}

.project-modal-shell::before {
  content: "";
  position: absolute;
  top: -4px;
  left: 22px;
  right: 22px;
  height: 4px;
  background: linear-gradient(90deg, rgba(213, 142, 245, 0.08), rgba(213, 142, 245, 0.72), rgba(213, 142, 245, 0.08));
}

.project-modal.is-open .project-modal-shell {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.project-modal.is-closing .project-modal-shell {
  opacity: 0;
  transform: translateY(18px) scale(0.96);
}

.project-modal-close,
.project-modal-link {
  display: inline-grid;
  place-items: center;
  min-height: 40px;
  padding: 10px 14px 8px;
  border: 4px solid var(--panel-border);
  background: var(--panel-soft);
  color: var(--text);
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.68rem;
  line-height: 1;
  text-transform: lowercase;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.project-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  min-width: 82px;
  background: rgba(255, 255, 255, 0.04);
}

.project-modal-close:hover,
.project-modal-close:focus-visible,
.project-modal-link:hover,
.project-modal-link:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(213, 142, 245, 0.42);
  background: #454151;
}

.project-modal-kicker {
  margin: 0;
  padding-right: 92px;
  color: var(--accent);
  font-size: 0.68rem;
  letter-spacing: 0.04em;
}

.project-modal-title {
  font-size: clamp(1.25rem, 2.2vw, 1.8rem);
  line-height: 1.1;
}

.project-modal-copy {
  max-width: 42rem;
  padding-bottom: 2px;
}

.project-modal-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.project-modal-panel {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 120px;
  padding: 16px 16px 14px;
  border: 4px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 70%),
    rgba(255, 255, 255, 0.025);
}

.project-modal-panel p {
  margin: 0;
}

.project-modal-label {
  color: var(--accent);
  font-size: 0.62rem;
  letter-spacing: 0.04em;
}

.project-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 2px;
}

@keyframes project-modal-backdrop-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes project-modal-backdrop-out {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
  }
}

.about-grid {
  grid-template-columns: 1fr;
}

.about-stack {
  gap: 0;
}

.workspace-board {
  display: grid;
  gap: 0;
  padding: 0;
  overflow: hidden;
}

.workspace-board-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  padding: 20px 22px 18px;
  border-bottom: 4px solid rgba(255, 255, 255, 0.07);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 72%),
    linear-gradient(90deg, rgba(213, 142, 245, 0.08), transparent 36%),
    #2a2733;
}

.workspace-board-head-copy {
  display: grid;
  gap: 8px;
}

.workspace-board-actions {
  display: grid;
  justify-items: end;
  gap: 8px;
}

.workspace-board-head .eyebrow,
.workspace-board-head .page-title {
  margin: 0;
}

.workspace-board-head .page-title {
  font-size: clamp(1.35rem, 2vw, 2rem);
}

.workspace-contact-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border: 3px solid rgba(223, 192, 244, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 70%),
    rgba(223, 192, 244, 0.08);
  color: #f5ebff;
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.74rem;
  line-height: 1;
  text-transform: lowercase;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    6px 6px 0 rgba(16, 14, 22, 0.18);
  transition:
    transform var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease;
}

.workspace-contact-link:hover,
.workspace-contact-link:focus-visible {
  border-color: rgba(223, 192, 244, 0.42);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.14), transparent 70%),
    rgba(223, 192, 244, 0.14);
  color: #fff7ff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    8px 8px 0 rgba(16, 14, 22, 0.16);
  transform: translateY(-2px);
}

.workspace-board-note {
  margin: 0;
  color: rgba(243, 231, 251, 0.72);
  font-family: "Schoolbell", cursive;
  font-size: 0.86rem;
  line-height: 1.1;
  text-align: left;
}

.workspace-canvas {
  position: relative;
  min-height: 680px;
  padding: 20px;
  border: 0;
  border-top: 4px solid rgba(255, 255, 255, 0.04);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
    radial-gradient(circle at top, rgba(213, 142, 245, 0.12), transparent 42%),
    #26232d;
  overflow: hidden;
}

.workspace-canvas::before,
.workspace-canvas::after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px dashed rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.workspace-canvas::after {
  inset: auto 18px 18px auto;
  width: 112px;
  height: 112px;
  border-radius: 999px;
  border-style: solid;
  border-color: rgba(213, 142, 245, 0.08);
}

.whiteboard-card,
.sticky-note {
  position: relative;
}

.whiteboard-card {
  position: absolute;
  inset: 24px;
  width: auto;
  margin: 0;
  padding: 30px 28px 26px;
  border: 8px solid #3a313f;
  background:
    radial-gradient(circle at 18% 16%, rgba(255, 255, 255, 0.08), transparent 20%),
    radial-gradient(circle at 74% 28%, rgba(255, 255, 255, 0.05), transparent 24%),
    radial-gradient(circle at 52% 78%, rgba(255, 255, 255, 0.04), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent 24%),
    radial-gradient(circle at top, rgba(213, 142, 245, 0.06), transparent 38%),
    linear-gradient(180deg, #27252f, #1b1922 52%, #141219);
  color: #f3eff8;
  display: grid;
  align-content: center;
  box-shadow:
    inset 0 0 0 2px rgba(255, 248, 228, 0.08),
    inset 0 24px 44px rgba(255, 255, 255, 0.03),
    10px 10px 0 rgba(16, 14, 22, 0.32),
    0 18px 28px rgba(16, 14, 22, 0.16);
  transition:
    background-color var(--motion-fast) ease,
    background-image var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    transform var(--motion-base) var(--motion-ease),
    filter var(--motion-fast) ease;
}

.whiteboard-pin {
  position: absolute;
  top: 12px;
  right: 14px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d58ef5;
  box-shadow: 0 0 0 3px rgba(213, 142, 245, 0.18);
  transition:
    transform var(--motion-base) var(--motion-ease),
    box-shadow var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.whiteboard-label,
.sticky-note-kicker {
  margin: 0 0 8px;
  font-family: "Schoolbell", cursive;
  font-size: 0.62rem;
  line-height: 1;
  text-transform: lowercase;
}

.whiteboard-label {
  color: #dfc0f4;
  letter-spacing: 0.04em;
  text-shadow: 0 0 6px rgba(244, 233, 255, 0.18);
}

.whiteboard-title {
  margin: 0 0 10px;
  font-family: "Schoolbell", cursive;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  line-height: 1.2;
  text-transform: lowercase;
  color: #faf7ff;
  text-shadow: 0 0 8px rgba(250, 247, 255, 0.14);
}

.whiteboard-copy,
.sticky-note-copy,
.whiteboard-list {
  margin: 0;
  font-size: 1.15rem;
  line-height: 1.28;
}

.whiteboard-copy {
  margin-bottom: 14px;
  font-family: "Schoolbell", cursive;
  color: rgba(243, 239, 248, 0.92);
  text-shadow: 0 0 7px rgba(243, 239, 248, 0.1);
}

.whiteboard-copy b {
  color: #fff6ff;
  font-weight: 400;
}

.whiteboard-list {
  display: grid;
  gap: 9px;
  padding-left: 20px;
  font-family: "Schoolbell", cursive;
  color: rgba(243, 239, 248, 0.92);
  text-shadow: 0 0 7px rgba(243, 239, 248, 0.1);
}

.whiteboard-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.whiteboard-tags span {
  padding: 7px 10px 5px;
  border: 2px dashed rgba(223, 192, 244, 0.22);
  background: rgba(223, 192, 244, 0.06);
  color: #f3e7fb;
  font-family: "Schoolbell", cursive;
  font-size: 0.82rem;
  line-height: 1;
  text-transform: lowercase;
  text-shadow: 0 0 6px rgba(243, 231, 251, 0.1);
  transition:
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease,
    color var(--motion-fast) ease;
}

.chalk-doodle {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter: drop-shadow(0 0 6px rgba(243, 231, 251, 0.06));
  transform: rotate(var(--doodle-rotate, 0deg));
  opacity: 0.82;
  transition:
    opacity var(--motion-fast) ease,
    transform var(--motion-base) var(--motion-ease);
}

.chalk-doodle-cube {
  top: 72px;
  left: 58%;
  width: 84px;
  height: 68px;
  --doodle-rotate: 4deg;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 68' fill='none'%3E%3Cpath d='m20 12 4 12 12 4-12 4-4 12-4-12-12-4 12-4 4-12ZM58 18l3 9 9 3-9 3-3 9-3-9-9-3 9-3 3-9ZM44 42l2 6 6 2-6 2-2 6-2-6-6-2 6-2 2-6Z' stroke='%23f3e7fb' stroke-opacity='.52' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  transform: translateX(-50%) rotate(var(--doodle-rotate));
}

.chalk-doodle-stars {
  top: 154px;
  left: 272px;
  width: 54px;
  height: 50px;
  --doodle-rotate: -6deg;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 54 50' fill='none'%3E%3Cpath d='M15 17 20 8l7 7M39 17l-5-9-7 7' stroke='%23f3e7fb' stroke-opacity='.5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M16 19c-4 3-6 7-6 11 0 9 8 15 17 15s17-6 17-15c0-4-2-8-6-11' stroke='%23f3e7fb' stroke-opacity='.5' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M22 28h.01M32 28h.01' stroke='%23f3e7fb' stroke-opacity='.5' stroke-width='4' stroke-linecap='round'/%3E%3Cpath d='M24 35c2 2 4 3 6 0' stroke='%23f3e7fb' stroke-opacity='.46' stroke-width='3' stroke-linecap='round'/%3E%3Cpath d='M18 32l-8-2M18 35l-9 2M36 32l8-2M36 35l9 2' stroke='%23f3e7fb' stroke-opacity='.38' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E");
}

.chalk-doodle-sparkle {
  top: 314px;
  right: 216px;
  width: 70px;
  height: 70px;
  --doodle-rotate: 8deg;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 84 84' fill='none'%3E%3Cpath d='M42 12v18M42 54v18M12 42h18M54 42h18M22 22l12 12M50 50l12 12M62 22 50 34M34 50 22 62' stroke='%23f3e7fb' stroke-opacity='.4' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='42' cy='42' r='8' stroke='%23f3e7fb' stroke-opacity='.3' stroke-width='3'/%3E%3C/svg%3E");
}

.chalk-doodle-heart {
  left: 292px;
  bottom: 92px;
  width: 66px;
  height: 66px;
  --doodle-rotate: -6deg;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 74' fill='none'%3E%3Cpath d='M37 64s-23-14-23-31c0-8 6-13 13-13 5 0 9 3 10 7 1-4 5-7 10-7 7 0 13 5 13 13 0 17-23 31-23 31Z' stroke='%23f3e7fb' stroke-opacity='.5' stroke-width='3' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.page-shell.is-tab-transitioning .chalk-doodle {
  opacity: 0.62;
  transform: rotate(var(--doodle-rotate, 0deg)) translateY(-4px);
}

.page-shell.is-tab-transitioning .chalk-doodle-cube {
  transform: translateX(-50%) rotate(var(--doodle-rotate)) translateY(-4px);
}

.chalk-hidden-note {
  position: absolute;
  z-index: 1;
  color: rgba(243, 231, 251, 0.38);
  font-family: "Schoolbell", cursive;
  font-size: 0.78rem;
  line-height: 1;
  letter-spacing: 0.03em;
  pointer-events: none;
  user-select: none;
  text-shadow: 0 0 6px rgba(243, 231, 251, 0.07);
  transform: rotate(var(--hidden-note-rotate, 0deg));
  opacity: 0.78;
  max-width: 122px;
}

.chalk-hidden-note-role {
  top: 146px;
  left: 94px;
  --hidden-note-rotate: -6deg;
}

.chalk-hidden-note-vibe {
  top: 150px;
  right: 88px;
  --hidden-note-rotate: 5deg;
  text-align: center;
}

.chalk-hidden-note-focus {
  bottom: 114px;
  left: 122px;
  --hidden-note-rotate: -7deg;
}

.chalk-hidden-note-care {
  right: 116px;
  bottom: 112px;
  --hidden-note-rotate: 6deg;
  text-align: center;
}

.page-shell.is-tab-transitioning .chalk-hidden-note {
  opacity: 0.68;
  transform: rotate(var(--hidden-note-rotate, 0deg)) translateY(-3px);
}

.sticky-note {
  position: absolute;
  --sticky-bg: #f4dd80;
  --sticky-border: rgba(42, 40, 49, 0.22);
  --sticky-ink: #2a2533;
  --sticky-kicker: rgba(42, 37, 51, 0.72);
  --sticky-tape: rgba(255, 255, 255, 0.38);
  width: min(196px, calc(50% - 40px));
  padding: 14px 12px 12px;
  border: 4px solid var(--sticky-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.24), transparent 30%),
    var(--sticky-bg);
  color: var(--sticky-ink);
  cursor: grab;
  user-select: none;
  touch-action: none;
  z-index: 2;
  transform: rotate(var(--note-rotate, 0deg));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.26);
  filter:
    drop-shadow(10px 10px 0 rgba(16, 14, 22, 0.22))
    drop-shadow(0 12px 18px rgba(16, 14, 22, 0.14));
  transition:
    filter var(--motion-fast) ease,
    transform var(--motion-fast) ease,
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.sticky-note::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  width: 42px;
  height: 16px;
  background: var(--sticky-tape);
  border: 1px solid rgba(42, 40, 49, 0.08);
  transform: translateX(-50%) rotate(-3deg);
}

.sticky-note-kicker {
  color: var(--sticky-kicker);
  font-size: 0.56rem;
}

.sticky-note-copy {
  font-size: 0.9rem;
  line-height: 1.16;
}

.sticky-note.is-dragging {
  cursor: grabbing;
  filter:
    drop-shadow(16px 16px 0 rgba(16, 14, 22, 0.2))
    drop-shadow(0 18px 28px rgba(16, 14, 22, 0.16));
  transform: rotate(var(--note-rotate, 0deg)) scale(1.02);
}

.sticky-note-role {
  top: 26px;
  left: 24px;
  --note-rotate: -4deg;
}

.sticky-note-vibe {
  top: 34px;
  left: calc(100% - 246px);
  --note-rotate: 5deg;
}

.sticky-note-focus {
  top: calc(100% - 168px);
  left: 30px;
  --note-rotate: -3deg;
}

.sticky-note-care {
  top: calc(100% - 164px);
  left: calc(100% - 248px);
  --note-rotate: 4deg;
}

.sticky-note-gold {
  --sticky-bg: linear-gradient(180deg, #ffe9a2, #f4cf63);
  --sticky-border: rgba(129, 93, 21, 0.24);
  --sticky-ink: #5b430e;
  --sticky-kicker: rgba(91, 67, 14, 0.72);
  --sticky-tape: rgba(255, 247, 211, 0.78);
}

.sticky-note-pink {
  --sticky-bg: linear-gradient(180deg, #ffc6df, #ef9fc9);
  --sticky-border: rgba(141, 58, 101, 0.22);
  --sticky-ink: #6c2747;
  --sticky-kicker: rgba(108, 39, 71, 0.72);
  --sticky-tape: rgba(255, 236, 245, 0.78);
}

.sticky-note-blue {
  --sticky-bg: linear-gradient(180deg, #c0e3ff, #90c7f5);
  --sticky-border: rgba(44, 94, 142, 0.22);
  --sticky-ink: #1f4a70;
  --sticky-kicker: rgba(31, 74, 112, 0.72);
  --sticky-tape: rgba(236, 248, 255, 0.78);
}

.sticky-note-mint {
  --sticky-bg: linear-gradient(180deg, #bcf1d4, #94ddb7);
  --sticky-border: rgba(44, 109, 79, 0.22);
  --sticky-ink: #23593f;
  --sticky-kicker: rgba(35, 89, 63, 0.72);
  --sticky-tape: rgba(234, 255, 242, 0.78);
}

.info-grid,
.principles-list,
.case-study-list {
  display: grid;
  gap: 12px;
}

.info-tile,
.principle-item,
.case-study-card {
  display: grid;
  gap: 8px;
  padding: 14px;
  border: 4px solid var(--panel-border);
  background: var(--panel-soft);
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    background-color var(--motion-fast) ease;
}

.info-tile:hover,
.info-tile:focus-within,
.principle-item:hover,
.principle-item:focus-within,
.case-study-card:hover,
.case-study-card:focus-within {
  border-color: rgba(213, 142, 245, 0.4);
  background: #444050;
}

.info-tile strong,
.principle-item strong,
.case-study-head h3 {
  margin: 0;
  font-family: "Silkscreen", monospace;
  font-size: 0.76rem;
  color: var(--text);
  text-transform: lowercase;
}

.info-tile p,
.principle-item p,
.case-study-card p {
  margin: 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.18;
}

.case-study-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.case-study-head span {
  color: var(--accent);
  font-family: "Silkscreen", monospace;
  font-size: 0.58rem;
  text-transform: lowercase;
}

.case-study-meta {
  display: grid;
  gap: 8px;
  margin: 0;
}

.case-study-meta div {
  display: grid;
  gap: 2px;
}

.case-study-meta dt {
  font-family: "Silkscreen", monospace;
  font-size: 0.55rem;
  color: var(--accent);
  text-transform: lowercase;
}

.case-study-meta dd {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.14;
}

.badge-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: flex-start;
}

.badge-tile {
  position: relative;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: 88px;
  min-width: 88px;
  height: 31px;
  padding: 3px 5px 2px;
  border: 2px solid #17161e;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.1),
    0 0 0 2px rgba(23, 22, 30, 0.35);
  overflow: hidden;
  color: var(--text);
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.38rem;
  line-height: 1;
  text-transform: uppercase;
  align-items: center;
  image-rendering: pixelated;
  transition:
    transform var(--motion-base) var(--motion-ease),
    border-color var(--motion-fast) ease,
    color var(--motion-fast) ease,
    box-shadow var(--motion-fast) ease,
    filter var(--motion-fast) ease;
}

.badge-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    repeating-linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.1) 0 1px,
      rgba(255, 255, 255, 0) 1px 3px
    );
  opacity: 0.35;
  pointer-events: none;
}

.badge-tile img,
.badge-tile span {
  position: relative;
  z-index: 1;
}

.badge-tile:hover,
.badge-tile:focus-visible {
  border-color: #f6f2ff;
  color: #fff9ff;
  transform: translateY(-2px);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.24),
    0 0 0 2px rgba(213, 142, 245, 0.4);
  filter: saturate(1.05);
}

.badge-tile-own {
  padding: 0;
  background: #0f1018;
}

.badge-tile-own img {
  display: block;
  width: 88px;
  height: 31px;
}

.badge-tile-github {
  background:
    linear-gradient(90deg, #0f1117 0 36%, #242938 36% 100%);
}

.badge-tile-discord {
  background:
    linear-gradient(90deg, #222a5a 0 32%, #4e62d8 32% 100%);
}

.badge-tile-mail {
  background:
    linear-gradient(90deg, #4a1d1f 0 34%, #cf5b67 34% 100%);
}

.badge-tile-starnova {
  background:
    linear-gradient(90deg, #122b1e 0 34%, #2e9a65 34% 100%);
}

.badge-kicker {
  letter-spacing: 0.08em;
  opacity: 0.78;
}

.badge-label {
  align-self: center;
  font-size: 0.5rem;
  letter-spacing: 0.02em;
}

.badge-subline {
  opacity: 0.84;
}

.confetti-bit {
  position: fixed;
  left: 0;
  top: 0;
  width: 8px;
  height: 8px;
  border: 2px solid rgba(34, 32, 42, 0.85);
  background: var(--accent);
  pointer-events: none;
  z-index: 30;
  animation: confetti-pop 680ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.confetti-bit-alt {
  background: #f5f2f8;
}

.confetti-bit-deep {
  background: #ff9cc5;
}

.badge-primary {
  color: var(--accent);
}

.footer-banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  margin-top: 26px;
  padding: 16px 18px 14px;
  border: 6px solid var(--panel-border);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent),
    #26242e;
  box-shadow: 10px 10px 0 var(--shadow);
  animation: rise-in calc(var(--motion-slow) + 260ms) var(--motion-ease) both;
}

.footer-copy {
  margin: 0;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.1vw, 1.08rem);
  line-height: 1.2;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
}

.footer-link {
  color: var(--accent);
  text-decoration: none;
  font-family: "Silkscreen", monospace;
  font-size: 0.72rem;
  text-transform: lowercase;
  transition:
    color var(--motion-fast) ease,
    transform var(--motion-fast) ease;
}

.footer-link:hover,
.footer-link:focus-visible {
  color: #f0c6ff;
  transform: translateY(-2px);
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

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

@keyframes ambient-sweep {
  from {
    transform: translate3d(-4%, -1%, 0);
  }

  to {
    transform: translate3d(4%, 1%, 0);
  }
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(213, 142, 245, 0);
  }

  50% {
    box-shadow: 0 0 18px rgba(213, 142, 245, 0.18);
  }
}

@keyframes confetti-pop {
  0% {
    opacity: 1;
    transform: translate3d(var(--confetti-x, 0), var(--confetti-y, 0), 0) scale(0.6) rotate(0deg);
  }

  100% {
    opacity: 0;
    transform: translate3d(
        calc(var(--confetti-x, 0) + var(--confetti-dx, 0px)),
        calc(var(--confetti-y, 0) + var(--confetti-dy, 0px)),
        0
      )
      scale(1)
      rotate(var(--confetti-rot, 90deg));
  }
}

@media (max-width: 980px) {
  .site-layout {
    width: min(100%, 820px);
  }

  .masthead-card,
  .footer-banner {
    flex-direction: column;
    align-items: flex-start;
  }

  .masthead-links {
    padding-top: 0;
  }

  .masthead-badge-stack {
    justify-items: start;
  }

  .masthead-badge-stack .badge-tile {
    transform-origin: top left;
  }

  .main-grid {
    grid-template-columns: 1fr;
  }

  .page-intro-card:has(.client-carousel-card) {
    grid-template-columns: 1fr;
  }

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

  .project-carousel-slides {
    min-height: 272px;
  }

  .sidebar-stack {
    order: 2;
  }
}

@media (max-width: 720px) {
  .page-shell {
    padding: 20px 14px 32px;
  }

  .brand-nav {
    flex-wrap: wrap;
  }

  .footer-banner {
    padding: 14px 16px 13px;
  }

  .brand-nav-link {
    padding: 12px 16px 10px;
    font-size: 1.1rem;
  }

  .panel-card {
    padding: 16px;
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .panel-card:hover,
  .panel-card:focus-within {
    box-shadow: 6px 6px 0 var(--shadow);
  }

  .intro-card {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .avatar-shell {
    width: 108px;
  }

  .avatar-ring {
    width: 108px;
    height: 108px;
  }

  .intro-title {
    font-size: 1.65rem;
  }

  .intro-text,
  .notice-text,
  .about-copy p {
    font-size: 1.1rem;
  }

  .intro-links a {
    font-size: 1rem;
  }

  .workspace-canvas {
    display: grid;
    gap: 14px;
    min-height: auto;
    padding: 14px;
  }

  .workspace-board-head {
    flex-wrap: wrap;
    align-items: start;
    padding: 16px 16px 14px;
  }

  .workspace-board-actions {
    justify-items: start;
  }

  .workspace-canvas::before,
  .workspace-canvas::after {
    display: none;
  }

  .chalk-doodle,
  .chalk-hidden-note {
    display: none;
  }

  .whiteboard-card,
  .sticky-note {
    width: 100%;
    margin: 0;
  }

  .whiteboard-card {
    position: relative;
    inset: auto;
    padding: 22px 20px 18px;
    box-shadow: 6px 6px 0 rgba(16, 14, 22, 0.32);
  }

  .workspace-contact-link {
    min-height: 42px;
    padding: 0 14px;
    font-size: 0.66rem;
  }

  .workspace-board-note {
    text-align: left;
  }

  .sticky-note {
    position: relative;
    inset: auto;
    left: auto;
    top: auto;
    transform: none;
    cursor: default;
    touch-action: auto;
    filter: drop-shadow(6px 6px 0 rgba(16, 14, 22, 0.32));
  }

  .info-tile p,
  .principle-item p,
  .case-study-card p,
  .case-study-meta dd,
  .testimonial-quote {
    font-size: 0.95rem;
  }

  .testimonial-card-head {
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px;
  }

  .testimonial-status {
    justify-items: end;
  }

  .testimonial-stage {
    padding: 10px;
  }

  .testimonial-quote {
    font-size: 0.8rem;
    line-height: 1.14;
  }

  .badge-grid {
    justify-content: center;
  }

  .project-grid,
  .project-modal-grid {
    grid-template-columns: 1fr;
  }

  .client-carousel-card {
    justify-items: center;
    width: 100%;
  }

  .project-carousel-slide {
    inset: 0;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 14px;
    transform: translateX(18px);
    box-shadow: none;
  }

  .project-carousel-slide.is-active {
    transform: translateX(0);
  }

  .project-carousel-slide.is-prev,
  .project-carousel-slide.is-next {
    opacity: 0;
    transform: translateX(18px);
    pointer-events: none;
    cursor: default;
    filter: none;
  }

  .project-carousel-controls {
    flex-wrap: wrap;
  }

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

  .project-modal {
    width: min(100% - 20px, 760px);
  }

  .project-modal-shell {
    padding: 18px;
    box-shadow: 8px 8px 0 rgba(14, 12, 20, 0.44);
  }

  .project-modal-close {
    position: static;
    justify-self: start;
  }

  .project-modal-kicker {
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .confetti-bit {
    display: none;
  }
}
