/* ===== Brand Story — centered portrait image + giant wordmark ===== */

.cc_r81eax6n_9LrkcoS3Iv .brand-story {
  --brand-story-pad-top: 3rem;
  position: relative;
  width: 100%;
  overflow: clip;
  padding: var(--brand-story-pad-top) var(--side, clamp(16px, 4.83vw, 32px)) 100px;
}

.cc_r81eax6n_9LrkcoS3Iv .brand-story__stage {
  position: relative;
  display: flow-root;
}

.cc_r81eax6n_9LrkcoS3Iv .brand-story__media {
  position: sticky;
  top: var(--brand-story-pad-top);
  z-index: 2;
  width: clamp(260px, 30vw, 480px);
  margin: 0 auto 3rem;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: var(--color-surface);
}

.cc_r81eax6n_9LrkcoS3Iv .brand-story__image, .cc_r81eax6n_9LrkcoS3Iv .brand-story__placeholder {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_r81eax6n_9LrkcoS3Iv .brand-story__wordmark-row {
  position: relative;
  z-index: 1;
  width: 100%;
  text-align: center;
}

.cc_r81eax6n_9LrkcoS3Iv .brand-story__wordmark {
  display: inline-block;
  margin: 0;
  padding: 0;
  font-family: var(--font-display);
  font-size: clamp(4rem, 15vw, 14rem);
  font-weight: 800;
  line-height: 0.85;
  letter-spacing: -0.02em;
  white-space: nowrap;
  color: var(--color-text-primary);
}

@media (max-width: 767px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story { --brand-story-pad-top: 2rem; padding-bottom: 60px; }
  .cc_r81eax6n_9LrkcoS3Iv .brand-story__media { width: clamp(190px, 60vw, 300px); margin-bottom: 2rem; }
  .cc_r81eax6n_9LrkcoS3Iv .brand-story__wordmark { font-size: clamp(2.75rem, 18vw, 6rem); }
}

/* ===== Arka plan videosu (YouTube, sessiz/otomatik/döngü) ===== */
.cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video { width: clamp(320px, 60vw, 960px); position: relative; background: #000; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video .brand-story__image { position: absolute; inset: 0; transition: opacity 400ms ease; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video.is-playing .brand-story__image { opacity: 0; }
/* 16:9 video kutuyu kaplasın; YouTube'un kendi letterbox'ını kırp */
.cc_r81eax6n_9LrkcoS3Iv .brand-story__video { position: absolute; top: 50%; left: 50%; width: 100%; height: 100%; transform: translate(-50%, -50%) scale(1.35); border: 0; pointer-events: none; }
@media (max-width: 1023px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video { width: calc(100% - 0px); max-width: none; }
}
@media (max-width: 767px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video { width: 100%; margin-bottom: 1.5rem; }
}

/* ===== Premium: video büyük ve yazının üstüne biner ===== */
.cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video {
  width: clamp(560px, 78vw, 1240px);
  margin-bottom: calc(-1 * clamp(2.6rem, 7.5vw, 7.5rem)); /* yazının üst yarısı videonun arkasında kalır */
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.18);
}
.cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) { padding-bottom: clamp(48px, 7vw, 110px); }
.cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) .brand-story__wordmark-row { padding-top: clamp(3rem, 8.5vw, 8.5rem); }
.cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) .brand-story__wordmark { font-size: clamp(4rem, 16vw, 15rem); }
@media (max-width: 1023px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story__media--video { width: 100%; margin-bottom: calc(-1 * clamp(1.6rem, 6vw, 4rem)); box-shadow: 0 18px 48px rgba(0,0,0,0.16); }
  .cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) .brand-story__wordmark-row { padding-top: clamp(2rem, 7vw, 5rem); }
}
@media (max-width: 767px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) { padding-bottom: 40px; }
  .cc_r81eax6n_9LrkcoS3Iv .brand-story:has(.brand-story__media--video) .brand-story__wordmark { font-size: clamp(2.75rem, 18vw, 6rem); }
}

/* ===== Yazı paralaksı ===== */
.cc_r81eax6n_9LrkcoS3Iv .brand-story--parallax .brand-story__wordmark { will-change: transform; transition: none; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--parallax .brand-story__stage { overflow: visible; }
@media (prefers-reduced-motion: reduce) { .cc_r81eax6n_9LrkcoS3Iv .brand-story--parallax .brand-story__wordmark { transform: none !important; } }

/* Paralaks için alt/üst nefes payı: yazı yukarı kayarken videonun arkasında, aşağıdayken bölümün altında kalsın */
.cc_r81eax6n_9LrkcoS3Iv .brand-story--parallax:has(.brand-story__media--video) { padding-bottom: clamp(56px, 9vw, 140px); overflow: clip; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--parallax .brand-story__wordmark-row { position: relative; z-index: 1; }


/* ===== Tam genişlik video + öndeki QARMACHA yazısı (birlikte kayar) ===== */
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__media { position: relative; top: auto; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__media--video {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: calc(-1 * clamp(2.6rem, 7.5vw, 7.5rem)); /* yazı videonun alt kenarına biner */
  box-shadow: none;
}
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__wordmark-row { position: relative; z-index: 3; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__wordmark { transform: none; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed:has(.brand-story__media--video) { padding-top: 0; padding-bottom: clamp(40px, 6vw, 96px); }
@media (max-width: 1023px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__media--video { margin-bottom: calc(-1 * clamp(1.6rem, 6vw, 4rem)); }
}
/* Bindirme: harflerin üst ~%45'i videonun alt kenarının önünde */
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__media--video { margin-bottom: 0; }
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed:has(.brand-story__media--video) .brand-story__wordmark-row {
  padding-top: 0;
  margin-top: calc(-0.45 * clamp(4rem, 16vw, 15rem));
}
@media (max-width: 767px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed:has(.brand-story__media--video) .brand-story__wordmark-row {
    margin-top: calc(-0.45 * clamp(2.75rem, 18vw, 6rem));
  }
}
/* Video yüklenirken siyah kutu yerine açık zemin (siyah yazı kaybolmasın) */
.cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed .brand-story__media--video { background: var(--color-surface-alt, #f5f5f5); }
/* Telefonda yazı ekrana sığsın */
@media (max-width: 767px) {
  .cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed:has(.brand-story__media--video) .brand-story__wordmark { font-size: clamp(2.5rem, 15vw, 6rem); }
  .cc_r81eax6n_9LrkcoS3Iv .brand-story--fullbleed:has(.brand-story__media--video) .brand-story__wordmark-row { margin-top: calc(-0.45 * clamp(2.5rem, 15vw, 6rem)); }
}
