/* Scroll scenes use progress from marketing.js; native scrolling is never intercepted. */
.hero-art picture { transform: scale(calc(1 + var(--hero-progress, 0) * .12)); }
.hero-art .opportunity-note { translate: calc(var(--hero-progress, 0) * -42px) calc(var(--hero-progress, 0) * -70px); }
.hero-copy h1 span { transform-origin: left center; }
.hero-copy h1 span:last-child { transform: translateX(calc(var(--hero-progress, 0) * 38px)); }
.hero-foot .scroll-cue > span { animation: scroll-cue 2.4s ease-in-out infinite; }
@keyframes scroll-cue { 0%, 100% { transform: translateY(0); } 55% { transform: translateY(7px); } }

.converge { position: relative; background: var(--ink); color: var(--paper); --converge-progress: 1; }
.converge-pin { min-height: 850px; padding-block: 130px 70px; display: grid; grid-template-columns: .8fr 1.2fr; align-items: center; gap: 5%; }
.converge.is-pinned { height: 240svh; }
.converge.is-pinned .converge-pin { position: sticky; top: 0; height: 100svh; min-height: 0; }
.converge-copy { position: relative; z-index: 2; }
.converge-copy .section-index { color: #c0cfc5; font-size: 10px; margin-bottom: 35px; }
.converge h2 { font-size: clamp(50px, 6.2vw, 96px); letter-spacing: -.065em; line-height: 1.08; }
.converge h2 span { color: var(--coral); }
.converge-copy > p:not(.section-index) { max-width: 390px; font-size: clamp(16px, 1.4vw, 21px); line-height: 1.65; letter-spacing: -.02em; margin-top: 28px; color: #c1cdc5; }
.converge-copy .converge-resolution { color: var(--paper); opacity: calc(.35 + var(--converge-progress) * .65); }
.converge-caption { display: flex; align-items: center; gap: 13px; margin-top: 35px; color: #cfdbd2; font-size: 11px; }
.converge-caption > span { width: 50px; height: 2px; background: #52675a; position: relative; }
.converge-caption > span::after { content: ''; position: absolute; inset: 0; background: var(--coral); transform: scaleX(var(--converge-progress)); transform-origin: left; }
.converge-canvas { position: relative; height: min(570px, 68svh); isolation: isolate; }
.converge-orbit { position: absolute; inset: 10% 8%; border: 1px solid #395144; border-radius: 50%; transform: rotate(calc(var(--converge-progress) * 90deg)) scale(calc(1 - var(--converge-progress) * .2)); }
.converge-orbit::after { content: ''; position: absolute; inset: 12%; border: 1px dashed #3d5147; border-radius: 50%; }
.converge-lines { position: absolute; inset: 0; width: 100%; height: 100%; stroke: var(--coral); stroke-width: 1; opacity: .65; }
.converge-lines path { stroke-dasharray: 1; stroke-dashoffset: calc(1 - var(--converge-progress)); }
.work-fragment { position: absolute; z-index: 2; left: 50%; top: 50%; width: 200px; padding: 20px; background: #f9f7f0; border-radius: 6px; color: var(--ink); border: 1px solid #deded2; box-shadow: 0 10px 40px #0002; transform: translate(calc(-50% + var(--x) * (1 - var(--converge-progress))), calc(-50% + var(--y) * (1 - var(--converge-progress)))) rotate(calc(var(--r) * (1 - var(--converge-progress)))) scale(calc(1 - var(--converge-progress) * .2)); opacity: clamp(0, (1 - var(--converge-progress)) * 3, 1); will-change: transform, opacity; }
.fragment-mail { --x: -185px; --y: -160px; --r: -9deg; }
.fragment-quote { --x: 170px; --y: -135px; --r: 7deg; }
.fragment-meeting { --x: 195px; --y: 120px; --r: -5deg; }
.fragment-note { --x: -185px; --y: 145px; --r: 6deg; }
.fragment-task { --x: 0px; --y: 15px; --r: -3deg; }
.fragment-type { display: flex; align-items: center; gap: 8px; color: #59685e; font-size: 8px; letter-spacing: .1em; margin-bottom: 16px; }
.fragment-type .icon { width: 18px; height: 18px; }
.work-fragment > strong { display: block; font-size: 14px; line-height: 1.4; letter-spacing: -.025em; }
.work-fragment > p { font-size: 11px; line-height: 1.6; color: #657165; margin-top: 9px; }
.work-fragment > b { font-size: 27px; letter-spacing: -.05em; display: block; margin-top: 10px; }
.fragment-footer { display: block; font-size: 8px; margin-top: 14px; border-top: 1px solid #d9dfd4; padding-top: 10px; color: #617060; }
.converged-record { position: absolute; z-index: 3; left: 50%; top: 50%; width: 330px; padding: 24px; border-radius: 14px; background: var(--paper); color: var(--ink); box-shadow: 0 30px 60px #0003; opacity: clamp(0, (var(--converge-progress) - .32) * 8, 1); transform: translate(-50%, -50%) scale(calc(.65 + var(--converge-progress) * .35)) rotate(calc(-6deg + var(--converge-progress) * 6deg)); will-change: transform, opacity; }
.record-top { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #d6dccf; padding-bottom: 17px; margin-bottom: 20px; }
.record-building { width: 56px; height: 56px; border-radius: 12px; background: var(--forest); display: grid; place-items: center; color: #eceddf; }
.record-building .icon { width: 35px; height: 35px; stroke-width: 1.2; }
.converged-record h3 { font-size: 26px; margin-top: 15px; letter-spacing: -.05em; }
.converged-record > p { color: #62705f; font-size: 13px; margin-top: 6px; }
.record-links { display: grid; gap: 14px; margin-block: 25px; }
.record-links > span { display: flex; align-items: center; gap: 10px; font-size: 12px; }
.record-links .icon { width: 17px; height: 17px; }
.record-links i { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; background: #e1ead8; display: grid; place-items: center; }
.record-links i .icon { width: 13px; height: 13px; }
.record-next { padding-top: 17px; border-top: 1px solid #d6dccf; }
.record-next > span { display: block; color: #657062; font-size: 8px; letter-spacing: .13em; }
.record-next > strong { display: flex; gap: 15px; align-items: center; font-size: 12px; margin-top: 7px; font-weight: 600; }
.record-next .icon { width: 18px; height: 18px; margin-left: auto; }
.converge-coordinate { position: absolute; bottom: -18px; left: 0; right: 0; text-align: center; color: #afc3b5; font-size: 8px; letter-spacing: .15em; }
.kinetic-divider { overflow: clip; background: var(--coral); color: var(--ink); padding-block: 25px 30px; }
.kinetic-divider > div { font-size: clamp(48px, 7.6vw, 120px); font-weight: 600; line-height: 1; letter-spacing: -.065em; white-space: nowrap; width: max-content; transform: translateX(calc(-25vw * var(--drift-progress, .4))); }
.kinetic-divider span { display: inline-block; padding-inline: .35em; font-weight: 300; }

.story.is-pinned { height: 420svh; }
.story { border-top: 1px solid #344a3d; }
.story-pin { grid-template-columns: .8fr 1.35fr; }
.story-copy h2 { font-size: clamp(38px, 4.4vw, 69px); line-height: 1.12; }
.story-copy p { font-size: clamp(16px, 1.35vw, 20px); max-width: 400px; }
.story-outcome { display: block; color: var(--coral); font-size: 8px; letter-spacing: .13em; line-height: 1.8; margin-top: 22px; }
.story-track { height: 2px; background: #3e5347; margin-top: 18px; }
.story-track > span { display: block; height: 100%; background: var(--coral); transform: scaleX(var(--story-progress, 0)); transform-origin: left; }
.story:not(.is-pinned) .story-scroll-instruction { font-size: 0; }
.story:not(.is-pinned) .story-scroll-instruction::after { content: 'Bir sonraki adımı keşfedin'; font-size: 11px; }
.story:not(.is-pinned) .story-track { display: none; }
.story-ready .product-window { transform: perspective(1400px) rotateY(-3deg) rotateX(2deg); transition: transform .6s; }
.story[data-active-stage='1'] .product-window { transform: perspective(1400px) rotateY(0deg) rotateX(0deg); }
.story[data-active-stage='2'] .product-window { transform: perspective(1400px) rotateY(2deg) rotateX(1deg); }
.story.is-pinned .relationship-summary { transform: translateY(calc((1 - clamp(0, var(--chapter-progress) * 4, 1)) * 55px)); opacity: calc(.2 + clamp(0, var(--chapter-progress) * 4, 1) * .8); }
.story.is-pinned .next-action { transform: translateX(calc((1 - clamp(0, (var(--chapter-progress) - .12) * 4, 1)) * 70px)); opacity: clamp(0, (var(--chapter-progress) - .08) * 5, 1); }
.story.is-pinned .history { transform: translateY(calc((1 - clamp(0, (var(--chapter-progress) - .22) * 4, 1)) * 40px)); opacity: clamp(0, (var(--chapter-progress) - .18) * 5, 1); }
.story.is-pinned .featured-deal { position: relative; z-index: 3; transform: translateX(calc((1 - clamp(0, var(--chapter-progress) * 1.9, 1)) * -110%)) rotate(calc((1 - clamp(0, var(--chapter-progress) * 1.9, 1)) * -6deg)); box-shadow: 0 12px 28px #21352a22; }
.proposal-stamp { display: flex; gap: 8px; align-items: center; margin-top: 12px; padding: 12px 9px; color: var(--forest); background: #e1eadb; border-radius: 8px; font-size: 11px; }
.proposal-stamp > .icon { width: 18px; height: 18px; }
.proposal-stamp > .icon:last-child { width: 14px; height: 14px; margin-left: auto; }
.proposal-stamp strong { display: block; font-size: 8px; line-height: 1.5; margin-top: 4px; font-weight: 500; }
.story.is-pinned .proposal-stamp { opacity: clamp(0, (var(--chapter-progress) - .52) * 5, 1); transform: translateY(calc((1 - clamp(0, (var(--chapter-progress) - .52) * 5, 1)) * 30px)); }
.story.is-pinned .automation-node { --node-start: 0; opacity: clamp(0, (var(--chapter-progress) - var(--node-start)) * 5, 1); transform: translateY(calc((1 - clamp(0, (var(--chapter-progress) - var(--node-start)) * 5, 1)) * 30px)); }
.story.is-pinned .automation-node:nth-of-type(3) { --node-start: .19; }
.story.is-pinned .automation-node:nth-of-type(5) { --node-start: .38; }
.story.is-pinned .flow-connector { transform: scaleY(clamp(0, (var(--chapter-progress) - .13) * 3, 1)); transform-origin: top; }
.story.is-pinned .team-strip { opacity: clamp(0, (var(--chapter-progress) - .5) * 4, 1); transform: translateX(calc((1 - clamp(0, (var(--chapter-progress) - .5) * 4, 1)) * 25px)); }
.story[data-active-stage='1'] .sidebar-item:first-child, .story[data-active-stage='2'] .sidebar-item:first-child { background: none; }
.story[data-active-stage='1'] .sidebar-item:nth-child(2), .story[data-active-stage='2'] .sidebar-item:nth-child(5) { background: #e3e8dd; border-radius: 7px; color: var(--forest); }

@media (min-width: 1000px) and (max-height: 800px) {
    .converge-pin { padding-block: 125px 45px; }
    .converge h2 { font-size: 5.6vw; }
    .converge-copy > p:not(.section-index) { font-size: 16px; margin-top: 18px; }
    .converge-copy .section-index { margin-bottom: 25px; }
    .converge-caption { margin-top: 20px; }
    .work-fragment { width: 180px; padding: 16px; }
    .fragment-mail { --x: -150px; --y: -130px; }
    .fragment-quote { --x: 150px; --y: -120px; }
    .fragment-meeting { --x: 165px; --y: 110px; }
    .fragment-note { --x: -150px; --y: 130px; }
    .converged-record { width: 305px; padding: 20px; }
    .story-copy h2 { font-size: 3.8vw; }
    .story-outcome { margin-top: 12px; }
}
@media (max-width: 999px) {
    .story-pin { grid-template-columns: minmax(0, 1fr); }
    .converge-pin { display: flex; flex-direction: column; gap: 25px; min-height: 0; padding-block: 100px 70px; }
    .converge.is-pinned .converge-pin { padding-block: 105px 32px; justify-content: center; }
    .converge-copy { width: 100%; }
    .converge-copy .section-index { margin-bottom: 16px; font-size: 8px; }
    .converge h2 { font-size: clamp(44px, 7.3vw, 70px); }
    .converge h2 br { display: none; }
    .converge h2 span { display: block; }
    .converge-copy > p:not(.section-index) { font-size: 16px; margin-top: 15px; max-width: 600px; }
    .converge-copy > p.converge-resolution { display: none; }
    .converge-caption { margin-top: 14px; font-size: 10px; }
    .converge-canvas { width: min(100%, 650px); height: 370px; flex: 0 0 370px; }
    .work-fragment { width: 160px; padding: 14px; }
    .fragment-type { margin-bottom: 10px; font-size: 7px; gap: 6px; }
    .fragment-type .icon { width: 15px; height: 15px; }
    .work-fragment > strong { font-size: 12px; }
    .work-fragment > p { font-size: 10px; }
    .fragment-footer { font-size: 7px; margin-top: 9px; padding-top: 7px; }
    .fragment-mail { --x: -170px; --y: -95px; }
    .fragment-quote { --x: 160px; --y: -90px; }
    .fragment-meeting { --x: 175px; --y: 95px; }
    .fragment-note { --x: -170px; --y: 100px; }
    .fragment-task { --x: 0px; --y: 0px; }
    .converged-record { width: 280px; padding: 18px; }
    .record-top { padding-bottom: 12px; margin-bottom: 14px; }
    .record-building { width: 42px; height: 42px; float: left; margin-right: 12px; }
    .record-building .icon { width: 28px; height: 28px; }
    .converged-record h3 { font-size: 22px; margin-top: 8px; }
    .converged-record > p { font-size: 11px; }
    .record-links { clear: both; margin-block: 22px; gap: 12px; }
    .converge-coordinate { bottom: -7px; font-size: 7px; }
    .story.is-pinned { height: 390svh; }
    .story.is-pinned .story-pin { padding-block: 101px 24px; display: flex; flex-direction: column; justify-content: center; gap: 22px; }
    .story.is-pinned .story-editorial { display: block; width: 100%; }
    .story.is-pinned .story-editorial > .section-index { font-size: 8px; margin-bottom: 14px; }
    .story.is-pinned .story-copy h2 { font-size: clamp(31px, 5.5vw, 45px); line-height: 1.1; }
    .story.is-pinned .story-copy h2 br { display: none; }
    .story.is-pinned .story-copy p { font-size: 13px; line-height: 1.6; margin-top: 12px; max-width: 650px; }
    .story.is-pinned .story-outcome { display: none; }
    .story.is-pinned .story-steps { display: flex; gap: 16px; margin-top: 14px; max-width: none; }
    .story.is-pinned .story-steps button { flex: 1; flex-direction: row; align-items: center; gap: 8px; min-height: 40px; font-size: 11px; padding-block: 8px; }
    .story.is-pinned .story-steps button > span { font-size: 10px; }
    .story.is-pinned .story-steps button > .icon { display: none; }
    .story.is-pinned .story-footnote { display: none; }
    .story.is-pinned .story-track { margin-top: 7px; height: 2px; }
    .story.is-pinned .product-stage { max-width: 670px; }
    .story.is-pinned .product-window { transform: none; }
    .story.is-pinned .product-toolbar { height: 42px; padding-inline: 14px; }
    .story.is-pinned .product-wordmark { font-size: 20px; }
    .story.is-pinned .product-shell { grid-template-columns: 64px minmax(0, 1fr); }
    .story.is-pinned .sidebar-item, .story.is-pinned .sidebar-bottom { flex-direction: column; font-size: 7px; gap: 5px; padding: 7px 0; }
    .story.is-pinned .product-panel { min-height: 325px; padding: 16px; }
    .story.is-pinned .customer-heading h3, .story.is-pinned .panel-heading h3 { font-size: 22px; }
    .story.is-pinned .customer-monogram { width: 45px; height: 47px; }
    .story.is-pinned .customer-monogram .icon { width: 27px; height: 27px; }
    .story.is-pinned .customer-grid { gap: 10px; margin-top: 12px; }
    .story.is-pinned .ui-card { padding: 11px; }
    .story.is-pinned .ui-card h4 { font-size: 10px; margin-bottom: 10px; }
    .story.is-pinned .ui-card p { font-size: 10px; line-height: 1.6; }
    .story.is-pinned .relationship-summary dl { margin-block: 14px; gap: 10px; font-size: 8px; }
    .story.is-pinned .product-tabs { margin-top: 15px; font-size: 9px; gap: 18px; }
    .story.is-pinned .product-tabs > span { padding-bottom: 8px; }
    .story.is-pinned .timeline-item { gap: 6px; }
    .story.is-pinned .timeline-item strong { font-size: 9px; }
    .story.is-pinned .timeline-item small { font-size: 8px; }
    .story.is-pinned .product-disclaimer { font-size: 7px; margin-top: 8px; }
    .story.is-pinned .panel-description { margin-top: 6px; font-size: 11px; }
    .story.is-pinned .pipeline-board { margin-top: 14px; gap: 8px; }
    .story.is-pinned .pipeline-column { min-height: 210px; padding: 10px 6px; }
    .story.is-pinned .pipeline-column h4 { font-size: 9px; }
    .story.is-pinned .deal-card { padding: 10px 7px; }
    .story.is-pinned .deal-card strong { font-size: 11px; }
    .story.is-pinned .deal-company { font-size: 9px; }
    .story.is-pinned .deal-card small { font-size: 8px; }
    .story.is-pinned .deal-value { font-size: 19px; }
    .story.is-pinned .pipeline-bottom { margin-top: 12px; font-size: 10px; }
    .story.is-pinned .automation-flow { margin-top: 17px; }
    .story.is-pinned .automation-node { padding: 11px; gap: 12px; }
    .story.is-pinned .automation-node strong { font-size: 12px; }
    .story.is-pinned .automation-node div > span { font-size: 10px; }
    .story.is-pinned .automation-node small { font-size: 7px; }
    .story.is-pinned .automation-icon { width: 32px; height: 32px; }
    .story.is-pinned .flow-connector { height: 13px; margin-left: 27px; }
    .story.is-pinned .team-strip { margin-top: 15px; font-size: 10px; }
}
@media (max-width: 700px) {
    .converge.is-pinned { height: 220svh; }
    .converge.is-pinned .converge-pin { padding-top: 100px; gap: 25px; }
    .converge h2 { font-size: clamp(42px, 10.3vw, 66px); }
    .converge-copy > p:not(.section-index) { font-size: 14px; }
    .converge-canvas { height: 330px; flex-basis: 330px; }
    .work-fragment { width: 137px; padding: 12px; }
    .fragment-mail { --x: -90px; --y: -95px; }
    .fragment-quote { --x: 87px; --y: -86px; }
    .fragment-meeting { --x: 90px; --y: 85px; }
    .fragment-note { --x: -90px; --y: 95px; }
    .fragment-task { --x: 0px; --y: 0px; }
    .work-fragment > strong { font-size: 11px; }
    .work-fragment > p { font-size: 9px; }
    .fragment-footer { font-size: 7px; }
    .fragment-type { font-size: 6px; }
    .converge-coordinate { bottom: -11px; letter-spacing: .07em; font-size: 6px; }
    .converged-record { width: 268px; }
    .kinetic-divider { padding-block: 23px 26px; }
    .kinetic-divider > div { font-size: 54px; }
    .story.is-pinned .story-pin { padding-block: 99px 22px; gap: 18px; }
    .story.is-pinned .story-copy h2 { font-size: clamp(28px, 7.2vw, 42px); letter-spacing: -.055em; }
    .story.is-pinned .story-copy h2 br { display: block; }
    .story.is-pinned .story-copy p { font-size: 12px; line-height: 1.55; margin-top: 10px; }
    .story.is-pinned .story-editorial > .section-index { font-size: 7px; margin-bottom: 12px; }
    .story.is-pinned .story-steps { margin-top: 12px; gap: 12px; }
    .story.is-pinned .story-steps button { font-size: 10px; min-height: 40px; gap: 5px; }
    .story.is-pinned .story-steps button > span { font-size: 9px; }
    .story.is-pinned .product-panel { padding: 14px 12px; min-height: 317px; }
    .story.is-pinned .customer-heading { gap: 9px; }
    .story.is-pinned .customer-heading h3, .story.is-pinned .panel-heading h3 { font-size: 19px; }
    .story.is-pinned .customer-heading p { font-size: 8px; }
    .story.is-pinned .customer-state { display: none; }
    .story.is-pinned .customer-monogram { width: 38px; height: 40px; border-width: 2px; border-radius: 9px; }
    .story.is-pinned .customer-monogram .icon { width: 25px; height: 25px; }
    .story.is-pinned .customer-grid { grid-template-columns: 1fr; gap: 8px; }
    .story.is-pinned .relationship-summary dl, .story.is-pinned .customer-label { display: none; }
    .story.is-pinned .ui-card { padding: 10px; }
    .story.is-pinned .ui-card h4 { margin-bottom: 6px; }
    .story.is-pinned .customer-side { gap: 8px; }
    .story.is-pinned .history .timeline-item:nth-of-type(2) { display: none; }
    .story.is-pinned .next-action > strong { font-size: 10px; }
    .story.is-pinned .meeting-tag { font-size: 7px; padding: 5px; margin-top: 7px; }
    .story.is-pinned .product-tabs { font-size: 8px; gap: 18px; margin-top: 12px; }
    .story.is-pinned .product-toolbar { height: 38px; }
    .story.is-pinned .product-wordmark { font-size: 19px; }
    .story.is-pinned .pipeline-column { min-height: 208px; padding: 8px 4px; }
    .story.is-pinned .pipeline-board { gap: 5px; }
    .story.is-pinned .pipeline-column h4 { font-size: 8px; }
    .story.is-pinned .pipeline-column h4 { margin-bottom: 10px; }
    .story.is-pinned .pipeline-column:first-child .deal-card + .deal-card { display: none; }
    .story.is-pinned .deal-card { padding: 9px 6px; }
    .story.is-pinned .deal-card strong { font-size: 10px; }
    .story.is-pinned .deal-company { font-size: 8px; }
    .story.is-pinned .deal-value { font-size: 17px; margin-top: 12px; }
    .story.is-pinned .deal-next { font-size: 7px; margin-top: 8px; padding-top: 7px; }
    .proposal-stamp { padding: 8px 6px; font-size: 8px; gap: 4px; }
    .proposal-stamp > .icon { width: 13px; height: 13px; }
    .proposal-stamp > .icon:last-child, .proposal-stamp strong { display: none; }
    .story.is-pinned .automation-node { padding: 8px; gap: 10px; }
    .story.is-pinned .automation-node strong { font-size: 11px; }
    .story.is-pinned .automation-node div > span { font-size: 9px; }
    .story.is-pinned .automation-flow { margin-top: 14px; }
    .story.is-pinned .team-strip { margin-top: 12px; }
}
@media (max-width: 374px) {
    .converge-pin { padding-block: 65px 50px; }
    .converge h2 { font-size: 37px; }
    .converge-canvas { height: 340px; flex-basis: 340px; }
    .converge-coordinate { font-size: 5px; }
}
@media (prefers-reduced-motion: reduce) {
    .hero-art picture, .hero-copy h1 span:last-child, .kinetic-divider > div, .story-ready .product-window { transform: none; }
    .hero-art .opportunity-note { translate: none; }
    .converge { --converge-progress: 1 !important; }
}
