:root {
  --bg: #050706;
  --surface: #0a0c0b;
  --ink: #f0f0ed;
  --muted: #898c89;
  --quiet: #424642;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --mono: "DM Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  --gutter: clamp(1.25rem, 4.2vw, 5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--bg); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; }
p, h1, h2, h3 { margin: 0; }
svg { display: block; max-width: 100%; }
::selection { background: var(--ink); color: var(--bg); }
.shell { width: min(100%, 1920px); margin-inline: auto; padding-inline: var(--gutter); }
.skip-link { position: fixed; z-index: 200; top: 1rem; left: 1rem; padding: .8rem 1rem; background: var(--ink); color: var(--bg); transform: translateY(-180%); }
.skip-link:focus { transform: none; }

.site-header { position: fixed; z-index: 100; inset: 0 0 auto; height: 92px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding-inline: var(--gutter); transition: height .3s ease, background .3s ease; }
.site-header.is-scrolled { height: 70px; background: rgba(5,7,6,.88); backdrop-filter: blur(18px); }
.wordmark { display: inline-flex; align-items: center; gap: .65rem; justify-self: start; font-size: .78rem; font-weight: 700; letter-spacing: -.035em; }
.wordmark__mark { width: 30px; height: auto; flex: 0 0 auto; }
.desktop-nav { display: flex; gap: 2rem; color: var(--muted); font-size: .78rem; }
.desktop-nav a:hover { color: var(--ink); }
.header-contact { justify-self: end; font-size: .78rem; }
.menu-toggle { display: none; border: 0; background: none; padding: .7rem 0 .7rem .7rem; cursor: pointer; }
.menu-toggle i, .menu-toggle i::after { display: block; width: 27px; height: 1px; background: currentColor; transition: transform .3s ease; }
.menu-toggle i::after { content: ""; transform: translateY(6px); }
.menu-toggle[aria-expanded="true"] i { transform: rotate(45deg); }
.menu-toggle[aria-expanded="true"] i::after { transform: rotate(-90deg); }

.mobile-menu { visibility: hidden; position: fixed; z-index: 90; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 7rem var(--gutter) 2rem; background: var(--bg); opacity: 0; transition: opacity .3s ease, visibility .3s; }
.mobile-menu.is-open { visibility: visible; opacity: 1; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { font-size: clamp(3.4rem, 15vw, 6rem); line-height: 1.13; letter-spacing: -.07em; color: var(--muted); }
.mobile-menu nav a:hover { color: var(--ink); }
.mobile-menu__foot { margin-top: auto; display: flex; justify-content: space-between; color: var(--muted); font-size: .72rem; }

.hero { min-height: 100svh; display: grid; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(3rem, 8vw, 10rem); padding-top: 110px; padding-bottom: 3rem; }
.hero h1 { font-size: clamp(4.7rem, 8.6vw, 11rem); line-height: .87; letter-spacing: -.078em; font-weight: 500; }
.line-mask { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line-mask > span { display: block; transform: translateY(108%); animation: title-in 1s cubic-bezier(.22,1,.36,1) .2s forwards; }
.line-mask + .line-mask > span { animation-delay: .33s; }
@keyframes title-in { to { transform: none; } }
.hero__intro { max-width: 560px; margin-top: clamp(2.5rem, 5vw, 5rem); color: var(--muted); font-size: clamp(1rem, 1.3vw, 1.27rem); line-height: 1.55; letter-spacing: -.025em; }
.button { display: inline-block; margin-top: 2.2rem; padding: 1rem 1.25rem; border-radius: .5rem; background: var(--ink); color: var(--bg); font-size: .78rem; font-weight: 700; transition: transform .2s ease, opacity .2s ease; }
.button:hover { transform: translateY(-2px); opacity: .86; }
.word-globe { position: relative; aspect-ratio: 1; width: 100%; max-width: 720px; overflow: hidden; cursor: grab; }
.word-globe:active { cursor: grabbing; }
.word-globe span { position: absolute; left: 50%; top: 50%; color: var(--ink); font: 400 clamp(.52rem, .7vw, .72rem) var(--sans); white-space: nowrap; will-change: transform, opacity; pointer-events: none; }
.word-globe span:nth-child(5n + 1) { font-size: clamp(.67rem, .9vw, .9rem); font-weight: 600; }
.word-globe span:nth-child(7n + 2) { font-family: var(--mono); font-size: clamp(.48rem, .6vw, .62rem); }
.work { padding-top: clamp(7rem, 11vw, 12rem); }
.work__heading h2 { font-size: clamp(2.5rem, 4.5vw, 5.7rem); font-weight: 500; letter-spacing: -.065em; }
.work-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; margin-top: clamp(2.5rem, 5vw, 5rem); }
.project { min-height: clamp(520px, 58vw, 760px); border-radius: 1.4rem; background: var(--surface); overflow: hidden; }
.project a { min-height: inherit; display: flex; flex-direction: column; padding: clamp(1.25rem, 2vw, 2rem); }
.project__art { flex: 1; display: grid; place-items: center; min-height: 290px; }
.project__art > * { width: min(75%, 360px); transition: transform .6s cubic-bezier(.2,.8,.2,1); }
.project:hover .project__art > *, .project.is-active-mobile .project__art > * { transform: scale(1.045) rotate(-2deg); }
.project__copy small { display: block; margin-bottom: .8rem; color: var(--muted); font: .56rem var(--mono); text-transform: uppercase; letter-spacing: .08em; }
.project__copy h3 { font-size: clamp(2.2rem, 3.7vw, 4.6rem); line-height: .95; letter-spacing: -.07em; font-weight: 500; }
.project__copy p { min-height: 3.2em; max-width: 430px; margin-top: 1.1rem; color: var(--muted); font-size: .86rem; line-height: 1.55; }
.pixel-mark { overflow: visible; color: #c3c5c1; transition: color .35s ease; }
.pixel-mark__disc { fill: transparent; transition: fill .35s ease; }
.pixel-mark__orbit { transform-box: fill-box; transform-origin: center; }
.pixel-mark__orbit circle { fill: none; stroke: currentColor; stroke-width: 6; }
.pixel-mark__orbit .pixel-ring-inner { stroke-width: 3; stroke-dasharray: 3 5; }
.pixel-labels { fill: currentColor; font: 500 15px var(--mono); text-anchor: middle; }
.pixel-mark__face { fill: currentColor; transform-box: fill-box; transform-origin: center; }
.pixel-ear, .pixel-eye-cover { transform-box: fill-box; transform-origin: center; }
.pixel-ear--left { transform-origin: 100% 50%; }
.pixel-ear--right { transform-origin: 0 50%; }
.pixel-eye-base { fill: currentColor; }
.pixel-eye-cover { fill: #333733; transition: fill .35s ease; }
.project--pixel:hover .pixel-mark, .project--pixel.is-active-mobile .pixel-mark { color: var(--ink); }
.project--pixel:hover .pixel-mark__disc, .project--pixel:hover .pixel-eye-cover,
.project--pixel.is-active-mobile .pixel-mark__disc, .project--pixel.is-active-mobile .pixel-eye-cover { fill: #7544df; }
.project--pixel:hover .pixel-mark__orbit, .project--pixel.is-active-mobile .pixel-mark__orbit { animation: pixel-orbit 18s linear infinite; }
.project--pixel:hover .pixel-mark__face, .project--pixel.is-active-mobile .pixel-mark__face { animation: pixel-float 3.8s ease-in-out infinite; }
.project--pixel:hover .pixel-ear--left, .project--pixel.is-active-mobile .pixel-ear--left { animation: pixel-ear-left 4.2s ease-in-out infinite; }
.project--pixel:hover .pixel-ear--right, .project--pixel.is-active-mobile .pixel-ear--right { animation: pixel-ear-right 4.2s ease-in-out .16s infinite; }
.project--pixel:hover .pixel-eye-cover, .project--pixel.is-active-mobile .pixel-eye-cover { animation: pixel-blink 4.6s steps(1,end) infinite; }

.thleng-mark { overflow: visible; color: #b7bab6; }
.thleng-person { transform-box: fill-box; transform-origin: center; }
.thleng-mark rect { transition: fill .32s ease; }
.thleng-mark .thleng-hair { fill: #777b77; }
.thleng-mark .thleng-face, .thleng-mark .thleng-hand { fill: #d2d3cf; }
.thleng-mark .thleng-shirt { fill: #a4a7a3; }
.thleng-mark .thleng-eye { fill: #303430; }
.thleng-mark .thleng-hand { transform-box: fill-box; transform-origin: 15% 90%; }
.thleng-label { fill: currentColor; font: 600 21px var(--mono); letter-spacing: -.08em; }
.project--thleng:hover .thleng-hair, .project--thleng.is-active-mobile .thleng-hair { fill: #692f21; }
.project--thleng:hover .thleng-face, .project--thleng:hover .thleng-hand,
.project--thleng.is-active-mobile .thleng-face, .project--thleng.is-active-mobile .thleng-hand { fill: #eecb75; }
.project--thleng:hover .thleng-shirt, .project--thleng.is-active-mobile .thleng-shirt { fill: #69c2f9; }
.project--thleng:hover .thleng-eye, .project--thleng.is-active-mobile .thleng-eye { fill: #181816; }
.project--thleng:hover .thleng-person, .project--thleng.is-active-mobile .thleng-person { animation: thleng-bob 2.8s steps(1,end) infinite; }
.project--thleng:hover .thleng-eye, .project--thleng.is-active-mobile .thleng-eye { animation: thleng-blink 3.6s steps(1,end) infinite; }
.project--thleng:hover .thleng-hand, .project--thleng.is-active-mobile .thleng-hand { animation: thleng-wave 3.8s steps(1,end) infinite; }
.project--thleng:hover .thleng-label, .project--thleng.is-active-mobile .thleng-label { animation: thleng-label-live 3.8s steps(1,end) infinite; }

.saints-mark { position: relative; aspect-ratio: 1; display: grid; place-items: center; }
.saints-mark img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: contain; filter: grayscale(1); opacity: .68; transition: filter .4s ease, opacity .4s ease; }
.saints-mark i { position: absolute; z-index: 0; inset: 14%; border-radius: 50%; background: radial-gradient(circle, rgba(63,98,87,.42), transparent 68%); opacity: 0; transform: scale(.8); transition: opacity .4s ease, transform .4s ease; }
.project--saints:hover .saints-mark img, .project--saints.is-active-mobile .saints-mark img { filter: grayscale(0); opacity: 1; animation: saints-float 4.2s ease-in-out infinite; }
.project--saints:hover .saints-mark i, .project--saints.is-active-mobile .saints-mark i { opacity: 1; transform: scale(1); }

@keyframes pixel-orbit { to { transform: rotate(360deg); } }
@keyframes pixel-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
@keyframes pixel-blink { 0%,38%,42%,46%,100% { transform: scaleY(1); } 40%,44% { transform: scaleY(.12); } }
@keyframes pixel-ear-left { 0%,58%,86%,100% { transform: rotate(0); } 66% { transform: rotate(13deg); } 74% { transform: rotate(-7deg); } 81% { transform: rotate(5deg); } }
@keyframes pixel-ear-right { 0%,58%,86%,100% { transform: rotate(0); } 66% { transform: rotate(-13deg); } 74% { transform: rotate(7deg); } 81% { transform: rotate(-5deg); } }
@keyframes thleng-bob { 0%,45%,100% { transform: translateY(0); } 48%,52% { transform: translateY(-4px); } 55% { transform: translateY(1px); } }
@keyframes thleng-blink { 0%,44%,50%,100% { opacity: 1; } 46%,48% { opacity: 0; } }
@keyframes thleng-wave { 0%,54%,82%,100% { transform: rotate(0) translateY(0); } 60% { transform: rotate(-13deg) translateY(-2px); } 67% { transform: rotate(8deg); } 74% { transform: rotate(-7deg) translateY(-1px); } }
@keyframes thleng-label-live { 0%,54%,82%,100% { opacity: .78; } 60%,74% { opacity: 1; } 67% { opacity: .58; } }
@keyframes saints-float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-4px) rotate(-.7deg); } }

.statement { min-height: 100svh; display: grid; place-items: center; text-align: center; padding-block: 8rem; }
.statement p { max-width: 1320px; font-size: clamp(3.5rem, 7.5vw, 9.5rem); line-height: .97; letter-spacing: -.075em; }
.about { min-height: 85svh; display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(3rem, 10vw, 13rem); align-items: center; padding-block: clamp(7rem, 12vw, 12rem); }
.about h2 { font-size: clamp(3rem, 5.7vw, 7rem); line-height: .96; letter-spacing: -.07em; font-weight: 500; }
.about__copy { color: var(--muted); font-size: clamp(1rem, 1.35vw, 1.3rem); line-height: 1.6; letter-spacing: -.025em; }
.about__copy p + p { margin-top: 1.5rem; }
.contact { padding-block: clamp(5rem, 9vw, 9rem) 2rem; }
.contact__inner { min-height: min(720px, 78svh); display: grid; place-items: center; align-content: center; gap: 2rem; text-align: center; border-radius: 1.4rem; background: #ecece8; color: #080a09; }
.contact small { font: .62rem var(--mono); text-transform: uppercase; letter-spacing: .1em; color: #686b68; }
.contact h2 { font-size: clamp(5rem, 11vw, 14rem); line-height: .9; letter-spacing: -.08em; font-weight: 500; }
.contact a { font-size: .82rem; padding-bottom: .25rem; border-bottom: 1px solid #888; }
.footer { min-height: 160px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: end; gap: 2rem; padding-block: 2rem; color: var(--muted); font-size: .62rem; }
.footer span:nth-child(2) { text-align: center; }
.footer a { text-align: right; }
.footer a:hover { color: var(--ink); }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .75s ease, transform .75s cubic-bezier(.22,1,.36,1); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1100px) {
  .hero { grid-template-columns: 1fr; padding-top: 150px; }
  .word-globe { width: min(100%, 650px); justify-self: center; }
  .work-grid { grid-template-columns: 1fr; }
  .project { min-height: min(760px, 85svh); }
  .project__art > * { width: min(65%, 390px); }
  .about { grid-template-columns: 1fr; min-height: auto; }
  .about__copy { max-width: 720px; }
}

@media (max-width: 720px) {
  :root { --gutter: 1.1rem; }
  .site-header { height: 74px; grid-template-columns: 1fr auto; }
  .desktop-nav, .header-contact { display: none; }
  .menu-toggle { display: flex; align-items: center; gap: .7rem; }
  .menu-toggle span { font-size: .66rem; }
  .hero { min-height: auto; padding-top: 145px; padding-bottom: 6rem; }
  .hero h1 { font-size: clamp(3.65rem, 17.5vw, 6.5rem); }
  .word-globe { margin-top: 1rem; }
  .work { padding-top: 5rem; }
  .work__heading h2 { font-size: 2.7rem; }
  .work-grid { margin-top: 2rem; padding-inline: .55rem; }
  .project { min-height: 650px; border-radius: 1.1rem; }
  .project__art > * { width: min(74vw, 330px); }
  .project__copy h3 { font-size: clamp(3rem, 14vw, 5rem); }
  .statement { min-height: 80svh; }
  .statement p { font-size: clamp(3rem, 13.5vw, 5.6rem); }
  .about { padding-block: 6rem; }
  .about h2 { font-size: clamp(3rem, 13vw, 5rem); }
  .contact { padding-inline: .45rem; }
  .contact__inner { min-height: 620px; border-radius: 1.1rem; }
  .contact h2 { font-size: clamp(5rem, 23vw, 8rem); }
  .footer { min-height: 240px; grid-template-columns: 1fr; align-content: end; }
  .footer span:nth-child(2), .footer a { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .line-mask > span, .reveal { transform: none; opacity: 1; }
}
