@font-face{font-family:Geologica;font-style:normal;font-weight:300 700;font-display:swap;src:url(geo-cyr.woff2) format('woff2');unicode-range:U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116}
@font-face{font-family:Geologica;font-style:normal;font-weight:300 700;font-display:swap;src:url(geo-latext.woff2) format('woff2');unicode-range:U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C4,U+2113,U+2C60-2C7F,U+A720-A7FF}
@font-face{font-family:Geologica;font-style:normal;font-weight:300 700;font-display:swap;src:url(geo-lat.woff2) format('woff2');unicode-range:U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD}


/* RedLine Studio, the home of all projects. The thread itself is drawn by hub.js on #thread. */
:root{
  --red:#E0262F;
  --red-dark:#c41f27;
  --ink:#121212;
  --muted:#565656;
  --bg:#ffffff;
  --lead:#2b2b2b;
  --note:#6b6b6b;
  --red-text:#D42029;
  --thread:#E0262F;
  --thread-glow:0;
  --maxw:1680px;
  --lane:clamp(20px,5vw,84px);
  --gap:clamp(24px,6vw,104px);
  --text:calc(var(--lane) + var(--gap));
  --mr:clamp(24px,5.5vw,104px);
  --section:clamp(96px,10vw,160px);
  --ease:cubic-bezier(.22,.8,.18,1);
  color-scheme:light;
}
@media (prefers-color-scheme:dark){
  :root:not([data-theme="light"]){
    color-scheme:dark;
    --bg:#0C0C0D;--ink:#F2F1EF;--muted:#A9A8A4;--lead:#DEDDD9;--note:#9D9C98;--red-text:#FF5D64;--thread:#E8333C;--thread-glow:0;
  }
}
:root[data-theme="dark"]{
  color-scheme:dark;
  --bg:#0C0C0D;--ink:#F2F1EF;--muted:#A9A8A4;--lead:#DEDDD9;--note:#9D9C98;--red-text:#FF5D64;--thread:#E8333C;--thread-glow:0;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;text-size-adjust:100%;scrollbar-gutter:stable}
html,body{margin:0;background:var(--bg);color:var(--ink)}
body{font-family:Geologica,system-ui,-apple-system,'Segoe UI',Roboto,Arial,sans-serif;font-weight:350;font-size:18px;line-height:1.5;-webkit-font-smoothing:antialiased;font-feature-settings:'kern' 1;text-rendering:optimizeLegibility;overflow-x:hidden}
a{color:inherit}
.visually-hidden{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.nw{white-space:nowrap}

#thread{position:fixed;left:0;top:0;width:100vw;height:100vh;pointer-events:none;z-index:0;display:block}
.page{position:relative;z-index:1;max-width:var(--maxw);margin:0 auto;padding-left:var(--text);padding-right:var(--mr)}
.lane-ref{position:absolute;top:0;left:var(--lane);width:1px;height:1px;pointer-events:none}

/* header */
.top{position:absolute;left:var(--text);right:var(--mr);top:0;height:88px;display:flex;align-items:center;justify-content:space-between;z-index:3}
.logo{display:inline-flex;align-items:center;height:44px;margin-left:-4px;padding:0 4px;border-radius:8px}
.logo svg{display:block;width:clamp(48px,4.4vw,64px);height:auto}
.top-r{display:flex;align-items:center;gap:clamp(8px,1.6vw,24px)}
.nav{display:flex;gap:clamp(18px,2.6vw,40px);font-size:16px;font-weight:400}
.nav a{text-decoration:none;padding:10px 0;position:relative;white-space:nowrap}
.nav a::after{content:'';position:absolute;left:0;right:0;bottom:4px;height:2px;background:var(--red);transform:scaleX(0);transform-origin:right;transition:transform .45s var(--ease)}
.nav a:hover::after,.nav a:focus-visible::after{transform:scaleX(1);transform-origin:left}
.nav a.nav-login{font-weight:500}
.nav a.nav-login::after{transform:scaleX(1);transform-origin:left}
.nav a.nav-login:hover::after{background:var(--ink)}
.theme-btn{display:inline-grid;place-items:center;width:44px;height:44px;margin-right:-10px;border:0;border-radius:999px;background:transparent;color:var(--ink);cursor:pointer;-webkit-tap-highlight-color:transparent;transition:color .2s}
.theme-btn:hover{color:var(--red-text)}
.theme-btn:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.theme-btn svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.theme-btn .i-sun{display:none}
:root[data-theme-now="dark"] .theme-btn .i-sun{display:block}
:root[data-theme-now="dark"] .theme-btn .i-moon{display:none}
html:not(.js) .theme-btn{display:none}
html.theme-anim,html.theme-anim *,html.theme-anim *::before,html.theme-anim *::after{transition:background-color .35s ease,color .35s ease,border-color .35s ease!important}

/* hero */
.hero{min-height:100vh;min-height:100svh;display:flex;flex-direction:column;justify-content:center;padding:96px 0 72px}
.hero-title{margin:0;font-size:inherit;font-weight:inherit;line-height:0}
.script-slot{display:block;width:min(100%,1180px,calc((100vh - 610px) * 3.43));min-width:min(100%,560px);aspect-ratio:960/280}
.script-slot noscript img{width:100%;height:auto}
.claim{margin:clamp(48px,5.6vw,96px) 0 0;max-width:15.5em;font-size:clamp(30px,4.3vw,70px);line-height:1.04;font-weight:500;letter-spacing:-.03em;text-wrap:balance}
.lead{margin:clamp(16px,1.6vw,26px) 0 0;max-width:30em;font-size:clamp(18px,1.6vw,25px);line-height:1.42;font-weight:400;color:var(--lead);text-wrap:pretty}
.cta-row{margin-top:clamp(36px,4vw,56px);display:flex}
html.line-on .hero .claim,html.line-on .hero .lead,html.line-on .hero .cta-row{animation:settle .7s var(--ease) both}
html.line-on .hero .lead{animation-delay:.08s}
html.line-on .hero .cta-row{animation-name:fadein;animation-delay:.16s}
@keyframes fadein{from{opacity:0}to{opacity:1}}
@keyframes settle{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}

/* pill: the thread draws a loop around it */
.pill{--h:62px;display:inline-flex;align-items:center;justify-content:center;height:var(--h);padding:0 34px;border-radius:999px;font-size:18px;font-weight:500;text-decoration:none;white-space:nowrap;color:#fff;background:var(--red);transition:background-color .3s var(--ease);outline-offset:6px}
.pill:hover{background:var(--red-dark)}
.pill:focus-visible{outline:2px solid var(--ink)}
.pill-big{--h:76px;padding:0 44px;font-size:clamp(18px,1.6vw,22px)}
.pill-big.is-tied{animation:tug .9s var(--ease)}
@keyframes tug{0%{transform:none}28%{transform:translateX(-7px)}100%{transform:none}}

/* blocks */
.block{padding:var(--section) 0 0}
.h2{margin:0;font-size:clamp(34px,5.4vw,88px);line-height:1.04;font-weight:500;letter-spacing:-.028em;max-width:14em;text-wrap:balance}
.body{margin:clamp(24px,2.4vw,36px) 0 0;max-width:36em;font-size:clamp(17px,1.45vw,22px);line-height:1.55;color:var(--muted);text-wrap:pretty}
.more{font-size:18px;font-weight:500;color:var(--ink);text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:2px;text-underline-offset:6px;transition:color .2s}
.more:hover{color:var(--red-text)}
.more:focus-visible,.inl:focus-visible,.foot a:focus-visible,.nav a:focus-visible{outline:2px solid var(--red);outline-offset:4px;border-radius:2px}
.inl{color:var(--ink);text-decoration:underline;text-decoration-color:var(--red);text-decoration-thickness:1.5px;text-underline-offset:4px;transition:color .2s;white-space:nowrap}
.inl:hover{color:var(--red-text)}

.projects{padding-top:clamp(72px,7vw,120px)}
@media (min-width:561px) and (max-width:1099px){.hero{min-height:0;padding:140px 0 24px}}
/* projects: one row per project; the thread draws the strip (.proj-art) and the rules between rows */
.proj-list{list-style:none;margin:clamp(40px,4vw,64px) 0 0;padding:0;--art-h:clamp(120px,10.5vw,184px);--row-pad:clamp(36px,3.8vw,60px)}
.proj{display:grid;grid-template-columns:minmax(0,1fr);row-gap:20px;padding:var(--row-pad) 0}
.proj-text{min-width:0}
.proj-name{margin:0;display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 14px;font-size:clamp(30px,3.3vw,54px);line-height:1.08;font-weight:500;letter-spacing:-.025em}
.proj-st{font-size:clamp(15px,1.1vw,18px);font-weight:400;letter-spacing:0;color:var(--note);white-space:nowrap}
.proj-st.is-soon{color:var(--note)}
.proj-promise{margin:12px 0 0;max-width:26em;font-size:clamp(17px,1.35vw,21px);line-height:1.5;color:var(--muted);text-wrap:pretty}
.proj-act{margin:16px 0 0;text-wrap:balance}
.proj-art{height:var(--art-h);min-width:0}
html:not(.line-on) .proj{border-top:2px solid var(--red)}
html:not(.line-on) .proj:last-child{border-bottom:2px solid var(--red)}
html:not(.line-on) .proj-art{display:none}
@media (min-width:900px){
  .proj{grid-template-columns:minmax(0,5fr) minmax(0,7fr);column-gap:clamp(56px,6vw,120px);align-items:center;min-height:calc(var(--art-h) + var(--row-pad) * 2)}
}

/* studio */
.circled{display:block;margin-bottom:clamp(18px,1.8vw,28px)}
.circled-word{display:inline-block;white-space:nowrap}
.h2-rest{display:block}

/* contact */
.contact{padding-bottom:clamp(96px,10vw,160px)}
.h2-big{line-height:1}
.contact .cta-row{margin-top:clamp(40px,4.5vw,64px)}

.foot{display:flex;flex-wrap:wrap;align-items:baseline;gap:12px 28px;padding:40px 0 44px;font-size:15px;color:var(--muted)}
.foot-legal{display:flex;flex-wrap:wrap;gap:12px 28px;margin-left:auto}
.foot a{text-decoration:none}
.foot a:hover{color:var(--ink)}

@media (max-width:560px){
  :root{--mr:24px;--section:96px}
  body{font-size:17px}
  .top{height:72px}
  .top-r{gap:0}
  .nav{gap:14px;font-size:14px}
  .theme-btn{width:40px;height:40px;margin-right:-8px}
  .theme-btn svg{width:18px;height:18px}
  .hero{min-height:0;padding:96px 0 24px;justify-content:flex-start}
  .script-slot{width:calc(100% - 36px);min-width:0;margin-top:clamp(12px,5vh,48px)}
  .circled{margin-bottom:20px}
  .pill{--h:56px;padding:0 26px;font-size:17px}
  .pill-big{--h:62px;padding:0 28px;font-size:17px}
  .proj-list{--art-h:104px;--row-pad:32px}
  .proj{row-gap:16px}
  .proj-act{margin-top:12px}
  .more{font-size:17px}
  .contact{padding-bottom:56px}
  .foot{flex-direction:column;align-items:flex-start;gap:12px}
  .foot-legal{margin-left:0;flex-direction:column;gap:12px}
}
@media (prefers-reduced-motion:reduce){
  .pill,.nav a::after{transition:none}
  .pill-big.is-tied{animation:none}
  html.line-on .hero .claim,html.line-on .hero .lead,html.line-on .hero .cta-row{animation:none}
}
@media (min-width:2300px){
  :root{--maxw:2600px;--lane:120px;--gap:140px;--mr:140px;--section:200px}
  body{font-size:22px}
  .top{height:124px}
  .nav{font-size:21px;gap:52px}
  .logo svg{width:64px;height:32px}
  .theme-btn{width:56px;height:56px}
  .theme-btn svg{width:26px;height:26px}
  .script-slot{width:min(100%,1720px)}
  .claim{font-size:100px;margin-top:150px}
  .lead{font-size:32px;margin-top:30px}
  .pill{--h:80px;padding:0 46px;font-size:23px}
  .pill-big{--h:96px;padding:0 58px;font-size:27px}
  .h2{font-size:118px}
  .body{font-size:28px}
  .circled{margin-bottom:34px}
  .proj-list{--art-h:240px;--row-pad:80px}
  .proj-name{font-size:72px}
  .proj-st{font-size:21px}
  .proj-promise{font-size:27px}
  .more{font-size:23px}
  .foot{font-size:19px}
}
