/* =========================================================
   RITMA — 20 Yıllık Yolculuğumuz
   Ortak: assets/css/style.css

   Sayfanın konusu zaman. Bu yüzden hero'da bir ekran değil, 2005'ten
   2026'ya uzanan bir ŞERİT var; bölümlerde de yıl, metnin yanında
   dev punto olarak duruyor — göz önce yılı okuyor.
   ========================================================= */

/* =================== HERO =================== */
.yl-hero {
  position: relative;
  background: var(--bg-soft);
  padding: 118px 0 92px;
  overflow: hidden
}

.hv-blob {
  position: absolute;
  top: -130px;
  left: 50%;
  transform: translateX(-50%);
  width: 760px;
  height: 540px;
  border-radius: 52% 48% 56% 44% / 44% 52% 48% 56%;
  background: radial-gradient(circle closest-side at 50% 48%, rgba(244, 71, 11, .18), rgba(244, 71, 11, .06) 52%, transparent 100%);
  filter: blur(46px);
  pointer-events: none;
  z-index: 0
}

.yh {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center
}

.yl-hero .eyebrow {
  display: block;
  margin-bottom: 20px
}

.yl-hero h1 {
  margin-top: 0;
  text-wrap: balance;
  font-size: clamp(42px, 4.4vw, 58px);
  font-weight: 800;
  line-height: 1.06;
  color: var(--ink)
}

.yl-hero h1 .accent {
  color: var(--orange)
}

.yl-hero .lede {
  margin: 24px auto 0;
  max-width: 56ch;
  text-wrap: pretty;
  font-size: 18px;
  line-height: 1.66;
  color: var(--gray)
}

.yl-hero .lede b {
  color: var(--ink);
  font-weight: 750
}

/* yıl şeridi: sayfanın konusu zaman olduğu için hero'da ekran yerine
   bu var. Hat soldan sağa dolarak geliyor — yirmi yıl "geçmiş" değil,
   hala süren bir çizgi. */
.yh-serit {
  display: flex;
  align-items: center;
  gap: 20px;
  max-width: 620px;
  margin: 44px auto 0
}

.ys-yil {
  font-size: 15px;
  font-weight: 900;
  color: var(--gray-light);
  font-variant-numeric: tabular-nums;
  flex-shrink: 0
}

.ys-yil.is-son {
  color: var(--orange)
}

.ys-hat {
  position: relative;
  flex: 1;
  height: 3px;
  border-radius: 999px;
  background: var(--border);
  overflow: hidden
}

.ys-hat i {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--deep) 0, var(--orange) 100%);
  transition: width 1.6s cubic-bezier(.33, 1, .5, 1) .2s
}

.reveal.in .ys-hat i {
  width: 100%
}

.yh-alt {
  display: flex;
  justify-content: center;
  gap: 56px;
  flex-wrap: wrap;
  margin-top: 40px
}

.yh-alt b {
  display: block;
  font-size: 30px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.014em;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.yh-alt span {
  display: block;
  margin-top: 8px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--gray-light)
}

/* =========================================================
   BÖLÜM KABUĞU
   Zemin: hero soft → 02 beyaz → 03 deep → 04 beyaz → 05 soft
   ========================================================= */
.sec-head {
  max-width: 780px
}

.sec-head .eyebrow {
  display: block;
  margin-bottom: 16px
}

.cta-band {
  margin-top: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: #fff;
  padding: 30px 34px
}

.cta-band b {
  max-width: 580px;
  font-size: 22px;
  font-weight: 850;
  line-height: 1.25;
  letter-spacing: -.008em;
  color: var(--ink)
}

.cta-band span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gray)
}

.cta-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap
}

.sec-center {
  max-width: 880px;
  margin-left: auto;
  margin-right: auto;
  text-align: center
}

.yl-dn,
.yl-bg {
  background: #fff
}

/* okuma kolonu: dönem metinleri tam içerik genişliğinde uzayıp
   satır başını kaybettiriyordu */
.yl-dn>.wrap {
  max-width: 104ch
}

.yl-cta {
  background: var(--bg-soft)
}

/* =========================================================
   02 · DÖNEMLER
   Yıl solda dev punto: göz önce yılı okuyor, sonra ne olduğunu.
   Dikey hat dönemleri birbirine bağlıyor — kesintisiz bir çizgi
   olduğu için "ara vermedik" cümlesini tekrar etmeye gerek kalmıyor.
   ========================================================= */
.dn-list {
  margin-top: 56px;
  display: grid
}

.dn {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 190px) minmax(0, 1fr);
  gap: 44px;
  padding: 34px 0 40px
}

/* hat noktanın merkezinden geçip alt kenarından başlıyor:
   nokta 20px dış çapında, merkezi padding-top + yıl yüksekliğinin
   yarısı kadar aşağıda — yıl puntosu responsive olduğu için sabit
   sayı tutmuyor */
.dn::before {
  content: '';
  position: absolute;
  left: 9px;
  top: calc(34px + clamp(30px, 3vw, 40px) / 2 + 10px);
  bottom: -12px;
  width: 2px;
  background: var(--border)
}

.dn:last-child::before {
  display: none
}

.dn.is-son::before {
  background: linear-gradient(180deg, var(--border) 0, transparent 100%)
}

.dn-yil {
  position: relative;
  padding-left: 34px;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.02em;
  color: var(--ink);
  font-variant-numeric: tabular-nums
}

