:root{
  --bg:#ffffff;
  --surface:#ffffff;
  --surface-raised:#f5f5f7;
  --ink:#201e1a;
  --muted:#756f65;
  --line:rgba(32,30,26,.13);
  --soft-line:rgba(32,30,26,.075);
  --accent:#393631;
  --accent-soft:rgba(57,54,49,.1);
  --shadow:0 18px 45px rgba(32,30,26,.08);
  --glow-opacity:.10;
}
html[data-theme="dark"]{
  --bg:#09090b;
  --surface:#151519;
  --surface-raised:#1d1d22;
  --ink:#f5f5f2;
  --muted:#a2a2aa;
  --line:rgba(255,255,255,.13);
  --soft-line:rgba(255,255,255,.075);
  --accent:#f0efea;
  --accent-soft:rgba(240,239,234,.08);
  --shadow:0 20px 48px rgba(0,0,0,.33);
  --glow-opacity:.24;
}
*{box-sizing:border-box}
html,body{min-height:100%;margin:0}
body{
  min-height:100dvh;
  background:var(--bg);
  color:var(--ink);
  font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,sans-serif;
  transition:background-color .5s ease,color .5s ease;
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at calc(100% - 43px) 43px,rgba(124,58,237,.30),transparent 38rem);
  opacity:var(--glow-opacity);
}
a{color:inherit}
.page-shell{position:relative;z-index:1;width:min(960px,calc(100% - 40px));margin:0 auto;padding:25px 0 72px}
.page-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 36px;border-bottom:1px solid var(--soft-line)}
.identity{display:flex;align-items:center;gap:11px;min-width:0;text-decoration:none}
.avatar{width:44px;height:44px;border:1px solid var(--line);border-radius:50%;background:var(--surface-raised);object-fit:cover;box-shadow:var(--shadow)}
.identity-copy{display:flex;align-items:center;gap:10px;min-width:0}
.identity-name{font-size:16px;font-weight:650;letter-spacing:-.02em;white-space:nowrap}
.mini-tag{color:var(--muted);font-size:12px;white-space:nowrap}
.header-actions{display:flex;align-items:center;gap:9px}
.header-button,.theme-toggle{
  display:inline-flex;align-items:center;justify-content:center;gap:7px;
  min-height:38px;border:1px solid var(--line);border-radius:999px;
  background:color-mix(in srgb,var(--surface) 90%,transparent);color:var(--ink);
  font:inherit;font-size:13px;text-decoration:none;cursor:pointer;
  transition:transform .17s ease,border-color .17s ease,background-color .5s ease,color .5s ease;
}
.header-button{padding:0 13px}.header-button:hover,.theme-toggle:hover{transform:translateY(-1px);border-color:var(--accent)}
.theme-toggle{width:38px;padding:0}.theme-toggle svg{width:17px;height:17px}.theme-toggle .sun{display:none}html[data-theme="dark"] .theme-toggle .sun{display:block}html[data-theme="dark"] .theme-toggle .moon{display:none}
.intro{padding:0 0 36px;max-width:710px}.eyebrow{margin:0 0 11px;color:var(--muted);font-size:12px;font-weight:750;letter-spacing:.1em;text-transform:uppercase}.intro h1{margin:0;font-size:clamp(34px,6vw,58px);line-height:.98;letter-spacing:-.055em;font-weight:690}.intro p{margin:18px 0 0;color:var(--muted);font-size:16px;line-height:1.65;max-width:630px}
.section-label{display:block;margin:16px 0 12px;color:var(--muted);font-size:12px;font-weight:700;letter-spacing:.09em;text-transform:uppercase}
.timeline{border-top:1px solid var(--line)}
.timeline-item{display:grid;grid-template-columns:150px minmax(0,1fr);gap:30px;padding:30px 0;border-bottom:1px solid var(--line)}
.timeline-date{padding-top:3px;color:var(--muted);font-size:13px;line-height:1.45}.timeline-card{min-width:0}.item-heading{display:flex;align-items:flex-start;justify-content:space-between;gap:18px}.item-heading h2{margin:0;font-size:20px;line-height:1.25;letter-spacing:-.025em;font-weight:650}.item-subtitle{margin:6px 0 0;color:var(--muted);font-size:14px}.item-links{display:flex;align-items:center;gap:11px;flex:0 0 auto}.item-link{display:inline-flex;align-items:center;gap:5px;flex:0 0 auto;color:var(--accent);font-size:13px;font-weight:650;text-decoration:none;white-space:nowrap}.item-link:hover{text-decoration:underline}.item-copy{margin:14px 0 0;color:var(--ink);font-size:15px;line-height:1.65}.item-copy p{margin:0 0 11px}.item-copy p:last-child{margin-bottom:0}
.tag-row{display:flex;flex-wrap:wrap;gap:7px;margin-top:17px}.tag-row span{border:1px solid var(--line);border-radius:999px;color:var(--muted);font-size:12px;line-height:1;padding:7px 9px}
.project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.project-card{min-height:270px;padding:22px;border:1px solid var(--line);border-radius:22px;background:linear-gradient(145deg,color-mix(in srgb,var(--surface) 94%,transparent),color-mix(in srgb,var(--surface-raised) 92%,transparent));box-shadow:0 8px 28px rgba(0,0,0,.035);transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}.project-card:hover{transform:translateY(-3px);border-color:color-mix(in srgb,var(--accent) 58%,var(--line));box-shadow:var(--shadow)}.project-card.featured{background:linear-gradient(145deg,color-mix(in srgb,var(--accent-soft) 82%,var(--surface)),var(--surface))}.project-card .item-heading h2{font-size:19px}.project-title{display:flex;align-items:center;gap:9px;min-width:0}.project-symbol{display:grid;place-items:center;flex:0 0 auto;width:25px;height:25px;border:1px solid var(--line);border-radius:8px;background:var(--surface-raised);color:var(--ink)}.project-symbol svg{width:14px;height:14px;stroke:currentColor;stroke-width:1.8;fill:none;stroke-linecap:round;stroke-linejoin:round}.project-symbol.is-kariyerle{background:#7c5ce0;border-color:#7c5ce0;color:#fff}.project-symbol.is-movienotes{background:#2b2a3d;border-color:#2b2a3d;color:#fff}.project-symbol.is-instagram{background:linear-gradient(135deg,#833ab4 0%,#d62976 55%,#f58529 100%);border-color:transparent;color:#fff}.project-symbol.is-pypi{background:#3775a9;border-color:#3775a9;color:#fff}.project-symbol.is-pypi svg{fill:currentColor;stroke:none}.project-status{margin-top:11px;color:var(--muted);font-size:12px;font-weight:650}.project-card p{margin:13px 0 0;color:var(--muted);font-size:14px;line-height:1.58}.project-card .tag-row{gap:0;margin-top:18px}.project-card .tag-row span{border:0;padding:0;color:var(--muted);font-size:11px}.project-card .tag-row span+span::before{content:"·";margin:0 7px;opacity:.58}
.links-list{display:grid;gap:12px;max-width:670px}.link-card{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:20px 21px;border:1px solid var(--line);border-radius:18px;background:var(--surface);text-decoration:none;transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease}.link-card:hover{transform:translateY(-2px);border-color:var(--accent);box-shadow:var(--shadow)}.link-card-main{display:flex;align-items:center;gap:13px;min-width:0}.brand-icon{display:grid;place-items:center;width:37px;height:37px;border-radius:12px;background:var(--surface-raised);color:var(--ink)}.brand-icon svg,.brand-icon img{width:20px;height:20px}.brand-icon svg{fill:currentColor}.brand-icon.huggingface{background:#ffdf44}.brand-icon.huggingface img{width:24px;height:24px}.brand-icon.letterboxd{display:flex;gap:2px}.brand-icon.letterboxd i{display:block;width:8px;height:8px;border-radius:50%}.brand-icon.letterboxd i:nth-child(1){background:#ff8000}.brand-icon.letterboxd i:nth-child(2){background:#00e054}.brand-icon.letterboxd i:nth-child(3){background:#40bcf4}.link-card h2{margin:0;font-size:17px;letter-spacing:-.02em}.link-card p{margin:4px 0 0;color:var(--muted);font-size:13px}.link-arrow{color:var(--accent);font-size:20px;line-height:1}
.back-link{display:inline-flex;align-items:center;gap:7px;margin-top:42px;color:var(--muted);font-size:13px;text-decoration:none}.back-link:hover{color:var(--ink)}.back-link-top{margin:0 0 27px}
@media(max-width:650px){.page-shell{width:min(100% - 28px,960px);padding-top:max(17px,env(safe-area-inset-top));padding-bottom:calc(48px + env(safe-area-inset-bottom))}.intro{padding:0 0 27px}.intro p{font-size:15px}.timeline-item{grid-template-columns:1fr;gap:9px;padding:24px 0}.timeline-date{padding:0}.item-heading{gap:12px}.item-heading h2{font-size:18px}.item-copy{font-size:14px}.project-grid{grid-template-columns:1fr}.project-card{min-height:0;padding:20px}.link-card{padding:17px}}

@media(max-width:620px){
  body::before{background:radial-gradient(circle at 50% -12%,rgba(124,58,237,.30),transparent 28rem)}
}

.project-symbol.project-image{overflow:hidden;border-color:rgba(255,255,255,.14);background:#f4f2ec}
.project-symbol.project-image img{display:block;width:100%;height:100%;object-fit:cover}
.project-symbol.project-image.luneau-image img{object-position:center}

/* brand icons share one quiet surface; only the mark itself carries its colour */
.brand-icon.huggingface{background:var(--surface-raised)}
.brand-icon.letterboxd{display:flex;align-items:center;justify-content:center;gap:2px}
