.tl{
  position:relative;
  height:720px;
  width: 1400px;
  overflow:hidden;
  border-radius:24px;
  font-family: "Archivo SemiCondensed", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  box-sizing: border-box;
}
.tl *{ box-sizing: border-box; }

/* Background */
.tl__bg{
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:900px;     /* SABİT */
  overflow:hidden;
}

.tl__bgslide{
  position:absolute;
  inset:0;

  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;   /* ARKA PLAN COVER */

  opacity:0;
  transition:opacity 650ms cubic-bezier(.2,.8,.2,1);
  will-change:opacity;
}
.tl__bgslide.is-active{ opacity:1; }

/* readability overlay */
.tl__shade{
  position:absolute;
  inset:0;
  background:
    radial-gradient(1200px 600px at 55% 55%, rgba(0,0,0,0.18), rgba(0,0,0,0.55)),
    linear-gradient(90deg, rgba(0,0,0,0.10), rgba(0,0,0,0.25) 60%, rgba(0,0,0,0.45));
  pointer-events:none;
}

/* UI */
.tl__ui{
  position:absolute;
  inset:0;
  display:flex;
  align-items:flex-end;  /* ALT */
  justify-content:center;
  padding: clamp(18px, 5vw, 64px);
  pointer-events:none;
}

.tl__uiInner{
  width: min(980px, 92vw);
  display:grid;
  grid-template-columns: 140px 1fr;
  gap: 48px;
  align-items:end;       /* ALT */
  /* transform: translateX(580px); */
  transform: none;
}

/* Timeline */
.tl__timeline{
  position:relative;
  height: 300px;
}

.tl__line{
  position:absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width:2px;
  background: rgba(255,255,255,0.35);
}

.tl__progress{
  position:absolute;
  left: 5px;
  top: 0;
  width:2px;
  height:0%;
  background: rgba(255,255,255,0.9);
  transition: height 550ms cubic-bezier(.2,.8,.2,1);
}

.tl__ticks{
  font-family: "Geist Regular";
  list-style:none;
  padding:0;
  margin:0;
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.tl__tick{
  font-family: "Geist Regular";
  display:flex;
  align-items:center;
  gap: 16px;
  color: rgba(255,255,255,0.65);
  font-size: 22px;
  letter-spacing: .02em;
}

.tl__label{
  font-size: 16px;
  opacity: .85;
}

.tl__dot{
  width: 17px;
  height: 10px;
  border-radius:999px;
  background: rgba(255,255,255,0.9);
  box-shadow: 0 0 0 6px rgba(255,255,255,0.0);
  transition: transform 300ms ease, background 300ms ease;
}

/* aktif label gizli */
.tl__tick.is-active{
  color: rgba(255,255,255,0.0);
}
.tl__tick.is-active .tl__label{ opacity: 0; }
.tl__tick.is-active .tl__dot{
  background: #ff6a3d;
  transform: scale(1.08);
}

/* Copy */
.tl__copy{
  color:#fff;
  max-width: 350px;
}

.tl__yearBig{
  font-family: "Geist Regular";
  font-size: 40px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
  margin-bottom: 10px;
}

.tl__headline{
  font-family: "Geist Regular";
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
  opacity: 0.95;
}

.tl__body{
  font-size: 16px;
  line-height: 1.55;
  opacity: 0.78;
  max-width: 58ch;
}

/* =========================
   MOBILE SAFE OVERRIDES
   (desktop bozulmasın diye sadece aşağı kırılımlarda)
========================= */

/* 1400 altı: sabit genişlik taşmasın */
@media (max-width: 1400px){
  .tl{
    width: 100%;
    max-width: 1400px;
  }
}

/* Tablet: sağa itme kapansın, boyutlar küçülsün */
@media (max-width: 1024px){
  .tl{
    width: 100%;
    height: 640px;
  }

  .tl__uiInner{
    transform: none;     /* EN KRİTİK: 580px iptal */
    width: min(900px, 92vw);
    gap: 32px;
  }

  .tl__timeline{ height: 260px; }
  .tl__copy{ max-width: 360px; }

  .tl__yearBig{ font-size: 44px; }
  .tl__headline{ font-size: 17px; }
  .tl__body{ font-size: 15px; }
}

/* Mobil: iki kolon daralt */
@media (max-width: 768px){
  .tl{
    height: 560px;
    border-radius: 18px;
    width: 100% !important;
    max-width: 100% !important;
    overflow: hidden;               /* yatay taşmayı kırp */
  }

  .tl__ui{
    padding: 24px;
  }

  .tl__uiInner{
    width: 100%;
    max-width: 560px;
    grid-template-columns: 120px 1fr;
    gap: 22px;
    transform: none !important;     /* translateX(580px) kesin iptal */
    margin: 0 auto !important;      /* ortala */
    justify-self: center;
  }

  .tl__timeline{ height: 220px; }
  .tl__copy{ max-width: 320px; }

  .tl__tick, .tl__label{ font-size: 14px; }

  .tl__yearBig{ font-size: 40px; }
  .tl__headline{ font-size: 16px; }
  .tl__body{ font-size: 14px; }
}

/* Çok küçük: tek kolon (timeline üst, text alt) */
@media (max-width: 520px){
  .tl{
    height: 560px;
  }

  .tl__ui{
    padding: 18px;
  }

  .tl__uiInner{
    grid-template-columns: 1fr;
    gap: 14px;
    max-width: 420px;
  }

  .tl__timeline{ height: 180px; }
  .tl__copy{ max-width: 100%; }

  .tl__yearBig{ font-size: 34px; }
}
