:root {
  --bg: #0a0a0a;
  --fg: #f4f4f2;
  --muted: #8d8d89;
  --line: rgba(255,255,255,.14);
  --pad: clamp(16px, 4vw, 56px);
  --ease: cubic-bezier(.2,.7,.1,1);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--fg);
  font-family: "Inter Tight", system-ui, sans-serif; font-weight: 300;
  -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
body.is-loading, body.no-scroll { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b, strong { font-weight: 800; }
em { font-style: normal; font-weight: 200; }
h2 { font-size: clamp(34px, 5.4vw, 84px); line-height: .98; letter-spacing: -.035em; font-weight: 300; }
.eyebrow { font-size: 13px; letter-spacing: .02em; color: var(--muted); margin-bottom: 22px; display: inline-block; padding-bottom: 8px; border-bottom: 1px solid currentColor; min-width: 180px; }
.muted { color: var(--muted); }
.section-head { padding: 0 var(--pad); margin-bottom: clamp(40px, 8vw, 100px); }

/* ---------- loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; background: #fff; color: #000; display: grid; place-content: center; justify-items: center; gap: 14px; transition: clip-path 1s var(--ease); clip-path: circle(150% at 50% 50%); }
.loader.done { clip-path: circle(0% at 50% 50%); }
.loader .ozo { width: min(360px, 60vw); }
.ozo--draw use { stroke-dasharray: 1600; stroke-dashoffset: 1600; animation: draw 1.6s var(--ease) forwards; }
.loader__tag { font-size: 18px; font-weight: 200; opacity: 0; animation: fade .6s 1s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fade { to { opacity: 1; } }

/* ---------- top bar ---------- */
.top { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; gap: 24px; padding: 20px var(--pad); mix-blend-mode: difference; color: #fff; pointer-events: none; }
.top a { pointer-events: auto; }
.top__logo svg { width: 84px; display: block; }
.top__meta { font-size: 13px; font-weight: 400; }
.top__meta--r { margin-left: auto; }

/* ---------- floating pill ---------- */
.pill { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 60; display: flex; gap: 6px; width: min(420px, calc(100vw - 32px)); }
.pill__btn { flex: 1; height: 46px; border-radius: 999px; border: 1px solid var(--line); background: rgba(20,20,20,.72); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); color: var(--fg); font: 500 14px "Inter Tight", sans-serif; cursor: pointer; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; padding: 0 18px; transition: background .3s; }
.pill__btn:hover { background: rgba(40,40,40,.85); }
.pill__label { display: inline-block; transition: transform .35s var(--ease), opacity .35s; }
.pill__label.swap { transform: translateY(-120%); opacity: 0; }
.pill__cta { flex: 0 0 auto; display: grid; place-items: center; height: 46px; padding: 0 20px; border-radius: 999px; background: var(--fg); color: #000; font-weight: 600; font-size: 14px; box-shadow: -14px 0 30px -12px rgba(255,120,120,.5), 14px 0 30px -12px rgba(120,170,255,.6); transition: transform .3s var(--ease); }
.pill__cta:hover { transform: scale(1.04); }

.menu { position: fixed; inset: 0; z-index: 55; background: var(--bg); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); clip-path: circle(0% at 50% calc(100% - 45px)); transition: clip-path .8s var(--ease); }
.menu.open { clip-path: circle(150% at 50% calc(100% - 45px)); }
.menu ul { list-style: none; }
.menu li a { display: flex; align-items: baseline; gap: 18px; font-size: clamp(42px, 8vw, 110px); font-weight: 800; letter-spacing: -.045em; line-height: 1.02; transition: color .3s, padding .4s var(--ease); }
.menu li a span { font-size: 14px; font-weight: 400; color: var(--muted); letter-spacing: 0; }
.menu li a:hover { color: var(--muted); padding-left: 16px; }
.menu__foot { margin-top: 40px; color: var(--muted); font-size: 14px; }

/* ---------- hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; display: grid; place-items: center; text-align: center; overflow: hidden; }
.hero__media { position: absolute; inset: 0; }
.hero__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.12); transition: opacity 1.6s ease, transform 7s linear; }
.hero__media img.on { opacity: 1; transform: scale(1); }
.hero__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(0,0,0,.35), rgba(0,0,0,.85)); }
.hero__inner { position: relative; padding: 0 var(--pad); }
.hero__inner .eyebrow { color: rgba(255,255,255,.7); border: 0; min-width: 0; }
.hero__title { font-size: clamp(46px, 9vw, 150px); line-height: .92; letter-spacing: -.05em; font-weight: 800; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .04em; }
.hero__title .line > span { display: inline-block; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.hero__title .line:nth-child(2) > span { transition-delay: .12s; }
.hero__title .line:nth-child(3) > span { transition-delay: .24s; }
body.ready .hero__title .line > span { transform: none; }
.hero__sub { max-width: 520px; margin: 28px auto 0; font-size: clamp(15px, 1.4vw, 18px); color: rgba(255,255,255,.8); }
.hero__scroll { position: absolute; bottom: 92px; left: 50%; transform: translateX(-50%); font-size: 20px; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translate(-50%, 8px); } }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in, body.ready .hero .reveal { opacity: 1; transform: none; }
body.ready .hero .reveal { transition-delay: .5s; }

/* ---------- manifesto ---------- */
.about { padding: clamp(100px, 16vw, 220px) var(--pad) clamp(60px, 8vw, 120px); max-width: 1500px; }
.about__big { font-size: clamp(28px, 4.2vw, 66px); line-height: 1.08; letter-spacing: -.035em; font-weight: 400; }
.about__big .w { opacity: .14; transition: opacity .25s; }
.about__big .w.lit { opacity: 1; }

.marquee { overflow: hidden; border-block: 1px solid var(--line); padding: 26px 0; }
.marquee__row { white-space: nowrap; font-size: clamp(30px, 5vw, 76px); font-weight: 800; letter-spacing: -.04em; text-transform: uppercase; will-change: transform; }
.marquee__row--thin { font-weight: 200; color: var(--muted); text-transform: none; }

/* ---------- work ---------- */
.work { padding-top: clamp(100px, 14vw, 200px); }
.case { position: relative; height: 240vh; }
.case__stage { position: sticky; top: 0; height: 100vh; overflow: hidden; display: grid; grid-template-columns: 1fr 1fr; cursor: pointer; }
.case__bg { position: absolute; inset: 0; }
.case__bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.32) blur(2px); transform: scale(1.08); }
.case__left, .case__right { position: relative; display: grid; place-items: center; overflow: hidden; }
.case__left img { width: min(62%, 440px); aspect-ratio: 3/4; object-fit: cover; will-change: transform; box-shadow: 0 40px 80px rgba(0,0,0,.5); }
.case__right img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; will-change: transform; }
.case__title { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; pointer-events: none; z-index: 2; }
.case__title span { display: inline-block; font-size: clamp(48px, 8.5vw, 140px); font-weight: 800; letter-spacing: -.05em; line-height: 1; color: #fff; text-shadow: 0 6px 40px rgba(0,0,0,.35); margin: 0 .12em; opacity: 0; transform: translateY(40px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.case__title span:nth-child(2) { font-size: .62em; font-weight: 300; align-self: flex-start; }
.case__title > div { display: flex; align-items: flex-end; font-size: clamp(48px, 8.5vw, 140px); }
.case__title > div span:nth-child(2) { margin-bottom: .9em; }
.case__title span.on { opacity: 1; transform: none; }
.case__tag { position: absolute; top: 96px; left: var(--pad); z-index: 3; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.case__tag i { width: 34px; height: 34px; border-radius: 50%; background: #fff; display: inline-block; }
.case__open { position: absolute; top: 96px; right: var(--pad); z-index: 3; font-size: 13px; border: 1px solid rgba(255,255,255,.4); border-radius: 999px; padding: 9px 16px; background: rgba(0,0,0,.3); backdrop-filter: blur(6px); }

/* ---------- create / services ---------- */
.create { position: relative; padding: clamp(110px, 14vw, 200px) var(--pad); display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 110px); align-items: start; }
.create__intro { position: sticky; top: 110px; }
.create__intro h2 { margin-bottom: 24px; }
.venn { position: relative; width: min(340px, 80vw); aspect-ratio: 1.05; margin-top: 50px; }
.venn__c { position: absolute; width: 50%; aspect-ratio: 1; border-radius: 50%; background: var(--fg); color: #000; display: grid; place-items: center; font-weight: 600; font-size: 15px; outline: 2px solid var(--bg); transition: transform .5s var(--ease); }
.venn__c--a { top: 0; left: 25%; }
.venn__c--d { bottom: 0; left: 0; }
.venn__c--t { bottom: 0; right: 0; }
.venn:hover .venn__c--a { transform: translateY(-10px); }
.venn:hover .venn__c--d { transform: translate(-10px, 6px); }
.venn:hover .venn__c--t { transform: translate(10px, 6px); }
.venn__mark { position: absolute; width: 22%; left: 39%; top: 55%; color: var(--bg); }

.services { list-style: none; border-top: 1px solid var(--line); }
.services li { border-bottom: 1px solid var(--line); padding: clamp(26px, 3.4vw, 46px) 0; display: grid; grid-template-columns: 56px 1fr; gap: 6px 20px; cursor: default; transition: padding .5s var(--ease); }
.services li:hover { padding-left: 14px; }
.services .num { color: var(--muted); font-size: 13px; padding-top: 1.2em; }
.services h3 { font-size: clamp(44px, 6.4vw, 104px); font-weight: 800; letter-spacing: -.05em; line-height: .95; text-transform: uppercase; }
.services .line { font-size: clamp(17px, 1.6vw, 22px); font-weight: 400; grid-column: 2; }
.services .items { color: var(--muted); font-size: 14px; grid-column: 2; }
.hover-img { position: fixed; z-index: 30; width: 280px; aspect-ratio: 4/5; pointer-events: none; overflow: hidden; border-radius: 4px; opacity: 0; transform: translate(-50%, -50%) scale(.85) rotate(-4deg); transition: opacity .3s, transform .4s var(--ease); left: 0; top: 0; }
.hover-img.on { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(-4deg); }
.hover-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- clients ---------- */
.clients { padding: clamp(60px, 10vw, 140px) 0 clamp(100px, 12vw, 180px); }
.clients__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: clamp(10px, 1.6vw, 22px); padding: 0 var(--pad); }
.client { position: relative; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: #000; border: 1px solid var(--line); transition: transform .5s var(--ease), border-color .3s; }
.client img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.1); filter: grayscale(1); transition: transform .6s var(--ease); }
.client:hover { transform: translateY(-8px); border-color: rgba(255,255,255,.6); }
.client:hover img { transform: scale(1.18); }
.client figcaption { position: absolute; left: 0; right: 0; bottom: 12%; text-align: center; font-size: 11px; color: var(--muted); opacity: 0; transition: opacity .3s; }
.client:hover figcaption { opacity: 1; }

/* ---------- founder ---------- */
.founder { padding: clamp(60px, 8vw, 120px) var(--pad); display: grid; grid-template-columns: 7fr 5fr; gap: clamp(30px, 5vw, 90px); align-items: center; }
.founder__disc { position: relative; aspect-ratio: 1; border-radius: 50%; background: var(--fg); color: #000; max-width: 640px; width: 100%; justify-self: center; }
.founder__photo { position: absolute; width: 52%; aspect-ratio: 1; border-radius: 50%; background: var(--bg); top: 24%; left: 3%; overflow: hidden; }
.founder__photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; filter: grayscale(1); }
.founder__name { position: absolute; left: 58%; right: 4%; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; align-items: center; font-size: clamp(22px, 4vw, 56px); line-height: .9; letter-spacing: -.05em; font-weight: 200; }
.founder__name b { font-weight: 800; }
.founder__text h2 { margin-bottom: 8px; }
.founder__text .muted { margin-bottom: 28px; font-size: 18px; }
.founder__text p:last-child { font-size: 18px; line-height: 1.55; max-width: 520px; }

/* ---------- contact & footer ---------- */
.contact { padding: clamp(120px, 14vw, 200px) var(--pad) 80px; text-align: center; }
.contact .eyebrow { min-width: 0; }
.contact__title { margin-bottom: 40px; }
.contact__mail { display: inline-block; font-size: clamp(26px, 5vw, 76px); font-weight: 800; letter-spacing: -.045em; border-bottom: 3px solid var(--fg); padding-bottom: 4px; word-break: break-all; transition: color .3s, border-color .3s; }
.contact__mail:hover { color: var(--muted); border-color: var(--muted); }
.contact__row { display: flex; gap: 26px; justify-content: center; flex-wrap: wrap; margin: 34px 0 60px; color: var(--muted); }
.contact__row a:hover { color: var(--fg); }
.cities { list-style: none; display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.cities li { border: 1px solid var(--line); border-radius: 999px; padding: 10px 22px; font-size: 15px; font-weight: 500; }

.foot { padding: 60px var(--pad) 140px; display: grid; justify-items: center; gap: 28px; color: var(--muted); font-size: 13px; }
.foot__sign { display: flex; align-items: center; gap: 18px; color: var(--fg); }
.foot__sign svg { width: 110px; }
.foot__type { font-size: clamp(24px, 3vw, 38px); font-weight: 300; letter-spacing: -.03em; min-width: 8ch; }
.foot__type::after { content: "|"; font-weight: 200; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.foot__links { display: flex; gap: 10px; }
.foot__links a:hover { color: var(--fg); }

/* ---------- case modal ---------- */
.case-modal { position: fixed; inset: 0; z-index: 80; background: #f4f4f2; color: #0a0a0a; overflow-y: auto; transform: translateY(100%); transition: transform .8s var(--ease); }
.case-modal.open { transform: none; }
.case-modal__close { position: sticky; top: 20px; float: right; margin: 20px var(--pad) 0 0; z-index: 2; border: 0; background: #0a0a0a; color: #fff; border-radius: 999px; padding: 12px 20px; font: 500 14px "Inter Tight", sans-serif; cursor: pointer; }
.case-modal__body { padding: 100px var(--pad) 120px; clear: both; }
.cm__cat { display: inline-flex; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 24px; }
.cm__cat i { width: 28px; height: 28px; border-radius: 50%; background: #0a0a0a; }
.cm__name { font-size: clamp(56px, 11vw, 190px); font-weight: 800; letter-spacing: -.055em; line-height: .88; margin-bottom: 50px; }
.cm__meta { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; border-top: 2px solid #0a0a0a; padding-top: 18px; margin-bottom: 70px; }
.cm__meta dt { font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; }
.cm__meta dd { font-size: 17px; margin-top: 4px; }
.cm__text { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 5vw, 90px); margin-bottom: 80px; }
.cm__text h4 { font-size: 14px; font-weight: 800; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 14px; }
.cm__text p { font-size: clamp(19px, 1.9vw, 28px); line-height: 1.3; letter-spacing: -.015em; }
.cm__gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.cm__gallery img { width: 100%; height: 100%; object-fit: cover; background: #ddd; }
.cm__gallery img:first-child { grid-column: 1 / -1; max-height: 85vh; }
.cm__next { margin-top: 90px; display: block; border-top: 2px solid #0a0a0a; padding-top: 18px; cursor: pointer; }
.cm__next small { font-size: 13px; color: #777; }
.cm__next span { display: block; font-size: clamp(40px, 7vw, 110px); font-weight: 800; letter-spacing: -.05em; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .top__meta { display: none; }
  .case { height: 200vh; }
  .case__stage { grid-template-columns: 1fr; }
  .case__left { position: absolute; inset: 0; z-index: 1; }
  .case__left img { width: 58%; }
  .case__right { display: none; }
  .case__title > div { flex-wrap: wrap; justify-content: center; padding: 0 16px; }
  .create { grid-template-columns: 1fr; }
  .create__intro { position: static; }
  .hover-img { display: none; }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .founder { grid-template-columns: 1fr; }
  .cm__meta { grid-template-columns: 1fr 1fr; }
  .cm__text { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .services li { grid-template-columns: 1fr; }
  .services .num { padding: 0; }
  .services .line, .services .items { grid-column: 1; }
  .cm__gallery { grid-template-columns: 1fr; }
  .case__tag, .case__open { top: 78px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
