/* Clarzen Technologies — editorial black/white */
:root {
  --black: #000;
  --white: #fff;
  --grey: #8e8e8e;
  --line: rgba(255, 255, 255, .16);
  --pad: clamp(16px, 2.2vw, 32px);
  --sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --ease: cubic-bezier(.16, 1, .3, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { background: var(--black); color: var(--white); font-family: var(--sans); font-weight: 500; font-size: 16px; line-height: 1.2; letter-spacing: -.01em; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--white); color: var(--black); }

.mono { font-family: var(--mono); font-weight: 400; font-size: 11px; line-height: 1.35; text-transform: uppercase; letter-spacing: .02em; }
.label { color: var(--grey); display: block; }
.dark { background: var(--black); color: var(--white); }
.light { background: var(--white); color: var(--black); }

.big { font-size: clamp(44px, 7.4vw, 124px); line-height: .92; letter-spacing: -.035em; font-weight: 500; }
.mid { font-size: clamp(30px, 3.6vw, 60px); line-height: .96; letter-spacing: -.03em; font-weight: 500; }
.huge { font-size: clamp(64px, 13vw, 230px); line-height: .84; letter-spacing: -.05em; font-weight: 500; }

/* word reveal */
.words .w { display: inline-block; overflow: hidden; vertical-align: top; padding: .04em .02em .22em; margin: -.04em -.02em -.22em; }
.words .w > span { display: inline-block; transform: translateY(105%); transition: transform 1s var(--ease); transition-delay: calc(var(--i, 0) * 45ms); }
.words.in .w > span { transform: none; }
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; text-transform: uppercase; letter-spacing: .02em; background: var(--white); color: var(--black); padding: 12px 18px; border-radius: 999px; transition: transform .4s var(--ease), background .3s; }
.btn::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.btn:hover { transform: scale(1.05); }
.btn-ghost { background: transparent; color: var(--white); box-shadow: inset 0 0 0 1px var(--line); }
.light .btn { background: var(--black); color: var(--white); }

