:root {
  --background: #09090e;
  --surface: #101017;
  --surface-soft: #13121c;
  --primary: #f5f1fb;
  --muted: #a7a2b3;
  --faint: #797483;
  --purple: #a97ae8;
  --purple-strong: #ad85f4;
  --stroke: rgba(211, 197, 235, .105);
  --wide: 1110px;
  --font: 'DM Sans', 'Segoe UI', system-ui, sans-serif;
  --heading: 'Manrope', 'Segoe UI', system-ui, sans-serif;
}
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 93px; }
body { margin: 0; background: var(--background); color: var(--primary); font: 15px/1.7 var(--font); -webkit-font-smoothing: antialiased; }
body::selection { background: #9b73d5; color: #fff; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
a:focus-visible,button:focus-visible { outline: 2px solid var(--purple); outline-offset: 5px; }
img { max-width: 100%; display: block; }
[hidden] { display: none !important; }
.container { width: min(var(--wide), calc(100% - 56px)); margin-inline: auto; }
.accent { color: var(--purple); }
.site-background { position: absolute; height: 100vh; inset: 0 0 auto; pointer-events: none; overflow: hidden; opacity: .5; z-index: 0; background: radial-gradient(ellipse 48% 54% at 50% 50%,rgba(89,46,140,.16),transparent 76%), radial-gradient(ellipse 24% 38% at 18% 44%, rgba(67,40,93,.06),transparent 85%); }
.site-background::after { content: ''; position: absolute; inset: 0; background-image: linear-gradient(to right,rgba(255,255,255,.015) 1px,transparent 1px),linear-gradient(to bottom,rgba(255,255,255,.013) 1px,transparent 1px); background-size: 99px 99px; mask-image: radial-gradient(ellipse at 50% 50%,#000 0%,transparent 75%); }
.skip { position: absolute; top: -100px; left: 1rem; background: var(--purple); color: #09070c; z-index: 99; padding: .6rem 1rem; border-radius: 4px; }
.skip:focus { top: 12px; }
.header { position: sticky; top: 0; z-index: 50; background: rgba(9,9,14,.82); border-bottom: 1px solid var(--stroke); backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); }
.nav-inner { min-height: 74px; display: flex; align-items: center; gap: 30px; }
.logo { display: inline-flex; gap: 11px; align-items: center; font: 800 19px/1 var(--heading); letter-spacing: -.055em; white-space: nowrap; }
.logo img { object-fit: cover; border-radius: 50%; filter: contrast(1.05); border: 1px solid rgba(227,221,241,.2); }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 13px; font-weight: 600; color: #96919f; transition: color .2s; }
.nav-links a:hover,.nav-links a.active { color: #f6f0ff; }
.nav-contact { display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin-left: 17px; padding: 10px 16px; border: 1px solid rgba(199,173,239,.24); border-radius: 6px; color: #e6d9fa; font-weight: 700; font-size: 12px; transition: background .2s, border-color .2s; }
.nav-contact:hover { background: rgba(181,136,234,.08); border-color: rgba(199,173,239,.55); }
.mobile-menu-toggle { border: 0; background: transparent; width: 42px; height: 42px; display: none; flex-direction: column; gap: 6px; justify-content: center; align-items: center; margin-left: auto; }
.mobile-menu-toggle span { display: block; width: 21px; height: 1.5px; background: #fff; }
.mobile-menu { border-top: 1px solid var(--stroke); padding: 12px 28px 20px; background: #0d0c14; }
.mobile-menu a { display: block; padding: 11px 0; font-weight: 600; color: #ddd5e9; border-bottom: 1px solid var(--stroke); }

.hero { position: relative; isolation: isolate; min-height: min(780px, calc(100svh - 74px)); display: flex; align-items: center; overflow: hidden; }
.hero-glow { position: absolute; inset: 0; z-index: -1; pointer-events:none; background: radial-gradient(ellipse 41% 55% at 50% 49%, rgba(92,46,132,.155), transparent 82%); }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding-top: 87px; padding-bottom: 122px; }
.hero-avatar { width: 74px; height: 74px; object-fit: cover; border: 3px solid #15111b; border-radius: 50%; box-shadow: 0 0 0 1px rgba(176,146,213,.32),0 9px 42px rgba(0,0,0,.38); margin-bottom: 36px; }
.eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 13px; font-size: 10px; line-height: 1.4; letter-spacing: .24em; font-weight: 800; color: #b891ec; }
.eyebrow-dash { width: 24px; height: 1px; background: #b891ec; }
.hero h1 { font: 800 clamp(70px,10vw,145px)/1.09 var(--heading); letter-spacing: -.093em; margin: 14px 0 12px; padding-right: .055em; }
.hero-role { margin: 0; font-size: clamp(15px, 1.5vw,20px); font-weight: 600; letter-spacing: -.03em; }
.hero-role span { color: #826e98; margin: 0 6px; }
.hero-intro { max-width: 495px; margin: 19px auto 0; color: var(--muted); font-size: 15px; line-height: 1.9; }
.hero-ctas { margin-top: 35px; display: flex; gap: 12px; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; min-width: 153px; min-height: 46px; padding: 0 19px; border-radius: 6px; font-size: 13px; font-weight: 800; transition: transform .2s, background .2s, border-color .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: #a37adf; color: #140d21; }
.button-primary:hover { background: #b994f2; }
.button-outline { border: 1px solid rgba(228,209,250,.2); color: #eee6f8; }
.button-outline:hover { border-color: rgba(228,209,250,.55); background: rgba(200,164,244,.05); }
.hero-shortcuts { display: flex; align-items: center; gap: 32px; margin-top: 29px; }
.hero-shortcuts a,.hero-shortcuts button { color: #aaa0b8; border: none; background: none; padding: 0; font-size: 12px; transition: color .2s; }
.hero-shortcuts a:hover,.hero-shortcuts button:hover { color: #e4d3ff; }
.hero-shortcuts span { font-size: 11px; margin-left: 3px; }
.scroll-cue { position: absolute; bottom: 38px; display: flex; align-items: center; flex-direction: column; gap: 7px; color: #868094; font-size: 9px; font-weight: 800; letter-spacing: .22em; }
.scroll-cue span { font-size: 20px; color: #a67edf; line-height: 1; }

.section { padding: 112px 0; position: relative; }
.section-label { display: flex; align-items: center; gap: 13px; text-transform: uppercase; color: #b8a6d5; font-weight: 800; font-size: 10px; letter-spacing: .19em; margin-bottom: 37px; }
.section-label span { color: var(--purple); }
.section-label::before { content: ''; display: block; background: #a77fdf; width: 23px; height: 1px; }
h1,h2,h3,h4,p { overflow-wrap: break-word; }
h2,h3,h4 { font-family: var(--heading); }
.section h2 { font: 800 clamp(38px,4.3vw,59px)/1.17 var(--heading); letter-spacing: -.065em; margin: 0; }
.section h2 em { font-style: normal; color: var(--purple); }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 35px; margin-bottom: 52px; }
.section-heading p { font-size: 14px; color: var(--muted); max-width: 300px; margin: 0 0 3px; }
.about-section { border-top: 1px solid var(--stroke); }
.about-layout { display: grid; grid-template-columns: 1fr 1.02fr; gap: 105px; align-items: start; }
.about-layout h2 { margin-top: 5px; }
.about-body { max-width: 495px; }
.about-body p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.9; }
.about-body .about-lead { color: #e9e2f2; font-size: 19px; line-height: 1.72; margin-bottom: 18px; letter-spacing: -.017em; }
.about-body strong { color: #f5f2fb; font-weight: 700; }
.about-tags { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 9px; }
.about-tags span,.pills span { font-size: 11px; color: #b2acbe; padding: 5px 10px; border: 1px solid rgba(224,200,245,.12); border-radius: 4px; }

.projects-section { background: linear-gradient(180deg,rgba(139,93,189,.029),transparent 19%,transparent 82%,rgba(139,93,189,.024)); border-top: 1px solid var(--stroke); }
.project { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 52px; align-items: center; margin: 0 0 91px; }
.project-picture { border: 1px solid rgba(208,193,235,.14); position: relative; border-radius: 12px; overflow: hidden; background: #14131b; aspect-ratio: 1.63; box-shadow: 0 23px 60px rgba(0,0,0,.19); }
.project-picture::after { content: ''; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.04); pointer-events: none; }
.project-picture img { width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.image-corner { position: absolute; bottom: 13px; left: 16px; padding: 4px 7px; background: rgba(9,8,14,.75); backdrop-filter: blur(10px); color: #f6eafa; font-size: 9px; letter-spacing: .14em; font-weight: 700; border-radius: 3px; }
.project-info { display: flex; flex-direction: column; align-items: flex-start; }
.project-number { margin: 0 0 16px; color: #b994ec; font-weight: 800; font-size: 10px; letter-spacing: .19em; }
.project-info h3 { margin: 0 0 12px; letter-spacing: -.07em; font-size: clamp(34px,4.4vw,51px); line-height: 1.22; font-weight: 800; }
.project-info > p:not(.project-number):not(.private-note) { margin: 0; max-width: 370px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 23px; }
.project-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 18px; margin-top: 28px; }
.project-button { display: flex; align-items: center; gap: 10px; background: #1e1828; border: 1px solid rgba(168,122,232,.32); color: #e7d8fa; border-radius: 6px; padding: 10px 13px; font-size: 12px; font-weight: 650; line-height: 1.5; transition: background .2s,border-color .2s; }
.project-button:hover { background: #281d35; border-color: rgba(185,139,240,.68); }
.project-button strong { color: #fff; }
.understated-link { font-weight: 700; font-size: 12px; color: #c7aaf4; }
.understated-link:hover { color: #eee1ff; }
.private-note { margin: 24px 0 0 !important; display: flex; align-items: center; gap: 9px; color: #8f889f; font-size: 12px; }
.private-dot { width: 6px; height: 6px; background: #9c83c7; border-radius: 50%; }
.other-heading { border-top: 1px solid var(--stroke); padding: 32px 0 22px; }
.other-heading h3 { margin: 0; font: 700 19px var(--heading); letter-spacing: -.045em; }
.other-work { border-top: 1px solid var(--stroke); }
.other-item { display: grid; grid-template-columns: 50px 1fr auto; gap: 20px; align-items: center; padding: 25px 0; border-bottom: 1px solid var(--stroke); }
.other-count { color: #997aba; letter-spacing: .1em; font-weight: 700; font-size: 12px; }
.other-item h4 { margin: 0; font-size: 17px; letter-spacing: -.045em; }
.other-item p { margin: 3px 0 0; color: var(--muted); font-size: 13px; }
.other-category { color: #8e849d; letter-spacing: .08em; font-size: 10px; font-weight: 800; }

.social-section { border-top: 1px solid var(--stroke); }
.social-columns { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 26px; }
.social-column { min-width: 0; border-top: 1px solid rgba(206,171,238,.36); padding-top: 23px; }
.social-top { display: flex; align-items: center; gap: 12px; margin-bottom: 19px; }
.social-top img { border-radius: 50%; object-fit: cover; width: 42px; height: 42px; border: 1px solid rgba(211,196,233,.27); }
.social-top img.brand-icon { object-fit: contain; border-radius: 10px; background: #0b0b10; padding: 3px; }
.social-top img.gravesmp-brand { background: transparent; border: none; padding: 0; width: 52px; height: 52px; }
.social-top img.graveclient-brand { background: #111116; border-radius: 10px; padding: 5px; }
.social-monogram { display: flex; align-items: center; justify-content: center; width: 42px; height: 42px; border: 1px solid rgba(211,196,233,.22); border-radius: 50%; background: #1c1725; color: #bba0eb; font: 800 22px var(--heading); }
.client-monogram { border-radius: 10px; }
.social-top h3 { font-size: 17px; margin: 0; line-height: 1.3; letter-spacing: -.04em; }
.social-top p { font-size: 9px; color: #8f869c; letter-spacing: .15em; font-weight: 800; margin: 3px 0 0; }
.social-column > a,.social-column > button { display: flex; width: 100%; align-items: center; gap: 6px; padding: 12px 0; border: none; border-bottom: 1px solid var(--stroke); background: transparent; text-align: left; transition: color .2s; }
.social-column > a:hover strong,.social-column > button:hover strong,.social-column > a:hover .arrow,.social-column > button:hover .arrow { color: #d3aafc; }
.social-column > a > span:first-child,.social-column > button > span:first-child { font-size: 12px; color: #9b94a6; width: 77px; flex: 0 0 auto; }
.social-column strong { font-size: 12px; color: #e1d9ec; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: color .2s; }
.social-column strong.email-small { font-size: 10.5px; }
.social-column .arrow { margin-left: auto; font-size: 13px; color: #9f87b6; }

.community-section { border-top: 1px solid var(--stroke); background: linear-gradient(180deg,rgba(134,89,194,.031),transparent 65%); }
.community-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 30px; margin-bottom: 37px; }
.community-head p { margin: 11px 0 0; color: var(--muted); font-size: 14px; }
.community-head .community-side { font-size: 12px; max-width: 280px; text-align: right; line-height: 1.8; }
.community-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--stroke); }
.community-item { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 22px 18px 22px 0; border-bottom: 1px solid var(--stroke); min-width: 0; }
.community-item:nth-child(odd) { margin-right: 26px; }
.community-item h3 { font-size: 15px; margin: 0; letter-spacing: -.035em; }
.community-item p { margin: 3px 0 0; font-size: 12px; color: #92899e; }
.invite-slot { text-align: right; flex-shrink: 0; }
.unavailable { font-size: 11px; color: #817689; }
.invite-link { font-size: 11px; color: #d4b2f7; font-weight: 800; }
.invite-link:hover { text-decoration: underline; }

.contact-section { border-top: 1px solid var(--stroke); padding: 116px 0 131px; text-align: center; }
.contact-inner h2 { margin: 16px 0 12px; }
.contact-inner p { margin: 0 auto 25px; max-width: 460px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.email-cta { display: inline-flex; gap: 20px; border-bottom: 1px solid #9373bc; padding-bottom: 6px; color: #d5b2fc; font-size: clamp(17px,2.7vw,27px); font-weight: 700; letter-spacing: -.04em; transition: color .2s; background: transparent; border-top: 0; border-left: 0; border-right: 0; cursor: pointer; }
.email-cta:hover { color: white; }
.discord-cta { align-items: center; }
.email-cta span { font-size: .6em; margin-top: .1em; }
.contact-small { display: flex; align-items: center; justify-content: center; gap: 28px; margin-top: 27px; }
.contact-small a, .contact-small span { color: #9c93ad; font-size: 12px; }
.contact-small a:hover { color: #dfc8fc; }
.footer { border-top: 1px solid var(--stroke); padding: 26px 0; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; }
.footer-logo { display: flex; align-items: center; gap: 9px; font: 800 17px var(--heading); letter-spacing: -.05em; white-space: nowrap; }
.footer-logo img { width: 27px; height: 27px; border-radius: 50%; object-fit: cover; }
.footer-logo span { color: var(--purple); margin-left: -9px; }
.footer p { font-size: 11px; color: #91899a; margin: 0; text-align: center; }
.back-top { font-size: 11px; color: #c0a1e2; white-space: nowrap; }
#toast { position: fixed; bottom: 25px; left: 50%; transform: translate(-50%, 15px); color: #f2e6ff; background: #24202e; border: 1px solid rgba(185,136,240,.38); box-shadow: 0 15px 30px rgba(0,0,0,.25); z-index: 80; border-radius: 8px; padding: 10px 17px; opacity: 0; pointer-events: none; transition: opacity .2s,transform .2s; font-size: 13px; }
#toast.show { opacity: 1; transform: translate(-50%,0); }

@media (max-width: 980px) {
  .nav-links { gap: 19px; }
  .nav-contact { margin-left: 0; }
  .about-layout { gap: 50px; }
  .project { grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 27px; }
  .social-columns { gap: 16px; }
  .social-column > a > span:first-child,.social-column > button > span:first-child { width: 62px; }
  .social-column strong { font-size: 11px; }
}
@media (max-width: 760px) {
  .container { width: calc(100% - 38px); }
  .nav-inner { min-height: 66px; }
  .nav-links,.nav-contact { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero { min-height: 675px; }
  .hero-inner { padding: 85px 0 125px; }
  .hero-avatar { width: 67px; height: 67px; margin-bottom: 27px; }
  .hero h1 { font-size: clamp(59px,12vw,91px); }
  .hero-intro { font-size: 14px; }
  .hero-role { font-size: 15px; line-height: 1.75; }
  .hero-role span { margin: 0 4px; }
  .section { padding: 82px 0; }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-body { max-width: 650px; }
  .section-heading { align-items: start; flex-direction: column; gap: 9px; margin-bottom: 36px; }
  .project { grid-template-columns: 1fr; gap: 26px; margin-bottom: 76px; }
  .project-picture { aspect-ratio: 1.67; }
  .project-info h3 { font-size: 42px; }
  .social-columns { grid-template-columns: 1fr; gap: 43px; }
  .social-column strong { font-size: 13px; }
  .social-column > a > span:first-child,.social-column > button > span:first-child { width: 100px; }
  .social-column strong.email-small { font-size: 12px; }
  .community-grid { grid-template-columns: 1fr; }
  .community-item:nth-child(odd) { margin-right: 0; }
  .community-head { display: block; }
  .community-head .community-side { text-align: left; max-width: 400px; }
  .other-category { display: none; }
  .other-item { grid-template-columns: 35px 1fr; }
  .footer-inner { flex-wrap: wrap; }
  .footer p { order: 3; text-align: left; width: 100%; }
}
@media (max-width: 420px) {
  .logo { font-size: 18px; }
  .hero h1 { font-size: clamp(51px,13vw,65px); }
  .hero-role { font-size: 13px; }
  .hero-ctas { flex-wrap: wrap; width: 100%; justify-content: center; }
  .button { min-width: 139px; padding: 0 12px; font-size: 11px; gap: 9px; }
  .hero-shortcuts { gap: 17px; }
  .hero-shortcuts a,.hero-shortcuts button { font-size: 10px; }
  .section h2 { font-size: 37px; }
  .project-picture { aspect-ratio: 1.48; }
  .community-item { padding-right: 0; }
  .community-item h3 { font-size: 14px; }
  .community-item p { font-size: 11px; }
  .unavailable { font-size: 10px; }
  .contact-small { gap: 17px; }
  .contact-small a { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,*::before,*::after { animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

.previous-name { font-size: 12px !important; color: #82778f !important; }
