:root {
  color-scheme: dark;
  --canvas: #09090d;
  --canvas-raised: #101016;
  --surface: #14141b;
  --surface-high: #1b1b25;
  --line: rgba(255, 255, 255, 0.12);
  --line-strong: rgba(255, 255, 255, 0.21);
  --text: #f5f4f0;
  --muted: #b8b6c0;
  --quiet: #85828e;
  --acid: #d8ff53;
  --violet: #a78bfa;
  --coral: #ff7668;
  --orange: #ffad66;
  --blue: #7ca8ff;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--canvas);
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 78% 4%, rgba(167, 139, 250, 0.11), transparent 22rem),
    radial-gradient(circle at 10% 20%, rgba(216, 255, 83, 0.06), transparent 26rem),
    var(--canvas);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

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

button,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button:not(:disabled),
a[href] {
  cursor: pointer;
}

button:focus-visible,
a:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--acid);
  outline-offset: 3px;
}

[hidden] {
  display: none !important;
}

.skip-link {
  position: fixed;
  z-index: 20;
  top: 1rem;
  left: 1rem;
  transform: translateY(-180%);
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #11110e;
  background: var(--acid);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  min-height: 5.5rem;
  margin: 0;
  padding-right: clamp(1.5rem, 4vw, 4.5rem);
  padding-left: clamp(1.5rem, 4vw, 4.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: color-mix(in srgb, var(--canvas) 82%, transparent);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex: 0 0 auto;
  font-size: 0.9rem;
  font-weight: 750;
  letter-spacing: -0.02em;
}

.brand-mark {
  display: grid;
  width: 2.1rem;
  height: 2.1rem;
  place-items: center;
  border: 1px solid rgba(216, 255, 83, 0.58);
  border-radius: 0.5rem;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 650;
}

.site-nav a,
.site-footer > a:last-child {
  transition: color 160ms ease;
}

.site-nav a:hover,
.site-footer > a:last-child:hover {
  color: var(--acid);
}

.header-status {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  color: var(--quiet);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.header-status span {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 999px;
  background: var(--acid);
  box-shadow: 0 0 0 0.25rem rgba(216, 255, 83, 0.11);
}

.section-shell {
  width: min(1380px, calc(100% - 3rem));
  margin-right: auto;
  margin-left: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(22rem, 0.85fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 9rem);
  min-height: min(760px, calc(100svh - 5.5rem));
  padding-top: 6rem;
  padding-bottom: 6rem;
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--acid);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  line-height: 1.25;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  text-wrap: balance;
}

h1 {
  max-width: 11ch;
  margin-bottom: 1.4rem;
  font-family: var(--serif);
  font-size: clamp(3.4rem, 7.1vw, 7.5rem);
  font-weight: 500;
  letter-spacing: -0.075em;
  line-height: 0.89;
}

.hero-intro {
  max-width: 43rem;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.06rem, 1.45vw, 1.32rem);
  line-height: 1.62;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-bottom: 1.35rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.8rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-size: 0.86rem;
  font-weight: 750;
  transition:
    transform 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #0d0e09;
  background: var(--acid);
}

.button-primary:hover {
  background: #e1ff7a;
}

.button-quiet {
  border-color: var(--line);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
}

.button-quiet:hover {
  border-color: var(--line-strong);
  background: rgba(255, 255, 255, 0.08);
}

.hero-note {
  max-width: 44rem;
  margin-bottom: 0;
  color: var(--quiet);
  font-size: 0.78rem;
}

.hero-orbit {
  position: relative;
  display: grid;
  width: min(100%, 33rem);
  aspect-ratio: 1;
  place-self: center;
  place-items: center;
  isolation: isolate;
}

.hero-orbit::before {
  position: absolute;
  z-index: -4;
  inset: 16%;
  border-radius: 50%;
  content: "";
  background:
    radial-gradient(circle at 67% 32%, rgba(216, 255, 83, 0.9), transparent 1.2%),
    radial-gradient(circle at 31% 70%, rgba(255, 118, 104, 0.95), transparent 1.5%),
    radial-gradient(circle at 52% 51%, rgba(167, 139, 250, 0.5), transparent 44%);
  filter: blur(2px);
}

