:root { --bg:#070707; --panel:#0e0e0d; --text:#f5f4ee; --muted:#aaa9a1; --line:#3c3c37; --acid:#d8ff58; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; color:var(--text); background:var(--bg); font-family:Manrope,Arial,sans-serif; font-size:15px; overflow-x:hidden; }
.page-noise { position:fixed; inset:0; pointer-events:none; opacity:.012; z-index:10; 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='.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E"); }
a { color:inherit; text-decoration:none; }
.header { height:78px; display:flex; align-items:center; justify-content:space-between; max-width:1440px; padding:0 48px; margin:auto; border-bottom:1px solid var(--line); }
.logo { font-size:18px; font-weight:800; letter-spacing:-1px; }.logo span { color:var(--muted); }.logo i { display:inline-block; width:6px; height:6px; border-radius:50%; background:var(--acid); margin-left:3px; }
nav { display:flex; gap:27px; } nav a { color:#c2c1ba; font-size:13px; transition:color .2s; } nav a:hover { color:var(--acid); }
.language { border:0; background:transparent; color:#686862; font:500 12px 'DM Mono',monospace; cursor:pointer; padding:8px 0; }.language span { color:var(--text); }.language em { font-style:normal; margin:0 4px; color:#50504a; }
main { max-width:1440px; margin:auto; }.hero { position:relative; min-height:650px; padding:80px 48px 54px; display:flex; flex-direction:column; justify-content:space-between; border-bottom:1px solid var(--line); }
.eyebrow { display:flex; align-items:center; gap:9px; color:var(--muted); font:11px 'DM Mono',monospace; letter-spacing:.04em; text-transform:uppercase; margin:0; }.eyebrow > span:first-child { width:7px; height:7px; background:var(--acid); border-radius:50%; box-shadow:0 0 18px rgba(216,255,88,.6); }
.hero h1 { font-size:clamp(64px,12vw,175px); line-height:.84; letter-spacing:-.085em; margin:0 0 0 -9px; font-weight:800; }.dot { color:var(--acid); }
.hero-bottom { display:flex; justify-content:space-between; align-items:end; gap:20px; }.hero-intro-wrap { max-width:410px; }.intro { margin:0; font-size:18px; line-height:1.48; letter-spacing:-.02em; }.socrates { margin:10px 0 0; color:#898881; font:10px 'DM Mono',monospace; }.round-link { width:118px; height:118px; flex:0 0 auto; border:1px solid #4a4a43; border-radius:50%; padding:20px 17px; display:flex; flex-direction:column; justify-content:space-between; font-size:11px; line-height:1.3; transition:.25s; }.round-link b { font-size:20px; font-weight:400; }.round-link:hover { background:var(--acid); color:#181813; border-color:var(--acid); transform:rotate(-7deg); }.side-note { position:absolute; right:48px; top:202px; margin:0; color:#6d6d66; font:10px/1.55 'DM Mono',monospace; text-align:right; }
.section { padding:105px 48px; border-bottom:1px solid var(--line); }.section-label { display:flex; gap:13px; color:var(--muted); font:11px 'DM Mono',monospace; text-transform:uppercase; }.section-label span:first-child { color:var(--acid); }
.about-content { margin-top:70px; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:95px; }.section h2 { font-size:clamp(36px,5vw,68px); letter-spacing:-.065em; line-height:1.05; margin:0; font-weight:700; }.about-copy { padding-top:7px; }.about-copy p,.project-intro p { color:#b4b3ac; line-height:1.65; margin:0 0 30px; font-size:15px; }.text-link { display:inline-flex; gap:11px; font:12px 'DM Mono',monospace; border-bottom:1px solid #595951; padding-bottom:8px; }.text-link span,.mail span { color:var(--acid); font-size:16px; line-height:.7; }.things { display:flex; flex-wrap:wrap; gap:8px; margin-top:78px; }.things span { border:1px solid #3b3b35; border-radius:30px; padding:9px 13px; color:#aaa9a2; font:10px 'DM Mono',monospace; }
.projects { background:var(--panel); }.project-intro { margin:70px 0 52px; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:95px; align-items:end; }.project-intro p { margin:0; }.project-placeholder { min-height:190px; border:1px solid #484842; display:flex; align-items:center; padding:32px; color:#aaa9a1; font:13px 'DM Mono',monospace; }.cursor { color:var(--acid); font-size:22px; margin-right:7px; animation:blink 1s step-end infinite; }.placeholder-arrow { margin-left:auto; font-size:24px; color:#aaa9a1; } @keyframes blink { 50% { opacity:0; } }
.project-list { border-top:1px solid #50504a; }.project-card { min-height:112px; display:grid; grid-template-columns:55px 1fr 120px 32px; align-items:center; gap:15px; padding:20px 7px; border-bottom:1px solid #41413c; transition:background .22s,color .22s,padding .22s; }.project-card-featured { min-height:142px; background:linear-gradient(115deg,#1b1b18 0%,#10100f 68%); }.project-card:hover { background:var(--acid); color:#11110f; padding-left:18px; padding-right:18px; }.project-card > span { color:var(--acid); font:11px 'DM Mono',monospace; align-self:start; padding-top:5px; }.project-card:hover > span { color:#3a3a2c; }.project-card div { display:flex; flex-direction:column; gap:8px; }.project-card b { font-size:22px; letter-spacing:-.045em; }.project-card-featured b { font-size:34px; line-height:.95; letter-spacing:-.06em; }.project-card small { color:#aaa9a1; font-size:12px; }.project-card:hover small,.project-card:hover em { color:#3a3a2c; }.project-card em { justify-self:start; color:var(--acid); border:1px solid #50504a; border-radius:20px; padding:7px 9px; font:10px 'DM Mono',monospace; font-style:normal; text-transform:uppercase; }.project-card:hover em { border-color:#4c4c37; }.project-card i { text-align:right; font-size:24px; font-style:normal; align-self:start; }.github-link { margin-top:29px; display:inline-flex; gap:11px; padding-bottom:8px; border-bottom:1px solid #6b6b64; font:12px 'DM Mono',monospace; }.github-link span { color:var(--acid); font-size:16px; line-height:.7; }
.feed-head { margin:70px 0 49px; display:flex; justify-content:space-between; align-items:end; gap:20px; }.feed-head h2 { line-height:.98; }.ticker-wrap { overflow:hidden; border-top:1px solid #50504a; border-bottom:1px solid #50504a; margin:0 -48px; }.ticker { white-space:nowrap; font:14px 'DM Mono',monospace; padding:19px 0; animation:ticker 22s linear infinite; width:max-content; }.ticker a { color:#e0dfd8; }.ticker b { color:var(--acid); margin:0 18px; } @keyframes ticker { to { transform:translateX(-38%); } }.telegram-feed { margin-top:22px; border:1px solid #484842; background:#11110f; height:640px; overflow:hidden; position:relative; }.telegram-feed::after { content:''; position:absolute; pointer-events:none; inset:0; border:1px solid rgba(216,255,88,.08); }.telegram-feed iframe { width:100%; height:100%; border:0; display:block; filter:grayscale(.25) contrast(1.08) brightness(.8); }.feed-note { color:#96958e; margin:19px 0 0; font-size:12px; }
.contact { padding:110px 48px 60px; }.contact h2 { font-size:clamp(54px,9vw,130px); letter-spacing:-.08em; line-height:.9; margin:65px 0 24px -6px; }.mail { font-size:clamp(17px,3vw,38px); letter-spacing:-.045em; border-bottom:1px solid #696961; padding-bottom:12px; transition:color .2s; }.mail:hover { color:var(--acid); }.contacts { margin-top:100px; display:grid; grid-template-columns:repeat(5,1fr); gap:12px; }.contacts a { border-top:1px solid #464640; padding-top:14px; font:11px 'DM Mono',monospace; color:#b6b5ae; display:flex; flex-direction:column; gap:5px; transition:color .2s; }.contacts a:hover { color:var(--acid); }.contacts span { color:#707069; }
footer { max-width:1440px; margin:auto; display:flex; justify-content:space-between; padding:25px 48px; border-top:1px solid var(--line); color:#686861; font:10px 'DM Mono',monospace; }

/* Higher contrast for low-light screens. */
.about-copy p,.project-intro p { color:#cfcec6; }
.text-link { border-color:#6b6b64; }
.things span { border-color:#50504a; color:#c4c3bc; }
.contacts a { border-color:#585851; color:#d0cfc8; }
.contacts span { color:#8c8b84; }
.contacts { grid-template-columns:repeat(4,1fr); }

/* Telegram prevents its public channel page from being embedded in an iframe. */
.telegram-feed { height:auto; min-height:198px; overflow:visible; }
.telegram-feed::after { z-index:2; }
.telegram-fallback { min-height:198px; position:relative; z-index:1; padding:32px; display:flex; align-items:center; gap:20px; transition:background .25s,color .25s; }
.telegram-fallback:hover { background:var(--acid); color:#11110f; }
.telegram-mark { width:48px; height:48px; flex:0 0 auto; display:grid; place-items:center; border:1px solid currentColor; border-radius:50%; font:11px 'DM Mono',monospace; }
.telegram-fallback-copy { display:flex; flex-direction:column; gap:8px; max-width:440px; }
.telegram-fallback-copy b { font-size:17px; letter-spacing:-.025em; }
.telegram-fallback-copy small { color:#9d9c95; font-size:12px; line-height:1.5; }
.telegram-fallback:hover small { color:#323226; }
.telegram-fallback-arrow { margin-left:auto; font-size:32px; font-weight:300; }

.elsewhere-head { margin:70px 0 52px; display:grid; grid-template-columns:minmax(0,1.45fr) minmax(260px,.55fr); gap:95px; align-items:end; }.elsewhere-head p { margin:0; color:#cfcec6; line-height:1.65; }.elsewhere-links { border-top:1px solid #50504a; }.elsewhere-links a { min-height:92px; padding:20px 7px; display:grid; grid-template-columns:55px 1fr minmax(160px,.5fr) 32px; align-items:center; gap:15px; border-bottom:1px solid #41413c; transition:background .22s,color .22s,padding .22s; }.elsewhere-links a:hover { background:var(--acid); color:#11110f; padding-left:18px; padding-right:18px; }.elsewhere-links span { color:var(--acid); font:11px 'DM Mono',monospace; }.elsewhere-links a:hover span { color:#3a3a2c; }.elsewhere-links b { font-size:22px; letter-spacing:-.045em; }.elsewhere-links small { color:#96958e; font:11px 'DM Mono',monospace; }.elsewhere-links a:hover small { color:#3a3a2c; }.elsewhere-links i { font-size:24px; font-style:normal; text-align:right; }
@media(max-width:700px) { .elsewhere-head { margin:45px 0 37px; display:block; }.elsewhere-head p { margin-top:25px; }.elsewhere-links a { min-height:84px; padding:16px 3px; grid-template-columns:34px 1fr 24px; gap:8px; }.elsewhere-links small { display:none; }.elsewhere-links b { font-size:19px; } }
@media(max-width:700px) { .socrates { position:static; margin-top:22px; align-self:flex-start; }.project-card { grid-template-columns:34px 1fr 24px; gap:8px; min-height:88px; padding:16px 3px; }.project-card b { font-size:19px; }.project-card em { display:none; }.contacts { grid-template-columns:1fr 1fr; }.contacts a:last-child { grid-column:auto; } }

.project-page { min-height:100vh; background:var(--bg); position:relative; isolation:isolate; }.project-page::before { content:''; position:fixed; z-index:-1; width:360px; height:360px; top:16vh; right:10vw; border-radius:50%; background:var(--acid); opacity:.12; filter:blur(58px); }.project-coming { min-height:100vh; max-width:1440px; margin:auto; padding:48px; display:flex; flex-direction:column; align-items:flex-start; justify-content:center; gap:28px; }.project-coming .logo { position:absolute; top:31px; }.project-coming h1 { margin:0; font-size:clamp(64px,13vw,170px); line-height:.86; letter-spacing:-.09em; }.project-coming h1 span { color:var(--acid); }.project-coming > p:not(.eyebrow) { max-width:430px; margin:0; color:#c8c7c0; line-height:1.6; }.project-coming .round-link { margin-top:14px; }
@media(max-width:700px) { .project-coming { padding:25px 20px; }.project-coming .logo { top:25px; } }
@media(max-width:700px) { .header { height:64px; padding:0 20px; } nav { display:none; }.hero { min-height:620px; padding:52px 20px 24px; }.side-note { display:none; }.hero h1 { font-size:clamp(63px,19vw,100px); margin-left:-4px; }.hero-bottom { align-items:flex-start; flex-direction:column; }.intro { font-size:16px; }.round-link { width:91px; height:91px; padding:15px; }.section,.contact { padding:70px 20px; }.about-content,.project-intro { margin-top:45px; display:block; }.about-copy,.project-intro p { margin-top:30px; }.things { margin-top:45px; }.feed-head { margin:45px 0 37px; align-items:flex-start; flex-direction:column; }.ticker-wrap { margin:0 -20px; }.contact { padding-bottom:36px; }.contact h2 { margin-top:48px; }.contacts { margin-top:75px; grid-template-columns:1fr 1fr; row-gap:26px; }.contacts a:last-child { grid-column:span 2; } footer { padding:20px; gap:20px; } }
