:root {
  --ink: #f8f6ff;
  --muted: #b6adca;
  --faint: #817996;
  --background: #08060f;
  --background-soft: #0d0916;
  --surface: rgba(22, 14, 36, 0.72);
  --surface-solid: #151023;
  --surface-raised: #20153a;
  --line: rgba(216, 180, 254, 0.16);
  --line-bright: rgba(216, 180, 254, 0.38);
  --violet: #9f6cff;
  --violet-bright: #c084fc;
  --cyan: #64e9ff;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --header-height: 84px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--background);
}

* {
  box-sizing: border-box;
}

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

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background: var(--background);
  color: var(--ink);
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

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

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

.skip-link {
  position: fixed;
  z-index: 20;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  transform: translateY(-160%);
  border: 1px solid var(--cyan);
  border-radius: 999px;
  background: var(--background);
  color: var(--ink);
  transition: transform 160ms ease;
}

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

.site-shell {
  position: relative;
  isolation: isolate;
  overflow: clip;
  min-height: 100vh;
  background:
    radial-gradient(circle at 78% 6%, rgba(124, 58, 237, 0.16), transparent 28rem),
    radial-gradient(circle at 14% 55%, rgba(81, 32, 145, 0.15), transparent 38rem),
    var(--background);
}

.noise {
  position: fixed;
  z-index: -1;
  inset: 0;
  pointer-events: none;
  opacity: 0.11;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.aurora {
  position: absolute;
  z-index: -1;
  width: min(58vw, 780px);
  height: min(58vw, 780px);
  border-radius: 50%;
  filter: blur(8px);
  opacity: 0.48;
  pointer-events: none;
  animation: float-aurora 18s ease-in-out infinite alternate;
}

.aurora-one {
  top: 240px;
  right: -24vw;
  background: radial-gradient(circle, rgba(157, 92, 255, 0.21), transparent 64%);
}

.aurora-two {
  top: 1060px;
  left: -28vw;
  background: radial-gradient(circle, rgba(89, 48, 170, 0.18), transparent 62%);
  animation-delay: -9s;
}

.section-wrap {
  width: min(100% - 48px, 1240px);
  margin-inline: auto;
}

.site-header {
  position: sticky;
  z-index: 10;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100% - 48px, 1240px);
  min-height: var(--header-height);
  margin-inline: auto;
  border-bottom: 1px solid transparent;
  transition: min-height 220ms ease, background-color 220ms ease, border-color 220ms ease;
}

.site-header::before {
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: -32px;
  right: -32px;
  content: "";
  opacity: 0;
  border-bottom: 1px solid var(--line);
  background: rgba(8, 6, 15, 0.74);
  backdrop-filter: blur(16px);
  transition: opacity 220ms ease;
}

.site-header.is-scrolled {
  min-height: 66px;
}

.site-header.is-scrolled::before {
  opacity: 1;
}

.admin-bar .site-header {
  top: 32px;
}

.brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
  font-size: 1rem;
  font-weight: 750;
  letter-spacing: -0.035em;
  white-space: nowrap;
}