.orbit {
  position: absolute;
  z-index: -2;
  border: 1px solid rgba(255, 255, 255, 0.23);
  border-radius: 50%;
}

.orbit-one {
  width: 93%;
  height: 45%;
  transform: rotate(-24deg);
}

.orbit-two {
  width: 70%;
  height: 75%;
  border-color: rgba(216, 255, 83, 0.45);
  transform: rotate(36deg);
}

.orbit-core {
  display: grid;
  width: 13rem;
  height: 13rem;
  place-content: center;
  gap: 0;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background:
    linear-gradient(135deg, rgba(167, 139, 250, 0.34), rgba(255, 118, 104, 0.08)),
    rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 90px rgba(167, 139, 250, 0.25), inset 0 0 40px rgba(255, 255, 255, 0.08);
  text-align: center;
  transform: rotate(-12deg);
}

.orbit-core span {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3vw, 2.55rem);
  font-style: italic;
  letter-spacing: -0.07em;
  line-height: 0.8;
}

.orbit-core span:nth-child(2) {
  padding-left: 1.4rem;
  color: var(--acid);
}

.orbit-core span:nth-child(3) {
  padding-left: 0.35rem;
  color: var(--coral);
}

.hero-orbit > p {
  position: absolute;
  right: -1.6rem;
  bottom: 14%;
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  line-height: 1.35;
  text-align: right;
}

.work-section {
  padding-top: 6rem;
  padding-bottom: 7rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.6fr);
  align-items: end;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.section-heading .eyebrow {
  margin-bottom: 0.8rem;
}

.section-heading h2 {
  max-width: 13ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 4.5vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 0.95;
}

.section-heading > p {
  max-width: 26rem;
  margin-bottom: 0.25rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.portfolio-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17.5rem, 20.5rem);
  align-items: start;
  gap: clamp(1.25rem, 3.5vw, 4rem);
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.8rem;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.025);
}

.filter-label {
  margin-right: 0.25rem;
  padding: 0 0.4rem;
  color: var(--quiet);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.filter-button {
  min-height: 2.25rem;
  padding: 0.38rem 0.6rem;
  border: 1px solid transparent;
  border-radius: 0.45rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.76rem;
  font-weight: 700;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.filter-button:hover {
  border-color: rgba(255, 255, 255, 0.18);
  color: var(--text);
}

.filter-button.is-active {
  border-color: rgba(216, 255, 83, 0.35);
  color: #121408;
  background: var(--acid);
}

.work-feedback {
  min-height: 2.1rem;
  margin-bottom: 1.2rem;
  color: var(--quiet);
  font-size: 0.75rem;
}

.work-feedback > p {
  margin-bottom: 0;
}

.copy-manual {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.8rem;
  border: 1px solid rgba(255, 173, 102, 0.45);
  border-radius: 0.6rem;
  color: var(--muted);
  background: rgba(255, 173, 102, 0.07);
}

.copy-manual label {
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
}

.copy-manual textarea {
  width: 100%;
  resize: vertical;
  padding: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 0.4rem;
  color: var(--text);
  background: rgba(0, 0, 0, 0.22);
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.68rem;
  line-height: 1.45;
}

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

.project-card {
  display: grid;
  overflow: hidden;
  min-width: 0;
  border: 1px solid var(--line);
  border-radius: 1rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015));
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.28);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.025));
}

.project-art {
  position: relative;
  min-height: 16.5rem;
  overflow: hidden;
  isolation: isolate;
  container-type: inline-size;
}

.art-label {
  position: absolute;
  z-index: 5;
  top: 1rem;
  left: 1rem;
  max-width: calc(100% - 2rem);
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  line-height: 1.2;
}

.project-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.25rem;
}

.project-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 1rem;
  margin-bottom: 0.4rem;
}

.project-meta p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.25;
  text-transform: uppercase;
}

.project-meta span {
  color: var(--quiet);
  font-family: var(--serif);
  font-size: 1.05rem;
  font-style: italic;
}

