/* ESSAN Mensucat V2.0 — "Örgü atölyesi" görsel katmanı
   Tasarım & Geliştirme: Semih Bayraktar · semihbayraktar.tr */
:root{
  --anth:#141416;--anth-2:#1C1D20;--anth-3:#26272B;--yarn:#EDE3D1;--yarn-2:#D9CCB4;
  --stitch-dark:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='26'%3E%3Cpath d='M2 2q2 13 10 21M22 2q-2 13-10 21' fill='none' stroke='%23ffffff' stroke-opacity='.05' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E");
  --stitch-light:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='26'%3E%3Cpath d='M2 2q2 13 10 21M22 2q-2 13-10 21' fill='none' stroke='%23141416' stroke-opacity='.022' stroke-width='4' stroke-linecap='round'/%3E%3C/svg%3E");
}

/* ---------- Sayfa geçişi (Chrome / Edge) ---------- */
@view-transition{navigation:auto}
::view-transition-old(root){animation:vtOut .35s cubic-bezier(.6,0,.4,1) both}
::view-transition-new(root){animation:vtIn .55s cubic-bezier(.2,.7,.2,1) both}
@keyframes vtOut{to{opacity:0;transform:translateY(-12px)}}
@keyframes vtIn{from{clip-path:polygon(0 0,100% 0,100% 0,0 0)}to{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)}}

/* ---------- İğne imleci ---------- */
html.has-needle,html.has-needle body{cursor:url("../img/cursor/needle.svg") 3 3,auto}
html.has-needle a,html.has-needle button,html.has-needle [role=button],html.has-needle label,html.has-needle summary,html.has-needle select,html.has-needle .gal__stage,html.has-needle .pcard,html.has-needle .feat__i{cursor:url("../img/cursor/needle-hover.svg") 3 3,pointer}
html.has-needle input[type=text],html.has-needle input[type=email],html.has-needle input[type=tel],html.has-needle input[type=search],html.has-needle textarea{cursor:text}
.yarn-trail{position:fixed;inset:0;z-index:9999;pointer-events:none}