.brand-mark {
  display: inline-grid;
  width: 31px;
  height: 31px;
  place-items: center;
  clip-path: polygon(50% 0, 100% 27%, 82% 100%, 18% 100%, 0 27%);
  background: linear-gradient(135deg, #d9b7ff, #7c3aed 56%, #43217d);
  color: #120a20;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  font-weight: 800;
  letter-spacing: -0.12em;
  box-shadow: 0 0 26px rgba(165, 105, 255, 0.48);
}

.brand-name {
  overflow: hidden;
  text-overflow: ellipsis;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: clamp(20px, 2.7vw, 38px);
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 600;
}

.primary-navigation > a {
  position: relative;
  padding-block: 9px;
  transition: color 160ms ease;
}

.primary-navigation > a:not(.nav-external)::after {
  position: absolute;
  right: 0;
  bottom: 3px;
  left: 0;
  height: 1px;
  content: "";
  transform: scaleX(0);
  transform-origin: right;
  background: var(--violet-bright);
  transition: transform 180ms ease;
}

.primary-navigation > a:hover,
.primary-navigation > a:focus-visible {
  color: var(--ink);
}

.primary-navigation > a:hover::after,
.primary-navigation > a:focus-visible::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-external {
  padding: 9px 13px !important;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(192, 132, 252, 0.04);
  color: var(--ink) !important;
}

.nav-external:hover {
  border-color: var(--line-bright);
  background: rgba(192, 132, 252, 0.12);
}

.nav-toggle {
  display: none;
  width: 43px;
  height: 43px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(22, 14, 36, 0.76);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 17px;
  height: 1px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(390px, 0.92fr);
  align-items: center;
  gap: clamp(36px, 7vw, 112px);
  min-height: min(790px, calc(100vh - var(--header-height)));
  padding-block: clamp(72px, 9vw, 126px) clamp(86px, 10vw, 144px);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin: 0 0 18px;
  color: var(--violet-bright);
  font-size: 0.73rem;
  font-weight: 780;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.pulse-dot,
.status-dot {
  display: inline-block;
  flex: 0 0 auto;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 0 0 rgba(100, 233, 255, 0.4);
  animation: pulse 2.2s ease-out infinite;
}

.hero h1,
.section-heading h2,
.about-panel h2,
.contact-section h2 {
  max-width: 13ch;
  margin: 0;
  font-size: clamp(3.5rem, 7.1vw, 7.2rem);
  font-weight: 780;
  letter-spacing: -0.078em;
  line-height: 0.91;
}

.hero h1 em,
.contact-section h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.hero-intro {
  max-width: 590px;
  margin: 31px 0 0;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.45vw, 1.25rem);
  line-height: 1.62;
}

.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 35px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 50px;
  padding: 12px 19px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.89rem;
  font-weight: 750;
  transition: transform 180ms ease, border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

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

.button-primary {
  background: linear-gradient(135deg, #a66bff, #7c3aed);
  box-shadow: 0 12px 30px rgba(124, 58, 237, 0.3);
  color: #fff;
}

.button-primary:hover {
  box-shadow: 0 18px 38px rgba(151, 93, 255, 0.45);
}

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

.button-quiet:hover {
  border-color: var(--line-bright);
  background: rgba(192, 132, 252, 0.09);
}

.hero-art {
  position: relative;
  min-height: 520px;
  aspect-ratio: 0.88;
  border: 1px solid var(--line);
  border-radius: 28px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 45%, rgba(183, 130, 255, 0.15), transparent 30%),
    linear-gradient(146deg, rgba(48, 22, 80, 0.84), rgba(12, 8, 21, 0.76));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
}

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

.hero-art::before {
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent 24%, transparent 76%, rgba(154, 104, 246, 0.12));
}

.hero-art::after {
  right: 0;
  bottom: 0;
  width: 62%;
  height: 62%;
  background: radial-gradient(circle at 100% 100%, rgba(100, 233, 255, 0.12), transparent 68%);
}