.project-details h3 {
  margin-bottom: 0.65rem;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-details > p {
  min-height: 4.5em;
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.8rem;
  line-height: 1.5;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
}

.project-tags li {
  padding: 0.24rem 0.45rem;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 999px;
  color: var(--quiet);
  font-size: 0.63rem;
  font-weight: 700;
}

.project-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  width: 100%;
  margin-top: auto;
}

.project-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.25rem;
  padding: 0.45rem 0.58rem;
  border: 1px solid var(--line);
  border-radius: 0.45rem;
  color: var(--muted);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 750;
  white-space: nowrap;
  transition:
    color 160ms ease,
    background 160ms ease,
    border-color 160ms ease;
}

.project-link:hover {
  border-color: var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.project-link-primary {
  border-color: rgba(216, 255, 83, 0.36);
  color: var(--acid);
}

.project-link-primary:hover {
  border-color: var(--acid);
  color: #0c0e07;
  background: var(--acid);
}

.project-action {
  appearance: none;
}

.project-action.is-copied {
  border-color: rgba(216, 255, 83, 0.45);
  color: var(--acid);
}

.promo-rail {
  position: relative;
}

.promo-card {
  position: sticky;
  top: 6.85rem;
  overflow: hidden;
  padding: 1.15rem;
  border: 1px solid rgba(167, 139, 250, 0.38);
  border-radius: 1rem;
  background:
    radial-gradient(circle at 80% 0%, rgba(167, 139, 250, 0.16), transparent 33%),
    linear-gradient(155deg, rgba(27, 24, 44, 0.96), rgba(13, 13, 20, 0.98));
  box-shadow: var(--shadow);
}

.promo-heading h2 {
  margin-bottom: 1rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

.promo-heading .eyebrow {
  margin-bottom: 0.55rem;
  color: #d2c7ff;
}

.video-stage {
  position: relative;
  display: grid;
  aspect-ratio: 9 / 14.5;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 0.7rem;
  background:
    radial-gradient(circle at 20% 18%, rgba(216, 255, 83, 0.18), transparent 24%),
    radial-gradient(circle at 86% 82%, rgba(255, 118, 104, 0.28), transparent 33%),
    #171424;
}

.video-stage::before,
.video-stage::after {
  position: absolute;
  inset: auto;
  z-index: 1;
  width: 9rem;
  height: 9rem;
  border-radius: 50%;
  content: "";
  filter: blur(2px);
  opacity: 0.8;
}

.video-stage::before {
  top: 16%;
  left: -2.5rem;
  background: #8f70ff;
}

.video-stage::after {
  right: -3rem;
  bottom: 10%;
  background: var(--coral);
}

.promo-video {
  position: absolute;
  z-index: 4;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 220ms ease;
}

.video-stage.is-ready .promo-video {
  opacity: 1;
}

.video-fallback {
  position: relative;
  z-index: 3;
  display: grid;
  width: min(78%, 13rem);
  aspect-ratio: 1;
  place-items: center;
  padding: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 1rem;
  background: rgba(9, 9, 13, 0.38);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.26);
  text-align: center;
  backdrop-filter: blur(10px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.video-stage.is-ready .video-fallback {
  visibility: hidden;
  opacity: 0;
}

.fallback-mark {
  display: grid;
  width: 2.7rem;
  height: 2.7rem;
  place-items: center;
  padding-left: 0.15rem;
  border-radius: 50%;
  color: #161020;
  background: var(--acid);
  font-size: 0.9rem;
}

.video-fallback p {
  margin: 0.7rem 0 0;
  color: var(--text);
  font-size: 0.69rem;
  font-weight: 650;
  line-height: 1.35;
}

.promo-caption {
  min-height: 3.6em;
  margin: 0.85rem 0 0;
  color: var(--muted);
  font-size: 0.7rem;
  line-height: 1.45;
}

.promo-timeline {
  display: grid;
  grid-template-columns: 1.6fr 1fr 0.75fr 1.25fr;
  gap: 0.25rem;
  margin: 0.8rem 0;
}

.promo-timeline span {
  display: block;
  height: 0.2rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.18);
}

.promo-timeline span:first-child {
  background: var(--acid);
}

.promo-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--acid);
  font-size: 0.73rem;
  font-weight: 800;
}

