@font-face{
  font-family:Montserrat;
  src:url("montserrat.woff2") format("woff2");
  font-weight:400 900;
  font-display:swap;
}
:root{
  --ink:#2b092b;
  --dark:#240925;
  --white:#fff9fb;
  --soft:#e8dbeb;
  --lilac:#efa3f5;
  --pink:#ffabb9;
  --max:1392px;
  --gutter:clamp(1.25rem,4.7vw,4.5rem);
  --font:Montserrat,"Arial Black",Arial,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:#250927;color:var(--white);font:500 1rem/1.5 var(--font)}
a{color:inherit}
img{max-width:100%;display:block}
:focus-visible{outline:3px solid #cf63dc;outline-offset:5px}
.screen-reader,.skip-link:not(:focus){
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.skip-link:focus{position:absolute;z-index:5;top:1rem;left:1rem;padding:.7rem 1rem;background:#2b092b;color:white}
.content-width{width:min(var(--max),calc(100% - 2 * var(--gutter)));margin-inline:auto}
.hero{
  color:var(--ink);
  min-height:clamp(290px,22.79vw,390px);
  overflow:hidden;
  isolation:isolate;
  position:relative;
  background:
    radial-gradient(ellipse at 81% 19%,#ffbad9 0%,#ffd0edce 12%,#f7d2f700 43%),
    radial-gradient(ellipse at 111% 9%,#d490f4 0%,#e4a4f900 46%),
    radial-gradient(ellipse at -17% -18%,#d5adf5 0%,#ebd1fa00 55%),
    linear-gradient(151deg,#eddbfa,#eed2f9 63%,#f6d9fc);
}
.hero-orbs,.masthead-grain{position:absolute;inset:0;z-index:-1;pointer-events:none}
.masthead-grain{mix-blend-mode:multiply;opacity:.13}
.hero-orbs i{
  position:absolute;display:block;aspect-ratio:1;border-radius:50%;
  border:1px solid #fff6ff65;
  background:linear-gradient(140deg,#aa66fa66 1%,#b879ef51 44%,#fff4ff10 75%);
}
.hero-orbs i:nth-child(1){width:25vw;min-width:175px;left:-18.3vw;top:5%}
.hero-orbs i:nth-child(2){width:25vw;min-width:175px;left:-4.8vw;top:45%}
.hero-orbs i:nth-child(3){width:29vw;min-width:190px;right:-19.7vw;top:28%}
.hero-orbs i:nth-child(4){width:32vw;min-width:200px;right:-9.7vw;top:54%}
.site-nav{display:flex;align-items:center;justify-content:space-between;padding:12px 3.65vw 0 var(--gutter);gap:1rem;max-width:1696px;margin:auto}
.site-nav nav{display:flex;align-items:center;gap:clamp(1.05rem,2.44vw,2.6rem)}
.site-nav nav a{text-decoration:none;font-weight:850;font-size:clamp(.8rem,1.3vw,1.33rem);text-transform:uppercase}
.site-nav nav a:hover{text-decoration:underline;text-underline-offset:.27em}
.brand{display:inline-flex;align-items:center;gap:.15em;font-size:clamp(1.7rem,2.46vw,2.65rem);line-height:1.25;font-weight:900;letter-spacing:-.085em;text-decoration:none}
.brand svg{fill:#923ed9;width:.68em;height:.76em}
.hero-copy{text-align:center;padding:clamp(1.6rem,2.15vw,2.55rem) var(--gutter) clamp(2.2rem,2.85vw,3.2rem)}
.hero h1{
  width:max-content;max-width:100%;margin:0 auto;
  font-size:clamp(3.8rem,9.65vw,10.2rem);
  font-weight:900;line-height:.92;letter-spacing:-.071em;
  text-transform:uppercase;
  -webkit-text-stroke:clamp(.8px,.19vw,3px) currentColor;
}
.hero-copy p{margin:.35em 0 .8em;font-size:clamp(.98rem,1.54vw,1.57rem);font-weight:650;letter-spacing:-.035em}
.line-link{display:inline-flex;align-items:center;gap:.5em;text-decoration:none;font-weight:650}
.line-link span{border-bottom:2px solid currentColor}
.line-link svg,.action svg{width:1.2em;height:1.2em;flex:none;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .2s ease}
.line-link:hover svg,.action:hover svg{transform:translateX(3px)}
.explore{font-size:clamp(.94rem,1.34vw,1.38rem);gap:.55em}
.explore span{border-color:#6d267b}
.work-surface{
  background:
    radial-gradient(ellipse at 86% 20%,#3d123c53,transparent 45%),
    radial-gradient(ellipse at 11% 0%,#3e113b55,transparent 43%),
    linear-gradient(180deg,#270a27,#260826 83%,#270929);
}
.feature{
  display:grid;
  grid-template-columns:minmax(0,.685fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(1rem,2.98vw,2.86rem);
  padding:clamp(1.35rem,1.76vw,1.78rem) clamp(.5rem,1.17vw,1.12rem) 0 clamp(.5rem,1.76vw,1.69rem);
  scroll-margin-top:1rem;
}
.feature-copy{padding-bottom:clamp(1rem,3.4vw,3.25rem)}
.eyebrow{color:var(--lilac);font-size:clamp(.81rem,1.26vw,1.21rem);font-weight:800;letter-spacing:.09em;text-transform:uppercase;margin:0 0 clamp(.9rem,1.76vw,1.7rem)}
.feature h2,.case-hero h1{font-size:clamp(2.6rem,5.73vw,5.5rem);font-weight:850;line-height:1.03;letter-spacing:-.072em;margin:0;white-space:nowrap}
.feature-deck{font-size:clamp(1rem,1.76vw,1.69rem);color:var(--soft);margin:.58em 0 1.28em;letter-spacing:-.027em;line-height:1.35}
.actions{display:flex;align-items:center;flex-wrap:wrap;gap:clamp(1rem,2.55vw,2.46rem)}
.action{
  display:inline-flex;align-items:center;justify-content:center;gap:.7em;border-radius:19px;
  background:var(--pink);color:var(--ink);font-size:clamp(.91rem,1.41vw,1.35rem);font-weight:750;
  text-decoration:none;padding:.61em 1.21em;min-height:44px;transition:background-color .2s;
}
.action:hover{background:#ffced8}
.live{font-size:clamp(.9rem,1.38vw,1.33rem)}
.feature-image{margin:0}
.feature-image img{width:100%;height:auto;border-radius:17px;filter:saturate(1.03)}
.selected{padding:clamp(.85rem,1.28vw,1.35rem) 0 3.3rem}
.selected h2{font-size:clamp(1.47rem,2.08vw,2rem);font-weight:850;line-height:1.3;text-transform:uppercase;margin:0 0 .46em .14em;letter-spacing:-.035em}
.work-grid{display:grid;grid-template-columns:1.01fr 1fr;gap:clamp(.85rem,1.05vw,1rem);align-items:start}
.project{
  --card-ink:#fff9fa;--card-fill:#231f32;--card-fade:#272338;--card-art:url("district-7.webp");
  border:1px solid #ac82ac52;border-radius:16px;overflow:hidden;min-width:0;color:var(--card-ink);background:var(--card-fill);
}
.project.sims{--card-ink:var(--ink);--card-fill:#dab2f5;--card-fade:#e0baf8;--card-art:url("sims-bot.webp")}
.selected-project-art{
  list-style:none;position:relative;isolation:isolate;display:block;min-height:clamp(148px,10.55vw,168px);
  cursor:pointer;padding:clamp(1.6rem,2.27vw,2.25rem) clamp(1rem,2.36vw,2.3rem);
}
.selected-project-art:before,.selected-project-art:after{content:"";position:absolute;inset:0;pointer-events:none}
.selected-project-art:before{z-index:-2;background:var(--card-art) right top/auto 100% no-repeat}
.selected-project-art:after{z-index:-1;background:linear-gradient(90deg,var(--card-fill) 19%,var(--card-fade) 34%,transparent 66%)}
.selected-project-link{display:block;text-decoration:none}
.selected-project-link:focus-visible{outline-offset:3px}
.selected-project-link:hover .card-title{text-decoration:underline;text-decoration-thickness:2px;text-underline-offset:5px}
.card-copy{display:grid;gap:.2em;max-width:70%}
.card-title{font-size:clamp(1.85rem,3.12vw,3rem);font-weight:850;line-height:1.1;letter-spacing:-.05em}
.card-description{font-size:clamp(.83rem,1.16vw,1.12rem);font-weight:625;line-height:1.3;letter-spacing:-.024em}
.project-details{padding:0 clamp(1rem,2.36vw,2.3rem) 1rem}
.project-details p{font-size:.9rem;margin:.1rem 0;max-width:57ch}
.more{color:var(--lilac);margin:1.5rem 0 0 .15em}
.site-footer{border-top:1px solid #725071;color:var(--soft);display:flex;justify-content:space-between;gap:1rem;flex-wrap:wrap;padding-block:1.5rem 2.15rem;font-size:.9rem}
.site-footer nav{display:flex;gap:1rem;flex-wrap:wrap}
.site-footer a,.text-link{text-underline-offset:.24em}
.case-nav{display:flex;justify-content:space-between;gap:1rem;padding:1.25rem max(5vw,calc((100vw - 1120px)/2))}
.case-hero{padding:clamp(3rem,8vw,7rem) 0;border-block:1px solid #5d3259}
.case-wrap{width:min(90%,1120px);margin:auto}
.case-hero h1{font-size:clamp(3.1rem,8.5vw,8rem);white-space:normal;overflow-wrap:anywhere}
.case-deck{font-size:clamp(1.1rem,2.3vw,2rem);font-weight:600;max-width:32ch;margin:.6em 0}
.tech{display:flex;flex-wrap:wrap;gap:.6rem;padding:0;list-style:none}
.tech li{border:1px solid #ad81a8;padding:.2rem .65rem;border-radius:16px;font-size:.86rem}
.case-content{padding:1.6rem 0 3.5rem}
.case-content section{padding:1.65rem 0;border-bottom:1px solid #71516f}
.case-content section .eyebrow{margin-bottom:.5em}
.case-content h2{margin:0 0 .35em;font-size:clamp(1.25rem,2.7vw,2.15rem)}
.case-content section p:not(.eyebrow){margin:0;max-width:85ch;color:var(--soft);line-height:1.75}
.case-content .action{margin-top:1.8rem}
.case-nav+.site-footer,body>main:not(.work-surface)+.site-footer{width:min(90%,1120px)}
@media(max-width:1000px){
  .hero-copy{padding-top:2.1rem}
  .feature{grid-template-columns:minmax(0,.78fr) minmax(0,1fr)}
  .feature-copy{padding-bottom:1rem}
  .actions{gap:.65rem 1.2rem}
  .action{border-radius:14px}
}
@media(max-width:700px){
  .hero{min-height:0}
  .site-nav{padding:12px var(--gutter) 0}
  .site-nav nav{gap:clamp(.55rem,2.4vw,1.35rem)}
  .site-nav nav a{font-size:clamp(.64rem,2.65vw,.9rem)}
  .brand{font-size:1.55rem}
  .hero-copy{padding:2.2rem var(--gutter) 2.25rem}
  .hero h1{font-size:clamp(2.2rem,10.1vw,4.4rem);letter-spacing:-.068em}
  .hero-copy p{max-width:35ch;margin:.65em auto .9em;font-size:clamp(.87rem,3.7vw,1.05rem)}
  .hero-orbs i:nth-child(1){left:-124px}
  .hero-orbs i:nth-child(2){left:-60px}
  .hero-orbs i:nth-child(3){right:-155px}
  .hero-orbs i:nth-child(4){right:-96px}
  .feature{grid-template-columns:minmax(0,1fr);gap:1.35rem;padding:1.8rem 0 0}
  .feature-copy{padding:0}
  .eyebrow{margin-bottom:.65rem}
  .feature h2{font-size:clamp(2.25rem,11.8vw,4.3rem)}
  .feature-deck{margin:.4em 0 .85em}
  .feature-image img{border-radius:11px}
  .selected{padding-top:1.35rem}
  .work-grid{grid-template-columns:minmax(0,1fr)}
  .selected-project-art{min-height:125px}
  .selected-project-art:after{background:linear-gradient(90deg,var(--card-fill) 12%,var(--card-fade) 29%,transparent 73%)}
  .wide-only{display:none}
}
@media(prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important}
}
/* Reference-matched, text-free art. The gradients and orbs above are its fallback. */
.hero{background-image:url("lavender-glow.webp"),radial-gradient(ellipse at 81% 19%,#ffbad9 0%,#ffd0edce 12%,#f7d2f700 43%),linear-gradient(151deg,#eddbfa,#eed2f9 63%,#f6d9fc);background-size:100% 100%;background-repeat:no-repeat}
.hero-orbs,.masthead-grain{display:none}
@media(max-width:700px){.hero{background-size:auto 100%,100% 100%,100% 100%;background-position:center}}
@media(min-width:1001px){
  .hero-copy{padding-top:clamp(1.6rem,1.95vw,2.25rem);padding-bottom:clamp(2rem,2.65vw,3rem)}
  .hero h1{transform:scaleX(.95);-webkit-text-stroke-width:2px}
  .hero-copy p{margin:.15em 0 .7em;font-size:clamp(.98rem,1.48vw,1.52rem);font-weight:600}
  .site-nav nav a{font-size:clamp(.8rem,1.23vw,1.31rem)}
  .explore{font-size:clamp(.94rem,1.29vw,1.36rem)}
  .feature{grid-template-columns:minmax(0,.64fr) minmax(0,1fr)}
  .feature-copy{padding-bottom:clamp(1.2rem,3.83vw,3.68rem)}
  .feature h2{font-size:clamp(2.6rem,5.60vw,5.38rem);letter-spacing:-.079em}
  .action{padding-inline:1.16em;font-size:clamp(.91rem,1.34vw,1.31rem)}
  .live{font-size:clamp(.9rem,1.34vw,1.31rem)}
}
/* Feather the edge of the artwork crops so the cards have no hard seam. */
.selected-project-art:before{
  inset-inline-start:auto;
  width:min(100%,440px);
  mask-image:linear-gradient(90deg,transparent,#000 26%);
}

.site-footer.case-study-footer {
  width: min(90%, 1120px);
  margin-inline: auto;
}

.case-content p code {
  padding: 0.12em 0.38em;
  border: 1px solid #a98cc5;
  border-radius: 5px;
  background-color: #d8bff19d;
  color: #503468;
  font-family: ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  font-weight: 600;
  white-space: nowrap;
}

.case-profile-image {
  display: block;
  width: 85%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .case-profile-image {
    width: 100%;
  }
}

.case-profile-image-sim {
  display: block;
  width: 40%;
  height: auto;
  border-radius: 12px;
}

@media (max-width: 700px) {
  .case-profile-image-sim {
    width: 100%;
  }
}

.case-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}

.case-hero .case-hero-grid h1 {
  font-size: clamp(2.75rem, 5vw, 5.25rem);
  white-space: normal;
}

.case-hero-art {
  margin: 0;
  border: 1px solid #a770a966;
  border-radius: 16px;
  overflow: hidden;
}

.case-hero-art img {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 760px) {
  .case-hero-grid {
    grid-template-columns: 1fr;
  }
}

.case-gameplay-figure {
  width: 85%;
  margin: 1.5rem auto 0;
}

.case-gameplay-figure .case-profile-image {
  width: 100%;
}

.case-gameplay-figure figcaption {
  margin-top: 0.5rem;
  text-align: right;
  color: var(--soft, #e8dbeb);
  font-size: 0.8rem;
}

@media (max-width: 700px) {
  .case-gameplay-figure {
    width: 100%;
  }
}


.project-card-media {
  position: relative;
}

.project-card-tech {
  position: absolute;
  inset: auto 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 0;
  padding: 1.75rem 0.75rem 0.7rem;
  list-style: none;
  background: linear-gradient(to top, #190d21 0%, #190d21c9 55%, transparent 100%);
  pointer-events: none;
}

.project-card-tech li {
  padding: 0.22rem 0.5rem;
  border: 1px solid #eab8f370;
  border-radius: 999px;
  background: #2b1636;
  color: #fff3ff;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.2;
  white-space: nowrap;
}


/* Remove a full-width bottom border on case-study pages only. */
main:has(.case-content),
main:has(.case-content) > article {
  border-bottom: 0!important;
}

/* Move the back arrow left on hover. */
.case-back-button:hover svg {
  transform: translateX(-3px);
}

.case-action-pair {
  display: inline-grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-top: 1.8rem;
  vertical-align: top;
}

.case-content .case-action-pair > .action {
  margin: 0;
  justify-content: center;
  text-align: center;
}

@media (max-width: 600px) {
  .case-action-pair {
    display: grid;
    grid-template-columns: 1fr;
  }
}