.hero-art-grid {
  position: absolute;
  z-index: 1;
  inset: 0;
  opacity: 0.28;
  background-image: linear-gradient(rgba(216, 180, 254, 0.13) 1px, transparent 1px), linear-gradient(90deg, rgba(216, 180, 254, 0.13) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, transparent, #000 15%, #000 82%, transparent);
}

.hero-character {
  position: absolute;
  z-index: 0;
  top: 50%;
  left: 51%;
  width: 96%;
  height: 96%;
  object-fit: cover;
  object-position: 49% 35%;
  opacity: 0.82;
  transform: translate(-50%, -50%) scale(1.05);
  filter: saturate(0.72) hue-rotate(11deg) contrast(1.08) brightness(0.83);
  mask-image: radial-gradient(circle at 50% 48%, #000 30%, rgba(0, 0, 0, 0.8) 55%, transparent 74%);
  animation: character-drift 12s ease-in-out infinite alternate;
}

.hero-orbit {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 51%;
  border: 1px solid rgba(227, 204, 255, 0.28);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotate(-26deg);
}

.orbit-large {
  width: 92%;
  aspect-ratio: 2.8;
  box-shadow: 0 0 26px rgba(191, 133, 255, 0.12);
  animation: orbit-tilt 13s ease-in-out infinite alternate;
}

.orbit-small {
  width: 61%;
  aspect-ratio: 2.4;
  border-color: rgba(100, 233, 255, 0.3);
  transform: translate(-50%, -50%) rotate(56deg);
  animation: orbit-tilt-reverse 11s ease-in-out infinite alternate;
}

.hero-card {
  position: absolute;
  z-index: 3;
  border: 1px solid rgba(222, 196, 255, 0.2);
  border-radius: 15px;
  background: rgba(13, 9, 22, 0.58);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.24), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(12px);
}

.hero-card-top {
  top: 9%;
  right: 8%;
  width: min(60%, 250px);
  padding: 17px 18px 19px;
}

.hero-card-top .card-label {
  display: block;
  margin-bottom: 9px;
  color: var(--violet-bright);
  font-size: 0.61rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero-card-top strong {
  font-size: clamp(0.92rem, 1.4vw, 1.12rem);
  line-height: 1.25;
}

.hero-card-bottom {
  bottom: 8%;
  left: 8%;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 14px;
  color: var(--muted);
  font-size: clamp(0.68rem, 1vw, 0.78rem);
  font-weight: 640;
}

.hero-card-bottom .status-dot {
  width: 7px;
  height: 7px;
}

.hero-index {
  position: absolute;
  z-index: 3;
  right: 8%;
  bottom: 7%;
  margin: 0;
  color: rgba(247, 244, 255, 0.45);
  font-size: 0.71rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.work-section {
  padding-block: 58px clamp(100px, 11vw, 158px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.56fr);
  align-items: end;
  gap: 40px;
  margin-bottom: clamp(38px, 6vw, 70px);
}

.section-heading h2,
.about-panel h2,
.contact-section h2 {
  max-width: 12ch;
  font-size: clamp(2.6rem, 5.2vw, 5.3rem);
}

.section-heading > p {
  max-width: 390px;
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.62;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.1vw, 28px);
}

.project-card {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(146deg, rgba(29, 20, 49, 0.84), rgba(12, 9, 20, 0.92));
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 260ms ease, border-color 260ms ease, box-shadow 260ms ease;
}

.project-card:hover,
.project-card:focus-within {
  z-index: 1;
  transform: translateY(-6px);
  border-color: rgba(216, 180, 254, 0.5);
  box-shadow: 0 24px 44px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(172, 115, 255, 0.11), inset 0 1px rgba(255, 255, 255, 0.08);
}

.project-card-wide {
  grid-row: span 2;
}

.project-card-feature {
  grid-column: span 2;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 1.08fr);
}

.project-media {
  position: relative;
  display: block;
  min-height: 227px;
  overflow: hidden;
  background: #1a1030;
}

.project-card-wide .project-media {
  min-height: 365px;
}

.project-card-feature .project-media {
  min-height: 100%;
}

.project-media:not(.project-media-collage) img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  filter: saturate(0.82) brightness(0.7) contrast(1.06);
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.project-card:hover .project-media:not(.project-media-collage) img,
.project-card:focus-within .project-media:not(.project-media-collage) img {
  transform: scale(1.06);
  filter: saturate(1) brightness(0.82) contrast(1.04);
}

.media-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 5, 14, 0.04), rgba(8, 5, 14, 0.64));
  pointer-events: none;
}

.project-media-collage {
  isolation: isolate;
  background:
    radial-gradient(circle at 48% 50%, rgba(151, 93, 255, 0.32), transparent 42%),
    #10091e;
}

.project-media-collage .collage-main,
.project-media-collage .collage-side {
  position: absolute;
  display: block;
  border: 1px solid rgba(241, 231, 255, 0.15);
  object-fit: cover;
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.32);
  transition: transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1), filter 300ms ease;
}

.project-media-collage .collage-main {
  z-index: 1;
  top: 8%;
  left: 8%;
  width: 54%;
  height: 84%;
  border-radius: 10px;
  filter: saturate(0.84) contrast(1.1);
  transform: rotate(-4deg);
}

.project-media-collage .collage-side {
  right: 7%;
  width: 41%;
  height: 39%;
  border-radius: 8px;
  filter: saturate(0.7) brightness(0.72) contrast(1.06);
}

.project-media-collage .collage-side-top {
  top: 8%;
  transform: rotate(4deg);
}

.project-media-collage .collage-side-bottom {
  bottom: 8%;
  transform: rotate(3deg);
}

.project-card:hover .project-media-collage .collage-main,
.project-card:focus-within .project-media-collage .collage-main {
  transform: rotate(-4deg) scale(1.035);
  filter: saturate(0.98) contrast(1.08);
}

.project-card:hover .project-media-collage .collage-side-top,
.project-card:focus-within .project-media-collage .collage-side-top {
  transform: rotate(6deg) translateY(-4px);
}

.project-card:hover .project-media-collage .collage-side-bottom,
.project-card:focus-within .project-media-collage .collage-side-bottom {
  transform: rotate(1deg) translateY(4px);
}