.promo-link:hover {
  text-decoration: underline;
  text-underline-offset: 0.25rem;
}

.capabilities-section {
  padding-top: 6rem;
  padding-bottom: 7rem;
  border-top: 1px solid var(--line);
}

.capabilities-section .section-heading {
  grid-template-columns: minmax(0, 50rem);
}

.capabilities-section h2 {
  max-width: 16ch;
}

.capability-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.capability-grid article {
  min-height: 15rem;
  padding: 1.35rem;
  border: 1px solid var(--line);
  border-radius: 0.9rem;
  background: rgba(255, 255, 255, 0.025);
}

.capability-number {
  display: inline-block;
  margin-bottom: 3rem;
  color: var(--acid);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
}

.capability-grid h3 {
  margin-bottom: 0.5rem;
  font-family: var(--serif);
  font-size: 1.8rem;
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.95;
}

.capability-grid p {
  max-width: 24rem;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.82rem;
}

.about-section {
  padding-top: 6rem;
  padding-bottom: 7rem;
  border-top: 1px solid var(--line);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 7vw, 8rem);
}

.about-layout h2 {
  max-width: 12ch;
  margin-bottom: 0;
  font-family: var(--serif);
  font-size: clamp(2.5rem, 4.7vw, 5.1rem);
  font-weight: 500;
  letter-spacing: -0.07em;
  line-height: 0.93;
}

.about-layout p {
  margin-bottom: 1rem;
  color: var(--muted);
  font-size: 0.93rem;
}

.about-layout p:last-child {
  margin-bottom: 0;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1380px, calc(100% - 3rem));
  min-height: 7rem;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
  color: var(--quiet);
  font-size: 0.73rem;
  text-align: center;
}

.site-footer > a:last-child {
  justify-self: end;
  color: var(--muted);
  font-size: 0.74rem;
  font-weight: 750;
}

/* Project-specific artwork: all shapes are CSS, so the portfolio stays portable. */
.art-neon {
  background:
    radial-gradient(circle at 54% 34%, rgba(255, 69, 222, 0.45), transparent 17%),
    linear-gradient(135deg, #0f1238, #4a1762 52%, #e92c81);
}

.art-neon::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  background: linear-gradient(115deg, transparent 45%, rgba(255, 255, 255, 0.25) 45.5%, transparent 46%);
  mix-blend-mode: screen;
}

.neon-disc {
  position: absolute;
  top: 1.85rem;
  right: 13%;
  width: 8.5rem;
  aspect-ratio: 1;
  border: 0.55rem solid #f4ff8c;
  border-radius: 50%;
  box-shadow: 0 0 0 0.18rem rgba(255, 61, 224, 0.72), 0 0 55px #f53eff;
}

.neon-type {
  position: absolute;
  z-index: 2;
  bottom: 1.25rem;
  left: 1rem;
  display: inline-flex;
  align-items: flex-end;
  gap: 0.055em;
  color: #fbf9ff;
  font-family: "Arial Black", var(--sans);
  font-size: clamp(2.75rem, 10.8cqi, 4.65rem);
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 0.96;
  transform: skewY(-8deg);
  text-shadow: 0.07em 0.07em #151022, 0.14em 0.14em rgba(255, 208, 0, 0.55);
}

.neon-type span {
  display: block;
  min-width: 0.36em;
}

.neon-type span:nth-child(2) {
  margin-inline: 0.015em;
  color: #f4ff8c;
}

.neon-grid {
  position: absolute;
  right: -4%;
  bottom: -26%;
  width: 85%;
  height: 62%;
  border-top: 1px solid rgba(221, 255, 99, 0.75);
  background-image:
    linear-gradient(rgba(221, 255, 99, 0.38) 1px, transparent 1px),
    linear-gradient(90deg, rgba(221, 255, 99, 0.38) 1px, transparent 1px);
  background-size: 1.5rem 1.5rem;
  transform: perspective(180px) rotateX(60deg) rotateZ(-7deg);
}