/* ---------- Zeminler ---------- */
body{background:#F4F1EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .035 0'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E")}
.sec--knitpaper{position:relative;background-image:var(--stitch-light);background-size:24px 26px}
.sec--knit{position:relative;overflow:hidden;background:var(--anth)}
.sec--knit::before{content:"";position:absolute;inset:-60px 0;background-image:var(--stitch-dark);background-size:24px 26px;animation:knitDrift 40s linear infinite;pointer-events:none}
.sec--knit::after{content:"";position:absolute;inset:0;background:radial-gradient(60% 50% at 85% 0%,rgba(205,28,24,.16),transparent 70%),radial-gradient(50% 60% at 0% 100%,rgba(233,184,36,.06),transparent 70%);pointer-events:none}
.sec--knit>*{position:relative;z-index:1}
@keyframes knitDrift{to{transform:translateY(52px)}}
.sec--dark{background:var(--anth)}

/* Örgü kenarı: koyu/açık bölümler arasında ilmek sırası */
.stitch-edge{height:22px;position:relative;z-index:2;margin:-1px 0;background-repeat:repeat-x;background-size:24px 22px}
.stitch-edge--dark-to-light{background-color:#F4F1EB;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22'%3E%3Cpath d='M0 0h24v4q-4 0-6 6t-6 12q-4-6-6-12T0 4z' fill='%23141416'/%3E%3Cpath d='M3 3q3 8 9 16M21 3q-3 8-9 16' fill='none' stroke='%23CD1C18' stroke-width='1.6' stroke-linecap='round' opacity='.85'/%3E%3C/svg%3E")}
.stitch-edge--light-to-dark{background-color:var(--anth);background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22'%3E%3Cpath d='M0 0h24v4q-4 0-6 6t-6 12q-4-6-6-12T0 4z' fill='%23F4F1EB'/%3E%3Cpath d='M3 3q3 8 9 16M21 3q-3 8-9 16' fill='none' stroke='%23D9CCB4' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E")}

/* ---------- Butonlar: ilmek dikişi kenar ---------- */
.btn{position:relative;isolation:isolate}
.btn::after{content:"";position:absolute;inset:4px;border-radius:2px;pointer-events:none;opacity:0;transition:opacity .25s;
  background:linear-gradient(90deg,currentColor 50%,transparent 0) repeat-x 0 0/8px 1px,linear-gradient(90deg,currentColor 50%,transparent 0) repeat-x 0 100%/8px 1px,linear-gradient(0deg,currentColor 50%,transparent 0) repeat-y 0 0/1px 8px,linear-gradient(0deg,currentColor 50%,transparent 0) repeat-y 100% 0/1px 8px}
.btn:hover::after{opacity:.55;animation:stitchRun .6s linear infinite}
@keyframes stitchRun{to{background-position:8px 0,-8px 100%,0 -8px,100% 8px}}
.btn--glass{background:rgba(255,255,255,.08);color:#fff;border-color:rgba(255,255,255,.28);backdrop-filter:blur(8px)}
.btn--glass:hover{background:rgba(255,255,255,.16);border-color:#fff}
.btn--red{box-shadow:0 10px 26px -12px rgba(205,28,24,.75)}
.btn{transition:background .2s,color .2s,border-color .2s,transform .35s cubic-bezier(.2,.7,.2,1),box-shadow .2s}
.kicker--light{color:#bdb6aa}

/* ---------- Header ---------- */
.hdr{background:rgba(244,241,235,.82)}
.pg-home .hdr:not(.is-scrolled){background:rgba(20,20,22,.55);border-bottom-color:rgba(255,255,255,.06)}
.pg-home .hdr:not(.is-scrolled) .nav a,.pg-home .hdr:not(.is-scrolled) .lang{color:#ece6dc}
.pg-home .hdr:not(.is-scrolled) .hdr__logo img{filter:brightness(0) invert(1) drop-shadow(0 0 0 transparent)}
.pg-home .hdr:not(.is-scrolled) .burger{background:transparent;border-color:rgba(255,255,255,.3);color:#fff}
.nav a::after{height:2px;background:repeating-linear-gradient(90deg,var(--red) 0 6px,transparent 6px 9px)}

/* ---------- Hero: örme simülasyonu ---------- */
.pg-home main{margin-top:calc(var(--hdr) * -1)}
.kh{position:relative;background:var(--anth);color:#fff;padding:calc(var(--hdr) + clamp(28px,5vw,64px)) 0 0;overflow:hidden}
.kh__bg{position:absolute;inset:0;pointer-events:none}
.kh__photo{position:absolute;inset:0;background-size:cover;background-position:center;opacity:.16;filter:grayscale(.4) contrast(1.1);animation:kb 24s ease-out forwards;transform:scale(1.06)}
.kh__tex{position:absolute;inset:-60px 0;background-image:var(--stitch-dark);background-size:24px 26px;animation:knitDrift 30s linear infinite}
.kh__glow{position:absolute;inset:0;background:radial-gradient(55% 60% at 75% 35%,rgba(205,28,24,.22),transparent 70%),linear-gradient(90deg,rgba(20,20,22,.96) 0%,rgba(20,20,22,.7) 45%,rgba(20,20,22,.2) 100%),linear-gradient(0deg,var(--anth),transparent 30%)}
.kh__in{position:relative;display:grid;grid-template-columns:1fr 1.05fr;gap:clamp(24px,4vw,64px);align-items:center;min-height:min(78vh,760px)}
.kh__t{font:850 clamp(3.3rem,7.6vw,7rem)/.9 var(--head);font-stretch:68%;text-transform:uppercase;letter-spacing:-.02em;margin:0 0 26px}
.kh__t em{color:var(--red);display:block;position:relative;width:max-content;max-width:100%}
.kh__t em::after{content:"";position:absolute;left:0;right:6%;bottom:-6px;height:12px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 12' preserveAspectRatio='none'%3E%3Cpath d='M2 8 C 30 0, 50 12, 80 6 S 140 0, 198 6' fill='none' stroke='%23EDE3D1' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat 0 0/100% 100%;clip-path:inset(0 100% 0 0);animation:yarnLine 1.4s 1s cubic-bezier(.6,0,.2,1) forwards}
@keyframes yarnLine{to{clip-path:inset(0 0 0 0)}}
.wv{display:inline-block;overflow:hidden;vertical-align:bottom;padding-bottom:.04em}
.wv>span{display:inline-block;transform:translateY(105%);transition:transform .9s cubic-bezier(.2,.8,.2,1);transition-delay:calc(var(--i) * .12s + .1s)}
.is-woven .wv>span{transform:none}
.kh__p{font-size:clamp(1.05rem,1.4vw,1.22rem);color:#cfc8bd;max-width:54ch;margin:0 0 30px}
.kh__facts{display:flex;gap:0;margin:36px 0 0;border-top:1px solid rgba(255,255,255,.12)}
.kh__facts div{padding:16px 28px 0 0;margin-right:28px;border-right:1px solid rgba(255,255,255,.12)}
.kh__facts div:last-child{border-right:0}
.kh__facts dt{font-size:.7rem;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#8f887d}
.kh__facts dd{margin:4px 0 0;font:850 1.7rem var(--head);font-stretch:72%}
.kh__stage{position:relative;margin:0;aspect-ratio:1/1.02;max-height:680px;width:100%;border-radius:6px;background:linear-gradient(180deg,#1b1c1f,#141416);border:1px solid rgba(255,255,255,.08);box-shadow:0 40px 80px -40px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.05);overflow:hidden}
.kh__stage canvas{position:absolute;inset:0;display:block}
.kh__hud{position:absolute;left:14px;display:inline-flex;align-items:center;gap:8px;padding:5px 10px;background:rgba(20,20,22,.78);border:1px solid rgba(255,255,255,.1);border-radius:2px;font-size:.68rem;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:#d7d0c5;backdrop-filter:blur(4px)}
.kh__hud b{color:var(--floor);font-family:var(--head)}
.kh__hud--1{top:14%}.kh__hud--2{top:33%}.kh__hud--3{top:58%}
.kh__live{position:absolute;right:14px;bottom:14px;display:inline-flex;align-items:center;gap:8px;padding:6px 12px;background:rgba(205,28,24,.9);color:#fff;font-size:.7rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:99px}
.kh__live i{width:7px;height:7px;border-radius:50%;background:#fff;animation:blink 1.2s infinite}
@keyframes blink{50%{opacity:.25}}
.kh__corner{position:absolute;width:18px;height:18px;border:2px solid var(--floor);opacity:.7}
.kh__corner--tl{top:8px;left:8px;border-right:0;border-bottom:0}.kh__corner--tr{top:8px;right:8px;border-left:0;border-bottom:0}
.kh__corner--bl{bottom:8px;left:8px;border-right:0;border-top:0}.kh__corner--br{bottom:8px;right:8px;border-left:0;border-top:0}
.kh__scroll{position:absolute;left:50%;bottom:150px;width:26px;height:42px;margin-left:-13px;border:1.5px solid rgba(255,255,255,.35);border-radius:14px;display:none}
.kh__scroll span{position:absolute;left:50%;top:8px;width:2px;height:8px;margin-left:-1px;background:#fff;border-radius:2px;animation:scrollDot 1.6s infinite}
@keyframes scrollDot{60%{transform:translateY(12px);opacity:0}}

/* Fotoğraf şeridi */
.marquee{position:relative;margin-top:clamp(36px,5vw,64px);padding:18px 0 28px;overflow:hidden;-webkit-mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent);mask:linear-gradient(90deg,transparent,#000 8%,#000 92%,transparent)}
.marquee__track{display:flex;gap:16px;width:max-content;animation:marquee 60s linear infinite}
.marquee:hover .marquee__track{animation-play-state:paused}
@keyframes marquee{to{transform:translateX(-50%)}}
.marquee__i{position:relative;margin:0;width:280px;flex:none;border-radius:4px;overflow:hidden;transform:rotate(var(--r,0deg))}
.marquee__i:nth-child(odd){--r:-.6deg}.marquee__i:nth-child(even){--r:.6deg}
.marquee__i img{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;filter:saturate(.85)}
.marquee__i figcaption{position:absolute;left:10px;bottom:10px;padding:4px 9px;background:rgba(20,20,22,.8);color:#fff;font-size:.68rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;border-radius:2px}

/* ---------- İplikten kumaşa hattı ---------- */
.pipe__wrap{position:relative}
.pipe__thread{position:absolute;left:0;right:0;top:40px;width:100%;height:120px;overflow:visible}
.pipe__base{fill:none;stroke:rgba(237,227,209,.14);stroke-width:2}
.pipe__flow{fill:none;stroke:var(--red);stroke-width:2.6;stroke-linecap:round;stroke-dasharray:1100;stroke-dashoffset:1100}
.pipe.is-knit .pipe__flow{animation:pipeDraw 2.4s cubic-bezier(.6,0,.2,1) forwards,pipeFlow 2.4s 2.4s linear infinite}
@keyframes pipeDraw{to{stroke-dashoffset:0}}
@keyframes pipeFlow{from{stroke-dasharray:14 10;stroke-dashoffset:0}to{stroke-dasharray:14 10;stroke-dashoffset:-48}}
.pipe__list{position:relative;list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(5,1fr);gap:18px}
.pipe__st{display:flex;flex-direction:column;opacity:0;transform:translateY(24px);transition:opacity .7s,transform .7s cubic-bezier(.2,.7,.2,1);transition-delay:var(--d)}
.pipe.is-knit .pipe__st{opacity:1;transform:none}
.pipe__ic{width:120px;height:120px;border-radius:50%;background:radial-gradient(circle at 50% 35%,#2b2c31,#18191c);border:1px solid rgba(255,255,255,.1);box-shadow:0 0 0 6px rgba(20,20,22,.9),0 0 0 7px rgba(255,255,255,.06);margin-bottom:22px;position:relative}
.pipe__st.is-own .pipe__ic{box-shadow:0 0 0 6px rgba(20,20,22,.9),0 0 0 8px rgba(205,28,24,.75)}
.pipe__ic svg{width:100%;height:100%;overflow:visible}
.pipe__n{font:800 .9rem var(--head);color:var(--red);margin-bottom:8px}
.pipe__st h3{font-size:1.5rem;margin-bottom:8px}
.pipe__st p{font-size:.9rem;color:#a9a39a;flex:1;margin-bottom:12px}
.tag--partner{background:repeating-linear-gradient(-45deg,rgba(233,184,36,.22) 0 6px,transparent 6px 12px);border-color:rgba(233,184,36,.55);color:#f0d68a;opacity:1}
/* ikon animasyonları */
.pipe__ic .sh{fill:rgba(0,0,0,.4)}
.pipe__ic .cone{fill:#EDE3D1}.pipe__ic .tube{fill:#80858d}
.pipe__ic .cone-lines path{stroke:rgba(0,0,0,.14);stroke-width:2;fill:none}
.pipe__ic .cone-lines{animation:unwind 1.2s linear infinite}
@keyframes unwind{to{transform:translateY(6px)}}
.pipe__ic .yarn-out,.pipe__ic .yarn-in{fill:none;stroke:var(--red);stroke-width:2.4;stroke-linecap:round;stroke-dasharray:6 6;animation:dash 1s linear infinite}
@keyframes dash{to{stroke-dashoffset:-24}}
.pipe__ic .fab path{fill:none;stroke:#EDE3D1;stroke-width:4;stroke-linecap:round;stroke-linejoin:round}
.pipe__ic .fab{animation:fabGrow 2.4s ease-in-out infinite}
@keyframes fabGrow{0%{transform:translateY(-6px)}100%{transform:translateY(8px)}}
.pipe__ic .needle{animation:needleUp 1.2s ease-in-out infinite}
@keyframes needleUp{50%{transform:translateY(-12px)}}
.pipe__ic .shaft,.pipe__ic .hook{fill:none;stroke:#cfd3d8;stroke-width:3;stroke-linecap:round}
.pipe__ic .latch{stroke:var(--red);stroke-width:2.4;stroke-linecap:round}
.pipe__ic .vat{fill:#2f3136;stroke:#5d636b;stroke-width:2}
.pipe__ic .dye{fill:var(--red);animation:wave 2.4s linear infinite,dyeCol 7.2s steps(1) infinite}
@keyframes wave{to{transform:translateX(30px)}}
@keyframes dyeCol{0%{fill:#CD1C18}33%{fill:#2A63B8}66%{fill:#E9B824}}
.pipe__ic .cloth{fill:none;stroke:#EDE3D1;stroke-width:6;stroke-linecap:round;animation:dip 2.4s ease-in-out infinite}
@keyframes dip{50%{transform:translateY(8px)}}
.pipe__ic .bar{stroke:#80858d;stroke-width:4;stroke-linecap:round}
.pipe__ic .grid path{fill:none;stroke:#EDE3D1;stroke-width:3.4;stroke-linecap:round;stroke-linejoin:round;opacity:.85}
.pipe__ic .lens{animation:scan 3s ease-in-out infinite}
.pipe__ic .lens circle{fill:rgba(233,184,36,.12);stroke:var(--floor);stroke-width:3}
.pipe__ic .lens path{stroke:var(--floor);stroke-width:5;stroke-linecap:round}
@keyframes scan{0%{transform:translate(30px,42px)}50%{transform:translate(86px,48px)}100%{transform:translate(30px,42px)}}
.pipe__ic .ok{fill:none;stroke:#3ecf8e;stroke-width:6;stroke-linecap:round;stroke-linejoin:round;stroke-dasharray:50;stroke-dashoffset:50;animation:okDraw 3s ease-in-out infinite}
@keyframes okDraw{40%{stroke-dashoffset:50}70%,100%{stroke-dashoffset:0}}
.pipe__ic .floor{stroke:#5d636b;stroke-width:3;stroke-linecap:round}
.pipe__ic .roll{animation:rollMove 3s ease-in-out infinite}
.pipe__ic .rollc{fill:#EDE3D1}.pipe__ic .spiral{fill:none;stroke:rgba(0,0,0,.18);stroke-width:2.2}.pipe__ic .core{fill:#80858d}
@keyframes rollMove{0%{transform:translate(34px,74px) rotate(0)}50%{transform:translate(78px,74px) rotate(200deg)}100%{transform:translate(34px,74px) rotate(0)}}
.pipe__ic .tail{stroke:#EDE3D1;stroke-width:4;stroke-linecap:round;opacity:.6}

/* ---------- Kumaş perdesi: görseller örülerek açılır ---------- */
.knit-curtain{position:relative;overflow:hidden}
.knit-curtain::before{content:"";position:absolute;inset:0;z-index:3;pointer-events:none;background:#E6DECF var(--stitch-light);background-size:24px 26px;
  -webkit-mask:linear-gradient(#000,#000) top/100% calc(100% - 13px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 0h24q-6 0-12 14Q6 0 0 0z'/%3E%3C/svg%3E") bottom/24px 14px repeat-x;
  mask:linear-gradient(#000,#000) top/100% calc(100% - 13px) no-repeat,url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='14'%3E%3Cpath d='M0 0h24q-6 0-12 14Q6 0 0 0z'/%3E%3C/svg%3E") bottom/24px 14px repeat-x;
  transform:translateY(0);transition:transform 1.1s cubic-bezier(.7,0,.2,1)}
.sec--dark .knit-curtain::before,.sec--knit .knit-curtain::before,.tour .knit-curtain::before{background-color:#2a2b2f;background-image:var(--stitch-dark)}
.knit-curtain.is-knit::before{transform:translateY(-102%)}

/* ---------- Kartlar ---------- */
.pcard,.feat__i,.bcard,.prog{border-radius:6px}
.pcard::after,.feat__i::after,.bcard::after{content:"";position:absolute;inset:6px;border-radius:3px;pointer-events:none;opacity:0;transition:opacity .3s;
  background:linear-gradient(90deg,var(--red) 50%,transparent 0) repeat-x 0 0/10px 1.5px,linear-gradient(90deg,var(--red) 50%,transparent 0) repeat-x 0 100%/10px 1.5px,linear-gradient(0deg,var(--red) 50%,transparent 0) repeat-y 0 0/1.5px 10px,linear-gradient(0deg,var(--red) 50%,transparent 0) repeat-y 100% 0/1.5px 10px}
.pcard:hover::after,.feat__i:hover::after,.bcard:hover::after{opacity:.7;animation:stitchRun2 .8s linear infinite}
@keyframes stitchRun2{to{background-position:10px 0,-10px 100%,0 -10px,100% 10px}}
.bcard{position:relative}
.swatch--empty{background:#ECE6DB var(--stitch-light);background-size:24px 26px}

/* ---------- Sayfa başlıkları (banner) ---------- */
.phead--photo{background:var(--anth)}
.phead--photo::before{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;opacity:.55;
  background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='300' viewBox='0 0 600 300'%3E%3Cg fill='none' stroke-linecap='round'%3E%3Cpath d='M-20 260 C 120 120, 260 300, 400 150 S 560 40, 640 90' stroke='%23CD1C18' stroke-width='1.6' stroke-opacity='.8'/%3E%3Cpath d='M-20 290 C 140 170, 280 320, 420 190 S 580 80, 640 130' stroke='%23EDE3D1' stroke-width='1' stroke-opacity='.35'/%3E%3C/g%3E%3C/svg%3E") right bottom/min(900px,80vw) auto no-repeat;
  animation:threadSway 9s ease-in-out infinite alternate}
@keyframes threadSway{to{transform:translateX(-30px) translateY(6px)}}
.phead--photo .phead__bg::before{content:"";position:absolute;inset:-60px 0;z-index:1;background-image:var(--stitch-dark);background-size:24px 26px;animation:knitDrift 40s linear infinite}
.phead--photo .floorline{height:22px;background:#F4F1EB url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='22'%3E%3Cpath d='M0 0h24v4q-4 0-6 6t-6 12q-4-6-6-12T0 4z' fill='%23141416'/%3E%3Cpath d='M3 3q3 8 9 16M21 3q-3 8-9 16' fill='none' stroke='%23E9B824' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") repeat-x 0 0/24px 22px;opacity:1}
.phead--photo{margin-bottom:clamp(32px,4vw,56px)}
.phead__t em{position:relative}

/* ---------- Sayfa ipliği ---------- */
.page-thread{position:absolute;top:0;z-index:5;pointer-events:none;overflow:visible}
.page-thread__ghost{fill:none;stroke:rgba(20,20,22,.08);stroke-width:1.4;stroke-dasharray:3 5}
.page-thread__line{fill:none;stroke:var(--red);stroke-width:1.8;stroke-linecap:round;filter:drop-shadow(0 1px 0 rgba(0,0,0,.15))}
.page-thread__needle{transition:transform .08s linear}

/* ---------- İstatistik ve diğer ---------- */
.stats .stat dd{background:linear-gradient(180deg,var(--ink) 60%,#5a5550);-webkit-background-clip:text;background-clip:text;color:transparent}
.req--dark{color:#fff}.req--dark .lead{color:#cfc8bd}.req--dark .req__steps li{border-color:rgba(255,255,255,.12)}
.req--dark .req__steps{border-left-color:var(--red)}
.tprev__i{border-radius:6px}
.ftr{background:var(--anth);position:relative;overflow:hidden}
.ftr::before{content:"";position:absolute;inset:-60px 0;background-image:var(--stitch-dark);background-size:24px 26px;animation:knitDrift 50s linear infinite;pointer-events:none}
.ftr>.wrap{position:relative}
.ftr__big em{position:relative}

/* ---------- Duyarlı ---------- */
@media (max-width:1020px){
  .kh__in{grid-template-columns:1fr;min-height:0}
  .kh__stage{aspect-ratio:4/3.4;max-height:none}
  .pipe__list{grid-template-columns:1fr 1fr}
  .pipe__thread{display:none}
}
@media (max-width:640px){
  .pipe__list{grid-template-columns:1fr}
  .pipe__st{flex-direction:row;flex-wrap:wrap;gap:0 16px;align-items:flex-start}
  .pipe__ic{width:84px;height:84px;margin-bottom:12px;flex:none}
  .pipe__st>:not(.pipe__ic){flex:1 1 calc(100% - 100px)}
  .kh__facts div{padding-right:14px;margin-right:14px}.kh__facts dd{font-size:1.35rem}
  .kh__stage{aspect-ratio:1/1}
  .kh__hud{font-size:.6rem}
  .marquee__i{width:200px}
}
@media (prefers-reduced-motion:reduce){
  .knit-curtain::before{display:none}
  .pipe__st{opacity:1;transform:none}
  .wv>span{transform:none}
  .kh__t em::after{clip-path:none}
}
.kh__in>*{min-width:0}@media (max-width:1020px){.kh__in{grid-template-columns:minmax(0,1fr)}}
@media (max-width:420px){.kh__t{font-size:clamp(2.5rem,13.5vw,3.4rem)}}
@media (max-width:420px){.kh__facts div{padding-right:10px;margin-right:10px}.kh__facts dd{font-size:1.15rem}.kh__facts dt{font-size:.6rem;letter-spacing:.08em}}
.kh__pause{position:absolute;right:14px;top:14px;z-index:4;width:34px;height:34px;border-radius:50%;border:1px solid rgba(255,255,255,.2);background:rgba(20,20,22,.7);color:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;opacity:.75;transition:opacity .2s,background .2s}
.kh__pause:hover,.kh__pause:focus-visible{opacity:1;background:var(--red)}
