/* S100: aynı üretici sekansı üzerinde teknik özellik odaklı ürün anlatımı. */
.s100-story {
  --s100-ground: #050505;
  --s100-rule: #30343a;
  background: var(--s100-ground);
  overflow: clip;
}

.s100-story .s100-stage {
  height: auto;
  min-height: 0;
  max-height: none;
  padding-top: 76px;
  padding-bottom: 64px;
}

.s100-story .s100-top { align-items: start; gap: 36px; }
.s100-story .s100-top h2 { font-size: clamp(38px,3.7vw,56px); font-weight: 500; line-height: 1.08; }
.s100-story .s100-top > div { padding-top: 4px; }
.s100-story .s100-top > div p { font-size: 18px; letter-spacing: -.025em; }
.s100-story .s100-top > div span { margin-top: 7px; font-size: 13px; }

.s100-story .s100-visual {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.2fr);
  gap: 24px;
  min-height: 540px;
  margin: 32px 0;
  padding: 0;
}

.s100-story .s100-device { inset: -35px -80px; height: auto; }
.s100-story .s100-device > img { width: 48%; height: 100%; margin-left: 48%; object-fit: contain; }
.s100-story .s100-device canvas {
  object-fit: contain;
  object-position: center;
  mix-blend-mode: lighten;
  -webkit-mask-image: linear-gradient(180deg,transparent,#000 9%,#000 89%,transparent);
  mask-image: linear-gradient(180deg,transparent,#000 9%,#000 89%,transparent);
}

.s100-story .s100-feature {
  grid-column: 1;
  width: 100%;
  max-width: 450px;
  margin: 0;
  padding: 12px 0;
}

.s100-story .s100-feature .s100-metric {
  display: block;
  font-size: clamp(58px,6.1vw,88px);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.04em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.s100-story .s100-metric > span {
  display: block;
  margin-top: 12px;
  font-size: 17px;
  line-height: 1.4;
  letter-spacing: -.01em;
  font-weight: 500;
  white-space: normal;
}

.s100-story .s100-feature > p { margin-top: 24px; max-width: 35ch; font-size: 16px; line-height: 1.75; }
.s100-variant { display: block; margin-top: 18px; font-size: 12px; line-height: 1.5; color: var(--dark-soft); }
.s100-variant a { display: inline; text-decoration: underline; text-underline-offset: 4px; }
.s100-variant a:hover { color: var(--white); }
.s100-variant .icon { display: inline; vertical-align: middle; width: 11px; height: 11px; }

.s100-story .s100-bottom { gap: 44px; align-items: center; margin-top: 20px; }
.s100-story .s100-controls { flex: 1; max-width: 940px; gap: 0; }
.s100-story .s100-controls button {
  position: relative;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 4px;
  min-width: 0;
  min-height: 76px;
  padding: 14px 8px 18px 0;
  color: var(--dark-soft);
  background: transparent;
  text-align: left;
  font-size: 14px;
}
.s100-story .s100-controls button + button { margin-left: 18px; }
.s100-story .s100-controls button small { font-size: 12px; }
.s100-story .s100-controls button::before,
.s100-story .s100-controls button::after { content: ""; position: absolute; bottom: 0; left: 0; right: 0; height: 2px; }
.s100-story .s100-controls button::before { background: var(--s100-rule); }
.s100-story .s100-controls button::after { background: var(--dark-ink); transform: scaleX(var(--step-progress,0)); transform-origin: left; }
.s100-story .s100-controls button:is(:hover,.is-active) { color: var(--white); background: transparent; }
.s100-story .s100-controls button.is-active > span { font-weight: 650; }
.s100-story .s100-cta { gap: 28px; flex-shrink: 0; min-height: 50px; padding: 12px 20px; background: var(--dark-ink); color: var(--dark); font-size: 13px; }
.s100-story .s100-cta:hover { background: var(--white); color: var(--dark); }
.s100-story .scroll-hint { bottom: 20px; font-size: 12px; }

.s100-story.scene-enhanced .s100-stage {
  display: grid;
  grid-template-rows: auto minmax(0,1fr) auto;
  gap: 12px;
  height: 100svh;
  min-height: 0;
  padding-top: calc(var(--header) + 30px);
  padding-bottom: 55px;
}
.s100-story.scene-enhanced { height: 360svh; }
.s100-story.scene-enhanced .s100-visual { display: block; min-height: 0; margin: 0; }
.s100-story.scene-enhanced .s100-device { inset: -50px -80px -35px; }
.s100-story.scene-enhanced .s100-feature {
  position: absolute;
  top: 50%;
  bottom: auto;
  left: 0;
  max-width: 40%;
  margin: 0;
  padding: 0;
  opacity: 0;
  transform: translateY(calc(-50% + 18px));
  transition: opacity .45s var(--ease), transform .6s var(--ease);
  pointer-events: none;
}
.s100-story.scene-enhanced .s100-feature.is-active { opacity: 1; transform: translateY(-50%); pointer-events: auto; }
.s100-story.scene-enhanced .s100-controls { display: flex; }

@media (max-width:959px) {
  .s100-story .s100-top h2 { font-size: 40px; }
  .s100-story .s100-top > div p { font-size: 15px; }
  .s100-story .s100-feature .s100-metric { font-size: 62px; }
  .s100-story .s100-metric > span { font-size: 15px; }
  .s100-story .s100-feature > p { font-size: 14px; margin-top: 18px; }
  .s100-story .s100-bottom { flex-wrap: wrap; gap: 16px; }
  .s100-story .s100-controls { flex-basis: 100%; max-width: none; }
  .s100-story .s100-controls button { padding-right: 8px; font-size: 13px; }
  .s100-story .s100-controls button + button { margin-left: 14px; }
  .s100-story .s100-cta { gap: 16px; padding-inline: 15px; }
}

@media (max-width:699px) {
  .s100-story .s100-stage { padding-block: 44px 32px; }
  .s100-story .s100-top { display: block; }
  .s100-story .s100-top h2 { font-size: 32px; max-width: none; }
  .s100-story .s100-top > div { position: static; display: flex; justify-content: space-between; align-items: center; gap: 16px; max-width: none; text-align: left; padding: 0; margin-top: 16px; }
  .s100-story .s100-top > div p { font-size: 13px; }
  .s100-story .s100-top > div span { max-width: 135px; text-align: right; font-size: 12px; margin: 0; }
  .s100-story .s100-visual { display: block; min-height: 0; padding-top: 270px; margin: 12px 0 24px; }
  .s100-story .s100-device { inset: 0 calc(var(--frame)*-1) auto; height: 260px; }
  .s100-story .s100-device > img { width: 100%; margin: 0; }
  .s100-story .s100-device canvas { object-fit: cover; object-position: right center; }
  .s100-story .s100-feature { max-width: none; margin-top: 28px; }
  .s100-story .s100-feature .s100-metric { font-size: clamp(48px,14vw,62px); }
  .s100-story .s100-metric > span { font-size: 14px; margin-top: 8px; }
  .s100-story .s100-feature > p { max-width: 39ch; font-size: 13px; line-height: 1.65; margin-top: 14px; }
  .s100-story .s100-variant { font-size: 12px; margin-top: 10px; }
  .s100-story .s100-bottom { display: flex; flex-direction: column; align-items: stretch; gap: 20px; margin-top: 12px; }
  .s100-story .s100-controls { width: 100%; max-width: none; flex: none; gap: 8px; }
  .s100-story .s100-controls button { min-height: 44px; align-items: center; padding: 8px 0 12px; font-size: 12px; white-space: nowrap; }
  .s100-story .s100-controls button + button { margin-left: 0; }
  .s100-story .s100-controls button small { display: none; }
  .s100-story .s100-cta { align-self: flex-start; font-size: 12px; min-height: 44px; padding: 10px 16px; }
  .s100-story.scene-enhanced .s100-stage { padding-top: calc(var(--header) + 18px); padding-bottom: 26px; gap: 10px; }
  .s100-story.scene-enhanced { height: 340svh; }
  .s100-story.scene-enhanced .s100-device { inset: -12px calc(var(--frame)*-1) 185px; height: auto; }
  .s100-story.scene-enhanced .s100-feature { top: auto; bottom: 0; width: 100%; max-width: none; transform: translateY(14px); }
  .s100-story.scene-enhanced .s100-feature.is-active { transform: none; }
}

@media (max-height:740px) and (min-height:581px) {
  .s100-story.scene-enhanced .s100-stage { padding-top: calc(var(--header) + 12px); padding-bottom: 24px; gap: 8px; }
  .s100-story .s100-top h2 { font-size: 36px; }
  .s100-story .s100-feature .s100-metric { font-size: 64px; }
  .s100-story .s100-feature > p { font-size: 14px; margin-top: 14px; }
  .s100-story .s100-variant { margin-top: 10px; }
  .s100-story .s100-controls button { min-height: 60px; padding-block: 8px 12px; }
  .s100-story .scroll-hint { display: none; }
}
@media (max-width:699px) and (max-height:740px) and (min-height:581px) {
  .s100-story .s100-top h2 { font-size: 28px; }
  .s100-story .s100-top > div { margin-top: 12px; }
  .s100-story .s100-feature .s100-metric { font-size: 48px; }
  .s100-story .s100-feature > p { font-size: 12px; margin-top: 10px; }
  .s100-story .s100-metric > span { font-size: 13px; margin-top: 6px; }
  .s100-story .s100-bottom { gap: 12px; margin-top: 4px; }
  .s100-story.scene-enhanced .s100-device { bottom: 158px; }
}

/* Kısa ekranlar ve hareket azaltma: bütün teknik içerik normal belge akışında. */
@media (prefers-reduced-motion:reduce), (max-height:580px) {
  .s100-story.scene-enhanced { height: auto; }
  .s100-story.scene-enhanced .s100-sticky { position: relative; height: auto; overflow: visible; }
  .s100-story.scene-enhanced .s100-stage { display: flex; height: auto; min-height: 0; padding-top: 64px; padding-bottom: 48px; gap: 0; }
  .s100-story.scene-enhanced .s100-visual { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.2fr); min-height: 0; padding: 0; margin: 32px 0; gap: 32px; }
  .s100-story.scene-enhanced .s100-device { inset: 0 -70px; height: auto; }
  .s100-story.scene-enhanced .s100-feature { position: relative; top: auto; bottom: auto; left: auto; max-width: 450px; width: 100%; opacity: 1; transform: none; margin: 0; padding: 0; pointer-events: auto; }
  .s100-story.scene-enhanced .s100-feature.is-active { transform: none; }
  .s100-story.scene-enhanced .s100-controls,
  .s100-story.scene-enhanced .scroll-hint { display: none; }
}
@media (prefers-reduced-motion:reduce) and (max-width:699px), (max-height:580px) and (max-width:699px) {
  .s100-story.scene-enhanced .s100-stage { padding-block: 40px 32px; }
  .s100-story.scene-enhanced .s100-visual { display: block; padding-top: 270px; margin: 12px 0 24px; }
  .s100-story.scene-enhanced .s100-device { inset: 0 calc(var(--frame)*-1) auto; height: 260px; }
  .s100-story.scene-enhanced .s100-feature { max-width: none; margin-top: 28px; }
}

/* Tipografi tabanı: eylem metinleri küçük ekranda da okunur kalır. */
.s100-story .s100-cta { font-size: 15px; }
.s100-story .s100-controls button { font-size: 13px; }
