/* S4 iki is, S5 surec, S6 cizimden mekana, S7 ofis, S8 iletisim ve alt bilgi */

/* S4: ikiye bolunen ekran, fareyle gelinen taraf genisler */
.duo { display: flex; gap: 12px; height: min(76vh, 820px); padding: 0 var(--pad); }
.duo__side {
  position: relative; flex: 1 1 0; overflow: hidden; border-radius: 16px;
  transition: flex-grow .9s var(--ease);
}
.duo:hover .duo__side { flex-grow: .75; }
.duo .duo__side:hover { flex-grow: 1.5; }
.duo__side img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); transition: transform 1.4s var(--ease); }
.duo__side:hover img { transform: scale(1); }
.duo__side::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(8, 8, 10, .82) 0%, rgba(8, 8, 10, .1) 48%, rgba(8, 8, 10, 0) 70%); }
.duo__txt { position: absolute; z-index: 2; left: 32px; right: 32px; bottom: 32px; }
.duo__txt h2 { margin: 0 0 12px; font: 600 clamp(40px, 5.6vw, 92px)/.92 var(--sans); font-stretch: 108%; letter-spacing: -.04em; }
.duo__txt p { margin: 0 0 24px; max-width: 420px; font: 400 16px/1.5 var(--sans); color: rgba(244, 244, 242, .78); }
.duo__txt .pill { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease); }
.duo__side:hover .pill { opacity: 1; transform: none; }

/* S5: surec, sabit sahnede adimlar akar */
.steps { position: relative; height: 380vh; margin-top: clamp(80px, 14vh, 160px); }
.steps__stage {
  position: sticky; top: 0; height: 100vh; height: 100svh;
  display: grid; grid-template-columns: minmax(320px, 5fr) 7fr; gap: clamp(24px, 4vw, 72px); align-items: center;
  padding: 90px var(--pad) 40px;
}
.steps__list { list-style: none; margin: 0; padding: 0; }
.steps__list li { padding: 18px 0; border-top: 1px solid var(--line); opacity: .28; transition: opacity .6s var(--ease); }
.steps__list li:last-child { border-bottom: 1px solid var(--line); }
.steps__list li.is-on { opacity: 1; }
.steps__list h3 { margin: 0; font: 600 clamp(30px, 3.6vw, 60px)/1 var(--sans); font-stretch: 106%; letter-spacing: -.035em; }
.steps__list p {
  margin: 0; max-width: 440px; font: 400 16px/1.5 var(--sans); color: rgba(244, 244, 242, .74);
  max-height: 0; overflow: hidden; transition: max-height .8s var(--ease), margin .8s var(--ease);
}
.steps__list li.is-on p { max-height: 120px; margin-top: 14px; }
.steps__media { position: relative; height: min(76vh, 760px); border-radius: 16px; overflow: hidden; background: #1a1a1a; }
.steps__media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: inset(0 0 100% 0); transform: scale(1.08);
  transition: clip-path 1.1s var(--ease), transform 1.6s var(--ease);
}
.steps__media img.is-on { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 2; }
.steps__media img.was { clip-path: inset(0 0 0 0); transform: scale(1); z-index: 1; }
.steps__bar { position: absolute; z-index: 3; left: 24px; right: 24px; bottom: 22px; height: 2px; background: rgba(244, 244, 242, .25); }
.steps__bar span { display: block; height: 100%; background: var(--paper); transform-origin: left; transform: scaleX(var(--sp, 0)); }

/* S6: cizim / gorsel karsilastirma */
.reveal { padding: clamp(100px, 16vh, 180px) var(--pad) 0; }
.reveal__head { max-width: calc((100svh - 190px) * 1672 / 941); margin-left: auto; margin-right: auto; display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: 28px; }
.reveal__head h2 { margin: 0; font: 600 clamp(36px, 4.6vw, 76px)/.95 var(--sans); font-stretch: 106%; letter-spacing: -.035em; }
.reveal__head p { margin: 0; max-width: 360px; font: 400 16px/1.5 var(--sans); color: rgba(244, 244, 242, .74); }
.ba { position: relative; aspect-ratio: 1672 / 941; width: min(100%, calc((100svh - 190px) * 1672 / 941)); margin: 0 auto; border-radius: 16px; overflow: hidden; user-select: none; touch-action: pan-y; }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__top { clip-path: inset(0 calc(100% - var(--x)) 0 0); }
.ba__handle {
  position: absolute; top: 0; bottom: 0; left: var(--x); width: 2px; margin-left: -1px;
  background: var(--paper); box-shadow: 0 0 24px rgba(0, 0, 0, .35); pointer-events: none;
}
.ba__handle span {
  position: absolute; top: 50%; left: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px;
  display: grid; place-items: center; border-radius: 50%; background: var(--paper); color: var(--ink);
  font-size: 20px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3);
}
.ba__range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }

/* S7: ofis */
.studio {
  display: grid; grid-template-columns: 7fr 5fr; gap: clamp(24px, 4vw, 72px); align-items: end;
  padding: clamp(110px, 18vh, 200px) var(--pad) 0;
}
.studio__img { margin: 0; border-radius: 16px; overflow: hidden; aspect-ratio: 16 / 10; max-height: 74svh; }
.studio__img img { width: 100%; height: 100%; object-fit: cover; }
.studio__txt h2 { margin: 0 0 18px; font: 600 clamp(34px, 4vw, 66px)/.98 var(--sans); font-stretch: 106%; letter-spacing: -.035em; }
.studio__cta { display: flex; gap: 10px; flex-wrap: wrap; }
.studio__txt p { margin: 0 0 30px; max-width: 420px; font: 400 17px/1.55 var(--sans); color: rgba(244, 244, 242, .78); }

/* S8: iletisim */
.contact { padding: clamp(130px, 22vh, 240px) var(--pad) clamp(80px, 12vh, 140px); }
.contact h2 { margin: 0 0 44px; font: 600 clamp(54px, 10vw, 180px)/.86 var(--sans); font-stretch: 110%; letter-spacing: -.05em; }
.contact__row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.contact__addr { margin: 0 0 0 auto; font: 400 15px/1.5 var(--sans); color: rgba(244, 244, 242, .7); }


@media (max-width: 900px) {
  .duo { flex-direction: column; height: auto; }
  .duo__side, .duo:hover .duo__side, .duo .duo__side:hover { flex: none; height: 70vh; }
  .duo__txt .pill { opacity: 1; transform: none; }
  .steps { height: auto; }
  .steps__stage { position: static; height: auto; grid-template-columns: 1fr; padding-top: 0; }
  .steps__media { height: 56vw; order: -1; }
  .steps__list li { opacity: 1; }
  .steps__list p { max-height: none; margin-top: 10px; }
  .studio { grid-template-columns: 1fr; }
  .contact__addr { margin: 16px 0 0; flex-basis: 100%; }
}
