/* Ana sayfa manşeti: tam genişlikte proje slaytı. İşaretleme dist/app.js heroStage() ve seo_pages.py home_story() içinde. */
.hero-stage{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:flex-end;width:100%;height:clamp(600px,calc(100svh - 96px),900px);overflow:hidden;background:#262523;color:#f3efe8;touch-action:pan-y;outline-offset:-4px}
.hero-stage-media{position:absolute;inset:0;z-index:-1}
.hero-stage-slide{position:absolute;inset:0;display:block;opacity:0;transition:opacity 1.1s ease;cursor:grab}
.hero-stage-slide:active{cursor:grabbing}
.hero-stage-slide.is-active{opacity:1;z-index:1}
.hero-stage-slide img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 50%;transform:scale(1.07);transition:transform 0s 1.1s;user-select:none;-webkit-user-drag:none}
.hero-stage-slide.is-active img{transform:scale(1);transition:transform 8s cubic-bezier(.2,.55,.3,1)}
.hero-stage-media::after{content:"";position:absolute;inset:0;z-index:2;pointer-events:none;background:linear-gradient(90deg,rgba(24,23,21,.74) 0%,rgba(24,23,21,.46) 38%,rgba(24,23,21,.06) 72%),linear-gradient(0deg,rgba(24,23,21,.78) 0%,rgba(24,23,21,.18) 34%,transparent 56%)}
.hero-stage-copy{width:min(680px,62%);margin:0 var(--page-gutter,6%) clamp(34px,5vw,64px);pointer-events:none;animation:hero-stage-in .9s cubic-bezier(.2,.7,.2,1) both}
.hero-stage-copy a{pointer-events:auto}
.hero-stage .hero-stage-copy .eyebrow{margin:0 0 20px;color:#e6b59d;font-size:12px;letter-spacing:.16em}
.hero-stage h1{max-width:12ch;margin:0 0 22px;color:#fff;font-size:clamp(46px,5.6vw,88px);font-weight:300;line-height:1.03;letter-spacing:-.05em;text-wrap:balance}
.hero-stage h1 em{font-style:normal;color:#e6b59d}
.hero-stage-lead{max-width:46ch;margin:0;color:rgba(255,255,255,.9);font-size:clamp(16px,1.25vw,19px);line-height:1.65}
.hero-stage-actions{display:flex;flex-wrap:wrap;align-items:center;gap:26px;margin-top:30px}
.hero-stage-actions .button{background:#f3efe8;border-color:#f3efe8;color:#262523;transition:background .2s,color .2s,border-color .2s}
.hero-stage-actions .button:hover{background:#b4623f;border-color:#b4623f;color:#fff}
.hero-stage-actions .text-link{color:#fff;border-bottom-color:#e6b59d}
.hero-stage-bar{display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:clamp(20px,3vw,48px);padding:18px var(--page-gutter,6%) 22px;border-top:1px solid rgba(243,239,232,.24);background:linear-gradient(0deg,rgba(24,23,21,.42),rgba(24,23,21,.12));backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px)}
.hero-stage-captions{display:grid;min-width:0}
.hero-stage-caption{grid-area:1/1;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:baseline;gap:6px 18px;min-width:0;color:#f3efe8;opacity:0;visibility:hidden;transform:translateY(8px);transition:opacity .5s ease,transform .5s ease,visibility 0s .5s}
.hero-stage-caption.is-active{opacity:1;visibility:visible;transform:none;transition:opacity .6s ease .25s,transform .6s ease .25s}
.hero-stage-caption span{color:#e6b59d;font-size:11px;font-weight:500;letter-spacing:.16em;text-transform:uppercase;white-space:nowrap}
.hero-stage-caption strong{overflow:hidden;font-size:clamp(17px,1.5vw,22px);font-weight:400;letter-spacing:-.01em;text-overflow:ellipsis;white-space:nowrap}
.hero-stage-caption em{display:inline-flex;align-items:center;gap:7px;padding-bottom:3px;border-bottom:1px solid rgba(243,239,232,.5);font-size:13px;font-style:normal;white-space:nowrap;transition:border-color .2s,color .2s}
.hero-stage-caption:hover em{border-color:#e6b59d;color:#e6b59d}
.hero-stage-progress{display:flex;align-items:center;gap:6px}
.hero-stage-progress button{display:grid;place-items:center;width:clamp(38px,4.4vw,64px);height:34px;padding:0;border:0;background:none}
.hero-stage-progress button span{position:relative;display:block;width:100%;height:2px;overflow:hidden;background:rgba(243,239,232,.32)}
.hero-stage-progress button i{position:absolute;inset:0;background:#f3efe8;transform:scaleX(0);transform-origin:left}
.hero-stage-progress button.is-done i{transform:scaleX(1)}
.hero-stage-progress button[aria-current=true] i{animation:hero-stage-fill 6.5s linear both}
.hero-stage-progress button:hover span{background:rgba(243,239,232,.6)}
.hero-stage-nav{display:flex;align-items:center;gap:10px;font-size:12px;letter-spacing:.12em;font-variant-numeric:tabular-nums}
.hero-stage-nav b{font-weight:500}
.hero-stage-nav span{min-width:58px;color:rgba(243,239,232,.78);text-align:center}
.hero-stage-nav button{display:grid;place-items:center;width:44px;height:44px;padding:0;border:1px solid rgba(243,239,232,.5);border-radius:50%;background:transparent;color:#f3efe8;transition:background .2s,color .2s,border-color .2s}
.hero-stage-nav button:hover{background:#f3efe8;border-color:#f3efe8;color:#262523}
.hero-stage-nav svg{width:16px;height:16px}
.hero-stage a:focus-visible,.hero-stage button:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(hover:hover){.hero-stage:hover .hero-stage-progress i{animation-play-state:paused}}
.hero-stage:has(:focus-visible) .hero-stage-progress i{animation-play-state:paused}
@keyframes hero-stage-fill{from{transform:scaleX(0)}to{transform:scaleX(1)}}
@keyframes hero-stage-in{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
@media(max-width:900px){.hero-stage-copy{width:min(620px,82%)}.hero-stage-bar{grid-template-columns:minmax(0,1fr) auto;row-gap:8px}.hero-stage-progress{grid-column:1/-1;grid-row:1;gap:5px}.hero-stage-progress button{flex:1;width:auto;height:26px}.hero-stage-caption{grid-template-columns:minmax(0,1fr);gap:2px}.hero-stage-caption em{display:none}}
@media(max-width:700px){.hero-stage{height:min(calc(100svh - 78px),780px);min-height:590px}.hero-stage-media::after{background:linear-gradient(0deg,rgba(24,23,21,.9) 0%,rgba(24,23,21,.62) 40%,rgba(24,23,21,.08) 78%)}.hero-stage-copy{width:auto;margin:0 24px 26px}.hero-stage .hero-stage-copy .eyebrow{margin-bottom:13px;font-size:11px}.hero-stage h1{margin-bottom:14px;font-size:clamp(40px,11vw,58px);line-height:1.05}.hero-stage-lead{font-size:15px;line-height:1.6}.hero-stage-actions{gap:18px;margin-top:20px}.hero-stage-bar{padding:8px 24px 16px}.hero-stage-nav button{width:40px;height:40px}.hero-stage-nav span{min-width:50px}}
@media(prefers-reduced-motion:reduce){.hero-stage-slide,.hero-stage-slide img,.hero-stage-caption{transition:none!important}.hero-stage-slide img{transform:none!important}.hero-stage-copy{animation:none}.hero-stage-progress button[aria-current=true] i{animation:none;transform:scaleX(1)}}