.project-arrow {
  position: absolute;
  top: 17px;
  right: 17px;
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
  background: rgba(14, 8, 24, 0.35);
  color: var(--ink);
  font-size: 1.05rem;
  opacity: 0.82;
  transform: translate(-4px, 4px);
  transition: transform 220ms ease, background-color 220ms ease, opacity 220ms ease;
}

.project-card:hover .project-arrow,
.project-card:focus-within .project-arrow {
  opacity: 1;
  transform: translate(0, 0);
  background: var(--violet);
}

.project-content {
  display: flex;
  flex: 1;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(22px, 3vw, 33px);
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  margin-bottom: 20px;
  color: var(--violet-bright);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.09em;
  line-height: 1.3;
  text-transform: uppercase;
}

.project-meta span + span::before {
  margin-right: 10px;
  color: rgba(192, 132, 252, 0.52);
  content: "·";
}

.project-content h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.35vw, 2.25rem);
  font-weight: 740;
  letter-spacing: -0.055em;
  line-height: 1;
}

.project-content p {
  max-width: 36ch;
  margin: 15px 0 26px;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: auto;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 760;
}

.text-link span {
  color: var(--violet-bright);
  transition: transform 160ms ease;
}

.text-link:hover span,
.text-link:focus-visible span {
  transform: translateX(4px);
}

.about-section {
  padding-bottom: clamp(105px, 14vw, 180px);
}

.about-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(280px, 0.65fr);
  gap: 48px clamp(45px, 9vw, 140px);
  padding: clamp(36px, 6vw, 76px);
  border: 1px solid var(--line);
  border-radius: 26px;
  background:
    linear-gradient(110deg, rgba(69, 33, 113, 0.39), rgba(15, 10, 25, 0.64) 58%),
    var(--surface);
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.04);
}

.about-panel .eyebrow,
.about-panel h2 {
  grid-column: 1;
}

.about-panel .eyebrow {
  align-self: end;
  margin-bottom: -27px;
}

.about-panel > p {
  grid-column: 2;
  grid-row: 1 / span 2;
  align-self: center;
  margin: 0;
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.65;
}

.capability-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.capability-list li {
  min-height: 100px;
  padding: 16px;
  border: 1px solid rgba(216, 180, 254, 0.1);
  border-radius: 13px;
  background: rgba(7, 5, 12, 0.2);
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 650;
  line-height: 1.35;
}

.capability-list span {
  display: block;
  margin-bottom: 19px;
  color: var(--violet-bright);
  font-size: 0.66rem;
  letter-spacing: 0.1em;
}

.contact-section {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  padding-block: 78px;
  border-top: 1px solid var(--line);
  overflow: hidden;
}

.contact-section h2 {
  position: relative;
  z-index: 1;
}

.contact-section .button {
  position: relative;
  z-index: 1;
  flex: 0 0 auto;
}

.contact-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  width: min(62vw, 830px);
  aspect-ratio: 1;
  transform: translate(-10%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(164, 103, 255, 0.26), rgba(91, 37, 165, 0.11) 38%, transparent 68%);
  filter: blur(1px);
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 112px;
  padding-block: 30px;
  border-top: 1px solid var(--line);
  color: var(--faint);
  font-size: 0.8rem;
}

.site-footer .brand {
  color: var(--ink);
}

.site-footer .brand-mark {
  width: 23px;
  height: 23px;
  font-size: 0.78rem;
}

.site-footer p {
  margin: 0;
}

.site-footer > a:last-child {
  color: var(--muted);
}

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

.site-main {
  min-height: 55vh;
}

/* The homepage is a compositional canvas, not prose. Its post-content block
   must opt out of theme.json's 760px reading-width constraint. */
.site-main--fullbleed,
.site-main--fullbleed > .wp-block-post-content {
  width: 100%;
  max-width: none;
  margin-inline: 0;
}

.standard-page {
  width: min(100% - 48px, 760px);
  margin-inline: auto;
  padding-block: clamp(72px, 10vw, 136px);
}

.standard-page .page-title,
.standard-page > .wp-block-post-title,
.standard-page h1 {
  max-width: 14ch;
  margin: 0 0 28px;
  font-size: clamp(2.75rem, 6vw, 5.5rem);
  font-weight: 780;
  letter-spacing: -0.07em;
  line-height: 0.95;
}

.standard-page .post-date {
  margin: -12px 0 35px;
  color: var(--violet-bright);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.standard-page .wp-block-post-content > * + * {
  margin-top: 1.3rem;
}

.standard-page .wp-block-post-content a {
  color: var(--violet-bright);
  text-decoration-color: rgba(192, 132, 252, 0.4);
  text-underline-offset: 0.18em;
}

.post-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--surface);
}

