/* Enes Demir — site styles (Modernist tokens come from modernist.css) */
html{scroll-behavior:smooth}
body{margin:0;background:#f3f2f2;color:#201e1d;font-family:var(--font-body);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}
a{color:#201e1d;text-underline-offset:4px}
a:hover{color:#ae1800}
img{display:block}
@keyframes letter{from{opacity:0;transform:translateY(60%)}to{opacity:1;transform:none}}
@keyframes rise{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes caret{0%{opacity:1}50%{opacity:0}}
@keyframes marquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* photos — replaces the design tool's <image-slot> */
.ph{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}

/* ---------- home: page background ---------- */
.page{background-color:#eae9e9;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22720%22%20height%3D%22720%22%3E%3Cpath%20d%3D%22M60%20150%20C70%2050%2C260%2040%2C270%20150%20S180%20300%2C110%20270%20S50%20230%2C60%20150Z%22%20fill%3D%22%23e5e3e3%22%2F%3E%3Cpath%20d%3D%22M420%20420%20C450%20330%2C640%20350%2C630%20470%20S520%20610%2C450%20570%20S390%20500%2C420%20420Z%22%20fill%3D%22%23e5e3e3%22%2F%3E%3Cpath%20d%3D%22M480%2070%20C520%2030%2C610%2060%2C595%20120%20S510%20165%2C490%20130Z%22%20fill%3D%22%23e7e5e5%22%2F%3E%3Cpath%20d%3D%22M120%20520%20C150%20480%2C240%20500%2C230%20560%20S150%20620%2C128%20590Z%22%20fill%3D%22%23e7e5e5%22%2F%3E%3Cpath%20d%3D%22M330%20230%20C345%20205%2C385%20215%2C380%20245%20S340%20270%2C333%20252Z%22%20fill%3D%22%23e7e5e5%22%2F%3E%3C%2Fsvg%3E");background-size:720px 720px;background-attachment:fixed;color:#201e1d;overflow-x:clip}
.pat-blog{background-color:#dfdcdc;background-image:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22720%22%20height%3D%22720%22%3E%3Cpath%20d%3D%22M20%2028h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M122%2028h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M154%2028h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M282%2028h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M340%2028h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M480%2028h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M512%2028h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M662%2028h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M5%2084h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M195%2084h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M227%2084h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M267%2084h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M457%2084h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M501%2084h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M545%2084h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M665%2084h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M36%20140h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M106%20140h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M150%20140h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M208%20140h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M336%20140h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M464%20140h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M604%20140h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M20%20196h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M170%20196h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M260%20196h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M312%20196h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M352%20196h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M512%20196h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M21%20252h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M141%20252h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M269%20252h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M363%20252h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M435%20252h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M537%20252h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M625%20252h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M22%20308h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M212%20308h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M402%20308h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M434%20308h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M554%20308h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M586%20308h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M18%20364h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M138%20364h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M232%20364h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M302%20364h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M430%20364h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M518%20364h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M590%20364h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M642%20364h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M31%20420h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M75%20420h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M225%20420h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M385%20420h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M487%20420h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M647%20420h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M24%20476h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M76%20476h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M120%20476h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M172%20476h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M212%20476h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M312%20476h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M402%20476h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M446%20476h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M566%20476h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M8%20532h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M136%20532h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M286%20532h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M436%20532h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M524%20532h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M674%20532h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M4%20588h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M106%20588h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M146%20588h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M204%20588h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M236%20588h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M376%20588h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M504%20588h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M562%20588h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M606%20588h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M9%20644h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M99%20644h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M259%20644h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M347%20644h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M441%20644h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M591%20644h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M5%20700h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M45%20700h40%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M135%20700h70%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M235%20700h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M363%20700h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M435%20700h22%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M475%20700h110%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3Cpath%20d%3D%22M635%20700h14%22%20stroke%3D%22%23c4c0c0%22%20stroke-width%3D%221.2%22%2F%3E%3C%2Fsvg%3E");background-size:720px 720px;background-attachment:fixed}

/* ---------- home: nav ---------- */
.topnav{position:sticky;top:0;z-index:20;display:flex;flex-wrap:wrap;align-items:center;gap:24px;padding:9px clamp(20px,5vw,72px);background:rgba(32,30,29,.92);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);color:#f3f2f2}
.logo{color:#f3f2f2;font-weight:800;font-size:17px;text-decoration:none;margin-right:auto;display:flex;align-items:baseline;white-space:nowrap;letter-spacing:-.02em}
.logo:hover{color:#f3f2f2}
.logo .x{display:inline-block;overflow:hidden;max-width:0;opacity:0;transition:max-width .45s cubic-bezier(.2,.7,.2,1),opacity .3s}
.logo .x+span+.x{transition-delay:.05s}
.logo:hover .x,.logo.open .x{max-width:3em;opacity:1}
.navlinks{display:flex;gap:clamp(14px,2.4vw,32px);font-size:14px;flex-wrap:nowrap;white-space:nowrap;overflow-x:auto;scrollbar-width:none}
.navlinks::-webkit-scrollbar{display:none}
.navlinks a{text-decoration:none;color:#f3f2f2;transition:color .3s ease}
.navlinks a:hover{color:#ec3013}
.lang{position:relative;display:grid;grid-template-columns:1fr 1fr;border:1px solid #444141;font-size:11px;font-weight:700;letter-spacing:.08em}
.lang .pill{position:absolute;top:0;bottom:0;left:0;width:50%;background:#444141;transition:transform .35s cubic-bezier(.2,.7,.2,1)}
.lang button{position:relative;background:none;border:0;padding:5px 10px;font:inherit;letter-spacing:inherit;cursor:pointer;color:#7d7979;transition:color .25s}
.lang button:hover,.lang button[aria-pressed="true"]{color:#f3f2f2}
html[lang="en"] .lang .pill{transform:translateX(100%)}
/* mobile: hamburger menu */
.burger{display:none;position:relative;width:40px;height:32px;padding:0;border:1px solid #444141;background:none;cursor:pointer;order:2}
.burger span{position:absolute;left:10px;right:10px;height:2px;background:#f3f2f2;transition:transform .35s cubic-bezier(.2,.7,.2,1),opacity .2s}
.burger span:nth-child(1){top:9px}.burger span:nth-child(2){top:15px}.burger span:nth-child(3){top:21px}
.menu-open .burger span:nth-child(1){transform:translateY(6px) rotate(45deg)}
.menu-open .burger span:nth-child(2){opacity:0}
.menu-open .burger span:nth-child(3){transform:translateY(-6px) rotate(-45deg)}
@media (max-width:720px){
  .topnav{gap:12px}
  .lang{order:1}
  .burger{display:block}
  .navlinks{position:absolute;left:0;right:0;top:100%;flex-direction:column;gap:0;overflow:hidden;white-space:normal;
    background:rgba(32,30,29,.98);padding:0 clamp(20px,5vw,72px);max-height:0;transition:max-height .45s cubic-bezier(.2,.7,.2,1),padding .45s}
  .navlinks a{font-size:28px;font-weight:800;letter-spacing:-.03em;padding:14px 0;border-top:1px solid #444141}
  .menu-open .navlinks{max-height:420px;padding-top:8px;padding-bottom:20px}
}

/* ---------- home: hero ---------- */
.hw-box{position:absolute;left:0;top:0;display:flex;flex-direction:column;gap:2px;padding:10px 14px;border:1px solid #3a3736;background:rgba(32,30,29,.85);font-family:ui-monospace,Menlo,Consolas,monospace;white-space:pre;will-change:transform;opacity:0;transition:opacity .6s,border-color .2s}
.hw-lang{font-size:11px;color:#7d7979}
.hw-line{font-size:clamp(12px,1.05vw,16px);color:#8c8888}
.caret{display:inline-block;width:.55em;height:1em;vertical-align:-.15em;margin-left:1px;background:#ec3013;animation:caret 1s steps(1) infinite}
[data-role-ch]{display:inline-block;will-change:transform;cursor:pointer;pointer-events:auto;user-select:none;-webkit-user-select:none;color:#f3f2f2}
.js [data-role-ch]{display:none}
/* hero: name on top, text + photo below; everything fits the first screen */
.hero{--nf:clamp(56px,min(9vw,14vh),190px);--pad:clamp(16px,3vh,40px);position:relative;overflow:hidden;background:#201e1d;color:#f3f2f2;box-sizing:border-box;display:flex;flex-direction:column;justify-content:center;gap:clamp(10px,2vh,24px);min-height:calc(100vh - var(--navh,48px));min-height:calc(100svh - var(--navh,48px));padding:var(--pad) clamp(20px,5vw,72px)}
.hero-name{position:relative;z-index:1;pointer-events:none;font-size:var(--nf);line-height:.86;letter-spacing:-.055em;margin:0;display:flex;flex-wrap:wrap;column-gap:.2em}
.hero-row{position:relative;z-index:1;display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:clamp(20px,3vw,48px)}
.hero-text{flex:1 1 300px;min-width:0;max-width:520px;display:flex;flex-direction:column;gap:16px;padding:16px 16px 0 0;background:rgba(32,30,29,.88);animation:rise .7s ease-out .8s both}
.hero-fig{position:relative;margin:0;flex:0 0 auto;border:2px solid #f3f2f2;background:#2f2c2b;animation:rise .9s ease-out .5s both;
  height:clamp(240px,calc(100svh - var(--navh,48px) - 2 * var(--pad) - 1.62 * var(--nf) - 60px),560px);aspect-ratio:4/3}
.hero-photo{position:absolute;inset:0;overflow:hidden}
.hero-photo .ph{object-position:50% 70%}
@media (max-width:720px){.hero-fig{width:100%;height:auto;flex-basis:100%}}
.hero-links a{color:#f3f2f2}
.hero-links a:hover{color:#f0624a}

/* ---------- home: marquee ---------- */
.mq{overflow:hidden;padding:clamp(20px,3vw,40px) 0}
.mq-track{display:flex;width:max-content;animation:marquee 50s linear infinite}
.mq:hover .mq-track{animation-play-state:paused}
.mq-item{display:flex;align-items:center;gap:clamp(20px,2.5vw,40px);padding:0 clamp(10px,1.2vw,20px);font-size:clamp(64px,9vw,150px);font-weight:800;letter-spacing:-.05em;line-height:1;white-space:nowrap;color:#201e1d;-webkit-text-stroke:1.5px #201e1d;transition:color .3s}
.mq-item:nth-child(even){color:transparent}
.mq-item:hover{color:#ec3013;-webkit-text-stroke-color:#ec3013}
.mq-item img{width:.5em;height:.5em;flex:none}

/* ---------- home: projects ---------- */
.proj{display:grid;grid-template-columns:minmax(48px,80px) minmax(0,1.3fr) minmax(0,1fr);gap:clamp(16px,3vw,48px);align-items:start;padding:clamp(28px,3vw,40px) 0;border-bottom:1px solid #bab6b6;text-decoration:none;color:#201e1d;transition:background .3s}
.proj:hover{background:#eae9e9;color:#201e1d}
.proj-n{font-size:clamp(28px,3vw,44px);font-weight:800;letter-spacing:-.04em;color:#bab6b6;transition:color .3s}
.proj:hover .proj-n{color:#ec3013}
.proj-arrow{color:#ec3013;display:inline-block;transition:transform .3s}
.proj:hover .proj-arrow{transform:translateX(8px)}
@media (max-width:720px){.proj{grid-template-columns:minmax(0,1fr);gap:14px}}

/* ---------- home: life cards ---------- */
.hob{position:sticky;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));min-height:min(70vh,560px);box-shadow:0 -12px 32px rgba(45,43,43,.08)}
.hob-img{position:relative;min-height:300px;background:#d7d3d3}
@media (max-width:720px){.hob{position:relative;min-height:0}.hob-img{min-height:240px}}

/* ---------- covers (home + blog) ---------- */
.pcard{display:flex;flex-direction:column;gap:16px;text-decoration:none;color:#201e1d}
.pcard:hover{color:#201e1d}
.pcard-media{position:relative;aspect-ratio:4/3;overflow:hidden;background:#d7d3d3}
.pcard-zoom{position:absolute;inset:0;transition:transform .8s cubic-bezier(.2,.7,.2,1)}
.pcard:hover .pcard-zoom{transform:scale(1.06)}
.pcard-read{font-size:15px;font-weight:600;transition:color .3s}
.pcard:hover .pcard-read{color:#ae1800}
.cover{position:absolute;inset:0;background:#201e1d;color:#f3f2f2;display:flex;flex-direction:column;justify-content:space-between;padding:clamp(16px,2vw,24px);font-family:ui-monospace,Menlo,monospace;font-size:12px}
.cover-lg{padding:clamp(18px,2.4vw,32px);font-size:13px}
.cover .dim{color:#a9a5a5}
.cover .red{color:#ec3013}
.cover .box{border:2px solid #f3f2f2;padding:8px 10px}
.cover-lg .box{padding:10px 12px}
.cover pre{margin:0;font:inherit;white-space:pre;overflow:hidden}

/* ---------- home: contact ---------- */
.contact a{display:flex;justify-content:space-between;padding:18px 0;border-top:1px solid #bab6b6;text-decoration:none}

/* ---------- blog ---------- */
.bnav{position:sticky;top:0;z-index:20;display:flex;align-items:center;gap:28px;padding:18px clamp(20px,5vw,72px);background:rgba(243,242,242,.88);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}
.bnav .links{display:flex;gap:clamp(14px,2.6vw,36px);font-size:15px;flex-wrap:wrap}
.bnav .links a{text-decoration:none;transition:color .3s ease}
.bnav .links a:hover{color:#9b9797}
.bnav .links a.on{color:#ae1800;font-weight:600}
.cat-btn{font:inherit;font-size:15px;font-weight:600;padding:10px 16px;border:2px solid #201e1d;background:transparent;color:#201e1d;cursor:pointer;border-radius:0;transition:background .2s,color .2s}
.cat-btn:hover{background:#eae9e9}
.cat-btn[aria-pressed="true"]{background:#201e1d;color:#f3f2f2}
.cat-btn span{opacity:.6;font-weight:400}
.feat{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,420px),1fr));gap:clamp(24px,4vw,56px);padding:clamp(32px,4vw,56px) 0;text-decoration:none;color:#201e1d;border-bottom:2px solid #201e1d;margin:0 clamp(20px,5vw,72px)}
.feat:hover{color:#201e1d}
.feat:hover h2{color:#ae1800}
.feat-media{position:relative;aspect-ratio:16/10;background:#201e1d;overflow:hidden}
.row{display:grid;grid-template-columns:minmax(90px,140px) minmax(0,1fr) auto;gap:clamp(16px,3vw,48px);align-items:baseline;padding:clamp(22px,2.6vw,32px) 0;border-bottom:1px solid #bab6b6;text-decoration:none;color:#201e1d}
@media (max-width:560px){.row{grid-template-columns:minmax(0,1fr)}.row .row-read{display:none}}
.post-grid{display:grid;grid-template-columns:minmax(180px,240px) minmax(0,720px);gap:clamp(32px,5vw,80px);padding:clamp(40px,5vw,72px) 0 clamp(64px,8vw,112px)}
@media (max-width:820px){.post-grid{grid-template-columns:minmax(0,1fr)}}
.prose{min-width:0;display:flex;flex-direction:column;gap:24px;font-size:19px;line-height:1.75;color:#2f2c2b}
.prose p{margin:0;text-wrap:pretty}
.prose h2{margin:24px 0 0;font-size:clamp(28px,2.6vw,36px);line-height:1.1;letter-spacing:-.03em;color:#201e1d;scroll-margin-top:90px}
.prose pre{margin:0;padding:24px;background:#201e1d;color:#f3f2f2;font-family:ui-monospace,Menlo,monospace;font-size:14px;line-height:1.65;overflow-x:auto;white-space:pre}
.prose blockquote{margin:16px 0;padding:24px 0;border-top:2px solid #201e1d;border-bottom:2px solid #201e1d;font-size:clamp(26px,2.4vw,34px);line-height:1.2;font-weight:800;letter-spacing:-.025em;color:#201e1d}
.prose ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;border-top:1px solid #bab6b6}
.prose li{display:grid;grid-template-columns:40px minmax(0,1fr);gap:12px;padding:14px 0;border-bottom:1px solid #bab6b6}
.prose li>span:first-child{color:#ae1800;font-weight:700}
.prose figure{margin:16px 0;display:flex;flex-direction:column;gap:10px}
.prose figure>div{position:relative;aspect-ratio:16/10;background:#d7d3d3}
.prose figcaption{font-size:14px;color:#605d5d}
.toc a{color:#201e1d;text-decoration:none}
.toc a:hover{color:#ae1800}
.pn{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));border-top:2px solid #201e1d;margin-bottom:clamp(64px,8vw,112px)}
.pn a{display:flex;flex-direction:column;gap:10px;padding:32px 32px 32px 0;text-decoration:none}
.pn a span:first-child{font-size:14px;color:#605d5d}
.pn a span:last-child{font-size:clamp(22px,2.2vw,30px);font-weight:800;line-height:1.15;letter-spacing:-.02em}
.mail-btn{font-size:18px;font-weight:700;padding:16px 20px;border:2px solid #201e1d;text-decoration:none;min-width:220px;display:flex;justify-content:space-between;transition:background .2s,color .2s}
.mail-btn:hover{background:#201e1d;color:#f3f2f2}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .mq-track{animation:none}
  *{animation-duration:.01ms!important;animation-iteration-count:1!important}
}

.prose figure>div{overflow:hidden}

/* soft rounded corners on every photo */
.photo-round{border-radius:14px;overflow:hidden}
.hob{border-radius:14px;overflow:hidden}
.pcard-media,.feat-media,.prose figure>div{border-radius:14px}

/* hero: Instax Wide print taped to the wall */
.hero-fig{border:none;border-radius:3px;background:#f7f5f0;rotate:-1.5deg;
  box-shadow:0 18px 40px rgba(0,0,0,.45),0 2px 6px rgba(0,0,0,.3)}
.hero-fig::after{content:"";position:absolute;inset:0;border-radius:3px;pointer-events:none;
  background:linear-gradient(135deg,rgba(255,255,255,.35),rgba(255,255,255,0) 40%)}
.hero-fig::before{content:"";position:absolute;top:-16px;left:50%;width:120px;height:34px;z-index:3;
  transform:translateX(-50%) rotate(-4deg);background:rgba(236,226,200,.78);box-shadow:0 1px 3px rgba(0,0,0,.2)}
.hero-photo{inset:2.5% 2.5% 11% 2.5%;border-radius:2px;box-shadow:inset 0 0 0 1px rgba(0,0,0,.08)}
@media (max-width:720px){.hero-fig{rotate:-1deg}.hero-fig::before{width:90px;height:28px;top:-13px}}

/* CV download: red underline that fills on hover (background-based, so the text renders exactly like the other links) */
.hero-links a.cv-btn{display:inline-flex;gap:8px;align-items:center;padding:0 6px 4px 0;text-decoration:none;color:#f3f2f2;
  background:linear-gradient(#ec3013,#ec3013) left bottom/100% 2px no-repeat;transition:background-size .35s cubic-bezier(.2,.7,.2,1),padding .35s cubic-bezier(.2,.7,.2,1)}
.cv-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round;transition:transform .35s}
.hero-links a.cv-btn:hover{color:#fff;padding:0 6px 4px 6px;margin-left:-6px;background-size:100% 100%}
.cv-btn:hover svg{transform:translateY(2px)}
/* back to top */
.to-top{display:grid;place-items:center;width:44px;height:44px;background:#ec3013;color:#fff;transition:background .25s,transform .25s}
.to-top svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:2.2;stroke-linecap:round;stroke-linejoin:round}
.to-top:hover{background:#ae1800;color:#fff;transform:translateY(-3px)}

/* ---------- çerez onayı ---------- */
.consent{position:fixed;left:clamp(12px,3vw,24px);right:clamp(12px,3vw,24px);bottom:clamp(12px,3vw,24px);z-index:1000;max-width:560px;margin-left:auto;display:flex;flex-direction:column;gap:14px;padding:18px 20px;background:#201e1d;color:#f3f2f2;border-top:3px solid #ec3013;box-shadow:0 12px 40px rgba(0,0,0,.25);font-size:15px;line-height:1.55;animation:rise .4s ease-out both}
.consent p{margin:0;color:#d7d3d3}
.consent-acts{display:flex;gap:10px;justify-content:flex-end;flex-wrap:wrap}
.consent button{font:inherit;font-weight:600;padding:9px 16px;cursor:pointer;border:1px solid #f3f2f2;background:transparent;color:#f3f2f2}
.consent .consent-ok{background:#ec3013;border-color:#ec3013;color:#fff}
.consent button:hover{opacity:.85}
.consent button:focus-visible{outline:2px solid #fff;outline-offset:2px}
.cookie-prefs{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}
