/* Poster wall: one full-width poster per app, each in that app's own colours and type. */
:root {
  --paper: #F1F0EC; --ink: #111111;
  --live: #34C759; --review: #FF9F0A; --web: #A5392D; --dev: #A7AEB6; --oss: #64D2FF;
  --sans: "Geist", system-ui, -apple-system, sans-serif;
  --mono: "Geist Mono", ui-monospace, Menlo, monospace;
  --block: "Archivo Black", "Arial Black", sans-serif;
  color-scheme: light;
}
* { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
html, body { margin: 0; }
body { background: var(--ink); color: var(--ink); font: 400 17px/1.55 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 3px; }

/* Nav floats over every poster; difference blending keeps it readable on light and dark ones. */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 10; display: flex; justify-content: space-between; align-items: center;
  padding: calc(14px + env(safe-area-inset-top, 0px)) max(20px, env(safe-area-inset-right, 0px)) 14px max(20px, env(safe-area-inset-left, 0px));
  color: #fff; mix-blend-mode: difference; font: 600 14px/1 var(--mono); letter-spacing: .02em; }
.nav a { text-decoration: none; }
.now { position: absolute; left: 50%; transform: translateX(-50%); font-weight: 500; opacity: .85; white-space: nowrap; }
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 11; mix-blend-mode: difference; pointer-events: none; }
.progress i { display: block; height: 100%; background: #fff; transform-origin: 0 50%; transform: scaleX(0); }
.ch, .word { display: inline-block; will-change: transform; }
.wd { display: inline-block; white-space: nowrap; }
.lang { font: 600 12px/1 var(--mono); letter-spacing: .06em; color: inherit; background: none; border: 1.5px solid currentColor; border-radius: 99px; padding: 8px 12px; cursor: pointer; }

.band { position: relative; overflow: hidden; padding: clamp(80px, 9vw, 120px) max(20px, 6vw) clamp(56px, 7vw, 96px); }
.poster { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; min-height: 92vh; }
.copy { display: grid; gap: 16px; align-content: center; justify-items: start; position: relative; z-index: 1; max-width: 520px; }
.copy p { margin: 0; max-width: 40ch; }
.copy .say { font-size: clamp(20px, 2vw, 24px); line-height: 1.35; font-weight: 500; }
.icon { width: 72px; height: 72px; border-radius: 17px; }
.stack { font: 500 13px/1.5 var(--mono); opacity: .72; }
.tag { font: 600 12px/1 var(--mono); letter-spacing: .06em; text-transform: uppercase; padding: 8px 12px; }
.cta { font: 600 14px/1 var(--mono); text-underline-offset: 5px; }
.shots { display: flex; gap: 16px; justify-content: center; align-items: center; position: relative; z-index: 1; }
.shots img { height: min(560px, 62vh); width: auto; max-width: 48%; object-fit: cover; }

/* Colour blend: the bottom of every poster melts into the next poster's opening colour. */
.fade { position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 30vh, 340px); pointer-events: none; z-index: 0;
  background: linear-gradient(to bottom,
    color-mix(in srgb, var(--to) 0%, transparent) 0%,
    color-mix(in srgb, var(--to) 18%, transparent) 30%,
    color-mix(in srgb, var(--to) 50%, transparent) 58%,
    color-mix(in srgb, var(--to) 84%, transparent) 82%,
    var(--to) 100%); }
.intro-copy, .kid, .how > :not(.fade) { position: relative; z-index: 1; }
.p-sweet .fade { z-index: 1; }
.p-sweet::after { z-index: 0; }

