/* iftisumshihab.com: ink, paper and the Dancing Ghost yellow.
   Archivo (headings) + Inter (text), both self-hosted, SIL OFL. */
@font-face{font-family:"Archivo";src:url(/fonts/archivo.woff2) format("woff2");font-weight:100 900;font-stretch:62% 125%;font-display:swap}
@font-face{font-family:"Inter";src:url(/fonts/inter-latin-opsz-wght-v20.woff2) format("woff2");font-weight:100 900;font-display:swap}

:root{
  --ink:#0b0d12; --ink-2:#2f333b; --muted:#55595f; --paper:#fbfaf7; --stone:#f1eee6; --line:#dedad0;
  --gold:#fdc61b; --gold-deep:#eab000; --gold-ink:#6f5200; --pass:#6ee7a0;
  --wrap:1180px; --r:14px;
  --display:"Archivo",ui-sans-serif,system-ui,sans-serif;
  --text:"Inter",ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;scroll-padding-top:88px}
body{margin:0;background:var(--paper);color:var(--ink);font:400 1.0625rem/1.65 var(--text);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
img,video,svg{display:block;max-width:100%}
img,video{height:auto}
h1,h2,h3{font-family:var(--display);line-height:1.08;margin:0 0 .5em;letter-spacing:-.016em;font-variant-ligatures:none;text-wrap:balance}
h1{font-size:clamp(2.6rem,7vw,5rem);font-weight:750}
h2{font-size:clamp(1.9rem,4vw,3rem);font-weight:700}
h3{font-size:1.3rem;font-weight:650;letter-spacing:-.012em;line-height:1.25}
p{margin:0 0 1em;max-width:66ch;text-wrap:pretty}
a{color:inherit;text-underline-offset:.18em;text-decoration-thickness:1px}
a:hover{text-decoration-thickness:2px}
:focus-visible{outline:3px solid var(--ink);outline-offset:3px;border-radius:4px}
.run :focus-visible,.foot :focus-visible{outline-color:var(--gold)}
::selection{background:var(--ink);color:var(--gold)}
[hidden]{display:none!important}
.sr{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.wrap{width:min(100% - 40px,var(--wrap));margin-inline:auto}
.skip{position:absolute;left:16px;top:-80px;z-index:50;background:var(--ink);color:#fff;padding:10px 16px;border-radius:8px}
.skip:focus{top:12px}
.small{font-size:.9375rem}

/* buttons */
.btn{display:inline-flex;align-items:center;justify-content:center;min-height:52px;padding:12px 24px;border:2px solid var(--ink);border-radius:999px;font:600 1rem/1.2 var(--text);text-decoration:none;cursor:pointer;background:transparent;color:var(--ink);text-align:center;transition:transform .18s ease,background-color .18s ease,color .18s ease}
.btn:hover{text-decoration:none;transform:translateY(-2px)}
.btn:active{transform:none}
.btn-ink{background:var(--ink);color:#fff}
.btn-ink:hover{background:#252a35}
.btn-line:hover{background:var(--ink);color:#fff}
.btn-gold{background:var(--gold);border-color:var(--gold);color:var(--ink)}
.btn-gold:hover{background:#ffd54d}
.btn-ghost{color:#fff;border-color:#767d8a}
.btn-ghost:hover{border-color:#fff}
.btn-sm{min-height:44px;padding:8px 18px;font-size:.9375rem}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:28px}
.text-link{font-weight:600}

/* header */
.top{position:sticky;top:0;z-index:20;background:var(--gold);border-bottom:1px solid rgb(11 13 18/.16)}
.top-in{display:flex;align-items:center;gap:20px;min-height:72px}
.brand{display:flex;align-items:center;gap:10px;margin-right:auto;font:700 1.15rem/1 var(--display);text-decoration:none;letter-spacing:-.01em;min-height:44px}
.brand img{border-radius:50%;border:2px solid var(--ink);background:#fff}
.top nav{display:flex;gap:4px}
.top nav a{display:flex;align-items:center;min-height:44px;padding:0 14px;border-radius:999px;font-weight:550;font-size:.975rem;text-decoration:none}
.top nav a:hover{background:rgb(11 13 18/.08)}
.top nav a[aria-current]{background:var(--ink);color:#fff}

/* hero */
.hero{background:var(--gold);overflow:hidden}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.08fr) minmax(0,.92fr);gap:24px;align-items:end;min-height:min(760px,calc(100svh - 73px))}
.hero-copy{align-self:center;padding-block:48px 56px;position:relative;z-index:1}
.hero h1{font-size:clamp(4.4rem,12.4vw,10.5rem);font-weight:800;font-stretch:70%;line-height:.88;letter-spacing:-.004em;margin-bottom:32px}
.hero h1 span{display:block}
.hero .h-page{font-size:clamp(3rem,6.6vw,5.6rem);line-height:.94;font-stretch:82%}
.lead{font-size:clamp(1.2rem,1.9vw,1.45rem);line-height:1.5;max-width:34ch;font-weight:450}
.page-head .lead{max-width:50ch}
.role{color:var(--ink-2);margin:0}
.hero-photo{align-self:end;justify-self:end;width:100%;max-width:640px}
.hero-photo img{width:100%;margin-bottom:-1px}
@media (min-width:1100px){.hero-grid .hero-photo{max-width:none}.hero-grid .hero-photo img{width:116%;max-width:none;margin-left:-8%}.hero-about .hero-grid .hero-photo img{width:104%;margin-left:-2%}}
.hero-about .hero-grid{min-height:560px}
.hero-about .hero-photo{max-width:500px}

/* live run */
.run{background:var(--ink);color:#fff;padding-block:clamp(72px,9vw,128px)}
.run-grid{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1fr);gap:clamp(32px,6vw,96px);align-items:start}
.run-intro{position:sticky;top:112px}
.run-intro p{color:#c9ccd3}
.run-intro .note{font-size:.9375rem;border-left:3px solid var(--gold);padding-left:14px;margin-top:28px}
.run-panel{background:#131722;border:1px solid #2b3242;border-radius:22px;padding:clamp(20px,3vw,36px)}
.run-steps{list-style:none;margin:0;padding:0}
.run-steps li{display:grid;grid-template-columns:30px 1fr;gap:16px;position:relative;padding-bottom:24px}
.run-steps li::after{content:"";position:absolute;left:14px;top:34px;bottom:4px;width:2px;background:#2b3242}
.run-steps li:last-child::after{display:none}
.mark{width:30px;height:30px;border-radius:50%;border:2px solid #596174;display:grid;place-items:center}
.run-steps h3{margin:2px 0 4px;font-size:1.2rem}
.run-steps p{margin:0;color:#b9bec9;font-size:.975rem;line-height:1.55}
.run-steps li.done .mark{background:var(--pass);border-color:var(--pass)}
.run-steps li.done .mark::after{content:"";width:7px;height:13px;border:solid var(--ink);border-width:0 3px 3px 0;transform:translateY(-2px) rotate(45deg)}
.run-steps li.done::after{background:var(--pass)}
.run-steps li.now .mark{border-color:var(--gold);background:var(--gold);box-shadow:0 0 0 6px rgb(253 198 27/.2)}
.run-panel.live li:not(.done):not(.now) h3{color:#a4aab7}
.approve{border-top:1px solid #2b3242;padding-top:20px}
.draft{background:#fff;color:var(--ink);border-radius:var(--r);padding:16px 18px;max-width:none;margin:0}
.draft strong{display:block;font-size:.875rem;color:var(--muted);font-weight:600}
.approve-row{display:flex;flex-wrap:wrap;gap:12px;margin-top:16px;min-height:52px}

/* sections */
.section{padding-block:clamp(64px,8vw,116px)}
.section+.section{border-top:1px solid var(--line)}
.head{max-width:760px;margin-bottom:44px}
.head p{font-size:1.15rem;color:var(--ink-2)}
.split{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1fr);gap:clamp(28px,6vw,96px);align-items:start}
.split-head p{color:var(--ink-2)}

.rows{list-style:none;margin:0;padding:0;border-top:2px solid var(--ink)}
.rows li{border-bottom:1px solid var(--line)}
.row{display:block;padding:28px 16px;margin-inline:-16px;text-decoration:none;border-radius:6px;transition:background-color .18s ease}
.row:hover{background:var(--gold);text-decoration:none}
.row h3{font-size:clamp(1.45rem,2.4vw,1.85rem);margin-bottom:8px}
.row p{margin:0 0 10px;color:var(--ink-2)}
.row-go{font-weight:600;font-size:.9375rem;text-decoration:underline;text-underline-offset:.2em}

.work-band{background:var(--stone)}
video{width:100%;aspect-ratio:16/9;background:#fbfaf6;border:1px solid var(--line);border-radius:18px}
video.is-portrait{aspect-ratio:9/16;width:min(100%,calc(78svh * 9 / 16));max-width:420px;margin-inline:auto}
.story{margin-bottom:32px;padding:16px;background:#fff;border:1px solid var(--line);border-radius:28px;box-shadow:0 -14px 34px -26px rgb(11 13 18/.5)}
.story:last-child{margin-bottom:0}
.story-text{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 20px;padding:14px 8px 0}
.story-text h3{margin:0}
.story-text p{margin:0;max-width:none;color:var(--ink-2);font-size:.975rem}
@media (min-width:821px) and (min-height:620px){
  .story{position:sticky;top:90px;margin-bottom:14vh}
  .story:nth-child(2){top:102px}.story:nth-child(3){top:114px}.story:nth-child(4){top:126px}
  .story video{width:min(100%,calc((100svh - 250px) * 16 / 9));margin-inline:auto}
}

.how{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;counter-reset:s}
.how li{counter-increment:s;border-top:2px solid var(--ink);padding-top:18px}
.how li::before{content:counter(s);display:block;font:800 4.5rem/1 var(--display);font-stretch:70%;color:var(--gold-deep);margin-bottom:14px}
.how p{color:var(--ink-2);margin:0}
.guarantee{margin-top:48px;background:var(--stone);border-radius:var(--r);padding:20px 24px;max-width:none}

.teaser{display:grid;grid-template-columns:minmax(0,.7fr) minmax(0,1fr);gap:clamp(28px,6vw,88px);align-items:center}
.teaser img{border-radius:50% 50% 18px 18px;width:100%;max-width:460px}

.faq{border-top:2px solid var(--ink)}
.faq details{border-bottom:1px solid var(--line)}
.faq summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;gap:16px;align-items:center;padding:22px 0;font:650 1.2rem/1.35 var(--display)}
.faq summary::-webkit-details-marker{display:none}
.faq summary::after{content:"+";font:500 1.8rem/1 var(--text);flex:none}
.faq details[open] summary::after{content:"\2212"}
.faq details p{padding-bottom:22px;margin:0;color:var(--ink-2)}

.closing{background:var(--gold);padding-block:clamp(72px,9vw,128px)}
.closing h2{font-size:clamp(2.6rem,7vw,5.6rem);font-stretch:80%;font-weight:800;line-height:.95;max-width:14ch}
.closing p{font-size:1.2rem}
.closing p.small{font-size:.9375rem;margin:24px 0 0}

/* inner pages */
.page-head{padding-block:clamp(56px,8vw,104px) clamp(40px,5vw,64px)}
.page-head h1{font-stretch:82%;font-size:clamp(3rem,7.5vw,6rem);line-height:.95}
.page-head-gold{background:var(--gold)}
.lost{min-height:60vh}
.demo{padding-block:56px;border-top:1px solid var(--line)}
.demo .head{margin-bottom:24px}
.demo .head h2{margin-bottom:6px}
.demo .head p{margin:0;font-size:1rem}
.demo-text{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:40px;margin-top:28px}
.demo-text ol{padding-left:1.25em;margin:0}
.demo-text li{margin-bottom:8px;max-width:66ch}
.demo-text>div:last-child{background:var(--stone);border-radius:var(--r);padding:20px 22px;align-self:start}
.demo-text>div:last-child p{margin:0}
.prose h3{margin-top:1.4em;margin-bottom:.35em}
.prose h3:first-child{margin-top:0}
.prose h2{font-size:1.6rem;margin-top:1.6em}
.prose h2:first-child{margin-top:0}
.narrow{max-width:760px}
.chips{list-style:none;display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px;padding:0}
.chips li{border:1.5px solid var(--ink);border-radius:999px;padding:7px 16px;font-weight:550;font-size:.975rem}
.facts{margin:0;border-top:2px solid var(--ink)}
.facts div{display:grid;grid-template-columns:140px 1fr;gap:16px;padding:16px 0;border-bottom:1px solid var(--line)}
.facts dt{color:var(--muted)}
.facts dd{margin:0;font-weight:550;overflow-wrap:anywhere}

.contact-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:clamp(32px,6vw,88px);align-items:start}
.option{border-top:2px solid var(--ink);padding:22px 0 34px}
.option h2,.compose h2{font-size:1.7rem}
.compose{background:#fff;border:1px solid var(--line);border-radius:22px;padding:clamp(20px,3vw,36px)}
.compose label{display:block;font-weight:600;margin:16px 0 6px;font-size:.975rem}
.compose input,.compose textarea{width:100%;font:400 1rem/1.5 var(--text);color:var(--ink);padding:12px 14px;border:1.5px solid #77736a;border-radius:10px;background:var(--paper)}
.compose textarea{resize:vertical}
.compose .btn{margin:22px 0 12px;width:100%}
.copy{border:0;background:none;padding:6px 0;font:600 inherit;text-decoration:underline;cursor:pointer;color:var(--ink)}

.links{background:var(--gold);padding:56px 20px 72px}
.links-in{max-width:520px;margin:auto;text-align:center}
.links img{margin:0 auto 18px;border-radius:50%;border:3px solid var(--ink);background:#fff}
.links h1{font-size:2.8rem;margin-bottom:6px}
.links p{margin-inline:auto}
.links ul{list-style:none;padding:0;margin:28px 0 0;display:grid;gap:12px}
.link{display:flex;align-items:center;justify-content:center;gap:12px;min-height:60px;padding:12px 20px;background:#fff;border:2px solid var(--ink);border-radius:16px;font-weight:600;text-decoration:none;transition:transform .18s ease}
.link:hover{transform:translateY(-2px);text-decoration:none}
.link-hot{background:var(--ink);color:#fff}
.link-social{justify-content:flex-start;text-align:left;font-weight:450}
.link-social svg{width:24px;height:24px;flex:none}

/* footer */
.foot{background:var(--ink);color:#c9ccd3;padding-block:64px 28px;font-size:.975rem}
.foot a{color:#fff}
.foot-grid{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(2,minmax(0,1fr));gap:40px}
.foot-name{font:750 2rem/1.1 var(--display);color:#fff}
.foot h2{font:600 1rem/1.3 var(--text);color:var(--gold);letter-spacing:0;margin-bottom:10px}
.foot ul{list-style:none;margin:0;padding:0}
.foot li a{display:inline-block;padding:6px 0;text-decoration:none}
.foot li a:hover{text-decoration:underline}
.foot-end{display:flex;justify-content:space-between;gap:16px;margin-top:48px;padding-top:22px;border-top:1px solid #2b3242}

/* social */
.top-social{display:flex;gap:2px;list-style:none;margin:0;padding:0}
.top-social a{display:grid;place-items:center;width:44px;height:44px;border-radius:50%;transition:background-color .2s,transform .2s}
.top-social a:hover{background:rgb(11 13 18/.09);transform:translateY(-2px)}
.top-social svg{width:20px;height:20px}
.social-row{display:flex;flex-wrap:wrap;gap:12px;list-style:none;margin:32px 0 0;padding:0}
.social-row a{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;width:104px;height:92px;border-radius:20px;background:var(--ink);color:#fff;font-size:.85rem;font-weight:600;text-decoration:none;transition:transform .25s cubic-bezier(.2,.7,.2,1),box-shadow .25s}
.social-row a:hover{transform:translateY(-5px);box-shadow:0 14px 24px -12px rgb(11 13 18/.55)}
.social-row svg{width:34px;height:34px;color:var(--gold)}
.channel{background:var(--ink);color:#fff}
.channel .head p{color:#c9cdd6}
.yt-empty{display:flex;gap:32px;align-items:center;padding:clamp(24px,4vw,48px);border:1px solid #2b3242;border-radius:28px;background:#141822}
.yt-empty p{color:#c9cdd6;max-width:48ch}
.yt-empty h3{font-size:clamp(1.5rem,2.6vw,2.1rem)}
.yt-badge{flex:none;display:grid;place-items:center;width:150px;height:150px;border-radius:32px;background:var(--gold);color:var(--ink)}
.yt-badge svg{width:84px;height:84px}
.yt-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;list-style:none;margin:0 0 32px;padding:0}
.yt-grid a{display:block;text-decoration:none}
.thumb{display:block;aspect-ratio:16/9;overflow:hidden;border-radius:18px;background:#141822}
.thumb img{width:100%;height:100%;object-fit:cover;transition:transform .4s}
.yt-grid a:hover img{transform:scale(1.05)}
.v-title{display:block;margin-top:12px;font-weight:600;line-height:1.4}
.channel .btn-ink{background:var(--gold);color:var(--ink)}
.follow{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;list-style:none;margin:20px 0 0;padding:0}
.follow-card{display:flex;align-items:center;gap:24px;height:100%;padding:28px;border:1px solid #2b3242;border-radius:24px;text-decoration:none;transition:transform .25s,border-color .25s}
.follow-card:hover{transform:translateY(-5px);border-color:var(--gold)}
.follow-card svg{flex:none;width:56px;height:56px;color:var(--gold)}
.follow-card b{display:block;font:800 1.7rem/1.2 var(--display)}
.follow-card span{color:#c9cdd6}
.follow-card b{color:#fff}
.channel a:focus-visible{outline-color:var(--gold)}
.link-quiet{border-color:transparent!important;background:none!important;box-shadow:none!important;text-decoration:underline;font-weight:500}

/* standing portrait */
.stand{position:relative;isolation:isolate;display:flex;justify-content:center;align-items:flex-end;height:640px;padding-bottom:28px}
.stand::before{content:"";position:absolute;z-index:-2;inset:72px 0 0;border-radius:999px 999px 28px 28px;background:var(--gold)}
.stand::after{content:"";position:absolute;z-index:-1;bottom:23px;width:200px;height:12px;border-radius:50%;background:rgb(11 13 18/.2)}
.stand img{height:100%;width:auto;max-width:100%;object-fit:contain;object-position:bottom}

/* motion */
@media (prefers-reduced-motion:no-preference){
  .hero h1 span{animation:rise .9s cubic-bezier(.16,.8,.24,1) both}
  .hero h1 span+span{animation-delay:.1s}
  .hero .lead{animation:rise .9s .2s cubic-bezier(.16,.8,.24,1) both}
  .hero .role,.hero .actions{animation:rise .9s .28s cubic-bezier(.16,.8,.24,1) both}
  .hero-photo img{animation:lift 1.1s .1s cubic-bezier(.16,.8,.24,1) both}
  .social-row li{animation:pop .6s cubic-bezier(.2,1.5,.4,1) both;animation-delay:.45s}
  .social-row li:nth-child(2){animation-delay:.53s}
  .social-row li:nth-child(3){animation-delay:.61s}
  .reveal{opacity:0;transform:translateY(34px)}
  .reveal.in{opacity:1;transform:none;transition:opacity .7s ease,transform .8s cubic-bezier(.16,.8,.24,1);transition-delay:var(--d,0s)}
  .stand img{transition:transform .9s .2s cubic-bezier(.16,.8,.24,1)}
  .reveal.stand img{transform:translateY(50px)}
  .reveal.stand.in img{transform:none}
  .yt-badge{transition:transform .35s cubic-bezier(.2,1.5,.4,1)}
  .yt-empty:hover .yt-badge{transform:rotate(-5deg) scale(1.05)}
}
@keyframes rise{from{transform:translateY(34px);opacity:0}}
@keyframes lift{from{transform:translateY(70px)}}
@keyframes pop{from{transform:scale(.5);opacity:0}}

@media (max-width:1100px){.top-social{display:none}}
@media (max-width:960px){
  .yt-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .how{grid-template-columns:repeat(2,minmax(0,1fr))}
  .run-grid,.split,.contact-grid,.demo-text{grid-template-columns:minmax(0,1fr)}
  .run-intro{position:static}
}
@media (max-width:820px){
  .hero-grid{grid-template-columns:minmax(0,1fr);gap:0;min-height:0}
  .hero-copy{padding-block:40px 8px}
  .hero-photo{justify-self:center;max-width:520px}
  .teaser,.foot-grid{grid-template-columns:minmax(0,1fr)}
}
@media (max-width:600px){
  .yt-grid,.follow{grid-template-columns:minmax(0,1fr)}
  .yt-empty{flex-direction:column;align-items:flex-start}
  .yt-badge{width:104px;height:104px;border-radius:24px}.yt-badge svg{width:58px;height:58px}
  .social-row{flex-wrap:nowrap}.social-row li{flex:1}.social-row a{width:100%}
  .stand{height:520px}
  .top-in{flex-wrap:wrap;gap:0 12px;padding-top:8px}
  .top{position:static}
  .top nav{order:3;width:100%;justify-content:space-between;padding-bottom:6px}
  .brand{font-size:1.05rem}
  .how{grid-template-columns:minmax(0,1fr)}
  .actions .btn{width:100%}
  .hero h1{font-size:clamp(4.2rem,27vw,7.5rem)}
  .facts div{grid-template-columns:minmax(0,1fr);gap:2px}
  html{scroll-padding-top:12px}
}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{transition:none!important;animation:none!important}
  .btn:hover,.link:hover{transform:none}
}