.post-card + .post-card {
  margin-top: 18px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 560ms ease, transform 560ms cubic-bezier(0.2, 0.8, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes float-aurora {
  from { transform: translate3d(-2%, -3%, 0) scale(0.96); }
  to { transform: translate3d(7%, 6%, 0) scale(1.09); }
}

@keyframes character-drift {
  from { transform: translate(-53%, -52%) scale(1.02); }
  to { transform: translate(-47%, -48%) scale(1.08); }
}

@keyframes orbit-tilt {
  from { transform: translate(-50%, -50%) rotate(-32deg) scale(0.96); }
  to { transform: translate(-50%, -50%) rotate(-19deg) scale(1.04); }
}

@keyframes orbit-tilt-reverse {
  from { transform: translate(-50%, -50%) rotate(51deg) scale(1.03); }
  to { transform: translate(-50%, -50%) rotate(64deg) scale(0.94); }
}

@keyframes pulse {
  0%, 78% { box-shadow: 0 0 0 0 rgba(100, 233, 255, 0.38); }
  100% { box-shadow: 0 0 0 11px rgba(100, 233, 255, 0); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(320px, 0.78fr);
    gap: 42px;
  }

  .hero-art {
    min-height: 440px;
  }

  .about-panel {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 0.62fr);
  }

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

@media (max-width: 760px) {
  :root {
    --header-height: 73px;
  }

  .section-wrap,
  .site-header {
    width: min(100% - 32px, 1240px);
  }

  .site-header::before {
    right: -16px;
    left: -16px;
  }

  .js-enabled .primary-navigation {
    position: absolute;
    top: calc(100% - 2px);
    right: 0;
    left: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 15px;
    background: rgba(13, 9, 22, 0.96);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-7px) scale(0.98);
    transform-origin: top;
    transition: opacity 180ms ease, transform 180ms ease;
  }

  .js-enabled .site-header.is-nav-open .primary-navigation {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0) scale(1);
  }

  .primary-navigation > a {
    padding: 13px 12px;
    border-radius: 9px;
  }

  .primary-navigation > a:not(.nav-external)::after {
    display: none;
  }

  .nav-external {
    margin-top: 4px;
  }

  .js-enabled .nav-toggle {
    display: block;
  }

  .js-enabled .site-header.is-nav-open .nav-toggle > span:first-of-type {
    transform: translateY(2.5px) rotate(45deg);
  }

  .js-enabled .site-header.is-nav-open .nav-toggle > span:last-of-type {
    transform: translateY(-2.5px) rotate(-45deg);
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 58px 88px;
  }

  .hero h1,
  .section-heading h2,
  .about-panel h2,
  .contact-section h2 {
    max-width: 11ch;
  }

  .hero-art {
    min-height: auto;
    aspect-ratio: 1.08;
  }

  .hero-card-top {
    width: 58%;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 22px;
  }

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

  .project-card-wide,
  .project-card-feature {
    grid-row: auto;
    grid-column: auto;
  }

  .project-card-wide .project-media,
  .project-card-feature .project-media {
    min-height: 228px;
  }

  .about-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .about-panel .eyebrow,
  .about-panel h2,
  .about-panel > p,
  .capability-list {
    grid-column: 1;
    grid-row: auto;
  }

  .about-panel .eyebrow {
    margin-bottom: -14px;
  }

  .contact-section {
    display: grid;
    padding-block: 70px;
  }

  .contact-orb {
    left: 75%;
    width: 500px;
  }

  .site-footer {
    grid-template-columns: 1fr auto;
    gap: 16px;
  }

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

  .admin-bar .site-header {
    top: 46px;
  }
}

@media (max-width: 430px) {
  .section-wrap,
  .site-header {
    width: min(100% - 28px, 1240px);
  }

  .standard-page {
    width: min(100% - 28px, 760px);
  }

  .brand {
    gap: 9px;
    font-size: 0.96rem;
  }

  .brand-mark {
    width: 28px;
    height: 28px;
  }

  .hero {
    padding-top: 45px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.7rem, 12vw, 3.25rem);
  }

  .hero-intro {
    margin-top: 24px;
    font-size: 1rem;
  }

  .action-row {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 28px;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    border-radius: 21px;
  }

  .hero-card-top {
    top: 7%;
    right: 6%;
    width: 64%;
    padding: 13px;
  }

  .hero-card-bottom {
    bottom: 7%;
    left: 6%;
    padding: 9px 10px;
  }

  .hero-index {
    right: 6%;
    bottom: 6%;
  }

  .project-content {
    padding: 23px;
  }

  .project-meta {
    margin-bottom: 17px;
  }

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

  .capability-list li {
    min-height: 78px;
  }
}