/* Intro */
.intro { background-color: var(--paper); background-image: radial-gradient(circle, rgba(17,17,17,.06) 1px, transparent 0); background-size: 32px 32px; background-position: 8px 8px; min-height: 100vh; display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: end; gap: 24px; padding-bottom: 0; }
.intro-copy { display: grid; gap: 24px; padding-bottom: clamp(48px, 7vw, 96px); align-self: center; }
.intro h1 { margin: 0; font: 400 clamp(72px, 13vw, 200px)/.88 var(--block); letter-spacing: -.035em; }
.lead { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.35; max-width: 30ch; font-weight: 500; }
.counts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.counts li { display: inline-flex; align-items: center; gap: 8px; font: 500 13px/1 var(--mono); padding: 9px 12px; border: 1.5px solid var(--ink); border-radius: 99px; }
.dot { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.dot.live { background: var(--live); } .dot.review { background: var(--review); } .dot.web { background: var(--web); } .dot.dev { background: var(--dev); } .dot.oss { background: var(--oss); }
.cue { margin: 0; font: 500 13px/1.4 var(--mono); opacity: .65; }
.kid { height: min(82vh, 760px); width: auto; image-rendering: pixelated; align-self: end; margin-right: clamp(0px, 4vw, 60px); }

/* here. */
.p-here { background: linear-gradient(170deg, #4A0F1F 0%, #2E0F2C 45%, #1C1036 100%); color: #fff; }
.p-here h2 { margin: 0; font: 400 clamp(84px, 12vw, 170px)/.84 var(--block); letter-spacing: -.05em; }
.p-here h2 span { color: #7C8CFF; }
.p-here .tag { background: #E5484D; color: #fff; border-radius: 99px; }
.p-here .shots img { border-radius: 22px; box-shadow: 0 30px 60px rgba(0, 0, 0, .35); max-width: 31%; }
.p-here .shots img:nth-child(1) { transform: rotate(-5deg) translateY(24px); }
.p-here .shots img:nth-child(3) { transform: rotate(4deg) translateY(30px); }
.p-here .cta { color: #C9CFFF; }

/* notecook */
.p-note { background-color: #FFF3D6; background-image: linear-gradient(to bottom, #FFF3D6 0, rgba(255, 243, 214, 0) 240px), linear-gradient(#EBDDB9 1px, transparent 1px), linear-gradient(90deg, #EBDDB9 1px, transparent 1px); background-size: 100% 100%, 28px 28px, 28px 28px; }
.p-note h2 { margin: 0; font: 400 clamp(52px, 7.5vw, 104px)/1 var(--block); letter-spacing: -.03em; background: #fff; border: 4px solid var(--ink); border-radius: 16px; padding: 6px 22px 12px; box-shadow: 9px 9px 0 var(--ink); }
.p-note .tag { background: #FFC93C; border: 3px solid var(--ink); border-radius: 10px; transform: rotate(-4deg); box-shadow: 4px 4px 0 var(--ink); }
.p-note .shots { gap: 0; }
.p-note .shots img { border: 3px solid var(--ink); border-radius: 14px; box-shadow: 8px 8px 0 var(--ink); height: auto; width: 36%; max-width: 36%; }
.p-note .shots img:nth-child(1) { transform: rotate(-4deg) translateX(14%); z-index: 1; }
.p-note .shots img:nth-child(2) { transform: translateY(-18px); z-index: 2; }
.p-note .shots img:nth-child(3) { transform: rotate(4deg) translateX(-14%) translateY(20px); z-index: 1; }
.p-note .say { font-weight: 600; }

/* plainday */
.p-plain { background: #FAFAF7; }
.p-plain h2 { margin: 0; font: 800 clamp(64px, 10vw, 140px)/.9 "Bricolage Grotesque", sans-serif; letter-spacing: -.05em; }
.p-plain .tag { background: var(--ink); color: #fff; border-radius: 8px; }
.blocks { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; position: relative; max-width: 480px; width: 100%; justify-self: center; }
.blocks::before { content: ""; position: absolute; left: 50%; top: -18px; bottom: -18px; width: 6px; margin-left: -3px; background: var(--ink); border-radius: 3px; z-index: 1; transform: scaleY(var(--line, 1)); transform-origin: 50% 0; }
.blocks::after { content: ""; position: absolute; left: 50%; top: -28px; width: 18px; height: 18px; margin-left: -9px; background: var(--ink); clip-path: polygon(50% 100%, 0 0, 100% 0); z-index: 1; }
.blocks div { border-radius: 16px; padding: 14px 16px 16px; min-height: 92px; display: grid; gap: 8px; align-content: space-between; }
.blocks q { font: 600 15px/1.3 var(--sans); quotes: "“" "”"; }
.blocks small { font: 500 11.5px/1.3 var(--mono); opacity: .75; }
.b1 { background: #F26B3A; } .b2 { background: #F6B93B; } .b3 { background: #A8E6CF; } .b4 { background: #F7A8CB; } .b5 { background: #5B86D1; } .b6 { background: #9CCB5A; }

/* SweetSpot */
.p-sweet { background: linear-gradient(180deg, #1B1410 0%, #2A1C12 50%, #7A4A22 82%, #3A2A1C 100%); color: #F7E8D4; }
.sun { position: absolute; width: 720px; height: 720px; left: -120px; bottom: -420px; border-radius: 50%; background: radial-gradient(circle, #F4B25C 0%, #D9822F 45%, transparent 70%); pointer-events: none; }
.p-sweet::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 220px; background: repeating-linear-gradient(180deg, transparent 0 18px, #1B1410 18px 25px); opacity: .55; }
.p-sweet h2 { margin: 0; font: italic 400 clamp(50px, 8.2vw, 120px)/.95 "DM Serif Display", Georgia, serif; letter-spacing: -.02em; white-space: nowrap; }
.p-sweet .sub { margin-top: -6px; font: italic 400 clamp(28px, 3.4vw, 46px)/1 "DM Serif Display", Georgia, serif; color: #F4B25C; }
.p-sweet .cta { color: #F4B25C; }
.p-sweet .tag { border: 1px solid #F4B25C; color: #F4B25C; border-radius: 99px; }
.p-sweet .shots img { border-radius: 24px; box-shadow: 0 24px 60px rgba(0, 0, 0, .5); }
.p-sweet .shots img:nth-child(2) { transform: translateY(-40px); }

/* Fiziyoo */
.p-fizi { background: radial-gradient(60% 80% at 75% 50%, #0F4146 0%, #061719 62%); color: #CFF7F2; }
.p-fizi h2 { margin: 0; font: 700 clamp(56px, 8.5vw, 120px)/.9 "Chakra Petch", sans-serif; letter-spacing: .04em; text-transform: uppercase; color: #3FE6D6; text-shadow: 0 0 32px rgba(63, 230, 214, .45); }
.p-fizi .tag { border: 1px solid #3FE6D6; color: #3FE6D6; font-family: "Chakra Petch", sans-serif; }
.pose-wrap { justify-self: center; width: min(440px, 100%); position: relative; z-index: 1; }
.pose { display: block; width: 100%; height: auto; overflow: visible; }
.pose-wrap { border-radius: 19px; box-shadow: 0 0 40px rgba(63, 230, 214, .1); }
.pose-label .pl-k { font: 500 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; fill: #CFF7F2; fill-opacity: .7; }
.pose-label .pl-v { font: 700 20px "Chakra Petch", sans-serif; fill: #FFB547; }
.pose-note { font: 500 10.5px var(--mono); letter-spacing: .06em; text-transform: uppercase; fill: #CFF7F2; fill-opacity: .45; }

/* 85 Milyonda 1: wool paper, ink and madder red, a kilim strip, and the population count behind it all. */
.p-85 { background: #F7F1E5; color: #1C2740; }
.p-85 h2 { margin: 0; font: 600 clamp(52px, 7.6vw, 108px)/.95 "Fraunces", Georgia, serif; letter-spacing: -.025em; white-space: nowrap; }
.p-85 h2 em { font-style: normal; color: #A5392D; }
.p-85 .icon { border-radius: 17px; }
.p-85 .kilim { width: min(240px, 60%); height: auto; display: block; }
.p-85 .tag { color: #A5392D; border: 2px solid #A5392D; border-radius: 6px; transform: rotate(-3deg); letter-spacing: .14em; }
.p-85 .say { font-family: "Fraunces", Georgia, serif; font-weight: 500; }
.p-85 .cta { color: #A5392D; }
.p-85 .pop { font: 500 13px/1 var(--mono); letter-spacing: .04em; color: #4F5A72; margin-bottom: -6px; }
.p-85 .pop b { color: #A5392D; font-weight: 600; font-variant-numeric: tabular-nums; }
.p-85 .shots { gap: 0; }
.p-85 .shots img { height: auto; width: 58%; max-width: 400px; border-radius: 14px; box-shadow: 0 2px 0 #DDD1B8, 0 28px 50px rgba(28, 39, 64, .18); }
.p-85 .shots img:nth-child(1) { transform: rotate(-4deg) translateX(12%); z-index: 2; }
.p-85 .shots img:nth-child(2) { transform: rotate(5deg) translateX(-12%) translateY(40px); z-index: 1; }

/* PlainParse */
.p-pp { background: #111; color: #EDEDED; }
.p-pp h2 { margin: 0; font: 600 clamp(44px, 6vw, 80px)/1 var(--mono); letter-spacing: -.04em; }
.p-pp .tag { background: #EDEDED; color: #111; }
.p-pp .cta { color: #FFC94D; }
.code { margin: 0; font: 500 clamp(13px, 1.4vw, 16px)/1.75 var(--mono); background: #1B1B1B; border: 1px solid #2A2A2A; border-radius: 14px; padding: 22px 24px; overflow-x: auto; color: #EDEDED; }
.code .s { color: #FFC94D; } .code .c { color: #7A7A7A; } .code .k { color: #A8E6CF; }

/* How I work */
.how { background: var(--paper); display: grid; gap: 18px; }
.how h2 { margin: 0; font: 400 clamp(40px, 6vw, 80px)/.95 var(--block); letter-spacing: -.03em; }
.how p { margin: 0; font-size: clamp(20px, 2.2vw, 28px); line-height: 1.4; max-width: 38ch; font-weight: 500; }

.contact { display: grid; gap: 10px; margin-top: clamp(24px, 4vw, 48px); }
.contact h3 { margin: 0; font: 600 12px/1 var(--mono); letter-spacing: .1em; text-transform: uppercase; opacity: .6; }
.mail { font: 400 clamp(26px, 4.4vw, 56px)/1.05 var(--block); letter-spacing: -.03em; text-decoration: none; overflow-wrap: anywhere; }
.mail:hover { text-decoration: underline; text-decoration-thickness: 3px; text-underline-offset: 8px; }
.foot { background: #111; color: #9A9A9A; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 14px;
  padding: 26px max(20px, 6vw) calc(26px + env(safe-area-inset-bottom, 0px)); font: 500 13px/1 var(--mono); }
.foot .links { display: flex; gap: 22px; }
.foot a { color: #EDEDED; }

@media (max-width: 860px) {
  .poster { grid-template-columns: 1fr; min-height: 0; }
  .poster .shots { order: 2; }
  .shots img { height: 380px; }
  .p-note .shots img { width: 46%; max-width: 46%; height: auto; }
  .p-note .shots img:nth-child(3) { display: none; }
  .p-note .shots img:nth-child(1) { transform: rotate(-3deg) translateX(6%); }
  .p-here .shots img:nth-child(3) { display: none; }
  .p-here .shots img { max-width: 46%; }
  .p-85 { padding-bottom: 170px; }
  .p-85 .shots img { height: auto; width: 54%; max-width: 54%; }
  /* Phone intro: name and line on top, the counts sit beside Kerem, who stands on the section edge. */
  .intro { min-height: 0; padding-top: 96px; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "h1 h1" "lead lead" "counts kid"; column-gap: 12px; row-gap: 22px; align-items: start; }
  .intro-copy { display: contents; }
  .intro h1 { grid-area: h1; }
  .intro .lead { grid-area: lead; }
  .counts { grid-area: counts; flex-direction: column; align-items: flex-start; }
  .counts li { font-size: 12px; padding: 8px 10px; }
  .cue { display: none; }
  .kid { grid-area: kid; height: min(320px, 42svh); align-self: end; justify-self: end; margin: 0; }
  .intro .fade { height: 70px; }
}
@media (max-width: 560px) { .now { display: none; } }

/* Marquee ticker (here. section) */
.marquee-wrap { grid-column: 1 / -1; overflow: hidden; padding-top: 20px; padding-bottom: clamp(28px, 3vw, 48px); }
.marquee-track { display: flex; width: max-content; animation: ticker 22s linear infinite; }
.marquee-track span { display: inline-block; white-space: nowrap; padding: 0 20px; font: 600 11px/1 var(--mono); letter-spacing: .18em; text-transform: uppercase; opacity: .45; }
.p-here .marquee-track { color: #C9CFFF; }
.marquee-track .msep { opacity: .25; padding: 0 8px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation-play-state: paused; } }

/* Terminal chrome (PlainParse section) */
.terminal { border-radius: 14px; overflow: hidden; }
.terminal-bar { background: #202020; border: 1px solid #2E2E2E; border-bottom: none; border-radius: 14px 14px 0 0; padding: 11px 16px; display: flex; align-items: center; gap: 6px; }
.tb-dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.tb-dot:nth-child(1) { background: #FF5F56; }
.tb-dot:nth-child(2) { background: #FFBD2E; }
.tb-dot:nth-child(3) { background: #27C93F; }
.tb-name { flex: 1; text-align: center; font: 500 12px/1 var(--mono); color: #555; }
.terminal .code { border-radius: 0; border-top: none; }

/* How I work: skill chips */
.how-chips { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.how-chips li { font: 500 12px/1 var(--mono); letter-spacing: .03em; padding: 8px 14px; border: 1.5px solid rgba(17,17,17,.25); border-radius: 99px; color: rgba(17,17,17,.6); }
