/* ===== adil.sh — whiteboard single-screen (pure white) ===== */
:root{
  --bg:#ffffff;--bg-soft:#f4f4f6;--ink:#14141a;--ink-2:#3f3f46;--muted:#9296a1;
  --line:#e7e7ea;--accent:#f59e0b;
  --shadow:0 1px 2px rgba(20,20,26,.05),0 8px 24px rgba(20,20,26,.06);
  --shadow-lg:0 14px 40px rgba(20,20,26,.14);
  --sketch:255px 12px 225px 14px/14px 225px 12px 255px;
}
*{box-sizing:border-box;margin:0;padding:0}
html,body{overflow-x:hidden;max-width:100%}
body{font-family:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;color:var(--ink);background:#fff;-webkit-font-smoothing:antialiased;line-height:1.5}
a{color:inherit;text-decoration:none}
button{font:inherit;cursor:pointer;border:none;background:none;color:inherit}
img{max-width:100%;display:block}
svg{width:22px;height:22px}

.screen{position:relative;display:flex;flex-direction:column;justify-content:center;min-height:100svh;min-height:100vh;overflow:hidden}

/* HEADER */
.top{position:relative;z-index:6;display:flex;align-items:center;justify-content:space-between;padding:18px clamp(18px,5vw,48px)}
.brand{font-family:'Space Grotesk';font-weight:700;font-size:24px;letter-spacing:-.02em;display:inline-flex;align-items:baseline}
.brand .b-dot{color:var(--accent)}
.brand .b-tld{color:var(--muted);font-weight:600}
.status{display:inline-flex;align-items:center;gap:8px;padding:8px 15px;border:1.5px solid var(--ink);border-radius:999px;font-size:13px;font-weight:500;color:var(--ink-2);background:#fff}
.status .s-dot{width:8px;height:8px;border-radius:50%;background:#22c55e;animation:livedot 1.8s ease-in-out infinite}
@keyframes livedot{0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,.5)}70%{box-shadow:0 0 0 7px rgba(34,197,94,0)}}

/* STAGE */
.stage{position:relative;flex:1 1 auto;width:100%;max-height:840px;display:flex;justify-content:center;align-items:center;gap:clamp(10px,2vw,32px);padding:0 clamp(18px,5vw,48px) 10px}
.wires{position:absolute;inset:0;width:100%;height:100%;z-index:1;pointer-events:none;overflow:visible}
.wires path{fill:none;stroke:var(--ink);stroke-width:2.4;stroke-linecap:round;stroke-linejoin:round}
.wires path.draw{stroke-dasharray:var(--len);stroke-dashoffset:var(--len);animation:draw .9s ease forwards;animation-delay:var(--dl,.2s)}
@keyframes draw{to{stroke-dashoffset:0}}
@media (prefers-reduced-motion:reduce){.wires path.draw,.doodle path{animation:none!important;stroke-dashoffset:0!important}}

/* greeting */
.intro{position:absolute;left:0;right:0;top:clamp(2px,2vh,16px);z-index:5;text-align:center;padding:0 16px}
.intro-eyebrow{display:inline-block;font-family:'Caveat',cursive;font-weight:600;font-size:clamp(20px,2.6vw,27px);color:var(--ink-2);line-height:1;margin-bottom:2px}
.intro h1{font-family:'Space Grotesk',sans-serif;font-weight:700;letter-spacing:-.035em;font-size:clamp(40px,6vw,64px);line-height:.98}
.mark{position:relative;white-space:nowrap}
.mark::after{content:"";position:absolute;left:-4px;right:-4px;bottom:2px;height:.42em;background:var(--accent);opacity:.32;border-radius:3px;z-index:-1;transform:rotate(-1.2deg)}
.intro p{color:var(--muted);font-size:clamp(13px,1.8vw,16px);margin-top:6px}

/* center photo — fixed */
.hero-photo{position:relative;z-index:3;display:flex;justify-content:center;align-self:end}
.hero-photo{flex:none}
.hero-photo img{width:auto;height:min(70vh,600px);max-width:100%;object-fit:contain;-webkit-mask-image:linear-gradient(to bottom,#000 82%,transparent 99%);mask-image:linear-gradient(to bottom,#000 82%,transparent 99%);animation:fadeIn .8s ease both}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}

/* on-photo animated marker doodles */
.doodle{position:absolute;inset:0;width:100%;height:100%;z-index:4;pointer-events:none;overflow:visible}
.doodle path{fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:var(--l,400);stroke-dashoffset:var(--l,400);animation:draw 1s ease forwards}
.doodle .d1{--l:300;animation-delay:.5s}
.doodle .d2{--l:80;stroke:var(--accent);animation-delay:1.3s}
.doodle .d3{--l:70;stroke:var(--accent);animation-delay:1.5s}
.doodle .spark{--l:34;stroke:var(--accent);stroke-width:2.4;animation-delay:1.7s}

/* hand-drawn decorative doodles in empty space */
.deco{position:absolute;inset:0;z-index:1;pointer-events:none;overflow:hidden}
.deco-item{position:absolute;height:auto;overflow:visible}
.deco-item path,.deco-item line,.deco-item circle,.deco-item rect{fill:none;stroke:var(--ink);stroke-width:2.6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:100;stroke-dashoffset:100;animation:drawDeco 2.4s ease forwards}
.deco-item .amber{stroke:var(--accent)}
@keyframes drawDeco{to{stroke-dashoffset:0}}
.d-cTL{left:2.5%;top:5%;width:80px}
.d-cTR{right:2.5%;top:5%;width:80px}
.d-cBL{left:2.5%;bottom:7%;width:80px}
.d-cBR{right:2.5%;bottom:7%;width:80px}
.d-cTL *{animation-delay:.25s}
.d-cTR *{animation-delay:.45s}
.d-cBL *{animation-delay:.65s}
.d-cBR *{animation-delay:.85s}
@media (prefers-reduced-motion:reduce){.deco-item *{animation:none !important;stroke-dashoffset:0 !important}}

.hero-photo{position:relative}

/* rails */
.rail{position:relative;z-index:4;flex:none;width:clamp(150px,15vw,176px);display:flex;flex-direction:column;gap:16px}
.rail-cap{font-family:'Caveat';font-weight:600;font-size:22px;color:var(--ink-2);line-height:1}
.rail.right .rail-cap{text-align:right}

/* buttons (clean soft cards, staggered) */
.act{position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:12px;width:100%;max-width:186px;aspect-ratio:1/1;padding:20px;background:#fff;border:1.5px solid #ececef;border-radius:24px;box-shadow:0 9px 26px rgba(20,20,26,.07);transition:transform .24s cubic-bezier(.2,.8,.3,1.1),box-shadow .24s,border-color .24s;text-align:left}
.act:hover{transform:translateY(-7px);box-shadow:0 20px 40px rgba(20,20,26,.14);border-color:#dfe0e4}
.act:active{transform:translateY(-2px)}
.act-ic{flex:none;width:54px;height:54px;border-radius:50%;display:grid;place-items:center;background:var(--bg-soft);color:var(--ink)}
.act-ic img{width:30px;height:30px;border-radius:8px}
.act-ic svg{width:25px;height:25px}
.act-tx{font-family:'Space Grotesk';font-weight:600;font-size:16px;min-width:0;display:flex;flex-direction:column;line-height:1.16;margin-top:auto}
.act-tx small{font-family:'Inter';font-weight:400;font-size:12px;color:var(--muted);margin-top:3px}
.act-ar{position:absolute;top:18px;right:18px;width:30px;height:30px;border-radius:50%;background:var(--bg-soft);display:grid;place-items:center;color:var(--ink);transition:.18s}
.act-ar svg{width:16px;height:16px}
.act:hover .act-ar{background:var(--ink);color:#fff;transform:translate(1px,-1px)}
.act.feat{background:#fff8ec;border-color:#f4d089}
.act.feat .act-ic{background:var(--accent);color:#14141a}
.act.feat .act-tx small{color:#b45309}
.act.feat .act-ar{background:#f7d79a}
.act.feat:hover{background:#fff2d6}
.act.feat:hover .act-ar{background:var(--ink);color:#fff}
/* free (green) highlight — Dökümanlar */
.act.feat-free{background:#f0fdf4;border-color:#a7f3c4}
.act.feat-free .act-ic{background:#16a34a;color:#fff}
.act.feat-free .act-ar{background:#bbf7d0}
.act.feat-free:hover{background:#e7fbee;border-color:#86efac}
.act.feat-free:hover .act-ar{background:var(--ink);color:#fff}
.badge-free{position:absolute;bottom:18px;right:17px;font-family:'Space Grotesk';font-weight:700;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#fff;background:#16a34a;padding:3px 9px;border-radius:999px;line-height:1;animation:newpulse 2s ease-in-out infinite}
/* staggered layout */
.rail.left .act:nth-of-type(2){margin-top:20px}
.rail.right .act:nth-of-type(1){margin-top:20px}
.badge-new{position:absolute;bottom:18px;right:17px;font-family:'Space Grotesk';font-weight:700;font-size:10px;letter-spacing:.06em;text-transform:uppercase;color:#14141a;background:var(--accent);padding:3px 9px;border-radius:999px;line-height:1;animation:newpulse 2s ease-in-out infinite}
@keyframes newpulse{0%,100%{transform:scale(1)}50%{transform:scale(1.08)}}

/* FOOTER */
.bottom{position:relative;z-index:6;display:flex;align-items:center;justify-content:space-between;gap:14px;padding:14px clamp(18px,5vw,48px)}
.mail-link{display:inline-flex;align-items:center;gap:8px;color:var(--ink-2);font-size:14px;font-weight:500;transition:.16s}
.mail-link svg{width:18px;height:18px}
.mail-link:hover{color:var(--ink)}
.bottom small{color:var(--muted);font-size:13px}

/* ===== MODALS ===== */
.modal{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:20px}
.modal.open{display:flex}
.modal-bg{position:absolute;inset:0;background:rgba(15,15,18,.45);backdrop-filter:blur(5px);animation:fade .3s ease both}
.modal-card{position:relative;width:100%;max-width:440px;max-height:88vh;overflow:auto;background:#fff;border:2.5px solid var(--ink);border-radius:24px;padding:26px;box-shadow:8px 10px 0 var(--ink);animation:pop .32s cubic-bezier(.2,.9,.3,1.15) both}
@keyframes fade{from{opacity:0}to{opacity:1}}
@keyframes pop{from{opacity:0;transform:translateY(18px) scale(.97)}to{opacity:1;transform:none}}
.modal-x{position:absolute;top:14px;right:16px;width:34px;height:34px;border-radius:50%;font-size:22px;line-height:1;color:var(--ink);background:var(--bg-soft);border:1.5px solid var(--ink);display:grid;place-items:center;z-index:2}
.modal-x:hover{background:var(--ink);color:#fff}
.modal-head{text-align:center;margin-bottom:18px}
.modal-head h3{font-family:'Space Grotesk';font-weight:700;font-size:22px;letter-spacing:-.02em}
.modal-head p{color:var(--muted);font-size:14px;margin-top:3px}
.modal-list{display:flex;flex-direction:column;gap:10px}
.mlink{display:flex;align-items:center;gap:13px;padding:12px 14px;border-radius:14px;background:#fff;border:1.8px solid var(--ink);transition:transform .16s,box-shadow .16s;opacity:0;animation:rowIn .45s ease both;animation-delay:var(--d)}
@keyframes rowIn{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:none}}
.mlink:hover{transform:translate(-1px,-1px);box-shadow:3px 4px 0 var(--ink)}
.ml-ic{flex:none;width:42px;height:42px;border-radius:12px;display:grid;place-items:center;background:var(--bg-soft);color:var(--ink);border:1.5px solid var(--ink)}
.ml-tx{display:flex;flex-direction:column;gap:1px;flex:1;min-width:0}
.ml-tx strong{font-family:'Space Grotesk';font-weight:600;font-size:15px}
.ml-tx small{color:var(--muted);font-size:12.5px}
.ml-ar{flex:none;color:var(--ink)}
.ml-ar svg{width:18px;height:18px}

/* work / offer modal */
.work-card{max-width:440px;text-align:center}
.work-shot{margin:-26px -26px 18px;border-bottom:2.5px solid var(--ink);overflow:hidden;border-radius:21px 21px 0 0}
.work-shot img{width:100%;display:block}
.work-tag{font-family:'Space Grotesk';font-size:11px;letter-spacing:.14em;color:var(--muted)}
.work-title{font-family:'Space Grotesk';font-weight:700;letter-spacing:-.02em;font-size:27px;line-height:1.1;margin:8px 0 12px}
.work-sub{color:var(--ink-2);font-size:14.5px;line-height:1.55;max-width:340px;margin:0 auto 18px}
.work-list{list-style:none;display:flex;flex-direction:column;gap:9px;text-align:left;margin:0 auto 22px;max-width:320px}
.work-list li{display:flex;align-items:center;gap:10px;font-size:14px;font-weight:500;color:var(--ink)}
.work-list li svg{width:18px;height:18px;color:#22c55e;flex:none}
.work-cta{display:inline-flex;align-items:center;gap:10px;padding:14px 24px;background:var(--ink);color:#fff;border-radius:14px;font-family:'Space Grotesk';font-weight:600;font-size:16px;box-shadow:4px 5px 0 #000;transition:.16s}
.work-cta svg{width:18px;height:18px}
.work-cta:hover{transform:translate(-1px,-2px);box-shadow:6px 7px 0 #000;background:#000}
.work-contact{font-size:12.5px;color:var(--muted);margin:14px 0 0;line-height:1.5}
.work-contact a{color:var(--accent-ink,#b45309);font-weight:600}

/* RESPONSIVE */
@media (max-width:900px){
  .screen{min-height:auto;justify-content:flex-start}
  .wires{display:none}
  .deco{display:none}
  .stage{flex:0 0 auto;max-height:none;flex-direction:column;align-items:stretch;gap:16px;padding:6px clamp(18px,5vw,48px) 26px}
  .intro{position:static;margin-bottom:2px}
  .hero-photo{order:-1;align-self:center}
  .hero-photo img{height:auto;width:min(74vw,360px)}
  /* mobile: thin horizontal rows, stacked */
  .rail{width:auto;display:flex;flex-direction:column;gap:10px}
  .rail.left .act:nth-of-type(2),.rail.right .act:nth-of-type(1){margin-top:0}
  .act{max-width:none;aspect-ratio:auto;flex-direction:row;align-items:center;gap:12px;padding:14px 15px;border-radius:16px;transform:none!important;box-shadow:0 4px 16px rgba(20,20,26,.06)}
  .act-ic{flex:none;width:44px;height:44px}
  .act-ic svg{width:21px;height:21px}
  .act-ic img{width:25px;height:25px}
  .act-tx{margin-top:0;flex:1 1 0;min-width:0;overflow:hidden}
  .act-tx small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .act-ar{position:static;flex:none;margin-left:0;width:26px;height:26px}
  .act .badge-new,.act .badge-free{position:static;flex:none;bottom:auto;right:auto;margin:0 4px 0 6px;font-size:9px;padding:3px 7px}
  .rail-cap{text-align:left!important;padding-left:4px}
  .top{flex-wrap:wrap;gap:10px}
}
@media (max-width:480px){.status{display:none}.bottom{flex-direction:column;gap:6px;text-align:center}}