.dn-yil::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--border)
}

.dn.is-son .dn-yil {
  color: var(--orange)
}

.dn.is-son .dn-yil::before {
  border-color: var(--orange)
}

.dn.is-son .dn-yil::before {
  border-color: var(--orange)
}

.dn-ic b {
  display: block;
  font-size: 20px;
  font-weight: 850;
  letter-spacing: -.008em;
  line-height: 1.3;
  color: var(--ink)
}

.dn-ic p {
  margin: 12px 0 0;
  max-width: 62ch;
  font-size: 15px;
  font-weight: 620;
  line-height: 1.72;
  color: var(--gray);
  text-wrap: pretty
}

.dn-et {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-top: 18px
}

.dn-et em {
  font-style: normal;
  border-radius: 7px;
  background: var(--bg-soft);
  padding: 5px 10px;
  font-size: 11.5px;
  font-weight: 800;
  color: var(--gray)
}

/* =========================================================
   03 · RAKAMLAR — deep zemin
   ========================================================= */
.yl-yr {
  background: var(--deep);
  padding-bottom: 0
}

.yr-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 380px);
  gap: 60px;
  align-items: end;
  padding-bottom: 110px
}

.yr-copy {
  min-width: 0
}

.yl-yr .sec-h {
  color: #fff
}

.yl-yr .eyebrow {
  color: var(--orange)
}

.yl-yr .sec-p {
  color: rgba(255, 255, 255, .66)
}

.yr {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 52px;
  max-width: 560px
}

.yr-item b {
  display: block;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -.014em;
  color: #fff;
  font-variant-numeric: tabular-nums
}

.yr-item span {
  display: block;
  margin-top: 9px;
  font-size: 13.5px;
  font-weight: 700;
  color: rgba(255, 255, 255, .58)
}

.yr-space {
  min-height: 380px
}

.yl-yr .ph-fig {
  border-color: rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .05)
}

.yl-yr .ph-fig span {
  color: rgba(255, 255, 255, .62)
}

.yl-yr .ph-fig code {
  color: rgba(255, 255, 255, .42)
}

/* =========================================================
   04 · BUGÜN — fotoğraf kareleri
   ========================================================= */
.bg-list {
  margin-top: 52px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px
}

.bg-kare {
  margin: 0;
  border-radius: 20px;
  overflow: hidden
}

.bg-kare img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover
}

.ph-slot {
  aspect-ratio: 16 / 10;
  border: 1px solid var(--orange-border);
  border-radius: 20px;
  background: var(--bg-soft);
  padding: 26px 22px;
  display: grid;
  align-content: center;
  gap: 9px;
  text-align: center
}

.ph-slot b {
  font-size: 13px;
  font-weight: 850;
  color: var(--orange)
}

.ph-slot span {
  font-size: 12.5px;
  line-height: 1.6;
  font-weight: 650;
  color: var(--gray)
}

.ph-slot code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--gray-light);
  word-break: break-all
}

/* =================== HERO FİGÜRÜ (K11) =================== */
.has-person {
  position: relative;
  overflow: hidden
}

.sec-person-layer {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none
}

/* K11 — figür bölümün tabanına yapışık. Solda metin, sağda boş kolon:
   figür o kolona oturuyor. Ortada dururken paragrafın ve rakamların
   üstüne biniyordu. */
.sec-person-layer>.wrap {
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end
}


.sec-person {
  height: clamp(430px, 44vw, 500px)
}

.sec-person>img {
  display: block;
  width: auto;
  height: 100%
}

.ph-fig {
  height: 100%;
  width: clamp(240px, 20vw, 310px);
  border: 1px solid var(--orange-border);
  border-radius: 18px 18px 0 0;
  background: rgba(255, 255, 255, .78);
  padding: 22px 20px;
  display: grid;
  align-content: center;
  gap: 9px;
  text-align: center
}

.ph-fig b {
  font-size: 12.5px;
  font-weight: 850;
  color: var(--orange)
}

.ph-fig span {
  font-size: 12px;
  line-height: 1.6;
  font-weight: 650;
  color: var(--gray)
}

.ph-fig span b {
  font-weight: 850;
  color: var(--orange)
}

.ph-fig code {
  font-family: ui-monospace, Menlo, Consolas, monospace;
  font-size: 10px;
  color: var(--gray-light);
  word-break: break-all
}

/* =========================================================
   KIRILIMLAR
   ========================================================= */
@media (max-width:1080px) {
  .yr-grid {
    grid-template-columns: 1fr;
    gap: 44px;
    padding-bottom: 400px
  }

  .yr-space {
    display: none
  }

  .bg-list {
    grid-template-columns: repeat(2, minmax(0, 1fr))
  }

  .sec-person {
    height: clamp(300px, 34vw, 380px);
    margin-right: 0
  }
}

@media (max-width:760px) {
  .yl-hero {
    padding: 72px 0 64px
  }

  .yh-alt {
    gap: 34px
  }

  .dn {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px 0 32px
  }

  .dn::before {
    display: none
  }

  .bg-list {
    grid-template-columns: 1fr
  }

  .cta-band {
    padding: 24px 22px
  }

  .cta-band b {
    font-size: 19px
  }

  .cta-actions .btn {
    flex: 1;
    justify-content: center
  }
}

@media (prefers-reduced-motion:reduce) {
  .ys-hat i {
    transition: none;
    width: 100%
  }
}