/* loader */
.loader { position: fixed; inset: 0; z-index: 200; background: var(--black); display: grid; place-items: center; transition: transform 1.1s var(--ease); }
.loader.done { transform: translateY(-100%); }
.loader-mark { display: flex; align-items: center; gap: .08em; font-size: clamp(72px, 10vw, 150px); font-weight: 600; letter-spacing: -.05em; }
.loader-blob { width: .9em; height: .9em; border-radius: 50%; background: radial-gradient(circle at 30% 28%, #fff, #9a9a9a 32%, #2b2b2b 64%, #0c0c0c); box-shadow: inset -.08em -.1em .2em rgba(0,0,0,.8), inset .05em .06em .1em rgba(255,255,255,.4); animation: morph 2.4s ease-in-out infinite; }
.loader-count { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); }
@keyframes morph {
  0%, 100% { border-radius: 50% 50% 50% 50%; transform: rotate(0) scale(1); }
  33% { border-radius: 58% 42% 55% 45% / 45% 58% 42% 55%; transform: rotate(40deg) scale(.94); }
  66% { border-radius: 42% 58% 45% 55% / 58% 45% 55% 42%; transform: rotate(-30deg) scale(1.04); }
}

/* nav */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 100; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 18px var(--pad); mix-blend-mode: difference; color: #fff; }
.nav-menu { justify-self: start; }
.nav-logo { font-size: 20px; font-weight: 600; letter-spacing: -.04em; }
.nav-logo sup { font-size: .8em; top: -.1em; }
.nav-links { justify-self: end; display: flex; gap: 22px; }
.nav a, .nav-menu { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -3px; height: 1px; background: currentColor; transition: right .5s var(--ease); }
.nav-links a:hover::after { right: 0; }
.menu { position: fixed; inset: 0; z-index: 90; background: var(--white); color: var(--black); padding: 90px var(--pad) 24px; display: flex; flex-direction: column; justify-content: space-between; clip-path: inset(0 0 100% 0); transition: clip-path .9s var(--ease); }
.menu.open { clip-path: inset(0 0 0 0); }
.menu nav a { display: flex; align-items: flex-start; gap: 14px; font-size: clamp(44px, 6.5vw, 96px); line-height: .95; letter-spacing: -.04em; padding: 10px 0; }
.menu nav a:hover { color: var(--grey); }
.menu nav .mono { padding-top: .8em; }
.menu-foot { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* hero */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: 90px var(--pad) 24px; overflow: hidden; }
.hero-ink { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; font-family: var(--sans); font-weight: 900; }
.hero-line, .hero-foot { z-index: 1; mix-blend-mode: difference; color: #fff; }
.hero .hero-sub { color: #fff; opacity: .7; }
.hero .btn { background: #fff; color: #000; }
.hero-mark sup { font-size: .6em; }
.hero-line { position: absolute; top: 36px; left: var(--pad); display: grid; gap: 14px; justify-items: start; text-align: left; }
.hero-title { font-size: clamp(26px, 2.6vw, 44px); line-height: .92; letter-spacing: -.04em; font-weight: 500; }
.hero-sub { color: var(--grey); font-size: 15px; }
.hero-foot { position: absolute; left: var(--pad); right: var(--pad); bottom: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.hero-social a:hover { color: var(--grey); }

/* statement */
.statement { padding: clamp(100px, 16vw, 240px) var(--pad); }
.aside { margin-top: clamp(60px, 10vw, 140px); margin-left: auto; width: min(560px, 100%); display: grid; grid-template-columns: 120px 1fr; gap: 20px; }
.aside p { font-size: clamp(20px, 2vw, 30px); line-height: 1.05; letter-spacing: -.02em; }
.aside em { font-style: normal; color: var(--grey); }

/* works */
.works { position: relative; padding: clamp(80px, 12vw, 180px) var(--pad) 80px; }
.works-rail { position: sticky; top: 50vh; float: left; display: flex; flex-direction: column; font-size: 13px; transform: translateY(-50%); z-index: 2; }
.works-inner { margin-left: 40px; }
.works .mid { margin-bottom: clamp(80px, 12vw, 180px); }
.work { display: grid; gap: 14px; width: min(64%, 900px); margin-bottom: clamp(100px, 14vw, 220px); }
.work-right { margin-left: auto; }
.work-center { margin-inline: auto; width: min(52%, 760px); }
.work-tag { font-size: clamp(18px, 1.6vw, 24px); line-height: 1.02; letter-spacing: -.02em; margin-top: 6px; }
.work-media { position: relative; overflow: hidden; background: #111; }
.work-media img { display: block; width: 100%; height: auto; transition: filter .6s; filter: grayscale(.2); }
.work:hover .work-media img { filter: none; --s: 1.04; }
.work-go { position: absolute; left: 14px; bottom: 14px; background: #fff; color: #000; padding: 8px 12px; border-radius: 999px; opacity: 0; transform: translateY(8px); transition: .5s var(--ease); }
.work:hover .work-go { opacity: 1; transform: none; }
.work-foot { display: flex; justify-content: space-between; color: var(--grey); border-top: 1px solid var(--line); padding-top: 10px; }
.works-all { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); padding-top: 16px; clear: both; }
.works-all a:hover { color: var(--grey); }

/* studio */
.studio { padding: clamp(100px, 14vw, 200px) var(--pad) clamp(80px, 10vw, 160px); }
.label-paren { display: block; margin-bottom: 30px; }
.studio-text { font-size: clamp(28px, 3.8vw, 64px); line-height: .98; letter-spacing: -.03em; max-width: 1300px; }
.studio-shapes { position: relative; height: clamp(420px, 60vw, 900px); margin: 60px 0; }
.shape { position: absolute; background: #111; overflow: hidden; }
.shape figcaption { position: absolute; left: 10px; bottom: 8px; color: var(--grey); }
.s1 { left: 18%; top: 34%; width: 14%; aspect-ratio: 1; }
.s2 { left: 42%; top: 0; width: 50%; aspect-ratio: 16/9; background: linear-gradient(#cfd6de, #e9ebe7 55%, #5a6b43 56%, #3d4d2c); }
.s3 { left: 4%; top: 72%; width: 22%; aspect-ratio: 4/3; }
.blob { position: absolute; inset: 18%; animation: morph 7s ease-in-out infinite; filter: blur(.5px); }
.b-ember { background: radial-gradient(circle at 32% 30%, #fff, #bdbdbd 25%, #444 60%, #111); }
.b-balance { inset: 22% 36%; background: radial-gradient(circle at 30% 30%, #ffd1e2, #ff6aa2 30%, #6c7bff 65%, #2a2f6b); animation-duration: 9s; }
.b-palette { background: conic-gradient(from 90deg, #ff5f6d, #ffc371, #47e5bc, #5b8cff, #c86bff, #ff5f6d); animation-duration: 11s; }
.design-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 20px; margin: 40px 0 clamp(100px, 14vw, 200px); }
.design-grid ul { list-style: none; font-size: 15px; }
.design-grid li::before { content: "• "; }
.design-grid p:last-child { font-size: 15px; }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 40px; font-size: clamp(22px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1; }
.team .label { margin-bottom: 12px; }

/* marquee */
.marquee { background: var(--black); color: var(--white); padding: 40px 0; overflow: hidden; border-top: 1px solid var(--line); }
.marquee-track { display: flex; gap: 48px; white-space: nowrap; width: max-content; animation: slide 30s linear infinite; padding: 6px 0; }
.marquee-track.rev { animation-direction: reverse; color: var(--grey); }
.marquee .glitch { color: var(--grey); display: inline-block; white-space: pre; transition: color .3s; }
.marquee .glitch.clear { color: var(--white); }
.marquee-track.rev .glitch.clear { color: var(--grey); }
@keyframes slide { to { transform: translateX(-50%); } }

/* footer */
.foot { background: var(--black); color: var(--white); padding: clamp(100px, 14vw, 200px) var(--pad) 22px; }
.foot-lead { font-size: clamp(20px, 2vw, 30px); line-height: 1.02; letter-spacing: -.02em; margin-bottom: clamp(60px, 10vw, 140px); }
.foot-cta { display: flex; gap: 10px; flex-wrap: wrap; margin: 40px 0 70px; }
.foot-mail { display: block; font-size: clamp(26px, 5vw, 80px); letter-spacing: -.04em; line-height: 1; word-break: break-all; transition: color .3s; }
.foot-mail span { color: var(--grey); }
.foot-mail:hover { color: var(--grey); }
.foot-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 90px; padding-top: 18px; border-top: 1px solid var(--line); }
.foot-grid div { display: grid; gap: 6px; align-content: start; }
.foot-grid span { color: var(--grey); text-transform: none; }
.foot-grid a:hover { color: var(--grey); }
.foot-base { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-top: 60px; color: var(--grey); }

/* inner pages */
.page-top { padding: 150px var(--pad) clamp(80px, 10vw, 140px); display: flex; flex-direction: column; justify-content: flex-end; min-height: 72svh; }
.lede { max-width: 560px; margin-top: 40px; font-size: clamp(18px, 1.6vw, 24px); line-height: 1.08; color: var(--grey); letter-spacing: -.015em; }
.page-top .btn { margin-top: 30px; align-self: flex-start; }
.rows { padding: 0 var(--pad) clamp(80px, 10vw, 140px); }
.row { display: grid; grid-template-columns: 80px 1fr 1fr; gap: 20px; padding: 28px 0; border-top: 1px solid var(--line); }
.row h3 { font-size: clamp(26px, 3vw, 48px); letter-spacing: -.03em; line-height: 1; font-weight: 500; }
.row p { color: var(--grey); font-size: 16px; line-height: 1.3; max-width: 440px; }
.facts { padding: clamp(80px, 10vw, 140px) var(--pad); display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; font-size: clamp(18px, 1.6vw, 24px); letter-spacing: -.02em; line-height: 1.1; }
.facts .label { margin-bottom: 12px; }
.facts a:hover { color: var(--grey); }
.contact-facts { border-top: 1px solid var(--line); }
.process { padding: clamp(80px, 10vw, 140px) var(--pad); }
.process ol { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.process li { border-top: 1px solid #000; padding-top: 14px; }
.process p { margin-top: 30px; font-size: clamp(18px, 1.5vw, 22px); line-height: 1.1; letter-spacing: -.015em; }

/* legal */
.page-hero { padding: 150px var(--pad) 40px; }
.page-hero h1 { font-size: clamp(44px, 7.4vw, 110px); line-height: .92; letter-spacing: -.035em; font-weight: 500; }
.page-hero p { color: var(--grey); max-width: 560px; margin-top: 24px; font-size: 18px; }
.crumbs { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--grey); margin-bottom: 30px; }
.block { padding: 0 var(--pad) 120px; }
.legal { max-width: 760px; margin-left: auto; font-weight: 400; line-height: 1.55; color: #cfcfcf; }
.legal h2 { color: #fff; font-size: 24px; letter-spacing: -.02em; margin: 44px 0 12px; font-weight: 500; }
.legal ul { padding-left: 18px; display: grid; gap: 8px; }
.legal a { text-decoration: underline; color: #fff; }
.updated { font-family: var(--mono); font-size: 11px; text-transform: uppercase; color: var(--grey); }

/* platforms list */
.platforms { margin: clamp(60px, 8vw, 120px) 0; border-bottom: 1px solid var(--line); }
.platform { display: grid; grid-template-columns: 60px 1fr auto; align-items: baseline; gap: 20px; padding: 18px 0; border-top: 1px solid var(--line); transition: color .3s, padding .5s var(--ease); }
.platform-name { font-size: clamp(36px, 6vw, 100px); line-height: 1; letter-spacing: -.04em; }
.platform-desc { color: var(--grey); text-align: right; }
.platform:hover { color: var(--grey); padding-left: 16px; }
@media (max-width: 800px) { .platform { grid-template-columns: 36px 1fr; } .platform-desc { grid-column: 2; text-align: left; } }

/* services */
.svc { padding: 0 var(--pad) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 20px; }
.svc-item { border-top: 1px solid var(--line); padding: 28px 0 44px; display: grid; gap: 14px; align-content: start; }
.svc-item h2 { font-size: clamp(32px, 4vw, 64px); line-height: 1; letter-spacing: -.035em; font-weight: 500; }
.svc-item p { color: var(--grey); font-size: 17px; line-height: 1.3; max-width: 460px; }
.svc-item ul { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-item li { border: 1px solid var(--line); border-radius: 999px; padding: 6px 10px; }
.svc-n { color: var(--grey); }

/* faq */
.faq { padding: clamp(80px, 10vw, 140px) var(--pad); }
.faq-item { border-top: 1px solid var(--line); }
.faq-item:last-child { border-bottom: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-size: clamp(20px, 2.2vw, 34px); letter-spacing: -.02em; line-height: 1.1; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item i { position: relative; flex: none; width: 16px; height: 16px; }
.faq-item i::before, .faq-item i::after { content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 2px; background: currentColor; transition: transform .4s var(--ease); }
.faq-item i::after { transform: rotate(90deg); }
.faq-item[open] i::after { transform: rotate(0); }
.faq-item p { color: var(--grey); max-width: 680px; padding: 0 0 26px; font-size: 17px; line-height: 1.4; }

/* contact */
.contact { padding: 0 var(--pad) clamp(80px, 10vw, 140px); display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 100px); border-top: 1px solid var(--line); padding-top: 40px; }
.contact-mail { display: block; font-size: clamp(30px, 4vw, 64px); letter-spacing: -.04em; line-height: 1.05; margin: 10px 0 50px; word-break: break-word; }
.contact-mail span, .foot-mail span { color: var(--grey); }
.contact-mail:hover { color: var(--grey); }
.contact-meta { display: grid; gap: 28px; font-size: 20px; letter-spacing: -.015em; line-height: 1.15; }
.contact-meta .label { margin-bottom: 8px; }
.brief { display: grid; gap: 22px; align-content: start; }
.brief fieldset { border: 0; }
.brief legend { margin-bottom: 12px; color: var(--grey); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; border: 1px solid var(--line); border-radius: 999px; padding: 9px 14px; font-size: 15px; cursor: pointer; transition: .25s; }
.chips label:hover span { border-color: #fff; }
.chips input:checked + span { background: #fff; color: #000; border-color: #fff; }
.chips input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.field { display: grid; gap: 8px; }
.field .mono { color: var(--grey); }
.field input, .field select, .field textarea { font: inherit; font-size: 18px; color: #fff; background: transparent; border: 0; border-bottom: 1px solid var(--line); padding: 10px 0; border-radius: 0; outline: none; resize: vertical; -webkit-appearance: none; appearance: none; }
.field select option { color: #000; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: #fff; }
.brief .btn { justify-self: start; }
.brief-note { color: var(--grey); }

@media (max-width: 800px) {
  .svc, .contact { grid-template-columns: 1fr; }
  .nav-links { gap: 12px; }
  .nav-logo { font-size: 17px; }
  .hero-foot { font-size: 10px; }
  .aside { grid-template-columns: 1fr; }
  .works-rail { display: none; }
  .works-inner { margin-left: 0; }
  .work, .work-center { width: 100%; }
  .design-grid, .team { grid-template-columns: 1fr; }
  .s1 { width: 30%; left: 4%; top: 48%; } .s2 { width: 80%; left: 20%; } .s3 { width: 44%; left: 50%; top: 70%; }
  .foot-grid, .facts, .process ol { grid-template-columns: 1fr 1fr; }
  .row { grid-template-columns: 40px 1fr; }
  .row p { grid-column: 2; }
}
@media (max-width: 480px) {
  .nav-links a:not(:last-child) { display: none; }
  .foot-grid, .facts, .process ol { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .words .w > span, .reveal { transform: none; opacity: 1; }
}

/* motion: page wipe */
.wipe { position: fixed; inset: 0; z-index: 300; background: var(--white); pointer-events: none; transform: scaleY(0); transform-origin: bottom; transition: transform .8s var(--ease); }
.wipe.cover { transform: scaleY(1); pointer-events: auto; }
.wipe.leave { transform-origin: top; }
html.wiping .wipe { transform: scaleY(1); transform-origin: top; transition: none; }

/* motion: cursor */
.cursor { position: fixed; left: 0; top: 0; z-index: 250; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: #fff; mix-blend-mode: difference; pointer-events: none; display: grid; place-items: center; opacity: 0; transition: width .5s var(--ease), height .5s var(--ease), margin .5s var(--ease), opacity .3s, background .3s; }
.cursor span { color: #000; opacity: 0; transition: opacity .3s; }
.cursor.on { opacity: 1; }
.cursor.link { width: 44px; height: 44px; margin: -22px 0 0 -22px; }
.cursor.view { width: 92px; height: 92px; margin: -46px 0 0 -46px; mix-blend-mode: normal; }
.cursor.view span { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }
@media (hover: hover) and (pointer: fine) { .has-cursor, .has-cursor a, .has-cursor button { cursor: none; } }

/* motion: media reveal + parallax */
.work-media { clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease); }
.work.in .work-media { clip-path: inset(0 0 0 0); }
.work-media img { will-change: transform; }
.work-media img { transform: scale(var(--s, 1)); transition: transform 1.4s var(--ease), filter .6s; }

.btn { will-change: transform; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  .work-media { clip-path: none; }
}

/* menu: roomier on phones */
@media (max-width: 800px) {
  .menu { padding-top: 110px; }
  .menu nav { display: flex; flex-direction: column; }
  .menu nav a { font-size: clamp(30px, 8.5vw, 44px); line-height: 1; letter-spacing: -.03em; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid rgba(0, 0, 0, .12); }
  .menu nav a:first-child { border-top: 1px solid rgba(0, 0, 0, .12); }
  .menu nav .mono { padding-top: 0; min-width: 22px; color: var(--grey); }
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.brief .btn:disabled { opacity: .6; pointer-events: none; }

/* inner-page headers: no forced height on phones */
@media (max-width: 800px) {
  .page-top { min-height: 0; padding: 110px var(--pad) 64px; }
}
.nav { transition: opacity .4s, transform .6s var(--ease); }
.nav.nav-hide { opacity: 0; transform: translateY(-100%); pointer-events: none; }

