:root {
  --bg: #0c0c0c;
  --ink: #d7e2ea;
  --white: #fff;
  --muted: #8a919a;
  --line: rgba(215, 226, 234, .18);
  --pad: clamp(20px, 4vw, 72px);
  --max: 1920px;
  --ease: cubic-bezier(.25, .1, .25, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: clip; background: var(--bg); }
body {
  margin: 0;
  min-width: 320px;
  max-width: 100%;
  overflow-x: clip;
  background: var(--bg);
  color: var(--ink);
  font-family: 'Kanit', sans-serif;
  font-weight: 400;
  line-height: 1.25;
  text-rendering: optimizeLegibility;
}
html.menu-open, body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, textarea { color: inherit; font: inherit; }
button { cursor: pointer; }
::selection { background: #d7e2ea; color: #0c0c0c; }
:focus-visible { outline: 2px solid #d7e2ea; outline-offset: 5px; }

.skip-link { position: fixed; left: 16px; top: -100px; z-index: 1000; padding: 12px 18px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }
.noise { position: fixed; inset: 0; z-index: 900; pointer-events: none; opacity: .035; 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='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E"); }

.loader { position: fixed; inset: 0; z-index: 999; display: grid; place-content: center; background: #080808; transition: transform .8s cubic-bezier(.76, 0, .24, 1), visibility .8s; animation: loaderExit .8s 1.05s cubic-bezier(.76, 0, .24, 1) forwards; }
.loader.is-done { transform: translateY(-105%); visibility: hidden; }
.loader__line { height: clamp(48px, 8vw, 110px); overflow: hidden; text-align: center; }
.loader__line span { display: block; font-size: clamp(3rem, 8vw, 7rem); font-weight: 800; line-height: .9; letter-spacing: -.06em; animation: loaderText .75s var(--ease) both; }
.loader__line--muted { height: 22px; }
.loader__line--muted span { color: var(--muted); font-size: .75rem; letter-spacing: .25em; animation-delay: .08s; }
.loader__progress { width: min(54vw, 360px); height: 1px; margin-top: 28px; overflow: hidden; background: #252525; }
.loader__progress i { display: block; width: 100%; height: 100%; background: var(--ink); transform-origin: left; animation: loaderProgress .9s var(--ease) both; }
@keyframes loaderText { from { transform: translateY(115%); } to { transform: none; } }
@keyframes loaderProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes loaderExit { to { transform: translateY(-105%); visibility: hidden; } }

.cursor { position: fixed; left: 0; top: 0; z-index: 950; width: 14px; height: 14px; border: 1px solid #fff; border-radius: 50%; pointer-events: none; mix-blend-mode: difference; transform: translate3d(-50px, -50px, 0); transition: width .25s, height .25s, background .25s; }
.cursor span { position: absolute; inset: 0; display: grid; place-items: center; opacity: 0; color: #000; font-size: 10px; font-weight: 700; letter-spacing: .08em; }
.cursor.is-link { width: 42px; height: 42px; background: #fff; }
.cursor.is-view { width: 74px; height: 74px; background: #fff; mix-blend-mode: normal; }
.cursor.is-view span { opacity: 1; }

.site-header { position: absolute; top: 0; left: 0; z-index: 100; width: 100%; min-height: 92px; display: flex; align-items: center; justify-content: space-between; padding: 18px var(--pad); opacity: 0; animation: navIn .7s 1.15s var(--ease) forwards; }
@keyframes navIn { from { opacity: 0; transform: translateY(-20px); } to { opacity: 1; transform: none; } }
.wordmark { display: inline-flex; align-items: center; gap: 12px; }
.wordmark > span { font-size: 2rem; font-weight: 900; letter-spacing: -.08em; }
.wordmark small { padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-size: .57rem; font-weight: 500; letter-spacing: .13em; line-height: 1.25; }
.nav { display: flex; gap: clamp(22px, 3.5vw, 62px); }
.nav a { position: relative; display: inline-flex; align-items: flex-start; gap: 5px; padding: 8px 0; color: #c4cbd0; font-size: .8rem; font-weight: 500; letter-spacing: .09em; text-transform: uppercase; }
.nav a::after { content: ''; position: absolute; left: 0; bottom: 2px; width: 100%; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); transform-origin: left; }
.nav .menu-number { flex-shrink: 0; color: #646973; font-size: .58rem; vertical-align: top; }
.menu-toggle { display: none; width: 48px; height: 48px; padding: 0; border: 1px solid var(--line); border-radius: 50%; background: transparent; }
.menu-toggle span { display: block; width: 18px; height: 1px; margin: 5px auto; background: currentColor; transition: transform .25s; }

.hero { position: relative; min-height: 100svh; padding: 130px var(--pad) 42px; display: grid; grid-template-rows: auto 1fr auto; isolation: isolate; overflow: hidden; }
.hero__grid { position: absolute; inset: 0; z-index: -2; opacity: .45; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 5.5vw 5.5vw; mask-image: linear-gradient(to bottom, #000, transparent 88%); }
.hero::before { content: ''; position: absolute; z-index: -1; width: min(650px, 60vw); height: min(650px, 60vw); right: 4vw; top: 8vh; border-radius: 50%; background: radial-gradient(circle, rgba(118,33,176,.2), rgba(182,0,168,.06) 40%, transparent 70%); filter: blur(25px); }
.hero__meta { align-self: start; display: flex; align-items: center; gap: 10px; color: #aab2b8; font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #a8ffb2; box-shadow: 0 0 14px #76ff87; animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .45; } }
.hero-heading { margin: 0; background: linear-gradient(180deg, #646973 0%, #bbccd7 100%); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 900; letter-spacing: -.075em; line-height: .78; text-transform: uppercase; }
.hero__title { position: absolute; left: var(--pad); top: 49%; z-index: 2; width: calc(100% - var(--pad) * 2); transform: translateY(-52%); font-size: clamp(5rem, 13.5vw, 16rem); pointer-events: none; }
.title-mask { display: block; overflow: hidden; padding: .08em .08em .09em 0; }
.title-mask:first-child { font-size: .64em; letter-spacing: -.055em; }
.title-mask:nth-child(2) { text-align: right; letter-spacing: -.055em; }
.title-mask i { display: block; font-style: normal; transform: translateY(112%); animation: titleReveal 1s cubic-bezier(.76,0,.24,1) forwards; }
.title-mask:nth-child(2) i { animation-delay: .12s; }
@keyframes titleReveal { to { transform: none; } }
.hero-orb { position: absolute; z-index: 1; left: 50%; top: 49%; width: clamp(260px, 31vw, 520px); aspect-ratio: 1; border: 1px solid rgba(202,215,255,.24); border-radius: 50%; background: radial-gradient(circle at 32% 28%, rgba(220,232,255,.35), transparent 12%), radial-gradient(circle at 65% 64%, rgba(182,0,168,.48), transparent 34%), radial-gradient(circle at 35% 42%, rgba(38,105,255,.5), transparent 43%), linear-gradient(145deg, #111425 4%, #30104a 48%, #07080d 92%); box-shadow: inset -38px -42px 80px rgba(0,0,0,.62), inset 24px 20px 55px rgba(164,194,255,.13), 0 0 80px rgba(118,33,176,.2), 0 48px 120px rgba(0,0,0,.58); transform: translate(-50%, -50%); overflow: hidden; will-change: transform; animation: orbFloat 7s ease-in-out infinite; }
.hero-orb::before { content: ''; position: absolute; inset: 8%; border: 1px solid rgba(255,255,255,.15); border-radius: 50%; background: conic-gradient(from 205deg, transparent, rgba(182,0,168,.18), transparent 34%, rgba(68,128,255,.2), transparent 68%); filter: blur(1px); }
.hero-orb::after { content: ''; position: absolute; inset: -20%; background: linear-gradient(110deg, transparent 35%, rgba(255,255,255,.13) 48%, transparent 58%); transform: rotate(-18deg); mix-blend-mode: screen; }
.hero-orb__grid { position: absolute; inset: 0; border-radius: 50%; opacity: .25; background-image: linear-gradient(rgba(220,230,255,.24) 1px, transparent 1px), linear-gradient(90deg, rgba(220,230,255,.2) 1px, transparent 1px); background-size: 32px 32px; transform: perspective(420px) rotateX(62deg) scale(1.4); mask-image: radial-gradient(circle, #000 25%, transparent 72%); }
.hero-orb__core { position: absolute; left: 50%; top: 50%; width: 29%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #e4efff, #7a4bff 18%, #361052 52%, #080810 78%); box-shadow: 0 0 45px rgba(128,83,255,.6); transform: translate(-50%,-50%); }
.hero-orb__ring { position: absolute; left: 50%; top: 50%; width: 78%; height: 29%; border: 1px solid rgba(216,225,255,.38); border-radius: 50%; transform: translate(-50%,-50%) rotate(-17deg); }
.hero-orb__ring--two { width: 92%; height: 48%; border-color: rgba(170,137,255,.23); transform: translate(-50%,-50%) rotate(58deg); }
.hero-orb__label { position: absolute; left: 50%; bottom: 9%; z-index: 2; color: rgba(233,239,255,.6); font-size: .48rem; letter-spacing: .18em; white-space: nowrap; transform: translateX(-50%); }
@keyframes orbFloat { 0%,100% { transform: translate(-50%,-50%) rotate(-1deg); } 50% { transform: translate(-50%,calc(-50% - 10px)) rotate(2deg); } }
.hero__bottom { align-self: end; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; }
.hero__bottom p { max-width: 390px; margin: 0; color: #aeb5ba; font-size: clamp(.78rem, 1.05vw, 1rem); letter-spacing: .06em; line-height: 1.45; text-transform: uppercase; }
.pill { min-height: 58px; display: inline-flex; align-items: center; justify-content: center; gap: 30px; padding: 12px 26px; border: 1px solid rgba(255,255,255,.28); border-radius: 999px; color: #fff; font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; transition: filter .3s, box-shadow .3s, scale .3s; }
.pill:hover { filter: brightness(1.18); box-shadow: 0 12px 42px rgba(182,0,168,.25); scale: 1.02; }
.pill--gradient { background: linear-gradient(123deg, #18011f 7%, #b600a8 37%, #7621b0 72%, #be4c00 100%); }
.pill span { font-size: 1.2em; transition: transform .3s; }
.pill:hover span { transform: translate(3px, -3px); }
.scroll-cue { position: absolute; z-index: 5; left: 50%; bottom: 34px; display: flex; flex-direction: column; align-items: center; gap: 9px; transform: translateX(-50%); color: #71777c; font-size: .56rem; letter-spacing: .18em; text-transform: uppercase; }
.scroll-cue i { width: 1px; height: 28px; overflow: hidden; background: #333; }
.scroll-cue i::after { content: ''; display: block; width: 100%; height: 60%; background: #cbd5db; animation: scrollLine 1.8s infinite; }
@keyframes scrollLine { from { transform: translateY(-120%); } to { transform: translateY(190%); } }

.showcase { position: relative; padding: clamp(80px, 10vw, 150px) 0; overflow: hidden; background: #090909; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.marquee-row { width: 100%; overflow: hidden; }
.marquee-row + .marquee-row { margin-top: clamp(16px, 2vw, 30px); }
.marquee-track { --marquee-gap: clamp(16px, 2vw, 30px); display: flex; width: max-content; will-change: transform; }
.marquee-group { display: flex; flex-shrink: 0; gap: var(--marquee-gap); padding-right: var(--marquee-gap); }
.marquee-row:first-child .marquee-track { animation: marquee-left 42s linear infinite; }
.marquee-row--reverse .marquee-track { animation: marquee-right 47s linear infinite; }
@keyframes marquee-left { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@keyframes marquee-right { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(0, 0, 0); } }
.marquee-track figure { position: relative; width: clamp(270px, 29vw, 520px); aspect-ratio: 1.55; margin: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.12); border-radius: clamp(18px, 2vw, 30px); background: #151515; }
.marquee-track img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.marquee-track figcaption { position: absolute; inset: auto 0 0; min-height: 42%; display: grid; grid-template-columns: auto 1fr auto; grid-template-rows: auto auto; column-gap: 14px; align-content: end; padding: clamp(16px,2vw,26px); background: linear-gradient(to top, rgba(4,4,6,.96), rgba(4,4,6,.62) 56%, transparent); transition: min-height .45s var(--ease), background .45s; }
.marquee-track figcaption small { grid-row: 1 / 3; align-self: end; color: #7e878d; font-size: .55rem; letter-spacing: .12em; }
.marquee-track figcaption strong { color: #fff; font-size: clamp(1rem,1.45vw,1.45rem); font-weight: 600; letter-spacing: -.02em; transition: transform .4s var(--ease); }
.marquee-track figcaption span { color: #969da2; font-size: .55rem; letter-spacing: .12em; text-transform: uppercase; }
.marquee-track figcaption i { grid-column: 3; grid-row: 1 / 3; align-self: end; color: #fff; font-size: 1rem; font-style: normal; opacity: .55; transition: transform .4s, opacity .4s; }
.marquee-track figure:hover img { transform: scale(1.03); }
.marquee-track figure:hover figcaption { min-height: 47%; background: linear-gradient(to top, rgba(4,4,6,.98), rgba(4,4,6,.72) 62%, transparent); }
.marquee-track figure:hover figcaption strong { transform: translateX(4px); }
.marquee-track figure:hover figcaption i { opacity: 1; transform: translate(3px,-3px); }

.manifesto { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 120px var(--pad); overflow: hidden; }
.eyebrow { margin: 0 0 28px; color: #777e83; font-size: .68rem; letter-spacing: .2em; text-transform: uppercase; }
.manifesto__text { max-width: 1340px; margin: 0; font-size: clamp(3rem, 8.2vw, 9rem); font-weight: 700; letter-spacing: -.055em; line-height: .93; }
[data-reveal-text] .word { color: rgba(215,226,234,.15); transition: color .1s linear; }
[data-reveal-text] .word.is-lit { color: #d7e2ea; }
.manifesto__symbol { position: absolute; right: 4vw; bottom: 6vh; color: rgba(215,226,234,.06); font-size: clamp(8rem, 24vw, 26rem); font-weight: 800; letter-spacing: -.12em; z-index: -1; }

.about { position: relative; padding: clamp(90px, 12vw, 190px) var(--pad) clamp(100px, 14vw, 230px); border-top: 1px solid var(--line); }
.section-number { margin-bottom: clamp(45px, 7vw, 110px); color: #71787d; font-size: .62rem; letter-spacing: .2em; text-transform: uppercase; }
.section-title { font-size: clamp(5rem, 14vw, 16rem); }
.about__title { font-size: clamp(4.8rem, 12.5vw, 14.5rem); line-height: .84; letter-spacing: -.055em; white-space: nowrap; }
.about__layout { width: min(1360px, 100%); margin: clamp(75px, 10vw, 150px) 0 0 auto; }
.about__lead { max-width: 1250px; margin: 0; font-size: clamp(2rem, 4.3vw, 5rem); font-weight: 400; letter-spacing: -.035em; line-height: 1.04; }
.about__columns { margin-top: clamp(65px,8vw,120px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(45px,10vw,170px); }
.about__columns p { max-width: 480px; margin: 0; color: #aeb5ba; font-size: clamp(1.05rem,1.5vw,1.45rem); line-height: 1.55; }
.about__columns p:last-child { justify-self: end; }
.about__columns p span { display: block; margin-bottom: 18px; color: #686f74; font-size: .58rem; letter-spacing: .18em; }
.code-mark { margin-top: clamp(55px,7vw,90px); display: flex; flex-wrap: wrap; align-items: center; gap: 10px; color: #80878c; font-size: .68rem; letter-spacing: .13em; }
.code-mark i { color: #4a4e51; font-style: normal; }
.stack { margin-top: clamp(90px, 12vw, 180px); display: grid; grid-template-columns: repeat(3,1fr); border-top: 1px solid var(--line); }
.stack span { min-height: 76px; display: flex; align-items: center; gap: 18px; padding: 20px 22px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #bdc6cc; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; transition: color .3s, background .3s; }
.stack span small { color: #5f666b; font-size: .52rem; }
.stack span:hover { color: #fff; background: rgba(255,255,255,.04); }

.services { position: relative; z-index: 2; padding: clamp(80px, 10vw, 160px) var(--pad) clamp(110px, 12vw, 190px); border-radius: clamp(40px, 4vw, 64px) clamp(40px, 4vw, 64px) 0 0; background: #fff; color: #0c0c0c; }
.section-number--dark { color: #777; }
.services__title { margin: 0 0 clamp(70px, 9vw, 140px); font-size: clamp(5rem, 15vw, 17rem); font-weight: 800; letter-spacing: -.085em; line-height: .72; }
.service-list { border-top: 1px solid #c9c9c9; }
.service { display: grid; grid-template-columns: minmax(70px, .25fr) 2fr auto; gap: 30px; align-items: start; padding: clamp(30px, 4vw, 64px) 0; border-bottom: 1px solid #c9c9c9; transition: padding .4s var(--ease), opacity .3s; }
.service > span { color: #878787; font-size: clamp(1rem, 2vw, 1.8rem); }
.service h3 { margin: 0 0 14px; font-size: clamp(1.8rem, 4.2vw, 4.7rem); font-weight: 600; letter-spacing: -.05em; line-height: .96; text-transform: uppercase; }
.service p { max-width: 700px; margin: 0; color: #626262; font-size: clamp(.9rem, 1.15vw, 1.12rem); line-height: 1.55; }
.service > i { width: clamp(44px, 5vw, 68px); height: clamp(44px, 5vw, 68px); display: grid; place-items: center; border: 1px solid #bbb; border-radius: 50%; font-size: 1.2rem; font-style: normal; transition: transform .35s, background .35s, color .35s; }
.service:hover { padding-left: 18px; }
.service:hover > i { transform: rotate(45deg); background: #0c0c0c; color: #fff; }

.projects { position: relative; z-index: 3; margin-top: -62px; padding: clamp(120px, 13vw, 220px) var(--pad) clamp(120px, 15vw, 240px); border-radius: clamp(40px, 4vw, 64px) clamp(40px, 4vw, 64px) 0 0; background: var(--bg); }
.projects__title { font-size: clamp(4.4rem, 11.8vw, 13.8rem); line-height: .86; letter-spacing: -.045em; }
.projects__intro { max-width: 650px; margin: 65px 0 110px auto; }
.projects__intro span { display: block; margin-bottom: 16px; color: #686f74; font-size: .58rem; letter-spacing: .19em; }
.projects__intro p { margin: 0; color: #a2a9ae; font-size: clamp(1rem, 1.5vw, 1.35rem); line-height: 1.5; }
.project-stack { position: relative; }
.project-card { position: sticky; top: 26px; min-height: min(860px, calc(100svh - 52px)); margin-bottom: 8vh; padding: clamp(30px, 4vw, 68px); display: grid; grid-template-columns: .68fr 1.32fr; grid-template-rows: auto 1fr; gap: clamp(38px, 5.5vw, 96px); overflow: hidden; border: 2px solid #d7e2ea; border-radius: clamp(38px, 4vw, 64px); background: #0c0c0c; box-shadow: 0 -22px 65px rgba(0,0,0,.62); transform-origin: center top; }
.project-card:nth-child(2) { top: 34px; }
.project-card:nth-child(3) { top: 42px; }
.project-card:nth-child(4) { top: 50px; }
.project-card::before { content: ''; position: absolute; inset: 0; z-index: -1; background: radial-gradient(circle at 78% 35%, rgba(190,76,0,.16), transparent 36%); }
.project-card--violet::before { background: radial-gradient(circle at 78% 35%, rgba(118,33,176,.24), transparent 40%); }
.project-card--blue::before { background: radial-gradient(circle at 78% 35%, rgba(24,88,190,.22), transparent 40%); }
.project-card--gold::before { background: radial-gradient(circle at 78% 35%, rgba(235,180,0,.16), transparent 40%); }
.project-card__header { grid-column: 1 / -1; display: flex; justify-content: space-between; padding-bottom: 26px; border-bottom: 1px solid var(--line); color: #81898f; font-size: .62rem; letter-spacing: .16em; }
.project-card__copy { align-self: end; padding-bottom: 24px; }
.project-card__copy h3 { margin: 0 0 32px; font-size: clamp(3rem, 6vw, 7.5rem); font-weight: 700; letter-spacing: -.055em; line-height: .88; }
.project-card__copy p { max-width: 550px; margin: 0 0 34px; color: #a9b0b5; font-size: clamp(.9rem, 1.1vw, 1.1rem); line-height: 1.62; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tags-label { display: block; margin-bottom: 12px; color: #656c71; font-size: .52rem; letter-spacing: .16em; }
.tags span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 999px; color: #9ea6ab; font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; }
.project-link { width: fit-content; margin-top: 34px; display: flex; align-items: center; gap: 36px; padding: 14px 20px; border: 1px solid #d7e2ea; border-radius: 999px; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; transition: background .3s; }
.project-link:hover { background: rgba(215,226,234,.1); }
.project-link span { transition: transform .3s; }
.project-link:hover span { transform: translate(3px,-3px); }
.project-card__media { align-self: stretch; min-height: 0; overflow: hidden; border-radius: clamp(24px, 3vw, 45px); background: #151515; }
.project-card__media img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; transition: transform .8s var(--ease); }
.project-card:hover .project-card__media img { transform: scale(1.025); }
.project-card__private { position: absolute; left: clamp(22px, 3vw, 52px); bottom: clamp(22px, 3vw, 48px); color: #6f767b; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.more-projects { margin-top: clamp(100px, 12vw, 180px); border-top: 1px solid var(--line); }
.more-projects > p { margin: 0; padding: 28px 0; color: #737a7f; font-size: .62rem; letter-spacing: .18em; text-transform: uppercase; }
.more-projects a { display: grid; grid-template-columns: 1fr auto auto; gap: 30px; align-items: center; padding: clamp(26px, 4vw, 52px) 0; border-top: 1px solid var(--line); }
.more-projects a span { font-size: clamp(2rem, 5vw, 5.5rem); font-weight: 600; letter-spacing: -.05em; text-transform: uppercase; }
.more-projects a small { color: #81888d; font-size: .66rem; letter-spacing: .12em; text-transform: uppercase; }
.more-projects a i { font-size: 1.5rem; font-style: normal; transition: transform .3s; }
.more-projects a:hover i { transform: translate(5px,-5px); }

.contact { position: relative; min-height: 100svh; padding: clamp(110px, 13vw, 210px) var(--pad) clamp(80px, 10vw, 160px); overflow: hidden; border-top: 1px solid var(--line); }
.contact__orb { position: absolute; right: -10vw; top: 8%; z-index: -1; width: min(55vw, 850px); aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 35% 35%, rgba(182,0,168,.42), rgba(118,33,176,.22) 32%, rgba(190,76,0,.12) 54%, transparent 70%); filter: blur(25px); }
.contact__title { font-size: clamp(4rem, 12.7vw, 14rem); }
.contact__layout { margin-top: clamp(90px, 12vw, 170px); display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(70px, 10vw, 180px); align-items: start; }
.contact__copy > p { max-width: 440px; margin: 0 0 42px; color: #969da2; font-size: clamp(1rem, 1.3vw, 1.25rem); line-height: 1.6; }
.pill--large { min-height: 70px; padding-inline: 34px; }
.socials { margin-top: 58px; display: flex; flex-wrap: wrap; gap: 28px; }
.socials a { position: relative; padding-bottom: 6px; color: #aab1b6; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
.socials a::after { content: ''; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: currentColor; transition: transform .3s; transform-origin: left; }
.socials a:hover::after { transform: scaleX(.25); }
.contact-form { display: grid; gap: 34px; }
.contact-form label { display: grid; gap: 10px; }
.contact-form label > span { color: #7f878c; font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; }
.contact-form input, .contact-form textarea { width: 100%; padding: 12px 0 18px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; outline: 0; background: transparent; color: #fff; font-size: clamp(1.05rem, 1.5vw, 1.4rem); resize: vertical; }
.contact-form textarea { min-height: 115px; }
.contact-form input:focus, .contact-form textarea:focus { border-bottom-color: #fff; }
.contact-form button { justify-self: end; min-height: 58px; display: flex; align-items: center; gap: 35px; padding: 12px 26px; border: 1px solid #d7e2ea; border-radius: 999px; background: transparent; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; transition: background .3s, color .3s; }
.contact-form button:hover { background: #d7e2ea; color: #0c0c0c; }
.contact-form button:disabled { opacity: .55; cursor: wait; }
.form-status { min-height: 22px; margin: -15px 0 0; color: #aab1b6; font-size: .8rem; }
.form-status.success { color: #9cffae; }
.form-status.error { color: #ffaaa5; }

.footer { min-height: 150px; display: grid; grid-template-columns: 1fr auto 1fr; gap: 30px; align-items: center; padding: 32px var(--pad); border-top: 1px solid var(--line); color: #7e858a; font-size: .58rem; letter-spacing: .12em; text-transform: uppercase; }
.footer > div { display: flex; flex-direction: column; gap: 5px; }
.footer strong { color: #c6d0d6; font-size: .78rem; }
.footer p { margin: 0; text-align: center; }
.footer > a { justify-self: end; color: #c6d0d6; }

.fade-in { opacity: 0; transform: translate3d(0, 30px, 0); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.fade-in.in-view { opacity: 1; transform: none; }
.magnet { will-change: transform; }

@media (max-width: 900px) {
  .site-header { min-height: calc(78px + env(safe-area-inset-top)); padding-top: calc(14px + env(safe-area-inset-top)); opacity: 1; animation: none; transform: none; }
  .wordmark { position: relative; z-index: 2; }
  .menu-toggle { position: relative; z-index: 2; width: 48px; height: 48px; display: block; border: 0; }
  .menu-toggle::before { content: ''; position: absolute; inset: 4px; border: 1px solid var(--line); border-radius: 50%; }
  .menu-open .menu-toggle span:first-child { transform: translateY(3px) rotate(45deg); }
  .menu-open .menu-toggle span:last-child { transform: translateY(-3px) rotate(-45deg); }
  .nav { position: fixed; inset: 0; z-index: 1; padding: calc(96px + env(safe-area-inset-top)) var(--pad) calc(48px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; justify-content: center; gap: 0; overflow: hidden; isolation: isolate; background: #0c0c0c; visibility: hidden; opacity: 0; transition: opacity .25s ease, visibility 0s linear .25s; }
  .nav::after { content: ''; position: absolute; z-index: 0; right: -22vw; bottom: -26vw; width: min(72vw,520px); aspect-ratio: 1; border: 1px solid rgba(170,137,255,.16); border-radius: 50%; background: radial-gradient(circle at 38% 34%, rgba(84,114,255,.25), rgba(118,33,176,.18) 40%, transparent 70%); opacity: .55; pointer-events: none; }
  .menu-open .nav,
  .menu-toggle[aria-expanded="true"] + .nav { visibility: visible; opacity: 1; transition-delay: 0s; }
  .nav a { z-index: 1; width: 100%; display: flex; align-items: flex-start; gap: 18px; padding: clamp(20px,3.2vh,30px) 0; border-bottom: 1px solid var(--line); font-weight: 800; letter-spacing: -.035em; }
  .nav .menu-number { width: 32px; padding-top: .42em; font-size: .7rem; letter-spacing: .08em; }
  .nav .menu-label { min-width: 0; font-size: clamp(2.8rem,9vw,4.8rem); line-height: .92; }
  .hero { min-height: 860px; padding-top: 110px; }
  .hero__title { top: 36%; font-size: clamp(4.3rem, 17vw, 9.2rem); }
  .title-mask:nth-child(2) { text-align: left; }
  .hero-orb { left: auto; right: 5vw; top: 48%; width: min(52vw,380px); transform: translateY(-50%); opacity: .88; }
  @keyframes orbFloat { 0%,100% { transform: translateY(-50%) rotate(-1deg); } 50% { transform: translateY(calc(-50% - 7px)) rotate(2deg); } }
  .hero__bottom { flex-direction: column; align-items: flex-start; }
  .scroll-cue { left: auto; right: var(--pad); transform: none; }
  .contact__layout { grid-template-columns: 1fr; }
  .about__layout { width: 100%; }
  .about__columns { gap: 45px; }
  .project-card { grid-template-columns: 1fr; grid-template-rows: auto auto 1fr; min-height: auto; }
  .project-card__copy { padding-bottom: 0; }
  .project-card__media { min-height: clamp(310px, 60vw, 560px); }
  .project-card__media img { min-height: 100%; }
  .project-card__private { position: static; }
  .contact__copy { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
  .contact__copy > p, .socials { grid-column: 1 / -1; }
  .socials { margin-top: 0; }
}

@media (max-width: 767px) {
  :root { --pad: 20px; }
  .cursor { display: none; }
  .site-header { gap: 12px; padding-inline: max(20px,env(safe-area-inset-left)) max(20px,env(safe-area-inset-right)); }
  .wordmark { gap: 9px; }
  .wordmark > span { font-size: 1.65rem; }
  .wordmark small { padding-left: 9px; font-size: .52rem; }
  .nav { justify-content: center; padding-inline: max(24px,env(safe-area-inset-left)) max(24px,env(safe-area-inset-right)); }
  .nav a { padding-block: clamp(23px,3.6vh,30px); }
  .nav .menu-label { font-size: clamp(2.8rem,12vw,4.8rem); }
  .hero { min-height: 100vh; min-height: 100svh; padding: calc(96px + env(safe-area-inset-top)) 20px calc(42px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; overflow: clip; }
  .hero__grid { background-size: 56px 56px; }
  .hero__meta { position: relative; z-index: 4; flex: 0 0 auto; align-self: auto; margin-top: 10px; font-size: .56rem; }
  .hero__title { position: relative; left: auto; top: auto; z-index: 3; flex: 0 0 auto; width: 100%; margin-top: clamp(34px,6vh,54px); transform: none; font-size: clamp(3.3rem,15vw,4rem); line-height: .88; letter-spacing: -.045em; }
  .title-mask { overflow: visible; padding-right: 0; }
  .title-mask i { opacity: 1; transform: none; animation: none; }
  .hero__title .title-mask:first-child { font-size: .62em; }
  .hero__title .title-mask:nth-child(2) { font-size: 1em; letter-spacing: -.05em; }
  .hero-orb { left: auto; right: clamp(-72px,-10vw,-38px); top: clamp(295px,43svh,370px); z-index: 1; width: clamp(280px,78vw,350px); opacity: .62; animation-duration: 10s; pointer-events: none; }
  .hero-orb__label { display: none; }
  .hero__bottom { position: relative; z-index: 5; flex: 0 0 auto; align-self: auto; margin-top: clamp(215px,55vw,270px); gap: 22px; }
  .hero__bottom p { width: 90%; max-width: 360px; font-size: clamp(.85rem,3.6vw,1rem); line-height: 1.5; letter-spacing: .035em; }
  .hero__bottom .pill { width: fit-content; min-width: 230px; max-width: 90vw; min-height: 50px; gap: 24px; padding: 14px 24px; }
  .scroll-cue { display: none; }
  .showcase { padding-block: 70px; }
  .marquee-row:first-child .marquee-track { animation-duration: 52s; }
  .marquee-row--reverse .marquee-track { animation-duration: 58s; }
  .marquee-track figure { width: 278px; }
  .marquee-track figcaption { min-height: 46%; padding: 16px; }
  .manifesto { min-height: 78svh; padding-block: 90px; }
  .manifesto__text { font-size: clamp(2.8rem, 13vw, 4.4rem); }
  .section-title { font-size: clamp(4.1rem, 20vw, 6.4rem); }
  .about__title { display: flex; flex-direction: column; align-items: center; gap: 0; font-size: clamp(4rem,20vw,5.8rem); line-height: .78; text-align: center; white-space: normal; }
  .about__layout { margin-top: 60px; }
  .about__lead { font-size: clamp(1.65rem, 8.4vw, 2.55rem); }
  .about__columns { margin-top: 55px; grid-template-columns: 1fr; gap: 38px; }
  .about__columns p:last-child { justify-self: start; }
  .stack { margin-top: 75px; grid-template-columns: 1fr 1fr; }
  .stack span { min-height: 66px; padding: 16px 12px; gap: 10px; font-size: .63rem; }
  .services { padding-top: 75px; border-radius: 40px 40px 0 0; }
  .services__title { margin-bottom: 70px; font-size: clamp(4.1rem, 21vw, 6.2rem); }
  .service { grid-template-columns: 42px 1fr; gap: 12px; }
  .service > i { display: none; }
  .service h3 { font-size: clamp(1.65rem, 8vw, 2.4rem); }
  .service p { font-size: .88rem; }
  .service:hover { padding-left: 0; }
  .projects { margin-top: -40px; padding-top: 100px; border-radius: 40px 40px 0 0; }
  .projects__title { font-size: clamp(2.85rem, 12.4vw, 4.3rem); line-height: .9; letter-spacing: -.025em; }
  .projects__intro { margin: 45px 0 75px; }
  .project-card, .project-card:nth-child(n) { position: relative; top: auto; min-height: auto; margin-bottom: clamp(48px,12vw,64px); padding: 22px; gap: 30px; border-width: 1px; border-radius: 34px; box-shadow: none; }
  .project-card__header { align-items: flex-start; gap: 12px; padding-bottom: 18px; font-size: clamp(.62rem,2.6vw,.72rem); line-height: 1.35; letter-spacing: .08em; }
  .project-card__header span:first-child { min-width: 0; flex: 1 1 60%; max-width: 60%; overflow-wrap: anywhere; }
  .project-card__header span:last-child { min-width: 0; width: 35%; flex: 0 1 35%; max-width: 35%; text-align: right; overflow-wrap: anywhere; }
  .project-card__copy h3, .project-card__copy .project-title { max-width: 100%; margin-bottom: 24px; overflow-wrap: normal; font-size: clamp(2.7rem,11vw,5rem); line-height: .92; letter-spacing: -.04em; }
  .project-card__copy .project-title--long { font-size: clamp(2.15rem,8.5vw,4.2rem); letter-spacing: -.03em; }
  .project-title--agenda span { display: block; }
  .project-card__copy p { width: 100%; margin-bottom: 28px; font-size: clamp(1rem,4vw,1.2rem); line-height: 1.55; }
  .tags { display: flex; flex-wrap: wrap; gap: 8px; }
  .tags span { padding: 9px 14px; font-size: .7rem; }
  .project-card__media { width: 100%; min-height: 0; border-radius: 21px; }
  .project-card__media img { width: 100%; height: auto; min-height: 0; aspect-ratio: 1.45; object-fit: cover; }
  .project-card__private { margin-top: 14px; line-height: 1.4; }
  .more-projects a { grid-template-columns: 1fr auto; gap: 12px; }
  .more-projects a small { grid-row: 2; }
  .more-projects a i { grid-column: 2; grid-row: 1 / 3; }
  .contact { min-height: 100vh; min-height: 100svh; padding-bottom: calc(80px + env(safe-area-inset-bottom)); }
  .contact__title { font-size: clamp(3.4rem,15vw,6rem); line-height: .86; letter-spacing: -.04em; }
  .contact__title br { display: none; }
  .contact__title span { display: block; }
  .contact__layout { margin-top: 70px; gap: 75px; }
  .contact__copy { display: block; }
  .contact__copy > p { width: 90%; max-width: 420px; font-size: clamp(1rem,4.5vw,1.3rem); line-height: 1.55; }
  .contact__copy .pill { max-width: 90vw; }
  .socials { margin-top: 45px; padding-bottom: calc(18px + env(safe-area-inset-bottom)); flex-wrap: wrap; }
  .contact-form button { justify-self: stretch; justify-content: space-between; }
  .footer { grid-template-columns: 1fr auto; padding-bottom: calc(32px + env(safe-area-inset-bottom)); }
  .footer p { grid-column: 1 / -1; grid-row: 2; text-align: left; }
}

@media (max-width: 360px) {
  .hero__title { font-size: clamp(3rem,15vw,3.35rem); }
  .hero-orb { right: -58px; width: 280px; }
  .hero__bottom p { max-width: 260px; }
  .pill { gap: 18px; font-size: .68rem; }
  .section-title, .contact__title { font-size: 3.5rem; }
  .projects__title { font-size: clamp(2.45rem, 12vw, 2.7rem); }
  .project-card, .project-card:nth-child(n) { padding: 20px; }
  .project-card__copy .project-title--long { font-size: clamp(2rem,8vw,2.3rem); }
  .contact__title { font-size: 3.1rem; }
  .services__title { font-size: 3.8rem; }
  .service { grid-template-columns: 34px 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .loader { display: none; }
  .site-header, .fade-in { opacity: 1; transform: none; }
  .title-mask i { transform: none; }
  [data-reveal-text] .word { color: #d7e2ea; }
  .hero-orb { animation: none !important; }
  .magnet { translate: 0 0 !important; }
  [data-parallax] { transform: none !important; }
  .marquee-track { animation-duration: 90s !important; animation-iteration-count: infinite !important; }
}

@media (hover: none), (pointer: coarse) {
  .cursor { display: none; }
  .magnet { translate: 0 0 !important; }
}