.art-velvet {
  background:
    radial-gradient(circle at 74% 24%, #ffb55a 0 8%, transparent 8.4%),
    linear-gradient(128deg, #5d113f, #c4205d 45%, #7f315b);
}

.velvet-sun {
  position: absolute;
  top: 2.8rem;
  right: 8%;
  width: 7.5rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #ffd486;
  box-shadow: 0 0 0 0.4rem rgba(255, 210, 134, 0.14);
}

.velvet-ribbon {
  position: absolute;
  width: 120%;
  height: 30%;
  border-radius: 45% 55% 55% 45%;
  background: linear-gradient(90deg, rgba(30, 2, 29, 0.05), rgba(249, 113, 169, 0.75), rgba(30, 2, 29, 0.2));
  filter: blur(1px);
}

.ribbon-one {
  top: 24%;
  left: -18%;
  transform: rotate(-21deg);
}

.ribbon-two {
  top: 48%;
  left: 14%;
  height: 22%;
  background: linear-gradient(90deg, #ffb55a, #fa6994 55%, #78123e);
  transform: rotate(17deg);
}

.velvet-word {
  position: absolute;
  bottom: 1.2rem;
  left: 1.1rem;
  display: grid;
  grid-template-columns: max-content;
  gap: 0.05em;
  color: #fff7e7;
  font-family: var(--serif);
  font-size: clamp(2.2rem, 8.5cqi, 3.5rem);
  font-style: italic;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 0.92;
}

.velvet-word span {
  display: block;
}

.art-creator {
  background:
    radial-gradient(circle at 83% 20%, rgba(216, 255, 83, 0.72), transparent 9%),
    linear-gradient(135deg, #0c2733, #104d58 48%, #1a6a63);
}

.creator-sidebar {
  position: absolute;
  top: 17%;
  bottom: 10%;
  left: 8%;
  display: grid;
  width: 2.4rem;
  align-content: start;
  gap: 0.65rem;
  padding: 0.75rem;
  border-radius: 0.65rem 0 0 0.65rem;
  background: rgba(4, 24, 28, 0.72);
}

.creator-sidebar i {
  display: block;
  width: 0.75rem;
  height: 0.18rem;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.5);
}

.creator-sidebar i:nth-child(2) {
  width: 1rem;
  background: var(--acid);
}

.creator-window {
  position: absolute;
  top: 18%;
  right: 8%;
  bottom: 11%;
  left: calc(8% + 2.4rem);
  padding: clamp(0.95rem, 3.7cqi, 1.3rem);
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 0 0.65rem 0.65rem 0;
  background: rgba(5, 33, 38, 0.78);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

.creator-window-head {
  display: flex;
  gap: 0.25rem;
  margin-bottom: clamp(0.85rem, 4.8cqi, 1.35rem);
}

.creator-window-head b {
  width: 0.32rem;
  height: 0.32rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.52);
}

.creator-window strong {
  display: grid;
  grid-template-columns: max-content;
  gap: 0.055em;
  color: #f5fee0;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 7.3cqi, 2.7rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 0.94;
}

.creator-window strong span {
  display: block;
}

.creator-chart {
  position: absolute;
  right: 1.2rem;
  bottom: 0.85rem;
  left: 1.2rem;
  display: flex;
  align-items: end;
  justify-content: space-between;
  height: 27%;
  gap: 0.4rem;
}

.creator-chart i {
  width: 100%;
  border-radius: 999px 999px 0 0;
  background: linear-gradient(#d8ff53, #72b66e);
}

.creator-chart i:nth-child(1) { height: 27%; }
.creator-chart i:nth-child(2) { height: 50%; }
.creator-chart i:nth-child(3) { height: 37%; }
.creator-chart i:nth-child(4) { height: 72%; }
.creator-chart i:nth-child(5) { height: 63%; }
.creator-chart i:nth-child(6) { height: 96%; }

.creator-orb {
  position: absolute;
  right: -3.2rem;
  bottom: -3.2rem;
  width: 9.2rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from 220deg, #c2ff59, #7cdebe, #c2ff59);
  box-shadow: 0 0 0 0.5rem rgba(216, 255, 83, 0.1);
}

.art-moonbeam {
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 224, 170, 0.86), transparent 8%),
    linear-gradient(135deg, #8c5f70, #cf9c80 45%, #e4c6a2);
}

.moonbeam-moon {
  position: absolute;
  top: 2.2rem;
  right: 9%;
  width: clamp(6.25rem, 27cqi, 8.25rem);
  aspect-ratio: 1;
  border-radius: 50%;
  background: #fff1c3;
  box-shadow: -1.25rem 0 0 #b77575;
}

.moonbeam-card {
  position: absolute;
  border: 1px solid rgba(91, 43, 47, 0.23);
  background: rgba(255, 242, 216, 0.49);
  box-shadow: 0 14px 23px rgba(64, 27, 31, 0.2);
}

.card-a {
  right: 8%;
  bottom: 0.9rem;
  width: 32%;
  height: 36%;
  border-radius: 0.8rem;
  transform: rotate(8deg);
}

.card-b {
  bottom: 1.1rem;
  left: 13%;
  width: 42%;
  height: 30%;
  border-radius: 3rem 3rem 0.7rem 0.7rem;
  transform: rotate(-12deg);
}

.moonbeam-type {
  position: absolute;
  z-index: 2;
  top: 29%;
  left: 1.15rem;
  display: grid;
  grid-template-columns: max-content;
  gap: 0.055em;
  max-width: 60%;
  color: #4a2632;
  font-family: var(--serif);
  font-size: clamp(2.05rem, 7.6cqi, 3.15rem);
  font-style: italic;
  font-weight: 600;
  letter-spacing: -0.04em;
  line-height: 0.94;
}

.moonbeam-type span {
  display: block;
}

.art-nova {
  background: #10152c;
}

.nova-gradient {
  position: absolute;
  inset: -25%;
  background: conic-gradient(from 240deg, #1e4cc8, #832dc9, #fa5a75, #ffbd45, #1e4cc8);
  filter: blur(28px);
  opacity: 0.82;
}

.nova-disc {
  position: absolute;
  top: 14%;
  right: 7%;
  width: 9rem;
  aspect-ratio: 1;
  border: 1rem solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  box-shadow: 0 0 0 0.25rem rgba(255, 255, 255, 0.2);
}

.nova-word {
  position: absolute;
  z-index: 3;
  bottom: 0.85rem;
  left: 1rem;
  color: #fff;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  font-size: clamp(3.2rem, 12.6cqi, 5.4rem);
  font-style: italic;
  letter-spacing: -0.085em;
  line-height: 0.84;
}

.nova-wave {
  position: absolute;
  z-index: 4;
  top: 40%;
  right: 7%;
  left: 8%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  height: 25%;
}

.nova-wave i {
  display: block;
  width: 100%;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
}

.nova-wave i:nth-child(1), .nova-wave i:nth-child(9) { height: 22%; }
.nova-wave i:nth-child(2), .nova-wave i:nth-child(8) { height: 48%; }
.nova-wave i:nth-child(3), .nova-wave i:nth-child(7) { height: 76%; }
.nova-wave i:nth-child(4), .nova-wave i:nth-child(6) { height: 55%; }
.nova-wave i:nth-child(5) { height: 100%; }

.art-common {
  background:
    linear-gradient(125deg, transparent 50%, rgba(80, 56, 40, 0.08) 50.5%),
    #ded2b6;
}

.common-word {
  position: absolute;
  z-index: 3;
  top: 1.95rem;
  left: 1.1rem;
  color: #22211e;
  font-family: var(--serif);
  font-size: clamp(2.1rem, 8cqi, 3.25rem);
  letter-spacing: -0.075em;
  line-height: 0.82;
}

.common-product {
  position: absolute;
  bottom: -0.6rem;
  border: 1px solid rgba(43, 38, 31, 0.16);
  box-shadow: 0 12px 16px rgba(42, 35, 25, 0.15);
}

.product-a {
  left: 12%;
  width: 28%;
  height: 43%;
  border-radius: 1rem 1rem 0.2rem 0.2rem;
  background: #9a866d;
}

.product-a::before {
  position: absolute;
  top: -1.25rem;
  left: 30%;
  width: 40%;
  height: 1.25rem;
  border-radius: 0.3rem 0.3rem 0 0;
  content: "";
  background: #655849;
}

.product-b {
  left: 44%;
  width: 27%;
  height: 55%;
  border-radius: 50% 50% 0.3rem 0.3rem;
  background: #d8734f;
}

.product-c {
  right: 9%;
  width: 18%;
  height: 34%;
  border-radius: 0.2rem;
  background:
    linear-gradient(45deg, transparent 43%, rgba(255,255,255,0.3) 44% 56%, transparent 57%),
    #78947d;
}

.art-common .art-label {
  color: rgba(34, 33, 30, 0.65);
}

.art-pulse {
  background:
    radial-gradient(circle at 84% 18%, rgba(116, 214, 255, 0.44), transparent 16%),
    linear-gradient(135deg, #141a3d, #263368 49%, #7557bc);
}

.pulse-panel {
  position: absolute;
  top: 15%;
  right: 8%;
  bottom: 10%;
  left: 8%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.7rem;
  background: rgba(12, 16, 40, 0.78);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.24);
}

.pulse-avatars {
  display: flex;
  gap: 0.35rem;
  padding: 0.7rem 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pulse-avatars i {
  display: block;
  width: 0.8rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #93ffdd;
}

.pulse-avatars i:nth-child(2) { background: #ffcc74; }
.pulse-avatars i:nth-child(3) { background: #b999ff; }

.pulse-bubble {
  position: absolute;
  max-width: 68%;
  padding: 0.5rem 0.65rem;
  border-radius: 0.6rem;
  color: #eff1ff;
  font-size: 0.57rem;
  font-weight: 700;
}

.bubble-a {
  top: 38%;
  left: 12%;
  border-radius: 0.15rem 0.6rem 0.6rem;
  background: #5169c9;
}

.bubble-b {
  top: 58%;
  right: 12%;
  border-radius: 0.6rem 0.15rem 0.6rem 0.6rem;
  background: #7c50b5;
}

.pulse-input {
  position: absolute;
  right: 9%;
  bottom: 9%;
  left: 9%;
  height: 1.3rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0.3rem;
}

.pulse-word {
  position: absolute;
  z-index: 3;
  right: 1rem;
  bottom: 0.85rem;
  color: #eef0ff;
  font-family: var(--serif);
  font-size: clamp(2.8rem, 10.5cqi, 4.45rem);
  font-style: italic;
  letter-spacing: -0.09em;
  line-height: 0.85;
}

.art-pagecraft {
  background:
    radial-gradient(circle at 88% 12%, rgba(247, 214, 129, 0.95), transparent 9%),
    #ece6db;
}

.pagecraft-doc {
  position: absolute;
  top: 17%;
  right: 11%;
  bottom: 8%;
  left: 11%;
  padding: 1.2rem;
  background: #fcfaf4;
  box-shadow: 0 16px 26px rgba(69, 59, 45, 0.17);
  transform: rotate(-3deg);
}

.pagecraft-doc > i {
  display: block;
  width: 55%;
  height: 0.22rem;
  margin-bottom: 0.35rem;
  border-radius: 999px;
  background: #9b968c;
}

.pagecraft-doc > i:nth-child(2) { width: 84%; }
.pagecraft-doc > i:nth-child(3) { width: 70%; }
.pagecraft-doc > i:nth-child(4) { width: 77%; }
.pagecraft-doc > i:nth-child(5) { width: 48%; }

.pagecraft-chart {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  display: flex;
  align-items: end;
  gap: 0.3rem;
  height: 34%;
  padding: 0.35rem;
  border-bottom: 1px solid #c7bfae;
  background: #f0ede5;
}

.pagecraft-chart b {
  display: block;
  width: 100%;
  border-radius: 0.1rem 0.1rem 0 0;
  background: #2e6e86;
}

.pagecraft-chart b:nth-child(1) { height: 35%; }
.pagecraft-chart b:nth-child(2) { height: 50%; }
.pagecraft-chart b:nth-child(3) { height: 41%; }
.pagecraft-chart b:nth-child(4) { height: 82%; }
.pagecraft-chart b:nth-child(5) { height: 66%; }

.pagecraft-doc em {
  position: absolute;
  top: 19%;
  right: -0.9rem;
  padding: 0.25rem 0.4rem;
  color: #653919;
  background: #ffd881;
  font-family: var(--sans);
  font-size: 0.52rem;
  font-style: normal;
  font-weight: 800;
  transform: rotate(4deg);
}

.pagecraft-word {
  position: absolute;
  z-index: 4;
  right: 1rem;
  bottom: 0.8rem;
  color: #282622;
  font-family: var(--serif);
  font-size: clamp(2.25rem, 8.5cqi, 3.4rem);
  font-style: italic;
  letter-spacing: -0.09em;
  line-height: 0.9;
}

@media (max-width: 1120px) {
  .portfolio-layout {
    grid-template-columns: minmax(0, 1fr) 17rem;
    gap: 1.4rem;
  }

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

  .project-card {
    grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1fr);
  }

  .project-art {
    min-height: 100%;
  }

  .project-details > p {
    min-height: 0;
  }

  .promo-card {
    top: 6.4rem;
  }
}

@media (max-width: 820px) {
  .site-header {
    width: 100%;
    min-height: 4.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
  }

  .header-status {
    display: none;
  }

  .section-shell,
  .site-footer {
    width: min(100% - 2rem, 1380px);
  }

  .hero {
    grid-template-columns: 1fr;
    gap: 2rem;
    min-height: auto;
    padding-top: 4.25rem;
    padding-bottom: 4rem;
  }

  .hero-orbit {
    width: min(100%, 27rem);
  }

  .section-heading,
  .about-layout {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .section-heading > p {
    max-width: 36rem;
  }

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

  .promo-rail {
    order: -1;
  }

  .promo-card {
    position: relative;
    top: auto;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(12rem, 15rem);
    column-gap: 1rem;
    align-items: start;
  }

  .promo-heading,
  .promo-caption,
  .promo-timeline,
  .promo-link {
    grid-column: 1;
  }

  .video-stage {
    grid-column: 2;
    grid-row: 1 / span 4;
  }

  .promo-heading h2 {
    margin-bottom: 0;
  }

  .promo-caption {
    min-height: 0;
  }

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

  .capability-grid article {
    min-height: 0;
  }

  .capability-number {
    margin-bottom: 2rem;
  }
}

@media (max-width: 580px) {
  .site-nav {
    gap: 0.7rem;
    font-size: 0.72rem;
  }

  .brand {
    gap: 0.45rem;
    font-size: 0.78rem;
  }

  .brand-mark {
    width: 1.85rem;
    height: 1.85rem;
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 4.8rem);
  }

  .hero-intro {
    font-size: 1rem;
  }

  .hero-orbit > p {
    right: 0;
    bottom: 6%;
  }

  .filter-label {
    width: 100%;
    padding-bottom: 0.25rem;
  }

  .filter-button {
    flex: 1 1 auto;
  }

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

  .project-art {
    min-height: 15.25rem;
  }

  .project-details {
    padding: 1rem;
  }

  .project-actions {
    gap: 0.35rem;
  }

  .project-link {
    flex: 1 1 auto;
  }

  .promo-card {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .promo-heading,
  .promo-caption,
  .promo-timeline,
  .promo-link,
  .video-stage {
    grid-column: 1;
    grid-row: auto;
  }

  .video-stage {
    width: min(100%, 16rem);
    margin: 0.2rem auto 0.8rem;
  }

  .about-section,
  .capabilities-section,
  .work-section {
    padding-top: 4.25rem;
    padding-bottom: 4.5rem;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    padding: 1.5rem 0;
  }

  .site-footer p {
    grid-column: 1 / -1;
    grid-row: 2;
    text-align: left;
  }
}

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