@media (hover: none), (pointer: coarse) {
  .project-card:hover,
  .button:hover {
    transform: none;
  }

  .project-arrow {
    opacity: 1;
    transform: none;
  }
}

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

  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ---------------------------------------------------------------
   Work index — Phase 5
   --------------------------------------------------------------- */

.work-intro {
  padding-top: clamp(120px, 16vh, 200px);
}

.work-intro-copy h1 {
  max-width: 14ch;
  margin: 0 0 26px;
  font-size: clamp(3rem, 7.4vw, 6.4rem);
  font-weight: 780;
  letter-spacing: -0.078em;
  line-height: 0.92;
}

.work-intro-lead {
  max-width: 58ch;
  margin: 0 0 32px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.3vw, 1.19rem);
  line-height: 1.62;
}

.work-filter {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 clamp(24px, 3vw, 38px);
}

.work-filter[hidden] {
  display: none;
}

.work-filter-group {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.filter-chip {
  min-height: 40px;
  padding: 8px 17px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--muted);
  font: inherit;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease;
}

.filter-chip:hover {
  border-color: var(--line-bright);
  background: rgba(192, 132, 252, 0.09);
  color: var(--ink);
}

.filter-chip.is-active {
  border-color: rgba(216, 180, 254, 0.55);
  background: linear-gradient(135deg, rgba(166, 107, 255, 0.22), rgba(124, 58, 237, 0.16));
  color: var(--ink);
}

.work-filter-count {
  margin: 0;
  color: var(--muted);
  font-size: 0.82rem;
  font-variant-numeric: tabular-nums;
}

.work-grid [data-work-item][hidden] {
  display: none;
}

.project-status {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 16px;
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 650;
  letter-spacing: 0.02em;
}

.status-dot--wip {
  background: #c084fc;
  box-shadow: 0 0 0 4px rgba(192, 132, 252, 0.14);
}

.work-empty {
  margin: clamp(30px, 5vw, 56px) 0 0;
  padding: clamp(28px, 4vw, 46px);
  border: 1px dashed var(--line);
  border-radius: 20px;
  color: var(--muted);
  text-align: center;
}

.work-empty[hidden] {
  display: none;
}

.work-empty .text-link {
  border: 0;
  background: none;
  font: inherit;
  cursor: pointer;
}

@media (max-width: 900px) {
  .work-filter {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  .work-filter-group {
    flex-wrap: nowrap;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chip {
    flex: 0 0 auto;
  }
}

/* ---------------------------------------------------------------
   Full-bleed background continuity
   --------------------------------------------------------------- */

/* WordPress core applies a 24px block gap to every direct child of
   .wp-site-blocks, which opened a flat strip between the header and the
   ambient shell, and again between the shell and the footer. The header,
   shell, and footer are meant to sit on one continuous surface. */
.wp-site-blocks > * {
  margin-block-start: 0;
}

/* The ambient layer belongs to the whole document, not to .site-shell.
   Two problems came from it living on the shell:

   1. .noise is a fixed, full-viewport layer at z-index -1, so the shell's
      opaque background painted over it. The grain was hidden across the
      content and only leaked into the header and footer strips -- the exact
      inverse of the intent.
   2. The shell box starts below the header, so its radial gradients were
      clipped at that edge and the glow fell off in a hard horizontal line.

   Moving the base colour and the gradients onto <body> makes the ambient
   layer span the full document, header and footer included. The shell then
   carries no background of its own and nothing is clipped. */
body {
  background-image:
    radial-gradient(circle at 78% 6%, rgba(124, 58, 237, 0.16), rgba(0, 0, 0, 0) 448px),
    radial-gradient(circle at 14% 55%, rgba(81, 32, 145, 0.15), rgba(0, 0, 0, 0) 608px);
}

.site-shell {
  background: none;
}

/* The grain was authored at 0.11 while it was still hidden behind the shell,
   so that value had never actually been seen. Against a near-black page it
   reads as heavy sandpaper and flattens the violet. 0.03 keeps the surface
   from looking dead flat without competing with the colour. */
.noise {
  opacity: 0.03;
}
